// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef THIRD_PARTY_WEBDRIVER_ATOMS_H__
#define THIRD_PARTY_WEBDRIVER_ATOMS_H__

#include <stddef.h>  // For wchar_t

namespace webdriver {

const wchar_t* const CLEAR[] = {
    L"var clear=function(){var g=true,l=null,n=false,p,q=this;function t(){}",
    L"\nfunction aa(a){var b=typeof a;if(b==\"object\")if(a){if(a instanceof ",
    L"Array||!(a instanceof Object)&&Object.prototype.toString.call(a)==\"[ob",
    L"ject Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefine",
    L"d\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumera",
    L"ble(\"splice\"))return\"array\";if(!(a instanceof Object)&&(Object.prot",
    L"otype.toString.call(a)==\"[object Function]\"||typeof a.call!=\"undefin",
    L"ed\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumer",
    L"able(\"call\")))return\"function\"}else return\"null\";\nelse if(b==\"f",
    L"unction\"&&typeof a.call==\"undefined\")return\"object\";return b}funct",
    L"ion u(a){return aa(a)==\"function\"}function ba(a){a=aa(a);return a==\"",
    L"object\"||a==\"array\"||a==\"function\"}function ca(a){if(a.hasOwnPrope",
    L"rty&&a.hasOwnProperty(v))return a[v];a[v]||(a[v]=++da);return a[v]}var ",
    L"v=\"closure_uid_\"+Math.floor(Math.random()*2147483648).toString(36),da",
    L"=0;\nfunction ea(a){var b=Array.prototype.slice.call(arguments,1);retur",
    L"n function(){var c=Array.prototype.slice.call(arguments);c.unshift.appl",
    L"y(c,b);return a.apply(this,c)}}function w(a,b){function c(){}c.prototyp",
    L"e=b.prototype;a.A=b.prototype;a.prototype=new c};function x(a){this.sta",
    L"ck=Error().stack||\"\";if(a)this.message=String(a)}w(x,Error);x.prototy",
    L"pe.name=\"CustomError\";function y(a,b){for(var c=0,d=String(a).replace",
    L"(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),f=String(b).replace(/^",
    L"[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),e=Math.max(d.length,f.len",
    L"gth),h=0;c==0&&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 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 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 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 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 wchar_t* const GET_EFFECTIVE_STYLE[] = {
    L"var getEffectiveStyle=function(){var e=this;function f(a){var d=Array.p",
    L"rototype.slice.call(arguments,1);return function(){var b=Array.prototyp",
    L"e.slice.call(arguments);b.unshift.apply(b,d);return a.apply(this,b)}};v",
    L"ar g,h,i,j;function k(){return e.navigator?e.navigator.userAgent:null}j",
    L"=i=h=g=false;var l;if(l=k()){var m=e.navigator;g=l.indexOf(\"Opera\")==",
    L"0;h=!g&&l.indexOf(\"MSIE\")!=-1;i=!g&&l.indexOf(\"WebKit\")!=-1;j=!g&&!",
    L"i&&m.product==\"Gecko\"}var n=h,o=j,p=i,q=\"\",r;if(g&&e.opera){var s=e",
    L".opera.version;q=typeof s==\"function\"?s():s}else{if(o)r=/rv\\:([^\\);",
    L"]+)(\\)|;)/;else if(n)r=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(p)r=/WebKit",
    L"\\/(\\S+)/;if(r){var t=r.exec(k());q=t?t[1]:\"\"}};function u(a,d,b,c){",
    L"if(typeof c==\"number\")c=(d?Math.round(c):c)+\"px\";b.style[a]=c}f(u,",
    L"\"height\",true);f(u,\"width\",true);var v={};function w(a){return v[a]",
    L"||(v[a]=String(a).replace(/\\-([a-z])/g,function(d,b){return b.toUpperC",
    L"ase()}))};function x(a,d){d=w(d);var b;a:{b=d;var c=a.nodeType==9?a:a.o",
    L"wnerDocument||a.document;if(c.defaultView&&c.defaultView.getComputedSty",
    L"le)if(c=c.defaultView.getComputedStyle(a,\"\")){b=c[b];break a}b=null}r",
    L"eturn b||(a.currentStyle?a.currentStyle[d]:null)||(a.style?a.style[d]:u",
    L"ndefined)}var y=\"_\".split(\".\"),z=e;!(y[0]in z)&&z.execScript&&z.exe",
    L"cScript(\"var \"+y[0]);for(var A;y.length&&(A=y.shift());)if(!y.length&",
    L"&x!==undefined)z[A]=x;else z=z[A]?z[A]:z[A]={};return _.apply(null,argu",
    L"ments);};\n",
    NULL
};

const wchar_t* const GET_LOCATION[] = {
    L"var getLocation=function(){var f=this;function g(a){var b=Array.prototy",
    L"pe.slice.call(arguments,1);return function(){var c=Array.prototype.slic",
    L"e.call(arguments);c.unshift.apply(c,b);return a.apply(this,c)}};functio",
    L"n h(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0};var i,j,k,l",
    L";function m(){return f.navigator?f.navigator.userAgent:null}l=k=j=i=fal",
    L"se;var n;if(n=m()){var o=f.navigator;i=n.indexOf(\"Opera\")==0;j=!i&&n.",
    L"indexOf(\"MSIE\")!=-1;k=!i&&n.indexOf(\"WebKit\")!=-1;l=!i&&!k&&o.produ",
    L"ct==\"Gecko\"}var p=i,q=j,r=l,s=k,u=\"\",v;if(p&&f.opera){var w=f.opera",
    L".version;u=typeof w==\"function\"?w():w}else{if(r)v=/rv\\:([^\\);]+)(",
    L"\\)|;)/;else if(q)v=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(s)v=/WebKit\\/(",
    L"\\S+)/;if(v){var x=v.exec(m());u=x?x[1]:\"\"}};var y;function z(a){retu",
    L"rn a.nodeType==9?a:a.ownerDocument||a.document}function A(a){this.a=a||",
    L"f.document||document}A.prototype.c=function(){return this.a.compatMode=",
    L"=\"CSS1Compat\"};A.prototype.b=function(){var a=!s&&this.a.compatMode==",
    L"\"CSS1Compat\"?this.a.documentElement:this.a.body;return new h(a.scroll",
    L"Left,a.scrollTop)};function B(a,b){var c;a:{c=z(a);if(c.defaultView&&c.",
    L"defaultView.getComputedStyle)if(c=c.defaultView.getComputedStyle(a,\"\"",
    L")){c=c[b];break a}c=null}return c||(a.currentStyle?a.currentStyle[b]:nu",
    L"ll)||a.style[b]}\nfunction C(a){if(q)return a.offsetParent;var b=z(a),c",
    L"=B(a,\"position\"),e=c==\"fixed\"||c==\"absolute\";for(a=a.parentNode;a",
    L"&&a!=b;a=a.parentNode){c=B(a,\"position\");e=e&&c==\"static\"&&a!=b.doc",
    L"umentElement&&a!=b.body;if(!e&&(a.scrollWidth>a.clientWidth||a.scrollHe",
    L"ight>a.clientHeight||c==\"fixed\"||c==\"absolute\"))return a}return nul",
    L"l}function D(a,b,c,e){if(typeof e==\"number\")e=(b?Math.round(e):e)+\"p",
    L"x\";c.style[a]=e}g(D,\"height\",true);g(D,\"width\",true);function E(a)",
    L"{var b,c=z(a),e=B(a,\"position\"),I=r&&c.getBoxObjectFor&&!a.getBoundin",
    L"gClientRect&&e==\"absolute\"&&(b=c.getBoxObjectFor(a))&&(b.screenX<0||b",
    L".screenY<0),d=new h(0,0),t;b=c?c.nodeType==9?c:z(c):document;t=q&&!(b?n",
    L"ew A(z(b)):y||(y=new A)).c()?b.body:b.documentElement;if(a==t)return d;",
    L"if(a.getBoundingClientRect){b=a.getBoundingClientRect();if(q){a=a.owner",
    L"Document;b.left-=a.documentElement.clientLeft+a.body.clientLeft;b.top-=",
    L"a.documentElement.clientTop+a.body.clientTop}b=b;c=(c?new A(z(c)):\ny||",
    L"(y=new A)).b();d.x=b.left+c.x;d.y=b.top+c.y}else if(c.getBoxObjectFor&&",
    L"!I){b=c.getBoxObjectFor(a);c=c.getBoxObjectFor(t);d.x=b.screenX-c.scree",
    L"nX;d.y=b.screenY-c.screenY}else{b=a;do{d.x+=b.offsetLeft;d.y+=b.offsetT",
    L"op;if(b!=a){d.x+=b.clientLeft||0;d.y+=b.clientTop||0}if(s&&B(b,\"positi",
    L"on\")==\"fixed\"){d.x+=c.body.scrollLeft;d.y+=c.body.scrollTop;break}b=",
    L"b.offsetParent}while(b&&b!=a);if(p||s&&e==\"absolute\")d.y-=c.body.offs",
    L"etTop;for(b=a;(b=C(b))&&b!=c.body&&b!=t;){d.x-=b.scrollLeft;if(!p||b.ta",
    L"gName!=\n\"TR\")d.y-=b.scrollTop}}return d}var F=\"_\".split(\".\"),G=f",
    L";!(F[0]in G)&&G.execScript&&G.execScript(\"var \"+F[0]);for(var H;F.len",
    L"gth&&(H=F.shift());)if(!F.length&&E!==undefined)G[H]=E;else G=G[H]?G[H]",
    L":G[H]={};return _.apply(null,arguments);};\n",
    NULL
};

const wchar_t* const GET_PROPERTY[] = {
    L"var getProperty=function(){var a=this;function b(e){var c=Array.prototy",
    L"pe.slice.call(arguments,1);return function(){var f=Array.prototype.slic",
    L"e.call(arguments);f.unshift.apply(f,c);return e.apply(this,f)}};var d,g",
    L",i,j;function k(){return a.navigator?a.navigator.userAgent:null}j=i=g=d",
    L"=false;var l;if(l=k()){var m=a.navigator;d=l.indexOf(\"Opera\")==0;g=!d",
    L"&&l.indexOf(\"MSIE\")!=-1;i=!d&&l.indexOf(\"WebKit\")!=-1;j=!d&&!i&&m.p",
    L"roduct==\"Gecko\"}var n=g,o=j,p=i,q=\"\",r;if(d&&a.opera){var s=a.opera",
    L".version;q=typeof s==\"function\"?s():s}else{if(o)r=/rv\\:([^\\);]+)(",
    L"\\)|;)/;else if(n)r=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(p)r=/WebKit\\/(",
    L"\\S+)/;if(r){var t=r.exec(k());q=t?t[1]:\"\"}};function u(e,c,f,h){if(t",
    L"ypeof h==\"number\")h=(c?Math.round(h):h)+\"px\";f.style[e]=h}b(u,\"hei",
    L"ght\",true);b(u,\"width\",true);var v={\"class\":\"className\",readonly",
    L":\"readOnly\"};function w(e,c){return e[v[c]||c]}var x=\"_\".split(\".",
    L"\"),y=a;!(x[0]in y)&&y.execScript&&y.execScript(\"var \"+x[0]);for(var ",
    L"z;x.length&&(z=x.shift());)if(!x.length&&w!==undefined)y[z]=w;else y=y[",
    L"z]?y[z]:y[z]={};return _.apply(null,arguments);};\n",
    NULL
};

const wchar_t* const GET_SIZE[] = {
    L"var getSize=function(){var e=this;function f(a){var c=Array.prototype.s",
    L"lice.call(arguments,1);return function(){var b=Array.prototype.slice.ca",
    L"ll(arguments);b.unshift.apply(b,c);return a.apply(this,b)}};function g(",
    L"a,c){if(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 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 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 wchar_t* const IS_SELECTED[] = {
    L"var isSelected=function(){var b=this;function c(d){var a=Array.prototyp",
    L"e.slice.call(arguments,1);return function(){var f=Array.prototype.slice",
    L".call(arguments);f.unshift.apply(f,a);return d.apply(this,f)}};var e,g,",
    L"i,j;function k(){return b.navigator?b.navigator.userAgent:null}j=i=g=e=",
    L"false;var l;if(l=k()){var m=b.navigator;e=l.indexOf(\"Opera\")==0;g=!e&",
    L"&l.indexOf(\"MSIE\")!=-1;i=!e&&l.indexOf(\"WebKit\")!=-1;j=!e&&!i&&m.pr",
    L"oduct==\"Gecko\"}var n=g,o=j,p=i,q=\"\",r;if(e&&b.opera){var s=b.opera.",
    L"version;q=typeof s==\"function\"?s():s}else{if(o)r=/rv\\:([^\\);]+)(\\)",
    L"|;)/;else if(n)r=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(p)r=/WebKit\\/(\\S",
    L"+)/;if(r){var t=r.exec(k());q=t?t[1]:\"\"}};function u(d,a,f,h){if(type",
    L"of h==\"number\")h=(a?Math.round(h):h)+\"px\";f.style[d]=h}c(u,\"height",
    L"\",true);c(u,\"width\",true);var v={\"class\":\"className\",readonly:\"",
    L"readOnly\"};function w(d){var a=d[v.checked||\"checked\"];if(typeof a==",
    L"\"boolean\")return a;a=d[v.selected||\"selected\"];if(typeof a==\"boole",
    L"an\")return a;throw Error(\"Element has neither checked nor selected pr",
    L"operties\");}var x=\"_\".split(\".\"),y=b;!(x[0]in y)&&y.execScript&&y.",
    L"execScript(\"var \"+x[0]);for(var z;x.length&&(z=x.shift());)if(!x.leng",
    L"th&&w!==undefined)y[z]=w;else y=y[z]?y[z]:y[z]={};return _.apply(null,a",
    L"rguments);};\n",
    NULL
};

const wchar_t* const IS_SHOWN[] = {
    L"var isShown=function(){var f=null,g=false,h=this;function i(a){var b=Ar",
    L"ray.prototype.slice.call(arguments,1);return function(){var d=Array.pro",
    L"totype.slice.call(arguments);d.unshift.apply(d,b);return a.apply(this,d",
    L")}};function k(a,b){if(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 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 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 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__