Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// SpryValidationSelect.js - version 0.10 - Spry Pre-Release 1.6
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//   * Redistributions of source code must retain the above copyright notice,
//     this list of conditions and the following disclaimer.
//   * Redistributions in binary form must reproduce the above copyright notice,
//     this list of conditions and the following disclaimer in the documentation
//     and/or other materials provided with the distribution.
//   * Neither the name of Adobe Systems Incorporated nor the names of its
//     contributors may be used to endorse or promote products derived from this
//     software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('h 5;8(!5)5={};8(!5.7)5.7={};5.7.c=9(f,1T){3.1U(f);5.7.o.25(3,1T);h u=[\'1q\'].2l(3.u||[]);u=u.2m(",");3.u=0|(u.1r(\'1q\')!=-1?5.7.c.1R:0);3.u=3.u|(u.1r(\'1H\')!=-1?5.7.c.1u:0);3.u=3.u|(u.1r(\'1M\')!=-1?5.7.c.1y:0);8(3.w)3.w=3.1p(3.w);8(5.7.c.1n)3.1m();L 5.7.c.1o.Q(3)};5.7.c.1y=1;5.7.c.1u=2;5.7.c.1R=4;5.7.c.x.1U=9(f){3.f=3.1p(f);3.w=l;3.k=W;3.m=W;3.r=[];3.z="2i";3.Z="2h";3.14="2j";3.11="2k";3.1I="";3.1A=W;3.26=p;3.u=["1q"];3.1f=l};5.7.c.x.J=9(){8(3.r)E(h i=0;i<3.r.A;i++){5.7.o.1c(3.r[i][0],3.r[i][1],3.r[i][2],l)}T{1a 3.f}V(1d){}T{1a 3.k}V(1d){}T{1a 3.m}V(1d){}T{1a 3.r}V(1d){}h q=5.7.j.y;h K=q.A;E(h i=0;i<K;i++){8(q[i]==3){q.2b(i,1);2c}}};5.7.c.1n=l;5.7.c.1o=[];5.7.c.x.1p=9(n){8(n&&F n=="1N")a 1e.1Z(n);a n};5.7.c.1W=9(C){5.7.c.1n=p;h q=5.7.c.1o;h K=q.A;E(h i=0;i<K;i++)q[i].1m()};5.7.c.1s=9(C){8(F 16.D!=\'1g\')16.D(\'1Q\',C,l);L 8(F 1e.D!=\'1g\')1e.D(\'1Q\',C,l);L 8(F 16.1j!=\'1g\')16.1j(\'2e\',C)};5.7.c.1s(5.7.c.1W);5.7.c.1s(9(){5.7.o.D(16,"2d",5.7.j.1C,l)});5.7.c.x.1m=9(){8(3.f.I=="1J"){3.k=3.f}L{3.k=5.7.o.1O(3.f,"1J")}8(3.k){h G=3;3.r=[];h 1t="2z";h 15=2y.2x.2A(/2w (\\d+)\\./i);8(15){15=2o(15[1],10);8(15>=6){1t="2t"}}3.r.Q([3.k,1t,9(e){8(G.O())a p;a G.24(e)}]);3.r.Q([3.k,"1H",9(e){8(G.O())a p;a G.23(e)}]);8(3.u&5.7.c.1y){3.r.Q([3.k,"1M",9(e){8(G.O())a p;a G.1z(e)}]);3.r.Q([3.k,"2p",9(e){8(G.O())a p;a G.1z(e)}])}E(h i=0;i<3.r.A;i++){5.7.o.D(3.r[i][0],3.r[i][1],3.r[i][2],l)}3.m=5.7.o.20(3.k,"2B");8(3.m){8(!3.m.1P&&!3.m.1L){3.m.1L=9(e){e=e||1K;a 5.7.j.1E(e,e.1X||e.22)};3.m.1P=p}8(!3.m.29){5.7.o.D(3.m,"12",9(e){e=e||1K;a 5.7.j.1B(e,e.1X||e.22)},l);3.m.29=p}5.7.j.y.Q(3)}}};5.7.c.x.v=9(n,t){8(!n||!t||(n.t&&n.t.2a(1x 1w("\\\\b"+t+"\\\\b"))!=-1))a;n.t+=(n.t?" ":"")+t};5.7.c.x.H=9(n,t){8(!n||!t||(n.t&&n.t.2a(1x 1w("\\\\b"+t+"\\\\b"))==-1))a;n.t=n.t.2u(1x 1w("\\\\s*\\\\b"+t+"\\\\b","g"),"")};5.7.c.x.24=9(e){3.1l=p;3.1f=l;3.v(3.f,3.14);3.v(3.w,3.14)};5.7.c.x.23=9(e){3.1l=l;h 1v=l;8(3.u&5.7.c.1u)1v=p;8(1v&&!3.1f)3.N();3.H(3.f,3.14);3.H(3.w,3.14)};5.7.c.x.1z=9(e){3.1l=l;3.N();3.1f=p};5.7.c.x.12=9(){3.H(3.f,3.z);3.H(3.f,3.Z);3.H(3.f,3.11);3.H(3.w,3.z);3.H(3.w,3.Z);3.H(3.w,3.11)};5.7.c.x.N=9(){3.12();8(3.26){8(3.k.R.A==0||3.k.X==-1){3.v(3.f,3.z);3.v(3.w,3.z);a l}8(3.k.R[3.k.X].2g("1G")==W){3.v(3.f,3.z);3.v(3.w,3.z);a l}8(3.k.R[3.k.X].1G==3.1I){3.v(3.f,3.z);3.v(3.w,3.z);a l}8(3.k.R[3.k.X].21){3.v(3.f,3.z);3.v(3.w,3.z);a l}}8(3.1A){8(3.k.R.A>0&&3.k.X!=-1&&3.k.R[3.k.X].1G==3.1A){3.v(3.f,3.Z);3.v(3.w,3.Z);a l}}3.v(3.f,3.11);3.v(3.w,3.11);a p};5.7.c.x.O=9(){a 3.k.21};8(!5.7.j)5.7.j={};8(!5.7.j.y)5.7.j.y=[];8(!5.7.j.N){5.7.j.N=9(19){h 1b=p;h 1F=p;h q=5.7.j.y;h K=q.A;E(h i=0;i<K;i++){8(!q[i].O()&&q[i].m==19){1F=q[i].N();1b=1F&&1b}}a 1b}};8(!5.7.j.1E){5.7.j.1E=9(e,m){8(5.7.j.N(m)==l){a l}a p}};8(!5.7.j.1B){5.7.j.1B=9(e,19){h q=5.7.j.y;h K=q.A;E(h i=0;i<K;i++){8(!q[i].O()&&q[i].m==19&&F(q[i].12)==\'9\'){q[i].12()}}a p}};8(!5.7.j.J){5.7.j.J=9(m){h q=5.7.j.y;E(h i=0;i<5.7.j.y.A;i++){8(q[i].m==m&&F(q[i].J)==\'9\'){q[i].J();i--}}}};8(!5.7.j.1C){5.7.j.1C=9(){h q=5.7.j.y;E(h i=0;i<5.7.j.y.A;i++){8(F(q[i].J)==\'9\'){q[i].J();i--}}}};8(!5.7.o)5.7.o={};5.7.o.25=9(28,Y,27){8(!Y)a;E(h 1i 2s Y){8(27&&Y[1i]==1g)2r;28[1i]=Y[1i]}};5.7.o.1O=9(B,I){h 1D=B.2v(I);8(1D){a 1D[0]}a W};5.7.o.20=9(B,I){1Y(B.M&&B.M.I.1k()!=I.1k()&&B.M.I!=\'2q\'){B=B.M}8(B.M&&B.M.I.1k()==I.1k()){a B.M}L{a W}};5.7.o.2n=9(13){8(F 13==\'1N\'){13=1e.1Z(13)}h q=5.7.j.y;E(h i=0;i<5.7.j.y.A;i++){8(F(q[i].J)==\'9\'&&5.7.o.1h(13,q[i].f)){q[i].J();i--}}};5.7.o.1h=9(U,18){8(F U.1h==\'2f\'){a 18&&U&&(U==18||U.1h(18))}L{h 17=18;1Y(17){8(17==U){a p}17=17.M}a l}};5.7.o.D=9(f,P,C,S){T{8(f.D)f.D(P,C,S);L 8(f.1j)f.1j("1S"+P,C,S)}V(e){}};5.7.o.1c=9(f,P,C,S){T{8(f.1c)f.1c(P,C,S);L 8(f.1V)f.1V("1S"+P,C,S)}V(e){}};',62,162,'|||this||Spry||Widget|if|function|return||ValidationSelect|||element||var||Form|selectElement|false|form|ele|Utils|true||event_handlers||className|validateOn|addClassName|additionalError|prototype|onSubmitWidgetQueue|requiredClass|length|node|handler|addEventListener|for|typeof|self|removeClassName|nodeName|destroy|qlen|else|parentNode|validate|isDisabled|eventType|push|options|capture|try|who|catch|null|selectedIndex|optionsObj|invalidClass||validClass|reset|container|focusClass|ua|window|el|what|vform|delete|isValid|removeEventListener|err|document|validatedByOnChangeEvent|undefined|contains|optionName|attachEvent|toLowerCase|hasFocus|attachBehaviors|onloadDidFire|loadQueue|getElement|submit|indexOf|addLoadListener|focusEventName|ONBLUR|doValidation|RegExp|new|ONCHANGE|onChange|invalidValue|onReset|destroyAll|elements|onSubmit|isElementValid|value|blur|emptyValue|SELECT|event|onsubmit|change|string|getFirstChildWithNodeNameAtAnyLevel|attachedSubmitHandler|load|ONSUBMIT|on|opts|init|detachEvent|processLoadQueue|srcElement|while|getElementById|getFirstParentWithNodeName|disabled|currentTarget|onBlur|onFocus|setOptions|isRequired|ignoreUndefinedProps|obj|attachedResetHandler|search|splice|break|unload|onload|object|getAttribute|selectInvalidState|selectRequiredState|selectFocusState|selectValidState|concat|join|destroyWidgets|parseInt|keypress|BODY|continue|in|beforeactivate|replace|getElementsByTagName|msie|userAgent|navigator|focus|match|FORM'.split('|'),0,{}))