diff options
author | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-16 20:58:44 +0000 |
---|---|---|
committer | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-16 20:58:44 +0000 |
commit | bd6c46eaa5b9e3019c07d403c26cb908f699b8f5 (patch) | |
tree | 9b1da96bffedce0bbd5c14ee4dc11cd5ca6b7007 /third_party/webdriver | |
parent | d9edd31291a2b2d1d8492305dfccfa963c0b24cf (diff) | |
download | chromium_src-bd6c46eaa5b9e3019c07d403c26cb908f699b8f5.zip chromium_src-bd6c46eaa5b9e3019c07d403c26cb908f699b8f5.tar.gz chromium_src-bd6c46eaa5b9e3019c07d403c26cb908f699b8f5.tar.bz2 |
Updating src/third_party/webdriver/atoms.h with a new version of the file
generated from the WebDriver repository at r11446.
There are several notable changes with this new version:
* The atoms are no longer defined using wchar_t
* The atoms are defined as multi-line strings instead of an array of strings,
eliminating the need for unnecessary concatenations on each use.
* The atoms constants have been moved into a new namespace (webdriver::atoms).
* Previously, each atom defined a named JS function; now each atom defines
an anonymous function, so the call pattern had to be adjusted slightly.
With this change, we can enable the element finding functional tests (there
are still some bugs with the child element finding tests that need to be
tracked down).
I've also disabled a page loading test because it is flaky in my client.
BUG=none
TEST=none
Patch by jleyba@chromium.org.
Original review at http://codereview.chromium.org/6524045
Review URL: http://codereview.chromium.org/6531003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/webdriver')
-rw-r--r-- | third_party/webdriver/README.chromium | 13 | ||||
-rw-r--r-- | third_party/webdriver/atoms.h | 3315 |
2 files changed, 1657 insertions, 1671 deletions
diff --git a/third_party/webdriver/README.chromium b/third_party/webdriver/README.chromium index 2aa8a2d7..c567db5 100644 --- a/third_party/webdriver/README.chromium +++ b/third_party/webdriver/README.chromium @@ -15,9 +15,14 @@ Contents: atoms.h These atoms are generated by the webdriver team and are to be checked in - manually. To generate the atoms use the code found in selenium tree: - svn checkout http://selenium.googlecode.com/svn/trunk/ selenium-read-only - and follow the instructions that are on the Selenium HQ website: - http://seleniumhq.org/docs/ + manually. The current version was generated from revision 11446. + + To generate the atoms using the code found in selenium tree: + $ svn checkout http://selenium.googlecode.com/svn/trunk/ selenium-read-only + $ cd selenium-read-only + $ go //javascript/chrome-driver:atoms + $ cp build/javascript/chrome-driver/atoms.h \ + <chromium_dir>/src/third_party/webdriver/atoms.h + The atoms.h file is only used directly in the chrome version of webdriver found under the path src/chrome/test/webdriver. diff --git a/third_party/webdriver/atoms.h b/third_party/webdriver/atoms.h index f9f7ae9..18edb2a 100644 --- a/third_party/webdriver/atoms.h +++ b/third_party/webdriver/atoms.h @@ -1,6 +1,4 @@ -// 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. +// 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 @@ -13,1686 +11,1669 @@ // 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 <stddef.h> // For wchar_t +/* AUTO GENERATED - DO NOT EDIT BY HAND */ +#ifndef WEBDRIVER_ATOMS_H_ +#define WEBDRIVER_ATOMS_H_ namespace webdriver { +namespace atoms { -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&&h<e;h++){var i=d[h]||\"\",o=f[h]||\"\",k=RegExp(\"(\\\\d", - L"*)(\\\\D*)\",\"g\"),r=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var m=k.exe", - L"c(i)||[\"\",\"\",\"\"],j=r.exec(o)||[\"\",\"\",\"\"];if(m[0].length==0&", - L"&j[0].length==0)break;c=z(m[1].length==0?0:parseInt(m[1],10),j[1].lengt", - L"h==0?0:parseInt(j[1],10))||z(m[2].length==0,j[2].length==0)||z(m[2],j[2", - L"])}while(c==\n0)}return c}function z(a,b){if(a<b)return-1;else if(a>b)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<a.length;c++)if(c in a&&a[c]=", - L"==b)return c;return-1};function C(a,b){this.width=a;this.height=b}C.pro", - L"totype.floor=function(){this.width=Math.floor(this.width);this.height=M", - L"ath.floor(this.height);return this};C.prototype.round=function(){this.w", - L"idth=Math.round(this.width);this.height=Math.round(this.height);return ", - L"this};var D,E,F,G;function fa(){return q.navigator?q.navigator.userAgen", - L"t:l}G=F=E=D=n;var H;if(H=fa()){var ga=q.navigator;D=H.indexOf(\"Opera\"", - L")==0;E=!D&&H.indexOf(\"MSIE\")!=-1;F=!D&&H.indexOf(\"WebKit\")!=-1;G=!D", - L"&&!F&&ga.product==\"Gecko\"}var ha=D,I=E,ia=G,ja=F,ka=q.navigator,la=(k", - L"a&&ka.platform||\"\").indexOf(\"Mac\")!=-1,J=\"\",K;\nif(ha&&q.opera){v", - L"ar L=q.opera.version;J=typeof L==\"function\"?L():L}else{if(ia)K=/rv\\:", - L"([^\\);]+)(\\)|;)/;else if(I)K=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(ja)K", - L"=/WebKit\\/(\\S+)/;if(K){var ma=K.exec(fa());J=ma?ma[1]:\"\"}}var na=J,", - L"M={};function N(a){return a.nodeType==9?a:a.ownerDocument||a.document};", - L"function O(){}O.prototype.r=n;O.prototype.h=function(){if(!this.r){this", - L".r=g;this.c()}};O.prototype.c=function(){};var oa;function P(a,b){this.", - L"type=a;this.currentTarget=this.target=b}w(P,O);P.prototype.c=function()", - L"{delete this.type;delete this.target;delete this.currentTarget};P.proto", - L"type.m=n;P.prototype.F=g;function Q(a,b){a&&this.k(a,b)}w(Q,P);p=Q.prot", - L"otype;p.target=l;p.relatedTarget=l;p.offsetX=0;p.offsetY=0;p.clientX=0;", - L"p.clientY=0;p.screenX=0;p.screenY=0;p.button=0;p.keyCode=0;p.charCode=0", - L";p.ctrlKey=n;p.altKey=n;p.shiftKey=n;p.metaKey=n;p.D=n;p.s=l;\np.k=func", - L"tion(a,b){var c=this.type=a.type;this.target=a.target||a.srcElement;thi", - L"s.currentTarget=b;var d=a.relatedTarget;if(d){if(ia)try{d=d.nodeName&&d", - L"}catch(f){d=l}}else if(c==\"mouseover\")d=a.fromElement;else if(c==\"mo", - L"useout\")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offsetX!==un", - L"defined?a.offsetX:a.layerX;this.offsetY=a.offsetY!==undefined?a.offsetY", - L":a.layerY;this.clientX=a.clientX!==undefined?a.clientX:a.pageX;this.cli", - L"entY=a.clientY!==undefined?a.clientY:a.pageY;this.screenX=a.screenX||0;", - L"\nthis.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode", - L"||0;this.charCode=a.charCode||(c==\"keypress\"?a.keyCode:0);this.ctrlKe", - L"y=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=", - L"a.metaKey;this.D=la?a.metaKey:a.ctrlKey;this.s=a;delete this.F;delete t", - L"his.m};I&&(M[\"8\"]||(M[\"8\"]=y(na,\"8\")>=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.length<th", - L"is.v?this.a.push(a):this.p(a)};p.B=function(a){if(a>this.v)throw Error(", - L"\"[goog.structs.SimplePool] Initial cannot be greater than max\");for(v", - L"ar b=0;b<a;b++)this.a.push(this.o())};p.o=function(){return this.j?this", - L".j():{}};p.p=function(a){if(this.q)this.q(a);else if(ba(a))if(u(a.h))a.", - L"h();else for(var b in a)delete a[b]};\np.c=function(){R.A.c.call(this);", - L"for(var a=this.a;a.length;)this.p(a.pop());delete this.a};var pa;var qa", - L"=(pa=\"ScriptEngine\"in q&&q.ScriptEngine()==\"JScript\")?q.ScriptEngin", - L"eMajorVersion()+\".\"+q.ScriptEngineMinorVersion()+\".\"+q.ScriptEngine", - L"BuildVersion():\"0\";function ra(){}var sa=0;p=ra.prototype;p.key=0;p.f", - L"=n;p.n=n;p.k=function(a,b,c,d,f,e){if(u(a))this.u=g;else if(a&&a.handle", - L"Event&&u(a.handleEvent))this.u=n;else throw Error(\"Invalid listener ar", - L"gument\");this.l=a;this.z=b;this.src=c;this.type=d;this.capture=!!f;thi", - L"s.C=e;this.n=n;this.key=++sa;this.f=n};p.handleEvent=function(a){if(thi", - L"s.u)return this.l.call(this.C||this.src,a);return this.l.handleEvent.ca", - L"ll(this.l,a)};var S,ta,T,ua,va,wa,xa,ya;\n(function(){function a(){retu", - L"rn{b:0,e:0}}function b(){return[]}function c(){function j(s){return h.c", - L"all(j.src,j.key,s)}return j}function d(){return new ra}function f(){ret", - L"urn new Q}var e=pa&&!(y(qa,\"5.7\")>=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<d.lengt", - L"h;f++)if(d[f].f){var h=d[f].z;h.src=l;va(h);wa(d[f])}else{if(f!=e)d[e]=", - L"d[f];e++}d.length=e;d.w=n;if(e==0){T(d);delete V[a][b][c];V[a][b].b--;i", - L"f(V[a][b].b==0){S(V[a][b]);delete V[a][b];V[a].b--}if(V[a].b==0){S(V[a]", - L");delete V[a]}}}}function Ca(a){if(a in Aa)return Aa[a];return Aa[a]=\"", - L"on\"+a}\nfunction Da(a,b,c,d,f){var e=1;b=ca(b);if(a[b]){a.e--;a=a[b];i", - L"f(a.i)a.i++;else a.i=1;try{for(var h=a.length,i=0;i<h;i++){var o=a[i];i", - L"f(o&&!o.f)e&=Ea(o,f)!==n}}finally{a.i--;Ba(c,d,b,a)}}return Boolean(e)}", - L"\nfunction Ea(a,b){var c=a.handleEvent(b);if(a.n){var d=a.key;if(U[d]){", - L"var f=U[d];if(!f.f){var e=f.src,h=f.type,i=f.z,o=f.capture;if(e.removeE", - L"ventListener){if(e==q||!e.I)e.removeEventListener(h,i,o)}else e.detachE", - L"vent&&e.detachEvent(Ca(h),i);e=ca(e);i=V[h][o][e];if(za[e]){var k=za[e]", - L",r=B(k,f);r>=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<m.length&&h.e;s++){k.currentTarget=m[s];e&=Da(h,m[", - L"s],d,n,k)}}}else e=Ea(c,k)}finally{if(m){m.length=0;T(m)}k.h();ya(k)}re", - L"turn e}d=new Q(b,this);try{e=Ea(c,d)}finally{d.h()}return e});function ", - L"Fa(a,b){var c=N(a);if(c.defaultView&&c.defaultView.getComputedStyle)if(", - L"c=c.defaultView.getComputedStyle(a,\"\"))return c[b];return l}function ", - L"Ga(a,b,c,d){if(typeof d==\"number\")d=(b?Math.round(d):d)+\"px\";c.styl", - L"e[a]=d}ea(Ga,\"height\",g);ea(Ga,\"width\",g);\nfunction Ha(a){var b=ha", - L"&&!(M[\"10\"]||(M[\"10\"]=y(na,\"10\")>=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;i<d;i++)if(i in g)e[i]=b.call(c,", - L"g[i],i,a);return e};function q(a,b,c){var d={};for(var e in a)if(b.call", - L"(c,a[e],e,a))d[e]=a[e];return d}function r(a,b,c){var d={};for(var e in", - L" a)d[e]=b.call(c,a[e],e,a);return d}function s(a,b,c){for(var d in a)if", - L"(b.call(c,a[d],d,a))return d};var t,u,v,w;function x(){return f.navigat", - L"or?f.navigator.userAgent:null}w=v=u=t=false;var y;if(y=x()){var z=f.nav", - L"igator;t=y.indexOf(\"Opera\")==0;u=!t&&y.indexOf(\"MSIE\")!=-1;v=!t&&y.", - L"indexOf(\"WebKit\")!=-1;w=!t&&!v&&z.product==\"Gecko\"}var A=u,B=w,C=v,", - L"D=\"\",E;if(t&&f.opera){var F=f.opera.version;D=typeof F==\"function\"?", - L"F():F}else{if(B)E=/rv\\:([^\\);]+)(\\)|;)/;else if(A)E=/MSIE\\s+([^\\);", - L"]+)(\\)|;)/;else if(C)E=/WebKit\\/(\\S+)/;if(E){var G=E.exec(x());D=G?G", - L"[1]:\"\"}};function H(a,b){n.call(this,b);this.code=a;this.name=I[a]||I", - L"[13]}m(H,n);var J={NoSuchElementError:7,NoSuchFrameError:8,UnknownComma", - L"ndError:9,StaleElementReferenceError:10,ElementNotVisibleError:11,Inval", - L"idElementStateError:12,UnknownError:13,ElementNotSelectableError:15,XPa", - L"thLookupError:19,NoSuchWindowError:23,InvalidCookieDomainError:24,Unabl", - L"eToSetCookieError:25},K={};for(var L in J)K[J[L]]=L;var I=K;function M(", - L"a){switch(h(a)){case \"string\":case \"number\":case \"boolean\":return", - L" a;case \"function\":return a.toString();case \"array\":return p(a,M);c", - L"ase \"object\":a=a;if(\"tagName\"in a&&\"nodeType\"in a&&a.nodeType==1)", - L"{var b={};b.ELEMENT=N(a);return b}if(j(a))return p(a,M);a=q(a,function(", - L"c,d){return typeof d==\"number\"||typeof d==\"string\"});return r(a,M);", - L"default:return null}}\nfunction O(a,b){if(h(a)==\"array\")return p(a,fu", - L"nction(c){return O(c,b)});else if(k(a))return\"ELEMENT\"in a?P(a.ELEMEN", - L"T,b):r(a,function(c){return O(c,b)});return a}function Q(a){a=a||docume", - L"nt;var b=a.$wdc_;if(!b){b=a.$wdc_={};b.a=l()}return b}function N(a){var", - L" b=Q(a.ownerDocument),c=s(b,function(d){return d==a});if(!c){c=\":wdc:", - L"\"+b.a++;b[c]=a}return c}\nfunction P(a,b){var c=b||document,d=Q(c);if(", - L"!(a in d))throw new H(10,\"Element does not exist in cache\");for(var e", - L"=d[a],g=e;g;){if(g==c.documentElement)return e;g=g.parentNode}delete d[", - L"a];throw new H(10,\"Element is no longer attached to the DOM\");};funct", - L"ion R(a,b){try{var c=O(b),d=a.apply(null,c);return{status:0,value:M(d)}", - L"}catch(e){return{status:\"code\"in e?e.code:13,value:{message:e.message", - L"}}}}var S=\"_\".split(\".\"),T=f;!(S[0]in T)&&T.execScript&&T.execScrip", - L"t(\"var \"+S[0]);for(var U;S.length&&(U=S.shift());)if(!S.length&&R!==u", - L"ndefined)T[U]=R;else T=T[U]?T[U]:T[U]={};return _.apply(null,arguments)", - L";};\n", - NULL -}; +const char* const CLEAR = + "function(){var h=this;\nfunction j(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function k(a){return j(a)==\"function\"}function l(" + "a){a=j(a);return a==\"object\"||a==\"array\"||a==\"function\"}Math.floor(" + "Math.random()*2147483648).toString(36);function m(a,b){function c(){}c.pr" + "ototype=b.prototype;a.g=b.prototype;a.prototype=new c};function p(a){this" + ".stack=Error().stack||\"\";if(a)this.message=String(a)}m(p,Error);p.proto" + "type.name=\"CustomError\";function q(a,b){p.call(this,b);this.code=a;this" + ".name=s[a]||s[13]}m(q,p);var s,ba={NoSuchElementError:7,NoSuchFrameError:" + "8,UnknownCommandError:9,StaleElementReferenceError:10,ElementNotVisibleEr" + "ror:11,InvalidElementStateError:12,UnknownError:13,ElementNotSelectableEr" + "ror:15,XPathLookupError:19,NoSuchWindowError:23,InvalidCookieDomainError:" + "24,UnableToSetCookieError:25,ModalDialogOpenedError:26,ModalDialogOpenErr" + "or:27,ScriptTimeoutError:28},ca={};for(var da in ba)ca[ba[da]]=da;s=ca;\n" + "q.prototype.toString=function(){return\"[\"+this.name+\"] \"+this.message" + "};function ea(a){for(var b=1;b<arguments.length;b++){var c=String(argumen" + "ts[b]).replace(/\\$/g,\"$$$$\");a=a.replace(/\\%s/,c)}return a}function t" + "(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}function u(a,b){i" + "f(a<b)return-1;else if(a>b)return 1;return 0}var fa={};function ga(a){ret" + "urn fa[a]||(fa[a]=String(a).replace(/\\-([a-z])/g,function(b,c){return c." + "toUpperCase()}))};function v(a,b){b.unshift(a);p.call(this,ea.apply(null," + "b));b.shift();this.j=a}m(v,p);v.prototype.name=\"AssertionError\";functio" + "n ha(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d=\"Assert" + "ion failed\";if(b){d+=\": \"+b;var f=c}throw new v(\"\"+d,f||[]);}return " + "a};var w=Array.prototype,x=w.indexOf?function(a,b,c){ha(a.length!=null);r" + "eturn w.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a" + ".length+c):c;if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=" + "1)return-1;return a.indexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]==" + "=b)return c;return-1},ia=w.some?function(a,b,c){ha(a.length!=null);return" + " w.some.call(a,b,c)}:function(a,b,c){var d=a.length,f=typeof a==\"string" + "\"?a.split(\"\"):a;for(var e=0;e<d;e++)if(e in f&&b.call(c,f[e],e,a))retu" + "rn true;\nreturn false};var y,A,B,C;function ja(){return h.navigator?h.na" + "vigator.userAgent:null}C=B=A=y=false;var D;if(D=ja()){var ka=h.navigator;" + "y=D.indexOf(\"Opera\")==0;A=!y&&D.indexOf(\"MSIE\")!=-1;B=!y&&D.indexOf(" + "\"WebKit\")!=-1;C=!y&&!B&&ka.product==\"Gecko\"}var la=y,E=A,ma=C,na=B,F;" + "\na:{var G=\"\",H;if(la&&h.opera){var I=h.opera.version;G=typeof I==\"fun" + "ction\"?I():I}else{if(ma)H=/rv\\:([^\\);]+)(\\)|;)/;else if(E)H=/MSIE\\s+" + "([^\\);]+)(\\)|;)/;else if(na)H=/WebKit\\/(\\S+)/;if(H){var oa=H.exec(ja(" + "));G=oa?oa[1]:\"\"}}if(E){var J,pa=h.document;J=pa?pa.documentMode:undefi" + "ned;if(J>parseFloat(G)){F=String(J);break a}}F=G}var qa={};\nfunction K(a" + "){var b;if(!(b=qa[a])){b=0;var c=t(String(F)).split(\".\"),d=t(String(a))" + ".split(\".\"),f=Math.max(c.length,d.length);for(var e=0;b==0&&e<f;e++){va" + "r i=c[e]||\"\",g=d[e]||\"\",r=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),z=RegExp" + "(\"(\\\\d*)(\\\\D*)\",\"g\");do{var n=r.exec(i)||[\"\",\"\",\"\"],o=z.exe" + "c(g)||[\"\",\"\",\"\"];if(n[0].length==0&&o[0].length==0)break;b=u(n[1].l" + "ength==0?0:parseInt(n[1],10),o[1].length==0?0:parseInt(o[1],10))||u(n[2]." + "length==0,o[2].length==0)||u(n[2],o[2])}while(b==0)}b=qa[a]=b>=0}return b" + "};!E||K(\"9\");E&&K(\"9\");function L(a,b){this.width=a;this.height=b}L.p" + "rototype.toString=function(){return\"(\"+this.width+\" x \"+this.height+" + "\")\"};L.prototype.floor=function(){this.width=Math.floor(this.width);thi" + "s.height=Math.floor(this.height);return this};function M(a){return a?a.pa" + "rentWindow||a.defaultView:window}function N(a){return a.nodeType==9?a:a.o" + "wnerDocument||a.document}function ra(a,b){var c=[];return sa(a,b,c,true)?" + "c[0]:undefined}function sa(a,b,c,d){if(a!=null){var f=0;for(var e;e=a.chi" + "ldNodes[f];f++){if(b(e)){c.push(e);if(d)return true}if(sa(e,b,c,d))return" + " true}}return false}function ta(a,b,c,d){if(!c)a=a.parentNode;c=d==null;f" + "or(var f=0;a&&(c||f<=d);){if(b(a))return a;a=a.parentNode;f++}return null" + "};function ua(a,b){try{var c;if(typeof b.selectSingleNode!=\"undefined\")" + "{var d=N(b);typeof d.setProperty!=\"undefined\"&&d.setProperty(\"Selectio" + "nLanguage\",\"XPath\");c=b.selectSingleNode(a)}else if(document.implement" + "ation.hasFeature(\"XPath\",\"3.0\")){d=N(b);var f=d.createNSResolver(d.do" + "cumentElement);c=d.evaluate(a,b,f,XPathResult.FIRST_ORDERED_NODE_TYPE,nul" + "l).singleNodeValue}else c=null}catch(e){return null}if(!c)return null;if(" + "c.nodeType!=1)throw Error(\"Returned node is not an element: \"+a);return" + " c};var O=\"StopIteration\"in h?h.StopIteration:Error(\"StopIteration\");" + "function va(){}va.prototype.next=function(){throw O;};function P(a,b,c,d," + "f){this.a=!!b;a&&Q(this,a,d);this.d=f!=undefined?f:this.c||0;if(this.a)th" + "is.d*=-1;this.f=!c}m(P,va);P.prototype.b=null;P.prototype.c=0;P.prototype" + ".e=false;function Q(a,b,c,d){if(a.b=b)a.c=typeof c==\"number\"?c:a.b.node" + "Type!=1?0:a.a?-1:1;if(typeof d==\"number\")a.d=d}\nP.prototype.next=funct" + "ion(){var a;if(this.e){if(!this.b||this.f&&this.d==0)throw O;a=this.b;var" + " b=this.a?-1:1;if(this.c==b){var c=this.a?a.lastChild:a.firstChild;c?Q(th" + "is,c):Q(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextSibling)?Q(thi" + "s,c):Q(this,a.parentNode,b*-1);this.d+=this.c*(this.a?-1:1)}else this.e=t" + "rue;a=this.b;if(!this.b)throw O;return a};\nP.prototype.splice=function()" + "{var a=this.b,b=this.a?1:-1;if(this.c==b){this.c=b*-1;this.d+=this.c*(thi" + "s.a?-1:1)}this.a=!this.a;P.prototype.next.call(this);this.a=!this.a;b=arg" + "uments[0];var c=j(b);b=c==\"array\"||c==\"object\"&&typeof b.length==\"nu" + "mber\"?arguments[0]:arguments;for(c=b.length-1;c>=0;c--)a.parentNode&&a.p" + "arentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode." + "removeChild(a)};function R(a,b,c,d){P.call(this,a,b,c,null,d)}m(R,P);R.pr" + "ototype.next=function(){do R.g.next.call(this);while(this.c==-1);return t" + "his.b};function wa(a,b){var c=N(a);if(c.defaultView&&c.defaultView.getCom" + "putedStyle)if(c=c.defaultView.getComputedStyle(a,null))return c[b]||c.get" + "PropertyValue(b);return\"\"};function S(a,b){return!!a&&a.nodeType==1&&(!" + "b||a.tagName.toUpperCase()==b)}\nvar xa={\"class\":\"className\",readonly" + ":\"readOnly\"},ya=[\"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 za(a,b){if(8" + "==a.nodeType)return null;b=b.toLowerCase();if(b==\"style\"){var c=t(a.sty" + "le.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=" + "a.getAttributeNode(b);if(E)if(!c&&K(8)&&x(ya,b)>=0)c=a[b];if(!c)return nu" + "ll;if(x(ya,b)>=0)return E&&c.value==\"false\"?null:\"true\";return c.spec" + "ified?c.value:null}var Aa=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\"," + "\"SELECT\",\"TEXTAREA\"];\nfunction Ba(a){var b=a.tagName.toUpperCase();i" + "f(!(x(Aa,b)>=0))return true;if(za(a,\"disabled\"))return false;if(a.paren" + "tNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return Ba" + "(a.parentNode);return true}function T(a){for(a=a.parentNode;a&&a.nodeType" + "!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:null}fun" + "ction U(a,b){b=ga(String(b));return wa(a,b)||Ca(a,b)}\nfunction Ca(a,b){v" + "ar c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefined?" + "c:null;return(c=T(a))?Ca(c,b):null}\nfunction Da(a){if(k(a.getBBox))retur" + "n a.getBBox();var b;var c=la&&!K(\"10\");if((wa(a,\"display\")||(a.curren" + "tStyle?a.currentStyle.display:null)||a.style.display)!=\"none\")b=c?new L" + "(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new L(a.off" + "setWidth,a.offsetHeight);else{b=a.style;var d=b.display,f=b.visibility,e=" + "b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"in" + "line\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHei" + "ght}else{c=a.offsetWidth;a=a.offsetHeight}b.display=\nd;b.position=e;b.vi" + "sibility=f;b=new L(c,a)}return b}\nfunction V(a,b){function c(e){if(U(e," + "\"display\")==\"none\")return false;e=T(e);return!e||c(e)}function d(e){v" + "ar i=Da(e);if(i.height>0&&i.width>0)return true;if(e.innerText||e.textCon" + "tent)if(Ea.test(e.innerText||e.textContent))return true;return na&&ia(e.c" + "hildNodes,function(g){return S(g)&&d(g)})}if(!S(a))throw Error(\"Argument" + " to isShown must be of type Element\");if(S(a,\"TITLE\"))return M(N(a))==" + "h;if(S(a,\"OPTION\")||S(a,\"OPTGROUP\")){var f=ta(a,function(e){return S(" + "e,\"SELECT\")});return!!f&&V(f)}if(S(a,\"MAP\")){if(!a.name)return false;" + "\nf=N(a);f=f.evaluate?ua('/descendant::*[@usemap = \"#'+a.name+'\"]',f):r" + "a(f,function(e){return S(e)&&za(e,\"usemap\")==\"#\"+a.name});return!!f&&" + "V(f)}if(S(a,\"AREA\")){f=ta(a,function(e){return S(e,\"MAP\")});return!!f" + "&&V(f)}if(S(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return false;i" + "f(U(a,\"visibility\")==\"hidden\")return false;if(!c(a))return false;if(!" + "b&&Fa(a)==0)return false;if(!d(a))return false;return true}var Ga=\"[" + "\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",Ea=RegExp(\"^\"+Ga+\"$\");" + "\nfunction Fa(a){if(E){if(U(a,\"position\")==\"relative\")return 1;a=U(a," + "\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^pro" + "gid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/" + "100:1}else return Ha(a)}function Ha(a){var b=1,c=U(a,\"opacity\");if(c)b=" + "Number(c);if(a=T(a))b*=Ha(a);return b};var Ia=E?1:0,Ja=[\"dragstart\",\"d" + "ragexit\",\"mouseover\",\"mouseout\"];\nfunction W(a,b,c){var d=N(a),f=M(" + "d),e=c||{};c=e.x||0;var i=e.y||0,g=e.button||Ia,r=e.bubble||true,z=null;i" + "f(x(Ja,b)>=0)z=e.related||null;var n=!!e.alt,o=!!e.control,aa=!!e.shift;e" + "=!!e.meta;if(a.fireEvent&&d&&d.createEventObject){a=d.createEventObject()" + ";a.altKey=n;a.h=o;a.metaKey=e;a.shiftKey=aa;a.clientX=c;a.clientY=i;a.but" + "ton=g;a.relatedTarget=z}else{a=d.createEvent(\"MouseEvents\");if(a.initMo" + "useEvent)a.initMouseEvent(b,r,true,f,1,0,0,c,i,o,n,aa,e,g,z);else{a.initE" + "vent(b,r,true);a.shiftKey=aa;a.metaKey=\ne;a.altKey=n;a.ctrlKey=o;a.butto" + "n=g}}return a}function Ka(a,b,c){var d=N(a);a=M(d);var f=c||{};c=f.keyCod" + "e||0;var e=f.charCode||0,i=!!f.alt,g=!!f.ctrl,r=!!f.shift;f=!!f.meta;if(m" + "a){d=d.createEvent(\"KeyboardEvent\");d.initKeyEvent(b,true,true,a,g,i,r," + "f,c,e)}else{if(E)d=d.createEventObject();else{d=d.createEvent(\"Events\")" + ";d.initEvent(b,true,true);d.charCode=e}d.keyCode=c;d.altKey=i;d.ctrlKey=g" + ";d.metaKey=f;d.shiftKey=r}return d}\nfunction La(a,b,c){var d=N(a),f=c||{" + "};c=f.bubble!==false;var e=!!f.alt,i=!!f.control,g=!!f.shift;f=!!f.meta;i" + "f(a.fireEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=e" + ";a.i=i;a.metaKey=f;a.shiftKey=g}else{a=d.createEvent(\"HTMLEvents\");a.in" + "itEvent(b,c,true);a.shiftKey=g;a.metaKey=f;a.altKey=e;a.ctrlKey=i}return " + "a}var X={};X.click=W;X.keydown=Ka;X.keypress=Ka;X.keyup=Ka;X.mousedown=W;" + "X.mousemove=W;X.mouseout=W;X.mouseover=W;X.mouseup=W;function Ma(a){if(!V" + "(a,true))throw new q(11,\"Element is not currently visible and may not be" + " manipulated\");};function Na(a){var b;if(S(a,\"TEXTAREA\"))b=true;else i" + "f(S(a,\"INPUT\")){b=a.type.toLowerCase();b=b==\"text\"||b==\"password\"||" + "b==\"email\"||b==\"search\"}else b=false;if(b){if(a[xa.readOnly||\"readOn" + "ly\"])throw new q(12,\"Element is readonly and may not be cleared.\");if(" + "a.value!=\"\"){Ma(a);if(!Ba(a))throw new q(12,\"Element is not currently " + "enabled and may not be manipulated\");b=N(a).activeElement;Ma(a);if(a!=b)" + "{if(b){if(k(b.blur)||E&&l(b.blur))b.blur();E&&!K(8)&&M(N(a)).focus()}if(k" + "(a.focus)||E&&l(a.focus))a.focus()}a.value=\n\"\";b=(X.change||La)(a,\"ch" + "ange\",void 0);if(k(a.fireEvent)||l(a.fireEvent)){try{M(N(a)).event=b}cat" + "ch(c){}a.fireEvent(\"onchange\",b)}else a.dispatchEvent(b)}}}var Y=\"_\"." + "split(\".\"),Z=h;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);f" + "or(var $;Y.length&&($=Y.shift());)if(!Y.length&&Na!==undefined)Z[$]=Na;el" + "se Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,arguments);}"; -const wchar_t* const FIND_ELEMENT[] = { - L"var findElement=function(){function h(a){throw a;}var i=true,k=null,l=f", - L"alse,m,n=this;\nfunction o(a){var b=typeof a;if(b==\"object\")if(a){if(", - L"a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.c", - L"all(a)==\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splic", - L"e!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.prop", - L"ertyIsEnumerable(\"splice\"))return\"array\";if(!(a instanceof Object)&", - L"&(Object.prototype.toString.call(a)==\"[object Function]\"||typeof a.ca", - L"ll!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.pro", - L"pertyIsEnumerable(\"call\")))return\"function\"}else return\"null\";\ne", - L"lse if(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";r", - L"eturn b}function p(a){var b=o(a);return b==\"array\"||b==\"object\"&&ty", - L"peof a.length==\"number\"}function q(a){return typeof a==\"string\"}fun", - L"ction r(a){var b=Array.prototype.slice.call(arguments,1);return functio", - L"n(){var c=Array.prototype.slice.call(arguments);c.unshift.apply(c,b);re", - L"turn a.apply(this,c)}}function aa(a,b){function c(){}c.prototype=b.prot", - L"otype;a.r=b.prototype;a.prototype=new c};function ba(a){return a.replac", - L"e(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")}function s(a){retu", - L"rn a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}\nfunction ca(a,b){for(", - L"var c=0,d=s(String(a)).split(\".\"),f=s(String(b)).split(\".\"),e=Math.", - L"max(d.length,f.length),g=0;c==0&&g<e;g++){var j=d[g]||\"\",J=f[g]||\"\"", - L",ya=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),za=RegExp(\"(\\\\d*)(\\\\D*)\",", - L"\"g\");do{var z=ya.exec(j)||[\"\",\"\",\"\"],A=za.exec(J)||[\"\",\"\",", - L"\"\"];if(z[0].length==0&&A[0].length==0)break;c=t(z[1].length==0?0:pars", - L"eInt(z[1],10),A[1].length==0?0:parseInt(A[1],10))||t(z[2].length==0,A[2", - L"].length==0)||t(z[2],A[2])}while(c==0)}return c}\nfunction t(a,b){if(a<", - L"b)return-1;else if(a>b)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<a.length;c++)if(c in a&&a[c]===b)re", - L"turn c;return-1},v=u.forEach?function(a,b,c){u.forEach.call(a,b,c)}:fun", - L"ction(a,b,c){for(var d=a.length,f=q(a)?a.split(\"\"):a,e=0;e<d;e++)e in", - L" f&&b.call(c,f[e],e,a)},w=u.filter?function(a,b,c){return u.filter.call", - L"(a,b,c)}:function(a,b,c){for(var d=a.length,f=[],\ne=0,g=q(a)?a.split(", - L"\"\"):a,j=0;j<d;j++)if(j in g){var J=g[j];if(b.call(c,J,j,a))f[e++]=J}r", - L"eturn f};function x(a,b,c){a:{for(var d=a.length,f=q(a)?a.split(\"\"):a", - L",e=0;e<d;e++)if(e in f&&b.call(c,f[e],e,a)){b=e;break a}b=-1}return b<0", - L"?k:q(a)?a.charAt(b):a[b]}function ea(){return u.concat.apply(u,argument", - L"s)}function fa(a){if(o(a)==\"array\")return ea(a);if(o(a)==\"array\")a=", - L"ea(a);else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];a=b}return a};", - L"function y(a,b){this.width=a;this.height=b}y.prototype.round=function()", - L"{this.width=Math.round(this.width);this.height=Math.round(this.height);", - L"return this};var B,C,D,E;function ga(){return n.navigator?n.navigator.u", - L"serAgent:k}E=D=C=B=l;var F;if(F=ga()){var ha=n.navigator;B=F.indexOf(\"", - L"Opera\")==0;C=!B&&F.indexOf(\"MSIE\")!=-1;D=!B&&F.indexOf(\"WebKit\")!=", - L"-1;E=!B&&!D&&ha.product==\"Gecko\"}var ia=B,ja=C,ka=E,la=D,G=\"\",H;if(", - L"ia&&n.opera){var I=n.opera.version;G=typeof I==\"function\"?I():I}else{", - L"if(ka)H=/rv\\:([^\\);]+)(\\)|;)/;else if(ja)H=/MSIE\\s+([^\\);]+)(\\)|;", - L")/;else if(la)H=/WebKit\\/(\\S+)/;if(H){var ma=H.exec(ga());G=ma?ma[1]:", - L"\"\"}}var na=G,K={};var oa;function L(a){return a?new M(N(a)):oa||(oa=n", - L"ew M)}function O(a,b){if(a.contains&&b.nodeType==1)return a==b||a.conta", - L"ins(b);if(typeof a.compareDocumentPosition!=\"undefined\")return a==b||", - L"Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;r", - L"eturn b==a}function N(a){return a.nodeType==9?a:a.ownerDocument||a.docu", - L"ment}function M(a){this.i=a||n.document||document}M.prototype.o=functio", - L"n(a){return q(a)?this.i.getElementById(a):a};\nM.prototype.b=function(a", - L",b,c){c=c||this.i;a=a&&a!=\"*\"?a.toUpperCase():\"\";if(c.querySelector", - L"All&&c.querySelector&&(!la||document.compatMode==\"CSS1Compat\"||K[\"52", - L"8\"]||(K[\"528\"]=ca(na,\"528\")>=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;e<f;e++)d.push", - L"(c.snapshotItem(e));return d}else return[]};var Ja={};Ja.c=function(a,b", - L"){var c;if(typeof b.selectSingleNode!=\"undefined\"){c=N(b);typeof c.se", - L"tProperty!=\"undefined\"&&c.setProperty(\"SelectionLanguage\",\"XPath\"", - L");c=b.selectSingleNode(a)}else if(document.implementation.hasFeature(\"", - L"XPath\",\"3.0\")){c=N(b);var d=c.createNSResolver(c.documentElement);c=", - L"c.evaluate(a,b,d,XPathResult.FIRST_ORDERED_NODE_TYPE,k).singleNodeValue", - L"}else c=k;if(!c)return k;if(c.nodeType!=1)h(Error(\"Returned node is no", - L"t an element: \"+a));return c};\nJa.f=function(a,b){var c=Ia(b,a);v(c,f", - L"unction(d){if(d.nodeType!=1)h(Error(\"Returned nodes must be elements: ", - L"\"+a))});return c};var Ka={className:P,css:Q,id:Ea,linkText:X,name:Ga,p", - L"artialLinkText:Fa,tagName:Ha,xpath:Ja};function La(a,b){var c;a:{var d;", - L"b:{for(d in a){d=d;break b}d=void 0}if(d){var f=Ka[d];if(f&&o(f.c)==\"f", - L"unction\"){c=r(f.c,a[d],b||N(n));break a}}h(Error(\"Unsupported locator", - L" strategy: \"+d))}return c()}var Y=\"_\".split(\".\"),Z=n;!(Y[0]in Z)&&", - L"Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shif", - L"t());)if(!Y.length&&La!==undefined)Z[$]=La;else Z=Z[$]?Z[$]:Z[$]={};ret", - L"urn _.apply(null,arguments);};\n", - NULL -}; +const char* const EXECUTE_SCRIPT = + "function(){var h=this;\nfunction i(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function j(a){var b=i(a);return b==\"array\"||b==\"" + "object\"&&typeof a.length==\"number\"}function k(a){a=i(a);return a==\"ob" + "ject\"||a==\"array\"||a==\"function\"}var l=Date.now||function(){return+n" + "ew Date};function o(a,b){function c(){}c.prototype=b.prototype;a.c=b.prot" + "otype;a.prototype=new c};function p(a){this.stack=Error().stack||\"\";if(" + "a)this.message=String(a)}o(p,Error);p.prototype.name=\"CustomError\";func" + "tion q(a,b,c){var d={};for(var e in a)if(b.call(c,a[e],e,a))d[e]=a[e];ret" + "urn d}function r(a,b,c){var d={};for(var e in a)d[e]=b.call(c,a[e],e,a);r" + "eturn d}function aa(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d}" + ";function s(a,b){p.call(this,b);this.code=a;this.name=t[a]||t[13]}o(s,p);" + "var t,u={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,St" + "aleElementReferenceError:10,ElementNotVisibleError:11,InvalidElementState" + "Error:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError:19" + ",NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieError:" + "25,ModalDialogOpenedError:26,ModalDialogOpenError:27,ScriptTimeoutError:2" + "8},v={};for(var w in u)v[u[w]]=w;t=v;\ns.prototype.toString=function(){re" + "turn\"[\"+this.name+\"] \"+this.message};function ba(a){for(var b=1;b<arg" + "uments.length;b++){var c=String(arguments[b]).replace(/\\$/g,\"$$$$\");a=" + "a.replace(/\\%s/,c)}return a}\nfunction x(a,b){var c=0,d=String(a).replac" + "e(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),e=String(b).replace(/^[" + "\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),f=Math.max(d.length,e.length" + ");for(var g=0;c==0&&g<f;g++){var ca=d[g]||\"\",da=e[g]||\"\",ea=RegExp(\"" + "(\\\\d*)(\\\\D*)\",\"g\"),fa=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var m=" + "ea.exec(ca)||[\"\",\"\",\"\"],n=fa.exec(da)||[\"\",\"\",\"\"];if(m[0].len" + "gth==0&&n[0].length==0)break;c=y(m[1].length==0?0:parseInt(m[1],10),n[1]." + "length==0?0:parseInt(n[1],10))||y(m[2].length==0,n[2].length==0)||y(m[2]," + "\nn[2])}while(c==0)}return c}function y(a,b){if(a<b)return-1;else if(a>b)" + "return 1;return 0};function z(a,b){b.unshift(a);p.call(this,ba.apply(null" + ",b));b.shift();this.b=a}o(z,p);z.prototype.name=\"AssertionError\";functi" + "on ga(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d=\"Asser" + "tion failed\";if(b){d+=\": \"+b;var e=c}throw new z(\"\"+d,e||[]);}return" + " a};var A=Array.prototype,B=A.map?function(a,b,c){ga(a.length!=null);retu" + "rn A.map.call(a,b,c)}:function(a,b,c){var d=a.length,e=Array(d),f=typeof " + "a==\"string\"?a.split(\"\"):a;for(var g=0;g<d;g++)if(g in f)e[g]=b.call(c" + ",f[g],g,a);return e};var C,D,E,F;function G(){return h.navigator?h.naviga" + "tor.userAgent:null}F=E=D=C=false;var H;if(H=G()){var ha=h.navigator;C=H.i" + "ndexOf(\"Opera\")==0;D=!C&&H.indexOf(\"MSIE\")!=-1;E=!C&&H.indexOf(\"WebK" + "it\")!=-1;F=!C&&!E&&ha.product==\"Gecko\"}var I=D,ia=F,ja=E,J;\na:{var K=" + "\"\",L;if(C&&h.opera){var M=h.opera.version;K=typeof M==\"function\"?M():" + "M}else{if(ia)L=/rv\\:([^\\);]+)(\\)|;)/;else if(I)L=/MSIE\\s+([^\\);]+)(" + "\\)|;)/;else if(ja)L=/WebKit\\/(\\S+)/;if(L){var N=L.exec(G());K=N?N[1]:" + "\"\"}}if(I){var O,P=h.document;O=P?P.documentMode:undefined;if(O>parseFlo" + "at(K)){J=String(O);break a}}J=K}var Q={};!I||Q[\"9\"]||(Q[\"9\"]=x(J,\"9" + "\")>=0);I&&(Q[\"9\"]||(Q[\"9\"]=x(J,\"9\")>=0));function ka(){}\nfunction" + " R(a,b,c){switch(typeof b){case \"string\":S(a,b,c);break;case \"number\"" + ":c.push(isFinite(b)&&!isNaN(b)?b:\"null\");break;case \"boolean\":c.push(" + "b);break;case \"undefined\":c.push(\"null\");break;case \"object\":if(b==" + "null){c.push(\"null\");break}if(i(b)==\"array\"){var d=b.length;c.push(\"" + "[\");var e=\"\";for(var f=0;f<d;f++){c.push(e);R(a,b[f],c);e=\",\"}c.push" + "(\"]\");break}c.push(\"{\");d=\"\";for(e in b)if(Object.prototype.hasOwnP" + "roperty.call(b,e)){f=b[e];if(typeof f!=\"function\"){c.push(d);S(a,e,c);c" + ".push(\":\");R(a,\nf,c);d=\",\"}}c.push(\"}\");break;case \"function\":br" + "eak;default:throw Error(\"Unknown type: \"+typeof b);}}var T={'\"':'" + "\\\\\"',\"\\\\\":\"\\\\\\\\\",\"/\":\"\\\\/\",\"\\u0008\":\"\\\\b\",\"\\u" + "000c\":\"\\\\f\",\"\\n\":\"\\\\n\",\"\\r\":\"\\\\r\",\"\\t\":\"\\\\t\",\"" + "\\u000b\":\"\\\\u000b\"},la=/\\uffff/.test(\"\\uffff\")?/[\\\\\\\"\\x00-" + "\\x1f\\x7f-\\uffff]/g:/[\\\\\\\"\\x00-\\x1f\\x7f-\\xff]/g;\nfunction S(a," + "b,c){c.push('\"',b.replace(la,function(d){if(d in T)return T[d];var e=d.c" + "harCodeAt(0),f=\"\\\\u\";if(e<16)f+=\"000\";else if(e<256)f+=\"00\";else " + "if(e<4096)f+=\"0\";return T[d]=f+e.toString(16)}),'\"')};function U(a){sw" + "itch(i(a)){case \"string\":case \"number\":case \"boolean\":return a;case" + " \"function\":return a.toString();case \"array\":return B(a,U);case \"obj" + "ect\":a=a;if(\"tagName\"in a&&\"nodeType\"in a&&a.nodeType==1){var b={};b" + ".ELEMENT=ma(a);return b}if(j(a))return B(a,U);a=q(a,function(c,d){return " + "typeof d==\"number\"||typeof d==\"string\"});return r(a,U);default:return" + " null}}\nfunction V(a,b){if(i(a)==\"array\")return B(a,function(c){return" + " V(c,b)});else if(k(a))return\"ELEMENT\"in a?na(a.ELEMENT,b):r(a,function" + "(c){return V(c,b)});return a}function W(a){a=a||document;var b=a.$wdc_;if" + "(!b){b=a.$wdc_={};b.a=l()}return b}function ma(a){var b=W(a.ownerDocument" + "),c=aa(b,function(d){return d==a});if(!c){c=\":wdc:\"+b.a++;b[c]=a}return" + " c}\nfunction na(a,b){a=decodeURIComponent(a);var c=b||document,d=W(c);if" + "(!(a in d))throw new s(10,\"Element does not exist in cache\");var e=d[a]" + ";for(var f=e;f;){if(f==c.documentElement)return e;f=f.parentNode}delete d" + "[a];throw new s(10,\"Element is no longer attached to the DOM\");};functi" + "on X(a,b,c){var d;try{if(typeof a==\"string\")a=new Function(a);var e=V(b" + "),f=a.apply(null,e);d={status:0,value:U(f)}}catch(g){d={status:\"code\"in" + " g?g.code:13,value:{message:g.message}}}if(c){a=[];R(new ka,d,a);d=a.join" + "(\"\")}else d=d;return d}var Y=\"_\".split(\".\"),Z=h;!(Y[0]in Z)&&Z.exec" + "Script&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)if" + "(!Y.length&&X!==undefined)Z[$]=X;else Z=Z[$]?Z[$]:Z[$]={};; return _.appl" + "y(null,arguments);}"; -const wchar_t* const FIND_ELEMENTS[] = { - L"var findElements=function(){function h(a){throw a;}var i=true,k=null,l=", - L"false,m,n=this;\nfunction o(a){var b=typeof a;if(b==\"object\")if(a){if", - L"(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.", - L"call(a)==\"[object Array]\"||typeof a.length==\"number\"&&typeof a.spli", - L"ce!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.pro", - L"pertyIsEnumerable(\"splice\"))return\"array\";if(!(a instanceof Object)", - L"&&(Object.prototype.toString.call(a)==\"[object Function]\"||typeof a.c", - L"all!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.pr", - L"opertyIsEnumerable(\"call\")))return\"function\"}else return\"null\";\n", - L"else if(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";", - L"return b}function p(a){var b=o(a);return b==\"array\"||b==\"object\"&&t", - L"ypeof a.length==\"number\"}function q(a){return typeof a==\"string\"}fu", - L"nction r(a){var b=Array.prototype.slice.call(arguments,1);return functi", - L"on(){var c=Array.prototype.slice.call(arguments);c.unshift.apply(c,b);r", - L"eturn a.apply(this,c)}}function aa(a,b){function c(){}c.prototype=b.pro", - L"totype;a.r=b.prototype;a.prototype=new c};function ba(a){return a.repla", - L"ce(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")}function s(a){ret", - L"urn a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}\nfunction ca(a,b){for", - L"(var c=0,d=s(String(a)).split(\".\"),f=s(String(b)).split(\".\"),e=Math", - L".max(d.length,f.length),g=0;c==0&&g<e;g++){var j=d[g]||\"\",J=f[g]||\"", - L"\",ya=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),za=RegExp(\"(\\\\d*)(\\\\D*)\"", - L",\"g\");do{var z=ya.exec(j)||[\"\",\"\",\"\"],A=za.exec(J)||[\"\",\"\",", - L"\"\"];if(z[0].length==0&&A[0].length==0)break;c=t(z[1].length==0?0:pars", - L"eInt(z[1],10),A[1].length==0?0:parseInt(A[1],10))||t(z[2].length==0,A[2", - L"].length==0)||t(z[2],A[2])}while(c==0)}return c}\nfunction t(a,b){if(a<", - L"b)return-1;else if(a>b)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<a.length;c++)if(c in a&&a[c]===b)re", - L"turn c;return-1},v=u.forEach?function(a,b,c){u.forEach.call(a,b,c)}:fun", - L"ction(a,b,c){for(var d=a.length,f=q(a)?a.split(\"\"):a,e=0;e<d;e++)e in", - L" f&&b.call(c,f[e],e,a)},w=u.filter?function(a,b,c){return u.filter.call", - L"(a,b,c)}:function(a,b,c){for(var d=a.length,f=[],\ne=0,g=q(a)?a.split(", - L"\"\"):a,j=0;j<d;j++)if(j in g){var J=g[j];if(b.call(c,J,j,a))f[e++]=J}r", - L"eturn f};function x(a,b,c){a:{for(var d=a.length,f=q(a)?a.split(\"\"):a", - L",e=0;e<d;e++)if(e in f&&b.call(c,f[e],e,a)){b=e;break a}b=-1}return b<0", - L"?k:q(a)?a.charAt(b):a[b]}function ea(){return u.concat.apply(u,argument", - L"s)}function fa(a){if(o(a)==\"array\")return ea(a);if(o(a)==\"array\")a=", - L"ea(a);else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];a=b}return a};", - L"function y(a,b){this.width=a;this.height=b}y.prototype.round=function()", - L"{this.width=Math.round(this.width);this.height=Math.round(this.height);", - L"return this};var B,C,D,E;function ga(){return n.navigator?n.navigator.u", - L"serAgent:k}E=D=C=B=l;var F;if(F=ga()){var ha=n.navigator;B=F.indexOf(\"", - L"Opera\")==0;C=!B&&F.indexOf(\"MSIE\")!=-1;D=!B&&F.indexOf(\"WebKit\")!=", - L"-1;E=!B&&!D&&ha.product==\"Gecko\"}var ia=B,ja=C,ka=E,la=D,G=\"\",H;if(", - L"ia&&n.opera){var I=n.opera.version;G=typeof I==\"function\"?I():I}else{", - L"if(ka)H=/rv\\:([^\\);]+)(\\)|;)/;else if(ja)H=/MSIE\\s+([^\\);]+)(\\)|;", - L")/;else if(la)H=/WebKit\\/(\\S+)/;if(H){var ma=H.exec(ga());G=ma?ma[1]:", - L"\"\"}}var na=G,K={};var oa;function L(a){return a?new M(N(a)):oa||(oa=n", - L"ew M)}function O(a,b){if(a.contains&&b.nodeType==1)return a==b||a.conta", - L"ins(b);if(typeof a.compareDocumentPosition!=\"undefined\")return a==b||", - L"Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;r", - L"eturn b==a}function N(a){return a.nodeType==9?a:a.ownerDocument||a.docu", - L"ment}function M(a){this.i=a||n.document||document}M.prototype.o=functio", - L"n(a){return q(a)?this.i.getElementById(a):a};\nM.prototype.b=function(a", - L",b,c){c=c||this.i;a=a&&a!=\"*\"?a.toUpperCase():\"\";if(c.querySelector", - L"All&&c.querySelector&&(!la||document.compatMode==\"CSS1Compat\"||K[\"52", - L"8\"]||(K[\"528\"]=ca(na,\"528\")>=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;e<f;e++)d.push", - L"(c.snapshotItem(e));return d}else return[]};var Ja={};Ja.f=function(a,b", - L"){var c;if(typeof b.selectSingleNode!=\"undefined\"){c=N(b);typeof c.se", - L"tProperty!=\"undefined\"&&c.setProperty(\"SelectionLanguage\",\"XPath\"", - L");c=b.selectSingleNode(a)}else if(document.implementation.hasFeature(\"", - L"XPath\",\"3.0\")){c=N(b);var d=c.createNSResolver(c.documentElement);c=", - L"c.evaluate(a,b,d,XPathResult.FIRST_ORDERED_NODE_TYPE,k).singleNodeValue", - L"}else c=k;if(!c)return k;if(c.nodeType!=1)h(Error(\"Returned node is no", - L"t an element: \"+a));return c};\nJa.c=function(a,b){var c=Ia(b,a);v(c,f", - L"unction(d){if(d.nodeType!=1)h(Error(\"Returned nodes must be elements: ", - L"\"+a))});return c};var Ka={className:P,css:Q,id:Ea,linkText:X,name:Ga,p", - L"artialLinkText:Fa,tagName:Ha,xpath:Ja};function La(a,b){var c;a:{var d;", - L"b:{for(d in a){d=d;break b}d=void 0}if(d){var f=Ka[d];if(f&&o(f.c)==\"f", - L"unction\"){c=r(f.c,a[d],b||N(n));break a}}h(Error(\"Unsupported locator", - L" strategy: \"+d))}return c()}var Y=\"_\".split(\".\"),Z=n;!(Y[0]in Z)&&", - L"Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shif", - L"t());)if(!Y.length&&La!==undefined)Z[$]=La;else Z=Z[$]?Z[$]:Z[$]={};ret", - L"urn _.apply(null,arguments);};\n", - NULL -}; +const char* const FIND_ELEMENT = + "function(){var h=this;\nfunction i(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function j(a){return typeof a==\"string\"}function " + "k(a){return i(a)==\"function\"}function aa(a){a=i(a);return a==\"object\"" + "||a==\"array\"||a==\"function\"}function m(a,b){function c(){}c.prototype" + "=b.prototype;a.l=b.prototype;a.prototype=new c};function n(a){this.stack=" + "Error().stack||\"\";if(a)this.message=String(a)}m(n,Error);n.prototype.na" + "me=\"CustomError\";function ba(a){for(var b=1;b<arguments.length;b++){var" + " c=String(arguments[b]).replace(/\\$/g,\"$$$$\");a=a.replace(/\\%s/,c)}re" + "turn a}function o(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}" + "function p(a,b){if(a<b)return-1;else if(a>b)return 1;return 0}var ca={};f" + "unction da(a){return ca[a]||(ca[a]=String(a).replace(/\\-([a-z])/g,functi" + "on(b,c){return c.toUpperCase()}))};function q(a,b){b.unshift(a);n.call(th" + "is,ba.apply(null,b));b.shift();this.m=a}m(q,n);q.prototype.name=\"Asserti" + "onError\";function r(a,b){if(!a){var c=Array.prototype.slice.call(argumen" + "ts,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=c}throw new q(\"\"+d" + ",f||[]);}return a};var s=Array.prototype,t=s.indexOf?function(a,b,c){r(a." + "length!=null);return s.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c" + "<0?Math.max(0,a.length+c):c;if(j(a)){if(!j(b)||b.length!=1)return-1;retur" + "n a.indexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]===b)return c;retu" + "rn-1},ea=s.forEach?function(a,b,c){r(a.length!=null);s.forEach.call(a,b,c" + ")}:function(a,b,c){var d=a.length,f=j(a)?a.split(\"\"):a;for(var e=0;e<d;" + "e++)e in f&&b.call(c,f[e],e,a)},u=s.filter?function(a,b,c){r(a.length!=nu" + "ll);return s.filter.call(a,\nb,c)}:function(a,b,c){var d=a.length,f=[],e=" + "0,g=j(a)?a.split(\"\"):a;for(var l=0;l<d;l++)if(l in g){var J=g[l];if(b.c" + "all(c,J,l,a))f[e++]=J}return f},fa=s.map?function(a,b,c){r(a.length!=null" + ");return s.map.call(a,b,c)}:function(a,b,c){var d=a.length,f=Array(d),e=j" + "(a)?a.split(\"\"):a;for(var g=0;g<d;g++)if(g in e)f[g]=b.call(c,e[g],g,a)" + ";return f},ga=s.some?function(a,b,c){r(a.length!=null);return s.some.call" + "(a,b,c)}:function(a,b,c){var d=a.length,f=j(a)?a.split(\"\"):a;for(var e=" + "0;e<d;e++)if(e in f&&b.call(c,\nf[e],e,a))return true;return false};funct" + "ion v(a,b,c){a:{var d=a.length,f=j(a)?a.split(\"\"):a;for(var e=0;e<d;e++" + ")if(e in f&&b.call(c,f[e],e,a)){b=e;break a}b=-1}return b<0?null:j(a)?a.c" + "harAt(b):a[b]};var w,x,y,z;function ha(){return h.navigator?h.navigator.u" + "serAgent:null}z=y=x=w=false;var A;if(A=ha()){var ia=h.navigator;w=A.index" + "Of(\"Opera\")==0;x=!w&&A.indexOf(\"MSIE\")!=-1;y=!w&&A.indexOf(\"WebKit\"" + ")!=-1;z=!w&&!y&&ia.product==\"Gecko\"}var ja=w,D=x,ka=z,E=y,F;\na:{var G=" + "\"\",H;if(ja&&h.opera){var I=h.opera.version;G=typeof I==\"function\"?I()" + ":I}else{if(ka)H=/rv\\:([^\\);]+)(\\)|;)/;else if(D)H=/MSIE\\s+([^\\);]+)(" + "\\)|;)/;else if(E)H=/WebKit\\/(\\S+)/;if(H){var la=H.exec(ha());G=la?la[1" + "]:\"\"}}if(D){var ma,na=h.document;ma=na?na.documentMode:undefined;if(ma>" + "parseFloat(G)){F=String(ma);break a}}F=G}var oa={};\nfunction K(a){var b;" + "if(!(b=oa[a])){b=0;var c=o(String(F)).split(\".\"),d=o(String(a)).split(" + "\".\"),f=Math.max(c.length,d.length);for(var e=0;b==0&&e<f;e++){var g=c[e" + "]||\"\",l=d[e]||\"\",J=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),La=RegExp(\"(" + "\\\\d*)(\\\\D*)\",\"g\");do{var B=J.exec(g)||[\"\",\"\",\"\"],C=La.exec(l" + ")||[\"\",\"\",\"\"];if(B[0].length==0&&C[0].length==0)break;b=p(B[1].leng" + "th==0?0:parseInt(B[1],10),C[1].length==0?0:parseInt(C[1],10))||p(B[2].len" + "gth==0,C[2].length==0)||p(B[2],C[2])}while(b==0)}b=oa[a]=b>=0}return b};v" + "ar pa;!D||K(\"9\");D&&K(\"9\");function L(a,b){this.width=a;this.height=b" + "}L.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.heig" + "ht+\")\"};function M(a){return a?new qa(N(a)):pa||(pa=new qa)}function ra" + "(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a" + ".compareDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDoc" + "umentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function N(" + "a){return a.nodeType==9?a:a.ownerDocument||a.document}function sa(a,b){va" + "r c=[];return ta(a,b,c,true)?c[0]:undefined}\nfunction ta(a,b,c,d){if(a!=" + "null){var f=0;for(var e;e=a.childNodes[f];f++){if(b(e)){c.push(e);if(d)re" + "turn true}if(ta(e,b,c,d))return true}}return false}function ua(a,b,c,d){i" + "f(!c)a=a.parentNode;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a" + ";a=a.parentNode;f++}return null}function qa(a){this.g=a||h.document||docu" + "ment}\nfunction O(a,b,c,d){a=d||a.g;b=b&&b!=\"*\"?b.toUpperCase():\"\";if" + "(a.querySelectorAll&&a.querySelector&&(!E||document.compatMode==\"CSS1Com" + "pat\"||K(\"528\"))&&(b||c))c=a.querySelectorAll(b+(c?\".\"+c:\"\"));else " + "if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};" + "var f=0,e=0;for(var g;g=a[e];e++)if(b==g.nodeName)d[f++]=g;d.length=f;c=d" + "}else c=a}else{a=a.getElementsByTagName(b||\"*\");if(c){d={};f=0;for(e=0;" + "g=a[e];e++){b=g.className;if(typeof b.split==\"function\"&&t(b.split(/\\s" + "+/),c)>=0)d[f++]=\ng}d.length=f;c=d}else c=a}return c}qa.prototype.contai" + "ns=ra;var va={};va.b=function(a,b){if(!a)throw Error(\"No class name spec" + "ified\");a=o(a);if(a.split(/\\s+/).length>1)throw Error(\"Compound class " + "names not permitted\");var c=O(M(b),\"*\",a,b);return c.length?c[0]:null}" + ";va.e=function(a,b){if(!a)throw Error(\"No class name specified\");a=o(a)" + ";if(a.split(/\\s+/).length>1)throw Error(\"Compound class names not permi" + "tted\");return O(M(b),\"*\",a,b)};var wa={};wa.b=function(a,b){if(!k(b.qu" + "erySelector)&&D&&K(8)&&!aa(b.querySelector))throw Error(\"CSS selection i" + "s not supported\");if(!a)throw Error(\"No selector specified\");if(a.spli" + "t(/,/).length>1)throw Error(\"Compound selectors not permitted\");a=o(a);" + "var c=b.querySelector(a);return c&&c.nodeType==1?c:null};\nwa.e=function(" + "a,b){if(!k(b.querySelectorAll)&&D&&K(8)&&!aa(b.querySelector))throw Error" + "(\"CSS selection is not supported\");if(!a)throw Error(\"No selector spec" + "ified\");if(a.split(/,/).length>1)throw Error(\"Compound selectors not pe" + "rmitted\");a=o(a);return b.querySelectorAll(a)};function xa(a,b){if(typeo" + "f a.selectNodes!=\"undefined\"){var c=N(a);typeof c.setProperty!=\"undefi" + "ned\"&&c.setProperty(\"SelectionLanguage\",\"XPath\");return a.selectNode" + "s(b)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){c=N(a" + ");var d=c.createNSResolver(c.documentElement);c=c.evaluate(b,a,d,XPathRes" + "ult.ORDERED_NODE_SNAPSHOT_TYPE,null);d=[];var f=c.snapshotLength;for(var " + "e=0;e<f;e++)d.push(c.snapshotItem(e));return d}else return[]};var P={};P." + "b=function(a,b){try{var c;if(typeof b.selectSingleNode!=\"undefined\"){va" + "r d=N(b);typeof d.setProperty!=\"undefined\"&&d.setProperty(\"SelectionLa" + "nguage\",\"XPath\");c=b.selectSingleNode(a)}else if(document.implementati" + "on.hasFeature(\"XPath\",\"3.0\")){d=N(b);var f=d.createNSResolver(d.docum" + "entElement);c=d.evaluate(a,b,f,XPathResult.FIRST_ORDERED_NODE_TYPE,null)." + "singleNodeValue}else c=null}catch(e){return null}if(!c)return null;if(c.n" + "odeType!=1)throw Error(\"Returned node is not an element: \"+a);return c}" + ";\nP.e=function(a,b){var c=xa(b,a);ea(c,function(d){if(d.nodeType!=1)thro" + "w Error(\"Returned nodes must be elements: \"+a);});return c};var ya=\"St" + "opIteration\"in h?h.StopIteration:Error(\"StopIteration\");function za(){" + "}za.prototype.next=function(){throw ya;};function Q(a,b,c,d,f){this.a=!!b" + ";a&&R(this,a,d);this.f=f!=undefined?f:this.d||0;if(this.a)this.f*=-1;this" + ".k=!c}m(Q,za);Q.prototype.c=null;Q.prototype.d=0;Q.prototype.j=false;func" + "tion R(a,b,c,d){if(a.c=b)a.d=typeof c==\"number\"?c:a.c.nodeType!=1?0:a.a" + "?-1:1;if(typeof d==\"number\")a.f=d}\nQ.prototype.next=function(){var a;i" + "f(this.j){if(!this.c||this.k&&this.f==0)throw ya;a=this.c;var b=this.a?-1" + ":1;if(this.d==b){var c=this.a?a.lastChild:a.firstChild;c?R(this,c):R(this" + ",a,b*-1)}else(c=this.a?a.previousSibling:a.nextSibling)?R(this,c):R(this," + "a.parentNode,b*-1);this.f+=this.d*(this.a?-1:1)}else this.j=true;a=this.c" + ";if(!this.c)throw ya;return a};\nQ.prototype.splice=function(){var a=this" + ".c,b=this.a?1:-1;if(this.d==b){this.d=b*-1;this.f+=this.d*(this.a?-1:1)}t" + "his.a=!this.a;Q.prototype.next.call(this);this.a=!this.a;b=arguments[0];v" + "ar c=i(b);b=c==\"array\"||c==\"object\"&&typeof b.length==\"number\"?argu" + "ments[0]:arguments;for(c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.i" + "nsertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild" + "(a)};function Aa(a,b,c,d){Q.call(this,a,b,c,null,d)}m(Aa,Q);Aa.prototype." + "next=function(){do Aa.l.next.call(this);while(this.d==-1);return this.c};" + "function Ba(a,b){var c=N(a);if(c.defaultView&&c.defaultView.getComputedSt" + "yle)if(c=c.defaultView.getComputedStyle(a,null))return c[b]||c.getPropert" + "yValue(b);return\"\"};function S(a,b){return!!a&&a.nodeType==1&&(!b||a.ta" + "gName.toUpperCase()==b)}\nvar Ca=[\"async\",\"autofocus\",\"autoplay\",\"" + "checked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchec" + "ked\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\"," + "\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"i" + "smap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresiz" + "e\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\"" + ",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking" + "\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction" + " T(a,b){if(8==a.nodeType)return null;b=b.toLowerCase();if(b==\"style\"){v" + "ar c=o(a.style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?" + "c:c+\";\"}c=a.getAttributeNode(b);if(D)if(!c&&K(8)&&t(Ca,b)>=0)c=a[b];if(" + "!c)return null;if(t(Ca,b)>=0)return D&&c.value==\"false\"?null:\"true\";r" + "eturn c.specified?c.value:null}function U(a){for(a=a.parentNode;a&&a.node" + "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:null" + "}function V(a,b){b=da(String(b));return Ba(a,b)||Da(a,b)}\nfunction Da(a," + "b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefi" + "ned?c:null;return(c=U(a))?Da(c,b):null}\nfunction Ea(a){if(k(a.getBBox))r" + "eturn a.getBBox();var b;var c=ja&&!K(\"10\");if((Ba(a,\"display\")||(a.cu" + "rrentStyle?a.currentStyle.display:null)||a.style.display)!=\"none\")b=c?n" + "ew L(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new L(a" + ".offsetWidth,a.offsetHeight);else{b=a.style;var d=b.display,f=b.visibilit" + "y,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=" + "\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clien" + "tHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.display=\nd;b.position=e;" + "b.visibility=f;b=new L(c,a)}return b}\nfunction W(a,b){function c(e){if(V" + "(e,\"display\")==\"none\")return false;e=U(e);return!e||c(e)}function d(e" + "){var g=Ea(e);if(g.height>0&&g.width>0)return true;if(e.innerText||e.text" + "Content)if(Fa.test(e.innerText||e.textContent))return true;return E&&ga(e" + ".childNodes,function(l){return S(l)&&d(l)})}if(!S(a))throw Error(\"Argume" + "nt to isShown must be of type Element\");if(S(a,\"TITLE\"))return(N(a)?N(" + "a).parentWindow||N(a).defaultView:window)==h;if(S(a,\"OPTION\")||S(a,\"OP" + "TGROUP\")){var f=ua(a,function(e){return S(e,\n\"SELECT\")});return!!f&&W" + "(f)}if(S(a,\"MAP\")){if(!a.name)return false;f=N(a);f=f.evaluate?P.b('/de" + "scendant::*[@usemap = \"#'+a.name+'\"]',f):sa(f,function(e){return S(e)&&" + "T(e,\"usemap\")==\"#\"+a.name});return!!f&&W(f)}if(S(a,\"AREA\")){f=ua(a," + "function(e){return S(e,\"MAP\")});return!!f&&W(f)}if(S(a,\"INPUT\")&&a.ty" + "pe.toLowerCase()==\"hidden\")return false;if(V(a,\"visibility\")==\"hidde" + "n\")return false;if(!c(a))return false;if(!b&&Ga(a)==0)return false;if(!d" + "(a))return false;return true}\nfunction Ha(a){var b=[\"\"];Ia(a,b);b=fa(b" + ",o);return o(b.join(\"\\n\"))}function Ia(a,b){if(S(a,\"BR\"))b.push(\"\"" + ");else{var c=Ja(a);c&&b[b.length-1]&&b.push(\"\");ea(a.childNodes,functio" + "n(d){if(d.nodeType==3){var f=U(d);if(f){W(f);if(!f||!W(f))W(f);else{d=d.n" + "odeValue.replace(Ka,\" \");f=b.pop();var e=f.length-1;if(e>=0&&f.indexOf(" + "\" \",e)==e&&d.lastIndexOf(\" \",0)==0)d=d.substr(1);b.push(f+d)}}}else S" + "(d)&&Ia(d,b)});c&&b[b.length-1]&&b.push(\"\")}}\nfunction Ja(a){a=V(a,\"d" + "isplay\");return a==\"block\"||a==\"inline-block\"}var Ma=\"[\\\\s\\\\xa0" + "\"+String.fromCharCode(160)+\"]+\",Ka=RegExp(Ma,\"g\"),Fa=RegExp(\"^\"+Ma" + "+\"$\");function Ga(a){if(D){if(V(a,\"position\")==\"relative\")return 1;" + "a=V(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match" + "(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(" + "a[1])/100:1}else return Na(a)}function Na(a){var b=1,c=V(a,\"opacity\");i" + "f(c)b=Number(c);if(a=U(a))b*=Na(a);return b};var Oa={};Oa.b=function(a,b)" + "{var c=M(b),d=j(a)?c.g.getElementById(a):a;if(!d)return null;if(T(d,\"id" + "\")==a&&ra(b,d))return d;c=O(c,\"*\");return v(c,function(f){return T(f," + "\"id\")==a&&ra(b,f)})};Oa.e=function(a,b){var c=O(M(b),\"*\",null,b);retu" + "rn u(c,function(d){return T(d,\"id\")==a})};var X={},Pa={};X.i=function(a" + ",b,c){b=O(M(b),\"A\",null,b);return v(b,function(d){d=Ha(d);return c&&d.i" + "ndexOf(a)!=-1||d==a})};X.h=function(a,b,c){b=O(M(b),\"A\",null,b);return " + "u(b,function(d){d=Ha(d);return c&&d.indexOf(a)!=-1||d==a})};X.b=function(" + "a,b){return X.i(a,b,false)};X.e=function(a,b){return X.h(a,b,false)};Pa.b" + "=function(a,b){return X.i(a,b,true)};Pa.e=function(a,b){return X.h(a,b,tr" + "ue)};var Qa={};Qa.b=function(a,b){var c=O(M(b),\"*\",null,b);return v(c,f" + "unction(d){return T(d,\"name\")==a})};Qa.e=function(a,b){var c=O(M(b),\"*" + "\",null,b);return u(c,function(d){return T(d,\"name\")==a})};var Ra={};Ra" + ".b=function(a,b){return O(M(b),a,null,b)[0]||null};Ra.e=function(a,b){ret" + "urn O(M(b),a,null,b)};var Sa={className:va,css:wa,id:Oa,linkText:X,name:Q" + "a,partialLinkText:Pa,tagName:Ra,xpath:P};function Ta(a,b){var c;a:{for(c " + "in a){c=c;break a}c=void 0}if(c){var d=Sa[c];if(d&&k(d.b))return d.b(a[c]" + ",b||N(h))}throw Error(\"Unsupported locator strategy: \"+c);}var Y=\"_\"." + "split(\".\"),Z=h;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);f" + "or(var $;Y.length&&($=Y.shift());)if(!Y.length&&Ta!==undefined)Z[$]=Ta;el" + "se Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,arguments);}"; -const wchar_t* const FIRE[] = { - L"var fire=function(){var g=true,n=null,o=false,p,q=this;function t(){}\n", - L"function aa(a){var c=typeof a;if(c==\"object\")if(a){if(a instanceof Ar", - L"ray||!(a instanceof Object)&&Object.prototype.toString.call(a)==\"[obje", - L"ct Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefined", - L"\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerab", - L"le(\"splice\"))return\"array\";if(!(a instanceof Object)&&(Object.proto", - L"type.toString.call(a)==\"[object Function]\"||typeof a.call!=\"undefine", - L"d\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumera", - L"ble(\"call\")))return\"function\"}else return\"null\";\nelse if(c==\"fu", - L"nction\"&&typeof a.call==\"undefined\")return\"object\";return c}functi", - L"on u(a){return aa(a)==\"function\"}function ba(a){a=aa(a);return a==\"o", - L"bject\"||a==\"array\"||a==\"function\"}function ca(a){if(a.hasOwnProper", - L"ty&&a.hasOwnProperty(v))return a[v];a[v]||(a[v]=++da);return a[v]}var v", - L"=\"closure_uid_\"+Math.floor(Math.random()*2147483648).toString(36),da=", - L"0;\nfunction ea(a){var c=Array.prototype.slice.call(arguments,1);return", - L" function(){var b=Array.prototype.slice.call(arguments);b.unshift.apply", - L"(b,c);return a.apply(this,b)}}function w(a,c){function b(){}b.prototype", - L"=c.prototype;a.A=c.prototype;a.prototype=new b};function fa(a,c){for(va", - L"r b=0,d=String(a).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".", - L"\"),f=String(c).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\")", - L",e=Math.max(d.length,f.length),h=0;b==0&&h<e;h++){var i=d[h]||\"\",m=f[", - L"h]||\"\",k=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),r=RegExp(\"(\\\\d*)(\\\\D", - L"*)\",\"g\");do{var l=k.exec(i)||[\"\",\"\",\"\"],j=r.exec(m)||[\"\",\"", - L"\",\"\"];if(l[0].length==0&&j[0].length==0)break;b=x(l[1].length==0?0:p", - L"arseInt(l[1],10),j[1].length==0?0:parseInt(j[1],10))||x(l[2].length==0,", - L"j[2].length==0)||x(l[2],j[2])}while(b==\n0)}return b}function x(a,c){if", - L"(a<c)return-1;else if(a>c)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<a", - L".length;b++)if(b in a&&a[b]===c)return b;return-1};var z,A,B,C;function", - L" ha(){return q.navigator?q.navigator.userAgent:n}C=B=A=z=o;var D;if(D=h", - L"a()){var ia=q.navigator;z=D.indexOf(\"Opera\")==0;A=!z&&D.indexOf(\"MSI", - L"E\")!=-1;B=!z&&D.indexOf(\"WebKit\")!=-1;C=!z&&!B&&ia.product==\"Gecko", - L"\"}var ja=z,E=A,ka=C,la=B,ma=q.navigator,na=(ma&&ma.platform||\"\").ind", - L"exOf(\"Mac\")!=-1,F=\"\",G;\nif(ja&&q.opera){var H=q.opera.version;F=ty", - L"peof H==\"function\"?H():H}else{if(ka)G=/rv\\:([^\\);]+)(\\)|;)/;else i", - L"f(E)G=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(la)G=/WebKit\\/(\\S+)/;if(G){", - L"var oa=G.exec(ha());F=oa?oa[1]:\"\"}}var pa=F,qa={};function I(a){retur", - L"n a.nodeType==9?a:a.ownerDocument||a.document};function J(){}J.prototyp", - L"e.r=o;J.prototype.h=function(){if(!this.r){this.r=g;this.c()}};J.protot", - L"ype.c=function(){};var K;function L(a,c){this.type=a;this.currentTarget", - L"=this.target=c}w(L,J);L.prototype.c=function(){delete this.type;delete ", - L"this.target;delete this.currentTarget};L.prototype.m=o;L.prototype.F=g;", - L"function M(a,c){a&&this.k(a,c)}w(M,L);p=M.prototype;p.target=n;p.relate", - L"dTarget=n;p.offsetX=0;p.offsetY=0;p.clientX=0;p.clientY=0;p.screenX=0;p", - L".screenY=0;p.button=0;p.keyCode=0;p.charCode=0;p.ctrlKey=o;p.altKey=o;p", - L".shiftKey=o;p.metaKey=o;p.D=o;p.s=n;\np.k=function(a,c){var b=this.type", - L"=a.type;this.target=a.target||a.srcElement;this.currentTarget=c;var d=a", - L".relatedTarget;if(d){if(ka)try{d=d.nodeName&&d}catch(f){d=n}}else if(b=", - L"=\"mouseover\")d=a.fromElement;else if(b==\"mouseout\")d=a.toElement;th", - L"is.relatedTarget=d;this.offsetX=a.offsetX!==undefined?a.offsetX:a.layer", - L"X;this.offsetY=a.offsetY!==undefined?a.offsetY:a.layerY;this.clientX=a.", - L"clientX!==undefined?a.clientX:a.pageX;this.clientY=a.clientY!==undefine", - L"d?a.clientY:a.pageY;this.screenX=a.screenX||0;\nthis.screenY=a.screenY|", - L"|0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charC", - L"ode||(b==\"keypress\"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a", - L".altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.D=na?a.met", - L"aKey:a.ctrlKey;this.s=a;delete this.F;delete this.m};E&&(qa[\"8\"]||(qa", - L"[\"8\"]=fa(pa,\"8\")>=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.length<this.v?this.a.push(a):th", - L"is.p(a)};p.B=function(a){if(a>this.v)throw Error(\"[goog.structs.Simple", - L"Pool] Initial cannot be greater than max\");for(var c=0;c<a;c++)this.a.", - L"push(this.o())};p.o=function(){return this.j?this.j():{}};p.p=function(", - L"a){if(this.q)this.q(a);else if(ba(a))if(u(a.h))a.h();else for(var c in ", - L"a)delete a[c]};\np.c=function(){N.A.c.call(this);for(var a=this.a;a.len", - L"gth;)this.p(a.pop());delete this.a};var ra;var sa=(ra=\"ScriptEngine\"i", - L"n q&&q.ScriptEngine()==\"JScript\")?q.ScriptEngineMajorVersion()+\".\"+", - L"q.ScriptEngineMinorVersion()+\".\"+q.ScriptEngineBuildVersion():\"0\";f", - L"unction ta(){}var ua=0;p=ta.prototype;p.key=0;p.f=o;p.n=o;p.k=function(", - L"a,c,b,d,f,e){if(u(a))this.u=g;else if(a&&a.handleEvent&&u(a.handleEvent", - L"))this.u=o;else throw Error(\"Invalid listener argument\");this.l=a;thi", - L"s.z=c;this.src=b;this.type=d;this.capture=!!f;this.C=e;this.n=o;this.ke", - L"y=++ua;this.f=o};p.handleEvent=function(a){if(this.u)return this.l.call", - L"(this.C||this.src,a);return this.l.handleEvent.call(this.l,a)};var O,P,", - L"Q,va,R,S,T,wa;\n(function(){function a(){return{b:0,e:0}}function c(){r", - L"eturn[]}function b(){function j(s){return h.call(j.src,j.key,s)}return ", - L"j}function d(){return new ta}function f(){return new M}var e=ra&&!(fa(s", - L"a,\"5.7\")>=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<d.length;f++)if(d[f].f){var h=d[f].z;h.s", - L"rc=n;R(h);S(d[f])}else{if(f!=e)d[e]=d[f];e++}d.length=e;d.w=o;if(e==0){", - L"Q(d);delete V[a][c][b];V[a][c].b--;if(V[a][c].b==0){O(V[a][c]);delete V", - L"[a][c];V[a].b--}if(V[a].b==0){O(V[a]);delete V[a]}}}}function Aa(a){if(", - L"a in ya)return ya[a];return ya[a]=\"on\"+a}\nfunction Ba(a,c,b,d,f){var", - L" e=1;c=ca(c);if(a[c]){a.e--;a=a[c];if(a.i)a.i++;else a.i=1;try{for(var ", - L"h=a.length,i=0;i<h;i++){var m=a[i];if(m&&!m.f)e&=Ca(m,f)!==o}}finally{a", - L".i--;za(b,d,c,a)}}return Boolean(e)}\nfunction Ca(a,c){var b=a.handleEv", - L"ent(c);if(a.n){var d=a.key;if(U[d]){var f=U[d];if(!f.f){var e=f.src,h=f", - L".type,i=f.z,m=f.capture;if(e.removeEventListener){if(e==q||!e.I)e.remov", - L"eEventListener(h,i,m)}else e.detachEvent&&e.detachEvent(Aa(h),i);e=ca(e", - L");i=V[h][m][e];if(xa[e]){var k=xa[e],r=ga(k,f);r>=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<l.length&&h.e;s++)", - L"{k.currentTarget=l[s];e&=Ba(h,l[s],d,o,k)}}}else e=Ca(b,k)}finally{if(l", - L"){l.length=0;Q(l)}k.h();wa(k)}return e}d=new M(c,this);try{e=Ca(b,d)}fi", - L"nally{d.h()}return e});function Da(a,c,b,d){if(typeof d==\"number\")d=(", - L"c?Math.round(d):d)+\"px\";b.style[a]=d}ea(Da,\"height\",g);ea(Da,\"widt", - L"h\",g);var Ea=E?0:1,Fa=[\"dragstart\",\"dragexit\",\"mouseover\",\"mous", - L"eout\"];\nfunction W(a,c,b){var d=I(a),f=d?d.parentWindow||d.defaultVie", - L"w:window;b=b||{};var e=b.x||0,h=b.y||0,i=b.button||Ea,m=b.bubble||g,k=n", - L";if(ga(Fa,c)>=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 char* const FIND_ELEMENTS = + "function(){var h=this;\nfunction i(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function j(a){return typeof a==\"string\"}function " + "k(a){return i(a)==\"function\"}function aa(a){a=i(a);return a==\"object\"" + "||a==\"array\"||a==\"function\"}function m(a,b){function c(){}c.prototype" + "=b.prototype;a.l=b.prototype;a.prototype=new c};function n(a){this.stack=" + "Error().stack||\"\";if(a)this.message=String(a)}m(n,Error);n.prototype.na" + "me=\"CustomError\";function ba(a){for(var b=1;b<arguments.length;b++){var" + " c=String(arguments[b]).replace(/\\$/g,\"$$$$\");a=a.replace(/\\%s/,c)}re" + "turn a}function o(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}" + "function p(a,b){if(a<b)return-1;else if(a>b)return 1;return 0}var ca={};f" + "unction da(a){return ca[a]||(ca[a]=String(a).replace(/\\-([a-z])/g,functi" + "on(b,c){return c.toUpperCase()}))};function q(a,b){b.unshift(a);n.call(th" + "is,ba.apply(null,b));b.shift();this.m=a}m(q,n);q.prototype.name=\"Asserti" + "onError\";function r(a,b){if(!a){var c=Array.prototype.slice.call(argumen" + "ts,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=c}throw new q(\"\"+d" + ",f||[]);}return a};var s=Array.prototype,t=s.indexOf?function(a,b,c){r(a." + "length!=null);return s.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c" + "<0?Math.max(0,a.length+c):c;if(j(a)){if(!j(b)||b.length!=1)return-1;retur" + "n a.indexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]===b)return c;retu" + "rn-1},ea=s.forEach?function(a,b,c){r(a.length!=null);s.forEach.call(a,b,c" + ")}:function(a,b,c){var d=a.length,f=j(a)?a.split(\"\"):a;for(var e=0;e<d;" + "e++)e in f&&b.call(c,f[e],e,a)},u=s.filter?function(a,b,c){r(a.length!=nu" + "ll);return s.filter.call(a,\nb,c)}:function(a,b,c){var d=a.length,f=[],e=" + "0,g=j(a)?a.split(\"\"):a;for(var l=0;l<d;l++)if(l in g){var J=g[l];if(b.c" + "all(c,J,l,a))f[e++]=J}return f},fa=s.map?function(a,b,c){r(a.length!=null" + ");return s.map.call(a,b,c)}:function(a,b,c){var d=a.length,f=Array(d),e=j" + "(a)?a.split(\"\"):a;for(var g=0;g<d;g++)if(g in e)f[g]=b.call(c,e[g],g,a)" + ";return f},ga=s.some?function(a,b,c){r(a.length!=null);return s.some.call" + "(a,b,c)}:function(a,b,c){var d=a.length,f=j(a)?a.split(\"\"):a;for(var e=" + "0;e<d;e++)if(e in f&&b.call(c,\nf[e],e,a))return true;return false};funct" + "ion v(a,b,c){a:{var d=a.length,f=j(a)?a.split(\"\"):a;for(var e=0;e<d;e++" + ")if(e in f&&b.call(c,f[e],e,a)){b=e;break a}b=-1}return b<0?null:j(a)?a.c" + "harAt(b):a[b]};var w,x,y,z;function ha(){return h.navigator?h.navigator.u" + "serAgent:null}z=y=x=w=false;var A;if(A=ha()){var ia=h.navigator;w=A.index" + "Of(\"Opera\")==0;x=!w&&A.indexOf(\"MSIE\")!=-1;y=!w&&A.indexOf(\"WebKit\"" + ")!=-1;z=!w&&!y&&ia.product==\"Gecko\"}var ja=w,D=x,ka=z,E=y,F;\na:{var G=" + "\"\",H;if(ja&&h.opera){var I=h.opera.version;G=typeof I==\"function\"?I()" + ":I}else{if(ka)H=/rv\\:([^\\);]+)(\\)|;)/;else if(D)H=/MSIE\\s+([^\\);]+)(" + "\\)|;)/;else if(E)H=/WebKit\\/(\\S+)/;if(H){var la=H.exec(ha());G=la?la[1" + "]:\"\"}}if(D){var ma,na=h.document;ma=na?na.documentMode:undefined;if(ma>" + "parseFloat(G)){F=String(ma);break a}}F=G}var oa={};\nfunction K(a){var b;" + "if(!(b=oa[a])){b=0;var c=o(String(F)).split(\".\"),d=o(String(a)).split(" + "\".\"),f=Math.max(c.length,d.length);for(var e=0;b==0&&e<f;e++){var g=c[e" + "]||\"\",l=d[e]||\"\",J=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),La=RegExp(\"(" + "\\\\d*)(\\\\D*)\",\"g\");do{var B=J.exec(g)||[\"\",\"\",\"\"],C=La.exec(l" + ")||[\"\",\"\",\"\"];if(B[0].length==0&&C[0].length==0)break;b=p(B[1].leng" + "th==0?0:parseInt(B[1],10),C[1].length==0?0:parseInt(C[1],10))||p(B[2].len" + "gth==0,C[2].length==0)||p(B[2],C[2])}while(b==0)}b=oa[a]=b>=0}return b};v" + "ar pa;!D||K(\"9\");D&&K(\"9\");function L(a,b){this.width=a;this.height=b" + "}L.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.heig" + "ht+\")\"};function M(a){return a?new qa(N(a)):pa||(pa=new qa)}function ra" + "(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a" + ".compareDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDoc" + "umentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function N(" + "a){return a.nodeType==9?a:a.ownerDocument||a.document}function sa(a,b){va" + "r c=[];return ta(a,b,c,true)?c[0]:undefined}\nfunction ta(a,b,c,d){if(a!=" + "null){var f=0;for(var e;e=a.childNodes[f];f++){if(b(e)){c.push(e);if(d)re" + "turn true}if(ta(e,b,c,d))return true}}return false}function ua(a,b,c,d){i" + "f(!c)a=a.parentNode;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a" + ";a=a.parentNode;f++}return null}function qa(a){this.g=a||h.document||docu" + "ment}\nfunction O(a,b,c,d){a=d||a.g;b=b&&b!=\"*\"?b.toUpperCase():\"\";if" + "(a.querySelectorAll&&a.querySelector&&(!E||document.compatMode==\"CSS1Com" + "pat\"||K(\"528\"))&&(b||c))c=a.querySelectorAll(b+(c?\".\"+c:\"\"));else " + "if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};" + "var f=0,e=0;for(var g;g=a[e];e++)if(b==g.nodeName)d[f++]=g;d.length=f;c=d" + "}else c=a}else{a=a.getElementsByTagName(b||\"*\");if(c){d={};f=0;for(e=0;" + "g=a[e];e++){b=g.className;if(typeof b.split==\"function\"&&t(b.split(/\\s" + "+/),c)>=0)d[f++]=\ng}d.length=f;c=d}else c=a}return c}qa.prototype.contai" + "ns=ra;var va={};va.d=function(a,b){if(!a)throw Error(\"No class name spec" + "ified\");a=o(a);if(a.split(/\\s+/).length>1)throw Error(\"Compound class " + "names not permitted\");var c=O(M(b),\"*\",a,b);return c.length?c[0]:null}" + ";va.b=function(a,b){if(!a)throw Error(\"No class name specified\");a=o(a)" + ";if(a.split(/\\s+/).length>1)throw Error(\"Compound class names not permi" + "tted\");return O(M(b),\"*\",a,b)};var wa={};wa.d=function(a,b){if(!k(b.qu" + "erySelector)&&D&&K(8)&&!aa(b.querySelector))throw Error(\"CSS selection i" + "s not supported\");if(!a)throw Error(\"No selector specified\");if(a.spli" + "t(/,/).length>1)throw Error(\"Compound selectors not permitted\");a=o(a);" + "var c=b.querySelector(a);return c&&c.nodeType==1?c:null};\nwa.b=function(" + "a,b){if(!k(b.querySelectorAll)&&D&&K(8)&&!aa(b.querySelector))throw Error" + "(\"CSS selection is not supported\");if(!a)throw Error(\"No selector spec" + "ified\");if(a.split(/,/).length>1)throw Error(\"Compound selectors not pe" + "rmitted\");a=o(a);return b.querySelectorAll(a)};function xa(a,b){if(typeo" + "f a.selectNodes!=\"undefined\"){var c=N(a);typeof c.setProperty!=\"undefi" + "ned\"&&c.setProperty(\"SelectionLanguage\",\"XPath\");return a.selectNode" + "s(b)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){c=N(a" + ");var d=c.createNSResolver(c.documentElement);c=c.evaluate(b,a,d,XPathRes" + "ult.ORDERED_NODE_SNAPSHOT_TYPE,null);d=[];var f=c.snapshotLength;for(var " + "e=0;e<f;e++)d.push(c.snapshotItem(e));return d}else return[]};var P={};P." + "d=function(a,b){try{var c;if(typeof b.selectSingleNode!=\"undefined\"){va" + "r d=N(b);typeof d.setProperty!=\"undefined\"&&d.setProperty(\"SelectionLa" + "nguage\",\"XPath\");c=b.selectSingleNode(a)}else if(document.implementati" + "on.hasFeature(\"XPath\",\"3.0\")){d=N(b);var f=d.createNSResolver(d.docum" + "entElement);c=d.evaluate(a,b,f,XPathResult.FIRST_ORDERED_NODE_TYPE,null)." + "singleNodeValue}else c=null}catch(e){return null}if(!c)return null;if(c.n" + "odeType!=1)throw Error(\"Returned node is not an element: \"+a);return c}" + ";\nP.b=function(a,b){var c=xa(b,a);ea(c,function(d){if(d.nodeType!=1)thro" + "w Error(\"Returned nodes must be elements: \"+a);});return c};var ya=\"St" + "opIteration\"in h?h.StopIteration:Error(\"StopIteration\");function za(){" + "}za.prototype.next=function(){throw ya;};function Q(a,b,c,d,f){this.a=!!b" + ";a&&R(this,a,d);this.f=f!=undefined?f:this.e||0;if(this.a)this.f*=-1;this" + ".k=!c}m(Q,za);Q.prototype.c=null;Q.prototype.e=0;Q.prototype.j=false;func" + "tion R(a,b,c,d){if(a.c=b)a.e=typeof c==\"number\"?c:a.c.nodeType!=1?0:a.a" + "?-1:1;if(typeof d==\"number\")a.f=d}\nQ.prototype.next=function(){var a;i" + "f(this.j){if(!this.c||this.k&&this.f==0)throw ya;a=this.c;var b=this.a?-1" + ":1;if(this.e==b){var c=this.a?a.lastChild:a.firstChild;c?R(this,c):R(this" + ",a,b*-1)}else(c=this.a?a.previousSibling:a.nextSibling)?R(this,c):R(this," + "a.parentNode,b*-1);this.f+=this.e*(this.a?-1:1)}else this.j=true;a=this.c" + ";if(!this.c)throw ya;return a};\nQ.prototype.splice=function(){var a=this" + ".c,b=this.a?1:-1;if(this.e==b){this.e=b*-1;this.f+=this.e*(this.a?-1:1)}t" + "his.a=!this.a;Q.prototype.next.call(this);this.a=!this.a;b=arguments[0];v" + "ar c=i(b);b=c==\"array\"||c==\"object\"&&typeof b.length==\"number\"?argu" + "ments[0]:arguments;for(c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.i" + "nsertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild" + "(a)};function Aa(a,b,c,d){Q.call(this,a,b,c,null,d)}m(Aa,Q);Aa.prototype." + "next=function(){do Aa.l.next.call(this);while(this.e==-1);return this.c};" + "function Ba(a,b){var c=N(a);if(c.defaultView&&c.defaultView.getComputedSt" + "yle)if(c=c.defaultView.getComputedStyle(a,null))return c[b]||c.getPropert" + "yValue(b);return\"\"};function S(a,b){return!!a&&a.nodeType==1&&(!b||a.ta" + "gName.toUpperCase()==b)}\nvar Ca=[\"async\",\"autofocus\",\"autoplay\",\"" + "checked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchec" + "ked\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\"," + "\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"i" + "smap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresiz" + "e\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\"" + ",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking" + "\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction" + " T(a,b){if(8==a.nodeType)return null;b=b.toLowerCase();if(b==\"style\"){v" + "ar c=o(a.style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?" + "c:c+\";\"}c=a.getAttributeNode(b);if(D)if(!c&&K(8)&&t(Ca,b)>=0)c=a[b];if(" + "!c)return null;if(t(Ca,b)>=0)return D&&c.value==\"false\"?null:\"true\";r" + "eturn c.specified?c.value:null}function U(a){for(a=a.parentNode;a&&a.node" + "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:null" + "}function V(a,b){b=da(String(b));return Ba(a,b)||Da(a,b)}\nfunction Da(a," + "b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefi" + "ned?c:null;return(c=U(a))?Da(c,b):null}\nfunction Ea(a){if(k(a.getBBox))r" + "eturn a.getBBox();var b;var c=ja&&!K(\"10\");if((Ba(a,\"display\")||(a.cu" + "rrentStyle?a.currentStyle.display:null)||a.style.display)!=\"none\")b=c?n" + "ew L(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new L(a" + ".offsetWidth,a.offsetHeight);else{b=a.style;var d=b.display,f=b.visibilit" + "y,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=" + "\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clien" + "tHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.display=\nd;b.position=e;" + "b.visibility=f;b=new L(c,a)}return b}\nfunction W(a,b){function c(e){if(V" + "(e,\"display\")==\"none\")return false;e=U(e);return!e||c(e)}function d(e" + "){var g=Ea(e);if(g.height>0&&g.width>0)return true;if(e.innerText||e.text" + "Content)if(Fa.test(e.innerText||e.textContent))return true;return E&&ga(e" + ".childNodes,function(l){return S(l)&&d(l)})}if(!S(a))throw Error(\"Argume" + "nt to isShown must be of type Element\");if(S(a,\"TITLE\"))return(N(a)?N(" + "a).parentWindow||N(a).defaultView:window)==h;if(S(a,\"OPTION\")||S(a,\"OP" + "TGROUP\")){var f=ua(a,function(e){return S(e,\n\"SELECT\")});return!!f&&W" + "(f)}if(S(a,\"MAP\")){if(!a.name)return false;f=N(a);f=f.evaluate?P.d('/de" + "scendant::*[@usemap = \"#'+a.name+'\"]',f):sa(f,function(e){return S(e)&&" + "T(e,\"usemap\")==\"#\"+a.name});return!!f&&W(f)}if(S(a,\"AREA\")){f=ua(a," + "function(e){return S(e,\"MAP\")});return!!f&&W(f)}if(S(a,\"INPUT\")&&a.ty" + "pe.toLowerCase()==\"hidden\")return false;if(V(a,\"visibility\")==\"hidde" + "n\")return false;if(!c(a))return false;if(!b&&Ga(a)==0)return false;if(!d" + "(a))return false;return true}\nfunction Ha(a){var b=[\"\"];Ia(a,b);b=fa(b" + ",o);return o(b.join(\"\\n\"))}function Ia(a,b){if(S(a,\"BR\"))b.push(\"\"" + ");else{var c=Ja(a);c&&b[b.length-1]&&b.push(\"\");ea(a.childNodes,functio" + "n(d){if(d.nodeType==3){var f=U(d);if(f){W(f);if(!f||!W(f))W(f);else{d=d.n" + "odeValue.replace(Ka,\" \");f=b.pop();var e=f.length-1;if(e>=0&&f.indexOf(" + "\" \",e)==e&&d.lastIndexOf(\" \",0)==0)d=d.substr(1);b.push(f+d)}}}else S" + "(d)&&Ia(d,b)});c&&b[b.length-1]&&b.push(\"\")}}\nfunction Ja(a){a=V(a,\"d" + "isplay\");return a==\"block\"||a==\"inline-block\"}var Ma=\"[\\\\s\\\\xa0" + "\"+String.fromCharCode(160)+\"]+\",Ka=RegExp(Ma,\"g\"),Fa=RegExp(\"^\"+Ma" + "+\"$\");function Ga(a){if(D){if(V(a,\"position\")==\"relative\")return 1;" + "a=V(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match" + "(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(" + "a[1])/100:1}else return Na(a)}function Na(a){var b=1,c=V(a,\"opacity\");i" + "f(c)b=Number(c);if(a=U(a))b*=Na(a);return b};var Oa={};Oa.d=function(a,b)" + "{var c=M(b),d=j(a)?c.g.getElementById(a):a;if(!d)return null;if(T(d,\"id" + "\")==a&&ra(b,d))return d;c=O(c,\"*\");return v(c,function(f){return T(f," + "\"id\")==a&&ra(b,f)})};Oa.b=function(a,b){var c=O(M(b),\"*\",null,b);retu" + "rn u(c,function(d){return T(d,\"id\")==a})};var X={},Pa={};X.i=function(a" + ",b,c){b=O(M(b),\"A\",null,b);return v(b,function(d){d=Ha(d);return c&&d.i" + "ndexOf(a)!=-1||d==a})};X.h=function(a,b,c){b=O(M(b),\"A\",null,b);return " + "u(b,function(d){d=Ha(d);return c&&d.indexOf(a)!=-1||d==a})};X.d=function(" + "a,b){return X.i(a,b,false)};X.b=function(a,b){return X.h(a,b,false)};Pa.d" + "=function(a,b){return X.i(a,b,true)};Pa.b=function(a,b){return X.h(a,b,tr" + "ue)};var Qa={};Qa.d=function(a,b){var c=O(M(b),\"*\",null,b);return v(c,f" + "unction(d){return T(d,\"name\")==a})};Qa.b=function(a,b){var c=O(M(b),\"*" + "\",null,b);return u(c,function(d){return T(d,\"name\")==a})};var Ra={};Ra" + ".d=function(a,b){return O(M(b),a,null,b)[0]||null};Ra.b=function(a,b){ret" + "urn O(M(b),a,null,b)};var Sa={className:va,css:wa,id:Oa,linkText:X,name:Q" + "a,partialLinkText:Pa,tagName:Ra,xpath:P};function Ta(a,b){var c;a:{for(c " + "in a){c=c;break a}c=void 0}if(c){var d=Sa[c];if(d&&k(d.b))return d.b(a[c]" + ",b||N(h))}throw Error(\"Unsupported locator strategy: \"+c);}var Y=\"_\"." + "split(\".\"),Z=h;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);f" + "or(var $;Y.length&&($=Y.shift());)if(!Y.length&&Ta!==undefined)Z[$]=Ta;el" + "se Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,arguments);}"; -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<b.length;a++)if(a in b&&b[a]===c)return a;retu", - L"rn-1};var j,k,l,m;function n(){return f.navigator?f.navigator.userAgent", - L":e}m=l=k=j=false;var o;if(o=n()){var p=f.navigator;j=o.indexOf(\"Opera", - L"\")==0;k=!j&&o.indexOf(\"MSIE\")!=-1;l=!j&&o.indexOf(\"WebKit\")!=-1;m=", - L"!j&&!l&&p.product==\"Gecko\"}var q=k,r=m,s=l,t=\"\",u;if(j&&f.opera){va", - L"r v=f.opera.version;t=typeof v==\"function\"?v():v}else{if(r)u=/rv\\:([", - L"^\\);]+)(\\)|;)/;else if(q)u=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(s)u=/W", - L"ebKit\\/(\\S+)/;if(u){var w=u.exec(n());t=w?w[1]:\"\"}};function x(b,c,", - L"a,d){if(typeof d==\"number\")d=(c?Math.round(d):d)+\"px\";a.style[b]=d}", - L"g(x,\"height\",true);g(x,\"width\",true);var y=[\"checked\",\"disabled", - L"\",\"readonly\",\"selected\"];function z(b,c){if(8==b.nodeType)return e", - L";var a=c.toLowerCase();if(\"style\"==a)return\"\";var d=b.getAttributeN", - L"ode(c);if(!d)return e;if(i(y,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 char* const GET_ATTRIBUTE = + "function(){var f=this;\nfunction g(a){var c=typeof a;if(c==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn c;var b=Object.prototype.toString.call(a);if(b==\"[object Window]\")re" + "turn\"object\";if(b==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(b==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(c==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return c}function h(a,c){function b(){}b.prototype=c.prototy" + "pe;a.g=c.prototype;a.prototype=new b};function i(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}h(i,Error);function j(a){for(var c=" + "1;c<arguments.length;c++){var b=String(arguments[c]).replace(/\\$/g,\"$$$" + "$\");a=a.replace(/\\%s/,b)}return a}function l(a){return a.replace(/^[\\s" + "\\xa0]+|[\\s\\xa0]+$/g,\"\")}function o(a,c){if(a<c)return-1;else if(a>c)" + "return 1;return 0};function p(a,c){c.unshift(a);i.call(this,j.apply(null," + "c));c.shift();this.h=a}h(p,i);function q(a,c){if(!a){var b=Array.prototyp" + "e.slice.call(arguments,2),d=\"Assertion failed\";if(c){d+=\": \"+c;var e=" + "b}throw new p(\"\"+d,e||[]);}return a};var r=Array.prototype,s=r.indexOf?" + "function(a,c,b){q(a.length!=null);return r.indexOf.call(a,c,b)}:function(" + "a,c,b){b=b==null?0:b<0?Math.max(0,a.length+b):b;if(typeof a==\"string\"){" + "if(typeof c!=\"string\"||c.length!=1)return-1;return a.indexOf(c,b)}for(b" + "=b;b<a.length;b++)if(b in a&&a[b]===c)return b;return-1};var t,u,v,w;func" + "tion x(){return f.navigator?f.navigator.userAgent:null}w=v=u=t=false;var " + "y;if(y=x()){var z=f.navigator;t=y.indexOf(\"Opera\")==0;u=!t&&y.indexOf(" + "\"MSIE\")!=-1;v=!t&&y.indexOf(\"WebKit\")!=-1;w=!t&&!v&&z.product==\"Geck" + "o\"}var A=u,B=w,C=v,D;\na:{var E=\"\",F;if(t&&f.opera){var G=f.opera.vers" + "ion;E=typeof G==\"function\"?G():G}else{if(B)F=/rv\\:([^\\);]+)(\\)|;)/;e" + "lse if(A)F=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(C)F=/WebKit\\/(\\S+)/;if(F" + "){var H=F.exec(x());E=H?H[1]:\"\"}}if(A){var I,J=f.document;I=J?J.documen" + "tMode:undefined;if(I>parseFloat(E)){D=String(I);break a}}D=E}var K={};\nf" + "unction L(a){var c;if(!(c=K[a])){c=0;var b=l(String(D)).split(\".\"),d=l(" + "String(a)).split(\".\"),e=Math.max(b.length,d.length);for(var k=0;c==0&&k" + "<e;k++){var O=b[k]||\"\",Y=d[k]||\"\",Z=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"" + "),$=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var m=Z.exec(O)||[\"\",\"\",\"" + "\"],n=$.exec(Y)||[\"\",\"\",\"\"];if(m[0].length==0&&n[0].length==0)break" + ";c=o(m[1].length==0?0:parseInt(m[1],10),n[1].length==0?0:parseInt(n[1],10" + "))||o(m[2].length==0,n[2].length==0)||o(m[2],n[2])}while(c==0)}c=K[a]=c>=" + "0}return c};!A||L(\"9\");A&&L(\"9\");var M=\"StopIteration\"in f?f.StopIt" + "eration:Error(\"StopIteration\");function N(){}N.prototype.next=function(" + "){throw M;};function P(a,c,b,d,e){this.a=!!c;a&&Q(this,a,d);this.d=e!=und" + "efined?e:this.c||0;if(this.a)this.d*=-1;this.f=!b}h(P,N);P.prototype.b=nu" + "ll;P.prototype.c=0;P.prototype.e=false;function Q(a,c,b,d){if(a.b=c)a.c=t" + "ypeof b==\"number\"?b:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"number\")" + "a.d=d}\nP.prototype.next=function(){var a;if(this.e){if(!this.b||this.f&&" + "this.d==0)throw M;a=this.b;var c=this.a?-1:1;if(this.c==c){var b=this.a?a" + ".lastChild:a.firstChild;b?Q(this,b):Q(this,a,c*-1)}else(b=this.a?a.previo" + "usSibling:a.nextSibling)?Q(this,b):Q(this,a.parentNode,c*-1);this.d+=this" + ".c*(this.a?-1:1)}else this.e=true;a=this.b;if(!this.b)throw M;return a};" + "\nP.prototype.splice=function(){var a=this.b,c=this.a?1:-1;if(this.c==c){" + "this.c=c*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;P.prototype.next." + "call(this);this.a=!this.a;c=arguments[0];var b=g(c);c=b==\"array\"||b==\"" + "object\"&&typeof c.length==\"number\"?arguments[0]:arguments;for(b=c.leng" + "th-1;b>=0;b--)a.parentNode&&a.parentNode.insertBefore(c[b],a.nextSibling)" + ";a&&a.parentNode&&a.parentNode.removeChild(a)};function R(a,c,b,d){P.call" + "(this,a,c,b,null,d)}h(R,P);R.prototype.next=function(){do R.g.next.call(t" + "his);while(this.c==-1);return this.b};var aa={\"class\":\"className\",rea" + "donly:\"readOnly\"},S=[\"async\",\"autofocus\",\"autoplay\",\"checked\"," + "\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"de" + "faultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnova" + "lidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"i" + "temscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"nosh" + "ade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonl" + "y\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selec" + "ted\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction ba(a,c){i" + "f(8==a.nodeType)return null;c=c.toLowerCase();if(c==\"style\"){var b=l(a." + "style.cssText).toLowerCase();return b.charAt(b.length-1)==\";\"?b:b+\";\"" + "}b=a.getAttributeNode(c);if(A)if(!b&&L(8)&&s(S,c)>=0)b=a[c];if(!b)return " + "null;if(s(S,c)>=0)return A&&b.value==\"false\"?null:\"true\";return b.spe" + "cified?b.value:null}String.fromCharCode(160);\nvar ca=[\"checkbox\",\"rad" + "io\"];function T(a){var c=a.tagName.toUpperCase();if(c==\"OPTION\")return" + " true;if(c==\"INPUT\")if(s(ca,a.type)>=0)return true;return false};functi" + "on U(a,c){var b=null;b=c.toLowerCase();if(\"style\"==c.toLowerCase()){if(" + "(b=a.style)&&typeof b!=\"string\")b=b.cssText;return b}if(\"selected\"==b" + "||\"checked\"==b&&T(a)){var d;if(T(a)){d=\"selected\";b=a.type&&a.type.to" + "LowerCase();if(\"checkbox\"==b||\"radio\"==b)d=\"checked\";d=!!a[d]}else " + "d=false;return d?\"true\":null}var e=a.tagName&&\"A\"==a.tagName.toUpperC" + "ase(),k=a.tagName&&\"IMG\"==a.tagName.toUpperCase();try{d=a[aa[c]||c]}cat" + "ch(O){}if(!(e=b==\"href\"&&e)){if(!(b=b==\"src\"&&k)){if(!(b=d==null)){b=" + "g(d);b=b==\n\"object\"||b==\"array\"||b==\"function\"}b=b}e=b}b=e?ba(a,c)" + ":d;return b!=null?b.toString():null}var V=\"_\".split(\".\"),W=f;!(V[0]in" + " W)&&W.execScript&&W.execScript(\"var \"+V[0]);for(var X;V.length&&(X=V.s" + "hift());)if(!V.length&&U!==undefined)W[X]=U;else W=W[X]?W[X]:W[X]={};; re" + "turn _.apply(null,arguments);}"; -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 char* const GET_EFFECTIVE_STYLE = + "function(){var e=this;function f(b,c){function a(){}a.prototype=c.prototy" + "pe;b.g=c.prototype;b.prototype=new a};function g(b){this.stack=Error().st" + "ack||\"\";if(b)this.message=String(b)}f(g,Error);function k(b){for(var c=" + "1;c<arguments.length;c++){var a=String(arguments[c]).replace(/\\$/g,\"$$$" + "$\");b=b.replace(/\\%s/,a)}return b}\nfunction l(b,c){var a=0,d=String(b)" + ".replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),h=String(c).repl" + "ace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),K=Math.max(d.length,h" + ".length);for(var p=0;a==0&&p<K;p++){var L=d[p]||\"\",M=h[p]||\"\",N=RegEx" + "p(\"(\\\\d*)(\\\\D*)\",\"g\"),O=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var" + " i=N.exec(L)||[\"\",\"\",\"\"],j=O.exec(M)||[\"\",\"\",\"\"];if(i[0].leng" + "th==0&&j[0].length==0)break;a=m(i[1].length==0?0:parseInt(i[1],10),j[1].l" + "ength==0?0:parseInt(j[1],10))||m(i[2].length==0,j[2].length==0)||m(i[2],j" + "[2])}while(a==\n0)}return a}function m(b,c){if(b<c)return-1;else if(b>c)r" + "eturn 1;return 0}var n={};function o(b){return n[b]||(n[b]=String(b).repl" + "ace(/\\-([a-z])/g,function(c,a){return a.toUpperCase()}))};f(function(b,c" + "){c.unshift(b);g.call(this,k.apply(null,c));c.shift();this.f=b},g);var q," + "r,s,t;function u(){return e.navigator?e.navigator.userAgent:null}t=s=r=q=" + "false;var v;if(v=u()){var w=e.navigator;q=v.indexOf(\"Opera\")==0;r=!q&&v" + ".indexOf(\"MSIE\")!=-1;s=!q&&v.indexOf(\"WebKit\")!=-1;t=!q&&!s&&w.produc" + "t==\"Gecko\"}var x=r,y=t,z=s,A;\na:{var B=\"\",C;if(q&&e.opera){var D=e.o" + "pera.version;B=typeof D==\"function\"?D():D}else{if(y)C=/rv\\:([^\\);]+)(" + "\\)|;)/;else if(x)C=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(z)C=/WebKit\\/(" + "\\S+)/;if(C){var E=C.exec(u());B=E?E[1]:\"\"}}if(x){var F,G=e.document;F=" + "G?G.documentMode:undefined;if(F>parseFloat(B)){A=String(F);break a}}A=B}v" + "ar H={};!x||H[\"9\"]||(H[\"9\"]=l(A,\"9\")>=0);x&&(H[\"9\"]||(H[\"9\"]=l(" + "A,\"9\")>=0));function I(b,c,a,d,h){this.c=!!c;if(b){if(this.b=b)this.d=t" + "ypeof d==\"number\"?d:this.b.nodeType!=1?0:this.c?-1:1;if(typeof void 0==" + "\"number\")this.a=void 0}this.a=h!=undefined?h:this.d||0;if(this.c)this.a" + "*=-1;this.e=!a}f(I,function(){});I.prototype.b=null;I.prototype.d=0;f(fun" + "ction(b,c,a,d){I.call(this,b,c,a,null,d)},I);function J(b,c){var a=(b.cur" + "rentStyle||b.style)[c];if(a!=\"inherit\")return a!==undefined?a:null;for(" + "a=b.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.paren" + "tNode;return(a=a&&a.nodeType==1&&1?a:null)?J(a,c):null}String.fromCharCod" + "e(160);function P(b,c){c=o(String(c));var a;a:{a=c;var d=b.nodeType==9?b:" + "b.ownerDocument||b.document;if(d.defaultView&&d.defaultView.getComputedSt" + "yle)if(d=d.defaultView.getComputedStyle(b,null)){a=d[a]||d.getPropertyVal" + "ue(a);break a}a=\"\"}return a||J(b,c)}var Q=\"_\".split(\".\"),R=e;!(Q[0]" + "in R)&&R.execScript&&R.execScript(\"var \"+Q[0]);for(var S;Q.length&&(S=Q" + ".shift());)if(!Q.length&&P!==undefined)R[S]=P;else R=R[S]?R[S]:R[S]={};; " + "return _.apply(null,arguments);}"; -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 char* const GET_LOCATION = + "function(){var g=this;function h(a,b){function c(){}c.prototype=b.prototy" + "pe;a.c=b.prototype;a.prototype=new c};function i(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}h(i,Error);function j(a){for(var b=" + "1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\\$/g,\"$$$" + "$\");a=a.replace(/\\%s/,c)}return a}\nfunction k(a,b){var c=0,f=String(a)" + ".replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),q=String(b).repl" + "ace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),d=Math.max(f.length,q" + ".length);for(var e=0;c==0&&e<d;e++){var Q=f[e]||\"\",R=q[e]||\"\",S=RegEx" + "p(\"(\\\\d*)(\\\\D*)\",\"g\"),T=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var" + " l=S.exec(Q)||[\"\",\"\",\"\"],m=T.exec(R)||[\"\",\"\",\"\"];if(l[0].leng" + "th==0&&m[0].length==0)break;c=n(l[1].length==0?0:parseInt(l[1],10),m[1].l" + "ength==0?0:parseInt(m[1],10))||n(l[2].length==0,m[2].length==0)||n(l[2],m" + "[2])}while(c==\n0)}return c}function n(a,b){if(a<b)return-1;else if(a>b)r" + "eturn 1;return 0};h(function(a,b){b.unshift(a);i.call(this,j.apply(null,b" + "));b.shift();this.b=a},i);var o,p,r,s;function t(){return g.navigator?g.n" + "avigator.userAgent:null}s=r=p=o=false;var u;if(u=t()){var v=g.navigator;o" + "=u.indexOf(\"Opera\")==0;p=!o&&u.indexOf(\"MSIE\")!=-1;r=!o&&u.indexOf(\"" + "WebKit\")!=-1;s=!o&&!r&&v.product==\"Gecko\"}var w=o,x=p,y=s,z=r,A;\na:{v" + "ar B=\"\",C;if(w&&g.opera){var D=g.opera.version;B=typeof D==\"function\"" + "?D():D}else{if(y)C=/rv\\:([^\\);]+)(\\)|;)/;else if(x)C=/MSIE\\s+([^\\);]" + "+)(\\)|;)/;else if(z)C=/WebKit\\/(\\S+)/;if(C){var E=C.exec(t());B=E?E[1]" + ":\"\"}}if(x){var F,G=g.document;F=G?G.documentMode:undefined;if(F>parseFl" + "oat(B)){A=String(F);break a}}A=B}var H={};var I;!x||H[\"9\"]||(H[\"9\"]=k" + "(A,\"9\")>=0);x&&(H[\"9\"]||(H[\"9\"]=k(A,\"9\")>=0));function J(a,b){thi" + "s.x=a!==undefined?a:0;this.y=b!==undefined?b:0}J.prototype.toString=funct" + "ion(){return\"(\"+this.x+\", \"+this.y+\")\"};function K(a){return a.node" + "Type==9?a:a.ownerDocument||a.document}function L(a){this.a=a||g.document|" + "|document};function M(a,b){var c;a:{c=K(a);if(c.defaultView&&c.defaultVie" + "w.getComputedStyle)if(c=c.defaultView.getComputedStyle(a,null)){c=c[b]||c" + ".getPropertyValue(b);break a}c=\"\"}return c||(a.currentStyle?a.currentSt" + "yle[b]:null)||a.style[b]}\nfunction N(a){if(x)return a.offsetParent;var b" + "=K(a),c=M(a,\"position\"),f=c==\"fixed\"||c==\"absolute\";for(a=a.parentN" + "ode;a&&a!=b;a=a.parentNode){c=M(a,\"position\");f=f&&c==\"static\"&&a!=b." + "documentElement&&a!=b.body;if(!f&&(a.scrollWidth>a.clientWidth||a.scrollH" + "eight>a.clientHeight||c==\"fixed\"||c==\"absolute\"))return a}return null" + "};function O(a){var b,c=K(a),f=M(a,\"position\"),q=y&&c.getBoxObjectFor&&" + "!a.getBoundingClientRect&&f==\"absolute\"&&(b=c.getBoxObjectFor(a))&&(b.s" + "creenX<0||b.screenY<0),d=new J(0,0),e;b=c?c.nodeType==9?c:K(c):document;i" + "f(e=x)e=(b?new L(K(b)):I||(I=new L)).a.compatMode!=\"CSS1Compat\";e=e?b.b" + "ody:b.documentElement;if(a==e)return d;if(a.getBoundingClientRect){b=a.ge" + "tBoundingClientRect();if(x){a=a.ownerDocument;b.left-=a.documentElement.c" + "lientLeft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.body.cli" + "entTop}b=\nb;c=(c?new L(K(c)):I||(I=new L)).a;c=!z&&c.compatMode==\"CSS1C" + "ompat\"?c.documentElement:c.body;c=new J(c.scrollLeft,c.scrollTop);d.x=b." + "left+c.x;d.y=b.top+c.y}else if(c.getBoxObjectFor&&!q){b=c.getBoxObjectFor" + "(a);c=c.getBoxObjectFor(e);d.x=b.screenX-c.screenX;d.y=b.screenY-c.screen" + "Y}else{b=a;do{d.x+=b.offsetLeft;d.y+=b.offsetTop;if(b!=a){d.x+=b.clientLe" + "ft||0;d.y+=b.clientTop||0}if(z&&M(b,\"position\")==\"fixed\"){d.x+=c.body" + ".scrollLeft;d.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);i" + "f(w||z&&\nf==\"absolute\")d.y-=c.body.offsetTop;for(b=a;(b=N(b))&&b!=c.bo" + "dy&&b!=e;){d.x-=b.scrollLeft;if(!w||b.tagName!=\"TR\")d.y-=b.scrollTop}}r" + "eturn d}var P=\"_\".split(\".\"),U=g;!(P[0]in U)&&U.execScript&&U.execScr" + "ipt(\"var \"+P[0]);for(var V;P.length&&(V=P.shift());)if(!P.length&&O!==u" + "ndefined)U[V]=O;else U=U[V]?U[V]:U[V]={};; return _.apply(null,arguments)" + ";}"; -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 char* const GET_SIZE = + "function(){var d=this;function e(a,b){function c(){}c.prototype=b.prototy" + "pe;a.b=b.prototype;a.prototype=new c};function f(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}e(f,Error);function h(a){for(var b=" + "1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\\$/g,\"$$$" + "$\");a=a.replace(/\\%s/,c)}return a}function k(a,b){if(a<b)return-1;else " + "if(a>b)return 1;return 0};e(function(a,b){b.unshift(a);f.call(this,h.appl" + "y(null,b));b.shift();this.a=a},f);var l,m,n,o;function p(){return d.navig" + "ator?d.navigator.userAgent:null}o=n=m=l=false;var r;if(r=p()){var s=d.nav" + "igator;l=r.indexOf(\"Opera\")==0;m=!l&&r.indexOf(\"MSIE\")!=-1;n=!l&&r.in" + "dexOf(\"WebKit\")!=-1;o=!l&&!n&&s.product==\"Gecko\"}var t=l,u=m,v=o,w=n," + "x;\na:{var y=\"\",z;if(t&&d.opera){var B=d.opera.version;y=typeof B==\"fu" + "nction\"?B():B}else{if(v)z=/rv\\:([^\\);]+)(\\)|;)/;else if(u)z=/MSIE\\s+" + "([^\\);]+)(\\)|;)/;else if(w)z=/WebKit\\/(\\S+)/;if(z){var C=z.exec(p());" + "y=C?C[1]:\"\"}}if(u){var D,E=d.document;D=E?E.documentMode:undefined;if(D" + ">parseFloat(y)){x=String(D);break a}}x=y}var F={};\nfunction G(a){var b;i" + "f(!(b=F[a])){b=0;var c=String(x).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"" + "\").split(\".\"),q=String(a).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").s" + "plit(\".\"),A=Math.max(c.length,q.length);for(var g=0;b==0&&g<A;g++){var " + "M=c[g]||\"\",N=q[g]||\"\",O=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),P=RegExp(" + "\"(\\\\d*)(\\\\D*)\",\"g\");do{var i=O.exec(M)||[\"\",\"\",\"\"],j=P.exec" + "(N)||[\"\",\"\",\"\"];if(i[0].length==0&&j[0].length==0)break;b=k(i[1].le" + "ngth==0?0:parseInt(i[1],10),j[1].length==0?0:parseInt(j[1],10))||k(i[2].l" + "ength==0,j[2].length==\n0)||k(i[2],j[2])}while(b==0)}b=F[a]=b>=0}return b" + "};!u||G(\"9\");u&&G(\"9\");function H(a,b){this.width=a;this.height=b}H.p" + "rototype.toString=function(){return\"(\"+this.width+\" x \"+this.height+" + "\")\"};function I(a){var b=t&&!G(\"10\"),c;a:{c=a.nodeType==9?a:a.ownerDo" + "cument||a.document;if(c.defaultView&&c.defaultView.getComputedStyle)if(c=" + "c.defaultView.getComputedStyle(a,null)){c=c.display||c.getPropertyValue(" + "\"display\");break a}c=\"\"}if((c||(a.currentStyle?a.currentStyle.display" + ":null)||a.style.display)!=\"none\")return b?new H(a.offsetWidth||a.client" + "Width,a.offsetHeight||a.clientHeight):new H(a.offsetWidth,a.offsetHeight)" + ";c=a.style;var q=c.display,A=c.visibility,g=c.position;c.visibility=\"hid" + "den\";c.position=\n\"absolute\";c.display=\"inline\";if(b){b=a.offsetWidt" + "h||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{b=a.offsetWidth;a=" + "a.offsetHeight}c.display=q;c.position=g;c.visibility=A;return new H(b,a)}" + "var J=\"_\".split(\".\"),K=d;!(J[0]in K)&&K.execScript&&K.execScript(\"va" + "r \"+J[0]);for(var L;J.length&&(L=J.shift());)if(!J.length&&I!==undefined" + ")K[L]=I;else K=K[L]?K[L]:K[L]={};; return _.apply(null,arguments);}"; -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(a<c)return-1;else if(a>c)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<v;h++){var I=b[h]||\"\",J=d[h]||\"\",K=RegExp(\"(\\\\d*)(\\\\D*)", - L"\",\"g\"),L=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var j=K.exec(I)||[\"", - L"\",\"\",\"\"],k=L.exec(J)||[\"\",\"\",\"\"];if(j[0].length==0&&k[0].len", - L"gth==0)break;c=g(j[1].length==0?0:parseInt(j[1],10),k[1].length==0?0:pa", - L"rseInt(k[1],10))||g(j[2].length==0,\nk[2].length==0)||g(j[2],k[2])}whil", - L"e(c==0)}c=C[\"10\"]=c>=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 char* const GET_TEXT = + "function(){var g=this;\nfunction h(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function j(a){return typeof a==\"string\"}function " + "k(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.prototype=" + "new c};function l(a){this.stack=Error().stack||\"\";if(a)this.message=Str" + "ing(a)}k(l,Error);l.prototype.name=\"CustomError\";function aa(a){for(var" + " b=1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\\$/g,\"" + "$$$$\");a=a.replace(/\\%s/,c)}return a}function m(a){return a.replace(/^[" + "\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}function n(a,b){if(a<b)return-1;else if(a" + ">b)return 1;return 0}var o={};function ba(a){return o[a]||(o[a]=String(a)" + ".replace(/\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};function " + "p(a,b){b.unshift(a);l.call(this,aa.apply(null,b));b.shift();this.h=a}k(p," + "l);p.prototype.name=\"AssertionError\";function q(a,b){if(!a){var c=Array" + ".prototype.slice.call(arguments,2),e=\"Assertion failed\";if(b){e+=\": \"" + "+b;var f=c}throw new p(\"\"+e,f||[]);}return a};var r=Array.prototype,s=r" + ".indexOf?function(a,b,c){q(a.length!=null);return r.indexOf.call(a,b,c)}:" + "function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(j(a)){if(!j(b" + ")||b.length!=1)return-1;return a.indexOf(b,c)}for(c=c;c<a.length;c++)if(c" + " in a&&a[c]===b)return c;return-1},ca=r.forEach?function(a,b,c){q(a.lengt" + "h!=null);r.forEach.call(a,b,c)}:function(a,b,c){var e=a.length,f=j(a)?a.s" + "plit(\"\"):a;for(var d=0;d<e;d++)d in f&&b.call(c,f[d],d,a)},da=r.map?fun" + "ction(a,b,c){q(a.length!=null);return r.map.call(a,\nb,c)}:function(a,b,c" + "){var e=a.length,f=Array(e),d=j(a)?a.split(\"\"):a;for(var i=0;i<e;i++)if" + "(i in d)f[i]=b.call(c,d[i],i,a);return f},ea=r.some?function(a,b,c){q(a.l" + "ength!=null);return r.some.call(a,b,c)}:function(a,b,c){var e=a.length,f=" + "j(a)?a.split(\"\"):a;for(var d=0;d<e;d++)if(d in f&&b.call(c,f[d],d,a))re" + "turn true;return false};var t,w,x,y;function z(){return g.navigator?g.nav" + "igator.userAgent:null}y=x=w=t=false;var A;if(A=z()){var fa=g.navigator;t=" + "A.indexOf(\"Opera\")==0;w=!t&&A.indexOf(\"MSIE\")!=-1;x=!t&&A.indexOf(\"W" + "ebKit\")!=-1;y=!t&&!x&&fa.product==\"Gecko\"}var B=t,C=w,ga=y,D=x,E;\na:{" + "var F=\"\",H;if(B&&g.opera){var I=g.opera.version;F=typeof I==\"function" + "\"?I():I}else{if(ga)H=/rv\\:([^\\);]+)(\\)|;)/;else if(C)H=/MSIE\\s+([^" + "\\);]+)(\\)|;)/;else if(D)H=/WebKit\\/(\\S+)/;if(H){var J=H.exec(z());F=J" + "?J[1]:\"\"}}if(C){var K,L=g.document;K=L?L.documentMode:undefined;if(K>pa" + "rseFloat(F)){E=String(K);break a}}E=F}var M={};\nfunction N(a){var b;if(!" + "(b=M[a])){b=0;var c=m(String(E)).split(\".\"),e=m(String(a)).split(\".\")" + ",f=Math.max(c.length,e.length);for(var d=0;b==0&&d<f;d++){var i=c[d]||\"" + "\",G=e[d]||\"\",ra=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),sa=RegExp(\"(\\\\d*" + ")(\\\\D*)\",\"g\");do{var u=ra.exec(i)||[\"\",\"\",\"\"],v=sa.exec(G)||[" + "\"\",\"\",\"\"];if(u[0].length==0&&v[0].length==0)break;b=n(u[1].length==" + "0?0:parseInt(u[1],10),v[1].length==0?0:parseInt(v[1],10))||n(u[2].length=" + "=0,v[2].length==0)||n(u[2],v[2])}while(b==0)}b=M[a]=b>=0}return b};!C||N(" + "\"9\");C&&N(\"9\");function O(a,b){this.width=a;this.height=b}O.prototype" + ".toString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};fu" + "nction P(a){return a.nodeType==9?a:a.ownerDocument||a.document}function h" + "a(a,b){var c=[];return ia(a,b,c,true)?c[0]:undefined}function ia(a,b,c,e)" + "{if(a!=null){var f=0;for(var d;d=a.childNodes[f];f++){if(b(d)){c.push(d);" + "if(e)return true}if(ia(d,b,c,e))return true}}return false}function ja(a,b" + ",c,e){if(!c)a=a.parentNode;c=e==null;for(var f=0;a&&(c||f<=e);){if(b(a))r" + "eturn a;a=a.parentNode;f++}return null};function ka(a,b){try{var c;if(typ" + "eof b.selectSingleNode!=\"undefined\"){var e=P(b);typeof e.setProperty!=" + "\"undefined\"&&e.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectS" + "ingleNode(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\"" + ")){e=P(b);var f=e.createNSResolver(e.documentElement);c=e.evaluate(a,b,f," + "XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}cat" + "ch(d){return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Return" + "ed node is not an element: \"+a);return c};var Q=\"StopIteration\"in g?g." + "StopIteration:Error(\"StopIteration\");function la(){}la.prototype.next=f" + "unction(){throw Q;};function R(a,b,c,e,f){this.a=!!b;a&&S(this,a,e);this." + "d=f!=undefined?f:this.c||0;if(this.a)this.d*=-1;this.f=!c}k(R,la);R.proto" + "type.b=null;R.prototype.c=0;R.prototype.e=false;function S(a,b,c,e){if(a." + "b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof e==\"" + "number\")a.d=e}\nR.prototype.next=function(){var a;if(this.e){if(!this.b|" + "|this.f&&this.d==0)throw Q;a=this.b;var b=this.a?-1:1;if(this.c==b){var c" + "=this.a?a.lastChild:a.firstChild;c?S(this,c):S(this,a,b*-1)}else(c=this.a" + "?a.previousSibling:a.nextSibling)?S(this,c):S(this,a.parentNode,b*-1);thi" + "s.d+=this.c*(this.a?-1:1)}else this.e=true;a=this.b;if(!this.b)throw Q;re" + "turn a};\nR.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(thi" + "s.c==b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;R.prototy" + "pe.next.call(this);this.a=!this.a;b=arguments[0];var c=h(b);b=c==\"array" + "\"||c==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;for" + "(c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nex" + "tSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function T(a,b,c," + "e){R.call(this,a,b,c,null,e)}k(T,R);T.prototype.next=function(){do T.g.ne" + "xt.call(this);while(this.c==-1);return this.b};function ma(a,b){var c=P(a" + ");if(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.get" + "ComputedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"\"};func" + "tion U(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\n" + "var na=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"co" + "mplete\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\"," + "\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidde" + "n\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loo" + "p\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalida" + "te\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\"" + ",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellche" + "ck\",\"truespeed\",\"willvalidate\"];\nfunction oa(a,b){if(8==a.nodeType)" + "return null;b=b.toLowerCase();if(b==\"style\"){var c=m(a.style.cssText).t" + "oLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttribut" + "eNode(b);if(C)if(!c&&N(8)&&s(na,b)>=0)c=a[b];if(!c)return null;if(s(na,b)" + ">=0)return C&&c.value==\"false\"?null:\"true\";return c.specified?c.value" + ":null}function V(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a" + ".nodeType!=11;)a=a.parentNode;return U(a)?a:null}function W(a,b){b=ba(Str" + "ing(b));return ma(a,b)||pa(a,b)}\nfunction pa(a,b){var c=(a.currentStyle|" + "|a.style)[b];if(c!=\"inherit\")return c!==undefined?c:null;return(c=V(a))" + "?pa(c,b):null}\nfunction qa(a){if(h(a.getBBox)==\"function\")return a.get" + "BBox();var b;var c=B&&!N(\"10\");if((ma(a,\"display\")||(a.currentStyle?a" + ".currentStyle.display:null)||a.style.display)!=\"none\")b=c?new O(a.offse" + "tWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new O(a.offsetWidth" + ",a.offsetHeight);else{b=a.style;var e=b.display,f=b.visibility,d=b.positi" + "on;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";i" + "f(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else" + "{c=a.offsetWidth;a=a.offsetHeight}b.display=\ne;b.position=d;b.visibility" + "=f;b=new O(c,a)}return b}\nfunction X(a,b){function c(d){if(W(d,\"display" + "\")==\"none\")return false;d=V(d);return!d||c(d)}function e(d){var i=qa(d" + ");if(i.height>0&&i.width>0)return true;if(d.innerText||d.textContent)if(t" + "a.test(d.innerText||d.textContent))return true;return D&&ea(d.childNodes," + "function(G){return U(G)&&e(G)})}if(!U(a))throw Error(\"Argument to isShow" + "n must be of type Element\");if(U(a,\"TITLE\"))return(P(a)?P(a).parentWin" + "dow||P(a).defaultView:window)==g;if(U(a,\"OPTION\")||U(a,\"OPTGROUP\")){v" + "ar f=ja(a,function(d){return U(d,\n\"SELECT\")});return!!f&&X(f)}if(U(a," + "\"MAP\")){if(!a.name)return false;f=P(a);f=f.evaluate?ka('/descendant::*[" + "@usemap = \"#'+a.name+'\"]',f):ha(f,function(d){return U(d)&&oa(d,\"usema" + "p\")==\"#\"+a.name});return!!f&&X(f)}if(U(a,\"AREA\")){f=ja(a,function(d)" + "{return U(d,\"MAP\")});return!!f&&X(f)}if(U(a,\"INPUT\")&&a.type.toLowerC" + "ase()==\"hidden\")return false;if(W(a,\"visibility\")==\"hidden\")return " + "false;if(!c(a))return false;if(!b&&ua(a)==0)return false;if(!e(a))return " + "false;return true}\nfunction va(a,b){if(U(a,\"BR\"))b.push(\"\");else{var" + " c=wa(a);c&&b[b.length-1]&&b.push(\"\");ca(a.childNodes,function(e){if(e." + "nodeType==3){var f=V(e);if(f){X(f);if(!f||!X(f))X(f);else{e=e.nodeValue.r" + "eplace(xa,\" \");f=b.pop();var d=f.length-1;if(d>=0&&f.indexOf(\" \",d)==" + "d&&e.lastIndexOf(\" \",0)==0)e=e.substr(1);b.push(f+e)}}}else U(e)&&va(e," + "b)});c&&b[b.length-1]&&b.push(\"\")}}function wa(a){a=W(a,\"display\");re" + "turn a==\"block\"||a==\"inline-block\"}\nvar ya=\"[\\\\s\\\\xa0\"+String." + "fromCharCode(160)+\"]+\",xa=RegExp(ya,\"g\"),ta=RegExp(\"^\"+ya+\"$\");fu" + "nction ua(a){if(C){if(W(a,\"position\")==\"relative\")return 1;a=W(a,\"fi" + "lter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:" + "DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:" + "1}else return za(a)}function za(a){var b=1,c=W(a,\"opacity\");if(c)b=Numb" + "er(c);if(a=V(a))b*=za(a);return b};\nfunction Aa(a){for(;a;){if(a.tagName" + "&&a.tagName.toLowerCase()==\"head\")return true;try{a=a.parentNode}catch(" + "b){return false}}return false};function Ba(a){if(Aa(a)){var b=P(a);if(a.t" + "agName.toUpperCase()==\"TITLE\"&&(b?b.parentWindow||b.defaultView:window)" + "==g.top)return m(b.title);return\"\"}b=[\"\"];va(a,b);b=da(b,m);return m(" + "b.join(\"\\n\"))}var Y=\"_\".split(\".\"),Z=g;!(Y[0]in Z)&&Z.execScript&&" + "Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)if(!Y.leng" + "th&&Ba!==undefined)Z[$]=Ba;else Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null" + ",arguments);}"; -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(a<b)", - L"return-1;else if(a>b)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<d;e++)e in f&&b.call", - L"(c,f[e],e,a)};function x(){return v.concat.apply(v,arguments)}function ", - L"y(a){if(l(a)==\"array\")return x(a);if(l(a)==\"array\")a=x(a);else{for(", - L"var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];a=b}return a};function z(a,b)", - L"{this.width=a;this.height=b}z.prototype.round=function(){this.width=Mat", - L"h.round(this.width);this.height=Math.round(this.height);return this};va", - L"r A,B,C,D;function E(){return k.navigator?k.navigator.userAgent:h}D=C=B", - L"=A=i;var F;if(F=E()){var G=k.navigator;A=F.indexOf(\"Opera\")==0;B=!A&&", - L"F.indexOf(\"MSIE\")!=-1;C=!A&&F.indexOf(\"WebKit\")!=-1;D=!A&&!C&&G.pro", - L"duct==\"Gecko\"}var H=A,aa=B,ba=D,ca=C,I=\"\",J;if(H&&k.opera){var K=k.", - L"opera.version;I=typeof K==\"function\"?K():K}else{if(ba)J=/rv\\:([^\\);", - L"]+)(\\)|;)/;else if(aa)J=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(ca)J=/WebK", - L"it\\/(\\S+)/;if(J){var L=J.exec(E());I=L?L[1]:\"\"}}var da=I,M={};var N", - L"=\"StopIteration\"in k?k.StopIteration:Error(\"StopIteration\");functio", - L"n O(){}O.prototype.next=function(){throw N;};O.prototype.f=function(){r", - L"eturn this};function P(a){if(a instanceof O)return a;if(typeof a.f==\"f", - L"unction\")return a.f(i);if(n(a)){var b=0,c=new O;c.next=function(){for(", - L";;){if(b>=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<f;e++)", - L"{var g=c[e]||\"\",m=d[e]||\"\",ha=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),ia", - L"=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var s=ha.exec(g)||[\"\",\"\",\"", - L"\"],t=ia.exec(m)||[\"\",\"\",\"\"];if(s[0].length==0&&t[0].length==0)br", - L"eak;b=u(s[1].length==0?0:parseInt(s[1],10),t[1].length==0?0:parseInt(t[", - L"1],10))||u(s[2].length==0,t[2].length==0)||u(s[2],t[2])}while(b==0)}b=M", - L"[\"10\"]=b>=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 char* const IS_DISPLAYED = + "function(){var g=this;\nfunction h(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function i(a,b){function c(){}c.prototype=b.prototy" + "pe;a.g=b.prototype;a.prototype=new c};function j(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}i(j,Error);j.prototype.name=\"Custo" + "mError\";function aa(a){for(var b=1;b<arguments.length;b++){var c=String(" + "arguments[b]).replace(/\\$/g,\"$$$$\");a=a.replace(/\\%s/,c)}return a}fun" + "ction k(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}function l" + "(a,b){if(a<b)return-1;else if(a>b)return 1;return 0}var m={};function ba(" + "a){return m[a]||(m[a]=String(a).replace(/\\-([a-z])/g,function(b,c){retur" + "n c.toUpperCase()}))};function n(a,b){b.unshift(a);j.call(this,aa.apply(n" + "ull,b));b.shift();this.h=a}i(n,j);n.prototype.name=\"AssertionError\";fun" + "ction q(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),e=\"Ass" + "ertion failed\";if(b){e+=\": \"+b;var f=c}throw new n(\"\"+e,f||[]);}retu" + "rn a};var r=Array.prototype,s=r.indexOf?function(a,b,c){q(a.length!=null)" + ";return r.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0" + ",a.length+c):c;if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length" + "!=1)return-1;return a.indexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]" + "===b)return c;return-1},ca=r.some?function(a,b,c){q(a.length!=null);retur" + "n r.some.call(a,b,c)}:function(a,b,c){var e=a.length,f=typeof a==\"string" + "\"?a.split(\"\"):a;for(var d=0;d<e;d++)if(d in f&&b.call(c,f[d],d,a))retu" + "rn true;\nreturn false};var t,u,v,w;function x(){return g.navigator?g.nav" + "igator.userAgent:null}w=v=u=t=false;var y;if(y=x()){var da=g.navigator;t=" + "y.indexOf(\"Opera\")==0;u=!t&&y.indexOf(\"MSIE\")!=-1;v=!t&&y.indexOf(\"W" + "ebKit\")!=-1;w=!t&&!v&&da.product==\"Gecko\"}var z=t,A=u,ea=w,D=v,E;\na:{" + "var F=\"\",G;if(z&&g.opera){var H=g.opera.version;F=typeof H==\"function" + "\"?H():H}else{if(ea)G=/rv\\:([^\\);]+)(\\)|;)/;else if(A)G=/MSIE\\s+([^" + "\\);]+)(\\)|;)/;else if(D)G=/WebKit\\/(\\S+)/;if(G){var I=G.exec(x());F=I" + "?I[1]:\"\"}}if(A){var J,K=g.document;J=K?K.documentMode:undefined;if(J>pa" + "rseFloat(F)){E=String(J);break a}}E=F}var L={};\nfunction M(a){var b;if(!" + "(b=L[a])){b=0;var c=k(String(E)).split(\".\"),e=k(String(a)).split(\".\")" + ",f=Math.max(c.length,e.length);for(var d=0;b==0&&d<f;d++){var B=c[d]||\"" + "\",C=e[d]||\"\",ma=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),na=RegExp(\"(\\\\d*" + ")(\\\\D*)\",\"g\");do{var o=ma.exec(B)||[\"\",\"\",\"\"],p=na.exec(C)||[" + "\"\",\"\",\"\"];if(o[0].length==0&&p[0].length==0)break;b=l(o[1].length==" + "0?0:parseInt(o[1],10),p[1].length==0?0:parseInt(p[1],10))||l(o[2].length=" + "=0,p[2].length==0)||l(o[2],p[2])}while(b==0)}b=L[a]=b>=0}return b};!A||M(" + "\"9\");A&&M(\"9\");function N(a,b){this.width=a;this.height=b}N.prototype" + ".toString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};fu" + "nction O(a){return a.nodeType==9?a:a.ownerDocument||a.document}function f" + "a(a,b){var c=[];return P(a,b,c,true)?c[0]:undefined}function P(a,b,c,e){i" + "f(a!=null){var f=0;for(var d;d=a.childNodes[f];f++){if(b(d)){c.push(d);if" + "(e)return true}if(P(d,b,c,e))return true}}return false}function ga(a,b,c," + "e){if(!c)a=a.parentNode;c=e==null;for(var f=0;a&&(c||f<=e);){if(b(a))retu" + "rn a;a=a.parentNode;f++}return null};function ha(a,b){try{var c;if(typeof" + " b.selectSingleNode!=\"undefined\"){var e=O(b);typeof e.setProperty!=\"un" + "defined\"&&e.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectSingl" + "eNode(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){e" + "=O(b);var f=e.createNSResolver(e.documentElement);c=e.evaluate(a,b,f,XPat" + "hResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}catch(d" + "){return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Returned n" + "ode is not an element: \"+a);return c};var Q=\"StopIteration\"in g?g.Stop" + "Iteration:Error(\"StopIteration\");function ia(){}ia.prototype.next=funct" + "ion(){throw Q;};function R(a,b,c,e,f){this.a=!!b;a&&S(this,a,e);this.d=f!" + "=undefined?f:this.c||0;if(this.a)this.d*=-1;this.f=!c}i(R,ia);R.prototype" + ".b=null;R.prototype.c=0;R.prototype.e=false;function S(a,b,c,e){if(a.b=b)" + "a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof e==\"numb" + "er\")a.d=e}\nR.prototype.next=function(){var a;if(this.e){if(!this.b||thi" + "s.f&&this.d==0)throw Q;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=thi" + "s.a?a.lastChild:a.firstChild;c?S(this,c):S(this,a,b*-1)}else(c=this.a?a.p" + "reviousSibling:a.nextSibling)?S(this,c):S(this,a.parentNode,b*-1);this.d+" + "=this.c*(this.a?-1:1)}else this.e=true;a=this.b;if(!this.b)throw Q;return" + " a};\nR.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(this.c=" + "=b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;R.prototype.n" + "ext.call(this);this.a=!this.a;b=arguments[0];var c=h(b);b=c==\"array\"||c" + "==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;for(c=b." + "length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibl" + "ing);a&&a.parentNode&&a.parentNode.removeChild(a)};function T(a,b,c,e){R." + "call(this,a,b,c,null,e)}i(T,R);T.prototype.next=function(){do T.g.next.ca" + "ll(this);while(this.c==-1);return this.b};function ja(a,b){var c=O(a);if(" + "c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.getCompu" + "tedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"\"};function " + "U(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar k" + "a=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complet" + "e\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"def" + "er\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\"," + "\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\"," + "\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\"" + ",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"r" + "eversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\"" + ",\"truespeed\",\"willvalidate\"];\nfunction la(a,b){if(8==a.nodeType)retu" + "rn null;b=b.toLowerCase();if(b==\"style\"){var c=k(a.style.cssText).toLow" + "erCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNod" + "e(b);if(A)if(!c&&M(8)&&s(ka,b)>=0)c=a[b];if(!c)return null;if(s(ka,b)>=0)" + "return A&&c.value==\"false\"?null:\"true\";return c.specified?c.value:nul" + "l}function V(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nod" + "eType!=11;)a=a.parentNode;return U(a)?a:null}function W(a,b){b=ba(String(" + "b));return ja(a,b)||oa(a,b)}\nfunction oa(a,b){var c=(a.currentStyle||a.s" + "tyle)[b];if(c!=\"inherit\")return c!==undefined?c:null;return(c=V(a))?oa(" + "c,b):null}\nfunction pa(a){if(h(a.getBBox)==\"function\")return a.getBBox" + "();var b;var c=z&&!M(\"10\");if((ja(a,\"display\")||(a.currentStyle?a.cur" + "rentStyle.display:null)||a.style.display)!=\"none\")b=c?new N(a.offsetWid" + "th||a.clientWidth,a.offsetHeight||a.clientHeight):new N(a.offsetWidth,a.o" + "ffsetHeight);else{b=a.style;var e=b.display,f=b.visibility,d=b.position;b" + ".visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";if(c)" + "{c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{c=a" + ".offsetWidth;a=a.offsetHeight}b.display=\ne;b.position=d;b.visibility=f;b" + "=new N(c,a)}return b}\nfunction X(a,b){function c(d){if(W(d,\"display\")=" + "=\"none\")return false;d=V(d);return!d||c(d)}function e(d){var B=pa(d);if" + "(B.height>0&&B.width>0)return true;if(d.innerText||d.textContent)if(qa.te" + "st(d.innerText||d.textContent))return true;return D&&ca(d.childNodes,func" + "tion(C){return U(C)&&e(C)})}if(!U(a))throw Error(\"Argument to isShown mu" + "st be of type Element\");if(U(a,\"TITLE\"))return(O(a)?O(a).parentWindow|" + "|O(a).defaultView:window)==g;if(U(a,\"OPTION\")||U(a,\"OPTGROUP\")){var f" + "=ga(a,function(d){return U(d,\n\"SELECT\")});return!!f&&X(f)}if(U(a,\"MAP" + "\")){if(!a.name)return false;f=O(a);f=f.evaluate?ha('/descendant::*[@usem" + "ap = \"#'+a.name+'\"]',f):fa(f,function(d){return U(d)&&la(d,\"usemap\")=" + "=\"#\"+a.name});return!!f&&X(f)}if(U(a,\"AREA\")){f=ga(a,function(d){retu" + "rn U(d,\"MAP\")});return!!f&&X(f)}if(U(a,\"INPUT\")&&a.type.toLowerCase()" + "==\"hidden\")return false;if(W(a,\"visibility\")==\"hidden\")return false" + ";if(!c(a))return false;if(!b&&ra(a)==0)return false;if(!e(a))return false" + ";return true}\nvar sa=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",q" + "a=RegExp(\"^\"+sa+\"$\");function ra(a){if(A){if(W(a,\"position\")==\"rel" + "ative\")return 1;a=W(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(" + "\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(" + "\\d*)\\)/))?Number(a[1])/100:1}else return ta(a)}function ta(a){var b=1,c" + "=W(a,\"opacity\");if(c)b=Number(c);if(a=V(a))b*=ta(a);return b};var ua=X," + "Y=\"_\".split(\".\"),Z=g;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"" + "+Y[0]);for(var $;Y.length&&($=Y.shift());)if(!Y.length&&ua!==undefined)Z[" + "$]=ua;else Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,arguments);}"; -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<b.length;a++)if(a in b&&b[a]===c)return a;return-", - L"1};var j,k,l,m;function n(){return f.navigator?f.navigator.userAgent:e}", - L"m=l=k=j=false;var o;if(o=n()){var p=f.navigator;j=o.indexOf(\"Opera\")=", - L"=0;k=!j&&o.indexOf(\"MSIE\")!=-1;l=!j&&o.indexOf(\"WebKit\")!=-1;m=!j&&", - L"!l&&p.product==\"Gecko\"}var q=k,r=m,s=l,t=\"\",u;if(j&&f.opera){var v=", - L"f.opera.version;t=typeof v==\"function\"?v():v}else{if(r)u=/rv\\:([^\\)", - L";]+)(\\)|;)/;else if(q)u=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(s)u=/WebKi", - L"t\\/(\\S+)/;if(u){var w=u.exec(n());t=w?w[1]:\"\"}};function x(b,c,a,d)", - L"{if(typeof d==\"number\")d=(c?Math.round(d):d)+\"px\";a.style[b]=d}g(x,", - L"\"height\",true);g(x,\"width\",true);var y=[\"checked\",\"disabled\",\"", - L"readonly\",\"selected\"];function z(b,c){if(8==b.nodeType)return e;var ", - L"a=c.toLowerCase();if(\"style\"==a)return\"\";var d=b.getAttributeNode(c", - L");if(!d)return e;if(i(y,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 char* const IS_ENABLED = + "function(){var e=this;function f(a,b){function c(){}c.prototype=b.prototy" + "pe;a.g=b.prototype;a.prototype=new c};function h(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}f(h,Error);function i(a){for(var b=" + "1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\\$/g,\"$$$" + "$\");a=a.replace(/\\%s/,c)}return a}function j(a){return a.replace(/^[\\s" + "\\xa0]+|[\\s\\xa0]+$/g,\"\")}function m(a,b){if(a<b)return-1;else if(a>b)" + "return 1;return 0};function n(a,b){b.unshift(a);h.call(this,i.apply(null," + "b));b.shift();this.f=a}f(n,h);function o(a,b){if(!a){var c=Array.prototyp" + "e.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var g=" + "c}throw new n(\"\"+d,g||[]);}return a};var p=Array.prototype,q=p.indexOf?" + "function(a,b,c){o(a.length!=null);return p.indexOf.call(a,b,c)}:function(" + "a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\"){" + "if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(c" + "=c;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};var r,s,u,v;func" + "tion w(){return e.navigator?e.navigator.userAgent:null}v=u=s=r=false;var " + "x;if(x=w()){var y=e.navigator;r=x.indexOf(\"Opera\")==0;s=!r&&x.indexOf(" + "\"MSIE\")!=-1;u=!r&&x.indexOf(\"WebKit\")!=-1;v=!r&&!u&&y.product==\"Geck" + "o\"}var z=s,A=v,B=u,C;\na:{var D=\"\",E;if(r&&e.opera){var F=e.opera.vers" + "ion;D=typeof F==\"function\"?F():F}else{if(A)E=/rv\\:([^\\);]+)(\\)|;)/;e" + "lse if(z)E=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(B)E=/WebKit\\/(\\S+)/;if(E" + "){var G=E.exec(w());D=G?G[1]:\"\"}}if(z){var H,I=e.document;H=I?I.documen" + "tMode:undefined;if(H>parseFloat(D)){C=String(H);break a}}C=D}var J={};\nf" + "unction K(a){var b;if(!(b=J[a])){b=0;var c=j(String(C)).split(\".\"),d=j(" + "String(a)).split(\".\"),g=Math.max(c.length,d.length);for(var t=0;b==0&&t" + "<g;t++){var S=c[t]||\"\",T=d[t]||\"\",U=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"" + "),V=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var k=U.exec(S)||[\"\",\"\",\"" + "\"],l=V.exec(T)||[\"\",\"\",\"\"];if(k[0].length==0&&l[0].length==0)break" + ";b=m(k[1].length==0?0:parseInt(k[1],10),l[1].length==0?0:parseInt(l[1],10" + "))||m(k[2].length==0,l[2].length==0)||m(k[2],l[2])}while(b==0)}b=J[a]=b>=" + "0}return b};!z||K(\"9\");z&&K(\"9\");function L(a,b,c,d,g){this.c=!!b;if(" + "a){if(this.b=a)this.d=typeof d==\"number\"?d:this.b.nodeType!=1?0:this.c?" + "-1:1;if(typeof void 0==\"number\")this.a=void 0}this.a=g!=undefined?g:thi" + "s.d||0;if(this.c)this.a*=-1;this.e=!c}f(L,function(){});L.prototype.b=nul" + "l;L.prototype.d=0;f(function(a,b,c,d){L.call(this,a,b,c,null,d)},L);var M" + "=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete" + "\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defe" + "r\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"" + "indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"" + "multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\"," + "\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"re" + "versed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\"," + "\"truespeed\",\"willvalidate\"];\nfunction N(a,b){if(8==a.nodeType)return" + " null;b=b.toLowerCase();if(b==\"style\"){var c=j(a.style.cssText).toLower" + "Case();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(" + "b);if(z)if(!c&&K(8)&&q(M,b)>=0)c=a[b];if(!c)return null;if(q(M,b)>=0)retu" + "rn z&&c.value==\"false\"?null:\"true\";return c.specified?c.value:null}va" + "r O=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"" + "];\nfunction P(a){var b=a.tagName.toUpperCase();if(!(q(O,b)>=0))return tr" + "ue;if(N(a,\"disabled\"))return false;if(a.parentNode&&a.parentNode.nodeTy" + "pe==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return P(a.parentNode);return true}" + "String.fromCharCode(160);var Q=P,R=\"_\".split(\".\"),W=e;!(R[0]in W)&&W." + "execScript&&W.execScript(\"var \"+R[0]);for(var X;R.length&&(X=R.shift())" + ";)if(!R.length&&Q!==undefined)W[X]=Q;else W=W[X]?W[X]:W[X]={};; return _." + "apply(null,arguments);}"; -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 char* const IS_SELECTED = + "function(){var e=this;function f(a,b){function c(){}c.prototype=b.prototy" + "pe;a.g=b.prototype;a.prototype=new c};function h(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}f(h,Error);function k(a){for(var b=" + "1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\\$/g,\"$$$" + "$\");a=a.replace(/\\%s/,c)}return a}\nfunction l(a,b){var c=0,d=String(a)" + ".replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),g=String(b).repl" + "ace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),K=Math.max(d.length,g" + ".length);for(var p=0;c==0&&p<K;p++){var L=d[p]||\"\",M=g[p]||\"\",N=RegEx" + "p(\"(\\\\d*)(\\\\D*)\",\"g\"),O=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var" + " i=N.exec(L)||[\"\",\"\",\"\"],j=O.exec(M)||[\"\",\"\",\"\"];if(i[0].leng" + "th==0&&j[0].length==0)break;c=m(i[1].length==0?0:parseInt(i[1],10),j[1].l" + "ength==0?0:parseInt(j[1],10))||m(i[2].length==0,j[2].length==0)||m(i[2],j" + "[2])}while(c==\n0)}return c}function m(a,b){if(a<b)return-1;else if(a>b)r" + "eturn 1;return 0};function n(a,b){b.unshift(a);h.call(this,k.apply(null,b" + "));b.shift();this.f=a}f(n,h);function o(a,b){if(!a){var c=Array.prototype" + ".slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var g=c" + "}throw new n(\"\"+d,g||[]);}return a};var q=Array.prototype,r=q.indexOf?f" + "unction(a,b,c){o(a.length!=null);return q.indexOf.call(a,b,c)}:function(a" + ",b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\"){i" + "f(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(c=" + "c;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};var s,t,u,v;funct" + "ion w(){return e.navigator?e.navigator.userAgent:null}v=u=t=s=false;var x" + ";if(x=w()){var y=e.navigator;s=x.indexOf(\"Opera\")==0;t=!s&&x.indexOf(\"" + "MSIE\")!=-1;u=!s&&x.indexOf(\"WebKit\")!=-1;v=!s&&!u&&y.product==\"Gecko" + "\"}var z=t,A=v,B=u,C;\na:{var D=\"\",E;if(s&&e.opera){var F=e.opera.versi" + "on;D=typeof F==\"function\"?F():F}else{if(A)E=/rv\\:([^\\);]+)(\\)|;)/;el" + "se if(z)E=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(B)E=/WebKit\\/(\\S+)/;if(E)" + "{var G=E.exec(w());D=G?G[1]:\"\"}}if(z){var H,I=e.document;H=I?I.document" + "Mode:undefined;if(H>parseFloat(D)){C=String(H);break a}}C=D}var J={};!z||" + "J[\"9\"]||(J[\"9\"]=l(C,\"9\")>=0);z&&(J[\"9\"]||(J[\"9\"]=l(C,\"9\")>=0)" + ");function P(a,b,c,d,g){this.c=!!b;if(a){if(this.b=a)this.d=typeof d==\"n" + "umber\"?d:this.b.nodeType!=1?0:this.c?-1:1;if(typeof void 0==\"number\")t" + "his.a=void 0}this.a=g!=undefined?g:this.d||0;if(this.c)this.a*=-1;this.e=" + "!c}f(P,function(){});P.prototype.b=null;P.prototype.d=0;f(function(a,b,c," + "d){P.call(this,a,b,c,null,d)},P);String.fromCharCode(160);\nvar Q=[\"chec" + "kbox\",\"radio\"];function R(a){var b;a:{b=a.tagName.toUpperCase();if(b==" + "\"OPTION\")b=true;else{if(b==\"INPUT\")if(r(Q,a.type)>=0){b=true;break a}" + "b=false}}if(!b)return false;b=\"selected\";var c=a.type&&a.type.toLowerCa" + "se();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";return!!a[b]}var S=\"" + "_\".split(\".\"),T=e;!(S[0]in T)&&T.execScript&&T.execScript(\"var \"+S[0" + "]);for(var U;S.length&&(U=S.shift());)if(!S.length&&R!==undefined)T[U]=R;" + "else T=T[U]?T[U]:T[U]={};; return _.apply(null,arguments);}"; -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(a<b)return-1;else if(a>b)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<j;e++){var P=d[e]", - L"||\"\",Q=c[e]||\"\",R=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),S=RegExp(\"(", - L"\\\\d*)(\\\\D*)\",\"g\");do{var l=R.exec(P)||[\"\",\"\",\"\"],m=S.exec(", - L"Q)||[\"\",\"\",\"\"];if(l[0].length==0&&m[0].length==0)break;b=k(l[1].l", - L"ength==0?0:parseInt(l[1],10),m[1].length==0?0:parseInt(m[1],10))||k(l[2", - L"].length==0,\nm[2].length==0)||k(l[2],m[2])}while(b==0)}b=E[\"10\"]=b>=", - 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 char* const SET_SELECTED = + "function(){var g=this;\nfunction j(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}Math.floor(Math.random()*2147483648).toString(36);f" + "unction k(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.pr" + "ototype=new c};function l(a){this.stack=Error().stack||\"\";if(a)this.mes" + "sage=String(a)}k(l,Error);l.prototype.name=\"CustomError\";function m(a,b" + "){l.call(this,b);this.code=a;this.name=p[a]||p[13]}k(m,l);var p,aa={NoSuc" + "hElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementRefe" + "renceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Unkno" + "wnError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWindowE" + "rror:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDialog" + "OpenedError:26,ModalDialogOpenError:27,ScriptTimeoutError:28},ba={};for(v" + "ar ca in aa)ba[aa[ca]]=ca;p=ba;\nm.prototype.toString=function(){return\"" + "[\"+this.name+\"] \"+this.message};function da(a){for(var b=1;b<arguments" + ".length;b++){var c=String(arguments[b]).replace(/\\$/g,\"$$$$\");a=a.repl" + "ace(/\\%s/,c)}return a}function q(a){return a.replace(/^[\\s\\xa0]+|[\\s" + "\\xa0]+$/g,\"\")}function r(a,b){if(a<b)return-1;else if(a>b)return 1;ret" + "urn 0}var ea={};function fa(a){return ea[a]||(ea[a]=String(a).replace(/" + "\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};function t(a,b){b.u" + "nshift(a);l.call(this,da.apply(null,b));b.shift();this.j=a}k(t,l);t.proto" + "type.name=\"AssertionError\";function ga(a,b){if(!a){var c=Array.prototyp" + "e.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=" + "c}throw new t(\"\"+d,f||[]);}return a};var u=Array.prototype,v=u.indexOf?" + "function(a,b,c){ga(a.length!=null);return u.indexOf.call(a,b,c)}:function" + "(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\")" + "{if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(" + "c=c;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ha=u.some?funct" + "ion(a,b,c){ga(a.length!=null);return u.some.call(a,b,c)}:function(a,b,c){" + "var d=a.length,f=typeof a==\"string\"?a.split(\"\"):a;for(var e=0;e<d;e++" + ")if(e in f&&b.call(c,f[e],e,a))return true;\nreturn false};var w,x,z,A;fu" + "nction ia(){return g.navigator?g.navigator.userAgent:null}A=z=x=w=false;v" + "ar B;if(B=ia()){var ja=g.navigator;w=B.indexOf(\"Opera\")==0;x=!w&&B.inde" + "xOf(\"MSIE\")!=-1;z=!w&&B.indexOf(\"WebKit\")!=-1;A=!w&&!z&&ja.product==" + "\"Gecko\"}var ka=w,C=x,la=A,ma=z,D;\na:{var E=\"\",F;if(ka&&g.opera){var " + "G=g.opera.version;E=typeof G==\"function\"?G():G}else{if(la)F=/rv\\:([^" + "\\);]+)(\\)|;)/;else if(C)F=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(ma)F=/Web" + "Kit\\/(\\S+)/;if(F){var na=F.exec(ia());E=na?na[1]:\"\"}}if(C){var H,oa=g" + ".document;H=oa?oa.documentMode:undefined;if(H>parseFloat(E)){D=String(H);" + "break a}}D=E}var pa={};\nfunction I(a){var b;if(!(b=pa[a])){b=0;var c=q(S" + "tring(D)).split(\".\"),d=q(String(a)).split(\".\"),f=Math.max(c.length,d." + "length);for(var e=0;b==0&&e<f;e++){var i=c[e]||\"\",h=d[e]||\"\",s=RegExp" + "(\"(\\\\d*)(\\\\D*)\",\"g\"),y=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var " + "n=s.exec(i)||[\"\",\"\",\"\"],o=y.exec(h)||[\"\",\"\",\"\"];if(n[0].lengt" + "h==0&&o[0].length==0)break;b=r(n[1].length==0?0:parseInt(n[1],10),o[1].le" + "ngth==0?0:parseInt(o[1],10))||r(n[2].length==0,o[2].length==0)||r(n[2],o[" + "2])}while(b==0)}b=pa[a]=b>=0}return b};!C||I(\"9\");C&&I(\"9\");function " + "J(a,b){this.width=a;this.height=b}J.prototype.toString=function(){return" + "\"(\"+this.width+\" x \"+this.height+\")\"};J.prototype.floor=function(){" + "this.width=Math.floor(this.width);this.height=Math.floor(this.height);ret" + "urn this};function K(a){return a?a.parentWindow||a.defaultView:window}fun" + "ction L(a){return a.nodeType==9?a:a.ownerDocument||a.document}function qa" + "(a,b){var c=[];return ra(a,b,c,true)?c[0]:undefined}function ra(a,b,c,d){" + "if(a!=null){var f=0;for(var e;e=a.childNodes[f];f++){if(b(e)){c.push(e);i" + "f(d)return true}if(ra(e,b,c,d))return true}}return false}function M(a,b,c" + ",d){if(!c)a=a.parentNode;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))ret" + "urn a;a=a.parentNode;f++}return null};function sa(a,b){try{var c;if(typeo" + "f b.selectSingleNode!=\"undefined\"){var d=L(b);typeof d.setProperty!=\"u" + "ndefined\"&&d.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectSing" + "leNode(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){" + "d=L(b);var f=d.createNSResolver(d.documentElement);c=d.evaluate(a,b,f,XPa" + "thResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}catch(" + "e){return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Returned " + "node is not an element: \"+a);return c};var N=\"StopIteration\"in g?g.Sto" + "pIteration:Error(\"StopIteration\");function ta(){}ta.prototype.next=func" + "tion(){throw N;};function O(a,b,c,d,f){this.a=!!b;a&&P(this,a,d);this.d=f" + "!=undefined?f:this.c||0;if(this.a)this.d*=-1;this.f=!c}k(O,ta);O.prototyp" + "e.b=null;O.prototype.c=0;O.prototype.e=false;function P(a,b,c,d){if(a.b=b" + ")a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"num" + "ber\")a.d=d}\nO.prototype.next=function(){var a;if(this.e){if(!this.b||th" + "is.f&&this.d==0)throw N;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=th" + "is.a?a.lastChild:a.firstChild;c?P(this,c):P(this,a,b*-1)}else(c=this.a?a." + "previousSibling:a.nextSibling)?P(this,c):P(this,a.parentNode,b*-1);this.d" + "+=this.c*(this.a?-1:1)}else this.e=true;a=this.b;if(!this.b)throw N;retur" + "n a};\nO.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(this.c" + "==b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;O.prototype." + "next.call(this);this.a=!this.a;b=arguments[0];var c=j(b);b=c==\"array\"||" + "c==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;for(c=b" + ".length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSib" + "ling);a&&a.parentNode&&a.parentNode.removeChild(a)};function Q(a,b,c,d){O" + ".call(this,a,b,c,null,d)}k(Q,O);Q.prototype.next=function(){do Q.g.next.c" + "all(this);while(this.c==-1);return this.b};function ua(a,b){var c=L(a);if" + "(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.getComp" + "utedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"\"};function" + " R(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar " + "va={\"class\":\"className\",readonly:\"readOnly\"},wa=[\"async\",\"autofo" + "cus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"de" + "clare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"d" + "raggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"is" + "contenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\"" + ",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\"," + "\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\"," + "\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"will" + "validate\"];\nfunction xa(a,b){if(8==a.nodeType)return null;b=b.toLowerCa" + "se();if(b==\"style\"){var c=q(a.style.cssText).toLowerCase();return c.cha" + "rAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(C)if(!c&&I(8)" + "&&v(wa,b)>=0)c=a[b];if(!c)return null;if(v(wa,b)>=0)return C&&c.value==\"" + "false\"?null:\"true\";return c.specified?c.value:null}var ya=[\"BUTTON\"," + "\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction za(" + "a){var b=a.tagName.toUpperCase();if(!(v(ya,b)>=0))return true;if(xa(a,\"d" + "isabled\"))return false;if(a.parentNode&&a.parentNode.nodeType==1&&\"OPTG" + "ROUP\"==b||\"OPTION\"==b)return za(a.parentNode);return true}function S(a" + "){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a" + ".parentNode;return R(a)?a:null}function T(a,b){b=fa(String(b));return ua(" + "a,b)||Aa(a,b)}\nfunction Aa(a,b){var c=(a.currentStyle||a.style)[b];if(c!" + "=\"inherit\")return c!==undefined?c:null;return(c=S(a))?Aa(c,b):null}\nfu" + "nction Ba(a){if(j(a.getBBox)==\"function\")return a.getBBox();var b;var c" + "=ka&&!I(\"10\");if((ua(a,\"display\")||(a.currentStyle?a.currentStyle.dis" + "play:null)||a.style.display)!=\"none\")b=c?new J(a.offsetWidth||a.clientW" + "idth,a.offsetHeight||a.clientHeight):new J(a.offsetWidth,a.offsetHeight);" + "else{b=a.style;var d=b.display,f=b.visibility,e=b.position;b.visibility=" + "\"hidden\";b.position=\"absolute\";b.display=\"inline\";if(c){c=a.offsetW" + "idth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{c=a.offsetWidth" + ";a=\na.offsetHeight}b.display=d;b.position=e;b.visibility=f;b=new J(c,a)}" + "return b}\nfunction U(a,b){function c(e){if(T(e,\"display\")==\"none\")re" + "turn false;e=S(e);return!e||c(e)}function d(e){var i=Ba(e);if(i.height>0&" + "&i.width>0)return true;if(e.innerText||e.textContent)if(Ca.test(e.innerTe" + "xt||e.textContent))return true;return ma&&ha(e.childNodes,function(h){ret" + "urn R(h)&&d(h)})}if(!R(a))throw Error(\"Argument to isShown must be of ty" + "pe Element\");if(R(a,\"TITLE\"))return K(L(a))==g;if(R(a,\"OPTION\")||R(a" + ",\"OPTGROUP\")){var f=M(a,function(e){return R(e,\"SELECT\")});return!!f&" + "&U(f)}if(R(a,\"MAP\")){if(!a.name)return false;\nf=L(a);f=f.evaluate?sa('" + "/descendant::*[@usemap = \"#'+a.name+'\"]',f):qa(f,function(e){return R(e" + ")&&xa(e,\"usemap\")==\"#\"+a.name});return!!f&&U(f)}if(R(a,\"AREA\")){f=M" + "(a,function(e){return R(e,\"MAP\")});return!!f&&U(f)}if(R(a,\"INPUT\")&&a" + ".type.toLowerCase()==\"hidden\")return false;if(T(a,\"visibility\")==\"hi" + "dden\")return false;if(!c(a))return false;if(!b&&Da(a)==0)return false;if" + "(!d(a))return false;return true}var Ea=\"[\\\\s\\\\xa0\"+String.fromCharC" + "ode(160)+\"]+\",Ca=RegExp(\"^\"+Ea+\"$\");\nfunction Da(a){if(C){if(T(a," + "\"position\")==\"relative\")return 1;a=T(a,\"filter\");return(a=a.match(/" + "^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsoft" + ".Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1}else return Fa(a)}functi" + "on Fa(a){var b=1,c=T(a,\"opacity\");if(c)b=Number(c);if(a=S(a))b*=Fa(a);r" + "eturn b};var Ga=C?1:0,Ha=[\"dragstart\",\"dragexit\",\"mouseover\",\"mous" + "eout\"];\nfunction V(a,b,c){var d=L(a),f=K(d),e=c||{};c=e.x||0;var i=e.y|" + "|0,h=e.button||Ga,s=e.bubble||true,y=null;if(v(Ha,b)>=0)y=e.related||null" + ";var n=!!e.alt,o=!!e.control,$=!!e.shift;e=!!e.meta;if(a.fireEvent&&d&&d." + "createEventObject){a=d.createEventObject();a.altKey=n;a.h=o;a.metaKey=e;a" + ".shiftKey=$;a.clientX=c;a.clientY=i;a.button=h;a.relatedTarget=y}else{a=d" + ".createEvent(\"MouseEvents\");if(a.initMouseEvent)a.initMouseEvent(b,s,tr" + "ue,f,1,0,0,c,i,o,n,$,e,h,y);else{a.initEvent(b,s,true);a.shiftKey=$;a.met" + "aKey=\ne;a.altKey=n;a.ctrlKey=o;a.button=h}}return a}function Ia(a,b,c){v" + "ar d=L(a);a=K(d);var f=c||{};c=f.keyCode||0;var e=f.charCode||0,i=!!f.alt" + ",h=!!f.ctrl,s=!!f.shift;f=!!f.meta;if(la){d=d.createEvent(\"KeyboardEvent" + "\");d.initKeyEvent(b,true,true,a,h,i,s,f,c,e)}else{if(C)d=d.createEventOb" + "ject();else{d=d.createEvent(\"Events\");d.initEvent(b,true,true);d.charCo" + "de=e}d.keyCode=c;d.altKey=i;d.ctrlKey=h;d.metaKey=f;d.shiftKey=s}return d" + "}\nfunction Ja(a,b,c){var d=L(a),f=c||{};c=f.bubble!==false;var e=!!f.alt" + ",i=!!f.control,h=!!f.shift;f=!!f.meta;if(a.fireEvent&&d&&d.createEventObj" + "ect){a=d.createEventObject();a.altKey=e;a.i=i;a.metaKey=f;a.shiftKey=h}el" + "se{a=d.createEvent(\"HTMLEvents\");a.initEvent(b,c,true);a.shiftKey=h;a.m" + "etaKey=f;a.altKey=e;a.ctrlKey=i}return a}var W={};W.click=V;W.keydown=Ia;" + "W.keypress=Ia;W.keyup=Ia;W.mousedown=V;W.mousemove=V;W.mouseout=V;W.mouse" + "over=V;W.mouseup=V;\nfunction Ka(a,b,c){c=(W[b]||Ja)(a,b,c);var d;if(!(d=" + "j(a.fireEvent)==\"function\")){d=j(a.fireEvent);d=d==\"object\"||d==\"arr" + "ay\"||d==\"function\"}if(d){try{K(L(a)).event=c}catch(f){}a=a.fireEvent(" + "\"on\"+b,c)}else a=a.dispatchEvent(c);return a};function La(a){var b;if(R" + "(a,\"OPTION\"))b=true;else if(R(a,\"INPUT\")){b=a.type.toLowerCase();b=b=" + "=\"checkbox\"||b==\"radio\"}else b=false;if(!b)throw new m(15,\"Element i" + "s not selectable\");b=\"selected\";var c=a.type&&a.type.toLowerCase();if(" + "\"checkbox\"==c||\"radio\"==c)b=\"checked\";return!!a[va[b]||b]}function " + "Ma(a){return R(a,\"SELECT\")};function Na(a,b){if(!za(a))throw new m(12," + "\"Element is not currently enabled and may not be manipulated\");if(!U(a," + "true))throw new m(11,\"Element is not currently visible and may not be ma" + "nipulated\");if(R(a,\"INPUT\")){var c=a.type.toLowerCase();if(c==\"checkb" + "ox\"||c==\"radio\"){if(a.checked!=b){if(a.type==\"radio\"&&!b)throw new m" + "(12,\"You may not deselect a radio button\");if(b!=La(a)){a.checked=b;Ka(" + "a,\"change\")}}}else throw new m(15,\"You may not select an unselectable " + "input element: \"+a.type);}else if(R(a,\n\"OPTION\")){c=M(a,Ma);if(!c.mul" + "tiple&&!b)throw new m(15,\"You may not deselect an option within a select" + " that does not support multiple selections.\");if(b!=La(a)){a.selected=b;" + "Ka(c,\"change\")}}else throw new m(15,\"You may not select an unselectabl" + "e element: \"+a.tagName);}var X=\"_\".split(\".\"),Y=g;!(X[0]in Y)&&Y.exe" + "cScript&&Y.execScript(\"var \"+X[0]);for(var Z;X.length&&(Z=X.shift());)i" + "f(!X.length&&Na!==undefined)Y[Z]=Na;else Y=Y[Z]?Y[Z]:Y[Z]={};; return _.a" + "pply(null,arguments);}"; -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&&h<e;h++){var i=d[h]||\"\",p=f[h]||\"\",k=RegExp(\"(", - L"\\\\d*)(\\\\D*)\",\"g\"),r=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var m=", - L"k.exec(i)||[\"\",\"\",\"\"],j=r.exec(p)||[\"\",\"\",\"\"];if(m[0].lengt", - L"h==0&&j[0].length==0)break;b=z(m[1].length==0?0:parseInt(m[1],10),j[1].", - L"length==0?0:parseInt(j[1],10))||z(m[2].length==0,j[2].length==0)||z(m[2", - L"],j[2])}while(b==\n0)}return b}function z(a,c){if(a<c)return-1;else if(", - L"a>c)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<a.length;b++)if(b in a&&", - L"a[b]===c)return b;return-1};function C(a,c){this.width=a;this.height=c}", - L"C.prototype.floor=function(){this.width=Math.floor(this.width);this.hei", - L"ght=Math.floor(this.height);return this};C.prototype.round=function(){t", - L"his.width=Math.round(this.width);this.height=Math.round(this.height);re", - L"turn this};var D,E,F,G;function fa(){return q.navigator?q.navigator.use", - L"rAgent:l}G=F=E=D=n;var H;if(H=fa()){var ga=q.navigator;D=H.indexOf(\"Op", - L"era\")==0;E=!D&&H.indexOf(\"MSIE\")!=-1;F=!D&&H.indexOf(\"WebKit\")!=-1", - L";G=!D&&!F&&ga.product==\"Gecko\"}var ha=D,I=E,ia=G,ja=F,ka=q.navigator,", - L"la=(ka&&ka.platform||\"\").indexOf(\"Mac\")!=-1,J=\"\",K;\nif(ha&&q.ope", - L"ra){var ma=q.opera.version;J=typeof ma==\"function\"?ma():ma}else{if(ia", - L")K=/rv\\:([^\\);]+)(\\)|;)/;else if(I)K=/MSIE\\s+([^\\);]+)(\\)|;)/;els", - L"e if(ja)K=/WebKit\\/(\\S+)/;if(K){var na=K.exec(fa());J=na?na[1]:\"\"}}", - L"var oa=J,L={};function M(a){return a.nodeType==9?a:a.ownerDocument||a.d", - L"ocument};function N(){}N.prototype.r=n;N.prototype.h=function(){if(!thi", - L"s.r){this.r=g;this.c()}};N.prototype.c=function(){};var pa;function O(a", - L",c){this.type=a;this.currentTarget=this.target=c}w(O,N);O.prototype.c=f", - L"unction(){delete this.type;delete this.target;delete this.currentTarget", - L"};O.prototype.m=n;O.prototype.F=g;function P(a,c){a&&this.k(a,c)}w(P,O)", - L";o=P.prototype;o.target=l;o.relatedTarget=l;o.offsetX=0;o.offsetY=0;o.c", - L"lientX=0;o.clientY=0;o.screenX=0;o.screenY=0;o.button=0;o.keyCode=0;o.c", - L"harCode=0;o.ctrlKey=n;o.altKey=n;o.shiftKey=n;o.metaKey=n;o.D=n;o.s=l;", - L"\no.k=function(a,c){var b=this.type=a.type;this.target=a.target||a.srcE", - L"lement;this.currentTarget=c;var d=a.relatedTarget;if(d){if(ia)try{d=d.n", - L"odeName&&d}catch(f){d=l}}else if(b==\"mouseover\")d=a.fromElement;else ", - L"if(b==\"mouseout\")d=a.toElement;this.relatedTarget=d;this.offsetX=a.of", - L"fsetX!==undefined?a.offsetX:a.layerX;this.offsetY=a.offsetY!==undefined", - L"?a.offsetY:a.layerY;this.clientX=a.clientX!==undefined?a.clientX:a.page", - L"X;this.clientY=a.clientY!==undefined?a.clientY:a.pageY;this.screenX=a.s", - L"creenX||0;\nthis.screenY=a.screenY||0;this.button=a.button;this.keyCode", - L"=a.keyCode||0;this.charCode=a.charCode||(b==\"keypress\"?a.keyCode:0);t", - L"his.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;thi", - L"s.metaKey=a.metaKey;this.D=la?a.metaKey:a.ctrlKey;this.s=a;delete this.", - L"F;delete this.m};I&&(L[\"8\"]||(L[\"8\"]=y(oa,\"8\")>=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".length<this.v?this.a.push(a):this.p(a)};o.B=function(a){if(a>this.v)th", - L"row Error(\"[goog.structs.SimplePool] Initial cannot be greater than ma", - L"x\");for(var c=0;c<a;c++)this.a.push(this.o())};o.o=function(){return t", - L"his.j?this.j():{}};o.p=function(a){if(this.q)this.q(a);else if(ba(a))if", - L"(u(a.h))a.h();else for(var c in a)delete a[c]};\no.c=function(){Q.A.c.c", - L"all(this);for(var a=this.a;a.length;)this.p(a.pop());delete this.a};var", - L" qa;var ra=(qa=\"ScriptEngine\"in q&&q.ScriptEngine()==\"JScript\")?q.S", - L"criptEngineMajorVersion()+\".\"+q.ScriptEngineMinorVersion()+\".\"+q.Sc", - L"riptEngineBuildVersion():\"0\";function sa(){}var ta=0;o=sa.prototype;o", - L".key=0;o.f=n;o.n=n;o.k=function(a,c,b,d,f,e){if(u(a))this.u=g;else if(a", - L"&&a.handleEvent&&u(a.handleEvent))this.u=n;else throw Error(\"Invalid l", - L"istener argument\");this.l=a;this.z=c;this.src=b;this.type=d;this.captu", - L"re=!!f;this.C=e;this.n=n;this.key=++ta;this.f=n};o.handleEvent=function", - L"(a){if(this.u)return this.l.call(this.C||this.src,a);return this.l.hand", - L"leEvent.call(this.l,a)};var R,ua,S,va,wa,xa,ya,za;\n(function(){functio", - L"n a(){return{b:0,e:0}}function c(){return[]}function b(){function j(s){", - L"return h.call(j.src,j.key,s)}return j}function d(){return new sa}functi", - L"on f(){return new P}var e=qa&&!(y(ra,\"5.7\")>=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<d.length;f++)if(d[f].f){var h=d[f].z;h.src=l;wa(h);xa(d[f])}else{if(", - L"f!=e)d[e]=d[f];e++}d.length=e;d.w=n;if(e==0){S(d);delete U[a][c][b];U[a", - L"][c].b--;if(U[a][c].b==0){R(U[a][c]);delete U[a][c];U[a].b--}if(U[a].b=", - L"=0){R(U[a]);delete U[a]}}}}function Da(a){if(a in Ba)return Ba[a];retur", - L"n Ba[a]=\"on\"+a}\nfunction Ea(a,c,b,d,f){var e=1;c=ca(c);if(a[c]){a.e-", - L"-;a=a[c];if(a.i)a.i++;else a.i=1;try{for(var h=a.length,i=0;i<h;i++){va", - L"r p=a[i];if(p&&!p.f)e&=Fa(p,f)!==n}}finally{a.i--;Ca(b,d,c,a)}}return B", - L"oolean(e)}\nfunction Fa(a,c){var b=a.handleEvent(c);if(a.n){var d=a.key", - L";if(T[d]){var f=T[d];if(!f.f){var e=f.src,h=f.type,i=f.z,p=f.capture;if", - L"(e.removeEventListener){if(e==q||!e.I)e.removeEventListener(h,i,p)}else", - L" e.detachEvent&&e.detachEvent(Da(h),i);e=ca(e);i=U[h][p][e];if(Aa[e]){v", - L"ar k=Aa[e],r=B(k,f);r>=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<m.length&&h.e;s++){k.currentTarget=m[s];", - L"e&=Ea(h,m[s],d,n,k)}}}else e=Fa(b,k)}finally{if(m){m.length=0;S(m)}k.h(", - L");za(k)}return e}d=new P(c,this);try{e=Fa(b,d)}finally{d.h()}return e})", - L";function Ga(a,c){var b=M(a);if(b.defaultView&&b.defaultView.getCompute", - L"dStyle)if(b=b.defaultView.getComputedStyle(a,\"\"))return b[c];return l", - L"}function Ha(a,c,b,d){if(typeof d==\"number\")d=(c?Math.round(d):d)+\"p", - L"x\";b.style[a]=d}ea(Ha,\"height\",g);ea(Ha,\"width\",g);\nfunction Ia(a", - L"){var c=ha&&!(L[\"10\"]||(L[\"10\"]=y(oa,\"10\")>=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 char* const SUBMIT = + "function(){var i=this;\nfunction j(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}Math.floor(Math.random()*2147483648).toString(36);f" + "unction m(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.pr" + "ototype=new c};function n(a){this.stack=Error().stack||\"\";if(a)this.mes" + "sage=String(a)}m(n,Error);n.prototype.name=\"CustomError\";function p(a,b" + "){n.call(this,b);this.code=a;this.name=q[a]||q[13]}m(p,n);var q,r={NoSuch" + "ElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementRefer" + "enceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Unknow" + "nError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWindowEr" + "ror:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDialogO" + "penedError:26,ModalDialogOpenError:27,ScriptTimeoutError:28},s={};for(var" + " t in r)s[r[t]]=t;q=s;\np.prototype.toString=function(){return\"[\"+this." + "name+\"] \"+this.message};function aa(a){for(var b=1;b<arguments.length;b" + "++){var c=String(arguments[b]).replace(/\\$/g,\"$$$$\");a=a.replace(/\\%s" + "/,c)}return a}\nfunction u(a,b){var c=0,d=String(a).replace(/^[\\s\\xa0]+" + "|[\\s\\xa0]+$/g,\"\").split(\".\"),e=String(b).replace(/^[\\s\\xa0]+|[\\s" + "\\xa0]+$/g,\"\").split(\".\"),f=Math.max(d.length,e.length);for(var g=0;c" + "==0&&g<f;g++){var h=d[g]||\"\",o=e[g]||\"\",v=RegExp(\"(\\\\d*)(\\\\D*)\"" + ",\"g\"),w=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var k=v.exec(h)||[\"\",\"" + "\",\"\"],l=w.exec(o)||[\"\",\"\",\"\"];if(k[0].length==0&&l[0].length==0)" + "break;c=x(k[1].length==0?0:parseInt(k[1],10),l[1].length==0?0:parseInt(l[" + "1],10))||x(k[2].length==0,l[2].length==0)||x(k[2],l[2])}while(c==\n0)}ret" + "urn c}function x(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};func" + "tion y(a,b){b.unshift(a);n.call(this,aa.apply(null,b));b.shift();this.j=a" + "}m(y,n);y.prototype.name=\"AssertionError\";function ba(a,b){if(!a){var c" + "=Array.prototype.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=" + "\": \"+b;var e=c}throw new y(\"\"+d,e||[]);}return a};var z=Array.prototy" + "pe,ca=z.indexOf?function(a,b,c){ba(a.length!=null);return z.indexOf.call(" + "a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeo" + "f a==\"string\"){if(typeof b!=\"string\"||b.length!=1)return-1;return a.i" + "ndexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}" + ";var A,B,C,D;function E(){return i.navigator?i.navigator.userAgent:null}D" + "=C=B=A=false;var F;if(F=E()){var da=i.navigator;A=F.indexOf(\"Opera\")==0" + ";B=!A&&F.indexOf(\"MSIE\")!=-1;C=!A&&F.indexOf(\"WebKit\")!=-1;D=!A&&!C&&" + "da.product==\"Gecko\"}var G=B,H=D,ea=C,I;\na:{var J=\"\",K;if(A&&i.opera)" + "{var L=i.opera.version;J=typeof L==\"function\"?L():L}else{if(H)K=/rv\\:(" + "[^\\);]+)(\\)|;)/;else if(G)K=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(ea)K=/W" + "ebKit\\/(\\S+)/;if(K){var M=K.exec(E());J=M?M[1]:\"\"}}if(G){var N,O=i.do" + "cument;N=O?O.documentMode:undefined;if(N>parseFloat(J)){I=String(N);break" + " a}}I=J}var P={};!G||P[\"9\"]||(P[\"9\"]=u(I,\"9\")>=0);G&&(P[\"9\"]||(P[" + "\"9\"]=u(I,\"9\")>=0));function Q(a){return a.nodeType==9?a:a.ownerDocume" + "nt||a.document};var R=\"StopIteration\"in i?i.StopIteration:Error(\"StopI" + "teration\");function fa(){}fa.prototype.next=function(){throw R;};functio" + "n S(a,b,c,d,e){this.a=!!b;a&&T(this,a,d);this.d=e!=undefined?e:this.c||0;" + "if(this.a)this.d*=-1;this.f=!c}m(S,fa);S.prototype.b=null;S.prototype.c=0" + ";S.prototype.e=false;function T(a,b,c,d){if(a.b=b)a.c=typeof c==\"number" + "\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"number\")a.d=d}\nS.prototy" + "pe.next=function(){var a;if(this.e){if(!this.b||this.f&&this.d==0)throw R" + ";a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a.lastChild:a.firs" + "tChild;c?T(this,c):T(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextS" + "ibling)?T(this,c):T(this,a.parentNode,b*-1);this.d+=this.c*(this.a?-1:1)}" + "else this.e=true;a=this.b;if(!this.b)throw R;return a};\nS.prototype.spli" + "ce=function(){var a=this.b,b=this.a?1:-1;if(this.c==b){this.c=b*-1;this.d" + "+=this.c*(this.a?-1:1)}this.a=!this.a;S.prototype.next.call(this);this.a=" + "!this.a;b=arguments[0];var c=j(b);b=c==\"array\"||c==\"object\"&&typeof b" + ".length==\"number\"?arguments[0]:arguments;for(c=b.length-1;c>=0;c--)a.pa" + "rentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&" + "a.parentNode.removeChild(a)};function U(a,b,c,d){S.call(this,a,b,c,null,d" + ")}m(U,S);U.prototype.next=function(){do U.g.next.call(this);while(this.c=" + "=-1);return this.b};String.fromCharCode(160);var ga=G?1:0,ha=[\"dragstart" + "\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction V(a,b,c){var d=Q(a" + "),e=d?d.parentWindow||d.defaultView:window,f=c||{};c=f.x||0;var g=f.y||0," + "h=f.button||ga,o=f.bubble||true,v=null;if(ca(ha,b)>=0)v=f.related||null;v" + "ar w=!!f.alt,k=!!f.control,l=!!f.shift;f=!!f.meta;if(a.fireEvent&&d&&d.cr" + "eateEventObject){a=d.createEventObject();a.altKey=w;a.h=k;a.metaKey=f;a.s" + "hiftKey=l;a.clientX=c;a.clientY=g;a.button=h;a.relatedTarget=v}else{a=d.c" + "reateEvent(\"MouseEvents\");if(a.initMouseEvent)a.initMouseEvent(b,o,true" + ",e,1,0,0,c,g,k,w,l,f,h,v);else{a.initEvent(b,\no,true);a.shiftKey=l;a.met" + "aKey=f;a.altKey=w;a.ctrlKey=k;a.button=h}}return a}function W(a,b,c){var " + "d=Q(a);a=d?d.parentWindow||d.defaultView:window;var e=c||{};c=e.keyCode||" + "0;var f=e.charCode||0,g=!!e.alt,h=!!e.ctrl,o=!!e.shift;e=!!e.meta;if(H){d" + "=d.createEvent(\"KeyboardEvent\");d.initKeyEvent(b,true,true,a,h,g,o,e,c," + "f)}else{if(G)d=d.createEventObject();else{d=d.createEvent(\"Events\");d.i" + "nitEvent(b,true,true);d.charCode=f}d.keyCode=c;d.altKey=g;d.ctrlKey=h;d.m" + "etaKey=e;d.shiftKey=o}return d}\nfunction ia(a,b,c){var d=Q(a),e=c||{};c=" + "e.bubble!==false;var f=!!e.alt,g=!!e.control,h=!!e.shift;e=!!e.meta;if(a." + "fireEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=f;a.i" + "=g;a.metaKey=e;a.shiftKey=h}else{a=d.createEvent(\"HTMLEvents\");a.initEv" + "ent(b,c,true);a.shiftKey=h;a.metaKey=e;a.altKey=f;a.ctrlKey=g}return a}va" + "r X={};X.click=V;X.keydown=W;X.keypress=W;X.keyup=W;X.mousedown=V;X.mouse" + "move=V;X.mouseout=V;X.mouseover=V;X.mouseup=V;function ja(a){a:{a=a;for(v" + "ar b=0;a;){if(a&&a.nodeType==1&&a.tagName.toUpperCase()==\"FORM\"){a=a;br" + "eak a}a=a.parentNode;b++}a=null}if(!a)throw new p(12,\"Element was not in" + " a form, so could not submit.\");b=a;var c=(X.submit||ia)(b,\"submit\",vo" + "id 0),d;if(!(d=j(b.fireEvent)==\"function\")){d=j(b.fireEvent);d=d==\"obj" + "ect\"||d==\"array\"||d==\"function\"}if(d){try{(Q(b)?Q(b).parentWindow||Q" + "(b).defaultView:window).event=c}catch(e){}b=b.fireEvent(\"onsubmit\",c)}e" + "lse b=b.dispatchEvent(c);b&&a.submit()}\nvar Y=\"_\".split(\".\"),Z=i;!(Y" + "[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&(" + "$=Y.shift());)if(!Y.length&&ja!==undefined)Z[$]=ja;else Z=Z[$]?Z[$]:Z[$]=" + "{};; return _.apply(null,arguments);}"; -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&&h<e;h++){var i=d[h]||\"\",m=f[h]||\"\",k=RegExp(\"(", - L"\\\\d*)(\\\\D*)\",\"g\"),r=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var l=", - L"k.exec(i)||[\"\",\"\",\"\"],j=r.exec(m)||[\"\",\"\",\"\"];if(l[0].lengt", - L"h==0&&j[0].length==0)break;b=y(l[1].length==0?0:parseInt(l[1],10),j[1].", - L"length==0?0:parseInt(j[1],10))||y(l[2].length==0,j[2].length==0)||y(l[2", - L"],j[2])}while(b==\n0)}return b}function y(a,c){if(a<c)return-1;else if(", - L"a>c)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<a.length;b++)if(b in a&", - L"&a[b]===c)return b;return-1};var A,B,C,D;function ha(){return q.navigat", - L"or?q.navigator.userAgent:n}D=C=B=A=o;var E;if(E=ha()){var ia=q.navigato", - L"r;A=E.indexOf(\"Opera\")==0;B=!A&&E.indexOf(\"MSIE\")!=-1;C=!A&&E.index", - L"Of(\"WebKit\")!=-1;D=!A&&!C&&ia.product==\"Gecko\"}var ja=A,F=B,ka=D,la", - L"=C,ma=q.navigator,na=(ma&&ma.platform||\"\").indexOf(\"Mac\")!=-1,G=\"", - L"\",H;\nif(ja&&q.opera){var I=q.opera.version;G=typeof I==\"function\"?I", - L"():I}else{if(ka)H=/rv\\:([^\\);]+)(\\)|;)/;else if(F)H=/MSIE\\s+([^\\);", - L"]+)(\\)|;)/;else if(la)H=/WebKit\\/(\\S+)/;if(H){var oa=H.exec(ha());G=", - L"oa?oa[1]:\"\"}}var pa=G,qa={};function J(a){return a.nodeType==9?a:a.ow", - L"nerDocument||a.document};function K(){}K.prototype.r=o;K.prototype.h=fu", - L"nction(){if(!this.r){this.r=g;this.c()}};K.prototype.c=function(){};var", - L" L;function M(a,c){this.type=a;this.currentTarget=this.target=c}w(M,K);", - L"M.prototype.c=function(){delete this.type;delete this.target;delete thi", - L"s.currentTarget};M.prototype.m=o;M.prototype.F=g;function N(a,c){a&&thi", - L"s.k(a,c)}w(N,M);p=N.prototype;p.target=n;p.relatedTarget=n;p.offsetX=0;", - L"p.offsetY=0;p.clientX=0;p.clientY=0;p.screenX=0;p.screenY=0;p.button=0;", - L"p.keyCode=0;p.charCode=0;p.ctrlKey=o;p.altKey=o;p.shiftKey=o;p.metaKey=", - L"o;p.D=o;p.s=n;\np.k=function(a,c){var b=this.type=a.type;this.target=a.", - L"target||a.srcElement;this.currentTarget=c;var d=a.relatedTarget;if(d){i", - L"f(ka)try{d=d.nodeName&&d}catch(f){d=n}}else if(b==\"mouseover\")d=a.fro", - L"mElement;else if(b==\"mouseout\")d=a.toElement;this.relatedTarget=d;thi", - L"s.offsetX=a.offsetX!==undefined?a.offsetX:a.layerX;this.offsetY=a.offse", - L"tY!==undefined?a.offsetY:a.layerY;this.clientX=a.clientX!==undefined?a.", - L"clientX:a.pageX;this.clientY=a.clientY!==undefined?a.clientY:a.pageY;th", - L"is.screenX=a.screenX||0;\nthis.screenY=a.screenY||0;this.button=a.butto", - L"n;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(b==\"keypress\"?", - L"a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=", - L"a.shiftKey;this.metaKey=a.metaKey;this.D=na?a.metaKey:a.ctrlKey;this.s=", - L"a;delete this.F;delete this.m};F&&(qa[\"8\"]||(qa[\"8\"]=fa(pa,\"8\")>=", - 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.length<this.v?this.a.push(a):this.p(a)};p.B=function(", - L"a){if(a>this.v)throw Error(\"[goog.structs.SimplePool] Initial cannot b", - L"e greater than max\");for(var c=0;c<a;c++)this.a.push(this.o())};p.o=fu", - L"nction(){return this.j?this.j():{}};p.p=function(a){if(this.q)this.q(a)", - L";else if(ba(a))if(u(a.h))a.h();else for(var c in a)delete a[c]};\np.c=f", - L"unction(){O.A.c.call(this);for(var a=this.a;a.length;)this.p(a.pop());d", - L"elete this.a};var ra;var sa=(ra=\"ScriptEngine\"in q&&q.ScriptEngine()=", - L"=\"JScript\")?q.ScriptEngineMajorVersion()+\".\"+q.ScriptEngineMinorVer", - L"sion()+\".\"+q.ScriptEngineBuildVersion():\"0\";function ta(){}var ua=0", - L";p=ta.prototype;p.key=0;p.f=o;p.n=o;p.k=function(a,c,b,d,f,e){if(u(a))t", - L"his.u=g;else if(a&&a.handleEvent&&u(a.handleEvent))this.u=o;else throw ", - L"Error(\"Invalid listener argument\");this.l=a;this.z=c;this.src=b;this.", - L"type=d;this.capture=!!f;this.C=e;this.n=o;this.key=++ua;this.f=o};p.han", - L"dleEvent=function(a){if(this.u)return this.l.call(this.C||this.src,a);r", - L"eturn this.l.handleEvent.call(this.l,a)};var P,Q,R,va,S,T,wa,xa;\n(func", - L"tion(){function a(){return{b:0,e:0}}function c(){return[]}function b(){", - L"function j(s){return h.call(j.src,j.key,s)}return j}function d(){return", - L" new ta}function f(){return new N}var e=ra&&!(fa(sa,\"5.7\")>=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<d.length;f++)if(d[f].f){var h=d[f].z;h.src=n;S(h);T(d[f])}e", - L"lse{if(f!=e)d[e]=d[f];e++}d.length=e;d.w=o;if(e==0){R(d);delete V[a][c]", - L"[b];V[a][c].b--;if(V[a][c].b==0){P(V[a][c]);delete V[a][c];V[a].b--}if(", - L"V[a].b==0){P(V[a]);delete V[a]}}}}function Ba(a){if(a in za)return za[a", - L"];return za[a]=\"on\"+a}\nfunction Ca(a,c,b,d,f){var e=1;c=ca(c);if(a[c", - L"]){a.e--;a=a[c];if(a.i)a.i++;else a.i=1;try{for(var h=a.length,i=0;i<h;", - L"i++){var m=a[i];if(m&&!m.f)e&=Da(m,f)!==o}}finally{a.i--;Aa(b,d,c,a)}}r", - L"eturn Boolean(e)}\nfunction Da(a,c){var b=a.handleEvent(c);if(a.n){var ", - L"d=a.key;if(U[d]){var f=U[d];if(!f.f){var e=f.src,h=f.type,i=f.z,m=f.cap", - L"ture;if(e.removeEventListener){if(e==q||!e.I)e.removeEventListener(h,i,", - L"m)}else e.detachEvent&&e.detachEvent(Ba(h),i);e=ca(e);i=V[h][m][e];if(y", - L"a[e]){var k=ya[e],r=ga(k,f);r>=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<l.length&&h.e;s++){k.currentTarget=l", - L"[s];e&=Ca(h,l[s],d,o,k)}}}else e=Da(b,k)}finally{if(l){l.length=0;R(l)}", - L"k.h();xa(k)}return e}d=new N(c,this);try{e=Da(b,d)}finally{d.h()}return", - L" e});function Ea(a,c,b,d){if(typeof d==\"number\")d=(c?Math.round(d):d)", - L"+\"px\";b.style[a]=d}ea(Ea,\"height\",g);ea(Ea,\"width\",g);function Fa", - L"(a,c){x.call(this,c);this.code=a;this.name=Ga[a]||Ga[13]}w(Fa,x);var Ha", - L"={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleEl", - L"ementReferenceError:10,ElementNotVisibleError:11,InvalidElementStateErr", - L"or:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError:19,", - L"NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieError", - L":25},Ia={};for(var Ja in Ha)Ia[Ha[Ja]]=Ja;var Ga=Ia;var Ka=F?0:1,La=[\"", - L"dragstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction W(a,c,b", - L"){var d=J(a),f=d?d.parentWindow||d.defaultView:window;b=b||{};var e=b.x", - L"||0,h=b.y||0,i=b.button||Ka,m=b.bubble||g,k=n;if(ga(La,c)>=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 char* const TOGGLE = + "function(){var i=this;\nfunction j(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}Math.floor(Math.random()*2147483648).toString(36);f" + "unction m(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.pr" + "ototype=new c};function n(a){this.stack=Error().stack||\"\";if(a)this.mes" + "sage=String(a)}m(n,Error);n.prototype.name=\"CustomError\";function p(a,b" + "){n.call(this,b);this.code=a;this.name=q[a]||q[13]}m(p,n);var q,r={NoSuch" + "ElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementRefer" + "enceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Unknow" + "nError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWindowEr" + "ror:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDialogO" + "penedError:26,ModalDialogOpenError:27,ScriptTimeoutError:28},s={};for(var" + " t in r)s[r[t]]=t;q=s;\np.prototype.toString=function(){return\"[\"+this." + "name+\"] \"+this.message};function aa(a){for(var b=1;b<arguments.length;b" + "++){var c=String(arguments[b]).replace(/\\$/g,\"$$$$\");a=a.replace(/\\%s" + "/,c)}return a}\nfunction u(a,b){var c=0,d=String(a).replace(/^[\\s\\xa0]+" + "|[\\s\\xa0]+$/g,\"\").split(\".\"),e=String(b).replace(/^[\\s\\xa0]+|[\\s" + "\\xa0]+$/g,\"\").split(\".\"),f=Math.max(d.length,e.length);for(var g=0;c" + "==0&&g<f;g++){var h=d[g]||\"\",o=e[g]||\"\",v=RegExp(\"(\\\\d*)(\\\\D*)\"" + ",\"g\"),w=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var k=v.exec(h)||[\"\",\"" + "\",\"\"],l=w.exec(o)||[\"\",\"\",\"\"];if(k[0].length==0&&l[0].length==0)" + "break;c=x(k[1].length==0?0:parseInt(k[1],10),l[1].length==0?0:parseInt(l[" + "1],10))||x(k[2].length==0,l[2].length==0)||x(k[2],l[2])}while(c==\n0)}ret" + "urn c}function x(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};func" + "tion y(a,b){b.unshift(a);n.call(this,aa.apply(null,b));b.shift();this.j=a" + "}m(y,n);y.prototype.name=\"AssertionError\";function ba(a,b){if(!a){var c" + "=Array.prototype.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=" + "\": \"+b;var e=c}throw new y(\"\"+d,e||[]);}return a};var z=Array.prototy" + "pe,ca=z.indexOf?function(a,b,c){ba(a.length!=null);return z.indexOf.call(" + "a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeo" + "f a==\"string\"){if(typeof b!=\"string\"||b.length!=1)return-1;return a.i" + "ndexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}" + ";var A,B,C,D;function E(){return i.navigator?i.navigator.userAgent:null}D" + "=C=B=A=false;var F;if(F=E()){var da=i.navigator;A=F.indexOf(\"Opera\")==0" + ";B=!A&&F.indexOf(\"MSIE\")!=-1;C=!A&&F.indexOf(\"WebKit\")!=-1;D=!A&&!C&&" + "da.product==\"Gecko\"}var G=B,H=D,ea=C,I;\na:{var J=\"\",K;if(A&&i.opera)" + "{var L=i.opera.version;J=typeof L==\"function\"?L():L}else{if(H)K=/rv\\:(" + "[^\\);]+)(\\)|;)/;else if(G)K=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(ea)K=/W" + "ebKit\\/(\\S+)/;if(K){var M=K.exec(E());J=M?M[1]:\"\"}}if(G){var N,O=i.do" + "cument;N=O?O.documentMode:undefined;if(N>parseFloat(J)){I=String(N);break" + " a}}I=J}var P={};!G||P[\"9\"]||(P[\"9\"]=u(I,\"9\")>=0);G&&(P[\"9\"]||(P[" + "\"9\"]=u(I,\"9\")>=0));function Q(a){return a.nodeType==9?a:a.ownerDocume" + "nt||a.document};var R=\"StopIteration\"in i?i.StopIteration:Error(\"StopI" + "teration\");function fa(){}fa.prototype.next=function(){throw R;};functio" + "n S(a,b,c,d,e){this.a=!!b;a&&T(this,a,d);this.d=e!=undefined?e:this.c||0;" + "if(this.a)this.d*=-1;this.f=!c}m(S,fa);S.prototype.b=null;S.prototype.c=0" + ";S.prototype.e=false;function T(a,b,c,d){if(a.b=b)a.c=typeof c==\"number" + "\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"number\")a.d=d}\nS.prototy" + "pe.next=function(){var a;if(this.e){if(!this.b||this.f&&this.d==0)throw R" + ";a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a.lastChild:a.firs" + "tChild;c?T(this,c):T(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextS" + "ibling)?T(this,c):T(this,a.parentNode,b*-1);this.d+=this.c*(this.a?-1:1)}" + "else this.e=true;a=this.b;if(!this.b)throw R;return a};\nS.prototype.spli" + "ce=function(){var a=this.b,b=this.a?1:-1;if(this.c==b){this.c=b*-1;this.d" + "+=this.c*(this.a?-1:1)}this.a=!this.a;S.prototype.next.call(this);this.a=" + "!this.a;b=arguments[0];var c=j(b);b=c==\"array\"||c==\"object\"&&typeof b" + ".length==\"number\"?arguments[0]:arguments;for(c=b.length-1;c>=0;c--)a.pa" + "rentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&" + "a.parentNode.removeChild(a)};function U(a,b,c,d){S.call(this,a,b,c,null,d" + ")}m(U,S);U.prototype.next=function(){do U.g.next.call(this);while(this.c=" + "=-1);return this.b};String.fromCharCode(160);var ga=G?1:0,ha=[\"dragstart" + "\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction V(a,b,c){var d=Q(a" + "),e=d?d.parentWindow||d.defaultView:window,f=c||{};c=f.x||0;var g=f.y||0," + "h=f.button||ga,o=f.bubble||true,v=null;if(ca(ha,b)>=0)v=f.related||null;v" + "ar w=!!f.alt,k=!!f.control,l=!!f.shift;f=!!f.meta;if(a.fireEvent&&d&&d.cr" + "eateEventObject){a=d.createEventObject();a.altKey=w;a.h=k;a.metaKey=f;a.s" + "hiftKey=l;a.clientX=c;a.clientY=g;a.button=h;a.relatedTarget=v}else{a=d.c" + "reateEvent(\"MouseEvents\");if(a.initMouseEvent)a.initMouseEvent(b,o,true" + ",e,1,0,0,c,g,k,w,l,f,h,v);else{a.initEvent(b,\no,true);a.shiftKey=l;a.met" + "aKey=f;a.altKey=w;a.ctrlKey=k;a.button=h}}return a}function W(a,b,c){var " + "d=Q(a);a=d?d.parentWindow||d.defaultView:window;var e=c||{};c=e.keyCode||" + "0;var f=e.charCode||0,g=!!e.alt,h=!!e.ctrl,o=!!e.shift;e=!!e.meta;if(H){d" + "=d.createEvent(\"KeyboardEvent\");d.initKeyEvent(b,true,true,a,h,g,o,e,c," + "f)}else{if(G)d=d.createEventObject();else{d=d.createEvent(\"Events\");d.i" + "nitEvent(b,true,true);d.charCode=f}d.keyCode=c;d.altKey=g;d.ctrlKey=h;d.m" + "etaKey=e;d.shiftKey=o}return d}\nfunction ia(a,b,c){var d=Q(a),e=c||{};c=" + "e.bubble!==false;var f=!!e.alt,g=!!e.control,h=!!e.shift;e=!!e.meta;if(a." + "fireEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=f;a.i" + "=g;a.metaKey=e;a.shiftKey=h}else{a=d.createEvent(\"HTMLEvents\");a.initEv" + "ent(b,c,true);a.shiftKey=h;a.metaKey=e;a.altKey=f;a.ctrlKey=g}return a}va" + "r X={};X.click=V;X.keydown=W;X.keypress=W;X.keyup=W;X.mousedown=V;X.mouse" + "move=V;X.mouseout=V;X.mouseover=V;X.mouseup=V;function ja(a){a:{a=a;for(v" + "ar b=0;a;){if(a&&a.nodeType==1&&a.tagName.toUpperCase()==\"FORM\"){a=a;br" + "eak a}a=a.parentNode;b++}a=null}if(!a)throw new p(12,\"Element was not in" + " a form, so could not submit.\");b=a;var c=(X.submit||ia)(b,\"submit\",vo" + "id 0),d;if(!(d=j(b.fireEvent)==\"function\")){d=j(b.fireEvent);d=d==\"obj" + "ect\"||d==\"array\"||d==\"function\"}if(d){try{(Q(b)?Q(b).parentWindow||Q" + "(b).defaultView:window).event=c}catch(e){}b=b.fireEvent(\"onsubmit\",c)}e" + "lse b=b.dispatchEvent(c);b&&a.submit()}\nvar Y=\"_\".split(\".\"),Z=i;!(Y" + "[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&(" + "$=Y.shift());)if(!Y.length&&ja!==undefined)Z[$]=ja;else Z=Z[$]?Z[$]:Z[$]=" + "{};; return _.apply(null,arguments);}"; -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&&h<e;h++){var i=d[h]||\"\",p=f[h]||\"\",k=RegExp(\"(\\\\d", - L"*)(\\\\D*)\",\"g\"),r=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var m=k.exe", - L"c(i)||[\"\",\"\",\"\"],j=r.exec(p)||[\"\",\"\",\"\"];if(m[0].length==0&", - L"&j[0].length==0)break;b=z(m[1].length==0?0:parseInt(m[1],10),j[1].lengt", - L"h==0?0:parseInt(j[1],10))||z(m[2].length==0,j[2].length==0)||z(m[2],j[2", - L"])}while(b==\n0)}return b}function z(a,c){if(a<c)return-1;else if(a>c)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<a.length;b++)if(b in a&&a[b]=", - L"==c)return b;return-1};function C(a,c){this.width=a;this.height=c}C.pro", - L"totype.floor=function(){this.width=Math.floor(this.width);this.height=M", - L"ath.floor(this.height);return this};C.prototype.round=function(){this.w", - L"idth=Math.round(this.width);this.height=Math.round(this.height);return ", - L"this};var D,E,F,G;function fa(){return q.navigator?q.navigator.userAgen", - L"t:l}G=F=E=D=n;var H;if(H=fa()){var ga=q.navigator;D=H.indexOf(\"Opera\"", - L")==0;E=!D&&H.indexOf(\"MSIE\")!=-1;F=!D&&H.indexOf(\"WebKit\")!=-1;G=!D", - L"&&!F&&ga.product==\"Gecko\"}var ha=D,I=E,ia=G,ja=F,ka=q.navigator,la=(k", - L"a&&ka.platform||\"\").indexOf(\"Mac\")!=-1,ma=\"\",J;\nif(ha&&q.opera){", - L"var na=q.opera.version;ma=typeof na==\"function\"?na():na}else{if(ia)J=", - L"/rv\\:([^\\);]+)(\\)|;)/;else if(I)J=/MSIE\\s+([^\\);]+)(\\)|;)/;else i", - L"f(ja)J=/WebKit\\/(\\S+)/;if(J){var oa=J.exec(fa());ma=oa?oa[1]:\"\"}}va", - L"r pa=ma,K={};function L(a){return a.nodeType==9?a:a.ownerDocument||a.do", - L"cument};function M(){}M.prototype.r=n;M.prototype.h=function(){if(!this", - L".r){this.r=g;this.c()}};M.prototype.c=function(){};var qa;function N(a,", - L"c){this.type=a;this.currentTarget=this.target=c}w(N,M);N.prototype.c=fu", - L"nction(){delete this.type;delete this.target;delete this.currentTarget}", - L";N.prototype.m=n;N.prototype.F=g;function O(a,c){a&&this.k(a,c)}w(O,N);", - L"o=O.prototype;o.target=l;o.relatedTarget=l;o.offsetX=0;o.offsetY=0;o.cl", - L"ientX=0;o.clientY=0;o.screenX=0;o.screenY=0;o.button=0;o.keyCode=0;o.ch", - L"arCode=0;o.ctrlKey=n;o.altKey=n;o.shiftKey=n;o.metaKey=n;o.D=n;o.s=l;\n", - L"o.k=function(a,c){var b=this.type=a.type;this.target=a.target||a.srcEle", - L"ment;this.currentTarget=c;var d=a.relatedTarget;if(d){if(ia)try{d=d.nod", - L"eName&&d}catch(f){d=l}}else if(b==\"mouseover\")d=a.fromElement;else if", - L"(b==\"mouseout\")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offs", - L"etX!==undefined?a.offsetX:a.layerX;this.offsetY=a.offsetY!==undefined?a", - L".offsetY:a.layerY;this.clientX=a.clientX!==undefined?a.clientX:a.pageX;", - L"this.clientY=a.clientY!==undefined?a.clientY:a.pageY;this.screenX=a.scr", - L"eenX||0;\nthis.screenY=a.screenY||0;this.button=a.button;this.keyCode=a", - L".keyCode||0;this.charCode=a.charCode||(b==\"keypress\"?a.keyCode:0);thi", - L"s.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.", - L"metaKey=a.metaKey;this.D=la?a.metaKey:a.ctrlKey;this.s=a;delete this.F;", - L"delete this.m};I&&(K[\"8\"]||(K[\"8\"]=y(pa,\"8\")>=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"ength<this.v?this.a.push(a):this.p(a)};o.B=function(a){if(a>this.v)thro", - L"w Error(\"[goog.structs.SimplePool] Initial cannot be greater than max", - L"\");for(var c=0;c<a;c++)this.a.push(this.o())};o.o=function(){return th", - L"is.j?this.j():{}};o.p=function(a){if(this.q)this.q(a);else if(ba(a))if(", - L"u(a.h))a.h();else for(var c in a)delete a[c]};\no.c=function(){P.A.c.ca", - L"ll(this);for(var a=this.a;a.length;)this.p(a.pop());delete this.a};var ", - L"ra;var sa=(ra=\"ScriptEngine\"in q&&q.ScriptEngine()==\"JScript\")?q.Sc", - L"riptEngineMajorVersion()+\".\"+q.ScriptEngineMinorVersion()+\".\"+q.Scr", - L"iptEngineBuildVersion():\"0\";function ta(){}var ua=0;o=ta.prototype;o.", - L"key=0;o.f=n;o.n=n;o.k=function(a,c,b,d,f,e){if(u(a))this.u=g;else if(a&", - L"&a.handleEvent&&u(a.handleEvent))this.u=n;else throw Error(\"Invalid li", - L"stener argument\");this.l=a;this.z=c;this.src=b;this.type=d;this.captur", - L"e=!!f;this.C=e;this.n=n;this.key=++ua;this.f=n};o.handleEvent=function(", - L"a){if(this.u)return this.l.call(this.C||this.src,a);return this.l.handl", - L"eEvent.call(this.l,a)};var Q,va,R,wa,xa,ya,za,Aa;\n(function(){function", - L" a(){return{b:0,e:0}}function c(){return[]}function b(){function j(s){r", - L"eturn h.call(j.src,j.key,s)}return j}function d(){return new ta}functio", - L"n f(){return new O}var e=ra&&!(y(sa,\"5.7\")>=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<d.length;f++)if(d[f].f){var h=d[f].z;h.src=l;xa(h);ya(d[f])}else{if(f", - L"!=e)d[e]=d[f];e++}d.length=e;d.w=n;if(e==0){R(d);delete T[a][c][b];T[a]", - L"[c].b--;if(T[a][c].b==0){Q(T[a][c]);delete T[a][c];T[a].b--}if(T[a].b==", - L"0){Q(T[a]);delete T[a]}}}}function Ea(a){if(a in Ca)return Ca[a];return", - L" Ca[a]=\"on\"+a}\nfunction Fa(a,c,b,d,f){var e=1;c=ca(c);if(a[c]){a.e--", - L";a=a[c];if(a.i)a.i++;else a.i=1;try{for(var h=a.length,i=0;i<h;i++){var", - L" p=a[i];if(p&&!p.f)e&=Ga(p,f)!==n}}finally{a.i--;Da(b,d,c,a)}}return Bo", - L"olean(e)}\nfunction Ga(a,c){var b=a.handleEvent(c);if(a.n){var d=a.key;", - L"if(S[d]){var f=S[d];if(!f.f){var e=f.src,h=f.type,i=f.z,p=f.capture;if(", - L"e.removeEventListener){if(e==q||!e.I)e.removeEventListener(h,i,p)}else ", - L"e.detachEvent&&e.detachEvent(Ea(h),i);e=ca(e);i=T[h][p][e];if(Ba[e]){va", - L"r k=Ba[e],r=B(k,f);r>=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<m.length&&h.e;s++){k.currentTarget=m[s];e", - L"&=Fa(h,m[s],d,n,k)}}}else e=Ga(b,k)}finally{if(m){m.length=0;R(m)}k.h()", - L";Aa(k)}return e}d=new O(c,this);try{e=Ga(b,d)}finally{d.h()}return e});", - L"function Ha(a,c){var b=L(a);if(b.defaultView&&b.defaultView.getComputed", - L"Style)if(b=b.defaultView.getComputedStyle(a,\"\"))return b[c];return l}", - L"function Ia(a,c,b,d){if(typeof d==\"number\")d=(c?Math.round(d):d)+\"px", - L"\";b.style[a]=d}ea(Ia,\"height\",g);ea(Ia,\"width\",g);\nfunction Ja(a)", - L"{var c=ha&&!(K[\"10\"]||(K[\"10\"]=y(pa,\"10\")>=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__ +} // namespace atoms +} // namespace webdriver +#endif // WEBDRIVER_ATOMS_H_ |