diff --git a/Rakefile b/Rakefile index 1573c5b79537e..4110121eb8721 100644 --- a/Rakefile +++ b/Rakefile @@ -208,6 +208,7 @@ task :test_py => [ ] task :test_dotnet => [ + "//dotnet/test:unit:run", "//dotnet/test:firefox:run" ] diff --git a/WebDriver.sln b/WebDriver.sln index aaeb53678c8f2..35072d113d4cc 100644 --- a/WebDriver.sln +++ b/WebDriver.sln @@ -66,7 +66,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebDriver", "dotnet\src\Web EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "webdriver-server", "cpp\webdriver-server\webdriver-server.vcxproj", "{35A23A16-EF17-4CC3-8854-785025A304F3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebDriver.Remote.UnitTests", "dotnet\test\WebDriver.Remote.UnitTests\WebDriver.Remote.UnitTests.csproj", "{D9387770-DA92-4898-801F-F61255739D38}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebDriver.UnitTests", "dotnet\test\WebDriver.UnitTests\WebDriver.UnitTests.csproj", "{D9387770-DA92-4898-801F-F61255739D38}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/cpp/IEDriver/Generated/atoms.h b/cpp/IEDriver/Generated/atoms.h index b67d4e3bf0919..9bea8440f3d85 100644 --- a/cpp/IEDriver/Generated/atoms.h +++ b/cpp/IEDriver/Generated/atoms.h @@ -1,2716 +1,2716 @@ -/* - * Copyright 2011 WebDriver committers - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* AUTO GENERATED - DO NOT EDIT BY HAND */ -#ifndef WEBDRIVER_ATOMS_H_ -#define WEBDRIVER_ATOMS_H_ - -#include // For wchar_t. -#include // For std::(w)string. - -namespace webdriver { -namespace atoms { - -const wchar_t* const CLICK[] = { - L"function(){return function(){function g(a){throw a;}var i=void 0,j=nul", - L"l;function m(a){return function(){return this[a]}}function n(a){return", - L" function(){return a}}var o,q=this;\nfunction s(a){var b=typeof a;if(b", - L"==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a ins", - L"tanceof Object)return b;var c=Object.prototype.toString.call(a);if(c==", - L"\"[object Window]\")return\"object\";if(c==\"[object Array]\"||typeof ", - L"a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propert", - L"yIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))retu", - L"rn\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&", - L"&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable", - L"(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"funct", - L"ion\"&&typeof a.call==\"undefined\")return\"object\";return b}function", - L" aa(a){var b=s(a);return b==\"array\"||b==\"object\"&&typeof a.length=", - L"=\"number\"}function t(a){return typeof a==\"string\"}function v(a){re", - L"turn s(a)==\"function\"}function ba(a){a=s(a);return a==\"object\"||a=", - L"=\"array\"||a==\"function\"}var ca=\"closure_uid_\"+Math.floor(Math.ra", - L"ndom()*2147483648).toString(36),da=0,ea=Date.now||function(){return+ne", - L"w Date};\nfunction w(a,b){function c(){}c.prototype=b.prototype;a.W=b.", - L"prototype;a.prototype=new c};function fa(a){for(var b=1;b\")!=-1&&(a=a.replace(la,\">\"));a.", - L"indexOf('\"')!=-1&&(a=a.replace(ma,\""\"));return a}var ja=/&/g,k", - L"a=//g,ma=/\\\"/g,ia=/[&<>\\\"]/;\nfunction na(a,b){if(ab)return 1;return 0}var oa=Math.random()*2147483648|0,", - L"pa={};function qa(a){return pa[a]||(pa[a]=String(a).replace(/\\-([a-z]", - L")/g,function(a,c){return c.toUpperCase()}))};var ra,sa,ta,ua=q.navigat", - L"or;ta=ua&&ua.platform||\"\";ra=ta.indexOf(\"Mac\")!=-1;sa=ta.indexOf(", - L"\"Win\")!=-1;var va=ta.indexOf(\"Linux\")!=-1,wa;var xa=\"\",ya=/MSIE", - L"\\s+([^\\);]+)(\\)|;)/.exec(q.navigator?q.navigator.userAgent:j),xa=ya", - L"?ya[1]:\"\",za,Aa=q.document;za=Aa?Aa.documentMode:i;wa=za>parseFloat(", - L"xa)?String(za):xa;var Ba={};\nfunction x(a){var b;if(!(b=Ba[a])){b=0;f", - L"or(var c=ga(String(wa)).split(\".\"),d=ga(String(a)).split(\".\"),e=Ma", - L"th.max(c.length,d.length),f=0;b==0&&f=0}return b}var", - L" Ca={};\nfunction Da(){return Ca[9]||(Ca[9]=document.documentMode&&doc", - L"ument.documentMode>=9)};var Ea=window;function y(a){this.stack=Error()", - L".stack||\"\";if(a)this.message=String(a)}w(y,Error);y.prototype.name=", - L"\"CustomError\";function Fa(a,b){for(var c in a)b.call(i,a[c],c,a)}var", - L" Ga=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIs", - L"Enumerable\",\"toLocaleString\",\"toString\",\"valueOf\"];function Ha(", - L"a){for(var b,c,d=1;d=0||(d.push(c[f]),e++);d=e==c.length;a.className=b.join(\" ", - L"\");return d};function C(a,b){this.x=a!==i?a:0;this.y=b!==i?b:0}C.prot", - L"otype.toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};func", - L"tion ab(a,b){this.width=a;this.height=b}ab.prototype.toString=function", - L"(){return\"(\"+this.width+\" x \"+this.height+\")\"};ab.prototype.floo", - L"r=function(){this.width=Math.floor(this.width);this.height=Math.floor(", - L"this.height);return this};var D=3;function E(a){return a?new bb(F(a)):", - L"Ya||(Ya=new bb)}function cb(a,b){Fa(b,function(c,b){b==\"style\"?a.sty", - L"le.cssText=c:b==\"class\"?a.className=c:b==\"for\"?a.htmlFor=c:b in db", - L"?a.setAttribute(db[b],c):a[b]=c})}var db={cellpadding:\"cellPadding\",", - L"cellspacing:\"cellSpacing\",colspan:\"colSpan\",rowspan:\"rowSpan\",va", - L"lign:\"vAlign\",height:\"height\",width:\"width\",usemap:\"useMap\",fr", - L"ameborder:\"frameBorder\",maxlength:\"maxLength\",type:\"type\"};funct", - L"ion G(a){return a?a.parentWindow||a.defaultView:window}\nfunction eb(a", - L",b,c){function d(c){c&&b.appendChild(t(c)?a.createTextNode(c):c)}for(v", - L"ar e=2;e0)?Qa(gb(", - L"f)?Wa(f):f,d):d(f)}}function hb(a){return a&&a.parentNode?a.parentNode", - L".removeChild(a):j}function H(a,b){if(a.contains&&b.nodeType==1)return ", - L"a==b||a.contains(b);if(typeof a.compareDocumentPosition!=\"undefined\"", - L")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b", - L"=b.parentNode;return b==a}\nfunction ib(a,b){if(a==b)return 0;if(a.com", - L"pareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"s", - L"ourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=", - L"a.nodeType==1,d=b.nodeType==1;if(c&&d)return a.sourceIndex-b.sourceInd", - L"ex;else{var e=a.parentNode,f=b.parentNode;if(e==f)return jb(a,b);if(!c", - L"&&H(e,b))return-1*kb(a,b);if(!d&&H(f,a))return kb(b,a);return(c?a.sour", - L"ceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}}d=F(a);c=d.cre", - L"ateRange();c.selectNode(a);c.collapse(!0);d=\nd.createRange();d.select", - L"Node(b);d.collapse(!0);return c.compareBoundaryPoints(q.Range.START_TO", - L"_END,d)}function kb(a,b){var c=a.parentNode;if(c==b)return-1;for(var d", - L"=b;d.parentNode!=c;)d=d.parentNode;return jb(d,a)}function jb(a,b){for", - L"(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}\nfunction lb(", - L"){var a,b=arguments.length;if(b){if(b==1)return arguments[0]}else retu", - L"rn j;var c=[],d=Infinity;for(a=0;a\")", - L";c=c.join(\"\")}c=a.createElement(c);if(d)t(d)?c.className=d:s(d)==\"a", - L"rray\"?$a.apply(j,[c].concat(d)):cb(c,d);b.length>2&&eb(a,c,b);return ", - L"c};o.createElement=function(a){return this.s.createElement(a)};o.creat", - L"eTextNode=function(a){return this.s.createTextNode(a)};\no.ia=function", - L"(){return this.s.parentWindow||this.s.defaultView};function pb(a){var ", - L"b=a.s,a=b.compatMode==\"CSS1Compat\"?b.documentElement:b.body,b=b.pare", - L"ntWindow||b.defaultView;return new C(b.pageXOffset||a.scrollLeft,b.pag", - L"eYOffset||a.scrollTop)}o.appendChild=function(a,b){a.appendChild(b)};o", - L".removeNode=hb;o.contains=H;var qb={ea:function(a,b,c){var d=F(a);if(!", - L"d.implementation.hasFeature(\"XPath\",\"3.0\"))return j;var e=d.create", - L"NSResolver(d.documentElement);return d.evaluate(b,a,e,c,j)},ua:functio", - L"n(a,b){var c=function(b,c){var f=F(b);if(b.selectSingleNode)return f.s", - L"etProperty&&f.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectSin", - L"gleNode(c);try{var h=qb.ea(b,c,9);return h?h.singleNodeValue:j}catch(k", - L"){g(Error(32,\"Unable to locate an element with the xpath expression ", - L"\"+a))}}(b,a);if(!c)return j;c.nodeType!=1&&g(Error(\"Returned node is", - L" not an element: \"+\na));return c},Ia:function(a,b){var c=function(b,", - L"c){var f=F(b);if(b.selectNodes)return f.setProperty&&f.setProperty(\"S", - L"electionLanguage\",\"XPath\"),b.selectNodes(c);var f=[],h;try{h=qb.ea(", - L"b,c,7)}catch(k){g(Error(32,\"Unable to locate elements with the xpath ", - L"expression \"+c))}if(h)for(var l=h.snapshotLength,r=0;r=a.length&&g(I),b in a)return a[b++];else b++};retur", - L"n c}g(Error(\"Not implemented\"))};function J(a,b,c,d,e){this.o=!!b;a&", - L"&K(this,a,d);this.w=e!=i?e:this.q||0;this.o&&(this.w*=-1);this.ma=!c}w", - L"(J,rb);o=J.prototype;o.p=j;o.q=0;o.ca=!1;function K(a,b,c,d){if(a.p=b)", - L"a.q=typeof c==\"number\"?c:a.p.nodeType!=1?0:a.o?-1:1;if(typeof d==\"n", - L"umber\")a.w=d}\no.next=function(){var a;if(this.ca){(!this.p||this.ma&", - L"&this.w==0)&&g(I);a=this.p;var b=this.o?-1:1;if(this.q==b){var c=this.", - L"o?a.lastChild:a.firstChild;c?K(this,c):K(this,a,b*-1)}else(c=this.o?a.", - L"previousSibling:a.nextSibling)?K(this,c):K(this,a.parentNode,b*-1);thi", - L"s.w+=this.q*(this.o?-1:1)}else this.ca=!0;(a=this.p)||g(I);return a};", - L"\no.splice=function(){var a=this.p,b=this.o?1:-1;if(this.q==b)this.q=b", - L"*-1,this.w+=this.q*(this.o?-1:1);this.o=!this.o;J.prototype.next.call(", - L"this);this.o=!this.o;for(var b=aa(arguments[0])?arguments[0]:arguments", - L",c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.", - L"nextSibling);hb(a)};function tb(a,b,c,d){J.call(this,a,b,c,j,d)}w(tb,J", - L");tb.prototype.next=function(){do tb.W.next.call(this);while(this.q==-", - L"1);return this.p};function ub(a,b,c,d){this.top=a;this.right=b;this.bo", - L"ttom=c;this.left=d}ub.prototype.toString=function(){return\"(\"+this.t", - L"op+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};ub", - L".prototype.contains=function(a){a=!this||!a?!1:a instanceof ub?a.left>", - L"=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.botto", - L"m:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom;ret", - L"urn a};function vb(a,b){var c=F(a);if(c.defaultView&&c.defaultView.get", - L"ComputedStyle&&(c=c.defaultView.getComputedStyle(a,j)))return c[b]||c.", - L"getPropertyValue(b);return\"\"}function wb(a){var b=a.getBoundingClien", - L"tRect(),a=a.ownerDocument;b.left-=a.documentElement.clientLeft+a.body.", - L"clientLeft;b.top-=a.documentElement.clientTop+a.body.clientTop;return ", - L"b}\nfunction xb(a){var b=F(a);vb(a,\"position\");var c=new C(0,0),d;d=", - L"b?b.nodeType==9?b:F(b):document;var e;if(e=!x(9))e=E(d).s.compatMode!=", - L"\"CSS1Compat\";d=e?d.body:d.documentElement;if(a==d)return c;if(a.getB", - L"oundingClientRect)a=wb(a),b=pb(E(b)),c.x=a.left+b.x,c.y=a.top+b.y;else", - L" if(b.getBoxObjectFor)a=b.getBoxObjectFor(a),b=b.getBoxObjectFor(d),c.", - L"x=a.screenX-b.screenX,c.y=a.screenY-b.screenY;else{e=a;do c.x+=e.offse", - L"tLeft,c.y+=e.offsetTop,e!=a&&(c.x+=e.clientLeft||0,c.y+=e.clientTop||0", - L"),e=e.offsetParent;\nwhile(e&&e!=a);for(e=a;(e=e.offsetParent)&&e!=b.b", - L"ody&&e!=d;)c.x-=e.scrollLeft,c.y-=e.scrollTop}return c}function yb(a){", - L"if((vb(a,\"display\")||(a.currentStyle?a.currentStyle.display:j)||a.st", - L"yle.display)!=\"none\")return new ab(a.offsetWidth,a.offsetHeight);var", - L" b=a.style,c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidd", - L"en\";b.position=\"absolute\";b.display=\"inline\";var f=a.offsetWidth,", - L"a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;return new ab", - L"(f,a)}var zb={thin:2,medium:4,thick:6};\nfunction Ab(a,b){if((a.curren", - L"tStyle?a.currentStyle[b+\"Style\"]:j)==\"none\")return 0;var c=a.curre", - L"ntStyle?a.currentStyle[b+\"Width\"]:j;if(c in zb)return zb[c];var d;if", - L"(/^\\d+px?$/.test(c))d=parseInt(c,10);else{d=a.style.left;var e=a.runt", - L"imeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=c;c", - L"=a.style.pixelLeft;a.style.left=d;a.runtimeStyle.left=e;d=c}return d};", - L"function L(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()", - L"==b)}var Bb={\"class\":\"className\",readonly:\"readOnly\"},Cb=[\"chec", - L"ked\",\"disabled\",\"draggable\",\"hidden\"];function Db(a,b){var c=Bb", - L"[b]||b,d=a[c];if(d===i&&B(Cb,c)>=0)return!1;return d}\nvar Eb=[\"async", - L"\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"c", - L"ontrols\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\"", - L",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"", - L"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\"", - L",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalida", - L"te\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"require", - L"d\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"sp", - L"ellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Fb(a){var b;if(8", - L"==a.nodeType)return j;b=\"usemap\";if(b==\"style\")return a=ga(a.style", - L".cssText).toLowerCase(),a.charAt(a.length-1)==\";\"?a:a+\";\";var c=a.", - L"getAttributeNode(b);!c&&x(8)&&B(Eb,b)>=0&&(c=a[b]);if(!c)return j;if(B", - L"(Eb,b)>=0)return c.value==\"false\"?j:\"true\";return c.specified?c.va", - L"lue:j}var Gb=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",", - L"\"TEXTAREA\"];\nfunction Hb(a){var b=a.tagName.toUpperCase();if(!(B(Gb", - L",b)>=0))return!0;if(Db(a,\"disabled\"))return!1;if(a.parentNode&&a.par", - L"entNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return Hb(a.parent", - L"Node);return!0}function Ib(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.n", - L"odeType!=9&&a.nodeType!=11;)a=a.parentNode;return L(a)?a:j}function Jb", - L"(a,b){b=qa(b);return vb(a,b)||Kb(a,b)}function Kb(a,b){var c=(a.curren", - L"tStyle||a.style)[b];if(c!=\"inherit\")return c!==i?c:j;return(c=Ib(a))", - L"?Kb(c,b):j}\nfunction Lb(a){if(v(a.getBBox))return a.getBBox();return ", - L"yb(a)}\nfunction M(a,b){function c(a){if(Jb(a,\"display\")==\"none\")r", - L"eturn!1;a=Ib(a);return!a||c(a)}function d(a){var b=Lb(a);if(b.height>0", - L"&&b.width>0)return!0;return Sa(a.childNodes,function(a){return a.nodeT", - L"ype==D||L(a)&&d(a)})}L(a)||g(Error(\"Argument to isShown must be of ty", - L"pe Element\"));if(L(a,\"TITLE\"))return G(F(a))==Ea;if(L(a,\"OPTION\")", - L"||L(a,\"OPTGROUP\")){var e=ob(a,function(a){return L(a,\"SELECT\")});r", - L"eturn!!e&&M(e,b)}if(L(a,\"MAP\")){if(!a.name)return!1;e=F(a);e=e.evalu", - L"ate?qb.ua('/descendant::*[@usemap = \"#'+\na.name+'\"]',e):mb(e,functi", - L"on(b){return L(b)&&Fb(b)==\"#\"+a.name});return!!e&&M(e,b)}if(L(a,\"AR", - L"EA\"))return e=ob(a,function(a){return L(a,\"MAP\")}),!!e&&M(e,b);if(L", - L"(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(Jb(a,\"vis", - L"ibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&Mb(a)==0)retu", - L"rn!1;if(!d(a))return!1;return!0}\nfunction Mb(a){if(Jb(a,\"position\")", - L"==\"relative\")return 1;a=Jb(a,\"filter\");return(a=a.match(/^alpha\\(", - L"opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha", - L"\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1};var Nb=[\"dragstart\",\"dr", - L"agexit\",\"mouseover\",\"mouseout\"];\nfunction N(a,b,c){var d=F(a),e=", - L"c||{},c=e.clientX||0,f=e.clientY||0,h=e.button||0,k=!!e.alt,l=!!e.cont", - L"rol,r=!!e.shift,p=!!e.meta,u=j;B(Nb,b)>=0&&(u=e.related||j,!u&&b==\"mo", - L"useover\"&&(u=Ib(a)),!u&&b==\"mouseout\"&&(u=a));d=d.createEventObject", - L"();d.altKey=k;d.Aa=l;d.metaKey=p;d.shiftKey=r;d.clientX=c;d.clientY=f;", - L"d.button=h;b==\"mouseout\"?(d.fromElement=a,d.toElement=u):b==\"mouseo", - L"ver\"?(d.fromElement=u,d.toElement=a):(d.fromElement=j,d.toElement=j);", - L"return d}\nfunction Ob(a,b,c){var d=c||{},b=d.keyCode||0,c=!!d.alt,e=!", - L"!d.ctrl,f=!!d.shift,d=!!d.meta,a=F(a).createEventObject();a.keyCode=b;", - L"a.altKey=c;a.ctrlKey=e;a.metaKey=d;a.shiftKey=f;return a}\nfunction Pb", - L"(a,b,c){var d=F(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,h=!!e.control,k=!", - L"!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEve", - L"ntObject(),a.altKey=f,a.Ba=h,a.metaKey=e,a.shiftKey=k):(a=d.createEven", - L"t(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=k,a.metaKey=e,a.altKe", - L"y=f,a.ctrlKey=h);return a}var O={};O.click=N;O.keydown=Ob;O.keypress=O", - L"b;O.keyup=Ob;O.mousedown=N;O.mousemove=N;O.mouseout=N;O.mouseover=N;O.", - L"mouseup=N;\nfunction Qb(a,b,c){c=(O[b]||Pb)(a,b,c);if(!(\"isTrusted\"i", - L"n c))c.Fa=!1;return a.fireEvent(\"on\"+b,c)};var Rb={};function P(a,b,", - L"c){ba(a)&&(a=a.e);a=new Sb(a,b,c);if(b&&(!(b in Rb)||c))Rb[b]={key:a,s", - L"hift:!1},c&&(Rb[c]={key:a,shift:!0})}function Sb(a,b,c){this.code=a;th", - L"is.la=b||j;this.Na=c||this.la}P(8);P(9);P(13);P(16);P(17);P(18);P(19);", - L"P(20);P(27);P(32,\" \");P(33);P(34);P(35);P(36);P(37);P(38);P(39);P(40", - L");P(44);P(45);P(46);P(48,\"0\",\")\");P(49,\"1\",\"!\");P(50,\"2\",\"@", - L"\");P(51,\"3\",\"#\");P(52,\"4\",\"$\");P(53,\"5\",\"%\");P(54,\"6\",", - L"\"^\");P(55,\"7\",\"&\");P(56,\"8\",\"*\");P(57,\"9\",\"(\");P(65,\"a", - L"\",\"A\");P(66,\"b\",\"B\");P(67,\"c\",\"C\");\nP(68,\"d\",\"D\");P(69", - L",\"e\",\"E\");P(70,\"f\",\"F\");P(71,\"g\",\"G\");P(72,\"h\",\"H\");P(", - L"73,\"i\",\"I\");P(74,\"j\",\"J\");P(75,\"k\",\"K\");P(76,\"l\",\"L\");", - L"P(77,\"m\",\"M\");P(78,\"n\",\"N\");P(79,\"o\",\"O\");P(80,\"p\",\"P\"", - L");P(81,\"q\",\"Q\");P(82,\"r\",\"R\");P(83,\"s\",\"S\");P(84,\"t\",\"T", - L"\");P(85,\"u\",\"U\");P(86,\"v\",\"V\");P(87,\"w\",\"W\");P(88,\"x\",", - L"\"X\");P(89,\"y\",\"Y\");P(90,\"z\",\"Z\");P(sa?{g:91,e:91,opera:219}:", - L"ra?{g:224,e:91,opera:17}:{g:0,e:91,opera:j});P(sa?{g:92,e:92,opera:220", - L"}:ra?{g:224,e:93,opera:17}:{g:0,e:92,opera:j});\nP(sa?{g:93,e:93,opera", - L":0}:ra?{g:0,e:0,opera:16}:{g:93,e:j,opera:0});P({g:96,e:96,opera:48},", - L"\"0\");P({g:97,e:97,opera:49},\"1\");P({g:98,e:98,opera:50},\"2\");P({", - L"g:99,e:99,opera:51},\"3\");P({g:100,e:100,opera:52},\"4\");P({g:101,e:", - L"101,opera:53},\"5\");P({g:102,e:102,opera:54},\"6\");P({g:103,e:103,op", - L"era:55},\"7\");P({g:104,e:104,opera:56},\"8\");P({g:105,e:105,opera:57", - L"},\"9\");P({g:106,e:106,opera:va?56:42},\"*\");P({g:107,e:107,opera:va", - L"?61:43},\"+\");P({g:109,e:109,opera:va?109:45},\"-\");P({g:110,e:110,o", - L"pera:va?190:78},\".\");\nP({g:111,e:111,opera:va?191:47},\"/\");P(144)", - L";P(112);P(113);P(114);P(115);P(116);P(117);P(118);P(119);P(120);P(121)", - L";P(122);P(123);P({g:107,e:187,opera:61},\"=\",\"+\");P({g:109,e:189,op", - L"era:109},\"-\",\"_\");P(188,\",\",\"<\");P(190,\".\",\">\");P(191,\"/", - L"\",\"?\");P(192,\"`\",\"~\");P(219,\"[\",\"{\");P(220,\"\\\\\",\"|\");", - L"P(221,\"]\",\"}\");P({g:59,e:186,opera:59},\";\",\":\");P(222,\"'\",'", - L"\"');function Tb(){Ub&&(this[ca]||(this[ca]=++da))}var Ub=!1;function ", - L"Vb(a){return Wb(a||arguments.callee.caller,[])}\nfunction Wb(a,b){var ", - L"c=[];if(B(b,a)>=0)c.push(\"[...circular reference...]\");else if(a&&b.", - L"length<50){c.push(Xb(a)+\"(\");for(var d=a.arguments,e=0;e0&&c.push(\", \");var f;f=d[e];switch(typeof f){case \"object\":f", - L"=f?\"object\":\"null\";break;case \"string\":break;case \"number\":f=S", - L"tring(f);break;case \"boolean\":f=f?\"true\":\"false\";break;case \"fu", - L"nction\":f=(f=Xb(f))?f:\"[fn]\";break;default:f=typeof f}f.length>40&&", - L"(f=f.substr(0,40)+\"...\");c.push(f)}b.push(a);c.push(\")\\n\");try{c.", - L"push(Wb(a.caller,b))}catch(h){c.push(\"[exception trying to get caller", - L"]\\n\")}}else a?\nc.push(\"[...long stack...]\"):c.push(\"[end]\");ret", - L"urn c.join(\"\")}function Xb(a){a=String(a);if(!Yb[a]){var b=/function", - L" ([^\\(]+)/.exec(a);Yb[a]=b?b[1]:\"[Anonymous]\"}return Yb[a]}var Yb={", - L"};function Q(a,b,c,d,e){this.reset(a,b,c,d,e)}Q.prototype.ta=0;Q.proto", - L"type.ga=j;Q.prototype.fa=j;var Zb=0;Q.prototype.reset=function(a,b,c,d", - L",e){this.ta=typeof e==\"number\"?e:Zb++;this.Oa=d||ea();this.L=a;this.", - L"ra=b;this.Ha=c;delete this.ga;delete this.fa};Q.prototype.ka=function(", - L"a){this.L=a};function R(a){this.sa=a}R.prototype.U=j;R.prototype.L=j;R", - L".prototype.X=j;R.prototype.ja=j;function $b(a,b){this.name=a;this.valu", - L"e=b}$b.prototype.toString=m(\"name\");var ac=new $b(\"SEVERE\",1E3),bc", - L"=new $b(\"WARNING\",900),cc=new $b(\"CONFIG\",700);R.prototype.getPare", - L"nt=m(\"U\");R.prototype.ka=function(a){this.L=a};function dc(a){if(a.L", - L")return a.L;if(a.U)return dc(a.U);Oa(\"Root logger has no level set.\"", - L");return j}\nR.prototype.log=function(a,b,c){if(a.value>=dc(this).valu", - L"e){a=this.oa(a,b,c);q.console&&q.console.markTimeline&&q.console.markT", - L"imeline(\"log:\"+a.ra);for(b=this;b;){var c=b,d=a;if(c.ja)for(var e=0,", - L"f=i;f=c.ja[e];e++)f(d);b=b.getParent()}}};\nR.prototype.oa=function(a,", - L"b,c){var d=new Q(a,String(b),this.sa);if(c){d.ga=c;var e;var f=argumen", - L"ts.callee.caller;try{var h;var k;c:{for(var l=\"window.location.href\"", - L".split(\".\"),r=q,p;p=l.shift();)if(r[p]!=j)r=r[p];else{k=j;break c}k=", - L"r}if(t(c))h={message:c,name:\"Unknown error\",lineNumber:\"Not availab", - L"le\",fileName:k,stack:\"Not available\"};else{var u,fb,l=!1;try{u=c.li", - L"neNumber||c.Ga||\"Not available\"}catch(Xc){u=\"Not available\",l=!0}t", - L"ry{fb=c.fileName||c.filename||c.sourceURL||k}catch(Yc){fb=\"Not availa", - L"ble\",\nl=!0}h=l||!c.lineNumber||!c.fileName||!c.stack?{message:c.mess", - L"age,name:c.name,lineNumber:u,fileName:fb,stack:c.stack||\"Not availabl", - L"e\"}:c}e=\"Message: \"+ha(h.message)+'\\nUrl: '+h.fileName+\"\\nLine: \"+h.lineNu", - L"mber+\"\\n\\nBrowser stack:\\n\"+ha(h.stack+\"-> \")+\"[end]\\n\\nJS s", - L"tack traversal:\\n\"+ha(Vb(f)+\"-> \")}catch(Tc){e=\"Exception trying ", - L"to expose exception! You win, we lose. \"+Tc}d.fa=e}return d};var ec={", - L"},fc=j;\nfunction gc(a){fc||(fc=new R(\"\"),ec[\"\"]=fc,fc.ka(cc));var", - L" b;if(!(b=ec[a])){b=new R(a);var c=a.lastIndexOf(\".\"),d=a.substr(c+1", - L"),c=gc(a.substr(0,c));if(!c.X)c.X={};c.X[d]=b;b.U=c;ec[a]=b}return b};", - L"function hc(){Tb.call(this)}w(hc,Tb);gc(\"goog.dom.SavedRange\");w(fun", - L"ction(a){Tb.call(this);this.va=\"goog_\"+oa++;this.na=\"goog_\"+oa++;t", - L"his.da=E(a.$());a.O(this.da.Y(\"SPAN\",{id:this.va}),this.da.Y(\"SPAN", - L"\",{id:this.na}))},hc);function S(){}function ic(a){if(a.getSelection)", - L"return a.getSelection();else{var a=a.document,b=a.selection;if(b){try{", - L"var c=b.createRange();if(c.parentElement){if(c.parentElement().documen", - L"t!=a)return j}else if(!c.length||c.item(0).document!=a)return j}catch(", - L"d){return j}return b}return j}}function jc(a){for(var b=[],c=0,d=a.D()", - L";c=0&&this.m(d,1,0)<=0:this.m(d,0,0)>=0&&t", - L"his.m(d,1,1)<=0}catch(e){return!1}};nc.prototype.containsNode=function", - L"(a,b){return this.v(lc(a),b)};nc.prototype.C=function(){return new mc(", - L"this.b(),this.j(),this.i(),this.l())};function V(a){this.a=a}w(V,nc);o", - L"=V.prototype;o.z=function(){return this.a.commonAncestorContainer};o.b", - L"=function(){return this.a.startContainer};o.j=function(){return this.a", - L".startOffset};o.i=function(){return this.a.endContainer};o.l=function(", - L"){return this.a.endOffset};o.m=function(a,b,c){return this.a.compareBo", - L"undaryPoints(c==1?b==1?q.Range.START_TO_START:q.Range.START_TO_END:b==", - L"1?q.Range.END_TO_START:q.Range.END_TO_END,a)};o.isCollapsed=function()", - L"{return this.a.collapsed};\no.select=function(a){this.V(G(F(this.b()))", - L".getSelection(),a)};o.V=function(a){a.removeAllRanges();a.addRange(thi", - L"s.a)};o.insertNode=function(a,b){var c=this.a.cloneRange();c.collapse(", - L"b);c.insertNode(a);c.detach();return a};\no.O=function(a,b){var c=G(F(", - L"this.b()));if(c=(c=ic(c||window))&&oc(c))var d=c.b(),e=c.i(),f=c.j(),h", - L"=c.l();var k=this.a.cloneRange(),l=this.a.cloneRange();k.collapse(!1);", - L"l.collapse(!0);k.insertNode(b);l.insertNode(a);k.detach();l.detach();i", - L"f(c){if(d.nodeType==D)for(;f>d.length;){f-=d.length;do d=d.nextSibling", - L";while(d==a||d==b)}if(e.nodeType==D)for(;h>e.length;){h-=e.length;do e", - L"=e.nextSibling;while(e==a||e==b)}c=new pc;c.G=qc(d,f,e,h);if(d.tagName", - L"==\"BR\")k=d.parentNode,f=B(k.childNodes,d),d=k;if(e.tagName==\n\"BR\"", - L")k=e.parentNode,h=B(k.childNodes,e),e=k;c.G?(c.d=e,c.h=h,c.c=d,c.f=f):", - L"(c.d=d,c.h=f,c.c=e,c.f=h);c.select()}};o.collapse=function(a){this.a.c", - L"ollapse(a)};function rc(a){this.a=a}w(rc,V);rc.prototype.V=function(a,", - L"b){var c=b?this.i():this.b(),d=b?this.l():this.j(),e=b?this.b():this.i", - L"(),f=b?this.j():this.l();a.collapse(c,d);(c!=e||d!=f)&&a.extend(e,f)};", - L"function sc(a,b){this.a=a;this.Ca=b}w(sc,nc);var tc=gc(\"goog.dom.brow", - L"serrange.IeRange\");function uc(a){var b=F(a).body.createTextRange();i", - L"f(a.nodeType==1)b.moveToElementText(a),W(a)&&!a.childNodes.length&&b.c", - L"ollapse(!1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d.nodeTyp", - L"e;if(e==D)c+=d.length;else if(e==1){b.moveToElementText(d);break}}d||b", - L".moveToElementText(a.parentNode);b.collapse(!d);c&&b.move(\"character", - L"\",c);b.moveEnd(\"character\",a.length)}return b}o=sc.prototype;o.B=j;", - L"o.d=j;o.c=j;o.h=-1;\no.f=-1;o.r=function(){this.B=this.d=this.c=j;this", - L".h=this.f=-1};\no.z=function(){if(!this.B){var a=this.a.text,b=this.a.", - L"duplicate(),c=a.replace(/ +$/,\"\");(c=a.length-c.length)&&b.moveEnd(", - L"\"character\",-c);c=b.parentElement();b=b.htmlText.replace(/(\\r\\n|", - L"\\r|\\n)+/g,\" \").length;if(this.isCollapsed()&&b>0)return this.B=c;f", - L"or(;b>c.outerHTML.replace(/(\\r\\n|\\r|\\n)+/g,\" \").length;)c=c.pare", - L"ntNode;for(;c.childNodes.length==1&&c.innerText==(c.firstChild.nodeTyp", - L"e==D?c.firstChild.nodeValue:c.firstChild.innerText);){if(!W(c.firstChi", - L"ld))break;c=c.firstChild}a.length==0&&(c=vc(this,\nc));this.B=c}return", - L" this.B};function vc(a,b){for(var c=b.childNodes,d=0,e=c.length;d=0&&a.m(h,1,0)<=0:a.a.inRange(h))return vc(a,f", - L")}}return b}o.b=function(){if(!this.d&&(this.d=wc(this,1),this.isColla", - L"psed()))this.c=this.d;return this.d};o.j=function(){if(this.h<0&&(this", - L".h=xc(this,1),this.isCollapsed()))this.f=this.h;return this.h};\no.i=f", - L"unction(){if(this.isCollapsed())return this.b();if(!this.c)this.c=wc(t", - L"his,0);return this.c};o.l=function(){if(this.isCollapsed())return this", - L".j();if(this.f<0&&(this.f=xc(this,0),this.isCollapsed()))this.h=this.f", - L";return this.f};o.m=function(a,b,c){return this.a.compareEndPoints((b=", - L"=1?\"Start\":\"End\")+\"To\"+(c==1?\"Start\":\"End\"),a)};\nfunction w", - L"c(a,b,c){c=c||a.z();if(!c||!c.firstChild)return c;for(var d=b==1,e=0,f", - L"=c.childNodes.length;e0)return wc(a,b,k)}return c}\nfunction xc(a,b){var ", - L"c=b==1,d=c?a.b():a.i();if(d.nodeType==1){for(var d=d.childNodes,e=d.le", - L"ngth,f=c?1:-1,h=c?0:e-1;h>=0&&hh.childNodes.length&&t", - L"c.log(ac,\"Cannot have startOffset > startNode child count\",i),k=h.ch", - L"ildNodes[k],r=!k,h=k||h.lastChild||h,k=0);var p=uc(h);k&&p.move(\"char", - L"acter\",k);h==l&&k==f?p.collapse(!0):(r&&p.collapse(!1),r=!1,l.nodeTyp", - L"e==1&&(f>l.childNodes.length&&tc.log(ac,\"Cannot have endOffset > endN", - L"ode child count\",\ni),u=(k=l.childNodes[f])||l.lastChild||l,l=u,f=0,r", - L"=!k),h=uc(l),h.collapse(!r),f&&h.moveEnd(\"character\",f),p.setEndPoin", - L"t(\"EndToEnd\",h));f=new sc(p,F(b));f.d=b;f.h=c;f.c=d;f.f=e;b=f}b=a.J=", - L"b}return b}o.z=function(){return X(this).z()};o.b=function(){return th", - L"is.d||(this.d=X(this).b())};o.j=function(){return this.h!=j?this.h:thi", - L"s.h=X(this).j()};o.i=function(){return this.c||(this.c=X(this).i())};o", - L".l=function(){return this.f!=j?this.f:this.f=X(this).l()};o.F=m(\"G\")", - L";\no.v=function(a,b){var c=a.aa();if(c==\"text\")return X(this).v(X(a)", - L",b);else if(c==\"control\")return c=Cc(a),(b?Sa:Ta)(c,function(a){retu", - L"rn this.containsNode(a,b)},this);return!1};o.isCollapsed=function(){re", - L"turn X(this).isCollapsed()};o.C=function(){return new mc(this.b(),this", - L".j(),this.i(),this.l())};o.select=function(){X(this).select(this.G)};o", - L".insertNode=function(a,b){var c=X(this).insertNode(a,b);this.r();retur", - L"n c};o.O=function(a,b){X(this).O(a,b);this.r()};o.ba=function(){return", - L" new Dc(this)};\no.collapse=function(a){a=this.F()?!a:a;this.J&&this.J", - L".collapse(a);a?(this.c=this.d,this.f=this.h):(this.d=this.c,this.h=thi", - L"s.f);this.G=!1};function Dc(a){this.wa=a.F()?a.i():a.b();this.xa=a.F()", - L"?a.l():a.j();this.Da=a.F()?a.b():a.i();this.Ea=a.F()?a.j():a.l()}w(Dc,", - L"hc);function Ec(){}w(Ec,U);o=Ec.prototype;o.a=j;o.n=j;o.N=j;o.r=functi", - L"on(){this.N=this.n=j};o.aa=n(\"control\");o.S=function(){return this.a", - L"||document.body.createControlRange()};o.D=function(){return this.a?thi", - L"s.a.length:0};o.A=function(a){a=this.a.item(a);return kc(lc(a),i)};o.z", - L"=function(){return lb.apply(j,Cc(this))};o.b=function(){return Fc(this", - L")[0]};o.j=n(0);o.i=function(){var a=Fc(this),b=A(a);return Ua(a,functi", - L"on(a){return H(a,b)})};o.l=function(){return this.i().childNodes.lengt", - L"h};\nfunction Cc(a){if(!a.n&&(a.n=[],a.a))for(var b=0;b1&&this.qa.log(bc,\"getBrowserRangeObject c", - L"alled on MultiRange with more than 1 range\",i);return this.t[0]};o.D=", - L"function(){return this.t.length};o.A=function(a){this.M[a]||(this.M[a]", - L"=kc(Bc(this.t[a]),i));return this.M[a]};\no.z=function(){if(!this.Q){f", - L"or(var a=[],b=0,c=this.D();b1){b=new Ic;for(var c=0,e=a.rangeCoun", - L"t;c0};func", - L"tion Mc(a){this.k=Ea.document.documentElement;this.Z=this.u=j;this.T=!", - L"1;this.P=new C(0,0);this.pa=a}var Y={click:[0,0,0,j],contextmenu:[j,j,", - L"0,j],mouseup:[1,4,2,j],mouseout:[0,0,0,0],mousemove:[1,4,2,0]};Y.dblcl", - L"ick=Y.click;Y.mousedown=Y.mouseup;Y.mouseover=Y.mouseout;var Nc={mouse", - L"out:function(a){return a},mouseover:function(a){return Ib(a)}};\nMc.pr", - L"ototype.move=function(a,b){var c=new C;if(a.nodeType==1)if(a.getBoundi", - L"ngClientRect){var d=wb(a);c.x=d.left;c.y=d.top}else{var d=pb(E(a)),e=x", - L"b(a);c.x=e.x-d.x;c.y=e.y-d.y}else d=v(a.ha),e=a,a.targetTouches?e=a.ta", - L"rgetTouches[0]:d&&a.ha().targetTouches&&(e=a.ha().targetTouches[0]),c.", - L"x=e.clientX,c.y=e.clientY;this.P.x=b.x+c.x;this.P.y=b.y+c.y;if(a!=this", - L".k)Z(this,\"mouseout\"),this.k=a,Z(this,\"mouseover\");Z(this,\"mousem", - L"ove\")};\nfunction Z(a,b){if(!a.pa(a.k))return!1;var c=Nc[b],c=c?c(a.k", - L"):j,d=a.P.x,e=a.P.y,f;b in Y?(f=Y[b][a.u===j?3:a.u],f===j&&g(new z(13,", - L"\"Event does not permit the specified mouse button.\"))):f=0;return Qb", - L"(a.k,b,{clientX:d,clientY:e,button:f,ya:!0,alt:!1,za:!1,shift:!1,Ka:!1", - L",La:c})}var Oc=/^([^:/?#.]+:)?(?:\\/\\/([^/]*))?([^?#]+)?(\\?[^#]*)?(#", - L".*)?$/;function Pc(a,b){var c=M(a,!0),d=c&&Hb(a);b&&!c?g(new z(11,\"El", - L"ement is not currently visible and may not be manipulated\")):b&&!d&&g", - L"(new z(12,\"Element is not currently enabled and may not be manipulate", - L"d\"));return d}function Qc(a){if(L(a,\"OPTION\"))return!0;if(L(a,\"INP", - L"UT\"))return a=a.type.toLowerCase(),a==\"checkbox\"||a==\"radio\";retu", - L"rn!1}\nfunction Rc(a){Qc(a)||g(new z(15,\"Element is not selectable\")", - L");var b=\"selected\",c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c", - L"||\"radio\"==c)b=\"checked\";return!!Db(a,b)}function Sc(a){return L(a", - L",\"SELECT\")};function Uc(a,b){var c=b;M(a,!0)||g(new z(11,\"Element i", - L"s not currently visible and may not be manipulated\"));var d=F(a).acti", - L"veElement,e=F(a).documentElement,f=xb(a),h=xb(e),k,l=Ab(e,\"borderLeft", - L"\");k=Ab(e,\"borderRight\");var r=Ab(e,\"borderTop\"),p=Ab(e,\"borderB", - L"ottom\");k=new ub(r,k,p,l);l=f.x-h.x-k.left;f=f.y-h.y-k.top;h=e.client", - L"Height-a.offsetHeight;e.scrollLeft+=Math.min(l,Math.max(l-(e.clientWid", - L"th-a.offsetWidth),0));e.scrollTop+=Math.min(f,Math.max(f-h,0));c||(e=y", - L"b(a),c=new C(e.width/2,e.height/2));\ne=new Mc(Pc);e.move(a,c);e.u!==j", - L"&&g(new z(13,\"Cannot press more then one button or an already pressed", - L" button.\"));e.u=0;e.Z=e.k;e.T=Qc(e.k)&&Rc(e.k);c=!0;if((c=Z(e,\"mouse", - L"down\"))&&Pc(a))Pc(a,!0),d=d||F(a).activeElement,a!=d&&(d&&((v(d.blur)", - L"||ba(d.blur))&&d.blur(),!x(8)&&G(F(a)).focus()),(v(a.focus)||ba(a.focu", - L"s))&&a.focus());e.u===j&&g(new z(13,\"Cannot release a button when no ", - L"button is pressed.\"));Z(e,\"mouseup\");if(e.u==0&&e.k==e.Z){c=d=j;for", - L"(f=e.k;f;f=f.parentNode)if(L(f,\"A\")){d=f;break}else{a:{if(L(f,\n\"IN", - L"PUT\")&&(h=f.type.toLowerCase(),h==\"submit\"||h==\"image\")){h=!0;bre", - L"ak a}if(L(f,\"BUTTON\")&&(h=f.type.toLowerCase(),h==\"submit\")){h=!0;", - L"break a}h=!1}if(h){c=f;break}}if(c)c.click();else if(c=Z(e,\"click\"))", - L"{if(c&&d&&d.href){a:break a;h=d.href;c=G(F(d));if(!x(8))if(f=c.locatio", - L"n,h=h.match(Oc)){h={protocol:h[1]||\"\",host:h[2]||\"\",pathname:h[3]|", - L"|\"\",search:h[4]||\"\",hash:h[5]||\"\"};if(!h.protocol&&(h.protocol=f", - L".protocol,!h.host))if(h.host=f.host,h.pathname){if(h.pathname.charAt(0", - L")!=\"/\"&&(l=f.pathname.lastIndexOf(\"/\"),\nl!=-1))h.pathname=f.pathn", - L"ame.substr(0,l+1)+h.pathname}else h.pathname=f.pathname,h.search=h.sea", - L"rch||f.search;h=h.protocol+\"//\"+h.host+h.pathname+h.search+h.hash}el", - L"se h=\"\";d.target?c.open(h,d.target):c.location.href=h}if(M(e.k,!0)&&", - L"Qc(e.k)&&Hb(e.k)&&!(e.k.tagName.toLowerCase()==\"input\"&&e.k.type&&e.", - L"k.type.toLowerCase()==\"radio\"&&Rc(e.k))&&(d=ob(e.k,Sc),!d||d.multipl", - L"e||!e.T))if(d=e.k,c=!e.T,Pc(d,!0),L(d,\"INPUT\"))if(f=d.type.toLowerCa", - L"se(),f==\"checkbox\"||f==\"radio\"){if(d.checked!=c&&(d.type==\"radio", - L"\"&&\n!c&&g(new z(12,\"You may not deselect a radio button\")),c!=Rc(d", - L")))d.checked=c,Qb(d,\"change\")}else g(new z(15,\"You may not select a", - L"n unselectable input element: \"+d.type));else if(L(d,\"OPTION\")){if(", - L"f=ob(d,Sc),!f.multiple&&!c&&g(new z(15,\"You may not deselect an optio", - L"n within a select that does not support multiple selections.\")),c!=Rc", - L"(d))d.selected=c,Qb(f,\"change\")}else g(new z(15,\"You may not select", - L" an unselectable element: \"+d.tagName))}}else e.u==2&&Z(e,\"contextme", - L"nu\");e.u=j;e.Z=j;e.T=!1}\nvar Vc=\"_\".split(\".\"),$=q;!(Vc[0]in $)&", - L"&$.execScript&&$.execScript(\"var \"+Vc[0]);for(var Wc;Vc.length&&(Wc=", - L"Vc.shift());)!Vc.length&&Uc!==i?$[Wc]=Uc:$=$[Wc]?$[Wc]:$[Wc]={};; retu", - L"rn this._.apply(null,arguments);}.apply({navigator:typeof window!='und", - L"efined'?window.navigator:null}, arguments);}", - NULL -}; - -const wchar_t* const CLEAR[] = { - L"function(){return function(){function g(a){throw a;}var h=void 0,i=nul", - L"l;function m(a){return function(){return this[a]}}function o(a){return", - L" function(){return a}}var p,q=this;\nfunction s(a){var b=typeof a;if(b", - L"==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a ins", - L"tanceof Object)return b;var c=Object.prototype.toString.call(a);if(c==", - L"\"[object Window]\")return\"object\";if(c==\"[object Array]\"||typeof ", - L"a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propert", - L"yIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))retu", - L"rn\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&", - L"&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable", - L"(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"funct", - L"ion\"&&typeof a.call==\"undefined\")return\"object\";return b}function", - L" aa(a){var b=s(a);return b==\"array\"||b==\"object\"&&typeof a.length=", - L"=\"number\"}function u(a){return typeof a==\"string\"}function ba(a){r", - L"eturn s(a)==\"function\"}function v(a){a=s(a);return a==\"object\"||a=", - L"=\"array\"||a==\"function\"}var ca=\"closure_uid_\"+Math.floor(Math.ra", - L"ndom()*2147483648).toString(36),da=0,ea=Date.now||function(){return+ne", - L"w Date};\nfunction w(a,b){function c(){}c.prototype=b.prototype;a.S=b.", - L"prototype;a.prototype=new c};function fa(a){for(var b=1;b\")!=-1&&(a=a.replace(ka,\">\"));a.in", - L"dexOf('\"')!=-1&&(a=a.replace(la,\""\"));return a}var ia=/&/g,ja=", - L"//g,la=/\\\"/g,ha=/[&<>\\\"]/;\nfunction ma(a,b){if(ab)return 1;return 0}var na=Math.random()*2147483648|0,oa", - L"={};function pa(a){return oa[a]||(oa[a]=String(a).replace(/\\-([a-z])/", - L"g,function(a,c){return c.toUpperCase()}))};var qa,ra,sa,ta=q.navigator", - L";sa=ta&&ta.platform||\"\";qa=sa.indexOf(\"Mac\")!=-1;ra=sa.indexOf(\"W", - L"in\")!=-1;var y=sa.indexOf(\"Linux\")!=-1,ua;var va=\"\",wa=/MSIE\\s+(", - L"[^\\);]+)(\\)|;)/.exec(q.navigator?q.navigator.userAgent:i),va=wa?wa[1", - L"]:\"\",xa,ya=q.document;xa=ya?ya.documentMode:h;ua=xa>parseFloat(va)?S", - L"tring(xa):va;var za={};\nfunction z(a){var b;if(!(b=za[a])){b=0;for(va", - L"r c=ga(String(ua)).split(\".\"),d=ga(String(a)).split(\".\"),e=Math.ma", - L"x(c.length,d.length),f=0;b==0&&f=0}return b}var Aa={}", - L";\nfunction Ba(){return Aa[9]||(Aa[9]=document.documentMode&&document.", - L"documentMode>=9)};var Ca=window;function A(a){this.stack=Error().stack", - L"||\"\";if(a)this.message=String(a)}w(A,Error);A.prototype.name=\"Custo", - L"mError\";function Da(a,b){for(var c in a)b.call(h,a[c],c,a)}var Ea=[\"", - L"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumera", - L"ble\",\"toLocaleString\",\"toString\",\"valueOf\"];function Fa(a){for(", - L"var b,c,d=1;d=0||(d.push(c[f]),e++);d=e==c.length;a.className=b.join(\" \");retu", - L"rn d};function $a(a,b){this.width=a;this.height=b}$a.prototype.toStrin", - L"g=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};$a.prot", - L"otype.floor=function(){this.width=Math.floor(this.width);this.height=M", - L"ath.floor(this.height);return this};var E=3;function ab(a){return a?ne", - L"w bb(F(a)):Xa||(Xa=new bb)}function cb(a,b){Da(b,function(b,d){d==\"st", - L"yle\"?a.style.cssText=b:d==\"class\"?a.className=b:d==\"for\"?a.htmlFo", - L"r=b:d in db?a.setAttribute(db[d],b):a[d]=b})}var db={cellpadding:\"cel", - L"lPadding\",cellspacing:\"cellSpacing\",colspan:\"colSpan\",rowspan:\"r", - L"owSpan\",valign:\"vAlign\",height:\"height\",width:\"width\",usemap:\"", - L"useMap\",frameborder:\"frameBorder\",maxlength:\"maxLength\",type:\"ty", - L"pe\"};function G(a){return a?a.parentWindow||a.defaultView:window}\nfu", - L"nction eb(a,b,c){function d(c){c&&b.appendChild(u(c)?a.createTextNode(", - L"c):c)}for(var e=2;e0)?Oa(fb(f)?Va(f):f,d):d(f)}}function gb(a){return a&&a.parentNode?a.", - L"parentNode.removeChild(a):i}function H(a,b){if(a.contains&&b.nodeType=", - L"=1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!=\"u", - L"ndefined\")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;", - L"b&&a!=b;)b=b.parentNode;return b==a}\nfunction hb(a,b){if(a==b)return ", - L"0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1", - L":-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNo", - L"de){var c=a.nodeType==1,d=b.nodeType==1;if(c&&d)return a.sourceIndex-b", - L".sourceIndex;else{var e=a.parentNode,f=b.parentNode;if(e==f)return ib(", - L"a,b);if(!c&&H(e,b))return-1*jb(a,b);if(!d&&H(f,a))return jb(b,a);retur", - L"n(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}}d=F(", - L"a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=\nd.createRange(", - L");d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(q.Rang", - L"e.START_TO_END,d)}function jb(a,b){var c=a.parentNode;if(c==b)return-1", - L";for(var d=b;d.parentNode!=c;)d=d.parentNode;return ib(d,a)}function i", - L"b(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}\nfu", - L"nction kb(){var a,b=arguments.length;if(b){if(b==1)return arguments[0]", - L"}else return i;var c=[],d=Infinity;for(a=0;a\");c=c.join(\"\")}c=a.createElement(c);if(d)u(d)?c.className=d:", - L"s(d)==\"array\"?Za.apply(i,[c].concat(d)):cb(c,d);b.length>2&&eb(a,c,b", - L");return c};p.createElement=function(a){return this.z.createElement(a)", - L"};p.createTextNode=function(a){return this.z.createTextNode(a)};\np.ca", - L"=function(){return this.z.parentWindow||this.z.defaultView};p.appendCh", - L"ild=function(a,b){a.appendChild(b)};p.removeNode=gb;p.contains=H;var o", - L"b={$:function(a,b,c){var d=F(a);if(!d.implementation.hasFeature(\"XPat", - L"h\",\"3.0\"))return i;var e=d.createNSResolver(d.documentElement);retu", - L"rn d.evaluate(b,a,e,c,i)},na:function(a,b){var c=function(b,c){var f=F", - L"(b);if(b.selectSingleNode)return f.setProperty&&f.setProperty(\"Select", - L"ionLanguage\",\"XPath\"),b.selectSingleNode(c);try{var j=ob.$(b,c,9);r", - L"eturn j?j.singleNodeValue:i}catch(k){g(Error(32,\"Unable to locate an ", - L"element with the xpath expression \"+a))}}(b,a);if(!c)return i;c.nodeT", - L"ype!=1&&g(Error(\"Returned node is not an element: \"+\na));return c},", - L"za:function(a,b){var c=function(b,c){var f=F(b);if(b.selectNodes)retur", - L"n f.setProperty&&f.setProperty(\"SelectionLanguage\",\"XPath\"),b.sele", - L"ctNodes(c);var f=[],j;try{j=ob.$(b,c,7)}catch(k){g(Error(32,\"Unable t", - L"o locate elements with the xpath expression \"+c))}if(j)for(var l=j.sn", - L"apshotLength,r=0;r=a.length&&g(I),b in a)r", - L"eturn a[b++];else b++};return c}g(Error(\"Not implemented\"))};functio", - L"n K(a,b,c,d,e){this.n=!!b;a&&L(this,a,d);this.t=e!=h?e:this.p||0;this.", - L"n&&(this.t*=-1);this.ga=!c}w(K,J);p=K.prototype;p.o=i;p.p=0;p.Y=!1;fun", - L"ction L(a,b,c,d){if(a.o=b)a.p=typeof c==\"number\"?c:a.o.nodeType!=1?0", - L":a.n?-1:1;if(typeof d==\"number\")a.t=d}\np.next=function(){var a;if(t", - L"his.Y){(!this.o||this.ga&&this.t==0)&&g(I);a=this.o;var b=this.n?-1:1;", - L"if(this.p==b){var c=this.n?a.lastChild:a.firstChild;c?L(this,c):L(this", - L",a,b*-1)}else(c=this.n?a.previousSibling:a.nextSibling)?L(this,c):L(th", - L"is,a.parentNode,b*-1);this.t+=this.p*(this.n?-1:1)}else this.Y=!0;(a=t", - L"his.o)||g(I);return a};\np.splice=function(){var a=this.o,b=this.n?1:-", - L"1;if(this.p==b)this.p=b*-1,this.t+=this.p*(this.n?-1:1);this.n=!this.n", - L";K.prototype.next.call(this);this.n=!this.n;for(var b=aa(arguments[0])", - L"?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.parentNo", - L"de.insertBefore(b[c],a.nextSibling);gb(a)};function qb(a,b,c,d){K.call", - L"(this,a,b,c,i,d)}w(qb,K);qb.prototype.next=function(){do qb.S.next.cal", - L"l(this);while(this.p==-1);return this.o};function rb(a,b){var c=F(a);i", - L"f(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getC", - L"omputedStyle(a,i)))return c[b]||c.getPropertyValue(b);return\"\"};func", - L"tion M(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)", - L"}var sb={\"class\":\"className\",readonly:\"readOnly\"},tb=[\"checked", - L"\",\"disabled\",\"draggable\",\"hidden\"];function ub(a,b){var c=sb[b]", - L"||b,d=a[c];if(d===h&&D(tb,c)>=0)return!1;return d}\nvar vb=[\"async\",", - L"\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"cont", - L"rols\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"", - L"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"ind", - L"eterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"", - L"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate", - L"\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required", - L"\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spe", - L"llcheck\",\"truespeed\",\"willvalidate\"];\nfunction wb(a){var b;if(8=", - L"=a.nodeType)return i;b=\"usemap\";if(b==\"style\")return a=ga(a.style.", - L"cssText).toLowerCase(),a.charAt(a.length-1)==\";\"?a:a+\";\";var c=a.g", - L"etAttributeNode(b);!c&&z(8)&&D(vb,b)>=0&&(c=a[b]);if(!c)return i;if(D(", - L"vb,b)>=0)return c.value==\"false\"?i:\"true\";return c.specified?c.val", - L"ue:i}var xb=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",", - L"\"TEXTAREA\"];\nfunction yb(a){var b=a.tagName.toUpperCase();if(!(D(xb", - L",b)>=0))return!0;if(ub(a,\"disabled\"))return!1;if(a.parentNode&&a.par", - L"entNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return yb(a.parent", - L"Node);return!0}function zb(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.n", - L"odeType!=9&&a.nodeType!=11;)a=a.parentNode;return M(a)?a:i}function Ab", - L"(a,b){b=pa(b);return rb(a,b)||Bb(a,b)}function Bb(a,b){var c=(a.curren", - L"tStyle||a.style)[b];if(c!=\"inherit\")return c!==h?c:i;return(c=zb(a))", - L"?Bb(c,b):i}\nfunction Cb(a){if(ba(a.getBBox))return a.getBBox();var b;", - L"if((rb(a,\"display\")||(a.currentStyle?a.currentStyle.display:i)||a.st", - L"yle.display)!=\"none\")b=new $a(a.offsetWidth,a.offsetHeight);else{b=a", - L".style;var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidd", - L"en\";b.position=\"absolute\";b.display=\"inline\";var f=a.offsetWidth,", - L"a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;b=new $a(f,a)", - L"}return b}\nfunction Db(a,b){function c(a){if(Ab(a,\"display\")==\"non", - L"e\")return!1;a=zb(a);return!a||c(a)}function d(a){var b=Cb(a);if(b.hei", - L"ght>0&&b.width>0)return!0;return Qa(a.childNodes,function(a){return a.", - L"nodeType==E||M(a)&&d(a)})}M(a)||g(Error(\"Argument to isShown must be ", - L"of type Element\"));if(M(a,\"TITLE\"))return G(F(a))==Ca;if(M(a,\"OPTI", - L"ON\")||M(a,\"OPTGROUP\")){var e=nb(a,function(a){return M(a,\"SELECT\"", - L")});return!!e&&Db(e,b)}if(M(a,\"MAP\")){if(!a.name)return!1;e=F(a);e=e", - L".evaluate?ob.na('/descendant::*[@usemap = \"#'+\na.name+'\"]',e):lb(e,", - L"function(b){return M(b)&&wb(b)==\"#\"+a.name});return!!e&&Db(e,b)}if(M", - L"(a,\"AREA\"))return e=nb(a,function(a){return M(a,\"MAP\")}),!!e&&Db(e", - L",b);if(M(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(Ab", - L"(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&Eb(a)", - L"==0)return!1;if(!d(a))return!1;return!0}\nfunction Eb(a){if(Ab(a,\"pos", - L"ition\")==\"relative\")return 1;a=Ab(a,\"filter\");return(a=a.match(/^", - L"alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microso", - L"ft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1};var Fb=[\"dragstar", - L"t\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction N(a,b,c){var d", - L"=F(a),e=c||{},c=e.clientX||0,f=e.clientY||0,j=e.button||0,k=!!e.alt,l=", - L"!!e.control,r=!!e.shift,n=!!e.meta,t=i;D(Fb,b)>=0&&(t=e.related||i,!t&", - L"&b==\"mouseover\"&&(t=zb(a)),!t&&b==\"mouseout\"&&(t=a));d=d.createEve", - L"ntObject();d.altKey=k;d.ra=l;d.metaKey=n;d.shiftKey=r;d.clientX=c;d.cl", - L"ientY=f;d.button=j;b==\"mouseout\"?(d.fromElement=a,d.toElement=t):b==", - L"\"mouseover\"?(d.fromElement=t,d.toElement=a):(d.fromElement=i,d.toEle", - L"ment=i);return d}\nfunction Gb(a,b,c){var d=c||{},b=d.keyCode||0,c=!!d", - L".alt,e=!!d.ctrl,f=!!d.shift,d=!!d.meta,a=F(a).createEventObject();a.ke", - L"yCode=b;a.altKey=c;a.ctrlKey=e;a.metaKey=d;a.shiftKey=f;return a}\nfun", - L"ction Hb(a,b,c){var d=F(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,j=!!e.con", - L"trol,k=!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a=d.c", - L"reateEventObject(),a.altKey=f,a.sa=j,a.metaKey=e,a.shiftKey=k):(a=d.cr", - L"eateEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=k,a.metaKey=e", - L",a.altKey=f,a.ctrlKey=j);return a}var O={};O.click=N;O.keydown=Gb;O.ke", - L"ypress=Gb;O.keyup=Gb;O.mousedown=N;O.mousemove=N;O.mouseout=N;O.mouseo", - L"ver=N;O.mouseup=N;var Ib={};function P(a,b,c){v(a)&&(a=a.e);a=new Jb(a", - L",b,c);if(b&&(!(b in Ib)||c))Ib[b]={key:a,shift:!1},c&&(Ib[c]={key:a,sh", - L"ift:!0})}function Jb(a,b,c){this.code=a;this.fa=b||i;this.Ca=c||this.f", - L"a}P(8);P(9);P(13);P(16);P(17);P(18);P(19);P(20);P(27);P(32,\" \");P(33", - L");P(34);P(35);P(36);P(37);P(38);P(39);P(40);P(44);P(45);P(46);P(48,\"0", - L"\",\")\");P(49,\"1\",\"!\");P(50,\"2\",\"@\");P(51,\"3\",\"#\");P(52,", - L"\"4\",\"$\");P(53,\"5\",\"%\");P(54,\"6\",\"^\");P(55,\"7\",\"&\");P(5", - L"6,\"8\",\"*\");P(57,\"9\",\"(\");P(65,\"a\",\"A\");P(66,\"b\",\"B\");P", - L"(67,\"c\",\"C\");\nP(68,\"d\",\"D\");P(69,\"e\",\"E\");P(70,\"f\",\"F", - L"\");P(71,\"g\",\"G\");P(72,\"h\",\"H\");P(73,\"i\",\"I\");P(74,\"j\",", - L"\"J\");P(75,\"k\",\"K\");P(76,\"l\",\"L\");P(77,\"m\",\"M\");P(78,\"n", - L"\",\"N\");P(79,\"o\",\"O\");P(80,\"p\",\"P\");P(81,\"q\",\"Q\");P(82,", - L"\"r\",\"R\");P(83,\"s\",\"S\");P(84,\"t\",\"T\");P(85,\"u\",\"U\");P(8", - L"6,\"v\",\"V\");P(87,\"w\",\"W\");P(88,\"x\",\"X\");P(89,\"y\",\"Y\");P", - L"(90,\"z\",\"Z\");P(ra?{g:91,e:91,opera:219}:qa?{g:224,e:91,opera:17}:{", - L"g:0,e:91,opera:i});P(ra?{g:92,e:92,opera:220}:qa?{g:224,e:93,opera:17}", - L":{g:0,e:92,opera:i});\nP(ra?{g:93,e:93,opera:0}:qa?{g:0,e:0,opera:16}:", - L"{g:93,e:i,opera:0});P({g:96,e:96,opera:48},\"0\");P({g:97,e:97,opera:4", - L"9},\"1\");P({g:98,e:98,opera:50},\"2\");P({g:99,e:99,opera:51},\"3\");", - L"P({g:100,e:100,opera:52},\"4\");P({g:101,e:101,opera:53},\"5\");P({g:1", - L"02,e:102,opera:54},\"6\");P({g:103,e:103,opera:55},\"7\");P({g:104,e:1", - L"04,opera:56},\"8\");P({g:105,e:105,opera:57},\"9\");P({g:106,e:106,ope", - L"ra:y?56:42},\"*\");P({g:107,e:107,opera:y?61:43},\"+\");P({g:109,e:109", - L",opera:y?109:45},\"-\");P({g:110,e:110,opera:y?190:78},\".\");\nP({g:1", - L"11,e:111,opera:y?191:47},\"/\");P(144);P(112);P(113);P(114);P(115);P(1", - L"16);P(117);P(118);P(119);P(120);P(121);P(122);P(123);P({g:107,e:187,op", - L"era:61},\"=\",\"+\");P({g:109,e:189,opera:109},\"-\",\"_\");P(188,\",", - L"\",\"<\");P(190,\".\",\">\");P(191,\"/\",\"?\");P(192,\"`\",\"~\");P(2", - L"19,\"[\",\"{\");P(220,\"\\\\\",\"|\");P(221,\"]\",\"}\");P({g:59,e:186", - L",opera:59},\";\",\":\");P(222,\"'\",'\"');function Kb(){Lb&&(this[ca]|", - L"|(this[ca]=++da))}var Lb=!1;function Mb(a){return Nb(a||arguments.call", - L"ee.caller,[])}\nfunction Nb(a,b){var c=[];if(D(b,a)>=0)c.push(\"[...ci", - L"rcular reference...]\");else if(a&&b.length<50){c.push(Ob(a)+\"(\");fo", - L"r(var d=a.arguments,e=0;e0&&c.push(\", \");var f;f=d[", - L"e];switch(typeof f){case \"object\":f=f?\"object\":\"null\";break;case", - L" \"string\":break;case \"number\":f=String(f);break;case \"boolean\":f", - L"=f?\"true\":\"false\";break;case \"function\":f=(f=Ob(f))?f:\"[fn]\";b", - L"reak;default:f=typeof f}f.length>40&&(f=f.substr(0,40)+\"...\");c.push", - L"(f)}b.push(a);c.push(\")\\n\");try{c.push(Nb(a.caller,b))}catch(j){c.p", - L"ush(\"[exception trying to get caller]\\n\")}}else a?\nc.push(\"[...lo", - L"ng stack...]\"):c.push(\"[end]\");return c.join(\"\")}function Ob(a){a", - L"=String(a);if(!Pb[a]){var b=/function ([^\\(]+)/.exec(a);Pb[a]=b?b[1]:", - L"\"[Anonymous]\"}return Pb[a]}var Pb={};function Q(a,b,c,d,e){this.rese", - L"t(a,b,c,d,e)}Q.prototype.ma=0;Q.prototype.ba=i;Q.prototype.aa=i;var Qb", - L"=0;Q.prototype.reset=function(a,b,c,d,e){this.ma=typeof e==\"number\"?", - L"e:Qb++;this.Da=d||ea();this.J=a;this.ka=b;this.ya=c;delete this.ba;del", - L"ete this.aa};Q.prototype.ea=function(a){this.J=a};function R(a){this.l", - L"a=a}R.prototype.Q=i;R.prototype.J=i;R.prototype.T=i;R.prototype.da=i;f", - L"unction Rb(a,b){this.name=a;this.value=b}Rb.prototype.toString=m(\"nam", - L"e\");var Sb=new Rb(\"SEVERE\",1E3),Tb=new Rb(\"WARNING\",900),Ub=new R", - L"b(\"CONFIG\",700);R.prototype.getParent=m(\"Q\");R.prototype.ea=functi", - L"on(a){this.J=a};function Vb(a){if(a.J)return a.J;if(a.Q)return Vb(a.Q)", - L";Ma(\"Root logger has no level set.\");return i}\nR.prototype.log=func", - L"tion(a,b,c){if(a.value>=Vb(this).value){a=this.ia(a,b,c);q.console&&q.", - L"console.markTimeline&&q.console.markTimeline(\"log:\"+a.ka);for(b=this", - L";b;){var c=b,d=a;if(c.da)for(var e=0,f=h;f=c.da[e];e++)f(d);b=b.getPar", - L"ent()}}};\nR.prototype.ia=function(a,b,c){var d=new Q(a,String(b),this", - L".la);if(c){d.ba=c;var e;var f=arguments.callee.caller;try{var j;var k;", - L"c:{for(var l=\"window.location.href\".split(\".\"),r=q,n;n=l.shift();)", - L"if(r[n]!=i)r=r[n];else{k=i;break c}k=r}if(u(c))j={message:c,name:\"Unk", - L"nown error\",lineNumber:\"Not available\",fileName:k,stack:\"Not avail", - L"able\"};else{var t,Ua,l=!1;try{t=c.lineNumber||c.xa||\"Not available\"", - L"}catch(Gc){t=\"Not available\",l=!0}try{Ua=c.fileName||c.filename||c.s", - L"ourceURL||k}catch(Hc){Ua=\"Not available\",\nl=!0}j=l||!c.lineNumber||", - L"!c.fileName||!c.stack?{message:c.message,name:c.name,lineNumber:t,file", - L"Name:Ua,stack:c.stack||\"Not available\"}:c}e=\"Message: \"+x(j.messag", - L"e)+'\\nUrl: '+j", - L".fileName+\"\\nLine: \"+j.lineNumber+\"\\n\\nBrowser stack:\\n\"+x", - L"(j.stack+\"-> \")+\"[end]\\n\\nJS stack traversal:\\n\"+x(Mb(f)+\"-> ", - L"\")}catch(Ec){e=\"Exception trying to expose exception! You win, we lo", - L"se. \"+Ec}d.aa=e}return d};var Wb={},Xb=i;\nfunction Yb(a){Xb||(Xb=new", - L" R(\"\"),Wb[\"\"]=Xb,Xb.ea(Ub));var b;if(!(b=Wb[a])){b=new R(a);var c=", - L"a.lastIndexOf(\".\"),d=a.substr(c+1),c=Yb(a.substr(0,c));if(!c.T)c.T={", - L"};c.T[d]=b;b.Q=c;Wb[a]=b}return b};function S(){Kb.call(this)}w(S,Kb);", - L"Yb(\"goog.dom.SavedRange\");w(function(a){Kb.call(this);this.oa=\"goog", - L"_\"+na++;this.ha=\"goog_\"+na++;this.Z=ab(a.V());a.M(this.Z.U(\"SPAN\"", - L",{id:this.oa}),this.Z.U(\"SPAN\",{id:this.ha}))},S);function T(){}func", - L"tion Zb(a){if(a.getSelection)return a.getSelection();else{var a=a.docu", - L"ment,b=a.selection;if(b){try{var c=b.createRange();if(c.parentElement)", - L"{if(c.parentElement().document!=a)return i}else if(!c.length||c.item(0", - L").document!=a)return i}catch(d){return i}return b}return i}}function $", - L"b(a){for(var b=[],c=0,d=a.B();c=0&&this.l(d,", - L"1,0)<=0:this.l(d,0,0)>=0&&this.l(d,1,1)<=0}catch(e){return!1}};cc.prot", - L"otype.containsNode=function(a,b){return this.s(U(a),b)};cc.prototype.A", - L"=function(){return new bc(this.b(),this.j(),this.i(),this.k())};functi", - L"on X(a){this.a=a}w(X,cc);p=X.prototype;p.u=function(){return this.a.co", - L"mmonAncestorContainer};p.b=function(){return this.a.startContainer};p.", - L"j=function(){return this.a.startOffset};p.i=function(){return this.a.e", - L"ndContainer};p.k=function(){return this.a.endOffset};p.l=function(a,b,", - L"c){return this.a.compareBoundaryPoints(c==1?b==1?q.Range.START_TO_STAR", - L"T:q.Range.START_TO_END:b==1?q.Range.END_TO_START:q.Range.END_TO_END,a)", - L"};p.isCollapsed=function(){return this.a.collapsed};\np.select=functio", - L"n(a){this.R(G(F(this.b())).getSelection(),a)};p.R=function(a){a.remove", - L"AllRanges();a.addRange(this.a)};p.insertNode=function(a,b){var c=this.", - L"a.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};\np.", - L"M=function(a,b){var c=G(F(this.b()));if(c=(c=Zb(c||window))&&dc(c))var", - L" d=c.b(),e=c.i(),f=c.j(),j=c.k();var k=this.a.cloneRange(),l=this.a.cl", - L"oneRange();k.collapse(!1);l.collapse(!0);k.insertNode(b);l.insertNode(", - L"a);k.detach();l.detach();if(c){if(d.nodeType==E)for(;f>d.length;){f-=d", - L".length;do d=d.nextSibling;while(d==a||d==b)}if(e.nodeType==E)for(;j>e", - L".length;){j-=e.length;do e=e.nextSibling;while(e==a||e==b)}c=new ec;c.", - L"D=fc(d,f,e,j);if(d.tagName==\"BR\")k=d.parentNode,f=D(k.childNodes,d),", - L"d=k;if(e.tagName==\n\"BR\")k=e.parentNode,j=D(k.childNodes,e),e=k;c.D?", - L"(c.d=e,c.h=j,c.c=d,c.f=f):(c.d=d,c.h=f,c.c=e,c.f=j);c.select()}};p.col", - L"lapse=function(a){this.a.collapse(a)};function gc(a){this.a=a}w(gc,X);", - L"gc.prototype.R=function(a,b){var c=b?this.i():this.b(),d=b?this.k():th", - L"is.j(),e=b?this.b():this.i(),f=b?this.j():this.k();a.collapse(c,d);(c!", - L"=e||d!=f)&&a.extend(e,f)};function hc(a,b){this.a=a;this.ta=b}w(hc,cc)", - L";var ic=Yb(\"goog.dom.browserrange.IeRange\");function jc(a){var b=F(a", - L").body.createTextRange();if(a.nodeType==1)b.moveToElementText(a),Y(a)&", - L"&!a.childNodes.length&&b.collapse(!1);else{for(var c=0,d=a;d=d.previou", - L"sSibling;){var e=d.nodeType;if(e==E)c+=d.length;else if(e==1){b.moveTo", - L"ElementText(d);break}}d||b.moveToElementText(a.parentNode);b.collapse(", - L"!d);c&&b.move(\"character\",c);b.moveEnd(\"character\",a.length)}retur", - L"n b}p=hc.prototype;p.w=i;p.d=i;p.c=i;p.h=-1;\np.f=-1;p.q=function(){th", - L"is.w=this.d=this.c=i;this.h=this.f=-1};\np.u=function(){if(!this.w){va", - L"r a=this.a.text,b=this.a.duplicate(),c=a.replace(/ +$/,\"\");(c=a.leng", - L"th-c.length)&&b.moveEnd(\"character\",-c);c=b.parentElement();b=b.html", - L"Text.replace(/(\\r\\n|\\r|\\n)+/g,\" \").length;if(this.isCollapsed()&", - L"&b>0)return this.w=c;for(;b>c.outerHTML.replace(/(\\r\\n|\\r|\\n)+/g,", - L"\" \").length;)c=c.parentNode;for(;c.childNodes.length==1&&c.innerText", - L"==(c.firstChild.nodeType==E?c.firstChild.nodeValue:c.firstChild.innerT", - L"ext);){if(!Y(c.firstChild))break;c=c.firstChild}a.length==0&&(c=kc(thi", - L"s,\nc));this.w=c}return this.w};function kc(a,b){for(var c=b.childNode", - L"s,d=0,e=c.length;d=0&&a.l(j,1,0)<=0:a.a.i", - L"nRange(j))return kc(a,f)}}return b}p.b=function(){if(!this.d&&(this.d=", - L"lc(this,1),this.isCollapsed()))this.c=this.d;return this.d};p.j=functi", - L"on(){if(this.h<0&&(this.h=mc(this,1),this.isCollapsed()))this.f=this.h", - L";return this.h};\np.i=function(){if(this.isCollapsed())return this.b()", - L";if(!this.c)this.c=lc(this,0);return this.c};p.k=function(){if(this.is", - L"Collapsed())return this.j();if(this.f<0&&(this.f=mc(this,0),this.isCol", - L"lapsed()))this.h=this.f;return this.f};p.l=function(a,b,c){return this", - L".a.compareEndPoints((b==1?\"Start\":\"End\")+\"To\"+(c==1?\"Start\":\"", - L"End\"),a)};\nfunction lc(a,b,c){c=c||a.u();if(!c||!c.firstChild)return", - L" c;for(var d=b==1,e=0,f=c.childNodes.length;e0)return lc(a,b,k)}return c}", - L"\nfunction mc(a,b){var c=b==1,d=c?a.b():a.i();if(d.nodeType==1){for(va", - L"r d=d.childNodes,e=d.length,f=c?1:-1,j=c?0:e-1;j>=0&&j", - L"j.childNodes.length&&ic.log(Sb,\"Cannot have startOffset > startNode c", - L"hild count\",h),k=j.childNodes[k],r=!k,j=k||j.lastChild||j,k=0);var n=", - L"jc(j);k&&n.move(\"character\",k);j==l&&k==f?n.collapse(!0):(r&&n.colla", - L"pse(!1),r=!1,l.nodeType==1&&(f>l.childNodes.length&&ic.log(Sb,\"Cannot", - L" have endOffset > endNode child count\",\nh),t=(k=l.childNodes[f])||l.", - L"lastChild||l,l=t,f=0,r=!k),j=jc(l),j.collapse(!r),f&&j.moveEnd(\"chara", - L"cter\",f),n.setEndPoint(\"EndToEnd\",j));f=new hc(n,F(b));f.d=b;f.h=c;", - L"f.c=d;f.f=e;b=f}b=a.H=b}return b}p.u=function(){return Z(this).u()};p.", - L"b=function(){return this.d||(this.d=Z(this).b())};p.j=function(){retur", - L"n this.h!=i?this.h:this.h=Z(this).j()};p.i=function(){return this.c||(", - L"this.c=Z(this).i())};p.k=function(){return this.f!=i?this.f:this.f=Z(t", - L"his).k()};p.C=m(\"D\");\np.s=function(a,b){var c=a.W();if(c==\"text\")", - L"return Z(this).s(Z(a),b);else if(c==\"control\")return c=rc(a),(b?Qa:R", - L"a)(c,function(a){return this.containsNode(a,b)},this);return!1};p.isCo", - L"llapsed=function(){return Z(this).isCollapsed()};p.A=function(){return", - L" new bc(this.b(),this.j(),this.i(),this.k())};p.select=function(){Z(th", - L"is).select(this.D)};p.insertNode=function(a,b){var c=Z(this).insertNod", - L"e(a,b);this.q();return c};p.M=function(a,b){Z(this).M(a,b);this.q()};p", - L".X=function(){return new sc(this)};\np.collapse=function(a){a=this.C()", - L"?!a:a;this.H&&this.H.collapse(a);a?(this.c=this.d,this.f=this.h):(this", - L".d=this.c,this.h=this.f);this.D=!1};function sc(a){this.pa=a.C()?a.i()", - L":a.b();this.qa=a.C()?a.k():a.j();this.ua=a.C()?a.b():a.i();this.va=a.C", - L"()?a.j():a.k()}w(sc,S);function tc(){}w(tc,W);p=tc.prototype;p.a=i;p.m", - L"=i;p.L=i;p.q=function(){this.L=this.m=i};p.W=o(\"control\");p.P=functi", - L"on(){return this.a||document.body.createControlRange()};p.B=function()", - L"{return this.a?this.a.length:0};p.v=function(a){a=this.a.item(a);retur", - L"n ac(U(a),h)};p.u=function(){return kb.apply(i,rc(this))};p.b=function", - L"(){return uc(this)[0]};p.j=o(0);p.i=function(){var a=uc(this),b=C(a);r", - L"eturn Sa(a,function(a){return H(a,b)})};p.k=function(){return this.i()", - L".childNodes.length};\nfunction rc(a){if(!a.m&&(a.m=[],a.a))for(var b=0", - L";b1&&this.ja.log(Tb,\"getBrowse", - L"rRangeObject called on MultiRange with more than 1 range\",h);return t", - L"his.r[0]};p.B=function(){return this.r.length};p.v=function(a){this.K[", - L"a]||(this.K[a]=ac(qc(this.r[a]),h));return this.K[a]};\np.u=function()", - L"{if(!this.N){for(var a=[],b=0,c=this.B();b1){b=new xc;for(var c=0,e=", - L"a.rangeCount;c0};function Bc(a){var b=Db(a,!0),a=b&&yb(a);b?a||g(new B(12,\"Ele", - L"ment is not currently enabled and may not be manipulated\")):g(new B(1", - L"1,\"Element is not currently visible and may not be manipulated\"))};f", - L"unction Cc(a){Bc(a);var b;M(a,\"TEXTAREA\")?b=!0:M(a,\"INPUT\")?(b=a.t", - L"ype.toLowerCase(),b=b==\"text\"||b==\"password\"||b==\"email\"||b==\"s", - L"earch\"):b=!1;(!b||ub(a,\"readOnly\"))&&g(new B(12,\"Element cannot co", - L"ntain user-editable text\"));Bc(a);b=F(a).activeElement;a!=b&&(b&&((ba", - L"(b.blur)||v(b.blur))&&b.blur(),!z(8)&&G(F(a)).focus()),(ba(a.focus)||v", - L"(a.focus))&&a.focus());if(a.value){a.value=\"\";b=(O.change||Hb)(a,\"c", - L"hange\",h);if(!(\"isTrusted\"in b))b.wa=!1;a.fireEvent(\"onchange\",b)", - L"}}var Dc=\"_\".split(\".\"),$=q;\n!(Dc[0]in $)&&$.execScript&&$.execSc", - L"ript(\"var \"+Dc[0]);for(var Fc;Dc.length&&(Fc=Dc.shift());)!Dc.length", - L"&&Cc!==h?$[Fc]=Cc:$=$[Fc]?$[Fc]:$[Fc]={};; return this._.apply(null,ar", - L"guments);}.apply({navigator:typeof window!='undefined'?window.navigato", - L"r:null}, arguments);}", - NULL -}; - -const wchar_t* const FIND_ELEMENT[] = { - L"function(){return function(){function f(a){throw a;}var i=void 0,j=nul", - L"l,k=this;\nfunction l(a){var b=typeof a;if(b==\"object\")if(a){if(a in", - L"stanceof Array)return\"array\";else if(a instanceof Object)return b;va", - L"r c=Object.prototype.toString.call(a);if(c==\"[object Window]\")return", - L"\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&type", - L"of a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined", - L"\"&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[objec", - L"t Function]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumer", - L"able!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"functio", - L"n\"}else return\"null\";\nelse if(b==\"function\"&&typeof a.call==\"un", - L"defined\")return\"object\";return b}function n(a){return typeof a==\"s", - L"tring\"}function o(a){return l(a)==\"function\"}function p(a){a=l(a);r", - L"eturn a==\"object\"||a==\"array\"||a==\"function\"}function r(a,b){fun", - L"ction c(){}c.prototype=b.prototype;a.p=b.prototype;a.prototype=new c};", - L"function s(a){var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}func", - L"tion aa(a){for(var b=1;bb)return 1;return 0}var ba={};function ca(a", - L"){return ba[a]||(ba[a]=String(a).replace(/\\-([a-z])/g,function(a,c){r", - L"eturn c.toUpperCase()}))};var da;var v=\"\",ea=/MSIE\\s+([^\\);]+)(\\)", - L"|;)/.exec(k.navigator?k.navigator.userAgent:j),v=ea?ea[1]:\"\",x,fa=k.", - L"document;x=fa?fa.documentMode:i;da=x>parseFloat(v)?String(x):v;var ga=", - L"{};\nfunction y(a){var b;if(!(b=ga[a])){b=0;for(var c=t(String(da)).sp", - L"lit(\".\"),d=t(String(a)).split(\".\"),e=Math.max(c.length,d.length),g", - L"=0;b==0&&g=0}return b};var z={},ha=window;function C(a", - L"){this.stack=Error().stack||\"\";if(a)this.message=String(a)}r(C,Error", - L");C.prototype.name=\"CustomError\";function ia(a,b){b.unshift(a);C.cal", - L"l(this,aa.apply(j,b));b.shift();this.q=a}r(ia,C);ia.prototype.name=\"A", - L"ssertionError\";function D(a,b){if(n(a)){if(!n(b)||b.length!=1)return-", - L"1;return a.indexOf(b,0)}for(var c=0;c=0&&(d[e+", - L"+]=h);d.length=e;c=d}else c=a;return c}\nI.prototype.contains=K;var M=", - L"{i:function(a){return a.querySelectorAll&&a.querySelector}};M.b=functi", - L"on(a,b){a||f(Error(\"No class name specified\"));a=t(a);a.split(/\\s+/", - L").length>1&&f(Error(\"Compound class names not permitted\"));if(M.i(b)", - L")return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||j;var c=L(", - L"H(b),\"*\",a,b);return c.length?c[0]:j};\nM.e=function(a,b){a||f(Error", - L"(\"No class name specified\"));a=t(a);a.split(/\\s+/).length>1&&f(Erro", - L"r(\"Compound class names not permitted\"));if(M.i(b))return b.querySel", - L"ectorAll(\".\"+a.replace(/\\./g,\"\\\\.\"));return L(H(b),\"*\",a,b)};", - L"var N={k:function(a,b,c){var d=J(a);if(!d.implementation.hasFeature(\"", - L"XPath\",\"3.0\"))return j;var e=d.createNSResolver(d.documentElement);", - L"return d.evaluate(b,a,e,c,j)},b:function(a,b){var c=function(b,c){var ", - L"g=J(b);if(b.selectSingleNode)return g.setProperty&&g.setProperty(\"Sel", - L"ectionLanguage\",\"XPath\"),b.selectSingleNode(c);try{var h=N.k(b,c,9)", - L";return h?h.singleNodeValue:j}catch(m){f(Error(z.g.h,\"Unable to locat", - L"e an element with the xpath expression \"+a))}}(b,a);if(!c)return j;c.", - L"nodeType!=1&&f(Error(\"Returned node is not an element: \"+\na));retur", - L"n c},e:function(a,b){var c=function(b,c){var g=J(b);if(b.selectNodes)r", - L"eturn g.setProperty&&g.setProperty(\"SelectionLanguage\",\"XPath\"),b.", - L"selectNodes(c);var g=[],h;try{h=N.k(b,c,7)}catch(m){f(Error(z.g.h,\"Un", - L"able to locate elements with the xpath expression \"+c))}if(h)for(var ", - L"w=h.snapshotLength,A=0;A=0;c--)a.pa", - L"rentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNod", - L"e&&a.parentNode.removeChild(a)};function R(a,b,c,d){P.call(this,a,b,c,", - L"j,d)}r(R,P);R.prototype.next=function(){do R.p.next.call(this);while(t", - L"his.d==-1);return this.c};function ra(a,b){var c=J(a);if(c.defaultView", - L"&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,", - L"j)))return c[b]||c.getPropertyValue(b);return\"\"};function S(a,b){ret", - L"urn!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar sa=[\"as", - L"ync\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",", - L"\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defe", - L"r\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\"", - L",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loo", - L"p\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"noval", - L"idate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"requ", - L"ired\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",", - L"\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction T(a,b){if(8=", - L"=a.nodeType)return j;b=b.toLowerCase();if(b==\"style\"){var c=t(a.styl", - L"e.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}", - L"c=a.getAttributeNode(b);!c&&y(8)&&D(sa,b)>=0&&(c=a[b]);if(!c)return j;", - L"if(D(sa,b)>=0)return c.value==\"false\"?j:\"true\";return c.specified?", - L"c.value:j}function ta(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeTy", - L"pe!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:j}function U(a,b){", - L"b=ca(b);return ra(a,b)||ua(a,b)}\nfunction ua(a,b){var c=(a.currentSty", - L"le||a.style)[b];if(c!=\"inherit\")return c!==i?c:j;return(c=ta(a))?ua(", - L"c,b):j}\nfunction va(a){if(o(a.getBBox))return a.getBBox();var b;if((r", - L"a(a,\"display\")||(a.currentStyle?a.currentStyle.display:j)||a.style.d", - L"isplay)!=\"none\")b=new G(a.offsetWidth,a.offsetHeight);else{b=a.style", - L";var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b", - L".position=\"absolute\";b.display=\"inline\";var g=a.offsetWidth,a=a.of", - L"fsetHeight;b.display=c;b.position=e;b.visibility=d;b=new G(g,a)}return", - L" b}\nfunction V(a,b){function c(a){if(U(a,\"display\")==\"none\")retur", - L"n!1;a=ta(a);return!a||c(a)}function d(a){var b=va(a);if(b.height>0&&b.", - L"width>0)return!0;return ka(a.childNodes,function(a){return a.nodeType=", - L"=ma||S(a)&&d(a)})}S(a)||f(Error(\"Argument to isShown must be of type ", - L"Element\"));if(S(a,\"TITLE\"))return(J(a)?J(a).parentWindow||J(a).defa", - L"ultView:window)==ha;if(S(a,\"OPTION\")||S(a,\"OPTGROUP\")){var e=pa(a,", - L"function(a){return S(a,\"SELECT\")});return!!e&&V(e,b)}if(S(a,\"MAP\")", - L"){if(!a.name)return!1;e=J(a);e=e.evaluate?\nN.b('/descendant::*[@usema", - L"p = \"#'+a.name+'\"]',e):na(e,function(b){return S(b)&&T(b,\"usemap\")", - L"==\"#\"+a.name});return!!e&&V(e,b)}if(S(a,\"AREA\"))return e=pa(a,func", - L"tion(a){return S(a,\"MAP\")}),!!e&&V(e,b);if(S(a,\"INPUT\")&&a.type.to", - L"LowerCase()==\"hidden\")return!1;if(U(a,\"visibility\")==\"hidden\")re", - L"turn!1;if(!c(a))return!1;if(!b&&wa(a)==0)return!1;if(!d(a))return!1;re", - L"turn!0}function xa(a){return a.replace(/^[^\\S\\xa0]+|[^\\S\\xa0]+$/g,", - L"\"\")}\nfunction ya(a){var b=[];za(a,b);for(var c=b,a=c.length,b=Array", - L"(a),c=n(c)?c.split(\"\"):c,d=0;d=0);e&&!/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")&&b.p", - L"ush(\"\");var g=V(a),h=j,m=j;g&&(h=U(a,\"white-space\"),m=U(a,\"text-t", - L"ransform\"));ja(a.childNodes,function(a){a.nodeType==ma&&g?Ba(a,b,h,m)", - L":S(a)&&za(a,b)});var w=b[b.length-1]||\"\";if((c||d==\"table-cell\")&&", - L"w&&!s(w))b[b.length-1]+=\" \";e&&!/^[\\s\\xa0]*$/.test(w)&&b.push(\"\"", - L")}}var Aa=[\"inline\",\"inline-block\",\"inline-table\",\"none\",\"tab", - L"le-cell\",\"table-column\",\"table-column-group\"];\nfunction Ba(a,b,c", - L",d){a=a.nodeValue.replace(/\\u200b/g,\"\");a=a.replace(/(\\r\\n|\\r|", - L"\\n)/g,\"\\n\");if(c==\"normal\"||c==\"nowrap\")a=a.replace(/\\n/g,\" ", - L"\");a=c==\"pre\"||c==\"pre-wrap\"?a.replace(/\\f\\t\\v\\u2028\\u2029/,", - L"\" \"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");d==\"capitali", - L"ze\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCas", - L"e()}):d==\"uppercase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=a.toLowe", - L"rCase());c=b.pop()||\"\";s(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(", - L"1));b.push(c+a)}\nfunction wa(a){if(U(a,\"position\")==\"relative\")re", - L"turn 1;a=U(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/", - L")||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)", - L"\\)/))?Number(a[1])/100:1};var W={},X={};W.m=function(a,b,c){b=L(H(b),", - L"\"A\",j,b);return F(b,function(b){b=ya(b);return c&&b.indexOf(a)!=-1||", - L"b==a})};W.l=function(a,b,c){b=L(H(b),\"A\",j,b);return E(b,function(b)", - L"{b=ya(b);return c&&b.indexOf(a)!=-1||b==a})};W.b=function(a,b){return ", - L"W.m(a,b,!1)};W.e=function(a,b){return W.l(a,b,!1)};X.b=function(a,b){r", - L"eturn W.m(a,b,!0)};X.e=function(a,b){return W.l(a,b,!0)};var Ca={class", - L"Name:M,css:{b:function(a,b){!o(b.querySelector)&&y(8)&&!p(b.querySelec", - L"tor)&&f(Error(\"CSS selection is not supported\"));a||f(Error(\"No sel", - L"ector specified\"));a.split(/,/).length>1&&f(Error(\"Compound selector", - L"s not permitted\"));var a=t(a),c=b.querySelector(a);return c&&c.nodeTy", - L"pe==1?c:j},e:function(a,b){!o(b.querySelectorAll)&&y(8)&&!p(b.querySel", - L"ector)&&f(Error(\"CSS selection is not supported\"));a||f(Error(\"No s", - L"elector specified\"));a.split(/,/).length>1&&f(Error(\"Compound select", - L"ors not permitted\"));\na=t(a);return b.querySelectorAll(a)}},id:{b:fu", - L"nction(a,b){var c=H(b),d=n(a)?c.j.getElementById(a):a;if(!d)return j;i", - L"f(T(d,\"id\")==a&&K(b,d))return d;c=L(c,\"*\");return F(c,function(c){", - L"return T(c,\"id\")==a&&K(b,c)})},e:function(a,b){var c=L(H(b),\"*\",j,", - L"b);return E(c,function(b){return T(b,\"id\")==a})}},linkText:W,name:{b", - L":function(a,b){var c=L(H(b),\"*\",j,b);return F(c,function(b){return T", - L"(b,\"name\")==a})},e:function(a,b){var c=L(H(b),\"*\",j,b);return E(c,", - L"function(b){return T(b,\"name\")==a})}},partialLinkText:X,\ntagName:{b", - L":function(a,b){return b.getElementsByTagName(a)[0]||j},e:function(a,b)", - L"{return b.getElementsByTagName(a)}},xpath:N};function Da(a,b){var c;a:", - L"{for(c in a)if(!Object.prototype[c])break a;c=j}if(c){var d=Ca[c];if(d", - L"&&o(d.b))return d.b(a[c],b||ha.document)}f(Error(\"Unsupported locator", - L" strategy: \"+c))}var Y=\"_\".split(\".\"),Z=k;!(Y[0]in Z)&&Z.execScri", - L"pt&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.", - L"length&&Da!==i?Z[$]=Da:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,", - L"arguments);}.apply({navigator:typeof window!='undefined'?window.naviga", - L"tor:null}, arguments);}", - NULL -}; - -const wchar_t* const FIND_ELEMENTS[] = { - L"function(){return function(){function f(a){throw a;}var i=void 0,j=nul", - L"l,k=this;\nfunction l(a){var b=typeof a;if(b==\"object\")if(a){if(a in", - L"stanceof Array)return\"array\";else if(a instanceof Object)return b;va", - L"r c=Object.prototype.toString.call(a);if(c==\"[object Window]\")return", - L"\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&type", - L"of a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined", - L"\"&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[objec", - L"t Function]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumer", - L"able!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"functio", - L"n\"}else return\"null\";\nelse if(b==\"function\"&&typeof a.call==\"un", - L"defined\")return\"object\";return b}function n(a){return typeof a==\"s", - L"tring\"}function o(a){return l(a)==\"function\"}function p(a){a=l(a);r", - L"eturn a==\"object\"||a==\"array\"||a==\"function\"}function r(a,b){fun", - L"ction c(){}c.prototype=b.prototype;a.p=b.prototype;a.prototype=new c};", - L"function s(a){var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}func", - L"tion aa(a){for(var b=1;bb)return 1;return 0}var ba={};function ca(a", - L"){return ba[a]||(ba[a]=String(a).replace(/\\-([a-z])/g,function(a,c){r", - L"eturn c.toUpperCase()}))};var da;var v=\"\",ea=/MSIE\\s+([^\\);]+)(\\)", - L"|;)/.exec(k.navigator?k.navigator.userAgent:j),v=ea?ea[1]:\"\",x,fa=k.", - L"document;x=fa?fa.documentMode:i;da=x>parseFloat(v)?String(x):v;var ga=", - L"{};\nfunction y(a){var b;if(!(b=ga[a])){b=0;for(var c=t(String(da)).sp", - L"lit(\".\"),d=t(String(a)).split(\".\"),e=Math.max(c.length,d.length),g", - L"=0;b==0&&g=0}return b};var z={},ha=window;function C(a", - L"){this.stack=Error().stack||\"\";if(a)this.message=String(a)}r(C,Error", - L");C.prototype.name=\"CustomError\";function ia(a,b){b.unshift(a);C.cal", - L"l(this,aa.apply(j,b));b.shift();this.q=a}r(ia,C);ia.prototype.name=\"A", - L"ssertionError\";function D(a,b){if(n(a)){if(!n(b)||b.length!=1)return-", - L"1;return a.indexOf(b,0)}for(var c=0;c=0&&(d[e+", - L"+]=h);d.length=e;c=d}else c=a;return c}\nI.prototype.contains=K;var M=", - L"{i:function(a){return a.querySelectorAll&&a.querySelector}};M.d=functi", - L"on(a,b){a||f(Error(\"No class name specified\"));a=t(a);a.split(/\\s+/", - L").length>1&&f(Error(\"Compound class names not permitted\"));if(M.i(b)", - L")return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||j;var c=L(", - L"H(b),\"*\",a,b);return c.length?c[0]:j};\nM.b=function(a,b){a||f(Error", - L"(\"No class name specified\"));a=t(a);a.split(/\\s+/).length>1&&f(Erro", - L"r(\"Compound class names not permitted\"));if(M.i(b))return b.querySel", - L"ectorAll(\".\"+a.replace(/\\./g,\"\\\\.\"));return L(H(b),\"*\",a,b)};", - L"var N={k:function(a,b,c){var d=J(a);if(!d.implementation.hasFeature(\"", - L"XPath\",\"3.0\"))return j;var e=d.createNSResolver(d.documentElement);", - L"return d.evaluate(b,a,e,c,j)},d:function(a,b){var c=function(b,c){var ", - L"g=J(b);if(b.selectSingleNode)return g.setProperty&&g.setProperty(\"Sel", - L"ectionLanguage\",\"XPath\"),b.selectSingleNode(c);try{var h=N.k(b,c,9)", - L";return h?h.singleNodeValue:j}catch(m){f(Error(z.g.h,\"Unable to locat", - L"e an element with the xpath expression \"+a))}}(b,a);if(!c)return j;c.", - L"nodeType!=1&&f(Error(\"Returned node is not an element: \"+\na));retur", - L"n c},b:function(a,b){var c=function(b,c){var g=J(b);if(b.selectNodes)r", - L"eturn g.setProperty&&g.setProperty(\"SelectionLanguage\",\"XPath\"),b.", - L"selectNodes(c);var g=[],h;try{h=N.k(b,c,7)}catch(m){f(Error(z.g.h,\"Un", - L"able to locate elements with the xpath expression \"+c))}if(h)for(var ", - L"w=h.snapshotLength,A=0;A=0;c--)a.pa", - L"rentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNod", - L"e&&a.parentNode.removeChild(a)};function R(a,b,c,d){P.call(this,a,b,c,", - L"j,d)}r(R,P);R.prototype.next=function(){do R.p.next.call(this);while(t", - L"his.e==-1);return this.c};function ra(a,b){var c=J(a);if(c.defaultView", - L"&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,", - L"j)))return c[b]||c.getPropertyValue(b);return\"\"};function S(a,b){ret", - L"urn!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar sa=[\"as", - L"ync\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",", - L"\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defe", - L"r\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\"", - L",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loo", - L"p\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"noval", - L"idate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"requ", - L"ired\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",", - L"\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction T(a,b){if(8=", - L"=a.nodeType)return j;b=b.toLowerCase();if(b==\"style\"){var c=t(a.styl", - L"e.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}", - L"c=a.getAttributeNode(b);!c&&y(8)&&D(sa,b)>=0&&(c=a[b]);if(!c)return j;", - L"if(D(sa,b)>=0)return c.value==\"false\"?j:\"true\";return c.specified?", - L"c.value:j}function ta(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeTy", - L"pe!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:j}function U(a,b){", - L"b=ca(b);return ra(a,b)||ua(a,b)}\nfunction ua(a,b){var c=(a.currentSty", - L"le||a.style)[b];if(c!=\"inherit\")return c!==i?c:j;return(c=ta(a))?ua(", - L"c,b):j}\nfunction va(a){if(o(a.getBBox))return a.getBBox();var b;if((r", - L"a(a,\"display\")||(a.currentStyle?a.currentStyle.display:j)||a.style.d", - L"isplay)!=\"none\")b=new G(a.offsetWidth,a.offsetHeight);else{b=a.style", - L";var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b", - L".position=\"absolute\";b.display=\"inline\";var g=a.offsetWidth,a=a.of", - L"fsetHeight;b.display=c;b.position=e;b.visibility=d;b=new G(g,a)}return", - L" b}\nfunction V(a,b){function c(a){if(U(a,\"display\")==\"none\")retur", - L"n!1;a=ta(a);return!a||c(a)}function d(a){var b=va(a);if(b.height>0&&b.", - L"width>0)return!0;return ka(a.childNodes,function(a){return a.nodeType=", - L"=ma||S(a)&&d(a)})}S(a)||f(Error(\"Argument to isShown must be of type ", - L"Element\"));if(S(a,\"TITLE\"))return(J(a)?J(a).parentWindow||J(a).defa", - L"ultView:window)==ha;if(S(a,\"OPTION\")||S(a,\"OPTGROUP\")){var e=pa(a,", - L"function(a){return S(a,\"SELECT\")});return!!e&&V(e,b)}if(S(a,\"MAP\")", - L"){if(!a.name)return!1;e=J(a);e=e.evaluate?\nN.d('/descendant::*[@usema", - L"p = \"#'+a.name+'\"]',e):na(e,function(b){return S(b)&&T(b,\"usemap\")", - L"==\"#\"+a.name});return!!e&&V(e,b)}if(S(a,\"AREA\"))return e=pa(a,func", - L"tion(a){return S(a,\"MAP\")}),!!e&&V(e,b);if(S(a,\"INPUT\")&&a.type.to", - L"LowerCase()==\"hidden\")return!1;if(U(a,\"visibility\")==\"hidden\")re", - L"turn!1;if(!c(a))return!1;if(!b&&wa(a)==0)return!1;if(!d(a))return!1;re", - L"turn!0}function xa(a){return a.replace(/^[^\\S\\xa0]+|[^\\S\\xa0]+$/g,", - L"\"\")}\nfunction ya(a){var b=[];za(a,b);for(var c=b,a=c.length,b=Array", - L"(a),c=n(c)?c.split(\"\"):c,d=0;d=0);e&&!/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")&&b.p", - L"ush(\"\");var g=V(a),h=j,m=j;g&&(h=U(a,\"white-space\"),m=U(a,\"text-t", - L"ransform\"));ja(a.childNodes,function(a){a.nodeType==ma&&g?Ba(a,b,h,m)", - L":S(a)&&za(a,b)});var w=b[b.length-1]||\"\";if((c||d==\"table-cell\")&&", - L"w&&!s(w))b[b.length-1]+=\" \";e&&!/^[\\s\\xa0]*$/.test(w)&&b.push(\"\"", - L")}}var Aa=[\"inline\",\"inline-block\",\"inline-table\",\"none\",\"tab", - L"le-cell\",\"table-column\",\"table-column-group\"];\nfunction Ba(a,b,c", - L",d){a=a.nodeValue.replace(/\\u200b/g,\"\");a=a.replace(/(\\r\\n|\\r|", - L"\\n)/g,\"\\n\");if(c==\"normal\"||c==\"nowrap\")a=a.replace(/\\n/g,\" ", - L"\");a=c==\"pre\"||c==\"pre-wrap\"?a.replace(/\\f\\t\\v\\u2028\\u2029/,", - L"\" \"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");d==\"capitali", - L"ze\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCas", - L"e()}):d==\"uppercase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=a.toLowe", - L"rCase());c=b.pop()||\"\";s(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(", - L"1));b.push(c+a)}\nfunction wa(a){if(U(a,\"position\")==\"relative\")re", - L"turn 1;a=U(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/", - L")||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)", - L"\\)/))?Number(a[1])/100:1};var W={},X={};W.m=function(a,b,c){b=L(H(b),", - L"\"A\",j,b);return F(b,function(b){b=ya(b);return c&&b.indexOf(a)!=-1||", - L"b==a})};W.l=function(a,b,c){b=L(H(b),\"A\",j,b);return E(b,function(b)", - L"{b=ya(b);return c&&b.indexOf(a)!=-1||b==a})};W.d=function(a,b){return ", - L"W.m(a,b,!1)};W.b=function(a,b){return W.l(a,b,!1)};X.d=function(a,b){r", - L"eturn W.m(a,b,!0)};X.b=function(a,b){return W.l(a,b,!0)};var Ca={class", - L"Name:M,css:{d:function(a,b){!o(b.querySelector)&&y(8)&&!p(b.querySelec", - L"tor)&&f(Error(\"CSS selection is not supported\"));a||f(Error(\"No sel", - L"ector specified\"));a.split(/,/).length>1&&f(Error(\"Compound selector", - L"s not permitted\"));var a=t(a),c=b.querySelector(a);return c&&c.nodeTy", - L"pe==1?c:j},b:function(a,b){!o(b.querySelectorAll)&&y(8)&&!p(b.querySel", - L"ector)&&f(Error(\"CSS selection is not supported\"));a||f(Error(\"No s", - L"elector specified\"));a.split(/,/).length>1&&f(Error(\"Compound select", - L"ors not permitted\"));\na=t(a);return b.querySelectorAll(a)}},id:{d:fu", - L"nction(a,b){var c=H(b),d=n(a)?c.j.getElementById(a):a;if(!d)return j;i", - L"f(T(d,\"id\")==a&&K(b,d))return d;c=L(c,\"*\");return F(c,function(c){", - L"return T(c,\"id\")==a&&K(b,c)})},b:function(a,b){var c=L(H(b),\"*\",j,", - L"b);return E(c,function(b){return T(b,\"id\")==a})}},linkText:W,name:{d", - L":function(a,b){var c=L(H(b),\"*\",j,b);return F(c,function(b){return T", - L"(b,\"name\")==a})},b:function(a,b){var c=L(H(b),\"*\",j,b);return E(c,", - L"function(b){return T(b,\"name\")==a})}},partialLinkText:X,\ntagName:{d", - L":function(a,b){return b.getElementsByTagName(a)[0]||j},b:function(a,b)", - L"{return b.getElementsByTagName(a)}},xpath:N};function Da(a,b){var c;a:", - L"{for(c in a)if(!Object.prototype[c])break a;c=j}if(c){var d=Ca[c];if(d", - L"&&o(d.b))return d.b(a[c],b||ha.document)}f(Error(\"Unsupported locator", - L" strategy: \"+c))}var Y=\"_\".split(\".\"),Z=k;!(Y[0]in Z)&&Z.execScri", - L"pt&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.", - L"length&&Da!==i?Z[$]=Da:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,", - L"arguments);}.apply({navigator:typeof window!='undefined'?window.naviga", - L"tor:null}, arguments);}", - NULL -}; - -const wchar_t* const GET_ATTRIBUTE[] = { - L"function(){return function(){var f=null;\nfunction g(a){var b=typeof a", - L";if(b==\"object\")if(a){if(a instanceof Array)return\"array\";else if(", - L"a instanceof Object)return b;var c=Object.prototype.toString.call(a);i", - L"f(c==\"[object Window]\")return\"object\";if(c==\"[object Array]\"||ty", - L"peof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.pr", - L"opertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\")", - L")return\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefin", - L"ed\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnume", - L"rable(\"call\"))return\"function\"}else return\"null\";else if(b==\n\"", - L"function\"&&typeof a.call==\"undefined\")return\"object\";return b}fun", - L"ction h(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.p", - L"rototype=new c};function l(a){for(var b=1;bb)return 1;return 0};var", - L" o;var p=\"\",q=/MSIE\\s+([^\\);]+)(\\)|;)/.exec(this.navigator?this.n", - L"avigator.userAgent:f),p=q?q[1]:\"\",r,s=this.document;r=s?s.documentMo", - L"de:void 0;o=r>parseFloat(p)?String(r):p;var t={};\nfunction u(a){var b", - L";if(!(b=t[a])){b=0;for(var c=m(String(o)).split(\".\"),d=m(String(a)).", - L"split(\".\"),e=Math.max(c.length,d.length),i=0;b==0&&i=0}", - L"return b};function v(a){this.stack=Error().stack||\"\";if(a)this.messa", - L"ge=String(a)}h(v,Error);h(function(a,b){b.unshift(a);v.call(this,l.app", - L"ly(f,b));b.shift();this.h=a},v);function w(a,b){if(typeof a==\"string", - L"\"){if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,0", - L")}for(var c=0;c=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&", - L"&a.parentNode&&a.parentNode.removeChild(a)};function B(a,b,c,d){z.call", - L"(this,a,b,c,f,d)}h(B,z);B.prototype.next=function(){do B.g.next.call(t", - L"his);while(this.c==-1);return this.b};var C={\"class\":\"className\",r", - L"eadonly:\"readOnly\"},D=[\"checked\",\"disabled\",\"draggable\",\"hidd", - L"en\"];function E(a,b){var c=C[b]||b,d=a[c];if(d===void 0&&w(D,c)>=0)re", - L"turn!1;return d}\nvar F=[\"async\",\"autofocus\",\"autoplay\",\"checke", - L"d\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked", - L"\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",", - L"\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",", - L"\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"n", - L"oresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"", - L"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamless", - L"\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidat", - L"e\"];\nfunction G(a,b){if(8==a.nodeType)return f;b=b.toLowerCase();if(", - L"b==\"style\"){var c=m(a.style.cssText).toLowerCase();return c.charAt(c", - L".length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);!c&&u(8)&&w(F,b)>=", - L"0&&(c=a[b]);if(!c)return f;if(w(F,b)>=0)return c.value==\"false\"?f:\"", - L"true\";return c.specified?c.value:f};var H=[\"checkbox\",\"radio\"];fu", - L"nction I(a){var b=a.tagName.toUpperCase();if(b==\"OPTION\")return!0;if", - L"(b==\"INPUT\"&&w(H,a.type)>=0)return!0;return!1};function J(a,b){var c", - L"=f,d=b.toLowerCase();if(\"style\"==b.toLowerCase()){if((c=a.style)&&ty", - L"peof c!=\"string\")c=c.cssText;return c}if(\"selected\"==d||\"checked", - L"\"==d&&I(a)){var e;if(I(a)){e=\"selected\";d=a.type&&a.type.toLowerCas", - L"e();if(\"checkbox\"==d||\"radio\"==d)e=\"checked\";e=!!a[e]}else e=!1;", - L"return e?\"true\":f}c=a.tagName&&\"A\"==a.tagName.toUpperCase();if(a.t", - L"agName&&\"IMG\"==a.tagName.toUpperCase()&&d==\"src\"||c&&d==\"href\")r", - L"eturn(c=G(a,d))&&(c=E(a,d)),c;try{e=E(a,b)}catch(i){}if(!(d=e==f))d=g(", - L"e),d=d==\"object\"||\nd==\"array\"||d==\"function\";c=d?G(a,b):e;retur", - L"n c!=f?c.toString():f}var O=\"_\".split(\".\"),P=this;!(O[0]in P)&&P.e", - L"xecScript&&P.execScript(\"var \"+O[0]);for(var Q;O.length&&(Q=O.shift(", - L"));)!O.length&&J!==void 0?P[Q]=J:P=P[Q]?P[Q]:P[Q]={};; return this._.a", - L"pply(null,arguments);}.apply({navigator:typeof window!='undefined'?win", - L"dow.navigator:null}, arguments);}", - NULL -}; - -const wchar_t* const GET_EFFECTIVE_STYLE[] = { - L"function(){return function(){var e=null;function f(a,c){function b(){}", - L"b.prototype=c.prototype;a.g=c.prototype;a.prototype=new b};function j(", - L"a){for(var c=1;cc)return 1;return 0}var l={};function m(a){retu", - L"rn l[a]||(l[a]=String(a).replace(/\\-([a-z])/g,function(a,b){return b.", - L"toUpperCase()}))};var n;var o=\"\",p=/MSIE\\s+([^\\);]+)(\\)|;)/.exec(", - L"this.navigator?this.navigator.userAgent:e),o=p?p[1]:\"\",q,r=this.docu", - L"ment;q=r?r.documentMode:void 0;n=q>parseFloat(o)?String(q):o;var s={};", - L"\nfunction t(){if(!s[\"9\"]){for(var a=0,c=String(n).replace(/^[\\s\\x", - L"a0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),b=String(\"9\").replace(/^[\\s", - L"\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),d=Math.max(c.length,b.length", - L"),g=0;a==0&&g=0}};function u(a){this.stack=Error().s", - L"tack||\"\";if(a)this.message=String(a)}f(u,Error);f(function(a,c){c.un", - L"shift(a);u.call(this,j.apply(e,c));c.shift();this.f=a},u);t();t();t();", - L"function v(a,c,b,d,g){this.b=!!c;if(a&&(this.a=a))this.c=typeof d==\"n", - L"umber\"?d:this.a.nodeType!=1?0:this.b?-1:1;this.d=g!=void 0?g:this.c||", - L"0;this.b&&(this.d*=-1);this.e=!b}f(v,function(){});v.prototype.a=e;v.p", - L"rototype.c=0;f(function(a,c,b,d){v.call(this,a,c,b,e,d)},v);function w", - L"(a,c){var b=(a.currentStyle||a.style)[c];if(b!=\"inherit\")return b!==", - L"void 0?b:e;for(b=a.parentNode;b&&b.nodeType!=1&&b.nodeType!=9&&b.nodeT", - L"ype!=11;)b=b.parentNode;return(b=b&&b.nodeType==1?b:e)?w(b,c):e};funct", - L"ion x(a,c){var c=m(c),b;a:{b=c;var d=a.nodeType==9?a:a.ownerDocument||", - L"a.document;if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defa", - L"ultView.getComputedStyle(a,e))){b=d[b]||d.getPropertyValue(b);break a}", - L"b=\"\"}return b||w(a,c)}var y=\"_\".split(\".\"),z=this;!(y[0]in z)&&z", - L".execScript&&z.execScript(\"var \"+y[0]);for(var A;y.length&&(A=y.shif", - L"t());)!y.length&&x!==void 0?z[A]=x:z=z[A]?z[A]:z[A]={};; return this._", - L".apply(null,arguments);}.apply({navigator:typeof window!='undefined'?w", - L"indow.navigator:null}, arguments);}", - NULL -}; - -const wchar_t* const GET_LOCATION[] = { - L"function(){return function(){var f=this;function g(a,b){function c(){}", - L"c.prototype=b.prototype;a.c=b.prototype;a.prototype=new c};function j(", - L"a){this.stack=Error().stack||\"\";if(a)this.message=String(a)}g(j,Erro", - L"r);function k(a){for(var b=1;bb)return 1;return 0};g(function(a", - L",b){b.unshift(a);j.call(this,k.apply(null,b));b.shift();this.b=a},j);v", - L"ar m;var o=\"\",p=/MSIE\\s+([^\\);]+)(\\)|;)/.exec(f.navigator?f.navig", - L"ator.userAgent:null),o=p?p[1]:\"\",q,r=f.document;q=r?r.documentMode:v", - L"oid 0;m=q>parseFloat(o)?String(q):o;var s={};\nfunction t(a){var b;if(", - L"!(b=s[a])){b=0;for(var c=String(m).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/", - L"g,\"\").split(\".\"),d=String(a).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,", - L"\"\").split(\".\"),e=Math.max(c.length,d.length),n=0;b==0&&n=0}return b};var u;t(\"9\");t(\"9\");t(\"9\");function v(a,b){thi", - L"s.x=a!==void 0?a:0;this.y=b!==void 0?b:0}v.prototype.toString=function", - L"(){return\"(\"+this.x+\", \"+this.y+\")\"};function w(a){return a.node", - L"Type==9?a:a.ownerDocument||a.document}function x(a){this.a=a||f.docume", - L"nt||document};function y(a){var b=w(a);var c=w(a);c.defaultView&&c.def", - L"aultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))&", - L"&(c.position||c.getPropertyValue(\"position\"));var c=new v(0,0),d;d=b", - L"?b.nodeType==9?b:w(b):document;var e;if(e=!t(9))e=(d?new x(w(d)):u||(u", - L"=new x)).a.compatMode!=\"CSS1Compat\";d=e?d.body:d.documentElement;if(", - L"a==d)return c;if(a.getBoundingClientRect)d=a.getBoundingClientRect(),a", - L"=a.ownerDocument,d.left-=a.documentElement.clientLeft+a.body.clientLef", - L"t,d.top-=a.documentElement.clientTop+\na.body.clientTop,a=d,d=(b?new x", - L"(w(b)):u||(u=new x)).a,b=d.compatMode==\"CSS1Compat\"?d.documentElemen", - L"t:d.body,d=d.parentWindow||d.defaultView,b=new v(d.pageXOffset||b.scro", - L"llLeft,d.pageYOffset||b.scrollTop),c.x=a.left+b.x,c.y=a.top+b.y;else i", - L"f(b.getBoxObjectFor)a=b.getBoxObjectFor(a),b=b.getBoxObjectFor(d),c.x=", - L"a.screenX-b.screenX,c.y=a.screenY-b.screenY;else{e=a;do c.x+=e.offsetL", - L"eft,c.y+=e.offsetTop,e!=a&&(c.x+=e.clientLeft||0,c.y+=e.clientTop||0),", - L"e=e.offsetParent;while(e&&e!=a);for(e=a;(e=e.offsetParent)&&\ne!=b.bod", - L"y&&e!=d;)c.x-=e.scrollLeft,c.y-=e.scrollTop}return c}var z=\"_\".split", - L"(\".\"),A=f;!(z[0]in A)&&A.execScript&&A.execScript(\"var \"+z[0]);for", - L"(var B;z.length&&(B=z.shift());)!z.length&&y!==void 0?A[B]=y:A=A[B]?A[", - L"B]:A[B]={};; return this._.apply(null,arguments);}.apply({navigator:ty", - L"peof window!='undefined'?window.navigator:null}, arguments);}", - NULL -}; - -const wchar_t* const GET_SIZE[] = { - L"function(){return function(){function d(b,a){function c(){}c.prototype", - L"=a.prototype;b.b=a.prototype;b.prototype=new c};function h(b){this.sta", - L"ck=Error().stack||\"\";if(b)this.message=String(b)}d(h,Error);function", - L" i(b){for(var a=1;aa)return 1;return 0};d(function(b,a){a.unshi", - L"ft(b);h.call(this,i.apply(null,a));a.shift();this.a=b},h);var k;var l=", - L"\"\",m=/MSIE\\s+([^\\);]+)(\\)|;)/.exec(this.navigator?this.navigator.", - L"userAgent:null),l=m?m[1]:\"\",n,q=this.document;n=q?q.documentMode:voi", - L"d 0;k=n>parseFloat(l)?String(n):l;var r={};\nfunction s(){if(!r[\"9\"]", - L"){for(var b=0,a=String(k).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").s", - L"plit(\".\"),c=String(\"9\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")", - L".split(\".\"),o=Math.max(a.length,c.length),e=0;b==0&&e=0}};s();s();s();function t(b,a){this.width=b;this.height=a}t.proto", - L"type.toString=function(){return\"(\"+this.width+\" x \"+this.height+\"", - L")\"};function u(b){var a;a:{a=b.nodeType==9?b:b.ownerDocument||b.docum", - L"ent;if(a.defaultView&&a.defaultView.getComputedStyle&&(a=a.defaultView", - L".getComputedStyle(b,null))){a=a.display||a.getPropertyValue(\"display", - L"\");break a}a=\"\"}if((a||(b.currentStyle?b.currentStyle.display:null)", - L"||b.style.display)!=\"none\")return new t(b.offsetWidth,b.offsetHeight", - L");a=b.style;var c=a.display,o=a.visibility,e=a.position;a.visibility=", - L"\"hidden\";a.position=\"absolute\";a.display=\"inline\";var p=b.offset", - L"Width,b=b.offsetHeight;a.display=\nc;a.position=e;a.visibility=o;retur", - L"n new t(p,b)}var v=\"_\".split(\".\"),w=this;!(v[0]in w)&&w.execScript", - L"&&w.execScript(\"var \"+v[0]);for(var x;v.length&&(x=v.shift());)!v.le", - L"ngth&&u!==void 0?w[x]=u:w=w[x]?w[x]:w[x]={};; return this._.apply(null", - L",arguments);}.apply({navigator:typeof window!='undefined'?window.navig", - L"ator:null}, arguments);}", - NULL -}; - -const wchar_t* const GET_TEXT[] = { - L"function(){return function(){var f=void 0,h=null;\nfunction k(a){var b", - L"=typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array\"", - L";else if(a instanceof Object)return b;var c=Object.prototype.toString.", - L"call(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Arr", - L"ay]\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&ty", - L"peof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"", - L"splice\"))return\"array\";if(c==\"[object Function]\"||typeof a.call!=", - L"\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.proper", - L"tyIsEnumerable(\"call\"))return\"function\"}else return\"null\";else i", - L"f(b==\n\"function\"&&typeof a.call==\"undefined\")return\"object\";ret", - L"urn b}function l(a){return typeof a==\"string\"}function m(a,b){functi", - L"on c(){}c.prototype=b.prototype;a.g=b.prototype;a.prototype=new c};fun", - L"ction n(a){var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}functio", - L"n aa(a){for(var b=1;bb)return 1;return 0}var t={};function ba(a){re", - L"turn t[a]||(t[a]=String(a).replace(/\\-([a-z])/g,function(a,c){return ", - L"c.toUpperCase()}))};var u;var v=\"\",w=/MSIE\\s+([^\\);]+)(\\)|;)/.exe", - L"c(this.navigator?this.navigator.userAgent:h),v=w?w[1]:\"\",x,y=this.do", - L"cument;x=y?y.documentMode:f;u=x>parseFloat(v)?String(x):v;var z={};\nf", - L"unction A(a){var b;if(!(b=z[a])){b=0;for(var c=p(String(u)).split(\".", - L"\"),e=p(String(a)).split(\".\"),d=Math.max(c.length,e.length),g=0;b==0", - L"&&g=0}return b};var ca={},B=window;function C(a){this.sta", - L"ck=Error().stack||\"\";if(a)this.message=String(a)}m(C,Error);C.protot", - L"ype.name=\"CustomError\";function D(a,b){b.unshift(a);C.call(this,aa.a", - L"pply(h,b));b.shift();this.j=a}m(D,C);D.prototype.name=\"AssertionError", - L"\";function E(a,b){if(l(a)){if(!l(b)||b.length!=1)return-1;return a.in", - L"dexOf(b,0)}for(var c=0;c=0;c--)a.parentNode&&a.parent", - L"Node.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.re", - L"moveChild(a)};function O(a,b,c,e){M.call(this,a,b,c,h,e)}m(O,M);O.prot", - L"otype.next=function(){do O.g.next.call(this);while(this.c==-1);return ", - L"this.b};function Q(a,b){var c=H(a);if(c.defaultView&&c.defaultView.get", - L"ComputedStyle&&(c=c.defaultView.getComputedStyle(a,h)))return c[b]||c.", - L"getPropertyValue(b);return\"\"};function R(a,b){return!!a&&a.nodeType=", - L"=1&&(!b||a.tagName.toUpperCase()==b)}\nvar S=[\"async\",\"autofocus\",", - L"\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"decla", - L"re\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"d", - L"raggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",", - L"\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"", - L"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",", - L"\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\"", - L",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"tru", - L"espeed\",\"willvalidate\"];\nfunction ha(a){var b;if(8==a.nodeType)ret", - L"urn h;b=\"usemap\";if(b==\"style\")return a=p(a.style.cssText).toLower", - L"Case(),a.charAt(a.length-1)==\";\"?a:a+\";\";var c=a.getAttributeNode(", - L"b);!c&&A(8)&&E(S,b)>=0&&(c=a[b]);if(!c)return h;if(E(S,b)>=0)return c.", - L"value==\"false\"?h:\"true\";return c.specified?c.value:h}function T(a)", - L"{for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a", - L"=a.parentNode;return R(a)?a:h}function U(a,b){b=ba(b);return Q(a,b)||V", - L"(a,b)}\nfunction V(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inh", - L"erit\")return c!==f?c:h;return(c=T(a))?V(c,b):h}\nfunction ia(a){if(k(", - L"a.getBBox)==\"function\")return a.getBBox();var b;if((Q(a,\"display\")", - L"||(a.currentStyle?a.currentStyle.display:h)||a.style.display)!=\"none", - L"\")b=new F(a.offsetWidth,a.offsetHeight);else{b=a.style;var c=b.displa", - L"y,e=b.visibility,d=b.position;b.visibility=\"hidden\";b.position=\"abs", - L"olute\";b.display=\"inline\";var g=a.offsetWidth,a=a.offsetHeight;b.di", - L"splay=c;b.position=d;b.visibility=e;b=new F(g,a)}return b}\nfunction W", - L"(a,b){function c(a){if(U(a,\"display\")==\"none\")return!1;a=T(a);retu", - L"rn!a||c(a)}function e(a){var b=ia(a);if(b.height>0&&b.width>0)return!0", - L";return ea(a.childNodes,function(a){return a.nodeType==G||R(a)&&e(a)})", - L"}if(!R(a))throw Error(\"Argument to isShown must be of type Element\")", - L";if(R(a,\"TITLE\"))return(H(a)?H(a).parentWindow||H(a).defaultView:win", - L"dow)==B;if(R(a,\"OPTION\")||R(a,\"OPTGROUP\")){var d=J(a,function(a){r", - L"eturn R(a,\"SELECT\")});return!!d&&W(d,b)}if(R(a,\"MAP\")){if(!a.name)", - L"return!1;d=H(a);d=\nd.evaluate?ga('/descendant::*[@usemap = \"#'+a.nam", - L"e+'\"]',d):fa(d,function(b){return R(b)&&ha(b)==\"#\"+a.name});return!", - L"!d&&W(d,b)}if(R(a,\"AREA\"))return d=J(a,function(a){return R(a,\"MAP", - L"\")}),!!d&&W(d,b);if(R(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")", - L"return!1;if(U(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1", - L";if(!b&&ja(a)==0)return!1;if(!e(a))return!1;return!0}function X(a){ret", - L"urn a.replace(/^[^\\S\\xa0]+|[^\\S\\xa0]+$/g,\"\")}\nfunction ka(a,b){", - L"if(R(a,\"BR\"))b.push(\"\");else{var c=R(a,\"TD\"),e=U(a,\"display\"),", - L"d=!c&&!(E(la,e)>=0);d&&!/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")&&b.p", - L"ush(\"\");var g=W(a),i=h,j=h;g&&(i=U(a,\"white-space\"),j=U(a,\"text-t", - L"ransform\"));da(a.childNodes,function(a){a.nodeType==G&&g?ma(a,b,i,j):", - L"R(a)&&ka(a,b)});var o=b[b.length-1]||\"\";if((c||e==\"table-cell\")&&o", - L"&&!n(o))b[b.length-1]+=\" \";d&&!/^[\\s\\xa0]*$/.test(o)&&b.push(\"\")", - L"}}var la=[\"inline\",\"inline-block\",\"inline-table\",\"none\",\"tabl", - L"e-cell\",\"table-column\",\"table-column-group\"];\nfunction ma(a,b,c,", - L"e){a=a.nodeValue.replace(/\\u200b/g,\"\");a=a.replace(/(\\r\\n|\\r|\\n", - L")/g,\"\\n\");if(c==\"normal\"||c==\"nowrap\")a=a.replace(/\\n/g,\" \")", - L";a=c==\"pre\"||c==\"pre-wrap\"?a.replace(/\\f\\t\\v\\u2028\\u2029/,\" ", - L"\"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");e==\"capitalize", - L"\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCase(", - L")}):e==\"uppercase\"?a=a.toUpperCase():e==\"lowercase\"&&(a=a.toLowerC", - L"ase());c=b.pop()||\"\";n(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(1)", - L");b.push(c+a)}\nfunction ja(a){if(U(a,\"position\")==\"relative\")retu", - L"rn 1;a=U(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)|", - L"|a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)", - L"/))?Number(a[1])/100:1};function na(a){var b;a:{for(b=a;b;){if(b.tagNa", - L"me&&b.tagName.toLowerCase()==\"head\"){b=!0;break a}try{b=b.parentNode", - L"}catch(c){break}}b=!1}if(b){b=H(a);if(a.tagName.toUpperCase()==\"TITLE", - L"\"&&(b?b.parentWindow||b.defaultView:window)==B.top)return p(b.title);", - L"return\"\"}b=[];ka(a,b);var e=b,a=e.length;b=Array(a);for(var e=l(e)?e", - L".split(\"\"):e,d=0;db)return 1;ret", - L"urn 0}var r={};function s(a){return r[a]||(r[a]=String(a).replace(/\\-", - L"([a-z])/g,function(a,c){return c.toUpperCase()}))};var t;var u=\"\",v=", - L"/MSIE\\s+([^\\);]+)(\\)|;)/.exec(this.navigator?this.navigator.userAge", - L"nt:h),u=v?v[1]:\"\",w,x=this.document;w=x?x.documentMode:e;t=w>parseFl", - L"oat(u)?String(w):u;var y={};\nfunction z(a){var b;if(!(b=y[a])){b=0;fo", - L"r(var c=l(String(t)).split(\".\"),f=l(String(a)).split(\".\"),d=Math.m", - L"ax(c.length,f.length),g=0;b==0&&g=0}return b};var A={},B=", - L"window;function D(a){this.stack=Error().stack||\"\";if(a)this.message=", - L"String(a)}j(D,Error);D.prototype.name=\"CustomError\";function E(a,b){", - L"b.unshift(a);D.call(this,k.apply(h,b));b.shift();this.j=a}j(E,D);E.pro", - L"totype.name=\"AssertionError\";function F(a){var b=G;if(typeof b==\"st", - L"ring\"){if(typeof a!=\"string\"||a.length!=1)return-1;return b.indexOf", - L"(a,0)}for(var c=0;c=0;c--)a.parentNode&&a.parentNode.insertBefore(b", - L"[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};funct", - L"ion Q(a,b,c,f){O.call(this,a,b,c,h,f)}j(Q,O);Q.prototype.next=function", - L"(){do Q.g.next.call(this);while(this.c==-1);return this.b};function R(", - L"a,b){var c=I(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c", - L".defaultView.getComputedStyle(a,h)))return c[b]||c.getPropertyValue(b)", - L";return\"\"};function S(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.", - L"toUpperCase()==b)}\nvar G=[\"async\",\"autofocus\",\"autoplay\",\"chec", - L"ked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultcheck", - L"ed\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended", - L"\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable", - L"\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",", - L"\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\"", - L",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seaml", - L"ess\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willvali", - L"date\"];\nfunction ea(a){var b;if(8==a.nodeType)return h;b=\"usemap\";", - L"if(b==\"style\")return a=l(a.style.cssText).toLowerCase(),a.charAt(a.l", - L"ength-1)==\";\"?a:a+\";\";var c=a.getAttributeNode(b);!c&&z(8)&&F(b)>=", - L"0&&(c=a[b]);if(!c)return h;if(F(b)>=0)return c.value==\"false\"?h:\"tr", - L"ue\";return c.specified?c.value:h}function T(a){for(a=a.parentNode;a&&", - L"a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(", - L"a)?a:h}function U(a,b){b=s(b);return R(a,b)||V(a,b)}\nfunction V(a,b){", - L"var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==e?c:h;", - L"return(c=T(a))?V(c,b):h}\nfunction fa(a){if(i(a.getBBox)==\"function\"", - L")return a.getBBox();var b;if((R(a,\"display\")||(a.currentStyle?a.curr", - L"entStyle.display:h)||a.style.display)!=\"none\")b=new H(a.offsetWidth,", - L"a.offsetHeight);else{b=a.style;var c=b.display,f=b.visibility,d=b.posi", - L"tion;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inlin", - L"e\";var g=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=d;b.vi", - L"sibility=f;b=new H(g,a)}return b}\nfunction W(a,b){function c(a){if(U(", - L"a,\"display\")==\"none\")return!1;a=T(a);return!a||c(a)}function f(a){", - L"var b=fa(a);if(b.height>0&&b.width>0)return!0;return aa(a.childNodes,f", - L"unction(a){return a.nodeType==ba||S(a)&&f(a)})}if(!S(a))throw Error(\"", - L"Argument to isShown must be of type Element\");if(S(a,\"TITLE\"))retur", - L"n(I(a)?I(a).parentWindow||I(a).defaultView:window)==B;if(S(a,\"OPTION", - L"\")||S(a,\"OPTGROUP\")){var d=K(a,function(a){return S(a,\"SELECT\")})", - L";return!!d&&W(d,b)}if(S(a,\"MAP\")){if(!a.name)return!1;d=I(a);\nd=d.e", - L"valuate?da('/descendant::*[@usemap = \"#'+a.name+'\"]',d):ca(d,functio", - L"n(b){return S(b)&&ea(b)==\"#\"+a.name});return!!d&&W(d,b)}if(S(a,\"ARE", - L"A\"))return d=K(a,function(a){return S(a,\"MAP\")}),!!d&&W(d,b);if(S(a", - L",\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(U(a,\"visibi", - L"lity\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&ga(a)==0)return!", - L"1;if(!f(a))return!1;return!0}\nfunction ga(a){if(U(a,\"position\")==\"", - L"relative\")return 1;a=U(a,\"filter\");return(a=a.match(/^alpha\\(opaci", - L"ty=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Op", - L"acity=(\\d*)\\)/))?Number(a[1])/100:1};var X=W,Y=\"_\".split(\".\"),Z=", - L"this;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;", - L"Y.length&&($=Y.shift());)!Y.length&&X!==e?Z[$]=X:Z=Z[$]?Z[$]:Z[$]={};;", - L" return this._.apply(null,arguments);}.apply({navigator:typeof window!", - L"='undefined'?window.navigator:null}, arguments);}", - NULL -}; - -const wchar_t* const IS_ENABLED[] = { - L"function(){return function(){function e(a,b){function c(){}c.prototype", - L"=b.prototype;a.g=b.prototype;a.prototype=new c};function i(a){for(var ", - L"b=1;bb)return 1;return 0};var k;var l=\"\",m=/MSIE\\s+([^\\);]", - L"+)(\\)|;)/.exec(this.navigator?this.navigator.userAgent:null),l=m?m[1]", - L":\"\",n,o=this.document;n=o?o.documentMode:void 0;k=n>parseFloat(l)?St", - L"ring(n):l;var p={};\nfunction q(){if(!p[\"9\"]){for(var a=0,b=String(k", - L").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),c=String(\"9", - L"\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),d=Math.max", - L"(b.length,c.length),f=0;a==0&&f=0}};function r(a){th", - L"is.stack=Error().stack||\"\";if(a)this.message=String(a)}e(r,Error);e(", - L"function(a,b){b.unshift(a);r.call(this,i.apply(null,b));b.shift();this", - L".f=a},r);function s(a,b){if(typeof a==\"string\"){if(typeof b!=\"strin", - L"g\"||b.length!=1)return-1;return a.indexOf(b,0)}for(var c=0;c=0))return!0;var c;c=u.disabled||\"disabled\";var d=a[c];c=", - L"d===void 0&&s(v,c)>=0?!1:d;if(c)return!1;if(a.parentNode&&a.parentNode", - L".nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return x(a.parentNode);re", - L"turn!0};var y=x,D=\"_\".split(\".\"),E=this;!(D[0]in E)&&E.execScript&", - L"&E.execScript(\"var \"+D[0]);for(var F;D.length&&(F=D.shift());)!D.len", - L"gth&&y!==void 0?E[F]=y:E=E[F]?E[F]:E[F]={};; return this._.apply(null,", - L"arguments);}.apply({navigator:typeof window!='undefined'?window.naviga", - L"tor:null}, arguments);}", - NULL -}; - -const wchar_t* const IS_SELECTED[] = { - L"function(){return function(){function d(a,b){function c(){}c.prototype", - L"=b.prototype;a.g=b.prototype;a.prototype=new c};function i(a){for(var ", - L"b=1;bb)return 1;return 0};var k;var l=\"\",m=/MSIE\\s+([^\\);]", - L"+)(\\)|;)/.exec(this.navigator?this.navigator.userAgent:null),l=m?m[1]", - L":\"\",n,o=this.document;n=o?o.documentMode:void 0;k=n>parseFloat(l)?St", - L"ring(n):l;var p={};\nfunction q(){if(!p[\"9\"]){for(var a=0,b=String(k", - L").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),c=String(\"9", - L"\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),f=Math.max", - L"(b.length,c.length),e=0;a==0&&e=0}};function r(a){th", - L"is.stack=Error().stack||\"\";if(a)this.message=String(a)}d(r,Error);d(", - L"function(a,b){b.unshift(a);r.call(this,i.apply(null,b));b.shift();this", - L".f=a},r);function s(a){var b=t;if(typeof b==\"string\"){if(typeof a!=", - L"\"string\"||a.length!=1)return-1;return b.indexOf(a,0)}for(var c=0;c=0?!0:!1;if(!b)return!1;b=\"sel", - L"ected\";var c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio", - L"\"==c)b=\"checked\";return!!a[b]}var w=\"_\".split(\".\"),B=this;!(w[0", - L"]in B)&&B.execScript&&B.execScript(\"var \"+w[0]);for(var C;w.length&&", - L"(C=w.shift());)!w.length&&v!==void 0?B[C]=v:B=B[C]?B[C]:B[C]={};; retu", - L"rn this._.apply(null,arguments);}.apply({navigator:typeof window!='und", - L"efined'?window.navigator:null}, arguments);}", - NULL -}; - -const wchar_t* const SUBMIT[] = { - L"function(){return function(){function g(a){throw a;}var h=void 0,i=nul", - L"l;function m(a){return function(){return this[a]}}function n(a){return", - L" function(){return a}}var p,q=this;\nfunction s(a){var b=typeof a;if(b", - L"==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a ins", - L"tanceof Object)return b;var c=Object.prototype.toString.call(a);if(c==", - L"\"[object Window]\")return\"object\";if(c==\"[object Array]\"||typeof ", - L"a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propert", - L"yIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))retu", - L"rn\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&", - L"&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable", - L"(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"funct", - L"ion\"&&typeof a.call==\"undefined\")return\"object\";return b}function", - L" aa(a){var b=s(a);return b==\"array\"||b==\"object\"&&typeof a.length=", - L"=\"number\"}function u(a){return typeof a==\"string\"}function v(a){re", - L"turn s(a)==\"function\"}function ba(a){a=s(a);return a==\"object\"||a=", - L"=\"array\"||a==\"function\"}var ca=\"closure_uid_\"+Math.floor(Math.ra", - L"ndom()*2147483648).toString(36),da=0,ea=Date.now||function(){return+ne", - L"w Date};\nfunction w(a,b){function c(){}c.prototype=b.prototype;a.U=b.", - L"prototype;a.prototype=new c;a.prototype.constructor=a};function fa(a){", - L"var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}function ga(a){for", - L"(var b=1;b\")!=-1&&(a=a.re", - L"place(la,\">\"));a.indexOf('\"')!=-1&&(a=a.replace(ma,\""\"));", - L"return a}\nvar ja=/&/g,ka=//g,ma=/\\\"/g,ia=/[&<>\\\"]/;funct", - L"ion na(a,b){if(ab)return 1;return 0}var oa=Math.", - L"random()*2147483648|0,pa={};function qa(a){return pa[a]||(pa[a]=String", - L"(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()}))};var", - L" ra,sa,ta,ua=q.navigator;ta=ua&&ua.platform||\"\";ra=ta.indexOf(\"Mac", - L"\")!=-1;sa=ta.indexOf(\"Win\")!=-1;var va=ta.indexOf(\"Linux\")!=-1,wa", - L";var xa=\"\",ya=/MSIE\\s+([^\\);]+)(\\)|;)/.exec(q.navigator?q.navigat", - L"or.userAgent:i),xa=ya?ya[1]:\"\",za,Aa=q.document;za=Aa?Aa.documentMod", - L"e:h;wa=za>parseFloat(xa)?String(za):xa;var Ba={};\nfunction y(a){var b", - L";if(!(b=Ba[a])){b=0;for(var c=x(String(wa)).split(\".\"),d=x(String(a)", - L").split(\".\"),e=Math.max(c.length,d.length),f=0;b==0&&f=0}return b}var Ca={};\nfunction Da(){return Ca[9]||(Ca[9]=document", - L".documentMode&&document.documentMode>=9)};var Ea=window;function z(a){", - L"this.stack=Error().stack||\"\";if(a)this.message=String(a)}w(z,Error);", - L"z.prototype.name=\"CustomError\";function Fa(a,b){for(var c in a)b.cal", - L"l(h,a[c],c,a)}var Ga=[\"constructor\",\"hasOwnProperty\",\"isPrototype", - L"Of\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueO", - L"f\"];function Ha(a){for(var b,c,d=1;d=0||(d.push(c[f]),e++);d=e==c.length;a.cla", - L"ssName=b.join(\" \");return d};function bb(a,b){this.width=a;this.heig", - L"ht=b}bb.prototype.toString=function(){return\"(\"+this.width+\" x \"+t", - L"his.height+\")\"};bb.prototype.floor=function(){this.width=Math.floor(", - L"this.width);this.height=Math.floor(this.height);return this};var D=3;f", - L"unction E(a){return a?new db(F(a)):Za||(Za=new db)}function eb(a,b){Fa", - L"(b,function(b,d){d==\"style\"?a.style.cssText=b:d==\"class\"?a.classNa", - L"me=b:d==\"for\"?a.htmlFor=b:d in fb?a.setAttribute(fb[d],b):a[d]=b})}v", - L"ar fb={cellpadding:\"cellPadding\",cellspacing:\"cellSpacing\",colspan", - L":\"colSpan\",rowspan:\"rowSpan\",valign:\"vAlign\",height:\"height\",w", - L"idth:\"width\",usemap:\"useMap\",frameborder:\"frameBorder\",maxlength", - L":\"maxLength\",type:\"type\"};function gb(a){return a?a.parentWindow||", - L"a.defaultView:window}\nfunction hb(a,b,c){function d(c){c&&b.appendChi", - L"ld(u(c)?a.createTextNode(c):c)}for(var e=2;e0)?C(ib(f)?Xa(f):f,d):d(f)}}function jb(a){", - L"return a&&a.parentNode?a.parentNode.removeChild(a):i}function G(a,b){i", - L"f(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.com", - L"pareDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDocu", - L"mentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunctio", - L"n kb(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compa", - L"reDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"s", - L"ourceIndex\"in a.parentNode){var c=a.nodeType==1,d=b.nodeType==1;if(c&", - L"&d)return a.sourceIndex-b.sourceIndex;else{var e=a.parentNode,f=b.pare", - L"ntNode;if(e==f)return lb(a,b);if(!c&&G(e,b))return-1*mb(a,b);if(!d&&G(", - L"f,a))return mb(b,a);return(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceI", - L"ndex:f.sourceIndex)}}d=F(a);c=d.createRange();c.selectNode(a);c.collap", - L"se(!0);d=\nd.createRange();d.selectNode(b);d.collapse(!0);return c.com", - L"pareBoundaryPoints(q.Range.START_TO_END,d)}function mb(a,b){var c=a.pa", - L"rentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;", - L"return lb(d,a)}function lb(a,b){for(var c=b;c=c.previousSibling;)if(c=", - L"=a)return-1;return 1}\nfunction nb(){var a,b=arguments.length;if(b){if", - L"(b==1)return arguments[0]}else return i;var c=[],d=Infinity;for(a=0;a<", - L"b;a++){for(var e=[],f=arguments[a];f;)e.unshift(f),f=f.parentNode;c.pu", - L"sh(e);d=Math.min(d,e.length)}e=i;for(a=0;a=0&&(d[e++]=j);d.length=e;c=", - L"d}else c=a;return c}\np.W=function(){var a=this.r,b=arguments,c=b[0],d", - L"=b[1];if(!$a&&d&&(d.name||d.type)){c=[\"<\",c];d.name&&c.push(' name=", - L"\"',ha(d.name),'\"');if(d.type){c.push(' type=\"',ha(d.type),'\"');var", - L" e={};Ha(e,d);d=e;delete d.type}c.push(\">\");c=c.join(\"\")}c=a.creat", - L"eElement(c);if(d)u(d)?c.className=d:s(d)==\"array\"?ab.apply(i,[c].con", - L"cat(d)):eb(c,d);b.length>2&&hb(a,c,b);return c};p.createElement=functi", - L"on(a){return this.r.createElement(a)};p.createTextNode=function(a){ret", - L"urn this.r.createTextNode(a)};\np.fa=function(){return this.r.parentWi", - L"ndow||this.r.defaultView};p.appendChild=function(a,b){a.appendChild(b)", - L"};p.removeNode=jb;p.contains=G;var rb={ca:function(a,b,c){var d=F(a);i", - L"f(!d.implementation.hasFeature(\"XPath\",\"3.0\"))return i;var e=d.cre", - L"ateNSResolver(d.documentElement);return d.evaluate(b,a,e,c,i)},B:funct", - L"ion(a,b){var c=function(b,c){var f=F(b);if(b.selectSingleNode)return f", - L".setProperty&&f.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectS", - L"ingleNode(c);try{var j=rb.ca(b,c,9);return j?j.singleNodeValue:i}catch", - L"(k){g(Error(32,\"Unable to locate an element with the xpath expression", - L" \"+a))}}(b,a);if(!c)return i;c.nodeType!=1&&g(Error(\"Returned node i", - L"s not an element: \"+\na));return c},s:function(a,b){var c=function(b,", - L"c){var f=F(b);if(b.selectNodes)return f.setProperty&&f.setProperty(\"S", - L"electionLanguage\",\"XPath\"),b.selectNodes(c);var f=[],j;try{j=rb.ca(", - L"b,c,7)}catch(k){g(Error(32,\"Unable to locate elements with the xpath ", - L"expression \"+c))}if(j)for(var l=j.snapshotLength,r=0;r=a.length&&g(I),b in a)return a[b++];else b++};return", - L" c}g(Error(\"Not implemented\"))};function J(a,b,c,d,e){this.n=!!b;a&&", - L"K(this,a,d);this.v=e!=h?e:this.p||0;this.n&&(this.v*=-1);this.la=!c}w(", - L"J,sb);p=J.prototype;p.o=i;p.p=0;p.$=!1;function K(a,b,c,d){if(a.o=b)a.", - L"p=typeof c==\"number\"?c:a.o.nodeType!=1?0:a.n?-1:1;if(typeof d==\"num", - L"ber\")a.v=d}\np.next=function(){var a;if(this.$){(!this.o||this.la&&th", - L"is.v==0)&&g(I);a=this.o;var b=this.n?-1:1;if(this.p==b){var c=this.n?a", - L".lastChild:a.firstChild;c?K(this,c):K(this,a,b*-1)}else(c=this.n?a.pre", - L"viousSibling:a.nextSibling)?K(this,c):K(this,a.parentNode,b*-1);this.v", - L"+=this.p*(this.n?-1:1)}else this.$=!0;(a=this.o)||g(I);return a};\np.s", - L"plice=function(){var a=this.o,b=this.n?1:-1;if(this.p==b)this.p=b*-1,t", - L"his.v+=this.p*(this.n?-1:1);this.n=!this.n;J.prototype.next.call(this)", - L";this.n=!this.n;for(var b=aa(arguments[0])?arguments[0]:arguments,c=b.", - L"length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextS", - L"ibling);jb(a)};function ub(a,b,c,d){J.call(this,a,b,c,i,d)}w(ub,J);ub.", - L"prototype.next=function(){do ub.U.next.call(this);while(this.p==-1);re", - L"turn this.o};function vb(a,b){var c=F(a);if(c.defaultView&&c.defaultVi", - L"ew.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,i)))return c[", - L"b]||c.getPropertyValue(b);return\"\"};function L(a,b){return!!a&&a.nod", - L"eType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar wb=[\"async\",\"autof", - L"ocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",", - L"\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disable", - L"d\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indetermin", - L"ate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multipl", - L"e\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"now", - L"rap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reve", - L"rsed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\"", - L",\"truespeed\",\"willvalidate\"];\nfunction M(a,b){if(8==a.nodeType)re", - L"turn i;b=b.toLowerCase();if(b==\"style\"){var c=x(a.style.cssText).toL", - L"owerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttribu", - L"teNode(b);!c&&y(8)&&B(wb,b)>=0&&(c=a[b]);if(!c)return i;if(B(wb,b)>=0)", - L"return c.value==\"false\"?i:\"true\";return c.specified?c.value:i}func", - L"tion xb(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeT", - L"ype!=11;)a=a.parentNode;return L(a)?a:i}function N(a,b){b=qa(b);return", - L" vb(a,b)||yb(a,b)}\nfunction yb(a,b){var c=(a.currentStyle||a.style)[b", - L"];if(c!=\"inherit\")return c!==h?c:i;return(c=xb(a))?yb(c,b):i}\nfunct", - L"ion zb(a){if(v(a.getBBox))return a.getBBox();var b;if((vb(a,\"display", - L"\")||(a.currentStyle?a.currentStyle.display:i)||a.style.display)!=\"no", - L"ne\")b=new bb(a.offsetWidth,a.offsetHeight);else{b=a.style;var c=b.dis", - L"play,d=b.visibility,e=b.position;b.visibility=\"hidden\";b.position=\"", - L"absolute\";b.display=\"inline\";var f=a.offsetWidth,a=a.offsetHeight;b", - L".display=c;b.position=e;b.visibility=d;b=new bb(f,a)}return b}\nfuncti", - L"on Ab(a,b){function c(a){if(N(a,\"display\")==\"none\")return!1;a=xb(a", - L");return!a||c(a)}function d(a){var b=zb(a);if(b.height>0&&b.width>0)re", - L"turn!0;return Ta(a.childNodes,function(a){return a.nodeType==D||L(a)&&", - L"d(a)})}L(a)||g(Error(\"Argument to isShown must be of type Element\"))", - L";if(L(a,\"TITLE\"))return gb(F(a))==Ea;if(L(a,\"OPTION\")||L(a,\"OPTGR", - L"OUP\")){var e=qb(a,function(a){return L(a,\"SELECT\")});return!!e&&Ab(", - L"e,b)}if(L(a,\"MAP\")){if(!a.name)return!1;e=F(a);e=e.evaluate?rb.B('/d", - L"escendant::*[@usemap = \"#'+\na.name+'\"]',e):ob(e,function(b){return ", - L"L(b)&&M(b,\"usemap\")==\"#\"+a.name});return!!e&&Ab(e,b)}if(L(a,\"AREA", - L"\"))return e=qb(a,function(a){return L(a,\"MAP\")}),!!e&&Ab(e,b);if(L(", - L"a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(N(a,\"visib", - L"ility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&Bb(a)==0)return", - L"!1;if(!d(a))return!1;return!0}function Cb(a){return a.replace(/^[^\\S", - L"\\xa0]+|[^\\S\\xa0]+$/g,\"\")}function Db(a){var b=[];Eb(a,b);b=Sa(b,C", - L"b);return Cb(b.join(\"\\n\")).replace(/\\xa0/g,\" \")}\nfunction Eb(a,", - L"b){if(L(a,\"BR\"))b.push(\"\");else{var c=L(a,\"TD\"),d=N(a,\"display", - L"\"),e=!c&&!(B(Fb,d)>=0);e&&!/^[\\s\\xa0]*$/.test(A(b)||\"\")&&b.push(", - L"\"\");var f=Ab(a),j=i,k=i;f&&(j=N(a,\"white-space\"),k=N(a,\"text-tran", - L"sform\"));C(a.childNodes,function(a){a.nodeType==D&&f?Gb(a,b,j,k):L(a)", - L"&&Eb(a,b)});var l=A(b)||\"\";if((c||d==\"table-cell\")&&l&&!fa(l))b[b.", - L"length-1]+=\" \";e&&!/^[\\s\\xa0]*$/.test(l)&&b.push(\"\")}}var Fb=[\"", - L"inline\",\"inline-block\",\"inline-table\",\"none\",\"table-cell\",\"t", - L"able-column\",\"table-column-group\"];\nfunction Gb(a,b,c,d){a=a.nodeV", - L"alue.replace(/\\u200b/g,\"\");a=a.replace(/(\\r\\n|\\r|\\n)/g,\"\\n\")", - L";if(c==\"normal\"||c==\"nowrap\")a=a.replace(/\\n/g,\" \");a=c==\"pre", - L"\"||c==\"pre-wrap\"?a.replace(/\\f\\t\\v\\u2028\\u2029/,\" \"):a.repla", - L"ce(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");d==\"capitalize\"?a=a.repla", - L"ce(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCase()}):d==\"upp", - L"ercase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=a.toLowerCase());c=b.p", - L"op()||\"\";fa(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(1));b.push(c+", - L"a)}\nfunction Bb(a){if(N(a,\"position\")==\"relative\")return 1;a=N(a,", - L"\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^", - L"progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(", - L"a[1])/100:1};var Hb=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseo", - L"ut\"];\nfunction O(a,b,c){var d=F(a),e=c||{},c=e.clientX||0,f=e.client", - L"Y||0,j=e.button||0,k=!!e.alt,l=!!e.control,r=!!e.shift,o=!!e.meta,t=i;", - L"B(Hb,b)>=0&&(t=e.related||i,!t&&b==\"mouseover\"&&(t=xb(a)),!t&&b==\"m", - L"ouseout\"&&(t=a));d=d.createEventObject();d.altKey=k;d.va=l;d.metaKey=", - L"o;d.shiftKey=r;d.clientX=c;d.clientY=f;d.button=j;b==\"mouseout\"?(d.f", - L"romElement=a,d.toElement=t):b==\"mouseover\"?(d.fromElement=t,d.toElem", - L"ent=a):(d.fromElement=i,d.toElement=i);return d}\nfunction Ib(a,b,c){v", - L"ar d=c||{},b=d.keyCode||0,c=!!d.alt,e=!!d.ctrl,f=!!d.shift,d=!!d.meta,", - L"a=F(a).createEventObject();a.keyCode=b;a.altKey=c;a.ctrlKey=e;a.metaKe", - L"y=d;a.shiftKey=f;return a}\nfunction Jb(a,b,c){var d=F(a),e=c||{},c=e.", - L"bubble!==!1,f=!!e.alt,j=!!e.control,k=!!e.shift,e=!!e.meta;a.fireEvent", - L"&&d&&d.createEventObject?(a=d.createEventObject(),a.altKey=f,a.wa=j,a.", - L"metaKey=e,a.shiftKey=k):(a=d.createEvent(\"HTMLEvents\"),a.initEvent(b", - L",c,!0),a.shiftKey=k,a.metaKey=e,a.altKey=f,a.ctrlKey=j);return a}var P", - L"={};P.click=O;P.keydown=Ib;P.keypress=Ib;P.keyup=Ib;P.mousedown=O;P.mo", - L"usemove=O;P.mouseout=O;P.mouseover=O;P.mouseup=O;\nfunction Kb(a){var ", - L"b=(P.submit||Jb)(a,\"submit\",h);if(!(\"isTrusted\"in b))b.Aa=!1;retur", - L"n a.fireEvent(\"onsubmit\",b)};var Lb={};function Q(a,b,c){ba(a)&&(a=a", - L".e);a=new Mb(a,b,c);if(b&&(!(b in Lb)||c))Lb[b]={key:a,shift:!1},c&&(L", - L"b[c]={key:a,shift:!0})}function Mb(a,b,c){this.code=a;this.ka=b||i;thi", - L"s.Fa=c||this.ka}Q(8);Q(9);Q(13);Q(16);Q(17);Q(18);Q(19);Q(20);Q(27);Q(", - L"32,\" \");Q(33);Q(34);Q(35);Q(36);Q(37);Q(38);Q(39);Q(40);Q(44);Q(45);", - L"Q(46);Q(48,\"0\",\")\");Q(49,\"1\",\"!\");Q(50,\"2\",\"@\");Q(51,\"3\"", - L",\"#\");Q(52,\"4\",\"$\");Q(53,\"5\",\"%\");Q(54,\"6\",\"^\");Q(55,\"7", - L"\",\"&\");Q(56,\"8\",\"*\");Q(57,\"9\",\"(\");Q(65,\"a\",\"A\");Q(66,", - L"\"b\",\"B\");Q(67,\"c\",\"C\");\nQ(68,\"d\",\"D\");Q(69,\"e\",\"E\");Q", - L"(70,\"f\",\"F\");Q(71,\"g\",\"G\");Q(72,\"h\",\"H\");Q(73,\"i\",\"I\")", - L";Q(74,\"j\",\"J\");Q(75,\"k\",\"K\");Q(76,\"l\",\"L\");Q(77,\"m\",\"M", - L"\");Q(78,\"n\",\"N\");Q(79,\"o\",\"O\");Q(80,\"p\",\"P\");Q(81,\"q\",", - L"\"Q\");Q(82,\"r\",\"R\");Q(83,\"s\",\"S\");Q(84,\"t\",\"T\");Q(85,\"u", - L"\",\"U\");Q(86,\"v\",\"V\");Q(87,\"w\",\"W\");Q(88,\"x\",\"X\");Q(89,", - L"\"y\",\"Y\");Q(90,\"z\",\"Z\");Q(sa?{g:91,e:91,opera:219}:ra?{g:224,e:", - L"91,opera:17}:{g:0,e:91,opera:i});Q(sa?{g:92,e:92,opera:220}:ra?{g:224,", - L"e:93,opera:17}:{g:0,e:92,opera:i});\nQ(sa?{g:93,e:93,opera:0}:ra?{g:0,", - L"e:0,opera:16}:{g:93,e:i,opera:0});Q({g:96,e:96,opera:48},\"0\");Q({g:9", - L"7,e:97,opera:49},\"1\");Q({g:98,e:98,opera:50},\"2\");Q({g:99,e:99,ope", - L"ra:51},\"3\");Q({g:100,e:100,opera:52},\"4\");Q({g:101,e:101,opera:53}", - L",\"5\");Q({g:102,e:102,opera:54},\"6\");Q({g:103,e:103,opera:55},\"7\"", - L");Q({g:104,e:104,opera:56},\"8\");Q({g:105,e:105,opera:57},\"9\");Q({g", - L":106,e:106,opera:va?56:42},\"*\");Q({g:107,e:107,opera:va?61:43},\"+\"", - L");Q({g:109,e:109,opera:va?109:45},\"-\");Q({g:110,e:110,opera:va?190:7", - L"8},\".\");\nQ({g:111,e:111,opera:va?191:47},\"/\");Q(144);Q(112);Q(113", - L");Q(114);Q(115);Q(116);Q(117);Q(118);Q(119);Q(120);Q(121);Q(122);Q(123", - L");Q({g:107,e:187,opera:61},\"=\",\"+\");Q({g:109,e:189,opera:109},\"-", - L"\",\"_\");Q(188,\",\",\"<\");Q(190,\".\",\">\");Q(191,\"/\",\"?\");Q(1", - L"92,\"`\",\"~\");Q(219,\"[\",\"{\");Q(220,\"\\\\\",\"|\");Q(221,\"]\",", - L"\"}\");Q({g:59,e:186,opera:59},\";\",\":\");Q(222,\"'\",'\"');function", - L" Nb(){Ob&&(this[ca]||(this[ca]=++da))}var Ob=!1;function Pb(a){return ", - L"Qb(a||arguments.callee.caller,[])}\nfunction Qb(a,b){var c=[];if(B(b,a", - L")>=0)c.push(\"[...circular reference...]\");else if(a&&b.length<50){c.", - L"push(Rb(a)+\"(\");for(var d=a.arguments,e=0;e0&&c.pus", - L"h(\", \");var f;f=d[e];switch(typeof f){case \"object\":f=f?\"object\"", - L":\"null\";break;case \"string\":break;case \"number\":f=String(f);brea", - L"k;case \"boolean\":f=f?\"true\":\"false\";break;case \"function\":f=(f", - L"=Rb(f))?f:\"[fn]\";break;default:f=typeof f}f.length>40&&(f=f.substr(0", - L",40)+\"...\");c.push(f)}b.push(a);c.push(\")\\n\");try{c.push(Qb(a.cal", - L"ler,b))}catch(j){c.push(\"[exception trying to get caller]\\n\")}}else", - L" a?\nc.push(\"[...long stack...]\"):c.push(\"[end]\");return c.join(\"", - L"\")}function Rb(a){a=String(a);if(!Sb[a]){var b=/function ([^\\(]+)/.e", - L"xec(a);Sb[a]=b?b[1]:\"[Anonymous]\"}return Sb[a]}var Sb={};function R(", - L"a,b,c,d,e){this.reset(a,b,c,d,e)}R.prototype.ra=0;R.prototype.ea=i;R.p", - L"rototype.da=i;var Tb=0;R.prototype.reset=function(a,b,c,d,e){this.ra=t", - L"ypeof e==\"number\"?e:Tb++;this.Ga=d||ea();this.L=a;this.pa=b;this.Ca=", - L"c;delete this.ea;delete this.da};R.prototype.ia=function(a){this.L=a};", - L"function S(a){this.qa=a}S.prototype.S=i;S.prototype.L=i;S.prototype.V=", - L"i;S.prototype.ga=i;function Ub(a,b){this.name=a;this.value=b}Ub.protot", - L"ype.toString=m(\"name\");var Vb=new Ub(\"SEVERE\",1E3),Wb=new Ub(\"WAR", - L"NING\",900),Xb=new Ub(\"CONFIG\",700);S.prototype.getParent=m(\"S\");S", - L".prototype.ia=function(a){this.L=a};function Yb(a){if(a.L)return a.L;i", - L"f(a.S)return Yb(a.S);Pa(\"Root logger has no level set.\");return i}\n", - L"S.prototype.log=function(a,b,c){if(a.value>=Yb(this).value){a=this.na(", - L"a,b,c);q.console&&q.console.markTimeline&&q.console.markTimeline(\"log", - L":\"+a.pa);for(b=this;b;){var c=b,d=a;if(c.ga)for(var e=0,f=h;f=c.ga[e]", - L";e++)f(d);b=b.getParent()}}};\nS.prototype.na=function(a,b,c){var d=ne", - L"w R(a,String(b),this.qa);if(c){d.ea=c;var e;var f=arguments.callee.cal", - L"ler;try{var j;var k;c:{for(var l=\"window.location.href\".split(\".\")", - L",r=q,o;o=l.shift();)if(r[o]!=i)r=r[o];else{k=i;break c}k=r}if(u(c))j={", - L"message:c,name:\"Unknown error\",lineNumber:\"Not available\",fileName", - L":k,stack:\"Not available\"};else{var t,cb,l=!1;try{t=c.lineNumber||c.B", - L"a||\"Not available\"}catch(Qc){t=\"Not available\",l=!0}try{cb=c.fileN", - L"ame||c.filename||c.sourceURL||k}catch(Rc){cb=\"Not available\",\nl=!0}", - L"j=l||!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.na", - L"me,lineNumber:t,fileName:cb,stack:c.stack||\"Not available\"}:c}e=\"Me", - L"ssage: \"+ha(j.message)+'\\nUrl: '+j.fileName+\"\\nLine: \"+j.lineNumber+\"\\n", - L"\\nBrowser stack:\\n\"+ha(j.stack+\"-> \")+\"[end]\\n\\nJS stack trave", - L"rsal:\\n\"+ha(Pb(f)+\"-> \")}catch(Mc){e=\"Exception trying to expose ", - L"exception! You win, we lose. \"+Mc}d.da=e}return d};var Zb={},$b=i;\nf", - L"unction ac(a){$b||($b=new S(\"\"),Zb[\"\"]=$b,$b.ia(Xb));var b;if(!(b=", - L"Zb[a])){b=new S(a);var c=a.lastIndexOf(\".\"),d=a.substr(c+1),c=ac(a.s", - L"ubstr(0,c));if(!c.V)c.V={};c.V[d]=b;b.S=c;Zb[a]=b}return b};function b", - L"c(){Nb.call(this)}w(bc,Nb);ac(\"goog.dom.SavedRange\");w(function(a){N", - L"b.call(this);this.sa=\"goog_\"+oa++;this.ma=\"goog_\"+oa++;this.ba=E(a", - L".X());a.O(this.ba.W(\"SPAN\",{id:this.sa}),this.ba.W(\"SPAN\",{id:this", - L".ma}))},bc);function T(){}function cc(a){if(a.getSelection)return a.ge", - L"tSelection();else{var a=a.document,b=a.selection;if(b){try{var c=b.cre", - L"ateRange();if(c.parentElement){if(c.parentElement().document!=a)return", - L" i}else if(!c.length||c.item(0).document!=a)return i}catch(d){return i", - L"}return b}return i}}function dc(a){for(var b=[],c=0,d=a.D();c=0&&this.l(d,1,0)<=0:this.l(d,0,0)>=0&&this.l(d,1,1", - L")<=0}catch(e){return!1}};hc.prototype.containsNode=function(a,b){retur", - L"n this.u(fc(a),b)};hc.prototype.C=function(){return new gc(this.b(),th", - L"is.j(),this.i(),this.k())};function W(a){this.a=a}w(W,hc);p=W.prototyp", - L"e;p.w=function(){return this.a.commonAncestorContainer};p.b=function()", - L"{return this.a.startContainer};p.j=function(){return this.a.startOffse", - L"t};p.i=function(){return this.a.endContainer};p.k=function(){return th", - L"is.a.endOffset};p.l=function(a,b,c){return this.a.compareBoundaryPoint", - L"s(c==1?b==1?q.Range.START_TO_START:q.Range.START_TO_END:b==1?q.Range.E", - L"ND_TO_START:q.Range.END_TO_END,a)};p.isCollapsed=function(){return thi", - L"s.a.collapsed};\np.select=function(a){this.T(gb(F(this.b())).getSelect", - L"ion(),a)};p.T=function(a){a.removeAllRanges();a.addRange(this.a)};p.in", - L"sertNode=function(a,b){var c=this.a.cloneRange();c.collapse(b);c.inser", - L"tNode(a);c.detach();return a};\np.O=function(a,b){var c=gb(F(this.b())", - L");if(c=(c=cc(c||window))&&ic(c))var d=c.b(),e=c.i(),f=c.j(),j=c.k();va", - L"r k=this.a.cloneRange(),l=this.a.cloneRange();k.collapse(!1);l.collaps", - L"e(!0);k.insertNode(b);l.insertNode(a);k.detach();l.detach();if(c){if(d", - L".nodeType==D)for(;f>d.length;){f-=d.length;do d=d.nextSibling;while(d=", - L"=a||d==b)}if(e.nodeType==D)for(;j>e.length;){j-=e.length;do e=e.nextSi", - L"bling;while(e==a||e==b)}c=new jc;c.G=kc(d,f,e,j);if(d.tagName==\"BR\")", - L"k=d.parentNode,f=B(k.childNodes,d),d=k;if(e.tagName==\n\"BR\")k=e.pare", - L"ntNode,j=B(k.childNodes,e),e=k;c.G?(c.d=e,c.h=j,c.c=d,c.f=f):(c.d=d,c.", - L"h=f,c.c=e,c.f=j);c.select()}};p.collapse=function(a){this.a.collapse(a", - L")};function lc(a){this.a=a}w(lc,W);lc.prototype.T=function(a,b){var c=", - L"b?this.i():this.b(),d=b?this.k():this.j(),e=b?this.b():this.i(),f=b?th", - L"is.j():this.k();a.collapse(c,d);(c!=e||d!=f)&&a.extend(e,f)};function ", - L"mc(a,b){this.a=a;this.xa=b}w(mc,hc);var nc=ac(\"goog.dom.browserrange.", - L"IeRange\");function oc(a){var b=F(a).body.createTextRange();if(a.nodeT", - L"ype==1)b.moveToElementText(a),X(a)&&!a.childNodes.length&&b.collapse(!", - L"1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d.nodeType;if(e==D", - L")c+=d.length;else if(e==1){b.moveToElementText(d);break}}d||b.moveToEl", - L"ementText(a.parentNode);b.collapse(!d);c&&b.move(\"character\",c);b.mo", - L"veEnd(\"character\",a.length)}return b}p=mc.prototype;p.A=i;p.d=i;p.c=", - L"i;p.h=-1;\np.f=-1;p.q=function(){this.A=this.d=this.c=i;this.h=this.f=", - L"-1};\np.w=function(){if(!this.A){var a=this.a.text,b=this.a.duplicate(", - L"),c=a.replace(/ +$/,\"\");(c=a.length-c.length)&&b.moveEnd(\"character", - L"\",-c);c=b.parentElement();b=b.htmlText.replace(/(\\r\\n|\\r|\\n)+/g,", - L"\" \").length;if(this.isCollapsed()&&b>0)return this.A=c;for(;b>c.oute", - L"rHTML.replace(/(\\r\\n|\\r|\\n)+/g,\" \").length;)c=c.parentNode;for(;", - L"c.childNodes.length==1&&c.innerText==(c.firstChild.nodeType==D?c.first", - L"Child.nodeValue:c.firstChild.innerText);){if(!X(c.firstChild))break;c=", - L"c.firstChild}a.length==0&&(c=pc(this,\nc));this.A=c}return this.A};fun", - L"ction pc(a,b){for(var c=b.childNodes,d=0,e=c.length;d=0&&a.l(j,1,0)<=0:a.a.inRange(j))return pc(a,f)}}return b}", - L"p.b=function(){if(!this.d&&(this.d=qc(this,1),this.isCollapsed()))this", - L".c=this.d;return this.d};p.j=function(){if(this.h<0&&(this.h=rc(this,1", - L"),this.isCollapsed()))this.f=this.h;return this.h};\np.i=function(){if", - L"(this.isCollapsed())return this.b();if(!this.c)this.c=qc(this,0);retur", - L"n this.c};p.k=function(){if(this.isCollapsed())return this.j();if(this", - L".f<0&&(this.f=rc(this,0),this.isCollapsed()))this.h=this.f;return this", - L".f};p.l=function(a,b,c){return this.a.compareEndPoints((b==1?\"Start\"", - L":\"End\")+\"To\"+(c==1?\"Start\":\"End\"),a)};\nfunction qc(a,b,c){c=c", - L"||a.w();if(!c||!c.firstChild)return c;for(var d=b==1,e=0,f=c.childNode", - L"s.length;e0)return qc(a,b,k)}return c}\nfunction rc(a,b){var c=b==1,d=c?a", - L".b():a.i();if(d.nodeType==1){for(var d=d.childNodes,e=d.length,f=c?1:-", - L"1,j=c?0:e-1;j>=0&&jj.childNodes.length&&nc.log(Vb,\"Ca", - L"nnot have startOffset > startNode child count\",h),k=j.childNodes[k],r", - L"=!k,j=k||j.lastChild||j,k=0);var o=oc(j);k&&o.move(\"character\",k);j=", - L"=l&&k==f?o.collapse(!0):(r&&o.collapse(!1),r=!1,l.nodeType==1&&(f>l.ch", - L"ildNodes.length&&nc.log(Vb,\"Cannot have endOffset > endNode child cou", - L"nt\",\nh),t=(k=l.childNodes[f])||l.lastChild||l,l=t,f=0,r=!k),j=oc(l),", - L"j.collapse(!r),f&&j.moveEnd(\"character\",f),o.setEndPoint(\"EndToEnd", - L"\",j));f=new mc(o,F(b));f.d=b;f.h=c;f.c=d;f.f=e;b=f}b=a.J=b}return b}p", - L".w=function(){return Y(this).w()};p.b=function(){return this.d||(this.", - L"d=Y(this).b())};p.j=function(){return this.h!=i?this.h:this.h=Y(this).", - L"j()};p.i=function(){return this.c||(this.c=Y(this).i())};p.k=function(", - L"){return this.f!=i?this.f:this.f=Y(this).k()};p.F=m(\"G\");\np.u=funct", - L"ion(a,b){var c=a.Y();if(c==\"text\")return Y(this).u(Y(a),b);else if(c", - L"==\"control\")return c=wc(a),(b?Ta:Ua)(c,function(a){return this.conta", - L"insNode(a,b)},this);return!1};p.isCollapsed=function(){return Y(this).", - L"isCollapsed()};p.C=function(){return new gc(this.b(),this.j(),this.i()", - L",this.k())};p.select=function(){Y(this).select(this.G)};p.insertNode=f", - L"unction(a,b){var c=Y(this).insertNode(a,b);this.q();return c};p.O=func", - L"tion(a,b){Y(this).O(a,b);this.q()};p.Z=function(){return new xc(this)}", - L";\np.collapse=function(a){a=this.F()?!a:a;this.J&&this.J.collapse(a);a", - L"?(this.c=this.d,this.f=this.h):(this.d=this.c,this.h=this.f);this.G=!1", - L"};function xc(a){this.ta=a.F()?a.i():a.b();this.ua=a.F()?a.k():a.j();t", - L"his.ya=a.F()?a.b():a.i();this.za=a.F()?a.j():a.k()}w(xc,bc);function y", - L"c(){}w(yc,V);p=yc.prototype;p.a=i;p.m=i;p.N=i;p.q=function(){this.N=th", - L"is.m=i};p.Y=n(\"control\");p.R=function(){return this.a||document.body", - L".createControlRange()};p.D=function(){return this.a?this.a.length:0};p", - L".z=function(a){a=this.a.item(a);return ec(fc(a),h)};p.w=function(){ret", - L"urn nb.apply(i,wc(this))};p.b=function(){return zc(this)[0]};p.j=n(0);", - L"p.i=function(){var a=zc(this),b=A(a);return Va(a,function(a){return G(", - L"a,b)})};p.k=function(){return this.i().childNodes.length};\nfunction w", - L"c(a){if(!a.m&&(a.m=[],a.a))for(var b=0;b1&&this.oa.log(Wb,\"getBrowserRangeObject called on MultiRan", - L"ge with more than 1 range\",h);return this.t[0]};p.D=function(){return", - L" this.t.length};p.z=function(a){this.M[a]||(this.M[a]=ec(vc(this.t[a])", - L",h));return this.M[a]};\np.w=function(){if(!this.P){for(var a=[],b=0,c", - L"=this.D();b1){b=new Cc;for(var c=0,e=a.rangeCount;c0};var Gc={aa:function(a){", - L"return a.querySelectorAll&&a.querySelector}};Gc.B=function(a,b){a||g(E", - L"rror(\"No class name specified\"));a=x(a);a.split(/\\s+/).length>1&&g(", - L"Error(\"Compound class names not permitted\"));if(Gc.aa(b))return b.qu", - L"erySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||i;var c=H(E(b),\"*\",a", - L",b);return c.length?c[0]:i};\nGc.s=function(a,b){a||g(Error(\"No class", - L" name specified\"));a=x(a);a.split(/\\s+/).length>1&&g(Error(\"Compoun", - L"d class names not permitted\"));if(Gc.aa(b))return b.querySelectorAll(", - L"\".\"+a.replace(/\\./g,\"\\\\.\"));return H(E(b),\"*\",a,b)};var Z={},", - L"Hc={};Z.ja=function(a,b,c){b=H(E(b),\"A\",i,b);return Va(b,function(b)", - L"{b=Db(b);return c&&b.indexOf(a)!=-1||b==a})};Z.ha=function(a,b,c){b=H(", - L"E(b),\"A\",i,b);return Ra(b,function(b){b=Db(b);return c&&b.indexOf(a)", - L"!=-1||b==a})};Z.B=function(a,b){return Z.ja(a,b,!1)};Z.s=function(a,b)", - L"{return Z.ha(a,b,!1)};Hc.B=function(a,b){return Z.ja(a,b,!0)};Hc.s=fun", - L"ction(a,b){return Z.ha(a,b,!0)};var Ic={className:Gc,css:{B:function(a", - L",b){!v(b.querySelector)&&y(8)&&!ba(b.querySelector)&&g(Error(\"CSS sel", - L"ection is not supported\"));a||g(Error(\"No selector specified\"));a.s", - L"plit(/,/).length>1&&g(Error(\"Compound selectors not permitted\"));var", - L" a=x(a),c=b.querySelector(a);return c&&c.nodeType==1?c:i},s:function(a", - L",b){!v(b.querySelectorAll)&&y(8)&&!ba(b.querySelector)&&g(Error(\"CSS ", - L"selection is not supported\"));a||g(Error(\"No selector specified\"));", - L"a.split(/,/).length>1&&g(Error(\"Compound selectors not permitted\"));", - L"\na=x(a);return b.querySelectorAll(a)}},id:{B:function(a,b){var c=E(b)", - L",d=u(a)?c.r.getElementById(a):a;if(!d)return i;if(M(d,\"id\")==a&&G(b,", - L"d))return d;c=H(c,\"*\");return Va(c,function(c){return M(c,\"id\")==a", - L"&&G(b,c)})},s:function(a,b){var c=H(E(b),\"*\",i,b);return Ra(c,functi", - L"on(b){return M(b,\"id\")==a})}},linkText:Z,name:{B:function(a,b){var c", - L"=H(E(b),\"*\",i,b);return Va(c,function(b){return M(b,\"name\")==a})},", - L"s:function(a,b){var c=H(E(b),\"*\",i,b);return Ra(c,function(b){return", - L" M(b,\"name\")==a})}},partialLinkText:Hc,\ntagName:{B:function(a,b){re", - L"turn b.getElementsByTagName(a)[0]||i},s:function(a,b){return b.getElem", - L"entsByTagName(a)}},xpath:rb};function Jc(a,b){var c;a:{for(c in a)if(!", - L"Object.prototype[c])break a;c=i}if(c){var d=Ic[c];if(d&&v(d.s))return ", - L"d.s(a[c],b||Ea.document)}g(Error(\"Unsupported locator strategy: \"+c)", - L")};function Kc(a){return L(a,\"FORM\")}function Lc(a){Kc(a)||g(new Ia(", - L"12,\"Element was not in a form, so could not submit.\"));if(Kb(a))if(L", - L"(a.submit))if(y(8))a.constructor.prototype.submit.call(a);else{var b=J", - L"c({id:\"submit\"},a),c=Jc({name:\"submit\"},a);C(b,function(a){a.remov", - L"eAttribute(\"id\")});C(c,function(a){a.removeAttribute(\"name\")});a=a", - L".submit;C(b,function(a){a.setAttribute(\"id\",\"submit\")});C(c,functi", - L"on(a){a.setAttribute(\"name\",\"submit\")});a()}else a.submit()};funct", - L"ion Nc(a){(a=qb(a,Kc,!0))||g(new Ia(12,\"Element was not in a form, so", - L" could not submit.\"));Lc(a)}var Oc=\"_\".split(\".\"),$=q;!(Oc[0]in $", - L")&&$.execScript&&$.execScript(\"var \"+Oc[0]);for(var Pc;Oc.length&&(P", - L"c=Oc.shift());)!Oc.length&&Nc!==h?$[Pc]=Nc:$=$[Pc]?$[Pc]:$[Pc]={};; re", - L"turn this._.apply(null,arguments);}.apply({navigator:typeof window!='u", - L"ndefined'?window.navigator:null}, arguments);}", - NULL -}; - -static inline std::wstring asString(const wchar_t* const atom[]) { - std::wstring source = L""; - for (int i = 0; atom[i] != NULL; i++) { - source += atom[i]; - } - return source; -} - -} // namespace atoms -} // namespace webdriver - -#endif // WEBDRIVER_ATOMS_H_ +/* + * Copyright 2011 WebDriver committers + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* AUTO GENERATED - DO NOT EDIT BY HAND */ +#ifndef WEBDRIVER_ATOMS_H_ +#define WEBDRIVER_ATOMS_H_ + +#include // For wchar_t. +#include // For std::(w)string. + +namespace webdriver { +namespace atoms { + +const wchar_t* const CLICK[] = { + L"function(){return function(){function g(a){throw a;}var i=void 0,j=nul", + L"l;function m(a){return function(){return this[a]}}function n(a){return", + L" function(){return a}}var o,q=this;\nfunction s(a){var b=typeof a;if(b", + L"==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a ins", + L"tanceof Object)return b;var c=Object.prototype.toString.call(a);if(c==", + L"\"[object Window]\")return\"object\";if(c==\"[object Array]\"||typeof ", + L"a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propert", + L"yIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))retu", + L"rn\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&", + L"&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable", + L"(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"funct", + L"ion\"&&typeof a.call==\"undefined\")return\"object\";return b}function", + L" aa(a){var b=s(a);return b==\"array\"||b==\"object\"&&typeof a.length=", + L"=\"number\"}function t(a){return typeof a==\"string\"}function v(a){re", + L"turn s(a)==\"function\"}function ba(a){a=s(a);return a==\"object\"||a=", + L"=\"array\"||a==\"function\"}var ca=\"closure_uid_\"+Math.floor(Math.ra", + L"ndom()*2147483648).toString(36),da=0,ea=Date.now||function(){return+ne", + L"w Date};\nfunction w(a,b){function c(){}c.prototype=b.prototype;a.W=b.", + L"prototype;a.prototype=new c};function fa(a){for(var b=1;b\")!=-1&&(a=a.replace(la,\">\"));a.", + L"indexOf('\"')!=-1&&(a=a.replace(ma,\""\"));return a}var ja=/&/g,k", + L"a=//g,ma=/\\\"/g,ia=/[&<>\\\"]/;\nfunction na(a,b){if(ab)return 1;return 0}var oa=Math.random()*2147483648|0,", + L"pa={};function qa(a){return pa[a]||(pa[a]=String(a).replace(/\\-([a-z]", + L")/g,function(a,c){return c.toUpperCase()}))};var ra,sa,ta,ua=q.navigat", + L"or;ta=ua&&ua.platform||\"\";ra=ta.indexOf(\"Mac\")!=-1;sa=ta.indexOf(", + L"\"Win\")!=-1;var va=ta.indexOf(\"Linux\")!=-1,wa;var xa=\"\",ya=/MSIE", + L"\\s+([^\\);]+)(\\)|;)/.exec(q.navigator?q.navigator.userAgent:j),xa=ya", + L"?ya[1]:\"\",za,Aa=q.document;za=Aa?Aa.documentMode:i;wa=za>parseFloat(", + L"xa)?String(za):xa;var Ba={};\nfunction x(a){var b;if(!(b=Ba[a])){b=0;f", + L"or(var c=ga(String(wa)).split(\".\"),d=ga(String(a)).split(\".\"),e=Ma", + L"th.max(c.length,d.length),f=0;b==0&&f=0}return b}var", + L" Ca={};\nfunction Da(){return Ca[9]||(Ca[9]=document.documentMode&&doc", + L"ument.documentMode>=9)};var Ea=window;function y(a){this.stack=Error()", + L".stack||\"\";if(a)this.message=String(a)}w(y,Error);y.prototype.name=", + L"\"CustomError\";function Fa(a,b){for(var c in a)b.call(i,a[c],c,a)}var", + L" Ga=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIs", + L"Enumerable\",\"toLocaleString\",\"toString\",\"valueOf\"];function Ha(", + L"a){for(var b,c,d=1;d=0||(d.push(c[f]),e++);d=e==c.length;a.className=b.join(\" ", + L"\");return d};function C(a,b){this.x=a!==i?a:0;this.y=b!==i?b:0}C.prot", + L"otype.toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};func", + L"tion ab(a,b){this.width=a;this.height=b}ab.prototype.toString=function", + L"(){return\"(\"+this.width+\" x \"+this.height+\")\"};ab.prototype.floo", + L"r=function(){this.width=Math.floor(this.width);this.height=Math.floor(", + L"this.height);return this};var D=3;function E(a){return a?new bb(F(a)):", + L"Ya||(Ya=new bb)}function cb(a,b){Fa(b,function(c,b){b==\"style\"?a.sty", + L"le.cssText=c:b==\"class\"?a.className=c:b==\"for\"?a.htmlFor=c:b in db", + L"?a.setAttribute(db[b],c):a[b]=c})}var db={cellpadding:\"cellPadding\",", + L"cellspacing:\"cellSpacing\",colspan:\"colSpan\",rowspan:\"rowSpan\",va", + L"lign:\"vAlign\",height:\"height\",width:\"width\",usemap:\"useMap\",fr", + L"ameborder:\"frameBorder\",maxlength:\"maxLength\",type:\"type\"};funct", + L"ion G(a){return a?a.parentWindow||a.defaultView:window}\nfunction eb(a", + L",b,c){function d(c){c&&b.appendChild(t(c)?a.createTextNode(c):c)}for(v", + L"ar e=2;e0)?Qa(gb(", + L"f)?Wa(f):f,d):d(f)}}function hb(a){return a&&a.parentNode?a.parentNode", + L".removeChild(a):j}function H(a,b){if(a.contains&&b.nodeType==1)return ", + L"a==b||a.contains(b);if(typeof a.compareDocumentPosition!=\"undefined\"", + L")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b", + L"=b.parentNode;return b==a}\nfunction ib(a,b){if(a==b)return 0;if(a.com", + L"pareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"s", + L"ourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=", + L"a.nodeType==1,d=b.nodeType==1;if(c&&d)return a.sourceIndex-b.sourceInd", + L"ex;else{var e=a.parentNode,f=b.parentNode;if(e==f)return jb(a,b);if(!c", + L"&&H(e,b))return-1*kb(a,b);if(!d&&H(f,a))return kb(b,a);return(c?a.sour", + L"ceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}}d=F(a);c=d.cre", + L"ateRange();c.selectNode(a);c.collapse(!0);d=\nd.createRange();d.select", + L"Node(b);d.collapse(!0);return c.compareBoundaryPoints(q.Range.START_TO", + L"_END,d)}function kb(a,b){var c=a.parentNode;if(c==b)return-1;for(var d", + L"=b;d.parentNode!=c;)d=d.parentNode;return jb(d,a)}function jb(a,b){for", + L"(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}\nfunction lb(", + L"){var a,b=arguments.length;if(b){if(b==1)return arguments[0]}else retu", + L"rn j;var c=[],d=Infinity;for(a=0;a\")", + L";c=c.join(\"\")}c=a.createElement(c);if(d)t(d)?c.className=d:s(d)==\"a", + L"rray\"?$a.apply(j,[c].concat(d)):cb(c,d);b.length>2&&eb(a,c,b);return ", + L"c};o.createElement=function(a){return this.s.createElement(a)};o.creat", + L"eTextNode=function(a){return this.s.createTextNode(a)};\no.ia=function", + L"(){return this.s.parentWindow||this.s.defaultView};function pb(a){var ", + L"b=a.s,a=b.compatMode==\"CSS1Compat\"?b.documentElement:b.body,b=b.pare", + L"ntWindow||b.defaultView;return new C(b.pageXOffset||a.scrollLeft,b.pag", + L"eYOffset||a.scrollTop)}o.appendChild=function(a,b){a.appendChild(b)};o", + L".removeNode=hb;o.contains=H;var qb={ea:function(a,b,c){var d=F(a);if(!", + L"d.implementation.hasFeature(\"XPath\",\"3.0\"))return j;var e=d.create", + L"NSResolver(d.documentElement);return d.evaluate(b,a,e,c,j)},ua:functio", + L"n(a,b){var c=function(b,c){var f=F(b);if(b.selectSingleNode)return f.s", + L"etProperty&&f.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectSin", + L"gleNode(c);try{var h=qb.ea(b,c,9);return h?h.singleNodeValue:j}catch(k", + L"){g(Error(32,\"Unable to locate an element with the xpath expression ", + L"\"+a))}}(b,a);if(!c)return j;c.nodeType!=1&&g(Error(\"Returned node is", + L" not an element: \"+\na));return c},Ia:function(a,b){var c=function(b,", + L"c){var f=F(b);if(b.selectNodes)return f.setProperty&&f.setProperty(\"S", + L"electionLanguage\",\"XPath\"),b.selectNodes(c);var f=[],h;try{h=qb.ea(", + L"b,c,7)}catch(k){g(Error(32,\"Unable to locate elements with the xpath ", + L"expression \"+c))}if(h)for(var l=h.snapshotLength,r=0;r=a.length&&g(I),b in a)return a[b++];else b++};retur", + L"n c}g(Error(\"Not implemented\"))};function J(a,b,c,d,e){this.o=!!b;a&", + L"&K(this,a,d);this.w=e!=i?e:this.q||0;this.o&&(this.w*=-1);this.ma=!c}w", + L"(J,rb);o=J.prototype;o.p=j;o.q=0;o.ca=!1;function K(a,b,c,d){if(a.p=b)", + L"a.q=typeof c==\"number\"?c:a.p.nodeType!=1?0:a.o?-1:1;if(typeof d==\"n", + L"umber\")a.w=d}\no.next=function(){var a;if(this.ca){(!this.p||this.ma&", + L"&this.w==0)&&g(I);a=this.p;var b=this.o?-1:1;if(this.q==b){var c=this.", + L"o?a.lastChild:a.firstChild;c?K(this,c):K(this,a,b*-1)}else(c=this.o?a.", + L"previousSibling:a.nextSibling)?K(this,c):K(this,a.parentNode,b*-1);thi", + L"s.w+=this.q*(this.o?-1:1)}else this.ca=!0;(a=this.p)||g(I);return a};", + L"\no.splice=function(){var a=this.p,b=this.o?1:-1;if(this.q==b)this.q=b", + L"*-1,this.w+=this.q*(this.o?-1:1);this.o=!this.o;J.prototype.next.call(", + L"this);this.o=!this.o;for(var b=aa(arguments[0])?arguments[0]:arguments", + L",c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.", + L"nextSibling);hb(a)};function tb(a,b,c,d){J.call(this,a,b,c,j,d)}w(tb,J", + L");tb.prototype.next=function(){do tb.W.next.call(this);while(this.q==-", + L"1);return this.p};function ub(a,b,c,d){this.top=a;this.right=b;this.bo", + L"ttom=c;this.left=d}ub.prototype.toString=function(){return\"(\"+this.t", + L"op+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};ub", + L".prototype.contains=function(a){a=!this||!a?!1:a instanceof ub?a.left>", + L"=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.botto", + L"m:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom;ret", + L"urn a};function vb(a,b){var c=F(a);if(c.defaultView&&c.defaultView.get", + L"ComputedStyle&&(c=c.defaultView.getComputedStyle(a,j)))return c[b]||c.", + L"getPropertyValue(b);return\"\"}function wb(a){var b=a.getBoundingClien", + L"tRect(),a=a.ownerDocument;b.left-=a.documentElement.clientLeft+a.body.", + L"clientLeft;b.top-=a.documentElement.clientTop+a.body.clientTop;return ", + L"b}\nfunction xb(a){var b=F(a);vb(a,\"position\");var c=new C(0,0),d;d=", + L"b?b.nodeType==9?b:F(b):document;var e;if(e=!x(9))e=E(d).s.compatMode!=", + L"\"CSS1Compat\";d=e?d.body:d.documentElement;if(a==d)return c;if(a.getB", + L"oundingClientRect)a=wb(a),b=pb(E(b)),c.x=a.left+b.x,c.y=a.top+b.y;else", + L" if(b.getBoxObjectFor)a=b.getBoxObjectFor(a),b=b.getBoxObjectFor(d),c.", + L"x=a.screenX-b.screenX,c.y=a.screenY-b.screenY;else{e=a;do c.x+=e.offse", + L"tLeft,c.y+=e.offsetTop,e!=a&&(c.x+=e.clientLeft||0,c.y+=e.clientTop||0", + L"),e=e.offsetParent;\nwhile(e&&e!=a);for(e=a;(e=e.offsetParent)&&e!=b.b", + L"ody&&e!=d;)c.x-=e.scrollLeft,c.y-=e.scrollTop}return c}function yb(a){", + L"if((vb(a,\"display\")||(a.currentStyle?a.currentStyle.display:j)||a.st", + L"yle.display)!=\"none\")return new ab(a.offsetWidth,a.offsetHeight);var", + L" b=a.style,c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidd", + L"en\";b.position=\"absolute\";b.display=\"inline\";var f=a.offsetWidth,", + L"a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;return new ab", + L"(f,a)}var zb={thin:2,medium:4,thick:6};\nfunction Ab(a,b){if((a.curren", + L"tStyle?a.currentStyle[b+\"Style\"]:j)==\"none\")return 0;var c=a.curre", + L"ntStyle?a.currentStyle[b+\"Width\"]:j;if(c in zb)return zb[c];var d;if", + L"(/^\\d+px?$/.test(c))d=parseInt(c,10);else{d=a.style.left;var e=a.runt", + L"imeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=c;c", + L"=a.style.pixelLeft;a.style.left=d;a.runtimeStyle.left=e;d=c}return d};", + L"function L(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()", + L"==b)}var Bb={\"class\":\"className\",readonly:\"readOnly\"},Cb=[\"chec", + L"ked\",\"disabled\",\"draggable\",\"hidden\"];function Db(a,b){var c=Bb", + L"[b]||b,d=a[c];if(d===i&&B(Cb,c)>=0)return!1;return d}\nvar Eb=[\"async", + L"\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"c", + L"ontrols\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\"", + L",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"", + L"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\"", + L",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalida", + L"te\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"require", + L"d\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"sp", + L"ellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Fb(a){var b;if(8", + L"==a.nodeType)return j;b=\"usemap\";if(b==\"style\")return a=ga(a.style", + L".cssText).toLowerCase(),a.charAt(a.length-1)==\";\"?a:a+\";\";var c=a.", + L"getAttributeNode(b);!c&&x(8)&&B(Eb,b)>=0&&(c=a[b]);if(!c)return j;if(B", + L"(Eb,b)>=0)return c.value==\"false\"?j:\"true\";return c.specified?c.va", + L"lue:j}var Gb=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",", + L"\"TEXTAREA\"];\nfunction Hb(a){var b=a.tagName.toUpperCase();if(!(B(Gb", + L",b)>=0))return!0;if(Db(a,\"disabled\"))return!1;if(a.parentNode&&a.par", + L"entNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return Hb(a.parent", + L"Node);return!0}function Ib(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.n", + L"odeType!=9&&a.nodeType!=11;)a=a.parentNode;return L(a)?a:j}function Jb", + L"(a,b){b=qa(b);return vb(a,b)||Kb(a,b)}function Kb(a,b){var c=(a.curren", + L"tStyle||a.style)[b];if(c!=\"inherit\")return c!==i?c:j;return(c=Ib(a))", + L"?Kb(c,b):j}\nfunction Lb(a){if(v(a.getBBox))return a.getBBox();return ", + L"yb(a)}\nfunction M(a,b){function c(a){if(Jb(a,\"display\")==\"none\")r", + L"eturn!1;a=Ib(a);return!a||c(a)}function d(a){var b=Lb(a);if(b.height>0", + L"&&b.width>0)return!0;return Sa(a.childNodes,function(a){return a.nodeT", + L"ype==D||L(a)&&d(a)})}L(a)||g(Error(\"Argument to isShown must be of ty", + L"pe Element\"));if(L(a,\"TITLE\"))return G(F(a))==Ea;if(L(a,\"OPTION\")", + L"||L(a,\"OPTGROUP\")){var e=ob(a,function(a){return L(a,\"SELECT\")});r", + L"eturn!!e&&M(e,b)}if(L(a,\"MAP\")){if(!a.name)return!1;e=F(a);e=e.evalu", + L"ate?qb.ua('/descendant::*[@usemap = \"#'+\na.name+'\"]',e):mb(e,functi", + L"on(b){return L(b)&&Fb(b)==\"#\"+a.name});return!!e&&M(e,b)}if(L(a,\"AR", + L"EA\"))return e=ob(a,function(a){return L(a,\"MAP\")}),!!e&&M(e,b);if(L", + L"(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(Jb(a,\"vis", + L"ibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&Mb(a)==0)retu", + L"rn!1;if(!d(a))return!1;return!0}\nfunction Mb(a){if(Jb(a,\"position\")", + L"==\"relative\")return 1;a=Jb(a,\"filter\");return(a=a.match(/^alpha\\(", + L"opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha", + L"\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1};var Nb=[\"dragstart\",\"dr", + L"agexit\",\"mouseover\",\"mouseout\"];\nfunction N(a,b,c){var d=F(a),e=", + L"c||{},c=e.clientX||0,f=e.clientY||0,h=e.button||0,k=!!e.alt,l=!!e.cont", + L"rol,r=!!e.shift,p=!!e.meta,u=j;B(Nb,b)>=0&&(u=e.related||j,!u&&b==\"mo", + L"useover\"&&(u=Ib(a)),!u&&b==\"mouseout\"&&(u=a));d=d.createEventObject", + L"();d.altKey=k;d.Aa=l;d.metaKey=p;d.shiftKey=r;d.clientX=c;d.clientY=f;", + L"d.button=h;b==\"mouseout\"?(d.fromElement=a,d.toElement=u):b==\"mouseo", + L"ver\"?(d.fromElement=u,d.toElement=a):(d.fromElement=j,d.toElement=j);", + L"return d}\nfunction Ob(a,b,c){var d=c||{},b=d.keyCode||0,c=!!d.alt,e=!", + L"!d.ctrl,f=!!d.shift,d=!!d.meta,a=F(a).createEventObject();a.keyCode=b;", + L"a.altKey=c;a.ctrlKey=e;a.metaKey=d;a.shiftKey=f;return a}\nfunction Pb", + L"(a,b,c){var d=F(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,h=!!e.control,k=!", + L"!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEve", + L"ntObject(),a.altKey=f,a.Ba=h,a.metaKey=e,a.shiftKey=k):(a=d.createEven", + L"t(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=k,a.metaKey=e,a.altKe", + L"y=f,a.ctrlKey=h);return a}var O={};O.click=N;O.keydown=Ob;O.keypress=O", + L"b;O.keyup=Ob;O.mousedown=N;O.mousemove=N;O.mouseout=N;O.mouseover=N;O.", + L"mouseup=N;\nfunction Qb(a,b,c){c=(O[b]||Pb)(a,b,c);if(!(\"isTrusted\"i", + L"n c))c.Fa=!1;return a.fireEvent(\"on\"+b,c)};var Rb={};function P(a,b,", + L"c){ba(a)&&(a=a.e);a=new Sb(a,b,c);if(b&&(!(b in Rb)||c))Rb[b]={key:a,s", + L"hift:!1},c&&(Rb[c]={key:a,shift:!0})}function Sb(a,b,c){this.code=a;th", + L"is.la=b||j;this.Na=c||this.la}P(8);P(9);P(13);P(16);P(17);P(18);P(19);", + L"P(20);P(27);P(32,\" \");P(33);P(34);P(35);P(36);P(37);P(38);P(39);P(40", + L");P(44);P(45);P(46);P(48,\"0\",\")\");P(49,\"1\",\"!\");P(50,\"2\",\"@", + L"\");P(51,\"3\",\"#\");P(52,\"4\",\"$\");P(53,\"5\",\"%\");P(54,\"6\",", + L"\"^\");P(55,\"7\",\"&\");P(56,\"8\",\"*\");P(57,\"9\",\"(\");P(65,\"a", + L"\",\"A\");P(66,\"b\",\"B\");P(67,\"c\",\"C\");\nP(68,\"d\",\"D\");P(69", + L",\"e\",\"E\");P(70,\"f\",\"F\");P(71,\"g\",\"G\");P(72,\"h\",\"H\");P(", + L"73,\"i\",\"I\");P(74,\"j\",\"J\");P(75,\"k\",\"K\");P(76,\"l\",\"L\");", + L"P(77,\"m\",\"M\");P(78,\"n\",\"N\");P(79,\"o\",\"O\");P(80,\"p\",\"P\"", + L");P(81,\"q\",\"Q\");P(82,\"r\",\"R\");P(83,\"s\",\"S\");P(84,\"t\",\"T", + L"\");P(85,\"u\",\"U\");P(86,\"v\",\"V\");P(87,\"w\",\"W\");P(88,\"x\",", + L"\"X\");P(89,\"y\",\"Y\");P(90,\"z\",\"Z\");P(sa?{g:91,e:91,opera:219}:", + L"ra?{g:224,e:91,opera:17}:{g:0,e:91,opera:j});P(sa?{g:92,e:92,opera:220", + L"}:ra?{g:224,e:93,opera:17}:{g:0,e:92,opera:j});\nP(sa?{g:93,e:93,opera", + L":0}:ra?{g:0,e:0,opera:16}:{g:93,e:j,opera:0});P({g:96,e:96,opera:48},", + L"\"0\");P({g:97,e:97,opera:49},\"1\");P({g:98,e:98,opera:50},\"2\");P({", + L"g:99,e:99,opera:51},\"3\");P({g:100,e:100,opera:52},\"4\");P({g:101,e:", + L"101,opera:53},\"5\");P({g:102,e:102,opera:54},\"6\");P({g:103,e:103,op", + L"era:55},\"7\");P({g:104,e:104,opera:56},\"8\");P({g:105,e:105,opera:57", + L"},\"9\");P({g:106,e:106,opera:va?56:42},\"*\");P({g:107,e:107,opera:va", + L"?61:43},\"+\");P({g:109,e:109,opera:va?109:45},\"-\");P({g:110,e:110,o", + L"pera:va?190:78},\".\");\nP({g:111,e:111,opera:va?191:47},\"/\");P(144)", + L";P(112);P(113);P(114);P(115);P(116);P(117);P(118);P(119);P(120);P(121)", + L";P(122);P(123);P({g:107,e:187,opera:61},\"=\",\"+\");P({g:109,e:189,op", + L"era:109},\"-\",\"_\");P(188,\",\",\"<\");P(190,\".\",\">\");P(191,\"/", + L"\",\"?\");P(192,\"`\",\"~\");P(219,\"[\",\"{\");P(220,\"\\\\\",\"|\");", + L"P(221,\"]\",\"}\");P({g:59,e:186,opera:59},\";\",\":\");P(222,\"'\",'", + L"\"');function Tb(){Ub&&(this[ca]||(this[ca]=++da))}var Ub=!1;function ", + L"Vb(a){return Wb(a||arguments.callee.caller,[])}\nfunction Wb(a,b){var ", + L"c=[];if(B(b,a)>=0)c.push(\"[...circular reference...]\");else if(a&&b.", + L"length<50){c.push(Xb(a)+\"(\");for(var d=a.arguments,e=0;e0&&c.push(\", \");var f;f=d[e];switch(typeof f){case \"object\":f", + L"=f?\"object\":\"null\";break;case \"string\":break;case \"number\":f=S", + L"tring(f);break;case \"boolean\":f=f?\"true\":\"false\";break;case \"fu", + L"nction\":f=(f=Xb(f))?f:\"[fn]\";break;default:f=typeof f}f.length>40&&", + L"(f=f.substr(0,40)+\"...\");c.push(f)}b.push(a);c.push(\")\\n\");try{c.", + L"push(Wb(a.caller,b))}catch(h){c.push(\"[exception trying to get caller", + L"]\\n\")}}else a?\nc.push(\"[...long stack...]\"):c.push(\"[end]\");ret", + L"urn c.join(\"\")}function Xb(a){a=String(a);if(!Yb[a]){var b=/function", + L" ([^\\(]+)/.exec(a);Yb[a]=b?b[1]:\"[Anonymous]\"}return Yb[a]}var Yb={", + L"};function Q(a,b,c,d,e){this.reset(a,b,c,d,e)}Q.prototype.ta=0;Q.proto", + L"type.ga=j;Q.prototype.fa=j;var Zb=0;Q.prototype.reset=function(a,b,c,d", + L",e){this.ta=typeof e==\"number\"?e:Zb++;this.Oa=d||ea();this.L=a;this.", + L"ra=b;this.Ha=c;delete this.ga;delete this.fa};Q.prototype.ka=function(", + L"a){this.L=a};function R(a){this.sa=a}R.prototype.U=j;R.prototype.L=j;R", + L".prototype.X=j;R.prototype.ja=j;function $b(a,b){this.name=a;this.valu", + L"e=b}$b.prototype.toString=m(\"name\");var ac=new $b(\"SEVERE\",1E3),bc", + L"=new $b(\"WARNING\",900),cc=new $b(\"CONFIG\",700);R.prototype.getPare", + L"nt=m(\"U\");R.prototype.ka=function(a){this.L=a};function dc(a){if(a.L", + L")return a.L;if(a.U)return dc(a.U);Oa(\"Root logger has no level set.\"", + L");return j}\nR.prototype.log=function(a,b,c){if(a.value>=dc(this).valu", + L"e){a=this.oa(a,b,c);q.console&&q.console.markTimeline&&q.console.markT", + L"imeline(\"log:\"+a.ra);for(b=this;b;){var c=b,d=a;if(c.ja)for(var e=0,", + L"f=i;f=c.ja[e];e++)f(d);b=b.getParent()}}};\nR.prototype.oa=function(a,", + L"b,c){var d=new Q(a,String(b),this.sa);if(c){d.ga=c;var e;var f=argumen", + L"ts.callee.caller;try{var h;var k;c:{for(var l=\"window.location.href\"", + L".split(\".\"),r=q,p;p=l.shift();)if(r[p]!=j)r=r[p];else{k=j;break c}k=", + L"r}if(t(c))h={message:c,name:\"Unknown error\",lineNumber:\"Not availab", + L"le\",fileName:k,stack:\"Not available\"};else{var u,fb,l=!1;try{u=c.li", + L"neNumber||c.Ga||\"Not available\"}catch(Xc){u=\"Not available\",l=!0}t", + L"ry{fb=c.fileName||c.filename||c.sourceURL||k}catch(Yc){fb=\"Not availa", + L"ble\",\nl=!0}h=l||!c.lineNumber||!c.fileName||!c.stack?{message:c.mess", + L"age,name:c.name,lineNumber:u,fileName:fb,stack:c.stack||\"Not availabl", + L"e\"}:c}e=\"Message: \"+ha(h.message)+'\\nUrl: '+h.fileName+\"\\nLine: \"+h.lineNu", + L"mber+\"\\n\\nBrowser stack:\\n\"+ha(h.stack+\"-> \")+\"[end]\\n\\nJS s", + L"tack traversal:\\n\"+ha(Vb(f)+\"-> \")}catch(Tc){e=\"Exception trying ", + L"to expose exception! You win, we lose. \"+Tc}d.fa=e}return d};var ec={", + L"},fc=j;\nfunction gc(a){fc||(fc=new R(\"\"),ec[\"\"]=fc,fc.ka(cc));var", + L" b;if(!(b=ec[a])){b=new R(a);var c=a.lastIndexOf(\".\"),d=a.substr(c+1", + L"),c=gc(a.substr(0,c));if(!c.X)c.X={};c.X[d]=b;b.U=c;ec[a]=b}return b};", + L"function hc(){Tb.call(this)}w(hc,Tb);gc(\"goog.dom.SavedRange\");w(fun", + L"ction(a){Tb.call(this);this.va=\"goog_\"+oa++;this.na=\"goog_\"+oa++;t", + L"his.da=E(a.$());a.O(this.da.Y(\"SPAN\",{id:this.va}),this.da.Y(\"SPAN", + L"\",{id:this.na}))},hc);function S(){}function ic(a){if(a.getSelection)", + L"return a.getSelection();else{var a=a.document,b=a.selection;if(b){try{", + L"var c=b.createRange();if(c.parentElement){if(c.parentElement().documen", + L"t!=a)return j}else if(!c.length||c.item(0).document!=a)return j}catch(", + L"d){return j}return b}return j}}function jc(a){for(var b=[],c=0,d=a.D()", + L";c=0&&this.m(d,1,0)<=0:this.m(d,0,0)>=0&&t", + L"his.m(d,1,1)<=0}catch(e){return!1}};nc.prototype.containsNode=function", + L"(a,b){return this.v(lc(a),b)};nc.prototype.C=function(){return new mc(", + L"this.b(),this.j(),this.i(),this.l())};function V(a){this.a=a}w(V,nc);o", + L"=V.prototype;o.z=function(){return this.a.commonAncestorContainer};o.b", + L"=function(){return this.a.startContainer};o.j=function(){return this.a", + L".startOffset};o.i=function(){return this.a.endContainer};o.l=function(", + L"){return this.a.endOffset};o.m=function(a,b,c){return this.a.compareBo", + L"undaryPoints(c==1?b==1?q.Range.START_TO_START:q.Range.START_TO_END:b==", + L"1?q.Range.END_TO_START:q.Range.END_TO_END,a)};o.isCollapsed=function()", + L"{return this.a.collapsed};\no.select=function(a){this.V(G(F(this.b()))", + L".getSelection(),a)};o.V=function(a){a.removeAllRanges();a.addRange(thi", + L"s.a)};o.insertNode=function(a,b){var c=this.a.cloneRange();c.collapse(", + L"b);c.insertNode(a);c.detach();return a};\no.O=function(a,b){var c=G(F(", + L"this.b()));if(c=(c=ic(c||window))&&oc(c))var d=c.b(),e=c.i(),f=c.j(),h", + L"=c.l();var k=this.a.cloneRange(),l=this.a.cloneRange();k.collapse(!1);", + L"l.collapse(!0);k.insertNode(b);l.insertNode(a);k.detach();l.detach();i", + L"f(c){if(d.nodeType==D)for(;f>d.length;){f-=d.length;do d=d.nextSibling", + L";while(d==a||d==b)}if(e.nodeType==D)for(;h>e.length;){h-=e.length;do e", + L"=e.nextSibling;while(e==a||e==b)}c=new pc;c.G=qc(d,f,e,h);if(d.tagName", + L"==\"BR\")k=d.parentNode,f=B(k.childNodes,d),d=k;if(e.tagName==\n\"BR\"", + L")k=e.parentNode,h=B(k.childNodes,e),e=k;c.G?(c.d=e,c.h=h,c.c=d,c.f=f):", + L"(c.d=d,c.h=f,c.c=e,c.f=h);c.select()}};o.collapse=function(a){this.a.c", + L"ollapse(a)};function rc(a){this.a=a}w(rc,V);rc.prototype.V=function(a,", + L"b){var c=b?this.i():this.b(),d=b?this.l():this.j(),e=b?this.b():this.i", + L"(),f=b?this.j():this.l();a.collapse(c,d);(c!=e||d!=f)&&a.extend(e,f)};", + L"function sc(a,b){this.a=a;this.Ca=b}w(sc,nc);var tc=gc(\"goog.dom.brow", + L"serrange.IeRange\");function uc(a){var b=F(a).body.createTextRange();i", + L"f(a.nodeType==1)b.moveToElementText(a),W(a)&&!a.childNodes.length&&b.c", + L"ollapse(!1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d.nodeTyp", + L"e;if(e==D)c+=d.length;else if(e==1){b.moveToElementText(d);break}}d||b", + L".moveToElementText(a.parentNode);b.collapse(!d);c&&b.move(\"character", + L"\",c);b.moveEnd(\"character\",a.length)}return b}o=sc.prototype;o.B=j;", + L"o.d=j;o.c=j;o.h=-1;\no.f=-1;o.r=function(){this.B=this.d=this.c=j;this", + L".h=this.f=-1};\no.z=function(){if(!this.B){var a=this.a.text,b=this.a.", + L"duplicate(),c=a.replace(/ +$/,\"\");(c=a.length-c.length)&&b.moveEnd(", + L"\"character\",-c);c=b.parentElement();b=b.htmlText.replace(/(\\r\\n|", + L"\\r|\\n)+/g,\" \").length;if(this.isCollapsed()&&b>0)return this.B=c;f", + L"or(;b>c.outerHTML.replace(/(\\r\\n|\\r|\\n)+/g,\" \").length;)c=c.pare", + L"ntNode;for(;c.childNodes.length==1&&c.innerText==(c.firstChild.nodeTyp", + L"e==D?c.firstChild.nodeValue:c.firstChild.innerText);){if(!W(c.firstChi", + L"ld))break;c=c.firstChild}a.length==0&&(c=vc(this,\nc));this.B=c}return", + L" this.B};function vc(a,b){for(var c=b.childNodes,d=0,e=c.length;d=0&&a.m(h,1,0)<=0:a.a.inRange(h))return vc(a,f", + L")}}return b}o.b=function(){if(!this.d&&(this.d=wc(this,1),this.isColla", + L"psed()))this.c=this.d;return this.d};o.j=function(){if(this.h<0&&(this", + L".h=xc(this,1),this.isCollapsed()))this.f=this.h;return this.h};\no.i=f", + L"unction(){if(this.isCollapsed())return this.b();if(!this.c)this.c=wc(t", + L"his,0);return this.c};o.l=function(){if(this.isCollapsed())return this", + L".j();if(this.f<0&&(this.f=xc(this,0),this.isCollapsed()))this.h=this.f", + L";return this.f};o.m=function(a,b,c){return this.a.compareEndPoints((b=", + L"=1?\"Start\":\"End\")+\"To\"+(c==1?\"Start\":\"End\"),a)};\nfunction w", + L"c(a,b,c){c=c||a.z();if(!c||!c.firstChild)return c;for(var d=b==1,e=0,f", + L"=c.childNodes.length;e0)return wc(a,b,k)}return c}\nfunction xc(a,b){var ", + L"c=b==1,d=c?a.b():a.i();if(d.nodeType==1){for(var d=d.childNodes,e=d.le", + L"ngth,f=c?1:-1,h=c?0:e-1;h>=0&&hh.childNodes.length&&t", + L"c.log(ac,\"Cannot have startOffset > startNode child count\",i),k=h.ch", + L"ildNodes[k],r=!k,h=k||h.lastChild||h,k=0);var p=uc(h);k&&p.move(\"char", + L"acter\",k);h==l&&k==f?p.collapse(!0):(r&&p.collapse(!1),r=!1,l.nodeTyp", + L"e==1&&(f>l.childNodes.length&&tc.log(ac,\"Cannot have endOffset > endN", + L"ode child count\",\ni),u=(k=l.childNodes[f])||l.lastChild||l,l=u,f=0,r", + L"=!k),h=uc(l),h.collapse(!r),f&&h.moveEnd(\"character\",f),p.setEndPoin", + L"t(\"EndToEnd\",h));f=new sc(p,F(b));f.d=b;f.h=c;f.c=d;f.f=e;b=f}b=a.J=", + L"b}return b}o.z=function(){return X(this).z()};o.b=function(){return th", + L"is.d||(this.d=X(this).b())};o.j=function(){return this.h!=j?this.h:thi", + L"s.h=X(this).j()};o.i=function(){return this.c||(this.c=X(this).i())};o", + L".l=function(){return this.f!=j?this.f:this.f=X(this).l()};o.F=m(\"G\")", + L";\no.v=function(a,b){var c=a.aa();if(c==\"text\")return X(this).v(X(a)", + L",b);else if(c==\"control\")return c=Cc(a),(b?Sa:Ta)(c,function(a){retu", + L"rn this.containsNode(a,b)},this);return!1};o.isCollapsed=function(){re", + L"turn X(this).isCollapsed()};o.C=function(){return new mc(this.b(),this", + L".j(),this.i(),this.l())};o.select=function(){X(this).select(this.G)};o", + L".insertNode=function(a,b){var c=X(this).insertNode(a,b);this.r();retur", + L"n c};o.O=function(a,b){X(this).O(a,b);this.r()};o.ba=function(){return", + L" new Dc(this)};\no.collapse=function(a){a=this.F()?!a:a;this.J&&this.J", + L".collapse(a);a?(this.c=this.d,this.f=this.h):(this.d=this.c,this.h=thi", + L"s.f);this.G=!1};function Dc(a){this.wa=a.F()?a.i():a.b();this.xa=a.F()", + L"?a.l():a.j();this.Da=a.F()?a.b():a.i();this.Ea=a.F()?a.j():a.l()}w(Dc,", + L"hc);function Ec(){}w(Ec,U);o=Ec.prototype;o.a=j;o.n=j;o.N=j;o.r=functi", + L"on(){this.N=this.n=j};o.aa=n(\"control\");o.S=function(){return this.a", + L"||document.body.createControlRange()};o.D=function(){return this.a?thi", + L"s.a.length:0};o.A=function(a){a=this.a.item(a);return kc(lc(a),i)};o.z", + L"=function(){return lb.apply(j,Cc(this))};o.b=function(){return Fc(this", + L")[0]};o.j=n(0);o.i=function(){var a=Fc(this),b=A(a);return Ua(a,functi", + L"on(a){return H(a,b)})};o.l=function(){return this.i().childNodes.lengt", + L"h};\nfunction Cc(a){if(!a.n&&(a.n=[],a.a))for(var b=0;b1&&this.qa.log(bc,\"getBrowserRangeObject c", + L"alled on MultiRange with more than 1 range\",i);return this.t[0]};o.D=", + L"function(){return this.t.length};o.A=function(a){this.M[a]||(this.M[a]", + L"=kc(Bc(this.t[a]),i));return this.M[a]};\no.z=function(){if(!this.Q){f", + L"or(var a=[],b=0,c=this.D();b1){b=new Ic;for(var c=0,e=a.rangeCoun", + L"t;c0};func", + L"tion Mc(a){this.k=Ea.document.documentElement;this.Z=this.u=j;this.T=!", + L"1;this.P=new C(0,0);this.pa=a}var Y={click:[0,0,0,j],contextmenu:[j,j,", + L"0,j],mouseup:[1,4,2,j],mouseout:[0,0,0,0],mousemove:[1,4,2,0]};Y.dblcl", + L"ick=Y.click;Y.mousedown=Y.mouseup;Y.mouseover=Y.mouseout;var Nc={mouse", + L"out:function(a){return a},mouseover:function(a){return Ib(a)}};\nMc.pr", + L"ototype.move=function(a,b){var c=new C;if(a.nodeType==1)if(a.getBoundi", + L"ngClientRect){var d=wb(a);c.x=d.left;c.y=d.top}else{var d=pb(E(a)),e=x", + L"b(a);c.x=e.x-d.x;c.y=e.y-d.y}else d=v(a.ha),e=a,a.targetTouches?e=a.ta", + L"rgetTouches[0]:d&&a.ha().targetTouches&&(e=a.ha().targetTouches[0]),c.", + L"x=e.clientX,c.y=e.clientY;this.P.x=b.x+c.x;this.P.y=b.y+c.y;if(a!=this", + L".k)Z(this,\"mouseout\"),this.k=a,Z(this,\"mouseover\");Z(this,\"mousem", + L"ove\")};\nfunction Z(a,b){if(!a.pa(a.k))return!1;var c=Nc[b],c=c?c(a.k", + L"):j,d=a.P.x,e=a.P.y,f;b in Y?(f=Y[b][a.u===j?3:a.u],f===j&&g(new z(13,", + L"\"Event does not permit the specified mouse button.\"))):f=0;return Qb", + L"(a.k,b,{clientX:d,clientY:e,button:f,ya:!0,alt:!1,za:!1,shift:!1,Ka:!1", + L",La:c})}var Oc=/^([^:/?#.]+:)?(?:\\/\\/([^/]*))?([^?#]+)?(\\?[^#]*)?(#", + L".*)?$/;function Pc(a,b){var c=M(a,!0),d=c&&Hb(a);b&&!c?g(new z(11,\"El", + L"ement is not currently visible and may not be manipulated\")):b&&!d&&g", + L"(new z(12,\"Element is not currently enabled and may not be manipulate", + L"d\"));return d}function Qc(a){if(L(a,\"OPTION\"))return!0;if(L(a,\"INP", + L"UT\"))return a=a.type.toLowerCase(),a==\"checkbox\"||a==\"radio\";retu", + L"rn!1}\nfunction Rc(a){Qc(a)||g(new z(15,\"Element is not selectable\")", + L");var b=\"selected\",c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c", + L"||\"radio\"==c)b=\"checked\";return!!Db(a,b)}function Sc(a){return L(a", + L",\"SELECT\")};function Uc(a,b){var c=b;M(a,!0)||g(new z(11,\"Element i", + L"s not currently visible and may not be manipulated\"));var d=F(a).acti", + L"veElement,e=F(a).documentElement,f=xb(a),h=xb(e),k,l=Ab(e,\"borderLeft", + L"\");k=Ab(e,\"borderRight\");var r=Ab(e,\"borderTop\"),p=Ab(e,\"borderB", + L"ottom\");k=new ub(r,k,p,l);l=f.x-h.x-k.left;f=f.y-h.y-k.top;h=e.client", + L"Height-a.offsetHeight;e.scrollLeft+=Math.min(l,Math.max(l-(e.clientWid", + L"th-a.offsetWidth),0));e.scrollTop+=Math.min(f,Math.max(f-h,0));c||(e=y", + L"b(a),c=new C(e.width/2,e.height/2));\ne=new Mc(Pc);e.move(a,c);e.u!==j", + L"&&g(new z(13,\"Cannot press more then one button or an already pressed", + L" button.\"));e.u=0;e.Z=e.k;e.T=Qc(e.k)&&Rc(e.k);c=!0;if((c=Z(e,\"mouse", + L"down\"))&&Pc(a))Pc(a,!0),d=d||F(a).activeElement,a!=d&&(d&&((v(d.blur)", + L"||ba(d.blur))&&d.blur(),!x(8)&&G(F(a)).focus()),(v(a.focus)||ba(a.focu", + L"s))&&a.focus());e.u===j&&g(new z(13,\"Cannot release a button when no ", + L"button is pressed.\"));Z(e,\"mouseup\");if(e.u==0&&e.k==e.Z){c=d=j;for", + L"(f=e.k;f;f=f.parentNode)if(L(f,\"A\")){d=f;break}else{a:{if(L(f,\n\"IN", + L"PUT\")&&(h=f.type.toLowerCase(),h==\"submit\"||h==\"image\")){h=!0;bre", + L"ak a}if(L(f,\"BUTTON\")&&(h=f.type.toLowerCase(),h==\"submit\")){h=!0;", + L"break a}h=!1}if(h){c=f;break}}if(c)c.click();else if(c=Z(e,\"click\"))", + L"{if(c&&d&&d.href){a:break a;h=d.href;c=G(F(d));if(!x(8))if(f=c.locatio", + L"n,h=h.match(Oc)){h={protocol:h[1]||\"\",host:h[2]||\"\",pathname:h[3]|", + L"|\"\",search:h[4]||\"\",hash:h[5]||\"\"};if(!h.protocol&&(h.protocol=f", + L".protocol,!h.host))if(h.host=f.host,h.pathname){if(h.pathname.charAt(0", + L")!=\"/\"&&(l=f.pathname.lastIndexOf(\"/\"),\nl!=-1))h.pathname=f.pathn", + L"ame.substr(0,l+1)+h.pathname}else h.pathname=f.pathname,h.search=h.sea", + L"rch||f.search;h=h.protocol+\"//\"+h.host+h.pathname+h.search+h.hash}el", + L"se h=\"\";d.target?c.open(h,d.target):c.location.href=h}if(M(e.k,!0)&&", + L"Qc(e.k)&&Hb(e.k)&&!(e.k.tagName.toLowerCase()==\"input\"&&e.k.type&&e.", + L"k.type.toLowerCase()==\"radio\"&&Rc(e.k))&&(d=ob(e.k,Sc),!d||d.multipl", + L"e||!e.T))if(d=e.k,c=!e.T,Pc(d,!0),L(d,\"INPUT\"))if(f=d.type.toLowerCa", + L"se(),f==\"checkbox\"||f==\"radio\"){if(d.checked!=c&&(d.type==\"radio", + L"\"&&\n!c&&g(new z(12,\"You may not deselect a radio button\")),c!=Rc(d", + L")))d.checked=c,Qb(d,\"change\")}else g(new z(15,\"You may not select a", + L"n unselectable input element: \"+d.type));else if(L(d,\"OPTION\")){if(", + L"f=ob(d,Sc),!f.multiple&&!c&&g(new z(15,\"You may not deselect an optio", + L"n within a select that does not support multiple selections.\")),c!=Rc", + L"(d))d.selected=c,Qb(f,\"change\")}else g(new z(15,\"You may not select", + L" an unselectable element: \"+d.tagName))}}else e.u==2&&Z(e,\"contextme", + L"nu\");e.u=j;e.Z=j;e.T=!1}\nvar Vc=\"_\".split(\".\"),$=q;!(Vc[0]in $)&", + L"&$.execScript&&$.execScript(\"var \"+Vc[0]);for(var Wc;Vc.length&&(Wc=", + L"Vc.shift());)!Vc.length&&Uc!==i?$[Wc]=Uc:$=$[Wc]?$[Wc]:$[Wc]={};; retu", + L"rn this._.apply(null,arguments);}.apply({navigator:typeof window!='und", + L"efined'?window.navigator:null}, arguments);}", + NULL +}; + +const wchar_t* const CLEAR[] = { + L"function(){return function(){function g(a){throw a;}var h=void 0,i=nul", + L"l;function m(a){return function(){return this[a]}}function o(a){return", + L" function(){return a}}var p,q=this;\nfunction s(a){var b=typeof a;if(b", + L"==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a ins", + L"tanceof Object)return b;var c=Object.prototype.toString.call(a);if(c==", + L"\"[object Window]\")return\"object\";if(c==\"[object Array]\"||typeof ", + L"a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propert", + L"yIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))retu", + L"rn\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&", + L"&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable", + L"(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"funct", + L"ion\"&&typeof a.call==\"undefined\")return\"object\";return b}function", + L" aa(a){var b=s(a);return b==\"array\"||b==\"object\"&&typeof a.length=", + L"=\"number\"}function u(a){return typeof a==\"string\"}function ba(a){r", + L"eturn s(a)==\"function\"}function v(a){a=s(a);return a==\"object\"||a=", + L"=\"array\"||a==\"function\"}var ca=\"closure_uid_\"+Math.floor(Math.ra", + L"ndom()*2147483648).toString(36),da=0,ea=Date.now||function(){return+ne", + L"w Date};\nfunction w(a,b){function c(){}c.prototype=b.prototype;a.S=b.", + L"prototype;a.prototype=new c};function fa(a){for(var b=1;b\")!=-1&&(a=a.replace(ka,\">\"));a.in", + L"dexOf('\"')!=-1&&(a=a.replace(la,\""\"));return a}var ia=/&/g,ja=", + L"//g,la=/\\\"/g,ha=/[&<>\\\"]/;\nfunction ma(a,b){if(ab)return 1;return 0}var na=Math.random()*2147483648|0,oa", + L"={};function pa(a){return oa[a]||(oa[a]=String(a).replace(/\\-([a-z])/", + L"g,function(a,c){return c.toUpperCase()}))};var qa,ra,sa,ta=q.navigator", + L";sa=ta&&ta.platform||\"\";qa=sa.indexOf(\"Mac\")!=-1;ra=sa.indexOf(\"W", + L"in\")!=-1;var y=sa.indexOf(\"Linux\")!=-1,ua;var va=\"\",wa=/MSIE\\s+(", + L"[^\\);]+)(\\)|;)/.exec(q.navigator?q.navigator.userAgent:i),va=wa?wa[1", + L"]:\"\",xa,ya=q.document;xa=ya?ya.documentMode:h;ua=xa>parseFloat(va)?S", + L"tring(xa):va;var za={};\nfunction z(a){var b;if(!(b=za[a])){b=0;for(va", + L"r c=ga(String(ua)).split(\".\"),d=ga(String(a)).split(\".\"),e=Math.ma", + L"x(c.length,d.length),f=0;b==0&&f=0}return b}var Aa={}", + L";\nfunction Ba(){return Aa[9]||(Aa[9]=document.documentMode&&document.", + L"documentMode>=9)};var Ca=window;function A(a){this.stack=Error().stack", + L"||\"\";if(a)this.message=String(a)}w(A,Error);A.prototype.name=\"Custo", + L"mError\";function Da(a,b){for(var c in a)b.call(h,a[c],c,a)}var Ea=[\"", + L"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumera", + L"ble\",\"toLocaleString\",\"toString\",\"valueOf\"];function Fa(a){for(", + L"var b,c,d=1;d=0||(d.push(c[f]),e++);d=e==c.length;a.className=b.join(\" \");retu", + L"rn d};function $a(a,b){this.width=a;this.height=b}$a.prototype.toStrin", + L"g=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};$a.prot", + L"otype.floor=function(){this.width=Math.floor(this.width);this.height=M", + L"ath.floor(this.height);return this};var E=3;function ab(a){return a?ne", + L"w bb(F(a)):Xa||(Xa=new bb)}function cb(a,b){Da(b,function(b,d){d==\"st", + L"yle\"?a.style.cssText=b:d==\"class\"?a.className=b:d==\"for\"?a.htmlFo", + L"r=b:d in db?a.setAttribute(db[d],b):a[d]=b})}var db={cellpadding:\"cel", + L"lPadding\",cellspacing:\"cellSpacing\",colspan:\"colSpan\",rowspan:\"r", + L"owSpan\",valign:\"vAlign\",height:\"height\",width:\"width\",usemap:\"", + L"useMap\",frameborder:\"frameBorder\",maxlength:\"maxLength\",type:\"ty", + L"pe\"};function G(a){return a?a.parentWindow||a.defaultView:window}\nfu", + L"nction eb(a,b,c){function d(c){c&&b.appendChild(u(c)?a.createTextNode(", + L"c):c)}for(var e=2;e0)?Oa(fb(f)?Va(f):f,d):d(f)}}function gb(a){return a&&a.parentNode?a.", + L"parentNode.removeChild(a):i}function H(a,b){if(a.contains&&b.nodeType=", + L"=1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!=\"u", + L"ndefined\")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;", + L"b&&a!=b;)b=b.parentNode;return b==a}\nfunction hb(a,b){if(a==b)return ", + L"0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1", + L":-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNo", + L"de){var c=a.nodeType==1,d=b.nodeType==1;if(c&&d)return a.sourceIndex-b", + L".sourceIndex;else{var e=a.parentNode,f=b.parentNode;if(e==f)return ib(", + L"a,b);if(!c&&H(e,b))return-1*jb(a,b);if(!d&&H(f,a))return jb(b,a);retur", + L"n(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}}d=F(", + L"a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=\nd.createRange(", + L");d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(q.Rang", + L"e.START_TO_END,d)}function jb(a,b){var c=a.parentNode;if(c==b)return-1", + L";for(var d=b;d.parentNode!=c;)d=d.parentNode;return ib(d,a)}function i", + L"b(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}\nfu", + L"nction kb(){var a,b=arguments.length;if(b){if(b==1)return arguments[0]", + L"}else return i;var c=[],d=Infinity;for(a=0;a\");c=c.join(\"\")}c=a.createElement(c);if(d)u(d)?c.className=d:", + L"s(d)==\"array\"?Za.apply(i,[c].concat(d)):cb(c,d);b.length>2&&eb(a,c,b", + L");return c};p.createElement=function(a){return this.z.createElement(a)", + L"};p.createTextNode=function(a){return this.z.createTextNode(a)};\np.ca", + L"=function(){return this.z.parentWindow||this.z.defaultView};p.appendCh", + L"ild=function(a,b){a.appendChild(b)};p.removeNode=gb;p.contains=H;var o", + L"b={$:function(a,b,c){var d=F(a);if(!d.implementation.hasFeature(\"XPat", + L"h\",\"3.0\"))return i;var e=d.createNSResolver(d.documentElement);retu", + L"rn d.evaluate(b,a,e,c,i)},na:function(a,b){var c=function(b,c){var f=F", + L"(b);if(b.selectSingleNode)return f.setProperty&&f.setProperty(\"Select", + L"ionLanguage\",\"XPath\"),b.selectSingleNode(c);try{var j=ob.$(b,c,9);r", + L"eturn j?j.singleNodeValue:i}catch(k){g(Error(32,\"Unable to locate an ", + L"element with the xpath expression \"+a))}}(b,a);if(!c)return i;c.nodeT", + L"ype!=1&&g(Error(\"Returned node is not an element: \"+\na));return c},", + L"za:function(a,b){var c=function(b,c){var f=F(b);if(b.selectNodes)retur", + L"n f.setProperty&&f.setProperty(\"SelectionLanguage\",\"XPath\"),b.sele", + L"ctNodes(c);var f=[],j;try{j=ob.$(b,c,7)}catch(k){g(Error(32,\"Unable t", + L"o locate elements with the xpath expression \"+c))}if(j)for(var l=j.sn", + L"apshotLength,r=0;r=a.length&&g(I),b in a)r", + L"eturn a[b++];else b++};return c}g(Error(\"Not implemented\"))};functio", + L"n K(a,b,c,d,e){this.n=!!b;a&&L(this,a,d);this.t=e!=h?e:this.p||0;this.", + L"n&&(this.t*=-1);this.ga=!c}w(K,J);p=K.prototype;p.o=i;p.p=0;p.Y=!1;fun", + L"ction L(a,b,c,d){if(a.o=b)a.p=typeof c==\"number\"?c:a.o.nodeType!=1?0", + L":a.n?-1:1;if(typeof d==\"number\")a.t=d}\np.next=function(){var a;if(t", + L"his.Y){(!this.o||this.ga&&this.t==0)&&g(I);a=this.o;var b=this.n?-1:1;", + L"if(this.p==b){var c=this.n?a.lastChild:a.firstChild;c?L(this,c):L(this", + L",a,b*-1)}else(c=this.n?a.previousSibling:a.nextSibling)?L(this,c):L(th", + L"is,a.parentNode,b*-1);this.t+=this.p*(this.n?-1:1)}else this.Y=!0;(a=t", + L"his.o)||g(I);return a};\np.splice=function(){var a=this.o,b=this.n?1:-", + L"1;if(this.p==b)this.p=b*-1,this.t+=this.p*(this.n?-1:1);this.n=!this.n", + L";K.prototype.next.call(this);this.n=!this.n;for(var b=aa(arguments[0])", + L"?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.parentNo", + L"de.insertBefore(b[c],a.nextSibling);gb(a)};function qb(a,b,c,d){K.call", + L"(this,a,b,c,i,d)}w(qb,K);qb.prototype.next=function(){do qb.S.next.cal", + L"l(this);while(this.p==-1);return this.o};function rb(a,b){var c=F(a);i", + L"f(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getC", + L"omputedStyle(a,i)))return c[b]||c.getPropertyValue(b);return\"\"};func", + L"tion M(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)", + L"}var sb={\"class\":\"className\",readonly:\"readOnly\"},tb=[\"checked", + L"\",\"disabled\",\"draggable\",\"hidden\"];function ub(a,b){var c=sb[b]", + L"||b,d=a[c];if(d===h&&D(tb,c)>=0)return!1;return d}\nvar vb=[\"async\",", + L"\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"cont", + L"rols\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"", + L"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"ind", + L"eterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"", + L"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate", + L"\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required", + L"\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spe", + L"llcheck\",\"truespeed\",\"willvalidate\"];\nfunction wb(a){var b;if(8=", + L"=a.nodeType)return i;b=\"usemap\";if(b==\"style\")return a=ga(a.style.", + L"cssText).toLowerCase(),a.charAt(a.length-1)==\";\"?a:a+\";\";var c=a.g", + L"etAttributeNode(b);!c&&z(8)&&D(vb,b)>=0&&(c=a[b]);if(!c)return i;if(D(", + L"vb,b)>=0)return c.value==\"false\"?i:\"true\";return c.specified?c.val", + L"ue:i}var xb=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",", + L"\"TEXTAREA\"];\nfunction yb(a){var b=a.tagName.toUpperCase();if(!(D(xb", + L",b)>=0))return!0;if(ub(a,\"disabled\"))return!1;if(a.parentNode&&a.par", + L"entNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return yb(a.parent", + L"Node);return!0}function zb(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.n", + L"odeType!=9&&a.nodeType!=11;)a=a.parentNode;return M(a)?a:i}function Ab", + L"(a,b){b=pa(b);return rb(a,b)||Bb(a,b)}function Bb(a,b){var c=(a.curren", + L"tStyle||a.style)[b];if(c!=\"inherit\")return c!==h?c:i;return(c=zb(a))", + L"?Bb(c,b):i}\nfunction Cb(a){if(ba(a.getBBox))return a.getBBox();var b;", + L"if((rb(a,\"display\")||(a.currentStyle?a.currentStyle.display:i)||a.st", + L"yle.display)!=\"none\")b=new $a(a.offsetWidth,a.offsetHeight);else{b=a", + L".style;var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidd", + L"en\";b.position=\"absolute\";b.display=\"inline\";var f=a.offsetWidth,", + L"a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;b=new $a(f,a)", + L"}return b}\nfunction Db(a,b){function c(a){if(Ab(a,\"display\")==\"non", + L"e\")return!1;a=zb(a);return!a||c(a)}function d(a){var b=Cb(a);if(b.hei", + L"ght>0&&b.width>0)return!0;return Qa(a.childNodes,function(a){return a.", + L"nodeType==E||M(a)&&d(a)})}M(a)||g(Error(\"Argument to isShown must be ", + L"of type Element\"));if(M(a,\"TITLE\"))return G(F(a))==Ca;if(M(a,\"OPTI", + L"ON\")||M(a,\"OPTGROUP\")){var e=nb(a,function(a){return M(a,\"SELECT\"", + L")});return!!e&&Db(e,b)}if(M(a,\"MAP\")){if(!a.name)return!1;e=F(a);e=e", + L".evaluate?ob.na('/descendant::*[@usemap = \"#'+\na.name+'\"]',e):lb(e,", + L"function(b){return M(b)&&wb(b)==\"#\"+a.name});return!!e&&Db(e,b)}if(M", + L"(a,\"AREA\"))return e=nb(a,function(a){return M(a,\"MAP\")}),!!e&&Db(e", + L",b);if(M(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(Ab", + L"(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&Eb(a)", + L"==0)return!1;if(!d(a))return!1;return!0}\nfunction Eb(a){if(Ab(a,\"pos", + L"ition\")==\"relative\")return 1;a=Ab(a,\"filter\");return(a=a.match(/^", + L"alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microso", + L"ft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1};var Fb=[\"dragstar", + L"t\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction N(a,b,c){var d", + L"=F(a),e=c||{},c=e.clientX||0,f=e.clientY||0,j=e.button||0,k=!!e.alt,l=", + L"!!e.control,r=!!e.shift,n=!!e.meta,t=i;D(Fb,b)>=0&&(t=e.related||i,!t&", + L"&b==\"mouseover\"&&(t=zb(a)),!t&&b==\"mouseout\"&&(t=a));d=d.createEve", + L"ntObject();d.altKey=k;d.ra=l;d.metaKey=n;d.shiftKey=r;d.clientX=c;d.cl", + L"ientY=f;d.button=j;b==\"mouseout\"?(d.fromElement=a,d.toElement=t):b==", + L"\"mouseover\"?(d.fromElement=t,d.toElement=a):(d.fromElement=i,d.toEle", + L"ment=i);return d}\nfunction Gb(a,b,c){var d=c||{},b=d.keyCode||0,c=!!d", + L".alt,e=!!d.ctrl,f=!!d.shift,d=!!d.meta,a=F(a).createEventObject();a.ke", + L"yCode=b;a.altKey=c;a.ctrlKey=e;a.metaKey=d;a.shiftKey=f;return a}\nfun", + L"ction Hb(a,b,c){var d=F(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,j=!!e.con", + L"trol,k=!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a=d.c", + L"reateEventObject(),a.altKey=f,a.sa=j,a.metaKey=e,a.shiftKey=k):(a=d.cr", + L"eateEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=k,a.metaKey=e", + L",a.altKey=f,a.ctrlKey=j);return a}var O={};O.click=N;O.keydown=Gb;O.ke", + L"ypress=Gb;O.keyup=Gb;O.mousedown=N;O.mousemove=N;O.mouseout=N;O.mouseo", + L"ver=N;O.mouseup=N;var Ib={};function P(a,b,c){v(a)&&(a=a.e);a=new Jb(a", + L",b,c);if(b&&(!(b in Ib)||c))Ib[b]={key:a,shift:!1},c&&(Ib[c]={key:a,sh", + L"ift:!0})}function Jb(a,b,c){this.code=a;this.fa=b||i;this.Ca=c||this.f", + L"a}P(8);P(9);P(13);P(16);P(17);P(18);P(19);P(20);P(27);P(32,\" \");P(33", + L");P(34);P(35);P(36);P(37);P(38);P(39);P(40);P(44);P(45);P(46);P(48,\"0", + L"\",\")\");P(49,\"1\",\"!\");P(50,\"2\",\"@\");P(51,\"3\",\"#\");P(52,", + L"\"4\",\"$\");P(53,\"5\",\"%\");P(54,\"6\",\"^\");P(55,\"7\",\"&\");P(5", + L"6,\"8\",\"*\");P(57,\"9\",\"(\");P(65,\"a\",\"A\");P(66,\"b\",\"B\");P", + L"(67,\"c\",\"C\");\nP(68,\"d\",\"D\");P(69,\"e\",\"E\");P(70,\"f\",\"F", + L"\");P(71,\"g\",\"G\");P(72,\"h\",\"H\");P(73,\"i\",\"I\");P(74,\"j\",", + L"\"J\");P(75,\"k\",\"K\");P(76,\"l\",\"L\");P(77,\"m\",\"M\");P(78,\"n", + L"\",\"N\");P(79,\"o\",\"O\");P(80,\"p\",\"P\");P(81,\"q\",\"Q\");P(82,", + L"\"r\",\"R\");P(83,\"s\",\"S\");P(84,\"t\",\"T\");P(85,\"u\",\"U\");P(8", + L"6,\"v\",\"V\");P(87,\"w\",\"W\");P(88,\"x\",\"X\");P(89,\"y\",\"Y\");P", + L"(90,\"z\",\"Z\");P(ra?{g:91,e:91,opera:219}:qa?{g:224,e:91,opera:17}:{", + L"g:0,e:91,opera:i});P(ra?{g:92,e:92,opera:220}:qa?{g:224,e:93,opera:17}", + L":{g:0,e:92,opera:i});\nP(ra?{g:93,e:93,opera:0}:qa?{g:0,e:0,opera:16}:", + L"{g:93,e:i,opera:0});P({g:96,e:96,opera:48},\"0\");P({g:97,e:97,opera:4", + L"9},\"1\");P({g:98,e:98,opera:50},\"2\");P({g:99,e:99,opera:51},\"3\");", + L"P({g:100,e:100,opera:52},\"4\");P({g:101,e:101,opera:53},\"5\");P({g:1", + L"02,e:102,opera:54},\"6\");P({g:103,e:103,opera:55},\"7\");P({g:104,e:1", + L"04,opera:56},\"8\");P({g:105,e:105,opera:57},\"9\");P({g:106,e:106,ope", + L"ra:y?56:42},\"*\");P({g:107,e:107,opera:y?61:43},\"+\");P({g:109,e:109", + L",opera:y?109:45},\"-\");P({g:110,e:110,opera:y?190:78},\".\");\nP({g:1", + L"11,e:111,opera:y?191:47},\"/\");P(144);P(112);P(113);P(114);P(115);P(1", + L"16);P(117);P(118);P(119);P(120);P(121);P(122);P(123);P({g:107,e:187,op", + L"era:61},\"=\",\"+\");P({g:109,e:189,opera:109},\"-\",\"_\");P(188,\",", + L"\",\"<\");P(190,\".\",\">\");P(191,\"/\",\"?\");P(192,\"`\",\"~\");P(2", + L"19,\"[\",\"{\");P(220,\"\\\\\",\"|\");P(221,\"]\",\"}\");P({g:59,e:186", + L",opera:59},\";\",\":\");P(222,\"'\",'\"');function Kb(){Lb&&(this[ca]|", + L"|(this[ca]=++da))}var Lb=!1;function Mb(a){return Nb(a||arguments.call", + L"ee.caller,[])}\nfunction Nb(a,b){var c=[];if(D(b,a)>=0)c.push(\"[...ci", + L"rcular reference...]\");else if(a&&b.length<50){c.push(Ob(a)+\"(\");fo", + L"r(var d=a.arguments,e=0;e0&&c.push(\", \");var f;f=d[", + L"e];switch(typeof f){case \"object\":f=f?\"object\":\"null\";break;case", + L" \"string\":break;case \"number\":f=String(f);break;case \"boolean\":f", + L"=f?\"true\":\"false\";break;case \"function\":f=(f=Ob(f))?f:\"[fn]\";b", + L"reak;default:f=typeof f}f.length>40&&(f=f.substr(0,40)+\"...\");c.push", + L"(f)}b.push(a);c.push(\")\\n\");try{c.push(Nb(a.caller,b))}catch(j){c.p", + L"ush(\"[exception trying to get caller]\\n\")}}else a?\nc.push(\"[...lo", + L"ng stack...]\"):c.push(\"[end]\");return c.join(\"\")}function Ob(a){a", + L"=String(a);if(!Pb[a]){var b=/function ([^\\(]+)/.exec(a);Pb[a]=b?b[1]:", + L"\"[Anonymous]\"}return Pb[a]}var Pb={};function Q(a,b,c,d,e){this.rese", + L"t(a,b,c,d,e)}Q.prototype.ma=0;Q.prototype.ba=i;Q.prototype.aa=i;var Qb", + L"=0;Q.prototype.reset=function(a,b,c,d,e){this.ma=typeof e==\"number\"?", + L"e:Qb++;this.Da=d||ea();this.J=a;this.ka=b;this.ya=c;delete this.ba;del", + L"ete this.aa};Q.prototype.ea=function(a){this.J=a};function R(a){this.l", + L"a=a}R.prototype.Q=i;R.prototype.J=i;R.prototype.T=i;R.prototype.da=i;f", + L"unction Rb(a,b){this.name=a;this.value=b}Rb.prototype.toString=m(\"nam", + L"e\");var Sb=new Rb(\"SEVERE\",1E3),Tb=new Rb(\"WARNING\",900),Ub=new R", + L"b(\"CONFIG\",700);R.prototype.getParent=m(\"Q\");R.prototype.ea=functi", + L"on(a){this.J=a};function Vb(a){if(a.J)return a.J;if(a.Q)return Vb(a.Q)", + L";Ma(\"Root logger has no level set.\");return i}\nR.prototype.log=func", + L"tion(a,b,c){if(a.value>=Vb(this).value){a=this.ia(a,b,c);q.console&&q.", + L"console.markTimeline&&q.console.markTimeline(\"log:\"+a.ka);for(b=this", + L";b;){var c=b,d=a;if(c.da)for(var e=0,f=h;f=c.da[e];e++)f(d);b=b.getPar", + L"ent()}}};\nR.prototype.ia=function(a,b,c){var d=new Q(a,String(b),this", + L".la);if(c){d.ba=c;var e;var f=arguments.callee.caller;try{var j;var k;", + L"c:{for(var l=\"window.location.href\".split(\".\"),r=q,n;n=l.shift();)", + L"if(r[n]!=i)r=r[n];else{k=i;break c}k=r}if(u(c))j={message:c,name:\"Unk", + L"nown error\",lineNumber:\"Not available\",fileName:k,stack:\"Not avail", + L"able\"};else{var t,Ua,l=!1;try{t=c.lineNumber||c.xa||\"Not available\"", + L"}catch(Gc){t=\"Not available\",l=!0}try{Ua=c.fileName||c.filename||c.s", + L"ourceURL||k}catch(Hc){Ua=\"Not available\",\nl=!0}j=l||!c.lineNumber||", + L"!c.fileName||!c.stack?{message:c.message,name:c.name,lineNumber:t,file", + L"Name:Ua,stack:c.stack||\"Not available\"}:c}e=\"Message: \"+x(j.messag", + L"e)+'\\nUrl: '+j", + L".fileName+\"\\nLine: \"+j.lineNumber+\"\\n\\nBrowser stack:\\n\"+x", + L"(j.stack+\"-> \")+\"[end]\\n\\nJS stack traversal:\\n\"+x(Mb(f)+\"-> ", + L"\")}catch(Ec){e=\"Exception trying to expose exception! You win, we lo", + L"se. \"+Ec}d.aa=e}return d};var Wb={},Xb=i;\nfunction Yb(a){Xb||(Xb=new", + L" R(\"\"),Wb[\"\"]=Xb,Xb.ea(Ub));var b;if(!(b=Wb[a])){b=new R(a);var c=", + L"a.lastIndexOf(\".\"),d=a.substr(c+1),c=Yb(a.substr(0,c));if(!c.T)c.T={", + L"};c.T[d]=b;b.Q=c;Wb[a]=b}return b};function S(){Kb.call(this)}w(S,Kb);", + L"Yb(\"goog.dom.SavedRange\");w(function(a){Kb.call(this);this.oa=\"goog", + L"_\"+na++;this.ha=\"goog_\"+na++;this.Z=ab(a.V());a.M(this.Z.U(\"SPAN\"", + L",{id:this.oa}),this.Z.U(\"SPAN\",{id:this.ha}))},S);function T(){}func", + L"tion Zb(a){if(a.getSelection)return a.getSelection();else{var a=a.docu", + L"ment,b=a.selection;if(b){try{var c=b.createRange();if(c.parentElement)", + L"{if(c.parentElement().document!=a)return i}else if(!c.length||c.item(0", + L").document!=a)return i}catch(d){return i}return b}return i}}function $", + L"b(a){for(var b=[],c=0,d=a.B();c=0&&this.l(d,", + L"1,0)<=0:this.l(d,0,0)>=0&&this.l(d,1,1)<=0}catch(e){return!1}};cc.prot", + L"otype.containsNode=function(a,b){return this.s(U(a),b)};cc.prototype.A", + L"=function(){return new bc(this.b(),this.j(),this.i(),this.k())};functi", + L"on X(a){this.a=a}w(X,cc);p=X.prototype;p.u=function(){return this.a.co", + L"mmonAncestorContainer};p.b=function(){return this.a.startContainer};p.", + L"j=function(){return this.a.startOffset};p.i=function(){return this.a.e", + L"ndContainer};p.k=function(){return this.a.endOffset};p.l=function(a,b,", + L"c){return this.a.compareBoundaryPoints(c==1?b==1?q.Range.START_TO_STAR", + L"T:q.Range.START_TO_END:b==1?q.Range.END_TO_START:q.Range.END_TO_END,a)", + L"};p.isCollapsed=function(){return this.a.collapsed};\np.select=functio", + L"n(a){this.R(G(F(this.b())).getSelection(),a)};p.R=function(a){a.remove", + L"AllRanges();a.addRange(this.a)};p.insertNode=function(a,b){var c=this.", + L"a.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};\np.", + L"M=function(a,b){var c=G(F(this.b()));if(c=(c=Zb(c||window))&&dc(c))var", + L" d=c.b(),e=c.i(),f=c.j(),j=c.k();var k=this.a.cloneRange(),l=this.a.cl", + L"oneRange();k.collapse(!1);l.collapse(!0);k.insertNode(b);l.insertNode(", + L"a);k.detach();l.detach();if(c){if(d.nodeType==E)for(;f>d.length;){f-=d", + L".length;do d=d.nextSibling;while(d==a||d==b)}if(e.nodeType==E)for(;j>e", + L".length;){j-=e.length;do e=e.nextSibling;while(e==a||e==b)}c=new ec;c.", + L"D=fc(d,f,e,j);if(d.tagName==\"BR\")k=d.parentNode,f=D(k.childNodes,d),", + L"d=k;if(e.tagName==\n\"BR\")k=e.parentNode,j=D(k.childNodes,e),e=k;c.D?", + L"(c.d=e,c.h=j,c.c=d,c.f=f):(c.d=d,c.h=f,c.c=e,c.f=j);c.select()}};p.col", + L"lapse=function(a){this.a.collapse(a)};function gc(a){this.a=a}w(gc,X);", + L"gc.prototype.R=function(a,b){var c=b?this.i():this.b(),d=b?this.k():th", + L"is.j(),e=b?this.b():this.i(),f=b?this.j():this.k();a.collapse(c,d);(c!", + L"=e||d!=f)&&a.extend(e,f)};function hc(a,b){this.a=a;this.ta=b}w(hc,cc)", + L";var ic=Yb(\"goog.dom.browserrange.IeRange\");function jc(a){var b=F(a", + L").body.createTextRange();if(a.nodeType==1)b.moveToElementText(a),Y(a)&", + L"&!a.childNodes.length&&b.collapse(!1);else{for(var c=0,d=a;d=d.previou", + L"sSibling;){var e=d.nodeType;if(e==E)c+=d.length;else if(e==1){b.moveTo", + L"ElementText(d);break}}d||b.moveToElementText(a.parentNode);b.collapse(", + L"!d);c&&b.move(\"character\",c);b.moveEnd(\"character\",a.length)}retur", + L"n b}p=hc.prototype;p.w=i;p.d=i;p.c=i;p.h=-1;\np.f=-1;p.q=function(){th", + L"is.w=this.d=this.c=i;this.h=this.f=-1};\np.u=function(){if(!this.w){va", + L"r a=this.a.text,b=this.a.duplicate(),c=a.replace(/ +$/,\"\");(c=a.leng", + L"th-c.length)&&b.moveEnd(\"character\",-c);c=b.parentElement();b=b.html", + L"Text.replace(/(\\r\\n|\\r|\\n)+/g,\" \").length;if(this.isCollapsed()&", + L"&b>0)return this.w=c;for(;b>c.outerHTML.replace(/(\\r\\n|\\r|\\n)+/g,", + L"\" \").length;)c=c.parentNode;for(;c.childNodes.length==1&&c.innerText", + L"==(c.firstChild.nodeType==E?c.firstChild.nodeValue:c.firstChild.innerT", + L"ext);){if(!Y(c.firstChild))break;c=c.firstChild}a.length==0&&(c=kc(thi", + L"s,\nc));this.w=c}return this.w};function kc(a,b){for(var c=b.childNode", + L"s,d=0,e=c.length;d=0&&a.l(j,1,0)<=0:a.a.i", + L"nRange(j))return kc(a,f)}}return b}p.b=function(){if(!this.d&&(this.d=", + L"lc(this,1),this.isCollapsed()))this.c=this.d;return this.d};p.j=functi", + L"on(){if(this.h<0&&(this.h=mc(this,1),this.isCollapsed()))this.f=this.h", + L";return this.h};\np.i=function(){if(this.isCollapsed())return this.b()", + L";if(!this.c)this.c=lc(this,0);return this.c};p.k=function(){if(this.is", + L"Collapsed())return this.j();if(this.f<0&&(this.f=mc(this,0),this.isCol", + L"lapsed()))this.h=this.f;return this.f};p.l=function(a,b,c){return this", + L".a.compareEndPoints((b==1?\"Start\":\"End\")+\"To\"+(c==1?\"Start\":\"", + L"End\"),a)};\nfunction lc(a,b,c){c=c||a.u();if(!c||!c.firstChild)return", + L" c;for(var d=b==1,e=0,f=c.childNodes.length;e0)return lc(a,b,k)}return c}", + L"\nfunction mc(a,b){var c=b==1,d=c?a.b():a.i();if(d.nodeType==1){for(va", + L"r d=d.childNodes,e=d.length,f=c?1:-1,j=c?0:e-1;j>=0&&j", + L"j.childNodes.length&&ic.log(Sb,\"Cannot have startOffset > startNode c", + L"hild count\",h),k=j.childNodes[k],r=!k,j=k||j.lastChild||j,k=0);var n=", + L"jc(j);k&&n.move(\"character\",k);j==l&&k==f?n.collapse(!0):(r&&n.colla", + L"pse(!1),r=!1,l.nodeType==1&&(f>l.childNodes.length&&ic.log(Sb,\"Cannot", + L" have endOffset > endNode child count\",\nh),t=(k=l.childNodes[f])||l.", + L"lastChild||l,l=t,f=0,r=!k),j=jc(l),j.collapse(!r),f&&j.moveEnd(\"chara", + L"cter\",f),n.setEndPoint(\"EndToEnd\",j));f=new hc(n,F(b));f.d=b;f.h=c;", + L"f.c=d;f.f=e;b=f}b=a.H=b}return b}p.u=function(){return Z(this).u()};p.", + L"b=function(){return this.d||(this.d=Z(this).b())};p.j=function(){retur", + L"n this.h!=i?this.h:this.h=Z(this).j()};p.i=function(){return this.c||(", + L"this.c=Z(this).i())};p.k=function(){return this.f!=i?this.f:this.f=Z(t", + L"his).k()};p.C=m(\"D\");\np.s=function(a,b){var c=a.W();if(c==\"text\")", + L"return Z(this).s(Z(a),b);else if(c==\"control\")return c=rc(a),(b?Qa:R", + L"a)(c,function(a){return this.containsNode(a,b)},this);return!1};p.isCo", + L"llapsed=function(){return Z(this).isCollapsed()};p.A=function(){return", + L" new bc(this.b(),this.j(),this.i(),this.k())};p.select=function(){Z(th", + L"is).select(this.D)};p.insertNode=function(a,b){var c=Z(this).insertNod", + L"e(a,b);this.q();return c};p.M=function(a,b){Z(this).M(a,b);this.q()};p", + L".X=function(){return new sc(this)};\np.collapse=function(a){a=this.C()", + L"?!a:a;this.H&&this.H.collapse(a);a?(this.c=this.d,this.f=this.h):(this", + L".d=this.c,this.h=this.f);this.D=!1};function sc(a){this.pa=a.C()?a.i()", + L":a.b();this.qa=a.C()?a.k():a.j();this.ua=a.C()?a.b():a.i();this.va=a.C", + L"()?a.j():a.k()}w(sc,S);function tc(){}w(tc,W);p=tc.prototype;p.a=i;p.m", + L"=i;p.L=i;p.q=function(){this.L=this.m=i};p.W=o(\"control\");p.P=functi", + L"on(){return this.a||document.body.createControlRange()};p.B=function()", + L"{return this.a?this.a.length:0};p.v=function(a){a=this.a.item(a);retur", + L"n ac(U(a),h)};p.u=function(){return kb.apply(i,rc(this))};p.b=function", + L"(){return uc(this)[0]};p.j=o(0);p.i=function(){var a=uc(this),b=C(a);r", + L"eturn Sa(a,function(a){return H(a,b)})};p.k=function(){return this.i()", + L".childNodes.length};\nfunction rc(a){if(!a.m&&(a.m=[],a.a))for(var b=0", + L";b1&&this.ja.log(Tb,\"getBrowse", + L"rRangeObject called on MultiRange with more than 1 range\",h);return t", + L"his.r[0]};p.B=function(){return this.r.length};p.v=function(a){this.K[", + L"a]||(this.K[a]=ac(qc(this.r[a]),h));return this.K[a]};\np.u=function()", + L"{if(!this.N){for(var a=[],b=0,c=this.B();b1){b=new xc;for(var c=0,e=", + L"a.rangeCount;c0};function Bc(a){var b=Db(a,!0),a=b&&yb(a);b?a||g(new B(12,\"Ele", + L"ment is not currently enabled and may not be manipulated\")):g(new B(1", + L"1,\"Element is not currently visible and may not be manipulated\"))};f", + L"unction Cc(a){Bc(a);var b;M(a,\"TEXTAREA\")?b=!0:M(a,\"INPUT\")?(b=a.t", + L"ype.toLowerCase(),b=b==\"text\"||b==\"password\"||b==\"email\"||b==\"s", + L"earch\"):b=!1;(!b||ub(a,\"readOnly\"))&&g(new B(12,\"Element cannot co", + L"ntain user-editable text\"));Bc(a);b=F(a).activeElement;a!=b&&(b&&((ba", + L"(b.blur)||v(b.blur))&&b.blur(),!z(8)&&G(F(a)).focus()),(ba(a.focus)||v", + L"(a.focus))&&a.focus());if(a.value){a.value=\"\";b=(O.change||Hb)(a,\"c", + L"hange\",h);if(!(\"isTrusted\"in b))b.wa=!1;a.fireEvent(\"onchange\",b)", + L"}}var Dc=\"_\".split(\".\"),$=q;\n!(Dc[0]in $)&&$.execScript&&$.execSc", + L"ript(\"var \"+Dc[0]);for(var Fc;Dc.length&&(Fc=Dc.shift());)!Dc.length", + L"&&Cc!==h?$[Fc]=Cc:$=$[Fc]?$[Fc]:$[Fc]={};; return this._.apply(null,ar", + L"guments);}.apply({navigator:typeof window!='undefined'?window.navigato", + L"r:null}, arguments);}", + NULL +}; + +const wchar_t* const FIND_ELEMENT[] = { + L"function(){return function(){function f(a){throw a;}var i=void 0,j=nul", + L"l,k=this;\nfunction l(a){var b=typeof a;if(b==\"object\")if(a){if(a in", + L"stanceof Array)return\"array\";else if(a instanceof Object)return b;va", + L"r c=Object.prototype.toString.call(a);if(c==\"[object Window]\")return", + L"\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&type", + L"of a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined", + L"\"&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[objec", + L"t Function]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumer", + L"able!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"functio", + L"n\"}else return\"null\";\nelse if(b==\"function\"&&typeof a.call==\"un", + L"defined\")return\"object\";return b}function n(a){return typeof a==\"s", + L"tring\"}function o(a){return l(a)==\"function\"}function p(a){a=l(a);r", + L"eturn a==\"object\"||a==\"array\"||a==\"function\"}function r(a,b){fun", + L"ction c(){}c.prototype=b.prototype;a.p=b.prototype;a.prototype=new c};", + L"function s(a){var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}func", + L"tion aa(a){for(var b=1;bb)return 1;return 0}var ba={};function ca(a", + L"){return ba[a]||(ba[a]=String(a).replace(/\\-([a-z])/g,function(a,c){r", + L"eturn c.toUpperCase()}))};var da;var v=\"\",ea=/MSIE\\s+([^\\);]+)(\\)", + L"|;)/.exec(k.navigator?k.navigator.userAgent:j),v=ea?ea[1]:\"\",x,fa=k.", + L"document;x=fa?fa.documentMode:i;da=x>parseFloat(v)?String(x):v;var ga=", + L"{};\nfunction y(a){var b;if(!(b=ga[a])){b=0;for(var c=t(String(da)).sp", + L"lit(\".\"),d=t(String(a)).split(\".\"),e=Math.max(c.length,d.length),g", + L"=0;b==0&&g=0}return b};var z={},ha=window;function C(a", + L"){this.stack=Error().stack||\"\";if(a)this.message=String(a)}r(C,Error", + L");C.prototype.name=\"CustomError\";function ia(a,b){b.unshift(a);C.cal", + L"l(this,aa.apply(j,b));b.shift();this.q=a}r(ia,C);ia.prototype.name=\"A", + L"ssertionError\";function D(a,b){if(n(a)){if(!n(b)||b.length!=1)return-", + L"1;return a.indexOf(b,0)}for(var c=0;c=0&&(d[e+", + L"+]=h);d.length=e;c=d}else c=a;return c}\nI.prototype.contains=K;var M=", + L"{i:function(a){return a.querySelectorAll&&a.querySelector}};M.b=functi", + L"on(a,b){a||f(Error(\"No class name specified\"));a=t(a);a.split(/\\s+/", + L").length>1&&f(Error(\"Compound class names not permitted\"));if(M.i(b)", + L")return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||j;var c=L(", + L"H(b),\"*\",a,b);return c.length?c[0]:j};\nM.e=function(a,b){a||f(Error", + L"(\"No class name specified\"));a=t(a);a.split(/\\s+/).length>1&&f(Erro", + L"r(\"Compound class names not permitted\"));if(M.i(b))return b.querySel", + L"ectorAll(\".\"+a.replace(/\\./g,\"\\\\.\"));return L(H(b),\"*\",a,b)};", + L"var N={k:function(a,b,c){var d=J(a);if(!d.implementation.hasFeature(\"", + L"XPath\",\"3.0\"))return j;var e=d.createNSResolver(d.documentElement);", + L"return d.evaluate(b,a,e,c,j)},b:function(a,b){var c=function(b,c){var ", + L"g=J(b);if(b.selectSingleNode)return g.setProperty&&g.setProperty(\"Sel", + L"ectionLanguage\",\"XPath\"),b.selectSingleNode(c);try{var h=N.k(b,c,9)", + L";return h?h.singleNodeValue:j}catch(m){f(Error(z.g.h,\"Unable to locat", + L"e an element with the xpath expression \"+a))}}(b,a);if(!c)return j;c.", + L"nodeType!=1&&f(Error(\"Returned node is not an element: \"+\na));retur", + L"n c},e:function(a,b){var c=function(b,c){var g=J(b);if(b.selectNodes)r", + L"eturn g.setProperty&&g.setProperty(\"SelectionLanguage\",\"XPath\"),b.", + L"selectNodes(c);var g=[],h;try{h=N.k(b,c,7)}catch(m){f(Error(z.g.h,\"Un", + L"able to locate elements with the xpath expression \"+c))}if(h)for(var ", + L"w=h.snapshotLength,A=0;A=0;c--)a.pa", + L"rentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNod", + L"e&&a.parentNode.removeChild(a)};function R(a,b,c,d){P.call(this,a,b,c,", + L"j,d)}r(R,P);R.prototype.next=function(){do R.p.next.call(this);while(t", + L"his.d==-1);return this.c};function ra(a,b){var c=J(a);if(c.defaultView", + L"&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,", + L"j)))return c[b]||c.getPropertyValue(b);return\"\"};function S(a,b){ret", + L"urn!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar sa=[\"as", + L"ync\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",", + L"\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defe", + L"r\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\"", + L",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loo", + L"p\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"noval", + L"idate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"requ", + L"ired\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",", + L"\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction T(a,b){if(8=", + L"=a.nodeType)return j;b=b.toLowerCase();if(b==\"style\"){var c=t(a.styl", + L"e.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}", + L"c=a.getAttributeNode(b);!c&&y(8)&&D(sa,b)>=0&&(c=a[b]);if(!c)return j;", + L"if(D(sa,b)>=0)return c.value==\"false\"?j:\"true\";return c.specified?", + L"c.value:j}function ta(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeTy", + L"pe!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:j}function U(a,b){", + L"b=ca(b);return ra(a,b)||ua(a,b)}\nfunction ua(a,b){var c=(a.currentSty", + L"le||a.style)[b];if(c!=\"inherit\")return c!==i?c:j;return(c=ta(a))?ua(", + L"c,b):j}\nfunction va(a){if(o(a.getBBox))return a.getBBox();var b;if((r", + L"a(a,\"display\")||(a.currentStyle?a.currentStyle.display:j)||a.style.d", + L"isplay)!=\"none\")b=new G(a.offsetWidth,a.offsetHeight);else{b=a.style", + L";var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b", + L".position=\"absolute\";b.display=\"inline\";var g=a.offsetWidth,a=a.of", + L"fsetHeight;b.display=c;b.position=e;b.visibility=d;b=new G(g,a)}return", + L" b}\nfunction V(a,b){function c(a){if(U(a,\"display\")==\"none\")retur", + L"n!1;a=ta(a);return!a||c(a)}function d(a){var b=va(a);if(b.height>0&&b.", + L"width>0)return!0;return ka(a.childNodes,function(a){return a.nodeType=", + L"=ma||S(a)&&d(a)})}S(a)||f(Error(\"Argument to isShown must be of type ", + L"Element\"));if(S(a,\"TITLE\"))return(J(a)?J(a).parentWindow||J(a).defa", + L"ultView:window)==ha;if(S(a,\"OPTION\")||S(a,\"OPTGROUP\")){var e=pa(a,", + L"function(a){return S(a,\"SELECT\")});return!!e&&V(e,b)}if(S(a,\"MAP\")", + L"){if(!a.name)return!1;e=J(a);e=e.evaluate?\nN.b('/descendant::*[@usema", + L"p = \"#'+a.name+'\"]',e):na(e,function(b){return S(b)&&T(b,\"usemap\")", + L"==\"#\"+a.name});return!!e&&V(e,b)}if(S(a,\"AREA\"))return e=pa(a,func", + L"tion(a){return S(a,\"MAP\")}),!!e&&V(e,b);if(S(a,\"INPUT\")&&a.type.to", + L"LowerCase()==\"hidden\")return!1;if(U(a,\"visibility\")==\"hidden\")re", + L"turn!1;if(!c(a))return!1;if(!b&&wa(a)==0)return!1;if(!d(a))return!1;re", + L"turn!0}function xa(a){return a.replace(/^[^\\S\\xa0]+|[^\\S\\xa0]+$/g,", + L"\"\")}\nfunction ya(a){var b=[];za(a,b);for(var c=b,a=c.length,b=Array", + L"(a),c=n(c)?c.split(\"\"):c,d=0;d=0);e&&!/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")&&b.p", + L"ush(\"\");var g=V(a),h=j,m=j;g&&(h=U(a,\"white-space\"),m=U(a,\"text-t", + L"ransform\"));ja(a.childNodes,function(a){a.nodeType==ma&&g?Ba(a,b,h,m)", + L":S(a)&&za(a,b)});var w=b[b.length-1]||\"\";if((c||d==\"table-cell\")&&", + L"w&&!s(w))b[b.length-1]+=\" \";e&&!/^[\\s\\xa0]*$/.test(w)&&b.push(\"\"", + L")}}var Aa=[\"inline\",\"inline-block\",\"inline-table\",\"none\",\"tab", + L"le-cell\",\"table-column\",\"table-column-group\"];\nfunction Ba(a,b,c", + L",d){a=a.nodeValue.replace(/\\u200b/g,\"\");a=a.replace(/(\\r\\n|\\r|", + L"\\n)/g,\"\\n\");if(c==\"normal\"||c==\"nowrap\")a=a.replace(/\\n/g,\" ", + L"\");a=c==\"pre\"||c==\"pre-wrap\"?a.replace(/\\f\\t\\v\\u2028\\u2029/,", + L"\" \"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");d==\"capitali", + L"ze\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCas", + L"e()}):d==\"uppercase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=a.toLowe", + L"rCase());c=b.pop()||\"\";s(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(", + L"1));b.push(c+a)}\nfunction wa(a){if(U(a,\"position\")==\"relative\")re", + L"turn 1;a=U(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/", + L")||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)", + L"\\)/))?Number(a[1])/100:1};var W={},X={};W.m=function(a,b,c){b=L(H(b),", + L"\"A\",j,b);return F(b,function(b){b=ya(b);return c&&b.indexOf(a)!=-1||", + L"b==a})};W.l=function(a,b,c){b=L(H(b),\"A\",j,b);return E(b,function(b)", + L"{b=ya(b);return c&&b.indexOf(a)!=-1||b==a})};W.b=function(a,b){return ", + L"W.m(a,b,!1)};W.e=function(a,b){return W.l(a,b,!1)};X.b=function(a,b){r", + L"eturn W.m(a,b,!0)};X.e=function(a,b){return W.l(a,b,!0)};var Ca={class", + L"Name:M,css:{b:function(a,b){!o(b.querySelector)&&y(8)&&!p(b.querySelec", + L"tor)&&f(Error(\"CSS selection is not supported\"));a||f(Error(\"No sel", + L"ector specified\"));a.split(/,/).length>1&&f(Error(\"Compound selector", + L"s not permitted\"));var a=t(a),c=b.querySelector(a);return c&&c.nodeTy", + L"pe==1?c:j},e:function(a,b){!o(b.querySelectorAll)&&y(8)&&!p(b.querySel", + L"ector)&&f(Error(\"CSS selection is not supported\"));a||f(Error(\"No s", + L"elector specified\"));a.split(/,/).length>1&&f(Error(\"Compound select", + L"ors not permitted\"));\na=t(a);return b.querySelectorAll(a)}},id:{b:fu", + L"nction(a,b){var c=H(b),d=n(a)?c.j.getElementById(a):a;if(!d)return j;i", + L"f(T(d,\"id\")==a&&K(b,d))return d;c=L(c,\"*\");return F(c,function(c){", + L"return T(c,\"id\")==a&&K(b,c)})},e:function(a,b){var c=L(H(b),\"*\",j,", + L"b);return E(c,function(b){return T(b,\"id\")==a})}},linkText:W,name:{b", + L":function(a,b){var c=L(H(b),\"*\",j,b);return F(c,function(b){return T", + L"(b,\"name\")==a})},e:function(a,b){var c=L(H(b),\"*\",j,b);return E(c,", + L"function(b){return T(b,\"name\")==a})}},partialLinkText:X,\ntagName:{b", + L":function(a,b){return b.getElementsByTagName(a)[0]||j},e:function(a,b)", + L"{return b.getElementsByTagName(a)}},xpath:N};function Da(a,b){var c;a:", + L"{for(c in a)if(!Object.prototype[c])break a;c=j}if(c){var d=Ca[c];if(d", + L"&&o(d.b))return d.b(a[c],b||ha.document)}f(Error(\"Unsupported locator", + L" strategy: \"+c))}var Y=\"_\".split(\".\"),Z=k;!(Y[0]in Z)&&Z.execScri", + L"pt&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.", + L"length&&Da!==i?Z[$]=Da:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,", + L"arguments);}.apply({navigator:typeof window!='undefined'?window.naviga", + L"tor:null}, arguments);}", + NULL +}; + +const wchar_t* const FIND_ELEMENTS[] = { + L"function(){return function(){function f(a){throw a;}var i=void 0,j=nul", + L"l,k=this;\nfunction l(a){var b=typeof a;if(b==\"object\")if(a){if(a in", + L"stanceof Array)return\"array\";else if(a instanceof Object)return b;va", + L"r c=Object.prototype.toString.call(a);if(c==\"[object Window]\")return", + L"\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&type", + L"of a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined", + L"\"&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[objec", + L"t Function]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumer", + L"able!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"functio", + L"n\"}else return\"null\";\nelse if(b==\"function\"&&typeof a.call==\"un", + L"defined\")return\"object\";return b}function n(a){return typeof a==\"s", + L"tring\"}function o(a){return l(a)==\"function\"}function p(a){a=l(a);r", + L"eturn a==\"object\"||a==\"array\"||a==\"function\"}function r(a,b){fun", + L"ction c(){}c.prototype=b.prototype;a.p=b.prototype;a.prototype=new c};", + L"function s(a){var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}func", + L"tion aa(a){for(var b=1;bb)return 1;return 0}var ba={};function ca(a", + L"){return ba[a]||(ba[a]=String(a).replace(/\\-([a-z])/g,function(a,c){r", + L"eturn c.toUpperCase()}))};var da;var v=\"\",ea=/MSIE\\s+([^\\);]+)(\\)", + L"|;)/.exec(k.navigator?k.navigator.userAgent:j),v=ea?ea[1]:\"\",x,fa=k.", + L"document;x=fa?fa.documentMode:i;da=x>parseFloat(v)?String(x):v;var ga=", + L"{};\nfunction y(a){var b;if(!(b=ga[a])){b=0;for(var c=t(String(da)).sp", + L"lit(\".\"),d=t(String(a)).split(\".\"),e=Math.max(c.length,d.length),g", + L"=0;b==0&&g=0}return b};var z={},ha=window;function C(a", + L"){this.stack=Error().stack||\"\";if(a)this.message=String(a)}r(C,Error", + L");C.prototype.name=\"CustomError\";function ia(a,b){b.unshift(a);C.cal", + L"l(this,aa.apply(j,b));b.shift();this.q=a}r(ia,C);ia.prototype.name=\"A", + L"ssertionError\";function D(a,b){if(n(a)){if(!n(b)||b.length!=1)return-", + L"1;return a.indexOf(b,0)}for(var c=0;c=0&&(d[e+", + L"+]=h);d.length=e;c=d}else c=a;return c}\nI.prototype.contains=K;var M=", + L"{i:function(a){return a.querySelectorAll&&a.querySelector}};M.d=functi", + L"on(a,b){a||f(Error(\"No class name specified\"));a=t(a);a.split(/\\s+/", + L").length>1&&f(Error(\"Compound class names not permitted\"));if(M.i(b)", + L")return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||j;var c=L(", + L"H(b),\"*\",a,b);return c.length?c[0]:j};\nM.b=function(a,b){a||f(Error", + L"(\"No class name specified\"));a=t(a);a.split(/\\s+/).length>1&&f(Erro", + L"r(\"Compound class names not permitted\"));if(M.i(b))return b.querySel", + L"ectorAll(\".\"+a.replace(/\\./g,\"\\\\.\"));return L(H(b),\"*\",a,b)};", + L"var N={k:function(a,b,c){var d=J(a);if(!d.implementation.hasFeature(\"", + L"XPath\",\"3.0\"))return j;var e=d.createNSResolver(d.documentElement);", + L"return d.evaluate(b,a,e,c,j)},d:function(a,b){var c=function(b,c){var ", + L"g=J(b);if(b.selectSingleNode)return g.setProperty&&g.setProperty(\"Sel", + L"ectionLanguage\",\"XPath\"),b.selectSingleNode(c);try{var h=N.k(b,c,9)", + L";return h?h.singleNodeValue:j}catch(m){f(Error(z.g.h,\"Unable to locat", + L"e an element with the xpath expression \"+a))}}(b,a);if(!c)return j;c.", + L"nodeType!=1&&f(Error(\"Returned node is not an element: \"+\na));retur", + L"n c},b:function(a,b){var c=function(b,c){var g=J(b);if(b.selectNodes)r", + L"eturn g.setProperty&&g.setProperty(\"SelectionLanguage\",\"XPath\"),b.", + L"selectNodes(c);var g=[],h;try{h=N.k(b,c,7)}catch(m){f(Error(z.g.h,\"Un", + L"able to locate elements with the xpath expression \"+c))}if(h)for(var ", + L"w=h.snapshotLength,A=0;A=0;c--)a.pa", + L"rentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNod", + L"e&&a.parentNode.removeChild(a)};function R(a,b,c,d){P.call(this,a,b,c,", + L"j,d)}r(R,P);R.prototype.next=function(){do R.p.next.call(this);while(t", + L"his.e==-1);return this.c};function ra(a,b){var c=J(a);if(c.defaultView", + L"&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,", + L"j)))return c[b]||c.getPropertyValue(b);return\"\"};function S(a,b){ret", + L"urn!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar sa=[\"as", + L"ync\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",", + L"\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defe", + L"r\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\"", + L",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loo", + L"p\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"noval", + L"idate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"requ", + L"ired\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",", + L"\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction T(a,b){if(8=", + L"=a.nodeType)return j;b=b.toLowerCase();if(b==\"style\"){var c=t(a.styl", + L"e.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}", + L"c=a.getAttributeNode(b);!c&&y(8)&&D(sa,b)>=0&&(c=a[b]);if(!c)return j;", + L"if(D(sa,b)>=0)return c.value==\"false\"?j:\"true\";return c.specified?", + L"c.value:j}function ta(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeTy", + L"pe!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:j}function U(a,b){", + L"b=ca(b);return ra(a,b)||ua(a,b)}\nfunction ua(a,b){var c=(a.currentSty", + L"le||a.style)[b];if(c!=\"inherit\")return c!==i?c:j;return(c=ta(a))?ua(", + L"c,b):j}\nfunction va(a){if(o(a.getBBox))return a.getBBox();var b;if((r", + L"a(a,\"display\")||(a.currentStyle?a.currentStyle.display:j)||a.style.d", + L"isplay)!=\"none\")b=new G(a.offsetWidth,a.offsetHeight);else{b=a.style", + L";var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b", + L".position=\"absolute\";b.display=\"inline\";var g=a.offsetWidth,a=a.of", + L"fsetHeight;b.display=c;b.position=e;b.visibility=d;b=new G(g,a)}return", + L" b}\nfunction V(a,b){function c(a){if(U(a,\"display\")==\"none\")retur", + L"n!1;a=ta(a);return!a||c(a)}function d(a){var b=va(a);if(b.height>0&&b.", + L"width>0)return!0;return ka(a.childNodes,function(a){return a.nodeType=", + L"=ma||S(a)&&d(a)})}S(a)||f(Error(\"Argument to isShown must be of type ", + L"Element\"));if(S(a,\"TITLE\"))return(J(a)?J(a).parentWindow||J(a).defa", + L"ultView:window)==ha;if(S(a,\"OPTION\")||S(a,\"OPTGROUP\")){var e=pa(a,", + L"function(a){return S(a,\"SELECT\")});return!!e&&V(e,b)}if(S(a,\"MAP\")", + L"){if(!a.name)return!1;e=J(a);e=e.evaluate?\nN.d('/descendant::*[@usema", + L"p = \"#'+a.name+'\"]',e):na(e,function(b){return S(b)&&T(b,\"usemap\")", + L"==\"#\"+a.name});return!!e&&V(e,b)}if(S(a,\"AREA\"))return e=pa(a,func", + L"tion(a){return S(a,\"MAP\")}),!!e&&V(e,b);if(S(a,\"INPUT\")&&a.type.to", + L"LowerCase()==\"hidden\")return!1;if(U(a,\"visibility\")==\"hidden\")re", + L"turn!1;if(!c(a))return!1;if(!b&&wa(a)==0)return!1;if(!d(a))return!1;re", + L"turn!0}function xa(a){return a.replace(/^[^\\S\\xa0]+|[^\\S\\xa0]+$/g,", + L"\"\")}\nfunction ya(a){var b=[];za(a,b);for(var c=b,a=c.length,b=Array", + L"(a),c=n(c)?c.split(\"\"):c,d=0;d=0);e&&!/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")&&b.p", + L"ush(\"\");var g=V(a),h=j,m=j;g&&(h=U(a,\"white-space\"),m=U(a,\"text-t", + L"ransform\"));ja(a.childNodes,function(a){a.nodeType==ma&&g?Ba(a,b,h,m)", + L":S(a)&&za(a,b)});var w=b[b.length-1]||\"\";if((c||d==\"table-cell\")&&", + L"w&&!s(w))b[b.length-1]+=\" \";e&&!/^[\\s\\xa0]*$/.test(w)&&b.push(\"\"", + L")}}var Aa=[\"inline\",\"inline-block\",\"inline-table\",\"none\",\"tab", + L"le-cell\",\"table-column\",\"table-column-group\"];\nfunction Ba(a,b,c", + L",d){a=a.nodeValue.replace(/\\u200b/g,\"\");a=a.replace(/(\\r\\n|\\r|", + L"\\n)/g,\"\\n\");if(c==\"normal\"||c==\"nowrap\")a=a.replace(/\\n/g,\" ", + L"\");a=c==\"pre\"||c==\"pre-wrap\"?a.replace(/\\f\\t\\v\\u2028\\u2029/,", + L"\" \"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");d==\"capitali", + L"ze\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCas", + L"e()}):d==\"uppercase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=a.toLowe", + L"rCase());c=b.pop()||\"\";s(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(", + L"1));b.push(c+a)}\nfunction wa(a){if(U(a,\"position\")==\"relative\")re", + L"turn 1;a=U(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/", + L")||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)", + L"\\)/))?Number(a[1])/100:1};var W={},X={};W.m=function(a,b,c){b=L(H(b),", + L"\"A\",j,b);return F(b,function(b){b=ya(b);return c&&b.indexOf(a)!=-1||", + L"b==a})};W.l=function(a,b,c){b=L(H(b),\"A\",j,b);return E(b,function(b)", + L"{b=ya(b);return c&&b.indexOf(a)!=-1||b==a})};W.d=function(a,b){return ", + L"W.m(a,b,!1)};W.b=function(a,b){return W.l(a,b,!1)};X.d=function(a,b){r", + L"eturn W.m(a,b,!0)};X.b=function(a,b){return W.l(a,b,!0)};var Ca={class", + L"Name:M,css:{d:function(a,b){!o(b.querySelector)&&y(8)&&!p(b.querySelec", + L"tor)&&f(Error(\"CSS selection is not supported\"));a||f(Error(\"No sel", + L"ector specified\"));a.split(/,/).length>1&&f(Error(\"Compound selector", + L"s not permitted\"));var a=t(a),c=b.querySelector(a);return c&&c.nodeTy", + L"pe==1?c:j},b:function(a,b){!o(b.querySelectorAll)&&y(8)&&!p(b.querySel", + L"ector)&&f(Error(\"CSS selection is not supported\"));a||f(Error(\"No s", + L"elector specified\"));a.split(/,/).length>1&&f(Error(\"Compound select", + L"ors not permitted\"));\na=t(a);return b.querySelectorAll(a)}},id:{d:fu", + L"nction(a,b){var c=H(b),d=n(a)?c.j.getElementById(a):a;if(!d)return j;i", + L"f(T(d,\"id\")==a&&K(b,d))return d;c=L(c,\"*\");return F(c,function(c){", + L"return T(c,\"id\")==a&&K(b,c)})},b:function(a,b){var c=L(H(b),\"*\",j,", + L"b);return E(c,function(b){return T(b,\"id\")==a})}},linkText:W,name:{d", + L":function(a,b){var c=L(H(b),\"*\",j,b);return F(c,function(b){return T", + L"(b,\"name\")==a})},b:function(a,b){var c=L(H(b),\"*\",j,b);return E(c,", + L"function(b){return T(b,\"name\")==a})}},partialLinkText:X,\ntagName:{d", + L":function(a,b){return b.getElementsByTagName(a)[0]||j},b:function(a,b)", + L"{return b.getElementsByTagName(a)}},xpath:N};function Da(a,b){var c;a:", + L"{for(c in a)if(!Object.prototype[c])break a;c=j}if(c){var d=Ca[c];if(d", + L"&&o(d.b))return d.b(a[c],b||ha.document)}f(Error(\"Unsupported locator", + L" strategy: \"+c))}var Y=\"_\".split(\".\"),Z=k;!(Y[0]in Z)&&Z.execScri", + L"pt&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.", + L"length&&Da!==i?Z[$]=Da:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,", + L"arguments);}.apply({navigator:typeof window!='undefined'?window.naviga", + L"tor:null}, arguments);}", + NULL +}; + +const wchar_t* const GET_ATTRIBUTE[] = { + L"function(){return function(){var f=null;\nfunction g(a){var b=typeof a", + L";if(b==\"object\")if(a){if(a instanceof Array)return\"array\";else if(", + L"a instanceof Object)return b;var c=Object.prototype.toString.call(a);i", + L"f(c==\"[object Window]\")return\"object\";if(c==\"[object Array]\"||ty", + L"peof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.pr", + L"opertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\")", + L")return\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefin", + L"ed\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnume", + L"rable(\"call\"))return\"function\"}else return\"null\";else if(b==\n\"", + L"function\"&&typeof a.call==\"undefined\")return\"object\";return b}fun", + L"ction h(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.p", + L"rototype=new c};function l(a){for(var b=1;bb)return 1;return 0};var", + L" o;var p=\"\",q=/MSIE\\s+([^\\);]+)(\\)|;)/.exec(this.navigator?this.n", + L"avigator.userAgent:f),p=q?q[1]:\"\",r,s=this.document;r=s?s.documentMo", + L"de:void 0;o=r>parseFloat(p)?String(r):p;var t={};\nfunction u(a){var b", + L";if(!(b=t[a])){b=0;for(var c=m(String(o)).split(\".\"),d=m(String(a)).", + L"split(\".\"),e=Math.max(c.length,d.length),i=0;b==0&&i=0}", + L"return b};function v(a){this.stack=Error().stack||\"\";if(a)this.messa", + L"ge=String(a)}h(v,Error);h(function(a,b){b.unshift(a);v.call(this,l.app", + L"ly(f,b));b.shift();this.h=a},v);function w(a,b){if(typeof a==\"string", + L"\"){if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,0", + L")}for(var c=0;c=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&", + L"&a.parentNode&&a.parentNode.removeChild(a)};function B(a,b,c,d){z.call", + L"(this,a,b,c,f,d)}h(B,z);B.prototype.next=function(){do B.g.next.call(t", + L"his);while(this.c==-1);return this.b};var C={\"class\":\"className\",r", + L"eadonly:\"readOnly\"},D=[\"checked\",\"disabled\",\"draggable\",\"hidd", + L"en\"];function E(a,b){var c=C[b]||b,d=a[c];if(d===void 0&&w(D,c)>=0)re", + L"turn!1;return d}\nvar F=[\"async\",\"autofocus\",\"autoplay\",\"checke", + L"d\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked", + L"\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",", + L"\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",", + L"\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"n", + L"oresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"", + L"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamless", + L"\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidat", + L"e\"];\nfunction G(a,b){if(8==a.nodeType)return f;b=b.toLowerCase();if(", + L"b==\"style\"){var c=m(a.style.cssText).toLowerCase();return c.charAt(c", + L".length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);!c&&u(8)&&w(F,b)>=", + L"0&&(c=a[b]);if(!c)return f;if(w(F,b)>=0)return c.value==\"false\"?f:\"", + L"true\";return c.specified?c.value:f};var H=[\"checkbox\",\"radio\"];fu", + L"nction I(a){var b=a.tagName.toUpperCase();if(b==\"OPTION\")return!0;if", + L"(b==\"INPUT\"&&w(H,a.type)>=0)return!0;return!1};function J(a,b){var c", + L"=f,d=b.toLowerCase();if(\"style\"==b.toLowerCase()){if((c=a.style)&&ty", + L"peof c!=\"string\")c=c.cssText;return c}if(\"selected\"==d||\"checked", + L"\"==d&&I(a)){var e;if(I(a)){e=\"selected\";d=a.type&&a.type.toLowerCas", + L"e();if(\"checkbox\"==d||\"radio\"==d)e=\"checked\";e=!!a[e]}else e=!1;", + L"return e?\"true\":f}c=a.tagName&&\"A\"==a.tagName.toUpperCase();if(a.t", + L"agName&&\"IMG\"==a.tagName.toUpperCase()&&d==\"src\"||c&&d==\"href\")r", + L"eturn(c=G(a,d))&&(c=E(a,d)),c;try{e=E(a,b)}catch(i){}if(!(d=e==f))d=g(", + L"e),d=d==\"object\"||\nd==\"array\"||d==\"function\";c=d?G(a,b):e;retur", + L"n c!=f?c.toString():f}var O=\"_\".split(\".\"),P=this;!(O[0]in P)&&P.e", + L"xecScript&&P.execScript(\"var \"+O[0]);for(var Q;O.length&&(Q=O.shift(", + L"));)!O.length&&J!==void 0?P[Q]=J:P=P[Q]?P[Q]:P[Q]={};; return this._.a", + L"pply(null,arguments);}.apply({navigator:typeof window!='undefined'?win", + L"dow.navigator:null}, arguments);}", + NULL +}; + +const wchar_t* const GET_EFFECTIVE_STYLE[] = { + L"function(){return function(){var e=null;function f(a,c){function b(){}", + L"b.prototype=c.prototype;a.g=c.prototype;a.prototype=new b};function j(", + L"a){for(var c=1;cc)return 1;return 0}var l={};function m(a){retu", + L"rn l[a]||(l[a]=String(a).replace(/\\-([a-z])/g,function(a,b){return b.", + L"toUpperCase()}))};var n;var o=\"\",p=/MSIE\\s+([^\\);]+)(\\)|;)/.exec(", + L"this.navigator?this.navigator.userAgent:e),o=p?p[1]:\"\",q,r=this.docu", + L"ment;q=r?r.documentMode:void 0;n=q>parseFloat(o)?String(q):o;var s={};", + L"\nfunction t(){if(!s[\"9\"]){for(var a=0,c=String(n).replace(/^[\\s\\x", + L"a0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),b=String(\"9\").replace(/^[\\s", + L"\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),d=Math.max(c.length,b.length", + L"),g=0;a==0&&g=0}};function u(a){this.stack=Error().s", + L"tack||\"\";if(a)this.message=String(a)}f(u,Error);f(function(a,c){c.un", + L"shift(a);u.call(this,j.apply(e,c));c.shift();this.f=a},u);t();t();t();", + L"function v(a,c,b,d,g){this.b=!!c;if(a&&(this.a=a))this.c=typeof d==\"n", + L"umber\"?d:this.a.nodeType!=1?0:this.b?-1:1;this.d=g!=void 0?g:this.c||", + L"0;this.b&&(this.d*=-1);this.e=!b}f(v,function(){});v.prototype.a=e;v.p", + L"rototype.c=0;f(function(a,c,b,d){v.call(this,a,c,b,e,d)},v);function w", + L"(a,c){var b=(a.currentStyle||a.style)[c];if(b!=\"inherit\")return b!==", + L"void 0?b:e;for(b=a.parentNode;b&&b.nodeType!=1&&b.nodeType!=9&&b.nodeT", + L"ype!=11;)b=b.parentNode;return(b=b&&b.nodeType==1?b:e)?w(b,c):e};funct", + L"ion x(a,c){var c=m(c),b;a:{b=c;var d=a.nodeType==9?a:a.ownerDocument||", + L"a.document;if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defa", + L"ultView.getComputedStyle(a,e))){b=d[b]||d.getPropertyValue(b);break a}", + L"b=\"\"}return b||w(a,c)}var y=\"_\".split(\".\"),z=this;!(y[0]in z)&&z", + L".execScript&&z.execScript(\"var \"+y[0]);for(var A;y.length&&(A=y.shif", + L"t());)!y.length&&x!==void 0?z[A]=x:z=z[A]?z[A]:z[A]={};; return this._", + L".apply(null,arguments);}.apply({navigator:typeof window!='undefined'?w", + L"indow.navigator:null}, arguments);}", + NULL +}; + +const wchar_t* const GET_LOCATION[] = { + L"function(){return function(){var f=this;function g(a,b){function c(){}", + L"c.prototype=b.prototype;a.c=b.prototype;a.prototype=new c};function j(", + L"a){this.stack=Error().stack||\"\";if(a)this.message=String(a)}g(j,Erro", + L"r);function k(a){for(var b=1;bb)return 1;return 0};g(function(a", + L",b){b.unshift(a);j.call(this,k.apply(null,b));b.shift();this.b=a},j);v", + L"ar m;var o=\"\",p=/MSIE\\s+([^\\);]+)(\\)|;)/.exec(f.navigator?f.navig", + L"ator.userAgent:null),o=p?p[1]:\"\",q,r=f.document;q=r?r.documentMode:v", + L"oid 0;m=q>parseFloat(o)?String(q):o;var s={};\nfunction t(a){var b;if(", + L"!(b=s[a])){b=0;for(var c=String(m).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/", + L"g,\"\").split(\".\"),d=String(a).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,", + L"\"\").split(\".\"),e=Math.max(c.length,d.length),n=0;b==0&&n=0}return b};var u;t(\"9\");t(\"9\");t(\"9\");function v(a,b){thi", + L"s.x=a!==void 0?a:0;this.y=b!==void 0?b:0}v.prototype.toString=function", + L"(){return\"(\"+this.x+\", \"+this.y+\")\"};function w(a){return a.node", + L"Type==9?a:a.ownerDocument||a.document}function x(a){this.a=a||f.docume", + L"nt||document};function y(a){var b=w(a);var c=w(a);c.defaultView&&c.def", + L"aultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))&", + L"&(c.position||c.getPropertyValue(\"position\"));var c=new v(0,0),d;d=b", + L"?b.nodeType==9?b:w(b):document;var e;if(e=!t(9))e=(d?new x(w(d)):u||(u", + L"=new x)).a.compatMode!=\"CSS1Compat\";d=e?d.body:d.documentElement;if(", + L"a==d)return c;if(a.getBoundingClientRect)d=a.getBoundingClientRect(),a", + L"=a.ownerDocument,d.left-=a.documentElement.clientLeft+a.body.clientLef", + L"t,d.top-=a.documentElement.clientTop+\na.body.clientTop,a=d,d=(b?new x", + L"(w(b)):u||(u=new x)).a,b=d.compatMode==\"CSS1Compat\"?d.documentElemen", + L"t:d.body,d=d.parentWindow||d.defaultView,b=new v(d.pageXOffset||b.scro", + L"llLeft,d.pageYOffset||b.scrollTop),c.x=a.left+b.x,c.y=a.top+b.y;else i", + L"f(b.getBoxObjectFor)a=b.getBoxObjectFor(a),b=b.getBoxObjectFor(d),c.x=", + L"a.screenX-b.screenX,c.y=a.screenY-b.screenY;else{e=a;do c.x+=e.offsetL", + L"eft,c.y+=e.offsetTop,e!=a&&(c.x+=e.clientLeft||0,c.y+=e.clientTop||0),", + L"e=e.offsetParent;while(e&&e!=a);for(e=a;(e=e.offsetParent)&&\ne!=b.bod", + L"y&&e!=d;)c.x-=e.scrollLeft,c.y-=e.scrollTop}return c}var z=\"_\".split", + L"(\".\"),A=f;!(z[0]in A)&&A.execScript&&A.execScript(\"var \"+z[0]);for", + L"(var B;z.length&&(B=z.shift());)!z.length&&y!==void 0?A[B]=y:A=A[B]?A[", + L"B]:A[B]={};; return this._.apply(null,arguments);}.apply({navigator:ty", + L"peof window!='undefined'?window.navigator:null}, arguments);}", + NULL +}; + +const wchar_t* const GET_SIZE[] = { + L"function(){return function(){function d(b,a){function c(){}c.prototype", + L"=a.prototype;b.b=a.prototype;b.prototype=new c};function h(b){this.sta", + L"ck=Error().stack||\"\";if(b)this.message=String(b)}d(h,Error);function", + L" i(b){for(var a=1;aa)return 1;return 0};d(function(b,a){a.unshi", + L"ft(b);h.call(this,i.apply(null,a));a.shift();this.a=b},h);var k;var l=", + L"\"\",m=/MSIE\\s+([^\\);]+)(\\)|;)/.exec(this.navigator?this.navigator.", + L"userAgent:null),l=m?m[1]:\"\",n,q=this.document;n=q?q.documentMode:voi", + L"d 0;k=n>parseFloat(l)?String(n):l;var r={};\nfunction s(){if(!r[\"9\"]", + L"){for(var b=0,a=String(k).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").s", + L"plit(\".\"),c=String(\"9\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")", + L".split(\".\"),o=Math.max(a.length,c.length),e=0;b==0&&e=0}};s();s();s();function t(b,a){this.width=b;this.height=a}t.proto", + L"type.toString=function(){return\"(\"+this.width+\" x \"+this.height+\"", + L")\"};function u(b){var a;a:{a=b.nodeType==9?b:b.ownerDocument||b.docum", + L"ent;if(a.defaultView&&a.defaultView.getComputedStyle&&(a=a.defaultView", + L".getComputedStyle(b,null))){a=a.display||a.getPropertyValue(\"display", + L"\");break a}a=\"\"}if((a||(b.currentStyle?b.currentStyle.display:null)", + L"||b.style.display)!=\"none\")return new t(b.offsetWidth,b.offsetHeight", + L");a=b.style;var c=a.display,o=a.visibility,e=a.position;a.visibility=", + L"\"hidden\";a.position=\"absolute\";a.display=\"inline\";var p=b.offset", + L"Width,b=b.offsetHeight;a.display=\nc;a.position=e;a.visibility=o;retur", + L"n new t(p,b)}var v=\"_\".split(\".\"),w=this;!(v[0]in w)&&w.execScript", + L"&&w.execScript(\"var \"+v[0]);for(var x;v.length&&(x=v.shift());)!v.le", + L"ngth&&u!==void 0?w[x]=u:w=w[x]?w[x]:w[x]={};; return this._.apply(null", + L",arguments);}.apply({navigator:typeof window!='undefined'?window.navig", + L"ator:null}, arguments);}", + NULL +}; + +const wchar_t* const GET_TEXT[] = { + L"function(){return function(){var f=void 0,h=null;\nfunction k(a){var b", + L"=typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array\"", + L";else if(a instanceof Object)return b;var c=Object.prototype.toString.", + L"call(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Arr", + L"ay]\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&ty", + L"peof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"", + L"splice\"))return\"array\";if(c==\"[object Function]\"||typeof a.call!=", + L"\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.proper", + L"tyIsEnumerable(\"call\"))return\"function\"}else return\"null\";else i", + L"f(b==\n\"function\"&&typeof a.call==\"undefined\")return\"object\";ret", + L"urn b}function l(a){return typeof a==\"string\"}function m(a,b){functi", + L"on c(){}c.prototype=b.prototype;a.g=b.prototype;a.prototype=new c};fun", + L"ction n(a){var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}functio", + L"n aa(a){for(var b=1;bb)return 1;return 0}var t={};function ba(a){re", + L"turn t[a]||(t[a]=String(a).replace(/\\-([a-z])/g,function(a,c){return ", + L"c.toUpperCase()}))};var u;var v=\"\",w=/MSIE\\s+([^\\);]+)(\\)|;)/.exe", + L"c(this.navigator?this.navigator.userAgent:h),v=w?w[1]:\"\",x,y=this.do", + L"cument;x=y?y.documentMode:f;u=x>parseFloat(v)?String(x):v;var z={};\nf", + L"unction A(a){var b;if(!(b=z[a])){b=0;for(var c=p(String(u)).split(\".", + L"\"),e=p(String(a)).split(\".\"),d=Math.max(c.length,e.length),g=0;b==0", + L"&&g=0}return b};var ca={},B=window;function C(a){this.sta", + L"ck=Error().stack||\"\";if(a)this.message=String(a)}m(C,Error);C.protot", + L"ype.name=\"CustomError\";function D(a,b){b.unshift(a);C.call(this,aa.a", + L"pply(h,b));b.shift();this.j=a}m(D,C);D.prototype.name=\"AssertionError", + L"\";function E(a,b){if(l(a)){if(!l(b)||b.length!=1)return-1;return a.in", + L"dexOf(b,0)}for(var c=0;c=0;c--)a.parentNode&&a.parent", + L"Node.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.re", + L"moveChild(a)};function O(a,b,c,e){M.call(this,a,b,c,h,e)}m(O,M);O.prot", + L"otype.next=function(){do O.g.next.call(this);while(this.c==-1);return ", + L"this.b};function Q(a,b){var c=H(a);if(c.defaultView&&c.defaultView.get", + L"ComputedStyle&&(c=c.defaultView.getComputedStyle(a,h)))return c[b]||c.", + L"getPropertyValue(b);return\"\"};function R(a,b){return!!a&&a.nodeType=", + L"=1&&(!b||a.tagName.toUpperCase()==b)}\nvar S=[\"async\",\"autofocus\",", + L"\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"decla", + L"re\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"d", + L"raggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",", + L"\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"", + L"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",", + L"\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\"", + L",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"tru", + L"espeed\",\"willvalidate\"];\nfunction ha(a){var b;if(8==a.nodeType)ret", + L"urn h;b=\"usemap\";if(b==\"style\")return a=p(a.style.cssText).toLower", + L"Case(),a.charAt(a.length-1)==\";\"?a:a+\";\";var c=a.getAttributeNode(", + L"b);!c&&A(8)&&E(S,b)>=0&&(c=a[b]);if(!c)return h;if(E(S,b)>=0)return c.", + L"value==\"false\"?h:\"true\";return c.specified?c.value:h}function T(a)", + L"{for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a", + L"=a.parentNode;return R(a)?a:h}function U(a,b){b=ba(b);return Q(a,b)||V", + L"(a,b)}\nfunction V(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inh", + L"erit\")return c!==f?c:h;return(c=T(a))?V(c,b):h}\nfunction ia(a){if(k(", + L"a.getBBox)==\"function\")return a.getBBox();var b;if((Q(a,\"display\")", + L"||(a.currentStyle?a.currentStyle.display:h)||a.style.display)!=\"none", + L"\")b=new F(a.offsetWidth,a.offsetHeight);else{b=a.style;var c=b.displa", + L"y,e=b.visibility,d=b.position;b.visibility=\"hidden\";b.position=\"abs", + L"olute\";b.display=\"inline\";var g=a.offsetWidth,a=a.offsetHeight;b.di", + L"splay=c;b.position=d;b.visibility=e;b=new F(g,a)}return b}\nfunction W", + L"(a,b){function c(a){if(U(a,\"display\")==\"none\")return!1;a=T(a);retu", + L"rn!a||c(a)}function e(a){var b=ia(a);if(b.height>0&&b.width>0)return!0", + L";return ea(a.childNodes,function(a){return a.nodeType==G||R(a)&&e(a)})", + L"}if(!R(a))throw Error(\"Argument to isShown must be of type Element\")", + L";if(R(a,\"TITLE\"))return(H(a)?H(a).parentWindow||H(a).defaultView:win", + L"dow)==B;if(R(a,\"OPTION\")||R(a,\"OPTGROUP\")){var d=J(a,function(a){r", + L"eturn R(a,\"SELECT\")});return!!d&&W(d,b)}if(R(a,\"MAP\")){if(!a.name)", + L"return!1;d=H(a);d=\nd.evaluate?ga('/descendant::*[@usemap = \"#'+a.nam", + L"e+'\"]',d):fa(d,function(b){return R(b)&&ha(b)==\"#\"+a.name});return!", + L"!d&&W(d,b)}if(R(a,\"AREA\"))return d=J(a,function(a){return R(a,\"MAP", + L"\")}),!!d&&W(d,b);if(R(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")", + L"return!1;if(U(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1", + L";if(!b&&ja(a)==0)return!1;if(!e(a))return!1;return!0}function X(a){ret", + L"urn a.replace(/^[^\\S\\xa0]+|[^\\S\\xa0]+$/g,\"\")}\nfunction ka(a,b){", + L"if(R(a,\"BR\"))b.push(\"\");else{var c=R(a,\"TD\"),e=U(a,\"display\"),", + L"d=!c&&!(E(la,e)>=0);d&&!/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")&&b.p", + L"ush(\"\");var g=W(a),i=h,j=h;g&&(i=U(a,\"white-space\"),j=U(a,\"text-t", + L"ransform\"));da(a.childNodes,function(a){a.nodeType==G&&g?ma(a,b,i,j):", + L"R(a)&&ka(a,b)});var o=b[b.length-1]||\"\";if((c||e==\"table-cell\")&&o", + L"&&!n(o))b[b.length-1]+=\" \";d&&!/^[\\s\\xa0]*$/.test(o)&&b.push(\"\")", + L"}}var la=[\"inline\",\"inline-block\",\"inline-table\",\"none\",\"tabl", + L"e-cell\",\"table-column\",\"table-column-group\"];\nfunction ma(a,b,c,", + L"e){a=a.nodeValue.replace(/\\u200b/g,\"\");a=a.replace(/(\\r\\n|\\r|\\n", + L")/g,\"\\n\");if(c==\"normal\"||c==\"nowrap\")a=a.replace(/\\n/g,\" \")", + L";a=c==\"pre\"||c==\"pre-wrap\"?a.replace(/\\f\\t\\v\\u2028\\u2029/,\" ", + L"\"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");e==\"capitalize", + L"\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCase(", + L")}):e==\"uppercase\"?a=a.toUpperCase():e==\"lowercase\"&&(a=a.toLowerC", + L"ase());c=b.pop()||\"\";n(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(1)", + L");b.push(c+a)}\nfunction ja(a){if(U(a,\"position\")==\"relative\")retu", + L"rn 1;a=U(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)|", + L"|a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)", + L"/))?Number(a[1])/100:1};function na(a){var b;a:{for(b=a;b;){if(b.tagNa", + L"me&&b.tagName.toLowerCase()==\"head\"){b=!0;break a}try{b=b.parentNode", + L"}catch(c){break}}b=!1}if(b){b=H(a);if(a.tagName.toUpperCase()==\"TITLE", + L"\"&&(b?b.parentWindow||b.defaultView:window)==B.top)return p(b.title);", + L"return\"\"}b=[];ka(a,b);var e=b,a=e.length;b=Array(a);for(var e=l(e)?e", + L".split(\"\"):e,d=0;db)return 1;ret", + L"urn 0}var r={};function s(a){return r[a]||(r[a]=String(a).replace(/\\-", + L"([a-z])/g,function(a,c){return c.toUpperCase()}))};var t;var u=\"\",v=", + L"/MSIE\\s+([^\\);]+)(\\)|;)/.exec(this.navigator?this.navigator.userAge", + L"nt:h),u=v?v[1]:\"\",w,x=this.document;w=x?x.documentMode:e;t=w>parseFl", + L"oat(u)?String(w):u;var y={};\nfunction z(a){var b;if(!(b=y[a])){b=0;fo", + L"r(var c=l(String(t)).split(\".\"),f=l(String(a)).split(\".\"),d=Math.m", + L"ax(c.length,f.length),g=0;b==0&&g=0}return b};var A={},B=", + L"window;function D(a){this.stack=Error().stack||\"\";if(a)this.message=", + L"String(a)}j(D,Error);D.prototype.name=\"CustomError\";function E(a,b){", + L"b.unshift(a);D.call(this,k.apply(h,b));b.shift();this.j=a}j(E,D);E.pro", + L"totype.name=\"AssertionError\";function F(a){var b=G;if(typeof b==\"st", + L"ring\"){if(typeof a!=\"string\"||a.length!=1)return-1;return b.indexOf", + L"(a,0)}for(var c=0;c=0;c--)a.parentNode&&a.parentNode.insertBefore(b", + L"[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};funct", + L"ion Q(a,b,c,f){O.call(this,a,b,c,h,f)}j(Q,O);Q.prototype.next=function", + L"(){do Q.g.next.call(this);while(this.c==-1);return this.b};function R(", + L"a,b){var c=I(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c", + L".defaultView.getComputedStyle(a,h)))return c[b]||c.getPropertyValue(b)", + L";return\"\"};function S(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.", + L"toUpperCase()==b)}\nvar G=[\"async\",\"autofocus\",\"autoplay\",\"chec", + L"ked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultcheck", + L"ed\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended", + L"\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable", + L"\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",", + L"\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\"", + L",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seaml", + L"ess\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willvali", + L"date\"];\nfunction ea(a){var b;if(8==a.nodeType)return h;b=\"usemap\";", + L"if(b==\"style\")return a=l(a.style.cssText).toLowerCase(),a.charAt(a.l", + L"ength-1)==\";\"?a:a+\";\";var c=a.getAttributeNode(b);!c&&z(8)&&F(b)>=", + L"0&&(c=a[b]);if(!c)return h;if(F(b)>=0)return c.value==\"false\"?h:\"tr", + L"ue\";return c.specified?c.value:h}function T(a){for(a=a.parentNode;a&&", + L"a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(", + L"a)?a:h}function U(a,b){b=s(b);return R(a,b)||V(a,b)}\nfunction V(a,b){", + L"var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==e?c:h;", + L"return(c=T(a))?V(c,b):h}\nfunction fa(a){if(i(a.getBBox)==\"function\"", + L")return a.getBBox();var b;if((R(a,\"display\")||(a.currentStyle?a.curr", + L"entStyle.display:h)||a.style.display)!=\"none\")b=new H(a.offsetWidth,", + L"a.offsetHeight);else{b=a.style;var c=b.display,f=b.visibility,d=b.posi", + L"tion;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inlin", + L"e\";var g=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=d;b.vi", + L"sibility=f;b=new H(g,a)}return b}\nfunction W(a,b){function c(a){if(U(", + L"a,\"display\")==\"none\")return!1;a=T(a);return!a||c(a)}function f(a){", + L"var b=fa(a);if(b.height>0&&b.width>0)return!0;return aa(a.childNodes,f", + L"unction(a){return a.nodeType==ba||S(a)&&f(a)})}if(!S(a))throw Error(\"", + L"Argument to isShown must be of type Element\");if(S(a,\"TITLE\"))retur", + L"n(I(a)?I(a).parentWindow||I(a).defaultView:window)==B;if(S(a,\"OPTION", + L"\")||S(a,\"OPTGROUP\")){var d=K(a,function(a){return S(a,\"SELECT\")})", + L";return!!d&&W(d,b)}if(S(a,\"MAP\")){if(!a.name)return!1;d=I(a);\nd=d.e", + L"valuate?da('/descendant::*[@usemap = \"#'+a.name+'\"]',d):ca(d,functio", + L"n(b){return S(b)&&ea(b)==\"#\"+a.name});return!!d&&W(d,b)}if(S(a,\"ARE", + L"A\"))return d=K(a,function(a){return S(a,\"MAP\")}),!!d&&W(d,b);if(S(a", + L",\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(U(a,\"visibi", + L"lity\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&ga(a)==0)return!", + L"1;if(!f(a))return!1;return!0}\nfunction ga(a){if(U(a,\"position\")==\"", + L"relative\")return 1;a=U(a,\"filter\");return(a=a.match(/^alpha\\(opaci", + L"ty=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Op", + L"acity=(\\d*)\\)/))?Number(a[1])/100:1};var X=W,Y=\"_\".split(\".\"),Z=", + L"this;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;", + L"Y.length&&($=Y.shift());)!Y.length&&X!==e?Z[$]=X:Z=Z[$]?Z[$]:Z[$]={};;", + L" return this._.apply(null,arguments);}.apply({navigator:typeof window!", + L"='undefined'?window.navigator:null}, arguments);}", + NULL +}; + +const wchar_t* const IS_ENABLED[] = { + L"function(){return function(){function e(a,b){function c(){}c.prototype", + L"=b.prototype;a.g=b.prototype;a.prototype=new c};function i(a){for(var ", + L"b=1;bb)return 1;return 0};var k;var l=\"\",m=/MSIE\\s+([^\\);]", + L"+)(\\)|;)/.exec(this.navigator?this.navigator.userAgent:null),l=m?m[1]", + L":\"\",n,o=this.document;n=o?o.documentMode:void 0;k=n>parseFloat(l)?St", + L"ring(n):l;var p={};\nfunction q(){if(!p[\"9\"]){for(var a=0,b=String(k", + L").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),c=String(\"9", + L"\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),d=Math.max", + L"(b.length,c.length),f=0;a==0&&f=0}};function r(a){th", + L"is.stack=Error().stack||\"\";if(a)this.message=String(a)}e(r,Error);e(", + L"function(a,b){b.unshift(a);r.call(this,i.apply(null,b));b.shift();this", + L".f=a},r);function s(a,b){if(typeof a==\"string\"){if(typeof b!=\"strin", + L"g\"||b.length!=1)return-1;return a.indexOf(b,0)}for(var c=0;c=0))return!0;var c;c=u.disabled||\"disabled\";var d=a[c];c=", + L"d===void 0&&s(v,c)>=0?!1:d;if(c)return!1;if(a.parentNode&&a.parentNode", + L".nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return x(a.parentNode);re", + L"turn!0};var y=x,D=\"_\".split(\".\"),E=this;!(D[0]in E)&&E.execScript&", + L"&E.execScript(\"var \"+D[0]);for(var F;D.length&&(F=D.shift());)!D.len", + L"gth&&y!==void 0?E[F]=y:E=E[F]?E[F]:E[F]={};; return this._.apply(null,", + L"arguments);}.apply({navigator:typeof window!='undefined'?window.naviga", + L"tor:null}, arguments);}", + NULL +}; + +const wchar_t* const IS_SELECTED[] = { + L"function(){return function(){function d(a,b){function c(){}c.prototype", + L"=b.prototype;a.g=b.prototype;a.prototype=new c};function i(a){for(var ", + L"b=1;bb)return 1;return 0};var k;var l=\"\",m=/MSIE\\s+([^\\);]", + L"+)(\\)|;)/.exec(this.navigator?this.navigator.userAgent:null),l=m?m[1]", + L":\"\",n,o=this.document;n=o?o.documentMode:void 0;k=n>parseFloat(l)?St", + L"ring(n):l;var p={};\nfunction q(){if(!p[\"9\"]){for(var a=0,b=String(k", + L").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),c=String(\"9", + L"\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),f=Math.max", + L"(b.length,c.length),e=0;a==0&&e=0}};function r(a){th", + L"is.stack=Error().stack||\"\";if(a)this.message=String(a)}d(r,Error);d(", + L"function(a,b){b.unshift(a);r.call(this,i.apply(null,b));b.shift();this", + L".f=a},r);function s(a){var b=t;if(typeof b==\"string\"){if(typeof a!=", + L"\"string\"||a.length!=1)return-1;return b.indexOf(a,0)}for(var c=0;c=0?!0:!1;if(!b)return!1;b=\"sel", + L"ected\";var c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio", + L"\"==c)b=\"checked\";return!!a[b]}var w=\"_\".split(\".\"),B=this;!(w[0", + L"]in B)&&B.execScript&&B.execScript(\"var \"+w[0]);for(var C;w.length&&", + L"(C=w.shift());)!w.length&&v!==void 0?B[C]=v:B=B[C]?B[C]:B[C]={};; retu", + L"rn this._.apply(null,arguments);}.apply({navigator:typeof window!='und", + L"efined'?window.navigator:null}, arguments);}", + NULL +}; + +const wchar_t* const SUBMIT[] = { + L"function(){return function(){function g(a){throw a;}var h=void 0,i=nul", + L"l;function m(a){return function(){return this[a]}}function n(a){return", + L" function(){return a}}var p,q=this;\nfunction s(a){var b=typeof a;if(b", + L"==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a ins", + L"tanceof Object)return b;var c=Object.prototype.toString.call(a);if(c==", + L"\"[object Window]\")return\"object\";if(c==\"[object Array]\"||typeof ", + L"a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propert", + L"yIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))retu", + L"rn\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&", + L"&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable", + L"(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"funct", + L"ion\"&&typeof a.call==\"undefined\")return\"object\";return b}function", + L" aa(a){var b=s(a);return b==\"array\"||b==\"object\"&&typeof a.length=", + L"=\"number\"}function u(a){return typeof a==\"string\"}function v(a){re", + L"turn s(a)==\"function\"}function ba(a){a=s(a);return a==\"object\"||a=", + L"=\"array\"||a==\"function\"}var ca=\"closure_uid_\"+Math.floor(Math.ra", + L"ndom()*2147483648).toString(36),da=0,ea=Date.now||function(){return+ne", + L"w Date};\nfunction w(a,b){function c(){}c.prototype=b.prototype;a.U=b.", + L"prototype;a.prototype=new c;a.prototype.constructor=a};function fa(a){", + L"var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}function ga(a){for", + L"(var b=1;b\")!=-1&&(a=a.re", + L"place(la,\">\"));a.indexOf('\"')!=-1&&(a=a.replace(ma,\""\"));", + L"return a}\nvar ja=/&/g,ka=//g,ma=/\\\"/g,ia=/[&<>\\\"]/;funct", + L"ion na(a,b){if(ab)return 1;return 0}var oa=Math.", + L"random()*2147483648|0,pa={};function qa(a){return pa[a]||(pa[a]=String", + L"(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()}))};var", + L" ra,sa,ta,ua=q.navigator;ta=ua&&ua.platform||\"\";ra=ta.indexOf(\"Mac", + L"\")!=-1;sa=ta.indexOf(\"Win\")!=-1;var va=ta.indexOf(\"Linux\")!=-1,wa", + L";var xa=\"\",ya=/MSIE\\s+([^\\);]+)(\\)|;)/.exec(q.navigator?q.navigat", + L"or.userAgent:i),xa=ya?ya[1]:\"\",za,Aa=q.document;za=Aa?Aa.documentMod", + L"e:h;wa=za>parseFloat(xa)?String(za):xa;var Ba={};\nfunction y(a){var b", + L";if(!(b=Ba[a])){b=0;for(var c=x(String(wa)).split(\".\"),d=x(String(a)", + L").split(\".\"),e=Math.max(c.length,d.length),f=0;b==0&&f=0}return b}var Ca={};\nfunction Da(){return Ca[9]||(Ca[9]=document", + L".documentMode&&document.documentMode>=9)};var Ea=window;function z(a){", + L"this.stack=Error().stack||\"\";if(a)this.message=String(a)}w(z,Error);", + L"z.prototype.name=\"CustomError\";function Fa(a,b){for(var c in a)b.cal", + L"l(h,a[c],c,a)}var Ga=[\"constructor\",\"hasOwnProperty\",\"isPrototype", + L"Of\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueO", + L"f\"];function Ha(a){for(var b,c,d=1;d=0||(d.push(c[f]),e++);d=e==c.length;a.cla", + L"ssName=b.join(\" \");return d};function bb(a,b){this.width=a;this.heig", + L"ht=b}bb.prototype.toString=function(){return\"(\"+this.width+\" x \"+t", + L"his.height+\")\"};bb.prototype.floor=function(){this.width=Math.floor(", + L"this.width);this.height=Math.floor(this.height);return this};var D=3;f", + L"unction E(a){return a?new db(F(a)):Za||(Za=new db)}function eb(a,b){Fa", + L"(b,function(b,d){d==\"style\"?a.style.cssText=b:d==\"class\"?a.classNa", + L"me=b:d==\"for\"?a.htmlFor=b:d in fb?a.setAttribute(fb[d],b):a[d]=b})}v", + L"ar fb={cellpadding:\"cellPadding\",cellspacing:\"cellSpacing\",colspan", + L":\"colSpan\",rowspan:\"rowSpan\",valign:\"vAlign\",height:\"height\",w", + L"idth:\"width\",usemap:\"useMap\",frameborder:\"frameBorder\",maxlength", + L":\"maxLength\",type:\"type\"};function gb(a){return a?a.parentWindow||", + L"a.defaultView:window}\nfunction hb(a,b,c){function d(c){c&&b.appendChi", + L"ld(u(c)?a.createTextNode(c):c)}for(var e=2;e0)?C(ib(f)?Xa(f):f,d):d(f)}}function jb(a){", + L"return a&&a.parentNode?a.parentNode.removeChild(a):i}function G(a,b){i", + L"f(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.com", + L"pareDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDocu", + L"mentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunctio", + L"n kb(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compa", + L"reDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"s", + L"ourceIndex\"in a.parentNode){var c=a.nodeType==1,d=b.nodeType==1;if(c&", + L"&d)return a.sourceIndex-b.sourceIndex;else{var e=a.parentNode,f=b.pare", + L"ntNode;if(e==f)return lb(a,b);if(!c&&G(e,b))return-1*mb(a,b);if(!d&&G(", + L"f,a))return mb(b,a);return(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceI", + L"ndex:f.sourceIndex)}}d=F(a);c=d.createRange();c.selectNode(a);c.collap", + L"se(!0);d=\nd.createRange();d.selectNode(b);d.collapse(!0);return c.com", + L"pareBoundaryPoints(q.Range.START_TO_END,d)}function mb(a,b){var c=a.pa", + L"rentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;", + L"return lb(d,a)}function lb(a,b){for(var c=b;c=c.previousSibling;)if(c=", + L"=a)return-1;return 1}\nfunction nb(){var a,b=arguments.length;if(b){if", + L"(b==1)return arguments[0]}else return i;var c=[],d=Infinity;for(a=0;a<", + L"b;a++){for(var e=[],f=arguments[a];f;)e.unshift(f),f=f.parentNode;c.pu", + L"sh(e);d=Math.min(d,e.length)}e=i;for(a=0;a=0&&(d[e++]=j);d.length=e;c=", + L"d}else c=a;return c}\np.W=function(){var a=this.r,b=arguments,c=b[0],d", + L"=b[1];if(!$a&&d&&(d.name||d.type)){c=[\"<\",c];d.name&&c.push(' name=", + L"\"',ha(d.name),'\"');if(d.type){c.push(' type=\"',ha(d.type),'\"');var", + L" e={};Ha(e,d);d=e;delete d.type}c.push(\">\");c=c.join(\"\")}c=a.creat", + L"eElement(c);if(d)u(d)?c.className=d:s(d)==\"array\"?ab.apply(i,[c].con", + L"cat(d)):eb(c,d);b.length>2&&hb(a,c,b);return c};p.createElement=functi", + L"on(a){return this.r.createElement(a)};p.createTextNode=function(a){ret", + L"urn this.r.createTextNode(a)};\np.fa=function(){return this.r.parentWi", + L"ndow||this.r.defaultView};p.appendChild=function(a,b){a.appendChild(b)", + L"};p.removeNode=jb;p.contains=G;var rb={ca:function(a,b,c){var d=F(a);i", + L"f(!d.implementation.hasFeature(\"XPath\",\"3.0\"))return i;var e=d.cre", + L"ateNSResolver(d.documentElement);return d.evaluate(b,a,e,c,i)},B:funct", + L"ion(a,b){var c=function(b,c){var f=F(b);if(b.selectSingleNode)return f", + L".setProperty&&f.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectS", + L"ingleNode(c);try{var j=rb.ca(b,c,9);return j?j.singleNodeValue:i}catch", + L"(k){g(Error(32,\"Unable to locate an element with the xpath expression", + L" \"+a))}}(b,a);if(!c)return i;c.nodeType!=1&&g(Error(\"Returned node i", + L"s not an element: \"+\na));return c},s:function(a,b){var c=function(b,", + L"c){var f=F(b);if(b.selectNodes)return f.setProperty&&f.setProperty(\"S", + L"electionLanguage\",\"XPath\"),b.selectNodes(c);var f=[],j;try{j=rb.ca(", + L"b,c,7)}catch(k){g(Error(32,\"Unable to locate elements with the xpath ", + L"expression \"+c))}if(j)for(var l=j.snapshotLength,r=0;r=a.length&&g(I),b in a)return a[b++];else b++};return", + L" c}g(Error(\"Not implemented\"))};function J(a,b,c,d,e){this.n=!!b;a&&", + L"K(this,a,d);this.v=e!=h?e:this.p||0;this.n&&(this.v*=-1);this.la=!c}w(", + L"J,sb);p=J.prototype;p.o=i;p.p=0;p.$=!1;function K(a,b,c,d){if(a.o=b)a.", + L"p=typeof c==\"number\"?c:a.o.nodeType!=1?0:a.n?-1:1;if(typeof d==\"num", + L"ber\")a.v=d}\np.next=function(){var a;if(this.$){(!this.o||this.la&&th", + L"is.v==0)&&g(I);a=this.o;var b=this.n?-1:1;if(this.p==b){var c=this.n?a", + L".lastChild:a.firstChild;c?K(this,c):K(this,a,b*-1)}else(c=this.n?a.pre", + L"viousSibling:a.nextSibling)?K(this,c):K(this,a.parentNode,b*-1);this.v", + L"+=this.p*(this.n?-1:1)}else this.$=!0;(a=this.o)||g(I);return a};\np.s", + L"plice=function(){var a=this.o,b=this.n?1:-1;if(this.p==b)this.p=b*-1,t", + L"his.v+=this.p*(this.n?-1:1);this.n=!this.n;J.prototype.next.call(this)", + L";this.n=!this.n;for(var b=aa(arguments[0])?arguments[0]:arguments,c=b.", + L"length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextS", + L"ibling);jb(a)};function ub(a,b,c,d){J.call(this,a,b,c,i,d)}w(ub,J);ub.", + L"prototype.next=function(){do ub.U.next.call(this);while(this.p==-1);re", + L"turn this.o};function vb(a,b){var c=F(a);if(c.defaultView&&c.defaultVi", + L"ew.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,i)))return c[", + L"b]||c.getPropertyValue(b);return\"\"};function L(a,b){return!!a&&a.nod", + L"eType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar wb=[\"async\",\"autof", + L"ocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",", + L"\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disable", + L"d\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indetermin", + L"ate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multipl", + L"e\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"now", + L"rap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reve", + L"rsed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\"", + L",\"truespeed\",\"willvalidate\"];\nfunction M(a,b){if(8==a.nodeType)re", + L"turn i;b=b.toLowerCase();if(b==\"style\"){var c=x(a.style.cssText).toL", + L"owerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttribu", + L"teNode(b);!c&&y(8)&&B(wb,b)>=0&&(c=a[b]);if(!c)return i;if(B(wb,b)>=0)", + L"return c.value==\"false\"?i:\"true\";return c.specified?c.value:i}func", + L"tion xb(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeT", + L"ype!=11;)a=a.parentNode;return L(a)?a:i}function N(a,b){b=qa(b);return", + L" vb(a,b)||yb(a,b)}\nfunction yb(a,b){var c=(a.currentStyle||a.style)[b", + L"];if(c!=\"inherit\")return c!==h?c:i;return(c=xb(a))?yb(c,b):i}\nfunct", + L"ion zb(a){if(v(a.getBBox))return a.getBBox();var b;if((vb(a,\"display", + L"\")||(a.currentStyle?a.currentStyle.display:i)||a.style.display)!=\"no", + L"ne\")b=new bb(a.offsetWidth,a.offsetHeight);else{b=a.style;var c=b.dis", + L"play,d=b.visibility,e=b.position;b.visibility=\"hidden\";b.position=\"", + L"absolute\";b.display=\"inline\";var f=a.offsetWidth,a=a.offsetHeight;b", + L".display=c;b.position=e;b.visibility=d;b=new bb(f,a)}return b}\nfuncti", + L"on Ab(a,b){function c(a){if(N(a,\"display\")==\"none\")return!1;a=xb(a", + L");return!a||c(a)}function d(a){var b=zb(a);if(b.height>0&&b.width>0)re", + L"turn!0;return Ta(a.childNodes,function(a){return a.nodeType==D||L(a)&&", + L"d(a)})}L(a)||g(Error(\"Argument to isShown must be of type Element\"))", + L";if(L(a,\"TITLE\"))return gb(F(a))==Ea;if(L(a,\"OPTION\")||L(a,\"OPTGR", + L"OUP\")){var e=qb(a,function(a){return L(a,\"SELECT\")});return!!e&&Ab(", + L"e,b)}if(L(a,\"MAP\")){if(!a.name)return!1;e=F(a);e=e.evaluate?rb.B('/d", + L"escendant::*[@usemap = \"#'+\na.name+'\"]',e):ob(e,function(b){return ", + L"L(b)&&M(b,\"usemap\")==\"#\"+a.name});return!!e&&Ab(e,b)}if(L(a,\"AREA", + L"\"))return e=qb(a,function(a){return L(a,\"MAP\")}),!!e&&Ab(e,b);if(L(", + L"a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(N(a,\"visib", + L"ility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&Bb(a)==0)return", + L"!1;if(!d(a))return!1;return!0}function Cb(a){return a.replace(/^[^\\S", + L"\\xa0]+|[^\\S\\xa0]+$/g,\"\")}function Db(a){var b=[];Eb(a,b);b=Sa(b,C", + L"b);return Cb(b.join(\"\\n\")).replace(/\\xa0/g,\" \")}\nfunction Eb(a,", + L"b){if(L(a,\"BR\"))b.push(\"\");else{var c=L(a,\"TD\"),d=N(a,\"display", + L"\"),e=!c&&!(B(Fb,d)>=0);e&&!/^[\\s\\xa0]*$/.test(A(b)||\"\")&&b.push(", + L"\"\");var f=Ab(a),j=i,k=i;f&&(j=N(a,\"white-space\"),k=N(a,\"text-tran", + L"sform\"));C(a.childNodes,function(a){a.nodeType==D&&f?Gb(a,b,j,k):L(a)", + L"&&Eb(a,b)});var l=A(b)||\"\";if((c||d==\"table-cell\")&&l&&!fa(l))b[b.", + L"length-1]+=\" \";e&&!/^[\\s\\xa0]*$/.test(l)&&b.push(\"\")}}var Fb=[\"", + L"inline\",\"inline-block\",\"inline-table\",\"none\",\"table-cell\",\"t", + L"able-column\",\"table-column-group\"];\nfunction Gb(a,b,c,d){a=a.nodeV", + L"alue.replace(/\\u200b/g,\"\");a=a.replace(/(\\r\\n|\\r|\\n)/g,\"\\n\")", + L";if(c==\"normal\"||c==\"nowrap\")a=a.replace(/\\n/g,\" \");a=c==\"pre", + L"\"||c==\"pre-wrap\"?a.replace(/\\f\\t\\v\\u2028\\u2029/,\" \"):a.repla", + L"ce(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");d==\"capitalize\"?a=a.repla", + L"ce(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCase()}):d==\"upp", + L"ercase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=a.toLowerCase());c=b.p", + L"op()||\"\";fa(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(1));b.push(c+", + L"a)}\nfunction Bb(a){if(N(a,\"position\")==\"relative\")return 1;a=N(a,", + L"\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^", + L"progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(", + L"a[1])/100:1};var Hb=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseo", + L"ut\"];\nfunction O(a,b,c){var d=F(a),e=c||{},c=e.clientX||0,f=e.client", + L"Y||0,j=e.button||0,k=!!e.alt,l=!!e.control,r=!!e.shift,o=!!e.meta,t=i;", + L"B(Hb,b)>=0&&(t=e.related||i,!t&&b==\"mouseover\"&&(t=xb(a)),!t&&b==\"m", + L"ouseout\"&&(t=a));d=d.createEventObject();d.altKey=k;d.va=l;d.metaKey=", + L"o;d.shiftKey=r;d.clientX=c;d.clientY=f;d.button=j;b==\"mouseout\"?(d.f", + L"romElement=a,d.toElement=t):b==\"mouseover\"?(d.fromElement=t,d.toElem", + L"ent=a):(d.fromElement=i,d.toElement=i);return d}\nfunction Ib(a,b,c){v", + L"ar d=c||{},b=d.keyCode||0,c=!!d.alt,e=!!d.ctrl,f=!!d.shift,d=!!d.meta,", + L"a=F(a).createEventObject();a.keyCode=b;a.altKey=c;a.ctrlKey=e;a.metaKe", + L"y=d;a.shiftKey=f;return a}\nfunction Jb(a,b,c){var d=F(a),e=c||{},c=e.", + L"bubble!==!1,f=!!e.alt,j=!!e.control,k=!!e.shift,e=!!e.meta;a.fireEvent", + L"&&d&&d.createEventObject?(a=d.createEventObject(),a.altKey=f,a.wa=j,a.", + L"metaKey=e,a.shiftKey=k):(a=d.createEvent(\"HTMLEvents\"),a.initEvent(b", + L",c,!0),a.shiftKey=k,a.metaKey=e,a.altKey=f,a.ctrlKey=j);return a}var P", + L"={};P.click=O;P.keydown=Ib;P.keypress=Ib;P.keyup=Ib;P.mousedown=O;P.mo", + L"usemove=O;P.mouseout=O;P.mouseover=O;P.mouseup=O;\nfunction Kb(a){var ", + L"b=(P.submit||Jb)(a,\"submit\",h);if(!(\"isTrusted\"in b))b.Aa=!1;retur", + L"n a.fireEvent(\"onsubmit\",b)};var Lb={};function Q(a,b,c){ba(a)&&(a=a", + L".e);a=new Mb(a,b,c);if(b&&(!(b in Lb)||c))Lb[b]={key:a,shift:!1},c&&(L", + L"b[c]={key:a,shift:!0})}function Mb(a,b,c){this.code=a;this.ka=b||i;thi", + L"s.Fa=c||this.ka}Q(8);Q(9);Q(13);Q(16);Q(17);Q(18);Q(19);Q(20);Q(27);Q(", + L"32,\" \");Q(33);Q(34);Q(35);Q(36);Q(37);Q(38);Q(39);Q(40);Q(44);Q(45);", + L"Q(46);Q(48,\"0\",\")\");Q(49,\"1\",\"!\");Q(50,\"2\",\"@\");Q(51,\"3\"", + L",\"#\");Q(52,\"4\",\"$\");Q(53,\"5\",\"%\");Q(54,\"6\",\"^\");Q(55,\"7", + L"\",\"&\");Q(56,\"8\",\"*\");Q(57,\"9\",\"(\");Q(65,\"a\",\"A\");Q(66,", + L"\"b\",\"B\");Q(67,\"c\",\"C\");\nQ(68,\"d\",\"D\");Q(69,\"e\",\"E\");Q", + L"(70,\"f\",\"F\");Q(71,\"g\",\"G\");Q(72,\"h\",\"H\");Q(73,\"i\",\"I\")", + L";Q(74,\"j\",\"J\");Q(75,\"k\",\"K\");Q(76,\"l\",\"L\");Q(77,\"m\",\"M", + L"\");Q(78,\"n\",\"N\");Q(79,\"o\",\"O\");Q(80,\"p\",\"P\");Q(81,\"q\",", + L"\"Q\");Q(82,\"r\",\"R\");Q(83,\"s\",\"S\");Q(84,\"t\",\"T\");Q(85,\"u", + L"\",\"U\");Q(86,\"v\",\"V\");Q(87,\"w\",\"W\");Q(88,\"x\",\"X\");Q(89,", + L"\"y\",\"Y\");Q(90,\"z\",\"Z\");Q(sa?{g:91,e:91,opera:219}:ra?{g:224,e:", + L"91,opera:17}:{g:0,e:91,opera:i});Q(sa?{g:92,e:92,opera:220}:ra?{g:224,", + L"e:93,opera:17}:{g:0,e:92,opera:i});\nQ(sa?{g:93,e:93,opera:0}:ra?{g:0,", + L"e:0,opera:16}:{g:93,e:i,opera:0});Q({g:96,e:96,opera:48},\"0\");Q({g:9", + L"7,e:97,opera:49},\"1\");Q({g:98,e:98,opera:50},\"2\");Q({g:99,e:99,ope", + L"ra:51},\"3\");Q({g:100,e:100,opera:52},\"4\");Q({g:101,e:101,opera:53}", + L",\"5\");Q({g:102,e:102,opera:54},\"6\");Q({g:103,e:103,opera:55},\"7\"", + L");Q({g:104,e:104,opera:56},\"8\");Q({g:105,e:105,opera:57},\"9\");Q({g", + L":106,e:106,opera:va?56:42},\"*\");Q({g:107,e:107,opera:va?61:43},\"+\"", + L");Q({g:109,e:109,opera:va?109:45},\"-\");Q({g:110,e:110,opera:va?190:7", + L"8},\".\");\nQ({g:111,e:111,opera:va?191:47},\"/\");Q(144);Q(112);Q(113", + L");Q(114);Q(115);Q(116);Q(117);Q(118);Q(119);Q(120);Q(121);Q(122);Q(123", + L");Q({g:107,e:187,opera:61},\"=\",\"+\");Q({g:109,e:189,opera:109},\"-", + L"\",\"_\");Q(188,\",\",\"<\");Q(190,\".\",\">\");Q(191,\"/\",\"?\");Q(1", + L"92,\"`\",\"~\");Q(219,\"[\",\"{\");Q(220,\"\\\\\",\"|\");Q(221,\"]\",", + L"\"}\");Q({g:59,e:186,opera:59},\";\",\":\");Q(222,\"'\",'\"');function", + L" Nb(){Ob&&(this[ca]||(this[ca]=++da))}var Ob=!1;function Pb(a){return ", + L"Qb(a||arguments.callee.caller,[])}\nfunction Qb(a,b){var c=[];if(B(b,a", + L")>=0)c.push(\"[...circular reference...]\");else if(a&&b.length<50){c.", + L"push(Rb(a)+\"(\");for(var d=a.arguments,e=0;e0&&c.pus", + L"h(\", \");var f;f=d[e];switch(typeof f){case \"object\":f=f?\"object\"", + L":\"null\";break;case \"string\":break;case \"number\":f=String(f);brea", + L"k;case \"boolean\":f=f?\"true\":\"false\";break;case \"function\":f=(f", + L"=Rb(f))?f:\"[fn]\";break;default:f=typeof f}f.length>40&&(f=f.substr(0", + L",40)+\"...\");c.push(f)}b.push(a);c.push(\")\\n\");try{c.push(Qb(a.cal", + L"ler,b))}catch(j){c.push(\"[exception trying to get caller]\\n\")}}else", + L" a?\nc.push(\"[...long stack...]\"):c.push(\"[end]\");return c.join(\"", + L"\")}function Rb(a){a=String(a);if(!Sb[a]){var b=/function ([^\\(]+)/.e", + L"xec(a);Sb[a]=b?b[1]:\"[Anonymous]\"}return Sb[a]}var Sb={};function R(", + L"a,b,c,d,e){this.reset(a,b,c,d,e)}R.prototype.ra=0;R.prototype.ea=i;R.p", + L"rototype.da=i;var Tb=0;R.prototype.reset=function(a,b,c,d,e){this.ra=t", + L"ypeof e==\"number\"?e:Tb++;this.Ga=d||ea();this.L=a;this.pa=b;this.Ca=", + L"c;delete this.ea;delete this.da};R.prototype.ia=function(a){this.L=a};", + L"function S(a){this.qa=a}S.prototype.S=i;S.prototype.L=i;S.prototype.V=", + L"i;S.prototype.ga=i;function Ub(a,b){this.name=a;this.value=b}Ub.protot", + L"ype.toString=m(\"name\");var Vb=new Ub(\"SEVERE\",1E3),Wb=new Ub(\"WAR", + L"NING\",900),Xb=new Ub(\"CONFIG\",700);S.prototype.getParent=m(\"S\");S", + L".prototype.ia=function(a){this.L=a};function Yb(a){if(a.L)return a.L;i", + L"f(a.S)return Yb(a.S);Pa(\"Root logger has no level set.\");return i}\n", + L"S.prototype.log=function(a,b,c){if(a.value>=Yb(this).value){a=this.na(", + L"a,b,c);q.console&&q.console.markTimeline&&q.console.markTimeline(\"log", + L":\"+a.pa);for(b=this;b;){var c=b,d=a;if(c.ga)for(var e=0,f=h;f=c.ga[e]", + L";e++)f(d);b=b.getParent()}}};\nS.prototype.na=function(a,b,c){var d=ne", + L"w R(a,String(b),this.qa);if(c){d.ea=c;var e;var f=arguments.callee.cal", + L"ler;try{var j;var k;c:{for(var l=\"window.location.href\".split(\".\")", + L",r=q,o;o=l.shift();)if(r[o]!=i)r=r[o];else{k=i;break c}k=r}if(u(c))j={", + L"message:c,name:\"Unknown error\",lineNumber:\"Not available\",fileName", + L":k,stack:\"Not available\"};else{var t,cb,l=!1;try{t=c.lineNumber||c.B", + L"a||\"Not available\"}catch(Qc){t=\"Not available\",l=!0}try{cb=c.fileN", + L"ame||c.filename||c.sourceURL||k}catch(Rc){cb=\"Not available\",\nl=!0}", + L"j=l||!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.na", + L"me,lineNumber:t,fileName:cb,stack:c.stack||\"Not available\"}:c}e=\"Me", + L"ssage: \"+ha(j.message)+'\\nUrl: '+j.fileName+\"\\nLine: \"+j.lineNumber+\"\\n", + L"\\nBrowser stack:\\n\"+ha(j.stack+\"-> \")+\"[end]\\n\\nJS stack trave", + L"rsal:\\n\"+ha(Pb(f)+\"-> \")}catch(Mc){e=\"Exception trying to expose ", + L"exception! You win, we lose. \"+Mc}d.da=e}return d};var Zb={},$b=i;\nf", + L"unction ac(a){$b||($b=new S(\"\"),Zb[\"\"]=$b,$b.ia(Xb));var b;if(!(b=", + L"Zb[a])){b=new S(a);var c=a.lastIndexOf(\".\"),d=a.substr(c+1),c=ac(a.s", + L"ubstr(0,c));if(!c.V)c.V={};c.V[d]=b;b.S=c;Zb[a]=b}return b};function b", + L"c(){Nb.call(this)}w(bc,Nb);ac(\"goog.dom.SavedRange\");w(function(a){N", + L"b.call(this);this.sa=\"goog_\"+oa++;this.ma=\"goog_\"+oa++;this.ba=E(a", + L".X());a.O(this.ba.W(\"SPAN\",{id:this.sa}),this.ba.W(\"SPAN\",{id:this", + L".ma}))},bc);function T(){}function cc(a){if(a.getSelection)return a.ge", + L"tSelection();else{var a=a.document,b=a.selection;if(b){try{var c=b.cre", + L"ateRange();if(c.parentElement){if(c.parentElement().document!=a)return", + L" i}else if(!c.length||c.item(0).document!=a)return i}catch(d){return i", + L"}return b}return i}}function dc(a){for(var b=[],c=0,d=a.D();c=0&&this.l(d,1,0)<=0:this.l(d,0,0)>=0&&this.l(d,1,1", + L")<=0}catch(e){return!1}};hc.prototype.containsNode=function(a,b){retur", + L"n this.u(fc(a),b)};hc.prototype.C=function(){return new gc(this.b(),th", + L"is.j(),this.i(),this.k())};function W(a){this.a=a}w(W,hc);p=W.prototyp", + L"e;p.w=function(){return this.a.commonAncestorContainer};p.b=function()", + L"{return this.a.startContainer};p.j=function(){return this.a.startOffse", + L"t};p.i=function(){return this.a.endContainer};p.k=function(){return th", + L"is.a.endOffset};p.l=function(a,b,c){return this.a.compareBoundaryPoint", + L"s(c==1?b==1?q.Range.START_TO_START:q.Range.START_TO_END:b==1?q.Range.E", + L"ND_TO_START:q.Range.END_TO_END,a)};p.isCollapsed=function(){return thi", + L"s.a.collapsed};\np.select=function(a){this.T(gb(F(this.b())).getSelect", + L"ion(),a)};p.T=function(a){a.removeAllRanges();a.addRange(this.a)};p.in", + L"sertNode=function(a,b){var c=this.a.cloneRange();c.collapse(b);c.inser", + L"tNode(a);c.detach();return a};\np.O=function(a,b){var c=gb(F(this.b())", + L");if(c=(c=cc(c||window))&&ic(c))var d=c.b(),e=c.i(),f=c.j(),j=c.k();va", + L"r k=this.a.cloneRange(),l=this.a.cloneRange();k.collapse(!1);l.collaps", + L"e(!0);k.insertNode(b);l.insertNode(a);k.detach();l.detach();if(c){if(d", + L".nodeType==D)for(;f>d.length;){f-=d.length;do d=d.nextSibling;while(d=", + L"=a||d==b)}if(e.nodeType==D)for(;j>e.length;){j-=e.length;do e=e.nextSi", + L"bling;while(e==a||e==b)}c=new jc;c.G=kc(d,f,e,j);if(d.tagName==\"BR\")", + L"k=d.parentNode,f=B(k.childNodes,d),d=k;if(e.tagName==\n\"BR\")k=e.pare", + L"ntNode,j=B(k.childNodes,e),e=k;c.G?(c.d=e,c.h=j,c.c=d,c.f=f):(c.d=d,c.", + L"h=f,c.c=e,c.f=j);c.select()}};p.collapse=function(a){this.a.collapse(a", + L")};function lc(a){this.a=a}w(lc,W);lc.prototype.T=function(a,b){var c=", + L"b?this.i():this.b(),d=b?this.k():this.j(),e=b?this.b():this.i(),f=b?th", + L"is.j():this.k();a.collapse(c,d);(c!=e||d!=f)&&a.extend(e,f)};function ", + L"mc(a,b){this.a=a;this.xa=b}w(mc,hc);var nc=ac(\"goog.dom.browserrange.", + L"IeRange\");function oc(a){var b=F(a).body.createTextRange();if(a.nodeT", + L"ype==1)b.moveToElementText(a),X(a)&&!a.childNodes.length&&b.collapse(!", + L"1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d.nodeType;if(e==D", + L")c+=d.length;else if(e==1){b.moveToElementText(d);break}}d||b.moveToEl", + L"ementText(a.parentNode);b.collapse(!d);c&&b.move(\"character\",c);b.mo", + L"veEnd(\"character\",a.length)}return b}p=mc.prototype;p.A=i;p.d=i;p.c=", + L"i;p.h=-1;\np.f=-1;p.q=function(){this.A=this.d=this.c=i;this.h=this.f=", + L"-1};\np.w=function(){if(!this.A){var a=this.a.text,b=this.a.duplicate(", + L"),c=a.replace(/ +$/,\"\");(c=a.length-c.length)&&b.moveEnd(\"character", + L"\",-c);c=b.parentElement();b=b.htmlText.replace(/(\\r\\n|\\r|\\n)+/g,", + L"\" \").length;if(this.isCollapsed()&&b>0)return this.A=c;for(;b>c.oute", + L"rHTML.replace(/(\\r\\n|\\r|\\n)+/g,\" \").length;)c=c.parentNode;for(;", + L"c.childNodes.length==1&&c.innerText==(c.firstChild.nodeType==D?c.first", + L"Child.nodeValue:c.firstChild.innerText);){if(!X(c.firstChild))break;c=", + L"c.firstChild}a.length==0&&(c=pc(this,\nc));this.A=c}return this.A};fun", + L"ction pc(a,b){for(var c=b.childNodes,d=0,e=c.length;d=0&&a.l(j,1,0)<=0:a.a.inRange(j))return pc(a,f)}}return b}", + L"p.b=function(){if(!this.d&&(this.d=qc(this,1),this.isCollapsed()))this", + L".c=this.d;return this.d};p.j=function(){if(this.h<0&&(this.h=rc(this,1", + L"),this.isCollapsed()))this.f=this.h;return this.h};\np.i=function(){if", + L"(this.isCollapsed())return this.b();if(!this.c)this.c=qc(this,0);retur", + L"n this.c};p.k=function(){if(this.isCollapsed())return this.j();if(this", + L".f<0&&(this.f=rc(this,0),this.isCollapsed()))this.h=this.f;return this", + L".f};p.l=function(a,b,c){return this.a.compareEndPoints((b==1?\"Start\"", + L":\"End\")+\"To\"+(c==1?\"Start\":\"End\"),a)};\nfunction qc(a,b,c){c=c", + L"||a.w();if(!c||!c.firstChild)return c;for(var d=b==1,e=0,f=c.childNode", + L"s.length;e0)return qc(a,b,k)}return c}\nfunction rc(a,b){var c=b==1,d=c?a", + L".b():a.i();if(d.nodeType==1){for(var d=d.childNodes,e=d.length,f=c?1:-", + L"1,j=c?0:e-1;j>=0&&jj.childNodes.length&&nc.log(Vb,\"Ca", + L"nnot have startOffset > startNode child count\",h),k=j.childNodes[k],r", + L"=!k,j=k||j.lastChild||j,k=0);var o=oc(j);k&&o.move(\"character\",k);j=", + L"=l&&k==f?o.collapse(!0):(r&&o.collapse(!1),r=!1,l.nodeType==1&&(f>l.ch", + L"ildNodes.length&&nc.log(Vb,\"Cannot have endOffset > endNode child cou", + L"nt\",\nh),t=(k=l.childNodes[f])||l.lastChild||l,l=t,f=0,r=!k),j=oc(l),", + L"j.collapse(!r),f&&j.moveEnd(\"character\",f),o.setEndPoint(\"EndToEnd", + L"\",j));f=new mc(o,F(b));f.d=b;f.h=c;f.c=d;f.f=e;b=f}b=a.J=b}return b}p", + L".w=function(){return Y(this).w()};p.b=function(){return this.d||(this.", + L"d=Y(this).b())};p.j=function(){return this.h!=i?this.h:this.h=Y(this).", + L"j()};p.i=function(){return this.c||(this.c=Y(this).i())};p.k=function(", + L"){return this.f!=i?this.f:this.f=Y(this).k()};p.F=m(\"G\");\np.u=funct", + L"ion(a,b){var c=a.Y();if(c==\"text\")return Y(this).u(Y(a),b);else if(c", + L"==\"control\")return c=wc(a),(b?Ta:Ua)(c,function(a){return this.conta", + L"insNode(a,b)},this);return!1};p.isCollapsed=function(){return Y(this).", + L"isCollapsed()};p.C=function(){return new gc(this.b(),this.j(),this.i()", + L",this.k())};p.select=function(){Y(this).select(this.G)};p.insertNode=f", + L"unction(a,b){var c=Y(this).insertNode(a,b);this.q();return c};p.O=func", + L"tion(a,b){Y(this).O(a,b);this.q()};p.Z=function(){return new xc(this)}", + L";\np.collapse=function(a){a=this.F()?!a:a;this.J&&this.J.collapse(a);a", + L"?(this.c=this.d,this.f=this.h):(this.d=this.c,this.h=this.f);this.G=!1", + L"};function xc(a){this.ta=a.F()?a.i():a.b();this.ua=a.F()?a.k():a.j();t", + L"his.ya=a.F()?a.b():a.i();this.za=a.F()?a.j():a.k()}w(xc,bc);function y", + L"c(){}w(yc,V);p=yc.prototype;p.a=i;p.m=i;p.N=i;p.q=function(){this.N=th", + L"is.m=i};p.Y=n(\"control\");p.R=function(){return this.a||document.body", + L".createControlRange()};p.D=function(){return this.a?this.a.length:0};p", + L".z=function(a){a=this.a.item(a);return ec(fc(a),h)};p.w=function(){ret", + L"urn nb.apply(i,wc(this))};p.b=function(){return zc(this)[0]};p.j=n(0);", + L"p.i=function(){var a=zc(this),b=A(a);return Va(a,function(a){return G(", + L"a,b)})};p.k=function(){return this.i().childNodes.length};\nfunction w", + L"c(a){if(!a.m&&(a.m=[],a.a))for(var b=0;b1&&this.oa.log(Wb,\"getBrowserRangeObject called on MultiRan", + L"ge with more than 1 range\",h);return this.t[0]};p.D=function(){return", + L" this.t.length};p.z=function(a){this.M[a]||(this.M[a]=ec(vc(this.t[a])", + L",h));return this.M[a]};\np.w=function(){if(!this.P){for(var a=[],b=0,c", + L"=this.D();b1){b=new Cc;for(var c=0,e=a.rangeCount;c0};var Gc={aa:function(a){", + L"return a.querySelectorAll&&a.querySelector}};Gc.B=function(a,b){a||g(E", + L"rror(\"No class name specified\"));a=x(a);a.split(/\\s+/).length>1&&g(", + L"Error(\"Compound class names not permitted\"));if(Gc.aa(b))return b.qu", + L"erySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||i;var c=H(E(b),\"*\",a", + L",b);return c.length?c[0]:i};\nGc.s=function(a,b){a||g(Error(\"No class", + L" name specified\"));a=x(a);a.split(/\\s+/).length>1&&g(Error(\"Compoun", + L"d class names not permitted\"));if(Gc.aa(b))return b.querySelectorAll(", + L"\".\"+a.replace(/\\./g,\"\\\\.\"));return H(E(b),\"*\",a,b)};var Z={},", + L"Hc={};Z.ja=function(a,b,c){b=H(E(b),\"A\",i,b);return Va(b,function(b)", + L"{b=Db(b);return c&&b.indexOf(a)!=-1||b==a})};Z.ha=function(a,b,c){b=H(", + L"E(b),\"A\",i,b);return Ra(b,function(b){b=Db(b);return c&&b.indexOf(a)", + L"!=-1||b==a})};Z.B=function(a,b){return Z.ja(a,b,!1)};Z.s=function(a,b)", + L"{return Z.ha(a,b,!1)};Hc.B=function(a,b){return Z.ja(a,b,!0)};Hc.s=fun", + L"ction(a,b){return Z.ha(a,b,!0)};var Ic={className:Gc,css:{B:function(a", + L",b){!v(b.querySelector)&&y(8)&&!ba(b.querySelector)&&g(Error(\"CSS sel", + L"ection is not supported\"));a||g(Error(\"No selector specified\"));a.s", + L"plit(/,/).length>1&&g(Error(\"Compound selectors not permitted\"));var", + L" a=x(a),c=b.querySelector(a);return c&&c.nodeType==1?c:i},s:function(a", + L",b){!v(b.querySelectorAll)&&y(8)&&!ba(b.querySelector)&&g(Error(\"CSS ", + L"selection is not supported\"));a||g(Error(\"No selector specified\"));", + L"a.split(/,/).length>1&&g(Error(\"Compound selectors not permitted\"));", + L"\na=x(a);return b.querySelectorAll(a)}},id:{B:function(a,b){var c=E(b)", + L",d=u(a)?c.r.getElementById(a):a;if(!d)return i;if(M(d,\"id\")==a&&G(b,", + L"d))return d;c=H(c,\"*\");return Va(c,function(c){return M(c,\"id\")==a", + L"&&G(b,c)})},s:function(a,b){var c=H(E(b),\"*\",i,b);return Ra(c,functi", + L"on(b){return M(b,\"id\")==a})}},linkText:Z,name:{B:function(a,b){var c", + L"=H(E(b),\"*\",i,b);return Va(c,function(b){return M(b,\"name\")==a})},", + L"s:function(a,b){var c=H(E(b),\"*\",i,b);return Ra(c,function(b){return", + L" M(b,\"name\")==a})}},partialLinkText:Hc,\ntagName:{B:function(a,b){re", + L"turn b.getElementsByTagName(a)[0]||i},s:function(a,b){return b.getElem", + L"entsByTagName(a)}},xpath:rb};function Jc(a,b){var c;a:{for(c in a)if(!", + L"Object.prototype[c])break a;c=i}if(c){var d=Ic[c];if(d&&v(d.s))return ", + L"d.s(a[c],b||Ea.document)}g(Error(\"Unsupported locator strategy: \"+c)", + L")};function Kc(a){return L(a,\"FORM\")}function Lc(a){Kc(a)||g(new Ia(", + L"12,\"Element was not in a form, so could not submit.\"));if(Kb(a))if(L", + L"(a.submit))if(y(8))a.constructor.prototype.submit.call(a);else{var b=J", + L"c({id:\"submit\"},a),c=Jc({name:\"submit\"},a);C(b,function(a){a.remov", + L"eAttribute(\"id\")});C(c,function(a){a.removeAttribute(\"name\")});a=a", + L".submit;C(b,function(a){a.setAttribute(\"id\",\"submit\")});C(c,functi", + L"on(a){a.setAttribute(\"name\",\"submit\")});a()}else a.submit()};funct", + L"ion Nc(a){(a=qb(a,Kc,!0))||g(new Ia(12,\"Element was not in a form, so", + L" could not submit.\"));Lc(a)}var Oc=\"_\".split(\".\"),$=q;!(Oc[0]in $", + L")&&$.execScript&&$.execScript(\"var \"+Oc[0]);for(var Pc;Oc.length&&(P", + L"c=Oc.shift());)!Oc.length&&Nc!==h?$[Pc]=Nc:$=$[Pc]?$[Pc]:$[Pc]={};; re", + L"turn this._.apply(null,arguments);}.apply({navigator:typeof window!='u", + L"ndefined'?window.navigator:null}, arguments);}", + NULL +}; + +static inline std::wstring asString(const wchar_t* const atom[]) { + std::wstring source = L""; + for (int i = 0; atom[i] != NULL; i++) { + source += atom[i]; + } + return source; +} + +} // namespace atoms +} // namespace webdriver + +#endif // WEBDRIVER_ATOMS_H_ diff --git a/dotnet/test/WebDriver.Remote.UnitTests/DesiredCapabilitiesTests.cs b/dotnet/test/WebDriver.UnitTests/DesiredCapabilitiesTests.cs similarity index 100% rename from dotnet/test/WebDriver.Remote.UnitTests/DesiredCapabilitiesTests.cs rename to dotnet/test/WebDriver.UnitTests/DesiredCapabilitiesTests.cs diff --git a/dotnet/test/WebDriver.Remote.UnitTests/Properties/AssemblyInfo.cs b/dotnet/test/WebDriver.UnitTests/Properties/AssemblyInfo.cs similarity index 94% rename from dotnet/test/WebDriver.Remote.UnitTests/Properties/AssemblyInfo.cs rename to dotnet/test/WebDriver.UnitTests/Properties/AssemblyInfo.cs index e7b6a58c800dd..48ef2e6c79c8a 100644 --- a/dotnet/test/WebDriver.Remote.UnitTests/Properties/AssemblyInfo.cs +++ b/dotnet/test/WebDriver.UnitTests/Properties/AssemblyInfo.cs @@ -25,7 +25,7 @@ // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Selenium WebDriver Remote Unit tests")] -[assembly: AssemblyDescription("Selenium WebDriver Remote Unit tests")] +[assembly: AssemblyDescription("Selenium WebDriver Unit tests")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Selenium Committers")] [assembly: AssemblyProduct("Selenium")] diff --git a/dotnet/test/WebDriver.Remote.UnitTests/WebDriver.Remote.UnitTests.csproj b/dotnet/test/WebDriver.UnitTests/WebDriver.UnitTests.csproj similarity index 93% rename from dotnet/test/WebDriver.Remote.UnitTests/WebDriver.Remote.UnitTests.csproj rename to dotnet/test/WebDriver.UnitTests/WebDriver.UnitTests.csproj index 3863d221ee489..ce2e41cba95c7 100644 --- a/dotnet/test/WebDriver.Remote.UnitTests/WebDriver.Remote.UnitTests.csproj +++ b/dotnet/test/WebDriver.UnitTests/WebDriver.UnitTests.csproj @@ -8,8 +8,8 @@ {D9387770-DA92-4898-801F-F61255739D38} Library Properties - WebDriver.Remote.UnitTests - WebDriver.Remote.UnitTests + OpenQA.Selenium + WebDriver.UnitTests v4.0 512 diff --git a/dotnet/test/build.desc b/dotnet/test/build.desc index acd8a3e2009ce..cf0f3f5ef2102 100644 --- a/dotnet/test/build.desc +++ b/dotnet/test/build.desc @@ -120,6 +120,24 @@ dotnet_test(name = "android", ], project = "WebDriver.Android.Tests.nunit" ) + +dotnet_test(name = "unit", + srcs = "WebDriver.UnitTests/**/*.cs", + refs = [ + "System.dll", + "System.Core.dll", + "System.Data.dll", + "System.Drawing.dll", + "System.Xml.dll", + "//dotnet:dotnet", + ":common", + "third_party/csharp/nunit-2.5.9/lib/nunit.core.dll", + "third_party/csharp/nunit-2.5.9/lib/nunit.core.interfaces.dll", + "third_party/csharp/nunit-2.5.9/framework/nunit.framework.dll", + ], + out = "build/dotnet/WebDriver.UnitTests.dll", + project = "WebDriver.UnitTests.dll" +) dotnet_test(name = "support", srcs = "WebDriver.Support.Tests/**/*.cs",