From 7c89bbddebf8e40d278d5e00e1b0df270e94b3dc Mon Sep 17 00:00:00 2001 From: Alexei Barantsev Date: Sat, 19 Sep 2015 23:07:49 +0300 Subject: [PATCH] Firefox: implementing mouse doubleclick action via nsIDOMWindowUtils --- cpp/iedriver/Generated/atoms.h | 3026 ++++++++--------- javascript/atoms/action.js | 18 + javascript/atoms/device.js | 6 +- javascript/atoms/mouse.js | 20 +- .../firefox-driver/js/syntheticMouse.js | 12 +- 5 files changed, 1550 insertions(+), 1532 deletions(-) diff --git a/cpp/iedriver/Generated/atoms.h b/cpp/iedriver/Generated/atoms.h index 6d3ca7c5dea94..275f210ab57c5 100644 --- a/cpp/iedriver/Generated/atoms.h +++ b/cpp/iedriver/Generated/atoms.h @@ -36,7 +36,7 @@ const wchar_t* const CLICK[] = { L"]\"==c||\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.property", L"IsEnumerable&&!a.propertyIsEnumerable(\"call\"))return\"function\"}els", L"e return\"null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.ca", - L"ll)return\"object\";return b}function n(a){return\"string\"==typeof a}", + L"ll)return\"object\";return b}function m(a){return\"string\"==typeof a}", L"function da(a){return\"number\"==typeof a}function ea(a){return\"funct", L"ion\"==ca(a)}function fa(a){var b=typeof a;return\"object\"==b&&null!=", L"a||\"function\"==b}function ga(a,b,c){return a.call.apply(a.bind,argum", @@ -56,26 +56,26 @@ const wchar_t* const CLICK[] = { L"function(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")};\nfun", L"ction na(a,b){for(var c=0,d=ma(String(a)).split(\".\"),e=ma(String(b))", L".split(\".\"),f=Math.max(d.length,e.length),g=0;0==c&&gb?1:0}\nfunction pa(a){return Strin", L"g(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()})};var", - L" qa=Array.prototype;function ra(a,b){if(n(a))return n(b)&&1==b.length?", + L" qa=Array.prototype;function ra(a,b){if(m(a))return m(b)&&1==b.length?", L"a.indexOf(b,0):-1;for(var c=0;cc?null:n(a)?a.charAt(c):a[c]}function", + L"r(var d=m(a)?a.split(\"\"):a,e=0;ec?null:m(a)?a.charAt(c):a[c]}function", L" xa(a){return qa.concat.apply(qa,arguments)}\nfunction ya(a,b,c){retur", L"n 2>=arguments.length?qa.slice.call(a,b):qa.slice.call(a,b,c)};var za=", L"{aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquam", @@ -129,34 +129,34 @@ const wchar_t* const CLICK[] = { L",Ca=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Da=/^#(?:[0-9a-f]{3}){1", L",2}$/i,Ea=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(", L"0|1|0\\.\\d*)\\)$/i,Fa=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{", - L"0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function t(a,b){this.code=a;this.a=u", + L"0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function r(a,b){this.code=a;this.a=w", L"[a]||Ga;this.message=b||\"\";var c=this.a.replace(/((?:^|\\s+)[a-z])/g", L",function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d=", L"c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.name=c;", - L"c=Error(this.message);c.name=this.name;this.stack=c.stack||\"\"}p(t,Er", - L"ror);var Ga=\"unknown error\",u={15:\"element not selectable\",11:\"el", - L"ement not visible\"};u[31]=Ga;u[30]=Ga;u[24]=\"invalid cookie domain\"", - L";u[29]=\"invalid element coordinates\";u[12]=\"invalid element state\"", - L";\nu[32]=\"invalid selector\";u[51]=\"invalid selector\";u[52]=\"inval", - L"id selector\";u[17]=\"javascript error\";u[405]=\"unsupported operatio", - L"n\";u[34]=\"move target out of bounds\";u[27]=\"no such alert\";u[7]=", - L"\"no such element\";u[8]=\"no such frame\";u[23]=\"no such window\";u[", - L"28]=\"script timeout\";u[33]=\"session not created\";u[10]=\"stale ele", - L"ment reference\";u[21]=\"timeout\";u[25]=\"unable to set cookie\";u[26", - L"]=\"unexpected alert open\";u[13]=Ga;u[9]=\"unknown command\";t.protot", - L"ype.toString=function(){return this.name+\": \"+this.message};var w;a:", - L"{var Ha=aa.navigator;if(Ha){var Ia=Ha.userAgent;if(Ia){w=Ia;break a}}w", + L"c=Error(this.message);c.name=this.name;this.stack=c.stack||\"\"}p(r,Er", + L"ror);var Ga=\"unknown error\",w={15:\"element not selectable\",11:\"el", + L"ement not visible\"};w[31]=Ga;w[30]=Ga;w[24]=\"invalid cookie domain\"", + L";w[29]=\"invalid element coordinates\";w[12]=\"invalid element state\"", + L";\nw[32]=\"invalid selector\";w[51]=\"invalid selector\";w[52]=\"inval", + L"id selector\";w[17]=\"javascript error\";w[405]=\"unsupported operatio", + L"n\";w[34]=\"move target out of bounds\";w[27]=\"no such alert\";w[7]=", + L"\"no such element\";w[8]=\"no such frame\";w[23]=\"no such window\";w[", + L"28]=\"script timeout\";w[33]=\"session not created\";w[10]=\"stale ele", + L"ment reference\";w[21]=\"timeout\";w[25]=\"unable to set cookie\";w[26", + L"]=\"unexpected alert open\";w[13]=Ga;w[9]=\"unknown command\";r.protot", + L"ype.toString=function(){return this.name+\": \"+this.message};var x;a:", + L"{var Ha=aa.navigator;if(Ha){var Ia=Ha.userAgent;if(Ia){x=Ia;break a}}x", L"=\"\"};function Ja(a){var b=arguments.length;if(1==b&&\"array\"==ca(ar", L"guments[0]))return Ja.apply(null,arguments[0]);for(var c={},d=0;dparseFloat(Oa)){Na=String(Ra);break a}}Na=Oa}var Sa={};f", - L"unction Ta(a){return Sa[a]||(Sa[a]=0<=na(Na,a))}function x(a){return-1", - L"!=w.indexOf(\"Edge\")||Ua>=a}\nvar Va=aa.document,Wa=Ma(),Ua=!Va||!Wa&", - L"&-1!=w.indexOf(\"Edge\")?void 0:Wa||(\"CSS1Compat\"==Va.compatMode?par", + L"unction Ta(a){return Sa[a]||(Sa[a]=0<=na(Na,a))}function y(a){return-1", + L"!=x.indexOf(\"Edge\")||Ua>=a}\nvar Va=aa.document,Wa=Ma(),Ua=!Va||!Wa&", + L"&-1!=x.indexOf(\"Edge\")?void 0:Wa||(\"CSS1Compat\"==Va.compatMode?par", L"seInt(Na,10):5);Ta(\"9\");Ja(\"area base br col command embed hr img i", L"nput keygen link meta param source track wbr\".split(\" \"));function ", L"Xa(a,b,c){return Math.min(Math.max(a,b),c)};function z(a,b){this.x=ba(", @@ -182,7 +182,7 @@ const wchar_t* const CLICK[] = { L"||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)ret", L"urn a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.p", L"arentNode;return b==a}\nfunction cb(a,b){if(a==b)return 0;if(a.compare", - L"DocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(!x(9)){", + L"DocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(!y(9)){", L"if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if(\"sourceIndex\"", L"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeTyp", L"e,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.p", @@ -202,7 +202,7 @@ const wchar_t* const CLICK[] = { L"c||(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}re", L"turn null}function jb(a){this.a=a||aa.document||document}function kb(a", L"){return Za(a.a)}jb.prototype.contains=bb;function lb(a,b,c){this.a=a;", - L"this.b=b||1;this.f=c||1};var mb=!x(9),nb=!x(8);function ob(a,b,c,d){th", + L"this.b=b||1;this.f=c||1};var mb=!y(9),nb=!y(8);function ob(a,b,c,d){th", L"is.a=a;this.nodeName=c;this.nodeValue=d;this.nodeType=2;this.parentNod", L"e=this.ownerElement=b}function pb(a,b){var c=nb&&\"href\"==b.nodeName?", L"a.getAttribute(b.nodeName,2):b.nodeValue;return new ob(b,a,b.nodeName,", @@ -212,7 +212,7 @@ const wchar_t* const CLICK[] = { L"\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+|\\\"[^\\\"", L"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),tb=/^\\s/;function B(a,b){retu", L"rn a.b[a.a+(b||0)]}function C(a){return a.b[a.a++]}function ub(a){retu", - L"rn a.b.length<=a.a};function E(a){var b=null,c=a.nodeType;1==c&&(b=a.t", + L"rn a.b.length<=a.a};function D(a){var b=null,c=a.nodeType;1==c&&(b=a.t", L"extContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"", L"\":b);if(\"string\"!=typeof b)if(mb&&\"title\"==a.nodeName.toLowerCase", L"()&&1==c)b=a.text;else if(9==c||1==c){a=9==c?a.documentElement:a.first", @@ -222,132 +222,132 @@ const wchar_t* const CLICK[] = { L"turn\"\"+b}\nfunction vb(a,b,c){if(null===b)return!0;try{if(!a.getAttr", L"ibute)return!1}catch(d){return!1}nb&&\"class\"==b&&(b=\"className\");r", L"eturn null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function wb(a", - L",b,c,d,e){return(mb?xb:yb).call(null,a,b,n(c)?c:null,n(d)?d:null,e||ne", - L"w F)}\nfunction xb(a,b,c,d,e){if(a instanceof zb||8==a.b||c&&null===a.", + L",b,c,d,e){return(mb?xb:yb).call(null,a,b,m(c)?c:null,m(d)?d:null,e||ne", + L"w E)}\nfunction xb(a,b,c,d,e){if(a instanceof zb||8==a.b||c&&null===a.", L"b){var f=b.all;if(!f)return e;a=Ab(a);if(\"*\"!=a&&(f=b.getElementsByT", L"agName(a),!f))return e;if(c){for(var g=[],k=0;b=f[k++];)vb(b,c,d)&&g.p", - L"ush(b);f=g}for(k=0;b=f[k++];)\"*\"==a&&\"!\"==b.tagName||G(e,b);return", + L"ush(b);f=g}for(k=0;b=f[k++];)\"*\"==a&&\"!\"==b.tagName||F(e,b);return", L" e}Bb(a,b,c,d,e);return e}\nfunction yb(a,b,c,d,e){b.getElementsByClas", L"sName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),q(b,function(b){", - L"b.className==d&&a.a(b)&&G(e,b)})):a instanceof H?Bb(a,b,c,d,e):b.getEl", + L"b.className==d&&a.a(b)&&F(e,b)})):a instanceof H?Bb(a,b,c,d,e):b.getEl", L"ementsByTagName&&(b=b.getElementsByTagName(a.f()),q(b,function(a){vb(a", - L",c,d)&&G(e,a)}));return e}\nfunction Cb(a,b,c,d,e){var f;if((a instanc", + L",c,d)&&F(e,a)}));return e}\nfunction Cb(a,b,c,d,e){var f;if((a instanc", L"eof zb||8==a.b||c&&null===a.b)&&(f=b.childNodes)){var g=Ab(a);if(\"*\"", L"!=g&&(f=sa(f,function(a){return a.tagName&&a.tagName.toLowerCase()==g}", L"),!f))return e;c&&(f=sa(f,function(a){return vb(a,c,d)}));q(f,function", - L"(a){\"*\"==g&&(\"!\"==a.tagName||\"*\"==g&&1!=a.nodeType)||G(e,a)});re", + L"(a){\"*\"==g&&(\"!\"==a.tagName||\"*\"==g&&1!=a.nodeType)||F(e,a)});re", L"turn e}return Db(a,b,c,d,e)}function Db(a,b,c,d,e){for(b=b.firstChild;", - L"b;b=b.nextSibling)vb(b,c,d)&&a.a(b)&&G(e,b);return e}\nfunction Bb(a,b", - L",c,d,e){for(b=b.firstChild;b;b=b.nextSibling)vb(b,c,d)&&a.a(b)&&G(e,b)", + L"b;b=b.nextSibling)vb(b,c,d)&&a.a(b)&&F(e,b);return e}\nfunction Bb(a,b", + L",c,d,e){for(b=b.firstChild;b;b=b.nextSibling)vb(b,c,d)&&a.a(b)&&F(e,b)", L",Bb(a,b,c,d,e)}function Ab(a){if(a instanceof H){if(8==a.b)return\"!\"", - L";if(null===a.b)return\"*\"}return a.f()};function F(){this.b=this.a=nu", + L";if(null===a.b)return\"*\"}return a.f()};function E(){this.b=this.a=nu", L"ll;this.u=0}function Eb(a){this.node=a;this.a=this.b=null}function Fb(", L"a,b){if(!a.a)return b;if(!b.a)return a;for(var c=a.a,d=b.a,e=null,f=nu", L"ll,g=0;c&&d;){var f=c.node,k=d.node;f==k||f instanceof ob&&k instanceo", L"f ob&&f.a==k.a?(f=c,c=c.a,d=d.a):0\",4,2,function(a,b,c){return Qb(fu", - L"nction(a,b){return a>b},a,b,c)});N(\"<=\",4,2,function(a,b,c){return Q", - L"b(function(a,b){return a<=b},a,b,c)});N(\">=\",4,2,function(a,b,c){ret", - L"urn Qb(function(a,b){return a>=b},a,b,c)});var Pb=N(\"=\",3,2,function", - L"(a,b,c){return Qb(function(a,b){return a==b},a,b,c,!0)});N(\"!=\",3,2,", - L"function(a,b,c){return Qb(function(a,b){return a!=b},a,b,c,!0)});N(\"a", - L"nd\",2,2,function(a,b,c){return Nb(a,c)&&Nb(b,c)});N(\"or\",1,2,functi", + L");a=new Rb(a,b,c,d);return Sb[a.toString()]=a}O(\"div\",6,1,function(a", + L",b,c){return M(a,c)/M(b,c)});O(\"mod\",6,1,function(a,b,c){return M(a,", + L"c)%M(b,c)});O(\"*\",6,1,function(a,b,c){return M(a,c)*M(b,c)});O(\"+\"", + L",5,1,function(a,b,c){return M(a,c)+M(b,c)});O(\"-\",5,1,function(a,b,c", + L"){return M(a,c)-M(b,c)});O(\"<\",4,2,function(a,b,c){return Qb(functio", + L"n(a,b){return a\",4,2,function(a,b,c){return Qb(fu", + L"nction(a,b){return a>b},a,b,c)});O(\"<=\",4,2,function(a,b,c){return Q", + L"b(function(a,b){return a<=b},a,b,c)});O(\">=\",4,2,function(a,b,c){ret", + L"urn Qb(function(a,b){return a>=b},a,b,c)});var Pb=O(\"=\",3,2,function", + L"(a,b,c){return Qb(function(a,b){return a==b},a,b,c,!0)});O(\"!=\",3,2,", + L"function(a,b,c){return Qb(function(a,b){return a!=b},a,b,c,!0)});O(\"a", + L"nd\",2,2,function(a,b,c){return Nb(a,c)&&Nb(b,c)});O(\"or\",1,2,functi", L"on(a,b,c){return Nb(a,c)||Nb(b,c)});function Tb(a,b){if(b.a.length&&4!", L"=a.m)throw Error(\"Primary expression must evaluate to nodeset if filt", - L"er has predicate(s).\");J.call(this,a.m);this.c=a;this.g=b;this.j=a.j;", - L"this.b=a.b}p(Tb,J);Tb.prototype.a=function(a){a=this.c.a(a);return Ub(", - L"this.g,a)};Tb.prototype.toString=function(){var a;a=\"Filter:\"+K(this", - L".c);return a+=K(this.g)};function Vb(a,b){if(b.lengtha.C)throw Error(\"Function \"+a.s+", L"\" expects at most \"+a.C+\" arguments, \"+b.length+\" given\");a.M&&q", L"(b,function(b,d){if(4!=b.m)throw Error(\"Argument \"+d+\" to function ", - L"\"+a.s+\" is not of type Nodeset: \"+b);});J.call(this,a.m);this.g=a;t", + L"\"+a.s+\" is not of type Nodeset: \"+b);});K.call(this,a.m);this.g=a;t", L"his.c=b;Lb(this,a.j||ua(b,function(a){return a.j}));Mb(this,a.L&&!b.le", - L"ngth||a.K&&!!b.length||ua(b,function(a){return a.b}))}\np(Vb,J);Vb.pro", + L"ngth||a.K&&!!b.length||ua(b,function(a){return a.b}))}\np(Vb,K);Vb.pro", L"totype.a=function(a){return this.g.v.apply(null,xa(a,this.c))};Vb.prot", L"otype.toString=function(){var a=\"Function: \"+this.g;if(this.c.length", - L")var b=ta(this.c,function(a,b){return a+K(b)},\"Arguments:\"),a=a+K(b)", + L")var b=ta(this.c,function(a,b){return a+L(b)},\"Arguments:\"),a=a+L(b)", L";return a};function Wb(a,b,c,d,e,f,g,k,l){this.s=a;this.m=b;this.j=c;t", L"his.L=d;this.K=e;this.v=f;this.I=g;this.C=ba(k)?k:g;this.M=!!l}Wb.prot", - L"otype.toString=function(){return this.s};var Xb={};\nfunction O(a,b,c,", + L"otype.toString=function(){return this.s};var Xb={};\nfunction P(a,b,c,", L"d,e,f,g,k){if(Xb.hasOwnProperty(a))throw Error(\"Function already crea", - L"ted: \"+a+\".\");Xb[a]=new Wb(a,b,c,d,!1,e,f,g,k)}O(\"boolean\",2,!1,!", - L"1,function(a,b){return Nb(b,a)},1);O(\"ceiling\",1,!1,!1,function(a,b)", - L"{return Math.ceil(L(b,a))},1);O(\"concat\",3,!1,!1,function(a,b){retur", - L"n ta(ya(arguments,1),function(b,d){return b+M(d,a)},\"\")},2,null);O(", - L"\"contains\",2,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);return-1!=b.ind", - L"exOf(a)},2);O(\"count\",1,!1,!1,function(a,b){return b.a(a).u},1,1,!0)", - L";\nO(\"false\",2,!1,!1,function(){return!1},0);O(\"floor\",1,!1,!1,fun", - L"ction(a,b){return Math.floor(L(b,a))},1);O(\"id\",4,!1,!1,function(a,b", + L"ted: \"+a+\".\");Xb[a]=new Wb(a,b,c,d,!1,e,f,g,k)}P(\"boolean\",2,!1,!", + L"1,function(a,b){return Nb(b,a)},1);P(\"ceiling\",1,!1,!1,function(a,b)", + L"{return Math.ceil(M(b,a))},1);P(\"concat\",3,!1,!1,function(a,b){retur", + L"n ta(ya(arguments,1),function(b,d){return b+N(d,a)},\"\")},2,null);P(", + L"\"contains\",2,!1,!1,function(a,b,c){b=N(b,a);a=N(c,a);return-1!=b.ind", + L"exOf(a)},2);P(\"count\",1,!1,!1,function(a,b){return b.a(a).u},1,1,!0)", + L";\nP(\"false\",2,!1,!1,function(){return!1},0);P(\"floor\",1,!1,!1,fun", + L"ction(a,b){return Math.floor(M(b,a))},1);P(\"id\",4,!1,!1,function(a,b", L"){function c(a){if(mb){var b=e.all[a];if(b){if(b.nodeType&&a==b.id)ret", L"urn b;if(b.length)return wa(b,function(b){return a==b.id})}return null", L"}return e.getElementById(a)}var d=a.a,e=9==d.nodeType?d:d.ownerDocumen", - L"t,d=M(b,a).split(/\\s+/),f=[];q(d,function(a){a=c(a);!a||0<=ra(f,a)||f", - L".push(a)});f.sort(cb);var g=new F;q(f,function(a){G(g,a)});return g},1", - L");\nO(\"lang\",2,!1,!1,function(){return!1},1);O(\"last\",1,!0,!1,func", + L"t,d=N(b,a).split(/\\s+/),f=[];q(d,function(a){a=c(a);!a||0<=ra(f,a)||f", + L".push(a)});f.sort(cb);var g=new E;q(f,function(a){F(g,a)});return g},1", + L");\nP(\"lang\",2,!1,!1,function(){return!1},1);P(\"last\",1,!0,!1,func", L"tion(a){if(1!=arguments.length)throw Error(\"Function last expects ()", - L"\");return a.f},0);O(\"local-name\",3,!1,!0,function(a,b){var c=b?Hb(b", - L".a(a)):a.a;return c?c.nodeName.toLowerCase():\"\"},0,1,!0);O(\"name\",", + L"\");return a.f},0);P(\"local-name\",3,!1,!0,function(a,b){var c=b?Hb(b", + L".a(a)):a.a;return c?c.nodeName.toLowerCase():\"\"},0,1,!0);P(\"name\",", L"3,!1,!0,function(a,b){var c=b?Hb(b.a(a)):a.a;return c?c.nodeName.toLow", - L"erCase():\"\"},0,1,!0);O(\"namespace-uri\",3,!0,!1,function(){return\"", - L"\"},0,1,!0);\nO(\"normalize-space\",3,!1,!0,function(a,b){return(b?M(b", - L",a):E(a.a)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")", - L"},0,1);O(\"not\",2,!1,!1,function(a,b){return!Nb(b,a)},1);O(\"number\"", - L",1,!1,!0,function(a,b){return b?L(b,a):+E(a.a)},0,1);O(\"position\",1,", - L"!0,!1,function(a){return a.b},0);O(\"round\",1,!1,!1,function(a,b){ret", - L"urn Math.round(L(b,a))},1);O(\"starts-with\",2,!1,!1,function(a,b,c){b", - L"=M(b,a);a=M(c,a);return 0==b.lastIndexOf(a,0)},2);O(\"string\",3,!1,!0", - L",function(a,b){return b?M(b,a):E(a.a)},0,1);\nO(\"string-length\",1,!1", - L",!0,function(a,b){return(b?M(b,a):E(a.a)).length},0,1);O(\"substring\"", - L",3,!1,!1,function(a,b,c,d){c=L(c,a);if(isNaN(c)||Infinity==c||-Infinit", - L"y==c)return\"\";d=d?L(d,a):Infinity;if(isNaN(d)||-Infinity===d)return", - L"\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=M(b,a);if(Infinity==d)ret", - L"urn a.substring(e);b=Math.round(d);return a.substring(e,c+b)},2,3);O(", - L"\"substring-after\",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);c=b.inde", - L"xOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nO(\"substring-be", - L"fore\",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);a=b.indexOf(a);return", - L"-1==a?\"\":b.substring(0,a)},2);O(\"sum\",1,!1,!1,function(a,b){for(va", - L"r c=Jb(b.a(a)),d=0,e=I(c);e;e=I(c))d+=+E(e);return d},1,1,!0);O(\"tran", - L"slate\",3,!1,!1,function(a,b,c,d){b=M(b,a);c=M(c,a);var e=M(d,a);a=[];", + L"erCase():\"\"},0,1,!0);P(\"namespace-uri\",3,!0,!1,function(){return\"", + L"\"},0,1,!0);\nP(\"normalize-space\",3,!1,!0,function(a,b){return(b?N(b", + L",a):D(a.a)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")", + L"},0,1);P(\"not\",2,!1,!1,function(a,b){return!Nb(b,a)},1);P(\"number\"", + L",1,!1,!0,function(a,b){return b?M(b,a):+D(a.a)},0,1);P(\"position\",1,", + L"!0,!1,function(a){return a.b},0);P(\"round\",1,!1,!1,function(a,b){ret", + L"urn Math.round(M(b,a))},1);P(\"starts-with\",2,!1,!1,function(a,b,c){b", + L"=N(b,a);a=N(c,a);return 0==b.lastIndexOf(a,0)},2);P(\"string\",3,!1,!0", + L",function(a,b){return b?N(b,a):D(a.a)},0,1);\nP(\"string-length\",1,!1", + L",!0,function(a,b){return(b?N(b,a):D(a.a)).length},0,1);P(\"substring\"", + L",3,!1,!1,function(a,b,c,d){c=M(c,a);if(isNaN(c)||Infinity==c||-Infinit", + L"y==c)return\"\";d=d?M(d,a):Infinity;if(isNaN(d)||-Infinity===d)return", + L"\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=N(b,a);if(Infinity==d)ret", + L"urn a.substring(e);b=Math.round(d);return a.substring(e,c+b)},2,3);P(", + L"\"substring-after\",3,!1,!1,function(a,b,c){b=N(b,a);a=N(c,a);c=b.inde", + L"xOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nP(\"substring-be", + L"fore\",3,!1,!1,function(a,b,c){b=N(b,a);a=N(c,a);a=b.indexOf(a);return", + L"-1==a?\"\":b.substring(0,a)},2);P(\"sum\",1,!1,!1,function(a,b){for(va", + L"r c=Jb(b.a(a)),d=0,e=I(c);e;e=I(c))d+=+D(e);return d},1,1,!0);P(\"tran", + L"slate\",3,!1,!1,function(a,b,c,d){b=N(b,a);c=N(c,a);var e=N(d,a);a=[];", L"for(d=0;da.length)thro", @@ -458,36 +458,36 @@ const wchar_t* const CLICK[] = { L"\"+d);b=b.substr(c+1);return new zb(b,a)}\nfunction yc(a){var b,c=[],d", L";if(ec(B(a.a))){b=C(a.a);d=B(a.a);if(\"/\"==b&&(ub(a.a)||\".\"!=d&&\".", L".\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new cc;d", - L"=new cc;Q(a,\"Missing next location step.\");b=zc(a,b);c.push(b)}else{", + L"=new cc;R(a,\"Missing next location step.\");b=zc(a,b);c.push(b)}else{", L"a:{b=B(a.a);d=b.charAt(0);switch(d){case \"$\":throw Error(\"Variable ", - L"reference not allowed in HTML XPath\");case \"(\":C(a.a);b=sc(a);Q(a,'", + L"reference not allowed in HTML XPath\");case \"(\":C(a.a);b=sc(a);R(a,'", L"unclosed \"(\"');uc(a,\")\");break;case '\"':case \"'\":b=wc(a);break;", L"default:if(isNaN(+b))if(!Yb(b)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==B(a.a", - L",1)){b=C(a.a);\nb=Xb[b]||null;C(a.a);for(d=[];\")\"!=B(a.a);){Q(a,\"Mi", + L",1)){b=C(a.a);\nb=Xb[b]||null;C(a.a);for(d=[];\")\"!=B(a.a);){R(a,\"Mi", L"ssing function argument list.\");d.push(sc(a));if(\",\"!=B(a.a))break;", - L"C(a.a)}Q(a,\"Unclosed function argument list.\");vc(a);b=new Vb(b,d)}e", + L"C(a.a)}R(a,\"Unclosed function argument list.\");vc(a);b=new Vb(b,d)}e", L"lse{b=null;break a}else b=new $b(+C(a.a))}\"[\"==B(a.a)&&(d=new hc(Ac(", L"a)),b=new Tb(b,d))}if(b)if(ec(B(a.a)))d=b;else return b;else b=zc(a,\"", - L"/\"),d=new dc,c.push(b)}for(;ec(B(a.a));)b=C(a.a),Q(a,\"Missing next l", + L"/\"),d=new dc,c.push(b)}for(;ec(B(a.a));)b=C(a.a),R(a,\"Missing next l", L"ocation step.\"),b=zc(a,b),c.push(b);return new ac(d,c)}\nfunction zc(", L"a,b){var c,d,e;if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be ", L"\"/\" or \"//\"');if(\".\"==B(a.a))return d=new ic(oc,new H(\"node\"))", L",C(a.a),d;if(\"..\"==B(a.a))return d=new ic(nc,new H(\"node\")),C(a.a)", - L",d;var f;if(\"@\"==B(a.a))f=bc,C(a.a),Q(a,\"Missing attribute name\");", + L",d;var f;if(\"@\"==B(a.a))f=bc,C(a.a),R(a,\"Missing attribute name\");", L"else if(\"::\"==B(a.a,1)){if(!/(?![0-9])[\\w]/.test(B(a.a).charAt(0)))", L"throw Error(\"Bad token: \"+C(a.a));c=C(a.a);f=mc[c]||null;if(!f)throw", - L" Error(\"No axis with name: \"+c);C(a.a);Q(a,\"Missing node name\")}el", + L" Error(\"No axis with name: \"+c);C(a.a);R(a,\"Missing node name\")}el", L"se f=jc;c=B(a.a);if(/(?![0-9])[\\w]/.test(c.charAt(0)))if(\"(\"==\nB(a", L".a,1)){if(!Yb(c))throw Error(\"Invalid node type: \"+c);c=C(a.a);if(!Y", - L"b(c))throw Error(\"Invalid type name: \"+c);uc(a,\"(\");Q(a,\"Bad node", - L"type\");e=B(a.a).charAt(0);var g=null;if('\"'==e||\"'\"==e)g=wc(a);Q(a", + L"b(c))throw Error(\"Invalid type name: \"+c);uc(a,\"(\");R(a,\"Bad node", + L"type\");e=B(a.a).charAt(0);var g=null;if('\"'==e||\"'\"==e)g=wc(a);R(a", L",\"Bad nodetype\");vc(a);c=new H(c,g)}else c=xc(a);else if(\"*\"==c)c=", L"xc(a);else throw Error(\"Bad token: \"+C(a.a));e=new hc(Ac(a),f.a);ret", L"urn d||new ic(f,c,e,\"//\"==b)}\nfunction Ac(a){for(var b=[];\"[\"==B(", - L"a.a);){C(a.a);Q(a,\"Missing predicate expression.\");var c=sc(a);b.pus", - L"h(c);Q(a,\"Unclosed predicate expression.\");uc(a,\"]\")}return b}func", + L"a.a);){C(a.a);R(a,\"Missing predicate expression.\");var c=sc(a);b.pus", + L"h(c);R(a,\"Unclosed predicate expression.\");uc(a,\"]\")}return b}func", L"tion tc(a){if(\"-\"==B(a.a))return C(a.a),new pc(tc(a));var b=yc(a);if", - L"(\"|\"!=B(a.a))a=b;else{for(b=[b];\"|\"==C(a.a);)Q(a,\"Missing next un", + L"(\"|\"!=B(a.a))a=b;else{for(b=[b];\"|\"==C(a.a);)R(a,\"Missing next un", L"ion location path.\"),b.push(yc(a));a.a.a--;a=new qc(b)}return a};func", L"tion Bc(a){switch(a.nodeType){case 1:return ja(Cc,a);case 9:return Bc(", L"a.documentElement);case 2:return a.ownerElement?Bc(a.ownerElement):Dc;", @@ -500,14 +500,14 @@ const wchar_t* const CLICK[] = { L"rb(a);if(ub(c))throw Error(\"Invalid XPath expression.\");b?ea(b)||(b=", L"ia(b.lookupNamespaceURI,b)):b=function(){return null};var d=sc(new rc(", L"c,b));if(!ub(c))throw Error(\"Bad token: \"+C(c));this.evaluate=functi", - L"on(a,b){var c=d.a(new lb(a));return new R(c,b)}}\nfunction R(a,b){if(0", - L"==b)if(a instanceof F)b=4;else if(\"string\"==typeof a)b=2;else if(\"n", + L"on(a,b){var c=d.a(new lb(a));return new S(c,b)}}\nfunction S(a,b){if(0", + L"==b)if(a instanceof E)b=4;else if(\"string\"==typeof a)b=2;else if(\"n", L"umber\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else throw Err", L"or(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a instanc", - L"eof F))throw Error(\"value could not be converted to the specified typ", + L"eof E))throw Error(\"value could not be converted to the specified typ", L"e\");this.resultType=b;var c;switch(b){case 2:this.stringValue=a insta", - L"nceof F?Ib(a):\"\"+a;break;case 1:this.numberValue=a instanceof F?+Ib(", - L"a):+a;break;case 3:this.booleanValue=a instanceof F?0=c.length?null:c[f++]", L"};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotIt", L"em called with wrong result type\");return a>=c.length||\n0>a?null:c[a", - L"]}}R.ANY_TYPE=0;R.NUMBER_TYPE=1;R.STRING_TYPE=2;R.BOOLEAN_TYPE=3;R.UNO", - L"RDERED_NODE_ITERATOR_TYPE=4;R.ORDERED_NODE_ITERATOR_TYPE=5;R.UNORDERED", - L"_NODE_SNAPSHOT_TYPE=6;R.ORDERED_NODE_SNAPSHOT_TYPE=7;R.ANY_UNORDERED_N", - L"ODE_TYPE=8;R.FIRST_ORDERED_NODE_TYPE=9;function Fc(a){this.lookupNames", + L"]}}S.ANY_TYPE=0;S.NUMBER_TYPE=1;S.STRING_TYPE=2;S.BOOLEAN_TYPE=3;S.UNO", + L"RDERED_NODE_ITERATOR_TYPE=4;S.ORDERED_NODE_ITERATOR_TYPE=5;S.UNORDERED", + L"_NODE_SNAPSHOT_TYPE=6;S.ORDERED_NODE_SNAPSHOT_TYPE=7;S.ANY_UNORDERED_N", + L"ODE_TYPE=8;S.FIRST_ORDERED_NODE_TYPE=9;function Fc(a){this.lookupNames", L"paceURI=Bc(a)}\nfunction Gc(a){a=a||aa;var b=a.document;b.evaluate||(a", - L".XPathResult=R,b.evaluate=function(a,b,e,f){return(new Ec(a,e)).evalua", + L".XPathResult=S,b.evaluate=function(a,b,e,f){return(new Ec(a,e)).evalua", L"te(b,f)},b.createExpression=function(a,b){return new Ec(a,b)},b.create", - L"NSResolver=function(a){return new Fc(a)})};var S={};S.D=function(){var", + L"NSResolver=function(a){return new Fc(a)})};var T={};T.D=function(){var", L" a={R:\"http://www.w3.org/2000/svg\"};return function(b){return a[b]||", - L"null}}();\nS.v=function(a,b,c){var d=A(a);if(!d.documentElement)return", + L"null}}();\nT.v=function(a,b,c){var d=A(a);if(!d.documentElement)return", L" null;Gc($a(d));try{var e=d.createNSResolver?d.createNSResolver(d.docu", - L"mentElement):S.D;if(!Ta(7))return d.evaluate.call(d,b,a,e,c,null);if(x", + L"mentElement):T.D;if(!Ta(7))return d.evaluate.call(d,b,a,e,c,null);if(y", L"(9)){for(var f={},g=d.getElementsByTagName(\"*\"),k=0;k=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.", L"top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&", L"&a.y<=this.top+this.height};\nh.ceil=function(){this.left=Math.ceil(th", @@ -580,7 +580,7 @@ const wchar_t* const CLICK[] = { L"s.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};functi", L"on Nc(a,b){var c=A(a);return c.defaultView&&c.defaultView.getComputedS", L"tyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyVa", - L"lue(b)||\"\":\"\"}function Oc(a){a=a?A(a):document;var b;(b=x(9))||(b=", + L"lue(b)||\"\":\"\"}function Oc(a){a=a?A(a):document;var b;(b=y(9))||(b=", L"\"CSS1Compat\"==(a?new jb(A(a)):la||(la=new jb)).a.compatMode);return ", L"b?a.documentElement:a.body}\nfunction Pc(a){var b=a.offsetWidth,c=a.of", L"fsetHeight;if(!ba(b)&&a.getBoundingClientRect){var d;a:{try{d=a.getBou", @@ -596,31 +596,31 @@ const wchar_t* const CLICK[] = { L".style.pixelLeft;a.style.left=d;a.runtimeStyle.left=e;d=c}return d}Ta(", L"12);function Sc(a){var b;a:{a=A(a);try{b=a&&a.activeElement;break a}ca", L"tch(c){}b=null}return b&&\"undefined\"===typeof b.nodeType?null:b}func", - L"tion U(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)", - L"}function Tc(a){return Uc(a)&&Vc(a)&&!0}function Wc(a){return U(a,\"OP", - L"TION\")?!0:U(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"r", - L"adio\"==a):!1}\nfunction Xc(a){if(!Wc(a))throw new t(15,\"Element is n", + L"tion V(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)", + L"}function Tc(a){return Uc(a)&&Vc(a)&&!0}function Wc(a){return V(a,\"OP", + L"TION\")?!0:V(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"r", + L"adio\"==a):!1}\nfunction Xc(a){if(!Wc(a))throw new r(15,\"Element is n", L"ot selectable\");var b=\"selected\",c=a.type&&a.type.toLowerCase();if(", L"\"checkbox\"==c||\"radio\"==c)b=\"checked\";return!!Yc(a,b)}function Y", - L"c(a,b){var c;if(c=Hc&&\"value\"==b&&U(a,\"OPTION\"))c=null===Zc(a);c?(", + L"c(a,b){var c;if(c=Hc&&\"value\"==b&&V(a,\"OPTION\"))c=null===Zc(a);c?(", L"c=[],hb(a,c,!1),c=c.join(\"\")):c=a[b];return c}var $c=/[;]+(?=(?:(?:[", L"^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*", L"\\))*[^()]*$)/;\nfunction ad(a){var b=[];q(a.split($c),function(a){var", L" d=a.indexOf(\":\");0=D.left+D.width;D=f.top>=D.top+D.height;if(V&&\"hidden\"==v.x||", - L"D&&\"hidden\"==v.y)return hd;if(V&&\"visible\"!=v.x||D&&\"visible\"!=v", - L".y){if(r&&(v=e(y),f.left>=k.scrollWidth-v.x||f.right>=k.scrollHeight-v", - L".y))return hd;f=gd(y);return f==hd?hd:\"scroll\"}}}return\"none\"}\nfu", - L"nction fd(a){var b=id(a);if(b)return b.rect;if(U(a,\"HTML\"))return a=", + L"ody,n=W(k,\"overflow\"),t,u=c(a);u;u=c(u)){var v=d(u);if(\"visible\"!=", + L"v.x||\"visible\"!=v.y){var G=fd(u);if(0==G.width||0==G.height)return h", + L"d;var J=f.right=G.left+G.width;G=f.top>=G.top+G.height;if(J&&\"hidden\"==v.x||", + L"G&&\"hidden\"==v.y)return hd;if(J&&\"visible\"!=v.x||G&&\"visible\"!=v", + L".y){if(t&&(v=e(u),f.left>=k.scrollWidth-v.x||f.right>=k.scrollHeight-v", + L".y))return hd;f=gd(u);return f==hd?hd:\"scroll\"}}}return\"none\"}\nfu", + L"nction fd(a){var b=id(a);if(b)return b.rect;if(V(a,\"HTML\"))return a=", L"A(a),a=($a(a)||window).document,a=\"CSS1Compat\"==a.compatMode?a.docum", - L"entElement:a.body,a=new Ya(a.clientWidth,a.clientHeight),new T(0,0,a.w", + L"entElement:a.body,a=new Ya(a.clientWidth,a.clientHeight),new U(0,0,a.w", L"idth,a.height);var c;try{c=a.getBoundingClientRect()}catch(d){return n", - L"ew T(0,0,0,0)}b=new T(c.left,c.top,c.right-c.left,c.bottom-c.top);a.ow", + L"ew U(0,0,0,0)}b=new U(c.left,c.top,c.right-c.left,c.bottom-c.top);a.ow", L"nerDocument.body&&(a=A(a),b.left-=a.documentElement.clientLeft+a.body.", L"clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return", - L" b}\nfunction id(a){var b=U(a,\"MAP\");if(!b&&!U(a,\"AREA\"))return nu", - L"ll;var c=b?a:U(a.parentNode,\"MAP\")?a.parentNode:null,d=null,e=null;i", - L"f(c&&c.name&&(d=S.J('/descendant::*[@usemap = \"#'+c.name+'\"]',A(c)))", + L" b}\nfunction id(a){var b=V(a,\"MAP\");if(!b&&!V(a,\"AREA\"))return nu", + L"ll;var c=b?a:V(a.parentNode,\"MAP\")?a.parentNode:null,d=null,e=null;i", + L"f(c&&c.name&&(d=T.J('/descendant::*[@usemap = \"#'+c.name+'\"]',A(c)))", L"&&(e=fd(d),!b&&\"default\"!=a.shape.toLowerCase())){var f=ld(a);a=Math", L".min(Math.max(f.left,0),e.width);b=Math.min(Math.max(f.top,0),e.height", L");c=Math.min(f.width,e.width-a);f=Math.min(f.height,e.height-b);e=new ", - L"T(a+e.left,b+e.top,c,f)}return{G:d,rect:e||new T(0,0,0,0)}}\nfunction ", + L"U(a+e.left,b+e.top,c,f)}return{G:d,rect:e||new U(0,0,0,0)}}\nfunction ", L"ld(a){var b=a.shape.toLowerCase();a=a.coords.split(\",\");if(\"rect\"=", - L"=b&&4==a.length){var b=a[0],c=a[1];return new T(b,c,a[2]-b,a[3]-c)}if(", - L"\"circle\"==b&&3==a.length)return b=a[2],new T(a[0]-b,a[1]-b,2*b,2*b);", + L"=b&&4==a.length){var b=a[0],c=a[1];return new U(b,c,a[2]-b,a[3]-c)}if(", + L"\"circle\"==b&&3==a.length)return b=a[2],new U(a[0]-b,a[1]-b,2*b,2*b);", L"if(\"poly\"==b&&2\");Y(191,\"/\",\"?\");Y(192,\"`\",\"~\");", - L"Y(219,\"[\",\"{\");\nY(220,\"\\\\\",\"|\");Y(221,\"]\",\"}\");Y({i:59,", - L"h:186},\";\",\":\");Y(222,\"'\",'\"');var $d=new Qd;Rd($d,1,Wd);Rd($d,", - L"2,Xd);Rd($d,4,Yd);Rd($d,8,Zd);(function(a){var b=new Qd;q(Sd(a),functi", - L"on(c){Rd(b,a.get(c).code,c)});return b})($d);function ae(a){nd.call(th", - L"is);this.g=this.b=null;this.c=new z(0,0);this.A=this.o=!1;if(a){da(a.b", - L"uttonPressed)&&(this.b=a.buttonPressed);try{U(a.elementPressed)&&(this", - L".g=a.elementPressed)}catch(b){this.b=null}this.c=new z(a.clientXY.x,a.", - L"clientXY.y);this.o=!!a.nextClickIsDoubleClick;this.A=!!a.hasEverIntera", - L"cted;try{a.element&&U(a.element)&&od(this,a.element)}catch(c){this.b=n", - L"ull}}}p(ae,nd);var Z={};\nJc?(Z[sd]=[0,0,0,null],Z[Bd]=[null,null,0,nu", - L"ll],Z[Md]=[1,4,2,null],Z[rd]=[0,0,0,0],Z[Cd]=[1,4,2,0]):Ic?(Z[sd]=[0,1", - L",2,null],Z[Bd]=[null,null,2,null],Z[Md]=[0,1,2,null],Z[rd]=[0,1,2,0],Z", - L"[Cd]=[0,1,2,0]):(Z[sd]=[0,1,2,null],Z[Bd]=[null,null,2,null],Z[Md]=[0,", - L"1,2,null],Z[rd]=[0,0,0,0],Z[Cd]=[0,0,0,0]);Kc&&(Z[Ad]=Z[Md],Z[Pd]=Z[Md", - L"],Z[Dd]=[-1,-1,-1,-1],Z[zd]=Z[Dd],Z[yd]=Z[Dd]);Z[Ld]=Z[sd];Z[td]=Z[Md]", - L";Z[qd]=Z[rd];var be={};be[td]=Ad;be[Cd]=Dd;be[rd]=zd;be[qd]=yd;be[Md]=", - L"Pd;\nfunction ce(a,b,c,d,e){a.A=!0;if(Kc){var f=be[b];if(f&&!xd(a,f,a.", - L"c,de(a,f),!0,c,e))return!1}return pd(a,b,a.c,de(a,b),c,d,e)}function d", - L"e(a,b){if(!(b in Z))return 0;var c=Z[b][null===a.b?3:a.b];if(null===c)", - L"throw new t(13,\"Event does not permit the specified mouse button.\");", - L"return c};function ee(a,b){this.x=a;this.y=b}p(ee,z);ee.prototype.clon", - L"e=function(){return new ee(this.x,this.y)};ee.prototype.scale=z.protot", - L"ype.scale;ee.prototype.rotate=function(a){var b=Math.cos(a);a=Math.sin", - L"(a);var c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y=c;return t", - L"his};function fe(a){var b;if(\"none\"!=(Nc(a,\"display\")||(a.currentS", - L"tyle?a.currentStyle.display:null)||a.style&&a.style.display))b=Pc(a);e", - L"lse{b=a.style;var c=b.display,d=b.visibility,e=b.position;b.visibility", - L"=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var f=Pc(a);b", - L".display=c;b.position=e;b.visibility=d;b=f}return 0\");Y(191,\"/\",\"?\");Y(192,", + L"\"`\",\"~\");Y(219,\"[\",\"{\");\nY(220,\"\\\\\",\"|\");Y(221,\"]\",\"", + L"}\");Y({i:59,h:186},\";\",\":\");Y(222,\"'\",'\"');var $d=new Qd;Rd($d", + L",1,Wd);Rd($d,2,Xd);Rd($d,4,Yd);Rd($d,8,Zd);(function(a){var b=new Qd;q", + L"(Sd(a),function(c){Rd(b,a.get(c).code,c)});return b})($d);function ae(", + L"a){nd.call(this);this.g=this.b=null;this.c=new z(0,0);this.A=this.o=!1", + L";if(a){da(a.buttonPressed)&&(this.b=a.buttonPressed);try{V(a.elementPr", + L"essed)&&(this.g=a.elementPressed)}catch(b){this.b=null}this.c=new z(a.", + L"clientXY.x,a.clientXY.y);this.o=!!a.nextClickIsDoubleClick;this.A=!!a.", + L"hasEverInteracted;try{a.element&&V(a.element)&&od(this,a.element)}catc", + L"h(c){this.b=null}}}p(ae,nd);var Z={};\nJc?(Z[sd]=[0,0,0,null],Z[Bd]=[n", + L"ull,null,0,null],Z[Md]=[1,4,2,null],Z[rd]=[0,0,0,0],Z[Cd]=[1,4,2,0]):I", + L"c?(Z[sd]=[0,1,2,null],Z[Bd]=[null,null,2,null],Z[Md]=[0,1,2,null],Z[rd", + L"]=[0,1,2,0],Z[Cd]=[0,1,2,0]):(Z[sd]=[0,1,2,null],Z[Bd]=[null,null,2,nu", + L"ll],Z[Md]=[0,1,2,null],Z[rd]=[0,0,0,0],Z[Cd]=[0,0,0,0]);Kc&&(Z[Ad]=Z[M", + L"d],Z[Pd]=Z[Md],Z[Dd]=[-1,-1,-1,-1],Z[zd]=Z[Dd],Z[yd]=Z[Dd]);Z[Ld]=Z[sd", + L"];Z[td]=Z[Md];Z[qd]=Z[rd];var be={};be[td]=Ad;be[Cd]=Dd;be[rd]=zd;be[q", + L"d]=yd;be[Md]=Pd;\nfunction ce(a,b,c,d,e,f){a.A=!0;if(Kc){var g=be[b];i", + L"f(g&&!xd(a,g,a.c,de(a,g),!0,c,e))return!1}return pd(a,b,a.c,de(a,b),c,", + L"d,e,null,f)}function de(a,b){if(!(b in Z))return 0;var c=Z[b][null===a", + L".b?3:a.b];if(null===c)throw new r(13,\"Event does not permit the speci", + L"fied mouse button.\");return c};function ee(a,b){this.x=a;this.y=b}p(e", + L"e,z);ee.prototype.clone=function(){return new ee(this.x,this.y)};ee.pr", + L"ototype.scale=z.prototype.scale;ee.prototype.rotate=function(a){var b=", + L"Math.cos(a);a=Math.sin(a);var c=this.y*b+this.x*a;this.x=this.x*b-this", + L".y*a;this.y=c;return this};function fe(a){var b;if(\"none\"!=(Nc(a,\"d", + L"isplay\")||(a.currentStyle?a.currentStyle.display:null)||a.style&&a.st", + L"yle.display))b=Pc(a);else{b=a.style;var c=b.display,d=b.visibility,e=b", + L".position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"", + L"inline\";var f=Pc(a);b.display=c;b.position=e;b.visibility=d;b=f}retur", + L"n 0>>0),ja=0;functio", - L"n ka(a,b,c){return a.call.apply(a.bind,arguments)}\nfunction la(a,b,c)", + L"\"==typeof a.length}function m(a){return\"string\"==typeof a}function ", + L"ea(a){return\"number\"==typeof a}function fa(a){return\"function\"==ca", + L"(a)}function ga(a){var b=typeof a;return\"object\"==b&&null!=a||\"func", + L"tion\"==b}var ha=\"closure_uid_\"+(1E9*Math.random()>>>0),ia=0;functio", + L"n ja(a,b,c){return a.call.apply(a.bind,arguments)}\nfunction ka(a,b,c)", L"{if(!a)throw Error();if(2b?1:0}\nfunction xa(a", L"){return String(a).replace(/\\-([a-z])/g,function(a,c){return c.toUppe", L"rCase()})};function ya(a,b){b.unshift(a);qa.call(this,ta.apply(null,b)", - L");b.shift()}m(ya,qa);ya.prototype.name=\"AssertionError\";function za(", + L");b.shift()}n(ya,qa);ya.prototype.name=\"AssertionError\";function za(", L"a,b,c){if(!a){var d=\"Assertion failed\";if(b)var d=d+(\": \"+b),e=Arr", L"ay.prototype.slice.call(arguments,2);throw new ya(\"\"+d,e||[]);}};var", L" p=Array.prototype,Aa=p.indexOf?function(a,b,c){za(null!=a.length);ret", L"urn p.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,", - L"a.length+c):c;if(l(a))return l(b)&&1==b.length?a.indexOf(b,c):-1;for(;", + L"a.length+c):c;if(m(a))return m(b)&&1==b.length?a.indexOf(b,c):-1;for(;", L"cc?null:l(a)?a.charAt(c):a[c]}function Ha(a,b){return 0<=Aa(a,b)}fu", + L"n 0>c?null:m(a)?a.charAt(c):a[c]}function Ha(a,b){return 0<=Aa(a,b)}fu", L"nction Ia(a){return p.concat.apply(p,arguments)}function Ja(a,b,c){za(", L"null!=a.length);return 2>=arguments.length?p.slice.call(a,b):p.slice.c", L"all(a,b,c)};var Ka={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqu", @@ -6125,1072 +6126,1063 @@ const wchar_t* const INPUTS[] = { L"\".split(\" \"),Ma=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Na=/^#(?", L":[0-9a-f]{3}){1,2}$/i,Oa=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(", L"\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,Pa=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),", - L"\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function u(a,b){this", - L".code=a;this.a=w[a]||Qa;this.message=b||\"\";var c=this.a.replace(/((?", + L"\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function r(a,b){this", + L".code=a;this.a=v[a]||Ra;this.message=b||\"\";var c=this.a.replace(/((?", L":^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa", L"0]+/g,\"\")}),d=c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"Erro", L"r\";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.st", - L"ack||\"\"}m(u,Error);var Qa=\"unknown error\",w={15:\"element not sele", - L"ctable\",11:\"element not visible\"};w[31]=Qa;w[30]=Qa;w[24]=\"invalid", - L" cookie domain\";w[29]=\"invalid element coordinates\";w[12]=\"invalid", - L" element state\";\nw[32]=\"invalid selector\";w[51]=\"invalid selector", - L"\";w[52]=\"invalid selector\";w[17]=\"javascript error\";w[405]=\"unsu", - L"pported operation\";w[34]=\"move target out of bounds\";w[27]=\"no suc", - L"h alert\";w[7]=\"no such element\";w[8]=\"no such frame\";w[23]=\"no s", - L"uch window\";w[28]=\"script timeout\";w[33]=\"session not created\";w[", - L"10]=\"stale element reference\";w[21]=\"timeout\";w[25]=\"unable to se", - L"t cookie\";w[26]=\"unexpected alert open\";w[13]=Qa;w[9]=\"unknown com", - L"mand\";u.prototype.toString=function(){return this.name+\": \"+this.me", - L"ssage};var Ra;a:{var Sa=aa.navigator;if(Sa){var Ta=Sa.userAgent;if(Ta)", - L"{Ra=Ta;break a}}Ra=\"\"}function x(a){return-1!=Ra.indexOf(a)};functio", - L"n Ua(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Va(a){", - L"var b=arguments.length;if(1==b&&\"array\"==ca(arguments[0]))return Va.", + L"ack||\"\"}n(r,Error);var Ra=\"unknown error\",v={15:\"element not sele", + L"ctable\",11:\"element not visible\"};v[31]=Ra;v[30]=Ra;v[24]=\"invalid", + L" cookie domain\";v[29]=\"invalid element coordinates\";v[12]=\"invalid", + L" element state\";\nv[32]=\"invalid selector\";v[51]=\"invalid selector", + L"\";v[52]=\"invalid selector\";v[17]=\"javascript error\";v[405]=\"unsu", + L"pported operation\";v[34]=\"move target out of bounds\";v[27]=\"no suc", + L"h alert\";v[7]=\"no such element\";v[8]=\"no such frame\";v[23]=\"no s", + L"uch window\";v[28]=\"script timeout\";v[33]=\"session not created\";v[", + L"10]=\"stale element reference\";v[21]=\"timeout\";v[25]=\"unable to se", + L"t cookie\";v[26]=\"unexpected alert open\";v[13]=Ra;v[9]=\"unknown com", + L"mand\";r.prototype.toString=function(){return this.name+\": \"+this.me", + L"ssage};var Sa;a:{var Ta=aa.navigator;if(Ta){var Ua=Ta.userAgent;if(Ua)", + L"{Sa=Ua;break a}}Sa=\"\"}function w(a){return-1!=Sa.indexOf(a)};functio", + L"n Va(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Wa(a){", + L"var b=arguments.length;if(1==b&&\"array\"==ca(arguments[0]))return Wa.", L"apply(null,arguments[0]);for(var c={},d=0;dparseFloat(a))?String(b):a}(),hb={};function ib(a){ret", - L"urn hb[a]||(hb[a]=0<=va(gb,a))}function jb(a){return y&&(Za()||kb>=a)}", - L"var lb=aa.document,mb=fb(),kb=!lb||!y||!mb&&Za()?void 0:mb||(\"CSS1Com", - L"pat\"==lb.compatMode?parseInt(gb,10):5);!A&&!y||y&&jb(9)||A&&ib(\"1.9.", - L"1\");y&&ib(\"9\");Va(\"area base br col command embed hr img input key", - L"gen link meta param source track wbr\".split(\" \"));function nb(a,b,c", - L"){return Math.min(Math.max(a,b),c)};function C(a,b){this.x=ba(a)?a:0;t", - L"his.y=ba(b)?b:0}h=C.prototype;h.clone=function(){return new C(this.x,t", - L"his.y)};h.toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};", - L"h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);re", - L"turn this};h.floor=function(){this.x=Math.floor(this.x);this.y=Math.fl", - L"oor(this.y);return this};h.round=function(){this.x=Math.round(this.x);", - L"this.y=Math.round(this.y);return this};h.scale=function(a,b){var c=ea(", - L"b)?b:a;this.x*=a;this.y*=c;return this};function ob(a,b){this.width=a;", - L"this.height=b}h=ob.prototype;h.clone=function(){return new ob(this.wid", - L"th,this.height)};h.toString=function(){return\"(\"+this.width+\" x \"+", - L"this.height+\")\"};h.ceil=function(){this.width=Math.ceil(this.width);", - L"this.height=Math.ceil(this.height);return this};h.floor=function(){thi", + L"eturn c};function Xa(){return w(\"Opera\")||w(\"OPR\")}function Ya(){r", + L"eturn w(\"Edge\")||w(\"Trident\")||w(\"MSIE\")}function Za(){return(w(", + L"\"Chrome\")||w(\"CriOS\"))&&!Xa()&&!Ya()};function $a(){return w(\"Edg", + L"e\")};function ab(){return w(\"iPhone\")&&!w(\"iPod\")&&!w(\"iPad\")};", + L"var bb=Xa(),x=Ya(),y=w(\"Gecko\")&&!(-1!=Sa.toLowerCase().indexOf(\"we", + L"bkit\")&&!$a())&&!(w(\"Trident\")||w(\"MSIE\"))&&!$a(),z=-1!=Sa.toLowe", + L"rCase().indexOf(\"webkit\")&&!$a(),cb=z&&w(\"Mobile\"),db=w(\"Macintos", + L"h\"),eb=w(\"Windows\");function fb(){var a=Sa;if(y)return/rv\\:([^\\);", + L"]+)(\\)|;)/.exec(a);if(x&&$a())return/Edge\\/([\\d\\.]+)/.exec(a);if(x", + L")return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(z)return/WebKi", + L"t\\/(\\S+)/.exec(a)}function gb(){var a=aa.document;return a?a.documen", + L"tMode:void 0}\nvar hb=function(){if(bb&&aa.opera){var a=aa.opera.versi", + L"on;return fa(a)?a():a}var a=\"\",b=fb();b&&(a=b?b[1]:\"\");return x&&!", + L"$a()&&(b=gb(),b>parseFloat(a))?String(b):a}(),ib={};function jb(a){ret", + L"urn ib[a]||(ib[a]=0<=va(hb,a))}function kb(a){return x&&($a()||lb>=a)}", + L"var mb=aa.document,nb=gb(),lb=!mb||!x||!nb&&$a()?void 0:nb||(\"CSS1Com", + L"pat\"==mb.compatMode?parseInt(hb,10):5);!y&&!x||x&&kb(9)||y&&jb(\"1.9.", + L"1\");x&&jb(\"9\");Wa(\"area base br col command embed hr img input key", + L"gen link meta param source track wbr\".split(\" \"));function ob(a,b,c", + L"){return Math.min(Math.max(a,b),c)};function B(a,b){this.x=ba(a)?a:0;t", + L"his.y=ba(b)?b:0}k=B.prototype;k.clone=function(){return new B(this.x,t", + L"his.y)};k.toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};", + L"k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);re", + L"turn this};k.floor=function(){this.x=Math.floor(this.x);this.y=Math.fl", + L"oor(this.y);return this};k.round=function(){this.x=Math.round(this.x);", + L"this.y=Math.round(this.y);return this};k.scale=function(a,b){var c=ea(", + L"b)?b:a;this.x*=a;this.y*=c;return this};function pb(a,b){this.width=a;", + L"this.height=b}k=pb.prototype;k.clone=function(){return new pb(this.wid", + L"th,this.height)};k.toString=function(){return\"(\"+this.width+\" x \"+", + L"this.height+\")\"};k.ceil=function(){this.width=Math.ceil(this.width);", + L"this.height=Math.ceil(this.height);return this};k.floor=function(){thi", L"s.width=Math.floor(this.width);this.height=Math.floor(this.height);ret", - L"urn this};h.round=function(){this.width=Math.round(this.width);this.he", - L"ight=Math.round(this.height);return this};\nh.scale=function(a,b){var ", - L"c=ea(b)?b:a;this.width*=a;this.height*=c;return this};function pb(a){r", - L"eturn a?new qb(D(a)):ra||(ra=new qb)}function rb(a){a=a.document;a=\"C", - L"SS1Compat\"==a.compatMode?a.documentElement:a.body;return new ob(a.cli", - L"entWidth,a.clientHeight)}function sb(a){return a.a?a.a:B||\"CSS1Compat", - L"\"!=a.compatMode?a.body||a.documentElement:a.documentElement}function ", - L"tb(a){return a?a.parentWindow||a.defaultView:window}function ub(a){for", - L"(;a&&1!=a.nodeType;)a=a.previousSibling;return a}\nfunction vb(a,b){if", - L"(a.contains&&1==b.nodeType)return a==b||a.contains(b);if(\"undefined\"", - L"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocum", - L"entPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction", - L" wb(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compar", - L"eDocumentPosition(b)&2?1:-1;if(y&&!jb(9)){if(9==a.nodeType)return-1;if", - L"(9==b.nodeType)return 1}if(\"sourceIndex\"in a||a.parentNode&&\"source", - L"Index\"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)re", - L"turn a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;ret", - L"urn e==f?xb(a,b):!c&&vb(e,b)?-1*yb(a,b):!d&&vb(f,a)?yb(b,a):(c?a.sourc", - L"eIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=D(a);c=d.creat", - L"eRange();\nc.selectNode(a);c.collapse(!0);d=d.createRange();d.selectNo", - L"de(b);d.collapse(!0);return c.compareBoundaryPoints(aa.Range.START_TO_", - L"END,d)}function yb(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=", - L"b;d.parentNode!=c;)d=d.parentNode;return xb(d,a)}function xb(a,b){for(", - L"var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}function D(a){z", - L"a(a,\"Node cannot be null or undefined.\");return 9==a.nodeType?a:a.ow", - L"nerDocument||a.document}var zb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJEC", - L"T:1},Bb={IMG:\" \",BR:\"\\n\"};\nfunction Eb(a,b,c){if(!(a.nodeName in", - L" zb))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\\r\\n|", - L"\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in Bb)b.push(", - L"Bb[a.nodeName]);else for(a=a.firstChild;a;)Eb(a,b,c),a=a.nextSibling}f", - L"unction Fb(a,b,c){c||(a=a.parentNode);for(c=0;a;){za(\"parentNode\"!=a", - L".name);if(b(a))return a;a=a.parentNode;c++}return null}function qb(a){", - L"this.a=a||aa.document||document}\nfunction Gb(a,b,c,d){a=d||a.a;b=b&&", - L"\"*\"!=b?b.toUpperCase():\"\";if(a.querySelectorAll&&a.querySelector&&", - L"(b||c))c=a.querySelectorAll(b+(c?\".\"+c:\"\"));else if(c&&a.getElemen", - L"tsByClassName)if(a=a.getElementsByClassName(c),b){d={};for(var e=0,f=0", - L",g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;c=d}else c=a;else i", - L"f(a=a.getElementsByTagName(b||\"*\"),c){d={};for(f=e=0;g=a[f];f++)b=g.", - L"className,\"function\"==typeof b.split&&Ha(b.split(/\\s+/),c)&&(d[e++]", - L"=g);d.length=e;c=d}else c=a;return c}\nfunction Hb(a){return sb(a.a)}q", - L"b.prototype.contains=vb;var Ib=x(\"Firefox\"),Jb=$a()||x(\"iPod\"),Kb=", - L"x(\"iPad\"),Lb=x(\"Android\")&&!(Ya()||x(\"Firefox\")||Wa()||x(\"Silk", - L"\")),Mb=Ya(),Nb=x(\"Safari\")&&!(Ya()||x(\"Coast\")||Wa()||Xa()||x(\"S", - L"ilk\")||x(\"Android\"))&&!($a()||x(\"iPad\")||x(\"iPod\"));function Ob", - L"(a,b,c){this.a=a;this.b=b||1;this.f=c||1};var Pb=y&&!jb(9),Qb=y&&!jb(8", - L");function Rb(a,b,c,d){this.a=a;this.nodeName=c;this.nodeValue=d;this.", - L"nodeType=2;this.parentNode=this.ownerElement=b}function Sb(a,b){var c=", - L"Qb&&\"href\"==b.nodeName?a.getAttribute(b.nodeName,2):b.nodeValue;retu", - L"rn new Rb(b,a,b.nodeName,c)};function Tb(a){this.b=a;this.a=0}function", - L" Ub(a){a=a.match(Vb);for(var b=0;b]=|\\\\s+|.\",\"g\"),Wb=/^\\s", - L"/;function E(a,b){return a.b[a.a+(b||0)]}function F(a){return a.b[a.a+", - L"+]}function Xb(a){return a.b.length<=a.a};function Yb(a){var b=null,c=", - L"a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b", - L"=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(Pb&&\"title\"==", - L"a.nodeName.toLowerCase()&&1==c)b=a.text;else if(9==c||1==c){a=9==c?a.d", - L"ocumentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeTy", - L"pe&&(b+=a.nodeValue),Pb&&\"title\"==a.nodeName.toLowerCase()&&(b+=a.te", - L"xt),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}", - L"}else b=a.nodeValue;return\"\"+b}\nfunction Zb(a,b,c){if(null===b)retu", - L"rn!0;try{if(!a.getAttribute)return!1}catch(d){return!1}Qb&&\"class\"==", - L"b&&(b=\"className\");return null==c?!!a.getAttribute(b):a.getAttribute", - L"(b,2)==c}function $b(a,b,c,d,e){return(Pb?ac:bc).call(null,a,b,l(c)?c:", - L"null,l(d)?d:null,e||new G)}\nfunction ac(a,b,c,d,e){if(a instanceof cc", - L"||8==a.b||c&&null===a.b){var f=b.all;if(!f)return e;a=dc(a);if(\"*\"!=", - L"a&&(f=b.getElementsByTagName(a),!f))return e;if(c){for(var g=[],k=0;b=", - L"f[k++];)Zb(b,c,d)&&g.push(b);f=g}for(k=0;b=f[k++];)\"*\"==a&&\"!\"==b.", - L"tagName||I(e,b);return e}ec(a,b,c,d,e);return e}\nfunction bc(a,b,c,d,", - L"e){b.getElementsByName&&d&&\"name\"==c&&!y?(b=b.getElementsByName(d),q", - L"(b,function(b){a.a(b)&&I(e,b)})):b.getElementsByClassName&&d&&\"class", - L"\"==c?(b=b.getElementsByClassName(d),q(b,function(b){b.className==d&&a", - L".a(b)&&I(e,b)})):a instanceof fc?ec(a,b,c,d,e):b.getElementsByTagName&", - L"&(b=b.getElementsByTagName(a.f()),q(b,function(a){Zb(a,c,d)&&I(e,a)}))", - L";return e}\nfunction gc(a,b,c,d,e){var f;if((a instanceof cc||8==a.b||", - L"c&&null===a.b)&&(f=b.childNodes)){var g=dc(a);if(\"*\"!=g&&(f=Ba(f,fun", - L"ction(a){return a.tagName&&a.tagName.toLowerCase()==g}),!f))return e;c", - L"&&(f=Ba(f,function(a){return Zb(a,c,d)}));q(f,function(a){\"*\"==g&&(", - L"\"!\"==a.tagName||\"*\"==g&&1!=a.nodeType)||I(e,a)});return e}return h", - L"c(a,b,c,d,e)}function hc(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibli", - L"ng)Zb(b,c,d)&&a.a(b)&&I(e,b);return e}\nfunction ec(a,b,c,d,e){for(b=b", - L".firstChild;b;b=b.nextSibling)Zb(b,c,d)&&a.a(b)&&I(e,b),ec(a,b,c,d,e)}", - L"function dc(a){if(a instanceof fc){if(8==a.b)return\"!\";if(null===a.b", - L")return\"*\"}return a.f()};function G(){this.b=this.a=null;this.s=0}fu", - L"nction ic(a){this.node=a;this.a=this.b=null}function jc(a,b){if(!a.a)r", - L"eturn b;if(!b.a)return a;for(var c=a.a,d=b.a,e=null,f=null,g=0;c&&d;){", - L"var f=c.node,k=d.node;f==k||f instanceof Rb&&k instanceof Rb&&f.a==k.a", - L"?(f=c,c=c.a,d=d.a):0\",4,2,function(a,b,c){return uc(f", - L"unction(a,b){return a>b},a,b,c)});xc(\"<=\",4,2,function(a,b,c){return", - L" uc(function(a,b){return a<=b},a,b,c)});xc(\">=\",4,2,function(a,b,c){", - L"return uc(function(a,b){return a>=b},a,b,c)});var tc=xc(\"=\",3,2,func", - L"tion(a,b,c){return uc(function(a,b){return a==b},a,b,c,!0)});xc(\"!=\"", - L",3,2,function(a,b,c){return uc(function(a,b){return a!=b},a,b,c,!0)});", - L"xc(\"and\",2,2,function(a,b,c){return rc(a,c)&&rc(b,c)});xc(\"or\",1,2", - L",function(a,b,c){return rc(a,c)||rc(b,c)});function yc(a,b){if(b.a.len", - L"gth&&4!=a.m)throw Error(\"Primary expression must evaluate to nodeset ", - L"if filter has predicate(s).\");K.call(this,a.m);this.c=a;this.g=b;this", - L".j=a.j;this.b=a.b}m(yc,K);yc.prototype.a=function(a){a=this.c.a(a);ret", - L"urn zc(this.g,a)};yc.prototype.toString=function(){var a;a=\"Filter:\"", - L"+L(this.c);return a+=L(this.g)};function Ac(a,b){if(b.lengtha.I)throw Error(\"Function ", - L"\"+a.o+\" expects at most \"+a.I+\" arguments, \"+b.length+\" given\")", - L";a.T&&q(b,function(b,d){if(4!=b.m)throw Error(\"Argument \"+d+\" to fu", - L"nction \"+a.o+\" is not of type Nodeset: \"+b);});K.call(this,a.m);thi", - L"s.g=a;this.c=b;pc(this,a.j||Ea(b,function(a){return a.j}));qc(this,a.W", - L"&&!b.length||a.V&&!!b.length||Ea(b,function(a){return a.b}))}\nm(Ac,K)", - L";Ac.prototype.a=function(a){return this.g.v.apply(null,Ia(a,this.c))};", - L"Ac.prototype.toString=function(){var a=\"Function: \"+this.g;if(this.c", - L".length)var b=Da(this.c,function(a,b){return a+L(b)},\"Arguments:\"),a", - L"=a+L(b);return a};function Bc(a,b,c,d,e,f,g,k,n){this.o=a;this.m=b;thi", - L"s.j=c;this.W=d;this.V=e;this.v=f;this.S=g;this.I=ba(k)?k:g;this.T=!!n}", - L"Bc.prototype.toString=function(){return this.o};var Cc={};\nfunction O", - L"(a,b,c,d,e,f,g,k){if(Cc.hasOwnProperty(a))throw Error(\"Function alrea", - L"dy created: \"+a+\".\");Cc[a]=new Bc(a,b,c,d,!1,e,f,g,k)}O(\"boolean\"", - L",2,!1,!1,function(a,b){return rc(b,a)},1);O(\"ceiling\",1,!1,!1,functi", - L"on(a,b){return Math.ceil(M(b,a))},1);O(\"concat\",3,!1,!1,function(a,b", - L"){var c=Ja(arguments,1);return Da(c,function(b,c){return b+N(c,a)},\"", - L"\")},2,null);O(\"contains\",2,!1,!1,function(a,b,c){b=N(b,a);a=N(c,a);", - L"return-1!=b.indexOf(a)},2);O(\"count\",1,!1,!1,function(a,b){return b.", - L"a(a).s},1,1,!0);\nO(\"false\",2,!1,!1,function(){return!1},0);O(\"floo", - L"r\",1,!1,!1,function(a,b){return Math.floor(M(b,a))},1);O(\"id\",4,!1,", - L"!1,function(a,b){function c(a){if(Pb){var b=e.all[a];if(b){if(b.nodeTy", - L"pe&&a==b.id)return b;if(b.length)return Ga(b,function(b){return a==b.i", - L"d})}return null}return e.getElementById(a)}var d=a.a,e=9==d.nodeType?d", - L":d.ownerDocument,d=N(b,a).split(/\\s+/),f=[];q(d,function(a){(a=c(a))&", - L"&!Ha(f,a)&&f.push(a)});f.sort(wb);var g=new G;q(f,function(a){I(g,a)})", - L";return g},1);\nO(\"lang\",2,!1,!1,function(){return!1},1);O(\"last\",", - L"1,!0,!1,function(a){if(1!=arguments.length)throw Error(\"Function last", - L" expects ()\");return a.f},0);O(\"local-name\",3,!1,!0,function(a,b){v", - L"ar c=b?lc(b.a(a)):a.a;return c?c.nodeName.toLowerCase():\"\"},0,1,!0);", - L"O(\"name\",3,!1,!0,function(a,b){var c=b?lc(b.a(a)):a.a;return c?c.nod", - L"eName.toLowerCase():\"\"},0,1,!0);O(\"namespace-uri\",3,!0,!1,function", - L"(){return\"\"},0,1,!0);\nO(\"normalize-space\",3,!1,!0,function(a,b){r", - L"eturn(b?N(b,a):Yb(a.a)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|", - L"\\s+$/g,\"\")},0,1);O(\"not\",2,!1,!1,function(a,b){return!rc(b,a)},1)", - L";O(\"number\",1,!1,!0,function(a,b){return b?M(b,a):+Yb(a.a)},0,1);O(", - L"\"position\",1,!0,!1,function(a){return a.b},0);O(\"round\",1,!1,!1,fu", - L"nction(a,b){return Math.round(M(b,a))},1);O(\"starts-with\",2,!1,!1,fu", - L"nction(a,b,c){b=N(b,a);a=N(c,a);return 0==b.lastIndexOf(a,0)},2);O(\"s", - L"tring\",3,!1,!0,function(a,b){return b?N(b,a):Yb(a.a)},0,1);\nO(\"stri", - L"ng-length\",1,!1,!0,function(a,b){return(b?N(b,a):Yb(a.a)).length},0,1", - L");O(\"substring\",3,!1,!1,function(a,b,c,d){c=M(c,a);if(isNaN(c)||Infi", - L"nity==c||-Infinity==c)return\"\";d=d?M(d,a):Infinity;if(isNaN(d)||-Inf", - L"inity===d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=N(b,a);if", - L"(Infinity==d)return a.substring(e);b=Math.round(d);return a.substring(", - L"e,c+b)},2,3);O(\"substring-after\",3,!1,!1,function(a,b,c){b=N(b,a);a=", - L"N(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nO", - L"(\"substring-before\",3,!1,!1,function(a,b,c){b=N(b,a);a=N(c,a);a=b.in", - L"dexOf(a);return-1==a?\"\":b.substring(0,a)},2);O(\"sum\",1,!1,!1,funct", - L"ion(a,b){for(var c=nc(b.a(a)),d=0,e=J(c);e;e=J(c))d+=+Yb(e);return d},", - L"1,1,!0);O(\"translate\",3,!1,!1,function(a,b,c,d){b=N(b,a);c=N(c,a);va", - L"r e=N(d,a);a=[];for(d=0;da.length)throw Error(\"Unclosed literal string", - L"\");return new Ec(a)}function ed(a){var b=F(a.a),c=b.indexOf(\":\");if", - L"(-1==c)return new cc(b);var d=b.substring(0,c);a=a.b(d);if(!a)throw Er", - L"ror(\"Namespace prefix not declared: \"+d);b=b.substr(c+1);return new ", - L"cc(b,a)}\nfunction fd(a){var b,c=[],d;if(Kc(E(a.a))){b=F(a.a);d=E(a.a)", - L";if(\"/\"==b&&(Xb(a.a)||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?!", - L"[0-9])[\\w]/.test(d)))return new Ic;d=new Ic;$c(a,\"Missing next locat", - L"ion step.\");b=gd(a,b);c.push(b)}else{a:{b=E(a.a);d=b.charAt(0);switch", - L"(d){case \"$\":throw Error(\"Variable reference not allowed in HTML XP", - L"ath\");case \"(\":F(a.a);b=Zc(a);$c(a,'unclosed \"(\"');bd(a,\")\");br", - L"eak;case '\"':case \"'\":b=dd(a);break;default:if(isNaN(+b))if(!Dc(b)&", - L"&/(?![0-9])[\\w]/.test(d)&&\"(\"==E(a.a,1)){b=F(a.a);\nb=Cc[b]||null;F", - L"(a.a);for(d=[];\")\"!=E(a.a);){$c(a,\"Missing function argument list.", - L"\");d.push(Zc(a));if(\",\"!=E(a.a))break;F(a.a)}$c(a,\"Unclosed functi", - L"on argument list.\");cd(a);b=new Ac(b,d)}else{b=null;break a}else b=ne", - L"w Fc(+F(a.a))}\"[\"==E(a.a)&&(d=new Nc(hd(a)),b=new yc(b,d))}if(b)if(K", - L"c(E(a.a)))d=b;else return b;else b=gd(a,\"/\"),d=new Jc,c.push(b)}for(", - L";Kc(E(a.a));)b=F(a.a),$c(a,\"Missing next location step.\"),b=gd(a,b),", - L"c.push(b);return new Gc(d,c)}\nfunction gd(a,b){var c,d,e;if(\"/\"!=b&", - L"&\"//\"!=b)throw Error('Step op should be \"/\" or \"//\"');if(\".\"==", - L"E(a.a))return d=new Oc(Vc,new fc(\"node\")),F(a.a),d;if(\"..\"==E(a.a)", - L")return d=new Oc(Uc,new fc(\"node\")),F(a.a),d;var f;if(\"@\"==E(a.a))", - L"f=Hc,F(a.a),$c(a,\"Missing attribute name\");else if(\"::\"==E(a.a,1))", - L"{if(!/(?![0-9])[\\w]/.test(E(a.a).charAt(0)))throw Error(\"Bad token: ", - L"\"+F(a.a));c=F(a.a);f=Sc[c]||null;if(!f)throw Error(\"No axis with nam", - L"e: \"+c);F(a.a);$c(a,\"Missing node name\")}else f=Pc;c=E(a.a);if(/(?!", - L"[0-9])[\\w]/.test(c.charAt(0)))if(\"(\"==\nE(a.a,1)){if(!Dc(c))throw E", - L"rror(\"Invalid node type: \"+c);c=F(a.a);if(!Dc(c))throw Error(\"Inval", - L"id type name: \"+c);bd(a,\"(\");$c(a,\"Bad nodetype\");e=E(a.a).charAt", - L"(0);var g=null;if('\"'==e||\"'\"==e)g=dd(a);$c(a,\"Bad nodetype\");cd(", - L"a);c=new fc(c,g)}else c=ed(a);else if(\"*\"==c)c=ed(a);else throw Erro", - L"r(\"Bad token: \"+F(a.a));e=new Nc(hd(a),f.a);return d||new Oc(f,c,e,", - L"\"//\"==b)}\nfunction hd(a){for(var b=[];\"[\"==E(a.a);){F(a.a);$c(a,", - L"\"Missing predicate expression.\");var c=Zc(a);b.push(c);$c(a,\"Unclos", - L"ed predicate expression.\");bd(a,\"]\")}return b}function ad(a){if(\"-", - L"\"==E(a.a))return F(a.a),new Wc(ad(a));var b=fd(a);if(\"|\"!=E(a.a))a=", - L"b;else{for(b=[b];\"|\"==F(a.a);)$c(a,\"Missing next union location pat", - L"h.\"),b.push(fd(a));a.a.a--;a=new Xc(b)}return a};function id(a){switc", - L"h(a.nodeType){case 1:return na(jd,a);case 9:return id(a.documentElemen", - L"t);case 2:return a.ownerElement?id(a.ownerElement):kd;case 11:case 10:", - L"case 6:case 12:return kd;default:return a.parentNode?id(a.parentNode):", - L"kd}}function kd(){return null}function jd(a,b){if(a.prefix==b)return a", - L".namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttributeNo", - L"de(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=", - L"a.parentNode.nodeType?jd(a.parentNode,b):null};function ld(a,b){if(!a.", - L"length)throw Error(\"Empty XPath expression.\");var c=Ub(a);if(Xb(c))t", - L"hrow Error(\"Invalid XPath expression.\");b?ga(b)||(b=ma(b.lookupNames", - L"paceURI,b)):b=function(){return null};var d=Zc(new Yc(c,b));if(!Xb(c))", - L"throw Error(\"Bad token: \"+F(c));this.evaluate=function(a,b){var c=d.", - L"a(new Ob(a));return new md(c,b)}}\nfunction md(a,b){if(0==b)if(a insta", - L"nceof G)b=4;else if(\"string\"==typeof a)b=2;else if(\"number\"==typeo", - L"f a)b=1;else if(\"boolean\"==typeof a)b=3;else throw Error(\"Unexpecte", - L"d evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof G))throw E", - L"rror(\"value could not be converted to the specified type\");this.resu", - L"ltType=b;var c;switch(b){case 2:this.stringValue=a instanceof G?mc(a):", - L"\"\"+a;break;case 1:this.numberValue=a instanceof G?+mc(a):+a;break;ca", - L"se 3:this.booleanValue=a instanceof G?0=c.length?null:c[f++]};this.snapsho", - L"tItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called with", - L" wrong result type\");return a>=c.length||\n0>a?null:c[a]}}md.ANY_TYPE", - L"=0;md.NUMBER_TYPE=1;md.STRING_TYPE=2;md.BOOLEAN_TYPE=3;md.UNORDERED_NO", - L"DE_ITERATOR_TYPE=4;md.ORDERED_NODE_ITERATOR_TYPE=5;md.UNORDERED_NODE_S", - L"NAPSHOT_TYPE=6;md.ORDERED_NODE_SNAPSHOT_TYPE=7;md.ANY_UNORDERED_NODE_T", - L"YPE=8;md.FIRST_ORDERED_NODE_TYPE=9;function nd(a){this.lookupNamespace", - L"URI=id(a)}\nfunction od(a){a=a||aa;var b=a.document;b.evaluate||(a.XPa", - L"thResult=md,b.evaluate=function(a,b,e,f){return(new ld(a,e)).evaluate(", - L"b,f)},b.createExpression=function(a,b){return new ld(a,b)},b.createNSR", - L"esolver=function(a){return new nd(a)})};var pd={};pd.J=function(){var ", - L"a={$:\"http://www.w3.org/2000/svg\"};return function(b){return a[b]||n", - L"ull}}();\npd.v=function(a,b,c){var d=D(a);if(!d.documentElement)return", - L" null;(y||Lb)&&od(tb(d));try{var e=d.createNSResolver?d.createNSResolv", - L"er(d.documentElement):pd.J;if(y&&!ib(7))return d.evaluate.call(d,b,a,e", - L",c,null);if(!y||jb(9)){for(var f={},g=d.getElementsByTagName(\"*\"),k=", - L"0;k=this.left&&a.right<=this.right&", - L"&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.righ", - L"t&&a.y>=this.top&&a.y<=this.bottom:!1};\nh.ceil=function(){this.top=Ma", - L"th.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ce", - L"il(this.bottom);this.left=Math.ceil(this.left);return this};h.floor=fu", - L"nction(){this.top=Math.floor(this.top);this.right=Math.floor(this.righ", - L"t);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left)", - L";return this};h.round=function(){this.top=Math.round(this.top);this.ri", - L"ght=Math.round(this.right);this.bottom=Math.round(this.bottom);this.le", - L"ft=Math.round(this.left);return this};\nh.scale=function(a,b){var c=ea", - L"(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return t", - L"his};function P(a,b,c,d){this.left=a;this.top=b;this.width=c;this.heig", - L"ht=d}h=P.prototype;h.clone=function(){return new P(this.left,this.top,", - L"this.width,this.height)};h.toString=function(){return\"(\"+this.left+", - L"\", \"+this.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};h.cont", - L"ains=function(a){return a instanceof P?this.left<=a.left&&this.left+th", - L"is.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top", - L"+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.", - L"y<=this.top+this.height};\nh.ceil=function(){this.left=Math.ceil(this.", - L"left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);th", - L"is.height=Math.ceil(this.height);return this};h.floor=function(){this.", - L"left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Ma", - L"th.floor(this.width);this.height=Math.floor(this.height);return this};", - L"h.round=function(){this.left=Math.round(this.left);this.top=Math.round", - L"(this.top);this.width=Math.round(this.width);this.height=Math.round(th", - L"is.height);return this};\nh.scale=function(a,b){var c=ea(b)?b:a;this.l", - L"eft*=a;this.width*=a;this.top*=c;this.height*=c;return this};function ", - L"Hd(a,b){var c=D(a);return c.defaultView&&c.defaultView.getComputedStyl", - L"e&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue", - L"(b)||\"\":\"\"}function Id(a){a=a?D(a):document;var b;(b=!y||jb(9))||(", - L"b=\"CSS1Compat\"==pb(a).a.compatMode);return b?a.documentElement:a.bod", - L"y}\nfunction Jd(a){var b;try{b=a.getBoundingClientRect()}catch(c){retu", - L"rn{left:0,top:0,right:0,bottom:0}}y&&a.ownerDocument.body&&(a=a.ownerD", - L"ocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=", - L"a.documentElement.clientTop+a.body.clientTop);return b}function Kd(a){", - L"var b=a.offsetWidth,c=a.offsetHeight,d=B&&!b&&!c;return ba(b)&&!d||!a.", - L"getBoundingClientRect?new ob(b,c):(a=Jd(a),new ob(a.right-a.left,a.bot", - L"tom-a.top))}var Ld={thin:2,medium:4,thick:6};\nfunction Md(a,b){if(\"n", - L"one\"==(a.currentStyle?a.currentStyle[b+\"Style\"]:null))return 0;var ", - L"c=a.currentStyle?a.currentStyle[b+\"Width\"]:null,d;if(c in Ld)d=Ld[c]", - L";else if(/^\\d+px?$/.test(c))d=parseInt(c,10);else{d=a.style.left;var ", - L"e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.", - L"left=c;c=a.style.pixelLeft;a.style.left=d;a.runtimeStyle.left=e;d=c}re", - L"turn d}y&&ib(12);function Nd(a){var b;a:{a=D(a);try{b=a&&a.activeEleme", - L"nt;break a}catch(c){}b=null}return y&&b&&\"undefined\"===typeof b.node", - L"Type?null:b}function Q(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.t", - L"oUpperCase()==b)}function Od(a){var b;if(b=Pd(a,!0)&&Qd(a))b=!(y||A&&!", - L"ud(\"1.9.2\")?0:\"none\"==R(a,\"pointer-events\"));return b}function R", - L"d(a){return Q(a,\"OPTION\")?!0:Q(a,\"INPUT\")?(a=a.type.toLowerCase(),", - L"\"checkbox\"==a||\"radio\"==a):!1}\nfunction Sd(a){if(!Rd(a))throw new", - L" u(15,\"Element is not selectable\");var b=\"selected\",c=a.type&&a.ty", - L"pe.toLowerCase();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";return", - L"!!Td(a,b)}function Td(a,b){var c;if(c=Bd&&\"value\"==b&&Q(a,\"OPTION\"", - L"))c=null===Ud(a,\"value\");c?(c=[],Eb(a,c,!1),c=c.join(\"\")):c=a[b];r", - L"eturn c}var Vd=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2}", - L")*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction Wd(a){var b=[]", - L";q(a.split(Vd),function(a){var d=a.indexOf(\":\");0=c&&0<=f&&255>=f&&0<=g&&255>=g&&0<=e&&1>=e){c=[", - L"c,f,g,e];break b}}c=null}if(!c)b:{if(g=d.match(Pa))if(c=Number(g[1]),f", - L"=Number(g[2]),g=Number(g[3]),0<=c&&255>=c&&0<=f&&255>=f&&0<=g&&255>=g)", - L"{c=[c,f,g,1];break b}c=null}if(!c)b:{c=d.toLowerCase();\nf=Ka[c.toLowe", - L"rCase()];if(!f&&(f=\"#\"==c.charAt(0)?c:\"#\"+c,4==f.length&&(f=f.repl", - L"ace(Ma,\"#$1$1$2$2$3$3\")),!Na.test(f))){c=null;break b}c=[parseInt(f.", - L"substr(1,2),16),parseInt(f.substr(3,2),16),parseInt(f.substr(5,2),16),", - L"1]}d=c?\"rgba(\"+c.join(\", \")+\")\":d}return d}function be(a,b){var ", - L"c=a.currentStyle||a.style,d=c[b];!ba(d)&&ga(c.getPropertyValue)&&(d=c.", - L"getPropertyValue(b));return\"inherit\"!=d?ba(d)?d:null:(c=$d(a))?be(c,", - L"b):null}\nfunction ce(a,b,c){function d(a){var b=de(a);return 0=H.left+H.width;H=f.top>=H.top+H.height;if(S&&\"hidd", - L"en\"==t.x||H&&\"hidden\"==t.y)return fe;if(S&&\"visible\"!=t.x||H&&\"v", - L"isible\"!=t.y){if(r&&(t=e(z),f.left>=k.scrollWidth-t.x||f.right>=k.scr", - L"ollHeight-t.y))return fe;f=ee(z);return f==fe?fe:\"scroll\"}}}return\"", - L"none\"}var je=/matrix\\(([\\d\\.\\-]+), ([\\d\\.\\-]+), ([\\d\\.\\-]+)", - L", ([\\d\\.\\-]+), ([\\d\\.\\-]+)(?:px)?, ([\\d\\.\\-]+)(?:px)?\\)/;\nf", - L"unction de(a){function b(a){var c=tb(D(a)).getComputedStyle(a,null).Mo", - L"zTransform.match(je);if(c){var d=parseFloat(c[1]),e=parseFloat(c[2]),r", - L"=parseFloat(c[3]),z=parseFloat(c[4]),t=parseFloat(c[5]),c=parseFloat(c", - L"[6]),H=f.left+f.width,S=f.top+f.height,fa=f.left*d,d=H*d,Ab=f.left*e,e", - L"=H*e,Cb=f.top*r,r=S*r,Db=f.top*z,H=S*z,S=fa+Cb+t,z=Ab+Db+c,Cb=d+Cb+t,D", - L"b=e+Db+c,fa=fa+r+t,Ab=Ab+H+c,t=d+r+t,c=e+H+c;f.left=Math.min(S,Cb,fa,t", - L");f.top=Math.min(z,Db,Ab,c);t=Math.max(S,Cb,fa,t);c=Math.max(z,Db,Ab,c", - L");f.width=\nt-f.left;f.height=c-f.top}(a=$d(a))&&b(a)}var c=ge(a);if(c", - L")return c.rect;if(Q(a,\"HTML\"))return c=D(a),a=rb(tb(c)||window),new ", - L"P(0,0,a.width,a.height);var d;try{d=a.getBoundingClientRect()}catch(e)", - L"{return new P(0,0,0,0)}var f=new P(d.left,d.top,d.right-d.left,d.botto", - L"m-d.top);y&&a.ownerDocument.body&&(c=D(a),f.left-=c.documentElement.cl", - L"ientLeft+c.body.clientLeft,f.top-=c.documentElement.clientTop+c.body.c", - L"lientTop);A&&!ud(12)&&b(a);return f}\nfunction ge(a){var b=Q(a,\"MAP\"", - L");if(!b&&!Q(a,\"AREA\"))return null;var c=b?a:Q(a.parentNode,\"MAP\")?", - L"a.parentNode:null,d=null,e=null;if(c&&c.name&&(d=D(c),d=pd.A('/descend", - L"ant::*[@usemap = \"#'+c.name+'\"]',d))&&(e=de(d),!b&&\"default\"!=a.sh", - L"ape.toLowerCase())){var f=ke(a);a=Math.min(Math.max(f.left,0),e.width)", - L";b=Math.min(Math.max(f.top,0),e.height);c=Math.min(f.width,e.width-a);", - L"f=Math.min(f.height,e.height-b);e=new P(a+e.left,b+e.top,c,f)}return{L", - L":d,rect:e||new P(0,0,0,0)}}\nfunction ke(a){var b=a.shape.toLowerCase(", - L");a=a.coords.split(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[", - L"1];return new P(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)retur", - L"n b=a[2],new P(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2=~*^$|%&@`{}\\-", - L"\\/\\[\\]\\(\\)])/g,\n\"\\\\$1\")}};var ve={},we={};ve.R=function(a,b,", - L"c){var d;try{d=te.u(\"a\",b)}catch(e){d=Gb(pb(b),\"A\",null,b)}return ", - L"Ga(d,function(b){b=me(b);return c&&-1!=b.indexOf(a)||b==a})};ve.N=func", - L"tion(a,b,c){var d;try{d=te.u(\"a\",b)}catch(e){d=Gb(pb(b),\"A\",null,b", - L")}return Ba(d,function(b){b=me(b);return c&&-1!=b.indexOf(a)||b==a})};", - L"ve.A=function(a,b){return ve.R(a,b,!1)};ve.u=function(a,b){return ve.N", - L"(a,b,!1)};we.A=function(a,b){return ve.R(a,b,!0)};we.u=function(a,b){r", - L"eturn ve.N(a,b,!0)};var xe={A:function(a,b){return b.getElementsByTagN", - L"ame(a)[0]||null},u:function(a,b){return b.getElementsByTagName(a)}};va", - L"r ye={className:se,\"class name\":se,css:te,\"css selector\":te,id:ue,", - L"linkText:ve,\"link text\":ve,name:{A:function(a,b){var c=Gb(pb(b),\"*", - L"\",null,b);return Ga(c,function(b){return Ud(b,\"name\")==a})},u:funct", - L"ion(a,b){var c=Gb(pb(b),\"*\",null,b);return Ba(c,function(b){return U", - L"d(b,\"name\")==a})}},partialLinkText:we,\"partial link text\":we,tagNa", - L"me:xe,\"tag name\":xe,xpath:pd};\nfunction ze(a,b){var c;a:{for(c in a", - L")if(a.hasOwnProperty(c))break a;c=null}if(c){var d=ye[c];if(d&&ga(d.u)", - L")return d.u(a[c],b||pa.document)}throw Error(\"Unsupported locator str", - L"ategy: \"+c);};function Ae(a){this.a=pa.document.documentElement;this.", - L"f=null;var b=Nd(this.a);b&&Be(this,b);this.w=a||new Ce}function Be(a,b", - L"){a.a=b;Q(b,\"OPTION\")?a.f=Fb(b,function(a){return Q(a,\"SELECT\")}):", - L"a.f=null}\nfunction De(a,b,c,d,e,f,g,k){if(!g&&!Od(a.a))return!1;if(e&", - L"&Ee!=b&&Fe!=b)throw new u(12,\"Event type does not allow related targe", - L"t: \"+b);c={clientX:c.x,clientY:c.y,button:d,altKey:0!=(a.w.a&4),ctrlK", - L"ey:0!=(a.w.a&2),shiftKey:0!=(a.w.a&1),metaKey:0!=(a.w.a&8),wheelDelta:", - L"f||0,relatedTarget:e||null};k=k||1;d=a.a;b!=Ge&&b!=He&&k in Ie?d=Ie[k]", - L":a.f&&(d=Je(a,b));return d?T(d,b,c):!0}\nfunction Ke(a,b,c,d,e,f,g){va", - L"r k=MSPointerEvent.MSPOINTER_TYPE_MOUSE;if(!g&&!Od(a.a))return!1;if(f&", - L"&Le!=b&&Me!=b)throw new u(12,\"Event type does not allow related targe", - L"t: \"+b);c={clientX:c.x,clientY:c.y,button:d,altKey:!1,ctrlKey:!1,shif", - L"tKey:!1,metaKey:!1,relatedTarget:f||null,width:0,height:0,pressure:0,r", - L"otation:0,pointerId:1,tiltX:0,tiltY:0,pointerType:k,isPrimary:e};d=a.f", - L"?Je(a,b):a.a;Ie[1]&&(d=Ie[1]);a=tb(D(a.a));var n;a&&b==Ne&&(n=a.Elemen", - L"t.prototype.msSetPointerCapture,a.Element.prototype.msSetPointerCaptur", - L"e=\nfunction(a){Ie[a]=this});b=d?T(d,b,c):!0;n&&(a.Element.prototype.m", - L"sSetPointerCapture=n);return b}function Je(a,b){if(y)switch(b){case Ee", - L":case Le:return null;case Oe:case Pe:case Qe:return a.f.multiple?a.f:n", - L"ull;default:return a.f}if(B)switch(b){case Ge:case Re:return a.f.multi", - L"ple?a.a:a.f;default:return a.f.multiple?a.a:null}return a.a}\nfunction", - L" Se(a){a=a.f||a.a;var b=Nd(a);if(a==b)return!1;if(b&&(ga(b.blur)||y&&h", - L"a(b.blur))){if(!Q(b,\"BODY\"))try{b.blur()}catch(c){if(!y||\"Unspecifi", - L"ed error.\"!=c.message)throw c;}y&&!ud(8)&&tb(D(a)).focus()}return ga(", - L"a.focus)||y&&ha(a.focus)?(a.focus(),!0):!1}var Te=B||vd&&wd(3.6);funct", - L"ion Ue(a){if(Q(a,\"INPUT\")){var b=a.type.toLowerCase();if(\"submit\"=", - L"=b||\"image\"==b)return!0}return Q(a,\"BUTTON\")&&(b=a.type.toLowerCas", - L"e(),\"submit\"==b)?!0:!1}\nfunction Ve(a){if(Te||!a.href)return!1;if(!", - L"vd)return!0;if(a.target||0==a.href.toLowerCase().indexOf(\"javascript", - L"\"))return!1;var b=tb(D(a)),c=b.location.href;a=We(b.location,a.href);", - L"return c.split(\"#\")[0]!==a.split(\"#\")[0]}function Xe(a){return Q(a", - L",\"FORM\")}\nfunction Ye(a){if(!Xe(a))throw new u(12,\"Element is not ", - L"a form, so could not submit.\");if(T(a,Ze))if(Q(a.submit))if(!y||ud(8)", - L")a.constructor.prototype.submit.call(a);else{var b=ze({id:\"submit\"},", - L"a),c=ze({name:\"submit\"},a);q(b,function(a){a.removeAttribute(\"id\")", - L"});q(c,function(a){a.removeAttribute(\"name\")});a=a.submit;q(b,functi", - L"on(a){a.setAttribute(\"id\",\"submit\")});q(c,function(a){a.setAttribu", - L"te(\"name\",\"submit\")});a()}else a.submit()}var $e=/^([^:/?#.]+:)?(?", - L":\\/\\/([^/]*))?([^?#]+)?(\\?[^#]*)?(#.*)?$/;\nfunction We(a,b){var c=", - L"b.match($e);if(!c)return\"\";var d=c[1]||\"\",e=c[2]||\"\",f=c[3]||\"", - L"\",g=c[4]||\"\",c=c[5]||\"\";if(!d&&(d=a.protocol,!e))if(e=a.host,!f)f", - L"=a.pathname,g=g||a.search;else if(\"/\"!=f.charAt(0)){var k=a.pathname", - L".lastIndexOf(\"/\");-1!=k&&(f=a.pathname.substr(0,k+1)+f)}return d+\"/", - L"/\"+e+f+g+c}function Ce(){this.a=0}var Ie={};var af=!(y&&!ud(10)),bf=L", - L"b?!wd(4):!yd,cf=y&&pa.navigator.msPointerEnabled;function U(a,b,c){thi", - L"s.a=a;this.b=b;this.f=c}U.prototype.c=function(a){a=D(a);Dd&&a.createE", - L"ventObject?a=a.createEventObject():(a=a.createEvent(\"HTMLEvents\"),a.", - L"initEvent(this.a,this.b,this.f));return a};U.prototype.toString=functi", - L"on(){return this.a};function df(a,b,c){U.call(this,a,b,c)}m(df,U);\ndf", - L".prototype.c=function(a,b){if(!A&&this==ef)throw new u(9,\"Browser doe", - L"s not support a mouse pixel scroll event.\");var c=D(a),d;if(Dd){d=c.c", - L"reateEventObject();d.altKey=b.altKey;d.ctrlKey=b.ctrlKey;d.metaKey=b.m", - L"etaKey;d.shiftKey=b.shiftKey;d.button=b.button;d.clientX=b.clientX;d.c", - L"lientY=b.clientY;c=function(a,b){Object.defineProperty(d,a,{get:functi", - L"on(){return b}})};if(this==Fe||this==Ee)if(Object.defineProperty){var ", - L"e=this==Fe;c(\"fromElement\",e?a:b.relatedTarget);c(\"toElement\",e?b.", - L"relatedTarget:a)}else d.relatedTarget=\nb.relatedTarget;this==ff&&(Obj", - L"ect.defineProperty?c(\"wheelDelta\",b.wheelDelta):d.detail=b.wheelDelt", - L"a)}else{e=tb(c);d=c.createEvent(\"MouseEvents\");var f=1;this==ff&&(A|", - L"|(d.wheelDelta=b.wheelDelta),A&&(f=b.wheelDelta/-40));A&&this==ef&&(f=", - L"b.wheelDelta);d.initMouseEvent(this.a,this.b,this.f,e,f,b.clientX,b.cl", - L"ientY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.bu", - L"tton,b.relatedTarget);if(y&&0===d.pageX&&0===d.pageY&&Object.definePro", - L"perty){var e=Hb(pb(a)),c=Id(c),g=b.clientX+e.scrollLeft-\nc.clientLeft", - L",k=b.clientY+e.scrollTop-c.clientTop;Object.defineProperty(d,\"pageX\"", - L",{get:function(){return g}});Object.defineProperty(d,\"pageY\",{get:fu", - L"nction(){return k}})}}return d};function gf(a,b,c){U.call(this,a,b,c)}", - L"m(gf,U);\ngf.prototype.c=function(a,b){var c=D(a);if(A){var d=tb(c),e=", - L"b.charCode?0:b.keyCode,c=c.createEvent(\"KeyboardEvent\");c.initKeyEve", - L"nt(this.a,this.b,this.f,d,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,e,b.", - L"charCode);this.a==hf&&b.preventDefault&&c.preventDefault()}else Dd?c=c", - L".createEventObject():(c=c.createEvent(\"Events\"),c.initEvent(this.a,t", - L"his.b,this.f)),c.altKey=b.altKey,c.ctrlKey=b.ctrlKey,c.metaKey=b.metaK", - L"ey,c.shiftKey=b.shiftKey,c.keyCode=b.charCode||b.keyCode,B&&(c.charCod", - L"e=this==hf?c.keyCode:0);return c};\nfunction jf(a,b,c){U.call(this,a,b", - L",c)}m(jf,U);\njf.prototype.c=function(a,b){function c(b){b=Ca(b,functi", - L"on(b){return f.createTouch(g,a,b.identifier,b.pageX,b.pageY,b.screenX,", - L"b.screenY)});return f.createTouchList.apply(f,b)}function d(b){var c=C", - L"a(b,function(b){return{identifier:b.identifier,screenX:b.screenX,scree", - L"nY:b.screenY,clientX:b.clientX,clientY:b.clientY,pageX:b.pageX,pageY:b", - L".pageY,target:a}});c.item=function(a){return c[a]};return c}function e", - L"(a){return bf?d(a):c(a)}if(!af)throw new u(9,\"Browser does not suppor", - L"t firing touch events.\");var f=\nD(a),g=tb(f),k=e(b.changedTouches),n", - L"=b.touches==b.changedTouches?k:e(b.touches),v=b.targetTouches==b.chang", - L"edTouches?k:e(b.targetTouches),r;bf?(r=f.createEvent(\"MouseEvents\"),", - L"r.initMouseEvent(this.a,this.b,this.f,g,1,0,0,b.clientX,b.clientY,b.ct", - L"rlKey,b.altKey,b.shiftKey,b.metaKey,0,b.relatedTarget),r.touches=n,r.t", - L"argetTouches=v,r.changedTouches=k,r.scale=b.scale,r.rotation=b.rotatio", - L"n):(r=f.createEvent(\"TouchEvent\"),Lb?r.initTouchEvent(n,v,k,this.a,g", - L",0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,\nb.metaKey):r.", - L"initTouchEvent(this.a,this.b,this.f,g,1,0,0,b.clientX,b.clientY,b.ctrl", - L"Key,b.altKey,b.shiftKey,b.metaKey,n,v,k,b.scale,b.rotation),r.relatedT", - L"arget=b.relatedTarget);return r};function kf(a,b,c){U.call(this,a,b,c)", - L"}m(kf,U);\nkf.prototype.c=function(a,b){if(!cf)throw new u(9,\"Browser", - L" does not support MSGesture events.\");var c=D(a),d=tb(c),c=c.createEv", - L"ent(\"MSGestureEvent\");c.initGestureEvent(this.a,this.b,this.f,d,1,0,", - L"0,b.clientX,b.clientY,0,0,b.translationX,b.translationY,b.scale,b.expa", - L"nsion,b.rotation,b.velocityX,b.velocityY,b.velocityExpansion,b.velocit", - L"yAngular,(new Date).getTime(),b.relatedTarget);return c};function lf(a", - L",b,c){U.call(this,a,b,c)}m(lf,U);\nlf.prototype.c=function(a,b){if(!cf", - L")throw new u(9,\"Browser does not support MSPointer events.\");var c=D", - L"(a),d=tb(c),c=c.createEvent(\"MSPointerEvent\");c.initPointerEvent(thi", - L"s.a,this.b,this.f,d,0,0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shi", - L"ftKey,b.metaKey,b.button,b.relatedTarget,0,0,b.width,b.height,b.pressu", - L"re,b.rotation,b.tiltX,b.tiltY,b.pointerId,b.pointerType,0,b.isPrimary)", - L";return c};\nvar mf=new U(\"blur\",!1,!1),nf=new U(\"change\",!0,!1),o", - L"f=new U(\"focus\",!1,!1),pf=new U(\"input\",!0,!1),Ze=new U(\"submit\"", - L",!0,!0),qf=new U(\"textInput\",!0,!0),Ge=new df(\"click\",!0,!0),Oe=ne", - L"w df(\"contextmenu\",!0,!0),rf=new df(\"dblclick\",!0,!0),He=new df(\"", - L"mousedown\",!0,!0),Pe=new df(\"mousemove\",!0,!1),Fe=new df(\"mouseout", - L"\",!0,!0),Ee=new df(\"mouseover\",!0,!0),Re=new df(\"mouseup\",!0,!0),", - L"ff=new df(A?\"DOMMouseScroll\":\"mousewheel\",!0,!0),ef=new df(\"MozMo", - L"usePixelScroll\",!0,!0),sf=new gf(\"keydown\",!0,!0),hf=new gf(\"keypr", - L"ess\",\n!0,!0),tf=new gf(\"keyup\",!0,!0),uf=new jf(\"touchend\",!0,!0", - L"),vf=new jf(\"touchstart\",!0,!0),wf=new lf(\"MSGotPointerCapture\",!0", - L",!1),xf=new lf(\"MSLostPointerCapture\",!0,!1),Ne=new lf(\"MSPointerDo", - L"wn\",!0,!0),Qe=new lf(\"MSPointerMove\",!0,!0),Le=new lf(\"MSPointerOv", - L"er\",!0,!0),Me=new lf(\"MSPointerOut\",!0,!0),yf=new lf(\"MSPointerUp", - L"\",!0,!0);function T(a,b,c){c=b.c(a,c);\"isTrusted\"in c||(c.isTrusted", - L"=!1);return Dd&&a.fireEvent?a.fireEvent(\"on\"+b.a,c):a.dispatchEvent(", - L"c)};function zf(a,b){if(Af(a))a.selectionStart=b;else if(y){var c=Bf(a", - L"),d=c[0];d.inRange(c[1])&&(b=Cf(a,b),d.collapse(!0),d.move(\"character", - L"\",b),d.select())}}\nfunction Df(a,b){var c=0,d=0;if(Af(a))c=a.selecti", - L"onStart,d=b?-1:a.selectionEnd;else if(y){var e=Bf(a),f=e[0],e=e[1];if(", - L"f.inRange(e)){f.setEndPoint(\"EndToStart\",e);if(\"textarea\"==a.type)", - L"{for(var c=e.duplicate(),g=f.text,d=g,k=e=c.text,n=!1;!n;)0==f.compare", - L"EndPoints(\"StartToEnd\",f)?n=!0:(f.moveEnd(\"character\",-1),f.text==", - L"g?d+=\"\\r\\n\":n=!0);if(b)f=[d.length,-1];else{for(f=!1;!f;)0==c.comp", - L"areEndPoints(\"StartToEnd\",c)?f=!0:(c.moveEnd(\"character\",-1),c.tex", - L"t==e?k+=\"\\r\\n\":f=!0);f=[d.length,d.length+k.length]}return f}c=\nf", - L".text.length;b?d=-1:d=f.text.length+e.text.length}}return[c,d]}functio", - L"n Ef(a,b){if(Af(a))a.selectionEnd=b;else if(y){var c=Bf(a),d=c[1];c[0]", - L".inRange(d)&&(b=Cf(a,b),c=Cf(a,Df(a,!0)[0]),d.collapse(!0),d.moveEnd(", - L"\"character\",b-c),d.select())}}function Ff(a,b){if(Af(a))a.selectionS", - L"tart=b,a.selectionEnd=b;else if(y){b=Cf(a,b);var c=a.createTextRange()", - L";c.collapse(!0);c.move(\"character\",b);c.select()}}\nfunction Gf(a,b)", - L"{if(Af(a)){var c=a.value,d=a.selectionStart;a.value=c.substr(0,d)+b+c.", - L"substr(a.selectionEnd);a.selectionStart=d;a.selectionEnd=d+b.length}el", - L"se if(y)d=Bf(a),c=d[1],d[0].inRange(c)&&(d=c.duplicate(),c.text=b,c.se", - L"tEndPoint(\"StartToStart\",d),c.select());else throw Error(\"Cannot se", - L"t the selection end\");}function Bf(a){var b=a.ownerDocument||a.docume", - L"nt,c=b.selection.createRange();\"textarea\"==a.type?(b=b.body.createTe", - L"xtRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,c]}\n", - L"function Cf(a,b){\"textarea\"==a.type&&(b=a.value.substring(0,b).repla", - L"ce(/(\\r\\n|\\r|\\n)/g,\"\\n\").length);return b}function Af(a){try{re", - L"turn\"number\"==typeof a.selectionStart}catch(b){return!1}};function H", - L"f(a){return a};var If=\"StopIteration\"in aa?aa.StopIteration:{message", - L":\"StopIteration\",stack:\"\"};function Jf(){}Jf.prototype.b=function(", - L"){throw If;};Jf.prototype.D=function(){return this};function Kf(a){if(", - L"a instanceof Jf)return a;if(\"function\"==typeof a.D)return a.D(!1);if", - L"(da(a)){var b=0,c=new Jf;c.b=function(){for(;;){if(b>=a.length)throw I", - L"f;if(b in a)return a[b++];b++}};return c}throw Error(\"Not implemented", - L"\");}function Lf(a,b){this.c=Kf(a);this.g=b||Hf}m(Lf,Jf);\nLf.prototyp", - L"e.b=function(){for(;this.a==this.l;)this.f=this.c.b(),this.a=this.g(th", - L"is.f);for(var a=this.l=this.a,b=this.l,c=[];this.a==b;){c.push(this.f)", - L";try{this.f=this.c.b()}catch(d){if(d!==If)throw d;break}this.a=this.g(", - L"this.f)}return[a,c]};function Mf(a,b){this.b={};this.a=[];this.c=this.", - L"f=0;var c=arguments.length;if(1=d.a.length)throw If;var e=d.a[b++];re", - L"turn a?e:d.b[e]};return e};function Qf(a,b){return Object.prototype.ha", - L"sOwnProperty.call(a,b)};function Rf(a){if(\"function\"==typeof a.B)ret", - L"urn a.B();if(l(a))return a.split(\"\");if(da(a)){for(var b=[],c=a.leng", - L"th,d=0;d\");V(191,\"/\",\"?\");V(192,\"`\",\"~\");V(2", - L"19,\"[\",\"{\");V(220,\"\\\\\",\"|\");V(221,\"]\",\"}\");var Vg=V({h:5", - L"9,i:186},\";\",\":\");V(222,\"'\",'\"');var Wg=[bg,ag,pg,W],Xg=new Mf;", - L"Nf(Xg,1,W);Nf(Xg,2,ag);Nf(Xg,4,bg);Nf(Xg,8,pg);var Yg=function(a){var ", - L"b=new Mf;q(Of(a),function(c){Nf(b,a.get(c).code,c)});return b}(Xg);\nf", - L"unction Vf(a,b,c){if(Ha(Wg,b)){var d=Yg.get(b.code),e=a.w;e.a=c?e.a|d:", - L"e.a&~d}c?Nf(a.c.a,Tf(b),b):(a=a.c.a,b=Tf(b),Qf(a.b,b)&&(delete a.b[b],", - L"a.f--,a.c++,a.a.length>2*a.f&&Pf(a)))}var Zg=y?\"\\r\\n\":\"\\n\";func", - L"tion X(a,b){return a.c.contains(b)}\nfunction $g(a,b){if(Ha(Wg,b)&&X(a", - L",b))throw new u(13,\"Cannot press a modifier key that is already press", - L"ed.\");var c=null!==b.code&&ah(a,sf,b);if((c||A)&&(!bh(b)||ah(a,hf,b,!", - L"c))&&c&&(ch(a,b),a.g))if(b.a){if(!dh){var c=eh(a,b),d=Df(a.a,!0)[0]+1;", - L"fh(a.a)?(Gf(a.a,c),zf(a.a,d)):a.a.value+=c;B&&T(a.a,qf);Dd||T(a.a,pf);", - L"a.b=d}}else switch(b){case $f:dh||(B&&T(a.a,qf),Q(a.a,\"TEXTAREA\")&&(", - L"c=Df(a.a,!0)[0]+Zg.length,fh(a.a)?(Gf(a.a,Zg),zf(a.a,c)):a.a.value+=Zg", - L",y||T(a.a,pf),a.b=c));break;case Yf:case og:dh||(gh(a.a),\nc=Df(a.a,!1", - L"),c[0]==c[1]&&(b==Yf?(zf(a.a,c[1]-1),Ef(a.a,c[1])):Ef(a.a,c[1]+1)),c=D", - L"f(a.a,!1),c=!(c[0]==a.a.value.length||0==c[1]),Gf(a.a,\"\"),(!y&&c||A&", - L"&b==Yf)&&T(a.a,pf),c=Df(a.a,!1),a.b=c[1]);break;case jg:case lg:gh(a.a", - L");var c=a.a,e=Df(c,!0)[0],f=Df(c,!1)[1],g=d=0;b==jg?X(a,W)?a.b==e?(d=M", - L"ath.max(e-1,0),g=f,e=d):(d=e,e=g=f-1):e=e==f?Math.max(e-1,0):e:X(a,W)?", - L"a.b==f?(d=e,e=g=Math.min(f+1,c.value.length)):(d=e+1,g=f,e=d):e=e==f?M", - L"ath.min(f+1,c.value.length):f;X(a,W)?(zf(c,d),Ef(c,g)):Ff(c,e);a.b=e;b", - L"reak;\ncase ig:case hg:gh(a.a),c=a.a,d=Df(c,!0)[0],g=Df(c,!1)[1],b==ig", - L"?(X(a,W)?(zf(c,0),Ef(c,a.b==d?g:d)):Ff(c,0),a.b=0):(X(a,W)?(a.b==d&&zf", - L"(c,g),Ef(c,c.value.length)):Ff(c,c.value.length),a.b=c.value.length)}V", - L"f(a,b,!0)}function bh(a){if(a.a||a==$f)return!0;if(B)return!1;if(y)ret", - L"urn a==dg;switch(a){case W:case ag:case bg:return!1;case pg:case qg:ca", - L"se rg:return A;default:return!0}}\nfunction ch(a,b){if(b==$f&&!A&&Q(a.", - L"a,\"INPUT\")){var c=Fb(a.a,Xe,!0);if(c){var d=c.getElementsByTagName(", - L"\"input\");(Ea(d,function(a){return Ue(a)})||1==d.length||B&&!ud(534))", - L"&&Ye(c)}}}function hh(a,b){if(!X(a,b))throw new u(13,\"Cannot release ", - L"a key that is not pressed. (\"+b.code+\")\");null===b.code||ah(a,tf,b)", - L";Vf(a,b,!1)}function eh(a,b){if(!b.a)throw new u(13,\"not a character ", - L"key\");return X(a,W)?b.b:b.a}var dh=A&&!ud(12);\nfunction gh(a){try{a.", - L"selectionStart}catch(b){if(-1!=b.message.indexOf(\"does not support se", - L"lection.\"))throw Error(b.message+\" (For more information, see https:", - L"//code.google.com/p/chromium/issues/detail?id=330456)\");throw b;}}fun", - L"ction fh(a){try{gh(a)}catch(b){return!1}return!0}\nfunction ah(a,b,c,d", - L"){if(null===c.code)throw new u(13,\"Key must have a keycode to be fire", - L"d.\");c={altKey:X(a,bg),ctrlKey:X(a,ag),metaKey:X(a,pg),shiftKey:X(a,W", - L"),keyCode:c.code,charCode:c.a&&b==hf?eh(a,c).charCodeAt(0):0,preventDe", - L"fault:!!d};return T(a.a,b,c)}function ih(a,b){Be(a,b);a.g=ae(b);var c=", - L"Se(a);a.g&&c&&(Ff(b,b.value.length),a.b=b.value.length)};function jh(a", - L",b){Ae.call(this,b);this.g=this.b=null;this.c=new C(0,0);this.G=this.l", - L"=!1;if(a){ea(a.buttonPressed)&&(this.b=a.buttonPressed);try{Q(a.elemen", - L"tPressed)&&(this.g=a.elementPressed)}catch(c){this.b=null}this.c=new C", - L"(a.clientXY.x,a.clientXY.y);this.l=!!a.nextClickIsDoubleClick;this.G=!", - L"!a.hasEverInteracted;try{a.element&&Q(a.element)&&Be(this,a.element)}c", - L"atch(d){this.b=null}}}m(jh,Ae);var Y={};\nDd?(Y[Ge]=[0,0,0,null],Y[Oe]", - L"=[null,null,0,null],Y[Re]=[1,4,2,null],Y[Fe]=[0,0,0,0],Y[Pe]=[1,4,2,0]", - L"):B||Cd?(Y[Ge]=[0,1,2,null],Y[Oe]=[null,null,2,null],Y[Re]=[0,1,2,null", - L"],Y[Fe]=[0,1,2,0],Y[Pe]=[0,1,2,0]):(Y[Ge]=[0,1,2,null],Y[Oe]=[null,nul", - L"l,2,null],Y[Re]=[0,1,2,null],Y[Fe]=[0,0,0,0],Y[Pe]=[0,0,0,0]);Ed&&(Y[N", - L"e]=Y[Re],Y[yf]=Y[Re],Y[Qe]=[-1,-1,-1,-1],Y[Me]=Y[Qe],Y[Le]=Y[Qe]);Y[rf", - L"]=Y[Ge];Y[He]=Y[Re];Y[Ee]=Y[Fe];var kh={};kh[He]=Ne;kh[Pe]=Qe;kh[Fe]=M", - L"e;kh[Ee]=Le;kh[Re]=yf;\nfunction lh(a,b){if(null!==a.b)throw new u(13,", - L"\"Cannot press more then one button or an already pressed button.\");a", - L".b=b;a.g=a.a;var c;var d=A&&!wd(4);if((B||d)&&(Q(a.a,\"OPTION\")||Q(a.", - L"a,\"SELECT\")))c=!0;else{(d=A||y)&&(c=Nd(a.a));var e=mh(a,He);c=e&&d&&", - L"c!=Nd(a.a)?!1:e}c&&(Ed&&0==a.b&&Q(a.g,\"OPTION\")&&Ke(a,wf,a.c,0,!0),S", - L"e(a))}\nfunction nh(a){if(null===a.b)throw new u(13,\"Cannot release a", - L" button when no button is pressed.\");if(a.f&&Od(a.a)){var b=a.f,c=Sd(", - L"a.a);if(!c||b.multiple)a.a.selected=!c,(!B||!b.multiple||Mb&&wd(28)||L", - L"b&&wd(4))&&T(b,nf)}b=Od(a.a);mh(a,Re);if(0==a.b&&a.a==a.g){if(!Fd||!Q(", - L"a.g,\"OPTION\")){var c=a.c,d=oh(a,Ge);if(b||Od(a.a)){var e=null,f=null", - L";if(!Te)for(var g=a.a;g;g=g.parentNode)if(Q(g,\"A\")){e=g;break}else i", - L"f(Ue(g)){f=g;break}var k=(g=!a.f&&Rd(a.a))&&Sd(a.a);y&&f?f.click():De(", - L"a,Ge,c,d,null,0,b,void 0)&&\n(e&&Ve(e)?(b=e,c=b.href,d=tb(D(b)),y&&!ud", - L"(8)&&(c=We(d.location,c)),b.target?d.open(c,b.target):d.location.href=", - L"c):!g||A||B||k&&\"radio\"==a.a.type.toLowerCase()||(a.a.checked=!k))}}", - L"a.l&&mh(a,rf);a.l=!a.l;Ed&&0==a.b&&Q(a.g,\"OPTION\")&&Ke(a,xf,new C(0,", - L"0),0,!1)}else 2==a.b&&mh(a,Oe);Ie={};a.b=null;a.g=null}\nfunction ph(a", - L",b,c){var d=Od(b),e=de(b);a.c.x=c.x+e.left;a.c.y=c.y+e.top;c=a.a;if(b!", - L"=c){try{tb(D(c)).closed&&(c=null)}catch(f){c=null}c&&(e=c===pa.documen", - L"t.documentElement||c===pa.document.body,c=!a.G&&e?null:c,mh(a,Fe,b));B", - L"e(a,b);y||mh(a,Ee,c,null,d)}mh(a,Pe,null,null,d);y&&b!=c&&mh(a,Ee,c,nu", - L"ll,d);a.l=!1}function mh(a,b,c,d,e){a.G=!0;if(Ed){var f=kh[b];if(f&&!K", - L"e(a,f,a.c,oh(a,f),!0,c,e))return!1}return De(a,b,a.c,oh(a,b),c,d,e)}\n", - L"function oh(a,b){if(!(b in Y))return 0;var c=Y[b][null===a.b?3:a.b];if", - L"(null===c)throw new u(13,\"Event does not permit the specified mouse b", - L"utton.\");return c}function qh(a){return{buttonPressed:a.b,elementPres", - L"sed:a.g,clientXY:{x:a.c.x,y:a.c.y},nextClickIsDoubleClick:a.l,hasEverI", - L"nteracted:a.G,element:a.a}};m(function(){Ae.call(this)},Ae);function r", - L"h(a,b){this.x=a;this.y=b}m(rh,C);rh.prototype.clone=function(){return ", - L"new rh(this.x,this.y)};rh.prototype.scale=C.prototype.scale;rh.prototy", - L"pe.rotate=function(a){var b=Math.cos(a);a=Math.sin(a);var c=this.y*b+t", - L"his.x*a;this.x=this.x*b-this.y*a;this.y=c;return this};function sh(a,b", - L",c,d){function e(a){l(a)?q(a.split(\"\"),function(a){if(1!=a.length)th", - L"row new u(13,\"Argument not a single character: \"+a);var b=Wf[a];b||(", - L"b=a.toUpperCase(),b=V(b.charCodeAt(0),a.toLowerCase(),b),b={key:b,shif", - L"t:a!=b.a});a=b;b=X(f,W);a.shift&&!b&&$g(f,W);$g(f,a.key);hh(f,a.key);a", - L".shift&&!b&&hh(f,W)}):Ha(Wg,a)?X(f,a)?hh(f,a):$g(f,a):($g(f,a),hh(f,a)", - L")}if(a!=Nd(a)){if(!Od(a))throw new u(12,\"Element is not currently int", - L"eractable and may not be manipulated\");th(a)}var f=c||new Uf;ih(f,a);", - L"if((!Nb||\nbb)&&B&&\"date\"==a.type){c=\"array\"==ca(b)?b=b.join(\"\")", - L":b;var g=/\\d{4}-\\d{2}-\\d{2}/;if(c.match(g)){bb&&Nb&&(T(a,vf),T(a,uf", - L"));T(a,of);a.value=c.match(g)[0];T(a,nf);T(a,mf);return}}\"array\"==ca", - L"(b)?q(b,e):e(b);d||q(Wg,function(a){X(f,a)&&hh(f,a)})}\nfunction uh(a)", - L"{var b;if(\"none\"!=(Hd(a,\"display\")||(a.currentStyle?a.currentStyle", - L".display:null)||a.style&&a.style.display))b=Kd(a);else{b=a.style;var c", - L"=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b.posit", - L"ion=\"absolute\";b.display=\"inline\";var f=Kd(a);b.display=c;b.positi", - L"on=e;b.visibility=d;b=f}return 0=a){var b=Z", - L"[a];if(null===b)g.push(k=e()),f&&(k.O=!1,g.push(k=e()));else if(ba(b))", - L"k.keys.push(b);else throw Error(\"Unsupported WebDriver key: \\\\u\"+a", - L".charCodeAt(0).toString(16));}else switch(a){case \"\\n\":k.keys.push(", - L"$f);break;case \"\\t\":k.keys.push(Zf);break;case \"\\b\":k.keys.push(", - L"Yf);break;default:k.keys.push(a)}})});q(g,function(b){sh(a,b.keys,c,b.", - L"O)})}\nvar Z={\"\\ue000\":null};Z[\"\\ue003\"]=Yf;Z[\"\\ue004\"]=Zf;Z[", - L"\"\\ue006\"]=$f;Z[\"\\ue007\"]=$f;Z[\"\\ue008\"]=W;Z[\"\\ue009\"]=ag;Z", - L"[\"\\ue00a\"]=bg;Z[\"\\ue00b\"]=cg;Z[\"\\ue00c\"]=dg;Z[\"\\ue00d\"]=eg", - L";Z[\"\\ue00e\"]=fg;Z[\"\\ue00f\"]=gg;Z[\"\\ue010\"]=hg;Z[\"\\ue011\"]=", - L"ig;Z[\"\\ue012\"]=jg;Z[\"\\ue013\"]=kg;Z[\"\\ue014\"]=lg;Z[\"\\ue015\"", - L"]=mg;Z[\"\\ue016\"]=ng;Z[\"\\ue017\"]=og;Z[\"\\ue018\"]=Vg;Z[\"\\ue019", - L"\"]=Tg;Z[\"\\ue01a\"]=sg;Z[\"\\ue01b\"]=tg;Z[\"\\ue01c\"]=ug;Z[\"\\ue0", - L"1d\"]=vg;Z[\"\\ue01e\"]=wg;Z[\"\\ue01f\"]=xg;Z[\"\\ue020\"]=yg;Z[\"\\u", - L"e021\"]=zg;Z[\"\\ue022\"]=Ag;Z[\"\\ue023\"]=Bg;\nZ[\"\\ue024\"]=Cg;Z[", - L"\"\\ue025\"]=Dg;Z[\"\\ue027\"]=Eg;Z[\"\\ue028\"]=Fg;Z[\"\\ue029\"]=Gg;", - L"Z[\"\\ue026\"]=Ug;Z[\"\\ue031\"]=Hg;Z[\"\\ue032\"]=Ig;Z[\"\\ue033\"]=J", - L"g;Z[\"\\ue034\"]=Kg;Z[\"\\ue035\"]=Lg;Z[\"\\ue036\"]=Mg;Z[\"\\ue037\"]", - L"=Ng;Z[\"\\ue038\"]=Og;Z[\"\\ue039\"]=Pg;Z[\"\\ue03a\"]=Qg;Z[\"\\ue03b", - L"\"]=Rg;Z[\"\\ue03c\"]=Sg;Z[\"\\ue03d\"]=pg;oa(\"webdriver.atoms.inputs", - L".click\",function(a,b){var c=new jh(b);a||(a=qh(c).element);if(!a)thro", - L"w Error(\"No element to send keys to\");var d=a,e;if(!Pd(d,!0))throw n", - L"ew u(11,\"Element is not currently visible and may not be manipulated", - L"\");th(d,void 0);e=uh(d);e=new rh(e.width/2,e.height/2);var f=c||new j", - L"h;ph(f,d,e);lh(f,0);nh(f);return qh(c)});oa(\"webdriver.atoms.inputs.d", - L"oubleClick\",function(a){a=new jh(a);lh(a,0);nh(a);lh(a,0);nh(a);retur", - L"n qh(a)});\noa(\"webdriver.atoms.inputs.rightClick\",function(a){a=new", - L" jh(a);lh(a,2);nh(a);return qh(a)});oa(\"webdriver.atoms.inputs.mouseB", - L"uttonDown\",function(a){a=new jh(a);lh(a,0);return qh(a)});oa(\"webdri", - L"ver.atoms.inputs.mouseButtonUp\",function(a){a=new jh(a);nh(a);return ", - L"qh(a)});\noa(\"webdriver.atoms.inputs.mouseMove\",function(a,b,c,d){d=", - L"new jh(d);var e=a||qh(d).element,f=null!=b&&null!=c;b=b||0;c=c||0;a?f|", - L"|(c=uh(a),b=Math.floor(c.width/2),c=Math.floor(c.height/2)):(za(e),1==", - L"e.nodeType?(a=Jd(e),a=new C(a.left,a.top)):(a=ga(e.H),f=e,e.targetTouc", - L"hes&&e.targetTouches.length?f=e.targetTouches[0]:a&&e.H().targetTouche", - L"s&&e.H().targetTouches.length&&(f=e.H().targetTouches[0]),a=new C(f.cl", - L"ientX,f.clientY)),b+=qh(d).clientXY.x-a.x,c+=qh(d).clientXY.y-a.y);D(e", - L");th(e,new C(b,c));ph(d,\ne,new C(b,c));return qh(d)});oa(\"webdriver.", - L"atoms.inputs.sendKeys\",function(a,b,c,d){c=new Uf(c);a||(a=Nd(documen", - L"t));if(!a)throw Error(\"No element to send keys to\");wh(a,b,c,d);retu", - L"rn{pressed:c.c.B(),currentPos:c.b}});", + L"urn this};k.round=function(){this.width=Math.round(this.width);this.he", + L"ight=Math.round(this.height);return this};\nk.scale=function(a,b){var ", + L"c=ea(b)?b:a;this.width*=a;this.height*=c;return this};function qb(a){r", + L"eturn a?new rb(C(a)):ra||(ra=new rb)}function sb(a){return a.a?a.a:z||", + L"\"CSS1Compat\"!=a.compatMode?a.body||a.documentElement:a.documentEleme", + L"nt}function tb(a){return a?a.parentWindow||a.defaultView:window}functi", + L"on ub(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}\nfunctio", + L"n vb(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if(", + L"\"undefined\"!=typeof a.compareDocumentPosition)return a==b||Boolean(a", + L".compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b=", + L"=a}\nfunction wb(a,b){if(a==b)return 0;if(a.compareDocumentPosition)re", + L"turn a.compareDocumentPosition(b)&2?1:-1;if(x&&!kb(9)){if(9==a.nodeTyp", + L"e)return-1;if(9==b.nodeType)return 1}if(\"sourceIndex\"in a||a.parentN", + L"ode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeTy", + L"pe;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.p", + L"arentNode;return e==f?xb(a,b):!c&&vb(e,b)?-1*yb(a,b):!d&&vb(f,a)?yb(b,", + L"a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=C", + L"(a);c=d.createRange();\nc.selectNode(a);c.collapse(!0);d=d.createRange", + L"();d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(aa.Ra", + L"nge.START_TO_END,d)}function yb(a,b){var c=a.parentNode;if(c==b)return", + L"-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return xb(d,a)}function", + L" xb(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}fu", + L"nction C(a){za(a,\"Node cannot be null or undefined.\");return 9==a.no", + L"deType?a:a.ownerDocument||a.document}var zb={SCRIPT:1,STYLE:1,HEAD:1,I", + L"FRAME:1,OBJECT:1},Ab={IMG:\" \",BR:\"\\n\"};\nfunction Bb(a,b,c){if(!(", + L"a.nodeName in zb))if(3==a.nodeType)c?b.push(String(a.nodeValue).replac", + L"e(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in", + L" Ab)b.push(Ab[a.nodeName]);else for(a=a.firstChild;a;)Bb(a,b,c),a=a.ne", + L"xtSibling}function Cb(a,b,c){c||(a=a.parentNode);for(c=0;a;){za(\"pare", + L"ntNode\"!=a.name);if(b(a))return a;a=a.parentNode;c++}return null}func", + L"tion rb(a){this.a=a||aa.document||document}\nfunction Db(a,b,c,d){a=d|", + L"|a.a;b=b&&\"*\"!=b?b.toUpperCase():\"\";if(a.querySelectorAll&&a.query", + L"Selector&&(b||c))c=a.querySelectorAll(b+(c?\".\"+c:\"\"));else if(c&&a", + L".getElementsByClassName)if(a=a.getElementsByClassName(c),b){d={};for(v", + L"ar e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;c=d}else ", + L"c=a;else if(a=a.getElementsByTagName(b||\"*\"),c){d={};for(f=e=0;g=a[f", + L"];f++)b=g.className,\"function\"==typeof b.split&&Ha(b.split(/\\s+/),c", + L")&&(d[e++]=g);d.length=e;c=d}else c=a;return c}\nfunction Eb(a){return", + L" sb(a.a)}rb.prototype.contains=vb;var Fb=w(\"Firefox\"),Gb=ab()||w(\"i", + L"Pod\"),Hb=w(\"iPad\"),Ib=w(\"Android\")&&!(Za()||w(\"Firefox\")||Xa()|", + L"|w(\"Silk\")),Jb=Za(),Kb=w(\"Safari\")&&!(Za()||w(\"Coast\")||Xa()||Ya", + L"()||w(\"Silk\")||w(\"Android\"))&&!(ab()||w(\"iPad\")||w(\"iPod\"));fu", + L"nction Lb(a,b,c){this.a=a;this.b=b||1;this.f=c||1};var Mb=x&&!kb(9),Nb", + L"=x&&!kb(8);function Ob(a,b,c,d){this.a=a;this.nodeName=c;this.nodeValu", + L"e=d;this.nodeType=2;this.parentNode=this.ownerElement=b}function Pb(a,", + L"b){var c=Nb&&\"href\"==b.nodeName?a.getAttribute(b.nodeName,2):b.nodeV", + L"alue;return new Ob(b,a,b.nodeName,c)};function Qb(a){this.b=a;this.a=0", + L"}function Rb(a){a=a.match(Sb);for(var b=0;b]=|\\\\s+|.\",\"g\")", + L",Tb=/^\\s/;function D(a,b){return a.b[a.a+(b||0)]}function E(a){return", + L" a.b[a.a++]}function Ub(a){return a.b.length<=a.a};function Vb(a){var ", + L"b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.inne", + L"rText:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(Mb&&\"", + L"title\"==a.nodeName.toLowerCase()&&1==c)b=a.text;else if(9==c||1==c){a", + L"=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!", + L"=a.nodeType&&(b+=a.nodeValue),Mb&&\"title\"==a.nodeName.toLowerCase()&", + L"&(b+=a.text),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSib", + L"ling););}}else b=a.nodeValue;return\"\"+b}\nfunction Wb(a,b,c){if(null", + L"===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}Nb&&\"", + L"class\"==b&&(b=\"className\");return null==c?!!a.getAttribute(b):a.get", + L"Attribute(b,2)==c}function Xb(a,b,c,d,e){return(Mb?Yb:Zb).call(null,a,", + L"b,m(c)?c:null,m(d)?d:null,e||new F)}\nfunction Yb(a,b,c,d,e){if(a inst", + L"anceof $b||8==a.b||c&&null===a.b){var f=b.all;if(!f)return e;a=ac(a);i", + L"f(\"*\"!=a&&(f=b.getElementsByTagName(a),!f))return e;if(c){for(var g=", + L"[],h=0;b=f[h++];)Wb(b,c,d)&&g.push(b);f=g}for(h=0;b=f[h++];)\"*\"==a&&", + L"\"!\"==b.tagName||G(e,b);return e}bc(a,b,c,d,e);return e}\nfunction Zb", + L"(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c&&!x?(b=b.getElementsBy", + L"Name(d),q(b,function(b){a.a(b)&&G(e,b)})):b.getElementsByClassName&&d&", + L"&\"class\"==c?(b=b.getElementsByClassName(d),q(b,function(b){b.classNa", + L"me==d&&a.a(b)&&G(e,b)})):a instanceof cc?bc(a,b,c,d,e):b.getElementsBy", + L"TagName&&(b=b.getElementsByTagName(a.f()),q(b,function(a){Wb(a,c,d)&&G", + L"(e,a)}));return e}\nfunction dc(a,b,c,d,e){var f;if((a instanceof $b||", + L"8==a.b||c&&null===a.b)&&(f=b.childNodes)){var g=ac(a);if(\"*\"!=g&&(f=", + L"Ba(f,function(a){return a.tagName&&a.tagName.toLowerCase()==g}),!f))re", + L"turn e;c&&(f=Ba(f,function(a){return Wb(a,c,d)}));q(f,function(a){\"*", + L"\"==g&&(\"!\"==a.tagName||\"*\"==g&&1!=a.nodeType)||G(e,a)});return e}", + L"return ec(a,b,c,d,e)}function ec(a,b,c,d,e){for(b=b.firstChild;b;b=b.n", + L"extSibling)Wb(b,c,d)&&a.a(b)&&G(e,b);return e}\nfunction bc(a,b,c,d,e)", + L"{for(b=b.firstChild;b;b=b.nextSibling)Wb(b,c,d)&&a.a(b)&&G(e,b),bc(a,b", + L",c,d,e)}function ac(a){if(a instanceof cc){if(8==a.b)return\"!\";if(nu", + L"ll===a.b)return\"*\"}return a.f()};function F(){this.b=this.a=null;thi", + L"s.s=0}function fc(a){this.node=a;this.a=this.b=null}function gc(a,b){i", + L"f(!a.a)return b;if(!b.a)return a;for(var c=a.a,d=b.a,e=null,f=null,g=0", + L";c&&d;){var f=c.node,h=d.node;f==h||f instanceof Ob&&h instanceof Ob&&", + L"f.a==h.a?(f=c,c=c.a,d=d.a):0\",4,2,function(a,b,c){return rc(", + L"function(a,b){return a>b},a,b,c)});N(\"<=\",4,2,function(a,b,c){return", + L" rc(function(a,b){return a<=b},a,b,c)});N(\">=\",4,2,function(a,b,c){r", + L"eturn rc(function(a,b){return a>=b},a,b,c)});var qc=N(\"=\",3,2,functi", + L"on(a,b,c){return rc(function(a,b){return a==b},a,b,c,!0)});N(\"!=\",3,", + L"2,function(a,b,c){return rc(function(a,b){return a!=b},a,b,c,!0)});N(", + L"\"and\",2,2,function(a,b,c){return oc(a,c)&&oc(b,c)});N(\"or\",1,2,fun", + L"ction(a,b,c){return oc(a,c)||oc(b,c)});function uc(a,b){if(b.a.length&", + L"&4!=a.m)throw Error(\"Primary expression must evaluate to nodeset if f", + L"ilter has predicate(s).\");J.call(this,a.m);this.c=a;this.g=b;this.j=a", + L".j;this.b=a.b}n(uc,J);uc.prototype.a=function(a){a=this.c.a(a);return ", + L"vc(this.g,a)};uc.prototype.toString=function(){var a;a=\"Filter:\"+K(t", + L"his.c);return a+=K(this.g)};function wc(a,b){if(b.lengtha.I)throw Error(\"Function \"+a", + L".o+\" expects at most \"+a.I+\" arguments, \"+b.length+\" given\");a.T", + L"&&q(b,function(b,d){if(4!=b.m)throw Error(\"Argument \"+d+\" to functi", + L"on \"+a.o+\" is not of type Nodeset: \"+b);});J.call(this,a.m);this.g=", + L"a;this.c=b;mc(this,a.j||Ea(b,function(a){return a.j}));nc(this,a.W&&!b", + L".length||a.V&&!!b.length||Ea(b,function(a){return a.b}))}\nn(wc,J);wc.", + L"prototype.a=function(a){return this.g.v.apply(null,Ia(a,this.c))};wc.p", + L"rototype.toString=function(){var a=\"Function: \"+this.g;if(this.c.len", + L"gth)var b=Da(this.c,function(a,b){return a+K(b)},\"Arguments:\"),a=a+K", + L"(b);return a};function xc(a,b,c,d,e,f,g,h,l){this.o=a;this.m=b;this.j=", + L"c;this.W=d;this.V=e;this.v=f;this.S=g;this.I=ba(h)?h:g;this.T=!!l}xc.p", + L"rototype.toString=function(){return this.o};var yc={};\nfunction O(a,b", + L",c,d,e,f,g,h){if(yc.hasOwnProperty(a))throw Error(\"Function already c", + L"reated: \"+a+\".\");yc[a]=new xc(a,b,c,d,!1,e,f,g,h)}O(\"boolean\",2,!", + L"1,!1,function(a,b){return oc(b,a)},1);O(\"ceiling\",1,!1,!1,function(a", + L",b){return Math.ceil(L(b,a))},1);O(\"concat\",3,!1,!1,function(a,b){va", + L"r c=Ja(arguments,1);return Da(c,function(b,c){return b+M(c,a)},\"\")},", + L"2,null);O(\"contains\",2,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);retur", + L"n-1!=b.indexOf(a)},2);O(\"count\",1,!1,!1,function(a,b){return b.a(a).", + L"s},1,1,!0);\nO(\"false\",2,!1,!1,function(){return!1},0);O(\"floor\",1", + L",!1,!1,function(a,b){return Math.floor(L(b,a))},1);O(\"id\",4,!1,!1,fu", + L"nction(a,b){function c(a){if(Mb){var b=e.all[a];if(b){if(b.nodeType&&a", + L"==b.id)return b;if(b.length)return Ga(b,function(b){return a==b.id})}r", + L"eturn null}return e.getElementById(a)}var d=a.a,e=9==d.nodeType?d:d.ow", + L"nerDocument,d=M(b,a).split(/\\s+/),f=[];q(d,function(a){(a=c(a))&&!Ha(", + L"f,a)&&f.push(a)});f.sort(wb);var g=new F;q(f,function(a){G(g,a)});retu", + L"rn g},1);\nO(\"lang\",2,!1,!1,function(){return!1},1);O(\"last\",1,!0,", + L"!1,function(a){if(1!=arguments.length)throw Error(\"Function last expe", + L"cts ()\");return a.f},0);O(\"local-name\",3,!1,!0,function(a,b){var c=", + L"b?ic(b.a(a)):a.a;return c?c.nodeName.toLowerCase():\"\"},0,1,!0);O(\"n", + L"ame\",3,!1,!0,function(a,b){var c=b?ic(b.a(a)):a.a;return c?c.nodeName", + L".toLowerCase():\"\"},0,1,!0);O(\"namespace-uri\",3,!0,!1,function(){re", + L"turn\"\"},0,1,!0);\nO(\"normalize-space\",3,!1,!0,function(a,b){return", + L"(b?M(b,a):Vb(a.a)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/", + L"g,\"\")},0,1);O(\"not\",2,!1,!1,function(a,b){return!oc(b,a)},1);O(\"n", + L"umber\",1,!1,!0,function(a,b){return b?L(b,a):+Vb(a.a)},0,1);O(\"posit", + L"ion\",1,!0,!1,function(a){return a.b},0);O(\"round\",1,!1,!1,function(", + L"a,b){return Math.round(L(b,a))},1);O(\"starts-with\",2,!1,!1,function(", + L"a,b,c){b=M(b,a);a=M(c,a);return 0==b.lastIndexOf(a,0)},2);O(\"string\"", + L",3,!1,!0,function(a,b){return b?M(b,a):Vb(a.a)},0,1);\nO(\"string-leng", + L"th\",1,!1,!0,function(a,b){return(b?M(b,a):Vb(a.a)).length},0,1);O(\"s", + L"ubstring\",3,!1,!1,function(a,b,c,d){c=L(c,a);if(isNaN(c)||Infinity==c", + L"||-Infinity==c)return\"\";d=d?L(d,a):Infinity;if(isNaN(d)||-Infinity==", + L"=d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=M(b,a);if(Infini", + L"ty==d)return a.substring(e);b=Math.round(d);return a.substring(e,c+b)}", + L",2,3);O(\"substring-after\",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);", + L"c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nO(\"subs", + L"tring-before\",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);a=b.indexOf(a", + L");return-1==a?\"\":b.substring(0,a)},2);O(\"sum\",1,!1,!1,function(a,b", + L"){for(var c=kc(b.a(a)),d=0,e=I(c);e;e=I(c))d+=+Vb(e);return d},1,1,!0)", + L";O(\"translate\",3,!1,!1,function(a,b,c,d){b=M(b,a);c=M(c,a);var e=M(d", + L",a);a=[];for(d=0;da.length)throw Error(\"Unclosed literal string\");re", + L"turn new Ac(a)}function ad(a){var b=E(a.a),c=b.indexOf(\":\");if(-1==c", + L")return new $b(b);var d=b.substring(0,c);a=a.b(d);if(!a)throw Error(\"", + L"Namespace prefix not declared: \"+d);b=b.substr(c+1);return new $b(b,a", + L")}\nfunction bd(a){var b,c=[],d;if(Gc(D(a.a))){b=E(a.a);d=D(a.a);if(\"", + L"/\"==b&&(Ub(a.a)||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])", + L"[\\w]/.test(d)))return new Ec;d=new Ec;Wc(a,\"Missing next location st", + L"ep.\");b=cd(a,b);c.push(b)}else{a:{b=D(a.a);d=b.charAt(0);switch(d){ca", + L"se \"$\":throw Error(\"Variable reference not allowed in HTML XPath\")", + L";case \"(\":E(a.a);b=Vc(a);Wc(a,'unclosed \"(\"');Yc(a,\")\");break;ca", + L"se '\"':case \"'\":b=$c(a);break;default:if(isNaN(+b))if(!zc(b)&&/(?![", + L"0-9])[\\w]/.test(d)&&\"(\"==D(a.a,1)){b=E(a.a);\nb=yc[b]||null;E(a.a);", + L"for(d=[];\")\"!=D(a.a);){Wc(a,\"Missing function argument list.\");d.p", + L"ush(Vc(a));if(\",\"!=D(a.a))break;E(a.a)}Wc(a,\"Unclosed function argu", + L"ment list.\");Zc(a);b=new wc(b,d)}else{b=null;break a}else b=new Bc(+E", + L"(a.a))}\"[\"==D(a.a)&&(d=new Jc(dd(a)),b=new uc(b,d))}if(b)if(Gc(D(a.a", + L")))d=b;else return b;else b=cd(a,\"/\"),d=new Fc,c.push(b)}for(;Gc(D(a", + L".a));)b=E(a.a),Wc(a,\"Missing next location step.\"),b=cd(a,b),c.push(", + L"b);return new Cc(d,c)}\nfunction cd(a,b){var c,d,e;if(\"/\"!=b&&\"//\"", + L"!=b)throw Error('Step op should be \"/\" or \"//\"');if(\".\"==D(a.a))", + L"return d=new Kc(Rc,new cc(\"node\")),E(a.a),d;if(\"..\"==D(a.a))return", + L" d=new Kc(Qc,new cc(\"node\")),E(a.a),d;var f;if(\"@\"==D(a.a))f=Dc,E(", + L"a.a),Wc(a,\"Missing attribute name\");else if(\"::\"==D(a.a,1)){if(!/(", + L"?![0-9])[\\w]/.test(D(a.a).charAt(0)))throw Error(\"Bad token: \"+E(a.", + L"a));c=E(a.a);f=Oc[c]||null;if(!f)throw Error(\"No axis with name: \"+c", + L");E(a.a);Wc(a,\"Missing node name\")}else f=Lc;c=D(a.a);if(/(?![0-9])[", + L"\\w]/.test(c.charAt(0)))if(\"(\"==\nD(a.a,1)){if(!zc(c))throw Error(\"", + L"Invalid node type: \"+c);c=E(a.a);if(!zc(c))throw Error(\"Invalid type", + L" name: \"+c);Yc(a,\"(\");Wc(a,\"Bad nodetype\");e=D(a.a).charAt(0);var", + L" g=null;if('\"'==e||\"'\"==e)g=$c(a);Wc(a,\"Bad nodetype\");Zc(a);c=ne", + L"w cc(c,g)}else c=ad(a);else if(\"*\"==c)c=ad(a);else throw Error(\"Bad", + L" token: \"+E(a.a));e=new Jc(dd(a),f.a);return d||new Kc(f,c,e,\"//\"==", + L"b)}\nfunction dd(a){for(var b=[];\"[\"==D(a.a);){E(a.a);Wc(a,\"Missing", + L" predicate expression.\");var c=Vc(a);b.push(c);Wc(a,\"Unclosed predic", + L"ate expression.\");Yc(a,\"]\")}return b}function Xc(a){if(\"-\"==D(a.a", + L"))return E(a.a),new Sc(Xc(a));var b=bd(a);if(\"|\"!=D(a.a))a=b;else{fo", + L"r(b=[b];\"|\"==E(a.a);)Wc(a,\"Missing next union location path.\"),b.p", + L"ush(bd(a));a.a.a--;a=new Tc(b)}return a};function ed(a){switch(a.nodeT", + L"ype){case 1:return na(fd,a);case 9:return ed(a.documentElement);case 2", + L":return a.ownerElement?ed(a.ownerElement):gd;case 11:case 10:case 6:ca", + L"se 12:return gd;default:return a.parentNode?ed(a.parentNode):gd}}funct", + L"ion gd(){return null}function fd(a,b){if(a.prefix==b)return a.namespac", + L"eURI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttributeNode(\"xmln", + L"s:\"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentN", + L"ode.nodeType?fd(a.parentNode,b):null};function hd(a,b){if(!a.length)th", + L"row Error(\"Empty XPath expression.\");var c=Rb(a);if(Ub(c))throw Erro", + L"r(\"Invalid XPath expression.\");b?fa(b)||(b=ma(b.lookupNamespaceURI,b", + L")):b=function(){return null};var d=Vc(new Uc(c,b));if(!Ub(c))throw Err", + L"or(\"Bad token: \"+E(c));this.evaluate=function(a,b){var c=d.a(new Lb(", + L"a));return new id(c,b)}}\nfunction id(a,b){if(0==b)if(a instanceof F)b", + L"=4;else if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;e", + L"lse if(\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evaluat", + L"ion result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof F))throw Error(\"va", + L"lue could not be converted to the specified type\");this.resultType=b;", + L"var c;switch(b){case 2:this.stringValue=a instanceof F?jc(a):\"\"+a;br", + L"eak;case 1:this.numberValue=a instanceof F?+jc(a):+a;break;case 3:this", + L".booleanValue=a instanceof F?0=c.length?null:c[f++]};this.snapshotItem=fun", + L"ction(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong re", + L"sult type\");return a>=c.length||\n0>a?null:c[a]}}id.ANY_TYPE=0;id.NUM", + L"BER_TYPE=1;id.STRING_TYPE=2;id.BOOLEAN_TYPE=3;id.UNORDERED_NODE_ITERAT", + L"OR_TYPE=4;id.ORDERED_NODE_ITERATOR_TYPE=5;id.UNORDERED_NODE_SNAPSHOT_T", + L"YPE=6;id.ORDERED_NODE_SNAPSHOT_TYPE=7;id.ANY_UNORDERED_NODE_TYPE=8;id.", + L"FIRST_ORDERED_NODE_TYPE=9;function jd(a){this.lookupNamespaceURI=ed(a)", + L"}\nfunction kd(a){a=a||aa;var b=a.document;b.evaluate||(a.XPathResult=", + L"id,b.evaluate=function(a,b,e,f){return(new hd(a,e)).evaluate(b,f)},b.c", + L"reateExpression=function(a,b){return new hd(a,b)},b.createNSResolver=f", + L"unction(a){return new jd(a)})};var ld={};ld.J=function(){var a={$:\"ht", + L"tp://www.w3.org/2000/svg\"};return function(b){return a[b]||null}}();", + L"\nld.v=function(a,b,c){var d=C(a);if(!d.documentElement)return null;(x", + L"||Ib)&&kd(tb(d));try{var e=d.createNSResolver?d.createNSResolver(d.doc", + L"umentElement):ld.J;if(x&&!jb(7))return d.evaluate.call(d,b,a,e,c,null)", + L";if(!x||kb(9)){for(var f={},g=d.getElementsByTagName(\"*\"),h=0;h=this.left&&a.right<=this.right&&a.top", + L">=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y", + L">=this.top&&a.y<=this.bottom:!1};\nk.ceil=function(){this.top=Math.cei", + L"l(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(thi", + L"s.bottom);this.left=Math.ceil(this.left);return this};k.floor=function", + L"(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);thi", + L"s.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);retur", + L"n this};k.round=function(){this.top=Math.round(this.top);this.right=Ma", + L"th.round(this.right);this.bottom=Math.round(this.bottom);this.left=Mat", + L"h.round(this.left);return this};\nk.scale=function(a,b){var c=ea(b)?b:", + L"a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};f", + L"unction P(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}k", + L"=P.prototype;k.clone=function(){return new P(this.left,this.top,this.w", + L"idth,this.height)};k.toString=function(){return\"(\"+this.left+\", \"+", + L"this.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};k.contains=fu", + L"nction(a){return a instanceof P?this.left<=a.left&&this.left+this.widt", + L"h>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.heig", + L"ht:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this", + L".top+this.height};\nk.ceil=function(){this.left=Math.ceil(this.left);t", + L"his.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.heig", + L"ht=Math.ceil(this.height);return this};k.floor=function(){this.left=Ma", + L"th.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floo", + L"r(this.width);this.height=Math.floor(this.height);return this};k.round", + L"=function(){this.left=Math.round(this.left);this.top=Math.round(this.t", + L"op);this.width=Math.round(this.width);this.height=Math.round(this.heig", + L"ht);return this};\nk.scale=function(a,b){var c=ea(b)?b:a;this.left*=a;", + L"this.width*=a;this.top*=c;this.height*=c;return this};function Dd(a,b)", + L"{var c=C(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c", + L".defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||\"", + L"\":\"\"}function Ed(a){a=a?C(a):document;var b;(b=!x||kb(9))||(b=\"CSS", + L"1Compat\"==qb(a).a.compatMode);return b?a.documentElement:a.body}\nfun", + L"ction Fd(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left", + L":0,top:0,right:0,bottom:0}}x&&a.ownerDocument.body&&(a=a.ownerDocument", + L",b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.docum", + L"entElement.clientTop+a.body.clientTop);return b}function Gd(a){var b=a", + L".offsetWidth,c=a.offsetHeight,d=z&&!b&&!c;return ba(b)&&!d||!a.getBoun", + L"dingClientRect?new pb(b,c):(a=Fd(a),new pb(a.right-a.left,a.bottom-a.t", + L"op))}var Hd={thin:2,medium:4,thick:6};\nfunction Id(a,b){if(\"none\"==", + L"(a.currentStyle?a.currentStyle[b+\"Style\"]:null))return 0;var c=a.cur", + L"rentStyle?a.currentStyle[b+\"Width\"]:null,d;if(c in Hd)d=Hd[c];else i", + L"f(/^\\d+px?$/.test(c))d=parseInt(c,10);else{d=a.style.left;var e=a.run", + L"timeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=c;", + L"c=a.style.pixelLeft;a.style.left=d;a.runtimeStyle.left=e;d=c}return d}", + L"x&&jb(12);function Jd(a){var b;a:{a=C(a);try{b=a&&a.activeElement;brea", + L"k a}catch(c){}b=null}return x&&b&&\"undefined\"===typeof b.nodeType?nu", + L"ll:b}function Q(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperC", + L"ase()==b)}function Kd(a){var b;if(b=Ld(a,!0)&&Md(a))b=!(x||y&&!qd(\"1.", + L"9.2\")?0:\"none\"==S(a,\"pointer-events\"));return b}function Nd(a){re", + L"turn Q(a,\"OPTION\")?!0:Q(a,\"INPUT\")?(a=a.type.toLowerCase(),\"check", + L"box\"==a||\"radio\"==a):!1}\nfunction Od(a){if(!Nd(a))throw new r(15,", + L"\"Element is not selectable\");var b=\"selected\",c=a.type&&a.type.toL", + L"owerCase();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";return!!Pd(a", + L",b)}function Pd(a,b){var c;if(c=xd&&\"value\"==b&&Q(a,\"OPTION\"))c=nu", + L"ll===Qd(a,\"value\");c?(c=[],Bb(a,c,!1),c=c.join(\"\")):c=a[b];return ", + L"c}var Rd=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']", + L"*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction Sd(a){var b=[];q(a.s", + L"plit(Rd),function(a){var d=a.indexOf(\":\");0=c&&0<=f&&255>=f&&0<=g&&255>=g&&0<=e&&1>=e){c=[c,f,g,e]", + L";break b}}c=null}if(!c)b:{if(g=d.match(Pa))if(c=Number(g[1]),f=Number(", + L"g[2]),g=Number(g[3]),0<=c&&255>=c&&0<=f&&255>=f&&0<=g&&255>=g){c=[c,f,", + L"g,1];break b}c=null}if(!c)b:{c=d.toLowerCase();\nf=Ka[c.toLowerCase()]", + L";if(!f&&(f=\"#\"==c.charAt(0)?c:\"#\"+c,4==f.length&&(f=f.replace(Ma,", + L"\"#$1$1$2$2$3$3\")),!Na.test(f))){c=null;break b}c=[parseInt(f.substr(", + L"1,2),16),parseInt(f.substr(3,2),16),parseInt(f.substr(5,2),16),1]}d=c?", + L"\"rgba(\"+c.join(\", \")+\")\":d}return d}function Yd(a,b){var c=a.cur", + L"rentStyle||a.style,d=c[b];!ba(d)&&fa(c.getPropertyValue)&&(d=c.getProp", + L"ertyValue(b));return\"inherit\"!=d?ba(d)?d:null:(c=Wd(a))?Yd(c,b):null", + L"}\nfunction Zd(a,b,c){function d(a){var b=$d(a);return 0=R.left+R.width;R=f.top>=R.top+R.height;if(la&&\"hid", + L"den\"==A.x||R&&\"hidden\"==A.y)return be;if(la&&\"visible\"!=A.x||R&&", + L"\"visible\"!=A.y){if(u&&(A=e(H),f.left>=h.scrollWidth-A.x||f.right>=h.", + L"scrollHeight-A.y))return be;f=ae(H);return f==be?be:\"scroll\"}}}retur", + L"n\"none\"}\nfunction $d(a){var b=ce(a);if(b)return b.rect;if(Q(a,\"HTM", + L"L\"))return a=C(a),a=(tb(a)||window).document,a=\"CSS1Compat\"==a.comp", + L"atMode?a.documentElement:a.body,a=new pb(a.clientWidth,a.clientHeight)", + L",new P(0,0,a.width,a.height);var c;try{c=a.getBoundingClientRect()}cat", + L"ch(d){return new P(0,0,0,0)}b=new P(c.left,c.top,c.right-c.left,c.bott", + L"om-c.top);x&&a.ownerDocument.body&&(a=C(a),b.left-=a.documentElement.c", + L"lientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.", + L"clientTop);return b}\nfunction ce(a){var b=Q(a,\"MAP\");if(!b&&!Q(a,\"", + L"AREA\"))return null;var c=b?a:Q(a.parentNode,\"MAP\")?a.parentNode:nul", + L"l,d=null,e=null;if(c&&c.name&&(d=C(c),d=ld.A('/descendant::*[@usemap =", + L" \"#'+c.name+'\"]',d))&&(e=$d(d),!b&&\"default\"!=a.shape.toLowerCase(", + L"))){var f=fe(a);a=Math.min(Math.max(f.left,0),e.width);b=Math.min(Math", + L".max(f.top,0),e.height);c=Math.min(f.width,e.width-a);f=Math.min(f.hei", + L"ght,e.height-b);e=new P(a+e.left,b+e.top,c,f)}return{L:d,rect:e||new P", + L"(0,0,0,0)}}\nfunction fe(a){var b=a.shape.toLowerCase();a=a.coords.spl", + L"it(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return new P(", + L"b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new P(a", + L"[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2=~*^$|%&@`{}\\-\\/\\[\\]\\(\\)])/g,", + L"\n\"\\\\$1\")}};var qe={},re={};qe.R=function(a,b,c){var d;try{d=oe.u(", + L"\"a\",b)}catch(e){d=Db(qb(b),\"A\",null,b)}return Ga(d,function(b){b=h", + L"e(b);return c&&-1!=b.indexOf(a)||b==a})};qe.N=function(a,b,c){var d;tr", + L"y{d=oe.u(\"a\",b)}catch(e){d=Db(qb(b),\"A\",null,b)}return Ba(d,functi", + L"on(b){b=he(b);return c&&-1!=b.indexOf(a)||b==a})};qe.A=function(a,b){r", + L"eturn qe.R(a,b,!1)};qe.u=function(a,b){return qe.N(a,b,!1)};re.A=funct", + L"ion(a,b){return qe.R(a,b,!0)};re.u=function(a,b){return qe.N(a,b,!0)};", + L"var se={A:function(a,b){return b.getElementsByTagName(a)[0]||null},u:f", + L"unction(a,b){return b.getElementsByTagName(a)}};var te={className:ne,", + L"\"class name\":ne,css:oe,\"css selector\":oe,id:pe,linkText:qe,\"link ", + L"text\":qe,name:{A:function(a,b){var c=Db(qb(b),\"*\",null,b);return Ga", + L"(c,function(b){return Qd(b,\"name\")==a})},u:function(a,b){var c=Db(qb", + L"(b),\"*\",null,b);return Ba(c,function(b){return Qd(b,\"name\")==a})}}", + L",partialLinkText:re,\"partial link text\":re,tagName:se,\"tag name\":s", + L"e,xpath:ld};\nfunction ue(a,b){var c;a:{for(c in a)if(a.hasOwnProperty", + L"(c))break a;c=null}if(c){var d=te[c];if(d&&fa(d.u))return d.u(a[c],b||", + L"pa.document)}throw Error(\"Unsupported locator strategy: \"+c);};funct", + L"ion ve(a){this.a=pa.document.documentElement;this.f=null;var b=Jd(this", + L".a);b&&we(this,b);this.w=a||new xe}function we(a,b){a.a=b;Q(b,\"OPTION", + L"\")?a.f=Cb(b,function(a){return Q(a,\"SELECT\")}):a.f=null}\nfunction ", + L"ye(a,b,c,d,e,f,g,h,l){if(!g&&!Kd(a.a))return!1;if(e&&ze!=b&&Ae!=b)thro", + L"w new r(12,\"Event type does not allow related target: \"+b);c={client", + L"X:c.x,clientY:c.y,button:d,altKey:0!=(a.w.a&4),ctrlKey:0!=(a.w.a&2),sh", + L"iftKey:0!=(a.w.a&1),metaKey:0!=(a.w.a&8),wheelDelta:f||0,relatedTarget", + L":e||null,count:l||1};h=h||1;d=a.a;b!=Be&&b!=Ce&&h in De?d=De[h]:a.f&&(", + L"d=Ee(a,b));return d?T(d,b,c):!0}\nfunction Fe(a,b,c,d,e,f,g){var h=MSP", + L"ointerEvent.MSPOINTER_TYPE_MOUSE;if(!g&&!Kd(a.a))return!1;if(f&&Ge!=b&", + L"&He!=b)throw new r(12,\"Event type does not allow related target: \"+b", + L");c={clientX:c.x,clientY:c.y,button:d,altKey:!1,ctrlKey:!1,shiftKey:!1", + L",metaKey:!1,relatedTarget:f||null,width:0,height:0,pressure:0,rotation", + L":0,pointerId:1,tiltX:0,tiltY:0,pointerType:h,isPrimary:e};d=a.f?Ee(a,b", + L"):a.a;De[1]&&(d=De[1]);a=tb(C(a.a));var l;a&&b==Ie&&(l=a.Element.proto", + L"type.msSetPointerCapture,a.Element.prototype.msSetPointerCapture=\nfun", + L"ction(a){De[a]=this});b=d?T(d,b,c):!0;l&&(a.Element.prototype.msSetPoi", + L"nterCapture=l);return b}function Ee(a,b){if(x)switch(b){case ze:case G", + L"e:return null;case Je:case Ke:case Le:return a.f.multiple?a.f:null;def", + L"ault:return a.f}if(z)switch(b){case Be:case Me:return a.f.multiple?a.a", + L":a.f;default:return a.f.multiple?a.a:null}return a.a}\nfunction Ne(a){", + L"a=a.f||a.a;var b=Jd(a);if(a==b)return!1;if(b&&(fa(b.blur)||x&&ga(b.blu", + L"r))){if(!Q(b,\"BODY\"))try{b.blur()}catch(c){if(!x||\"Unspecified erro", + L"r.\"!=c.message)throw c;}x&&!qd(8)&&tb(C(a)).focus()}return fa(a.focus", + L")||x&&ga(a.focus)?(a.focus(),!0):!1}var Oe=z||rd&&sd(3.6);function Pe(", + L"a){if(Q(a,\"INPUT\")){var b=a.type.toLowerCase();if(\"submit\"==b||\"i", + L"mage\"==b)return!0}return Q(a,\"BUTTON\")&&(b=a.type.toLowerCase(),\"s", + L"ubmit\"==b)?!0:!1}\nfunction Qe(a){if(Oe||!a.href)return!1;if(!rd)retu", + L"rn!0;if(a.target||0==a.href.toLowerCase().indexOf(\"javascript\"))retu", + L"rn!1;var b=tb(C(a)),c=b.location.href;a=Re(b.location,a.href);return c", + L".split(\"#\")[0]!==a.split(\"#\")[0]}function Se(a){return Q(a,\"FORM", + L"\")}\nfunction Te(a){if(!Se(a))throw new r(12,\"Element is not a form,", + L" so could not submit.\");if(T(a,Ue))if(Q(a.submit))if(!x||qd(8))a.cons", + L"tructor.prototype.submit.call(a);else{var b=ue({id:\"submit\"},a),c=ue", + L"({name:\"submit\"},a);q(b,function(a){a.removeAttribute(\"id\")});q(c,", + L"function(a){a.removeAttribute(\"name\")});a=a.submit;q(b,function(a){a", + L".setAttribute(\"id\",\"submit\")});q(c,function(a){a.setAttribute(\"na", + L"me\",\"submit\")});a()}else a.submit()}var Ve=/^([^:/?#.]+:)?(?:\\/\\/", + L"([^/]*))?([^?#]+)?(\\?[^#]*)?(#.*)?$/;\nfunction Re(a,b){var c=b.match", + L"(Ve);if(!c)return\"\";var d=c[1]||\"\",e=c[2]||\"\",f=c[3]||\"\",g=c[4", + L"]||\"\",c=c[5]||\"\";if(!d&&(d=a.protocol,!e))if(e=a.host,!f)f=a.pathn", + L"ame,g=g||a.search;else if(\"/\"!=f.charAt(0)){var h=a.pathname.lastInd", + L"exOf(\"/\");-1!=h&&(f=a.pathname.substr(0,h+1)+f)}return d+\"//\"+e+f+", + L"g+c}function xe(){this.a=0}var De={};var We=!(x&&!qd(10)),Xe=Ib?!sd(4)", + L":!ud,Ye=x&&pa.navigator.msPointerEnabled;function U(a,b,c){this.a=a;th", + L"is.b=b;this.f=c}U.prototype.c=function(a){a=C(a);zd&&a.createEventObje", + L"ct?a=a.createEventObject():(a=a.createEvent(\"HTMLEvents\"),a.initEven", + L"t(this.a,this.b,this.f));return a};U.prototype.toString=function(){ret", + L"urn this.a};function Ze(a,b,c){U.call(this,a,b,c)}n(Ze,U);\nZe.prototy", + L"pe.c=function(a,b){if(!y&&this==$e)throw new r(9,\"Browser does not su", + L"pport a mouse pixel scroll event.\");var c=C(a),d;if(zd){d=c.createEve", + L"ntObject();d.altKey=b.altKey;d.ctrlKey=b.ctrlKey;d.metaKey=b.metaKey;d", + L".shiftKey=b.shiftKey;d.button=b.button;d.clientX=b.clientX;d.clientY=b", + L".clientY;c=function(a,b){Object.defineProperty(d,a,{get:function(){ret", + L"urn b}})};if(this==Ae||this==ze)if(Object.defineProperty){var e=this==", + L"Ae;c(\"fromElement\",e?a:b.relatedTarget);c(\"toElement\",e?b.relatedT", + L"arget:a)}else d.relatedTarget=\nb.relatedTarget;this==af&&(Object.defi", + L"neProperty?c(\"wheelDelta\",b.wheelDelta):d.detail=b.wheelDelta)}else{", + L"e=tb(c);d=c.createEvent(\"MouseEvents\");var f=1;this==af&&(y||(d.whee", + L"lDelta=b.wheelDelta),y&&(f=b.wheelDelta/-40));y&&this==$e&&(f=b.wheelD", + L"elta);d.initMouseEvent(this.a,this.b,this.f,e,f,b.clientX,b.clientY,b.", + L"clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.r", + L"elatedTarget);if(x&&0===d.pageX&&0===d.pageY&&Object.defineProperty){v", + L"ar e=Eb(qb(a)),c=Ed(c),g=b.clientX+e.scrollLeft-\nc.clientLeft,h=b.cli", + L"entY+e.scrollTop-c.clientTop;Object.defineProperty(d,\"pageX\",{get:fu", + L"nction(){return g}});Object.defineProperty(d,\"pageY\",{get:function()", + L"{return h}})}}return d};function bf(a,b,c){U.call(this,a,b,c)}n(bf,U);", + L"\nbf.prototype.c=function(a,b){var c=C(a);if(y){var d=tb(c),e=b.charCo", + L"de?0:b.keyCode,c=c.createEvent(\"KeyboardEvent\");c.initKeyEvent(this.", + L"a,this.b,this.f,d,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,e,b.charCode", + L");this.a==cf&&b.preventDefault&&c.preventDefault()}else zd?c=c.createE", + L"ventObject():(c=c.createEvent(\"Events\"),c.initEvent(this.a,this.b,th", + L"is.f)),c.altKey=b.altKey,c.ctrlKey=b.ctrlKey,c.metaKey=b.metaKey,c.shi", + L"ftKey=b.shiftKey,c.keyCode=b.charCode||b.keyCode,z&&(c.charCode=this==", + L"cf?c.keyCode:0);return c};\nfunction df(a,b,c){U.call(this,a,b,c)}n(df", + L",U);\ndf.prototype.c=function(a,b){function c(b){b=Ca(b,function(b){re", + L"turn f.createTouch(g,a,b.identifier,b.pageX,b.pageY,b.screenX,b.screen", + L"Y)});return f.createTouchList.apply(f,b)}function d(b){var c=Ca(b,func", + L"tion(b){return{identifier:b.identifier,screenX:b.screenX,screenY:b.scr", + L"eenY,clientX:b.clientX,clientY:b.clientY,pageX:b.pageX,pageY:b.pageY,t", + L"arget:a}});c.item=function(a){return c[a]};return c}function e(a){retu", + L"rn Xe?d(a):c(a)}if(!We)throw new r(9,\"Browser does not support firing", + L" touch events.\");var f=\nC(a),g=tb(f),h=e(b.changedTouches),l=b.touch", + L"es==b.changedTouches?h:e(b.touches),t=b.targetTouches==b.changedTouche", + L"s?h:e(b.targetTouches),u;Xe?(u=f.createEvent(\"MouseEvents\"),u.initMo", + L"useEvent(this.a,this.b,this.f,g,1,0,0,b.clientX,b.clientY,b.ctrlKey,b.", + L"altKey,b.shiftKey,b.metaKey,0,b.relatedTarget),u.touches=l,u.targetTou", + L"ches=t,u.changedTouches=h,u.scale=b.scale,u.rotation=b.rotation):(u=f.", + L"createEvent(\"TouchEvent\"),Ib?u.initTouchEvent(l,t,h,this.a,g,0,0,b.c", + L"lientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,\nb.metaKey):u.initTouc", + L"hEvent(this.a,this.b,this.f,g,1,0,0,b.clientX,b.clientY,b.ctrlKey,b.al", + L"tKey,b.shiftKey,b.metaKey,l,t,h,b.scale,b.rotation),u.relatedTarget=b.", + L"relatedTarget);return u};function ef(a,b,c){U.call(this,a,b,c)}n(ef,U)", + L";\nef.prototype.c=function(a,b){if(!Ye)throw new r(9,\"Browser does no", + L"t support MSGesture events.\");var c=C(a),d=tb(c),c=c.createEvent(\"MS", + L"GestureEvent\");c.initGestureEvent(this.a,this.b,this.f,d,1,0,0,b.clie", + L"ntX,b.clientY,0,0,b.translationX,b.translationY,b.scale,b.expansion,b.", + L"rotation,b.velocityX,b.velocityY,b.velocityExpansion,b.velocityAngular", + L",(new Date).getTime(),b.relatedTarget);return c};function ff(a,b,c){U.", + L"call(this,a,b,c)}n(ff,U);\nff.prototype.c=function(a,b){if(!Ye)throw n", + L"ew r(9,\"Browser does not support MSPointer events.\");var c=C(a),d=tb", + L"(c),c=c.createEvent(\"MSPointerEvent\");c.initPointerEvent(this.a,this", + L".b,this.f,d,0,0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.", + L"metaKey,b.button,b.relatedTarget,0,0,b.width,b.height,b.pressure,b.rot", + L"ation,b.tiltX,b.tiltY,b.pointerId,b.pointerType,0,b.isPrimary);return ", + L"c};\nvar gf=new U(\"blur\",!1,!1),hf=new U(\"change\",!0,!1),jf=new U(", + L"\"focus\",!1,!1),kf=new U(\"input\",!0,!1),Ue=new U(\"submit\",!0,!0),", + L"lf=new U(\"textInput\",!0,!0),Be=new Ze(\"click\",!0,!0),Je=new Ze(\"c", + L"ontextmenu\",!0,!0),mf=new Ze(\"dblclick\",!0,!0),Ce=new Ze(\"mousedow", + L"n\",!0,!0),Ke=new Ze(\"mousemove\",!0,!1),Ae=new Ze(\"mouseout\",!0,!0", + L"),ze=new Ze(\"mouseover\",!0,!0),Me=new Ze(\"mouseup\",!0,!0),af=new Z", + L"e(y?\"DOMMouseScroll\":\"mousewheel\",!0,!0),$e=new Ze(\"MozMousePixel", + L"Scroll\",!0,!0),nf=new bf(\"keydown\",!0,!0),cf=new bf(\"keypress\",\n", + L"!0,!0),of=new bf(\"keyup\",!0,!0),pf=new df(\"touchend\",!0,!0),qf=new", + L" df(\"touchstart\",!0,!0),rf=new ff(\"MSGotPointerCapture\",!0,!1),sf=", + L"new ff(\"MSLostPointerCapture\",!0,!1),Ie=new ff(\"MSPointerDown\",!0,", + L"!0),Le=new ff(\"MSPointerMove\",!0,!0),Ge=new ff(\"MSPointerOver\",!0,", + L"!0),He=new ff(\"MSPointerOut\",!0,!0),tf=new ff(\"MSPointerUp\",!0,!0)", + L";function T(a,b,c){c=b.c(a,c);\"isTrusted\"in c||(c.isTrusted=!1);retu", + L"rn zd&&a.fireEvent?a.fireEvent(\"on\"+b.a,c):a.dispatchEvent(c)};funct", + L"ion uf(a,b){if(vf(a))a.selectionStart=b;else if(x){var c=wf(a),d=c[0];", + L"d.inRange(c[1])&&(b=xf(a,b),d.collapse(!0),d.move(\"character\",b),d.s", + L"elect())}}\nfunction yf(a,b){var c=0,d=0;if(vf(a))c=a.selectionStart,d", + L"=b?-1:a.selectionEnd;else if(x){var e=wf(a),f=e[0],e=e[1];if(f.inRange", + L"(e)){f.setEndPoint(\"EndToStart\",e);if(\"textarea\"==a.type){for(var ", + L"c=e.duplicate(),g=f.text,d=g,h=e=c.text,l=!1;!l;)0==f.compareEndPoints", + L"(\"StartToEnd\",f)?l=!0:(f.moveEnd(\"character\",-1),f.text==g?d+=\"", + L"\\r\\n\":l=!0);if(b)f=[d.length,-1];else{for(f=!1;!f;)0==c.compareEndP", + L"oints(\"StartToEnd\",c)?f=!0:(c.moveEnd(\"character\",-1),c.text==e?h+", + L"=\"\\r\\n\":f=!0);f=[d.length,d.length+h.length]}return f}c=\nf.text.l", + L"ength;b?d=-1:d=f.text.length+e.text.length}}return[c,d]}function zf(a,", + L"b){if(vf(a))a.selectionEnd=b;else if(x){var c=wf(a),d=c[1];c[0].inRang", + L"e(d)&&(b=xf(a,b),c=xf(a,yf(a,!0)[0]),d.collapse(!0),d.moveEnd(\"charac", + L"ter\",b-c),d.select())}}function Af(a,b){if(vf(a))a.selectionStart=b,a", + L".selectionEnd=b;else if(x){b=xf(a,b);var c=a.createTextRange();c.colla", + L"pse(!0);c.move(\"character\",b);c.select()}}\nfunction Bf(a,b){if(vf(a", + L")){var c=a.value,d=a.selectionStart;a.value=c.substr(0,d)+b+c.substr(a", + L".selectionEnd);a.selectionStart=d;a.selectionEnd=d+b.length}else if(x)", + L"d=wf(a),c=d[1],d[0].inRange(c)&&(d=c.duplicate(),c.text=b,c.setEndPoin", + L"t(\"StartToStart\",d),c.select());else throw Error(\"Cannot set the se", + L"lection end\");}function wf(a){var b=a.ownerDocument||a.document,c=b.s", + L"election.createRange();\"textarea\"==a.type?(b=b.body.createTextRange(", + L"),b.moveToElementText(a)):b=a.createTextRange();return[b,c]}\nfunction", + L" xf(a,b){\"textarea\"==a.type&&(b=a.value.substring(0,b).replace(/(\\r", + L"\\n|\\r|\\n)/g,\"\\n\").length);return b}function vf(a){try{return\"nu", + L"mber\"==typeof a.selectionStart}catch(b){return!1}};function Cf(a){ret", + L"urn a};var Df=\"StopIteration\"in aa?aa.StopIteration:{message:\"StopI", + L"teration\",stack:\"\"};function Ef(){}Ef.prototype.b=function(){throw ", + L"Df;};Ef.prototype.D=function(){return this};function Ff(a){if(a instan", + L"ceof Ef)return a;if(\"function\"==typeof a.D)return a.D(!1);if(da(a)){", + L"var b=0,c=new Ef;c.b=function(){for(;;){if(b>=a.length)throw Df;if(b i", + L"n a)return a[b++];b++}};return c}throw Error(\"Not implemented\");}fun", + L"ction Gf(a,b){this.c=Ff(a);this.g=b||Cf}n(Gf,Ef);\nGf.prototype.b=func", + L"tion(){for(;this.a==this.l;)this.f=this.c.b(),this.a=this.g(this.f);fo", + L"r(var a=this.l=this.a,b=this.l,c=[];this.a==b;){c.push(this.f);try{thi", + L"s.f=this.c.b()}catch(d){if(d!==Df)throw d;break}this.a=this.g(this.f)}", + L"return[a,c]};function Hf(a,b){this.b={};this.a=[];this.c=this.f=0;var ", + L"c=arguments.length;if(1=d.a.length)throw Df;var e=d.a[b++];return a?e", + L":d.b[e]};return e};function Lf(a,b){return Object.prototype.hasOwnProp", + L"erty.call(a,b)};function Mf(a){if(\"function\"==typeof a.B)return a.B(", + L");if(m(a))return a.split(\"\");if(da(a)){for(var b=[],c=a.length,d=0;d", + L"\");V(191,\"/\",\"?\");V(192,\"`\",\"~\");V(219,\"[\",", + L"\"{\");V(220,\"\\\\\",\"|\");V(221,\"]\",\"}\");var Qg=V({h:59,i:186},", + L"\";\",\":\");V(222,\"'\",'\"');var Rg=[Xf,Wf,kg,W],Sg=new Hf;If(Sg,1,W", + L");If(Sg,2,Wf);If(Sg,4,Xf);If(Sg,8,kg);var Tg=function(a){var b=new Hf;", + L"q(Jf(a),function(c){If(b,a.get(c).code,c)});return b}(Sg);\nfunction Q", + L"f(a,b,c){if(Ha(Rg,b)){var d=Tg.get(b.code),e=a.w;e.a=c?e.a|d:e.a&~d}c?", + L"If(a.c.a,Of(b),b):(a=a.c.a,b=Of(b),Lf(a.b,b)&&(delete a.b[b],a.f--,a.c", + L"++,a.a.length>2*a.f&&Kf(a)))}var Ug=x?\"\\r\\n\":\"\\n\";function X(a,", + L"b){return a.c.contains(b)}\nfunction Vg(a,b){if(Ha(Rg,b)&&X(a,b))throw", + L" new r(13,\"Cannot press a modifier key that is already pressed.\");va", + L"r c=null!==b.code&&Wg(a,nf,b);if((c||y)&&(!Xg(b)||Wg(a,cf,b,!c))&&c&&(", + L"Yg(a,b),a.g))if(b.a){if(!Zg){var c=$g(a,b),d=yf(a.a,!0)[0]+1;ah(a.a)?(", + L"Bf(a.a,c),uf(a.a,d)):a.a.value+=c;z&&T(a.a,lf);zd||T(a.a,kf);a.b=d}}el", + L"se switch(b){case Vf:Zg||(z&&T(a.a,lf),Q(a.a,\"TEXTAREA\")&&(c=yf(a.a,", + L"!0)[0]+Ug.length,ah(a.a)?(Bf(a.a,Ug),uf(a.a,c)):a.a.value+=Ug,x||T(a.a", + L",kf),a.b=c));break;case Tf:case jg:Zg||(bh(a.a),\nc=yf(a.a,!1),c[0]==c", + L"[1]&&(b==Tf?(uf(a.a,c[1]-1),zf(a.a,c[1])):zf(a.a,c[1]+1)),c=yf(a.a,!1)", + L",c=!(c[0]==a.a.value.length||0==c[1]),Bf(a.a,\"\"),(!x&&c||y&&b==Tf)&&", + L"T(a.a,kf),c=yf(a.a,!1),a.b=c[1]);break;case eg:case gg:bh(a.a);var c=a", + L".a,e=yf(c,!0)[0],f=yf(c,!1)[1],g=d=0;b==eg?X(a,W)?a.b==e?(d=Math.max(e", + L"-1,0),g=f,e=d):(d=e,e=g=f-1):e=e==f?Math.max(e-1,0):e:X(a,W)?a.b==f?(d", + L"=e,e=g=Math.min(f+1,c.value.length)):(d=e+1,g=f,e=d):e=e==f?Math.min(f", + L"+1,c.value.length):f;X(a,W)?(uf(c,d),zf(c,g)):Af(c,e);a.b=e;break;\nca", + L"se dg:case cg:bh(a.a),c=a.a,d=yf(c,!0)[0],g=yf(c,!1)[1],b==dg?(X(a,W)?", + L"(uf(c,0),zf(c,a.b==d?g:d)):Af(c,0),a.b=0):(X(a,W)?(a.b==d&&uf(c,g),zf(", + L"c,c.value.length)):Af(c,c.value.length),a.b=c.value.length)}Qf(a,b,!0)", + L"}function Xg(a){if(a.a||a==Vf)return!0;if(z)return!1;if(x)return a==Zf", + L";switch(a){case W:case Wf:case Xf:return!1;case kg:case lg:case mg:ret", + L"urn y;default:return!0}}\nfunction Yg(a,b){if(b==Vf&&!y&&Q(a.a,\"INPUT", + L"\")){var c=Cb(a.a,Se,!0);if(c){var d=c.getElementsByTagName(\"input\")", + L";(Ea(d,function(a){return Pe(a)})||1==d.length||z&&!qd(534))&&Te(c)}}}", + L"function ch(a,b){if(!X(a,b))throw new r(13,\"Cannot release a key that", + L" is not pressed. (\"+b.code+\")\");null===b.code||Wg(a,of,b);Qf(a,b,!1", + L")}function $g(a,b){if(!b.a)throw new r(13,\"not a character key\");ret", + L"urn X(a,W)?b.b:b.a}var Zg=y&&!qd(12);\nfunction bh(a){try{a.selectionS", + L"tart}catch(b){if(-1!=b.message.indexOf(\"does not support selection.\"", + L"))throw Error(b.message+\" (For more information, see https://code.goo", + L"gle.com/p/chromium/issues/detail?id=330456)\");throw b;}}function ah(a", + L"){try{bh(a)}catch(b){return!1}return!0}\nfunction Wg(a,b,c,d){if(null=", + L"==c.code)throw new r(13,\"Key must have a keycode to be fired.\");c={a", + L"ltKey:X(a,Xf),ctrlKey:X(a,Wf),metaKey:X(a,kg),shiftKey:X(a,W),keyCode:", + L"c.code,charCode:c.a&&b==cf?$g(a,c).charCodeAt(0):0,preventDefault:!!d}", + L";return T(a.a,b,c)}function dh(a,b){we(a,b);a.g=Xd(b);var c=Ne(a);a.g&", + L"&c&&(Af(b,b.value.length),a.b=b.value.length)};function eh(a,b){ve.cal", + L"l(this,b);this.g=this.b=null;this.c=new B(0,0);this.G=this.l=!1;if(a){", + L"ea(a.buttonPressed)&&(this.b=a.buttonPressed);try{Q(a.elementPressed)&", + L"&(this.g=a.elementPressed)}catch(c){this.b=null}this.c=new B(a.clientX", + L"Y.x,a.clientXY.y);this.l=!!a.nextClickIsDoubleClick;this.G=!!a.hasEver", + L"Interacted;try{a.element&&Q(a.element)&&we(this,a.element)}catch(d){th", + L"is.b=null}}}n(eh,ve);var Y={};\nzd?(Y[Be]=[0,0,0,null],Y[Je]=[null,nul", + L"l,0,null],Y[Me]=[1,4,2,null],Y[Ae]=[0,0,0,0],Y[Ke]=[1,4,2,0]):z||yd?(Y", + L"[Be]=[0,1,2,null],Y[Je]=[null,null,2,null],Y[Me]=[0,1,2,null],Y[Ae]=[0", + L",1,2,0],Y[Ke]=[0,1,2,0]):(Y[Be]=[0,1,2,null],Y[Je]=[null,null,2,null],", + L"Y[Me]=[0,1,2,null],Y[Ae]=[0,0,0,0],Y[Ke]=[0,0,0,0]);Ad&&(Y[Ie]=Y[Me],Y", + L"[tf]=Y[Me],Y[Le]=[-1,-1,-1,-1],Y[He]=Y[Le],Y[Ge]=Y[Le]);Y[mf]=Y[Be];Y[", + L"Ce]=Y[Me];Y[ze]=Y[Ae];var fh={};fh[Ce]=Ie;fh[Ke]=Le;fh[Ae]=He;fh[ze]=G", + L"e;fh[Me]=tf;\nfunction gh(a,b){if(null!==a.b)throw new r(13,\"Cannot p", + L"ress more then one button or an already pressed button.\");a.b=b;a.g=a", + L".a;var c;var d=y&&!sd(4);if((z||d)&&(Q(a.a,\"OPTION\")||Q(a.a,\"SELECT", + L"\")))c=!0;else{(d=y||x)&&(c=Jd(a.a));var e=hh(a,Ce,null,null,!1,void 0", + L");c=e&&d&&c!=Jd(a.a)?!1:e}c&&(Ad&&0==a.b&&Q(a.g,\"OPTION\")&&Fe(a,rf,a", + L".c,0,!0),Ne(a))}\nfunction ih(a,b){if(null===a.b)throw new r(13,\"Cann", + L"ot release a button when no button is pressed.\");if(a.f&&Kd(a.a)){var", + L" c=a.f,d=Od(a.a);if(!d||c.multiple)a.a.selected=!d,(!z||!c.multiple||J", + L"b&&sd(28)||Ib&&sd(4))&&T(c,hf)}c=Kd(a.a);hh(a,Me,null,null,b,void 0);i", + L"f(0==a.b&&a.a==a.g){if(!Bd||!Q(a.g,\"OPTION\")){var d=a.c,e=jh(a,Be);i", + L"f(c||Kd(a.a)){var f=null,g=null;if(!Oe)for(var h=a.a;h;h=h.parentNode)", + L"if(Q(h,\"A\")){f=h;break}else if(Pe(h)){g=h;break}var l=(h=!a.f&&Nd(a.", + L"a))&&Od(a.a);x&&g?g.click():ye(a,Be,\nd,e,null,0,c,void 0)&&(f&&Qe(f)?", + L"(c=f,d=c.href,e=tb(C(c)),x&&!qd(8)&&(d=Re(e.location,d)),c.target?e.op", + L"en(d,c.target):e.location.href=d):!h||y||z||l&&\"radio\"==a.a.type.toL", + L"owerCase()||(a.a.checked=!l))}}a.l&&hh(a,mf);a.l=!a.l;Ad&&0==a.b&&Q(a.", + L"g,\"OPTION\")&&Fe(a,sf,new B(0,0),0,!1)}else 2==a.b&&hh(a,Je);De={};a.", + L"b=null;a.g=null}\nfunction kh(a,b,c){var d=Kd(b),e=$d(b);a.c.x=c.x+e.l", + L"eft;a.c.y=c.y+e.top;c=a.a;if(b!=c){try{tb(C(c)).closed&&(c=null)}catch", + L"(f){c=null}c&&(e=c===pa.document.documentElement||c===pa.document.body", + L",c=!a.G&&e?null:c,hh(a,Ae,b));we(a,b);x||hh(a,ze,c,null,d)}hh(a,Ke,nul", + L"l,null,d);x&&b!=c&&hh(a,ze,c,null,d);a.l=!1}function hh(a,b,c,d,e,f){a", + L".G=!0;if(Ad){var g=fh[b];if(g&&!Fe(a,g,a.c,jh(a,g),!0,c,e))return!1}re", + L"turn ye(a,b,a.c,jh(a,b),c,d,e,null,f)}\nfunction jh(a,b){if(!(b in Y))", + L"return 0;var c=Y[b][null===a.b?3:a.b];if(null===c)throw new r(13,\"Eve", + L"nt does not permit the specified mouse button.\");return c}function lh", + L"(a){return{buttonPressed:a.b,elementPressed:a.g,clientXY:{x:a.c.x,y:a.", + L"c.y},nextClickIsDoubleClick:a.l,hasEverInteracted:a.G,element:a.a}};n(", + L"function(){ve.call(this)},ve);function mh(a,b){this.x=a;this.y=b}n(mh,", + L"B);mh.prototype.clone=function(){return new mh(this.x,this.y)};mh.prot", + L"otype.scale=B.prototype.scale;mh.prototype.rotate=function(a){var b=Ma", + L"th.cos(a);a=Math.sin(a);var c=this.y*b+this.x*a;this.x=this.x*b-this.y", + L"*a;this.y=c;return this};function nh(a,b,c,d){function e(a){m(a)?q(a.s", + L"plit(\"\"),function(a){if(1!=a.length)throw new r(13,\"Argument not a ", + L"single character: \"+a);var b=Rf[a];b||(b=a.toUpperCase(),b=V(b.charCo", + L"deAt(0),a.toLowerCase(),b),b={key:b,shift:a!=b.a});a=b;b=X(f,W);a.shif", + L"t&&!b&&Vg(f,W);Vg(f,a.key);ch(f,a.key);a.shift&&!b&&ch(f,W)}):Ha(Rg,a)", + L"?X(f,a)?ch(f,a):Vg(f,a):(Vg(f,a),ch(f,a))}if(a!=Jd(a)){if(!Kd(a))throw", + L" new r(12,\"Element is not currently interactable and may not be manip", + L"ulated\");oh(a)}var f=c||new Pf;dh(f,a);if((!Kb||\ncb)&&z&&\"date\"==a", + L".type){c=\"array\"==ca(b)?b=b.join(\"\"):b;var g=/\\d{4}-\\d{2}-\\d{2}", + L"/;if(c.match(g)){cb&&Kb&&(T(a,qf),T(a,pf));T(a,jf);a.value=c.match(g)[", + L"0];T(a,hf);T(a,gf);return}}\"array\"==ca(b)?q(b,e):e(b);d||q(Rg,functi", + L"on(a){X(f,a)&&ch(f,a)})}\nfunction ph(a){var b;if(\"none\"!=(Dd(a,\"di", + L"splay\")||(a.currentStyle?a.currentStyle.display:null)||a.style&&a.sty", + L"le.display))b=Gd(a);else{b=a.style;var c=b.display,d=b.visibility,e=b.", + L"position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"i", + L"nline\";var f=Gd(a);b.display=c;b.position=e;b.visibility=d;b=f}return", + L" 0=a){var b=Z[a];if(null===b)g.push(h=e()),", + L"f&&(h.O=!1,g.push(h=e()));else if(ba(b))h.keys.push(b);else throw Erro", + L"r(\"Unsupported WebDriver key: \\\\u\"+a.charCodeAt(0).toString(16));}", + L"else switch(a){case \"\\n\":h.keys.push(Vf);break;case \"\\t\":h.keys.", + L"push(Uf);break;case \"\\b\":h.keys.push(Tf);break;default:h.keys.push(", + L"a)}})});q(g,function(b){nh(a,b.keys,c,b.O)})}\nvar Z={\"\\ue000\":null", + L"};Z[\"\\ue003\"]=Tf;Z[\"\\ue004\"]=Uf;Z[\"\\ue006\"]=Vf;Z[\"\\ue007\"]", + L"=Vf;Z[\"\\ue008\"]=W;Z[\"\\ue009\"]=Wf;Z[\"\\ue00a\"]=Xf;Z[\"\\ue00b\"", + L"]=Yf;Z[\"\\ue00c\"]=Zf;Z[\"\\ue00d\"]=$f;Z[\"\\ue00e\"]=ag;Z[\"\\ue00f", + L"\"]=bg;Z[\"\\ue010\"]=cg;Z[\"\\ue011\"]=dg;Z[\"\\ue012\"]=eg;Z[\"\\ue0", + L"13\"]=fg;Z[\"\\ue014\"]=gg;Z[\"\\ue015\"]=hg;Z[\"\\ue016\"]=ig;Z[\"\\u", + L"e017\"]=jg;Z[\"\\ue018\"]=Qg;Z[\"\\ue019\"]=Og;Z[\"\\ue01a\"]=ng;Z[\"", + L"\\ue01b\"]=og;Z[\"\\ue01c\"]=pg;Z[\"\\ue01d\"]=qg;Z[\"\\ue01e\"]=rg;Z[", + L"\"\\ue01f\"]=sg;Z[\"\\ue020\"]=tg;Z[\"\\ue021\"]=ug;Z[\"\\ue022\"]=vg;", + L"Z[\"\\ue023\"]=wg;\nZ[\"\\ue024\"]=xg;Z[\"\\ue025\"]=yg;Z[\"\\ue027\"]", + L"=zg;Z[\"\\ue028\"]=Ag;Z[\"\\ue029\"]=Bg;Z[\"\\ue026\"]=Pg;Z[\"\\ue031", + L"\"]=Cg;Z[\"\\ue032\"]=Dg;Z[\"\\ue033\"]=Eg;Z[\"\\ue034\"]=Fg;Z[\"\\ue0", + L"35\"]=Gg;Z[\"\\ue036\"]=Hg;Z[\"\\ue037\"]=Ig;Z[\"\\ue038\"]=Jg;Z[\"\\u", + L"e039\"]=Kg;Z[\"\\ue03a\"]=Lg;Z[\"\\ue03b\"]=Mg;Z[\"\\ue03c\"]=Ng;Z[\"", + L"\\ue03d\"]=kg;oa(\"webdriver.atoms.inputs.click\",function(a,b){var c=", + L"new eh(b);a||(a=lh(c).element);if(!a)throw Error(\"No element to send ", + L"keys to\");var d=a,e;if(!Ld(d,!0))throw new r(11,\"Element is not curr", + L"ently visible and may not be manipulated\");oh(d,void 0);e=ph(d);e=new", + L" mh(e.width/2,e.height/2);var f=c||new eh;kh(f,d,e);gh(f,0);ih(f,void ", + L"0);return lh(c)});oa(\"webdriver.atoms.inputs.doubleClick\",function(a", + L"){a=new eh(a);gh(a,0);ih(a);gh(a,0);ih(a);return lh(a)});\noa(\"webdri", + L"ver.atoms.inputs.rightClick\",function(a){a=new eh(a);gh(a,2);ih(a);re", + L"turn lh(a)});oa(\"webdriver.atoms.inputs.mouseButtonDown\",function(a)", + L"{a=new eh(a);gh(a,0);return lh(a)});oa(\"webdriver.atoms.inputs.mouseB", + L"uttonUp\",function(a){a=new eh(a);ih(a);return lh(a)});\noa(\"webdrive", + L"r.atoms.inputs.mouseMove\",function(a,b,c,d){d=new eh(d);var e=a||lh(d", + L").element,f=null!=b&&null!=c;b=b||0;c=c||0;a?f||(c=ph(a),b=Math.floor(", + L"c.width/2),c=Math.floor(c.height/2)):(za(e),1==e.nodeType?(a=Fd(e),a=n", + L"ew B(a.left,a.top)):(a=fa(e.H),f=e,e.targetTouches&&e.targetTouches.le", + L"ngth?f=e.targetTouches[0]:a&&e.H().targetTouches&&e.H().targetTouches.", + L"length&&(f=e.H().targetTouches[0]),a=new B(f.clientX,f.clientY)),b+=lh", + L"(d).clientXY.x-a.x,c+=lh(d).clientXY.y-a.y);C(e);oh(e,new B(b,c));kh(d", + L",\ne,new B(b,c));return lh(d)});oa(\"webdriver.atoms.inputs.sendKeys\"", + L",function(a,b,c,d){c=new Pf(c);a||(a=Jd(document));if(!a)throw Error(", + L"\"No element to send keys to\");rh(a,b,c,d);return{pressed:c.c.B(),cur", + L"rentPos:c.b}});", NULL }; diff --git a/javascript/atoms/action.js b/javascript/atoms/action.js index 12fb0dd2089c8..97a905754ebb6 100644 --- a/javascript/atoms/action.js +++ b/javascript/atoms/action.js @@ -304,6 +304,24 @@ bot.action.doubleClick = function(element, opt_coords, opt_mouse) { }; +/** + * Double-clicks on the given {@code element} with a virtual mouse. + * + * @param {!Element} element The element to click. + * @param {goog.math.Coordinate=} opt_coords Mouse position relative to the + * element. + * @param {bot.Mouse=} opt_mouse Mouse to use; if not provided, constructs one. + * @throws {bot.Error} If the element cannot be interacted with. + */ +bot.action.doubleClick2 = function(element, opt_coords, opt_mouse) { + var coords = bot.action.prepareToInteractWith_(element, opt_coords); + var mouse = opt_mouse || new bot.Mouse(); + mouse.move(element, coords); + mouse.pressButton(bot.Mouse.Button.LEFT, 2); + mouse.releaseButton(true, 2); +}; + + /** * Scrolls the mouse wheel on the given {@code element} with a virtual mouse. * diff --git a/javascript/atoms/device.js b/javascript/atoms/device.js index a37ba3b9e973e..2bf0c4dd7d753 100644 --- a/javascript/atoms/device.js +++ b/javascript/atoms/device.js @@ -142,11 +142,12 @@ bot.Device.prototype.fireKeyboardEvent = function(type, args) { * element is not interactable, such as the case of a mousemove or * mouseover event that immediately follows a mouseout. * @param {?number=} opt_pointerId The pointerId associated with the event. + * @param {?number=} opt_count Number of clicks that have been performed. * @return {boolean} Whether the event fired successfully; false if cancelled. * @protected */ bot.Device.prototype.fireMouseEvent = function(type, coord, button, - opt_related, opt_wheelDelta, opt_force, opt_pointerId) { + opt_related, opt_wheelDelta, opt_force, opt_pointerId, opt_count) { if (!opt_force && !bot.dom.isInteractable(this.element_)) { return false; } @@ -167,7 +168,8 @@ bot.Device.prototype.fireMouseEvent = function(type, coord, button, shiftKey: this.modifiersState.isShiftPressed(), metaKey: this.modifiersState.isMetaPressed(), wheelDelta: opt_wheelDelta || 0, - relatedTarget: opt_related || null + relatedTarget: opt_related || null, + count: opt_count || 1 }; var pointerId = opt_pointerId || bot.Device.MOUSE_MS_POINTER_ID; diff --git a/javascript/atoms/mouse.js b/javascript/atoms/mouse.js index 32ee62533541c..413586eb4737a 100644 --- a/javascript/atoms/mouse.js +++ b/javascript/atoms/mouse.js @@ -214,10 +214,11 @@ bot.Mouse.MOUSE_EVENT_MAP_ = (function() { * Attempts to fire a mousedown event and then returns whether or not the * element should receive focus as a result of the mousedown. * + * @param {?number=} opt_count Number of clicks that have been performed. * @return {boolean} Whether to focus on the element after the mousedown. * @private */ -bot.Mouse.prototype.fireMousedown_ = function() { +bot.Mouse.prototype.fireMousedown_ = function(opt_count) { // On some browsers, a mouse down event on an OPTION or SELECT element cause // the SELECT to open, blocking further JS execution. This is undesirable, // and so needs to be detected. We always focus in this case. @@ -238,7 +239,7 @@ bot.Mouse.prototype.fireMousedown_ = function() { if (mousedownCanPreemptFocus) { beforeActiveElement = bot.dom.getActiveElement(this.getElement()); } - var performFocus = this.fireMouseEvent_(bot.events.EventType.MOUSEDOWN); + var performFocus = this.fireMouseEvent_(bot.events.EventType.MOUSEDOWN, null, null, false, opt_count); if (performFocus && mousedownCanPreemptFocus && beforeActiveElement != bot.dom.getActiveElement(this.getElement())) { return false; @@ -251,8 +252,9 @@ bot.Mouse.prototype.fireMousedown_ = function() { * Press a mouse button on an element that the mouse is interacting with. * * @param {!bot.Mouse.Button} button Button. + * @param {?number=} opt_count Number of clicks that have been performed. */ -bot.Mouse.prototype.pressButton = function(button) { +bot.Mouse.prototype.pressButton = function(button, opt_count) { if (!goog.isNull(this.buttonPressed_)) { throw new bot.Error(bot.ErrorCode.UNKNOWN_ERROR, 'Cannot press more then one button or an already pressed button.'); @@ -260,7 +262,7 @@ bot.Mouse.prototype.pressButton = function(button) { this.buttonPressed_ = button; this.elementPressed_ = this.getElement(); - var performFocus = this.fireMousedown_(); + var performFocus = this.fireMousedown_(opt_count); if (performFocus) { if (bot.userAgent.IE_DOC_10 && this.buttonPressed_ == bot.Mouse.Button.LEFT && @@ -279,8 +281,9 @@ bot.Mouse.prototype.pressButton = function(button) { * * @param {boolean=} opt_force Whether the event should be fired even if the * element is not interactable. + * @param {?number=} opt_count Number of clicks that have been performed. */ -bot.Mouse.prototype.releaseButton = function(opt_force) { +bot.Mouse.prototype.releaseButton = function(opt_force, opt_count) { if (goog.isNull(this.buttonPressed_)) { throw new bot.Error(bot.ErrorCode.UNKNOWN_ERROR, 'Cannot release a button when no button is pressed.'); @@ -293,7 +296,7 @@ bot.Mouse.prototype.releaseButton = function(opt_force) { // element becomes non-interactable after the mouseup. var elementInteractableBeforeMouseup = bot.dom.isInteractable(this.getElement()); - this.fireMouseEvent_(bot.events.EventType.MOUSEUP, null, null, opt_force); + this.fireMouseEvent_(bot.events.EventType.MOUSEUP, null, null, opt_force, opt_count); // TODO: Middle button can also trigger click. if (this.buttonPressed_ == bot.Mouse.Button.LEFT && @@ -439,11 +442,12 @@ bot.Mouse.prototype.scroll = function(ticks) { * @param {?number=} opt_wheelDelta The wheel delta value for the event. * @param {boolean=} opt_force Whether the event should be fired even if the * element is not interactable. + * @param {?number=} opt_count Number of clicks that have been performed. * @return {boolean} Whether the event fired successfully or was cancelled. * @private */ bot.Mouse.prototype.fireMouseEvent_ = function(type, opt_related, - opt_wheelDelta, opt_force) { + opt_wheelDelta, opt_force, opt_count) { this.hasEverInteracted_ = true; if (bot.userAgent.IE_DOC_10) { var msPointerEvent = bot.Mouse.MOUSE_EVENT_MAP_[type]; @@ -459,7 +463,7 @@ bot.Mouse.prototype.fireMouseEvent_ = function(type, opt_related, } } return this.fireMouseEvent(type, this.clientXY_, - this.getButtonValue_(type), opt_related, opt_wheelDelta, opt_force); + this.getButtonValue_(type), opt_related, opt_wheelDelta, opt_force, null, opt_count); }; diff --git a/javascript/firefox-driver/js/syntheticMouse.js b/javascript/firefox-driver/js/syntheticMouse.js index 32f74a5f43a14..e163d3306c2a9 100644 --- a/javascript/firefox-driver/js/syntheticMouse.js +++ b/javascript/firefox-driver/js/syntheticMouse.js @@ -243,8 +243,8 @@ SyntheticMouse.prototype.doubleClick = function(target) { } goog.log.info(SyntheticMouse.LOG_, - 'About to do a bot.action.doubleClick on ' + element); - bot.action.doubleClick(element, this.lastMousePosition); + 'About to do a bot.action.doubleClick2 on ' + element); + bot.action.doubleClick2(element, this.lastMousePosition, this.getMouse_()); this.lastElement = element; @@ -388,7 +388,7 @@ SyntheticMouse.EventEmitter.prototype.fireMouseEvent = function(target, type, ar goog.log.info(SyntheticMouse.LOG_, 'Calling fireMouseEvent ' + type + ' ' + args.clientX + ', ' + args.clientY + ', ' + target); - if (type == 'click') { + if (type == 'click' || type == 'dblclick') { // A click event will be automatically fired as a result of a mousedown and mouseup in sequence return true; } @@ -398,10 +398,12 @@ SyntheticMouse.EventEmitter.prototype.fireMouseEvent = function(target, type, ar var modifiers = this._parseModifiers(args); if (utils.sendMouseEventToWindow) { // Firefox 4+ - utils.sendMouseEventToWindow(type, Math.round(args.clientX), Math.round(args.clientY), args.button, 1, modifiers); + utils.sendMouseEventToWindow(type, Math.round(args.clientX), Math.round(args.clientY), + args.button, args.count, modifiers); } else { // Firefox 3 - utils.sendMouseEvent(type, Math.round(args.clientX), Math.round(args.clientY), args.button, 1, modifiers); + utils.sendMouseEvent(type, Math.round(args.clientX), Math.round(args.clientY), + args.button, args.count, modifiers); } goog.log.info(SyntheticMouse.LOG_, 'Called fireMouseEvent ' + type + ' ' + args.clientX +