// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // 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. #ifndef THIRD_PARTY_WEBDRIVER_ATOMS_H__ #define THIRD_PARTY_WEBDRIVER_ATOMS_H__ #include // For wchar_t namespace webdriver { const wchar_t* const CLEAR[] = { L"var clear=function(){var g=true,l=null,n=false,p,q=this;function t(){}", L"\nfunction aa(a){var b=typeof a;if(b==\"object\")if(a){if(a instanceof ", L"Array||!(a instanceof Object)&&Object.prototype.toString.call(a)==\"[ob", L"ject Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefine", L"d\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumera", L"ble(\"splice\"))return\"array\";if(!(a instanceof Object)&&(Object.prot", L"otype.toString.call(a)==\"[object Function]\"||typeof a.call!=\"undefin", L"ed\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumer", L"able(\"call\")))return\"function\"}else return\"null\";\nelse if(b==\"f", L"unction\"&&typeof a.call==\"undefined\")return\"object\";return b}funct", L"ion u(a){return aa(a)==\"function\"}function ba(a){a=aa(a);return a==\"", L"object\"||a==\"array\"||a==\"function\"}function ca(a){if(a.hasOwnPrope", L"rty&&a.hasOwnProperty(v))return a[v];a[v]||(a[v]=++da);return a[v]}var ", L"v=\"closure_uid_\"+Math.floor(Math.random()*2147483648).toString(36),da", L"=0;\nfunction ea(a){var b=Array.prototype.slice.call(arguments,1);retur", L"n function(){var c=Array.prototype.slice.call(arguments);c.unshift.appl", L"y(c,b);return a.apply(this,c)}}function w(a,b){function c(){}c.prototyp", L"e=b.prototype;a.A=b.prototype;a.prototype=new c};function x(a){this.sta", L"ck=Error().stack||\"\";if(a)this.message=String(a)}w(x,Error);x.prototy", L"pe.name=\"CustomError\";function y(a,b){for(var c=0,d=String(a).replace", L"(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),f=String(b).replace(/^", L"[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),e=Math.max(d.length,f.len", L"gth),h=0;c==0&&hb)r", L"eturn 1;return 0};var A=Array.prototype,B=A.indexOf?function(a,b,c){ret", L"urn A.indexOf.call(a,b,c)}:function(a,b,c){c=c==l?0:c<0?Math.max(0,a.le", L"ngth+c):c;if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=1", L")return-1;return a.indexOf(b,c)}for(c=c;c=0));Q.prototype.c=function(", L"){Q.A.c.call(this);this.relatedTarget=this.currentTarget=this.target=th", L"is.s=l};function R(a,b){this.v=b;this.a=[];this.B(a)}w(R,O);p=R.prototy", L"pe;p.j=l;p.q=l;p.g=function(a){this.j=a};p.t=function(){if(this.a.lengt", L"h)return this.a.pop();return this.o()};p.d=function(a){this.a.lengththis.v)throw Error(", L"\"[goog.structs.SimplePool] Initial cannot be greater than max\");for(v", L"ar b=0;b=0),h;ua=function(j){h=j};if(e){S=f", L"unction(j){i.d(j)};ta=function(){return o.t()};T=function(j){o.d(j)};va", L"=function(){k.d(c())};wa=function(j){r.d(j)};xa=function(){return m.t()", L"};ya=function(j){m.d(j)};var i=new R(0,600);i.g(a);var o=new R(0,600);o", L".g(b);var k=new R(0,600);k.g(c);var r=new R(0,600);\nr.g(d);var m=new R", L"(0,600);m.g(f)}else{S=t;ta=b;wa=va=T=t;xa=f;ya=t}})();var U={},V={},za=", L"{},Aa={};function Ba(a,b,c,d){if(!d.i)if(d.w){for(var f=0,e=0;f=0&&A.splice.call(k,r,1).length==1;k.length==0&&delete za[e", L"]}f.f=g;i.w=g;Ba(h,o,e,i);delete U[d]}}}return c}\nua(function(a,b){if(", L"!U[a])return g;var c=U[a],d=c.type,f=V;if(!(d in f))return g;f=f[d];var", L" e,h;if(oa===undefined)oa=I&&!q.addEventListener;if(oa){var i;if(!(i=b)", L")a:{i=\"window.event\".split(\".\");for(var o=q;e=i.shift();)if(o[e])o=", L"o[e];else{i=l;break a}i=o}e=i;i=g in f;o=n in f;if(i){if(e.keyCode<0||e", L".returnValue!=undefined)return g;a:{var k=n;if(e.keyCode==0)try{e.keyCo", L"de=-1;break a}catch(r){k=g}if(k||e.returnValue==undefined)e.returnValue", L"=g}}k=xa();k.k(e,this);e=g;try{if(i){for(var m=ta(),j=k.currentTarget;j", L";j=\nj.parentNode)m.push(j);h=f[g];h.e=h.b;for(var s=m.length-1;!k.m&&s", L">=0&&h.e;s--){k.currentTarget=m[s];e&=Da(h,m[s],d,g,k)}if(o){h=f[n];h.e", L"=h.b;for(s=0;!k.m&&s=0));if((Fa(a,\"display\")||(a.c", L"urrentStyle?a.currentStyle.display:l)||a.style.display)!=\"none\")retur", L"n b?new C(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):", L"new C(a.offsetWidth,a.offsetHeight);var c=a.style,d=c.display,f=c.visib", L"ility,e=c.position;c.visibility=\"hidden\";c.position=\"absolute\";c.di", L"splay=\"inline\";if(b){b=a.offsetWidth||a.clientWidth;a=a.offsetHeight|", L"|a.clientHeight}else{b=a.offsetWidth;a=a.offsetHeight}c.display=d;c.pos", L"ition=\ne;c.visibility=f;return new C(b,a)}var Ia={};function Ja(a){ret", L"urn Ia[a]||(Ia[a]=String(a).replace(/\\-([a-z])/g,function(b,c){return ", L"c.toUpperCase()}))};function Ka(a,b){b=Ja(b);return Fa(a,b)||(a.current", L"Style?a.currentStyle[b]:l)||(a.style?a.style[b]:undefined)};var La=[\"c", L"hecked\",\"disabled\",\"readonly\",\"selected\"];function Ma(a,b){if(8=", L"=a.nodeType)return l;var c=b.toLowerCase();if(\"style\"==c)return\"\";v", L"ar d=a.getAttributeNode(b);if(!d)return l;if(B(La,c)>=0)return I&&d.val", L"ue==\"false\"?l:g;return d.specified?d.value:l}var Na=[\"BUTTON\",\"INP", L"UT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction Oa(a){", L"var b=a.tagName.toUpperCase();if(!(B(Na,b)>=0))return g;if(Ma(a,\"disab", L"led\"))return n;if(a.parentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"", L"==b||\"OPTION\"==b)return Oa(a.parentNode);return g}\nfunction Pa(a){fu", L"nction b(d){if(Ka(d,\"display\")==\"none\")return n;d=Qa(d);return!d||b", L"(d)}function c(d){if(d.tagName&&d.tagName.toUpperCase()==\"INPUT\"&&d.t", L"ype.toLowerCase()==\"hidden\")return n;var f=Ka(d,\"visibility\");if(f=", L"=\"inherit\"){d=Qa(d);return!d||c(d)}else return f!=\"hidden\"}if(a&&a.", L"nodeType!=1)throw Error(\"Argument to isShown must be of type Element\"", L");if(!(c(a)&&b(a)))return n;a=Ha(a);return a.height>0&&a.width>0}\nfunc", L"tion Qa(a){if(!a.parentNode)return l;for(a=a.parentNode;a.nodeType!=1&&", L"a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return a&&a.nodeType==1?a", L":l};function Ra(a,b){x.call(this,b);this.code=a;this.name=Sa[a]||Sa[13]", L"}w(Ra,x);var Ta={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommand", L"Error:9,StaleElementReferenceError:10,ElementNotVisibleError:11,Invalid", L"ElementStateError:12,UnknownError:13,ElementNotSelectableError:15,XPath", L"LookupError:19,NoSuchWindowError:23,InvalidCookieDomainError:24,UnableT", L"oSetCookieError:25},Ua={};for(var Va in Ta)Ua[Ta[Va]]=Va;var Sa=Ua;var ", L"Wa=I?0:1,Xa=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nf", L"unction W(a,b,c){var d=N(a),f=d?d.parentWindow||d.defaultView:window;c=", L"c||{};var e=c.x||0,h=c.y||0,i=c.button||Wa,o=c.bubble||g,k=l;if(B(Xa,b)", L">=0)k=c.related||l;var r=!!c.alt,m=!!c.control,j=!!c.shift;c=!!c.meta;i", L"f(a.fireEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey", L"=r;a.G=m;a.metaKey=c;a.shiftKey=j;a.clientX=e;a.clientY=h;a.button=i;a.", L"relatedTarget=k}else{a=d.createEvent(\"MouseEvents\");if(a.initMouseEve", L"nt)a.initMouseEvent(b,o,g,f,1,0,0,e,h,m,r,j,c,i,k);else{a.initEvent(b,o", L",g);a.shiftKey=\nj;a.metaKey=c;a.altKey=r;a.ctrlKey=m;a.button=i}}retur", L"n a}function Ya(a,b,c){var d=N(a);c=c||{};var f=c.bubble||g,e=!!c.alt,h", L"=!!c.control,i=!!c.shift;c=!!c.meta;if(a.fireEvent&&d&&d.createEventObj", L"ect){a=d.createEventObject();a.altKey=e;a.H=h;a.metaKey=c;a.shiftKey=i}", L"else{a=d.createEvent(\"HTMLEvents\");a.initEvent(b,f,g);a.shiftKey=i;a.", L"metaKey=c;a.altKey=e;a.ctrlKey=h}return a}var X={};X.mousedown=W;X.mous", L"emove=W;X.mouseout=W;X.mouseover=W;X.mouseup=W;function Za(a){var b=a.t", L"agName.toUpperCase();if(b==\"TEXTAREA\"||b==\"INPUT\"&&a.type==\"text\"", L")if(a.value!=\"\"){if(!Pa(a))throw new Ra(11,\"Element is not currently", L" visible and may not be manipuated\");if(!Oa(a))throw new Ra(12,\"Eleme", L"nt is not currently enabled and may not be manipulated\");b=N(a);b=b.ac", L"tiveElement||b.body;if(b!=a){b.blur();a.focus()}a.value=\"\";b=(X.chang", L"e||Ya)(a,\"change\",void 0);if(u(a.fireEvent)||ba(a.fireEvent)){try{(N(", L"a)?N(a).parentWindow||N(a).defaultView:window).event=b}catch(c){}a.fire", L"Event(\"onchange\",\nb)}else a.dispatchEvent(b)}}var Y=\"_\".split(\".", L"\"),Z=q;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var ", L"$;Y.length&&($=Y.shift());)if(!Y.length&&Za!==undefined)Z[$]=Za;else Z=", L"Z[$]?Z[$]:Z[$]={};return _.apply(null,arguments);};\n", NULL }; const wchar_t* const EXECUTE_SCRIPT[] = { L"var executeScript=function(){var f=this;\nfunction h(a){var b=typeof a;", L"if(b==\"object\")if(a){if(a instanceof Array||!(a instanceof Object)&&O", L"bject.prototype.toString.call(a)==\"[object Array]\"||typeof a.length==", L"\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerab", L"le!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"array\";", L"if(!(a instanceof Object)&&(Object.prototype.toString.call(a)==\"[objec", L"t Function]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumera", L"ble!=\"undefined\"&&!a.propertyIsEnumerable(\"call\")))return\"function", L"\"}else return\"null\";else if(b==\n\"function\"&&typeof a.call==\"unde", L"fined\")return\"object\";return b}function j(a){var b=h(a);return b==\"", L"array\"||b==\"object\"&&typeof a.length==\"number\"}function k(a){a=h(a", L");return a==\"object\"||a==\"array\"||a==\"function\"}var l=Date.now||f", L"unction(){return+new Date};function m(a,b){function c(){}c.prototype=b.", L"prototype;a.b=b.prototype;a.prototype=new c};function n(a){this.stack=E", L"rror().stack||\"\";if(a)this.message=String(a)}m(n,Error);n.prototype.n", L"ame=\"CustomError\";var o=Array.prototype,p=o.map?function(a,b,c){retur", L"n o.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g=ty", L"peof a==\"string\"?a.split(\"\"):a,i=0;ib)return 1;return 0};var u=Array.prototype,da=u.in", L"dexOf?function(a,b,c){return u.indexOf.call(a,b,c)}:function(a,b,c){c=c", L"==k?0:c<0?Math.max(0,a.length+c):c;if(q(a)){if(!q(b)||b.length!=1)retur", L"n-1;return a.indexOf(b,c)}for(c=c;c=0))&&(a||b))b=c.querySelectorAll(a+(b", L"?\".\"+b:\"\"));else if(b&&c.getElementsByClassName){c=c.getElementsByC", L"lassName(b);if(a){for(var d={},f=0,e=0,g;g=c[e];e++)if(a==g.nodeName)d[", L"f++]=g;d.length=f;b=d}else b=c}else{c=c.getElementsByTagName(a||\"*\");", L"if(b){d={};for(e=f=0;g=c[e];e++){a=g.className;if(typeof a.split==\"fun", L"ction\"&&\nda(a.split(/\\s+/),b)>=0)d[f++]=g}d.length=f;b=d}else b=c}re", L"turn b};M.prototype.contains=O;var P={};P.c=function(a,b){if(!a)h(Error", L"(\"No class name specified\"));a=s(a);if(a.split(/\\s+/).length>1)h(Err", L"or(\"Compound class names not permitted\"));b=b.documentElement?b.docum", L"entElement:b;var c=L(b).b(\"*\",a,b);return c.length?c[0]:k};P.f=functi", L"on(a,b){if(!a)h(Error(\"No class name specified\"));a=s(a);if(a.split(/", L"\\s+/).length>1)h(Error(\"Compound class names not permitted\"));b=b.do", L"cumentElement?b.documentElement:b;return L(b).b(\"*\",a,b)};var Q={};Q.", L"c=function(a,b){if(o(b.querySelector)!=\"function\")h(Error(\"CSS selec", L"tion is not supported\"));if(!a)h(Error(\"No selector specified\"));if(", L"a.split(/,/).length>1)h(Error(\"Compound selectors not permitted\"));a=", L"s(a);var c=b.querySelector(a);return c&&c.nodeType==1?c:k};Q.f=function", L"(a,b){if(o(b.querySelectorAll)!=\"function\")h(Error(\"CSS selection is", L" not supported\"));if(!a)h(Error(\"No selector specified\"));if(a.split", L"(/,/).length>1)h(Error(\"Compound selectors not permitted\"));a=s(a);re", L"turn b.querySelectorAll(a)};var R=\"StopIteration\"in n?n.StopIteration", L":Error(\"StopIteration\");function S(){}S.prototype.next=function(){h(R", L")};S.prototype.j=function(){return this};function pa(a){if(a instanceof", L" S)return a;if(typeof a.j==\"function\")return a.j(l);if(p(a)){var b=0,", L"c=new S;c.next=function(){for(;;){if(b>=a.length)h(R);if(b in a)return ", L"a[b++];else b++}};return c}h(Error(\"Not implemented\"))}\nfunction qa(", L"a,b,c){if(p(a))try{v(a,b,c)}catch(d){if(d!==R)h(d)}else{a=pa(a);try{for", L"(;;)b.call(c,a.next(),undefined,a)}catch(f){if(f!==R)h(f)}}}function ra", L"(a){if(p(a))return fa(a);a=pa(a);var b=[];qa(a,function(c){b.push(c)});", L"return b};function T(a,b,c,d,f){this.a=!!b;a&&this.h(a,d);this.g=f!=und", L"efined?f:this.e||0;if(this.a)this.g*=-1;this.n=!c}aa(T,S);m=T.prototype", L";m.d=k;m.e=0;m.m=l;m.h=function(a,b,c){if(this.d=a)this.e=typeof b==\"n", L"umber\"?b:this.d.nodeType!=1?0:this.a?-1:1;if(typeof c==\"number\")this", L".g=c};m.q=function(){var a=this.a?1:-1;if(this.e==a){this.e=a*-1;this.g", L"+=this.e*(this.a?-1:1)}};\nm.next=function(){var a;if(this.m){if(!this.", L"d||this.n&&this.g==0)h(R);a=this.d;var b=this.a?-1:1;if(this.e==b){var ", L"c=this.a?a.lastChild:a.firstChild;c?this.h(c):this.h(a,b*-1)}else(c=thi", L"s.a?a.previousSibling:a.nextSibling)?this.h(c):this.h(a.parentNode,b*-1", L");this.g+=this.e*(this.a?-1:1)}else this.m=i;a=this.d;if(!this.d)h(R);r", L"eturn a};m.p=function(){return this.e==-1};\nm.splice=function(){var a=", L"this.d;this.q();this.a=!this.a;T.prototype.next.call(this);this.a=!this", L".a;for(var b=p(arguments[0])?arguments[0]:arguments,c=b.length-1;c>=0;c", L"--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.par", L"entNode&&a.parentNode.removeChild(a)};function U(a,b,c,d){T.call(this,a", L",b,c,k,d)}aa(U,T);U.prototype.next=function(){do U.r.next.call(this);wh", L"ile(this.p());return this.d};function sa(a,b){var c=N(a);if(c.defaultVi", L"ew&&c.defaultView.getComputedStyle)if(c=c.defaultView.getComputedStyle(", L"a,\"\"))return c[b];return k}function ta(a,b,c,d){if(typeof d==\"number", L"\")d=(b?Math.round(d):d)+\"px\";c.style[a]=d}r(ta,\"height\",i);r(ta,\"", L"width\",i);\nfunction ua(a){var b=ia&&!(K[\"10\"]||(K[\"10\"]=ca(na,\"1", L"0\")>=0));if((sa(a,\"display\")||(a.currentStyle?a.currentStyle.display", L":k)||a.style.display)!=\"none\")return b?new y(a.offsetWidth||a.clientW", L"idth,a.offsetHeight||a.clientHeight):new y(a.offsetWidth,a.offsetHeight", L");var c=a.style,d=c.display,f=c.visibility,e=c.position;c.visibility=\"", L"hidden\";c.position=\"absolute\";c.display=\"inline\";if(b){b=a.offsetW", L"idth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{b=a.offsetWid", L"th;a=a.offsetHeight}c.display=d;c.position=\ne;c.visibility=f;return ne", L"w y(b,a)}var va={};function wa(a){return va[a]||(va[a]=String(a).replac", L"e(/\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};function V(a,b", L"){b=wa(b);return sa(a,b)||(a.currentStyle?a.currentStyle[b]:k)||(a.styl", L"e?a.style[b]:undefined)};var xa=[\"checked\",\"disabled\",\"readonly\",", L"\"selected\"];function W(a,b){if(8==a.nodeType)return k;var c=b.toLower", L"Case();if(\"style\"==c)return\"\";var d=a.getAttributeNode(b);if(!d)ret", L"urn k;if(da(xa,c)>=0)return ja&&d.value==\"false\"?k:i;return d.specifi", L"ed?d.value:k}\nfunction Aa(a){function b(d){if(V(d,\"display\")==\"none", L"\")return l;d=Ba(d);return!d||b(d)}function c(d){if(d.tagName&&d.tagNam", L"e.toUpperCase()==\"INPUT\"&&d.type.toLowerCase()==\"hidden\")return l;v", L"ar f=V(d,\"visibility\");if(f==\"inherit\"){d=Ba(d);return!d||c(d)}else", L" return f!=\"hidden\"}if(a&&a.nodeType!=1)h(Error(\"Argument to isShown", L" must be of type Element\"));if(!(c(a)&&b(a)))return l;a=ua(a);return a", L".height>0&&a.width>0}\nfunction Ba(a){if(!a.parentNode)return k;for(a=a", L".parentNode;a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNod", L"e;return a&&a.nodeType==1?a:k}function Ca(a){a=new U(a);try{a.next();re", L"turn ra(a)}catch(b){}return[]}\nfunction Da(a){var b=\"\",c=Ca(a);v(c,f", L"unction(d,f){if(d.nodeType==3){var e;if(d.nodeType!=3)h(Error(\"Cannot ", L"extract text from a node whose type is not #text\"));if(ba(d.nodeValue)", L"==\" \")e=\" \";else if((e=Ba(d))&&Aa(e)){e=d.nodeValue;e=e.replace(Reg", L"Exp(String.fromCharCode(160),\"gm\"),\" \");e=e=ba(e)}else e=\"\";e=s(e", L");if(e.length){var g;a:{for(g=f-1;g>=0;g--){var j=c[g];if(j.nodeType!=3", L"){if(j.tagName&&j.tagName.toUpperCase()==\"BR\")g=i;else if(1!=j.nodeTy", L"pe)g=l;else{g=V(j,\"display\");g=g==\"block\"||g==\"inline-block\"}brea", L"k a}}g=\nl}if(g)b+=\"\\n\";else if(f!=0)b+=\" \"}b+=e}});return b=s(b.r", L"eplace(/ +/g,\" \"))};var Ea={};Ea.c=function(a,b){var c=L(b),d=c.o(a);", L"if(!d)return k;if(W(d,\"id\")==a&&O(b,d))return d;c=c.b(\"*\");return x", L"(c,function(f){return W(f,\"id\")==a&&O(b,f)})};Ea.f=function(a,b){var ", L"c=L(b);b=b.documentElement?b.documentElement:b;c=c.b(\"*\",k,b);return ", L"w(c,function(d){return W(d,\"id\")==a})};var X={},Fa={};X.l=function(a,", L"b,c,d){if(!b&&b!=\"\")h(Error(\"No link text specified\"));a=N(a);var f", L"=c||a;c=(new M(a)).b(\"A\");return x(c,function(e){var g=Da(e);if(d&&g.", L"indexOf(b)!=-1||g==b)return O(f,e)})};X.k=function(a,b,c,d){if(!b&&b!=", L"\"\")h(Error(\"No link text specified\"));a=N(a);var f=c||a;c=(new M(a)", L").b(\"A\");return w(c,function(e){var g=Da(e);if(d&&g.indexOf(b)!=-1||g", L"==b)return O(f,e)})};X.c=function(a,b,c){return X.l(a,b,c,l)};X.f=funct", L"ion(a,b,c){return X.k(a,b,c,l)};\nFa.c=function(a,b,c){return X.l(a,b,c", L",i)};Fa.f=function(a,b,c){return X.k(a,b,c,i)};var Ga={};Ga.c=function(", L"a,b){var c=L(b);b=b.documentElement?b.documentElement:b;c=c.b(\"*\",k,b", L");return x(c,function(d){return W(d,\"name\")==a})};Ga.f=function(a,b){", L"var c=L(b);b=b.documentElement?b.documentElement:b;c=c.b(\"*\",k,b);ret", L"urn w(c,function(d){return W(d,\"name\")==a})};var Ha={};Ha.c=function(", L"a,b,c){a=L(a);return a.b(b,k,c||a.i)[0]||k};Ha.f=function(a,b,c){a=L(a)", L";return a.b(b,k,c||a.i)};function Ia(a,b){if(typeof a.selectNodes!=\"un", L"defined\"){var c=N(a);typeof c.setProperty!=\"undefined\"&&c.setPropert", L"y(\"SelectionLanguage\",\"XPath\");return a.selectNodes(b)}else if(docu", L"ment.implementation.hasFeature(\"XPath\",\"3.0\")){c=N(a);var d=c.creat", L"eNSResolver(c.documentElement);c=c.evaluate(b,a,d,XPathResult.ORDERED_N", L"ODE_SNAPSHOT_TYPE,k);d=[];for(var f=c.snapshotLength,e=0;eb)return 1;return 0};var u=Array.prototype,da=u.in", L"dexOf?function(a,b,c){return u.indexOf.call(a,b,c)}:function(a,b,c){c=c", L"==k?0:c<0?Math.max(0,a.length+c):c;if(q(a)){if(!q(b)||b.length!=1)retur", L"n-1;return a.indexOf(b,c)}for(c=c;c=0))&&(a||b))b=c.querySelectorAll(a+(b", L"?\".\"+b:\"\"));else if(b&&c.getElementsByClassName){c=c.getElementsByC", L"lassName(b);if(a){for(var d={},f=0,e=0,g;g=c[e];e++)if(a==g.nodeName)d[", L"f++]=g;d.length=f;b=d}else b=c}else{c=c.getElementsByTagName(a||\"*\");", L"if(b){d={};for(e=f=0;g=c[e];e++){a=g.className;if(typeof a.split==\"fun", L"ction\"&&\nda(a.split(/\\s+/),b)>=0)d[f++]=g}d.length=f;b=d}else b=c}re", L"turn b};M.prototype.contains=O;var P={};P.f=function(a,b){if(!a)h(Error", L"(\"No class name specified\"));a=s(a);if(a.split(/\\s+/).length>1)h(Err", L"or(\"Compound class names not permitted\"));b=b.documentElement?b.docum", L"entElement:b;var c=L(b).b(\"*\",a,b);return c.length?c[0]:k};P.c=functi", L"on(a,b){if(!a)h(Error(\"No class name specified\"));a=s(a);if(a.split(/", L"\\s+/).length>1)h(Error(\"Compound class names not permitted\"));b=b.do", L"cumentElement?b.documentElement:b;return L(b).b(\"*\",a,b)};var Q={};Q.", L"f=function(a,b){if(o(b.querySelector)!=\"function\")h(Error(\"CSS selec", L"tion is not supported\"));if(!a)h(Error(\"No selector specified\"));if(", L"a.split(/,/).length>1)h(Error(\"Compound selectors not permitted\"));a=", L"s(a);var c=b.querySelector(a);return c&&c.nodeType==1?c:k};Q.c=function", L"(a,b){if(o(b.querySelectorAll)!=\"function\")h(Error(\"CSS selection is", L" not supported\"));if(!a)h(Error(\"No selector specified\"));if(a.split", L"(/,/).length>1)h(Error(\"Compound selectors not permitted\"));a=s(a);re", L"turn b.querySelectorAll(a)};var R=\"StopIteration\"in n?n.StopIteration", L":Error(\"StopIteration\");function S(){}S.prototype.next=function(){h(R", L")};S.prototype.j=function(){return this};function pa(a){if(a instanceof", L" S)return a;if(typeof a.j==\"function\")return a.j(l);if(p(a)){var b=0,", L"c=new S;c.next=function(){for(;;){if(b>=a.length)h(R);if(b in a)return ", L"a[b++];else b++}};return c}h(Error(\"Not implemented\"))}\nfunction qa(", L"a,b,c){if(p(a))try{v(a,b,c)}catch(d){if(d!==R)h(d)}else{a=pa(a);try{for", L"(;;)b.call(c,a.next(),undefined,a)}catch(f){if(f!==R)h(f)}}}function ra", L"(a){if(p(a))return fa(a);a=pa(a);var b=[];qa(a,function(c){b.push(c)});", L"return b};function T(a,b,c,d,f){this.a=!!b;a&&this.h(a,d);this.g=f!=und", L"efined?f:this.e||0;if(this.a)this.g*=-1;this.n=!c}aa(T,S);m=T.prototype", L";m.d=k;m.e=0;m.m=l;m.h=function(a,b,c){if(this.d=a)this.e=typeof b==\"n", L"umber\"?b:this.d.nodeType!=1?0:this.a?-1:1;if(typeof c==\"number\")this", L".g=c};m.q=function(){var a=this.a?1:-1;if(this.e==a){this.e=a*-1;this.g", L"+=this.e*(this.a?-1:1)}};\nm.next=function(){var a;if(this.m){if(!this.", L"d||this.n&&this.g==0)h(R);a=this.d;var b=this.a?-1:1;if(this.e==b){var ", L"c=this.a?a.lastChild:a.firstChild;c?this.h(c):this.h(a,b*-1)}else(c=thi", L"s.a?a.previousSibling:a.nextSibling)?this.h(c):this.h(a.parentNode,b*-1", L");this.g+=this.e*(this.a?-1:1)}else this.m=i;a=this.d;if(!this.d)h(R);r", L"eturn a};m.p=function(){return this.e==-1};\nm.splice=function(){var a=", L"this.d;this.q();this.a=!this.a;T.prototype.next.call(this);this.a=!this", L".a;for(var b=p(arguments[0])?arguments[0]:arguments,c=b.length-1;c>=0;c", L"--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.par", L"entNode&&a.parentNode.removeChild(a)};function U(a,b,c,d){T.call(this,a", L",b,c,k,d)}aa(U,T);U.prototype.next=function(){do U.r.next.call(this);wh", L"ile(this.p());return this.d};function sa(a,b){var c=N(a);if(c.defaultVi", L"ew&&c.defaultView.getComputedStyle)if(c=c.defaultView.getComputedStyle(", L"a,\"\"))return c[b];return k}function ta(a,b,c,d){if(typeof d==\"number", L"\")d=(b?Math.round(d):d)+\"px\";c.style[a]=d}r(ta,\"height\",i);r(ta,\"", L"width\",i);\nfunction ua(a){var b=ia&&!(K[\"10\"]||(K[\"10\"]=ca(na,\"1", L"0\")>=0));if((sa(a,\"display\")||(a.currentStyle?a.currentStyle.display", L":k)||a.style.display)!=\"none\")return b?new y(a.offsetWidth||a.clientW", L"idth,a.offsetHeight||a.clientHeight):new y(a.offsetWidth,a.offsetHeight", L");var c=a.style,d=c.display,f=c.visibility,e=c.position;c.visibility=\"", L"hidden\";c.position=\"absolute\";c.display=\"inline\";if(b){b=a.offsetW", L"idth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{b=a.offsetWid", L"th;a=a.offsetHeight}c.display=d;c.position=\ne;c.visibility=f;return ne", L"w y(b,a)}var va={};function wa(a){return va[a]||(va[a]=String(a).replac", L"e(/\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};function V(a,b", L"){b=wa(b);return sa(a,b)||(a.currentStyle?a.currentStyle[b]:k)||(a.styl", L"e?a.style[b]:undefined)};var xa=[\"checked\",\"disabled\",\"readonly\",", L"\"selected\"];function W(a,b){if(8==a.nodeType)return k;var c=b.toLower", L"Case();if(\"style\"==c)return\"\";var d=a.getAttributeNode(b);if(!d)ret", L"urn k;if(da(xa,c)>=0)return ja&&d.value==\"false\"?k:i;return d.specifi", L"ed?d.value:k}\nfunction Aa(a){function b(d){if(V(d,\"display\")==\"none", L"\")return l;d=Ba(d);return!d||b(d)}function c(d){if(d.tagName&&d.tagNam", L"e.toUpperCase()==\"INPUT\"&&d.type.toLowerCase()==\"hidden\")return l;v", L"ar f=V(d,\"visibility\");if(f==\"inherit\"){d=Ba(d);return!d||c(d)}else", L" return f!=\"hidden\"}if(a&&a.nodeType!=1)h(Error(\"Argument to isShown", L" must be of type Element\"));if(!(c(a)&&b(a)))return l;a=ua(a);return a", L".height>0&&a.width>0}\nfunction Ba(a){if(!a.parentNode)return k;for(a=a", L".parentNode;a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNod", L"e;return a&&a.nodeType==1?a:k}function Ca(a){a=new U(a);try{a.next();re", L"turn ra(a)}catch(b){}return[]}\nfunction Da(a){var b=\"\",c=Ca(a);v(c,f", L"unction(d,f){if(d.nodeType==3){var e;if(d.nodeType!=3)h(Error(\"Cannot ", L"extract text from a node whose type is not #text\"));if(ba(d.nodeValue)", L"==\" \")e=\" \";else if((e=Ba(d))&&Aa(e)){e=d.nodeValue;e=e.replace(Reg", L"Exp(String.fromCharCode(160),\"gm\"),\" \");e=e=ba(e)}else e=\"\";e=s(e", L");if(e.length){var g;a:{for(g=f-1;g>=0;g--){var j=c[g];if(j.nodeType!=3", L"){if(j.tagName&&j.tagName.toUpperCase()==\"BR\")g=i;else if(1!=j.nodeTy", L"pe)g=l;else{g=V(j,\"display\");g=g==\"block\"||g==\"inline-block\"}brea", L"k a}}g=\nl}if(g)b+=\"\\n\";else if(f!=0)b+=\" \"}b+=e}});return b=s(b.r", L"eplace(/ +/g,\" \"))};var Ea={};Ea.f=function(a,b){var c=L(b),d=c.o(a);", L"if(!d)return k;if(W(d,\"id\")==a&&O(b,d))return d;c=c.b(\"*\");return x", L"(c,function(f){return W(f,\"id\")==a&&O(b,f)})};Ea.c=function(a,b){var ", L"c=L(b);b=b.documentElement?b.documentElement:b;c=c.b(\"*\",k,b);return ", L"w(c,function(d){return W(d,\"id\")==a})};var X={},Fa={};X.l=function(a,", L"b,c,d){if(!b&&b!=\"\")h(Error(\"No link text specified\"));a=N(a);var f", L"=c||a;c=(new M(a)).b(\"A\");return x(c,function(e){var g=Da(e);if(d&&g.", L"indexOf(b)!=-1||g==b)return O(f,e)})};X.k=function(a,b,c,d){if(!b&&b!=", L"\"\")h(Error(\"No link text specified\"));a=N(a);var f=c||a;c=(new M(a)", L").b(\"A\");return w(c,function(e){var g=Da(e);if(d&&g.indexOf(b)!=-1||g", L"==b)return O(f,e)})};X.f=function(a,b,c){return X.l(a,b,c,l)};X.c=funct", L"ion(a,b,c){return X.k(a,b,c,l)};\nFa.f=function(a,b,c){return X.l(a,b,c", L",i)};Fa.c=function(a,b,c){return X.k(a,b,c,i)};var Ga={};Ga.f=function(", L"a,b){var c=L(b);b=b.documentElement?b.documentElement:b;c=c.b(\"*\",k,b", L");return x(c,function(d){return W(d,\"name\")==a})};Ga.c=function(a,b){", L"var c=L(b);b=b.documentElement?b.documentElement:b;c=c.b(\"*\",k,b);ret", L"urn w(c,function(d){return W(d,\"name\")==a})};var Ha={};Ha.f=function(", L"a,b,c){a=L(a);return a.b(b,k,c||a.i)[0]||k};Ha.c=function(a,b,c){a=L(a)", L";return a.b(b,k,c||a.i)};function Ia(a,b){if(typeof a.selectNodes!=\"un", L"defined\"){var c=N(a);typeof c.setProperty!=\"undefined\"&&c.setPropert", L"y(\"SelectionLanguage\",\"XPath\");return a.selectNodes(b)}else if(docu", L"ment.implementation.hasFeature(\"XPath\",\"3.0\")){c=N(a);var d=c.creat", L"eNSResolver(c.documentElement);c=c.evaluate(b,a,d,XPathResult.ORDERED_N", L"ODE_SNAPSHOT_TYPE,k);d=[];for(var f=c.snapshotLength,e=0;ec)return 1;return 0};var y=Array.prototype,ga=y", L".indexOf?function(a,c,b){return y.indexOf.call(a,c,b)}:function(a,c,b){", L"b=b==n?0:b<0?Math.max(0,a.length+b):b;if(typeof a==\"string\"){if(typeo", L"f c!=\"string\"||c.length!=1)return-1;return a.indexOf(c,b)}for(b=b;b=0));M.prototype.c=function(){M.A.c.call(this);thi", L"s.relatedTarget=this.currentTarget=this.target=this.s=n};function N(a,c", L"){this.v=c;this.a=[];this.B(a)}w(N,J);p=N.prototype;p.j=n;p.q=n;p.g=fun", L"ction(a){this.j=a};p.t=function(){if(this.a.length)return this.a.pop();", L"return this.o()};p.d=function(a){this.a.lengththis.v)throw Error(\"[goog.structs.Simple", L"Pool] Initial cannot be greater than max\");for(var c=0;c=0),h;va=function(j){h=j};if(e){O=function(j){i.d(j)};P=func", L"tion(){return m.t()};Q=function(j){m.d(j)};R=function(){k.d(b())};S=fun", L"ction(j){r.d(j)};T=function(){return l.t()};wa=function(j){l.d(j)};var ", L"i=new N(0,600);i.g(a);var m=new N(0,600);m.g(c);var k=new N(0,600);k.g(", L"b);var r=new N(0,600);\nr.g(d);var l=new N(0,600);l.g(f)}else{O=t;P=c;S", L"=R=Q=t;T=f;wa=t}})();var U={},V={},xa={},ya={};function za(a,c,b,d){if(", L"!d.i)if(d.w){for(var f=0,e=0;f=0&&y.splice.call(k,r,", L"1).length==1;k.length==0&&delete xa[e]}f.f=g;i.w=g;za(h,m,e,i);delete U", L"[d]}}}return b}\nva(function(a,c){if(!U[a])return g;var b=U[a],d=b.type", L",f=V;if(!(d in f))return g;f=f[d];var e,h;if(K===undefined)K=E&&!q.addE", L"ventListener;if(K){var i;if(!(i=c))a:{i=\"window.event\".split(\".\");f", L"or(var m=q;e=i.shift();)if(m[e])m=m[e];else{i=n;break a}i=m}e=i;i=g in ", L"f;m=o in f;if(i){if(e.keyCode<0||e.returnValue!=undefined)return g;a:{v", L"ar k=o;if(e.keyCode==0)try{e.keyCode=-1;break a}catch(r){k=g}if(k||e.re", L"turnValue==undefined)e.returnValue=g}}k=T();k.k(e,this);e=g;try{if(i){f", L"or(var l=P(),j=k.currentTarget;j;j=\nj.parentNode)l.push(j);h=f[g];h.e=", L"h.b;for(var s=l.length-1;!k.m&&s>=0&&h.e;s--){k.currentTarget=l[s];e&=B", L"a(h,l[s],d,g,k)}if(m){h=f[o];h.e=h.b;for(s=0;!k.m&&s=0)k=b.related||n;var r=!!b.alt,l=!!b.control,j=!!b.shift;", L"b=!!b.meta;if(a.fireEvent&&d&&d.createEventObject){a=d.createEventObjec", L"t();a.altKey=r;a.G=l;a.metaKey=b;a.shiftKey=j;a.clientX=e;a.clientY=h;a", L".button=i;a.relatedTarget=k}else{a=d.createEvent(\"MouseEvents\");if(a.", L"initMouseEvent)a.initMouseEvent(c,m,g,f,1,0,0,e,h,l,r,j,b,i,k);else{a.i", L"nitEvent(c,m,g);\na.shiftKey=j;a.metaKey=b;a.altKey=r;a.ctrlKey=l;a.but", L"ton=i}}return a}function Ga(a,c,b){var d=I(a);b=b||{};var f=b.bubble||g", L",e=!!b.alt,h=!!b.control,i=!!b.shift;b=!!b.meta;if(a.fireEvent&&d&&d.cr", L"eateEventObject){a=d.createEventObject();a.altKey=e;a.H=h;a.metaKey=b;a", L".shiftKey=i}else{a=d.createEvent(\"HTMLEvents\");a.initEvent(c,f,g);a.s", L"hiftKey=i;a.metaKey=b;a.altKey=e;a.ctrlKey=h}return a}var X={};X.moused", L"own=W;X.mousemove=W;X.mouseout=W;X.mouseover=W;X.mouseup=W;function Ha(", L"a,c,b){b=(X[c]||Ga)(a,c,b);if(u(a.fireEvent)||ba(a.fireEvent)){try{(I(a", L")?I(a).parentWindow||I(a).defaultView:window).event=b}catch(d){}a.fireE", L"vent(\"on\"+c,b)}else a.dispatchEvent(b)}var Y=\"_\".split(\".\"),Z=q;!", L"(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.lengt", L"h&&($=Y.shift());)if(!Y.length&&Ha!==undefined)Z[$]=Ha;else Z=Z[$]?Z[$]", L":Z[$]={};return _.apply(null,arguments);};\n", NULL }; const wchar_t* const GET_ATTRIBUTE[] = { L"var getAttribute=function(){var e=null,f=this;function g(b){var c=Array", L".prototype.slice.call(arguments,1);return function(){var a=Array.protot", L"ype.slice.call(arguments);a.unshift.apply(a,c);return b.apply(this,a)}}", L";var h=Array.prototype,i=h.indexOf?function(b,c,a){return h.indexOf.cal", L"l(b,c,a)}:function(b,c,a){a=a==e?0:a<0?Math.max(0,b.length+a):a;if(type", L"of b==\"string\"){if(typeof c!=\"string\"||c.length!=1)return-1;return ", L"b.indexOf(c,a)}for(a=a;a=0)return q&&d.value==\"false\"?e:true;", L"return d.specified?d.value:e}var A=\"_\".split(\".\"),B=f;!(A[0]in B)&&", L"B.execScript&&B.execScript(\"var \"+A[0]);for(var C;A.length&&(C=A.shif", L"t());)if(!A.length&&z!==undefined)B[C]=z;else B=B[C]?B[C]:B[C]={};retur", L"n _.apply(null,arguments);};\n", NULL }; const wchar_t* const GET_EFFECTIVE_STYLE[] = { L"var getEffectiveStyle=function(){var e=this;function f(a){var d=Array.p", L"rototype.slice.call(arguments,1);return function(){var b=Array.prototyp", L"e.slice.call(arguments);b.unshift.apply(b,d);return a.apply(this,b)}};v", L"ar g,h,i,j;function k(){return e.navigator?e.navigator.userAgent:null}j", L"=i=h=g=false;var l;if(l=k()){var m=e.navigator;g=l.indexOf(\"Opera\")==", L"0;h=!g&&l.indexOf(\"MSIE\")!=-1;i=!g&&l.indexOf(\"WebKit\")!=-1;j=!g&&!", L"i&&m.product==\"Gecko\"}var n=h,o=j,p=i,q=\"\",r;if(g&&e.opera){var s=e", L".opera.version;q=typeof s==\"function\"?s():s}else{if(o)r=/rv\\:([^\\);", L"]+)(\\)|;)/;else if(n)r=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(p)r=/WebKit", L"\\/(\\S+)/;if(r){var t=r.exec(k());q=t?t[1]:\"\"}};function u(a,d,b,c){", L"if(typeof c==\"number\")c=(d?Math.round(c):c)+\"px\";b.style[a]=c}f(u,", L"\"height\",true);f(u,\"width\",true);var v={};function w(a){return v[a]", L"||(v[a]=String(a).replace(/\\-([a-z])/g,function(d,b){return b.toUpperC", L"ase()}))};function x(a,d){d=w(d);var b;a:{b=d;var c=a.nodeType==9?a:a.o", L"wnerDocument||a.document;if(c.defaultView&&c.defaultView.getComputedSty", L"le)if(c=c.defaultView.getComputedStyle(a,\"\")){b=c[b];break a}b=null}r", L"eturn b||(a.currentStyle?a.currentStyle[d]:null)||(a.style?a.style[d]:u", L"ndefined)}var y=\"_\".split(\".\"),z=e;!(y[0]in z)&&z.execScript&&z.exe", L"cScript(\"var \"+y[0]);for(var A;y.length&&(A=y.shift());)if(!y.length&", L"&x!==undefined)z[A]=x;else z=z[A]?z[A]:z[A]={};return _.apply(null,argu", L"ments);};\n", NULL }; const wchar_t* const GET_LOCATION[] = { L"var getLocation=function(){var f=this;function g(a){var b=Array.prototy", L"pe.slice.call(arguments,1);return function(){var c=Array.prototype.slic", L"e.call(arguments);c.unshift.apply(c,b);return a.apply(this,c)}};functio", L"n h(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0};var i,j,k,l", L";function m(){return f.navigator?f.navigator.userAgent:null}l=k=j=i=fal", L"se;var n;if(n=m()){var o=f.navigator;i=n.indexOf(\"Opera\")==0;j=!i&&n.", L"indexOf(\"MSIE\")!=-1;k=!i&&n.indexOf(\"WebKit\")!=-1;l=!i&&!k&&o.produ", L"ct==\"Gecko\"}var p=i,q=j,r=l,s=k,u=\"\",v;if(p&&f.opera){var w=f.opera", L".version;u=typeof w==\"function\"?w():w}else{if(r)v=/rv\\:([^\\);]+)(", L"\\)|;)/;else if(q)v=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(s)v=/WebKit\\/(", L"\\S+)/;if(v){var x=v.exec(m());u=x?x[1]:\"\"}};var y;function z(a){retu", L"rn a.nodeType==9?a:a.ownerDocument||a.document}function A(a){this.a=a||", L"f.document||document}A.prototype.c=function(){return this.a.compatMode=", L"=\"CSS1Compat\"};A.prototype.b=function(){var a=!s&&this.a.compatMode==", L"\"CSS1Compat\"?this.a.documentElement:this.a.body;return new h(a.scroll", L"Left,a.scrollTop)};function B(a,b){var c;a:{c=z(a);if(c.defaultView&&c.", L"defaultView.getComputedStyle)if(c=c.defaultView.getComputedStyle(a,\"\"", L")){c=c[b];break a}c=null}return c||(a.currentStyle?a.currentStyle[b]:nu", L"ll)||a.style[b]}\nfunction C(a){if(q)return a.offsetParent;var b=z(a),c", L"=B(a,\"position\"),e=c==\"fixed\"||c==\"absolute\";for(a=a.parentNode;a", L"&&a!=b;a=a.parentNode){c=B(a,\"position\");e=e&&c==\"static\"&&a!=b.doc", L"umentElement&&a!=b.body;if(!e&&(a.scrollWidth>a.clientWidth||a.scrollHe", L"ight>a.clientHeight||c==\"fixed\"||c==\"absolute\"))return a}return nul", L"l}function D(a,b,c,e){if(typeof e==\"number\")e=(b?Math.round(e):e)+\"p", L"x\";c.style[a]=e}g(D,\"height\",true);g(D,\"width\",true);function E(a)", L"{var b,c=z(a),e=B(a,\"position\"),I=r&&c.getBoxObjectFor&&!a.getBoundin", L"gClientRect&&e==\"absolute\"&&(b=c.getBoxObjectFor(a))&&(b.screenX<0||b", L".screenY<0),d=new h(0,0),t;b=c?c.nodeType==9?c:z(c):document;t=q&&!(b?n", L"ew A(z(b)):y||(y=new A)).c()?b.body:b.documentElement;if(a==t)return d;", L"if(a.getBoundingClientRect){b=a.getBoundingClientRect();if(q){a=a.owner", L"Document;b.left-=a.documentElement.clientLeft+a.body.clientLeft;b.top-=", L"a.documentElement.clientTop+a.body.clientTop}b=b;c=(c?new A(z(c)):\ny||", L"(y=new A)).b();d.x=b.left+c.x;d.y=b.top+c.y}else if(c.getBoxObjectFor&&", L"!I){b=c.getBoxObjectFor(a);c=c.getBoxObjectFor(t);d.x=b.screenX-c.scree", L"nX;d.y=b.screenY-c.screenY}else{b=a;do{d.x+=b.offsetLeft;d.y+=b.offsetT", L"op;if(b!=a){d.x+=b.clientLeft||0;d.y+=b.clientTop||0}if(s&&B(b,\"positi", L"on\")==\"fixed\"){d.x+=c.body.scrollLeft;d.y+=c.body.scrollTop;break}b=", L"b.offsetParent}while(b&&b!=a);if(p||s&&e==\"absolute\")d.y-=c.body.offs", L"etTop;for(b=a;(b=C(b))&&b!=c.body&&b!=t;){d.x-=b.scrollLeft;if(!p||b.ta", L"gName!=\n\"TR\")d.y-=b.scrollTop}}return d}var F=\"_\".split(\".\"),G=f", L";!(F[0]in G)&&G.execScript&&G.execScript(\"var \"+F[0]);for(var H;F.len", L"gth&&(H=F.shift());)if(!F.length&&E!==undefined)G[H]=E;else G=G[H]?G[H]", L":G[H]={};return _.apply(null,arguments);};\n", NULL }; const wchar_t* const GET_PROPERTY[] = { L"var getProperty=function(){var a=this;function b(e){var c=Array.prototy", L"pe.slice.call(arguments,1);return function(){var f=Array.prototype.slic", L"e.call(arguments);f.unshift.apply(f,c);return e.apply(this,f)}};var d,g", L",i,j;function k(){return a.navigator?a.navigator.userAgent:null}j=i=g=d", L"=false;var l;if(l=k()){var m=a.navigator;d=l.indexOf(\"Opera\")==0;g=!d", L"&&l.indexOf(\"MSIE\")!=-1;i=!d&&l.indexOf(\"WebKit\")!=-1;j=!d&&!i&&m.p", L"roduct==\"Gecko\"}var n=g,o=j,p=i,q=\"\",r;if(d&&a.opera){var s=a.opera", L".version;q=typeof s==\"function\"?s():s}else{if(o)r=/rv\\:([^\\);]+)(", L"\\)|;)/;else if(n)r=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(p)r=/WebKit\\/(", L"\\S+)/;if(r){var t=r.exec(k());q=t?t[1]:\"\"}};function u(e,c,f,h){if(t", L"ypeof h==\"number\")h=(c?Math.round(h):h)+\"px\";f.style[e]=h}b(u,\"hei", L"ght\",true);b(u,\"width\",true);var v={\"class\":\"className\",readonly", L":\"readOnly\"};function w(e,c){return e[v[c]||c]}var x=\"_\".split(\".", L"\"),y=a;!(x[0]in y)&&y.execScript&&y.execScript(\"var \"+x[0]);for(var ", L"z;x.length&&(z=x.shift());)if(!x.length&&w!==undefined)y[z]=w;else y=y[", L"z]?y[z]:y[z]={};return _.apply(null,arguments);};\n", NULL }; const wchar_t* const GET_SIZE[] = { L"var getSize=function(){var e=this;function f(a){var c=Array.prototype.s", L"lice.call(arguments,1);return function(){var b=Array.prototype.slice.ca", L"ll(arguments);b.unshift.apply(b,c);return a.apply(this,b)}};function g(", L"a,c){if(ac)return 1;return 0};function i(a,c){thi", L"s.width=a;this.height=c}i.prototype.round=function(){this.width=Math.ro", L"und(this.width);this.height=Math.round(this.height);return this};var l,", L"m,n,o;function p(){return e.navigator?e.navigator.userAgent:null}o=n=m=", L"l=false;var q;if(q=p()){var r=e.navigator;l=q.indexOf(\"Opera\")==0;m=!", L"l&&q.indexOf(\"MSIE\")!=-1;n=!l&&q.indexOf(\"WebKit\")!=-1;o=!l&&!n&&r.", L"product==\"Gecko\"}var s=l,t=m,u=o,w=n,x=\"\",y;if(s&&e.opera){var z=e.", L"opera.version;x=typeof z==\"function\"?z():z}else{if(u)y=/rv\\:([^\\);]", L"+)(\\)|;)/;else if(t)y=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(w)y=/WebKit", L"\\/(\\S+)/;if(y){var A=y.exec(p());x=A?A[1]:\"\"}}var B=x,C={};function", L" D(a,c,b,d){if(typeof d==\"number\")d=(c?Math.round(d):d)+\"px\";b.styl", L"e[a]=d}f(D,\"height\",true);f(D,\"width\",true);function E(a){var c;if(", L"c=s){if(!(c=C[\"10\"])){c=0;for(var b=String(B).replace(/^[\\s\\xa0]+|[", L"\\s\\xa0]+$/g,\"\").split(\".\"),d=String(\"10\").replace(/^[\\s\\xa0]+", L"|[\\s\\xa0]+$/g,\"\").split(\".\"),v=Math.max(b.length,d.length),h=0;c=", L"=0&&h=0}c=!c}c=c;a:{b=a.nodeType==9?a:a.ownerDocument|", L"|a.document;if(b.defaultView&&b.defaultView.getComputedStyle)if(b=b.def", L"aultView.getComputedStyle(a,\"\")){b=b.display;break a}b=null}if((b||(a", L".currentStyle?a.currentStyle.display:null)||a.style.display)!=\"none\")", L"return c?new i(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHei", L"ght):new i(a.offsetWidth,a.offsetHeight);b=a.style;d=b.display;v=b.visi", L"bility;h=b.position;b.visibility=\"hidden\";b.position=\n\"absolute\";b", L".display=\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeig", L"ht||a.clientHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.display=d;b.", L"position=h;b.visibility=v;return new i(c,a)}var F=\"_\".split(\".\"),G=", L"e;!(F[0]in G)&&G.execScript&&G.execScript(\"var \"+F[0]);for(var H;F.le", L"ngth&&(H=F.shift());)if(!F.length&&E!==undefined)G[H]=E;else G=G[H]?G[H", L"]:G[H]={};return _.apply(null,arguments);};\n", NULL }; const wchar_t* const GET_VISIBLE_TEXT[] = { L"var getVisibleText=function(){var h=null,i=false,j,k=this;\nfunction l(", L"a){var b=typeof a;if(b==\"object\")if(a){if(a instanceof Array||!(a ins", L"tanceof Object)&&Object.prototype.toString.call(a)==\"[object Array]\"|", L"|typeof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.", L"propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"", L"))return\"array\";if(!(a instanceof Object)&&(Object.prototype.toString", L".call(a)==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof a", L".propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\")", L"))return\"function\"}else return\"null\";else if(b==\n\"function\"&&typ", L"eof a.call==\"undefined\")return\"object\";return b}function n(a){var b", L"=l(a);return b==\"array\"||b==\"object\"&&typeof a.length==\"number\"}f", L"unction o(a){var b=Array.prototype.slice.call(arguments,1);return funct", L"ion(){var c=Array.prototype.slice.call(arguments);c.unshift.apply(c,b);", L"return a.apply(this,c)}}function p(a,b){function c(){}c.prototype=b.pro", L"totype;a.k=b.prototype;a.prototype=new c};function q(a){return a.replac", L"e(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")}function r(a){retu", L"rn a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}function u(a,b){if(ab)return 1;return 0};var v=Array.prototype,w=v.forEa", L"ch?function(a,b,c){v.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.l", L"ength,f=typeof a==\"string\"?a.split(\"\"):a,e=0;e=a.length)throw N;if(b in a)return a[b++];else b++}};return c}", L"throw Error(\"Not implemented\");}\nfunction ea(a,b,c){if(n(a))try{w(a,", L"b,c)}catch(d){if(d!==N)throw d;}else{a=P(a);try{for(;;)b.call(c,a.next(", L"),undefined,a)}catch(f){if(f!==N)throw f;}}}function fa(a){if(n(a))retu", L"rn y(a);a=P(a);var b=[];ea(a,function(c){b.push(c)});return b};function", L" Q(a,b,c,d,f){this.a=!!b;a&&this.e(a,d);this.d=f!=undefined?f:this.c||0", L";if(this.a)this.d*=-1;this.h=!c}p(Q,O);j=Q.prototype;j.b=h;j.c=0;j.g=i;", L"j.e=function(a,b,c){if(this.b=a)this.c=typeof b==\"number\"?b:this.b.no", L"deType!=1?0:this.a?-1:1;if(typeof c==\"number\")this.d=c};j.j=function(", L"){var a=this.a?1:-1;if(this.c==a){this.c=a*-1;this.d+=this.c*(this.a?-1", L":1)}};\nj.next=function(){var a;if(this.g){if(!this.b||this.h&&this.d==", L"0)throw N;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a.lastC", L"hild:a.firstChild;c?this.e(c):this.e(a,b*-1)}else(c=this.a?a.previousSi", L"bling:a.nextSibling)?this.e(c):this.e(a.parentNode,b*-1);this.d+=this.c", L"*(this.a?-1:1)}else this.g=true;a=this.b;if(!this.b)throw N;return a};j", L".i=function(){return this.c==-1};\nj.splice=function(){var a=this.b;thi", L"s.j();this.a=!this.a;Q.prototype.next.call(this);this.a=!this.a;for(var", L" b=n(arguments[0])?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.paren", L"tNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a", L".parentNode.removeChild(a)};function R(a,b,c,d){Q.call(this,a,b,c,h,d)}", L"p(R,Q);R.prototype.next=function(){do R.k.next.call(this);while(this.i(", L"));return this.b};function S(a,b){var c=a.nodeType==9?a:a.ownerDocument", L"||a.document;if(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.de", L"faultView.getComputedStyle(a,\"\"))return c[b];return h}function T(a,b,", L"c,d){if(typeof d==\"number\")d=(b?Math.round(d):d)+\"px\";c.style[a]=d}", L"o(T,\"height\",true);o(T,\"width\",true);\nfunction ga(a){var b;if(b=H)", L"{if(!(b=M[\"10\"])){b=0;for(var c=r(String(da)).split(\".\"),d=r(String", L"(\"10\")).split(\".\"),f=Math.max(c.length,d.length),e=0;b==0&&e=0}b=!b}e=\nb;if((S(a,\"display\")||(a.currentStyle?a.curren", L"tStyle.display:h)||a.style.display)!=\"none\")return e?new z(a.offsetWi", L"dth||a.clientWidth,a.offsetHeight||a.clientHeight):new z(a.offsetWidth,", L"a.offsetHeight);b=a.style;c=b.display;d=b.visibility;f=b.position;b.vis", L"ibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";if(e){e", L"=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{e=a", L".offsetWidth;a=a.offsetHeight}b.display=c;b.position=f;b.visibility=d;r", L"eturn new z(e,a)}var U={};\nfunction ja(a){return U[a]||(U[a]=String(a)", L".replace(/\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};functio", L"n V(a,b){b=ja(b);return S(a,b)||(a.currentStyle?a.currentStyle[b]:h)||(", L"a.style?a.style[b]:undefined)};function ka(a){function b(d){if(V(d,\"di", L"splay\")==\"none\")return i;d=W(d);return!d||b(d)}function c(d){if(d.ta", L"gName&&d.tagName.toUpperCase()==\"INPUT\"&&d.type.toLowerCase()==\"hidd", L"en\")return i;var f=V(d,\"visibility\");if(f==\"inherit\"){d=W(d);retur", L"n!d||c(d)}else return f!=\"hidden\"}if(a&&a.nodeType!=1)throw Error(\"A", L"rgument to isShown must be of type Element\");if(!(c(a)&&b(a)))return i", L";a=ga(a);return a.height>0&&a.width>0}\nfunction W(a){if(!a.parentNode)", L"return h;for(a=a.parentNode;a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=1", L"1;)a=a.parentNode;return a&&a.nodeType==1?a:h}function la(a){a=new R(a)", L";try{a.next();return fa(a)}catch(b){}return[]};function X(a){var b=\"\"", L",c=la(a);w(c,function(d,f){if(d.nodeType==3){var e;if(d.nodeType!=3)thr", L"ow Error(\"Cannot extract text from a node whose type is not #text\");i", L"f(q(d.nodeValue)==\" \")e=\" \";else if((e=W(d))&&ka(e)){e=d.nodeValue;", L"e=e.replace(RegExp(String.fromCharCode(160),\"gm\"),\" \");e=e=q(e)}els", L"e e=\"\";e=r(e);if(e.length){var g;a:{for(g=f-1;g>=0;g--){var m=c[g];if", L"(m.nodeType!=3){if(m.tagName&&m.tagName.toUpperCase()==\"BR\")g=true;el", L"se if(1!=m.nodeType)g=i;else{g=V(m,\"display\");g=g==\"block\"||g==\"in", L"line-block\"}break a}}g=\ni}if(g)b+=\"\\n\";else if(f!=0)b+=\" \"}b+=e}", L"});return b=r(b.replace(/ +/g,\" \"))}var Y=\"_\".split(\".\"),Z=k;!(Y[", L"0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&", L"($=Y.shift());)if(!Y.length&&X!==undefined)Z[$]=X;else Z=Z[$]?Z[$]:Z[$]", L"={};return _.apply(null,arguments);};\n", NULL }; const wchar_t* const IS_ENABLED[] = { L"var isEnabled=function(){var e=null,f=this;function g(b){var c=Array.pr", L"ototype.slice.call(arguments,1);return function(){var a=Array.prototype", L".slice.call(arguments);a.unshift.apply(a,c);return b.apply(this,a)}};va", L"r h=Array.prototype,i=h.indexOf?function(b,c,a){return h.indexOf.call(b", L",c,a)}:function(b,c,a){a=a==e?0:a<0?Math.max(0,b.length+a):a;if(typeof ", L"b==\"string\"){if(typeof c!=\"string\"||c.length!=1)return-1;return b.i", L"ndexOf(c,a)}for(a=a;a=0)return q&&d.value==\"false\"?e:true;retur", L"n d.specified?d.value:e}var A=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTI", L"ON\",\"SELECT\",\"TEXTAREA\"];\nfunction B(b){var c=b.tagName.toUpperCa", L"se();if(!(i(A,c)>=0))return true;if(z(b,\"disabled\"))return false;if(b", L".parentNode&&b.parentNode.nodeType==1&&\"OPTGROUP\"==c||\"OPTION\"==c)r", L"eturn B(b.parentNode);return true};var C=B,D=\"_\".split(\".\"),E=f;!(D", L"[0]in E)&&E.execScript&&E.execScript(\"var \"+D[0]);for(var F;D.length&", L"&(F=D.shift());)if(!D.length&&C!==undefined)E[F]=C;else E=E[F]?E[F]:E[F", L"]={};return _.apply(null,arguments);};\n", NULL }; const wchar_t* const IS_SELECTED[] = { L"var isSelected=function(){var b=this;function c(d){var a=Array.prototyp", L"e.slice.call(arguments,1);return function(){var f=Array.prototype.slice", L".call(arguments);f.unshift.apply(f,a);return d.apply(this,f)}};var e,g,", L"i,j;function k(){return b.navigator?b.navigator.userAgent:null}j=i=g=e=", L"false;var l;if(l=k()){var m=b.navigator;e=l.indexOf(\"Opera\")==0;g=!e&", L"&l.indexOf(\"MSIE\")!=-1;i=!e&&l.indexOf(\"WebKit\")!=-1;j=!e&&!i&&m.pr", L"oduct==\"Gecko\"}var n=g,o=j,p=i,q=\"\",r;if(e&&b.opera){var s=b.opera.", L"version;q=typeof s==\"function\"?s():s}else{if(o)r=/rv\\:([^\\);]+)(\\)", L"|;)/;else if(n)r=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(p)r=/WebKit\\/(\\S", L"+)/;if(r){var t=r.exec(k());q=t?t[1]:\"\"}};function u(d,a,f,h){if(type", L"of h==\"number\")h=(a?Math.round(h):h)+\"px\";f.style[d]=h}c(u,\"height", L"\",true);c(u,\"width\",true);var v={\"class\":\"className\",readonly:\"", L"readOnly\"};function w(d){var a=d[v.checked||\"checked\"];if(typeof a==", L"\"boolean\")return a;a=d[v.selected||\"selected\"];if(typeof a==\"boole", L"an\")return a;throw Error(\"Element has neither checked nor selected pr", L"operties\");}var x=\"_\".split(\".\"),y=b;!(x[0]in y)&&y.execScript&&y.", L"execScript(\"var \"+x[0]);for(var z;x.length&&(z=x.shift());)if(!x.leng", L"th&&w!==undefined)y[z]=w;else y=y[z]?y[z]:y[z]={};return _.apply(null,a", L"rguments);};\n", NULL }; const wchar_t* const IS_SHOWN[] = { L"var isShown=function(){var f=null,g=false,h=this;function i(a){var b=Ar", L"ray.prototype.slice.call(arguments,1);return function(){var d=Array.pro", L"totype.slice.call(arguments);d.unshift.apply(d,b);return a.apply(this,d", L")}};function k(a,b){if(ab)return 1;return 0};func", L"tion n(a,b){this.width=a;this.height=b}n.prototype.round=function(){thi", L"s.width=Math.round(this.width);this.height=Math.round(this.height);retu", L"rn this};var o,p,q,r;function s(){return h.navigator?h.navigator.userAg", L"ent:f}r=q=p=o=g;var t;if(t=s()){var u=h.navigator;o=t.indexOf(\"Opera\"", L")==0;p=!o&&t.indexOf(\"MSIE\")!=-1;q=!o&&t.indexOf(\"WebKit\")!=-1;r=!o", L"&&!q&&u.product==\"Gecko\"}var v=o,w=p,x=r,y=q,z=\"\",A;if(v&&h.opera){", L"var B=h.opera.version;z=typeof B==\"function\"?B():B}else{if(x)A=/rv\\:", L"([^\\);]+)(\\)|;)/;else if(w)A=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(y)A=", L"/WebKit\\/(\\S+)/;if(A){var C=A.exec(s());z=C?C[1]:\"\"}}var D=z,E={};f", L"unction F(a,b){var d=a.nodeType==9?a:a.ownerDocument||a.document;if(d.d", L"efaultView&&d.defaultView.getComputedStyle)if(d=d.defaultView.getComput", L"edStyle(a,\"\"))return d[b];return f}function G(a,b,d,c){if(typeof c==", L"\"number\")c=(b?Math.round(c):c)+\"px\";d.style[a]=c}i(G,\"height\",tru", L"e);i(G,\"width\",true);\nfunction H(a){var b;if(b=v){if(!(b=E[\"10\"]))", L"{b=0;for(var d=String(D).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").spl", L"it(\".\"),c=String(\"10\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").s", L"plit(\".\"),j=Math.max(d.length,c.length),e=0;b==0&&e=", L"0}b=!b}e=b;if((F(a,\"display\")||(a.currentStyle?a.currentStyle.display", L":f)||a.style.display)!=\"none\")return e?new n(a.offsetWidth||a.clientW", L"idth,a.offsetHeight||a.clientHeight):new n(a.offsetWidth,a.offsetHeight", L");b=a.style;d=b.display;c=b.visibility;j=b.position;b.visibility=\"hidd", L"en\";b.position=\"absolute\";b.display=\"inline\";if(e){e=a.offsetWidth", L"||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{e=a.offsetWidth;a", L"=a.offsetHeight}b.display=d;b.position=\nj;b.visibility=c;return new n(", L"e,a)}var I={};function J(a){return I[a]||(I[a]=String(a).replace(/\\-([", L"a-z])/g,function(b,d){return d.toUpperCase()}))};function K(a,b){b=J(b)", L";return F(a,b)||(a.currentStyle?a.currentStyle[b]:f)||(a.style?a.style[", L"b]:undefined)};function L(a){if(!a.parentNode)return f;for(a=a.parentNo", L"de;a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return ", L"a&&a.nodeType==1?a:f};function M(a){function b(c){if(K(c,\"display\")==", L"\"none\")return g;c=L(c);return!c||b(c)}function d(c){if(c.tagName&&c.t", L"agName.toUpperCase()==\"INPUT\"&&c.type.toLowerCase()==\"hidden\")retur", L"n g;var j=K(c,\"visibility\");if(j==\"inherit\"){c=L(c);return!c||d(c)}", L"else return j!=\"hidden\"}if(a&&a.nodeType!=1)throw Error(\"Argument to", L" isShown must be of type Element\");if(!(d(a)&&b(a)))return g;a=H(a);re", L"turn a.height>0&&a.width>0}var N=\"_\".split(\".\"),O=h;!(N[0]in O)&&O.", L"execScript&&O.execScript(\"var \"+N[0]);\nfor(var T;N.length&&(T=N.shif", L"t());)if(!N.length&&M!==undefined)O[T]=M;else O=O[T]?O[T]:O[T]={};retur", L"n _.apply(null,arguments);};\n", NULL }; const wchar_t* const SET_SELECTED[] = { L"var setSelected=function(){var g=true,l=null,n=false,o,q=this;function ", L"t(){}\nfunction aa(a){var c=typeof a;if(c==\"object\")if(a){if(a instan", L"ceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)==", L"\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"und", L"efined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEn", L"umerable(\"splice\"))return\"array\";if(!(a instanceof Object)&&(Object", L".prototype.toString.call(a)==\"[object Function]\"||typeof a.call!=\"un", L"defined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsE", L"numerable(\"call\")))return\"function\"}else return\"null\";\nelse if(c", L"==\"function\"&&typeof a.call==\"undefined\")return\"object\";return c}", L"function u(a){return aa(a)==\"function\"}function ba(a){a=aa(a);return ", L"a==\"object\"||a==\"array\"||a==\"function\"}function ca(a){if(a.hasOwn", L"Property&&a.hasOwnProperty(v))return a[v];a[v]||(a[v]=++da);return a[v]", L"}var v=\"closure_uid_\"+Math.floor(Math.random()*2147483648).toString(3", L"6),da=0;\nfunction ea(a){var c=Array.prototype.slice.call(arguments,1);", L"return function(){var b=Array.prototype.slice.call(arguments);b.unshift", L".apply(b,c);return a.apply(this,b)}}function w(a,c){function b(){}b.pro", L"totype=c.prototype;a.A=c.prototype;a.prototype=new b};function x(a){thi", L"s.stack=Error().stack||\"\";if(a)this.message=String(a)}w(x,Error);x.pr", L"ototype.name=\"CustomError\";function y(a,c){for(var b=0,d=String(a).re", L"place(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),f=String(c).repla", L"ce(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),e=Math.max(d.length,", L"f.length),h=0;b==0&&hc)return 1;return 0};var A=Array.prototype,B=A.indexOf?function(a,c,b", L"){return A.indexOf.call(a,c,b)}:function(a,c,b){b=b==l?0:b<0?Math.max(0", L",a.length+b):b;if(typeof a==\"string\"){if(typeof c!=\"string\"||c.leng", L"th!=1)return-1;return a.indexOf(c,b)}for(b=b;b=0));P.prototype.c", L"=function(){P.A.c.call(this);this.relatedTarget=this.currentTarget=this", L".target=this.s=l};function Q(a,c){this.v=c;this.a=[];this.B(a)}w(Q,N);o", L"=Q.prototype;o.j=l;o.q=l;o.g=function(a){this.j=a};o.t=function(){if(th", L"is.a.length)return this.a.pop();return this.o()};o.d=function(a){this.a", L".lengththis.v)th", L"row Error(\"[goog.structs.SimplePool] Initial cannot be greater than ma", L"x\");for(var c=0;c=0),h;va=function(j){h=j}", L";if(e){R=function(j){i.d(j)};ua=function(){return p.t()};S=function(j){", L"p.d(j)};wa=function(){k.d(b())};xa=function(j){r.d(j)};ya=function(){re", L"turn m.t()};za=function(j){m.d(j)};var i=new Q(0,600);i.g(a);var p=new ", L"Q(0,600);p.g(c);var k=new Q(0,600);k.g(b);var r=new Q(0,600);\nr.g(d);v", L"ar m=new Q(0,600);m.g(f)}else{R=t;ua=c;xa=wa=S=t;ya=f;za=t}})();var T={", L"},U={},Aa={},Ba={};function Ca(a,c,b,d){if(!d.i)if(d.w){for(var f=0,e=0", L";f=0&&A.splice.call(k,r,1).length==1;k.length==0&&d", L"elete Aa[e]}f.f=g;i.w=g;Ca(h,p,e,i);delete T[d]}}}return b}\nva(functio", L"n(a,c){if(!T[a])return g;var b=T[a],d=b.type,f=U;if(!(d in f))return g;", L"f=f[d];var e,h;if(pa===undefined)pa=I&&!q.addEventListener;if(pa){var i", L";if(!(i=c))a:{i=\"window.event\".split(\".\");for(var p=q;e=i.shift();)", L"if(p[e])p=p[e];else{i=l;break a}i=p}e=i;i=g in f;p=n in f;if(i){if(e.ke", L"yCode<0||e.returnValue!=undefined)return g;a:{var k=n;if(e.keyCode==0)t", L"ry{e.keyCode=-1;break a}catch(r){k=g}if(k||e.returnValue==undefined)e.r", L"eturnValue=g}}k=ya();k.k(e,this);e=g;try{if(i){for(var m=ua(),j=k.curre", L"ntTarget;j;j=\nj.parentNode)m.push(j);h=f[g];h.e=h.b;for(var s=m.length", L"-1;!k.m&&s>=0&&h.e;s--){k.currentTarget=m[s];e&=Ea(h,m[s],d,g,k)}if(p){", L"h=f[n];h.e=h.b;for(s=0;!k.m&&s=0));if((Ga(a,\"displa", L"y\")||(a.currentStyle?a.currentStyle.display:l)||a.style.display)!=\"no", L"ne\")return c?new C(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clie", L"ntHeight):new C(a.offsetWidth,a.offsetHeight);var b=a.style,d=b.display", L",f=b.visibility,e=b.position;b.visibility=\"hidden\";b.position=\"absol", L"ute\";b.display=\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.off", L"setHeight||a.clientHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.displ", L"ay=d;b.position=\ne;b.visibility=f;return new C(c,a)}var Ja={};function", L" Ka(a){return Ja[a]||(Ja[a]=String(a).replace(/\\-([a-z])/g,function(c,", L"b){return b.toUpperCase()}))};function La(a,c){c=Ka(c);return Ga(a,c)||", L"(a.currentStyle?a.currentStyle[c]:l)||(a.style?a.style[c]:undefined)};v", L"ar Ma={\"class\":\"className\",readonly:\"readOnly\"},Na=[\"checked\",", L"\"disabled\",\"readonly\",\"selected\"];function Oa(a,c){if(8==a.nodeTy", L"pe)return l;var b=c.toLowerCase();if(\"style\"==b)return\"\";var d=a.ge", L"tAttributeNode(c);if(!d)return l;if(B(Na,b)>=0)return I&&d.value==\"fal", L"se\"?l:g;return d.specified?d.value:l}var Pa=[\"BUTTON\",\"INPUT\",\"OP", L"TGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction Qa(a){var c=a.t", L"agName.toUpperCase();if(!(B(Pa,c)>=0))return g;if(Oa(a,\"disabled\"))re", L"turn n;if(a.parentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==c||\"OP", L"TION\"==c)return Qa(a.parentNode);return g}\nfunction Ra(a){function c(", L"d){if(La(d,\"display\")==\"none\")return n;d=Sa(d);return!d||c(d)}funct", L"ion b(d){if(d.tagName&&d.tagName.toUpperCase()==\"INPUT\"&&d.type.toLow", L"erCase()==\"hidden\")return n;var f=La(d,\"visibility\");if(f==\"inheri", L"t\"){d=Sa(d);return!d||b(d)}else return f!=\"hidden\"}if(a&&a.nodeType!", L"=1)throw Error(\"Argument to isShown must be of type Element\");if(!(b(", L"a)&&c(a)))return n;a=Ia(a);return a.height>0&&a.width>0}\nfunction Sa(a", L"){if(!a.parentNode)return l;for(a=a.parentNode;a.nodeType!=1&&a.nodeTyp", L"e!=9&&a.nodeType!=11;)a=a.parentNode;return a&&a.nodeType==1?a:l}functi", L"on Ta(a){var c=a[Ma.checked||\"checked\"];if(typeof c==\"boolean\")retu", L"rn c;c=a[Ma.selected||\"selected\"];if(typeof c==\"boolean\")return c;t", L"hrow Error(\"Element has neither checked nor selected properties\");};f", L"unction V(a,c){x.call(this,c);this.code=a;this.name=Ua[a]||Ua[13]}w(V,x", L");var Va={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9", L",StaleElementReferenceError:10,ElementNotVisibleError:11,InvalidElement", L"StateError:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupE", L"rror:19,NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCoo", L"kieError:25},Wa={};for(var Xa in Va)Wa[Va[Xa]]=Xa;var Ua=Wa;var Ya=I?0:", L"1,Za=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction", L" W(a,c,b){var d=M(a),f=d?d.parentWindow||d.defaultView:window;b=b||{};v", L"ar e=b.x||0,h=b.y||0,i=b.button||Ya,p=b.bubble||g,k=l;if(B(Za,c)>=0)k=b", L".related||l;var r=!!b.alt,m=!!b.control,j=!!b.shift;b=!!b.meta;if(a.fir", L"eEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=r;a.G=", L"m;a.metaKey=b;a.shiftKey=j;a.clientX=e;a.clientY=h;a.button=i;a.related", L"Target=k}else{a=d.createEvent(\"MouseEvents\");if(a.initMouseEvent)a.in", L"itMouseEvent(c,p,g,f,1,0,0,e,h,m,r,j,b,i,k);else{a.initEvent(c,p,g);a.s", L"hiftKey=\nj;a.metaKey=b;a.altKey=r;a.ctrlKey=m;a.button=i}}return a}fun", L"ction $a(a,c,b){var d=M(a);b=b||{};var f=b.bubble||g,e=!!b.alt,h=!!b.co", L"ntrol,i=!!b.shift;b=!!b.meta;if(a.fireEvent&&d&&d.createEventObject){a=", L"d.createEventObject();a.altKey=e;a.H=h;a.metaKey=b;a.shiftKey=i}else{a=", L"d.createEvent(\"HTMLEvents\");a.initEvent(c,f,g);a.shiftKey=i;a.metaKey", L"=b;a.altKey=e;a.ctrlKey=h}return a}var X={};X.mousedown=W;X.mousemove=W", L";X.mouseout=W;X.mouseover=W;X.mouseup=W;\nfunction ab(a,c,b){if(u(a.fir", L"eEvent)||ba(a.fireEvent)){try{(M(a)?M(a).parentWindow||M(a).defaultView", L":window).event=b}catch(d){}a.fireEvent(\"on\"+c,b)}else a.dispatchEvent", L"(b)};function bb(a){if(!Ra(a))throw new V(11,\"Element is not currently", L" visible and may not be manipuated\");};function cb(a,c){if(!Qa(a))thro", L"w new V(12,\"Element is not currently enabled and may not be manipulate", L"d\");switch(a.tagName.toUpperCase()){case \"INPUT\":bb(a);if(a.type==\"", L"checkbox\"||a.type==\"radio\"){if(a.checked!=c){if(a.type==\"radio\"&&!", L"c)throw new V(12,\"You may not deselect a radio button\");if(c==Ta(a))r", L"eturn;a.checked=c;var b=(X.change||$a)(a,\"change\",void 0);ab(a,\"chan", L"ge\",b)}}else throw new V(15,\"You may not select an unselectable input", L" element: \"+a.type);break;case \"OPTION\":a:{b=a;b=b.parentNode;\nfor(", L"var d=0;b;){if(b.nodeType==1&&b.tagName.toUpperCase()==\"SELECT\"){b=b;", L"break a}b=b.parentNode;d++}b=l}if(!b)throw new V(15,\"You may not de/se", L"lect an option that is not within a select element\");if(b.disabled)thr", L"ow new V(12,\"You may not select an option from a disabled select\");bb", L"(b);if(!b.multiple&&!c)throw new V(15,\"You may not deselect an option ", L"within a select that does not support multiple selections.\");if(c==Ta(", L"a))return;a.selected=c;b=b;d=(X.change||$a)(b,\"change\",void 0);ab(b,", L"\"change\",d);\nbreak;default:throw new V(15,\"You may not select an un", L"selectable element: \"+a.tagName);}}var Y=\"_\".split(\".\"),Z=q;!(Y[0]", L"in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($", L"=Y.shift());)if(!Y.length&&cb!==undefined)Z[$]=cb;else Z=Z[$]?Z[$]:Z[$]", L"={};return _.apply(null,arguments);};\n", NULL }; const wchar_t* const SUBMIT[] = { L"var submit=function(){var g=true,n=null,o=false,p,q=this;function t(){}", L"\nfunction aa(a){var c=typeof a;if(c==\"object\")if(a){if(a instanceof ", L"Array||!(a instanceof Object)&&Object.prototype.toString.call(a)==\"[ob", L"ject Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefine", L"d\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumera", L"ble(\"splice\"))return\"array\";if(!(a instanceof Object)&&(Object.prot", L"otype.toString.call(a)==\"[object Function]\"||typeof a.call!=\"undefin", L"ed\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumer", L"able(\"call\")))return\"function\"}else return\"null\";\nelse if(c==\"f", L"unction\"&&typeof a.call==\"undefined\")return\"object\";return c}funct", L"ion u(a){return aa(a)==\"function\"}function ba(a){a=aa(a);return a==\"", L"object\"||a==\"array\"||a==\"function\"}function ca(a){if(a.hasOwnPrope", L"rty&&a.hasOwnProperty(v))return a[v];a[v]||(a[v]=++da);return a[v]}var ", L"v=\"closure_uid_\"+Math.floor(Math.random()*2147483648).toString(36),da", L"=0;\nfunction ea(a){var c=Array.prototype.slice.call(arguments,1);retur", L"n function(){var b=Array.prototype.slice.call(arguments);b.unshift.appl", L"y(b,c);return a.apply(this,b)}}function w(a,c){function b(){}b.prototyp", L"e=c.prototype;a.A=c.prototype;a.prototype=new b};function x(a){this.sta", L"ck=Error().stack||\"\";if(a)this.message=String(a)}w(x,Error);x.prototy", L"pe.name=\"CustomError\";function fa(a,c){for(var b=0,d=String(a).replac", L"e(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),f=String(c).replace(/", L"^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),e=Math.max(d.length,f.le", L"ngth),h=0;b==0&&hc)return 1;return 0};var z=Array.prototype,ga=z.indexOf?function(a,c,", L"b){return z.indexOf.call(a,c,b)}:function(a,c,b){b=b==n?0:b<0?Math.max(", L"0,a.length+b):b;if(typeof a==\"string\"){if(typeof c!=\"string\"||c.len", L"gth!=1)return-1;return a.indexOf(c,b)}for(b=b;b=", L"0));N.prototype.c=function(){N.A.c.call(this);this.relatedTarget=this.c", L"urrentTarget=this.target=this.s=n};function O(a,c){this.v=c;this.a=[];t", L"his.B(a)}w(O,K);p=O.prototype;p.j=n;p.q=n;p.g=function(a){this.j=a};p.t", L"=function(){if(this.a.length)return this.a.pop();return this.o()};p.d=f", L"unction(a){this.a.lengththis.v)throw Error(\"[goog.structs.SimplePool] Initial cannot b", L"e greater than max\");for(var c=0;c=0),h;va=f", L"unction(j){h=j};if(e){P=function(j){i.d(j)};Q=function(){return m.t()};", L"R=function(j){m.d(j)};S=function(){k.d(b())};T=function(j){r.d(j)};wa=f", L"unction(){return l.t()};xa=function(j){l.d(j)};var i=new O(0,600);i.g(a", L");var m=new O(0,600);m.g(c);var k=new O(0,600);k.g(b);var r=new O(0,600", L");\nr.g(d);var l=new O(0,600);l.g(f)}else{P=t;Q=c;T=S=R=t;wa=f;xa=t}})(", L");var U={},V={},ya={},za={};function Aa(a,c,b,d){if(!d.i)if(d.w){for(va", L"r f=0,e=0;f=0&&z.splice.call(k,r,1).length==1;k.leng", L"th==0&&delete ya[e]}f.f=g;i.w=g;Aa(h,m,e,i);delete U[d]}}}return b}\nva", L"(function(a,c){if(!U[a])return g;var b=U[a],d=b.type,f=V;if(!(d in f))r", L"eturn g;f=f[d];var e,h;if(L===undefined)L=F&&!q.addEventListener;if(L){", L"var i;if(!(i=c))a:{i=\"window.event\".split(\".\");for(var m=q;e=i.shif", L"t();)if(m[e])m=m[e];else{i=n;break a}i=m}e=i;i=g in f;m=o in f;if(i){if", L"(e.keyCode<0||e.returnValue!=undefined)return g;a:{var k=o;if(e.keyCode", L"==0)try{e.keyCode=-1;break a}catch(r){k=g}if(k||e.returnValue==undefine", L"d)e.returnValue=g}}k=wa();k.k(e,this);e=g;try{if(i){for(var l=Q(),j=k.c", L"urrentTarget;j;j=\nj.parentNode)l.push(j);h=f[g];h.e=h.b;for(var s=l.le", L"ngth-1;!k.m&&s>=0&&h.e;s--){k.currentTarget=l[s];e&=Ca(h,l[s],d,g,k)}if", L"(m){h=f[o];h.e=h.b;for(s=0;!k.m&&s=0)k=b.relate", L"d||n;var r=!!b.alt,l=!!b.control,j=!!b.shift;b=!!b.meta;if(a.fireEvent&", L"&d&&d.createEventObject){a=d.createEventObject();a.altKey=r;a.G=l;a.met", L"aKey=b;a.shiftKey=j;a.clientX=e;a.clientY=h;a.button=i;a.relatedTarget=", L"k}else{a=d.createEvent(\"MouseEvents\");if(a.initMouseEvent)a.initMouse", L"Event(c,m,g,f,1,0,0,e,h,l,r,j,b,i,k);else{a.initEvent(c,m,g);\na.shiftK", L"ey=j;a.metaKey=b;a.altKey=r;a.ctrlKey=l;a.button=i}}return a}function M", L"a(a,c,b){var d=J(a);b=b||{};var f=b.bubble||g,e=!!b.alt,h=!!b.control,i", L"=!!b.shift;b=!!b.meta;if(a.fireEvent&&d&&d.createEventObject){a=d.creat", L"eEventObject();a.altKey=e;a.H=h;a.metaKey=b;a.shiftKey=i}else{a=d.creat", L"eEvent(\"HTMLEvents\");a.initEvent(c,f,g);a.shiftKey=i;a.metaKey=b;a.al", L"tKey=e;a.ctrlKey=h}return a}var X={};X.mousedown=W;X.mousemove=W;X.mous", L"eout=W;X.mouseover=W;X.mouseup=W;function Na(a){a:{a=a;for(var c=0;a;){", L"if(a.nodeType==1&&a.tagName.toUpperCase()==\"FORM\"){a=a;break a}a=a.pa", L"rentNode;c++}a=n}if(!a)throw new Fa(12,\"Element was not in a form, so ", L"could not submit.\");c=a;var b=(X.submit||Ma)(c,\"submit\",void 0);if(u", L"(c.fireEvent)||ba(c.fireEvent)){try{(J(c)?J(c).parentWindow||J(c).defau", L"ltView:window).event=b}catch(d){}c.fireEvent(\"onsubmit\",b)}else c.dis", L"patchEvent(b);a.submit()}var Y=\"_\".split(\".\"),Z=q;!(Y[0]in Z)&&Z.ex", L"ecScript&&Z.execScript(\"var \"+Y[0]);\nfor(var $;Y.length&&($=Y.shift(", L"));)if(!Y.length&&Na!==undefined)Z[$]=Na;else Z=Z[$]?Z[$]:Z[$]={};retur", L"n _.apply(null,arguments);};\n", NULL }; const wchar_t* const TOGGLE[] = { L"var toggle=function(){var g=true,l=null,n=false,o,q=this;function t(){}", L"\nfunction aa(a){var c=typeof a;if(c==\"object\")if(a){if(a instanceof ", L"Array||!(a instanceof Object)&&Object.prototype.toString.call(a)==\"[ob", L"ject Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefine", L"d\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumera", L"ble(\"splice\"))return\"array\";if(!(a instanceof Object)&&(Object.prot", L"otype.toString.call(a)==\"[object Function]\"||typeof a.call!=\"undefin", L"ed\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumer", L"able(\"call\")))return\"function\"}else return\"null\";\nelse if(c==\"f", L"unction\"&&typeof a.call==\"undefined\")return\"object\";return c}funct", L"ion u(a){return aa(a)==\"function\"}function ba(a){a=aa(a);return a==\"", L"object\"||a==\"array\"||a==\"function\"}function ca(a){if(a.hasOwnPrope", L"rty&&a.hasOwnProperty(v))return a[v];a[v]||(a[v]=++da);return a[v]}var ", L"v=\"closure_uid_\"+Math.floor(Math.random()*2147483648).toString(36),da", L"=0;\nfunction ea(a){var c=Array.prototype.slice.call(arguments,1);retur", L"n function(){var b=Array.prototype.slice.call(arguments);b.unshift.appl", L"y(b,c);return a.apply(this,b)}}function w(a,c){function b(){}b.prototyp", L"e=c.prototype;a.A=c.prototype;a.prototype=new b};function x(a){this.sta", L"ck=Error().stack||\"\";if(a)this.message=String(a)}w(x,Error);x.prototy", L"pe.name=\"CustomError\";function y(a,c){for(var b=0,d=String(a).replace", L"(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),f=String(c).replace(/^", L"[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),e=Math.max(d.length,f.len", L"gth),h=0;b==0&&hc)r", L"eturn 1;return 0};var A=Array.prototype,B=A.indexOf?function(a,c,b){ret", L"urn A.indexOf.call(a,c,b)}:function(a,c,b){b=b==l?0:b<0?Math.max(0,a.le", L"ngth+b):b;if(typeof a==\"string\"){if(typeof c!=\"string\"||c.length!=1", L")return-1;return a.indexOf(c,b)}for(b=b;b=0));O.prototype.c=f", L"unction(){O.A.c.call(this);this.relatedTarget=this.currentTarget=this.t", L"arget=this.s=l};function P(a,c){this.v=c;this.a=[];this.B(a)}w(P,M);o=P", L".prototype;o.j=l;o.q=l;o.g=function(a){this.j=a};o.t=function(){if(this", L".a.length)return this.a.pop();return this.o()};o.d=function(a){this.a.l", L"engththis.v)thro", L"w Error(\"[goog.structs.SimplePool] Initial cannot be greater than max", L"\");for(var c=0;c=0),h;wa=function(j){h=j};", L"if(e){Q=function(j){i.d(j)};va=function(){return p.t()};R=function(j){p", L".d(j)};xa=function(){k.d(b())};ya=function(j){r.d(j)};za=function(){ret", L"urn m.t()};Aa=function(j){m.d(j)};var i=new P(0,600);i.g(a);var p=new P", L"(0,600);p.g(c);var k=new P(0,600);k.g(b);var r=new P(0,600);\nr.g(d);va", L"r m=new P(0,600);m.g(f)}else{Q=t;va=c;ya=xa=R=t;za=f;Aa=t}})();var S={}", L",T={},Ba={},Ca={};function Da(a,c,b,d){if(!d.i)if(d.w){for(var f=0,e=0;", L"f=0&&A.splice.call(k,r,1).length==1;k.length==0&&de", L"lete Ba[e]}f.f=g;i.w=g;Da(h,p,e,i);delete S[d]}}}return b}\nwa(function", L"(a,c){if(!S[a])return g;var b=S[a],d=b.type,f=T;if(!(d in f))return g;f", L"=f[d];var e,h;if(qa===undefined)qa=I&&!q.addEventListener;if(qa){var i;", L"if(!(i=c))a:{i=\"window.event\".split(\".\");for(var p=q;e=i.shift();)i", L"f(p[e])p=p[e];else{i=l;break a}i=p}e=i;i=g in f;p=n in f;if(i){if(e.key", L"Code<0||e.returnValue!=undefined)return g;a:{var k=n;if(e.keyCode==0)tr", L"y{e.keyCode=-1;break a}catch(r){k=g}if(k||e.returnValue==undefined)e.re", L"turnValue=g}}k=za();k.k(e,this);e=g;try{if(i){for(var m=va(),j=k.curren", L"tTarget;j;j=\nj.parentNode)m.push(j);h=f[g];h.e=h.b;for(var s=m.length-", L"1;!k.m&&s>=0&&h.e;s--){k.currentTarget=m[s];e&=Fa(h,m[s],d,g,k)}if(p){h", L"=f[n];h.e=h.b;for(s=0;!k.m&&s=0));if((Ha(a,\"display", L"\")||(a.currentStyle?a.currentStyle.display:l)||a.style.display)!=\"non", L"e\")return c?new C(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clien", L"tHeight):new C(a.offsetWidth,a.offsetHeight);var b=a.style,d=b.display,", L"f=b.visibility,e=b.position;b.visibility=\"hidden\";b.position=\"absolu", L"te\";b.display=\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offs", L"etHeight||a.clientHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.displa", L"y=d;b.position=\ne;b.visibility=f;return new C(c,a)}var Ka={};function ", L"La(a){return Ka[a]||(Ka[a]=String(a).replace(/\\-([a-z])/g,function(c,b", L"){return b.toUpperCase()}))};function Ma(a,c){c=La(c);return Ha(a,c)||(", L"a.currentStyle?a.currentStyle[c]:l)||(a.style?a.style[c]:undefined)};va", L"r Na={\"class\":\"className\",readonly:\"readOnly\"},Oa=[\"checked\",\"", L"disabled\",\"readonly\",\"selected\"];function Pa(a,c){if(8==a.nodeType", L")return l;var b=c.toLowerCase();if(\"style\"==b)return\"\";var d=a.getA", L"ttributeNode(c);if(!d)return l;if(B(Oa,b)>=0)return I&&d.value==\"false", L"\"?l:g;return d.specified?d.value:l}var Qa=[\"BUTTON\",\"INPUT\",\"OPTG", L"ROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction Ra(a){var c=a.tag", L"Name.toUpperCase();if(!(B(Qa,c)>=0))return g;if(Pa(a,\"disabled\"))retu", L"rn n;if(a.parentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==c||\"OPTI", L"ON\"==c)return Ra(a.parentNode);return g}\nfunction Sa(a){function c(d)", L"{if(Ma(d,\"display\")==\"none\")return n;d=Ta(d);return!d||c(d)}functio", L"n b(d){if(d.tagName&&d.tagName.toUpperCase()==\"INPUT\"&&d.type.toLower", L"Case()==\"hidden\")return n;var f=Ma(d,\"visibility\");if(f==\"inherit", L"\"){d=Ta(d);return!d||b(d)}else return f!=\"hidden\"}if(a&&a.nodeType!=", L"1)throw Error(\"Argument to isShown must be of type Element\");if(!(b(a", L")&&c(a)))return n;a=Ja(a);return a.height>0&&a.width>0}\nfunction Ta(a)", L"{if(!a.parentNode)return l;for(a=a.parentNode;a.nodeType!=1&&a.nodeType", L"!=9&&a.nodeType!=11;)a=a.parentNode;return a&&a.nodeType==1?a:l}functio", L"n U(a){var c=a[Na.checked||\"checked\"];if(typeof c==\"boolean\")return", L" c;c=a[Na.selected||\"selected\"];if(typeof c==\"boolean\")return c;thr", L"ow Error(\"Element has neither checked nor selected properties\");};fun", L"ction V(a,c){x.call(this,c);this.code=a;this.name=Ua[a]||Ua[13]}w(V,x);", L"var Va={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,S", L"taleElementReferenceError:10,ElementNotVisibleError:11,InvalidElementSt", L"ateError:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupErr", L"or:19,NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCooki", L"eError:25},Wa={};for(var Xa in Va)Wa[Va[Xa]]=Xa;var Ua=Wa;var Ya=I?0:1,", L"Za=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction W", L"(a,c,b){var d=L(a),f=d?d.parentWindow||d.defaultView:window;b=b||{};var", L" e=b.x||0,h=b.y||0,i=b.button||Ya,p=b.bubble||g,k=l;if(B(Za,c)>=0)k=b.r", L"elated||l;var r=!!b.alt,m=!!b.control,j=!!b.shift;b=!!b.meta;if(a.fireE", L"vent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=r;a.G=m;", L"a.metaKey=b;a.shiftKey=j;a.clientX=e;a.clientY=h;a.button=i;a.relatedTa", L"rget=k}else{a=d.createEvent(\"MouseEvents\");if(a.initMouseEvent)a.init", L"MouseEvent(c,p,g,f,1,0,0,e,h,m,r,j,b,i,k);else{a.initEvent(c,p,g);a.shi", L"ftKey=\nj;a.metaKey=b;a.altKey=r;a.ctrlKey=m;a.button=i}}return a}funct", L"ion $a(a,c,b){var d=L(a);b=b||{};var f=b.bubble||g,e=!!b.alt,h=!!b.cont", L"rol,i=!!b.shift;b=!!b.meta;if(a.fireEvent&&d&&d.createEventObject){a=d.", L"createEventObject();a.altKey=e;a.H=h;a.metaKey=b;a.shiftKey=i}else{a=d.", L"createEvent(\"HTMLEvents\");a.initEvent(c,f,g);a.shiftKey=i;a.metaKey=b", L";a.altKey=e;a.ctrlKey=h}return a}var X={};X.mousedown=W;X.mousemove=W;X", L".mouseout=W;X.mouseover=W;X.mouseup=W;\nfunction ab(a,c,b){if(u(a.fireE", L"vent)||ba(a.fireEvent)){try{(L(a)?L(a).parentWindow||L(a).defaultView:w", L"indow).event=b}catch(d){}a.fireEvent(\"on\"+c,b)}else a.dispatchEvent(b", L")};function bb(a){if(!Sa(a))throw new V(11,\"Element is not currently v", L"isible and may not be manipuated\");};function cb(a){if(a.tagName.toUpp", L"erCase()==\"INPUT\"&&\"radio\"==a.type)throw new V(12,\"You may not tog", L"gle a radio button\");a:{var c=!U(a);if(!Ra(a))throw new V(12,\"Element", L" is not currently enabled and may not be manipulated\");switch(a.tagNam", L"e.toUpperCase()){case \"INPUT\":bb(a);if(a.type==\"checkbox\"||a.type==", L"\"radio\"){if(a.checked!=c){if(a.type==\"radio\"&&!c)throw new V(12,\"Y", L"ou may not deselect a radio button\");if(c==U(a))break a;a.checked=c;c=", L"(X.change||$a)(a,\"change\",void 0);ab(a,\"change\",c)}}else throw new ", L"V(15,\n\"You may not select an unselectable input element: \"+a.type);b", L"reak;case \"OPTION\":var b;b:{b=a;b=b.parentNode;for(var d=0;b;){if(b.n", L"odeType==1&&b.tagName.toUpperCase()==\"SELECT\"){b=b;break b}b=b.parent", L"Node;d++}b=l}if(!b)throw new V(15,\"You may not de/select an option tha", L"t is not within a select element\");if(b.disabled)throw new V(12,\"You ", L"may not select an option from a disabled select\");bb(b);if(!b.multiple", L"&&!c)throw new V(15,\"You may not deselect an option within a select th", L"at does not support multiple selections.\");\nif(c==U(a))break a;a.sele", L"cted=c;c=b;b=(X.change||$a)(c,\"change\",void 0);ab(c,\"change\",b);bre", L"ak;default:throw new V(15,\"You may not select an unselectable element:", L" \"+a.tagName);}}return U(a)}var Y=\"_\".split(\".\"),Z=q;!(Y[0]in Z)&&", L"Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shif", L"t());)if(!Y.length&&cb!==undefined)Z[$]=cb;else Z=Z[$]?Z[$]:Z[$]={};ret", L"urn _.apply(null,arguments);};\n", NULL }; } #endif // THIRD_PARTY_WEBDRIVER_ATOMS_H__