
drivers.js.third_party.webdriver-atoms.find_elements.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of phoenix_webdriver Show documentation
Show all versions of phoenix_webdriver Show documentation
update:检查点bug修复,增加js执行的驱动,commandExecutor方法bug修复,驱动更新支持最新Firefox47/chrome51/IE10/IE11/IE Edge
function(){return function(){function h(a){return function(){return this[a]}}function n(a){return function(){return a}}var q=this;
function aa(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function ba(a){var b=aa(a);return"array"==b||"object"==b&&"number"==typeof a.length}function r(a){return"string"==typeof a}function ca(a){return"function"==aa(a)}function da(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function ea(a,b,c){return a.call.apply(a.bind,arguments)}
function fa(a,b,c){if(!a)throw Error();if(2(0==l[1].length?0:parseInt(l[1],10))?1:0)||((0==k[2].length)<(0==l[2].length)?
-1:(0==k[2].length)>(0==l[2].length)?1:0)||(k[2]l[2]?1:0)}while(0==c)}return c}function na(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};var oa=Array.prototype;function u(a,b){for(var c=a.length,d=r(a)?a.split(""):a,e=0;ec?null:r(a)?a.charAt(c):a[c]}function va(a,b){var c;a:if(r(a))c=r(b)&&1==b.length?a.indexOf(b,0):-1;else{for(c=0;c=arguments.length?oa.slice.call(a,b):oa.slice.call(a,b,c)};var ya,za,Aa,Ba;function Ca(){return q.navigator?q.navigator.userAgent:null}Ba=Aa=za=ya=!1;var Da;if(Da=Ca()){var Ea=q.navigator;ya=0==Da.indexOf("Opera");za=!ya&&-1!=Da.indexOf("MSIE");Aa=!ya&&-1!=Da.indexOf("WebKit");Ba=!ya&&!Aa&&"Gecko"==Ea.product}var Ka=ya,w=za,La=Ba,Ma=Aa;function Na(){var a=q.document;return a?a.documentMode:void 0}var Oa;
a:{var Pa="",Qa;if(Ka&&q.opera)var Ra=q.opera.version,Pa="function"==typeof Ra?Ra():Ra;else if(La?Qa=/rv\:([^\);]+)(\)|;)/:w?Qa=/MSIE\s+([^\);]+)(\)|;)/:Ma&&(Qa=/WebKit\/(\S+)/),Qa)var Sa=Qa.exec(Ca()),Pa=Sa?Sa[1]:"";if(w){var Ta=Na();if(Ta>parseFloat(Pa)){Oa=String(Ta);break a}}Oa=Pa}var Ua={};function Va(a){return Ua[a]||(Ua[a]=0<=ma(Oa,a))}var Wa=q.document,x=Wa&&w?Na()||("CSS1Compat"==Wa.compatMode?parseInt(Oa,10):5):void 0;var Xa;!La&&!w||w&&w&&9<=x||La&&Va("1.9.1");w&&Va("9");function Ya(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}Ya.prototype.toString=function(){return"("+this.x+", "+this.y+")"};Ya.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Ya.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Ya.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function Za(a,b){this.width=a;this.height=b}Za.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};Za.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};Za.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Za.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function $a(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function ab(a){var b=bb,c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function cb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c};var db=3;function y(a){return a?new eb(z(a)):Xa||(Xa=new eb)}function fb(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new Za(a.clientWidth,a.clientHeight)}function gb(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}function hb(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}
function ib(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(w&&!(w&&9<=x)){if(9==a.nodeType)return-1;if(9==b.nodeType)return 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?jb(a,b):!c&&hb(e,b)?-1*kb(a,b):!d&&hb(f,a)?kb(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=z(a);c=d.createRange();
c.selectNode(a);c.collapse(!0);d=d.createRange();d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(q.Range.START_TO_END,d)}function kb(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return jb(d,a)}function jb(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}function z(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function lb(a,b){a=a.parentNode;for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}
function eb(a){this.K=a||q.document||document}
function A(a,b,c,d){a=d||a.K;b=b&&"*"!=b?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))c=a.querySelectorAll(b+(c?"."+c:""));else if(c&&a.getElementsByClassName)if(a=a.getElementsByClassName(c),b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||"*"),c){d={};for(f=e=0;g=a[f];f++)b=g.className,"function"==typeof b.split&&va(b.split(/\s+/),c)&&(d[e++]=g);d.length=e;c=d}else c=a;return c}eb.prototype.contains=hb;var mb={R:function(a){return!(!a.querySelectorAll||!a.querySelector)},r:function(a,b){if(!a)throw Error("No class name specified");a=la(a);if(1d||c.indexOf("Error",d)!=d)c+="Error";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.stack||""}s(Vb,Error);
var Xb="unknown error",Wb={15:"element not selectable",11:"element not visible",31:"ime engine activation failed",30:"ime not available",24:"invalid cookie domain",29:"invalid element coordinates",12:"invalid element state",32:"invalid selector",51:"invalid selector",52:"invalid selector",17:"javascript error",405:"unsupported operation",34:"move target out of bounds",27:"no such alert",7:"no such element",8:"no such frame",23:"no such window",28:"script timeout",33:"session not created",10:"stale element reference",
0:"success",21:"timeout",25:"unable to set cookie",26:"unexpected alert open"};Wb[13]=Xb;Wb[9]="unknown command";Vb.prototype.toString=function(){return this.name+": "+this.message};function Yb(a,b,c){this.c=a;this.oa=b||1;this.j=c||1};var C=w&&!(w&&9<=x),Zb=w&&!(w&&8<=x);function $b(a,b,c,d,e){this.c=a;this.nodeName=c;this.nodeValue=d;this.nodeType=2;this.ownerElement=b;this.qa=e;this.parentNode=b}function ac(a,b,c){var d=Zb&&"href"==b.nodeName?a.getAttribute(b.nodeName,2):b.nodeValue;return new $b(b,a,b.nodeName,d,c)};function bc(a){this.Q=a;this.C=0}function cc(a){a=a.match(dc);for(var b=0;b]=|\\s+|.","g"),ec=/^\s/;function D(a,b){return a.Q[a.C+(b||0)]}bc.prototype.next=function(){return this.Q[this.C++]};bc.prototype.back=function(){this.C--};bc.prototype.empty=function(){return this.Q.length<=this.C};function E(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(C&&"title"==a.nodeName.toLowerCase()&&1==c)b=a.text;else if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],b="";a;){do 1!=a.nodeType&&(b+=a.nodeValue),C&&"title"==a.nodeName.toLowerCase()&&(b+=a.text),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return""+b}
function F(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}Zb&&"class"==b&&(b="className");return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function fc(a,b,c,d,e){return(C?gc:hc).call(null,a,b,r(c)?c:null,r(d)?d:null,e||new G)}
function gc(a,b,c,d,e){if(a instanceof ic||8==a.i||c&&null===a.i){var f=b.all;if(!f)return e;a=jc(a);if("*"!=a&&(f=b.getElementsByTagName(a),!f))return e;if(c){for(var g=[],m=0;b=f[m++];)F(b,c,d)&&g.push(b);f=g}for(m=0;b=f[m++];)"*"==a&&"!"==b.tagName||e.add(b);return e}kc(a,b,c,d,e);return e}
function hc(a,b,c,d,e){b.getElementsByName&&d&&"name"==c&&!w?(b=b.getElementsByName(d),u(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),u(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof H?kc(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),u(b,function(a){F(a,c,d)&&e.add(a)}));return e}
function lc(a,b,c,d,e){var f;if((a instanceof ic||8==a.i||c&&null===a.i)&&(f=b.childNodes)){var g=jc(a);if("*"!=g&&(f=pa(f,function(a){return a.tagName&&a.tagName.toLowerCase()==g}),!f))return e;c&&(f=pa(f,function(a){return F(a,c,d)}));u(f,function(a){"*"==g&&("!"==a.tagName||"*"==g&&1!=a.nodeType)||e.add(a)});return e}return mc(a,b,c,d,e)}function mc(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)F(b,c,d)&&a.matches(b)&&e.add(b);return e}
function kc(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)F(b,c,d)&&a.matches(b)&&e.add(b),kc(a,b,c,d,e)}function jc(a){if(a instanceof H){if(8==a.i)return"!";if(null===a.i)return"*"}return a.getName()};function G(){this.j=this.f=null;this.v=0}function nc(a){this.n=a;this.next=this.s=null}function oc(a,b){if(!a.f)return b;if(!b.f)return a;for(var c=a.f,d=b.f,e=null,f=null,g=0;c&&d;)c.n==d.n||c.n instanceof $b&&d.n instanceof $b&&c.n.c==d.n.c?(f=c,c=c.next,d=d.next):0",4,2,function(a,b,c){return xc(function(a,b){return a>b},a,b,c)});N("<=",4,2,function(a,b,c){return xc(function(a,b){return a<=b},a,b,c)});N(">=",4,2,function(a,b,c){return xc(function(a,b){return a>=b},a,b,c)});var wc=N("=",3,2,function(a,b,c){return xc(function(a,b){return a==b},a,b,c,!0)});N("!=",3,2,function(a,b,c){return xc(function(a,b){return a!=b},a,b,c,!0)});N("and",2,2,function(a,b,c){return uc(a,c)&&uc(b,c)});N("or",1,2,function(a,b,c){return uc(a,c)||uc(b,c)});function Ac(a,b){if(b.m()&&4!=a.e)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");J.call(this,a.e);this.aa=a;this.b=b;this.o=a.d();this.g=a.g}s(Ac,J);Ac.prototype.evaluate=function(a){a=this.aa.evaluate(a);return Bc(this.b,a)};Ac.prototype.toString=function(){var a;a="Filter:"+K(this.aa);return a+=K(this.b)};function Cc(a,b){if(b.lengtha.M)throw Error("Function "+a.h+" expects at most "+a.M+" arguments, "+b.length+" given");a.la&&u(b,function(b,d){if(4!=b.e)throw Error("Argument "+d+" to function "+a.h+" is not of type Nodeset: "+b);});J.call(this,a.e);this.B=a;this.H=b;sc(this,a.o||sa(b,function(a){return a.d()}));tc(this,a.ja&&!b.length||a.ia&&!!b.length||sa(b,function(a){return a.g}))}
s(Cc,J);Cc.prototype.evaluate=function(a){return this.B.l.apply(null,wa(a,this.H))};Cc.prototype.toString=function(){var a="Function: "+this.B;if(this.H.length)var b=ra(this.H,function(a,b){return a+K(b)},"Arguments:"),a=a+K(b);return a};function Dc(a,b,c,d,e,f,g,m,t){this.h=a;this.e=b;this.o=c;this.ja=d;this.ia=e;this.l=f;this.Z=g;this.M=void 0!==m?m:g;this.la=!!t}Dc.prototype.toString=h("h");var Ec={};
function O(a,b,c,d,e,f,g,m){if(Ec.hasOwnProperty(a))throw Error("Function already created: "+a+".");Ec[a]=new Dc(a,b,c,d,!1,e,f,g,m)}O("boolean",2,!1,!1,function(a,b){return uc(b,a)},1);O("ceiling",1,!1,!1,function(a,b){return Math.ceil(L(b,a))},1);O("concat",3,!1,!1,function(a,b){var c=xa(arguments,1);return ra(c,function(b,c){return b+M(c,a)},"")},2,null);O("contains",2,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);return-1!=b.indexOf(a)},2);
O("count",1,!1,!1,function(a,b){return b.evaluate(a).m()},1,1,!0);O("false",2,!1,!1,n(!1),0);O("floor",1,!1,!1,function(a,b){return Math.floor(L(b,a))},1);
O("id",4,!1,!1,function(a,b){function c(a){if(C){var b=e.all[a];if(b){if(b.nodeType&&a==b.id)return b;if(b.length)return ua(b,function(b){return a==b.id})}return null}return e.getElementById(a)}var d=a.c,e=9==d.nodeType?d:d.ownerDocument,d=M(b,a).split(/\s+/),f=[];u(d,function(a){(a=c(a))&&!va(f,a)&&f.push(a)});f.sort(ib);var g=new G;u(f,function(a){g.add(a)});return g},1);O("lang",2,!1,!1,n(!1),1);
O("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.j},0);O("local-name",3,!1,!0,function(a,b){var c=b?pc(b.evaluate(a)):a.c;return c?c.nodeName.toLowerCase():""},0,1,!0);O("name",3,!1,!0,function(a,b){var c=b?pc(b.evaluate(a)):a.c;return c?c.nodeName.toLowerCase():""},0,1,!0);O("namespace-uri",3,!0,!1,n(""),0,1,!0);O("normalize-space",3,!1,!0,function(a,b){return(b?M(b,a):E(a.c)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);
O("not",2,!1,!1,function(a,b){return!uc(b,a)},1);O("number",1,!1,!0,function(a,b){return b?L(b,a):+E(a.c)},0,1);O("position",1,!0,!1,function(a){return a.oa},0);O("round",1,!1,!1,function(a,b){return Math.round(L(b,a))},1);O("starts-with",2,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);return 0==b.lastIndexOf(a,0)},2);O("string",3,!1,!0,function(a,b){return b?M(b,a):E(a.c)},0,1);O("string-length",1,!1,!0,function(a,b){return(b?M(b,a):E(a.c)).length},0,1);
O("substring",3,!1,!1,function(a,b,c,d){c=L(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?L(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=M(b,a);if(Infinity==d)return a.substring(e);b=Math.round(d);return a.substring(e,c+b)},2,3);O("substring-after",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2);
O("substring-before",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);O("sum",1,!1,!1,function(a,b){for(var c=I(b.evaluate(a)),d=0,e=c.next();e;e=c.next())d+=+E(e);return d},1,1,!0);O("translate",3,!1,!1,function(a,b,c,d){b=M(b,a);c=M(c,a);var e=M(d,a);a=[];for(d=0;da.length)throw Error("Unclosed literal string");return new Gc(a)}function cd(a){var b=a.a.next(),c=b.indexOf(":");if(-1==c)return new ic(b);var d=b.substring(0,c);a=a.ma(d);if(!a)throw Error("Namespace prefix not declared: "+d);b=b.substr(c+1);return new ic(b,a)}
function dd(a){var b,c=[],d;if("/"==D(a.a)||"//"==D(a.a)){b=a.a.next();d=D(a.a);if("/"==b&&(a.a.empty()||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new Kc;d=new Kc;S(a,"Missing next location step.");b=ed(a,b);c.push(b)}else{a:{b=D(a.a);d=b.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":a.a.next();b=Yc(a);S(a,'unclosed "("');$c(a,")");break;case '"':case "'":b=bd(a);break;default:if(isNaN(+b))if(!Fc(b)&&/(?![0-9])[\w]/.test(d)&&
"("==D(a.a,1)){b=a.a.next();b=Ec[b]||null;a.a.next();for(d=[];")"!=D(a.a);){S(a,"Missing function argument list.");d.push(Yc(a));if(","!=D(a.a))break;a.a.next()}S(a,"Unclosed function argument list.");ad(a);b=new Cc(b,d)}else{b=null;break a}else b=new Hc(+a.a.next())}"["==D(a.a)&&(d=new Oc(fd(a)),b=new Ac(b,d))}if(b)if("/"==D(a.a)||"//"==D(a.a))d=b;else return b;else b=ed(a,"/"),d=new Lc,c.push(b)}for(;"/"==D(a.a)||"//"==D(a.a);)b=a.a.next(),S(a,"Missing next location step."),b=ed(a,b),c.push(b);
return new Ic(d,c)}
function ed(a,b){var c,d,e;if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==D(a.a))return d=new Q(Uc,new H("node")),a.a.next(),d;if(".."==D(a.a))return d=new Q(Tc,new H("node")),a.a.next(),d;var f;if("@"==D(a.a))f=Jc,a.a.next(),S(a,"Missing attribute name");else if("::"==D(a.a,1)){if(!/(?![0-9])[\w]/.test(D(a.a).charAt(0)))throw Error("Bad token: "+a.a.next());c=a.a.next();f=Sc[c]||null;if(!f)throw Error("No axis with name: "+c);a.a.next();S(a,"Missing node name")}else f=Pc;
c=D(a.a);if(/(?![0-9])[\w]/.test(c.charAt(0)))if("("==D(a.a,1)){if(!Fc(c))throw Error("Invalid node type: "+c);c=a.a.next();if(!Fc(c))throw Error("Invalid type name: "+c);$c(a,"(");S(a,"Bad nodetype");e=D(a.a).charAt(0);var g=null;if('"'==e||"'"==e)g=bd(a);S(a,"Bad nodetype");ad(a);c=new H(c,g)}else c=cd(a);else if("*"==c)c=cd(a);else throw Error("Bad token: "+a.a.next());e=new Oc(fd(a),f.t);return d||new Q(f,c,e,"//"==b)}
function fd(a){for(var b=[];"["==D(a.a);){a.a.next();S(a,"Missing predicate expression.");var c=Yc(a);b.push(c);S(a,"Unclosed predicate expression.");$c(a,"]")}return b}function Zc(a){if("-"==D(a.a))return a.a.next(),new Vc(Zc(a));var b=dd(a);if("|"!=D(a.a))a=b;else{for(b=[b];"|"==a.a.next();)S(a,"Missing next union location path."),b.push(dd(a));a.a.back();a=new Wc(b)}return a};function gd(a){switch(a.nodeType){case 1:return ha(hd,a);case 9:return gd(a.documentElement);case 2:return a.ownerElement?gd(a.ownerElement):id;case 11:case 10:case 6:case 12:return id;default:return a.parentNode?gd(a.parentNode):id}}function id(){return null}function hd(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?hd(a.parentNode,b):null};function jd(a,b){if(!a.length)throw Error("Empty XPath expression.");var c=cc(a);if(c.empty())throw Error("Invalid XPath expression.");b?ca(b)||(b=ga(b.lookupNamespaceURI,b)):b=n(null);var d=Yc(new Xc(c,b));if(!c.empty())throw Error("Bad token: "+c.next());this.evaluate=function(a,b){var c=d.evaluate(new Yb(a));return new T(c,b)}}
function T(a,b){if(0==b)if(a instanceof G)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 G))throw Error("value could not be converted to the specified type");this.resultType=b;var c;switch(b){case 2:this.stringValue=a instanceof G?qc(a):""+a;break;case 1:this.numberValue=a instanceof G?+qc(a):+a;break;case 3:this.booleanValue=a instanceof G?0=c.length?null:c[f++]};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return a>=
c.length||0>a?null:c[a]}}T.ANY_TYPE=0;T.NUMBER_TYPE=1;T.STRING_TYPE=2;T.BOOLEAN_TYPE=3;T.UNORDERED_NODE_ITERATOR_TYPE=4;T.ORDERED_NODE_ITERATOR_TYPE=5;T.UNORDERED_NODE_SNAPSHOT_TYPE=6;T.ORDERED_NODE_SNAPSHOT_TYPE=7;T.ANY_UNORDERED_NODE_TYPE=8;T.FIRST_ORDERED_NODE_TYPE=9;function kd(a){this.lookupNamespaceURI=gd(a)}
function ld(a){a=a||q;var b=a.document;b.evaluate||(a.XPathResult=T,b.evaluate=function(a,b,e,f){return(new jd(a,e)).evaluate(b,f)},b.createExpression=function(a,b){return new jd(a,b)},b.createNSResolver=function(a){return new kd(a)})};var U={};U.ga=function(){var a={sa:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}();U.l=function(a,b,c){var d=z(a);(w||yb)&&ld(d?d.parentWindow||d.defaultView:window);try{var e=d.createNSResolver?d.createNSResolver(d.documentElement):U.ga;return w&&!Va(7)?d.evaluate.call(d,b,a,e,c,null):d.evaluate(b,a,e,c,null)}catch(f){if(!La||"NS_ERROR_ILLEGAL_VALUE"!=f.name)throw new Vb(32,"Unable to locate an element with the xpath expression "+b+" because of the following error:\n"+f);}};
U.I=function(a,b){if(!a||1!=a.nodeType)throw new Vb(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element.");};U.r=function(a,b){var c=function(){var c=U.l(b,a,9);return c?(c=c.singleNodeValue,Ka?c:c||null):b.selectSingleNode?(c=z(b),c.setProperty&&c.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):null}();null===c||U.I(c,a);return c};
U.k=function(a,b){var c=function(){var c=U.l(b,a,7);if(c){var e=c.snapshotLength;Ka&&void 0===e&&U.I(null,a);for(var f=[],g=0;g=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
md.prototype.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};md.prototype.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
md.prototype.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};function V(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}V.prototype.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};V.prototype.contains=function(a){return a instanceof V?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};
V.prototype.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};V.prototype.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
V.prototype.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function W(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}var nd=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function od(a){var b=[];u(a.split(nd),function(a){var d=a.indexOf(":");0=c&&0<=e&&255>=e&&0<=g&&255>=g&&0<=f&&1>=f){c=[c,e,g,f];break b}}c=null}if(!c){b:{if(g=
d.match(Ub))if(c=Number(g[1]),e=Number(g[2]),g=Number(g[3]),0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g){c=[c,e,g,1];break b}c=null}if(!c)b:{c=d.toLowerCase();e=Pb[c.toLowerCase()];if(!e&&(e="#"==c.charAt(0)?c:"#"+c,4==e.length&&(e=e.replace(Rb,"#$1$1$2$2$3$3")),!Sb.test(e))){c=null;break b}c=[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16),1]}}d=c?"rgba("+c.join(", ")+")":d}return d}
function rd(a,b){var c=a.currentStyle||a.style,d=c[b];void 0===d&&ca(c.getPropertyValue)&&(d=c.getPropertyValue(b));return"inherit"!=d?void 0!==d?d:null:(c=qd(a))?rd(c,b):null}
function sd(a,b){function c(a){if("none"==X(a,"display"))return!1;a=qd(a);return!a||c(a)}function d(a){var b=td(a);return 0=k.left+k.width;k=e.top>=k.top+k.height;if(l&&"hidden"==p.x||k&&"hidden"==p.y)return Y;if(l&&"visible"!=p.x||k&&"visible"!=p.y){if(v&&(p=d(a),e.left>=g.scrollWidth-p.x||e.right>=g.scrollHeight-p.y))return Y;e=ud(a);return e==Y?Y:"scroll"}}}return"none"}var yd=RegExp("matrix\\(([\\d\\.\\-]+), ([\\d\\.\\-]+), ([\\d\\.\\-]+), ([\\d\\.\\-]+), ([\\d\\.\\-]+)(?:px)?, ([\\d\\.\\-]+)(?:px)?\\)");
function td(a){function b(a){var c=(z(a)?z(a).parentWindow||z(a).defaultView:window).getComputedStyle(a,null).MozTransform.match(yd);if(c){var d=parseFloat(c[1]),e=parseFloat(c[2]),p=parseFloat(c[3]),k=parseFloat(c[4]),l=parseFloat(c[5]),c=parseFloat(c[6]),P=f.left+f.width,Fa=f.top+f.height,Ga=f.left*d,d=P*d,Ha=f.left*e,e=P*e,Ia=f.top*p,p=Fa*p,Ja=f.top*k,P=Fa*k,Fa=Ga+Ia+l,k=Ha+Ja+c,Ia=d+Ia+l,Ja=e+Ja+c,Ga=Ga+p+l,Ha=Ha+P+c,l=d+p+l,c=e+P+c;f.left=Math.min(Fa,Ia,Ga,l);f.top=Math.min(k,Ja,Ha,c);l=Math.max(Fa,
Ia,Ga,l);c=Math.max(k,Ja,Ha,c);f.width=l-f.left;f.height=c-f.top}(a=qd(a))&&b(a)}var c=vd(a);if(c)return c.rect;if(W(a,"HTML"))return c=z(a),a=fb((c?c.parentWindow||c.defaultView:window)||window),new V(0,0,a.width,a.height);var d;try{d=a.getBoundingClientRect()}catch(e){return new V(0,0,0,0)}var f=new V(d.left,d.top,d.right-d.left,d.bottom-d.top);w&&a.ownerDocument.body&&(c=z(a),f.left-=c.documentElement.clientLeft+c.body.clientLeft,f.top-=c.documentElement.clientTop+c.body.clientTop);Ka&&(0==f.width&&
0b?e+="000":256>b?e+="00":4096>b&&(e+="0");return Md[a]=e+b.toString(16)}),'"')};Ma||Ka||La&&Fb(3.5)||w&&Fb(8);function bb(a){switch(aa(a)){case "string":case "number":case "boolean":return a;case "function":return a.toString();case "array":return qa(a,bb);case "object":if("nodeType"in a&&(1==a.nodeType||9==a.nodeType)){var b={};b.ELEMENT=Od(a);return b}if("document"in a)return b={},b.WINDOW=Od(a),b;if(ba(a))return qa(a,bb);a=$a(a,function(a,b){return"number"==typeof b||r(b)});return ab(a);default:return null}}function Pd(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.O=ia());b.O||(b.O=ia());return b}
function Od(a){var b=Pd(a.ownerDocument),c=cb(b,function(b){return b==a});c||(c=":wdc:"+b.O++,b[c]=a);return c}function Qd(a,b){a=decodeURIComponent(a);var c=b||document,d=Pd(c);if(!(a in d))throw new Vb(10,"Element does not exist in cache");var e=d[a];if("setInterval"in e){if(e.closed)throw delete d[a],new Vb(23,"Window has been closed.");return e}for(var f=e;f;){if(f==c.documentElement)return e;f=f.parentNode}delete d[a];throw new Vb(10,"Element is no longer attached to the DOM");};function Rd(a,b,c,d){var e={};e[a]=b;var f;try{var g=d?Qd(d.WINDOW):window,m;a:{var t=c?Qd(c.ELEMENT,g.document):g.document,v;b:{for(var p in e)if(e.hasOwnProperty(p)){v=p;break b}v=null}if(v){var k=Id[v];if(k&&ca(k.k)){m=k.k(e[v],t||ja.document);break a}}throw Error("Unsupported locator strategy: "+v);}f={status:0,value:bb(m)}}catch(l){f={status:"code"in l?l.code:13,value:{message:l.message}}}a=[];Kd(new Jd,f,a);return a.join("")}var Sd=["_"],$=q;Sd[0]in $||!$.execScript||$.execScript("var "+Sd[0]);
for(var Td;Sd.length&&(Td=Sd.shift());)Sd.length||void 0===Rd?$=$[Td]?$[Td]:$[Td]={}:$[Td]=Rd;; return this._.apply(null,arguments);}.apply({navigator:typeof window!=undefined?window.navigator:null,document:typeof window!=undefined?window.document:null}, arguments);}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy