diff --git a/atoms/active_element.js b/atoms/active_element.js index 1f57558e..f64a0de5 100755 --- a/atoms/active_element.js +++ b/atoms/active_element.js @@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE= function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state"; Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Lb(){return document.activeElement||document.body};var Mb=JSON.stringify;function Nb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Ob(c);return e}if(v(c,"document"))return e={},e.WINDOW=Ob(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"== typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Pb(a,b){return"array"==l(a)?ka(a,function(c){return Pb(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Qb(a.ELEMENT,b):v(a,"WINDOW")?Qb(a.WINDOW,b):ra(a,function(c){return Pb(c,b)}):a}function Rb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Ob(a){var b=Rb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c} -function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(){var a=Lb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(b,c.document);var f={status:0,value:Nb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);} +function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("se_exportedFunctionSymbol",function(){var a=Lb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(b,c.document);var f={status:0,value:Nb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);} diff --git a/atoms/clear.js b/atoms/clear.js index 8849bb86..e0000622 100755 --- a/atoms/clear.js +++ b/atoms/clear.js @@ -85,7 +85,7 @@ lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsla moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57", seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Ac="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),Bc=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Cc=/^#(?:[0-9a-f]{3}){1,2}$/i,Dc=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,Ec=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function L(a,b){this.code=a;this.a=M[a]||Fc;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}h(L,Error);var Fc="unknown error",M={15:"element not selectable",11:"element not visible"};M[31]=Fc;M[30]=Fc;M[24]="invalid cookie domain";M[29]="invalid element coordinates";M[12]="invalid element state"; M[32]="invalid selector";M[51]="invalid selector";M[52]="invalid selector";M[17]="javascript error";M[405]="unsupported operation";M[34]="move target out of bounds";M[27]="no such alert";M[7]="no such element";M[8]="no such frame";M[23]="no such window";M[28]="script timeout";M[33]="session not created";M[10]="stale element reference";M[21]="timeout";M[25]="unable to set cookie";M[26]="unexpected alert open";M[13]=Fc;M[9]="unknown command";var Gc=Qa(),Hc=Ta()||p("iPod"),Ic=p("iPad"),Jc=p("Android")&&!(Ra()||Qa()||p("Opera")||p("Silk")),Kc=Ra(),Lc=p("Safari")&&!(Ra()||p("Coast")||p("Opera")||p("Edge")||p("Edg/")||p("OPR")||Qa()||p("Silk")||p("Android"))&&!(Ta()||p("iPad")||p("iPod"));function Mc(a){return(a=a.exec(Ja))?a[1]:""}var Nc=function(){if(Gc)return Mc(/Firefox\/([0-9.]+)/);if(Kc)return Ta()||p("iPad")||p("iPod")?Mc(/CriOS\/([0-9.]+)/):Mc(/Chrome\/([0-9.]+)/);if(Lc&&!(Ta()||p("iPad")||p("iPod")))return Mc(/Version\/([0-9.]+)/);if(Hc||Ic){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Ja);if(a)return a[1]+"."+a[2]}else if(Jc)return(a=Mc(/Android\s+([0-9.]+)/))?a:Mc(/Version\/([0-9.]+)/);return""}();var Oc=Ic||Hc,Pc;if(Jc){var Qc=/Android\s+([0-9\.]+)/.exec(Ja);Pc=Qc?Qc[1]:"0"}else Pc="0";var Rc=Pc;function Sc(a){var b="tabindex";return"style"==b?Tc(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var Uc=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function Tc(a){var b=[];m(a.split(Uc),function(c){var d=c.indexOf(":");0=n){var t=Z.a[n];if(null===t)g.push(k=e()),f&&(k.persist=!1,g.push(k=e()));else if(ja(t))k.keys.push(t);else throw Error("Unsupported WebDriver key: \\u"+n.charCodeAt(0).toString(16));}else switch(n){case "\n":k.keys.push(ee);break;case "\t":k.keys.push(de);break;case "\b":k.keys.push(ce);break;default:k.keys.push(n)}})});m(g,function(l){nf(a, l.keys,c,l.persist)})}Z.a={};Z.a["\ue000"]=null;Z.a["\ue003"]=ce;Z.a["\ue004"]=de;Z.a["\ue006"]=ee;Z.a["\ue007"]=ee;Z.a["\ue008"]=X;Z.a["\ue009"]=fe;Z.a["\ue00a"]=ge;Z.a["\ue00b"]=he;Z.a["\ue00c"]=ie;Z.a["\ue00d"]=je;Z.a["\ue00e"]=ke;Z.a["\ue00f"]=le;Z.a["\ue010"]=me;Z.a["\ue011"]=ne;Z.a["\ue012"]=oe;Z.a["\ue013"]=pe;Z.a["\ue014"]=qe;Z.a["\ue015"]=re;Z.a["\ue016"]=se;Z.a["\ue017"]=te;Z.a["\ue018"]=Ye;Z.a["\ue019"]=We;Z.a["\ue01a"]=ve;Z.a["\ue01b"]=we;Z.a["\ue01c"]=xe;Z.a["\ue01d"]=ye; -Z.a["\ue01e"]=ze;Z.a["\ue01f"]=Ae;Z.a["\ue020"]=Be;Z.a["\ue021"]=Ce;Z.a["\ue022"]=De;Z.a["\ue023"]=Ee;Z.a["\ue024"]=Fe;Z.a["\ue025"]=Ge;Z.a["\ue027"]=He;Z.a["\ue028"]=Ie;Z.a["\ue029"]=Je;Z.a["\ue026"]=Xe;Z.a["\ue031"]=Ke;Z.a["\ue032"]=Le;Z.a["\ue033"]=Me;Z.a["\ue034"]=Ne;Z.a["\ue035"]=Oe;Z.a["\ue036"]=Pe;Z.a["\ue037"]=Qe;Z.a["\ue038"]=Re;Z.a["\ue039"]=Se;Z.a["\ue03a"]=Te;Z.a["\ue03b"]=Ue;Z.a["\ue03c"]=Ve;Z.a["\ue03d"]=ue;la("_",function(a,b){a=[a];try{var c;b?c=uf(b.WINDOW):c=window;var d=tf(a,c.document),e=lf.apply(null,d);var f={status:0,value:rf(e)}}catch(g){f={status:Oa(g,"code")?g.code:13,value:{message:g.message}}}return qf(f)});; return this._.apply(null,arguments);}).apply(window, arguments);} +Z.a["\ue01e"]=ze;Z.a["\ue01f"]=Ae;Z.a["\ue020"]=Be;Z.a["\ue021"]=Ce;Z.a["\ue022"]=De;Z.a["\ue023"]=Ee;Z.a["\ue024"]=Fe;Z.a["\ue025"]=Ge;Z.a["\ue027"]=He;Z.a["\ue028"]=Ie;Z.a["\ue029"]=Je;Z.a["\ue026"]=Xe;Z.a["\ue031"]=Ke;Z.a["\ue032"]=Le;Z.a["\ue033"]=Me;Z.a["\ue034"]=Ne;Z.a["\ue035"]=Oe;Z.a["\ue036"]=Pe;Z.a["\ue037"]=Qe;Z.a["\ue038"]=Re;Z.a["\ue039"]=Se;Z.a["\ue03a"]=Te;Z.a["\ue03b"]=Ue;Z.a["\ue03c"]=Ve;Z.a["\ue03d"]=ue;la("se_exportedFunctionSymbol",function(a,b){a=[a];try{var c;b?c=uf(b.WINDOW):c=window;var d=tf(a,c.document),e=lf.apply(null,d);var f={status:0,value:rf(e)}}catch(g){f={status:Oa(g,"code")?g.code:13,value:{message:g.message}}}return qf(f)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);} diff --git a/atoms/clear_local_storage.js b/atoms/clear_local_storage.js index 65954cc5..d3df3545 100755 --- a/atoms/clear_local_storage.js +++ b/atoms/clear_local_storage.js @@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE= function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state"; Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"== typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==l(a)?ka(a,function(c){return Ob(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Pb(a.ELEMENT,b):v(a,"WINDOW")?Pb(a.WINDOW,b):ra(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Nb(a){var b=Qb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c} -function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.localStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){if(null==(Db||Db).localStorage)throw new X(13,"Local storage undefined");(new Rb).a.clear()};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);} +function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.localStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){if(null==(Db||Db).localStorage)throw new X(13,"Local storage undefined");(new Rb).a.clear()};aa("se_exportedFunctionSymbol",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);} diff --git a/atoms/clear_session_storage.js b/atoms/clear_session_storage.js index 0278f4a1..3bc503d0 100755 --- a/atoms/clear_session_storage.js +++ b/atoms/clear_session_storage.js @@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE= function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state"; Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"== typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==l(a)?ka(a,function(c){return Ob(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Pb(a.ELEMENT,b):v(a,"WINDOW")?Pb(a.WINDOW,b):ra(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Nb(a){var b=Qb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c} -function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.sessionStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){var a=Db||Db;if(null!=a.sessionStorage&&null!=a.sessionStorage.clear)a=new Rb;else throw new X(13,"Session storage undefined");a.a.clear()};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);} +function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.sessionStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){var a=Db||Db;if(null!=a.sessionStorage&&null!=a.sessionStorage.clear)a=new Rb;else throw new X(13,"Session storage undefined");a.a.clear()};aa("se_exportedFunctionSymbol",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);} diff --git a/atoms/click.js b/atoms/click.js index aa5d35c0..1dafcffe 100755 --- a/atoms/click.js +++ b/atoms/click.js @@ -85,7 +85,7 @@ lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsla moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57", seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Bc="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),Cc=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Dc=/^#(?:[0-9a-f]{3}){1,2}$/i,Ec=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,Fc=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function L(a,b){this.code=a;this.a=M[a]||Gc;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}h(L,Error);var Gc="unknown error",M={15:"element not selectable",11:"element not visible"};M[31]=Gc;M[30]=Gc;M[24]="invalid cookie domain";M[29]="invalid element coordinates";M[12]="invalid element state"; M[32]="invalid selector";M[51]="invalid selector";M[52]="invalid selector";M[17]="javascript error";M[405]="unsupported operation";M[34]="move target out of bounds";M[27]="no such alert";M[7]="no such element";M[8]="no such frame";M[23]="no such window";M[28]="script timeout";M[33]="session not created";M[10]="stale element reference";M[21]="timeout";M[25]="unable to set cookie";M[26]="unexpected alert open";M[13]=Gc;M[9]="unknown command";var Hc=Qa(),Ic=Ta()||n("iPod"),Jc=n("iPad"),Kc=n("Android")&&!(Ra()||Qa()||n("Opera")||n("Silk")),Lc=Ra(),Mc=n("Safari")&&!(Ra()||n("Coast")||n("Opera")||n("Edge")||n("Edg/")||n("OPR")||Qa()||n("Silk")||n("Android"))&&!(Ta()||n("iPad")||n("iPod"));function Nc(a){return(a=a.exec(Ja))?a[1]:""}var Oc=function(){if(Hc)return Nc(/Firefox\/([0-9.]+)/);if(Lc)return Ta()||n("iPad")||n("iPod")?Nc(/CriOS\/([0-9.]+)/):Nc(/Chrome\/([0-9.]+)/);if(Mc&&!(Ta()||n("iPad")||n("iPod")))return Nc(/Version\/([0-9.]+)/);if(Ic||Jc){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Ja);if(a)return a[1]+"."+a[2]}else if(Kc)return(a=Nc(/Android\s+([0-9.]+)/))?a:Nc(/Version\/([0-9.]+)/);return""}();function Pc(a){return Kc?0<=Ha(Qc,a):0<=Ha(Oc,a)}var Rc=Jc||Ic,Sc;if(Kc){var Tc=/Android\s+([0-9\.]+)/.exec(Ja);Sc=Tc?Tc[1]:"0"}else Sc="0";var Qc=Sc,Uc=10<=Number(void 0);function Vc(a){var b="tabindex";return"style"==b?Wc(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var Xc=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function Wc(a){var b=[];m(a.split(Xc),function(c){var d=c.indexOf(":");0=p){var t=Z.a[p];if(null===t)g.push(k=e()),f&&(k.persist=!1,g.push(k=e()));else if(ja(t))k.keys.push(t);else throw Error("Unsupported WebDriver key: \\u"+p.charCodeAt(0).toString(16));}else switch(p){case "\n":k.keys.push(Ge);break;case "\t":k.keys.push(Fe);break;case "\b":k.keys.push(Ee);break;default:k.keys.push(p)}})});m(g,function(l){Rf(a, l.keys,c,l.persist)})}Z.a={};Z.a["\ue000"]=null;Z.a["\ue003"]=Ee;Z.a["\ue004"]=Fe;Z.a["\ue006"]=Ge;Z.a["\ue007"]=Ge;Z.a["\ue008"]=W;Z.a["\ue009"]=He;Z.a["\ue00a"]=Ie;Z.a["\ue00b"]=Je;Z.a["\ue00c"]=Ke;Z.a["\ue00d"]=Le;Z.a["\ue00e"]=Me;Z.a["\ue00f"]=Ne;Z.a["\ue010"]=Oe;Z.a["\ue011"]=Pe;Z.a["\ue012"]=Qe;Z.a["\ue013"]=Re;Z.a["\ue014"]=Se;Z.a["\ue015"]=Te;Z.a["\ue016"]=Ue;Z.a["\ue017"]=Ve;Z.a["\ue018"]=Af;Z.a["\ue019"]=yf;Z.a["\ue01a"]=Xe;Z.a["\ue01b"]=Ye;Z.a["\ue01c"]=Ze;Z.a["\ue01d"]=$e; -Z.a["\ue01e"]=af;Z.a["\ue01f"]=bf;Z.a["\ue020"]=cf;Z.a["\ue021"]=df;Z.a["\ue022"]=ef;Z.a["\ue023"]=ff;Z.a["\ue024"]=gf;Z.a["\ue025"]=hf;Z.a["\ue027"]=jf;Z.a["\ue028"]=kf;Z.a["\ue029"]=lf;Z.a["\ue026"]=zf;Z.a["\ue031"]=mf;Z.a["\ue032"]=nf;Z.a["\ue033"]=of;Z.a["\ue034"]=pf;Z.a["\ue035"]=qf;Z.a["\ue036"]=rf;Z.a["\ue037"]=sf;Z.a["\ue038"]=tf;Z.a["\ue039"]=uf;Z.a["\ue03a"]=vf;Z.a["\ue03b"]=wf;Z.a["\ue03c"]=xf;Z.a["\ue03d"]=We;la("_",function(a,b){a=[a];try{var c;b?c=Zf(b.WINDOW):c=window;var d=Yf(a,c.document),e=Tf.apply(null,d);var f={status:0,value:Wf(e)}}catch(g){f={status:Oa(g,"code")?g.code:13,value:{message:g.message}}}return Vf(f)});; return this._.apply(null,arguments);}).apply(window, arguments);} +Z.a["\ue01e"]=af;Z.a["\ue01f"]=bf;Z.a["\ue020"]=cf;Z.a["\ue021"]=df;Z.a["\ue022"]=ef;Z.a["\ue023"]=ff;Z.a["\ue024"]=gf;Z.a["\ue025"]=hf;Z.a["\ue027"]=jf;Z.a["\ue028"]=kf;Z.a["\ue029"]=lf;Z.a["\ue026"]=zf;Z.a["\ue031"]=mf;Z.a["\ue032"]=nf;Z.a["\ue033"]=of;Z.a["\ue034"]=pf;Z.a["\ue035"]=qf;Z.a["\ue036"]=rf;Z.a["\ue037"]=sf;Z.a["\ue038"]=tf;Z.a["\ue039"]=uf;Z.a["\ue03a"]=vf;Z.a["\ue03b"]=wf;Z.a["\ue03c"]=xf;Z.a["\ue03d"]=We;la("se_exportedFunctionSymbol",function(a,b){a=[a];try{var c;b?c=Zf(b.WINDOW):c=window;var d=Yf(a,c.document),e=Tf.apply(null,d);var f={status:0,value:Wf(e)}}catch(g){f={status:Oa(g,"code")?g.code:13,value:{message:g.message}}}return Vf(f)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);} diff --git a/atoms/default_content.js b/atoms/default_content.js index 6328a892..a0d59783 100755 --- a/atoms/default_content.js +++ b/atoms/default_content.js @@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE= function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state"; Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Lb(){return Db.top};var Mb=JSON.stringify;function Nb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Ob(c);return e}if(v(c,"document"))return e={},e.WINDOW=Ob(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"== typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Pb(a,b){return"array"==l(a)?ka(a,function(c){return Pb(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Qb(a.ELEMENT,b):v(a,"WINDOW")?Qb(a.WINDOW,b):ra(a,function(c){return Pb(c,b)}):a}function Rb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Ob(a){var b=Rb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c} -function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(){var a=Lb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(b,c.document);var f={status:0,value:Nb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);} +function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("se_exportedFunctionSymbol",function(){var a=Lb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(b,c.document);var f={status:0,value:Nb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);} diff --git a/atoms/execute_async_script.js b/atoms/execute_async_script.js index 7cb08068..4c0660e8 100755 --- a/atoms/execute_async_script.js +++ b/atoms/execute_async_script.js @@ -5,5 +5,5 @@ w[51]="invalid selector";w[52]="invalid selector";w[17]="javascript error";w[405 "string"==typeof n});return B(c,function(h){return b(h,d)});default:return null}}return b(a,[])}function T(a,b){return"array"==f(a)?y(a,function(c){return T(c,b)}):q(a)?"function"==typeof a?a:C(a,"ELEMENT")?U(a.ELEMENT,b):C(a,"WINDOW")?U(a.WINDOW,b):B(a,function(c){return T(c,b)}):a}function da(a,b){if("string"==typeof a)try{return new b.Function(a)}catch(c){throw c;}return b==window?a:new b.Function("return ("+a+").apply(null,arguments);")} function V(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.a=t());b.a||(b.a=t());return b}function S(a){var b=V(a.ownerDocument),c=D(b,function(d){return d==a});c||(c=":wdc:"+b.a++,b[c]=a);return c} function U(a,b){a=decodeURIComponent(a);b=b||document;var c=V(b);if(!C(c,a))throw new v(10,"Element does not exist in cache");var d=c[a];if(C(d,"setInterval")){if(d.closed)throw delete c[a],new v(23,"Window has been closed.");return d}for(var g=d;g;){if(g==b.documentElement)return d;g.host&&11===g.nodeType&&(g=g.host);g=g.parentNode}delete c[a];throw new v(10,"Element is no longer attached to the DOM");};function W(a,b,c,d,g,h){function n(l,p){P||(k.removeEventListener?k.removeEventListener("unload",A,!0):k.detachEvent("onunload",A),k.clearTimeout(ea),0!=l?(l=new v(l,p.message||p+""),l.stack=p.stack,p={status:C(l,"code")?l.code:13,value:{message:l.message}}):p={status:0,value:ca(p)},d(g?ba(p):p),P=!0)}function A(){n(13,Error("Detected a page unload event; asynchronous script execution does not work across page loads."))}var k=h||window,P=!1;h=r(n,13);if(k.closed)h("Unable to execute script; the target window is closed."); -else{a=da(a,k);b=T(b,k.document);b.push(r(n,0));k.addEventListener?k.addEventListener("unload",A,!0):k.attachEvent("onunload",A);var fa=t();try{a.apply(k,b);var ea=k.setTimeout(function(){n(28,Error("Timed out waiting for asynchronous script result after "+(t()-fa)+" ms"))},Math.max(0,c))}catch(l){n(l.code||13,l)}}}var X=["_"],Y=e;X[0]in Y||"undefined"==typeof Y.execScript||Y.execScript("var "+X[0]); -for(var Z;X.length&&(Z=X.shift());)X.length||void 0===W?Y[Z]&&Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=W;; return this._.apply(null,arguments);}).apply(window, arguments);} +else{a=da(a,k);b=T(b,k.document);b.push(r(n,0));k.addEventListener?k.addEventListener("unload",A,!0):k.attachEvent("onunload",A);var fa=t();try{a.apply(k,b);var ea=k.setTimeout(function(){n(28,Error("Timed out waiting for asynchronous script result after "+(t()-fa)+" ms"))},Math.max(0,c))}catch(l){n(l.code||13,l)}}}var X=["se_exportedFunctionSymbol"],Y=e;X[0]in Y||"undefined"==typeof Y.execScript||Y.execScript("var "+X[0]); +for(var Z;X.length&&(Z=X.shift());)X.length||void 0===W?Y[Z]&&Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=W;; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);} diff --git a/atoms/execute_script.js b/atoms/execute_script.js index c3f3d29a..15fdfe3a 100755 --- a/atoms/execute_script.js +++ b/atoms/execute_script.js @@ -3,5 +3,5 @@ function f(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"a b&&"undefined"==typeof a.call)return"object";return b}function k(a){var b=f(a);return"array"==b||"object"==b&&"number"==typeof a.length}function l(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}var m=Date.now||function(){return+new Date};function n(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};var q=window;function r(a,b){this.code=a;this.b=u[a]||v;this.message=b||"";a=this.b.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}n(r,Error);var v="unknown error",u={15:"element not selectable",11:"element not visible"};u[31]=v;u[30]=v;u[24]="invalid cookie domain";u[29]="invalid element coordinates";u[12]="invalid element state";u[32]="invalid selector"; u[51]="invalid selector";u[52]="invalid selector";u[17]="javascript error";u[405]="unsupported operation";u[34]="move target out of bounds";u[27]="no such alert";u[7]="no such element";u[8]="no such frame";u[23]="no such window";u[28]="script timeout";u[33]="session not created";u[10]="stale element reference";u[21]="timeout";u[25]="unable to set cookie";u[26]="unexpected alert open";u[13]=v;u[9]="unknown command";var w=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),g="string"===typeof a?a.split(""):a,h=0;hc||b.indexOf("Error",c)!=c)b+="Error";this.name=b;b=Error(this.message);b.name=this.name;this.stack=b.stack||""}d(h,Error);var m="unknown error",k={15:"element not selectable",11:"element not visible"};k[31]=m;k[30]=m;k[24]="invalid cookie domain";k[29]="invalid element coordinates";k[12]="invalid element state";k[32]="invalid selector"; -k[51]="invalid selector";k[52]="invalid selector";k[17]="javascript error";k[405]="unsupported operation";k[34]="move target out of bounds";k[27]="no such alert";k[7]="no such element";k[8]="no such frame";k[23]="no such window";k[28]="script timeout";k[33]="session not created";k[10]="stale element reference";k[21]="timeout";k[25]="unable to set cookie";k[26]="unexpected alert open";k[13]=m;k[9]="unknown command";function n(b){this.a=[];for(var c=0;cb?null:"string"===typeof a?a.charAt(b):a[b]}function va(a){return Array.prototype.concat.apply([],arguments)}function wa(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function xa(a,b){a.sort(b||ya)}function ya(a,b){return a>b?1:a]=|\s+|./g,La=/^\s/;function q(a,b){return a.b[a.a+(b||0)]}function r(a){return a.b[a.a++]}function Ma(a){return a.b.length<=a.a};function Na(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}Na.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Na.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Na.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function Oa(a,b){this.width=a;this.height=b}Oa.prototype.aspectRatio=function(){return this.width/this.height};Oa.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};Oa.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Oa.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function u(a){return a?new Pa(w(a)):na||(na=new Pa)}function Qa(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}function Ra(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a} function Sa(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?Ta(a,b):!c&&Ra(e,b)?-1*Ua(a,b):!d&&Ra(f,a)?Ua(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=w(a);c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b); @@ -37,50 +37,50 @@ Pa.prototype.getElementsByTagName=function(a,b){return(b||this.a).getElementsByT function y(a,b,c,d){a=d||a.a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(e||c))c=a.querySelectorAll(e+(c?"."+c:""));else if(c&&a.getElementsByClassName)if(b=a.getElementsByClassName(c),e){a={};for(var f=d=0,g;g=b[f];f++)e==g.nodeName&&(a[d++]=g);a.length=d;c=a}else c=b;else if(b=a.getElementsByTagName(e||"*"),c){a={};for(f=d=0;g=b[f];f++){e=g.className;var h;if(h="function"==typeof e.split)h=0<=oa(e.split(/\s+/),c);h&&(a[d++]=g)}a.length=d;c=a}else c=b;return c} ;function z(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?"":b);if("string"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;c=0;var d=[];for(b="";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return b} function Wa(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function Xa(a,b,c,d,e){return Ya.call(null,a,b,ca(c)?c:null,ca(d)?d:null,e||new A)} -function Ya(a,b,c,d,e){b.getElementsByName&&d&&"name"==c?(b=b.getElementsByName(d),n(b,function(f){a.a(f)&&e.add(f)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),n(b,function(f){f.className==d&&a.a(f)&&e.add(f)})):a instanceof B?Za(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.f()),n(b,function(f){Wa(f,c,d)&&e.add(f)}));return e}function Za(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)Wa(b,c,d)&&a.a(b)&&e.add(b),Za(a,b,c,d,e)};function A(){this.b=this.a=null;this.m=0}function $a(a){this.f=a;this.a=this.b=null}function ab(a,b){if(!a.a)return b;if(!b.a)return a;var c=a.a;b=b.a;for(var d=null,e,f=0;c&&b;)c.f==b.f?(e=c,c=c.a,b=b.a):0",4,2,function(a,b,c){return kb(function(d,e){return d>e},a,b,c)});J("<=",4,2,function(a,b,c){return kb(function(d,e){return d<=e},a,b,c)});J(">=",4,2,function(a,b,c){return kb(function(d,e){return d>=e},a,b,c)});var jb=J("=",3,2,function(a,b,c){return kb(function(d,e){return d==e},a,b,c,!0)});J("!=",3,2,function(a,b,c){return kb(function(d,e){return d!=e},a,b,c,!0)});J("and",2,2,function(a,b,c){return hb(a,c)&&hb(b,c)});J("or",1,2,function(a,b,c){return hb(a,c)||hb(b,c)});function ob(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");E.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}k(ob,E);ob.prototype.a=function(a){a=this.c.a(a);return pb(this.h,a)};ob.prototype.toString=function(){var a="Filter:"+G(this.c);return a+=G(this.h)};function qb(a,b){if(b.lengtha.H)throw Error("Function "+a.l+" expects at most "+a.H+" arguments, "+b.length+" given");a.Z&&n(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.l+" is not of type Nodeset: "+c);});E.call(this,a.i);this.D=a;this.c=b;fb(this,a.g||sa(b,function(c){return c.g}));gb(this,a.Y&&!b.length||a.X&&!!b.length||sa(b,function(c){return c.b}))} -k(qb,E);qb.prototype.a=function(a){return this.D.s.apply(null,va(a,this.c))};qb.prototype.toString=function(){var a="Function: "+this.D;if(this.c.length){var b=ra(this.c,function(c,d){return c+G(d)},"Arguments:");a+=G(b)}return a};function rb(a,b,c,d,e,f,g,h){this.l=a;this.i=b;this.g=c;this.Y=d;this.X=!1;this.s=e;this.L=f;this.H=void 0!==g?g:f;this.Z=!!h}rb.prototype.toString=function(){return this.l};var sb={}; -function K(a,b,c,d,e,f,g,h){if(sb.hasOwnProperty(a))throw Error("Function already created: "+a+".");sb[a]=new rb(a,b,c,d,e,f,g,h)}K("boolean",2,!1,!1,function(a,b){return hb(b,a)},1);K("ceiling",1,!1,!1,function(a,b){return Math.ceil(H(b,a))},1);K("concat",3,!1,!1,function(a,b){return ra(wa(arguments,1),function(c,d){return c+I(d,a)},"")},2,null);K("contains",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);K("count",1,!1,!1,function(a,b){return b.a(a).m},1,1,!0); -K("false",2,!1,!1,function(){return!1},0);K("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);K("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=I(b,a).split(/\s+/);var e=[];n(a,function(g){g=d.getElementById(g);!g||0<=oa(e,g)||e.push(g)});e.sort(Sa);var f=new A;n(e,function(g){f.add(g)});return f},1);K("lang",2,!1,!1,function(){return!1},1);K("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0); +J(">",4,2,function(a,b,c){return kb(function(d,e){return d>e},a,b,c)});J("<=",4,2,function(a,b,c){return kb(function(d,e){return d<=e},a,b,c)});J(">=",4,2,function(a,b,c){return kb(function(d,e){return d>=e},a,b,c)});var jb=J("=",3,2,function(a,b,c){return kb(function(d,e){return d==e},a,b,c,!0)});J("!=",3,2,function(a,b,c){return kb(function(d,e){return d!=e},a,b,c,!0)});J("and",2,2,function(a,b,c){return hb(a,c)&&hb(b,c)});J("or",1,2,function(a,b,c){return hb(a,c)||hb(b,c)});function ob(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");E.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}k(ob,E);ob.prototype.a=function(a){a=this.c.a(a);return pb(this.h,a)};ob.prototype.toString=function(){var a="Filter:"+G(this.c);return a+=G(this.h)};function qb(a,b){if(b.lengtha.H)throw Error("Function "+a.l+" expects at most "+a.H+" arguments, "+b.length+" given");a.Z&&l(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.l+" is not of type Nodeset: "+c);});E.call(this,a.i);this.F=a;this.c=b;fb(this,a.g||sa(b,function(c){return c.g}));gb(this,a.Y&&!b.length||a.X&&!!b.length||sa(b,function(c){return c.b}))} +k(qb,E);qb.prototype.a=function(a){return this.F.u.apply(null,va(a,this.c))};qb.prototype.toString=function(){var a="Function: "+this.F;if(this.c.length){var b=ra(this.c,function(c,d){return c+G(d)},"Arguments:");a+=G(b)}return a};function rb(a,b,c,d,e,f,g,h){this.l=a;this.i=b;this.g=c;this.Y=d;this.X=!1;this.u=e;this.L=f;this.H=void 0!==g?g:f;this.Z=!!h}rb.prototype.toString=function(){return this.l};var sb={}; +function K(a,b,c,d,e,f,g,h){if(sb.hasOwnProperty(a))throw Error("Function already created: "+a+".");sb[a]=new rb(a,b,c,d,e,f,g,h)}K("boolean",2,!1,!1,function(a,b){return hb(b,a)},1);K("ceiling",1,!1,!1,function(a,b){return Math.ceil(H(b,a))},1);K("concat",3,!1,!1,function(a,b){return ra(wa(arguments,1),function(c,d){return c+I(d,a)},"")},2,null);K("contains",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);K("count",1,!1,!1,function(a,b){return b.a(a).o},1,1,!0); +K("false",2,!1,!1,function(){return!1},0);K("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);K("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=I(b,a).split(/\s+/);var e=[];l(a,function(g){g=d.getElementById(g);!g||0<=oa(e,g)||e.push(g)});e.sort(Sa);var f=new A;l(e,function(g){f.add(g)});return f},1);K("lang",2,!1,!1,function(){return!1},1);K("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0); K("local-name",3,!1,!0,function(a,b){return(a=b?cb(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():""},0,1,!0);K("name",3,!1,!0,function(a,b){return(a=b?cb(b.a(a)):a.a)?a.nodeName.toLowerCase():""},0,1,!0);K("namespace-uri",3,!0,!1,function(){return""},0,1,!0);K("normalize-space",3,!1,!0,function(a,b){return(b?I(b,a):z(a.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);K("not",2,!1,!1,function(a,b){return!hb(b,a)},1);K("number",1,!1,!0,function(a,b){return b?H(b,a):+z(a.a)},0,1); K("position",1,!0,!1,function(a){return a.b},0);K("round",1,!1,!1,function(a,b){return Math.round(H(b,a))},1);K("starts-with",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return 0==b.lastIndexOf(a,0)},2);K("string",3,!1,!0,function(a,b){return b?I(b,a):z(a.a)},0,1);K("string-length",1,!1,!0,function(a,b){return(b?I(b,a):z(a.a)).length},0,1); K("substring",3,!1,!1,function(a,b,c,d){c=H(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?H(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=I(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);K("substring-after",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2); K("substring-before",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);K("sum",1,!1,!1,function(a,b){a=C(b.a(a));b=0;for(var c=D(a);c;c=D(a))b+=+z(c);return b},1,1,!0);K("translate",3,!1,!1,function(a,b,c,d){b=I(b,a);c=I(c,a);var e=I(d,a);a={};for(d=0;da.length)throw Error("Unclosed literal string");return new ub(a)} function Tb(a){var b=[];if(Bb(q(a.a))){var c=r(a.a);var d=q(a.a);if("/"==c&&(Ma(a.a)||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new zb;d=new zb;N(a,"Missing next location step.");c=Ub(a,c);b.push(c)}else{a:{c=q(a.a);d=c.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":r(a.a);c=Ob(a);N(a,'unclosed "("');Qb(a,")");break;case '"':case "'":c=Sb(a);break;default:if(isNaN(+c))if(!tb(c)&&/(?![0-9])[\w]/.test(d)&&"("==q(a.a,1)){c=r(a.a); c=sb[c]||null;r(a.a);for(d=[];")"!=q(a.a);){N(a,"Missing function argument list.");d.push(Ob(a));if(","!=q(a.a))break;r(a.a)}N(a,"Unclosed function argument list.");Rb(a);c=new qb(c,d)}else{c=null;break a}else c=new wb(+r(a.a))}"["==q(a.a)&&(d=new Eb(Vb(a)),c=new ob(c,d))}if(c)if(Bb(q(a.a)))d=c;else return c;else c=Ub(a,"/"),d=new Ab,b.push(c)}for(;Bb(q(a.a));)c=r(a.a),N(a,"Missing next location step."),c=Ub(a,c),b.push(c);return new xb(d,b)} function Ub(a,b){if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==q(a.a)){var c=new L(Kb,new B("node"));r(a.a);return c}if(".."==q(a.a))return c=new L(Jb,new B("node")),r(a.a),c;if("@"==q(a.a)){var d=yb;r(a.a);N(a,"Missing attribute name")}else if("::"==q(a.a,1)){if(!/(?![0-9])[\w]/.test(q(a.a).charAt(0)))throw Error("Bad token: "+r(a.a));var e=r(a.a);d=Ib[e]||null;if(!d)throw Error("No axis with name: "+e);r(a.a);N(a,"Missing node name")}else d=Fb;e=q(a.a);if(/(?![0-9])[\w\*]/.test(e.charAt(0)))if("("== -q(a.a,1)){if(!tb(e))throw Error("Invalid node type: "+e);e=r(a.a);if(!tb(e))throw Error("Invalid type name: "+e);Qb(a,"(");N(a,"Bad nodetype");var f=q(a.a).charAt(0),g=null;if('"'==f||"'"==f)g=Sb(a);N(a,"Bad nodetype");Rb(a);e=new B(e,g)}else if(e=r(a.a),f=e.indexOf(":"),-1==f)e=new vb(e);else{g=e.substring(0,f);if("*"==g)var h="*";else if(h=a.b(g),!h)throw Error("Namespace prefix not declared: "+g);e=e.substr(f+1);e=new vb(e,h)}else throw Error("Bad token: "+r(a.a));a=new Eb(Vb(a),d.A);return c|| +q(a.a,1)){if(!tb(e))throw Error("Invalid node type: "+e);e=r(a.a);if(!tb(e))throw Error("Invalid type name: "+e);Qb(a,"(");N(a,"Bad nodetype");var f=q(a.a).charAt(0),g=null;if('"'==f||"'"==f)g=Sb(a);N(a,"Bad nodetype");Rb(a);e=new B(e,g)}else if(e=r(a.a),f=e.indexOf(":"),-1==f)e=new vb(e);else{g=e.substring(0,f);if("*"==g)var h="*";else if(h=a.b(g),!h)throw Error("Namespace prefix not declared: "+g);e=e.substr(f+1);e=new vb(e,h)}else throw Error("Bad token: "+r(a.a));a=new Eb(Vb(a),d.B);return c|| new L(d,e,a,"//"==b)}function Vb(a){for(var b=[];"["==q(a.a);){r(a.a);N(a,"Missing predicate expression.");var c=Ob(a);b.push(c);N(a,"Unclosed predicate expression.");Qb(a,"]")}return b}function Pb(a){if("-"==q(a.a))return r(a.a),new Lb(Pb(a));var b=Tb(a);if("|"!=q(a.a))a=b;else{for(b=[b];"|"==r(a.a);)N(a,"Missing next union location path."),b.push(Tb(a));a.a.a--;a=new Mb(b)}return a};function Yb(a){switch(a.nodeType){case 1:return la(Zb,a);case 9:return Yb(a.documentElement);case 11:case 10:case 6:case 12:return $b;default:return a.parentNode?Yb(a.parentNode):$b}}function $b(){return null}function Zb(a,b){if(a.prefix==b)return a.namespaceURI||"http://www.w3.org/1999/xhtml";var c=a.getAttributeNode("xmlns:"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?Zb(a.parentNode,b):null};function ac(a,b){if(!a.length)throw Error("Empty XPath expression.");a=Ja(a);if(Ma(a))throw Error("Invalid XPath expression.");b?fa(b)||(b=ka(b.lookupNamespaceURI,b)):b=function(){return null};var c=Ob(new Nb(a,b));if(!Ma(a))throw Error("Bad token: "+r(a));this.evaluate=function(d,e){d=c.a(new ma(d));return new O(d,e)}} -function O(a,b){if(0==b)if(a instanceof A)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof A))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof A?db(a):""+a;break;case 1:this.numberValue=a instanceof A?+db(a):+a;break;case 3:this.booleanValue=a instanceof A?0=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}O.ANY_TYPE=0; +function O(a,b){if(0==b)if(a instanceof A)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof A))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof A?db(a):""+a;break;case 1:this.numberValue=a instanceof A?+db(a):+a;break;case 3:this.booleanValue=a instanceof A?0=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}O.ANY_TYPE=0; O.NUMBER_TYPE=1;O.STRING_TYPE=2;O.BOOLEAN_TYPE=3;O.UNORDERED_NODE_ITERATOR_TYPE=4;O.ORDERED_NODE_ITERATOR_TYPE=5;O.UNORDERED_NODE_SNAPSHOT_TYPE=6;O.ORDERED_NODE_SNAPSHOT_TYPE=7;O.ANY_UNORDERED_NODE_TYPE=8;O.FIRST_ORDERED_NODE_TYPE=9;function bc(a){this.lookupNamespaceURI=Yb(a)} function cc(a,b){a=a||ba;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=O,c.evaluate=function(d,e,f,g){return(new ac(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new ac(d,e)},c.createNSResolver=function(d){return new bc(d)}}da("wgxpath.install",cc);da("wgxpath.install",cc);var dc=window;function P(a,b){this.code=a;this.a=R[a]||ec;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}k(P,Error);var ec="unknown error",R={15:"element not selectable",11:"element not visible"};R[31]=ec;R[30]=ec;R[24]="invalid cookie domain";R[29]="invalid element coordinates";R[12]="invalid element state"; -R[32]="invalid selector";R[51]="invalid selector";R[52]="invalid selector";R[17]="javascript error";R[405]="unsupported operation";R[34]="move target out of bounds";R[27]="no such alert";R[7]="no such element";R[8]="no such frame";R[23]="no such window";R[28]="script timeout";R[33]="session not created";R[10]="stale element reference";R[21]="timeout";R[25]="unable to set cookie";R[26]="unexpected alert open";R[13]=ec;R[9]="unknown command";var fc={C:function(a){return!(!a.querySelectorAll||!a.querySelector)},o:function(a,b){if(!a)throw new P(32,"No class name specified");a=Aa(a);if(-1!==a.indexOf(" "))throw new P(32,"Compound class names not permitted");if(fc.C(b))try{return b.querySelector("."+a.replace(/\./g,"\\."))||null}catch(c){throw new P(32,"An invalid or illegal class name was specified");}a=y(u(b),"*",a,b);return a.length?a[0]:null},j:function(a,b){if(!a)throw new P(32,"No class name specified");a=Aa(a);if(-1!==a.indexOf(" "))throw new P(32, -"Compound class names not permitted");if(fc.C(b))try{return b.querySelectorAll("."+a.replace(/\./g,"\\."))}catch(c){throw new P(32,"An invalid or illegal class name was specified");}return y(u(b),"*",a,b)}};var gc=Ea(),hc=Ha()||p("iPod"),ic=p("iPad"),jc=p("Android")&&!(Fa()||Ea()||p("Opera")||p("Silk")),kc=Fa(),lc=p("Safari")&&!(Fa()||p("Coast")||p("Opera")||p("Edge")||p("Edg/")||p("OPR")||Ea()||p("Silk")||p("Android"))&&!(Ha()||p("iPad")||p("iPod"));function mc(a){return(a=a.exec(Ba))?a[1]:""}(function(){if(gc)return mc(/Firefox\/([0-9.]+)/);if(kc)return Ha()||p("iPad")||p("iPod")?mc(/CriOS\/([0-9.]+)/):mc(/Chrome\/([0-9.]+)/);if(lc&&!(Ha()||p("iPad")||p("iPod")))return mc(/Version\/([0-9.]+)/);if(hc||ic){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Ba);if(a)return a[1]+"."+a[2]}else if(jc)return(a=mc(/Android\s+([0-9.]+)/))?a:mc(/Version\/([0-9.]+)/);return""})();var nc={o:function(a,b){fa(b.querySelector);if(!a)throw new P(32,"No selector specified");a=Aa(a);try{var c=b.querySelector(a)}catch(d){throw new P(32,"An invalid or illegal selector was specified");}return c&&1==c.nodeType?c:null},j:function(a,b){fa(b.querySelectorAll);if(!a)throw new P(32,"No selector specified");a=Aa(a);try{return b.querySelectorAll(a)}catch(c){throw new P(32,"An invalid or illegal selector was specified");}}};var oc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400", +R[32]="invalid selector";R[51]="invalid selector";R[52]="invalid selector";R[17]="javascript error";R[405]="unsupported operation";R[34]="move target out of bounds";R[27]="no such alert";R[7]="no such element";R[8]="no such frame";R[23]="no such window";R[28]="script timeout";R[33]="session not created";R[10]="stale element reference";R[21]="timeout";R[25]="unable to set cookie";R[26]="unexpected alert open";R[13]=ec;R[9]="unknown command";var fc={D:function(a){return!(!a.querySelectorAll||!a.querySelector)},s:function(a,b){if(!a)throw new P(32,"No class name specified");a=Aa(a);if(-1!==a.indexOf(" "))throw new P(32,"Compound class names not permitted");if(fc.D(b))try{return b.querySelector("."+a.replace(/\./g,"\\."))||null}catch(c){throw new P(32,"An invalid or illegal class name was specified");}a=y(u(b),"*",a,b);return a.length?a[0]:null},j:function(a,b){if(!a)throw new P(32,"No class name specified");a=Aa(a);if(-1!==a.indexOf(" "))throw new P(32, +"Compound class names not permitted");if(fc.D(b))try{return b.querySelectorAll("."+a.replace(/\./g,"\\."))}catch(c){throw new P(32,"An invalid or illegal class name was specified");}return y(u(b),"*",a,b)}};var gc=Ea(),hc=Ha()||p("iPod"),ic=p("iPad"),jc=p("Android")&&!(Fa()||Ea()||p("Opera")||p("Silk")),kc=Fa(),lc=p("Safari")&&!(Fa()||p("Coast")||p("Opera")||p("Edge")||p("Edg/")||p("OPR")||Ea()||p("Silk")||p("Android"))&&!(Ha()||p("iPad")||p("iPod"));function mc(a){return(a=a.exec(Ba))?a[1]:""}(function(){if(gc)return mc(/Firefox\/([0-9.]+)/);if(kc)return Ha()||p("iPad")||p("iPod")?mc(/CriOS\/([0-9.]+)/):mc(/Chrome\/([0-9.]+)/);if(lc&&!(Ha()||p("iPad")||p("iPod")))return mc(/Version\/([0-9.]+)/);if(hc||ic){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Ba);if(a)return a[1]+"."+a[2]}else if(jc)return(a=mc(/Android\s+([0-9.]+)/))?a:mc(/Version\/([0-9.]+)/);return""})();var nc={s:function(a,b){fa(b.querySelector);if(!a)throw new P(32,"No selector specified");a=Aa(a);try{var c=b.querySelector(a)}catch(d){throw new P(32,"An invalid or illegal selector was specified");}return c&&1==c.nodeType?c:null},j:function(a,b){fa(b.querySelectorAll);if(!a)throw new P(32,"No selector specified");a=Aa(a);try{return b.querySelectorAll(a)}catch(c){throw new P(32,"An invalid or illegal selector was specified");}}};var oc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400", darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc", ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a", lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1", moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57", -seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var pc="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),qc=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,rc=/^#(?:[0-9a-f]{3}){1,2}$/i,sc=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,tc=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function uc(a,b){b=b.toLowerCase();return"style"==b?vc(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var wc=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function vc(a){var b=[];n(a.split(wc),function(c){var d=c.indexOf(":");0=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(tc))if(b=Number(d[1]), c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=oc[b.toLowerCase()];if(!c&&(c="#"==b.charAt(0)?b:"#"+b,4==c.length&&(c=c.replace(qc,"#$1$1$2$2$3$3")),!rc.test(c))){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?"rgba("+b.join(", ")+")":a}return a} @@ -89,27 +89,28 @@ function Bc(a,b,c){function d(g){var h=V(g);return 0=F.a+F.width;F=e.c>=F.b+F.height;if(Q&&"hidden"==m.x||F&&"hidden"==m.y)return W;if(Q&&"visible"!=m.x||F&&"visible"!=m.y){if(v&&(m=d(a),e.f>=g.scrollWidth-m.x||e.a>=g.scrollHeight-m.y))return W;e=Cc(a);return e==W?W:"scroll"}}}return"none"} +function Cc(a){function b(m){function x(mb){if(mb==g)return!0;var Wb=U(mb,"display");return 0==Wb.lastIndexOf("inline",0)||"contents"==Wb||"absolute"==Xb&&"static"==U(mb,"position")?!1:!0}var Xb=U(m,"position");if("fixed"==Xb)return v=!0,m==g?null:g;for(m=zc(m);m&&!x(m);)m=zc(m);return m}function c(m){var x=m;if("visible"==t)if(m==g&&h)x=h;else if(m==h)return{x:"visible",y:"visible"};x={x:U(x,"overflow-x"),y:U(x,"overflow-y")};m==g&&(x.x="visible"==x.x?"auto":x.x,x.y="visible"==x.y?"auto":x.y);return x} +function d(m){if(m==g){var x=(new Pa(f)).a;m=x.scrollingElement?x.scrollingElement:x.body||x.documentElement;x=x.parentWindow||x.defaultView;m=new Na(x.pageXOffset||m.scrollLeft,x.pageYOffset||m.scrollTop)}else m=new Na(m.scrollLeft,m.scrollTop);return m}var e=Gc(a),f=w(a),g=f.documentElement,h=f.body,t=U(g,"overflow"),v;for(a=b(a);a;a=b(a)){var n=c(a);if("visible"!=n.x||"visible"!=n.y){var F=V(a);if(0==F.width||0==F.height)return W;var Q=e.a=F.a+F.width;F=e.c>=F.b+F.height;if(Q&&"hidden"==n.x||F&&"hidden"==n.y)return W;if(Q&&"visible"!=n.x||F&&"visible"!=n.y){if(v&&(n=d(a),e.f>=g.scrollWidth-n.x||e.a>=g.scrollHeight-n.y))return W;e=Cc(a);return e==W?W:"scroll"}}}return"none"} function V(a){var b=Dc(a);if(b)return b.rect;if(S(a,"HTML"))return a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new Oa(a.clientWidth,a.clientHeight),new T(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new T(0,0,0,0)}return new T(c.left,c.top,c.right-c.left,c.bottom-c.top)} -function Dc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=nc.o('*[usemap="#'+c.name+'"]',w(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Hc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}} +function Dc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=nc.s('*[usemap="#'+c.name+'"]',w(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Hc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}} function Hc(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if("rect"==b&&4==a.length){b=a[0];var c=a[1];return new T(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new T(a[0]-b,a[1]-b,2*b,2*b);if("poly"==b&&2=~*^$|%&@`{}\-\/\[\]\(\)])/g, -"\\$1")}};var X={},Rc={};X.N=function(a,b,c){try{var d=nc.j("a",b)}catch(e){d=y(u(b),"A",null,b)}return ua(d,function(e){e=Jc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.K=function(a,b,c){try{var d=nc.j("a",b)}catch(e){d=y(u(b),"A",null,b)}return pa(d,function(e){e=Jc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.o=function(a,b){return X.N(a,b,!1)};X.j=function(a,b){return X.K(a,b,!1)};Rc.o=function(a,b){return X.N(a,b,!0)}; -Rc.j=function(a,b){return X.K(a,b,!0)};var Y={F:function(a,b){return function(c){var d=Y.u(a);d=V(d);c=V(c);return b.call(null,d,c)}},R:function(a){return Y.F(a,function(b,c){return c.b+c.height=~*^$|%&@`{}\-\/\[\]\(\)])/g, +"\\$1")}};var X={},Rc={};X.N=function(a,b,c){try{var d=nc.j("a",b)}catch(e){d=y(u(b),"A",null,b)}return ua(d,function(e){e=Jc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.K=function(a,b,c){try{var d=nc.j("a",b)}catch(e){d=y(u(b),"A",null,b)}return pa(d,function(e){e=Jc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.s=function(a,b){return X.N(a,b,!1)};X.j=function(a,b){return X.K(a,b,!1)};Rc.s=function(a,b){return X.N(a,b,!0)}; +Rc.j=function(a,b){return X.K(a,b,!0)};var Y={v:function(a,b){return function(c){var d=Y.m(a);d=V(d);c=V(c);return b.call(null,d,c)}},R:function(a){return Y.v(a,function(b,c){return c.b+c.height<=b.b})},S:function(a){return Y.v(a,function(b,c){return c.b>=b.b+b.height})},V:function(a){return Y.v(a,function(b,c){return c.a+c.width<=b.a})},aa:function(a){return Y.v(a,function(b,c){return c.a>=b.a+b.width})},ca:function(a){return Y.v(a,function(b,c){return c.ab.a&&c.b+c.height<=b.b})},da:function(a){return Y.v(a, +function(b,c){return c.ab.a&&c.b>=b.b+b.height})},ea:function(a){return Y.v(a,function(b,c){return c.bb.b&&c.a+c.width<=b.a})},fa:function(a){return Y.v(a,function(b,c){return c.bb.b&&c.a>=b.a+b.width})},W:function(a,b){var c;b?c=b:"number"==typeof a.distance&&(c=a.distance);c||(c=50);return function(d){var e=Y.m(a);if(e===d)return!1;e=V(e);d=V(d);e=new T(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&& +d.a<=e.a+e.width&&e.b<=d.b+d.height&&d.b<=e.b+e.height}},m:function(a){if(ha(a)&&1==a.nodeType)return a;if(fa(a))return Y.m(a.call(null));if(ha(a)){var b=Sc(a);if(!b)throw new P(7,"No element has been found by "+JSON.stringify(a));return b}throw new P(61,"Selector is of wrong type: "+JSON.stringify(a));}};Y.P={above:Y.R,below:Y.S,left:Y.V,near:Y.W,right:Y.aa,straightAbove:Y.ca,straightBelow:Y.da,straightLeft:Y.ea,straightRight:Y.fa}; +Y.O={above:Y.m,below:Y.m,left:Y.m,near:Y.m,right:Y.m,straightAbove:Y.m,straightBelow:Y.m,straightLeft:Y.m,straightRight:Y.m};Y.U=function(a,b){var c=[];l(a,function(e){e&&ta(b,function(f){var g=f.kind,h=Y.P[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Y.O[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Y.ba(a,c):c:c}; +Y.ba=function(a,b){function c(f){f=V(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=V(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;xa(b,function(f,g){return c(f)-c(g)});return b};Y.s=function(a,b){a=Y.j(a,b);return 0==a.length?null:a[0]}; +Y.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));var c=a.filters,d=ea(c);if("array"!=d&&("object"!=d||"number"!=typeof c.length))throw new P(61,"Targets should be an array: "+JSON.stringify(a));if(S(a.root))b=[a.root];else a:{c=a.root;if(d=Tc(c)){var e=Uc[d];if(e&&fa(e.j)){b=e.j(c[d],b||dc.document);break a}}throw new P(61,"Unsupported locator strategy: "+d);}return 0==b.length?[]:Y.U(b,a.filters)};var Vc={s:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var Z={};Z.I=function(){var a={ha:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}(); +Z.u=function(a,b,c){var d=w(a);if(!d.documentElement)return null;jc&&cc(d?d.parentWindow||d.defaultView:window);try{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):Z.I,f={},g=d.getElementsByTagName("*"),h=0;hb?null:"string"===typeof a?a.charAt(b):a[b]}function xa(a){return Array.prototype.concat.apply([],arguments)}function ya(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function za(a,b){a.sort(b||Aa)}function Aa(a,b){return a>b?1:a]=|\s+|./g,Qa=/^\s/;function r(a,b){return a.b[a.a+(b||0)]}function t(a){return a.b[a.a++]}function Ra(a){return a.b.length<=a.a};function Sa(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}Sa.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Sa.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Sa.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function Ta(a,b){this.width=a;this.height=b}Ta.prototype.aspectRatio=function(){return this.width/this.height};Ta.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};Ta.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Ta.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function v(a){return a?new Ua(w(a)):pa||(pa=new Ua)}function Va(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}function Wa(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a} function Xa(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?Ya(a,b):!c&&Wa(e,b)?-1*Za(a,b):!d&&Wa(f,a)?Za(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=w(a);c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b); @@ -37,81 +37,82 @@ Ua.prototype.getElementsByTagName=function(a,b){return(b||this.a).getElementsByT function x(a,b,c,d){a=d||a.a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(e||c))c=a.querySelectorAll(e+(c?"."+c:""));else if(c&&a.getElementsByClassName)if(b=a.getElementsByClassName(c),e){a={};for(var f=d=0,g;g=b[f];f++)e==g.nodeName&&(a[d++]=g);a.length=d;c=a}else c=b;else if(b=a.getElementsByTagName(e||"*"),c){a={};for(f=d=0;g=b[f];f++){e=g.className;var h;if(h="function"==typeof e.split)h=0<=qa(e.split(/\s+/),c);h&&(a[d++]=g)}a.length=d;c=a}else c=b;return c} ;function A(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?"":b);if("string"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;c=0;var d=[];for(b="";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return b} function ab(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function bb(a,b,c,d,e){return cb.call(null,a,b,ca(c)?c:null,ca(d)?d:null,e||new B)} -function cb(a,b,c,d,e){b.getElementsByName&&d&&"name"==c?(b=b.getElementsByName(d),p(b,function(f){a.a(f)&&e.add(f)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),p(b,function(f){f.className==d&&a.a(f)&&e.add(f)})):a instanceof C?db(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.f()),p(b,function(f){ab(f,c,d)&&e.add(f)}));return e}function db(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)ab(b,c,d)&&a.a(b)&&e.add(b),db(a,b,c,d,e)};function B(){this.b=this.a=null;this.m=0}function eb(a){this.f=a;this.a=this.b=null}function fb(a,b){if(!a.a)return b;if(!b.a)return a;var c=a.a;b=b.a;for(var d=null,e,f=0;c&&b;)c.f==b.f?(e=c,c=c.a,b=b.a):0",4,2,function(a,b,c){return qb(function(d,e){return d>e},a,b,c)});J("<=",4,2,function(a,b,c){return qb(function(d,e){return d<=e},a,b,c)});J(">=",4,2,function(a,b,c){return qb(function(d,e){return d>=e},a,b,c)});var pb=J("=",3,2,function(a,b,c){return qb(function(d,e){return d==e},a,b,c,!0)});J("!=",3,2,function(a,b,c){return qb(function(d,e){return d!=e},a,b,c,!0)});J("and",2,2,function(a,b,c){return mb(a,c)&&mb(b,c)});J("or",1,2,function(a,b,c){return mb(a,c)||mb(b,c)});function tb(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");F.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}k(tb,F);tb.prototype.a=function(a){a=this.c.a(a);return ub(this.h,a)};tb.prototype.toString=function(){var a="Filter:"+G(this.c);return a+=G(this.h)};function vb(a,b){if(b.lengtha.H)throw Error("Function "+a.l+" expects at most "+a.H+" arguments, "+b.length+" given");a.$&&p(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.l+" is not of type Nodeset: "+c);});F.call(this,a.i);this.D=a;this.c=b;kb(this,a.g||ua(b,function(c){return c.g}));lb(this,a.Z&&!b.length||a.Y&&!!b.length||ua(b,function(c){return c.b}))} -k(vb,F);vb.prototype.a=function(a){return this.D.s.apply(null,xa(a,this.c))};vb.prototype.toString=function(){var a="Function: "+this.D;if(this.c.length){var b=ta(this.c,function(c,d){return c+G(d)},"Arguments:");a+=G(b)}return a};function wb(a,b,c,d,e,f,g,h){this.l=a;this.i=b;this.g=c;this.Z=d;this.Y=!1;this.s=e;this.M=f;this.H=void 0!==g?g:f;this.$=!!h}wb.prototype.toString=function(){return this.l};var xb={}; -function K(a,b,c,d,e,f,g,h){if(xb.hasOwnProperty(a))throw Error("Function already created: "+a+".");xb[a]=new wb(a,b,c,d,e,f,g,h)}K("boolean",2,!1,!1,function(a,b){return mb(b,a)},1);K("ceiling",1,!1,!1,function(a,b){return Math.ceil(H(b,a))},1);K("concat",3,!1,!1,function(a,b){return ta(ya(arguments,1),function(c,d){return c+I(d,a)},"")},2,null);K("contains",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);K("count",1,!1,!1,function(a,b){return b.a(a).m},1,1,!0); -K("false",2,!1,!1,function(){return!1},0);K("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);K("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=I(b,a).split(/\s+/);var e=[];p(a,function(g){g=d.getElementById(g);!g||0<=qa(e,g)||e.push(g)});e.sort(Xa);var f=new B;p(e,function(g){f.add(g)});return f},1);K("lang",2,!1,!1,function(){return!1},1);K("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0); +J(">",4,2,function(a,b,c){return qb(function(d,e){return d>e},a,b,c)});J("<=",4,2,function(a,b,c){return qb(function(d,e){return d<=e},a,b,c)});J(">=",4,2,function(a,b,c){return qb(function(d,e){return d>=e},a,b,c)});var pb=J("=",3,2,function(a,b,c){return qb(function(d,e){return d==e},a,b,c,!0)});J("!=",3,2,function(a,b,c){return qb(function(d,e){return d!=e},a,b,c,!0)});J("and",2,2,function(a,b,c){return mb(a,c)&&mb(b,c)});J("or",1,2,function(a,b,c){return mb(a,c)||mb(b,c)});function tb(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");F.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}k(tb,F);tb.prototype.a=function(a){a=this.c.a(a);return ub(this.h,a)};tb.prototype.toString=function(){var a="Filter:"+G(this.c);return a+=G(this.h)};function vb(a,b){if(b.lengtha.H)throw Error("Function "+a.l+" expects at most "+a.H+" arguments, "+b.length+" given");a.$&&l(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.l+" is not of type Nodeset: "+c);});F.call(this,a.i);this.F=a;this.c=b;kb(this,a.g||ua(b,function(c){return c.g}));lb(this,a.Z&&!b.length||a.Y&&!!b.length||ua(b,function(c){return c.b}))} +k(vb,F);vb.prototype.a=function(a){return this.F.u.apply(null,xa(a,this.c))};vb.prototype.toString=function(){var a="Function: "+this.F;if(this.c.length){var b=ta(this.c,function(c,d){return c+G(d)},"Arguments:");a+=G(b)}return a};function wb(a,b,c,d,e,f,g,h){this.l=a;this.i=b;this.g=c;this.Z=d;this.Y=!1;this.u=e;this.M=f;this.H=void 0!==g?g:f;this.$=!!h}wb.prototype.toString=function(){return this.l};var xb={}; +function K(a,b,c,d,e,f,g,h){if(xb.hasOwnProperty(a))throw Error("Function already created: "+a+".");xb[a]=new wb(a,b,c,d,e,f,g,h)}K("boolean",2,!1,!1,function(a,b){return mb(b,a)},1);K("ceiling",1,!1,!1,function(a,b){return Math.ceil(H(b,a))},1);K("concat",3,!1,!1,function(a,b){return ta(ya(arguments,1),function(c,d){return c+I(d,a)},"")},2,null);K("contains",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);K("count",1,!1,!1,function(a,b){return b.a(a).o},1,1,!0); +K("false",2,!1,!1,function(){return!1},0);K("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);K("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=I(b,a).split(/\s+/);var e=[];l(a,function(g){g=d.getElementById(g);!g||0<=qa(e,g)||e.push(g)});e.sort(Xa);var f=new B;l(e,function(g){f.add(g)});return f},1);K("lang",2,!1,!1,function(){return!1},1);K("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0); K("local-name",3,!1,!0,function(a,b){return(a=b?hb(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():""},0,1,!0);K("name",3,!1,!0,function(a,b){return(a=b?hb(b.a(a)):a.a)?a.nodeName.toLowerCase():""},0,1,!0);K("namespace-uri",3,!0,!1,function(){return""},0,1,!0);K("normalize-space",3,!1,!0,function(a,b){return(b?I(b,a):A(a.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);K("not",2,!1,!1,function(a,b){return!mb(b,a)},1);K("number",1,!1,!0,function(a,b){return b?H(b,a):+A(a.a)},0,1); K("position",1,!0,!1,function(a){return a.b},0);K("round",1,!1,!1,function(a,b){return Math.round(H(b,a))},1);K("starts-with",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return 0==b.lastIndexOf(a,0)},2);K("string",3,!1,!0,function(a,b){return b?I(b,a):A(a.a)},0,1);K("string-length",1,!1,!0,function(a,b){return(b?I(b,a):A(a.a)).length},0,1); K("substring",3,!1,!1,function(a,b,c,d){c=H(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?H(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=I(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);K("substring-after",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2); K("substring-before",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);K("sum",1,!1,!1,function(a,b){a=D(b.a(a));b=0;for(var c=E(a);c;c=E(a))b+=+A(c);return b},1,1,!0);K("translate",3,!1,!1,function(a,b,c,d){b=I(b,a);c=I(c,a);var e=I(d,a);a={};for(d=0;da.length)throw Error("Unclosed literal string");return new zb(a)} function Yb(a){var b=[];if(Gb(r(a.a))){var c=t(a.a);var d=r(a.a);if("/"==c&&(Ra(a.a)||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new Eb;d=new Eb;N(a,"Missing next location step.");c=Zb(a,c);b.push(c)}else{a:{c=r(a.a);d=c.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":t(a.a);c=Tb(a);N(a,'unclosed "("');Vb(a,")");break;case '"':case "'":c=Xb(a);break;default:if(isNaN(+c))if(!yb(c)&&/(?![0-9])[\w]/.test(d)&&"("==r(a.a,1)){c=t(a.a); c=xb[c]||null;t(a.a);for(d=[];")"!=r(a.a);){N(a,"Missing function argument list.");d.push(Tb(a));if(","!=r(a.a))break;t(a.a)}N(a,"Unclosed function argument list.");Wb(a);c=new vb(c,d)}else{c=null;break a}else c=new Bb(+t(a.a))}"["==r(a.a)&&(d=new Jb($b(a)),c=new tb(c,d))}if(c)if(Gb(r(a.a)))d=c;else return c;else c=Zb(a,"/"),d=new Fb,b.push(c)}for(;Gb(r(a.a));)c=t(a.a),N(a,"Missing next location step."),c=Zb(a,c),b.push(c);return new Cb(d,b)} function Zb(a,b){if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==r(a.a)){var c=new L(Pb,new C("node"));t(a.a);return c}if(".."==r(a.a))return c=new L(Ob,new C("node")),t(a.a),c;if("@"==r(a.a)){var d=Db;t(a.a);N(a,"Missing attribute name")}else if("::"==r(a.a,1)){if(!/(?![0-9])[\w]/.test(r(a.a).charAt(0)))throw Error("Bad token: "+t(a.a));var e=t(a.a);d=Nb[e]||null;if(!d)throw Error("No axis with name: "+e);t(a.a);N(a,"Missing node name")}else d=Kb;e=r(a.a);if(/(?![0-9])[\w\*]/.test(e.charAt(0)))if("("== -r(a.a,1)){if(!yb(e))throw Error("Invalid node type: "+e);e=t(a.a);if(!yb(e))throw Error("Invalid type name: "+e);Vb(a,"(");N(a,"Bad nodetype");var f=r(a.a).charAt(0),g=null;if('"'==f||"'"==f)g=Xb(a);N(a,"Bad nodetype");Wb(a);e=new C(e,g)}else if(e=t(a.a),f=e.indexOf(":"),-1==f)e=new Ab(e);else{g=e.substring(0,f);if("*"==g)var h="*";else if(h=a.b(g),!h)throw Error("Namespace prefix not declared: "+g);e=e.substr(f+1);e=new Ab(e,h)}else throw Error("Bad token: "+t(a.a));a=new Jb($b(a),d.A);return c|| +r(a.a,1)){if(!yb(e))throw Error("Invalid node type: "+e);e=t(a.a);if(!yb(e))throw Error("Invalid type name: "+e);Vb(a,"(");N(a,"Bad nodetype");var f=r(a.a).charAt(0),g=null;if('"'==f||"'"==f)g=Xb(a);N(a,"Bad nodetype");Wb(a);e=new C(e,g)}else if(e=t(a.a),f=e.indexOf(":"),-1==f)e=new Ab(e);else{g=e.substring(0,f);if("*"==g)var h="*";else if(h=a.b(g),!h)throw Error("Namespace prefix not declared: "+g);e=e.substr(f+1);e=new Ab(e,h)}else throw Error("Bad token: "+t(a.a));a=new Jb($b(a),d.B);return c|| new L(d,e,a,"//"==b)}function $b(a){for(var b=[];"["==r(a.a);){t(a.a);N(a,"Missing predicate expression.");var c=Tb(a);b.push(c);N(a,"Unclosed predicate expression.");Vb(a,"]")}return b}function Ub(a){if("-"==r(a.a))return t(a.a),new Qb(Ub(a));var b=Yb(a);if("|"!=r(a.a))a=b;else{for(b=[b];"|"==t(a.a);)N(a,"Missing next union location path."),b.push(Yb(a));a.a.a--;a=new Rb(b)}return a};function ac(a){switch(a.nodeType){case 1:return ma(dc,a);case 9:return ac(a.documentElement);case 11:case 10:case 6:case 12:return ec;default:return a.parentNode?ac(a.parentNode):ec}}function ec(){return null}function dc(a,b){if(a.prefix==b)return a.namespaceURI||"http://www.w3.org/1999/xhtml";var c=a.getAttributeNode("xmlns:"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?dc(a.parentNode,b):null};function fc(a,b){if(!a.length)throw Error("Empty XPath expression.");a=Oa(a);if(Ra(a))throw Error("Invalid XPath expression.");b?ha(b)||(b=la(b.lookupNamespaceURI,b)):b=function(){return null};var c=Tb(new Sb(a,b));if(!Ra(a))throw Error("Bad token: "+t(a));this.evaluate=function(d,e){d=c.a(new oa(d));return new O(d,e)}} -function O(a,b){if(0==b)if(a instanceof B)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof B))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof B?ib(a):""+a;break;case 1:this.numberValue=a instanceof B?+ib(a):+a;break;case 3:this.booleanValue=a instanceof B?0=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}O.ANY_TYPE=0; +function O(a,b){if(0==b)if(a instanceof B)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof B))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof B?ib(a):""+a;break;case 1:this.numberValue=a instanceof B?+ib(a):+a;break;case 3:this.booleanValue=a instanceof B?0=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}O.ANY_TYPE=0; O.NUMBER_TYPE=1;O.STRING_TYPE=2;O.BOOLEAN_TYPE=3;O.UNORDERED_NODE_ITERATOR_TYPE=4;O.ORDERED_NODE_ITERATOR_TYPE=5;O.UNORDERED_NODE_SNAPSHOT_TYPE=6;O.ORDERED_NODE_SNAPSHOT_TYPE=7;O.ANY_UNORDERED_NODE_TYPE=8;O.FIRST_ORDERED_NODE_TYPE=9;function gc(a){this.lookupNamespaceURI=ac(a)} function hc(a,b){a=a||ba;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=O,c.evaluate=function(d,e,f,g){return(new fc(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new fc(d,e)},c.createNSResolver=function(d){return new gc(d)}}da("wgxpath.install",hc);da("wgxpath.install",hc);var ic=window;function P(a,b){this.code=a;this.a=R[a]||jc;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}k(P,Error);var jc="unknown error",R={15:"element not selectable",11:"element not visible"};R[31]=jc;R[30]=jc;R[24]="invalid cookie domain";R[29]="invalid element coordinates";R[12]="invalid element state"; R[32]="invalid selector";R[51]="invalid selector";R[52]="invalid selector";R[17]="javascript error";R[405]="unsupported operation";R[34]="move target out of bounds";R[27]="no such alert";R[7]="no such element";R[8]="no such frame";R[23]="no such window";R[28]="script timeout";R[33]="session not created";R[10]="stale element reference";R[21]="timeout";R[25]="unable to set cookie";R[26]="unexpected alert open";R[13]=jc;R[9]="unknown command";var kc=Ja(),lc=Ma()||q("iPod"),mc=q("iPad"),nc=q("Android")&&!(Ka()||Ja()||q("Opera")||q("Silk")),oc=Ka(),pc=q("Safari")&&!(Ka()||q("Coast")||q("Opera")||q("Edge")||q("Edg/")||q("OPR")||Ja()||q("Silk")||q("Android"))&&!(Ma()||q("iPad")||q("iPod"));function qc(a){return(a=a.exec(Da))?a[1]:""}(function(){if(kc)return qc(/Firefox\/([0-9.]+)/);if(oc)return Ma()||q("iPad")||q("iPod")?qc(/CriOS\/([0-9.]+)/):qc(/Chrome\/([0-9.]+)/);if(pc&&!(Ma()||q("iPad")||q("iPod")))return qc(/Version\/([0-9.]+)/);if(lc||mc){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Da);if(a)return a[1]+"."+a[2]}else if(nc)return(a=qc(/Android\s+([0-9.]+)/))?a:qc(/Version\/([0-9.]+)/);return""})();var rc=ba.JSON.stringify;function sc(a){function b(c,d){switch(ea(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return sa(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new P(17,"Recursive object cannot be transferred");if(null!==c&&"nodeType"in c&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=tc(c);return e}if(null!==c&&"document"in c)return e={},e.WINDOW=tc(c),e;d.push(c);if(fa(c))return sa(c,function(f){return b(f,d)});c=Ga(c,function(f, g){return"number"==typeof g||ca(g)});return Ha(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function uc(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.I=na());b.I||(b.I=na());return b}function tc(a){var b=uc(a.ownerDocument),c=Ia(b,function(d){return d==a});c||(c=":wdc:"+b.I++,b[c]=a);return c} -function vc(a,b){a=decodeURIComponent(a);b=b||document;var c=uc(b);if(!(null!==c&&a in c))throw new P(10,"Element does not exist in cache");var d=c[a];if(null!==d&&"setInterval"in d){if(d.closed)throw delete c[a],new P(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new P(10,"Element is no longer attached to the DOM");};var wc={C:function(a){return!(!a.querySelectorAll||!a.querySelector)},o:function(a,b){if(!a)throw new P(32,"No class name specified");a=Ca(a);if(-1!==a.indexOf(" "))throw new P(32,"Compound class names not permitted");if(wc.C(b))try{return b.querySelector("."+a.replace(/\./g,"\\."))||null}catch(c){throw new P(32,"An invalid or illegal class name was specified");}a=x(v(b),"*",a,b);return a.length?a[0]:null},j:function(a,b){if(!a)throw new P(32,"No class name specified");a=Ca(a);if(-1!==a.indexOf(" "))throw new P(32, -"Compound class names not permitted");if(wc.C(b))try{return b.querySelectorAll("."+a.replace(/\./g,"\\."))}catch(c){throw new P(32,"An invalid or illegal class name was specified");}return x(v(b),"*",a,b)}};var xc={o:function(a,b){ha(b.querySelector);if(!a)throw new P(32,"No selector specified");a=Ca(a);try{var c=b.querySelector(a)}catch(d){throw new P(32,"An invalid or illegal selector was specified");}return c&&1==c.nodeType?c:null},j:function(a,b){ha(b.querySelectorAll);if(!a)throw new P(32,"No selector specified");a=Ca(a);try{return b.querySelectorAll(a)}catch(c){throw new P(32,"An invalid or illegal selector was specified");}}};var yc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400", +function vc(a,b){a=decodeURIComponent(a);b=b||document;var c=uc(b);if(!(null!==c&&a in c))throw new P(10,"Element does not exist in cache");var d=c[a];if(null!==d&&"setInterval"in d){if(d.closed)throw delete c[a],new P(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new P(10,"Element is no longer attached to the DOM");};var wc={D:function(a){return!(!a.querySelectorAll||!a.querySelector)},s:function(a,b){if(!a)throw new P(32,"No class name specified");a=Ca(a);if(-1!==a.indexOf(" "))throw new P(32,"Compound class names not permitted");if(wc.D(b))try{return b.querySelector("."+a.replace(/\./g,"\\."))||null}catch(c){throw new P(32,"An invalid or illegal class name was specified");}a=x(v(b),"*",a,b);return a.length?a[0]:null},j:function(a,b){if(!a)throw new P(32,"No class name specified");a=Ca(a);if(-1!==a.indexOf(" "))throw new P(32, +"Compound class names not permitted");if(wc.D(b))try{return b.querySelectorAll("."+a.replace(/\./g,"\\."))}catch(c){throw new P(32,"An invalid or illegal class name was specified");}return x(v(b),"*",a,b)}};var xc={s:function(a,b){ha(b.querySelector);if(!a)throw new P(32,"No selector specified");a=Ca(a);try{var c=b.querySelector(a)}catch(d){throw new P(32,"An invalid or illegal selector was specified");}return c&&1==c.nodeType?c:null},j:function(a,b){ha(b.querySelectorAll);if(!a)throw new P(32,"No selector specified");a=Ca(a);try{return b.querySelectorAll(a)}catch(c){throw new P(32,"An invalid or illegal selector was specified");}}};var yc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400", darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc", ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a", lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1", moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57", -seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var zc="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),Ac=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Bc=/^#(?:[0-9a-f]{3}){1,2}$/i,Cc=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,Dc=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function Ec(a,b){b=b.toLowerCase();return"style"==b?Fc(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var Gc=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function Fc(a){var b=[];p(a.split(Gc),function(c){var d=c.indexOf(":");0=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(Dc))if(b=Number(d[1]), c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=yc[b.toLowerCase()];if(!c&&(c="#"==b.charAt(0)?b:"#"+b,4==c.length&&(c=c.replace(Ac,"#$1$1$2$2$3$3")),!Bc.test(c))){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?"rgba("+b.join(", ")+")":a}return a} function Kc(a,b){var c=a.currentStyle||a.style,d=c[b];void 0===d&&ha(c.getPropertyValue)&&(d=c.getPropertyValue(b));return"inherit"!=d?void 0!==d?d:null:(a=Jc(a))?Kc(a,b):null} -function Lc(a,b,c){function d(g){var h=V(g);return 0=z.a+z.width;z=e.c>=z.b+z.height;if(Q&&"hidden"==l.x||z&&"hidden"==l.y)return W;if(Q&&"visible"!=l.x||z&&"visible"!=l.y){if(u&&(l=d(a),e.f>=g.scrollWidth-l.x||e.a>=g.scrollHeight-l.y))return W;e=Mc(a);return e==W?W:"scroll"}}}return"none"} +function Mc(a){function b(n){function y(ob){if(ob==g)return!0;var bc=U(ob,"display");return 0==bc.lastIndexOf("inline",0)||"contents"==bc||"absolute"==cc&&"static"==U(ob,"position")?!1:!0}var cc=U(n,"position");if("fixed"==cc)return u=!0,n==g?null:g;for(n=Jc(n);n&&!y(n);)n=Jc(n);return n}function c(n){var y=n;if("visible"==p)if(n==g&&h)y=h;else if(n==h)return{x:"visible",y:"visible"};y={x:U(y,"overflow-x"),y:U(y,"overflow-y")};n==g&&(y.x="visible"==y.x?"auto":y.x,y.y="visible"==y.y?"auto":y.y);return y} +function d(n){if(n==g){var y=(new Ua(f)).a;n=y.scrollingElement?y.scrollingElement:y.body||y.documentElement;y=y.parentWindow||y.defaultView;n=new Sa(y.pageXOffset||n.scrollLeft,y.pageYOffset||n.scrollTop)}else n=new Sa(n.scrollLeft,n.scrollTop);return n}var e=Qc(a),f=w(a),g=f.documentElement,h=f.body,p=U(g,"overflow"),u;for(a=b(a);a;a=b(a)){var m=c(a);if("visible"!=m.x||"visible"!=m.y){var z=V(a);if(0==z.width||0==z.height)return W;var Q=e.a=z.a+z.width;z=e.c>=z.b+z.height;if(Q&&"hidden"==m.x||z&&"hidden"==m.y)return W;if(Q&&"visible"!=m.x||z&&"visible"!=m.y){if(u&&(m=d(a),e.f>=g.scrollWidth-m.x||e.a>=g.scrollHeight-m.y))return W;e=Mc(a);return e==W?W:"scroll"}}}return"none"} function V(a){var b=Nc(a);if(b)return b.rect;if(S(a,"HTML"))return a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new Ta(a.clientWidth,a.clientHeight),new T(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new T(0,0,0,0)}return new T(c.left,c.top,c.right-c.left,c.bottom-c.top)} -function Nc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=xc.o('*[usemap="#'+c.name+'"]',w(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Rc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}} +function Nc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=xc.s('*[usemap="#'+c.name+'"]',w(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Rc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}} function Rc(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if("rect"==b&&4==a.length){b=a[0];var c=a[1];return new T(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new T(a[0]-b,a[1]-b,2*b,2*b);if("poly"==b&&2=~*^$|%&@`{}\-\/\[\]\(\)])/g, -"\\$1")}};var X={},ad={};X.O=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return wa(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.L=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return ra(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.o=function(a,b){return X.O(a,b,!1)};X.j=function(a,b){return X.L(a,b,!1)};ad.o=function(a,b){return X.O(a,b,!0)}; -ad.j=function(a,b){return X.L(a,b,!0)};var Y={F:function(a,b){return function(c){var d=Y.u(a);d=V(d);c=V(c);return b.call(null,d,c)}},S:function(a){return Y.F(a,function(b,c){return c.b+c.height=~*^$|%&@`{}\-\/\[\]\(\)])/g, +"\\$1")}};var X={},ad={};X.O=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return wa(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.L=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return ra(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.s=function(a,b){return X.O(a,b,!1)};X.j=function(a,b){return X.L(a,b,!1)};ad.s=function(a,b){return X.O(a,b,!0)}; +ad.j=function(a,b){return X.L(a,b,!0)};var Y={v:function(a,b){return function(c){var d=Y.m(a);d=V(d);c=V(c);return b.call(null,d,c)}},S:function(a){return Y.v(a,function(b,c){return c.b+c.height<=b.b})},T:function(a){return Y.v(a,function(b,c){return c.b>=b.b+b.height})},W:function(a){return Y.v(a,function(b,c){return c.a+c.width<=b.a})},ba:function(a){return Y.v(a,function(b,c){return c.a>=b.a+b.width})},da:function(a){return Y.v(a,function(b,c){return c.ab.a&&c.b+c.height<=b.b})},ea:function(a){return Y.v(a, +function(b,c){return c.ab.a&&c.b>=b.b+b.height})},fa:function(a){return Y.v(a,function(b,c){return c.bb.b&&c.a+c.width<=b.a})},ga:function(a){return Y.v(a,function(b,c){return c.bb.b&&c.a>=b.a+b.width})},X:function(a,b){var c;b?c=b:"number"==typeof a.distance&&(c=a.distance);c||(c=50);return function(d){var e=Y.m(a);if(e===d)return!1;e=V(e);d=V(d);e=new T(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&& +d.a<=e.a+e.width&&e.b<=d.b+d.height&&d.b<=e.b+e.height}},m:function(a){if(ia(a)&&1==a.nodeType)return a;if(ha(a))return Y.m(a.call(null));if(ia(a)){var b=bd(a);if(!b)throw new P(7,"No element has been found by "+JSON.stringify(a));return b}throw new P(61,"Selector is of wrong type: "+JSON.stringify(a));}};Y.R={above:Y.S,below:Y.T,left:Y.W,near:Y.X,right:Y.ba,straightAbove:Y.da,straightBelow:Y.ea,straightLeft:Y.fa,straightRight:Y.ga}; +Y.P={above:Y.m,below:Y.m,left:Y.m,near:Y.m,right:Y.m,straightAbove:Y.m,straightBelow:Y.m,straightLeft:Y.m,straightRight:Y.m};Y.V=function(a,b){var c=[];l(a,function(e){e&&va(b,function(f){var g=f.kind,h=Y.R[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Y.P[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Y.ca(a,c):c:c}; +Y.ca=function(a,b){function c(f){f=V(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=V(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;za(b,function(f,g){return c(f)-c(g)});return b};Y.s=function(a,b){a=Y.j(a,b);return 0==a.length?null:a[0]}; +Y.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));if(!fa(a.filters))throw new P(61,"Targets should be an array: "+JSON.stringify(a));if(S(a.root))b=[a.root];else a:{var c=a.root,d=cd(c);if(d){var e=dd[d];if(e&&ha(e.j)){b=e.j(c[d],b||ic.document);break a}}throw new P(61,"Unsupported locator strategy: "+d);}return 0==b.length?[]:Y.V(b,a.filters)};var ed={s:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var Z={};Z.J=function(){var a={ia:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}(); +Z.u=function(a,b,c){var d=w(a);if(!d.documentElement)return null;nc&&hc(d?d.parentWindow||d.defaultView:window);try{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):Z.J,f={},g=d.getElementsByTagName("*"),h=0;hb?null:"string"===typeof a?a.charAt(b):a[b]}function xa(a){return Array.prototype.concat.apply([],arguments)}function ya(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function za(a,b){a.sort(b||Aa)}function Aa(a,b){return a>b?1:a]=|\s+|./g,Qa=/^\s/;function r(a,b){return a.b[a.a+(b||0)]}function t(a){return a.b[a.a++]}function Ra(a){return a.b.length<=a.a};function Sa(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}Sa.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Sa.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Sa.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function Ta(a,b){this.width=a;this.height=b}Ta.prototype.aspectRatio=function(){return this.width/this.height};Ta.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};Ta.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Ta.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function v(a){return a?new Ua(w(a)):pa||(pa=new Ua)}function Va(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}function Wa(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a} function Xa(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?Ya(a,b):!c&&Wa(e,b)?-1*Za(a,b):!d&&Wa(f,a)?Za(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=w(a);c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b); @@ -37,81 +37,83 @@ Ua.prototype.getElementsByTagName=function(a,b){return(b||this.a).getElementsByT function x(a,b,c,d){a=d||a.a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(e||c))c=a.querySelectorAll(e+(c?"."+c:""));else if(c&&a.getElementsByClassName)if(b=a.getElementsByClassName(c),e){a={};for(var f=d=0,g;g=b[f];f++)e==g.nodeName&&(a[d++]=g);a.length=d;c=a}else c=b;else if(b=a.getElementsByTagName(e||"*"),c){a={};for(f=d=0;g=b[f];f++){e=g.className;var h;if(h="function"==typeof e.split)h=0<=qa(e.split(/\s+/),c);h&&(a[d++]=g)}a.length=d;c=a}else c=b;return c} ;function A(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?"":b);if("string"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;c=0;var d=[];for(b="";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return b} function ab(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function bb(a,b,c,d,e){return cb.call(null,a,b,ca(c)?c:null,ca(d)?d:null,e||new B)} -function cb(a,b,c,d,e){b.getElementsByName&&d&&"name"==c?(b=b.getElementsByName(d),p(b,function(f){a.a(f)&&e.add(f)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),p(b,function(f){f.className==d&&a.a(f)&&e.add(f)})):a instanceof C?db(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.f()),p(b,function(f){ab(f,c,d)&&e.add(f)}));return e}function db(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)ab(b,c,d)&&a.a(b)&&e.add(b),db(a,b,c,d,e)};function B(){this.b=this.a=null;this.m=0}function eb(a){this.f=a;this.a=this.b=null}function fb(a,b){if(!a.a)return b;if(!b.a)return a;var c=a.a;b=b.a;for(var d=null,e,f=0;c&&b;)c.f==b.f?(e=c,c=c.a,b=b.a):0",4,2,function(a,b,c){return qb(function(d,e){return d>e},a,b,c)});J("<=",4,2,function(a,b,c){return qb(function(d,e){return d<=e},a,b,c)});J(">=",4,2,function(a,b,c){return qb(function(d,e){return d>=e},a,b,c)});var pb=J("=",3,2,function(a,b,c){return qb(function(d,e){return d==e},a,b,c,!0)});J("!=",3,2,function(a,b,c){return qb(function(d,e){return d!=e},a,b,c,!0)});J("and",2,2,function(a,b,c){return mb(a,c)&&mb(b,c)});J("or",1,2,function(a,b,c){return mb(a,c)||mb(b,c)});function tb(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");F.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}k(tb,F);tb.prototype.a=function(a){a=this.c.a(a);return ub(this.h,a)};tb.prototype.toString=function(){var a="Filter:"+G(this.c);return a+=G(this.h)};function vb(a,b){if(b.lengtha.H)throw Error("Function "+a.l+" expects at most "+a.H+" arguments, "+b.length+" given");a.$&&p(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.l+" is not of type Nodeset: "+c);});F.call(this,a.i);this.D=a;this.c=b;kb(this,a.g||ua(b,function(c){return c.g}));lb(this,a.Z&&!b.length||a.Y&&!!b.length||ua(b,function(c){return c.b}))} -k(vb,F);vb.prototype.a=function(a){return this.D.s.apply(null,xa(a,this.c))};vb.prototype.toString=function(){var a="Function: "+this.D;if(this.c.length){var b=ta(this.c,function(c,d){return c+G(d)},"Arguments:");a+=G(b)}return a};function wb(a,b,c,d,e,f,g,h){this.l=a;this.i=b;this.g=c;this.Z=d;this.Y=!1;this.s=e;this.M=f;this.H=void 0!==g?g:f;this.$=!!h}wb.prototype.toString=function(){return this.l};var xb={}; -function K(a,b,c,d,e,f,g,h){if(xb.hasOwnProperty(a))throw Error("Function already created: "+a+".");xb[a]=new wb(a,b,c,d,e,f,g,h)}K("boolean",2,!1,!1,function(a,b){return mb(b,a)},1);K("ceiling",1,!1,!1,function(a,b){return Math.ceil(H(b,a))},1);K("concat",3,!1,!1,function(a,b){return ta(ya(arguments,1),function(c,d){return c+I(d,a)},"")},2,null);K("contains",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);K("count",1,!1,!1,function(a,b){return b.a(a).m},1,1,!0); -K("false",2,!1,!1,function(){return!1},0);K("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);K("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=I(b,a).split(/\s+/);var e=[];p(a,function(g){g=d.getElementById(g);!g||0<=qa(e,g)||e.push(g)});e.sort(Xa);var f=new B;p(e,function(g){f.add(g)});return f},1);K("lang",2,!1,!1,function(){return!1},1);K("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0); +J(">",4,2,function(a,b,c){return qb(function(d,e){return d>e},a,b,c)});J("<=",4,2,function(a,b,c){return qb(function(d,e){return d<=e},a,b,c)});J(">=",4,2,function(a,b,c){return qb(function(d,e){return d>=e},a,b,c)});var pb=J("=",3,2,function(a,b,c){return qb(function(d,e){return d==e},a,b,c,!0)});J("!=",3,2,function(a,b,c){return qb(function(d,e){return d!=e},a,b,c,!0)});J("and",2,2,function(a,b,c){return mb(a,c)&&mb(b,c)});J("or",1,2,function(a,b,c){return mb(a,c)||mb(b,c)});function tb(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");F.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}k(tb,F);tb.prototype.a=function(a){a=this.c.a(a);return ub(this.h,a)};tb.prototype.toString=function(){var a="Filter:"+G(this.c);return a+=G(this.h)};function vb(a,b){if(b.lengtha.H)throw Error("Function "+a.l+" expects at most "+a.H+" arguments, "+b.length+" given");a.$&&l(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.l+" is not of type Nodeset: "+c);});F.call(this,a.i);this.F=a;this.c=b;kb(this,a.g||ua(b,function(c){return c.g}));lb(this,a.Z&&!b.length||a.Y&&!!b.length||ua(b,function(c){return c.b}))} +k(vb,F);vb.prototype.a=function(a){return this.F.u.apply(null,xa(a,this.c))};vb.prototype.toString=function(){var a="Function: "+this.F;if(this.c.length){var b=ta(this.c,function(c,d){return c+G(d)},"Arguments:");a+=G(b)}return a};function wb(a,b,c,d,e,f,g,h){this.l=a;this.i=b;this.g=c;this.Z=d;this.Y=!1;this.u=e;this.M=f;this.H=void 0!==g?g:f;this.$=!!h}wb.prototype.toString=function(){return this.l};var xb={}; +function K(a,b,c,d,e,f,g,h){if(xb.hasOwnProperty(a))throw Error("Function already created: "+a+".");xb[a]=new wb(a,b,c,d,e,f,g,h)}K("boolean",2,!1,!1,function(a,b){return mb(b,a)},1);K("ceiling",1,!1,!1,function(a,b){return Math.ceil(H(b,a))},1);K("concat",3,!1,!1,function(a,b){return ta(ya(arguments,1),function(c,d){return c+I(d,a)},"")},2,null);K("contains",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);K("count",1,!1,!1,function(a,b){return b.a(a).o},1,1,!0); +K("false",2,!1,!1,function(){return!1},0);K("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);K("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=I(b,a).split(/\s+/);var e=[];l(a,function(g){g=d.getElementById(g);!g||0<=qa(e,g)||e.push(g)});e.sort(Xa);var f=new B;l(e,function(g){f.add(g)});return f},1);K("lang",2,!1,!1,function(){return!1},1);K("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0); K("local-name",3,!1,!0,function(a,b){return(a=b?hb(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():""},0,1,!0);K("name",3,!1,!0,function(a,b){return(a=b?hb(b.a(a)):a.a)?a.nodeName.toLowerCase():""},0,1,!0);K("namespace-uri",3,!0,!1,function(){return""},0,1,!0);K("normalize-space",3,!1,!0,function(a,b){return(b?I(b,a):A(a.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);K("not",2,!1,!1,function(a,b){return!mb(b,a)},1);K("number",1,!1,!0,function(a,b){return b?H(b,a):+A(a.a)},0,1); K("position",1,!0,!1,function(a){return a.b},0);K("round",1,!1,!1,function(a,b){return Math.round(H(b,a))},1);K("starts-with",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return 0==b.lastIndexOf(a,0)},2);K("string",3,!1,!0,function(a,b){return b?I(b,a):A(a.a)},0,1);K("string-length",1,!1,!0,function(a,b){return(b?I(b,a):A(a.a)).length},0,1); K("substring",3,!1,!1,function(a,b,c,d){c=H(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?H(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=I(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);K("substring-after",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2); K("substring-before",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);K("sum",1,!1,!1,function(a,b){a=D(b.a(a));b=0;for(var c=E(a);c;c=E(a))b+=+A(c);return b},1,1,!0);K("translate",3,!1,!1,function(a,b,c,d){b=I(b,a);c=I(c,a);var e=I(d,a);a={};for(d=0;da.length)throw Error("Unclosed literal string");return new zb(a)} function Yb(a){var b=[];if(Gb(r(a.a))){var c=t(a.a);var d=r(a.a);if("/"==c&&(Ra(a.a)||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new Eb;d=new Eb;N(a,"Missing next location step.");c=Zb(a,c);b.push(c)}else{a:{c=r(a.a);d=c.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":t(a.a);c=Tb(a);N(a,'unclosed "("');Vb(a,")");break;case '"':case "'":c=Xb(a);break;default:if(isNaN(+c))if(!yb(c)&&/(?![0-9])[\w]/.test(d)&&"("==r(a.a,1)){c=t(a.a); c=xb[c]||null;t(a.a);for(d=[];")"!=r(a.a);){N(a,"Missing function argument list.");d.push(Tb(a));if(","!=r(a.a))break;t(a.a)}N(a,"Unclosed function argument list.");Wb(a);c=new vb(c,d)}else{c=null;break a}else c=new Bb(+t(a.a))}"["==r(a.a)&&(d=new Jb($b(a)),c=new tb(c,d))}if(c)if(Gb(r(a.a)))d=c;else return c;else c=Zb(a,"/"),d=new Fb,b.push(c)}for(;Gb(r(a.a));)c=t(a.a),N(a,"Missing next location step."),c=Zb(a,c),b.push(c);return new Cb(d,b)} function Zb(a,b){if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==r(a.a)){var c=new L(Pb,new C("node"));t(a.a);return c}if(".."==r(a.a))return c=new L(Ob,new C("node")),t(a.a),c;if("@"==r(a.a)){var d=Db;t(a.a);N(a,"Missing attribute name")}else if("::"==r(a.a,1)){if(!/(?![0-9])[\w]/.test(r(a.a).charAt(0)))throw Error("Bad token: "+t(a.a));var e=t(a.a);d=Nb[e]||null;if(!d)throw Error("No axis with name: "+e);t(a.a);N(a,"Missing node name")}else d=Kb;e=r(a.a);if(/(?![0-9])[\w\*]/.test(e.charAt(0)))if("("== -r(a.a,1)){if(!yb(e))throw Error("Invalid node type: "+e);e=t(a.a);if(!yb(e))throw Error("Invalid type name: "+e);Vb(a,"(");N(a,"Bad nodetype");var f=r(a.a).charAt(0),g=null;if('"'==f||"'"==f)g=Xb(a);N(a,"Bad nodetype");Wb(a);e=new C(e,g)}else if(e=t(a.a),f=e.indexOf(":"),-1==f)e=new Ab(e);else{g=e.substring(0,f);if("*"==g)var h="*";else if(h=a.b(g),!h)throw Error("Namespace prefix not declared: "+g);e=e.substr(f+1);e=new Ab(e,h)}else throw Error("Bad token: "+t(a.a));a=new Jb($b(a),d.A);return c|| +r(a.a,1)){if(!yb(e))throw Error("Invalid node type: "+e);e=t(a.a);if(!yb(e))throw Error("Invalid type name: "+e);Vb(a,"(");N(a,"Bad nodetype");var f=r(a.a).charAt(0),g=null;if('"'==f||"'"==f)g=Xb(a);N(a,"Bad nodetype");Wb(a);e=new C(e,g)}else if(e=t(a.a),f=e.indexOf(":"),-1==f)e=new Ab(e);else{g=e.substring(0,f);if("*"==g)var h="*";else if(h=a.b(g),!h)throw Error("Namespace prefix not declared: "+g);e=e.substr(f+1);e=new Ab(e,h)}else throw Error("Bad token: "+t(a.a));a=new Jb($b(a),d.B);return c|| new L(d,e,a,"//"==b)}function $b(a){for(var b=[];"["==r(a.a);){t(a.a);N(a,"Missing predicate expression.");var c=Tb(a);b.push(c);N(a,"Unclosed predicate expression.");Vb(a,"]")}return b}function Ub(a){if("-"==r(a.a))return t(a.a),new Qb(Ub(a));var b=Yb(a);if("|"!=r(a.a))a=b;else{for(b=[b];"|"==t(a.a);)N(a,"Missing next union location path."),b.push(Yb(a));a.a.a--;a=new Rb(b)}return a};function ac(a){switch(a.nodeType){case 1:return ma(dc,a);case 9:return ac(a.documentElement);case 11:case 10:case 6:case 12:return ec;default:return a.parentNode?ac(a.parentNode):ec}}function ec(){return null}function dc(a,b){if(a.prefix==b)return a.namespaceURI||"http://www.w3.org/1999/xhtml";var c=a.getAttributeNode("xmlns:"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?dc(a.parentNode,b):null};function fc(a,b){if(!a.length)throw Error("Empty XPath expression.");a=Oa(a);if(Ra(a))throw Error("Invalid XPath expression.");b?ha(b)||(b=la(b.lookupNamespaceURI,b)):b=function(){return null};var c=Tb(new Sb(a,b));if(!Ra(a))throw Error("Bad token: "+t(a));this.evaluate=function(d,e){d=c.a(new oa(d));return new O(d,e)}} -function O(a,b){if(0==b)if(a instanceof B)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof B))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof B?ib(a):""+a;break;case 1:this.numberValue=a instanceof B?+ib(a):+a;break;case 3:this.booleanValue=a instanceof B?0=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}O.ANY_TYPE=0; +function O(a,b){if(0==b)if(a instanceof B)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof B))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof B?ib(a):""+a;break;case 1:this.numberValue=a instanceof B?+ib(a):+a;break;case 3:this.booleanValue=a instanceof B?0=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}O.ANY_TYPE=0; O.NUMBER_TYPE=1;O.STRING_TYPE=2;O.BOOLEAN_TYPE=3;O.UNORDERED_NODE_ITERATOR_TYPE=4;O.ORDERED_NODE_ITERATOR_TYPE=5;O.UNORDERED_NODE_SNAPSHOT_TYPE=6;O.ORDERED_NODE_SNAPSHOT_TYPE=7;O.ANY_UNORDERED_NODE_TYPE=8;O.FIRST_ORDERED_NODE_TYPE=9;function gc(a){this.lookupNamespaceURI=ac(a)} function hc(a,b){a=a||ba;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=O,c.evaluate=function(d,e,f,g){return(new fc(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new fc(d,e)},c.createNSResolver=function(d){return new gc(d)}}da("wgxpath.install",hc);da("wgxpath.install",hc);var ic=window;function P(a,b){this.code=a;this.a=R[a]||jc;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}k(P,Error);var jc="unknown error",R={15:"element not selectable",11:"element not visible"};R[31]=jc;R[30]=jc;R[24]="invalid cookie domain";R[29]="invalid element coordinates";R[12]="invalid element state"; R[32]="invalid selector";R[51]="invalid selector";R[52]="invalid selector";R[17]="javascript error";R[405]="unsupported operation";R[34]="move target out of bounds";R[27]="no such alert";R[7]="no such element";R[8]="no such frame";R[23]="no such window";R[28]="script timeout";R[33]="session not created";R[10]="stale element reference";R[21]="timeout";R[25]="unable to set cookie";R[26]="unexpected alert open";R[13]=jc;R[9]="unknown command";var kc=Ja(),lc=Ma()||q("iPod"),mc=q("iPad"),nc=q("Android")&&!(Ka()||Ja()||q("Opera")||q("Silk")),oc=Ka(),pc=q("Safari")&&!(Ka()||q("Coast")||q("Opera")||q("Edge")||q("Edg/")||q("OPR")||Ja()||q("Silk")||q("Android"))&&!(Ma()||q("iPad")||q("iPod"));function qc(a){return(a=a.exec(Da))?a[1]:""}(function(){if(kc)return qc(/Firefox\/([0-9.]+)/);if(oc)return Ma()||q("iPad")||q("iPod")?qc(/CriOS\/([0-9.]+)/):qc(/Chrome\/([0-9.]+)/);if(pc&&!(Ma()||q("iPad")||q("iPod")))return qc(/Version\/([0-9.]+)/);if(lc||mc){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Da);if(a)return a[1]+"."+a[2]}else if(nc)return(a=qc(/Android\s+([0-9.]+)/))?a:qc(/Version\/([0-9.]+)/);return""})();var rc=ba.JSON.stringify;function sc(a){function b(c,d){switch(ea(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return sa(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new P(17,"Recursive object cannot be transferred");if(null!==c&&"nodeType"in c&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=tc(c);return e}if(null!==c&&"document"in c)return e={},e.WINDOW=tc(c),e;d.push(c);if(fa(c))return sa(c,function(f){return b(f,d)});c=Ga(c,function(f, g){return"number"==typeof g||ca(g)});return Ha(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function uc(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.I=na());b.I||(b.I=na());return b}function tc(a){var b=uc(a.ownerDocument),c=Ia(b,function(d){return d==a});c||(c=":wdc:"+b.I++,b[c]=a);return c} -function vc(a,b){a=decodeURIComponent(a);b=b||document;var c=uc(b);if(!(null!==c&&a in c))throw new P(10,"Element does not exist in cache");var d=c[a];if(null!==d&&"setInterval"in d){if(d.closed)throw delete c[a],new P(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new P(10,"Element is no longer attached to the DOM");};var wc={C:function(a){return!(!a.querySelectorAll||!a.querySelector)},o:function(a,b){if(!a)throw new P(32,"No class name specified");a=Ca(a);if(-1!==a.indexOf(" "))throw new P(32,"Compound class names not permitted");if(wc.C(b))try{return b.querySelector("."+a.replace(/\./g,"\\."))||null}catch(c){throw new P(32,"An invalid or illegal class name was specified");}a=x(v(b),"*",a,b);return a.length?a[0]:null},j:function(a,b){if(!a)throw new P(32,"No class name specified");a=Ca(a);if(-1!==a.indexOf(" "))throw new P(32, -"Compound class names not permitted");if(wc.C(b))try{return b.querySelectorAll("."+a.replace(/\./g,"\\."))}catch(c){throw new P(32,"An invalid or illegal class name was specified");}return x(v(b),"*",a,b)}};var xc={o:function(a,b){ha(b.querySelector);if(!a)throw new P(32,"No selector specified");a=Ca(a);try{var c=b.querySelector(a)}catch(d){throw new P(32,"An invalid or illegal selector was specified");}return c&&1==c.nodeType?c:null},j:function(a,b){ha(b.querySelectorAll);if(!a)throw new P(32,"No selector specified");a=Ca(a);try{return b.querySelectorAll(a)}catch(c){throw new P(32,"An invalid or illegal selector was specified");}}};var yc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400", +function vc(a,b){a=decodeURIComponent(a);b=b||document;var c=uc(b);if(!(null!==c&&a in c))throw new P(10,"Element does not exist in cache");var d=c[a];if(null!==d&&"setInterval"in d){if(d.closed)throw delete c[a],new P(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new P(10,"Element is no longer attached to the DOM");};var wc={D:function(a){return!(!a.querySelectorAll||!a.querySelector)},s:function(a,b){if(!a)throw new P(32,"No class name specified");a=Ca(a);if(-1!==a.indexOf(" "))throw new P(32,"Compound class names not permitted");if(wc.D(b))try{return b.querySelector("."+a.replace(/\./g,"\\."))||null}catch(c){throw new P(32,"An invalid or illegal class name was specified");}a=x(v(b),"*",a,b);return a.length?a[0]:null},j:function(a,b){if(!a)throw new P(32,"No class name specified");a=Ca(a);if(-1!==a.indexOf(" "))throw new P(32, +"Compound class names not permitted");if(wc.D(b))try{return b.querySelectorAll("."+a.replace(/\./g,"\\."))}catch(c){throw new P(32,"An invalid or illegal class name was specified");}return x(v(b),"*",a,b)}};var xc={s:function(a,b){ha(b.querySelector);if(!a)throw new P(32,"No selector specified");a=Ca(a);try{var c=b.querySelector(a)}catch(d){throw new P(32,"An invalid or illegal selector was specified");}return c&&1==c.nodeType?c:null},j:function(a,b){ha(b.querySelectorAll);if(!a)throw new P(32,"No selector specified");a=Ca(a);try{return b.querySelectorAll(a)}catch(c){throw new P(32,"An invalid or illegal selector was specified");}}};var yc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400", darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc", ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a", lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1", moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57", -seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var zc="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),Ac=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Bc=/^#(?:[0-9a-f]{3}){1,2}$/i,Cc=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,Dc=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function Ec(a,b){b=b.toLowerCase();return"style"==b?Fc(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var Gc=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function Fc(a){var b=[];p(a.split(Gc),function(c){var d=c.indexOf(":");0=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(Dc))if(b=Number(d[1]), c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=yc[b.toLowerCase()];if(!c&&(c="#"==b.charAt(0)?b:"#"+b,4==c.length&&(c=c.replace(Ac,"#$1$1$2$2$3$3")),!Bc.test(c))){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?"rgba("+b.join(", ")+")":a}return a} function Kc(a,b){var c=a.currentStyle||a.style,d=c[b];void 0===d&&ha(c.getPropertyValue)&&(d=c.getPropertyValue(b));return"inherit"!=d?void 0!==d?d:null:(a=Jc(a))?Kc(a,b):null} -function Lc(a,b,c){function d(g){var h=V(g);return 0=z.a+z.width;z=e.c>=z.b+z.height;if(Q&&"hidden"==l.x||z&&"hidden"==l.y)return W;if(Q&&"visible"!=l.x||z&&"visible"!=l.y){if(u&&(l=d(a),e.f>=g.scrollWidth-l.x||e.a>=g.scrollHeight-l.y))return W;e=Mc(a);return e==W?W:"scroll"}}}return"none"} +function Mc(a){function b(n){function y(ob){if(ob==g)return!0;var bc=U(ob,"display");return 0==bc.lastIndexOf("inline",0)||"contents"==bc||"absolute"==cc&&"static"==U(ob,"position")?!1:!0}var cc=U(n,"position");if("fixed"==cc)return u=!0,n==g?null:g;for(n=Jc(n);n&&!y(n);)n=Jc(n);return n}function c(n){var y=n;if("visible"==p)if(n==g&&h)y=h;else if(n==h)return{x:"visible",y:"visible"};y={x:U(y,"overflow-x"),y:U(y,"overflow-y")};n==g&&(y.x="visible"==y.x?"auto":y.x,y.y="visible"==y.y?"auto":y.y);return y} +function d(n){if(n==g){var y=(new Ua(f)).a;n=y.scrollingElement?y.scrollingElement:y.body||y.documentElement;y=y.parentWindow||y.defaultView;n=new Sa(y.pageXOffset||n.scrollLeft,y.pageYOffset||n.scrollTop)}else n=new Sa(n.scrollLeft,n.scrollTop);return n}var e=Qc(a),f=w(a),g=f.documentElement,h=f.body,p=U(g,"overflow"),u;for(a=b(a);a;a=b(a)){var m=c(a);if("visible"!=m.x||"visible"!=m.y){var z=V(a);if(0==z.width||0==z.height)return W;var Q=e.a=z.a+z.width;z=e.c>=z.b+z.height;if(Q&&"hidden"==m.x||z&&"hidden"==m.y)return W;if(Q&&"visible"!=m.x||z&&"visible"!=m.y){if(u&&(m=d(a),e.f>=g.scrollWidth-m.x||e.a>=g.scrollHeight-m.y))return W;e=Mc(a);return e==W?W:"scroll"}}}return"none"} function V(a){var b=Nc(a);if(b)return b.rect;if(S(a,"HTML"))return a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new Ta(a.clientWidth,a.clientHeight),new T(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new T(0,0,0,0)}return new T(c.left,c.top,c.right-c.left,c.bottom-c.top)} -function Nc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=xc.o('*[usemap="#'+c.name+'"]',w(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Rc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}} +function Nc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=xc.s('*[usemap="#'+c.name+'"]',w(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Rc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}} function Rc(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if("rect"==b&&4==a.length){b=a[0];var c=a[1];return new T(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new T(a[0]-b,a[1]-b,2*b,2*b);if("poly"==b&&2=~*^$|%&@`{}\-\/\[\]\(\)])/g, -"\\$1")}};var X={},ad={};X.O=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return wa(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.L=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return ra(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.o=function(a,b){return X.O(a,b,!1)};X.j=function(a,b){return X.L(a,b,!1)};ad.o=function(a,b){return X.O(a,b,!0)}; -ad.j=function(a,b){return X.L(a,b,!0)};var Y={F:function(a,b){return function(c){var d=Y.u(a);d=V(d);c=V(c);return b.call(null,d,c)}},S:function(a){return Y.F(a,function(b,c){return c.b+c.height=~*^$|%&@`{}\-\/\[\]\(\)])/g, +"\\$1")}};var X={},ad={};X.O=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return wa(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.L=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return ra(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.s=function(a,b){return X.O(a,b,!1)};X.j=function(a,b){return X.L(a,b,!1)};ad.s=function(a,b){return X.O(a,b,!0)}; +ad.j=function(a,b){return X.L(a,b,!0)};var Y={v:function(a,b){return function(c){var d=Y.m(a);d=V(d);c=V(c);return b.call(null,d,c)}},S:function(a){return Y.v(a,function(b,c){return c.b+c.height<=b.b})},T:function(a){return Y.v(a,function(b,c){return c.b>=b.b+b.height})},W:function(a){return Y.v(a,function(b,c){return c.a+c.width<=b.a})},ba:function(a){return Y.v(a,function(b,c){return c.a>=b.a+b.width})},da:function(a){return Y.v(a,function(b,c){return c.ab.a&&c.b+c.height<=b.b})},ea:function(a){return Y.v(a, +function(b,c){return c.ab.a&&c.b>=b.b+b.height})},fa:function(a){return Y.v(a,function(b,c){return c.bb.b&&c.a+c.width<=b.a})},ga:function(a){return Y.v(a,function(b,c){return c.bb.b&&c.a>=b.a+b.width})},X:function(a,b){var c;b?c=b:"number"==typeof a.distance&&(c=a.distance);c||(c=50);return function(d){var e=Y.m(a);if(e===d)return!1;e=V(e);d=V(d);e=new T(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&& +d.a<=e.a+e.width&&e.b<=d.b+d.height&&d.b<=e.b+e.height}},m:function(a){if(ia(a)&&1==a.nodeType)return a;if(ha(a))return Y.m(a.call(null));if(ia(a)){var b;a:{if(b=bd(a)){var c=cd[b];if(c&&ha(c.s)){b=c.s(a[b],ic.document);break a}}throw new P(61,"Unsupported locator strategy: "+b);}if(!b)throw new P(7,"No element has been found by "+JSON.stringify(a));return b}throw new P(61,"Selector is of wrong type: "+JSON.stringify(a));}}; +Y.R={above:Y.S,below:Y.T,left:Y.W,near:Y.X,right:Y.ba,straightAbove:Y.da,straightBelow:Y.ea,straightLeft:Y.fa,straightRight:Y.ga};Y.P={above:Y.m,below:Y.m,left:Y.m,near:Y.m,right:Y.m,straightAbove:Y.m,straightBelow:Y.m,straightLeft:Y.m,straightRight:Y.m}; +Y.V=function(a,b){var c=[];l(a,function(e){e&&va(b,function(f){var g=f.kind,h=Y.R[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Y.P[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Y.ca(a,c):c:c}; +Y.ca=function(a,b){function c(f){f=V(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=V(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;za(b,function(f,g){return c(f)-c(g)});return b};Y.s=function(a,b){a=Y.j(a,b);return 0==a.length?null:a[0]}; +Y.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));if(!fa(a.filters))throw new P(61,"Targets should be an array: "+JSON.stringify(a));var c;S(a.root)?c=[a.root]:c=dd(a.root,b);return 0==c.length?[]:Y.V(c,a.filters)};var ed={s:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var Z={};Z.J=function(){var a={ia:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}(); +Z.u=function(a,b,c){var d=w(a);if(!d.documentElement)return null;nc&&hc(d?d.parentWindow||d.defaultView:window);try{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):Z.J,f={},g=d.getElementsByTagName("*"),h=0;hb?null:"string"===typeof a?a.charAt(b):a[b]}function xa(a){return Array.prototype.concat.apply([],arguments)}function ya(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function za(a,b){a.sort(b||Aa)}function Aa(a,b){return a>b?1:a]=|\s+|./g,Ra=/^\s/;function q(a,b){return a.b[a.a+(b||0)]}function r(a){return a.b[a.a++]}function Sa(a){return a.b.length<=a.a};function Ta(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}Ta.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Ta.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Ta.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function Ua(a,b){this.width=a;this.height=b}Ua.prototype.aspectRatio=function(){return this.width/this.height};Ua.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};Ua.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Ua.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function u(a){return a?new Va(v(a)):pa||(pa=new Va)}function Wa(a){return a?a.parentWindow||a.defaultView:window}function Xa(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}function Ya(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a} function Za(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?$a(a,b):!c&&Ya(e,b)?-1*ab(a,b):!d&&Ya(f,a)?ab(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=v(a);c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b); @@ -37,40 +37,40 @@ function cb(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parent function x(a,b,c,d){a=d||a.a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(e||c))c=a.querySelectorAll(e+(c?"."+c:""));else if(c&&a.getElementsByClassName)if(b=a.getElementsByClassName(c),e){a={};for(var f=d=0,g;g=b[f];f++)e==g.nodeName&&(a[d++]=g);a.length=d;c=a}else c=b;else if(b=a.getElementsByTagName(e||"*"),c){a={};for(f=d=0;g=b[f];f++){e=g.className;var h;if(h="function"==typeof e.split)h=0<=qa(e.split(/\s+/),c);h&&(a[d++]=g)}a.length=d;c=a}else c=b;return c} ;function z(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?"":b);if("string"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;c=0;var d=[];for(b="";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return b} function db(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function eb(a,b,c,d,e){return fb.call(null,a,b,ca(c)?c:null,ca(d)?d:null,e||new A)} -function fb(a,b,c,d,e){b.getElementsByName&&d&&"name"==c?(b=b.getElementsByName(d),n(b,function(f){a.a(f)&&e.add(f)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),n(b,function(f){f.className==d&&a.a(f)&&e.add(f)})):a instanceof B?gb(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.f()),n(b,function(f){db(f,c,d)&&e.add(f)}));return e}function gb(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)db(b,c,d)&&a.a(b)&&e.add(b),gb(a,b,c,d,e)};function A(){this.b=this.a=null;this.m=0}function hb(a){this.f=a;this.a=this.b=null}function ib(a,b){if(!a.a)return b;if(!b.a)return a;var c=a.a;b=b.a;for(var d=null,e,f=0;c&&b;)c.f==b.f?(e=c,c=c.a,b=b.a):0",4,2,function(a,b,c){return tb(function(d,e){return d>e},a,b,c)});J("<=",4,2,function(a,b,c){return tb(function(d,e){return d<=e},a,b,c)});J(">=",4,2,function(a,b,c){return tb(function(d,e){return d>=e},a,b,c)});var rb=J("=",3,2,function(a,b,c){return tb(function(d,e){return d==e},a,b,c,!0)});J("!=",3,2,function(a,b,c){return tb(function(d,e){return d!=e},a,b,c,!0)});J("and",2,2,function(a,b,c){return pb(a,c)&&pb(b,c)});J("or",1,2,function(a,b,c){return pb(a,c)||pb(b,c)});function wb(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");E.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}k(wb,E);wb.prototype.a=function(a){a=this.c.a(a);return xb(this.h,a)};wb.prototype.toString=function(){var a="Filter:"+G(this.c);return a+=G(this.h)};function yb(a,b){if(b.lengtha.H)throw Error("Function "+a.l+" expects at most "+a.H+" arguments, "+b.length+" given");a.$&&n(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.l+" is not of type Nodeset: "+c);});E.call(this,a.i);this.D=a;this.c=b;nb(this,a.g||ua(b,function(c){return c.g}));ob(this,a.Z&&!b.length||a.Y&&!!b.length||ua(b,function(c){return c.b}))} -k(yb,E);yb.prototype.a=function(a){return this.D.s.apply(null,xa(a,this.c))};yb.prototype.toString=function(){var a="Function: "+this.D;if(this.c.length){var b=ta(this.c,function(c,d){return c+G(d)},"Arguments:");a+=G(b)}return a};function zb(a,b,c,d,e,f,g,h){this.l=a;this.i=b;this.g=c;this.Z=d;this.Y=!1;this.s=e;this.M=f;this.H=void 0!==g?g:f;this.$=!!h}zb.prototype.toString=function(){return this.l};var Ab={}; -function K(a,b,c,d,e,f,g,h){if(Ab.hasOwnProperty(a))throw Error("Function already created: "+a+".");Ab[a]=new zb(a,b,c,d,e,f,g,h)}K("boolean",2,!1,!1,function(a,b){return pb(b,a)},1);K("ceiling",1,!1,!1,function(a,b){return Math.ceil(H(b,a))},1);K("concat",3,!1,!1,function(a,b){return ta(ya(arguments,1),function(c,d){return c+I(d,a)},"")},2,null);K("contains",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);K("count",1,!1,!1,function(a,b){return b.a(a).m},1,1,!0); -K("false",2,!1,!1,function(){return!1},0);K("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);K("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=I(b,a).split(/\s+/);var e=[];n(a,function(g){g=d.getElementById(g);!g||0<=qa(e,g)||e.push(g)});e.sort(Za);var f=new A;n(e,function(g){f.add(g)});return f},1);K("lang",2,!1,!1,function(){return!1},1);K("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0); +J(">",4,2,function(a,b,c){return tb(function(d,e){return d>e},a,b,c)});J("<=",4,2,function(a,b,c){return tb(function(d,e){return d<=e},a,b,c)});J(">=",4,2,function(a,b,c){return tb(function(d,e){return d>=e},a,b,c)});var rb=J("=",3,2,function(a,b,c){return tb(function(d,e){return d==e},a,b,c,!0)});J("!=",3,2,function(a,b,c){return tb(function(d,e){return d!=e},a,b,c,!0)});J("and",2,2,function(a,b,c){return pb(a,c)&&pb(b,c)});J("or",1,2,function(a,b,c){return pb(a,c)||pb(b,c)});function wb(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");E.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}k(wb,E);wb.prototype.a=function(a){a=this.c.a(a);return xb(this.h,a)};wb.prototype.toString=function(){var a="Filter:"+G(this.c);return a+=G(this.h)};function yb(a,b){if(b.lengtha.H)throw Error("Function "+a.l+" expects at most "+a.H+" arguments, "+b.length+" given");a.$&&l(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.l+" is not of type Nodeset: "+c);});E.call(this,a.i);this.F=a;this.c=b;nb(this,a.g||ua(b,function(c){return c.g}));ob(this,a.Z&&!b.length||a.Y&&!!b.length||ua(b,function(c){return c.b}))} +k(yb,E);yb.prototype.a=function(a){return this.F.u.apply(null,xa(a,this.c))};yb.prototype.toString=function(){var a="Function: "+this.F;if(this.c.length){var b=ta(this.c,function(c,d){return c+G(d)},"Arguments:");a+=G(b)}return a};function zb(a,b,c,d,e,f,g,h){this.l=a;this.i=b;this.g=c;this.Z=d;this.Y=!1;this.u=e;this.M=f;this.H=void 0!==g?g:f;this.$=!!h}zb.prototype.toString=function(){return this.l};var Ab={}; +function K(a,b,c,d,e,f,g,h){if(Ab.hasOwnProperty(a))throw Error("Function already created: "+a+".");Ab[a]=new zb(a,b,c,d,e,f,g,h)}K("boolean",2,!1,!1,function(a,b){return pb(b,a)},1);K("ceiling",1,!1,!1,function(a,b){return Math.ceil(H(b,a))},1);K("concat",3,!1,!1,function(a,b){return ta(ya(arguments,1),function(c,d){return c+I(d,a)},"")},2,null);K("contains",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);K("count",1,!1,!1,function(a,b){return b.a(a).o},1,1,!0); +K("false",2,!1,!1,function(){return!1},0);K("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);K("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=I(b,a).split(/\s+/);var e=[];l(a,function(g){g=d.getElementById(g);!g||0<=qa(e,g)||e.push(g)});e.sort(Za);var f=new A;l(e,function(g){f.add(g)});return f},1);K("lang",2,!1,!1,function(){return!1},1);K("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0); K("local-name",3,!1,!0,function(a,b){return(a=b?kb(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():""},0,1,!0);K("name",3,!1,!0,function(a,b){return(a=b?kb(b.a(a)):a.a)?a.nodeName.toLowerCase():""},0,1,!0);K("namespace-uri",3,!0,!1,function(){return""},0,1,!0);K("normalize-space",3,!1,!0,function(a,b){return(b?I(b,a):z(a.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);K("not",2,!1,!1,function(a,b){return!pb(b,a)},1);K("number",1,!1,!0,function(a,b){return b?H(b,a):+z(a.a)},0,1); K("position",1,!0,!1,function(a){return a.b},0);K("round",1,!1,!1,function(a,b){return Math.round(H(b,a))},1);K("starts-with",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return 0==b.lastIndexOf(a,0)},2);K("string",3,!1,!0,function(a,b){return b?I(b,a):z(a.a)},0,1);K("string-length",1,!1,!0,function(a,b){return(b?I(b,a):z(a.a)).length},0,1); K("substring",3,!1,!1,function(a,b,c,d){c=H(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?H(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=I(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);K("substring-after",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2); K("substring-before",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);K("sum",1,!1,!1,function(a,b){a=C(b.a(a));b=0;for(var c=D(a);c;c=D(a))b+=+z(c);return b},1,1,!0);K("translate",3,!1,!1,function(a,b,c,d){b=I(b,a);c=I(c,a);var e=I(d,a);a={};for(d=0;da.length)throw Error("Unclosed literal string");return new Cb(a)} function ac(a){var b=[];if(Jb(q(a.a))){var c=r(a.a);var d=q(a.a);if("/"==c&&(Sa(a.a)||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new Hb;d=new Hb;N(a,"Missing next location step.");c=bc(a,c);b.push(c)}else{a:{c=q(a.a);d=c.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":r(a.a);c=Wb(a);N(a,'unclosed "("');Yb(a,")");break;case '"':case "'":c=$b(a);break;default:if(isNaN(+c))if(!Bb(c)&&/(?![0-9])[\w]/.test(d)&&"("==q(a.a,1)){c=r(a.a); c=Ab[c]||null;r(a.a);for(d=[];")"!=q(a.a);){N(a,"Missing function argument list.");d.push(Wb(a));if(","!=q(a.a))break;r(a.a)}N(a,"Unclosed function argument list.");Zb(a);c=new yb(c,d)}else{c=null;break a}else c=new Eb(+r(a.a))}"["==q(a.a)&&(d=new Mb(cc(a)),c=new wb(c,d))}if(c)if(Jb(q(a.a)))d=c;else return c;else c=bc(a,"/"),d=new Ib,b.push(c)}for(;Jb(q(a.a));)c=r(a.a),N(a,"Missing next location step."),c=bc(a,c),b.push(c);return new Fb(d,b)} function bc(a,b){if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==q(a.a)){var c=new L(Sb,new B("node"));r(a.a);return c}if(".."==q(a.a))return c=new L(Rb,new B("node")),r(a.a),c;if("@"==q(a.a)){var d=Gb;r(a.a);N(a,"Missing attribute name")}else if("::"==q(a.a,1)){if(!/(?![0-9])[\w]/.test(q(a.a).charAt(0)))throw Error("Bad token: "+r(a.a));var e=r(a.a);d=Qb[e]||null;if(!d)throw Error("No axis with name: "+e);r(a.a);N(a,"Missing node name")}else d=Nb;e=q(a.a);if(/(?![0-9])[\w\*]/.test(e.charAt(0)))if("("== -q(a.a,1)){if(!Bb(e))throw Error("Invalid node type: "+e);e=r(a.a);if(!Bb(e))throw Error("Invalid type name: "+e);Yb(a,"(");N(a,"Bad nodetype");var f=q(a.a).charAt(0),g=null;if('"'==f||"'"==f)g=$b(a);N(a,"Bad nodetype");Zb(a);e=new B(e,g)}else if(e=r(a.a),f=e.indexOf(":"),-1==f)e=new Db(e);else{g=e.substring(0,f);if("*"==g)var h="*";else if(h=a.b(g),!h)throw Error("Namespace prefix not declared: "+g);e=e.substr(f+1);e=new Db(e,h)}else throw Error("Bad token: "+r(a.a));a=new Mb(cc(a),d.A);return c|| +q(a.a,1)){if(!Bb(e))throw Error("Invalid node type: "+e);e=r(a.a);if(!Bb(e))throw Error("Invalid type name: "+e);Yb(a,"(");N(a,"Bad nodetype");var f=q(a.a).charAt(0),g=null;if('"'==f||"'"==f)g=$b(a);N(a,"Bad nodetype");Zb(a);e=new B(e,g)}else if(e=r(a.a),f=e.indexOf(":"),-1==f)e=new Db(e);else{g=e.substring(0,f);if("*"==g)var h="*";else if(h=a.b(g),!h)throw Error("Namespace prefix not declared: "+g);e=e.substr(f+1);e=new Db(e,h)}else throw Error("Bad token: "+r(a.a));a=new Mb(cc(a),d.B);return c|| new L(d,e,a,"//"==b)}function cc(a){for(var b=[];"["==q(a.a);){r(a.a);N(a,"Missing predicate expression.");var c=Wb(a);b.push(c);N(a,"Unclosed predicate expression.");Yb(a,"]")}return b}function Xb(a){if("-"==q(a.a))return r(a.a),new Tb(Xb(a));var b=ac(a);if("|"!=q(a.a))a=b;else{for(b=[b];"|"==r(a.a);)N(a,"Missing next union location path."),b.push(ac(a));a.a.a--;a=new Ub(b)}return a};function fc(a){switch(a.nodeType){case 1:return ma(gc,a);case 9:return fc(a.documentElement);case 11:case 10:case 6:case 12:return hc;default:return a.parentNode?fc(a.parentNode):hc}}function hc(){return null}function gc(a,b){if(a.prefix==b)return a.namespaceURI||"http://www.w3.org/1999/xhtml";var c=a.getAttributeNode("xmlns:"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?gc(a.parentNode,b):null};function ic(a,b){if(!a.length)throw Error("Empty XPath expression.");a=Pa(a);if(Sa(a))throw Error("Invalid XPath expression.");b?ha(b)||(b=la(b.lookupNamespaceURI,b)):b=function(){return null};var c=Wb(new Vb(a,b));if(!Sa(a))throw Error("Bad token: "+r(a));this.evaluate=function(d,e){d=c.a(new oa(d));return new O(d,e)}} -function O(a,b){if(0==b)if(a instanceof A)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof A))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof A?lb(a):""+a;break;case 1:this.numberValue=a instanceof A?+lb(a):+a;break;case 3:this.booleanValue=a instanceof A?0=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}O.ANY_TYPE=0; +function O(a,b){if(0==b)if(a instanceof A)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof A))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof A?lb(a):""+a;break;case 1:this.numberValue=a instanceof A?+lb(a):+a;break;case 3:this.booleanValue=a instanceof A?0=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}O.ANY_TYPE=0; O.NUMBER_TYPE=1;O.STRING_TYPE=2;O.BOOLEAN_TYPE=3;O.UNORDERED_NODE_ITERATOR_TYPE=4;O.ORDERED_NODE_ITERATOR_TYPE=5;O.UNORDERED_NODE_SNAPSHOT_TYPE=6;O.ORDERED_NODE_SNAPSHOT_TYPE=7;O.ANY_UNORDERED_NODE_TYPE=8;O.FIRST_ORDERED_NODE_TYPE=9;function jc(a){this.lookupNamespaceURI=fc(a)} function kc(a,b){a=a||ba;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=O,c.evaluate=function(d,e,f,g){return(new ic(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new ic(d,e)},c.createNSResolver=function(d){return new jc(d)}}da("wgxpath.install",kc);da("wgxpath.install",kc);var lc=window;function P(a,b){this.code=a;this.a=R[a]||mc;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}k(P,Error);var mc="unknown error",R={15:"element not selectable",11:"element not visible"};R[31]=mc;R[30]=mc;R[24]="invalid cookie domain";R[29]="invalid element coordinates";R[12]="invalid element state"; R[32]="invalid selector";R[51]="invalid selector";R[52]="invalid selector";R[17]="javascript error";R[405]="unsupported operation";R[34]="move target out of bounds";R[27]="no such alert";R[7]="no such element";R[8]="no such frame";R[23]="no such window";R[28]="script timeout";R[33]="session not created";R[10]="stale element reference";R[21]="timeout";R[25]="unable to set cookie";R[26]="unexpected alert open";R[13]=mc;R[9]="unknown command";var nc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400", @@ -78,8 +78,8 @@ darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#55 ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a", lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1", moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57", -seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var oc="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),pc=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,qc=/^#(?:[0-9a-f]{3}){1,2}$/i,rc=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,sc=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;var tc=Ka(),uc=Na()||p("iPod"),vc=p("iPad"),wc=p("Android")&&!(La()||Ka()||p("Opera")||p("Silk")),xc=La(),yc=p("Safari")&&!(La()||p("Coast")||p("Opera")||p("Edge")||p("Edg/")||p("OPR")||Ka()||p("Silk")||p("Android"))&&!(Na()||p("iPad")||p("iPod"));function zc(a){return(a=a.exec(Da))?a[1]:""}(function(){if(tc)return zc(/Firefox\/([0-9.]+)/);if(xc)return Na()||p("iPad")||p("iPod")?zc(/CriOS\/([0-9.]+)/):zc(/Chrome\/([0-9.]+)/);if(yc&&!(Na()||p("iPad")||p("iPod")))return zc(/Version\/([0-9.]+)/);if(uc||vc){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Da);if(a)return a[1]+"."+a[2]}else if(wc)return(a=zc(/Android\s+([0-9.]+)/))?a:zc(/Version\/([0-9.]+)/);return""})();function Ac(a,b){b=b.toLowerCase();return"style"==b?Bc(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var Cc=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function Bc(a){var b=[];n(a.split(Cc),function(c){var d=c.indexOf(":");0=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(sc))if(b=Number(d[1]), c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=nc[b.toLowerCase()];if(!c&&(c="#"==b.charAt(0)?b:"#"+b,4==c.length&&(c=c.replace(pc,"#$1$1$2$2$3$3")),!qc.test(c))){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?"rgba("+b.join(", ")+")":a}return a} @@ -88,30 +88,32 @@ function Ic(a,b,c){function d(g){var h=V(g);return 0=F.a+F.width;F=e.c>=F.b+F.height;if(Q&&"hidden"==m.x||F&&"hidden"==m.y)return W;if(Q&&"visible"!=m.x||F&&"visible"!=m.y){if(w&&(m=d(a),e.f>=g.scrollWidth-m.x||e.a>=g.scrollHeight-m.y))return W;e=Jc(a);return e==W?W:"scroll"}}}return"none"} +function Jc(a){function b(m){function y(sb){if(sb==g)return!0;var dc=U(sb,"display");return 0==dc.lastIndexOf("inline",0)||"contents"==dc||"absolute"==ec&&"static"==U(sb,"position")?!1:!0}var ec=U(m,"position");if("fixed"==ec)return w=!0,m==g?null:g;for(m=Gc(m);m&&!y(m);)m=Gc(m);return m}function c(m){var y=m;if("visible"==t)if(m==g&&h)y=h;else if(m==h)return{x:"visible",y:"visible"};y={x:U(y,"overflow-x"),y:U(y,"overflow-y")};m==g&&(y.x="visible"==y.x?"auto":y.x,y.y="visible"==y.y?"auto":y.y);return y} +function d(m){if(m==g){var y=(new Va(f)).a;m=y.scrollingElement?y.scrollingElement:y.body||y.documentElement;y=y.parentWindow||y.defaultView;m=new Ta(y.pageXOffset||m.scrollLeft,y.pageYOffset||m.scrollTop)}else m=new Ta(m.scrollLeft,m.scrollTop);return m}var e=Nc(a),f=v(a),g=f.documentElement,h=f.body,t=U(g,"overflow"),w;for(a=b(a);a;a=b(a)){var n=c(a);if("visible"!=n.x||"visible"!=n.y){var F=V(a);if(0==F.width||0==F.height)return W;var Q=e.a=F.a+F.width;F=e.c>=F.b+F.height;if(Q&&"hidden"==n.x||F&&"hidden"==n.y)return W;if(Q&&"visible"!=n.x||F&&"visible"!=n.y){if(w&&(n=d(a),e.f>=g.scrollWidth-n.x||e.a>=g.scrollHeight-n.y))return W;e=Jc(a);return e==W?W:"scroll"}}}return"none"} function V(a){var b=Kc(a);if(b)return b.rect;if(S(a,"HTML"))return a=(Wa(v(a))||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new Ua(a.clientWidth,a.clientHeight),new T(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new T(0,0,0,0)}return new T(c.left,c.top,c.right-c.left,c.bottom-c.top)} -function Kc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=Dc.o('*[usemap="#'+c.name+'"]',v(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Oc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}} +function Kc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=Dc.s('*[usemap="#'+c.name+'"]',v(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Oc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}} function Oc(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if("rect"==b&&4==a.length){b=a[0];var c=a[1];return new T(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new T(a[0]-b,a[1]-b,2*b,2*b);if("poly"==b&&2=~*^$|%&@`{}\-\/\[\]\(\)])/g, -"\\$1")}};var X={},Zc={};X.O=function(a,b,c){try{var d=Dc.j("a",b)}catch(e){d=x(u(b),"A",null,b)}return wa(d,function(e){e=Qc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.L=function(a,b,c){try{var d=Dc.j("a",b)}catch(e){d=x(u(b),"A",null,b)}return ra(d,function(e){e=Qc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.o=function(a,b){return X.O(a,b,!1)};X.j=function(a,b){return X.L(a,b,!1)};Zc.o=function(a,b){return X.O(a,b,!0)}; -Zc.j=function(a,b){return X.L(a,b,!0)};var Y={F:function(a,b){return function(c){var d=Y.u(a);d=V(d);c=V(c);return b.call(null,d,c)}},S:function(a){return Y.F(a,function(b,c){return c.b+c.height=~*^$|%&@`{}\-\/\[\]\(\)])/g, +"\\$1")}};var X={},Zc={};X.O=function(a,b,c){try{var d=Dc.j("a",b)}catch(e){d=x(u(b),"A",null,b)}return wa(d,function(e){e=Qc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.L=function(a,b,c){try{var d=Dc.j("a",b)}catch(e){d=x(u(b),"A",null,b)}return ra(d,function(e){e=Qc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.s=function(a,b){return X.O(a,b,!1)};X.j=function(a,b){return X.L(a,b,!1)};Zc.s=function(a,b){return X.O(a,b,!0)}; +Zc.j=function(a,b){return X.L(a,b,!0)};var Y={v:function(a,b){return function(c){var d=Y.m(a);d=V(d);c=V(c);return b.call(null,d,c)}},S:function(a){return Y.v(a,function(b,c){return c.b+c.height<=b.b})},T:function(a){return Y.v(a,function(b,c){return c.b>=b.b+b.height})},W:function(a){return Y.v(a,function(b,c){return c.a+c.width<=b.a})},ba:function(a){return Y.v(a,function(b,c){return c.a>=b.a+b.width})},da:function(a){return Y.v(a,function(b,c){return c.ab.a&&c.b+c.height<=b.b})},ea:function(a){return Y.v(a, +function(b,c){return c.ab.a&&c.b>=b.b+b.height})},fa:function(a){return Y.v(a,function(b,c){return c.bb.b&&c.a+c.width<=b.a})},ga:function(a){return Y.v(a,function(b,c){return c.bb.b&&c.a>=b.a+b.width})},X:function(a,b){var c;b?c=b:"number"==typeof a.distance&&(c=a.distance);c||(c=50);return function(d){var e=Y.m(a);if(e===d)return!1;e=V(e);d=V(d);e=new T(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&& +d.a<=e.a+e.width&&e.b<=d.b+d.height&&d.b<=e.b+e.height}},m:function(a){if(ia(a)&&1==a.nodeType)return a;if(ha(a))return Y.m(a.call(null));if(ia(a)){var b;a:{if(b=$c(a)){var c=ad[b];if(c&&ha(c.s)){b=c.s(a[b],lc.document);break a}}throw new P(61,"Unsupported locator strategy: "+b);}if(!b)throw new P(7,"No element has been found by "+JSON.stringify(a));return b}throw new P(61,"Selector is of wrong type: "+JSON.stringify(a));}}; +Y.R={above:Y.S,below:Y.T,left:Y.W,near:Y.X,right:Y.ba,straightAbove:Y.da,straightBelow:Y.ea,straightLeft:Y.fa,straightRight:Y.ga};Y.P={above:Y.m,below:Y.m,left:Y.m,near:Y.m,right:Y.m,straightAbove:Y.m,straightBelow:Y.m,straightLeft:Y.m,straightRight:Y.m}; +Y.V=function(a,b){var c=[];l(a,function(e){e&&va(b,function(f){var g=f.kind,h=Y.R[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Y.P[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Y.ca(a,c):c:c}; +Y.ca=function(a,b){function c(f){f=V(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=V(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;za(b,function(f,g){return c(f)-c(g)});return b};Y.s=function(a,b){a=Y.j(a,b);return 0==a.length?null:a[0]}; +Y.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));if(!fa(a.filters))throw new P(61,"Targets should be an array: "+JSON.stringify(a));var c;S(a.root)?c=[a.root]:c=bd(a.root,b);return 0==c.length?[]:Y.V(c,a.filters)};var cd={s:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var Z={};Z.J=function(){var a={ia:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}(); +Z.u=function(a,b,c){var d=v(a);if(!d.documentElement)return null;wc&&kc(Wa(d));try{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):Z.J,f={},g=d.getElementsByTagName("*"),h=0;hb||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state"; Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Lb(a,b){return(b||Db).frames[a]||null};var Mb=JSON.stringify;function Nb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Ob(c);return e}if(v(c,"document"))return e={},e.WINDOW=Ob(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"== typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Pb(a,b){return"array"==l(a)?ka(a,function(c){return Pb(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Qb(a.ELEMENT,b):v(a,"WINDOW")?Qb(a.WINDOW,b):ra(a,function(c){return Pb(c,b)}):a}function Rb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Ob(a){var b=Rb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c} -function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(a,b){a=[a,b];b=Lb;var c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(a,c.document);var f={status:0,value:Nb(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);} +function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("se_exportedFunctionSymbol",function(a,b){a=[a,b];b=Lb;var c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(a,c.document);var f={status:0,value:Nb(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);} diff --git a/atoms/get_appcache_status.js b/atoms/get_appcache_status.js index 5b6d144a..b2d289a6 100755 --- a/atoms/get_appcache_status.js +++ b/atoms/get_appcache_status.js @@ -71,4 +71,4 @@ V.NUMBER_TYPE=1;V.STRING_TYPE=2;V.BOOLEAN_TYPE=3;V.UNORDERED_NODE_ITERATOR_TYPE= function Db(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=V,c.evaluate=function(d,e,f,g){return(new Bb(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Bb(d,e)},c.createNSResolver=function(d){return new Cb(d)}}aa("wgxpath.install",Db);aa("wgxpath.install",Db);var W=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}l(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state"; Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ua(),Gb=wa()||t("iPod"),Hb=t("iPad"),Ib=t("Android")&&!(va()||ua()||t("Opera")||t("Silk")),Jb=va(),Kb=t("Safari")&&!(va()||t("Coast")||t("Opera")||t("Edge")||t("Edg/")||t("OPR")||ua()||t("Silk")||t("Android"))&&!(wa()||t("iPad")||t("iPod"));function Z(a){return(a=a.exec(r))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return wa()||t("iPad")||t("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(wa()||t("iPad")||t("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(r);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(ba(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return la(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(u(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(u(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ca(c))return la(c,function(f){return b(f,d)});c=ra(c,function(f,g){return"number"== typeof g||k(g)});return sa(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==ba(a)?la(a,function(c){return Ob(c,b)}):da(a)?"function"==typeof a?a:u(a,"ELEMENT")?Pb(a.ELEMENT,b):u(a,"WINDOW")?Pb(a.WINDOW,b):sa(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ja());b.C||(b.C=ja());return b}function Nb(a){var b=Qb(a.ownerDocument),c=ta(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c} -function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!u(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(u(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){if(null!=(W||W).applicationCache)var a=W.applicationCache.status;else throw new X(13,"Undefined application cache");return a};aa("_",function(){var a=Rb,b=[];try{a:{var c=a;if(k(c))try{a=new W.Function(c);break a}catch(f){throw f;}a=W==window?c:new W.Function("return ("+c+").apply(null,arguments);")}var d=Ob(b,W.document);var e={status:0,value:Mb(a.apply(null,d))}}catch(f){e={status:u(f,"code")?f.code:13,value:{message:f.message}}}return Lb(e)});; return this._.apply(null,arguments);}).apply(window, arguments);} +function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!u(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(u(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){if(null!=(W||W).applicationCache)var a=W.applicationCache.status;else throw new X(13,"Undefined application cache");return a};aa("se_exportedFunctionSymbol",function(){var a=Rb,b=[];try{a:{var c=a;if(k(c))try{a=new W.Function(c);break a}catch(f){throw f;}a=W==window?c:new W.Function("return ("+c+").apply(null,arguments);")}var d=Ob(b,W.document);var e={status:0,value:Mb(a.apply(null,d))}}catch(f){e={status:u(f,"code")?f.code:13,value:{message:f.message}}}return Lb(e)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);} diff --git a/atoms/get_attribute.js b/atoms/get_attribute.js index d54ac796..da46faff 100755 --- a/atoms/get_attribute.js +++ b/atoms/get_attribute.js @@ -1,4 +1,4 @@ function(){return (function(){var d=this||self;function f(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};var h=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;cb||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}f(l,Error);var n="unknown error",m={15:"element not selectable",11:"element not visible"};m[31]=n;m[30]=n;m[24]="invalid cookie domain";m[29]="invalid element coordinates";m[12]="invalid element state";m[32]="invalid selector"; m[51]="invalid selector";m[52]="invalid selector";m[17]="javascript error";m[405]="unsupported operation";m[34]="move target out of bounds";m[27]="no such alert";m[7]="no such element";m[8]="no such frame";m[23]="no such window";m[28]="script timeout";m[33]="session not created";m[10]="stale element reference";m[21]="timeout";m[25]="unable to set cookie";m[26]="unexpected alert open";m[13]=n;m[9]="unknown command";function p(a){return-1!=q.indexOf(a)};var q;a:{var r=d.navigator;if(r){var t=r.userAgent;if(t){q=t;break a}}q=""};function v(){return p("Firefox")||p("FxiOS")}function w(){return(p("Chrome")||p("CriOS"))&&!p("Edge")};function x(){return p("iPhone")&&!p("iPod")&&!p("iPad")};var y=v(),z=x()||p("iPod"),A=p("iPad"),B=p("Android")&&!(w()||v()||p("Opera")||p("Silk")),C=w(),D=p("Safari")&&!(w()||p("Coast")||p("Opera")||p("Edge")||p("Edg/")||p("OPR")||v()||p("Silk")||p("Android"))&&!(x()||p("iPad")||p("iPod"));function E(a){return(a=a.exec(q))?a[1]:""}(function(){if(y)return E(/Firefox\/([0-9.]+)/);if(C)return x()||p("iPad")||p("iPod")?E(/CriOS\/([0-9.]+)/):E(/Chrome\/([0-9.]+)/);if(D&&!(x()||p("iPad")||p("iPod")))return E(/Version\/([0-9.]+)/);if(z||A){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(q);if(a)return a[1]+"."+a[2]}else if(B)return(a=E(/Android\s+([0-9.]+)/))?a:E(/Version\/([0-9.]+)/);return""})();function F(a,b){b=b.toLowerCase();return"style"==b?G(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var H=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function G(a){var b=[];k(a.split(H),function(c){var e=c.indexOf(":");0