// Copyright 2011 WebDriver committers // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /* AUTO GENERATED - DO NOT EDIT BY HAND */ #ifndef WEBDRIVER_ATOMS_H_ #define WEBDRIVER_ATOMS_H_ namespace webdriver { namespace atoms { const char* const CLEAR = "function(){return function(){var i=void 0,l=null,n=this;\nfunction p(a){v" "ar b=typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array" "\";else if(a instanceof Object)return b;var c=Object.prototype.toString.c" "all(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Array]" "\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a" ".propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\")" ")return\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined" "\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable" "(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"function" "\"&&typeof a.call==\"undefined\")return\"object\";return b}function q(a){" "return p(a)==\"function\"}Math.floor(Math.random()*2147483648).toString(3" "6);function r(a,b){function c(){}c.prototype=b.prototype;a.j=b.prototype;" "a.prototype=new c};var aa=window;function ba(){var a=n.Components;if(!a)r" "eturn!1;try{return a.k[\"@mozilla.org/uuid-generator;1\"].n(a.i.q),!0}cat" "ch(b){return!1}};function s(a){this.stack=Error().stack||\"\";if(a)this.m" "essage=String(a)}r(s,Error);s.prototype.name=\"CustomError\";function t(a" ",b){s.call(this,b);this.code=a;this.name=v[a]||v[13]}r(t,s);var v,w={NoSu" "chElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementRef" "erenceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Unkn" "ownError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWindow" "Error:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDialo" "gOpenedError:26,ModalDialogOpenError:27,ScriptTimeoutError:28},x={},y;for" "(y in w)x[w[y]]=y;v=x;\nt.prototype.toString=function(){return\"[\"+this." "name+\"] \"+this.message};function ca(a){for(var b=1;b=0;c--)a.parent" "Node&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.pa" "rentNode.removeChild(a)};function O(a,b,c,d){M.call(this,a,b,c,l,d)}r(O,M" ");O.prototype.next=function(){do O.j.next.call(this);while(this.c==-1);re" "turn this.b};function ja(a,b){var c=I(a);if(c.defaultView&&c.defaultView." "getComputedStyle&&(c=c.defaultView.getComputedStyle(a,l)))return c[b]||c." "getPropertyValue(b);return\"\"}function P(a,b){return ja(a,b)||(a.current" "Style?a.currentStyle[b]:l)||a.style[b]}\nfunction ka(a){for(var b=I(a),c=" "P(a,\"position\"),d=c==\"fixed\"||c==\"absolute\",a=a.parentNode;a&&a!=b;" "a=a.parentNode)if(c=P(a,\"position\"),d=d&&c==\"static\"&&a!=b.documentEl" "ement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clien" "tHeight||c==\"fixed\"||c==\"absolute\"||c==\"relative\"))return a;return " "l};function Q(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()" "==b)}var la=[\"A\",\"AREA\",\"BUTTON\",\"INPUT\",\"LABEL\",\"SELECT\",\"T" "EXTAREA\"];function ma(a){return C(la,function(b){return a.tagName.toUppe" "rCase()==b})||R(a,\"tabindex\")!=l&&na(a,\"tabIndex\")>=0}var oa={\"class" "\":\"className\",readonly:\"readOnly\"},pa=[\"checked\",\"disabled\",\"dr" "aggable\",\"hidden\"];function na(a,b){var c=oa[b]||b,d=a[c];if(d===i&&B(" "pa,c)>=0)return!1;return d}\nvar qa=[\"async\",\"autofocus\",\"autoplay\"" ",\"checked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultc" "hecked\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended" "\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\"," "\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"nore" "size\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdat" "e\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seek" "ing\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunct" "ion R(a,b){if(8==a.nodeType)return l;b=b.toLowerCase();if(b==\"style\"){v" "ar c=a.style.cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCa" "se();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b)" ";if(!c)return l;if(B(qa,b)>=0)return\"true\";return c.specified?c.value:l" "}var ra=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAR" "EA\"];\nfunction sa(a){var b=a.tagName.toUpperCase();if(!(B(ra,b)>=0))ret" "urn!0;if(R(a,\"disabled\"))return!1;if(a.parentNode&&a.parentNode.nodeTyp" "e==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return sa(a.parentNode);return!0}fun" "ction S(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType" "!=11;)a=a.parentNode;return Q(a)?a:l}function T(a,b){b=da(String(b));retu" "rn ja(a,b)||ta(a,b)}function ta(a,b){var c=(a.currentStyle||a.style)[b];i" "f(c!=\"inherit\")return c!==i?c:l;return(c=S(a))?ta(c,b):l}\nfunction ua(" "a){if(q(a.getBBox))return a.getBBox();var b;if(P(a,\"display\")!=\"none\"" ")b=new H(a.offsetWidth,a.offsetHeight);else{b=a.style;var c=b.display,d=b" ".visibility,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";" "b.display=\"inline\";var f=a.offsetWidth,a=a.offsetHeight;b.display=c;b.p" "osition=e;b.visibility=d;b=new H(f,a)}return b}\nfunction U(a,b){function" " c(a){if(T(a,\"display\")==\"none\")return!1;a=S(a);return!a||c(a)}functi" "on d(a){var b=ua(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||a.t" "extContent)if(va.test(a.innerText||a.textContent))return!0;return D&&C(a." "childNodes,function(a){return Q(a)&&d(a)})}if(!Q(a))throw Error(\"Argumen" "t to isShown must be of type Element\");if(Q(a,\"TITLE\"))return(I(a)?I(a" ").parentWindow||I(a).defaultView:window)==aa;if(Q(a,\"OPTION\")||Q(a,\"OP" "TGROUP\")){var e=fa(a,function(a){return Q(a,\"SELECT\")});\nreturn!!e&&U" "(e)}if(Q(a,\"MAP\")){if(!a.name)return!1;e=I(a);e=e.evaluate?ha('/descend" "ant::*[@usemap = \"#'+a.name+'\"]',e):ea(e,function(b){return Q(b)&&R(b," "\"usemap\")==\"#\"+a.name});return!!e&&U(e)}if(Q(a,\"AREA\"))return e=fa(" "a,function(a){return Q(a,\"MAP\")}),!!e&&U(e);if(Q(a,\"INPUT\")&&a.type.t" "oLowerCase()==\"hidden\")return!1;if(T(a,\"visibility\")==\"hidden\")retu" "rn!1;if(!c(a))return!1;if(!b&&wa(a)==0)return!1;if(!d(a))return!1;return!" "0}var va=RegExp(\"^\"+(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\")" "+\"$\");\nfunction wa(a){var b=1,c=T(a,\"opacity\");c&&(b=Number(c));(a=S" "(a))&&(b*=wa(a));return b};var xa=[\"dragstart\",\"dragexit\",\"mouseover" "\",\"mouseout\"];\nfunction V(a,b,c){var d=I(a),e=d?d.parentWindow||d.def" "aultView:window,f=new G;if(a.nodeType==1)if(a.getBoundingClientRect){var " "m=a.getBoundingClientRect();f.x=m.left;f.y=m.top}else{m=ga(a?new K(I(a)):" "F||(F=new K));var j,g=I(a);j=P(a,\"position\");var h=new G(0,0),u=(g?g.no" "deType==9?g:I(g):document).documentElement;if(a!=u)if(a.getBoundingClient" "Rect)j=a.getBoundingClientRect(),g=ga(g?new K(I(g)):F||(F=new K)),h.x=j.l" "eft+g.x,h.y=j.top+g.y;else if(g.getBoxObjectFor)j=g.getBoxObjectFor(a),g=" "g.getBoxObjectFor(u),\nh.x=j.screenX-g.screenX,h.y=j.screenY-g.screenY;el" "se{var k=a;do{h.x+=k.offsetLeft;h.y+=k.offsetTop;k!=a&&(h.x+=k.clientLeft" "||0,h.y+=k.clientTop||0);if(D&&P(k,\"position\")==\"fixed\"){h.x+=g.body." "scrollLeft;h.y+=g.body.scrollTop;break}k=k.offsetParent}while(k&&k!=a);D&" "&j==\"absolute\"&&(h.y-=g.body.offsetTop);for(k=a;(k=ka(k))&&k!=g.body&&k" "!=u;)h.x-=k.scrollLeft,h.y-=k.scrollTop}f.x=h.x-m.x;f.y=h.y-m.y}else m=q(" "a.e),h=a,a.targetTouches?h=a.targetTouches[0]:m&&a.e().targetTouches&&(h=" "a.e().targetTouches[0]),\nf.x=h.clientX,f.y=h.clientY;var o=c||{},c=(o.x|" "|0)+f.x,f=(o.y||0)+f.y,m=o.button||0,h=o.bubble||!0;j=l;B(xa,b)>=0&&(j=o." "related||l);g=!!o.alt;u=!!o.control;k=!!o.shift;o=!!o.meta;a.fireEvent&&d" "&&d.createEventObject?(a=d.createEventObject(),a.altKey=g,a.l=u,a.metaKey" "=o,a.shiftKey=k,a.clientX=c,a.clientY=f,a.button=m,a.relatedTarget=j):(a=" "d.createEvent(\"MouseEvents\"),a.initMouseEvent?a.initMouseEvent(b,h,!0,e" ",1,0,0,c,f,u,g,k,o,m,j):(a.initEvent(b,h,!0),a.shiftKey=k,a.metaKey=o,a.a" "ltKey=g,a.ctrlKey=\nu,a.button=m));return a}function W(a,b,c){var d=c||{}" ",c=d.keyCode||0,e=d.charCode||0,f=!!d.alt,m=!!d.ctrl,j=!!d.shift,d=!!d.me" "ta,a=I(a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.charCode=e;a.key" "Code=c;a.altKey=f;a.ctrlKey=m;a.metaKey=d;a.shiftKey=j;return a}\nfunctio" "n ya(a,b,c){var d=I(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,m=!!e.control,j=" "!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEvent" "Object(),a.altKey=f,a.m=m,a.metaKey=e,a.shiftKey=j):(a=d.createEvent(\"HT" "MLEvents\"),a.initEvent(b,c,!0),a.shiftKey=j,a.metaKey=e,a.altKey=f,a.ctr" "lKey=m);return a}var X={};X.click=V;X.keydown=W;X.keypress=W;X.keyup=W;X." "mousedown=V;X.mousemove=V;X.mouseout=V;X.mouseover=V;X.mouseup=V;function" " za(a){if(!U(a,!0))throw new t(11,\"Element is not currently visible and " "may not be manipulated\");};function Aa(a){var b;Q(a,\"TEXTAREA\")?b=!0:Q" "(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"text\"||b==\"password\"||b==" "\"email\"||b==\"search\"):b=!1;if(b){if(na(a,\"readOnly\"))throw new t(12" ",\"Element is readonly and may not be cleared.\");if(a.value!=\"\"){za(a)" ";if(!sa(a))throw new t(12,\"Element is not currently enabled and may not " "be manipulated\");if(ma(a))b=I(a).activeElement,za(a),a!=b&&(b&&q(b.blur)" "&&b.blur(),q(a.focus)&&a.focus());a.value=\"\";b=(X.change||ya)(a,\"chang" "e\",i);var c;if(!(c=q(a.fireEvent)))c=p(a.fireEvent),\nc=c==\"object\"||c" "==\"array\"||c==\"function\";if(c){try{(I(a)?I(a).parentWindow||I(a).defa" "ultView:window).event=b}catch(d){}a.fireEvent(\"onchange\",b)}else a.disp" "atchEvent(b)}}}var Y=\"_\".split(\".\"),Z=n;!(Y[0]in Z)&&Z.execScript&&Z." "execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&A" "a!==i?Z[$]=Aa:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}" ".apply({navigator:typeof window!='undefined'?window.navigator:null}, argu" "ments);}"; const char* const EXECUTE_SCRIPT = "function(){return function(){var i=void 0,l=null,n,p=this;function q(){}" "\nfunction r(a){var b=typeof a;if(b==\"object\")if(a){if(a instanceof Arr" "ay)return\"array\";else if(a instanceof Object)return b;var c=Object.prot" "otype.toString.call(a);if(c==\"[object Window]\")return\"object\";if(c==" "\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"undef" "ined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumer" "able(\"splice\"))return\"array\";if(c==\"[object Function]\"||typeof a.ca" "ll!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.prope" "rtyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\nelse i" "f(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";return b" "}function aa(a){var b=r(a);return b==\"array\"||b==\"object\"&&typeof a.l" "ength==\"number\"}function t(a){return typeof a==\"string\"}function ba(a" "){a=r(a);return a==\"object\"||a==\"array\"||a==\"function\"}function u(a" "){return a[ca]||(a[ca]=++da)}var ca=\"closure_uid_\"+Math.floor(Math.rand" "om()*2147483648).toString(36),da=0,ea=Date.now||function(){return+new Dat" "e};\nfunction v(a,b){function c(){}c.prototype=b.prototype;a.u=b.prototyp" "e;a.prototype=new c};function w(a){this.stack=Error().stack||\"\";if(a)th" "is.message=String(a)}v(w,Error);w.prototype.name=\"CustomError\";function" " fa(a,b){var c={},e;for(e in a)b.call(i,a[e],e,a)&&(c[e]=a[e]);return c}f" "unction ga(a,b){var c={},e;for(e in a)c[e]=b.call(i,a[e],e,a);return c}fu" "nction ha(a,b){for(var c in a)if(b.call(i,a[c],c,a))return c};function x(" "a,b){w.call(this,b);this.code=a;this.name=y[a]||y[13]}v(x,w);var y,ia={No" "SuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementR" "eferenceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Un" "knownError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWind" "owError:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDia" "logOpenedError:26,ModalDialogOpenError:27,ScriptTimeoutError:28},ja={},z;" "for(z in ia)ja[ia[z]]=z;y=ja;\nx.prototype.toString=function(){return\"[" "\"+this.name+\"] \"+this.message};function ka(a){for(var b=1;bb)return 1;retur" "n 0};function B(a,b){b.unshift(a);w.call(this,ka.apply(l,b));b.shift();th" "is.B=a}v(B,w);B.prototype.name=\"AssertionError\";function na(a,b){if(!a)" "{var c=Array.prototype.slice.call(arguments,2),e=\"Assertion failed\";if(" "b){e+=\": \"+b;var f=c}throw new B(\"\"+e,f||[]);}};var oa=Array.prototyp" "e;function pa(a,b){if(t(a)){if(!t(b)||b.length!=1)return-1;return a.index" "Of(b,0)}for(var c=0;cthis.r)throw Error(\"[goog.structs.SimplePool] Initial cannot be " "greater than max\");for(var c=0;c=0),h;xa=funct" "ion(a){h=a};if(d){L=function(a){K(j,a)};M=function(){return k.getObject()" "};N=function(a){K(k,a)};O=function(){K(g,c())};P=function(a){K(o,a)};Q=fu" "nction(){return m.getObject()};R=function(a){K(m,a)};var j=new I(0,600);j" ".a=a;var k=new I(0,600);k.a=b;var g=new I(0,600);g.a=c;var o=new I(0,600)" ";\no.a=e;var m=new I(0,600);m.a=f}else L=q,M=b,P=O=N=q,Q=f,R=q})();var S=" "{},T={},U={},V={};function ya(a,b,c,e){if(!e.h&&e.s){for(var f=0,d=0;f=0&&(na(g.length!=l),oa.splice.call" "(g,o,1));g.length==0&&delete U[d]}f.f=!0;j.s=!0;ya(h,k,d,j);delete S[e]}}" "}return c}\nxa(function(a,b){if(!S[a])return!0;var c=S[a],e=c.type,f=T;if" "(!(e in f))return!0;var f=f[e],d,h;D===i&&(D=!1);if(D){var j;if(!(j=b))a:" "{j=\"window.event\".split(\".\");for(var k=p;d=j.shift();)if(k[d]!=l)k=k[" "d];else{j=l;break a}j=k}d=j;j=!0 in f;k=!1 in f;if(j){if(d.keyCode<0||d.r" "eturnValue!=i)return!0;a:{var g=!1;if(d.keyCode==0)try{d.keyCode=-1;break" " a}catch(o){g=!0}if(g||d.returnValue==i)d.returnValue=!0}}g=Q();g.i(d,thi" "s);d=!0;try{if(j){for(var m=M(),J=g.currentTarget;J;J=J.parentNode)m.push" "(J);h=\nf[!0];h.e=h.c;for(var s=m.length-1;!g.l&&s>=0&&h.e;s--)g.currentT" "arget=m[s],d&=Aa(h,m[s],e,!0,g);if(k){h=f[!1];h.e=h.c;for(s=0;!g.l&&sb)return 1;return 0};function E(a,b){b.unshift(a);y.call(t" "his,ka.apply(m,b));b.shift();this.B=a}x(E,y);E.prototype.name=\"Assertion" "Error\";function na(a,b){if(!a){var c=Array.prototype.slice.call(argument" "s,2),e=\"Assertion failed\";if(b){e+=\": \"+b;var f=c}throw new E(\"\"+e," "f||[]);}};var oa=Array.prototype;function pa(a,b){if(s(a)){if(!s(b)||b.le" "ngth!=1)return-1;return a.indexOf(b,0)}for(var c=0;cthis.s)throw Error(\"[goog.structs" ".SimplePool] Initial cannot be greater than max\");for(var c=0;c=0),g;xa=function(a){g=a};if(d){N=function(){re" "turn h.getObject()};O=function(a){M(h,a)};P=function(){return k.getObject" "()};Q=function(a){M(k,a)};R=function(){return i.getObject()};S=function()" "{M(i,c())};T=function(){return n.getObject()};ya=function(a){M(n,a)};za=f" "unction(){return l.getObject()};Aa=function(a){M(l,\na)};var h=new L(0,60" "0);h.a=a;var k=new L(0,600);k.a=b;var i=new L(0,600);i.a=c;var n=new L(0," "600);n.a=e;var l=new L(0,600);l.a=f}else N=a,O=q,P=b,Q=q,R=c,S=q,T=e,ya=q" ",za=f,Aa=q})();var U={},V={},W={},Ba={};\nfunction Ca(a,b,c,e,f){if(b)if(" "r(b)==\"array\"){for(var d=0;d=0&&(na(g.length!=m),oa.splice.call(g,h,1));g.l" "ength==0&&delete W[c]}b.f=!0;f.t=!0;Fa(e,d,c,f);delete U[a]}}}\nfunction " "Fa(a,b,c,e){if(!e.j&&e.t){for(var f=0,d=0;f=0&&g.e;t--)i.cu" "rrentTarget=l[t],d&=Ga(g,l[t],e,!0,i);if(k){g=f[!1];g.e=g.b;for(t=0;!i.l&" "&t=" "0&&a.indexOf(\" \",b)==b}function ba(a){for(var b=1;bb)return 1;return 0}var u" "={};function ca(a){return u[a]||(u[a]=String(a).replace(/\\-([a-z])/g,fun" "ction(a,c){return c.toUpperCase()}))};function v(a,b){b.unshift(a);q.call" "(this,ba.apply(k,b));b.shift();this.p=a}o(v,q);v.prototype.name=\"Asserti" "onError\";function w(a,b){if(n(a)){if(!n(b)||b.length!=1)return-1;return " "a.indexOf(b,0)}for(var c=0;c=0}if(d&&(b||c))c=a.querySelectorAll(b+(c?\".\"+c:\"\"));else" " if(c&&a.getElementsByClassName)if(a=a.getElementsByClassName(c),b){d={};" "for(g=e=0;h=a[g];g++)b==h.nodeName&&(d[e++]=h);d.length=e;c=d}else c=a;el" "se if(a=a.getElementsByTagName(b||\"*\"),c){d={};for(g=e=0;h=a[g];g++)b=h" ".className,typeof b.split==\"function\"&&w(b.split(/\\s+/),c)>=0&&(d[e++]" "=h);d.length=e;c=d}else c=a;return c}\nI.prototype.contains=K;function ka" "(a,b){if(typeof a.selectNodes!=\"undefined\"){var c=J(a);typeof c.setProp" "erty!=\"undefined\"&&c.setProperty(\"SelectionLanguage\",\"XPath\");retur" "n a.selectNodes(b)}else if(document.implementation.hasFeature(\"XPath\"," "\"3.0\")){for(var c=J(a),d=c.createNSResolver(c.documentElement),c=c.eval" "uate(b,a,d,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,k),d=[],e=c.snapshotLen" "gth,g=0;g=0;c--)a.parentNode&&a.parentNode.insertBef" "ore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};fun" "ction P(a,b,c,d){N.call(this,a,b,c,k,d)}o(P,N);P.prototype.next=function(" "){do P.m.next.call(this);while(this.d==-1);return this.c};function na(a,b" "){var c=J(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defau" "ltView.getComputedStyle(a,k)))return c[b]||c.getPropertyValue(b);return\"" "\"};function Q(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase(" ")==b)}\nvar oa=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compac" "t\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"defaultsel" "ected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\"" ",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope" "\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"" "novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"re" "quired\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"" "spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction R(a,b){if(8==a.no" "deType)return k;b=b.toLowerCase();if(b==\"style\"){var c=s(a.style.cssTex" "t).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttr" "ibuteNode(b);if(!c)return k;if(w(oa,b)>=0)return\"true\";return c.specifi" "ed?c.value:k}function S(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeTyp" "e!=9&&a.nodeType!=11;)a=a.parentNode;return Q(a)?a:k}function T(a,b){b=ca" "(String(b));return na(a,b)||pa(a,b)}\nfunction pa(a,b){var c=(a.currentSt" "yle||a.style)[b];if(c!=\"inherit\")return c!==i?c:k;return(c=S(a))?pa(c,b" "):k}\nfunction qa(a){if(m(a.getBBox)==\"function\")return a.getBBox();var" " b;if((na(a,\"display\")||(a.currentStyle?a.currentStyle.display:k)||a.st" "yle.display)!=\"none\")b=new G(a.offsetWidth,a.offsetHeight);else{b=a.sty" "le;var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b." "position=\"absolute\";b.display=\"inline\";var g=a.offsetWidth,a=a.offset" "Height;b.display=c;b.position=e;b.visibility=d;b=new G(g,a)}return b}\nfu" "nction U(a){function b(a){if(T(a,\"display\")==\"none\")return!1;a=S(a);r" "eturn!a||b(a)}function c(a){var b=qa(a);if(b.height>0&&b.width>0)return!0" ";if(a.innerText||a.textContent)if(V.test(a.innerText||a.textContent))retu" "rn!0;return C&&da(a.childNodes,function(a){return Q(a)&&c(a)})}Q(a)||f(Er" "ror(\"Argument to isShown must be of type Element\"));if(Q(a,\"TITLE\"))r" "eturn(J(a)?J(a).parentWindow||J(a).defaultView:window)==p;if(Q(a,\"OPTION" "\")||Q(a,\"OPTGROUP\")){var d=ja(a,function(a){return Q(a,\"SELECT\")});r" "eturn!!d&&\nU(d)}if(Q(a,\"MAP\")){if(!a.name)return!1;d=J(a);d=d.evaluate" "?la.b('/descendant::*[@usemap = \"#'+a.name+'\"]',d):ha(d,function(b){ret" "urn Q(b)&&R(b,\"usemap\")==\"#\"+a.name});return!!d&&U(d)}if(Q(a,\"AREA\"" "))return d=ja(a,function(a){return Q(a,\"MAP\")}),!!d&&U(d);if(Q(a,\"INPU" "T\")&&a.type.toLowerCase()==\"hidden\")return!1;if(T(a,\"visibility\")==" "\"hidden\")return!1;if(!b(a))return!1;if(ra(a)==0)return!1;if(!c(a))retur" "n!1;return!0}\nfunction sa(a){var b=[];xa(a,b);for(var c=b,a=c.length,b=A" "rray(a),c=n(c)?c.split(\"\"):c,d=0;d=0);d&&b[b.length-1]&&!V.test(b[b" ".length-1])&&b.push(\"\");var e=U(a);if(e)var g=T(a,\"white-space\"),h=T(" "a,\"text-transform\");z(a.childNodes,function(a){a.nodeType==3&&e?za(a,b," "g,h):Q(a)&&xa(a,b)});var j=b[b.length-1];c==\"table-cell\"&&j&&!r(j)&&(b[" "b.length-1]+=\" \");d&&j&&!V.test(j)&&b.push(\"\")}}\nvar ya=[\"inline\"," "\"inline-block\",\"inline-table\",\"none\",\"table-cell\",\"table-column" "\",\"table-column-group\"],Aa=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+" "\"]+\",Ba=RegExp(Aa,\"g\"),V=RegExp(\"^\"+Aa+\"$\");\nfunction za(a,b,c,d" "){a=a.nodeValue.replace(/(\\r\\n|\\r|\\n)/g,\"\\n\");a=a.replace(/\\u200b" "/g,\"\");c==\"normal\"||c==\"nowrap\"?a=a.replace(Ba,\" \"):c==\"pre-line" "\"&&(a=a.replace(/\\xa0|[ \\t]+/g,\" \"));a=a.replace(/\\xa0|\\t/g,\" \")" ";d==\"capitalize\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c" ".toUpperCase()}):d==\"uppercase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=" "a.toLowerCase());c=b.pop()||\"\";r(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.su" "bstr(1));b.push(c+a)}\nfunction ra(a){var b=1,c=T(a,\"opacity\");c&&(b=Nu" "mber(c));(a=S(a))&&(b*=ra(a));return b};var W={},X={};W.i=function(a,b,c)" "{b=L(H(b),\"A\",k,b);return B(b,function(b){b=sa(b);return c&&b.indexOf(a" ")!=-1||b==a})};W.h=function(a,b,c){b=L(H(b),\"A\",k,b);return A(b,functio" "n(b){b=sa(b);return c&&b.indexOf(a)!=-1||b==a})};W.b=function(a,b){return" " W.i(a,b,!1)};W.e=function(a,b){return W.h(a,b,!1)};X.b=function(a,b){ret" "urn W.i(a,b,!0)};X.e=function(a,b){return W.h(a,b,!0)};var Ca={className:" "{b:function(a,b){a||f(Error(\"No class name specified\"));a=s(a);a.split(" "/\\s+/).length>1&&f(Error(\"Compound class names not permitted\"));var c=" "L(H(b),\"*\",a,b);return c.length?c[0]:k},e:function(a,b){a||f(Error(\"No" " class name specified\"));a=s(a);a.split(/\\s+/).length>1&&f(Error(\"Comp" "ound class names not permitted\"));return L(H(b),\"*\",a,b)}},css:{b:func" "tion(a,b){a||f(Error(\"No selector specified\"));a.split(/,/).length>1&&f" "(Error(\"Compound selectors not permitted\"));var a=s(a),c=b.querySelecto" "r(a);\nreturn c&&c.nodeType==1?c:k},e:function(a,b){a||f(Error(\"No selec" "tor specified\"));a.split(/,/).length>1&&f(Error(\"Compound selectors not" " permitted\"));a=s(a);return b.querySelectorAll(a)}},id:{b:function(a,b){" "var c=H(b),d=n(a)?c.g.getElementById(a):a;if(!d)return k;if(R(d,\"id\")==" "a&&K(b,d))return d;c=L(c,\"*\");return B(c,function(c){return R(c,\"id\")" "==a&&K(b,c)})},e:function(a,b){var c=L(H(b),\"*\",k,b);return A(c,functio" "n(b){return R(b,\"id\")==a})}},linkText:W,name:{b:function(a,b){var c=L(H" "(b),\"*\",k,b);\nreturn B(c,function(b){return R(b,\"name\")==a})},e:func" "tion(a,b){var c=L(H(b),\"*\",k,b);return A(c,function(b){return R(b,\"nam" "e\")==a})}},partialLinkText:X,tagName:{b:function(a,b){return L(H(b),a,k," "b)[0]||k},e:function(a,b){return L(H(b),a,k,b)}},xpath:la};function Da(a," "b){var c;a:{for(c in a)if(!Object.prototype[c])break a;c=k}if(c){var d=Ca" "[c];if(d&&m(d.b)==\"function\")return d.b(a[c],b||p.document)}f(Error(\"U" "nsupported locator strategy: \"+c))}var Y=\"_\".split(\".\"),Z=l;!(Y[0]in" " Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.s" "hift());)!Y.length&&Da!==i?Z[$]=Da:Z=Z[$]?Z[$]:Z[$]={};; return this._.ap" "ply(null,arguments);}.apply({navigator:typeof window!='undefined'?window." "navigator:null}, arguments);}"; const char* const FIND_ELEMENTS = "function(){return function(){function f(a){throw a;}var i=void 0,k=null,l" "=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(a){if(a instance" "of Array)return\"array\";else if(a instanceof Object)return b;var c=Objec" "t.prototype.toString.call(a);if(c==\"[object Window]\")return\"object\";i" "f(c==\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"" "undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsE" "numerable(\"splice\"))return\"array\";if(c==\"[object Function]\"||typeof" " a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a." "propertyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\ne" "lse if(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";ret" "urn b}function n(a){return typeof a==\"string\"}function o(a,b){function " "c(){}c.prototype=b.prototype;a.m=b.prototype;a.prototype=new c};var p=win" "dow;function aa(){var a=l.Components;if(!a)return!1;try{return a.n[\"@moz" "illa.org/uuid-generator;1\"].o(a.l.r),!0}catch(b){return!1}};function q(a" "){this.stack=Error().stack||\"\";if(a)this.message=String(a)}o(q,Error);q" ".prototype.name=\"CustomError\";function r(a){var b=a.length-1;return b>=" "0&&a.indexOf(\" \",b)==b}function ba(a){for(var b=1;bb)return 1;return 0}var u" "={};function ca(a){return u[a]||(u[a]=String(a).replace(/\\-([a-z])/g,fun" "ction(a,c){return c.toUpperCase()}))};function v(a,b){b.unshift(a);q.call" "(this,ba.apply(k,b));b.shift();this.p=a}o(v,q);v.prototype.name=\"Asserti" "onError\";function w(a,b){if(n(a)){if(!n(b)||b.length!=1)return-1;return " "a.indexOf(b,0)}for(var c=0;c=0}if(d&&(b||c))c=a.querySelectorAll(b+(c?\".\"+c:\"\"));else" " if(c&&a.getElementsByClassName)if(a=a.getElementsByClassName(c),b){d={};" "for(g=e=0;h=a[g];g++)b==h.nodeName&&(d[e++]=h);d.length=e;c=d}else c=a;el" "se if(a=a.getElementsByTagName(b||\"*\"),c){d={};for(g=e=0;h=a[g];g++)b=h" ".className,typeof b.split==\"function\"&&w(b.split(/\\s+/),c)>=0&&(d[e++]" "=h);d.length=e;c=d}else c=a;return c}\nI.prototype.contains=K;function ka" "(a,b){if(typeof a.selectNodes!=\"undefined\"){var c=J(a);typeof c.setProp" "erty!=\"undefined\"&&c.setProperty(\"SelectionLanguage\",\"XPath\");retur" "n a.selectNodes(b)}else if(document.implementation.hasFeature(\"XPath\"," "\"3.0\")){for(var c=J(a),d=c.createNSResolver(c.documentElement),c=c.eval" "uate(b,a,d,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,k),d=[],e=c.snapshotLen" "gth,g=0;g=0;c--)a.parentNode&&a.parentNode.insertBef" "ore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};fun" "ction P(a,b,c,d){N.call(this,a,b,c,k,d)}o(P,N);P.prototype.next=function(" "){do P.m.next.call(this);while(this.e==-1);return this.c};function na(a,b" "){var c=J(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defau" "ltView.getComputedStyle(a,k)))return c[b]||c.getPropertyValue(b);return\"" "\"};function Q(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase(" ")==b)}\nvar oa=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compac" "t\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"defaultsel" "ected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\"" ",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope" "\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"" "novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"re" "quired\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"" "spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction R(a,b){if(8==a.no" "deType)return k;b=b.toLowerCase();if(b==\"style\"){var c=s(a.style.cssTex" "t).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttr" "ibuteNode(b);if(!c)return k;if(w(oa,b)>=0)return\"true\";return c.specifi" "ed?c.value:k}function S(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeTyp" "e!=9&&a.nodeType!=11;)a=a.parentNode;return Q(a)?a:k}function T(a,b){b=ca" "(String(b));return na(a,b)||pa(a,b)}\nfunction pa(a,b){var c=(a.currentSt" "yle||a.style)[b];if(c!=\"inherit\")return c!==i?c:k;return(c=S(a))?pa(c,b" "):k}\nfunction qa(a){if(m(a.getBBox)==\"function\")return a.getBBox();var" " b;if((na(a,\"display\")||(a.currentStyle?a.currentStyle.display:k)||a.st" "yle.display)!=\"none\")b=new G(a.offsetWidth,a.offsetHeight);else{b=a.sty" "le;var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b." "position=\"absolute\";b.display=\"inline\";var g=a.offsetWidth,a=a.offset" "Height;b.display=c;b.position=e;b.visibility=d;b=new G(g,a)}return b}\nfu" "nction U(a){function b(a){if(T(a,\"display\")==\"none\")return!1;a=S(a);r" "eturn!a||b(a)}function c(a){var b=qa(a);if(b.height>0&&b.width>0)return!0" ";if(a.innerText||a.textContent)if(V.test(a.innerText||a.textContent))retu" "rn!0;return C&&da(a.childNodes,function(a){return Q(a)&&c(a)})}Q(a)||f(Er" "ror(\"Argument to isShown must be of type Element\"));if(Q(a,\"TITLE\"))r" "eturn(J(a)?J(a).parentWindow||J(a).defaultView:window)==p;if(Q(a,\"OPTION" "\")||Q(a,\"OPTGROUP\")){var d=ja(a,function(a){return Q(a,\"SELECT\")});r" "eturn!!d&&\nU(d)}if(Q(a,\"MAP\")){if(!a.name)return!1;d=J(a);d=d.evaluate" "?la.d('/descendant::*[@usemap = \"#'+a.name+'\"]',d):ha(d,function(b){ret" "urn Q(b)&&R(b,\"usemap\")==\"#\"+a.name});return!!d&&U(d)}if(Q(a,\"AREA\"" "))return d=ja(a,function(a){return Q(a,\"MAP\")}),!!d&&U(d);if(Q(a,\"INPU" "T\")&&a.type.toLowerCase()==\"hidden\")return!1;if(T(a,\"visibility\")==" "\"hidden\")return!1;if(!b(a))return!1;if(ra(a)==0)return!1;if(!c(a))retur" "n!1;return!0}\nfunction sa(a){var b=[];xa(a,b);for(var c=b,a=c.length,b=A" "rray(a),c=n(c)?c.split(\"\"):c,d=0;d=0);d&&b[b.length-1]&&!V.test(b[b" ".length-1])&&b.push(\"\");var e=U(a);if(e)var g=T(a,\"white-space\"),h=T(" "a,\"text-transform\");z(a.childNodes,function(a){a.nodeType==3&&e?za(a,b," "g,h):Q(a)&&xa(a,b)});var j=b[b.length-1];c==\"table-cell\"&&j&&!r(j)&&(b[" "b.length-1]+=\" \");d&&j&&!V.test(j)&&b.push(\"\")}}\nvar ya=[\"inline\"," "\"inline-block\",\"inline-table\",\"none\",\"table-cell\",\"table-column" "\",\"table-column-group\"],Aa=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+" "\"]+\",Ba=RegExp(Aa,\"g\"),V=RegExp(\"^\"+Aa+\"$\");\nfunction za(a,b,c,d" "){a=a.nodeValue.replace(/(\\r\\n|\\r|\\n)/g,\"\\n\");a=a.replace(/\\u200b" "/g,\"\");c==\"normal\"||c==\"nowrap\"?a=a.replace(Ba,\" \"):c==\"pre-line" "\"&&(a=a.replace(/\\xa0|[ \\t]+/g,\" \"));a=a.replace(/\\xa0|\\t/g,\" \")" ";d==\"capitalize\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c" ".toUpperCase()}):d==\"uppercase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=" "a.toLowerCase());c=b.pop()||\"\";r(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.su" "bstr(1));b.push(c+a)}\nfunction ra(a){var b=1,c=T(a,\"opacity\");c&&(b=Nu" "mber(c));(a=S(a))&&(b*=ra(a));return b};var W={},X={};W.i=function(a,b,c)" "{b=L(H(b),\"A\",k,b);return B(b,function(b){b=sa(b);return c&&b.indexOf(a" ")!=-1||b==a})};W.h=function(a,b,c){b=L(H(b),\"A\",k,b);return A(b,functio" "n(b){b=sa(b);return c&&b.indexOf(a)!=-1||b==a})};W.d=function(a,b){return" " W.i(a,b,!1)};W.b=function(a,b){return W.h(a,b,!1)};X.d=function(a,b){ret" "urn W.i(a,b,!0)};X.b=function(a,b){return W.h(a,b,!0)};var Ca={className:" "{d:function(a,b){a||f(Error(\"No class name specified\"));a=s(a);a.split(" "/\\s+/).length>1&&f(Error(\"Compound class names not permitted\"));var c=" "L(H(b),\"*\",a,b);return c.length?c[0]:k},b:function(a,b){a||f(Error(\"No" " class name specified\"));a=s(a);a.split(/\\s+/).length>1&&f(Error(\"Comp" "ound class names not permitted\"));return L(H(b),\"*\",a,b)}},css:{d:func" "tion(a,b){a||f(Error(\"No selector specified\"));a.split(/,/).length>1&&f" "(Error(\"Compound selectors not permitted\"));var a=s(a),c=b.querySelecto" "r(a);\nreturn c&&c.nodeType==1?c:k},b:function(a,b){a||f(Error(\"No selec" "tor specified\"));a.split(/,/).length>1&&f(Error(\"Compound selectors not" " permitted\"));a=s(a);return b.querySelectorAll(a)}},id:{d:function(a,b){" "var c=H(b),d=n(a)?c.g.getElementById(a):a;if(!d)return k;if(R(d,\"id\")==" "a&&K(b,d))return d;c=L(c,\"*\");return B(c,function(c){return R(c,\"id\")" "==a&&K(b,c)})},b:function(a,b){var c=L(H(b),\"*\",k,b);return A(c,functio" "n(b){return R(b,\"id\")==a})}},linkText:W,name:{d:function(a,b){var c=L(H" "(b),\"*\",k,b);\nreturn B(c,function(b){return R(b,\"name\")==a})},b:func" "tion(a,b){var c=L(H(b),\"*\",k,b);return A(c,function(b){return R(b,\"nam" "e\")==a})}},partialLinkText:X,tagName:{d:function(a,b){return L(H(b),a,k," "b)[0]||k},b:function(a,b){return L(H(b),a,k,b)}},xpath:la};function Da(a," "b){var c;a:{for(c in a)if(!Object.prototype[c])break a;c=k}if(c){var d=Ca" "[c];if(d&&m(d.b)==\"function\")return d.b(a[c],b||p.document)}f(Error(\"U" "nsupported locator strategy: \"+c))}var Y=\"_\".split(\".\"),Z=l;!(Y[0]in" " Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.s" "hift());)!Y.length&&Da!==i?Z[$]=Da:Z=Z[$]?Z[$]:Z[$]={};; return this._.ap" "ply(null,arguments);}.apply({navigator:typeof window!='undefined'?window." "navigator:null}, arguments);}"; const char* const GET_ATTRIBUTE = "function(){return function(){var f=null;\nfunction g(a){var c=typeof a;if" "(c==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a inst" "anceof Object)return c;var b=Object.prototype.toString.call(a);if(b==\"[o" "bject Window]\")return\"object\";if(b==\"[object Array]\"||typeof a.lengt" "h==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIsEnumera" "ble!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"array\";i" "f(b==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof a.proper" "tyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"" "function\"}else return\"null\";else if(c==\n\"function\"&&typeof a.call==" "\"undefined\")return\"object\";return c}function h(a,c){function b(){}b.p" "rototype=c.prototype;a.g=c.prototype;a.prototype=new b};function i(a){thi" "s.stack=Error().stack||\"\";if(a)this.message=String(a)}h(i,Error);functi" "on j(a){for(var c=1;c=0;b--)a.parentNode&&a.parentNode.insertBefore(c[b],a." "nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function p(a,c" ",b,d){n.call(this,a,c,b,f,d)}h(p,n);p.prototype.next=function(){do p.g.ne" "xt.call(this);while(this.c==-1);return this.b};var q={\"class\":\"classNa" "me\",readonly:\"readOnly\"},r=[\"checked\",\"disabled\",\"draggable\",\"h" "idden\"];function s(a,c){var b=q[c]||c,d=a[b];if(d===void 0&&k(r,b)>=0)re" "turn!1;return d}\nvar t=[\"async\",\"autofocus\",\"autoplay\",\"checked\"" ",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"d" "efaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnov" "alidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"" "itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"nos" "hade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readon" "ly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"sele" "cted\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction u(a,c){i" "f(8==a.nodeType)return f;c=c.toLowerCase();if(c==\"style\"){var b=a.style" ".cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase();return " "b.charAt(b.length-1)==\";\"?b:b+\";\"}b=a.getAttributeNode(c);if(!b)retur" "n f;if(k(t,c)>=0)return\"true\";return b.specified?b.value:f};var v=[\"ch" "eckbox\",\"radio\"];function w(a){var c=a.tagName.toUpperCase();if(c==\"O" "PTION\")return!0;if(c==\"INPUT\"&&k(v,a.type)>=0)return!0;return!1};funct" "ion x(a,c){var b=f,d=c.toLowerCase();if(\"style\"==c.toLowerCase()){if((b" "=a.style)&&typeof b!=\"string\")b=b.cssText;return b}if(\"selected\"==d||" "\"checked\"==d&&w(a)){var e;if(w(a)){e=\"selected\";d=a.type&&a.type.toLo" "werCase();if(\"checkbox\"==d||\"radio\"==d)e=\"checked\";e=!!a[e]}else e=" "!1;return e?\"true\":f}b=a.tagName&&\"A\"==a.tagName.toUpperCase();if(a.t" "agName&&\"IMG\"==a.tagName.toUpperCase()&&d==\"src\"||b&&d==\"href\")retu" "rn(b=u(a,d))&&(b=s(a,d)),b;try{e=s(a,c)}catch(B){}if(!(d=e==f))d=g(e),d=d" "==\"object\"||\nd==\"array\"||d==\"function\";b=d?u(a,c):e;return b!=f?b." "toString():f}var y=\"_\".split(\".\"),z=this;!(y[0]in z)&&z.execScript&&z" ".execScript(\"var \"+y[0]);for(var A;y.length&&(A=y.shift());)!y.length&&" "x!==void 0?z[A]=x:z=z[A]?z[A]:z[A]={};; return this._.apply(null,argument" "s);}.apply({navigator:typeof window!='undefined'?window.navigator:null}, " "arguments);}"; const char* const GET_EFFECTIVE_STYLE = "function(){return function(){var e=null;function f(a,c){function b(){}b.p" "rototype=c.prototype;a.g=c.prototype;a.prototype=new b};function g(a){thi" "s.stack=Error().stack||\"\";if(a)this.message=String(a)}f(g,Error);functi" "on h(a){for(var c=1;ca.clientWidth||a.scrollHeight>a.clientHeigh" "t||e==\"fixed\"||e==\"absolute\"||e==\"relative\"))return a;return null};" "function q(a){var b=m(a),e=o(a),c=new l(0,0),f=(b?b.nodeType==9?b:m(b):do" "cument).documentElement;if(a==f)return c;if(a.getBoundingClientRect)a=a.g" "etBoundingClientRect(),f=(b?new n(m(b)):k||(k=new n)).a,b=f.body,f=f.pare" "ntWindow||f.defaultView,b=new l(f.pageXOffset||b.scrollLeft,f.pageYOffset" "||b.scrollTop),c.x=a.left+b.x,c.y=a.top+b.y;else if(b.getBoxObjectFor)a=b" ".getBoxObjectFor(a),b=b.getBoxObjectFor(f),c.x=a.screenX-b.screenX,c.y=a." "screenY-b.screenY;else{var d=a;do{c.x+=d.offsetLeft;c.y+=d.offsetTop;\nd!" "=a&&(c.x+=d.clientLeft||0,c.y+=d.clientTop||0);if(o(d)==\"fixed\"){c.x+=b" ".body.scrollLeft;c.y+=b.body.scrollTop;break}d=d.offsetParent}while(d&&d!" "=a);e==\"absolute\"&&(c.y-=b.body.offsetTop);for(d=a;(d=p(d))&&d!=b.body&" "&d!=f;)c.x-=d.scrollLeft,c.y-=d.scrollTop}return c}var r=\"_\".split(\"." "\"),s=g;!(r[0]in s)&&s.execScript&&s.execScript(\"var \"+r[0]);for(var t;" "r.length&&(t=r.shift());)!r.length&&q!==void 0?s[t]=q:s=s[t]?s[t]:s[t]={}" ";; return this._.apply(null,arguments);}.apply({navigator:typeof window!=" "'undefined'?window.navigator:null}, arguments);}"; const char* const GET_LOCATION_IN_VIEW = "function(){return function(){var i=void 0,k=null,l=this;\nfunction m(a){v" "ar b=typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array" "\";else if(a instanceof Object)return b;var c=Object.prototype.toString.c" "all(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Array]" "\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a" ".propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\")" ")return\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined" "\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable" "(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"function" "\"&&typeof a.call==\"undefined\")return\"object\";return b}function o(a,b" "){function c(){}c.prototype=b.prototype;a.i=b.prototype;a.prototype=new c" "};function p(a){this.stack=Error().stack||\"\";if(a)this.message=String(a" ")}o(p,Error);function q(a){for(var b=1;bb)return 1;return 0};o(function(" "a,b){b.unshift(a);p.call(this,q.apply(k,b));b.shift();this.j=a},p);var s," "t=\"\",x=/WebKit\\/(\\S+)/.exec(l.navigator?l.navigator.userAgent:k);s=t=" "x?x[1]:\"\";var y={};var z;function A(a,b){this.x=a!==i?a:0;this.y=b!==i?" "b:0}A.prototype.toString=function(){return\"(\"+this.x+\", \"+this.y+\")" "\"};function B(a,b){this.width=a;this.height=b}B.prototype.toString=funct" "ion(){return\"(\"+this.width+\" x \"+this.height+\")\"};function E(a){ret" "urn a?new F(G(a)):z||(z=new F)}function G(a){return a.nodeType==9?a:a.own" "erDocument||a.document}function F(a){this.e=a||l.document||document}funct" "ion H(a){var b=a.e,a=b.body,b=b.parentWindow||b.defaultView;return new A(" "b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)};var I=\"StopIter" "ation\"in l?l.StopIteration:Error(\"StopIteration\");function J(){}J.prot" "otype.next=function(){throw I;};function K(a,b,c,e,f){this.a=!!b;a&&L(thi" "s,a,e);this.d=f!=i?f:this.c||0;this.a&&(this.d*=-1);this.h=!c}o(K,J);K.pr" "ototype.b=k;K.prototype.c=0;K.prototype.g=!1;function L(a,b,c){if(a.b=b)a" ".c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1}\nK.prototype.next=f" "unction(){var a;if(this.g){if(!this.b||this.h&&this.d==0)throw I;a=this.b" ";var b=this.a?-1:1;if(this.c==b){var c=this.a?a.lastChild:a.firstChild;c?" "L(this,c):L(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextSibling)?L" "(this,c):L(this,a.parentNode,b*-1);this.d+=this.c*(this.a?-1:1)}else this" ".g=!0;a=this.b;if(!this.b)throw I;return a};\nK.prototype.splice=function" "(){var a=this.b,b=this.a?1:-1;if(this.c==b)this.c=b*-1,this.d+=this.c*(th" "is.a?-1:1);this.a=!this.a;K.prototype.next.call(this);this.a=!this.a;for(" "var b=arguments[0],c=m(b),b=c==\"array\"||c==\"object\"&&typeof b.length=" "=\"number\"?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a." "parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode" ".removeChild(a)};function M(a,b,c,e){K.call(this,a,b,c,k,e)}o(M,K);M.prot" "otype.next=function(){do M.i.next.call(this);while(this.c==-1);return thi" "s.b};function N(a,b,c,e){this.top=a;this.right=b;this.bottom=c;this.left=" "e}N.prototype.toString=function(){return\"(\"+this.top+\"t, \"+this.right" "+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};function O(a,b,c,e){this.l" "eft=a;this.top=b;this.width=c;this.height=e}O.prototype.toString=function" "(){return\"(\"+this.left+\", \"+this.top+\" - \"+this.width+\"w x \"+this" ".height+\"h)\"};function P(a,b){var c=G(a);if(c.defaultView&&c.defaultVie" "w.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k)))return c[b]||" "c.getPropertyValue(b);return\"\"}function Q(a){return P(a,\"position\")||" "(a.currentStyle?a.currentStyle.position:k)||a.style.position}\nfunction R" "(a){for(var b=G(a),c=Q(a),e=c==\"fixed\"||c==\"absolute\",a=a.parentNode;" "a&&a!=b;a=a.parentNode)if(c=Q(a),e=e&&c==\"static\"&&a!=b.documentElement" "&&a!=b.body,!e&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeig" "ht||c==\"fixed\"||c==\"absolute\"||c==\"relative\"))return a;return k}\nf" "unction S(a){var b=G(a),c=Q(a),e=new A(0,0),f=(b?b.nodeType==9?b:G(b):doc" "ument).documentElement;if(a==f)return e;if(a.getBoundingClientRect)a=a.ge" "tBoundingClientRect(),b=H(E(b)),e.x=a.left+b.x,e.y=a.top+b.y;else if(b.ge" "tBoxObjectFor)a=b.getBoxObjectFor(a),b=b.getBoxObjectFor(f),e.x=a.screenX" "-b.screenX,e.y=a.screenY-b.screenY;else{var d=a;do{e.x+=d.offsetLeft;e.y+" "=d.offsetTop;d!=a&&(e.x+=d.clientLeft||0,e.y+=d.clientTop||0);if(Q(d)==\"" "fixed\"){e.x+=b.body.scrollLeft;e.y+=b.body.scrollTop;break}d=d.offsetPar" "ent}while(d&&\nd!=a);c==\"absolute\"&&(e.y-=b.body.offsetTop);for(d=a;(d=" "R(d))&&d!=b.body&&d!=f;)e.x-=d.scrollLeft,e.y-=d.scrollTop}return e};func" "tion T(a,b){b.scrollLeft+=Math.min(a.left,Math.max(a.left-a.width,0));b.s" "crollTop+=Math.min(a.top,Math.max(a.top-a.height,0))};function U(a,b){var" " c;c=b?new O(b.left,b.top,b.width,b.height):new O(0,0,a.offsetWidth,a.off" "setHeight);for(var e=G(a),f=a.parentNode;f&&f!=e.body&&f!=e.documentEleme" "nt;){var d=c,g=f,h=S(a),u=S(g),j=i,C=j=i,n=i,D=i,D=P(g,\"borderLeftWidth" "\"),n=P(g,\"borderRightWidth\"),C=P(g,\"borderTopWidth\"),j=P(g,\"borderB" "ottomWidth\"),j=new N(parseFloat(C),parseFloat(n),parseFloat(j),parseFloa" "t(D));T(new O(h.x+d.left-u.x-j.left,h.y+d.top-u.y-j.top,g.clientWidth-d.w" "idth,g.clientHeight-d.height),g);f=f.parentNode}f=S(a);\nd=E(e);d=d.e.par" "entWindow||d.e.defaultView||window;g=d.document;if(h=!y[\"500\"]){h=0;u=S" "tring(s).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\");j=String" "(\"500\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\");C=Math." "max(u.length,j.length);for(n=0;h==0&&n=0)}h?(typeof d.innerHeight" "==\"undefined\"&&(d=window),g=d.innerHeight,h=d.document.documentElement." "scrollHeight,d==d.top&&h=0&&a.indexOf(\" \",b)" "==b}function r(a){for(var b=1;b=0;c--)a.parentNode&&a.parentNode.inser" "tBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)}" ";function M(a,b,c,d){K.call(this,a,b,c,g,d)}m(M,K);M.prototype.next=funct" "ion(){do M.h.next.call(this);while(this.c==-1);return this.b};function N(" "a,b){var c=D(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.de" "faultView.getComputedStyle(a,g)))return c[b]||c.getPropertyValue(b);retur" "n\"\"};function O(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCa" "se()==b)}\nvar aa=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"com" "pact\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"default" "selected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidat" "e\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemsc" "ope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\"" ",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\"," "\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected" "\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction ba(a){var b;" "if(8==a.nodeType)return g;b=\"usemap\";if(b==\"style\")return b=s(a.style" ".cssText).toLowerCase(),b.charAt(b.length-1)==\";\"?b:b+\";\";a=a.getAttr" "ibuteNode(b);if(!a)return g;if(w(aa,b)>=0)return\"true\";return a.specifi" "ed?a.value:g}function P(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeTyp" "e!=9&&a.nodeType!=11;)a=a.parentNode;return O(a)?a:g}function Q(a,b){b=u(" "String(b));return N(a,b)||R(a,b)}\nfunction R(a,b){var c=(a.currentStyle|" "|a.style)[b];if(c!=\"inherit\")return c!==f?c:g;return(c=P(a))?R(c,b):g}" "\nfunction ca(a){if(k(a.getBBox)==\"function\")return a.getBBox();var b;i" "f((N(a,\"display\")||(a.currentStyle?a.currentStyle.display:g)||a.style.d" "isplay)!=\"none\")b=new C(a.offsetWidth,a.offsetHeight);else{b=a.style;va" "r c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b.posit" "ion=\"absolute\";b.display=\"inline\";var i=a.offsetWidth,a=a.offsetHeigh" "t;b.display=c;b.position=e;b.visibility=d;b=new C(i,a)}return b}\nfunctio" "n S(a){function b(a){if(Q(a,\"display\")==\"none\")return!1;a=P(a);return" "!a||b(a)}function c(a){var b=ca(a);if(b.height>0&&b.width>0)return!0;if(a" ".innerText||a.textContent)if(T.test(a.innerText||a.textContent))return!0;" "return A&&y(a.childNodes,function(a){return O(a)&&c(a)})}if(!O(a))throw E" "rror(\"Argument to isShown must be of type Element\");if(O(a,\"TITLE\"))r" "eturn(D(a)?D(a).parentWindow||D(a).defaultView:window)==n;if(O(a,\"OPTION" "\")||O(a,\"OPTGROUP\")){var d=G(a,function(a){return O(a,\"SELECT\")});\n" "return!!d&&S(d)}if(O(a,\"MAP\")){if(!a.name)return!1;d=D(a);d=d.evaluate?" "H('/descendant::*[@usemap = \"#'+a.name+'\"]',d):E(d,function(b){return O" "(b)&&ba(b)==\"#\"+a.name});return!!d&&S(d)}if(O(a,\"AREA\"))return d=G(a," "function(a){return O(a,\"MAP\")}),!!d&&S(d);if(O(a,\"INPUT\")&&a.type.toL" "owerCase()==\"hidden\")return!1;if(Q(a,\"visibility\")==\"hidden\")return" "!1;if(!b(a))return!1;if(U(a)==0)return!1;if(!c(a))return!1;return!0}\nfun" "ction V(a,b){if(O(a,\"BR\"))b.push(\"\");else{var c=Q(a,\"display\"),d=!(" "w(da,c)>=0);d&&b[b.length-1]&&!T.test(b[b.length-1])&&b.push(\"\");var e=" "S(a);if(e)var i=Q(a,\"white-space\"),z=Q(a,\"text-transform\");x(a.childN" "odes,function(a){a.nodeType==3&&e?ea(a,b,i,z):O(a)&&V(a,b)});var j=b[b.le" "ngth-1];c==\"table-cell\"&&j&&!q(j)&&(b[b.length-1]+=\" \");d&&j&&!T.test" "(j)&&b.push(\"\")}}\nvar da=[\"inline\",\"inline-block\",\"inline-table\"" ",\"none\",\"table-cell\",\"table-column\",\"table-column-group\"],W=\"[" "\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",fa=RegExp(W,\"g\"),T=RegEx" "p(\"^\"+W+\"$\");\nfunction ea(a,b,c,d){a=a.nodeValue.replace(/(\\r\\n|" "\\r|\\n)/g,\"\\n\");a=a.replace(/\\u200b/g,\"\");c==\"normal\"||c==\"nowr" "ap\"?a=a.replace(fa,\" \"):c==\"pre-line\"&&(a=a.replace(/\\xa0|[ \\t]+/g" ",\" \"));a=a.replace(/\\xa0|\\t/g,\" \");d==\"capitalize\"?a=a.replace(/(" "^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCase()}):d==\"uppercase\"" "?a=a.toUpperCase():d==\"lowercase\"&&(a=a.toLowerCase());c=b.pop()||\"\";" "q(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(1));b.push(c+a)}\nfunction U" "(a){var b=1,c=Q(a,\"opacity\");c&&(b=Number(c));(a=P(a))&&(b*=U(a));retur" "n b};function X(a){var b;a:{for(b=a;b;){if(b.tagName&&b.tagName.toLowerCa" "se()==\"head\"){b=!0;break a}try{b=b.parentNode}catch(c){break}}b=!1}if(b" "){b=D(a);if(a.tagName.toUpperCase()==\"TITLE\"&&(b?b.parentWindow||b.defa" "ultView:window)==n.top)return s(b.title);return\"\"}var d=[];V(a,d);a=d.l" "ength;b=Array(a);for(var d=l(d)?d.split(\"\"):d,e=0;e=0;c--)a.parentNode&&a.parentNod" "e.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeCh" "ild(a)};function H(a,b,c,f){F.call(this,a,b,c,e,f)}i(H,F);H.prototype.nex" "t=function(){do H.h.next.call(this);while(this.c==-1);return this.b};func" "tion I(a,b){var c=y(a);if(c.defaultView&&c.defaultView.getComputedStyle&&" "(c=c.defaultView.getComputedStyle(a,e)))return c[b]||c.getPropertyValue(b" ");return\"\"};function J(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.to" "UpperCase()==b)}\nvar s=[\"async\",\"autofocus\",\"autoplay\",\"checked\"" ",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"d" "efaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnov" "alidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"" "itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"nos" "hade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readon" "ly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"sele" "cted\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction K(a){var" " b;if(8==a.nodeType)return e;b=\"usemap\";if(b==\"style\")return b=a.styl" "e.cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase(),b.char" "At(b.length-1)==\";\"?b:b+\";\";a=a.getAttributeNode(b);if(!a)return e;if" "(r(b)>=0)return\"true\";return a.specified?a.value:e}function L(a){for(a=" "a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentN" "ode;return J(a)?a:e}function M(a,b){b=p(String(b));return I(a,b)||N(a,b)}" "\nfunction N(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")re" "turn c!==void 0?c:e;return(c=L(a))?N(c,b):e}\nfunction O(a){if(h(a.getBBo" "x)==\"function\")return a.getBBox();var b;if((I(a,\"display\")||(a.curren" "tStyle?a.currentStyle.display:e)||a.style.display)!=\"none\")b=new x(a.of" "fsetWidth,a.offsetHeight);else{b=a.style;var c=b.display,f=b.visibility,d" "=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"i" "nline\";var l=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=d;b.v" "isibility=f;b=new x(l,a)}return b}\nfunction P(a,b){function c(a){if(M(a," "\"display\")==\"none\")return!1;a=L(a);return!a||c(a)}function f(a){var b" "=O(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||a.textContent)if(" "Q.test(a.innerText||a.textContent))return!0;return v&&t(a.childNodes,func" "tion(a){return J(a)&&f(a)})}if(!J(a))throw Error(\"Argument to isShown mu" "st be of type Element\");if(J(a,\"TITLE\"))return(y(a)?y(a).parentWindow|" "|y(a).defaultView:window)==j;if(J(a,\"OPTION\")||J(a,\"OPTGROUP\")){var d" "=B(a,function(a){return J(a,\"SELECT\")});\nreturn!!d&&P(d)}if(J(a,\"MAP" "\")){if(!a.name)return!1;d=y(a);d=d.evaluate?C('/descendant::*[@usemap = " "\"#'+a.name+'\"]',d):z(d,function(b){return J(b)&&K(b)==\"#\"+a.name});re" "turn!!d&&P(d)}if(J(a,\"AREA\"))return d=B(a,function(a){return J(a,\"MAP" "\")}),!!d&&P(d);if(J(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")retur" "n!1;if(M(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&" "R(a)==0)return!1;if(!f(a))return!1;return!0}var Q=RegExp(\"^\"+(\"[\\\\s" "\\\\xa0\"+String.fromCharCode(160)+\"]+\")+\"$\");\nfunction R(a){var b=1" ",c=M(a,\"opacity\");c&&(b=Number(c));(a=L(a))&&(b*=R(a));return b};var S=" "P,U=\"_\".split(\".\"),V=g;!(U[0]in V)&&V.execScript&&V.execScript(\"var " "\"+U[0]);for(var W;U.length&&(W=U.shift());)!U.length&&S!==void 0?V[W]=S:" "V=V[W]?V[W]:V[W]={};; return this._.apply(null,arguments);}.apply({naviga" "tor:typeof window!='undefined'?window.navigator:null}, arguments);}"; const char* const IS_ENABLED = "function(){return function(){var d=null;function e(a,b){function c(){}c.p" "rototype=b.prototype;a.g=b.prototype;a.prototype=new c};function f(a){thi" "s.stack=Error().stack||\"\";if(a)this.message=String(a)}e(f,Error);functi" "on g(a){for(var b=1;b=0)return\"tr" "ue\";return a.specified?a.value:d}var n=[\"BUTTON\",\"INPUT\",\"OPTGROUP" "\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction o(a){var b=a.tagName.to" "UpperCase();if(!(h(n,b)>=0))return!0;if(l(a))return!1;if(a.parentNode&&a." "parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return o(a.parentN" "ode);return!0};var p=o,q=\"_\".split(\".\"),r=this;!(q[0]in r)&&r.execScr" "ipt&&r.execScript(\"var \"+q[0]);for(var s;q.length&&(s=q.shift());)!q.le" "ngth&&p!==void 0?r[s]=p:r=r[s]?r[s]:r[s]={};; return this._.apply(null,ar" "guments);}.apply({navigator:typeof window!='undefined'?window.navigator:n" "ull}, arguments);}"; const char* const IS_SELECTED = "function(){return function(){function d(b,a){function c(){}c.prototype=a." "prototype;b.g=a.prototype;b.prototype=new c};function e(b){this.stack=Err" "or().stack||\"\";if(b)this.message=String(b)}d(e,Error);function f(b){for" "(var a=1;a=0?!0:!1;if(!a)return!1;a=\"s" "elected\";var c=b.type&&b.type.toLowerCase();if(\"checkbox\"==c||\"radio" "\"==c)a=\"checked\";return!!b[a]}var m=\"_\".split(\".\"),n=this;!(m[0]in" " n)&&n.execScript&&n.execScript(\"var \"+m[0]);for(var o;m.length&&(o=m.s" "hift());)!m.length&&l!==void 0?n[o]=l:n=n[o]?n[o]:n[o]={};; return this._" ".apply(null,arguments);}.apply({navigator:typeof window!='undefined'?wind" "ow.navigator:null}, arguments);}"; const char* const SET_SELECTED = "function(){return function(){var k=void 0,m=null,n=this;\nfunction p(a){v" "ar b=typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array" "\";else if(a instanceof Object)return b;var c=Object.prototype.toString.c" "all(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Array]" "\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a" ".propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\")" ")return\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined" "\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable" "(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"function" "\"&&typeof a.call==\"undefined\")return\"object\";return b}Math.floor(Mat" "h.random()*2147483648).toString(36);function q(a,b){function c(){}c.proto" "type=b.prototype;a.j=b.prototype;a.prototype=new c};var aa=window;functio" "n ba(){var a=n.Components;if(!a)return!1;try{return a.k[\"@mozilla.org/uu" "id-generator;1\"].n(a.i.q),!0}catch(b){return!1}};function r(a){this.stac" "k=Error().stack||\"\";if(a)this.message=String(a)}q(r,Error);r.prototype." "name=\"CustomError\";function s(a,b){r.call(this,b);this.code=a;this.name" "=t[a]||t[13]}q(s,r);var t,u={NoSuchElementError:7,NoSuchFrameError:8,Unkn" "ownCommandError:9,StaleElementReferenceError:10,ElementNotVisibleError:11" ",InvalidElementStateError:12,UnknownError:13,ElementNotSelectableError:15" ",XPathLookupError:19,NoSuchWindowError:23,InvalidCookieDomainError:24,Una" "bleToSetCookieError:25,ModalDialogOpenedError:26,ModalDialogOpenError:27," "ScriptTimeoutError:28},w={},x;for(x in u)w[u[x]]=x;t=w;\ns.prototype.toSt" "ring=function(){return\"[\"+this.name+\"] \"+this.message};function ca(a)" "{for(var b=1;b=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nex" "tSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function P(a,b,c," "d){N.call(this,a,b,c,m,d)}q(P,N);P.prototype.next=function(){do P.j.next." "call(this);while(this.c==-1);return this.b};function ha(a,b){var c=G(a);i" "f(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComp" "utedStyle(a,m)))return c[b]||c.getPropertyValue(b);return\"\"}function Q(" "a,b){return ha(a,b)||(a.currentStyle?a.currentStyle[b]:m)||a.style[b]}\nf" "unction ia(a){for(var b=G(a),c=Q(a,\"position\"),d=c==\"fixed\"||c==\"abs" "olute\",a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Q(a,\"position\"),d=d&" "&c==\"static\"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clie" "ntWidth||a.scrollHeight>a.clientHeight||c==\"fixed\"||c==\"absolute\"||c=" "=\"relative\"))return a;return m};function R(a,b){return!!a&&a.nodeType==" "1&&(!b||a.tagName.toUpperCase()==b)}\nvar ja={\"class\":\"className\",rea" "donly:\"readOnly\"},ka=[\"checked\",\"disabled\",\"draggable\",\"hidden\"" "],la=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"comp" "lete\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"" "defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden" "\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop" "\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidat" "e\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\"," "\"reversed\",\"scoped\",\"seamless\",\"seeking\",\n\"selected\",\"spellch" "eck\",\"truespeed\",\"willvalidate\"];function ma(a,b){if(8==a.nodeType)r" "eturn m;b=b.toLowerCase();if(b==\"style\"){var c=a.style.cssText.replace(" "/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase();return c.charAt(c.length" "-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(!c)return m;if(A(la,b)>=0" ")return\"true\";return c.specified?c.value:m}var na=[\"BUTTON\",\"INPUT\"" ",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction oa(a){var b=" "a.tagName.toUpperCase();if(!(A(na,b)>=0))return!0;if(ma(a,\"disabled\"))r" "eturn!1;if(a.parentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPT" "ION\"==b)return oa(a.parentNode);return!0}function S(a){for(a=a.parentNod" "e;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return " "R(a)?a:m}function T(a,b){b=da(String(b));return ha(a,b)||pa(a,b)}function" " pa(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==" "k?c:m;return(c=S(a))?pa(c,b):m}\nfunction qa(a){if(p(a.getBBox)==\"functi" "on\")return a.getBBox();var b;if(Q(a,\"display\")!=\"none\")b=new F(a.off" "setWidth,a.offsetHeight);else{b=a.style;var c=b.display,d=b.visibility,e=" "b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"in" "line\";var f=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=e;b.vi" "sibility=d;b=new F(f,a)}return b}\nfunction U(a,b){function c(a){if(T(a," "\"display\")==\"none\")return!1;a=S(a);return!a||c(a)}function d(a){var b" "=qa(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||a.textContent)if" "(ra.test(a.innerText||a.textContent))return!0;return B&&ea(a.childNodes,f" "unction(a){return R(a)&&d(a)})}if(!R(a))throw Error(\"Argument to isShown" " must be of type Element\");if(R(a,\"TITLE\"))return(G(a)?G(a).parentWind" "ow||G(a).defaultView:window)==aa;if(R(a,\"OPTION\")||R(a,\"OPTGROUP\")){v" "ar e=I(a,function(a){return R(a,\"SELECT\")});\nreturn!!e&&U(e)}if(R(a,\"" "MAP\")){if(!a.name)return!1;e=G(a);e=e.evaluate?ga('/descendant::*[@usema" "p = \"#'+a.name+'\"]',e):fa(e,function(b){return R(b)&&ma(b,\"usemap\")==" "\"#\"+a.name});return!!e&&U(e)}if(R(a,\"AREA\"))return e=I(a,function(a){" "return R(a,\"MAP\")}),!!e&&U(e);if(R(a,\"INPUT\")&&a.type.toLowerCase()==" "\"hidden\")return!1;if(T(a,\"visibility\")==\"hidden\")return!1;if(!c(a))" "return!1;if(!b&&sa(a)==0)return!1;if(!d(a))return!1;return!0}var ra=RegEx" "p(\"^\"+(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\")+\"$\");\nfunc" "tion sa(a){var b=1,c=T(a,\"opacity\");c&&(b=Number(c));(a=S(a))&&(b*=sa(a" "));return b};var ta=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseout" "\"];\nfunction V(a,b,c){var d=G(a),e=d?d.parentWindow||d.defaultView:wind" "ow,f=new E;if(a.nodeType==1)if(a.getBoundingClientRect){var l=a.getBoundi" "ngClientRect();f.x=l.left;f.y=l.top}else{l=K(a?new J(G(a)):D||(D=new J));" "var i,g=G(a);i=Q(a,\"position\");var h=new E(0,0),v=(g?g.nodeType==9?g:G(" "g):document).documentElement;if(a!=v)if(a.getBoundingClientRect)i=a.getBo" "undingClientRect(),g=K(g?new J(G(g)):D||(D=new J)),h.x=i.left+g.x,h.y=i.t" "op+g.y;else if(g.getBoxObjectFor)i=g.getBoxObjectFor(a),g=g.getBoxObjectF" "or(v),\nh.x=i.screenX-g.screenX,h.y=i.screenY-g.screenY;else{var j=a;do{h" ".x+=j.offsetLeft;h.y+=j.offsetTop;j!=a&&(h.x+=j.clientLeft||0,h.y+=j.clie" "ntTop||0);if(B&&Q(j,\"position\")==\"fixed\"){h.x+=g.body.scrollLeft;h.y+" "=g.body.scrollTop;break}j=j.offsetParent}while(j&&j!=a);B&&i==\"absolute" "\"&&(h.y-=g.body.offsetTop);for(j=a;(j=ia(j))&&j!=g.body&&j!=v;)h.x-=j.sc" "rollLeft,h.y-=j.scrollTop}f.x=h.x-l.x;f.y=h.y-l.y}else l=p(a.e)==\"functi" "on\",h=a,a.targetTouches?h=a.targetTouches[0]:l&&a.e().targetTouches&&(h=" "a.e().targetTouches[0]),\nf.x=h.clientX,f.y=h.clientY;var o=c||{},c=(o.x|" "|0)+f.x,f=(o.y||0)+f.y,l=o.button||0,h=o.bubble||!0;i=m;A(ta,b)>=0&&(i=o." "related||m);g=!!o.alt;v=!!o.control;j=!!o.shift;o=!!o.meta;a.fireEvent&&d" "&&d.createEventObject?(a=d.createEventObject(),a.altKey=g,a.l=v,a.metaKey" "=o,a.shiftKey=j,a.clientX=c,a.clientY=f,a.button=l,a.relatedTarget=i):(a=" "d.createEvent(\"MouseEvents\"),a.initMouseEvent?a.initMouseEvent(b,h,!0,e" ",1,0,0,c,f,v,g,j,o,l,i):(a.initEvent(b,h,!0),a.shiftKey=j,a.metaKey=o,a.a" "ltKey=g,a.ctrlKey=\nv,a.button=l));return a}function W(a,b,c){var d=c||{}" ",c=d.keyCode||0,e=d.charCode||0,f=!!d.alt,l=!!d.ctrl,i=!!d.shift,d=!!d.me" "ta,a=G(a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.charCode=e;a.key" "Code=c;a.altKey=f;a.ctrlKey=l;a.metaKey=d;a.shiftKey=i;return a}\nfunctio" "n ua(a,b,c){var d=G(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,l=!!e.control,i=" "!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEvent" "Object(),a.altKey=f,a.m=l,a.metaKey=e,a.shiftKey=i):(a=d.createEvent(\"HT" "MLEvents\"),a.initEvent(b,c,!0),a.shiftKey=i,a.metaKey=e,a.altKey=f,a.ctr" "lKey=l);return a}var X={};X.click=V;X.keydown=W;X.keypress=W;X.keyup=W;X." "mousedown=V;X.mousemove=V;X.mouseout=V;X.mouseover=V;X.mouseup=V;\nfuncti" "on va(a){var b=(X.change||ua)(a,\"change\",k),c;if(!(c=p(a.fireEvent)==\"" "function\"))c=p(a.fireEvent),c=c==\"object\"||c==\"array\"||c==\"function" "\";if(c){try{(G(a)?G(a).parentWindow||G(a).defaultView:window).event=b}ca" "tch(d){}a.fireEvent(\"onchange\",b)}else a.dispatchEvent(b)};function wa(" "a){var b;R(a,\"OPTION\")?b=!0:R(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b=" "=\"checkbox\"||b==\"radio\"):b=!1;if(!b)throw new s(15,\"Element is not s" "electable\");b=\"selected\";var c=a.type&&a.type.toLowerCase();if(\"check" "box\"==c||\"radio\"==c)b=\"checked\";b=ja[b]||b;a=a[b];a=a===k&&A(ka,b)>=" "0?!1:a;return!!a}function xa(a){return R(a,\"SELECT\")};function ya(a,b){" "if(!oa(a))throw new s(12,\"Element is not currently enabled and may not b" "e manipulated\");if(!U(a,!0))throw new s(11,\"Element is not currently vi" "sible and may not be manipulated\");if(R(a,\"INPUT\")){var c=a.type.toLow" "erCase();if(c==\"checkbox\"||c==\"radio\"){if(a.checked!=b){if(a.type==\"" "radio\"&&!b)throw new s(12,\"You may not deselect a radio button\");if(b!" "=wa(a))a.checked=b,va(a)}}else throw new s(15,\"You may not select an uns" "electable input element: \"+a.type);}else if(R(a,\"OPTION\")){c=\nI(a,xa)" ";if(!c.multiple&&!b)throw new s(15,\"You may not deselect an option withi" "n a select that does not support multiple selections.\");if(b!=wa(a))a.se" "lected=b,va(c)}else throw new s(15,\"You may not select an unselectable e" "lement: \"+a.tagName);}var Y=\"_\".split(\".\"),Z=n;!(Y[0]in Z)&&Z.execSc" "ript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.l" "ength&&ya!==k?Z[$]=ya:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,argu" "ments);}.apply({navigator:typeof window!='undefined'?window.navigator:nul" "l}, arguments);}"; const char* const SUBMIT = "function(){return function(){var m=null,n=this;\nfunction o(a){var b=type" "of a;if(b==\"object\")if(a){if(a instanceof Array)return\"array\";else if" "(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(" "c==\"[object Window]\")return\"object\";if(c==\"[object Array]\"||typeof " "a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIs" "Enumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"ar" "ray\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof a" ".propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))r" "eturn\"function\"}else return\"null\";else if(b==\n\"function\"&&typeof a" ".call==\"undefined\")return\"object\";return b}Math.floor(Math.random()*2" "147483648).toString(36);function p(a,b){function c(){}c.prototype=b.proto" "type;a.i=b.prototype;a.prototype=new c};function q(a){this.stack=Error()." "stack||\"\";if(a)this.message=String(a)}p(q,Error);q.prototype.name=\"Cus" "tomError\";function s(a,b){q.call(this,b);this.code=a;this.name=t[a]||t[1" "3]}p(s,q);var t,u={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommand" "Error:9,StaleElementReferenceError:10,ElementNotVisibleError:11,InvalidEl" "ementStateError:12,UnknownError:13,ElementNotSelectableError:15,XPathLook" "upError:19,NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCo" "okieError:25,ModalDialogOpenedError:26,ModalDialogOpenError:27,ScriptTime" "outError:28},v={},w;for(w in u)v[u[w]]=w;t=v;\ns.prototype.toString=funct" "ion(){return\"[\"+this.name+\"] \"+this.message};function x(a){for(var b=" "1;b=0;c--)a.parent" "Node&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.pa" "rentNode.removeChild(a)};function K(a,b,c,d){I.call(this,a,b,c,m,d)}p(K,I" ");K.prototype.next=function(){do K.i.next.call(this);while(this.c==-1);re" "turn this.b};function L(a){var b;a:{b=D(a);if(b.defaultView&&b.defaultVie" "w.getComputedStyle&&(b=b.defaultView.getComputedStyle(a,m))){b=b.position" "||b.getPropertyValue(\"position\");break a}b=\"\"}return b||(a.currentSty" "le?a.currentStyle.position:m)||a.style.position}\nfunction M(a){for(var b" "=D(a),c=L(a),d=c==\"fixed\"||c==\"absolute\",a=a.parentNode;a&&a!=b;a=a.p" "arentNode)if(c=L(a),d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body,!" "d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fixe" "d\"||c==\"absolute\"||c==\"relative\"))return a;return m};var A=[\"dragst" "art\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction N(a,b,c){var d=" "D(a),i=d?d.parentWindow||d.defaultView:window,j=new C;if(a.nodeType==1)if" "(a.getBoundingClientRect){var k=a.getBoundingClientRect();j.x=k.left;j.y=" "k.top}else{k=F(a?new E(D(a)):B||(B=new E));var h,e=D(a);h=L(a);var f=new " "C(0,0),r=(e?e.nodeType==9?e:D(e):document).documentElement;if(a!=r)if(a.g" "etBoundingClientRect)h=a.getBoundingClientRect(),e=F(e?new E(D(e)):B||(B=" "new E)),f.x=h.left+e.x,f.y=h.top+e.y;else if(e.getBoxObjectFor)h=e.getBox" "ObjectFor(a),e=e.getBoxObjectFor(r),f.x=\nh.screenX-e.screenX,f.y=h.scree" "nY-e.screenY;else{var g=a;do{f.x+=g.offsetLeft;f.y+=g.offsetTop;g!=a&&(f." "x+=g.clientLeft||0,f.y+=g.clientTop||0);if(L(g)==\"fixed\"){f.x+=e.body.s" "crollLeft;f.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);h==" "\"absolute\"&&(f.y-=e.body.offsetTop);for(g=a;(g=M(g))&&g!=e.body&&g!=r;)" "f.x-=g.scrollLeft,f.y-=g.scrollTop}j.x=f.x-k.x;j.y=f.y-k.y}else k=o(a.e)=" "=\"function\",f=a,a.targetTouches?f=a.targetTouches[0]:k&&a.e().targetTou" "ches&&(f=a.e().targetTouches[0]),j.x=f.clientX,\nj.y=f.clientY;var l=c||{" "},c=(l.x||0)+j.x,j=(l.y||0)+j.y,k=l.button||0,f=l.bubble||!0;h=m;z(b)>=0&" "&(h=l.related||m);e=!!l.alt;r=!!l.control;g=!!l.shift;l=!!l.meta;a.fireEv" "ent&&d&&d.createEventObject?(a=d.createEventObject(),a.altKey=e,a.j=r,a.m" "etaKey=l,a.shiftKey=g,a.clientX=c,a.clientY=j,a.button=k,a.relatedTarget=" "h):(a=d.createEvent(\"MouseEvents\"),a.initMouseEvent?a.initMouseEvent(b," "f,!0,i,1,0,0,c,j,r,e,g,l,k,h):(a.initEvent(b,f,!0),a.shiftKey=g,a.metaKey" "=l,a.altKey=e,a.ctrlKey=r,a.button=k));return a}\nfunction O(a,b,c){var d" "=c||{},c=d.keyCode||0,i=d.charCode||0,j=!!d.alt,k=!!d.ctrl,h=!!d.shift,d=" "!!d.meta,a=D(a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.charCode=i" ";a.keyCode=c;a.altKey=j;a.ctrlKey=k;a.metaKey=d;a.shiftKey=h;return a}\nf" "unction P(a,b,c){var d=D(a),i=c||{},c=i.bubble!==!1,j=!!i.alt,k=!!i.contr" "ol,h=!!i.shift,i=!!i.meta;a.fireEvent&&d&&d.createEventObject?(a=d.create" "EventObject(),a.altKey=j,a.k=k,a.metaKey=i,a.shiftKey=h):(a=d.createEvent" "(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=h,a.metaKey=i,a.altKey=j," "a.ctrlKey=k);return a}var Q={};Q.click=N;Q.keydown=O;Q.keypress=O;Q.keyup" "=O;Q.mousedown=N;Q.mousemove=N;Q.mouseout=N;Q.mouseover=N;Q.mouseup=N;fun" "ction R(a){a:{for(var b=0;a;){if(a&&a.nodeType==1&&a.tagName.toUpperCase(" ")==\"FORM\")break a;a=a.parentNode;b++}a=m}if(!a)throw new s(12,\"Element" " was not in a form, so could not submit.\");b=a;var c=(Q.submit||P)(b,\"s" "ubmit\",void 0),d;if(!(d=o(b.fireEvent)==\"function\"))d=o(b.fireEvent),d" "=d==\"object\"||d==\"array\"||d==\"function\";if(d){try{(D(b)?D(b).parent" "Window||D(b).defaultView:window).event=c}catch(i){}b=b.fireEvent(\"onsubm" "it\",c)}else b=b.dispatchEvent(c);b&&a.submit()}var S=\"_\".split(\".\")," "T=n;\n!(S[0]in T)&&T.execScript&&T.execScript(\"var \"+S[0]);for(var U;S." "length&&(U=S.shift());)!S.length&&R!==void 0?T[U]=R:T=T[U]?T[U]:T[U]={};;" " return this._.apply(null,arguments);}.apply({navigator:typeof window!='u" "ndefined'?window.navigator:null}, arguments);}"; const char* const TOGGLE = "function(){return function(){function k(a){throw a;}var m=void 0,n=null,o" "=this;\nfunction q(a){var b=typeof a;if(b==\"object\")if(a){if(a instance" "of Array)return\"array\";else if(a instanceof Object)return b;var c=Objec" "t.prototype.toString.call(a);if(c==\"[object Window]\")return\"object\";i" "f(c==\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"" "undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsE" "numerable(\"splice\"))return\"array\";if(c==\"[object Function]\"||typeof" " a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a." "propertyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\ne" "lse if(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";ret" "urn b}Math.floor(Math.random()*2147483648).toString(36);function r(a,b){f" "unction c(){}c.prototype=b.prototype;a.j=b.prototype;a.prototype=new c};v" "ar aa=window;function ba(){var a=o.Components;if(!a)return!1;try{return a" ".k[\"@mozilla.org/uuid-generator;1\"].n(a.i.q),!0}catch(b){return!1}};fun" "ction s(a){this.stack=Error().stack||\"\";if(a)this.message=String(a)}r(s" ",Error);s.prototype.name=\"CustomError\";function t(a,b){s.call(this,b);t" "his.code=a;this.name=u[a]||u[13]}r(t,s);var u,v={NoSuchElementError:7,NoS" "uchFrameError:8,UnknownCommandError:9,StaleElementReferenceError:10,Eleme" "ntNotVisibleError:11,InvalidElementStateError:12,UnknownError:13,ElementN" "otSelectableError:15,XPathLookupError:19,NoSuchWindowError:23,InvalidCook" "ieDomainError:24,UnableToSetCookieError:25,ModalDialogOpenedError:26,Moda" "lDialogOpenError:27,ScriptTimeoutError:28},x={},y;for(y in v)x[v[y]]=y;u=" "x;\nt.prototype.toString=function(){return\"[\"+this.name+\"] \"+this.mes" "sage};function ca(a){for(var b=1;b=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&" "a.parentNode&&a.parentNode.removeChild(a)};function O(a,b,c,d){M.call(thi" "s,a,b,c,n,d)}r(O,M);O.prototype.next=function(){do O.j.next.call(this);wh" "ile(this.c==-1);return this.b};function ja(a,b){var c=H(a);if(c.defaultVi" "ew&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,n" ")))return c[b]||c.getPropertyValue(b);return\"\"}function P(a,b){return j" "a(a,b)||(a.currentStyle?a.currentStyle[b]:n)||a.style[b]}\nfunction ka(a)" "{for(var b=H(a),c=P(a,\"position\"),d=c==\"fixed\"||c==\"absolute\",a=a.p" "arentNode;a&&a!=b;a=a.parentNode)if(c=P(a,\"position\"),d=d&&c==\"static" "\"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.s" "crollHeight>a.clientHeight||c==\"fixed\"||c==\"absolute\"||c==\"relative" "\"))return a;return n};function Q(a,b){return!!a&&a.nodeType==1&&(!b||a.t" "agName.toUpperCase()==b)}\nvar la={\"class\":\"className\",readonly:\"rea" "dOnly\"},ma=[\"checked\",\"disabled\",\"draggable\",\"hidden\"],na=[\"asy" "nc\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"co" "ntrols\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"d" "isabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeter" "minate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multipl" "e\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap" "\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\"" ",\"scoped\",\"seamless\",\"seeking\",\n\"selected\",\"spellcheck\",\"true" "speed\",\"willvalidate\"];function oa(a,b){if(8==a.nodeType)return n;b=b." "toLowerCase();if(b==\"style\"){var c=a.style.cssText.replace(/^[\\s\\xa0]" "+|[\\s\\xa0]+$/g,\"\").toLowerCase();return c.charAt(c.length-1)==\";\"?c" ":c+\";\"}c=a.getAttributeNode(b);if(!c)return n;if(B(na,b)>=0)return\"tru" "e\";return c.specified?c.value:n}var pa=[\"BUTTON\",\"INPUT\",\"OPTGROUP" "\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction qa(a){var b=a.tagName.t" "oUpperCase();if(!(B(pa,b)>=0))return!0;if(oa(a,\"disabled\"))return!1;if(" "a.parentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)re" "turn qa(a.parentNode);return!0}function R(a){for(a=a.parentNode;a&&a.node" "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return Q(a)?a:n}fu" "nction S(a,b){b=da(String(b));return ja(a,b)||ra(a,b)}function ra(a,b){va" "r c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==m?c:n;retur" "n(c=R(a))?ra(c,b):n}\nfunction sa(a){if(q(a.getBBox)==\"function\")return" " a.getBBox();var b;if(P(a,\"display\")!=\"none\")b=new G(a.offsetWidth,a." "offsetHeight);else{b=a.style;var c=b.display,d=b.visibility,e=b.position;" "b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var " "f=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;" "b=new G(f,a)}return b}\nfunction T(a,b){function c(a){if(S(a,\"display\")" "==\"none\")return!1;a=R(a);return!a||c(a)}function d(a){var b=sa(a);if(b." "height>0&&b.width>0)return!0;if(a.innerText||a.textContent)if(ta.test(a.i" "nnerText||a.textContent))return!0;return C&&ea(a.childNodes,function(a){r" "eturn Q(a)&&d(a)})}Q(a)||k(Error(\"Argument to isShown must be of type El" "ement\"));if(Q(a,\"TITLE\"))return(H(a)?H(a).parentWindow||H(a).defaultVi" "ew:window)==aa;if(Q(a,\"OPTION\")||Q(a,\"OPTGROUP\")){var e=J(a,function(" "a){return Q(a,\"SELECT\")});\nreturn!!e&&T(e)}if(Q(a,\"MAP\")){if(!a.name" ")return!1;e=H(a);e=e.evaluate?ha('/descendant::*[@usemap = \"#'+a.name+'" "\"]',e):fa(e,function(b){return Q(b)&&oa(b,\"usemap\")==\"#\"+a.name});re" "turn!!e&&T(e)}if(Q(a,\"AREA\"))return e=J(a,function(a){return Q(a,\"MAP" "\")}),!!e&&T(e);if(Q(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")retur" "n!1;if(S(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&" "ua(a)==0)return!1;if(!d(a))return!1;return!0}var ta=RegExp(\"^\"+(\"[" "\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\")+\"$\");\nfunction ua(a){v" "ar b=1,c=S(a,\"opacity\");c&&(b=Number(c));(a=R(a))&&(b*=ua(a));return b}" ";var va=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunctio" "n U(a,b,c){var d=H(a),e=d?d.parentWindow||d.defaultView:window,f=new F;if" "(a.nodeType==1)if(a.getBoundingClientRect){var l=a.getBoundingClientRect(" ");f.x=l.left;f.y=l.top}else{l=ga(a?new K(H(a)):E||(E=new K));var i,g=H(a)" ";i=P(a,\"position\");var h=new F(0,0),w=(g?g.nodeType==9?g:H(g):document)" ".documentElement;if(a!=w)if(a.getBoundingClientRect)i=a.getBoundingClient" "Rect(),g=ga(g?new K(H(g)):E||(E=new K)),h.x=i.left+g.x,h.y=i.top+g.y;else" " if(g.getBoxObjectFor)i=g.getBoxObjectFor(a),g=g.getBoxObjectFor(w),\nh.x" "=i.screenX-g.screenX,h.y=i.screenY-g.screenY;else{var j=a;do{h.x+=j.offse" "tLeft;h.y+=j.offsetTop;j!=a&&(h.x+=j.clientLeft||0,h.y+=j.clientTop||0);i" "f(C&&P(j,\"position\")==\"fixed\"){h.x+=g.body.scrollLeft;h.y+=g.body.scr" "ollTop;break}j=j.offsetParent}while(j&&j!=a);C&&i==\"absolute\"&&(h.y-=g." "body.offsetTop);for(j=a;(j=ka(j))&&j!=g.body&&j!=w;)h.x-=j.scrollLeft,h.y" "-=j.scrollTop}f.x=h.x-l.x;f.y=h.y-l.y}else l=q(a.e)==\"function\",h=a,a.t" "argetTouches?h=a.targetTouches[0]:l&&a.e().targetTouches&&(h=a.e().target" "Touches[0]),\nf.x=h.clientX,f.y=h.clientY;var p=c||{},c=(p.x||0)+f.x,f=(p" ".y||0)+f.y,l=p.button||0,h=p.bubble||!0;i=n;B(va,b)>=0&&(i=p.related||n);" "g=!!p.alt;w=!!p.control;j=!!p.shift;p=!!p.meta;a.fireEvent&&d&&d.createEv" "entObject?(a=d.createEventObject(),a.altKey=g,a.l=w,a.metaKey=p,a.shiftKe" "y=j,a.clientX=c,a.clientY=f,a.button=l,a.relatedTarget=i):(a=d.createEven" "t(\"MouseEvents\"),a.initMouseEvent?a.initMouseEvent(b,h,!0,e,1,0,0,c,f,w" ",g,j,p,l,i):(a.initEvent(b,h,!0),a.shiftKey=j,a.metaKey=p,a.altKey=g,a.ct" "rlKey=\nw,a.button=l));return a}function V(a,b,c){var d=c||{},c=d.keyCode" "||0,e=d.charCode||0,f=!!d.alt,l=!!d.ctrl,i=!!d.shift,d=!!d.meta,a=H(a).cr" "eateEvent(\"Events\");a.initEvent(b,!0,!0);a.charCode=e;a.keyCode=c;a.alt" "Key=f;a.ctrlKey=l;a.metaKey=d;a.shiftKey=i;return a}\nfunction wa(a,b,c){" "var d=H(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,l=!!e.control,i=!!e.shift,e=" "!!e.meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEventObject(),a.a" "ltKey=f,a.m=l,a.metaKey=e,a.shiftKey=i):(a=d.createEvent(\"HTMLEvents\")," "a.initEvent(b,c,!0),a.shiftKey=i,a.metaKey=e,a.altKey=f,a.ctrlKey=l);retu" "rn a}var W={};W.click=U;W.keydown=V;W.keypress=V;W.keyup=V;W.mousedown=U;" "W.mousemove=U;W.mouseout=U;W.mouseover=U;W.mouseup=U;\nfunction xa(a){var" " b=(W.change||wa)(a,\"change\",m),c;if(!(c=q(a.fireEvent)==\"function\"))" "c=q(a.fireEvent),c=c==\"object\"||c==\"array\"||c==\"function\";if(c){try" "{(H(a)?H(a).parentWindow||H(a).defaultView:window).event=b}catch(d){}a.fi" "reEvent(\"onchange\",b)}else a.dispatchEvent(b)};function X(a){var b;Q(a," "\"OPTION\")?b=!0:Q(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"checkbox\"" "||b==\"radio\"):b=!1;b||k(new t(15,\"Element is not selectable\"));b=\"se" "lected\";var c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio\"" "==c)b=\"checked\";b=la[b]||b;a=a[b];a=a===m&&B(ma,b)>=0?!1:a;return!!a}fu" "nction ya(a){return Q(a,\"SELECT\")};function za(a){Q(a,\"INPUT\")&&\"rad" "io\"==a.type&&k(new t(12,\"You may not toggle a radio button\"));var b=!X" "(a);qa(a)||k(new t(12,\"Element is not currently enabled and may not be m" "anipulated\"));T(a,!0)||k(new t(11,\"Element is not currently visible and" " may not be manipulated\"));if(Q(a,\"INPUT\")){var c=a.type.toLowerCase()" ";if(c==\"checkbox\"||c==\"radio\"){if(a.checked!=b&&(a.type==\"radio\"&&!" "b&&k(new t(12,\"You may not deselect a radio button\")),b!=X(a)))a.checke" "d=b,xa(a)}else k(new t(15,\"You may not select an unselectable input elem" "ent: \"+\na.type))}else if(Q(a,\"OPTION\")){if(c=J(a,ya),!c.multiple&&!b&" "&k(new t(15,\"You may not deselect an option within a select that does no" "t support multiple selections.\")),b!=X(a))a.selected=b,xa(c)}else k(new " "t(15,\"You may not select an unselectable element: \"+a.tagName));return " "X(a)}var Y=\"_\".split(\".\"),Z=o;!(Y[0]in Z)&&Z.execScript&&Z.execScript" "(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&za!==m?Z[$]" "=za:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}.apply({na" "vigator:typeof window!='undefined'?window.navigator:null}, arguments);}"; } // namespace atoms } // namespace webdriver #endif // WEBDRIVER_ATOMS_H_