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
// SpryValidationCheckbox.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}('8 5;7(!5)5={};7(!5.6)5.6={};5.6.a=9(c,1J){3.1P(c);5.6.t.1X(3,1J);8 r=[\'1A\'].2s(3.r||[]);r=r.2y(",");3.r=0|(r.1F(\'1A\')!=-1?5.6.a.1V:0);3.r=3.r|(r.1F(\'1W\')!=-1?5.6.a.1o:0);3.r=3.r|(r.1F(\'2w\')!=-1?5.6.a.1y:0);7(!1I(3.K)){3.K=(3.K>0)?1M(3.K,10):z}7(!1I(3.P)){3.P=(3.P>0)?1M(3.P,10):z}7(3.v)3.v=3.1D(3.v);7(5.6.a.1G)3.1r();I 5.6.a.1B.R(3)};5.6.a.1y=1;5.6.a.1o=2;5.6.a.1V=4;5.6.a.w.1P=9(c){3.c=3.1D(c);3.h=z;3.v=k;3.j=z;3.u=[];3.1n=k;3.13="2e";3.15="2d";3.14="2b";3.Y="2k";3.16="2i";3.20=x;3.K=z;3.P=z;3.r=["1A"]};5.6.a.w.F=9(){7(3.u)o(8 i=0;i<3.u.p;i++){5.6.t.1e(3.u[i][0],3.u[i][1],3.u[i][2],k)}N{X 3.c}O(12){}7(3.h)o(8 i=0;i<3.h.p;i++){N{X 3.h[i]}O(12){}}N{X 3.h}O(12){}N{X 3.j}O(12){}N{X 3.u}O(12){}8 q=5.6.f.y;8 m=q.p;o(8 i=0;i<m;i++){7(q[i]==3){q.2h(i,1);25}}};5.6.a.1G=k;5.6.a.1B=[];5.6.a.w.1D=9(l){7(l&&E l=="27")d 1f.26(l);d l};5.6.a.1R=9(C){5.6.a.1G=x;8 q=5.6.a.1B;8 m=q.p;o(8 i=0;i<m;i++)q[i].1r()};5.6.a.1z=9(C){7(E Z.D!=\'1h\')Z.D(\'1S\',C,k);I 7(E 1f.D!=\'1h\')1f.D(\'1S\',C,k);I 7(E Z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,3.Y)};5.6.a.w.24=9(e){8 Q=(e.J!=z)?e.J:e.1p;7(Q.V)d;3.L()};5.6.a.w.W=9(){3.A(3.c,3.16);3.A(3.c,3.13);3.A(3.c,3.15);3.A(3.c,3.14);3.A(3.v,3.16);3.A(3.v,3.13);3.A(3.v,3.15);3.A(3.v,3.14)};5.6.a.w.L=9(){3.W();8 17=0;7(3.h){8 m=3.h.p;o(8 i=0;i<m;i++){7(!3.h[i].V&&3.h[i].2g){17++}}}7(3.20){7(17==0){3.B(3.c,3.13);3.B(3.v,3.13);d k}}7(3.K){7(3.K>17){3.B(3.c,3.15);3.B(3.v,3.15);d k}}7(3.P){7(3.P<17){3.B(3.c,3.14);3.B(3.v,3.14);d k}}3.B(3.c,3.16);3.B(3.v,3.16);d x};5.6.a.w.1s=9(){8 1C=x;7(3.h){8 m=3.h.p;o(8 i=0;i<m;i++){7(!3.h[i].V){1C=k;25}}}d 1C};7(!5.6.f)5.6.f={};7(!5.6.f.y)5.6.f.y=[];7(!5.6.f.L){5.6.f.L=9(1l){8 1m=x;8 1E=x;8 q=5.6.f.y;8 m=q.p;o(8 i=0;i<m;i++){7(!q[i].1s()&&q[i].j==1l){1E=q[i].L();1m=1E&&1m}}d 1m}};7(!5.6.f.1x){5.6.f.1x=9(e,j){7(5.6.f.L(j)==k){d k}d x}};7(!5.6.f.1u){5.6.f.1u=9(e,1l){8 q=5.6.f.y;8 m=q.p;o(8 i=0;i<m;i++){7(!q[i].1s()&&q[i].j==1l&&E(q[i].W)==\'9\'){q[i].W()}}d x}};7(!5.6.f.F){5.6.f.F=9(j){8 q=5.6.f.y;o(8 i=0;i<5.6.f.y.p;i++){7(q[i].j==j&&E(q[i].F)==\'9\'){q[i].F();i--}}}};7(!5.6.f.1t){5.6.f.1t=9(){8 q=5.6.f.y;o(8 i=0;i<5.6.f.y.p;i++){7(E(q[i].F)==\'9\'){q[i].F();i--}}}};7(!5.6.t)5.6.t={};5.6.t.1X=9(29,19,21){7(!19)d;o(8 1d 2m 19){7(21&&19[1d]==1h)2o;29[1d]=19[1d]}};5.6.t.23=9(G,M){28(G.H&&G.H.M.1c()!=M.1c()&&G.H.M!=\'2u\'){G=G.H}7(G.H&&G.H.M.1c()==M.1c()){d G.H}I{d z}};5.6.t.2j=9(18){7(E 18==\'27\'){18=1f.26(18)}8 q=5.6.f.y;o(8 i=0;i<5.6.f.y.p;i++){7(E(q[i].F)==\'9\'&&5.6.t.1i(18,q[i].c)){q[i].F();i--}}};5.6.t.1i=9(S,1b){7(E S.1i==\'2v\'){d 1b&&S&&(S==1b||S.1i(1b))}I{8 1a=1b;28(1a){7(1a==S){d x}1a=1a.H}d k}};5.6.t.D=9(c,T,C,U){N{7(c.D)c.D(T,C,U);I 7(c.1j)c.1j("1U"+T,C,U)}O(e){}};5.6.t.1e=9(c,T,C,U){N{7(c.1e)c.1e(T,C,U);I 7(c.1T)c.1T("1U"+T,C,U)}O(e){}};',62,159,'|||this||Spry|Widget|if|var|function|ValidationCheckbox||element|return||Form||checkboxElements||form|false|ele|qlen|className|for|length||validateOn||Utils|event_handlers|additionalError|prototype|true|onSubmitWidgetQueue|null|removeClassName|addClassName|handler|addEventListener|typeof|destroy|node|parentNode|else|srcElement|minSelections|validate|nodeName|try|catch|maxSelections|eventCheckbox|push|who|eventType|capture|disabled|reset|delete|focusClass|window||elements|err|requiredClass|maxSelectionsClass|minSelectionsClass|validClass|nochecked|container|optionsObj|el|what|toLowerCase|optionName|removeEventListener|document|self|undefined|contains|attachEvent|arrCheckboxes|vform|isValid|hasFocus|ONBLUR|target|doValidation|attachBehaviors|isDisabled|destroyAll|onReset|new|RegExp|onSubmit|ONCHANGE|addLoadListener|submit|loadQueue|ret|getElement|isElementValid|indexOf|onloadDidFire|onsubmit|isNaN|opts|attachedResetHandler|currentTarget|parseInt|event|attachedSubmitHandler|init|INPUT|processLoadQueue|load|detachEvent|on|ONSUBMIT|blur|setOptions|getCheckboxes|onFocus|isRequired|ignoreUndefinedProps|onBlur|getFirstParentWithNodeName|onClick|break|getElementById|string|while|obj|search|checkboxMaxSelectionsState|type|checkboxMinSelectionsState|checkboxRequiredState|onload|checked|splice|checkboxValidState|destroyWidgets|checkboxFocusState|unload|in|replace|continue|getElementsByTagName|checkbox|FORM|concat|focus|BODY|object|change|click|join'.split('|'),0,{}))