| /* |
| * Copyright 2011-2014 Software Freedom Conservancy |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| /* AUTO GENERATED - DO NOT EDIT BY HAND */ |
| |
| #include <stddef.h> // For NULL. |
| |
| #include "atoms.h" |
| |
| namespace webdriver { |
| namespace atoms { |
| |
| const char* const CLEAR[] = { |
| "function(){return function(){var g,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e)", |
| ";f!=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "da=this;function k(a){return void 0!==a}\nfunction ea(a,b){var c=a.spli", |
| "t(\".\"),d=da;c[0]in d||!d.execScript||d.execScript(\"var \"+c[0]);for(", |
| "var e;c.length&&(e=c.shift());)!c.length&&k(b)?d[e]=b:d=d[e]?d[e]:d[e]=", |
| "{}}\nfunction fa(a){var b=typeof a;if(\"object\"==b)if(a){if(a instance", |
| "of Array)return\"array\";if(a instanceof Object)return b;var c=Object.p", |
| "rototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if", |
| "(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typ", |
| "eof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.property", |
| "IsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
| "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
| "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
| "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", |
| "object\";return b}function ga(a){var b=fa(a);return\"array\"==b||\"obje", |
| "ct\"==b&&\"number\"==typeof a.length}function m(a){return\"string\"==ty", |
| "peof a}function n(a){return\"number\"==typeof a}function ha(a){return\"", |
| "function\"==fa(a)}function ia(a){var b=typeof a;return\"object\"==b&&nu", |
| "ll!=a||\"function\"==b}function ja(a,b,c){return a.call.apply(a.bind,ar", |
| "guments)}\nfunction ka(a,b,c){if(!a)throw Error();if(2<arguments.length", |
| "){var d=Array.prototype.slice.call(arguments,2);return function(){var c", |
| "=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,", |
| "d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}", |
| "function la(a,b,c){la=Function.prototype.bind&&-1!=Function.prototype.b", |
| "ind.toString().indexOf(\"native code\")?ja:ka;return la.apply(null,argu", |
| "ments)}\nfunction ma(a,b){var c=Array.prototype.slice.call(arguments,1)", |
| ";return function(){var b=c.slice();b.push.apply(b,arguments);return a.a", |
| "pply(this,b)}}function p(a,b){function c(){}c.prototype=b.prototype;a.E", |
| "a=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ca=function", |
| "(a,c,f){for(var h=Array(arguments.length-2),l=2;l<arguments.length;l++)", |
| "h[l-2]=arguments[l];return b.prototype[c].apply(a,h)}};var na=window;fu", |
| "nction oa(a){return String(a).replace(/\\-([a-z])/g,function(a,c){retur", |
| "n c.toUpperCase()})};function pa(a,b){if(m(a))return m(b)&&1==b.length?", |
| "a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return", |
| " c;return-1}function q(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e", |
| "=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)}function r(a,b,c){var d=c;q(", |
| "a,function(c,f){d=b.call(void 0,d,c,f,a)});return d}function u(a,b){for", |
| "(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(vo", |
| "id 0,d[e],e,a))return!0;return!1}\nfunction qa(a,b){for(var c=a.length,", |
| "d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))", |
| "return!1;return!0}function ra(a){return Array.prototype.concat.apply(Ar", |
| "ray.prototype,arguments)}function sa(a){var b=a.length;if(0<b){for(var ", |
| "c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function ta(a,b,c){r", |
| "eturn 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototy", |
| "pe.slice.call(a,b,c)};var ua={aliceblue:\"#f0f8ff\",antiquewhite:\"#fae", |
| "bd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:", |
| "\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffeb", |
| "cd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywoo", |
| "d:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"", |
| "#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8", |
| "dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan", |
| ":\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:", |
| "\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"", |
| "#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:", |
| "\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#", |
| "8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslateg", |
| "rey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppi", |
| "nk:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#6", |
| "96969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fff", |
| "af0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\"", |
| ",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:", |
| "\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",", |
| "honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:", |
| "\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",la", |
| "venderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",", |
| "lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",ligh", |
| "tgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90", |
| "\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",", |
| "\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#", |
| "778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyel", |
| "low:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6", |
| "\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",", |
| "mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db", |
| "\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringg", |
| "reen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585", |
| "\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\"", |
| ",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlac", |
| "e:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500", |
| "\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",p", |
| "alegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093", |
| "\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:", |
| "\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",", |
| "red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown", |
| ":\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b", |
| "57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skybl", |
| "ue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"", |
| "#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4", |
| "\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff634", |
| "7\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"", |
| "#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd", |
| "32\"};var va=\"backgroundColor borderTopColor borderRightColor borderBo", |
| "ttomColor borderLeftColor color outlineColor\".split(\" \"),wa=/#([0-9a", |
| "-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,xa=/^#(?:[0-9a-f]{3}){1,2}$/i,ya=/^(", |
| "?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)", |
| "\\)$/i,za=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[", |
| "1-9]\\d{0,2})\\)$/i;function v(a,b){this.code=a;this.state=w[a]||Aa;thi", |
| "s.message=b||\"\";var c=this.state.replace(/((?:^|\\s+)[a-z])/g,functio", |
| "n(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d=c.length-", |
| "5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.name=c;c=Error(th", |
| "is.message);c.name=this.name;this.stack=c.stack||\"\"}p(v,Error);var Aa", |
| "=\"unknown error\",w={15:\"element not selectable\",11:\"element not vi", |
| "sible\"};w[31]=Aa;w[30]=Aa;w[24]=\"invalid cookie domain\";w[29]=\"inva", |
| "lid element coordinates\";w[12]=\"invalid element state\";\nw[32]=\"inv", |
| "alid selector\";w[51]=\"invalid selector\";w[52]=\"invalid selector\";w", |
| "[17]=\"javascript error\";w[405]=\"unsupported operation\";w[34]=\"move", |
| " target out of bounds\";w[27]=\"no such alert\";w[7]=\"no such element", |
| "\";w[8]=\"no such frame\";w[23]=\"no such window\";w[28]=\"script timeo", |
| "ut\";w[33]=\"session not created\";w[10]=\"stale element reference\";w[", |
| "21]=\"timeout\";w[25]=\"unable to set cookie\";w[26]=\"unexpected alert", |
| " open\";w[13]=Aa;w[9]=\"unknown command\";v.prototype.toString=function", |
| "(){return this.name+\": \"+this.message};var Ba;a:{var Ca=da.navigator;", |
| "if(Ca){var Da=Ca.userAgent;if(Da){Ba=Da;break a}}Ba=\"\"};var Fa=-1!=Ba", |
| ".indexOf(\"Macintosh\"),Ga=-1!=Ba.indexOf(\"Windows\");function x(a,b){", |
| "this.x=k(a)?a:0;this.y=k(b)?b:0}g=x.prototype;g.clone=function(){return", |
| " new x(this.x,this.y)};g.toString=function(){return\"(\"+this.x+\", \"+", |
| "this.y+\")\"};g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ce", |
| "il(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);th", |
| "is.y=Math.floor(this.y);return this};g.round=function(){this.x=Math.rou", |
| "nd(this.x);this.y=Math.round(this.y);return this};\ng.translate=functio", |
| "n(a,b){a instanceof x?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),n(b)", |
| "&&(this.y+=b));return this};g.scale=function(a,b){var c=n(b)?b:a;this.x", |
| "*=a;this.y*=c;return this};function Ha(a,b){this.width=a;this.height=b}", |
| "g=Ha.prototype;g.clone=function(){return new Ha(this.width,this.height)", |
| "};g.toString=function(){return\"(\"+this.width+\" x \"+this.height+\")", |
| "\"};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math", |
| ".ceil(this.height);return this};g.floor=function(){this.width=Math.floo", |
| "r(this.width);this.height=Math.floor(this.height);return this};g.round=", |
| "function(){this.width=Math.round(this.width);this.height=Math.round(thi", |
| "s.height);return this};\ng.scale=function(a,b){var c=n(b)?b:a;this.widt", |
| "h*=a;this.height*=c;return this};function Ia(a,b,c){function d(c){c&&b.", |
| "appendChild(m(c)?a.createTextNode(c):c)}for(var e=1;e<c.length;e++){var", |
| " f=c[e];!ga(f)||ia(f)&&0<f.nodeType?d(f):q(Ja(f)?sa(f):f,d)}}function K", |
| "a(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}function La(a,", |
| "b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.conta", |
| "ins(b);if(\"undefined\"!=typeof a.compareDocumentPosition)return a==b||", |
| "!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return", |
| " b==a}\nfunction Ma(a,b){if(a==b)return 0;if(a.compareDocumentPosition)", |
| "return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.pa", |
| "rentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeType,d=1==b.no", |
| "deType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=", |
| "b.parentNode;return e==f?Na(a,b):!c&&La(e,b)?-1*Oa(a,b):!d&&La(f,a)?Oa(", |
| "b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=", |
| "A(a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=d.createRange()", |
| ";d.selectNode(b);\nd.collapse(!0);return c.compareBoundaryPoints(da.Ran", |
| "ge.START_TO_END,d)}function Oa(a,b){var c=a.parentNode;if(c==b)return-1", |
| ";for(var d=b;d.parentNode!=c;)d=d.parentNode;return Na(d,a)}function Na", |
| "(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}functi", |
| "on A(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Ja(", |
| "a){if(a&&\"number\"==typeof a.length){if(ia(a))return\"function\"==type", |
| "of a.item||\"string\"==typeof a.item;if(ha(a))return\"function\"==typeo", |
| "f a.item}return!1}\nfunction Pa(a,b,c){c||(a=a.parentNode);for(c=0;a;){", |
| "if(b(a))return a;a=a.parentNode;c++}return null}function Qa(a){try{retu", |
| "rn a&&a.activeElement}catch(b){}return null}function Ra(a){this.V=a||da", |
| ".document||document}g=Ra.prototype;g.createElement=function(a){return t", |
| "his.V.createElement(a)};g.createTextNode=function(a){return this.V.crea", |
| "teTextNode(String(a))};g.appendChild=function(a,b){a.appendChild(b)};g.", |
| "append=function(a,b){Ia(A(a),a,arguments)};\ng.canHaveChildren=function", |
| "(a){if(1!=a.nodeType)return!1;switch(a.tagName){case \"APPLET\":case \"", |
| "AREA\":case \"BASE\":case \"BR\":case \"COL\":case \"COMMAND\":case \"E", |
| "MBED\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case \"IF", |
| "RAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case \"NOFRAMES\"", |
| ":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"", |
| "SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case \"WBR\":ret", |
| "urn!1}return!0};g.removeNode=function(a){return a&&a.parentNode?a.paren", |
| "tNode.removeChild(a):null};\ng.contains=La;function Sa(a){var b;b=\"tab", |
| "index\";return\"style\"==b?Ta(a.style.cssText):(a=a.getAttributeNode(b)", |
| ")&&a.specified?a.value:null}var Ua=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)", |
| "(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;functio", |
| "n Ta(a){var b=[];q(a.split(Ua),function(a){var d=a.indexOf(\":\");0<d&&", |
| "(a=[a.slice(0,d),a.slice(d+1)],2==a.length&&b.push(a[0].toLowerCase(),", |
| "\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.length-1", |
| ")?b:b+\";\"}\nfunction B(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.", |
| "toUpperCase()==b)};/*\n\n The MIT License\n\n Copyright (c) 2007 Cybozu", |
| " Labs, Inc.\n Copyright (c) 2012 Google Inc.\n\n Permission is hereby g", |
| "ranted, free of charge, to any person obtaining a copy\n of this softwa", |
| "re and associated documentation files (the \"Software\"), to\n deal in ", |
| "the Software without restriction, including without limitation the\n ri", |
| "ghts to use, copy, modify, merge, publish, distribute, sublicense, and/", |
| "or\n sell copies of the Software, and to permit persons to whom the Sof", |
| "tware is\n furnished to do so, subject to the following conditions:\n\n", |
| " The above copyright notice and this permission notice shall be include", |
| "d in\n all copies or substantial portions of the Software.\n\n THE SOFT", |
| "WARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n ", |
| "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY", |
| ",\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT S", |
| "HALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGE", |
| "S OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHER", |
| "WISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE ", |
| "USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunction Va(a,b,c){this.s", |
| "=a;this.ya=b||1;this.o=c||1};function Wa(a){this.Z=a;this.O=0}function ", |
| "Xa(a){a=a.match(Ya);for(var b=0;b<a.length;b++)Za.test(a[b])&&a.splice(", |
| "b,1);return new Wa(a)}var Ya=RegExp(\"\\\\$?(?:(?![0-9-\\\\.])(?:\\\\*|", |
| "[\\\\w-\\\\.]+):)?(?![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+)|\\\\/\\\\/|", |
| "\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+|\\\"[^\\\"]*\\\"|'[^']", |
| "*'|[!<>]=|\\\\s+|.\",\"g\"),Za=/^\\s/;function C(a,b){return a.Z[a.O+(b", |
| "||0)]}Wa.prototype.next=function(){return this.Z[this.O++]};Wa.prototyp", |
| "e.back=function(){this.O--};Wa.prototype.empty=function(){return this.Z", |
| ".length<=this.O};function D(a){var b=null,c=a.nodeType;1==c&&(b=a.textC", |
| "ontent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"\":b);", |
| "if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.first", |
| "Child;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[", |
| "c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b", |
| "=a.nodeValue;return\"\"+b}\nfunction $a(a,b,c){if(null===b)return!0;try", |
| "{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!!a.getAt", |
| "tribute(b):a.getAttribute(b,2)==c}function ab(a,b,c,d,e){return bb.call", |
| "(null,a,b,m(c)?c:null,m(d)?d:null,e||new E)}\nfunction bb(a,b,c,d,e){b.", |
| "getElementsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),q(b,functio", |
| "n(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"class\"==", |
| "c?(b=b.getElementsByClassName(d),q(b,function(b){b.className==d&&a.matc", |
| "hes(b)&&e.add(b)})):a instanceof F?cb(a,b,c,d,e):b.getElementsByTagName", |
| "&&(b=b.getElementsByTagName(a.getName()),q(b,function(a){$a(a,c,d)&&e.a", |
| "dd(a)}));return e}function db(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextS", |
| "ibling)$a(b,c,d)&&a.matches(b)&&e.add(b);return e}\nfunction cb(a,b,c,d", |
| ",e){for(b=b.firstChild;b;b=b.nextSibling)$a(b,c,d)&&a.matches(b)&&e.add", |
| "(b),cb(a,b,c,d,e)};function E(){this.o=this.j=null;this.J=0}function eb", |
| "(a){this.node=a;this.next=this.F=null}function fb(a,b){if(!a.j)return b", |
| ";if(!b.j)return a;for(var c=a.j,d=b.j,e=null,f,h=0;c&&d;)c.node==d.node", |
| "?(f=c,c=c.next,d=d.next):0<Ma(c.node,d.node)?(f=d,d=d.next):(f=c,c=c.ne", |
| "xt),(f.F=e)?e.next=f:a.j=f,e=f,h++;for(f=c||d;f;)f.F=e,e=e.next=f,h++,f", |
| "=f.next;a.o=e;a.J=h;return a}E.prototype.unshift=function(a){a=new eb(a", |
| ");a.next=this.j;this.o?this.j.F=a:this.j=this.o=a;this.j=a;this.J++};\n", |
| "E.prototype.add=function(a){a=new eb(a);a.F=this.o;this.j?this.o.next=a", |
| ":this.j=this.o=a;this.o=a;this.J++};function gb(a){return(a=a.j)?a.node", |
| ":null}E.prototype.v=function(){return this.J};function hb(a){return(a=g", |
| "b(a))?D(a):\"\"}E.prototype.iterator=function(a){return new ib(this,!!a", |
| ")};function ib(a,b){this.ua=a;this.ba=(this.H=b)?a.o:a.j;this.W=null}ib", |
| ".prototype.next=function(){var a=this.ba;if(null==a)return null;var b=t", |
| "his.W=a;this.ba=this.H?a.F:a.next;return b.node};\nib.prototype.remove=", |
| "function(){var a=this.ua,b=this.W;if(!b)throw Error(\"Next must be call", |
| "ed at least once before remove.\");var c=b.F,b=b.next;c?c.next=b:a.j=b;", |
| "b?b.F=c:a.o=c;a.J--;this.W=null};function H(a){this.i=a;this.l=this.A=!", |
| "1;this.K=null}function I(a){return\"\\n \"+a.toString().split(\"\\n\")", |
| ".join(\"\\n \")}H.prototype.h=function(){return this.A};function jb(a,", |
| "b){a.A=b}function kb(a,b){a.l=b}H.prototype.D=function(){return this.K}", |
| ";function J(a,b){var c=a.evaluate(b);return c instanceof E?+hb(c):+c}fu", |
| "nction K(a,b){var c=a.evaluate(b);return c instanceof E?hb(c):\"\"+c}fu", |
| "nction lb(a,b){var c=a.evaluate(b);return c instanceof E?!!c.v():!!c};f", |
| "unction mb(a,b,c){H.call(this,a.i);this.Y=a;this.ga=b;this.la=c;this.A=", |
| "b.h()||c.h();this.l=b.l||c.l;this.Y==nb&&(c.l||c.h()||4==c.i||0==c.i||!", |
| "b.D()?b.l||b.h()||4==b.i||0==b.i||!c.D()||(this.K={name:c.D().name,I:b}", |
| "):this.K={name:b.D().name,I:c})}p(mb,H);\nfunction ob(a,b,c,d,e){b=b.ev", |
| "aluate(d);c=c.evaluate(d);var f;if(b instanceof E&&c instanceof E){b=b.", |
| "iterator();for(d=b.next();d;d=b.next())for(e=c.iterator(),f=e.next();f;", |
| "f=e.next())if(a(D(d),D(f)))return!0;return!1}if(b instanceof E||c insta", |
| "nceof E){b instanceof E?(e=b,d=c):(e=c,d=b);f=e.iterator();for(var h=ty", |
| "peof d,l=f.next();l;l=f.next()){switch(h){case \"number\":l=+D(l);break", |
| ";case \"boolean\":l=!!D(l);break;case \"string\":l=D(l);break;default:t", |
| "hrow Error(\"Illegal primitive type for comparison.\");\n}if(e==b&&a(l,", |
| "d)||e==c&&a(d,l))return!0}return!1}return e?\"boolean\"==typeof b||\"bo", |
| "olean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==typeof c", |
| "?a(+b,+c):a(b,c):a(+b,+c)}mb.prototype.evaluate=function(a){return this", |
| ".Y.u(this.ga,this.la,a)};mb.prototype.toString=function(){var a=\"Binar", |
| "y Expression: \"+this.Y,a=a+I(this.ga);return a+=I(this.la)};function p", |
| "b(a,b,c,d){this.xa=a;this.ja=b;this.i=c;this.u=d}pb.prototype.toString=", |
| "function(){return this.xa};var qb={};\nfunction L(a,b,c,d){if(qb.hasOwn", |
| "Property(a))throw Error(\"Binary operator already created: \"+a);a=new ", |
| "pb(a,b,c,d);return qb[a.toString()]=a}L(\"div\",6,1,function(a,b,c){ret", |
| "urn J(a,c)/J(b,c)});L(\"mod\",6,1,function(a,b,c){return J(a,c)%J(b,c)}", |
| ");L(\"*\",6,1,function(a,b,c){return J(a,c)*J(b,c)});L(\"+\",5,1,functi", |
| "on(a,b,c){return J(a,c)+J(b,c)});L(\"-\",5,1,function(a,b,c){return J(a", |
| ",c)-J(b,c)});L(\"<\",4,2,function(a,b,c){return ob(function(a,b){return", |
| " a<b},a,b,c)});\nL(\">\",4,2,function(a,b,c){return ob(function(a,b){re", |
| "turn a>b},a,b,c)});L(\"<=\",4,2,function(a,b,c){return ob(function(a,b)", |
| "{return a<=b},a,b,c)});L(\">=\",4,2,function(a,b,c){return ob(function(", |
| "a,b){return a>=b},a,b,c)});var nb=L(\"=\",3,2,function(a,b,c){return ob", |
| "(function(a,b){return a==b},a,b,c,!0)});L(\"!=\",3,2,function(a,b,c){re", |
| "turn ob(function(a,b){return a!=b},a,b,c,!0)});L(\"and\",2,2,function(a", |
| ",b,c){return lb(a,c)&&lb(b,c)});L(\"or\",1,2,function(a,b,c){return lb(", |
| "a,c)||lb(b,c)});function rb(a,b){if(b.v()&&4!=a.i)throw Error(\"Primary", |
| " expression must evaluate to nodeset if filter has predicate(s).\");H.c", |
| "all(this,a.i);this.ka=a;this.f=b;this.A=a.h();this.l=a.l}p(rb,H);rb.pro", |
| "totype.evaluate=function(a){a=this.ka.evaluate(a);return sb(this.f,a)};", |
| "rb.prototype.toString=function(){var a;a=\"Filter:\"+I(this.ka);return ", |
| "a+=I(this.f)};function tb(a,b){if(b.length<a.ia)throw Error(\"Function ", |
| "\"+a.m+\" expects at least\"+a.ia+\" arguments, \"+b.length+\" given\")", |
| ";if(null!==a.X&&b.length>a.X)throw Error(\"Function \"+a.m+\" expects a", |
| "t most \"+a.X+\" arguments, \"+b.length+\" given\");a.va&&q(b,function(", |
| "b,d){if(4!=b.i)throw Error(\"Argument \"+d+\" to function \"+a.m+\" is ", |
| "not of type Nodeset: \"+b);});H.call(this,a.i);this.N=a;this.T=b;jb(thi", |
| "s,a.A||u(b,function(a){return a.h()}));kb(this,a.ta&&!b.length||a.sa&&!", |
| "!b.length||u(b,function(a){return a.l}))}\np(tb,H);tb.prototype.evaluat", |
| "e=function(a){return this.N.u.apply(null,ra(a,this.T))};tb.prototype.to", |
| "String=function(){var a=\"Function: \"+this.N;if(this.T.length)var b=r(", |
| "this.T,function(a,b){return a+I(b)},\"Arguments:\"),a=a+I(b);return a};", |
| "function ub(a,b,c,d,e,f,h,l,y){this.m=a;this.i=b;this.A=c;this.ta=d;thi", |
| "s.sa=e;this.u=f;this.ia=h;this.X=k(l)?l:h;this.va=!!y}ub.prototype.toSt", |
| "ring=function(){return this.m};var vb={};\nfunction M(a,b,c,d,e,f,h,l){", |
| "if(vb.hasOwnProperty(a))throw Error(\"Function already created: \"+a+\"", |
| ".\");vb[a]=new ub(a,b,c,d,!1,e,f,h,l)}M(\"boolean\",2,!1,!1,function(a,", |
| "b){return lb(b,a)},1);M(\"ceiling\",1,!1,!1,function(a,b){return Math.c", |
| "eil(J(b,a))},1);M(\"concat\",3,!1,!1,function(a,b){return r(ta(argument", |
| "s,1),function(b,d){return b+K(d,a)},\"\")},2,null);M(\"contains\",2,!1,", |
| "!1,function(a,b,c){b=K(b,a);a=K(c,a);return-1!=b.indexOf(a)},2);M(\"cou", |
| "nt\",1,!1,!1,function(a,b){return b.evaluate(a).v()},1,1,!0);\nM(\"fals", |
| "e\",2,!1,!1,function(){return!1},0);M(\"floor\",1,!1,!1,function(a,b){r", |
| "eturn Math.floor(J(b,a))},1);M(\"id\",4,!1,!1,function(a,b){var c=a.s,d", |
| "=9==c.nodeType?c:c.ownerDocument,c=K(b,a).split(/\\s+/),e=[];q(c,functi", |
| "on(a){a=d.getElementById(a);!a||0<=pa(e,a)||e.push(a)});e.sort(Ma);var ", |
| "f=new E;q(e,function(a){f.add(a)});return f},1);M(\"lang\",2,!1,!1,func", |
| "tion(){return!1},1);M(\"last\",1,!0,!1,function(a){if(1!=arguments.leng", |
| "th)throw Error(\"Function last expects ()\");return a.o},0);\nM(\"local", |
| "-name\",3,!1,!0,function(a,b){var c=b?gb(b.evaluate(a)):a.s;return c?c.", |
| "localName||c.nodeName.toLowerCase():\"\"},0,1,!0);M(\"name\",3,!1,!0,fu", |
| "nction(a,b){var c=b?gb(b.evaluate(a)):a.s;return c?c.nodeName.toLowerCa", |
| "se():\"\"},0,1,!0);M(\"namespace-uri\",3,!0,!1,function(){return\"\"},0", |
| ",1,!0);M(\"normalize-space\",3,!1,!0,function(a,b){return(b?K(b,a):D(a.", |
| "s)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);M(", |
| "\"not\",2,!1,!1,function(a,b){return!lb(b,a)},1);\nM(\"number\",1,!1,!0", |
| ",function(a,b){return b?J(b,a):+D(a.s)},0,1);M(\"position\",1,!0,!1,fun", |
| "ction(a){return a.ya},0);M(\"round\",1,!1,!1,function(a,b){return Math.", |
| "round(J(b,a))},1);M(\"starts-with\",2,!1,!1,function(a,b,c){b=K(b,a);a=", |
| "K(c,a);return 0==b.lastIndexOf(a,0)},2);M(\"string\",3,!1,!0,function(a", |
| ",b){return b?K(b,a):D(a.s)},0,1);M(\"string-length\",1,!1,!0,function(a", |
| ",b){return(b?K(b,a):D(a.s)).length},0,1);\nM(\"substring\",3,!1,!1,func", |
| "tion(a,b,c,d){c=J(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"", |
| "\";d=d?J(d,a):Infinity;if(isNaN(d)||-Infinity===d)return\"\";c=Math.rou", |
| "nd(c)-1;var e=Math.max(c,0);a=K(b,a);return Infinity==d?a.substring(e):", |
| "a.substring(e,c+Math.round(d))},2,3);M(\"substring-after\",3,!1,!1,func", |
| "tion(a,b,c){b=K(b,a);a=K(c,a);c=b.indexOf(a);return-1==c?\"\":b.substri", |
| "ng(c+a.length)},2);\nM(\"substring-before\",3,!1,!1,function(a,b,c){b=K", |
| "(b,a);a=K(c,a);a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)},2);M(", |
| "\"sum\",1,!1,!1,function(a,b){for(var c=b.evaluate(a).iterator(),d=0,e=", |
| "c.next();e;e=c.next())d+=+D(e);return d},1,1,!0);M(\"translate\",3,!1,!", |
| "1,function(a,b,c,d){b=K(b,a);c=K(c,a);var e=K(d,a);a={};for(d=0;d<c.len", |
| "gth;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<", |
| "b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return c},3);M(\"true\",2,!", |
| "1,!1,function(){return!0},0);function F(a,b){this.na=a;this.ha=k(b)?b:n", |
| "ull;this.B=null;switch(a){case \"comment\":this.B=8;break;case \"text\"", |
| ":this.B=3;break;case \"processing-instruction\":this.B=7;break;case \"n", |
| "ode\":break;default:throw Error(\"Unexpected argument\");}}function wb(", |
| "a){return\"comment\"==a||\"text\"==a||\"processing-instruction\"==a||\"", |
| "node\"==a}F.prototype.matches=function(a){return null===this.B||this.B=", |
| "=a.nodeType};F.prototype.getName=function(){return this.na};\nF.prototy", |
| "pe.toString=function(){var a=\"Kind Test: \"+this.na;null===this.ha||(a", |
| "+=I(this.ha));return a};function xb(a){H.call(this,3);this.ma=a.substri", |
| "ng(1,a.length-1)}p(xb,H);xb.prototype.evaluate=function(){return this.m", |
| "a};xb.prototype.toString=function(){return\"Literal: \"+this.ma};functi", |
| "on yb(a,b){this.m=a.toLowerCase();var c;c=\"*\"==this.m?\"*\":\"http://", |
| "www.w3.org/1999/xhtml\";this.P=b?b.toLowerCase():c}yb.prototype.matches", |
| "=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=k(a.localName)?a", |
| ".localName:a.nodeName;return\"*\"!=this.m&&this.m!=b.toLowerCase()?!1:", |
| "\"*\"==this.P?!0:this.P==(a.namespaceURI?a.namespaceURI.toLowerCase():", |
| "\"http://www.w3.org/1999/xhtml\")};yb.prototype.getName=function(){retu", |
| "rn this.m};\nyb.prototype.toString=function(){return\"Name Test: \"+(\"", |
| "http://www.w3.org/1999/xhtml\"==this.P?\"\":this.P+\":\")+this.m};funct", |
| "ion zb(a){H.call(this,1);this.oa=a}p(zb,H);zb.prototype.evaluate=functi", |
| "on(){return this.oa};zb.prototype.toString=function(){return\"Number: ", |
| "\"+this.oa};function Ab(a,b){H.call(this,a.i);this.da=a;this.L=b;this.A", |
| "=a.h();this.l=a.l;if(1==this.L.length){var c=this.L[0];c.U||c.C!=Bb||(c", |
| "=c.S,\"*\"!=c.getName()&&(this.K={name:c.getName(),I:null}))}}p(Ab,H);f", |
| "unction Cb(){H.call(this,4)}p(Cb,H);Cb.prototype.evaluate=function(a){v", |
| "ar b=new E;a=a.s;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b", |
| "};Cb.prototype.toString=function(){return\"Root Helper Expression\"};fu", |
| "nction Db(){H.call(this,4)}p(Db,H);\nDb.prototype.evaluate=function(a){", |
| "var b=new E;b.add(a.s);return b};Db.prototype.toString=function(){retur", |
| "n\"Context Helper Expression\"};function Eb(a){return\"/\"==a||\"//\"==", |
| "a}\nAb.prototype.evaluate=function(a){var b=this.da.evaluate(a);if(!(b ", |
| "instanceof E))throw Error(\"Filter expression must evaluate to nodeset.", |
| "\");a=this.L;for(var c=0,d=a.length;c<d&&b.v();c++){var e=a[c],f=b.iter", |
| "ator(e.C.H),h;if(e.h()||e.C!=Fb)if(e.h()||e.C!=Gb)for(h=f.next(),b=e.ev", |
| "aluate(new Va(h));null!=(h=f.next());)h=e.evaluate(new Va(h)),b=fb(b,h)", |
| ";else h=f.next(),b=e.evaluate(new Va(h));else{for(h=f.next();(b=f.next(", |
| "))&&(!h.contains||h.contains(b))&&b.compareDocumentPosition(h)&8;h=b);b", |
| "=e.evaluate(new Va(h))}}return b};\nAb.prototype.toString=function(){va", |
| "r a;a=\"Path Expression:\"+I(this.da);if(this.L.length){var b=r(this.L,", |
| "function(a,b){return a+I(b)},\"Steps:\");a+=I(b)}return a};function O(a", |
| ",b){this.f=a;this.H=!!b}function sb(a,b,c){for(c=c||0;c<a.f.length;c++)", |
| "for(var d=a.f[c],e=b.iterator(),f=b.v(),h,l=0;h=e.next();l++){var y=a.H", |
| "?f-l:l+1;h=d.evaluate(new Va(h,y,f));if(\"number\"==typeof h)y=y==h;els", |
| "e if(\"string\"==typeof h||\"boolean\"==typeof h)y=!!h;else if(h instan", |
| "ceof E)y=0<h.v();else throw Error(\"Predicate.evaluate returned an unex", |
| "pected type.\");y||e.remove()}return b}O.prototype.D=function(){return ", |
| "0<this.f.length?this.f[0].D():null};\nO.prototype.h=function(){for(var ", |
| "a=0;a<this.f.length;a++){var b=this.f[a];if(b.h()||1==b.i||0==b.i)retur", |
| "n!0}return!1};O.prototype.v=function(){return this.f.length};O.prototyp", |
| "e.toString=function(){return r(this.f,function(a,b){return a+I(b)},\"Pr", |
| "edicates:\")};function P(a,b,c,d){H.call(this,4);this.C=a;this.S=b;this", |
| ".f=c||new O([]);this.U=!!d;b=this.f.D();a.Ba&&b&&(this.K={name:b.name,I", |
| ":b.I});this.A=this.f.h()}p(P,H);\nP.prototype.evaluate=function(a){var ", |
| "b=a.s,c=this.D(),d=null,e=null,f=0;c&&(d=c.name,e=c.I?K(c.I,a):null,f=1", |
| ");if(this.U)if(this.h()||this.C!=Hb)if(b=(new P(Ib,new F(\"node\"))).ev", |
| "aluate(a).iterator(),c=b.next())for(a=this.u(c,d,e,f);null!=(c=b.next()", |
| ");)a=fb(a,this.u(c,d,e,f));else a=new E;else a=ab(this.S,b,d,e),a=sb(th", |
| "is.f,a,f);else a=this.u(a.s,d,e,f);return a};P.prototype.u=function(a,b", |
| ",c,d){a=this.C.N(this.S,a,b,c);return a=sb(this.f,a,d)};\nP.prototype.t", |
| "oString=function(){var a;a=\"Step:\"+I(\"Operator: \"+(this.U?\"//\":\"", |
| "/\"));this.C.m&&(a+=I(\"Axis: \"+this.C));a+=I(this.S);if(this.f.v()){v", |
| "ar b=r(this.f.f,function(a,b){return a+I(b)},\"Predicates:\");a+=I(b)}r", |
| "eturn a};function Jb(a,b,c,d){this.m=a;this.N=b;this.H=c;this.Ba=d}Jb.p", |
| "rototype.toString=function(){return this.m};var Kb={};function Q(a,b,c,", |
| "d){if(Kb.hasOwnProperty(a))throw Error(\"Axis already created: \"+a);b=", |
| "new Jb(a,b,c,!!d);return Kb[a]=b}\nQ(\"ancestor\",function(a,b){for(var", |
| " c=new E,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);return c},!0);Q", |
| "(\"ancestor-or-self\",function(a,b){var c=new E,d=b;do a.matches(d)&&c.", |
| "unshift(d);while(d=d.parentNode);return c},!0);\nvar Bb=Q(\"attribute\"", |
| ",function(a,b){var c=new E,d=a.getName(),e=b.attributes;if(e)if(a insta", |
| "nceof F&&null===a.B||\"*\"==d)for(var d=0,f;f=e[d];d++)c.add(f);else(f=", |
| "e.getNamedItem(d))&&c.add(f);return c},!1),Hb=Q(\"child\",function(a,b,", |
| "c,d,e){return db.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new E)},!1,!0", |
| ");Q(\"descendant\",ab,!1,!0);\nvar Ib=Q(\"descendant-or-self\",function", |
| "(a,b,c,d){var e=new E;$a(b,c,d)&&a.matches(b)&&e.add(b);return ab(a,b,c", |
| ",d,e)},!1,!0),Fb=Q(\"following\",function(a,b,c,d){var e=new E;do for(v", |
| "ar f=b;f=f.nextSibling;)$a(f,c,d)&&a.matches(f)&&e.add(f),e=ab(a,f,c,d,", |
| "e);while(b=b.parentNode);return e},!1,!0);Q(\"following-sibling\",funct", |
| "ion(a,b){for(var c=new E,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d);re", |
| "turn c},!1);Q(\"namespace\",function(){return new E},!1);\nvar Lb=Q(\"p", |
| "arent\",function(a,b){var c=new E;if(9==b.nodeType)return c;if(2==b.nod", |
| "eType)return c.add(b.ownerElement),c;var d=b.parentNode;a.matches(d)&&c", |
| ".add(d);return c},!1),Gb=Q(\"preceding\",function(a,b,c,d){var e=new E,", |
| "f=[];do f.unshift(b);while(b=b.parentNode);for(var h=1,l=f.length;h<l;h", |
| "++){var y=[];for(b=f[h];b=b.previousSibling;)y.unshift(b);for(var G=0,t", |
| "=y.length;G<t;G++)b=y[G],$a(b,c,d)&&a.matches(b)&&e.add(b),e=ab(a,b,c,d", |
| ",e)}return e},!0,!0);\nQ(\"preceding-sibling\",function(a,b){for(var c=", |
| "new E,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);return c},!0)", |
| ";var Mb=Q(\"self\",function(a,b){var c=new E;a.matches(b)&&c.add(b);ret", |
| "urn c},!1);function Nb(a){H.call(this,1);this.ca=a;this.A=a.h();this.l=", |
| "a.l}p(Nb,H);Nb.prototype.evaluate=function(a){return-J(this.ca,a)};Nb.p", |
| "rototype.toString=function(){return\"Unary Expression: -\"+I(this.ca)};", |
| "function Ob(a){H.call(this,4);this.R=a;jb(this,u(this.R,function(a){ret", |
| "urn a.h()}));kb(this,u(this.R,function(a){return a.l}))}p(Ob,H);Ob.prot", |
| "otype.evaluate=function(a){var b=new E;q(this.R,function(c){c=c.evaluat", |
| "e(a);if(!(c instanceof E))throw Error(\"Path expression must evaluate t", |
| "o NodeSet.\");b=fb(b,c)});return b};Ob.prototype.toString=function(){re", |
| "turn r(this.R,function(a,b){return a+I(b)},\"Union Expression:\")};func", |
| "tion Pb(a,b){this.a=a;this.wa=b}function Qb(a){for(var b,c=[];;){R(a,\"", |
| "Missing right hand side of binary expression.\");b=Rb(a);var d=a.a.next", |
| "();if(!d)break;var e=(d=qb[d]||null)&&d.ja;if(!e){a.a.back();break}for(", |
| ";c.length&&e<=c[c.length-1].ja;)b=new mb(c.pop(),c.pop(),b);c.push(b,d)", |
| "}for(;c.length;)b=new mb(c.pop(),c.pop(),b);return b}function R(a,b){if", |
| "(a.a.empty())throw Error(b);}function Sb(a,b){var c=a.a.next();if(c!=b)", |
| "throw Error(\"Bad token, expected: \"+b+\" got: \"+c);}\nfunction Tb(a)", |
| "{a=a.a.next();if(\")\"!=a)throw Error(\"Bad token: \"+a);}function Ub(a", |
| "){a=a.a.next();if(2>a.length)throw Error(\"Unclosed literal string\");r", |
| "eturn new xb(a)}\nfunction Vb(a){var b,c=[],d;if(Eb(C(a.a))){b=a.a.next", |
| "();d=C(a.a);if(\"/\"==b&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&", |
| "\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new Cb;d=new Cb;R(a,\"Missi", |
| "ng next location step.\");b=Wb(a,b);c.push(b)}else{a:{b=C(a.a);d=b.char", |
| "At(0);switch(d){case \"$\":throw Error(\"Variable reference not allowed", |
| " in HTML XPath\");case \"(\":a.a.next();b=Qb(a);R(a,'unclosed \"(\"');S", |
| "b(a,\")\");break;case '\"':case \"'\":b=Ub(a);break;default:if(isNaN(+b", |
| "))if(!wb(b)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==C(a.a,\n1)){b=a.a.next();", |
| "b=vb[b]||null;a.a.next();for(d=[];\")\"!=C(a.a);){R(a,\"Missing functio", |
| "n argument list.\");d.push(Qb(a));if(\",\"!=C(a.a))break;a.a.next()}R(a", |
| ",\"Unclosed function argument list.\");Tb(a);b=new tb(b,d)}else{b=null;", |
| "break a}else b=new zb(+a.a.next())}\"[\"==C(a.a)&&(d=new O(Xb(a)),b=new", |
| " rb(b,d))}if(b)if(Eb(C(a.a)))d=b;else return b;else b=Wb(a,\"/\"),d=new", |
| " Db,c.push(b)}for(;Eb(C(a.a));)b=a.a.next(),R(a,\"Missing next location", |
| " step.\"),b=Wb(a,b),c.push(b);return new Ab(d,c)}\nfunction Wb(a,b){var", |
| " c,d,e;if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or ", |
| "\"//\"');if(\".\"==C(a.a))return d=new P(Mb,new F(\"node\")),a.a.next()", |
| ",d;if(\"..\"==C(a.a))return d=new P(Lb,new F(\"node\")),a.a.next(),d;va", |
| "r f;if(\"@\"==C(a.a))f=Bb,a.a.next(),R(a,\"Missing attribute name\");el", |
| "se if(\"::\"==C(a.a,1)){if(!/(?![0-9])[\\w]/.test(C(a.a).charAt(0)))thr", |
| "ow Error(\"Bad token: \"+a.a.next());c=a.a.next();f=Kb[c]||null;if(!f)t", |
| "hrow Error(\"No axis with name: \"+c);a.a.next();R(a,\"Missing node nam", |
| "e\")}else f=Hb;\nc=C(a.a);if(/(?![0-9])[\\w\\*]/.test(c.charAt(0)))if(", |
| "\"(\"==C(a.a,1)){if(!wb(c))throw Error(\"Invalid node type: \"+c);c=a.a", |
| ".next();if(!wb(c))throw Error(\"Invalid type name: \"+c);Sb(a,\"(\");R(", |
| "a,\"Bad nodetype\");e=C(a.a).charAt(0);var h=null;if('\"'==e||\"'\"==e)", |
| "h=Ub(a);R(a,\"Bad nodetype\");Tb(a);c=new F(c,h)}else if(c=a.a.next(),e", |
| "=c.indexOf(\":\"),-1==e)c=new yb(c);else{var h=c.substring(0,e),l;if(\"", |
| "*\"==h)l=\"*\";else if(l=a.wa(h),!l)throw Error(\"Namespace prefix not ", |
| "declared: \"+h);c=c.substr(e+1);c=new yb(c,l)}else throw Error(\"Bad to", |
| "ken: \"+\na.a.next());e=new O(Xb(a),f.H);return d||new P(f,c,e,\"//\"==", |
| "b)}function Xb(a){for(var b=[];\"[\"==C(a.a);){a.a.next();R(a,\"Missing", |
| " predicate expression.\");var c=Qb(a);b.push(c);R(a,\"Unclosed predicat", |
| "e expression.\");Sb(a,\"]\")}return b}function Rb(a){if(\"-\"==C(a.a))r", |
| "eturn a.a.next(),new Nb(Rb(a));var b=Vb(a);if(\"|\"!=C(a.a))a=b;else{fo", |
| "r(b=[b];\"|\"==a.a.next();)R(a,\"Missing next union location path.\"),b", |
| ".push(Vb(a));a.a.back();a=new Ob(b)}return a};function Yb(a){switch(a.n", |
| "odeType){case 1:return ma(Zb,a);case 9:return Yb(a.documentElement);cas", |
| "e 11:case 10:case 6:case 12:return $b;default:return a.parentNode?Yb(a.", |
| "parentNode):$b}}function $b(){return null}function Zb(a,b){if(a.prefix=", |
| "=b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getA", |
| "ttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parent", |
| "Node&&9!=a.parentNode.nodeType?Zb(a.parentNode,b):null};function ac(a,b", |
| "){if(!a.length)throw Error(\"Empty XPath expression.\");var c=Xa(a);if(", |
| "c.empty())throw Error(\"Invalid XPath expression.\");b?ha(b)||(b=la(b.l", |
| "ookupNamespaceURI,b)):b=function(){return null};var d=Qb(new Pb(c,b));i", |
| "f(!c.empty())throw Error(\"Bad token: \"+c.next());this.evaluate=functi", |
| "on(a,b){var c=d.evaluate(new Va(a));return new T(c,b)}}\nfunction T(a,b", |
| "){if(0==b)if(a instanceof E)b=4;else if(\"string\"==typeof a)b=2;else i", |
| "f(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else throw", |
| " Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a inst", |
| "anceof E))throw Error(\"value could not be converted to the specified t", |
| "ype\");this.resultType=b;var c;switch(b){case 2:this.stringValue=a inst", |
| "anceof E?hb(a):\"\"+a;break;case 1:this.numberValue=a instanceof E?+hb(", |
| "a):+a;break;case 3:this.booleanValue=a instanceof E?0<a.v():!!a;break;c", |
| "ase 4:case 5:case 6:case 7:var d=\na.iterator();c=[];for(var e=d.next()", |
| ";e;e=d.next())c.push(e);this.snapshotLength=a.v();this.invalidIteratorS", |
| "tate=!1;break;case 8:case 9:this.singleNodeValue=gb(a);break;default:th", |
| "row Error(\"Unknown XPathResult type.\");}var f=0;this.iterateNext=func", |
| "tion(){if(4!=b&&5!=b)throw Error(\"iterateNext called with wrong result", |
| " type\");return f>=c.length?null:c[f++]};this.snapshotItem=function(a){", |
| "if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong result type", |
| "\");return a>=c.length||0>a?null:c[a]}}\nT.ANY_TYPE=0;T.NUMBER_TYPE=1;T", |
| ".STRING_TYPE=2;T.BOOLEAN_TYPE=3;T.UNORDERED_NODE_ITERATOR_TYPE=4;T.ORDE", |
| "RED_NODE_ITERATOR_TYPE=5;T.UNORDERED_NODE_SNAPSHOT_TYPE=6;T.ORDERED_NOD", |
| "E_SNAPSHOT_TYPE=7;T.ANY_UNORDERED_NODE_TYPE=8;T.FIRST_ORDERED_NODE_TYPE", |
| "=9;function bc(a){this.lookupNamespaceURI=Yb(a)}\nea(\"wgxpath.install", |
| "\",function(a,b){var c=a||da,d=c.Document&&c.Document.prototype||c.docu", |
| "ment;if(!d.evaluate||b)c.XPathResult=T,d.evaluate=function(a,b,c,d){ret", |
| "urn(new ac(a,c)).evaluate(b,d)},d.createExpression=function(a,b){return", |
| " new ac(a,b)},d.createNSResolver=function(a){return new bc(a)}});var U=", |
| "{};U.$=function(){var a={Fa:\"http://www.w3.org/2000/svg\"};return func", |
| "tion(b){return a[b]||null}}();\nU.u=function(a,b,c){var d=A(a);if(!d.do", |
| "cumentElement)return null;try{for(var e=d.createNSResolver?d.createNSRe", |
| "solver(d.documentElement):U.$,f={},h=d.getElementsByTagName(\"*\"),l=0;", |
| "l<h.length;++l){var y=h[l],G=y.namespaceURI;if(G&&!f[G]){var t=y.lookup", |
| "Prefix(G);if(!t)var z=G.match(\".*/(\\\\w+)/?$\"),t=z?z[1]:\"xhtml\";f[", |
| "G]=t}}var N={},S;for(S in f)N[f[S]]=S;e=function(a){return N[a]||null};", |
| "try{return d.evaluate(b,a,e,c,null)}catch(Ea){if(\"TypeError\"===Ea.nam", |
| "e)return e=d.createNSResolver?d.createNSResolver(d.documentElement):\nU", |
| ".$,d.evaluate(b,a,e,c,null);throw Ea;}}catch(Ea){throw new v(32,\"Unabl", |
| "e to locate an element with the xpath expression \"+b+\" because of the", |
| " following error:\\n\"+Ea);}};U.aa=function(a,b){if(!a||1!=a.nodeType)t", |
| "hrow new v(32,'The result of the xpath expression \"'+b+'\" is: '+a+\".", |
| " It should be an element.\");};\nU.Aa=function(a,b){var c=function(){va", |
| "r c=U.u(b,a,9);return c?c.singleNodeValue||null:b.selectSingleNode?(c=A", |
| "(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XPath\"),b.sel", |
| "ectSingleNode(a)):null}();null===c||U.aa(c,a);return c};\nU.Da=function", |
| "(a,b){var c=function(){var c=U.u(b,a,7);if(c){for(var e=c.snapshotLengt", |
| "h,f=[],h=0;h<e;++h)f.push(c.snapshotItem(h));return f}return b.selectNo", |
| "des?(c=A(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XPath", |
| "\"),b.selectNodes(a)):[]}();q(c,function(b){U.aa(b,a)});return c};funct", |
| "ion cc(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}g=cc.", |
| "prototype;g.clone=function(){return new cc(this.top,this.right,this.bot", |
| "tom,this.left)};g.toString=function(){return\"(\"+this.top+\"t, \"+this", |
| ".right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};g.contains=functio", |
| "n(a){return this&&a?a instanceof cc?a.left>=this.left&&a.right<=this.ri", |
| "ght&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.r", |
| "ight&&a.y>=this.top&&a.y<=this.bottom:!1};\ng.expand=function(a,b,c,d){", |
| "ia(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.l", |
| "eft-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),", |
| "this.left-=Number(d));return this};g.ceil=function(){this.top=Math.ceil", |
| "(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.", |
| "bottom);this.left=Math.ceil(this.left);return this};\ng.floor=function(", |
| "){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.", |
| "bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return t", |
| "his};g.round=function(){this.top=Math.round(this.top);this.right=Math.r", |
| "ound(this.right);this.bottom=Math.round(this.bottom);this.left=Math.rou", |
| "nd(this.left);return this};g.translate=function(a,b){a instanceof x?(th", |
| "is.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left", |
| "+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+=b));return this};\ng.", |
| "scale=function(a,b){var c=n(b)?b:a;this.left*=a;this.right*=a;this.top*", |
| "=c;this.bottom*=c;return this};function V(a,b,c,d){this.left=a;this.top", |
| "=b;this.width=c;this.height=d}g=V.prototype;g.clone=function(){return n", |
| "ew V(this.left,this.top,this.width,this.height)};g.toString=function(){", |
| "return\"(\"+this.left+\", \"+this.top+\" - \"+this.width+\"w x \"+this.", |
| "height+\"h)\"};g.contains=function(a){return a instanceof V?this.left<=", |
| "a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top", |
| "+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&", |
| "&a.y>=this.top&&a.y<=this.top+this.height};\ng.ceil=function(){this.lef", |
| "t=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.cei", |
| "l(this.width);this.height=Math.ceil(this.height);return this};g.floor=f", |
| "unction(){this.left=Math.floor(this.left);this.top=Math.floor(this.top)", |
| ";this.width=Math.floor(this.width);this.height=Math.floor(this.height);", |
| "return this};g.round=function(){this.left=Math.round(this.left);this.to", |
| "p=Math.round(this.top);this.width=Math.round(this.width);this.height=Ma", |
| "th.round(this.height);return this};\ng.translate=function(a,b){a instan", |
| "ceof x?(this.left+=a.x,this.top+=a.y):(this.left+=a,n(b)&&(this.top+=b)", |
| ");return this};g.scale=function(a,b){var c=n(b)?b:a;this.left*=a;this.w", |
| "idth*=a;this.top*=c;this.height*=c;return this};var dc=\"A AREA BUTTON ", |
| "INPUT LABEL SELECT TEXTAREA\".split(\" \");function ec(a){return u(dc,f", |
| "unction(b){return a.tagName.toUpperCase()==b})||null!=Sa(a)&&0<=Number(", |
| "a.tabIndex)||(fc(a)||(B(a,\"INPUT\")?\"file\"==a.type.toLowerCase():!1)", |
| ")&&!a.readOnly}var gc=\"BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA\".", |
| "split(\" \");\nfunction hc(a){var b=a.tagName.toUpperCase();return 0<=p", |
| "a(gc,b)?a.disabled?!1:a.parentNode&&1==a.parentNode.nodeType&&\"OPTGROU", |
| "P\"==b||\"OPTION\"==b?hc(a.parentNode):!Pa(a,function(a){var b=a.parent", |
| "Node;if(b&&B(b,\"FIELDSET\")&&b.disabled){if(!B(a,\"LEGEND\"))return!0;", |
| "for(;a=k(a.previousElementSibling)?a.previousElementSibling:Ka(a.previo", |
| "usSibling);)if(B(a,\"LEGEND\"))return!0}return!1},!0):!0}var ic=\"text ", |
| "search tel url email password number\".split(\" \");\nfunction fc(a){re", |
| "turn B(a,\"TEXTAREA\")?!0:B(a,\"INPUT\")?0<=pa(ic,a.type.toLowerCase())", |
| ":jc(a)?!0:!1}function jc(a){function b(a){return\"inherit\"==a.contentE", |
| "ditable?(a=kc(a))?b(a):!1:\"true\"==a.contentEditable}return k(a.conten", |
| "tEditable)?k(a.isContentEditable)?a.isContentEditable:b(a):!1}function ", |
| "kc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeTyp", |
| "e;)a=a.parentNode;return B(a)?a:null}\nfunction W(a,b){var c=oa(b);if(", |
| "\"float\"==c||\"cssFloat\"==c||\"styleFloat\"==c)c=\"cssFloat\";var d;a", |
| ":{d=c;var e=A(a);if(e.defaultView&&e.defaultView.getComputedStyle&&(e=e", |
| ".defaultView.getComputedStyle(a,null))){d=e[d]||e.getPropertyValue(d)||", |
| "\"\";break a}d=\"\"}d=d||lc(a,c);if(null===d)d=null;else if(0<=pa(va,c)", |
| "){b:{var f=d.match(ya);if(f){var c=Number(f[1]),e=Number(f[2]),h=Number", |
| "(f[3]),f=Number(f[4]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=h&&255>=h&&0<=f", |
| "&&1>=f){c=[c,e,h,f];break b}}c=null}if(!c)b:{if(h=d.match(za))if(c=\nNu", |
| "mber(h[1]),e=Number(h[2]),h=Number(h[3]),0<=c&&255>=c&&0<=e&&255>=e&&0<", |
| "=h&&255>=h){c=[c,e,h,1];break b}c=null}if(!c)b:{c=d.toLowerCase();e=ua[", |
| "c.toLowerCase()];if(!e&&(e=\"#\"==c.charAt(0)?c:\"#\"+c,4==e.length&&(e", |
| "=e.replace(wa,\"#$1$1$2$2$3$3\")),!xa.test(e))){c=null;break b}c=[parse", |
| "Int(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2)", |
| ",16),1]}d=c?\"rgba(\"+c.join(\", \")+\")\":d}return d}\nfunction lc(a,b", |
| "){var c=a.currentStyle||a.style,d=c[b];!k(d)&&ha(c.getPropertyValue)&&(", |
| "d=c.getPropertyValue(b));return\"inherit\"!=d?k(d)?d:null:(c=kc(a))?lc(", |
| "c,b):null}\nfunction mc(a,b,c){function d(a){var b=nc(a);return 0<b.hei", |
| "ght&&0<b.width?!0:B(a,\"PATH\")&&(0<b.height||0<b.width)?(a=W(a,\"strok", |
| "e-width\"),!!a&&0<parseInt(a,10)):\"hidden\"!=W(a,\"overflow\")&&u(a.ch", |
| "ildNodes,function(a){return 3==a.nodeType||B(a)&&d(a)})}function e(a){r", |
| "eturn oc(a)==X&&qa(a.childNodes,function(a){return!B(a)||e(a)||!d(a)})}", |
| "if(!B(a))throw Error(\"Argument to isShown must be of type Element\");i", |
| "f(B(a,\"BODY\"))return!0;if(B(a,\"OPTION\")||B(a,\"OPTGROUP\"))return a", |
| "=Pa(a,function(a){return B(a,\"SELECT\")}),\n!!a&&mc(a,!0,c);var f=pc(a", |
| ");if(f)return!!f.ea&&0<f.rect.width&&0<f.rect.height&&mc(f.ea,b,c);if(B", |
| "(a,\"INPUT\")&&\"hidden\"==a.type.toLowerCase()||B(a,\"NOSCRIPT\"))retu", |
| "rn!1;f=W(a,\"visibility\");return\"collapse\"!=f&&\"hidden\"!=f&&c(a)&&", |
| "(b||0!=qc(a))&&d(a)?!e(a):!1}function rc(a){function b(a){if(\"none\"==", |
| "W(a,\"display\"))return!1;a=kc(a);return!a||b(a)}return mc(a,!0,b)}var ", |
| "X=\"hidden\";\nfunction oc(a){function b(a){function b(a){return a==h?!", |
| "0:0==W(a,\"display\").lastIndexOf(\"inline\",0)||\"absolute\"==c&&\"sta", |
| "tic\"==W(a,\"position\")?!1:!0}var c=W(a,\"position\");if(\"fixed\"==c)", |
| "return G=!0,a==h?null:h;for(a=kc(a);a&&!b(a);)a=kc(a);return a}function", |
| " c(a){var b=a;if(\"visible\"==y)if(a==h&&l)b=l;else if(a==l)return{x:\"", |
| "visible\",y:\"visible\"};b={x:W(b,\"overflow-x\"),y:W(b,\"overflow-y\")", |
| "};a==h&&(b.x=\"visible\"==b.x?\"auto\":b.x,b.y=\"visible\"==b.y?\"auto", |
| "\":b.y);return b}function d(a){if(a==h){var b=(new Ra(f)).V;\na=b.scrol", |
| "lingElement?b.scrollingElement:b.body||b.documentElement;b=b.parentWind", |
| "ow||b.defaultView;a=new x(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.", |
| "scrollTop)}else a=new x(a.scrollLeft,a.scrollTop);return a}var e=sc(a),", |
| "f=A(a),h=f.documentElement,l=f.body,y=W(h,\"overflow\"),G;for(a=b(a);a;", |
| "a=b(a)){var t=c(a);if(\"visible\"!=t.x||\"visible\"!=t.y){var z=nc(a);i", |
| "f(0==z.width||0==z.height)return X;var N=e.right<z.left,S=e.bottom<z.to", |
| "p;if(N&&\"hidden\"==t.x||S&&\"hidden\"==t.y)return X;if(N&&\"visible\"!", |
| "=t.x||S&&\n\"visible\"!=t.y){N=d(a);S=e.bottom<z.top-N.y;if(e.right<z.l", |
| "eft-N.x&&\"visible\"!=t.x||S&&\"visible\"!=t.x)return X;e=oc(a);return ", |
| "e==X?X:\"scroll\"}N=e.left>=z.left+z.width;z=e.top>=z.top+z.height;if(N", |
| "&&\"hidden\"==t.x||z&&\"hidden\"==t.y)return X;if(N&&\"visible\"!=t.x||", |
| "z&&\"visible\"!=t.y){if(G&&(t=d(a),e.left>=h.scrollWidth-t.x||e.right>=", |
| "h.scrollHeight-t.y))return X;e=oc(a);return e==X?X:\"scroll\"}}}return", |
| "\"none\"}\nfunction nc(a){var b=pc(a);if(b)return b.rect;if(B(a,\"HTML", |
| "\"))return a=A(a),a=((a?a.parentWindow||a.defaultView:window)||window).", |
| "document,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new ", |
| "Ha(a.clientWidth,a.clientHeight),new V(0,0,a.width,a.height);var c;try{", |
| "c=a.getBoundingClientRect()}catch(d){return new V(0,0,0,0)}return new V", |
| "(c.left,c.top,c.right-c.left,c.bottom-c.top)}\nfunction pc(a){var b=B(a", |
| ",\"MAP\");if(!b&&!B(a,\"AREA\"))return null;var c=b?a:B(a.parentNode,\"", |
| "MAP\")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=U.Aa('/descendant:", |
| ":*[@usemap = \"#'+c.name+'\"]',A(c)))&&(e=nc(d),b||\"default\"==a.shape", |
| ".toLowerCase()||(a=tc(a),b=Math.min(Math.max(a.left,0),e.width),c=Math.", |
| "min(Math.max(a.top,0),e.height),e=new V(b+e.left,c+e.top,Math.min(a.wid", |
| "th,e.width-b),Math.min(a.height,e.height-c))));return{ea:d,rect:e||new ", |
| "V(0,0,0,0)}}\nfunction tc(a){var b=a.shape.toLowerCase();a=a.coords.spl", |
| "it(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return new V(b", |
| ",c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new V(a[0", |
| "]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[0],c=a[1],d", |
| "=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Ma", |
| "th.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new V(b,c,d-b,e-c)}return ", |
| "new V(0,0,0,0)}function sc(a){a=nc(a);return new cc(a.top,a.left+a.widt", |
| "h,a.top+a.height,a.left)}\nfunction qc(a){var b=1,c=W(a,\"opacity\");c&", |
| "&(b=Number(c));(a=kc(a))&&(b*=qc(a));return b};function uc(){this.M=na.", |
| "document.documentElement;this.za=null;var a=Qa(A(this.M));a&&vc(this,a)", |
| "}function vc(a,b){a.M=b;a.za=B(b,\"OPTION\")?Pa(b,function(a){return B(", |
| "a,\"SELECT\")}):null}function wc(a){var b=Pa(a.M,function(a){return!!a&", |
| "&B(a)&&ec(a)},!0),b=b||a.M;a=Qa(A(b));if(b==a)return;if(a&&ha(a.blur)&&", |
| "!B(a,\"BODY\"))try{a.blur()}catch(c){throw c;}ha(b.focus)&&b.focus()};f", |
| "unction xc(a,b,c){this.B=a;this.pa=b;this.qa=c}xc.prototype.create=func", |
| "tion(a){a=A(a).createEvent(\"HTMLEvents\");a.initEvent(this.B,this.pa,t", |
| "his.qa);return a};xc.prototype.toString=function(){return this.B};var y", |
| "c=new xc(\"change\",!0,!1);function zc(a,b){this.w={};this.g=[];this.G=", |
| "0;var c=arguments.length;if(1<c){if(c%2)throw Error(\"Uneven number of ", |
| "arguments\");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])", |
| "}else a&&this.addAll(a)}function Ac(a){Bc(a);return a.g.concat()}g=zc.p", |
| "rototype;g.clear=function(){this.w={};this.G=this.g.length=0};g.remove=", |
| "function(a){return Object.prototype.hasOwnProperty.call(this.w,a)?(dele", |
| "te this.w[a],this.G--,this.g.length>2*this.G&&Bc(this),!0):!1};\nfuncti", |
| "on Bc(a){if(a.G!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b", |
| "];Object.prototype.hasOwnProperty.call(a.w,d)&&(a.g[c++]=d);b++}a.g.len", |
| "gth=c}if(a.G!=a.g.length){for(var e={},c=b=0;b<a.g.length;)d=a.g[b],Obj", |
| "ect.prototype.hasOwnProperty.call(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.len", |
| "gth=c}}g.get=function(a,b){return Object.prototype.hasOwnProperty.call(", |
| "this.w,a)?this.w[a]:b};g.set=function(a,b){Object.prototype.hasOwnPrope", |
| "rty.call(this.w,a)||(this.G++,this.g.push(a));this.w[a]=b};\ng.addAll=f", |
| "unction(a){var b;if(a instanceof zc){b=Ac(a);Bc(a);for(var c=[],d=0;d<a", |
| ".g.length;d++)c.push(a.w[a.g[d]]);a=c}else{b=[];var d=0,e;for(e in a)b[", |
| "d++]=e;d=[];e=0;for(c in a)d[e++]=a[c];a=d}for(c=0;c<b.length;c++)this.", |
| "set(b[c],a[c])};g.forEach=function(a,b){for(var c=Ac(this),d=0;d<c.leng", |
| "th;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(", |
| "){return new zc(this)};var Cc={};function Y(a,b,c){ia(a)&&(a=a.b);a=new", |
| " Dc(a);!b||b in Cc&&!c||(Cc[b]={key:a,shift:!1},c&&(Cc[c]={key:a,shift:", |
| "!0}));return a}function Dc(a){this.code=a}Y(8);Y(9);Y(13);var Ec=Y(16),", |
| "Fc=Y(17),Gc=Y(18);Y(19);Y(20);Y(27);Y(32,\" \");Y(33);Y(34);Y(35);Y(36)", |
| ";Y(37);Y(38);Y(39);Y(40);Y(44);Y(45);Y(46);Y(48,\"0\",\")\");Y(49,\"1\"", |
| ",\"!\");Y(50,\"2\",\"@\");Y(51,\"3\",\"#\");Y(52,\"4\",\"$\");Y(53,\"5", |
| "\",\"%\");Y(54,\"6\",\"^\");Y(55,\"7\",\"&\");Y(56,\"8\",\"*\");Y(57,\"", |
| "9\",\"(\");Y(65,\"a\",\"A\");Y(66,\"b\",\"B\");Y(67,\"c\",\"C\");Y(68,", |
| "\"d\",\"D\");\nY(69,\"e\",\"E\");Y(70,\"f\",\"F\");Y(71,\"g\",\"G\");Y(", |
| "72,\"h\",\"H\");Y(73,\"i\",\"I\");Y(74,\"j\",\"J\");Y(75,\"k\",\"K\");Y", |
| "(76,\"l\",\"L\");Y(77,\"m\",\"M\");Y(78,\"n\",\"N\");Y(79,\"o\",\"O\");", |
| "Y(80,\"p\",\"P\");Y(81,\"q\",\"Q\");Y(82,\"r\",\"R\");Y(83,\"s\",\"S\")", |
| ";Y(84,\"t\",\"T\");Y(85,\"u\",\"U\");Y(86,\"v\",\"V\");Y(87,\"w\",\"W\"", |
| ");Y(88,\"x\",\"X\");Y(89,\"y\",\"Y\");Y(90,\"z\",\"Z\");var Hc=Y(Ga?{c:", |
| "91,b:91}:Fa?{c:224,b:91}:{c:0,b:91});Y(Ga?{c:92,b:92}:Fa?{c:224,b:93}:{", |
| "c:0,b:92});Y(Ga?{c:93,b:93}:Fa?{c:0,b:0}:{c:93,b:null});Y({c:96,b:96},", |
| "\"0\");Y({c:97,b:97},\"1\");\nY({c:98,b:98},\"2\");Y({c:99,b:99},\"3\")", |
| ";Y({c:100,b:100},\"4\");Y({c:101,b:101},\"5\");Y({c:102,b:102},\"6\");Y", |
| "({c:103,b:103},\"7\");Y({c:104,b:104},\"8\");Y({c:105,b:105},\"9\");Y({", |
| "c:106,b:106},\"*\");Y({c:107,b:107},\"+\");Y({c:109,b:109},\"-\");Y({c:", |
| "110,b:110},\".\");Y({c:111,b:111},\"/\");Y(144);Y(112);Y(113);Y(114);Y(", |
| "115);Y(116);Y(117);Y(118);Y(119);Y(120);Y(121);Y(122);Y(123);Y({c:107,b", |
| ":187},\"=\",\"+\");Y(108,\",\");Y({c:109,b:189},\"-\",\"_\");Y(188,\",", |
| "\",\"<\");Y(190,\".\",\">\");Y(191,\"/\",\"?\");Y(192,\"`\",\"~\");Y(21", |
| "9,\"[\",\"{\");\nY(220,\"\\\\\",\"|\");Y(221,\"]\",\"}\");Y({c:59,b:186", |
| "},\";\",\":\");Y(222,\"'\",'\"');var Ic=new zc;Ic.set(1,Ec);Ic.set(2,Fc", |
| ");Ic.set(4,Gc);Ic.set(8,Hc);(function(a){var b=new zc;q(Ac(a),function(", |
| "c){b.set(a.get(c).code,c)});return b})(Ic);function Z(){uc.call(this)}p", |
| "(Z,uc);Z.ra=function(){return Z.fa?Z.fa:Z.fa=new Z};ea(\"_\",function(a", |
| "){if(!rc(a)||!hc(a)||\"none\"==W(a,\"pointer-events\"))throw new v(12,", |
| "\"Element is not currently interactable and may not be manipulated\");i", |
| "f(!(fc(a)||B(a,\"INPUT\")&&\"file\"==a.type.toLowerCase())||a.readOnly)", |
| "throw new v(12,\"Element must be user-editable in order to clear it.\")", |
| ";var b=Z.ra();vc(b,a);wc(b);a.value?(a.value=\"\",b=yc.create(a,void 0)", |
| ",\"isTrusted\"in b||(b.isTrusted=!1),a.dispatchEvent(b)):B(a,\"INPUT\")", |
| "&&a.getAttribute(\"type\")&&\"number\"==a.getAttribute(\"type\").toLowe", |
| "rCase()&&(a.value=\n\"\");jc(a)&&(a.innerHTML=\" \")});; return this._.", |
| "apply(null,arguments);}.apply({navigator:typeof window!='undefined'?win", |
| "dow.navigator:null,document:typeof window!='undefined'?window.document:", |
| "null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const CLICK[] = { |
| "function(){return function(){var g,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e)", |
| ";f!=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "da=this;function l(a){return void 0!==a}\nfunction ea(a,b){var c=a.spli", |
| "t(\".\"),d=da;c[0]in d||!d.execScript||d.execScript(\"var \"+c[0]);for(", |
| "var e;c.length&&(e=c.shift());)!c.length&&l(b)?d[e]=b:d=d[e]?d[e]:d[e]=", |
| "{}}\nfunction fa(a){var b=typeof a;if(\"object\"==b)if(a){if(a instance", |
| "of Array)return\"array\";if(a instanceof Object)return b;var c=Object.p", |
| "rototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if", |
| "(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typ", |
| "eof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.property", |
| "IsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
| "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
| "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
| "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", |
| "object\";return b}function ga(a){var b=fa(a);return\"array\"==b||\"obje", |
| "ct\"==b&&\"number\"==typeof a.length}function m(a){return\"string\"==ty", |
| "peof a}function n(a){return\"number\"==typeof a}function ha(a){return\"", |
| "function\"==fa(a)}function ia(a){var b=typeof a;return\"object\"==b&&nu", |
| "ll!=a||\"function\"==b}function ja(a,b,c){return a.call.apply(a.bind,ar", |
| "guments)}\nfunction ka(a,b,c){if(!a)throw Error();if(2<arguments.length", |
| "){var d=Array.prototype.slice.call(arguments,2);return function(){var c", |
| "=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,", |
| "d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}", |
| "function la(a,b,c){la=Function.prototype.bind&&-1!=Function.prototype.b", |
| "ind.toString().indexOf(\"native code\")?ja:ka;return la.apply(null,argu", |
| "ments)}\nfunction ma(a,b){var c=Array.prototype.slice.call(arguments,1)", |
| ";return function(){var b=c.slice();b.push.apply(b,arguments);return a.a", |
| "pply(this,b)}}function q(a,b){function c(){}c.prototype=b.prototype;a.N", |
| "a=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.La=function", |
| "(a,c,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)", |
| "h[k-2]=arguments[k];return b.prototype[c].apply(a,h)}};var na=window;va", |
| "r oa=String.prototype.trim?function(a){return a.trim()}:function(a){ret", |
| "urn a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")};function qa(a,b){retu", |
| "rn a<b?-1:a>b?1:0}function ra(a){return String(a).replace(/\\-([a-z])/g", |
| ",function(a,c){return c.toUpperCase()})};function sa(a,b){if(m(a))retur", |
| "n m(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c i", |
| "n a&&a[c]===b)return c;return-1}function r(a,b){for(var c=a.length,d=m(", |
| "a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)}function", |
| " ta(a,b,c){var d=c;r(a,function(c,f){d=b.call(void 0,d,c,f,a)});return ", |
| "d}function ua(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e+", |
| "+)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1}\nfunction va(a,", |
| "b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.", |
| "call(void 0,d[e],e,a))return!1;return!0}function wa(a){return Array.pro", |
| "totype.concat.apply(Array.prototype,arguments)}function xa(a){var b=a.l", |
| "ength;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[", |
| "]}function ya(a,b,c){return 2>=arguments.length?Array.prototype.slice.c", |
| "all(a,b):Array.prototype.slice.call(a,b,c)};var za={aliceblue:\"#f0f8ff", |
| "\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azu", |
| "re:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",b", |
| "lanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown", |
| ":\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#", |
| "7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495", |
| "ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue", |
| ":\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"", |
| "#a9a9a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb", |
| "76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#", |
| "ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967", |
| "a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"", |
| "#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviole", |
| "t:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#6", |
| "96969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222", |
| "\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",", |
| "gainsboro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenr", |
| "od:\"#daa520\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f", |
| "\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:", |
| "\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lave", |
| "nder:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonc", |
| "hiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcy", |
| "an:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",l", |
| "ightgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",light", |
| "salmon:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\"", |
| ",lightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:", |
| "\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd3", |
| "2\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaqua", |
| "marine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",medi", |
| "umpurple:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68", |
| "ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvi", |
| "oletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mist", |
| "yrose:\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:", |
| "\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\"", |
| ",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegolden", |
| "rod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevio", |
| "letred:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"", |
| "#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purp", |
| "le:\"#800080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e", |
| "1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",s", |
| "eagreen:\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"", |
| "#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090", |
| "\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steel", |
| "blue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",t", |
| "omato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5d", |
| "eb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yello", |
| "wgreen:\"#9acd32\"};var Aa=\"backgroundColor borderTopColor borderRight", |
| "Color borderBottomColor borderLeftColor color outlineColor\".split(\" ", |
| "\"),Ba=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Ca=/^#(?:[0-9a-f]{3})", |
| "{1,2}$/i,Da=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?", |
| "(0|1|0\\.\\d*)\\)$/i,Ea=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{", |
| "0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function t(a,b){this.code=a;this.stat", |
| "e=w[a]||Fa;this.message=b||\"\";var c=this.state.replace(/((?:^|\\s+)[a", |
| "-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")", |
| "}),d=c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.nam", |
| "e=c;c=Error(this.message);c.name=this.name;this.stack=c.stack||\"\"}q(t", |
| ",Error);var Fa=\"unknown error\",w={15:\"element not selectable\",11:\"", |
| "element not visible\"};w[31]=Fa;w[30]=Fa;w[24]=\"invalid cookie domain", |
| "\";w[29]=\"invalid element coordinates\";w[12]=\"invalid element state", |
| "\";\nw[32]=\"invalid selector\";w[51]=\"invalid selector\";w[52]=\"inva", |
| "lid selector\";w[17]=\"javascript error\";w[405]=\"unsupported operatio", |
| "n\";w[34]=\"move target out of bounds\";w[27]=\"no such alert\";w[7]=\"", |
| "no such element\";w[8]=\"no such frame\";w[23]=\"no such window\";w[28]", |
| "=\"script timeout\";w[33]=\"session not created\";w[10]=\"stale element", |
| " reference\";w[21]=\"timeout\";w[25]=\"unable to set cookie\";w[26]=\"u", |
| "nexpected alert open\";w[13]=Fa;w[9]=\"unknown command\";t.prototype.to", |
| "String=function(){return this.name+\": \"+this.message};var Ga;a:{var H", |
| "a=da.navigator;if(Ha){var Ia=Ha.userAgent;if(Ia){Ga=Ia;break a}}Ga=\"\"", |
| "};var Ja=-1!=Ga.indexOf(\"Macintosh\"),Ka=-1!=Ga.indexOf(\"Windows\");v", |
| "ar La,Ma=/Chrome\\/([0-9.]+)/.exec(Ga);La=Ma?Ma[1]:\"\";var Na=10<=Numb", |
| "er(void 0);function z(a,b){this.x=l(a)?a:0;this.y=l(b)?b:0}g=z.prototyp", |
| "e;g.clone=function(){return new z(this.x,this.y)};g.toString=function()", |
| "{return\"(\"+this.x+\", \"+this.y+\")\"};g.ceil=function(){this.x=Math.", |
| "ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){t", |
| "his.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};g.round", |
| "=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return ", |
| "this};\ng.translate=function(a,b){a instanceof z?(this.x+=a.x,this.y+=a", |
| ".y):(this.x+=Number(a),n(b)&&(this.y+=b));return this};g.scale=function", |
| "(a,b){var c=n(b)?b:a;this.x*=a;this.y*=c;return this};function Oa(a,b){", |
| "this.width=a;this.height=b}g=Oa.prototype;g.clone=function(){return new", |
| " Oa(this.width,this.height)};g.toString=function(){return\"(\"+this.wid", |
| "th+\" x \"+this.height+\")\"};g.ceil=function(){this.width=Math.ceil(th", |
| "is.width);this.height=Math.ceil(this.height);return this};g.floor=funct", |
| "ion(){this.width=Math.floor(this.width);this.height=Math.floor(this.hei", |
| "ght);return this};g.round=function(){this.width=Math.round(this.width);", |
| "this.height=Math.round(this.height);return this};\ng.scale=function(a,b", |
| "){var c=n(b)?b:a;this.width*=a;this.height*=c;return this};function Pa(", |
| "a){return a?a.parentWindow||a.defaultView:window}function Qa(a,b,c){fun", |
| "ction d(c){c&&b.appendChild(m(c)?a.createTextNode(c):c)}for(var e=1;e<c", |
| ".length;e++){var f=c[e];!ga(f)||ia(f)&&0<f.nodeType?d(f):r(Ra(f)?xa(f):", |
| "f,d)}}function Sa(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return ", |
| "a}\nfunction Ta(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)re", |
| "turn a==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosi", |
| "tion)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b", |
| ".parentNode;return b==a}\nfunction Ua(a,b){if(a==b)return 0;if(a.compar", |
| "eDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourc", |
| "eIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.", |
| "nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var", |
| " e=a.parentNode,f=b.parentNode;return e==f?Va(a,b):!c&&Ta(e,b)?-1*Wa(a,", |
| "b):!d&&Ta(f,a)?Wa(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex", |
| ":f.sourceIndex)}d=B(a);c=d.createRange();c.selectNode(a);c.collapse(!0)", |
| ";d=d.createRange();d.selectNode(b);\nd.collapse(!0);return c.compareBou", |
| "ndaryPoints(da.Range.START_TO_END,d)}function Wa(a,b){var c=a.parentNod", |
| "e;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return V", |
| "a(d,a)}function Va(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return", |
| "-1;return 1}function B(a){return 9==a.nodeType?a:a.ownerDocument||a.doc", |
| "ument}function Ra(a){if(a&&\"number\"==typeof a.length){if(ia(a))return", |
| "\"function\"==typeof a.item||\"string\"==typeof a.item;if(ha(a))return", |
| "\"function\"==typeof a.item}return!1}\nfunction Xa(a,b,c){c||(a=a.paren", |
| "tNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}func", |
| "tion Ya(a){try{return a&&a.activeElement}catch(b){}return null}function", |
| " Za(a){this.V=a||da.document||document}g=Za.prototype;g.J=function(a){r", |
| "eturn m(a)?this.V.getElementById(a):a};g.createElement=function(a){retu", |
| "rn this.V.createElement(a)};g.createTextNode=function(a){return this.V.", |
| "createTextNode(String(a))};g.appendChild=function(a,b){a.appendChild(b)", |
| "};g.append=function(a,b){Qa(B(a),a,arguments)};\ng.canHaveChildren=func", |
| "tion(a){if(1!=a.nodeType)return!1;switch(a.tagName){case \"APPLET\":cas", |
| "e \"AREA\":case \"BASE\":case \"BR\":case \"COL\":case \"COMMAND\":case", |
| " \"EMBED\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case ", |
| "\"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case \"NOFRAM", |
| "ES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":cas", |
| "e \"SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case \"WBR\"", |
| ":return!1}return!0};g.removeNode=function(a){return a&&a.parentNode?a.p", |
| "arentNode.removeChild(a):null};\ng.contains=Ta;function $a(a){var b;b=", |
| "\"tabindex\";return\"style\"==b?ab(a.style.cssText):(a=a.getAttributeNo", |
| "de(b))&&a.specified?a.value:null}var bb=/[;]+(?=(?:(?:[^\"]*\"){2})*[^", |
| "\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;f", |
| "unction ab(a){var b=[];r(a.split(bb),function(a){var d=a.indexOf(\":\")", |
| ";0<d&&(a=[a.slice(0,d),a.slice(d+1)],2==a.length&&b.push(a[0].toLowerCa", |
| "se(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.len", |
| "gth-1)?b:b+\";\"}\nfunction C(a,b){return!!a&&1==a.nodeType&&(!b||a.tag", |
| "Name.toUpperCase()==b)}function cb(a){return C(a,\"OPTION\")?!0:C(a,\"I", |
| "NPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1}funct", |
| "ion db(a){if(!cb(a))throw new t(15,\"Element is not selectable\");var b", |
| "=\"selected\",c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radi", |
| "o\"==c)b=\"checked\";return!!a[b]};/*\n\n The MIT License\n\n Copyright", |
| " (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n\n Permis", |
| "sion is hereby granted, free of charge, to any person obtaining a copy", |
| "\n of this software and associated documentation files (the \"Software", |
| "\"), to\n deal in the Software without restriction, including without l", |
| "imitation the\n rights to use, copy, modify, merge, publish, distribute", |
| ", sublicense, and/or\n sell copies of the Software, and to permit perso", |
| "ns to whom the Software is\n furnished to do so, subject to the followi", |
| "ng conditions:\n\n The above copyright notice and this permission notic", |
| "e shall be included in\n all copies or substantial portions of the Soft", |
| "ware.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY K", |
| "IND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ", |
| "OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEM", |
| "ENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR", |
| " ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTR", |
| "ACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH TH", |
| "E SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunctio", |
| "n eb(a,b,c){this.v=a;this.Ia=b||1;this.u=c||1};function fb(a){this.ja=a", |
| ";this.Y=0}function gb(a){a=a.match(hb);for(var b=0;b<a.length;b++)ib.te", |
| "st(a[b])&&a.splice(b,1);return new fb(a)}var hb=RegExp(\"\\\\$?(?:(?![0", |
| "-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.])(?:\\\\*|[\\\\w-", |
| "\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+|", |
| "\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),ib=/^\\s/;function D(", |
| "a,b){return a.ja[a.Y+(b||0)]}fb.prototype.next=function(){return this.j", |
| "a[this.Y++]};fb.prototype.back=function(){this.Y--};\nfb.prototype.empt", |
| "y=function(){return this.ja.length<=this.Y};function E(a){var b=null,c=", |
| "a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=", |
| "void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==", |
| "c?a.documentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.no", |
| "deType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[-", |
| "-c].nextSibling););}}else b=a.nodeValue;return\"\"+b}\nfunction jb(a,b,", |
| "c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return", |
| "!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function k", |
| "b(a,b,c,d,e){return lb.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new F)}", |
| "\nfunction lb(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getEl", |
| "ementsByName(d),r(b,function(b){a.matches(b)&&e.add(b)})):b.getElements", |
| "ByClassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),r(b,functio", |
| "n(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof H?mb(a,b,c,", |
| "d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),r(b", |
| ",function(a){jb(a,c,d)&&e.add(a)}));return e}function nb(a,b,c,d,e){for", |
| "(b=b.firstChild;b;b=b.nextSibling)jb(b,c,d)&&a.matches(b)&&e.add(b);ret", |
| "urn e}\nfunction mb(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)jb(", |
| "b,c,d)&&a.matches(b)&&e.add(b),mb(a,b,c,d,e)};function F(){this.u=this.", |
| "l=null;this.R=0}function ob(a){this.node=a;this.next=this.K=null}functi", |
| "on pb(a,b){if(!a.l)return b;if(!b.l)return a;for(var c=a.l,d=b.l,e=null", |
| ",f,h=0;c&&d;)c.node==d.node?(f=c,c=c.next,d=d.next):0<Ua(c.node,d.node)", |
| "?(f=d,d=d.next):(f=c,c=c.next),(f.K=e)?e.next=f:a.l=f,e=f,h++;for(f=c||", |
| "d;f;)f.K=e,e=e.next=f,h++,f=f.next;a.u=e;a.R=h;return a}F.prototype.uns", |
| "hift=function(a){a=new ob(a);a.next=this.l;this.u?this.l.K=a:this.l=thi", |
| "s.u=a;this.l=a;this.R++};\nF.prototype.add=function(a){a=new ob(a);a.K=", |
| "this.u;this.l?this.u.next=a:this.l=this.u=a;this.u=a;this.R++};function", |
| " qb(a){return(a=a.l)?a.node:null}F.prototype.A=function(){return this.R", |
| "};function rb(a){return(a=qb(a))?E(a):\"\"}F.prototype.iterator=functio", |
| "n(a){return new sb(this,!!a)};function sb(a,b){this.Ea=a;this.oa=(this.", |
| "N=b)?a.u:a.l;this.ga=null}sb.prototype.next=function(){var a=this.oa;if", |
| "(null==a)return null;var b=this.ga=a;this.oa=this.N?a.K:a.next;return b", |
| ".node};\nsb.prototype.remove=function(){var a=this.Ea,b=this.ga;if(!b)t", |
| "hrow Error(\"Next must be called at least once before remove.\");var c=", |
| "b.K,b=b.next;c?c.next=b:a.l=b;b?b.K=c:a.u=c;a.R--;this.ga=null};functio", |
| "n I(a){this.j=a;this.m=this.D=!1;this.T=null}function J(a){return\"\\n ", |
| " \"+a.toString().split(\"\\n\").join(\"\\n \")}I.prototype.i=function(", |
| "){return this.D};function tb(a,b){a.D=b}function ub(a,b){a.m=b}I.protot", |
| "ype.H=function(){return this.T};function K(a,b){var c=a.evaluate(b);ret", |
| "urn c instanceof F?+rb(c):+c}function L(a,b){var c=a.evaluate(b);return", |
| " c instanceof F?rb(c):\"\"+c}function vb(a,b){var c=a.evaluate(b);retur", |
| "n c instanceof F?!!c.A():!!c};function wb(a,b,c){I.call(this,a.j);this.", |
| "ia=a;this.ta=b;this.ya=c;this.D=b.i()||c.i();this.m=b.m||c.m;this.ia==x", |
| "b&&(c.m||c.i()||4==c.j||0==c.j||!b.H()?b.m||b.i()||4==b.j||0==b.j||!c.H", |
| "()||(this.T={name:c.H().name,O:b}):this.T={name:b.H().name,O:c})}q(wb,I", |
| ");\nfunction yb(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);var f;if(b i", |
| "nstanceof F&&c instanceof F){b=b.iterator();for(d=b.next();d;d=b.next()", |
| ")for(e=c.iterator(),f=e.next();f;f=e.next())if(a(E(d),E(f)))return!0;re", |
| "turn!1}if(b instanceof F||c instanceof F){b instanceof F?(e=b,d=c):(e=c", |
| ",d=b);f=e.iterator();for(var h=typeof d,k=f.next();k;k=f.next()){switch", |
| "(h){case \"number\":k=+E(k);break;case \"boolean\":k=!!E(k);break;case ", |
| "\"string\":k=E(k);break;default:throw Error(\"Illegal primitive type fo", |
| "r comparison.\");\n}if(e==b&&a(k,d)||e==c&&a(d,k))return!0}return!1}ret", |
| "urn e?\"boolean\"==typeof b||\"boolean\"==typeof c?a(!!b,!!c):\"number", |
| "\"==typeof b||\"number\"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}wb.prototyp", |
| "e.evaluate=function(a){return this.ia.w(this.ta,this.ya,a)};wb.prototyp", |
| "e.toString=function(){var a=\"Binary Expression: \"+this.ia,a=a+J(this.", |
| "ta);return a+=J(this.ya)};function zb(a,b,c,d){this.Ha=a;this.wa=b;this", |
| ".j=c;this.w=d}zb.prototype.toString=function(){return this.Ha};var Ab={", |
| "};\nfunction M(a,b,c,d){if(Ab.hasOwnProperty(a))throw Error(\"Binary op", |
| "erator already created: \"+a);a=new zb(a,b,c,d);return Ab[a.toString()]", |
| "=a}M(\"div\",6,1,function(a,b,c){return K(a,c)/K(b,c)});M(\"mod\",6,1,f", |
| "unction(a,b,c){return K(a,c)%K(b,c)});M(\"*\",6,1,function(a,b,c){retur", |
| "n K(a,c)*K(b,c)});M(\"+\",5,1,function(a,b,c){return K(a,c)+K(b,c)});M(", |
| "\"-\",5,1,function(a,b,c){return K(a,c)-K(b,c)});M(\"<\",4,2,function(a", |
| ",b,c){return yb(function(a,b){return a<b},a,b,c)});\nM(\">\",4,2,functi", |
| "on(a,b,c){return yb(function(a,b){return a>b},a,b,c)});M(\"<=\",4,2,fun", |
| "ction(a,b,c){return yb(function(a,b){return a<=b},a,b,c)});M(\">=\",4,2", |
| ",function(a,b,c){return yb(function(a,b){return a>=b},a,b,c)});var xb=M", |
| "(\"=\",3,2,function(a,b,c){return yb(function(a,b){return a==b},a,b,c,!", |
| "0)});M(\"!=\",3,2,function(a,b,c){return yb(function(a,b){return a!=b},", |
| "a,b,c,!0)});M(\"and\",2,2,function(a,b,c){return vb(a,c)&&vb(b,c)});M(", |
| "\"or\",1,2,function(a,b,c){return vb(a,c)||vb(b,c)});function Bb(a,b){i", |
| "f(b.A()&&4!=a.j)throw Error(\"Primary expression must evaluate to nodes", |
| "et if filter has predicate(s).\");I.call(this,a.j);this.xa=a;this.f=b;t", |
| "his.D=a.i();this.m=a.m}q(Bb,I);Bb.prototype.evaluate=function(a){a=this", |
| ".xa.evaluate(a);return Cb(this.f,a)};Bb.prototype.toString=function(){v", |
| "ar a;a=\"Filter:\"+J(this.xa);return a+=J(this.f)};function Db(a,b){if(", |
| "b.length<a.va)throw Error(\"Function \"+a.s+\" expects at least\"+a.va+", |
| "\" arguments, \"+b.length+\" given\");if(null!==a.ha&&b.length>a.ha)thr", |
| "ow Error(\"Function \"+a.s+\" expects at most \"+a.ha+\" arguments, \"+", |
| "b.length+\" given\");a.Fa&&r(b,function(b,d){if(4!=b.j)throw Error(\"Ar", |
| "gument \"+d+\" to function \"+a.s+\" is not of type Nodeset: \"+b);});I", |
| ".call(this,a.j);this.X=a;this.da=b;tb(this,a.D||ua(b,function(a){return", |
| " a.i()}));ub(this,a.Da&&!b.length||a.Ca&&!!b.length||ua(b,function(a){r", |
| "eturn a.m}))}\nq(Db,I);Db.prototype.evaluate=function(a){return this.X.", |
| "w.apply(null,wa(a,this.da))};Db.prototype.toString=function(){var a=\"F", |
| "unction: \"+this.X;if(this.da.length)var b=ta(this.da,function(a,b){ret", |
| "urn a+J(b)},\"Arguments:\"),a=a+J(b);return a};function Eb(a,b,c,d,e,f,", |
| "h,k,p){this.s=a;this.j=b;this.D=c;this.Da=d;this.Ca=e;this.w=f;this.va=", |
| "h;this.ha=l(k)?k:h;this.Fa=!!p}Eb.prototype.toString=function(){return ", |
| "this.s};var Fb={};\nfunction N(a,b,c,d,e,f,h,k){if(Fb.hasOwnProperty(a)", |
| ")throw Error(\"Function already created: \"+a+\".\");Fb[a]=new Eb(a,b,c", |
| ",d,!1,e,f,h,k)}N(\"boolean\",2,!1,!1,function(a,b){return vb(b,a)},1);N", |
| "(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(K(b,a))},1);N(\"con", |
| "cat\",3,!1,!1,function(a,b){return ta(ya(arguments,1),function(b,d){ret", |
| "urn b+L(d,a)},\"\")},2,null);N(\"contains\",2,!1,!1,function(a,b,c){b=L", |
| "(b,a);a=L(c,a);return-1!=b.indexOf(a)},2);N(\"count\",1,!1,!1,function(", |
| "a,b){return b.evaluate(a).A()},1,1,!0);\nN(\"false\",2,!1,!1,function()", |
| "{return!1},0);N(\"floor\",1,!1,!1,function(a,b){return Math.floor(K(b,a", |
| "))},1);N(\"id\",4,!1,!1,function(a,b){var c=a.v,d=9==c.nodeType?c:c.own", |
| "erDocument,c=L(b,a).split(/\\s+/),e=[];r(c,function(a){a=d.getElementBy", |
| "Id(a);!a||0<=sa(e,a)||e.push(a)});e.sort(Ua);var f=new F;r(e,function(a", |
| "){f.add(a)});return f},1);N(\"lang\",2,!1,!1,function(){return!1},1);N(", |
| "\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw Error(\"Funct", |
| "ion last expects ()\");return a.u},0);\nN(\"local-name\",3,!1,!0,functi", |
| "on(a,b){var c=b?qb(b.evaluate(a)):a.v;return c?c.localName||c.nodeName.", |
| "toLowerCase():\"\"},0,1,!0);N(\"name\",3,!1,!0,function(a,b){var c=b?qb", |
| "(b.evaluate(a)):a.v;return c?c.nodeName.toLowerCase():\"\"},0,1,!0);N(", |
| "\"namespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);N(\"normalize-", |
| "space\",3,!1,!0,function(a,b){return(b?L(b,a):E(a.v)).replace(/[\\s\\xa", |
| "0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);N(\"not\",2,!1,!1,funct", |
| "ion(a,b){return!vb(b,a)},1);\nN(\"number\",1,!1,!0,function(a,b){return", |
| " b?K(b,a):+E(a.v)},0,1);N(\"position\",1,!0,!1,function(a){return a.Ia}", |
| ",0);N(\"round\",1,!1,!1,function(a,b){return Math.round(K(b,a))},1);N(", |
| "\"starts-with\",2,!1,!1,function(a,b,c){b=L(b,a);a=L(c,a);return 0==b.l", |
| "astIndexOf(a,0)},2);N(\"string\",3,!1,!0,function(a,b){return b?L(b,a):", |
| "E(a.v)},0,1);N(\"string-length\",1,!1,!0,function(a,b){return(b?L(b,a):", |
| "E(a.v)).length},0,1);\nN(\"substring\",3,!1,!1,function(a,b,c,d){c=K(c,", |
| "a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?K(d,a):Infinit", |
| "y;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.ma", |
| "x(c,0);a=L(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.", |
| "round(d))},2,3);N(\"substring-after\",3,!1,!1,function(a,b,c){b=L(b,a);", |
| "a=L(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\n", |
| "N(\"substring-before\",3,!1,!1,function(a,b,c){b=L(b,a);a=L(c,a);a=b.in", |
| "dexOf(a);return-1==a?\"\":b.substring(0,a)},2);N(\"sum\",1,!1,!1,functi", |
| "on(a,b){for(var c=b.evaluate(a).iterator(),d=0,e=c.next();e;e=c.next())", |
| "d+=+E(e);return d},1,1,!0);N(\"translate\",3,!1,!1,function(a,b,c,d){b=", |
| "L(b,a);c=L(c,a);var e=L(d,a);a={};for(d=0;d<c.length;d++){var f=c.charA", |
| "t(d);f in a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charA", |
| "t(d),c+=f in a?a[f]:f;return c},3);N(\"true\",2,!1,!1,function(){return", |
| "!0},0);function H(a,b){this.Aa=a;this.ua=l(b)?b:null;this.B=null;switch", |
| "(a){case \"comment\":this.B=8;break;case \"text\":this.B=3;break;case ", |
| "\"processing-instruction\":this.B=7;break;case \"node\":break;default:t", |
| "hrow Error(\"Unexpected argument\");}}function Gb(a){return\"comment\"=", |
| "=a||\"text\"==a||\"processing-instruction\"==a||\"node\"==a}H.prototype", |
| ".matches=function(a){return null===this.B||this.B==a.nodeType};H.protot", |
| "ype.getName=function(){return this.Aa};\nH.prototype.toString=function(", |
| "){var a=\"Kind Test: \"+this.Aa;null===this.ua||(a+=J(this.ua));return ", |
| "a};function Hb(a){I.call(this,3);this.za=a.substring(1,a.length-1)}q(Hb", |
| ",I);Hb.prototype.evaluate=function(){return this.za};Hb.prototype.toStr", |
| "ing=function(){return\"Literal: \"+this.za};function Ib(a,b){this.s=a.t", |
| "oLowerCase();var c;c=\"*\"==this.s?\"*\":\"http://www.w3.org/1999/xhtml", |
| "\";this.$=b?b.toLowerCase():c}Ib.prototype.matches=function(a){var b=a.", |
| "nodeType;if(1!=b&&2!=b)return!1;b=l(a.localName)?a.localName:a.nodeName", |
| ";return\"*\"!=this.s&&this.s!=b.toLowerCase()?!1:\"*\"==this.$?!0:this.", |
| "$==(a.namespaceURI?a.namespaceURI.toLowerCase():\"http://www.w3.org/199", |
| "9/xhtml\")};Ib.prototype.getName=function(){return this.s};\nIb.prototy", |
| "pe.toString=function(){return\"Name Test: \"+(\"http://www.w3.org/1999/", |
| "xhtml\"==this.$?\"\":this.$+\":\")+this.s};function Jb(a){I.call(this,1", |
| ");this.Ba=a}q(Jb,I);Jb.prototype.evaluate=function(){return this.Ba};Jb", |
| ".prototype.toString=function(){return\"Number: \"+this.Ba};function Kb(", |
| "a,b){I.call(this,a.j);this.ra=a;this.U=b;this.D=a.i();this.m=a.m;if(1==", |
| "this.U.length){var c=this.U[0];c.ea||c.G!=Lb||(c=c.ca,\"*\"!=c.getName(", |
| ")&&(this.T={name:c.getName(),O:null}))}}q(Kb,I);function Mb(){I.call(th", |
| "is,4)}q(Mb,I);Mb.prototype.evaluate=function(a){var b=new F;a=a.v;9==a.", |
| "nodeType?b.add(a):b.add(a.ownerDocument);return b};Mb.prototype.toStrin", |
| "g=function(){return\"Root Helper Expression\"};function Nb(){I.call(thi", |
| "s,4)}q(Nb,I);\nNb.prototype.evaluate=function(a){var b=new F;b.add(a.v)", |
| ";return b};Nb.prototype.toString=function(){return\"Context Helper Expr", |
| "ession\"};function Ob(a){return\"/\"==a||\"//\"==a}\nKb.prototype.evalu", |
| "ate=function(a){var b=this.ra.evaluate(a);if(!(b instanceof F))throw Er", |
| "ror(\"Filter expression must evaluate to nodeset.\");a=this.U;for(var c", |
| "=0,d=a.length;c<d&&b.A();c++){var e=a[c],f=b.iterator(e.G.N),h;if(e.i()", |
| "||e.G!=Pb)if(e.i()||e.G!=Qb)for(h=f.next(),b=e.evaluate(new eb(h));null", |
| "!=(h=f.next());)h=e.evaluate(new eb(h)),b=pb(b,h);else h=f.next(),b=e.e", |
| "valuate(new eb(h));else{for(h=f.next();(b=f.next())&&(!h.contains||h.co", |
| "ntains(b))&&b.compareDocumentPosition(h)&8;h=b);b=e.evaluate(new eb(h))", |
| "}}return b};\nKb.prototype.toString=function(){var a;a=\"Path Expressio", |
| "n:\"+J(this.ra);if(this.U.length){var b=ta(this.U,function(a,b){return ", |
| "a+J(b)},\"Steps:\");a+=J(b)}return a};function Rb(a,b){this.f=a;this.N=", |
| "!!b}function Cb(a,b,c){for(c=c||0;c<a.f.length;c++)for(var d=a.f[c],e=b", |
| ".iterator(),f=b.A(),h,k=0;h=e.next();k++){var p=a.N?f-k:k+1;h=d.evaluat", |
| "e(new eb(h,p,f));if(\"number\"==typeof h)p=p==h;else if(\"string\"==typ", |
| "eof h||\"boolean\"==typeof h)p=!!h;else if(h instanceof F)p=0<h.A();els", |
| "e throw Error(\"Predicate.evaluate returned an unexpected type.\");p||e", |
| ".remove()}return b}Rb.prototype.H=function(){return 0<this.f.length?thi", |
| "s.f[0].H():null};\nRb.prototype.i=function(){for(var a=0;a<this.f.lengt", |
| "h;a++){var b=this.f[a];if(b.i()||1==b.j||0==b.j)return!0}return!1};Rb.p", |
| "rototype.A=function(){return this.f.length};Rb.prototype.toString=funct", |
| "ion(){return ta(this.f,function(a,b){return a+J(b)},\"Predicates:\")};f", |
| "unction O(a,b,c,d){I.call(this,4);this.G=a;this.ca=b;this.f=c||new Rb([", |
| "]);this.ea=!!d;b=this.f.H();a.Ka&&b&&(this.T={name:b.name,O:b.O});this.", |
| "D=this.f.i()}q(O,I);\nO.prototype.evaluate=function(a){var b=a.v,c=this", |
| ".H(),d=null,e=null,f=0;c&&(d=c.name,e=c.O?L(c.O,a):null,f=1);if(this.ea", |
| ")if(this.i()||this.G!=Sb)if(b=(new O(Tb,new H(\"node\"))).evaluate(a).i", |
| "terator(),c=b.next())for(a=this.w(c,d,e,f);null!=(c=b.next());)a=pb(a,t", |
| "his.w(c,d,e,f));else a=new F;else a=kb(this.ca,b,d,e),a=Cb(this.f,a,f);", |
| "else a=this.w(a.v,d,e,f);return a};O.prototype.w=function(a,b,c,d){a=th", |
| "is.G.X(this.ca,a,b,c);return a=Cb(this.f,a,d)};\nO.prototype.toString=f", |
| "unction(){var a;a=\"Step:\"+J(\"Operator: \"+(this.ea?\"//\":\"/\"));th", |
| "is.G.s&&(a+=J(\"Axis: \"+this.G));a+=J(this.ca);if(this.f.A()){var b=ta", |
| "(this.f.f,function(a,b){return a+J(b)},\"Predicates:\");a+=J(b)}return ", |
| "a};function Ub(a,b,c,d){this.s=a;this.X=b;this.N=c;this.Ka=d}Ub.prototy", |
| "pe.toString=function(){return this.s};var Vb={};function P(a,b,c,d){if(", |
| "Vb.hasOwnProperty(a))throw Error(\"Axis already created: \"+a);b=new Ub", |
| "(a,b,c,!!d);return Vb[a]=b}\nP(\"ancestor\",function(a,b){for(var c=new", |
| " F,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);return c},!0);P(\"anc", |
| "estor-or-self\",function(a,b){var c=new F,d=b;do a.matches(d)&&c.unshif", |
| "t(d);while(d=d.parentNode);return c},!0);\nvar Lb=P(\"attribute\",funct", |
| "ion(a,b){var c=new F,d=a.getName(),e=b.attributes;if(e)if(a instanceof ", |
| "H&&null===a.B||\"*\"==d)for(var d=0,f;f=e[d];d++)c.add(f);else(f=e.getN", |
| "amedItem(d))&&c.add(f);return c},!1),Sb=P(\"child\",function(a,b,c,d,e)", |
| "{return nb.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new F)},!1,!0);P(\"", |
| "descendant\",kb,!1,!0);\nvar Tb=P(\"descendant-or-self\",function(a,b,c", |
| ",d){var e=new F;jb(b,c,d)&&a.matches(b)&&e.add(b);return kb(a,b,c,d,e)}", |
| ",!1,!0),Pb=P(\"following\",function(a,b,c,d){var e=new F;do for(var f=b", |
| ";f=f.nextSibling;)jb(f,c,d)&&a.matches(f)&&e.add(f),e=kb(a,f,c,d,e);whi", |
| "le(b=b.parentNode);return e},!1,!0);P(\"following-sibling\",function(a,", |
| "b){for(var c=new F,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d);return c", |
| "},!1);P(\"namespace\",function(){return new F},!1);\nvar Wb=P(\"parent", |
| "\",function(a,b){var c=new F;if(9==b.nodeType)return c;if(2==b.nodeType", |
| ")return c.add(b.ownerElement),c;var d=b.parentNode;a.matches(d)&&c.add(", |
| "d);return c},!1),Qb=P(\"preceding\",function(a,b,c,d){var e=new F,f=[];", |
| "do f.unshift(b);while(b=b.parentNode);for(var h=1,k=f.length;h<k;h++){v", |
| "ar p=[];for(b=f[h];b=b.previousSibling;)p.unshift(b);for(var x=0,y=p.le", |
| "ngth;x<y;x++)b=p[x],jb(b,c,d)&&a.matches(b)&&e.add(b),e=kb(a,b,c,d,e)}r", |
| "eturn e},!0,!0);\nP(\"preceding-sibling\",function(a,b){for(var c=new F", |
| ",d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);return c},!0);var ", |
| "Xb=P(\"self\",function(a,b){var c=new F;a.matches(b)&&c.add(b);return c", |
| "},!1);function Yb(a){I.call(this,1);this.qa=a;this.D=a.i();this.m=a.m}q", |
| "(Yb,I);Yb.prototype.evaluate=function(a){return-K(this.qa,a)};Yb.protot", |
| "ype.toString=function(){return\"Unary Expression: -\"+J(this.qa)};funct", |
| "ion Zb(a){I.call(this,4);this.aa=a;tb(this,ua(this.aa,function(a){retur", |
| "n a.i()}));ub(this,ua(this.aa,function(a){return a.m}))}q(Zb,I);Zb.prot", |
| "otype.evaluate=function(a){var b=new F;r(this.aa,function(c){c=c.evalua", |
| "te(a);if(!(c instanceof F))throw Error(\"Path expression must evaluate ", |
| "to NodeSet.\");b=pb(b,c)});return b};Zb.prototype.toString=function(){r", |
| "eturn ta(this.aa,function(a,b){return a+J(b)},\"Union Expression:\")};f", |
| "unction $b(a,b){this.a=a;this.Ga=b}function ac(a){for(var b,c=[];;){Q(a", |
| ",\"Missing right hand side of binary expression.\");b=bc(a);var d=a.a.n", |
| "ext();if(!d)break;var e=(d=Ab[d]||null)&&d.wa;if(!e){a.a.back();break}f", |
| "or(;c.length&&e<=c[c.length-1].wa;)b=new wb(c.pop(),c.pop(),b);c.push(b", |
| ",d)}for(;c.length;)b=new wb(c.pop(),c.pop(),b);return b}function Q(a,b)", |
| "{if(a.a.empty())throw Error(b);}function cc(a,b){var c=a.a.next();if(c!", |
| "=b)throw Error(\"Bad token, expected: \"+b+\" got: \"+c);}\nfunction dc", |
| "(a){a=a.a.next();if(\")\"!=a)throw Error(\"Bad token: \"+a);}function e", |
| "c(a){a=a.a.next();if(2>a.length)throw Error(\"Unclosed literal string\"", |
| ");return new Hb(a)}\nfunction fc(a){var b,c=[],d;if(Ob(D(a.a))){b=a.a.n", |
| "ext();d=D(a.a);if(\"/\"==b&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d", |
| "&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new Mb;d=new Mb;Q(a,\"Mis", |
| "sing next location step.\");b=gc(a,b);c.push(b)}else{a:{b=D(a.a);d=b.ch", |
| "arAt(0);switch(d){case \"$\":throw Error(\"Variable reference not allow", |
| "ed in HTML XPath\");case \"(\":a.a.next();b=ac(a);Q(a,'unclosed \"(\"')", |
| ";cc(a,\")\");break;case '\"':case \"'\":b=ec(a);break;default:if(isNaN(", |
| "+b))if(!Gb(b)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==D(a.a,\n1)){b=a.a.next(", |
| ");b=Fb[b]||null;a.a.next();for(d=[];\")\"!=D(a.a);){Q(a,\"Missing funct", |
| "ion argument list.\");d.push(ac(a));if(\",\"!=D(a.a))break;a.a.next()}Q", |
| "(a,\"Unclosed function argument list.\");dc(a);b=new Db(b,d)}else{b=nul", |
| "l;break a}else b=new Jb(+a.a.next())}\"[\"==D(a.a)&&(d=new Rb(hc(a)),b=", |
| "new Bb(b,d))}if(b)if(Ob(D(a.a)))d=b;else return b;else b=gc(a,\"/\"),d=", |
| "new Nb,c.push(b)}for(;Ob(D(a.a));)b=a.a.next(),Q(a,\"Missing next locat", |
| "ion step.\"),b=gc(a,b),c.push(b);return new Kb(d,c)}\nfunction gc(a,b){", |
| "var c,d,e;if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" o", |
| "r \"//\"');if(\".\"==D(a.a))return d=new O(Xb,new H(\"node\")),a.a.next", |
| "(),d;if(\"..\"==D(a.a))return d=new O(Wb,new H(\"node\")),a.a.next(),d;", |
| "var f;if(\"@\"==D(a.a))f=Lb,a.a.next(),Q(a,\"Missing attribute name\");", |
| "else if(\"::\"==D(a.a,1)){if(!/(?![0-9])[\\w]/.test(D(a.a).charAt(0)))t", |
| "hrow Error(\"Bad token: \"+a.a.next());c=a.a.next();f=Vb[c]||null;if(!f", |
| ")throw Error(\"No axis with name: \"+c);a.a.next();Q(a,\"Missing node n", |
| "ame\")}else f=Sb;\nc=D(a.a);if(/(?![0-9])[\\w\\*]/.test(c.charAt(0)))if", |
| "(\"(\"==D(a.a,1)){if(!Gb(c))throw Error(\"Invalid node type: \"+c);c=a.", |
| "a.next();if(!Gb(c))throw Error(\"Invalid type name: \"+c);cc(a,\"(\");Q", |
| "(a,\"Bad nodetype\");e=D(a.a).charAt(0);var h=null;if('\"'==e||\"'\"==e", |
| ")h=ec(a);Q(a,\"Bad nodetype\");dc(a);c=new H(c,h)}else if(c=a.a.next(),", |
| "e=c.indexOf(\":\"),-1==e)c=new Ib(c);else{var h=c.substring(0,e),k;if(", |
| "\"*\"==h)k=\"*\";else if(k=a.Ga(h),!k)throw Error(\"Namespace prefix no", |
| "t declared: \"+h);c=c.substr(e+1);c=new Ib(c,k)}else throw Error(\"Bad ", |
| "token: \"+\na.a.next());e=new Rb(hc(a),f.N);return d||new O(f,c,e,\"//", |
| "\"==b)}function hc(a){for(var b=[];\"[\"==D(a.a);){a.a.next();Q(a,\"Mis", |
| "sing predicate expression.\");var c=ac(a);b.push(c);Q(a,\"Unclosed pred", |
| "icate expression.\");cc(a,\"]\")}return b}function bc(a){if(\"-\"==D(a.", |
| "a))return a.a.next(),new Yb(bc(a));var b=fc(a);if(\"|\"!=D(a.a))a=b;els", |
| "e{for(b=[b];\"|\"==a.a.next();)Q(a,\"Missing next union location path.", |
| "\"),b.push(fc(a));a.a.back();a=new Zb(b)}return a};function ic(a){switc", |
| "h(a.nodeType){case 1:return ma(jc,a);case 9:return ic(a.documentElement", |
| ");case 11:case 10:case 6:case 12:return kc;default:return a.parentNode?", |
| "ic(a.parentNode):kc}}function kc(){return null}function jc(a,b){if(a.pr", |
| "efix==b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a", |
| ".getAttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.p", |
| "arentNode&&9!=a.parentNode.nodeType?jc(a.parentNode,b):null};function l", |
| "c(a,b){if(!a.length)throw Error(\"Empty XPath expression.\");var c=gb(a", |
| ");if(c.empty())throw Error(\"Invalid XPath expression.\");b?ha(b)||(b=l", |
| "a(b.lookupNamespaceURI,b)):b=function(){return null};var d=ac(new $b(c,", |
| "b));if(!c.empty())throw Error(\"Bad token: \"+c.next());this.evaluate=f", |
| "unction(a,b){var c=d.evaluate(new eb(a));return new R(c,b)}}\nfunction ", |
| "R(a,b){if(0==b)if(a instanceof F)b=4;else if(\"string\"==typeof a)b=2;e", |
| "lse if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else ", |
| "throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a", |
| " instanceof F))throw Error(\"value could not be converted to the specif", |
| "ied type\");this.resultType=b;var c;switch(b){case 2:this.stringValue=a", |
| " instanceof F?rb(a):\"\"+a;break;case 1:this.numberValue=a instanceof F", |
| "?+rb(a):+a;break;case 3:this.booleanValue=a instanceof F?0<a.A():!!a;br", |
| "eak;case 4:case 5:case 6:case 7:var d=\na.iterator();c=[];for(var e=d.n", |
| "ext();e;e=d.next())c.push(e);this.snapshotLength=a.A();this.invalidIter", |
| "atorState=!1;break;case 8:case 9:this.singleNodeValue=qb(a);break;defau", |
| "lt:throw Error(\"Unknown XPathResult type.\");}var f=0;this.iterateNext", |
| "=function(){if(4!=b&&5!=b)throw Error(\"iterateNext called with wrong r", |
| "esult type\");return f>=c.length?null:c[f++]};this.snapshotItem=functio", |
| "n(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong result ", |
| "type\");return a>=c.length||0>a?null:c[a]}}\nR.ANY_TYPE=0;R.NUMBER_TYPE", |
| "=1;R.STRING_TYPE=2;R.BOOLEAN_TYPE=3;R.UNORDERED_NODE_ITERATOR_TYPE=4;R.", |
| "ORDERED_NODE_ITERATOR_TYPE=5;R.UNORDERED_NODE_SNAPSHOT_TYPE=6;R.ORDERED", |
| "_NODE_SNAPSHOT_TYPE=7;R.ANY_UNORDERED_NODE_TYPE=8;R.FIRST_ORDERED_NODE_", |
| "TYPE=9;function mc(a){this.lookupNamespaceURI=ic(a)}\nea(\"wgxpath.inst", |
| "all\",function(a,b){var c=a||da,d=c.Document&&c.Document.prototype||c.d", |
| "ocument;if(!d.evaluate||b)c.XPathResult=R,d.evaluate=function(a,b,c,d){", |
| "return(new lc(a,c)).evaluate(b,d)},d.createExpression=function(a,b){ret", |
| "urn new lc(a,b)},d.createNSResolver=function(a){return new mc(a)}});var", |
| " S={};S.ka=function(){var a={Oa:\"http://www.w3.org/2000/svg\"};return ", |
| "function(b){return a[b]||null}}();\nS.w=function(a,b,c){var d=B(a);if(!", |
| "d.documentElement)return null;try{for(var e=d.createNSResolver?d.create", |
| "NSResolver(d.documentElement):S.ka,f={},h=d.getElementsByTagName(\"*\")", |
| ",k=0;k<h.length;++k){var p=h[k],x=p.namespaceURI;if(x&&!f[x]){var y=p.l", |
| "ookupPrefix(x);if(!y)var A=x.match(\".*/(\\\\w+)/?$\"),y=A?A[1]:\"xhtml", |
| "\";f[x]=y}}var u={},v;for(v in f)u[f[v]]=v;e=function(a){return u[a]||n", |
| "ull};try{return d.evaluate(b,a,e,c,null)}catch(G){if(\"TypeError\"===G.", |
| "name)return e=d.createNSResolver?d.createNSResolver(d.documentElement):", |
| "\nS.ka,d.evaluate(b,a,e,c,null);throw G;}}catch(G){throw new t(32,\"Una", |
| "ble to locate an element with the xpath expression \"+b+\" because of t", |
| "he following error:\\n\"+G);}};S.na=function(a,b){if(!a||1!=a.nodeType)", |
| "throw new t(32,'The result of the xpath expression \"'+b+'\" is: '+a+\"", |
| ". It should be an element.\");};\nS.Ja=function(a,b){var c=function(){v", |
| "ar c=S.w(b,a,9);return c?c.singleNodeValue||null:b.selectSingleNode?(c=", |
| "B(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XPath\"),b.se", |
| "lectSingleNode(a)):null}();null===c||S.na(c,a);return c};\nS.Ma=functio", |
| "n(a,b){var c=function(){var c=S.w(b,a,7);if(c){for(var e=c.snapshotLeng", |
| "th,f=[],h=0;h<e;++h)f.push(c.snapshotItem(h));return f}return b.selectN", |
| "odes?(c=B(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XPath", |
| "\"),b.selectNodes(a)):[]}();r(c,function(b){S.na(b,a)});return c};funct", |
| "ion nc(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}g=nc.", |
| "prototype;g.clone=function(){return new nc(this.top,this.right,this.bot", |
| "tom,this.left)};g.toString=function(){return\"(\"+this.top+\"t, \"+this", |
| ".right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};g.contains=functio", |
| "n(a){return this&&a?a instanceof nc?a.left>=this.left&&a.right<=this.ri", |
| "ght&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.r", |
| "ight&&a.y>=this.top&&a.y<=this.bottom:!1};\ng.expand=function(a,b,c,d){", |
| "ia(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.l", |
| "eft-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),", |
| "this.left-=Number(d));return this};g.ceil=function(){this.top=Math.ceil", |
| "(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.", |
| "bottom);this.left=Math.ceil(this.left);return this};\ng.floor=function(", |
| "){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.", |
| "bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return t", |
| "his};g.round=function(){this.top=Math.round(this.top);this.right=Math.r", |
| "ound(this.right);this.bottom=Math.round(this.bottom);this.left=Math.rou", |
| "nd(this.left);return this};g.translate=function(a,b){a instanceof z?(th", |
| "is.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left", |
| "+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+=b));return this};\ng.", |
| "scale=function(a,b){var c=n(b)?b:a;this.left*=a;this.right*=a;this.top*", |
| "=c;this.bottom*=c;return this};function T(a,b,c,d){this.left=a;this.top", |
| "=b;this.width=c;this.height=d}g=T.prototype;g.clone=function(){return n", |
| "ew T(this.left,this.top,this.width,this.height)};g.toString=function(){", |
| "return\"(\"+this.left+\", \"+this.top+\" - \"+this.width+\"w x \"+this.", |
| "height+\"h)\"};g.contains=function(a){return a instanceof T?this.left<=", |
| "a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top", |
| "+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&", |
| "&a.y>=this.top&&a.y<=this.top+this.height};\ng.ceil=function(){this.lef", |
| "t=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.cei", |
| "l(this.width);this.height=Math.ceil(this.height);return this};g.floor=f", |
| "unction(){this.left=Math.floor(this.left);this.top=Math.floor(this.top)", |
| ";this.width=Math.floor(this.width);this.height=Math.floor(this.height);", |
| "return this};g.round=function(){this.left=Math.round(this.left);this.to", |
| "p=Math.round(this.top);this.width=Math.round(this.width);this.height=Ma", |
| "th.round(this.height);return this};\ng.translate=function(a,b){a instan", |
| "ceof z?(this.left+=a.x,this.top+=a.y):(this.left+=a,n(b)&&(this.top+=b)", |
| ");return this};g.scale=function(a,b){var c=n(b)?b:a;this.left*=a;this.w", |
| "idth*=a;this.top*=c;this.height*=c;return this};function oc(a,b){var c=", |
| "B(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.default", |
| "View.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||\"\":\"\"}f", |
| "unction pc(a){var b=a.offsetWidth,c=a.offsetHeight;if((!l(b)||!b&&!c)&&", |
| "a.getBoundingClientRect){a:{var d;try{d=a.getBoundingClientRect()}catch", |
| "(e){a={left:0,top:0,right:0,bottom:0};break a}a=d}return new Oa(a.right", |
| "-a.left,a.bottom-a.top)}return new Oa(b,c)};function qc(a){return rc(a)", |
| "&&sc(a)&&\"none\"!=U(a,\"pointer-events\")}var tc=\"A AREA BUTTON INPUT", |
| " LABEL SELECT TEXTAREA\".split(\" \");function uc(a){return ua(tc,funct", |
| "ion(b){return a.tagName.toUpperCase()==b})||null!=$a(a)&&0<=Number(a.ta", |
| "bIndex)||((C(a,\"TEXTAREA\")?!0:C(a,\"INPUT\")?0<=sa(vc,a.type.toLowerC", |
| "ase()):wc(a)?!0:!1)||(C(a,\"INPUT\")?\"file\"==a.type.toLowerCase():!1)", |
| ")&&!a.readOnly}var xc=\"BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA\".", |
| "split(\" \");\nfunction sc(a){var b=a.tagName.toUpperCase();return 0<=s", |
| "a(xc,b)?a.disabled?!1:a.parentNode&&1==a.parentNode.nodeType&&\"OPTGROU", |
| "P\"==b||\"OPTION\"==b?sc(a.parentNode):!Xa(a,function(a){var b=a.parent", |
| "Node;if(b&&C(b,\"FIELDSET\")&&b.disabled){if(!C(a,\"LEGEND\"))return!0;", |
| "for(;a=l(a.previousElementSibling)?a.previousElementSibling:Sa(a.previo", |
| "usSibling);)if(C(a,\"LEGEND\"))return!0}return!1},!0):!0}var vc=\"text ", |
| "search tel url email password number\".split(\" \");\nfunction wc(a){fu", |
| "nction b(a){return\"inherit\"==a.contentEditable?(a=yc(a))?b(a):!1:\"tr", |
| "ue\"==a.contentEditable}return l(a.contentEditable)?l(a.isContentEditab", |
| "le)?a.isContentEditable:b(a):!1}function yc(a){for(a=a.parentNode;a&&1!", |
| "=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return C(a)?", |
| "a:null}\nfunction U(a,b){var c=ra(b);if(\"float\"==c||\"cssFloat\"==c||", |
| "\"styleFloat\"==c)c=\"cssFloat\";var d=oc(a,c)||zc(a,c);if(null===d)d=n", |
| "ull;else if(0<=sa(Aa,c)){b:{var e=d.match(Da);if(e){var c=Number(e[1]),", |
| "f=Number(e[2]),h=Number(e[3]),e=Number(e[4]);if(0<=c&&255>=c&&0<=f&&255", |
| ">=f&&0<=h&&255>=h&&0<=e&&1>=e){c=[c,f,h,e];break b}}c=null}if(!c)b:{if(", |
| "h=d.match(Ea))if(c=Number(h[1]),f=Number(h[2]),h=Number(h[3]),0<=c&&255", |
| ">=c&&0<=f&&255>=f&&0<=h&&255>=h){c=[c,f,h,1];break b}c=null}if(!c)b:{c=", |
| "d.toLowerCase();f=za[c.toLowerCase()];\nif(!f&&(f=\"#\"==c.charAt(0)?c:", |
| "\"#\"+c,4==f.length&&(f=f.replace(Ba,\"#$1$1$2$2$3$3\")),!Ca.test(f))){", |
| "c=null;break b}c=[parseInt(f.substr(1,2),16),parseInt(f.substr(3,2),16)", |
| ",parseInt(f.substr(5,2),16),1]}d=c?\"rgba(\"+c.join(\", \")+\")\":d}ret", |
| "urn d}function zc(a,b){var c=a.currentStyle||a.style,d=c[b];!l(d)&&ha(c", |
| ".getPropertyValue)&&(d=c.getPropertyValue(b));return\"inherit\"!=d?l(d)", |
| "?d:null:(c=yc(a))?zc(c,b):null}\nfunction Ac(a,b,c){function d(a){var b", |
| "=Bc(a);return 0<b.height&&0<b.width?!0:C(a,\"PATH\")&&(0<b.height||0<b.", |
| "width)?(a=U(a,\"stroke-width\"),!!a&&0<parseInt(a,10)):\"hidden\"!=U(a,", |
| "\"overflow\")&&ua(a.childNodes,function(a){return 3==a.nodeType||C(a)&&", |
| "d(a)})}function e(a){return Cc(a)==V&&va(a.childNodes,function(a){retur", |
| "n!C(a)||e(a)||!d(a)})}if(!C(a))throw Error(\"Argument to isShown must b", |
| "e of type Element\");if(C(a,\"BODY\"))return!0;if(C(a,\"OPTION\")||C(a,", |
| "\"OPTGROUP\"))return a=Xa(a,function(a){return C(a,\"SELECT\")}),\n!!a&", |
| "&Ac(a,!0,c);var f=Dc(a);if(f)return!!f.sa&&0<f.rect.width&&0<f.rect.hei", |
| "ght&&Ac(f.sa,b,c);if(C(a,\"INPUT\")&&\"hidden\"==a.type.toLowerCase()||", |
| "C(a,\"NOSCRIPT\"))return!1;f=U(a,\"visibility\");return\"collapse\"!=f&", |
| "&\"hidden\"!=f&&c(a)&&(b||0!=Ec(a))&&d(a)?!e(a):!1}function rc(a){funct", |
| "ion b(a){if(\"none\"==U(a,\"display\"))return!1;a=yc(a);return!a||b(a)}", |
| "return Ac(a,!0,b)}var V=\"hidden\";\nfunction Cc(a,b){function c(a){fun", |
| "ction b(a){return a==k?!0:0==U(a,\"display\").lastIndexOf(\"inline\",0)", |
| "||\"absolute\"==c&&\"static\"==U(a,\"position\")?!1:!0}var c=U(a,\"posi", |
| "tion\");if(\"fixed\"==c)return y=!0,a==k?null:k;for(a=yc(a);a&&!b(a);)a", |
| "=yc(a);return a}function d(a){var b=a;if(\"visible\"==x)if(a==k&&p)b=p;", |
| "else if(a==p)return{x:\"visible\",y:\"visible\"};b={x:U(b,\"overflow-x", |
| "\"),y:U(b,\"overflow-y\")};a==k&&(b.x=\"visible\"==b.x?\"auto\":b.x,b.y", |
| "=\"visible\"==b.y?\"auto\":b.y);return b}function e(a){if(a==k){var b=(", |
| "new Za(h)).V;\na=b.scrollingElement?b.scrollingElement:b.body||b.docume", |
| "ntElement;b=b.parentWindow||b.defaultView;a=new z(b.pageXOffset||a.scro", |
| "llLeft,b.pageYOffset||a.scrollTop)}else a=new z(a.scrollLeft,a.scrollTo", |
| "p);return a}for(var f=Fc(a,b),h=B(a),k=h.documentElement,p=h.body,x=U(k", |
| ",\"overflow\"),y,A=c(a);A;A=c(A)){var u=d(A);if(\"visible\"!=u.x||\"vis", |
| "ible\"!=u.y){var v=Bc(A);if(0==v.width||0==v.height)return V;var G=f.ri", |
| "ght<v.left,pa=f.bottom<v.top;if(G&&\"hidden\"==u.x||pa&&\"hidden\"==u.y", |
| ")return V;if(G&&\"visible\"!=u.x||\npa&&\"visible\"!=u.y){G=e(A);pa=f.b", |
| "ottom<v.top-G.y;if(f.right<v.left-G.x&&\"visible\"!=u.x||pa&&\"visible", |
| "\"!=u.x)return V;f=Cc(A);return f==V?V:\"scroll\"}G=f.left>=v.left+v.wi", |
| "dth;v=f.top>=v.top+v.height;if(G&&\"hidden\"==u.x||v&&\"hidden\"==u.y)r", |
| "eturn V;if(G&&\"visible\"!=u.x||v&&\"visible\"!=u.y){if(y&&(u=e(A),f.le", |
| "ft>=k.scrollWidth-u.x||f.right>=k.scrollHeight-u.y))return V;f=Cc(A);re", |
| "turn f==V?V:\"scroll\"}}}return\"none\"}\nfunction Bc(a){var b=Dc(a);if", |
| "(b)return b.rect;if(C(a,\"HTML\"))return a=(Pa(B(a))||window).document,", |
| "a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new Oa(a.clie", |
| "ntWidth,a.clientHeight),new T(0,0,a.width,a.height);var c;try{c=a.getBo", |
| "undingClientRect()}catch(d){return new T(0,0,0,0)}return new T(c.left,c", |
| ".top,c.right-c.left,c.bottom-c.top)}\nfunction Dc(a){var b=C(a,\"MAP\")", |
| ";if(!b&&!C(a,\"AREA\"))return null;var c=b?a:C(a.parentNode,\"MAP\")?a.", |
| "parentNode:null,d=null,e=null;c&&c.name&&(d=S.Ja('/descendant::*[@usema", |
| "p = \"#'+c.name+'\"]',B(c)))&&(e=Bc(d),b||\"default\"==a.shape.toLowerC", |
| "ase()||(a=Gc(a),b=Math.min(Math.max(a.left,0),e.width),c=Math.min(Math.", |
| "max(a.top,0),e.height),e=new T(b+e.left,c+e.top,Math.min(a.width,e.widt", |
| "h-b),Math.min(a.height,e.height-c))));return{sa:d,rect:e||new T(0,0,0,0", |
| ")}}\nfunction Gc(a){var b=a.shape.toLowerCase();a=a.coords.split(\",\")", |
| ";if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return new T(b,c,a[2]-b", |
| ",a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new T(a[0]-b,a[1]-", |
| "b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[0],c=a[1],d=b,e=c,f=", |
| "2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,", |
| "a[f+1]),e=Math.max(e,a[f+1]);return new T(b,c,d-b,e-c)}return new T(0,0", |
| ",0,0)}\nfunction Fc(a,b){var c;c=Bc(a);c=new nc(c.top,c.left+c.width,c.", |
| "top+c.height,c.left);if(b){var d=b instanceof T?b:new T(b.x,b.y,1,1);c.", |
| "left=Math.min(Math.max(c.left+d.left,c.left),c.right);c.top=Math.min(Ma", |
| "th.max(c.top+d.top,c.top),c.bottom);c.right=Math.min(Math.max(c.left+d.", |
| "width,c.left),c.right);c.bottom=Math.min(Math.max(c.top+d.height,c.top)", |
| ",c.bottom)}return c}function Ec(a){var b=1,c=U(a,\"opacity\");c&&(b=Num", |
| "ber(c));(a=yc(a))&&(b*=Ec(a));return b};function Hc(a,b){this.g=na.docu", |
| "ment.documentElement;this.F=null;var c=Ya(B(this.g));c&&Ic(this,c);this", |
| ".Z=a||new Jc;this.pa=b||new Kc}Hc.prototype.J=function(){return this.g}", |
| ";function Ic(a,b){a.g=b;a.F=C(b,\"OPTION\")?Xa(b,function(a){return C(a", |
| ",\"SELECT\")}):null}\nHc.prototype.W=function(a,b,c,d,e,f,h,k){if(!f&&!", |
| "qc(this.g))return!1;if(d&&Lc!=a&&Mc!=a)throw new t(12,\"Event type does", |
| " not allow related target: \"+a);b={clientX:b.x,clientY:b.y,button:c,al", |
| "tKey:0!=(this.Z.ba&4),ctrlKey:0!=(this.Z.ba&2),shiftKey:0!=(this.Z.ba&1", |
| "),metaKey:0!=(this.Z.ba&8),wheelDelta:e||0,relatedTarget:d||null,count:", |
| "k||1};h=h||1;c=this.g;a!=Nc&&a!=Oc&&h in Pc?c=Pc[h]:this.F&&(c=Qc(this,", |
| "a));return c?this.pa.W(c,a,b):!0};\nHc.prototype.P=function(a,b,c,d,e,f", |
| ",h,k){if(!k&&!qc(this.g))return!1;if(h&&Rc!=a&&Sc!=a)throw new t(12,\"E", |
| "vent type does not allow related target: \"+a);b={clientX:b.x,clientY:b", |
| ".y,button:c,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1,relatedTarget:h", |
| "||null,width:0,height:0,pressure:0,rotation:0,pointerId:d,tiltX:0,tiltY", |
| ":0,pointerType:e,isPrimary:f};c=this.F?Qc(this,a):this.g;Pc[d]&&(c=Pc[d", |
| "]);d=Pa(B(this.g));var p;d&&a==Tc&&(p=d.Element.prototype.msSetPointerC", |
| "apture,d.Element.prototype.msSetPointerCapture=\nfunction(a){Pc[a]=this", |
| "});a=c?this.pa.P(c,a,b):!0;p&&(d.Element.prototype.msSetPointerCapture=", |
| "p);return a};function Qc(a,b){switch(b){case Nc:case Uc:return a.F.mult", |
| "iple?a.g:a.F;default:return a.F.multiple?a.g:null}}function Vc(a){var b", |
| "=Xa(a.g,function(a){return!!a&&C(a)&&uc(a)},!0),b=b||a.g;a=Ya(B(b));if(", |
| "b!=a){if(a&&ha(a.blur)&&!C(a,\"BODY\"))try{a.blur()}catch(c){throw c;}h", |
| "a(b.focus)&&b.focus()}}function Jc(){this.ba=0}var Pc={};function Kc(){", |
| "}Kc.prototype.W=function(a,b,c){return Wc(a,b,c)};\nKc.prototype.P=func", |
| "tion(a,b,c){return Wc(a,b,c)};function Xc(a,b,c){this.B=a;this.la=b;thi", |
| "s.ma=c}Xc.prototype.create=function(a){a=B(a).createEvent(\"HTMLEvents", |
| "\");a.initEvent(this.B,this.la,this.ma);return a};Xc.prototype.toString", |
| "=function(){return this.B};function W(a,b,c){Xc.call(this,a,b,c)}q(W,Xc", |
| ");\nW.prototype.create=function(a,b){if(this==Yc)throw new t(9,\"Browse", |
| "r does not support a mouse pixel scroll event.\");var c=B(a),d=Pa(c),c=", |
| "c.createEvent(\"MouseEvents\");this==Zc&&(c.wheelDelta=b.wheelDelta);c.", |
| "initMouseEvent(this.B,this.la,this.ma,d,1,b.clientX,b.clientY,b.clientX", |
| ",b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTa", |
| "rget);return c};function X(a,b,c){Xc.call(this,a,b,c)}q(X,Xc);X.prototy", |
| "pe.create=function(){throw new t(9,\"Browser does not support MSPointer", |
| " events.\");};\nvar $c=new Xc(\"change\",!0,!1),Nc=new W(\"click\",!0,!", |
| "0),ad=new W(\"contextmenu\",!0,!0),bd=new W(\"dblclick\",!0,!0),Oc=new ", |
| "W(\"mousedown\",!0,!0),cd=new W(\"mousemove\",!0,!1),Mc=new W(\"mouseou", |
| "t\",!0,!0),Lc=new W(\"mouseover\",!0,!0),Uc=new W(\"mouseup\",!0,!0),Zc", |
| "=new W(\"mousewheel\",!0,!0),Yc=new W(\"MozMousePixelScroll\",!0,!0),dd", |
| "=new X(\"MSGotPointerCapture\",!0,!1),ed=new X(\"MSLostPointerCapture\"", |
| ",!0,!1),Tc=new X(\"MSPointerDown\",!0,!0),fd=new X(\"MSPointerMove\",!0", |
| ",!0),Rc=new X(\"MSPointerOver\",!0,!0),Sc=new X(\"MSPointerOut\",\n!0,!", |
| "0),gd=new X(\"MSPointerUp\",!0,!0);function Wc(a,b,c){b=b.create(a,c);", |
| "\"isTrusted\"in b||(b.isTrusted=!1);return a.dispatchEvent(b)};function", |
| " hd(a,b){this.C={};this.h=[];this.L=0;var c=arguments.length;if(1<c){if", |
| "(c%2)throw Error(\"Uneven number of arguments\");for(var d=0;d<c;d+=2)t", |
| "his.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)}function id", |
| "(a){jd(a);return a.h.concat()}g=hd.prototype;g.clear=function(){this.C=", |
| "{};this.L=this.h.length=0};g.remove=function(a){return Object.prototype", |
| ".hasOwnProperty.call(this.C,a)?(delete this.C[a],this.L--,this.h.length", |
| ">2*this.L&&jd(this),!0):!1};\nfunction jd(a){if(a.L!=a.h.length){for(va", |
| "r b=0,c=0;b<a.h.length;){var d=a.h[b];Object.prototype.hasOwnProperty.c", |
| "all(a.C,d)&&(a.h[c++]=d);b++}a.h.length=c}if(a.L!=a.h.length){for(var e", |
| "={},c=b=0;b<a.h.length;)d=a.h[b],Object.prototype.hasOwnProperty.call(e", |
| ",d)||(a.h[c++]=d,e[d]=1),b++;a.h.length=c}}g.get=function(a,b){return O", |
| "bject.prototype.hasOwnProperty.call(this.C,a)?this.C[a]:b};g.set=functi", |
| "on(a,b){Object.prototype.hasOwnProperty.call(this.C,a)||(this.L++,this.", |
| "h.push(a));this.C[a]=b};\ng.addAll=function(a){var b;if(a instanceof hd", |
| "){b=id(a);jd(a);for(var c=[],d=0;d<a.h.length;d++)c.push(a.C[a.h[d]]);a", |
| "=c}else{b=[];var d=0,e;for(e in a)b[d++]=e;d=[];e=0;for(c in a)d[e++]=a", |
| "[c];a=d}for(c=0;c<b.length;c++)this.set(b[c],a[c])};g.forEach=function(", |
| "a,b){for(var c=id(this),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.", |
| "call(b,f,e,this)}};g.clone=function(){return new hd(this)};var kd={};fu", |
| "nction Y(a,b,c){ia(a)&&(a=a.b);a=new ld(a);!b||b in kd&&!c||(kd[b]={key", |
| ":a,shift:!1},c&&(kd[c]={key:a,shift:!0}));return a}function ld(a){this.", |
| "code=a}Y(8);Y(9);Y(13);var md=Y(16),nd=Y(17),od=Y(18);Y(19);Y(20);Y(27)", |
| ";Y(32,\" \");Y(33);Y(34);Y(35);Y(36);Y(37);Y(38);Y(39);Y(40);Y(44);Y(45", |
| ");Y(46);Y(48,\"0\",\")\");Y(49,\"1\",\"!\");Y(50,\"2\",\"@\");Y(51,\"3", |
| "\",\"#\");Y(52,\"4\",\"$\");Y(53,\"5\",\"%\");Y(54,\"6\",\"^\");Y(55,\"", |
| "7\",\"&\");Y(56,\"8\",\"*\");Y(57,\"9\",\"(\");Y(65,\"a\",\"A\");Y(66,", |
| "\"b\",\"B\");Y(67,\"c\",\"C\");Y(68,\"d\",\"D\");\nY(69,\"e\",\"E\");Y(", |
| "70,\"f\",\"F\");Y(71,\"g\",\"G\");Y(72,\"h\",\"H\");Y(73,\"i\",\"I\");Y", |
| "(74,\"j\",\"J\");Y(75,\"k\",\"K\");Y(76,\"l\",\"L\");Y(77,\"m\",\"M\");", |
| "Y(78,\"n\",\"N\");Y(79,\"o\",\"O\");Y(80,\"p\",\"P\");Y(81,\"q\",\"Q\")", |
| ";Y(82,\"r\",\"R\");Y(83,\"s\",\"S\");Y(84,\"t\",\"T\");Y(85,\"u\",\"U\"", |
| ");Y(86,\"v\",\"V\");Y(87,\"w\",\"W\");Y(88,\"x\",\"X\");Y(89,\"y\",\"Y", |
| "\");Y(90,\"z\",\"Z\");var pd=Y(Ka?{c:91,b:91}:Ja?{c:224,b:91}:{c:0,b:91", |
| "});Y(Ka?{c:92,b:92}:Ja?{c:224,b:93}:{c:0,b:92});Y(Ka?{c:93,b:93}:Ja?{c:", |
| "0,b:0}:{c:93,b:null});Y({c:96,b:96},\"0\");Y({c:97,b:97},\"1\");\nY({c:", |
| "98,b:98},\"2\");Y({c:99,b:99},\"3\");Y({c:100,b:100},\"4\");Y({c:101,b:", |
| "101},\"5\");Y({c:102,b:102},\"6\");Y({c:103,b:103},\"7\");Y({c:104,b:10", |
| "4},\"8\");Y({c:105,b:105},\"9\");Y({c:106,b:106},\"*\");Y({c:107,b:107}", |
| ",\"+\");Y({c:109,b:109},\"-\");Y({c:110,b:110},\".\");Y({c:111,b:111},", |
| "\"/\");Y(144);Y(112);Y(113);Y(114);Y(115);Y(116);Y(117);Y(118);Y(119);Y", |
| "(120);Y(121);Y(122);Y(123);Y({c:107,b:187},\"=\",\"+\");Y(108,\",\");Y(", |
| "{c:109,b:189},\"-\",\"_\");Y(188,\",\",\"<\");Y(190,\".\",\">\");Y(191,", |
| "\"/\",\"?\");Y(192,\"`\",\"~\");Y(219,\"[\",\"{\");\nY(220,\"\\\\\",\"|", |
| "\");Y(221,\"]\",\"}\");Y({c:59,b:186},\";\",\":\");Y(222,\"'\",'\"');va", |
| "r qd=new hd;qd.set(1,md);qd.set(2,nd);qd.set(4,od);qd.set(8,pd);(functi", |
| "on(a){var b=new hd;r(id(a),function(c){b.set(a.get(c).code,c)});return ", |
| "b})(qd);function rd(a,b,c){Hc.call(this,b,c);this.M=this.o=null;this.I=", |
| "new z(0,0);this.fa=this.S=!1;if(a){n(a.buttonPressed)&&(this.o=a.button", |
| "Pressed);try{C(a.elementPressed)&&(this.M=a.elementPressed)}catch(d){th", |
| "is.o=null}this.I=new z(a.clientXY.x,a.clientXY.y);this.S=!!a.nextClickI", |
| "sDoubleClick;this.fa=!!a.hasEverInteracted;try{a.element&&C(a.element)&", |
| "&Ic(this,a.element)}catch(d){this.o=null}}}q(rd,Hc);var Z={};Z[Nc]=[0,1", |
| ",2,null];Z[ad]=[null,null,2,null];Z[Uc]=[0,1,2,null];Z[Mc]=[0,1,2,4];Z[", |
| "cd]=[0,1,2,4];\nNa&&(Z[Tc]=Z[Uc],Z[gd]=Z[Uc],Z[fd]=[-1,-1,-1,-1],Z[Sc]=", |
| "Z[fd],Z[Rc]=Z[fd]);Z[bd]=Z[Nc];Z[Oc]=Z[Uc];Z[Lc]=Z[Mc];var sd={};sd[Oc]", |
| "=Tc;sd[cd]=fd;sd[Mc]=Sc;sd[Lc]=Rc;sd[Uc]=gd;rd.prototype.move=function(", |
| "a,b){var c=qc(a),d=Bc(a);this.I.x=b.x+d.left;this.I.y=b.y+d.top;d=this.", |
| "J();if(a!=d){try{Pa(B(d)).closed&&(d=null)}catch(f){d=null}if(d){var e=", |
| "d===na.document.documentElement||d===na.document.body,d=!this.fa&&e?nul", |
| "l:d;td(this,Mc,a)}Ic(this,a);td(this,Lc,d,null,c)}td(this,cd,null,null,", |
| "c);this.S=!1};\nrd.prototype.scroll=function(a){if(0==a)throw new t(13,", |
| "\"Must scroll a non-zero number of ticks.\");for(var b=0<a?-120:120,c=0", |
| ";c<Math.abs(a);c++)td(this,Zc,null,b)};function td(a,b,c,d,e,f){a.fa=!0", |
| ";if(Na){var h=sd[b];if(h&&!a.P(h,a.I,ud(a,h),1,MSPointerEvent.MSPOINTER", |
| "_TYPE_MOUSE,!0,c,e))return!1}return a.W(b,a.I,ud(a,b),c,d,e,null,f)}fun", |
| "ction ud(a,b){if(!(b in Z))return 0;var c=Z[b][null===a.o?3:a.o];if(nul", |
| "l===c)throw new t(13,\"Event does not permit the specified mouse button", |
| ".\");return c};function vd(a,b){this.x=a;this.y=b}q(vd,z);g=vd.prototyp", |
| "e;g.clone=function(){return new vd(this.x,this.y)};g.scale=z.prototype.", |
| "scale;g.normalize=function(){return this.scale(1/Math.sqrt(this.x*this.", |
| "x+this.y*this.y))};g.add=function(a){this.x+=a.x;this.y+=a.y;return thi", |
| "s};g.rotate=function(a){var b=Math.cos(a);a=Math.sin(a);var c=this.y*b+", |
| "this.x*a;this.x=this.x*b-this.y*a;this.y=c;return this};function wd(a){", |
| "var b;(b=oc(a,\"display\"))||(b=a.currentStyle?a.currentStyle.display:n", |
| "ull);if(\"none\"!=(b||a.style&&a.style.display))b=pc(a);else{b=a.style;", |
| "var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b.p", |
| "osition=\"absolute\";b.display=\"inline\";var f=pc(a);b.display=c;b.pos", |
| "ition=e;b.visibility=d;b=f}return 0<b.width&&0<b.height||!a.offsetParen", |
| "t?b:wd(a.offsetParent)};ea(\"_\",function(a,b,c,d){if(!rc(a))throw new ", |
| "t(11,\"Element is not currently visible and may not be manipulated\");b", |
| ":{var e=b||void 0;if(\"scroll\"==Cc(a,e)){if(a.scrollIntoView&&(a.scrol", |
| "lIntoView(),\"none\"==Cc(a,e)))break b;for(var f=Fc(a,e),h=yc(a);h;h=yc", |
| "(h)){var k=h,p=Bc(k),x,y=k,A,u;u=oc(y,\"borderLeftWidth\");x=oc(y,\"bor", |
| "derRightWidth\");A=oc(y,\"borderTopWidth\");y=oc(y,\"borderBottomWidth", |
| "\");x=new nc(parseFloat(A),parseFloat(x),parseFloat(y),parseFloat(u));A", |
| "=f.left-p.left-x.left;p=f.top-p.top-x.top;x=k.clientHeight+\nf.top-f.bo", |
| "ttom;k.scrollLeft+=Math.min(A,Math.max(A-(k.clientWidth+f.left-f.right)", |
| ",0));k.scrollTop+=Math.min(p,Math.max(p-x,0))}Cc(a,e)}}b?b=new vd(b.x,b", |
| ".y):(b=wd(a),b=new vd(b.width/2,b.height/2));c=c||new rd;c.move(a,b);if", |
| "(null!==c.o)throw new t(13,\"Cannot press more then one button or an al", |
| "ready pressed button.\");c.o=0;c.M=c.J();if(C(c.J(),\"OPTION\")||C(c.J(", |
| "),\"SELECT\")||td(c,Oc,null,null,!1,void 0))Na&&0==c.o&&C(c.M,\"OPTION", |
| "\")&&c.P(dd,c.I,0,1,MSPointerEvent.MSPOINTER_TYPE_MOUSE,!0),Vc(c);if(nu", |
| "ll===\nc.o)throw new t(13,\"Cannot release a button when no button is p", |
| "ressed.\");if(c.F&&qc(c.g)&&(a=c.F,b=db(c.g),!b||a.multiple)){c.g.selec", |
| "ted=!b;if(b=a.multiple){b=0;e=oa(String(La)).split(\".\");f=oa(\"28\").", |
| "split(\".\");h=Math.max(e.length,f.length);for(k=0;0==b&&k<h;k++){p=e[k", |
| "]||\"\";A=f[k]||\"\";x=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");u=RegExp(\"(", |
| "\\\\d*)(\\\\D*)\",\"g\");do{var y=x.exec(p)||[\"\",\"\",\"\"],v=u.exec(", |
| "A)||[\"\",\"\",\"\"];if(0==y[0].length&&0==v[0].length)break;b=qa(0==y[", |
| "1].length?0:parseInt(y[1],10),0==v[1].length?0:parseInt(v[1],\n10))||qa", |
| "(0==y[2].length,0==v[2].length)||qa(y[2],v[2])}while(0==b)}b=!(0<=b)}b|", |
| "|Wc(a,$c)}a=qc(c.J());td(c,Uc,null,null,d,void 0);try{if(0==c.o&&c.J()=", |
| "=c.M){var G=c.I,pa=ud(c,Nc);if(a||qc(c.g))!c.F&&cb(c.g)&&db(c.g),c.W(Nc", |
| ",G,pa,null,0,a,void 0);c.S&&td(c,bd);c.S=!c.S;Na&&0==c.o&&C(c.M,\"OPTIO", |
| "N\")&&c.P(ed,new z(0,0),0,1,MSPointerEvent.MSPOINTER_TYPE_MOUSE,!1)}els", |
| "e 2==c.o&&td(c,ad)}catch(xd){}Pc={};c.o=null;c.M=null});; return this._", |
| ".apply(null,arguments);}.apply({navigator:typeof window!='undefined'?wi", |
| "ndow.navigator:null,document:typeof window!='undefined'?window.document", |
| ":null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const EXECUTE_ASYNC_SCRIPT[] = { |
| "function(){return function(){for(var f=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[b]=c.value)},k=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,m", |
| "=[\"String\",\"prototype\",\"repeat\"],n=0;n<m.length-1;n++){var p=m[n]", |
| ";p in k||(k[p]={});k=k[p]}\nvar q=m[m.length-1],r=k[q],t=r?r:function(a", |
| "){var b;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");b=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " c=\"\";a;)if(a&1&&(c+=b),a>>>=1)b+=b;return c};t!=r&&null!=t&&f(k,q,{c", |
| "onfigurable:!0,writable:!0,value:t});\nfunction u(a){var b=typeof a;if(", |
| "\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a instance", |
| "of Object)return b;var c=Object.prototype.toString.call(a);if(\"[object", |
| " Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number\"==ty", |
| "peof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof a.", |
| "propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"array", |
| "\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"undefin", |
| "ed\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call\"))", |
| "return\"function\"}else return\"null\";\nelse if(\"function\"==b&&\"und", |
| "efined\"==typeof a.call)return\"object\";return b}function v(a){var b=u", |
| "(a);return\"array\"==b||\"object\"==b&&\"number\"==typeof a.length}func", |
| "tion w(a){var b=typeof a;return\"object\"==b&&null!=a||\"function\"==b}", |
| "function x(a,b){var c=Array.prototype.slice.call(arguments,1);return fu", |
| "nction(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,", |
| "b)}}var z=Date.now||function(){return+new Date};function A(a,b){this.co", |
| "de=a;this.state=B[a]||C;this.message=b||\"\";var c=this.state.replace(/", |
| "((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),d=c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"E", |
| "rror\";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.", |
| "stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.proto", |
| "type;A.f=a.prototype;A.prototype=new b;A.prototype.constructor=A;A.c=fu", |
| "nction(b,d,g){for(var e=Array(arguments.length-2),l=2;l<arguments.lengt", |
| "h;l++)e[l-2]=arguments[l];return a.prototype[d].apply(b,e)}})();var C=", |
| "\"unknown error\",B={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};B[31]=C;B[30]=C;B[24]=\"invalid cookie domain\";B[29]=\"invalid", |
| " element coordinates\";B[12]=\"invalid element state\";B[32]=\"invalid ", |
| "selector\";B[51]=\"invalid selector\";\nB[52]=\"invalid selector\";B[17", |
| "]=\"javascript error\";B[405]=\"unsupported operation\";B[34]=\"move ta", |
| "rget out of bounds\";B[27]=\"no such alert\";B[7]=\"no such element\";B", |
| "[8]=\"no such frame\";B[23]=\"no such window\";B[28]=\"script timeout\"", |
| ";B[33]=\"session not created\";B[10]=\"stale element reference\";B[21]=", |
| "\"timeout\";B[25]=\"unable to set cookie\";B[26]=\"unexpected alert ope", |
| "n\";B[13]=C;B[9]=\"unknown command\";A.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function D(a,b){for(var c=a.length,", |
| "d=Array(c),g=\"string\"==typeof a?a.split(\"\"):a,e=0;e<c;e++)e in g&&(", |
| "d[e]=b.call(void 0,g[e],e,a));return d};function E(a,b){var c={},d;for(", |
| "d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function F(a,b){va", |
| "r c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function G(a,", |
| "b){return null!==a&&b in a}function H(a,b){for(var c in a)if(b.call(voi", |
| "d 0,a[c],c,a))return c};function I(){this.a=void 0}\nfunction J(a,b,c){", |
| "if(null==b)c.push(\"null\");else{if(\"object\"==typeof b){if(\"array\"=", |
| "=u(b)){var d=b;b=d.length;c.push(\"[\");for(var g=\"\",e=0;e<b;e++)c.pu", |
| "sh(g),g=d[e],J(a,a.a?a.a.call(d,String(e),g):g,c),g=\",\";c.push(\"]\")", |
| ";return}if(b instanceof String||b instanceof Number||b instanceof Boole", |
| "an)b=b.valueOf();else{c.push(\"{\");e=\"\";for(d in b)Object.prototype.", |
| "hasOwnProperty.call(b,d)&&(g=b[d],\"function\"!=typeof g&&(c.push(e),K(", |
| "d,c),c.push(\":\"),J(a,a.a?a.a.call(b,d,g):g,c),e=\",\"));c.push(\"}\")", |
| ";return}}switch(typeof b){case \"string\":K(b,\nc);break;case \"number", |
| "\":c.push(isFinite(b)&&!isNaN(b)?String(b):\"null\");break;case \"boole", |
| "an\":c.push(String(b));break;case \"function\":c.push(\"null\");break;d", |
| "efault:throw Error(\"Unknown type: \"+typeof b);}}}var L={'\"':'\\\\\"'", |
| ",\"\\\\\":\"\\\\\\\\\",\"/\":\"\\\\/\",\"\\b\":\"\\\\b\",\"\\f\":\"", |
| "\\\\f\",\"\\n\":\"\\\\n\",\"\\r\":\"\\\\r\",\"\\t\":\"\\\\t\",\"\\x0B\"", |
| ":\"\\\\u000b\"},M=/\\uffff/.test(\"\\uffff\")?/[\\\\\\\"\\x00-\\x1f\\x7", |
| "f-\\uffff]/g:/[\\\\\\\"\\x00-\\x1f\\x7f-\\xff]/g;\nfunction K(a,b){b.pu", |
| "sh('\"',a.replace(M,function(a){var b=L[a];b||(b=\"\\\\u\"+(a.charCodeA", |
| "t(0)|65536).toString(16).substr(1),L[a]=b);return b}),'\"')};function N", |
| "(a){switch(u(a)){case \"string\":case \"number\":case \"boolean\":retur", |
| "n a;case \"function\":return a.toString();case \"array\":return D(a,N);", |
| "case \"object\":if(G(a,\"nodeType\")&&(1==a.nodeType||9==a.nodeType)){v", |
| "ar b={};b.ELEMENT=O(a);return b}if(G(a,\"document\"))return b={},b.WIND", |
| "OW=O(a),b;if(v(a))return D(a,N);a=E(a,function(a,b){return\"number\"==t", |
| "ypeof b||\"string\"==typeof b});return F(a,N);default:return null}}\nfu", |
| "nction P(a,b){return\"array\"==u(a)?D(a,function(a){return P(a,b)}):w(a", |
| ")?\"function\"==typeof a?a:G(a,\"ELEMENT\")?T(a.ELEMENT,b):G(a,\"WINDOW", |
| "\")?T(a.WINDOW,b):F(a,function(a){return P(a,b)}):a}function aa(a,b){if", |
| "(\"string\"==typeof a)try{return new b.Function(a)}catch(c){throw c;}re", |
| "turn b==window?a:new b.Function(\"return (\"+a+\").apply(null,arguments", |
| ");\")}function U(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.b=z(", |
| "));b.b||(b.b=z());return b}\nfunction O(a){var b=U(a.ownerDocument),c=H", |
| "(b,function(b){return b==a});c||(c=\":wdc:\"+b.b++,b[c]=a);return c}fun", |
| "ction T(a,b){a=decodeURIComponent(a);var c=b||document,d=U(c);if(!G(d,a", |
| "))throw new A(10,\"Element does not exist in cache\");var g=d[a];if(G(g", |
| ",\"setInterval\")){if(g.closed)throw delete d[a],new A(23,\"Window has ", |
| "been closed.\");return g}for(var e=g;e;){if(e==c.documentElement)return", |
| " g;e=e.parentNode}delete d[a];throw new A(10,\"Element is no longer att", |
| "ached to the DOM\");};function V(a,b,c,d,g,e){function l(a,b){if(!R){h.", |
| "removeEventListener?h.removeEventListener(\"unload\",y,!0):h.detachEven", |
| "t(\"onunload\",y);h.clearTimeout(S);if(0!=a){var c=new A(a,b.message||b", |
| "+\"\");c.stack=b.stack;b={status:G(c,\"code\")?c.code:13,value:{message", |
| ":c.message}}}else b={status:0,value:N(b)};g?(c=[],J(new I,b,c),c=c.join", |
| "(\"\")):c=b;d(c);R=!0}}function y(){l(13,Error(\"Detected a page unload", |
| " event; asynchronous script execution does not work across page loads.", |
| "\"))}var h=e||window,S,R=!1;e=x(l,13);if(h.closed)e(\"Unable to execute", |
| " script; the target window is closed.\");\nelse{a=aa(a,h);b=P(b,h.docum", |
| "ent);b.push(x(l,0));h.addEventListener?h.addEventListener(\"unload\",y,", |
| "!0):h.attachEvent(\"onunload\",y);var ba=z();try{a.apply(h,b),S=h.setTi", |
| "meout(function(){l(28,Error(\"Timed out waiting for asyncrhonous script", |
| " result after \"+(z()-ba)+\" ms\"))},Math.max(0,c))}catch(Q){l(Q.code||", |
| "13,Q)}}}var W=[\"_\"],X=this;W[0]in X||!X.execScript||X.execScript(\"va", |
| "r \"+W[0]);for(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=v", |
| "oid 0!==V;Z?X[Y]=V:X=X[Y]?X[Y]:X[Y]={}};; return this._.apply(null,argu", |
| "ments);}.apply({navigator:typeof window!='undefined'?window.navigator:n", |
| "ull,document:typeof window!='undefined'?window.document:null}, argument", |
| "s);}", |
| NULL |
| }; |
| |
| const char* const EXECUTE_SCRIPT[] = { |
| "function(){return function(){for(var g=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[b]=c.value)},h=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,k", |
| "=[\"String\",\"prototype\",\"repeat\"],l=0;l<k.length-1;l++){var m=k[l]", |
| ";m in h||(h[m]={});h=h[m]}\nvar q=k[k.length-1],r=h[q],t=r?r:function(a", |
| "){var b;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");b=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " c=\"\";a;)if(a&1&&(c+=b),a>>>=1)b+=b;return c};t!=r&&null!=t&&g(h,q,{c", |
| "onfigurable:!0,writable:!0,value:t});\nfunction u(a){var b=typeof a;if(", |
| "\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a instance", |
| "of Object)return b;var c=Object.prototype.toString.call(a);if(\"[object", |
| " Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number\"==ty", |
| "peof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof a.", |
| "propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"array", |
| "\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"undefin", |
| "ed\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call\"))", |
| "return\"function\"}else return\"null\";\nelse if(\"function\"==b&&\"und", |
| "efined\"==typeof a.call)return\"object\";return b}function v(a){var b=u", |
| "(a);return\"array\"==b||\"object\"==b&&\"number\"==typeof a.length}func", |
| "tion w(a){var b=typeof a;return\"object\"==b&&null!=a||\"function\"==b}", |
| "var x=Date.now||function(){return+new Date};var y=window;function z(a,b", |
| "){this.code=a;this.state=A[a]||B;this.message=b||\"\";var c=this.state.", |
| "replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace", |
| "(/^[\\s\\xa0]+/g,\"\")}),d=c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d", |
| ")c+=\"Error\";this.name=c;c=Error(this.message);c.name=this.name;this.s", |
| "tack=c.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=", |
| "a.prototype;z.f=a.prototype;z.prototype=new b;z.prototype.constructor=z", |
| ";z.c=function(b,d,f){for(var e=Array(arguments.length-2),n=2;n<argument", |
| "s.length;n++)e[n-2]=arguments[n];return a.prototype[d].apply(b,e)}})();", |
| "var B=\"unknown error\",A={15:\"element not selectable\",11:\"element n", |
| "ot visible\"};A[31]=B;A[30]=B;A[24]=\"invalid cookie domain\";A[29]=\"i", |
| "nvalid element coordinates\";A[12]=\"invalid element state\";A[32]=\"in", |
| "valid selector\";A[51]=\"invalid selector\";\nA[52]=\"invalid selector", |
| "\";A[17]=\"javascript error\";A[405]=\"unsupported operation\";A[34]=\"", |
| "move target out of bounds\";A[27]=\"no such alert\";A[7]=\"no such elem", |
| "ent\";A[8]=\"no such frame\";A[23]=\"no such window\";A[28]=\"script ti", |
| "meout\";A[33]=\"session not created\";A[10]=\"stale element reference\"", |
| ";A[21]=\"timeout\";A[25]=\"unable to set cookie\";A[26]=\"unexpected al", |
| "ert open\";A[13]=B;A[9]=\"unknown command\";z.prototype.toString=functi", |
| "on(){return this.name+\": \"+this.message};function C(a,b){for(var c=a.", |
| "length,d=Array(c),f=\"string\"==typeof a?a.split(\"\"):a,e=0;e<c;e++)e ", |
| "in f&&(d[e]=b.call(void 0,f[e],e,a));return d};function D(a,b){var c={}", |
| ",d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function E(", |
| "a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}functi", |
| "on F(a,b){return null!==a&&b in a}function G(a,b){for(var c in a)if(b.c", |
| "all(void 0,a[c],c,a))return c};function H(){this.a=void 0}\nfunction I(", |
| "a,b,c){if(null==b)c.push(\"null\");else{if(\"object\"==typeof b){if(\"a", |
| "rray\"==u(b)){var d=b;b=d.length;c.push(\"[\");for(var f=\"\",e=0;e<b;e", |
| "++)c.push(f),f=d[e],I(a,a.a?a.a.call(d,String(e),f):f,c),f=\",\";c.push", |
| "(\"]\");return}if(b instanceof String||b instanceof Number||b instanceo", |
| "f Boolean)b=b.valueOf();else{c.push(\"{\");e=\"\";for(d in b)Object.pro", |
| "totype.hasOwnProperty.call(b,d)&&(f=b[d],\"function\"!=typeof f&&(c.pus", |
| "h(e),J(d,c),c.push(\":\"),I(a,a.a?a.a.call(b,d,f):f,c),e=\",\"));c.push", |
| "(\"}\");return}}switch(typeof b){case \"string\":J(b,\nc);break;case \"", |
| "number\":c.push(isFinite(b)&&!isNaN(b)?String(b):\"null\");break;case ", |
| "\"boolean\":c.push(String(b));break;case \"function\":c.push(\"null\");", |
| "break;default:throw Error(\"Unknown type: \"+typeof b);}}}var K={'\"':'", |
| "\\\\\"',\"\\\\\":\"\\\\\\\\\",\"/\":\"\\\\/\",\"\\b\":\"\\\\b\",\"\\f\"", |
| ":\"\\\\f\",\"\\n\":\"\\\\n\",\"\\r\":\"\\\\r\",\"\\t\":\"\\\\t\",\"\\x0", |
| "B\":\"\\\\u000b\"},L=/\\uffff/.test(\"\\uffff\")?/[\\\\\\\"\\x00-\\x1f", |
| "\\x7f-\\uffff]/g:/[\\\\\\\"\\x00-\\x1f\\x7f-\\xff]/g;\nfunction J(a,b){", |
| "b.push('\"',a.replace(L,function(a){var b=K[a];b||(b=\"\\\\u\"+(a.charC", |
| "odeAt(0)|65536).toString(16).substr(1),K[a]=b);return b}),'\"')};functi", |
| "on M(a){switch(u(a)){case \"string\":case \"number\":case \"boolean\":r", |
| "eturn a;case \"function\":return a.toString();case \"array\":return C(a", |
| ",M);case \"object\":if(F(a,\"nodeType\")&&(1==a.nodeType||9==a.nodeType", |
| ")){var b={};b.ELEMENT=N(a);return b}if(F(a,\"document\"))return b={},b.", |
| "WINDOW=N(a),b;if(v(a))return C(a,M);a=D(a,function(a,b){return\"number", |
| "\"==typeof b||\"string\"==typeof b});return E(a,M);default:return null}", |
| "}\nfunction O(a,b){return\"array\"==u(a)?C(a,function(a){return O(a,b)}", |
| "):w(a)?\"function\"==typeof a?a:F(a,\"ELEMENT\")?P(a.ELEMENT,b):F(a,\"W", |
| "INDOW\")?P(a.WINDOW,b):E(a,function(a){return O(a,b)}):a}function Q(a){", |
| "a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.b=x());b.b||(b.b=x());re", |
| "turn b}function N(a){var b=Q(a.ownerDocument),c=G(b,function(b){return ", |
| "b==a});c||(c=\":wdc:\"+b.b++,b[c]=a);return c}\nfunction P(a,b){a=decod", |
| "eURIComponent(a);var c=b||document,d=Q(c);if(!F(d,a))throw new z(10,\"E", |
| "lement does not exist in cache\");var f=d[a];if(F(f,\"setInterval\")){i", |
| "f(f.closed)throw delete d[a],new z(23,\"Window has been closed.\");retu", |
| "rn f}for(var e=f;e;){if(e==c.documentElement)return f;e=e.parentNode}de", |
| "lete d[a];throw new z(10,\"Element is no longer attached to the DOM\");", |
| "};function R(a,b,c,d){d=d||y;var f;try{a:{var e=a;if(\"string\"==typeof", |
| " e)try{a=new d.Function(e);break a}catch(p){throw p;}a=d==window?e:new ", |
| "d.Function(\"return (\"+e+\").apply(null,arguments);\")}var n=O(b,d.doc", |
| "ument);f={status:0,value:M(a.apply(null,n))}}catch(p){f={status:F(p,\"c", |
| "ode\")?p.code:13,value:{message:p.message}}}c&&(a=[],I(new H,f,a),f=a.j", |
| "oin(\"\"));return f}var S=[\"_\"],T=this;S[0]in T||!T.execScript||T.exe", |
| "cScript(\"var \"+S[0]);\nfor(var U;S.length&&(U=S.shift());){var V;if(V", |
| "=!S.length)V=void 0!==R;V?T[U]=R:T=T[U]?T[U]:T[U]={}};; return this._.a", |
| "pply(null,arguments);}.apply({navigator:typeof window!='undefined'?wind", |
| "ow.navigator:null,document:typeof window!='undefined'?window.document:n", |
| "ull}, arguments);}", |
| NULL |
| }; |
| |
| const char* const EXECUTE_SQL[] = { |
| "function(){return function(){var a=window;function e(b,c){this.code=b;t", |
| "his.state=f[b]||k;this.message=c||\"\";var d=this.state.replace(/((?:^|", |
| "\\s+)[a-z])/g,function(b){return b.toUpperCase().replace(/^[\\s\\xa0]+/", |
| "g,\"\")}),h=d.length-5;if(0>h||d.indexOf(\"Error\",h)!=h)d+=\"Error\";t", |
| "his.name=d;d=Error(this.message);d.name=this.name;this.stack=d.stack||", |
| "\"\"}\n(function(){var b=Error;function c(){}c.prototype=b.prototype;e.", |
| "b=b.prototype;e.prototype=new c;e.prototype.constructor=e;e.a=function(", |
| "d,c,p){for(var n=Array(arguments.length-2),g=2;g<arguments.length;g++)n", |
| "[g-2]=arguments[g];return b.prototype[c].apply(d,n)}})();var k=\"unknow", |
| "n error\",f={15:\"element not selectable\",11:\"element not visible\"};", |
| "f[31]=k;f[30]=k;f[24]=\"invalid cookie domain\";f[29]=\"invalid element", |
| " coordinates\";f[12]=\"invalid element state\";f[32]=\"invalid selector", |
| "\";f[51]=\"invalid selector\";\nf[52]=\"invalid selector\";f[17]=\"java", |
| "script error\";f[405]=\"unsupported operation\";f[34]=\"move target out", |
| " of bounds\";f[27]=\"no such alert\";f[7]=\"no such element\";f[8]=\"no", |
| " such frame\";f[23]=\"no such window\";f[28]=\"script timeout\";f[33]=", |
| "\"session not created\";f[10]=\"stale element reference\";f[21]=\"timeo", |
| "ut\";f[25]=\"unable to set cookie\";f[26]=\"unexpected alert open\";f[1", |
| "3]=k;f[9]=\"unknown command\";e.prototype.toString=function(){return th", |
| "is.name+\": \"+this.message};function l(b){this.rows=[];for(var c=0;c<b", |
| ".rows.length;c++)this.rows[c]=b.rows.item(c);this.rowsAffected=b.rowsAf", |
| "fected;this.insertId=-1;try{this.insertId=b.insertId}catch(d){}};functi", |
| "on m(b,c,d,h,p,n,g){function v(b,c){var d=new l(c);h(b,d)}var r;try{r=a", |
| ".openDatabase(b,\"\",b+\"name\",5242880)}catch(w){throw new e(13,w.mess", |
| "age);}r.transaction(function(b){b.executeSql(c,d,v,g)},p,n)}var q=[\"_", |
| "\"],t=this;q[0]in t||!t.execScript||t.execScript(\"var \"+q[0]);for(var", |
| " u;q.length&&(u=q.shift());)q.length||void 0===m?t=t[u]?t[u]:t[u]={}:t[", |
| "u]=m;; return this._.apply(null,arguments);}.apply({navigator:typeof wi", |
| "ndow!='undefined'?window.navigator:null,document:typeof window!='undefi", |
| "ned'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const FIND_ELEMENTS[] = { |
| "function(){return function(){var k,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e)", |
| ";f!=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "da=this;function l(a){return void 0!==a}\nfunction ea(a,b){var c=a.spli", |
| "t(\".\"),d=da;c[0]in d||!d.execScript||d.execScript(\"var \"+c[0]);for(", |
| "var e;c.length&&(e=c.shift());)!c.length&&l(b)?d[e]=b:d=d[e]?d[e]:d[e]=", |
| "{}}\nfunction fa(a){var b=typeof a;if(\"object\"==b)if(a){if(a instance", |
| "of Array)return\"array\";if(a instanceof Object)return b;var c=Object.p", |
| "rototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if", |
| "(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typ", |
| "eof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.property", |
| "IsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
| "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
| "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
| "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", |
| "object\";return b}function ga(a){var b=fa(a);return\"array\"==b||\"obje", |
| "ct\"==b&&\"number\"==typeof a.length}function m(a){return\"string\"==ty", |
| "peof a}function n(a){return\"number\"==typeof a}function p(a){return\"f", |
| "unction\"==fa(a)}function ha(a){var b=typeof a;return\"object\"==b&&nul", |
| "l!=a||\"function\"==b}function ia(a,b,c){return a.call.apply(a.bind,arg", |
| "uments)}\nfunction ja(a,b,c){if(!a)throw Error();if(2<arguments.length)", |
| "{var d=Array.prototype.slice.call(arguments,2);return function(){var c=", |
| "Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d", |
| ");return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}f", |
| "unction ka(a,b,c){ka=Function.prototype.bind&&-1!=Function.prototype.bi", |
| "nd.toString().indexOf(\"native code\")?ia:ja;return ka.apply(null,argum", |
| "ents)}\nfunction la(a,b){var c=Array.prototype.slice.call(arguments,1);", |
| "return function(){var b=c.slice();b.push.apply(b,arguments);return a.ap", |
| "ply(this,b)}}function r(a,b){function c(){}c.prototype=b.prototype;a.xa", |
| "=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.wa=function(", |
| "a,c,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g", |
| "[h-2]=arguments[h];return b.prototype[c].apply(a,g)}};var ma=window;fun", |
| "ction u(a,b){this.code=a;this.state=v[a]||na;this.message=b||\"\";var c", |
| "=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCa", |
| "se().replace(/^[\\s\\xa0]+/g,\"\")}),d=c.length-5;if(0>d||c.indexOf(\"E", |
| "rror\",d)!=d)c+=\"Error\";this.name=c;c=Error(this.message);c.name=this", |
| ".name;this.stack=c.stack||\"\"}r(u,Error);var na=\"unknown error\",v={1", |
| "5:\"element not selectable\",11:\"element not visible\"};v[31]=na;v[30]", |
| "=na;v[24]=\"invalid cookie domain\";v[29]=\"invalid element coordinates", |
| "\";v[12]=\"invalid element state\";\nv[32]=\"invalid selector\";v[51]=", |
| "\"invalid selector\";v[52]=\"invalid selector\";v[17]=\"javascript erro", |
| "r\";v[405]=\"unsupported operation\";v[34]=\"move target out of bounds", |
| "\";v[27]=\"no such alert\";v[7]=\"no such element\";v[8]=\"no such fram", |
| "e\";v[23]=\"no such window\";v[28]=\"script timeout\";v[33]=\"session n", |
| "ot created\";v[10]=\"stale element reference\";v[21]=\"timeout\";v[25]=", |
| "\"unable to set cookie\";v[26]=\"unexpected alert open\";v[13]=na;v[9]=", |
| "\"unknown command\";u.prototype.toString=function(){return this.name+\"", |
| ": \"+this.message};var oa;function pa(a){var b=a.length-1;return 0<=b&&", |
| "a.indexOf(\" \",b)==b}var qa=String.prototype.trim?function(a){return a", |
| ".trim()}:function(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\"", |
| ")};function ra(a){return String(a).replace(/\\-([a-z])/g,function(a,c){", |
| "return c.toUpperCase()})};function sa(a,b){if(m(a))return m(b)&&1==b.le", |
| "ngth?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)r", |
| "eturn c;return-1}function w(a,b){for(var c=a.length,d=m(a)?a.split(\"\"", |
| "):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)}function ta(a,b){for(va", |
| "r c=a.length,d=[],e=0,f=m(a)?a.split(\"\"):a,g=0;g<c;g++)if(g in f){var", |
| " h=f[g];b.call(void 0,h,g,a)&&(d[e++]=h)}return d}function ua(a,b,c){va", |
| "r d=c;w(a,function(c,f){d=b.call(void 0,d,c,f,a)});return d}\nfunction ", |
| "va(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d", |
| "&&b.call(void 0,d[e],e,a))return!0;return!1}function wa(a,b){for(var c=", |
| "a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d", |
| "[e],e,a))return!1;return!0}function xa(a,b){var c;a:{c=a.length;for(var", |
| " d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))", |
| "{c=e;break a}c=-1}return 0>c?null:m(a)?a.charAt(c):a[c]}function ya(a){", |
| "return Array.prototype.concat.apply(Array.prototype,arguments)}\nfuncti", |
| "on za(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d", |
| "];return c}return[]}function Aa(a,b,c){return 2>=arguments.length?Array", |
| ".prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};function ", |
| "x(a,b){this.x=l(a)?a:0;this.y=l(b)?b:0}k=x.prototype;k.clone=function()", |
| "{return new x(this.x,this.y)};k.toString=function(){return\"(\"+this.x+", |
| "\", \"+this.y+\")\"};k.ceil=function(){this.x=Math.ceil(this.x);this.y=", |
| "Math.ceil(this.y);return this};k.floor=function(){this.x=Math.floor(thi", |
| "s.x);this.y=Math.floor(this.y);return this};k.round=function(){this.x=M", |
| "ath.round(this.x);this.y=Math.round(this.y);return this};\nk.translate=", |
| "function(a,b){a instanceof x?(this.x+=a.x,this.y+=a.y):(this.x+=Number(", |
| "a),n(b)&&(this.y+=b));return this};k.scale=function(a,b){var c=n(b)?b:a", |
| ";this.x*=a;this.y*=c;return this};function Ba(a,b){this.width=a;this.he", |
| "ight=b}k=Ba.prototype;k.clone=function(){return new Ba(this.width,this.", |
| "height)};k.toString=function(){return\"(\"+this.width+\" x \"+this.heig", |
| "ht+\")\"};k.ceil=function(){this.width=Math.ceil(this.width);this.heigh", |
| "t=Math.ceil(this.height);return this};k.floor=function(){this.width=Mat", |
| "h.floor(this.width);this.height=Math.floor(this.height);return this};k.", |
| "round=function(){this.width=Math.round(this.width);this.height=Math.rou", |
| "nd(this.height);return this};\nk.scale=function(a,b){var c=n(b)?b:a;thi", |
| "s.width*=a;this.height*=c;return this};function y(a){return a?new Ca(z(", |
| "a)):oa||(oa=new Ca)}function Da(a,b,c){function d(c){c&&b.appendChild(m", |
| "(c)?a.createTextNode(c):c)}for(var e=1;e<c.length;e++){var f=c[e];!ga(f", |
| ")||ha(f)&&0<f.nodeType?d(f):w(Ea(f)?za(f):f,d)}}function Fa(a){for(;a&&", |
| "1!=a.nodeType;)a=a.previousSibling;return a}\nfunction Ha(a,b){if(!a||!", |
| "b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if(", |
| "\"undefined\"!=typeof a.compareDocumentPosition)return a==b||!!(a.compa", |
| "reDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfu", |
| "nction Ia(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.c", |
| "ompareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&", |
| "\"sourceIndex\"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(", |
| "c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNo", |
| "de;return e==f?Ja(a,b):!c&&Ha(e,b)?-1*Ka(a,b):!d&&Ha(f,a)?Ka(b,a):(c?a.", |
| "sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=z(a);c=d.c", |
| "reateRange();c.selectNode(a);c.collapse(!0);d=d.createRange();d.selectN", |
| "ode(b);\nd.collapse(!0);return c.compareBoundaryPoints(da.Range.START_T", |
| "O_END,d)}function Ka(a,b){var c=a.parentNode;if(c==b)return-1;for(var d", |
| "=b;d.parentNode!=c;)d=d.parentNode;return Ja(d,a)}function Ja(a,b){for(", |
| "var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}function z(a){re", |
| "turn 9==a.nodeType?a:a.ownerDocument||a.document}function Ea(a){if(a&&", |
| "\"number\"==typeof a.length){if(ha(a))return\"function\"==typeof a.item", |
| "||\"string\"==typeof a.item;if(p(a))return\"function\"==typeof a.item}r", |
| "eturn!1}\nfunction La(a,b){a=a.parentNode;for(var c=0;a;){if(b(a))retur", |
| "n a;a=a.parentNode;c++}return null}function Ca(a){this.G=a||da.document", |
| "||document}\nfunction B(a,b,c,d){a=d||a.G;var e=b&&\"*\"!=b?b.toUpperCa", |
| "se():\"\";if(a.querySelectorAll&&a.querySelector&&(e||c))c=a.querySelec", |
| "torAll(e+(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(b=a.g", |
| "etElementsByClassName(c),e){a={};for(var f=d=0,g;g=b[f];f++)e==g.nodeNa", |
| "me&&(a[d++]=g);a.length=d;c=a}else c=b;else if(b=a.getElementsByTagName", |
| "(e||\"*\"),c){a={};for(f=d=0;g=b[f];f++){var e=g.className,h;if(h=\"fun", |
| "ction\"==typeof e.split)h=0<=sa(e.split(/\\s+/),c);h&&(a[d++]=g)}a.leng", |
| "th=d;c=a}else c=b;return c}k=Ca.prototype;\nk.createElement=function(a)", |
| "{return this.G.createElement(a)};k.createTextNode=function(a){return th", |
| "is.G.createTextNode(String(a))};k.appendChild=function(a,b){a.appendChi", |
| "ld(b)};k.append=function(a,b){Da(z(a),a,arguments)};k.canHaveChildren=f", |
| "unction(a){if(1!=a.nodeType)return!1;switch(a.tagName){case \"APPLET\":", |
| "case \"AREA\":case \"BASE\":case \"BR\":case \"COL\":case \"COMMAND\":c", |
| "ase \"EMBED\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":ca", |
| "se \"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case \"NOF", |
| "RAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":", |
| "case \"SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case \"WB", |
| "R\":return!1}return!0};\nk.removeNode=function(a){return a&&a.parentNod", |
| "e?a.parentNode.removeChild(a):null};k.contains=Ha;var Ma={K:function(a)", |
| "{return!(!a.querySelectorAll||!a.querySelector)},A:function(a,b){if(!a)", |
| "throw new u(32,\"No class name specified\");a=qa(a);if(-1!==a.indexOf(", |
| "\" \"))throw new u(32,\"Compound class names not permitted\");if(Ma.K(b", |
| "))try{return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||null}c", |
| "atch(d){throw new u(32,\"An invalid or illegal class name was specified", |
| "\");}var c=B(y(b),\"*\",a,b);return c.length?c[0]:null},l:function(a,b)", |
| "{if(!a)throw new u(32,\"No class name specified\");a=qa(a);if(-1!==a.in", |
| "dexOf(\" \"))throw new u(32,\n\"Compound class names not permitted\");i", |
| "f(Ma.K(b))try{return b.querySelectorAll(\".\"+a.replace(/\\./g,\"\\\\.", |
| "\"))}catch(c){throw new u(32,\"An invalid or illegal class name was spe", |
| "cified\");}return B(y(b),\"*\",a,b)}};var Na={A:function(a,b){p(b.query", |
| "Selector);if(!a)throw new u(32,\"No selector specified\");a=qa(a);var c", |
| ";try{c=b.querySelector(a)}catch(d){throw new u(32,\"An invalid or illeg", |
| "al selector was specified\");}return c&&1==c.nodeType?c:null},l:functio", |
| "n(a,b){p(b.querySelectorAll);if(!a)throw new u(32,\"No selector specifi", |
| "ed\");a=qa(a);try{return b.querySelectorAll(a)}catch(c){throw new u(32,", |
| "\"An invalid or illegal selector was specified\");}}};var Oa={aliceblue", |
| ":\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7f", |
| "ffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#", |
| "000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2b", |
| "e2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",char", |
| "treuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerbl", |
| "ue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff", |
| "\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",", |
| "darkgray:\"#a9a9a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkk", |
| "haki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",dar", |
| "korange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalm", |
| "on:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darks", |
| "lategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1", |
| "\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",", |
| "dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebric", |
| "k:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:", |
| "\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd7", |
| "00\",goldenrod:\"#daa520\",gray:\"#808080\",green:\"#008000\",greenyell", |
| "ow:\"#adff2f\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4", |
| "\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#", |
| "f0e68c\",lavender:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7c", |
| "fc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08", |
| "080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:", |
| "\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#f", |
| "fb6c1\",lightsalmon:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblu", |
| "e:\"#87cefa\",lightslategray:\"#778899\",lightslategrey:\"#778899\",lig", |
| "htsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegr", |
| "een:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000", |
| "\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#", |
| "ba55d3\",mediumpurple:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslat", |
| "eblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1", |
| "cc\",mediumvioletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#", |
| "f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ff", |
| "dead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab", |
| ":\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6", |
| "\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afe", |
| "eee\",palevioletred:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffd", |
| "ab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#", |
| "b0e0e6\",purple:\"#800080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royal", |
| "blue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:", |
| "\"#f4a460\",seagreen:\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522", |
| "d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slateg", |
| "ray:\"#708090\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#0", |
| "0ff7f\",steelblue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:", |
| "\"#d8bfd8\",tomato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\"", |
| ",wheat:\"#f5deb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#f", |
| "fff00\",yellowgreen:\"#9acd32\"};var Pa=\"backgroundColor borderTopColo", |
| "r borderRightColor borderBottomColor borderLeftColor color outlineColor", |
| "\".split(\" \"),Qa=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Ra=/^#(?:", |
| "[0-9a-f]{3}){1,2}$/i,Sa=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(", |
| "\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,Ta=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),", |
| "\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function Ua(a,b){b=b.", |
| "toLowerCase();if(\"style\"==b)return Va(a.style.cssText);var c=a.getAtt", |
| "ributeNode(b);return c&&c.specified?c.value:null}var Wa=/[;]+(?=(?:(?:[", |
| "^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*", |
| "\\))*[^()]*$)/;function Va(a){var b=[];w(a.split(Wa),function(a){var d=", |
| "a.indexOf(\":\");0<d&&(a=[a.slice(0,d),a.slice(d+1)],2==a.length&&b.pus", |
| "h(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"", |
| "==b.charAt(b.length-1)?b:b+\";\"}\nfunction D(a,b){return!!a&&1==a.node", |
| "Type&&(!b||a.tagName.toUpperCase()==b)};/*\n\n The MIT License\n\n Copy", |
| "right (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n\n P", |
| "ermission is hereby granted, free of charge, to any person obtaining a ", |
| "copy\n of this software and associated documentation files (the \"Softw", |
| "are\"), to\n deal in the Software without restriction, including withou", |
| "t limitation the\n rights to use, copy, modify, merge, publish, distrib", |
| "ute, sublicense, and/or\n sell copies of the Software, and to permit pe", |
| "rsons to whom the Software is\n furnished to do so, subject to the foll", |
| "owing conditions:\n\n The above copyright notice and this permission no", |
| "tice shall be included in\n all copies or substantial portions of the S", |
| "oftware.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF AN", |
| "Y KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTI", |
| "ES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRIN", |
| "GEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE ", |
| "FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CO", |
| "NTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH", |
| " THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunc", |
| "tion Xa(a,b,c){this.m=a;this.ua=b||1;this.j=c||1};function Ya(a){this.W", |
| "=a;this.M=0}function Za(a){a=a.match($a);for(var b=0;b<a.length;b++)ab.", |
| "test(a[b])&&a.splice(b,1);return new Ya(a)}var $a=RegExp(\"\\\\$?(?:(?!", |
| "[0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.])(?:\\\\*|[\\\\w-", |
| "\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+|", |
| "\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),ab=/^\\s/;function E(", |
| "a,b){return a.W[a.M+(b||0)]}Ya.prototype.next=function(){return this.W[", |
| "this.M++]};Ya.prototype.back=function(){this.M--};Ya.prototype.empty=fu", |
| "nction(){return this.W.length<=this.M};function F(a){var b=null,c=a.nod", |
| "eType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void ", |
| "0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.d", |
| "ocumentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeTyp", |
| "e&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].n", |
| "extSibling););}}else b=a.nodeValue;return\"\"+b}\nfunction bb(a,b,c){if", |
| "(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}re", |
| "turn null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function cb(a,b", |
| ",c,d,e){return db.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new G)}\nfun", |
| "ction db(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElement", |
| "sByName(d),w(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByCla", |
| "ssName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),w(b,function(b){", |
| "b.className==d&&a.matches(b)&&e.add(b)})):a instanceof H?eb(a,b,c,d,e):", |
| "b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),w(b,func", |
| "tion(a){bb(a,c,d)&&e.add(a)}));return e}function fb(a,b,c,d,e){for(b=b.", |
| "firstChild;b;b=b.nextSibling)bb(b,c,d)&&a.matches(b)&&e.add(b);return e", |
| "}\nfunction eb(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)bb(b,c,d", |
| ")&&a.matches(b)&&e.add(b),eb(a,b,c,d,e)};function G(){this.j=this.g=nul", |
| "l;this.H=0}function gb(a){this.node=a;this.next=this.B=null}function hb", |
| "(a,b){if(!a.g)return b;if(!b.g)return a;for(var c=a.g,d=b.g,e=null,f,g=", |
| "0;c&&d;)c.node==d.node?(f=c,c=c.next,d=d.next):0<Ia(c.node,d.node)?(f=d", |
| ",d=d.next):(f=c,c=c.next),(f.B=e)?e.next=f:a.g=f,e=f,g++;for(f=c||d;f;)", |
| "f.B=e,e=e.next=f,g++,f=f.next;a.j=e;a.H=g;return a}G.prototype.unshift=", |
| "function(a){a=new gb(a);a.next=this.g;this.j?this.g.B=a:this.g=this.j=a", |
| ";this.g=a;this.H++};\nG.prototype.add=function(a){a=new gb(a);a.B=this.", |
| "j;this.g?this.j.next=a:this.g=this.j=a;this.j=a;this.H++};function ib(a", |
| "){return(a=a.g)?a.node:null}G.prototype.s=function(){return this.H};fun", |
| "ction jb(a){return(a=ib(a))?F(a):\"\"}G.prototype.iterator=function(a){", |
| "return new kb(this,!!a)};function kb(a,b){this.qa=a;this.Z=(this.C=b)?a", |
| ".j:a.g;this.T=null}kb.prototype.next=function(){var a=this.Z;if(null==a", |
| ")return null;var b=this.T=a;this.Z=this.C?a.B:a.next;return b.node};\nk", |
| "b.prototype.remove=function(){var a=this.qa,b=this.T;if(!b)throw Error(", |
| "\"Next must be called at least once before remove.\");var c=b.B,b=b.nex", |
| "t;c?c.next=b:a.g=b;b?b.B=c:a.j=c;a.H--;this.T=null};function I(a){this.", |
| "f=a;this.h=this.u=!1;this.I=null}function J(a){return\"\\n \"+a.toStri", |
| "ng().split(\"\\n\").join(\"\\n \")}I.prototype.c=function(){return thi", |
| "s.u};function lb(a,b){a.u=b}function mb(a,b){a.h=b}I.prototype.w=functi", |
| "on(){return this.I};function K(a,b){var c=a.evaluate(b);return c instan", |
| "ceof G?+jb(c):+c}function L(a,b){var c=a.evaluate(b);return c instanceo", |
| "f G?jb(c):\"\"+c}function nb(a,b){var c=a.evaluate(b);return c instance", |
| "of G?!!c.s():!!c};function ob(a,b,c){I.call(this,a.f);this.V=a;this.ca=", |
| "b;this.ia=c;this.u=b.c()||c.c();this.h=b.h||c.h;this.V==pb&&(c.h||c.c()", |
| "||4==c.f||0==c.f||!b.w()?b.h||b.c()||4==b.f||0==b.f||!c.w()||(this.I={n", |
| "ame:c.w().name,F:b}):this.I={name:b.w().name,F:c})}r(ob,I);\nfunction q", |
| "b(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);var f;if(b instanceof G&&c", |
| " instanceof G){b=b.iterator();for(d=b.next();d;d=b.next())for(e=c.itera", |
| "tor(),f=e.next();f;f=e.next())if(a(F(d),F(f)))return!0;return!1}if(b in", |
| "stanceof G||c instanceof G){b instanceof G?(e=b,d=c):(e=c,d=b);f=e.iter", |
| "ator();for(var g=typeof d,h=f.next();h;h=f.next()){switch(g){case \"num", |
| "ber\":h=+F(h);break;case \"boolean\":h=!!F(h);break;case \"string\":h=F", |
| "(h);break;default:throw Error(\"Illegal primitive type for comparison.", |
| "\");\n}if(e==b&&a(h,d)||e==c&&a(d,h))return!0}return!1}return e?\"boole", |
| "an\"==typeof b||\"boolean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||", |
| "\"number\"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}ob.prototype.evaluate=fun", |
| "ction(a){return this.V.o(this.ca,this.ia,a)};ob.prototype.toString=func", |
| "tion(){var a=\"Binary Expression: \"+this.V,a=a+J(this.ca);return a+=J(", |
| "this.ia)};function rb(a,b,c,d){this.ta=a;this.ga=b;this.f=c;this.o=d}rb", |
| ".prototype.toString=function(){return this.ta};var sb={};\nfunction N(a", |
| ",b,c,d){if(sb.hasOwnProperty(a))throw Error(\"Binary operator already c", |
| "reated: \"+a);a=new rb(a,b,c,d);return sb[a.toString()]=a}N(\"div\",6,1", |
| ",function(a,b,c){return K(a,c)/K(b,c)});N(\"mod\",6,1,function(a,b,c){r", |
| "eturn K(a,c)%K(b,c)});N(\"*\",6,1,function(a,b,c){return K(a,c)*K(b,c)}", |
| ");N(\"+\",5,1,function(a,b,c){return K(a,c)+K(b,c)});N(\"-\",5,1,functi", |
| "on(a,b,c){return K(a,c)-K(b,c)});N(\"<\",4,2,function(a,b,c){return qb(", |
| "function(a,b){return a<b},a,b,c)});\nN(\">\",4,2,function(a,b,c){return", |
| " qb(function(a,b){return a>b},a,b,c)});N(\"<=\",4,2,function(a,b,c){ret", |
| "urn qb(function(a,b){return a<=b},a,b,c)});N(\">=\",4,2,function(a,b,c)", |
| "{return qb(function(a,b){return a>=b},a,b,c)});var pb=N(\"=\",3,2,funct", |
| "ion(a,b,c){return qb(function(a,b){return a==b},a,b,c,!0)});N(\"!=\",3,", |
| "2,function(a,b,c){return qb(function(a,b){return a!=b},a,b,c,!0)});N(\"", |
| "and\",2,2,function(a,b,c){return nb(a,c)&&nb(b,c)});N(\"or\",1,2,functi", |
| "on(a,b,c){return nb(a,c)||nb(b,c)});function tb(a,b){if(b.s()&&4!=a.f)t", |
| "hrow Error(\"Primary expression must evaluate to nodeset if filter has ", |
| "predicate(s).\");I.call(this,a.f);this.ha=a;this.b=b;this.u=a.c();this.", |
| "h=a.h}r(tb,I);tb.prototype.evaluate=function(a){a=this.ha.evaluate(a);r", |
| "eturn ub(this.b,a)};tb.prototype.toString=function(){var a;a=\"Filter:", |
| "\"+J(this.ha);return a+=J(this.b)};function vb(a,b){if(b.length<a.fa)th", |
| "row Error(\"Function \"+a.i+\" expects at least\"+a.fa+\" arguments, \"", |
| "+b.length+\" given\");if(null!==a.U&&b.length>a.U)throw Error(\"Functio", |
| "n \"+a.i+\" expects at most \"+a.U+\" arguments, \"+b.length+\" given\"", |
| ");a.ra&&w(b,function(b,d){if(4!=b.f)throw Error(\"Argument \"+d+\" to f", |
| "unction \"+a.i+\" is not of type Nodeset: \"+b);});I.call(this,a.f);thi", |
| "s.L=a;this.R=b;lb(this,a.u||va(b,function(a){return a.c()}));mb(this,a.", |
| "pa&&!b.length||a.oa&&!!b.length||va(b,function(a){return a.h}))}\nr(vb,", |
| "I);vb.prototype.evaluate=function(a){return this.L.o.apply(null,ya(a,th", |
| "is.R))};vb.prototype.toString=function(){var a=\"Function: \"+this.L;if", |
| "(this.R.length)var b=ua(this.R,function(a,b){return a+J(b)},\"Arguments", |
| ":\"),a=a+J(b);return a};function wb(a,b,c,d,e,f,g,h,t){this.i=a;this.f=", |
| "b;this.u=c;this.pa=d;this.oa=e;this.o=f;this.fa=g;this.U=l(h)?h:g;this.", |
| "ra=!!t}wb.prototype.toString=function(){return this.i};var xb={};\nfunc", |
| "tion O(a,b,c,d,e,f,g,h){if(xb.hasOwnProperty(a))throw Error(\"Function ", |
| "already created: \"+a+\".\");xb[a]=new wb(a,b,c,d,!1,e,f,g,h)}O(\"boole", |
| "an\",2,!1,!1,function(a,b){return nb(b,a)},1);O(\"ceiling\",1,!1,!1,fun", |
| "ction(a,b){return Math.ceil(K(b,a))},1);O(\"concat\",3,!1,!1,function(a", |
| ",b){return ua(Aa(arguments,1),function(b,d){return b+L(d,a)},\"\")},2,n", |
| "ull);O(\"contains\",2,!1,!1,function(a,b,c){b=L(b,a);a=L(c,a);return-1!", |
| "=b.indexOf(a)},2);O(\"count\",1,!1,!1,function(a,b){return b.evaluate(a", |
| ").s()},1,1,!0);\nO(\"false\",2,!1,!1,function(){return!1},0);O(\"floor", |
| "\",1,!1,!1,function(a,b){return Math.floor(K(b,a))},1);O(\"id\",4,!1,!1", |
| ",function(a,b){var c=a.m,d=9==c.nodeType?c:c.ownerDocument,c=L(b,a).spl", |
| "it(/\\s+/),e=[];w(c,function(a){a=d.getElementById(a);!a||0<=sa(e,a)||e", |
| ".push(a)});e.sort(Ia);var f=new G;w(e,function(a){f.add(a)});return f},", |
| "1);O(\"lang\",2,!1,!1,function(){return!1},1);O(\"last\",1,!0,!1,functi", |
| "on(a){if(1!=arguments.length)throw Error(\"Function last expects ()\");", |
| "return a.j},0);\nO(\"local-name\",3,!1,!0,function(a,b){var c=b?ib(b.ev", |
| "aluate(a)):a.m;return c?c.localName||c.nodeName.toLowerCase():\"\"},0,1", |
| ",!0);O(\"name\",3,!1,!0,function(a,b){var c=b?ib(b.evaluate(a)):a.m;ret", |
| "urn c?c.nodeName.toLowerCase():\"\"},0,1,!0);O(\"namespace-uri\",3,!0,!", |
| "1,function(){return\"\"},0,1,!0);O(\"normalize-space\",3,!1,!0,function", |
| "(a,b){return(b?L(b,a):F(a.m)).replace(/[\\s\\xa0]+/g,\" \").replace(/^", |
| "\\s+|\\s+$/g,\"\")},0,1);O(\"not\",2,!1,!1,function(a,b){return!nb(b,a)", |
| "},1);\nO(\"number\",1,!1,!0,function(a,b){return b?K(b,a):+F(a.m)},0,1)", |
| ";O(\"position\",1,!0,!1,function(a){return a.ua},0);O(\"round\",1,!1,!1", |
| ",function(a,b){return Math.round(K(b,a))},1);O(\"starts-with\",2,!1,!1,", |
| "function(a,b,c){b=L(b,a);a=L(c,a);return 0==b.lastIndexOf(a,0)},2);O(\"", |
| "string\",3,!1,!0,function(a,b){return b?L(b,a):F(a.m)},0,1);O(\"string-", |
| "length\",1,!1,!0,function(a,b){return(b?L(b,a):F(a.m)).length},0,1);\nO", |
| "(\"substring\",3,!1,!1,function(a,b,c,d){c=K(c,a);if(isNaN(c)||Infinity", |
| "==c||-Infinity==c)return\"\";d=d?K(d,a):Infinity;if(isNaN(d)||-Infinity", |
| "===d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=L(b,a);return I", |
| "nfinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);O(\"subs", |
| "tring-after\",3,!1,!1,function(a,b,c){b=L(b,a);a=L(c,a);c=b.indexOf(a);", |
| "return-1==c?\"\":b.substring(c+a.length)},2);\nO(\"substring-before\",3", |
| ",!1,!1,function(a,b,c){b=L(b,a);a=L(c,a);a=b.indexOf(a);return-1==a?\"", |
| "\":b.substring(0,a)},2);O(\"sum\",1,!1,!1,function(a,b){for(var c=b.eva", |
| "luate(a).iterator(),d=0,e=c.next();e;e=c.next())d+=+F(e);return d},1,1,", |
| "!0);O(\"translate\",3,!1,!1,function(a,b,c,d){b=L(b,a);c=L(c,a);var e=L", |
| "(d,a);a={};for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.ch", |
| "arAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;r", |
| "eturn c},3);O(\"true\",2,!1,!1,function(){return!0},0);function H(a,b){", |
| "this.la=a;this.da=l(b)?b:null;this.D=null;switch(a){case \"comment\":th", |
| "is.D=8;break;case \"text\":this.D=3;break;case \"processing-instruction", |
| "\":this.D=7;break;case \"node\":break;default:throw Error(\"Unexpected ", |
| "argument\");}}function yb(a){return\"comment\"==a||\"text\"==a||\"proce", |
| "ssing-instruction\"==a||\"node\"==a}H.prototype.matches=function(a){ret", |
| "urn null===this.D||this.D==a.nodeType};H.prototype.getName=function(){r", |
| "eturn this.la};\nH.prototype.toString=function(){var a=\"Kind Test: \"+", |
| "this.la;null===this.da||(a+=J(this.da));return a};function zb(a){I.call", |
| "(this,3);this.ka=a.substring(1,a.length-1)}r(zb,I);zb.prototype.evaluat", |
| "e=function(){return this.ka};zb.prototype.toString=function(){return\"L", |
| "iteral: \"+this.ka};function Ab(a,b){this.i=a.toLowerCase();var c;c=\"*", |
| "\"==this.i?\"*\":\"http://www.w3.org/1999/xhtml\";this.N=b?b.toLowerCas", |
| "e():c}Ab.prototype.matches=function(a){var b=a.nodeType;if(1!=b&&2!=b)r", |
| "eturn!1;b=l(a.localName)?a.localName:a.nodeName;return\"*\"!=this.i&&th", |
| "is.i!=b.toLowerCase()?!1:\"*\"==this.N?!0:this.N==(a.namespaceURI?a.nam", |
| "espaceURI.toLowerCase():\"http://www.w3.org/1999/xhtml\")};Ab.prototype", |
| ".getName=function(){return this.i};\nAb.prototype.toString=function(){r", |
| "eturn\"Name Test: \"+(\"http://www.w3.org/1999/xhtml\"==this.N?\"\":thi", |
| "s.N+\":\")+this.i};function Bb(a){I.call(this,1);this.ma=a}r(Bb,I);Bb.p", |
| "rototype.evaluate=function(){return this.ma};Bb.prototype.toString=func", |
| "tion(){return\"Number: \"+this.ma};function Cb(a,b){I.call(this,a.f);th", |
| "is.aa=a;this.J=b;this.u=a.c();this.h=a.h;if(1==this.J.length){var c=thi", |
| "s.J[0];c.S||c.v!=Db||(c=c.P,\"*\"!=c.getName()&&(this.I={name:c.getName", |
| "(),F:null}))}}r(Cb,I);function Eb(){I.call(this,4)}r(Eb,I);Eb.prototype", |
| ".evaluate=function(a){var b=new G;a=a.m;9==a.nodeType?b.add(a):b.add(a.", |
| "ownerDocument);return b};Eb.prototype.toString=function(){return\"Root ", |
| "Helper Expression\"};function Fb(){I.call(this,4)}r(Fb,I);\nFb.prototyp", |
| "e.evaluate=function(a){var b=new G;b.add(a.m);return b};Fb.prototype.to", |
| "String=function(){return\"Context Helper Expression\"};function Gb(a){r", |
| "eturn\"/\"==a||\"//\"==a}\nCb.prototype.evaluate=function(a){var b=this", |
| ".aa.evaluate(a);if(!(b instanceof G))throw Error(\"Filter expression mu", |
| "st evaluate to nodeset.\");a=this.J;for(var c=0,d=a.length;c<d&&b.s();c", |
| "++){var e=a[c],f=b.iterator(e.v.C),g;if(e.c()||e.v!=Hb)if(e.c()||e.v!=I", |
| "b)for(g=f.next(),b=e.evaluate(new Xa(g));null!=(g=f.next());)g=e.evalua", |
| "te(new Xa(g)),b=hb(b,g);else g=f.next(),b=e.evaluate(new Xa(g));else{fo", |
| "r(g=f.next();(b=f.next())&&(!g.contains||g.contains(b))&&b.compareDocum", |
| "entPosition(g)&8;g=b);b=e.evaluate(new Xa(g))}}return b};\nCb.prototype", |
| ".toString=function(){var a;a=\"Path Expression:\"+J(this.aa);if(this.J.", |
| "length){var b=ua(this.J,function(a,b){return a+J(b)},\"Steps:\");a+=J(b", |
| ")}return a};function P(a,b){this.b=a;this.C=!!b}function ub(a,b,c){for(", |
| "c=c||0;c<a.b.length;c++)for(var d=a.b[c],e=b.iterator(),f=b.s(),g,h=0;g", |
| "=e.next();h++){var t=a.C?f-h:h+1;g=d.evaluate(new Xa(g,t,f));if(\"numbe", |
| "r\"==typeof g)t=t==g;else if(\"string\"==typeof g||\"boolean\"==typeof ", |
| "g)t=!!g;else if(g instanceof G)t=0<g.s();else throw Error(\"Predicate.e", |
| "valuate returned an unexpected type.\");t||e.remove()}return b}P.protot", |
| "ype.w=function(){return 0<this.b.length?this.b[0].w():null};\nP.prototy", |
| "pe.c=function(){for(var a=0;a<this.b.length;a++){var b=this.b[a];if(b.c", |
| "()||1==b.f||0==b.f)return!0}return!1};P.prototype.s=function(){return t", |
| "his.b.length};P.prototype.toString=function(){return ua(this.b,function", |
| "(a,b){return a+J(b)},\"Predicates:\")};function Q(a,b,c,d){I.call(this,", |
| "4);this.v=a;this.P=b;this.b=c||new P([]);this.S=!!d;b=this.b.w();a.va&&", |
| "b&&(this.I={name:b.name,F:b.F});this.u=this.b.c()}r(Q,I);\nQ.prototype.", |
| "evaluate=function(a){var b=a.m,c=this.w(),d=null,e=null,f=0;c&&(d=c.nam", |
| "e,e=c.F?L(c.F,a):null,f=1);if(this.S)if(this.c()||this.v!=Jb)if(b=(new ", |
| "Q(Kb,new H(\"node\"))).evaluate(a).iterator(),c=b.next())for(a=this.o(c", |
| ",d,e,f);null!=(c=b.next());)a=hb(a,this.o(c,d,e,f));else a=new G;else a", |
| "=cb(this.P,b,d,e),a=ub(this.b,a,f);else a=this.o(a.m,d,e,f);return a};Q", |
| ".prototype.o=function(a,b,c,d){a=this.v.L(this.P,a,b,c);return a=ub(thi", |
| "s.b,a,d)};\nQ.prototype.toString=function(){var a;a=\"Step:\"+J(\"Opera", |
| "tor: \"+(this.S?\"//\":\"/\"));this.v.i&&(a+=J(\"Axis: \"+this.v));a+=J", |
| "(this.P);if(this.b.s()){var b=ua(this.b.b,function(a,b){return a+J(b)},", |
| "\"Predicates:\");a+=J(b)}return a};function Lb(a,b,c,d){this.i=a;this.L", |
| "=b;this.C=c;this.va=d}Lb.prototype.toString=function(){return this.i};v", |
| "ar Mb={};function R(a,b,c,d){if(Mb.hasOwnProperty(a))throw Error(\"Axis", |
| " already created: \"+a);b=new Lb(a,b,c,!!d);return Mb[a]=b}\nR(\"ancest", |
| "or\",function(a,b){for(var c=new G,d=b;d=d.parentNode;)a.matches(d)&&c.", |
| "unshift(d);return c},!0);R(\"ancestor-or-self\",function(a,b){var c=new", |
| " G,d=b;do a.matches(d)&&c.unshift(d);while(d=d.parentNode);return c},!0", |
| ");\nvar Db=R(\"attribute\",function(a,b){var c=new G,d=a.getName(),e=b.", |
| "attributes;if(e)if(a instanceof H&&null===a.D||\"*\"==d)for(var d=0,f;f", |
| "=e[d];d++)c.add(f);else(f=e.getNamedItem(d))&&c.add(f);return c},!1),Jb", |
| "=R(\"child\",function(a,b,c,d,e){return fb.call(null,a,b,m(c)?c:null,m(", |
| "d)?d:null,e||new G)},!1,!0);R(\"descendant\",cb,!1,!0);\nvar Kb=R(\"des", |
| "cendant-or-self\",function(a,b,c,d){var e=new G;bb(b,c,d)&&a.matches(b)", |
| "&&e.add(b);return cb(a,b,c,d,e)},!1,!0),Hb=R(\"following\",function(a,b", |
| ",c,d){var e=new G;do for(var f=b;f=f.nextSibling;)bb(f,c,d)&&a.matches(", |
| "f)&&e.add(f),e=cb(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);R(", |
| "\"following-sibling\",function(a,b){for(var c=new G,d=b;d=d.nextSibling", |
| ";)a.matches(d)&&c.add(d);return c},!1);R(\"namespace\",function(){retur", |
| "n new G},!1);\nvar Nb=R(\"parent\",function(a,b){var c=new G;if(9==b.no", |
| "deType)return c;if(2==b.nodeType)return c.add(b.ownerElement),c;var d=b", |
| ".parentNode;a.matches(d)&&c.add(d);return c},!1),Ib=R(\"preceding\",fun", |
| "ction(a,b,c,d){var e=new G,f=[];do f.unshift(b);while(b=b.parentNode);f", |
| "or(var g=1,h=f.length;g<h;g++){var t=[];for(b=f[g];b=b.previousSibling;", |
| ")t.unshift(b);for(var C=0,q=t.length;C<q;C++)b=t[C],bb(b,c,d)&&a.matche", |
| "s(b)&&e.add(b),e=cb(a,b,c,d,e)}return e},!0,!0);\nR(\"preceding-sibling", |
| "\",function(a,b){for(var c=new G,d=b;d=d.previousSibling;)a.matches(d)&", |
| "&c.unshift(d);return c},!0);var Ob=R(\"self\",function(a,b){var c=new G", |
| ";a.matches(b)&&c.add(b);return c},!1);function Pb(a){I.call(this,1);thi", |
| "s.$=a;this.u=a.c();this.h=a.h}r(Pb,I);Pb.prototype.evaluate=function(a)", |
| "{return-K(this.$,a)};Pb.prototype.toString=function(){return\"Unary Exp", |
| "ression: -\"+J(this.$)};function Qb(a){I.call(this,4);this.O=a;lb(this,", |
| "va(this.O,function(a){return a.c()}));mb(this,va(this.O,function(a){ret", |
| "urn a.h}))}r(Qb,I);Qb.prototype.evaluate=function(a){var b=new G;w(this", |
| ".O,function(c){c=c.evaluate(a);if(!(c instanceof G))throw Error(\"Path ", |
| "expression must evaluate to NodeSet.\");b=hb(b,c)});return b};Qb.protot", |
| "ype.toString=function(){return ua(this.O,function(a,b){return a+J(b)},", |
| "\"Union Expression:\")};function Rb(a,b){this.a=a;this.sa=b}function Sb", |
| "(a){for(var b,c=[];;){S(a,\"Missing right hand side of binary expressio", |
| "n.\");b=Tb(a);var d=a.a.next();if(!d)break;var e=(d=sb[d]||null)&&d.ga;", |
| "if(!e){a.a.back();break}for(;c.length&&e<=c[c.length-1].ga;)b=new ob(c.", |
| "pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new ob(c.pop(),c.pop(),b)", |
| ";return b}function S(a,b){if(a.a.empty())throw Error(b);}function Ub(a,", |
| "b){var c=a.a.next();if(c!=b)throw Error(\"Bad token, expected: \"+b+\" ", |
| "got: \"+c);}\nfunction Vb(a){a=a.a.next();if(\")\"!=a)throw Error(\"Bad", |
| " token: \"+a);}function Wb(a){a=a.a.next();if(2>a.length)throw Error(\"", |
| "Unclosed literal string\");return new zb(a)}\nfunction Xb(a){var b,c=[]", |
| ",d;if(Gb(E(a.a))){b=a.a.next();d=E(a.a);if(\"/\"==b&&(a.a.empty()||\".", |
| "\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return", |
| " new Eb;d=new Eb;S(a,\"Missing next location step.\");b=Yb(a,b);c.push(", |
| "b)}else{a:{b=E(a.a);d=b.charAt(0);switch(d){case \"$\":throw Error(\"Va", |
| "riable reference not allowed in HTML XPath\");case \"(\":a.a.next();b=S", |
| "b(a);S(a,'unclosed \"(\"');Ub(a,\")\");break;case '\"':case \"'\":b=Wb(", |
| "a);break;default:if(isNaN(+b))if(!yb(b)&&/(?![0-9])[\\w]/.test(d)&&\"(", |
| "\"==E(a.a,\n1)){b=a.a.next();b=xb[b]||null;a.a.next();for(d=[];\")\"!=E", |
| "(a.a);){S(a,\"Missing function argument list.\");d.push(Sb(a));if(\",\"", |
| "!=E(a.a))break;a.a.next()}S(a,\"Unclosed function argument list.\");Vb(", |
| "a);b=new vb(b,d)}else{b=null;break a}else b=new Bb(+a.a.next())}\"[\"==", |
| "E(a.a)&&(d=new P(Zb(a)),b=new tb(b,d))}if(b)if(Gb(E(a.a)))d=b;else retu", |
| "rn b;else b=Yb(a,\"/\"),d=new Fb,c.push(b)}for(;Gb(E(a.a));)b=a.a.next(", |
| "),S(a,\"Missing next location step.\"),b=Yb(a,b),c.push(b);return new C", |
| "b(d,c)}\nfunction Yb(a,b){var c,d,e;if(\"/\"!=b&&\"//\"!=b)throw Error(", |
| "'Step op should be \"/\" or \"//\"');if(\".\"==E(a.a))return d=new Q(Ob", |
| ",new H(\"node\")),a.a.next(),d;if(\"..\"==E(a.a))return d=new Q(Nb,new ", |
| "H(\"node\")),a.a.next(),d;var f;if(\"@\"==E(a.a))f=Db,a.a.next(),S(a,\"", |
| "Missing attribute name\");else if(\"::\"==E(a.a,1)){if(!/(?![0-9])[\\w]", |
| "/.test(E(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());c=a.a.", |
| "next();f=Mb[c]||null;if(!f)throw Error(\"No axis with name: \"+c);a.a.n", |
| "ext();S(a,\"Missing node name\")}else f=Jb;\nc=E(a.a);if(/(?![0-9])[\\w", |
| "\\*]/.test(c.charAt(0)))if(\"(\"==E(a.a,1)){if(!yb(c))throw Error(\"Inv", |
| "alid node type: \"+c);c=a.a.next();if(!yb(c))throw Error(\"Invalid type", |
| " name: \"+c);Ub(a,\"(\");S(a,\"Bad nodetype\");e=E(a.a).charAt(0);var g", |
| "=null;if('\"'==e||\"'\"==e)g=Wb(a);S(a,\"Bad nodetype\");Vb(a);c=new H(", |
| "c,g)}else if(c=a.a.next(),e=c.indexOf(\":\"),-1==e)c=new Ab(c);else{var", |
| " g=c.substring(0,e),h;if(\"*\"==g)h=\"*\";else if(h=a.sa(g),!h)throw Er", |
| "ror(\"Namespace prefix not declared: \"+g);c=c.substr(e+1);c=new Ab(c,h", |
| ")}else throw Error(\"Bad token: \"+\na.a.next());e=new P(Zb(a),f.C);ret", |
| "urn d||new Q(f,c,e,\"//\"==b)}function Zb(a){for(var b=[];\"[\"==E(a.a)", |
| ";){a.a.next();S(a,\"Missing predicate expression.\");var c=Sb(a);b.push", |
| "(c);S(a,\"Unclosed predicate expression.\");Ub(a,\"]\")}return b}functi", |
| "on Tb(a){if(\"-\"==E(a.a))return a.a.next(),new Pb(Tb(a));var b=Xb(a);i", |
| "f(\"|\"!=E(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)S(a,\"Missing nex", |
| "t union location path.\"),b.push(Xb(a));a.a.back();a=new Qb(b)}return a", |
| "};function $b(a){switch(a.nodeType){case 1:return la(ac,a);case 9:retur", |
| "n $b(a.documentElement);case 11:case 10:case 6:case 12:return bc;defaul", |
| "t:return a.parentNode?$b(a.parentNode):bc}}function bc(){return null}fu", |
| "nction ac(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3.or", |
| "g/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.speci", |
| "fied?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?ac(a.parentNo", |
| "de,b):null};function cc(a,b){if(!a.length)throw Error(\"Empty XPath exp", |
| "ression.\");var c=Za(a);if(c.empty())throw Error(\"Invalid XPath expres", |
| "sion.\");b?p(b)||(b=ka(b.lookupNamespaceURI,b)):b=function(){return nul", |
| "l};var d=Sb(new Rb(c,b));if(!c.empty())throw Error(\"Bad token: \"+c.ne", |
| "xt());this.evaluate=function(a,b){var c=d.evaluate(new Xa(a));return ne", |
| "w T(c,b)}}\nfunction T(a,b){if(0==b)if(a instanceof G)b=4;else if(\"str", |
| "ing\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if(\"boolean", |
| "\"==typeof a)b=3;else throw Error(\"Unexpected evaluation result.\");if", |
| "(2!=b&&1!=b&&3!=b&&!(a instanceof G))throw Error(\"value could not be c", |
| "onverted to the specified type\");this.resultType=b;var c;switch(b){cas", |
| "e 2:this.stringValue=a instanceof G?jb(a):\"\"+a;break;case 1:this.numb", |
| "erValue=a instanceof G?+jb(a):+a;break;case 3:this.booleanValue=a insta", |
| "nceof G?0<a.s():!!a;break;case 4:case 5:case 6:case 7:var d=\na.iterato", |
| "r();c=[];for(var e=d.next();e;e=d.next())c.push(e);this.snapshotLength=", |
| "a.s();this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeV", |
| "alue=ib(a);break;default:throw Error(\"Unknown XPathResult type.\");}va", |
| "r f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw Error(\"iterateNe", |
| "xt called with wrong result type\");return f>=c.length?null:c[f++]};thi", |
| "s.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotItem cal", |
| "led with wrong result type\");return a>=c.length||0>a?null:c[a]}}\nT.AN", |
| "Y_TYPE=0;T.NUMBER_TYPE=1;T.STRING_TYPE=2;T.BOOLEAN_TYPE=3;T.UNORDERED_N", |
| "ODE_ITERATOR_TYPE=4;T.ORDERED_NODE_ITERATOR_TYPE=5;T.UNORDERED_NODE_SNA", |
| "PSHOT_TYPE=6;T.ORDERED_NODE_SNAPSHOT_TYPE=7;T.ANY_UNORDERED_NODE_TYPE=8", |
| ";T.FIRST_ORDERED_NODE_TYPE=9;function dc(a){this.lookupNamespaceURI=$b(", |
| "a)}\nea(\"wgxpath.install\",function(a,b){var c=a||da,d=c.Document&&c.D", |
| "ocument.prototype||c.document;if(!d.evaluate||b)c.XPathResult=T,d.evalu", |
| "ate=function(a,b,c,d){return(new cc(a,c)).evaluate(b,d)},d.createExpres", |
| "sion=function(a,b){return new cc(a,b)},d.createNSResolver=function(a){r", |
| "eturn new dc(a)}});var U={};U.X=function(){var a={ya:\"http://www.w3.or", |
| "g/2000/svg\"};return function(b){return a[b]||null}}();\nU.o=function(a", |
| ",b,c){var d=z(a);if(!d.documentElement)return null;try{for(var e=d.crea", |
| "teNSResolver?d.createNSResolver(d.documentElement):U.X,f={},g=d.getElem", |
| "entsByTagName(\"*\"),h=0;h<g.length;++h){var t=g[h],C=t.namespaceURI;if", |
| "(C&&!f[C]){var q=t.lookupPrefix(C);if(!q)var A=C.match(\".*/(\\\\w+)/?$", |
| "\"),q=A?A[1]:\"xhtml\";f[C]=q}}var M={},V;for(V in f)M[f[V]]=V;e=functi", |
| "on(a){return M[a]||null};try{return d.evaluate(b,a,e,c,null)}catch(Ga){", |
| "if(\"TypeError\"===Ga.name)return e=d.createNSResolver?d.createNSResolv", |
| "er(d.documentElement):\nU.X,d.evaluate(b,a,e,c,null);throw Ga;}}catch(G", |
| "a){throw new u(32,\"Unable to locate an element with the xpath expressi", |
| "on \"+b+\" because of the following error:\\n\"+Ga);}};U.Y=function(a,b", |
| "){if(!a||1!=a.nodeType)throw new u(32,'The result of the xpath expressi", |
| "on \"'+b+'\" is: '+a+\". It should be an element.\");};\nU.A=function(a", |
| ",b){var c=function(){var c=U.o(b,a,9);return c?c.singleNodeValue||null:", |
| "b.selectSingleNode?(c=z(b),c.setProperty&&c.setProperty(\"SelectionLang", |
| "uage\",\"XPath\"),b.selectSingleNode(a)):null}();null===c||U.Y(c,a);ret", |
| "urn c};\nU.l=function(a,b){var c=function(){var c=U.o(b,a,7);if(c){for(", |
| "var e=c.snapshotLength,f=[],g=0;g<e;++g)f.push(c.snapshotItem(g));retur", |
| "n f}return b.selectNodes?(c=z(b),c.setProperty&&c.setProperty(\"Selecti", |
| "onLanguage\",\"XPath\"),b.selectNodes(a)):[]}();w(c,function(b){U.Y(b,a", |
| ")});return c};function ec(a,b,c,d){this.top=a;this.right=b;this.bottom=", |
| "c;this.left=d}k=ec.prototype;k.clone=function(){return new ec(this.top,", |
| "this.right,this.bottom,this.left)};k.toString=function(){return\"(\"+th", |
| "is.top+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"}", |
| ";k.contains=function(a){return this&&a?a instanceof ec?a.left>=this.lef", |
| "t&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=thi", |
| "s.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\nk.expand", |
| "=function(a,b,c,d){ha(a)?(this.top-=a.top,this.right+=a.right,this.bott", |
| "om+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this", |
| ".bottom+=Number(c),this.left-=Number(d));return this};k.ceil=function()", |
| "{this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bot", |
| "tom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};", |
| "\nk.floor=function(){this.top=Math.floor(this.top);this.right=Math.floo", |
| "r(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(", |
| "this.left);return this};k.round=function(){this.top=Math.round(this.top", |
| ");this.right=Math.round(this.right);this.bottom=Math.round(this.bottom)", |
| ";this.left=Math.round(this.left);return this};k.translate=function(a,b)", |
| "{a instanceof x?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bott", |
| "om+=a.y):(this.left+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+=b)", |
| ");return this};\nk.scale=function(a,b){var c=n(b)?b:a;this.left*=a;this", |
| ".right*=a;this.top*=c;this.bottom*=c;return this};function W(a,b,c,d){t", |
| "his.left=a;this.top=b;this.width=c;this.height=d}k=W.prototype;k.clone=", |
| "function(){return new W(this.left,this.top,this.width,this.height)};k.t", |
| "oString=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+this.w", |
| "idth+\"w x \"+this.height+\"h)\"};k.contains=function(a){return a insta", |
| "nceof W?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.t", |
| "op<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=th", |
| "is.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};\nk.ceil=", |
| "function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);", |
| "this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);ret", |
| "urn this};k.floor=function(){this.left=Math.floor(this.left);this.top=M", |
| "ath.floor(this.top);this.width=Math.floor(this.width);this.height=Math.", |
| "floor(this.height);return this};k.round=function(){this.left=Math.round", |
| "(this.left);this.top=Math.round(this.top);this.width=Math.round(this.wi", |
| "dth);this.height=Math.round(this.height);return this};\nk.translate=fun", |
| "ction(a,b){a instanceof x?(this.left+=a.x,this.top+=a.y):(this.left+=a,", |
| "n(b)&&(this.top+=b));return this};k.scale=function(a,b){var c=n(b)?b:a;", |
| "this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};func", |
| "tion fc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.no", |
| "deType;)a=a.parentNode;return D(a)?a:null}\nfunction X(a,b){var c=ra(b)", |
| ";if(\"float\"==c||\"cssFloat\"==c||\"styleFloat\"==c)c=\"cssFloat\";var", |
| " d;a:{d=c;var e=z(a);if(e.defaultView&&e.defaultView.getComputedStyle&&", |
| "(e=e.defaultView.getComputedStyle(a,null))){d=e[d]||e.getPropertyValue(", |
| "d)||\"\";break a}d=\"\"}d=d||gc(a,c);if(null===d)d=null;else if(0<=sa(P", |
| "a,c)){b:{var f=d.match(Sa);if(f){var c=Number(f[1]),e=Number(f[2]),g=Nu", |
| "mber(f[3]),f=Number(f[4]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g&&", |
| "0<=f&&1>=f){c=[c,e,g,f];break b}}c=null}if(!c)b:{if(g=d.match(Ta))if(c=", |
| "\nNumber(g[1]),e=Number(g[2]),g=Number(g[3]),0<=c&&255>=c&&0<=e&&255>=e", |
| "&&0<=g&&255>=g){c=[c,e,g,1];break b}c=null}if(!c)b:{c=d.toLowerCase();e", |
| "=Oa[c.toLowerCase()];if(!e&&(e=\"#\"==c.charAt(0)?c:\"#\"+c,4==e.length", |
| "&&(e=e.replace(Qa,\"#$1$1$2$2$3$3\")),!Ra.test(e))){c=null;break b}c=[p", |
| "arseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(", |
| "5,2),16),1]}d=c?\"rgba(\"+c.join(\", \")+\")\":d}return d}\nfunction gc", |
| "(a,b){var c=a.currentStyle||a.style,d=c[b];!l(d)&&p(c.getPropertyValue)", |
| "&&(d=c.getPropertyValue(b));return\"inherit\"!=d?l(d)?d:null:(c=fc(a))?", |
| "gc(c,b):null}\nfunction hc(a,b,c){function d(a){var b=ic(a);return 0<b.", |
| "height&&0<b.width?!0:D(a,\"PATH\")&&(0<b.height||0<b.width)?(a=X(a,\"st", |
| "roke-width\"),!!a&&0<parseInt(a,10)):\"hidden\"!=X(a,\"overflow\")&&va(", |
| "a.childNodes,function(a){return 3==a.nodeType||D(a)&&d(a)})}function e(", |
| "a){return jc(a)==Y&&wa(a.childNodes,function(a){return!D(a)||e(a)||!d(a", |
| ")})}if(!D(a))throw Error(\"Argument to isShown must be of type Element", |
| "\");if(D(a,\"BODY\"))return!0;if(D(a,\"OPTION\")||D(a,\"OPTGROUP\"))ret", |
| "urn a=La(a,function(a){return D(a,\"SELECT\")}),\n!!a&&hc(a,!0,c);var f", |
| "=kc(a);if(f)return!!f.ba&&0<f.rect.width&&0<f.rect.height&&hc(f.ba,b,c)", |
| ";if(D(a,\"INPUT\")&&\"hidden\"==a.type.toLowerCase()||D(a,\"NOSCRIPT\")", |
| ")return!1;f=X(a,\"visibility\");return\"collapse\"!=f&&\"hidden\"!=f&&c", |
| "(a)&&(b||0!=lc(a))&&d(a)?!e(a):!1}function mc(a){function b(a){if(\"non", |
| "e\"==X(a,\"display\"))return!1;a=fc(a);return!a||b(a)}return hc(a,!1,b)", |
| "}var Y=\"hidden\";\nfunction jc(a){function b(a){function b(a){return a", |
| "==g?!0:0==X(a,\"display\").lastIndexOf(\"inline\",0)||\"absolute\"==c&&", |
| "\"static\"==X(a,\"position\")?!1:!0}var c=X(a,\"position\");if(\"fixed", |
| "\"==c)return C=!0,a==g?null:g;for(a=fc(a);a&&!b(a);)a=fc(a);return a}fu", |
| "nction c(a){var b=a;if(\"visible\"==t)if(a==g&&h)b=h;else if(a==h)retur", |
| "n{x:\"visible\",y:\"visible\"};b={x:X(b,\"overflow-x\"),y:X(b,\"overflo", |
| "w-y\")};a==g&&(b.x=\"visible\"==b.x?\"auto\":b.x,b.y=\"visible\"==b.y?", |
| "\"auto\":b.y);return b}function d(a){if(a==g){var b=(new Ca(f)).G;\na=b", |
| ".scrollingElement?b.scrollingElement:b.body||b.documentElement;b=b.pare", |
| "ntWindow||b.defaultView;a=new x(b.pageXOffset||a.scrollLeft,b.pageYOffs", |
| "et||a.scrollTop)}else a=new x(a.scrollLeft,a.scrollTop);return a}var e=", |
| "nc(a),f=z(a),g=f.documentElement,h=f.body,t=X(g,\"overflow\"),C;for(a=b", |
| "(a);a;a=b(a)){var q=c(a);if(\"visible\"!=q.x||\"visible\"!=q.y){var A=i", |
| "c(a);if(0==A.width||0==A.height)return Y;var M=e.right<A.left,V=e.botto", |
| "m<A.top;if(M&&\"hidden\"==q.x||V&&\"hidden\"==q.y)return Y;if(M&&\"visi", |
| "ble\"!=q.x||V&&\n\"visible\"!=q.y){M=d(a);V=e.bottom<A.top-M.y;if(e.rig", |
| "ht<A.left-M.x&&\"visible\"!=q.x||V&&\"visible\"!=q.x)return Y;e=jc(a);r", |
| "eturn e==Y?Y:\"scroll\"}M=e.left>=A.left+A.width;A=e.top>=A.top+A.heigh", |
| "t;if(M&&\"hidden\"==q.x||A&&\"hidden\"==q.y)return Y;if(M&&\"visible\"!", |
| "=q.x||A&&\"visible\"!=q.y){if(C&&(q=d(a),e.left>=g.scrollWidth-q.x||e.r", |
| "ight>=g.scrollHeight-q.y))return Y;e=jc(a);return e==Y?Y:\"scroll\"}}}r", |
| "eturn\"none\"}\nfunction ic(a){var b=kc(a);if(b)return b.rect;if(D(a,\"", |
| "HTML\"))return a=z(a),a=((a?a.parentWindow||a.defaultView:window)||wind", |
| "ow).document,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=", |
| "new Ba(a.clientWidth,a.clientHeight),new W(0,0,a.width,a.height);var c;", |
| "try{c=a.getBoundingClientRect()}catch(d){return new W(0,0,0,0)}return n", |
| "ew W(c.left,c.top,c.right-c.left,c.bottom-c.top)}\nfunction kc(a){var b", |
| "=D(a,\"MAP\");if(!b&&!D(a,\"AREA\"))return null;var c=b?a:D(a.parentNod", |
| "e,\"MAP\")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=U.A('/descenda", |
| "nt::*[@usemap = \"#'+c.name+'\"]',z(c)))&&(e=ic(d),b||\"default\"==a.sh", |
| "ape.toLowerCase()||(a=oc(a),b=Math.min(Math.max(a.left,0),e.width),c=Ma", |
| "th.min(Math.max(a.top,0),e.height),e=new W(b+e.left,c+e.top,Math.min(a.", |
| "width,e.width-b),Math.min(a.height,e.height-c))));return{ba:d,rect:e||n", |
| "ew W(0,0,0,0)}}\nfunction oc(a){var b=a.shape.toLowerCase();a=a.coords.", |
| "split(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return new ", |
| "W(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new W(", |
| "a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[0],c=a[1", |
| "],d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c", |
| "=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new W(b,c,d-b,e-c)}retu", |
| "rn new W(0,0,0,0)}function nc(a){a=ic(a);return new ec(a.top,a.left+a.w", |
| "idth,a.top+a.height,a.left)}\nfunction pc(a){return a.replace(/^[^\\S", |
| "\\xa0]+|[^\\S\\xa0]+$/g,\"\")}function qc(a){var b=[];rc(a,b);var c=b;a", |
| "=c.length;for(var b=Array(a),c=m(c)?c.split(\"\"):c,d=0;d<a;d++)d in c&", |
| "&(b[d]=pc.call(void 0,c[d]));return pc(b.join(\"\\n\")).replace(/\\xa0/", |
| "g,\" \")}\nfunction sc(a,b,c){if(D(a,\"BR\"))b.push(\"\");else{var d=D(", |
| "a,\"TD\"),e=X(a,\"display\"),f=!d&&!(0<=sa(tc,e)),g=l(a.previousElement", |
| "Sibling)?a.previousElementSibling:Fa(a.previousSibling),g=g?X(g,\"displ", |
| "ay\"):\"\",h=X(a,\"float\")||X(a,\"cssFloat\")||X(a,\"styleFloat\");!f|", |
| "|\"run-in\"==g&&\"none\"==h||/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")|", |
| "|b.push(\"\");var t=mc(a),C=null,q=null;t&&(C=X(a,\"white-space\"),q=X(", |
| "a,\"text-transform\"));w(a.childNodes,function(a){c(a,b,t,C,q)});a=b[b.", |
| "length-1]||\"\";!d&&\"table-cell\"!=e||!a||pa(a)||(b[b.length-\n1]+=\" ", |
| "\");f&&\"run-in\"!=e&&!/^[\\s\\xa0]*$/.test(a)&&b.push(\"\")}}function ", |
| "rc(a,b){sc(a,b,function(a,b,e,f,g){3==a.nodeType&&e?uc(a,b,f,g):D(a)&&r", |
| "c(a,b)})}var tc=\"inline inline-block inline-table none table-cell tabl", |
| "e-column table-column-group\".split(\" \");\nfunction uc(a,b,c,d){a=a.n", |
| "odeValue.replace(/[\\u200b\\u200e\\u200f]/g,\"\");a=a.replace(/(\\r\\n|", |
| "\\r|\\n)/g,\"\\n\");if(\"normal\"==c||\"nowrap\"==c)a=a.replace(/\\n/g,", |
| "\" \");a=\"pre\"==c||\"pre-wrap\"==c?a.replace(/[ \\f\\t\\v\\u2028\\u20", |
| "29]/g,\"\\u00a0\"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");\"", |
| "capitalize\"==d?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.", |
| "toUpperCase()}):\"uppercase\"==d?a=a.toUpperCase():\"lowercase\"==d&&(a", |
| "=a.toLowerCase());c=b.pop()||\"\";pa(c)&&0==a.lastIndexOf(\" \",0)&&(a=", |
| "a.substr(1));b.push(c+a)}\nfunction lc(a){var b=1,c=X(a,\"opacity\");c&", |
| "&(b=Number(c));(a=fc(a))&&(b*=lc(a));return b};var vc={K:function(a,b){", |
| "return!(!a.querySelectorAll||!a.querySelector)&&!/^\\d.*/.test(b)},A:fu", |
| "nction(a,b){var c=y(b),d=m(a)?c.G.getElementById(a):a;return d?Ua(d,\"i", |
| "d\")==a&&Ha(b,d)?d:xa(B(c,\"*\"),function(c){return Ua(c,\"id\")==a&&Ha", |
| "(b,c)}):null},l:function(a,b){if(!a)return[];if(vc.K(b,a))try{return b.", |
| "querySelectorAll(\"#\"+vc.na(a))}catch(d){return[]}var c=B(y(b),\"*\",n", |
| "ull,b);return ta(c,function(b){return Ua(b,\"id\")==a})},na:function(a)", |
| "{return a.replace(/(['\"\\\\#.:;,!?+<>=~*^$|%&@`{}\\-\\/\\[\\]\\(\\)])/", |
| "g,\n\"\\\\$1\")}};var Z={},wc={};Z.ja=function(a,b,c){var d;try{d=Na.l(", |
| "\"a\",b)}catch(e){d=B(y(b),\"A\",null,b)}return xa(d,function(b){b=qc(b", |
| ");return c&&-1!=b.indexOf(a)||b==a})};Z.ea=function(a,b,c){var d;try{d=", |
| "Na.l(\"a\",b)}catch(e){d=B(y(b),\"A\",null,b)}return ta(d,function(b){b", |
| "=qc(b);return c&&-1!=b.indexOf(a)||b==a})};Z.A=function(a,b){return Z.j", |
| "a(a,b,!1)};Z.l=function(a,b){return Z.ea(a,b,!1)};wc.A=function(a,b){re", |
| "turn Z.ja(a,b,!0)};wc.l=function(a,b){return Z.ea(a,b,!0)};var xc={A:fu", |
| "nction(a,b){if(\"\"===a)throw new u(32,'Unable to locate an element wit", |
| "h the tagName \"\"');return b.getElementsByTagName(a)[0]||null},l:funct", |
| "ion(a,b){if(\"\"===a)throw new u(32,'Unable to locate an element with t", |
| "he tagName \"\"');return b.getElementsByTagName(a)}};var yc={className:", |
| "Ma,\"class name\":Ma,css:Na,\"css selector\":Na,id:vc,linkText:Z,\"link", |
| " text\":Z,name:{A:function(a,b){var c=B(y(b),\"*\",null,b);return xa(c,", |
| "function(b){return Ua(b,\"name\")==a})},l:function(a,b){var c=B(y(b),\"", |
| "*\",null,b);return ta(c,function(b){return Ua(b,\"name\")==a})}},partia", |
| "lLinkText:wc,\"partial link text\":wc,tagName:xc,\"tag name\":xc,xpath:", |
| "U};ea(\"_\",function(a,b){var c;a:{for(c in a)if(a.hasOwnProperty(c))br", |
| "eak a;c=null}if(c){var d=yc[c];if(d&&p(d.l))return d.l(a[c],b||ma.docum", |
| "ent)}throw Error(\"Unsupported locator strategy: \"+c);});; return this", |
| "._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?", |
| "window.navigator:null,document:typeof window!='undefined'?window.docume", |
| "nt:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_EFFECTIVE_STYLE[] = { |
| "function(){return function(){var aa=\"function\"==typeof Object.defineP", |
| "roperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw n", |
| "ew TypeError(\"ES3 does not support getters and setters.\");a!=Array.pr", |
| "ototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeof ", |
| "window&&window===this?this:\"undefined\"!=typeof global?global:this;\nf", |
| "unction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1;e+", |
| "+){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!", |
| "=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"Stri", |
| "ng.prototype.repeat\",function(a){return a?a:function(a){var c;if(null=", |
| "=this)throw new TypeError(\"The 'this' value for String.prototype.repea", |
| "t must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)thr", |
| "ow new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if(a&", |
| "1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){return a", |
| "?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var da=", |
| "this;\nfunction ea(a,b){var c=a.split(\".\"),d=da;c[0]in d||!d.execScri", |
| "pt||d.execScript(\"var \"+c[0]);for(var e;c.length&&(e=c.shift());)c.le", |
| "ngth||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b}\nfunction fa(a){var b=type", |
| "of a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ", |
| "instanceof Object)return b;var c=Object.prototype.toString.call(a);if(", |
| "\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"num", |
| "ber\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=", |
| "typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))retu", |
| "rn\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&", |
| "\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(", |
| "\"call\"))return\"function\"}else return\"null\";\nelse if(\"function\"", |
| "==b&&\"undefined\"==typeof a.call)return\"object\";return b}function h(", |
| "a){return\"string\"==typeof a}function ga(a,b,c){return a.call.apply(a.", |
| "bind,arguments)}function ha(a,b,c){if(!a)throw Error();if(2<arguments.l", |
| "ength){var d=Array.prototype.slice.call(arguments,2);return function(){", |
| "var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.app", |
| "ly(c,d);return a.apply(b,c)}}return function(){return a.apply(b,argumen", |
| "ts)}}\nfunction ia(a,b,c){ia=Function.prototype.bind&&-1!=Function.prot", |
| "otype.bind.toString().indexOf(\"native code\")?ga:ha;return ia.apply(nu", |
| "ll,arguments)}function ja(a,b){var c=Array.prototype.slice.call(argumen", |
| "ts,1);return function(){var b=c.slice();b.push.apply(b,arguments);retur", |
| "n a.apply(this,b)}}\nfunction l(a){var b=m;function c(){}c.prototype=b.", |
| "prototype;a.na=b.prototype;a.prototype=new c;a.prototype.constructor=a;", |
| "a.ma=function(a,c,f){for(var g=Array(arguments.length-2),k=2;k<argument", |
| "s.length;k++)g[k-2]=arguments[k];return b.prototype[c].apply(a,g)}};fun", |
| "ction ka(a){return String(a).replace(/\\-([a-z])/g,function(a,c){return", |
| " c.toUpperCase()})};function ma(a,b){if(h(a))return h(b)&&1==b.length?a", |
| ".indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return ", |
| "c;return-1}function n(a,b){for(var c=a.length,d=h(a)?a.split(\"\"):a,e=", |
| "0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)}function p(a,b,c){var d=c;n(a", |
| ",function(c,f){d=b.call(void 0,d,c,f,a)});return d}function q(a,b){for(", |
| "var c=a.length,d=h(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(voi", |
| "d 0,d[e],e,a))return!0;return!1}\nfunction na(a){return Array.prototype", |
| ".concat.apply(Array.prototype,arguments)}function oa(a,b,c){return 2>=a", |
| "rguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.c", |
| "all(a,b,c)};var pa={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua", |
| ":\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\"", |
| ",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:", |
| "\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb88", |
| "7\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",", |
| "coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crims", |
| "on:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b", |
| "\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\"", |
| ",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",d", |
| "arkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\"", |
| ",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",da", |
| "rkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f", |
| "4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff149", |
| "3\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dod", |
| "gerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",fores", |
| "tgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostwhi", |
| "te:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808080\",", |
| "green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",honeydew:\"#", |
| "f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",i", |
| "vory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblush:", |
| "\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"", |
| "#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodye", |
| "llow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey", |
| ":\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlightseagr", |
| "een:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lig", |
| "htslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe", |
| "0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"", |
| "#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"", |
| "#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumseagr", |
| "een:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a", |
| "\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue", |
| ":\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:\"#", |
| "ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",o", |
| "live:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#", |
| "ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb", |
| "98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip:\"#", |
| "ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:", |
| "\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000\",r", |
| "osybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salm", |
| "on:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nseashell:", |
| "\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",s", |
| "lateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",snow:", |
| "\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b48c", |
| "\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise:\"", |
| "#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whites", |
| "moke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};var qa=\"b", |
| "ackgroundColor borderTopColor borderRightColor borderBottomColor border", |
| "LeftColor color outlineColor\".split(\" \"),ra=/#([0-9a-fA-F])([0-9a-fA", |
| "-F])([0-9a-fA-F])/,sa=/^#(?:[0-9a-f]{3}){1,2}$/i,ta=/^(?:rgba)?\\((\\d{", |
| "1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,ua=/^(?:rg", |
| "b)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$", |
| "/i;function va(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)ret", |
| "urn a==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosit", |
| "ion)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.", |
| "parentNode;return b==a}\nfunction wa(a,b){if(a==b)return 0;if(a.compare", |
| "DocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"source", |
| "Index\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.n", |
| "odeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var ", |
| "e=a.parentNode,f=b.parentNode;return e==f?xa(a,b):!c&&va(e,b)?-1*ya(a,b", |
| "):!d&&va(f,a)?ya(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:", |
| "f.sourceIndex)}d=9==a.nodeType?a:a.ownerDocument||a.document;c=d.create", |
| "Range();c.selectNode(a);c.collapse(!0);\nd=d.createRange();d.selectNode", |
| "(b);d.collapse(!0);return c.compareBoundaryPoints(da.Range.START_TO_END", |
| ",d)}function ya(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.", |
| "parentNode!=c;)d=d.parentNode;return xa(d,a)}function xa(a,b){for(var c", |
| "=b;c=c.previousSibling;)if(c==a)return-1;return 1};/*\n\n The MIT Licen", |
| "se\n\n Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google", |
| " Inc.\n\n Permission is hereby granted, free of charge, to any person o", |
| "btaining a copy\n of this software and associated documentation files (", |
| "the \"Software\"), to\n deal in the Software without restriction, inclu", |
| "ding without limitation the\n rights to use, copy, modify, merge, publi", |
| "sh, distribute, sublicense, and/or\n sell copies of the Software, and t", |
| "o permit persons to whom the Software is\n furnished to do so, subject ", |
| "to the following conditions:\n\n The above copyright notice and this pe", |
| "rmission notice shall be included in\n all copies or substantial portio", |
| "ns of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WAR", |
| "RANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO T", |
| "HE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AN", |
| "D NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS", |
| " BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN A", |
| "CTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONN", |
| "ECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE", |
| ".\n*/\nfunction r(a,b,c){this.l=a;this.ka=b||1;this.j=c||1};function t(", |
| "a){this.S=a;this.I=0}function za(a){a=a.match(Aa);for(var b=0;b<a.lengt", |
| "h;b++)Ba.test(a[b])&&a.splice(b,1);return new t(a)}var Aa=RegExp(\"", |
| "\\\\$?(?:(?![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.])(?:", |
| "\\\\*|[\\\\w-\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|", |
| "\\\\.\\\\d+|\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),Ba=/^\\s/", |
| ";function u(a,b){return a.S[a.I+(b||0)]}t.prototype.next=function(){ret", |
| "urn this.S[this.I++]};t.prototype.back=function(){this.I--};t.prototype", |
| ".empty=function(){return this.S.length<=this.I};function v(a){var b=nul", |
| "l,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:", |
| "b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a", |
| "=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=", |
| "a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a", |
| "=d[--c].nextSibling););}}else b=a.nodeValue;return\"\"+b}\nfunction x(a", |
| ",b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){ret", |
| "urn!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}functio", |
| "n y(a,b,c,d,e){return Ca.call(null,a,b,h(c)?c:null,h(d)?d:null,e||new z", |
| ")}\nfunction Ca(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.get", |
| "ElementsByName(d),n(b,function(b){a.matches(b)&&e.add(b)})):b.getElemen", |
| "tsByClassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),n(b,funct", |
| "ion(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof A?Da(a,b,", |
| "c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),n", |
| "(b,function(a){x(a,c,d)&&e.add(a)}));return e}function Ea(a,b,c,d,e){fo", |
| "r(b=b.firstChild;b;b=b.nextSibling)x(b,c,d)&&a.matches(b)&&e.add(b);ret", |
| "urn e}\nfunction Da(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)x(b", |
| ",c,d)&&a.matches(b)&&e.add(b),Da(a,b,c,d,e)};function z(){this.j=this.g", |
| "=null;this.D=0}function Fa(a){this.node=a;this.next=this.w=null}functio", |
| "n Ga(a,b){if(!a.g)return b;if(!b.g)return a;for(var c=a.g,d=b.g,e=null,", |
| "f,g=0;c&&d;)c.node==d.node?(f=c,c=c.next,d=d.next):0<wa(c.node,d.node)?", |
| "(f=d,d=d.next):(f=c,c=c.next),(f.w=e)?e.next=f:a.g=f,e=f,g++;for(f=c||d", |
| ";f;)f.w=e,e=e.next=f,g++,f=f.next;a.j=e;a.D=g;return a}z.prototype.unsh", |
| "ift=function(a){a=new Fa(a);a.next=this.g;this.j?this.g.w=a:this.g=this", |
| ".j=a;this.g=a;this.D++};\nz.prototype.add=function(a){a=new Fa(a);a.w=t", |
| "his.j;this.g?this.j.next=a:this.g=this.j=a;this.j=a;this.D++};function ", |
| "B(a){return(a=a.g)?a.node:null}z.prototype.m=function(){return this.D};", |
| "function C(a){return(a=B(a))?v(a):\"\"}z.prototype.iterator=function(a)", |
| "{return new Ha(this,!!a)};function Ha(a,b){this.ga=a;this.T=(this.A=b)?", |
| "a.j:a.g;this.O=null}Ha.prototype.next=function(){var a=this.T;if(null==", |
| "a)return null;var b=this.O=a;this.T=this.A?a.w:a.next;return b.node};\n", |
| "Ha.prototype.remove=function(){var a=this.ga,b=this.O;if(!b)throw Error", |
| "(\"Next must be called at least once before remove.\");var c=b.w,b=b.ne", |
| "xt;c?c.next=b:a.g=b;b?b.w=c:a.j=c;a.D--;this.O=null};function m(a){this", |
| ".f=a;this.h=this.o=!1;this.F=null}function D(a){return\"\\n \"+a.toStr", |
| "ing().split(\"\\n\").join(\"\\n \")}m.prototype.c=function(){return th", |
| "is.o};function Ia(a,b){a.o=b}function Ja(a,b){a.h=b}m.prototype.u=funct", |
| "ion(){return this.F};function E(a,b){var c=a.evaluate(b);return c insta", |
| "nceof z?+C(c):+c}function F(a,b){var c=a.evaluate(b);return c instanceo", |
| "f z?C(c):\"\"+c}function G(a,b){var c=a.evaluate(b);return c instanceof", |
| " z?!!c.m():!!c};function H(a,b,c){m.call(this,a.f);this.R=a;this.W=b;th", |
| "is.aa=c;this.o=b.c()||c.c();this.h=b.h||c.h;this.R==Ka&&(c.h||c.c()||4=", |
| "=c.f||0==c.f||!b.u()?b.h||b.c()||4==b.f||0==b.f||!c.u()||(this.F={name:", |
| "c.u().name,C:b}):this.F={name:b.u().name,C:c})}l(H);\nfunction I(a,b,c,", |
| "d,e){b=b.evaluate(d);c=c.evaluate(d);var f;if(b instanceof z&&c instanc", |
| "eof z){b=b.iterator();for(d=b.next();d;d=b.next())for(e=c.iterator(),f=", |
| "e.next();f;f=e.next())if(a(v(d),v(f)))return!0;return!1}if(b instanceof", |
| " z||c instanceof z){b instanceof z?(e=b,d=c):(e=c,d=b);f=e.iterator();f", |
| "or(var g=typeof d,k=f.next();k;k=f.next()){switch(g){case \"number\":k=", |
| "+v(k);break;case \"boolean\":k=!!v(k);break;case \"string\":k=v(k);brea", |
| "k;default:throw Error(\"Illegal primitive type for comparison.\");\n}if", |
| "(e==b&&a(k,d)||e==c&&a(d,k))return!0}return!1}return e?\"boolean\"==typ", |
| "eof b||\"boolean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number", |
| "\"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}H.prototype.evaluate=function(a){", |
| "return this.R.v(this.W,this.aa,a)};H.prototype.toString=function(){var ", |
| "a=\"Binary Expression: \"+this.R,a=a+D(this.W);return a+=D(this.aa)};fu", |
| "nction La(a,b,c,d){this.ja=a;this.Z=b;this.f=c;this.v=d}La.prototype.to", |
| "String=function(){return this.ja};var Ma={};\nfunction J(a,b,c,d){if(Ma", |
| ".hasOwnProperty(a))throw Error(\"Binary operator already created: \"+a)", |
| ";a=new La(a,b,c,d);return Ma[a.toString()]=a}J(\"div\",6,1,function(a,b", |
| ",c){return E(a,c)/E(b,c)});J(\"mod\",6,1,function(a,b,c){return E(a,c)%", |
| "E(b,c)});J(\"*\",6,1,function(a,b,c){return E(a,c)*E(b,c)});J(\"+\",5,1", |
| ",function(a,b,c){return E(a,c)+E(b,c)});J(\"-\",5,1,function(a,b,c){ret", |
| "urn E(a,c)-E(b,c)});J(\"<\",4,2,function(a,b,c){return I(function(a,b){", |
| "return a<b},a,b,c)});\nJ(\">\",4,2,function(a,b,c){return I(function(a,", |
| "b){return a>b},a,b,c)});J(\"<=\",4,2,function(a,b,c){return I(function(", |
| "a,b){return a<=b},a,b,c)});J(\">=\",4,2,function(a,b,c){return I(functi", |
| "on(a,b){return a>=b},a,b,c)});var Ka=J(\"=\",3,2,function(a,b,c){return", |
| " I(function(a,b){return a==b},a,b,c,!0)});J(\"!=\",3,2,function(a,b,c){", |
| "return I(function(a,b){return a!=b},a,b,c,!0)});J(\"and\",2,2,function(", |
| "a,b,c){return G(a,c)&&G(b,c)});J(\"or\",1,2,function(a,b,c){return G(a,", |
| "c)||G(b,c)});function K(a,b){if(b.m()&&4!=a.f)throw Error(\"Primary exp", |
| "ression must evaluate to nodeset if filter has predicate(s).\");m.call(", |
| "this,a.f);this.$=a;this.b=b;this.o=a.c();this.h=a.h}l(K);K.prototype.ev", |
| "aluate=function(a){a=this.$.evaluate(a);return Na(this.b,a)};K.prototyp", |
| "e.toString=function(){var a;a=\"Filter:\"+D(this.$);return a+=D(this.b)", |
| "};function L(a,b){if(b.length<a.Y)throw Error(\"Function \"+a.i+\" expe", |
| "cts at least\"+a.Y+\" arguments, \"+b.length+\" given\");if(null!==a.P&", |
| "&b.length>a.P)throw Error(\"Function \"+a.i+\" expects at most \"+a.P+", |
| "\" arguments, \"+b.length+\" given\");a.ha&&n(b,function(b,d){if(4!=b.f", |
| ")throw Error(\"Argument \"+d+\" to function \"+a.i+\" is not of type No", |
| "deset: \"+b);});m.call(this,a.f);this.H=a;this.M=b;Ia(this,a.o||q(b,fun", |
| "ction(a){return a.c()}));Ja(this,a.fa&&!b.length||a.ea&&!!b.length||q(b", |
| ",function(a){return a.h}))}l(L);\nL.prototype.evaluate=function(a){retu", |
| "rn this.H.v.apply(null,na(a,this.M))};L.prototype.toString=function(){v", |
| "ar a=\"Function: \"+this.H;if(this.M.length)var b=p(this.M,function(a,b", |
| "){return a+D(b)},\"Arguments:\"),a=a+D(b);return a};function Oa(a,b,c,d", |
| ",e,f,g,k,w){this.i=a;this.f=b;this.o=c;this.fa=d;this.ea=e;this.v=f;thi", |
| "s.Y=g;this.P=void 0!==k?k:g;this.ha=!!w}Oa.prototype.toString=function(", |
| "){return this.i};var Pa={};\nfunction M(a,b,c,d,e,f,g,k){if(Pa.hasOwnPr", |
| "operty(a))throw Error(\"Function already created: \"+a+\".\");Pa[a]=new", |
| " Oa(a,b,c,d,!1,e,f,g,k)}M(\"boolean\",2,!1,!1,function(a,b){return G(b,", |
| "a)},1);M(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(E(b,a))},1)", |
| ";M(\"concat\",3,!1,!1,function(a,b){return p(oa(arguments,1),function(b", |
| ",d){return b+F(d,a)},\"\")},2,null);M(\"contains\",2,!1,!1,function(a,b", |
| ",c){b=F(b,a);a=F(c,a);return-1!=b.indexOf(a)},2);M(\"count\",1,!1,!1,fu", |
| "nction(a,b){return b.evaluate(a).m()},1,1,!0);\nM(\"false\",2,!1,!1,fun", |
| "ction(){return!1},0);M(\"floor\",1,!1,!1,function(a,b){return Math.floo", |
| "r(E(b,a))},1);M(\"id\",4,!1,!1,function(a,b){var c=a.l,d=9==c.nodeType?", |
| "c:c.ownerDocument,c=F(b,a).split(/\\s+/),e=[];n(c,function(a){a=d.getEl", |
| "ementById(a);!a||0<=ma(e,a)||e.push(a)});e.sort(wa);var f=new z;n(e,fun", |
| "ction(a){f.add(a)});return f},1);M(\"lang\",2,!1,!1,function(){return!1", |
| "},1);M(\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw Error(", |
| "\"Function last expects ()\");return a.j},0);\nM(\"local-name\",3,!1,!0", |
| ",function(a,b){var c=b?B(b.evaluate(a)):a.l;return c?c.localName||c.nod", |
| "eName.toLowerCase():\"\"},0,1,!0);M(\"name\",3,!1,!0,function(a,b){var ", |
| "c=b?B(b.evaluate(a)):a.l;return c?c.nodeName.toLowerCase():\"\"},0,1,!0", |
| ");M(\"namespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);M(\"normal", |
| "ize-space\",3,!1,!0,function(a,b){return(b?F(b,a):v(a.l)).replace(/[\\s", |
| "\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);M(\"not\",2,!1,!1,f", |
| "unction(a,b){return!G(b,a)},1);\nM(\"number\",1,!1,!0,function(a,b){ret", |
| "urn b?E(b,a):+v(a.l)},0,1);M(\"position\",1,!0,!1,function(a){return a.", |
| "ka},0);M(\"round\",1,!1,!1,function(a,b){return Math.round(E(b,a))},1);", |
| "M(\"starts-with\",2,!1,!1,function(a,b,c){b=F(b,a);a=F(c,a);return 0==b", |
| ".lastIndexOf(a,0)},2);M(\"string\",3,!1,!0,function(a,b){return b?F(b,a", |
| "):v(a.l)},0,1);M(\"string-length\",1,!1,!0,function(a,b){return(b?F(b,a", |
| "):v(a.l)).length},0,1);\nM(\"substring\",3,!1,!1,function(a,b,c,d){c=E(", |
| "c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?E(d,a):Infin", |
| "ity;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.", |
| "max(c,0);a=F(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Mat", |
| "h.round(d))},2,3);M(\"substring-after\",3,!1,!1,function(a,b,c){b=F(b,a", |
| ");a=F(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);", |
| "\nM(\"substring-before\",3,!1,!1,function(a,b,c){b=F(b,a);a=F(c,a);a=b.", |
| "indexOf(a);return-1==a?\"\":b.substring(0,a)},2);M(\"sum\",1,!1,!1,func", |
| "tion(a,b){for(var c=b.evaluate(a).iterator(),d=0,e=c.next();e;e=c.next(", |
| "))d+=+v(e);return d},1,1,!0);M(\"translate\",3,!1,!1,function(a,b,c,d){", |
| "b=F(b,a);c=F(c,a);var e=F(d,a);a={};for(d=0;d<c.length;d++){var f=c.cha", |
| "rAt(d);f in a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.cha", |
| "rAt(d),c+=f in a?a[f]:f;return c},3);M(\"true\",2,!1,!1,function(){retu", |
| "rn!0},0);function A(a,b){this.ca=a;this.X=void 0!==b?b:null;this.B=null", |
| ";switch(a){case \"comment\":this.B=8;break;case \"text\":this.B=3;break", |
| ";case \"processing-instruction\":this.B=7;break;case \"node\":break;def", |
| "ault:throw Error(\"Unexpected argument\");}}function Qa(a){return\"comm", |
| "ent\"==a||\"text\"==a||\"processing-instruction\"==a||\"node\"==a}A.pro", |
| "totype.matches=function(a){return null===this.B||this.B==a.nodeType};A.", |
| "prototype.getName=function(){return this.ca};\nA.prototype.toString=fun", |
| "ction(){var a=\"Kind Test: \"+this.ca;null===this.X||(a+=D(this.X));ret", |
| "urn a};function N(a){m.call(this,3);this.ba=a.substring(1,a.length-1)}l", |
| "(N);N.prototype.evaluate=function(){return this.ba};N.prototype.toStrin", |
| "g=function(){return\"Literal: \"+this.ba};function O(a,b){this.i=a.toLo", |
| "werCase();var c;c=\"*\"==this.i?\"*\":\"http://www.w3.org/1999/xhtml\";", |
| "this.J=b?b.toLowerCase():c}O.prototype.matches=function(a){var b=a.node", |
| "Type;if(1!=b&&2!=b)return!1;b=void 0!==a.localName?a.localName:a.nodeNa", |
| "me;return\"*\"!=this.i&&this.i!=b.toLowerCase()?!1:\"*\"==this.J?!0:thi", |
| "s.J==(a.namespaceURI?a.namespaceURI.toLowerCase():\"http://www.w3.org/1", |
| "999/xhtml\")};O.prototype.getName=function(){return this.i};\nO.prototy", |
| "pe.toString=function(){return\"Name Test: \"+(\"http://www.w3.org/1999/", |
| "xhtml\"==this.J?\"\":this.J+\":\")+this.i};function P(a){m.call(this,1)", |
| ";this.da=a}l(P);P.prototype.evaluate=function(){return this.da};P.proto", |
| "type.toString=function(){return\"Number: \"+this.da};function Q(a,b){m.", |
| "call(this,a.f);this.V=a;this.G=b;this.o=a.c();this.h=a.h;if(1==this.G.l", |
| "ength){var c=this.G[0];c.N||c.s!=Ra||(c=c.L,\"*\"!=c.getName()&&(this.F", |
| "={name:c.getName(),C:null}))}}l(Q);function R(){m.call(this,4)}l(R);R.p", |
| "rototype.evaluate=function(a){var b=new z;a=a.l;9==a.nodeType?b.add(a):", |
| "b.add(a.ownerDocument);return b};R.prototype.toString=function(){return", |
| "\"Root Helper Expression\"};function S(){m.call(this,4)}l(S);S.prototyp", |
| "e.evaluate=function(a){var b=new z;b.add(a.l);return b};\nS.prototype.t", |
| "oString=function(){return\"Context Helper Expression\"};function Sa(a){", |
| "return\"/\"==a||\"//\"==a}\nQ.prototype.evaluate=function(a){var b=this", |
| ".V.evaluate(a);if(!(b instanceof z))throw Error(\"Filter expression mus", |
| "t evaluate to nodeset.\");a=this.G;for(var c=0,d=a.length;c<d&&b.m();c+", |
| "+){var e=a[c],f=b.iterator(e.s.A),g;if(e.c()||e.s!=Ta)if(e.c()||e.s!=Ua", |
| ")for(g=f.next(),b=e.evaluate(new r(g));null!=(g=f.next());)g=e.evaluate", |
| "(new r(g)),b=Ga(b,g);else g=f.next(),b=e.evaluate(new r(g));else{for(g=", |
| "f.next();(b=f.next())&&(!g.contains||g.contains(b))&&b.compareDocumentP", |
| "osition(g)&8;g=b);b=e.evaluate(new r(g))}}return b};\nQ.prototype.toStr", |
| "ing=function(){var a;a=\"Path Expression:\"+D(this.V);if(this.G.length)", |
| "{var b=p(this.G,function(a,b){return a+D(b)},\"Steps:\");a+=D(b)}return", |
| " a};function T(a,b){this.b=a;this.A=!!b}function Na(a,b,c){for(c=c||0;c", |
| "<a.b.length;c++)for(var d=a.b[c],e=b.iterator(),f=b.m(),g,k=0;g=e.next(", |
| ");k++){var w=a.A?f-k:k+1;g=d.evaluate(new r(g,w,f));if(\"number\"==type", |
| "of g)w=w==g;else if(\"string\"==typeof g||\"boolean\"==typeof g)w=!!g;e", |
| "lse if(g instanceof z)w=0<g.m();else throw Error(\"Predicate.evaluate r", |
| "eturned an unexpected type.\");w||e.remove()}return b}T.prototype.u=fun", |
| "ction(){return 0<this.b.length?this.b[0].u():null};\nT.prototype.c=func", |
| "tion(){for(var a=0;a<this.b.length;a++){var b=this.b[a];if(b.c()||1==b.", |
| "f||0==b.f)return!0}return!1};T.prototype.m=function(){return this.b.len", |
| "gth};T.prototype.toString=function(){return p(this.b,function(a,b){retu", |
| "rn a+D(b)},\"Predicates:\")};function U(a,b,c,d){m.call(this,4);this.s=", |
| "a;this.L=b;this.b=c||new T([]);this.N=!!d;b=this.b.u();a.la&&b&&(this.F", |
| "={name:b.name,C:b.C});this.o=this.b.c()}l(U);\nU.prototype.evaluate=fun", |
| "ction(a){var b=a.l,c=this.u(),d=null,e=null,f=0;c&&(d=c.name,e=c.C?F(c.", |
| "C,a):null,f=1);if(this.N)if(this.c()||this.s!=Va)if(b=(new U(Wa,new A(", |
| "\"node\"))).evaluate(a).iterator(),c=b.next())for(a=this.v(c,d,e,f);nul", |
| "l!=(c=b.next());)a=Ga(a,this.v(c,d,e,f));else a=new z;else a=y(this.L,b", |
| ",d,e),a=Na(this.b,a,f);else a=this.v(a.l,d,e,f);return a};U.prototype.v", |
| "=function(a,b,c,d){a=this.s.H(this.L,a,b,c);return a=Na(this.b,a,d)};\n", |
| "U.prototype.toString=function(){var a;a=\"Step:\"+D(\"Operator: \"+(thi", |
| "s.N?\"//\":\"/\"));this.s.i&&(a+=D(\"Axis: \"+this.s));a+=D(this.L);if(", |
| "this.b.m()){var b=p(this.b.b,function(a,b){return a+D(b)},\"Predicates:", |
| "\");a+=D(b)}return a};function Xa(a,b,c,d){this.i=a;this.H=b;this.A=c;t", |
| "his.la=d}Xa.prototype.toString=function(){return this.i};var Ya={};func", |
| "tion V(a,b,c,d){if(Ya.hasOwnProperty(a))throw Error(\"Axis already crea", |
| "ted: \"+a);b=new Xa(a,b,c,!!d);return Ya[a]=b}\nV(\"ancestor\",function", |
| "(a,b){for(var c=new z,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);re", |
| "turn c},!0);V(\"ancestor-or-self\",function(a,b){var c=new z,d=b;do a.m", |
| "atches(d)&&c.unshift(d);while(d=d.parentNode);return c},!0);\nvar Ra=V(", |
| "\"attribute\",function(a,b){var c=new z,d=a.getName(),e=b.attributes;if", |
| "(e)if(a instanceof A&&null===a.B||\"*\"==d)for(var d=0,f;f=e[d];d++)c.a", |
| "dd(f);else(f=e.getNamedItem(d))&&c.add(f);return c},!1),Va=V(\"child\",", |
| "function(a,b,c,d,e){return Ea.call(null,a,b,h(c)?c:null,h(d)?d:null,e||", |
| "new z)},!1,!0);V(\"descendant\",y,!1,!0);\nvar Wa=V(\"descendant-or-sel", |
| "f\",function(a,b,c,d){var e=new z;x(b,c,d)&&a.matches(b)&&e.add(b);retu", |
| "rn y(a,b,c,d,e)},!1,!0),Ta=V(\"following\",function(a,b,c,d){var e=new ", |
| "z;do for(var f=b;f=f.nextSibling;)x(f,c,d)&&a.matches(f)&&e.add(f),e=y(", |
| "a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);V(\"following-sibling", |
| "\",function(a,b){for(var c=new z,d=b;d=d.nextSibling;)a.matches(d)&&c.a", |
| "dd(d);return c},!1);V(\"namespace\",function(){return new z},!1);\nvar ", |
| "Za=V(\"parent\",function(a,b){var c=new z;if(9==b.nodeType)return c;if(", |
| "2==b.nodeType)return c.add(b.ownerElement),c;var d=b.parentNode;a.match", |
| "es(d)&&c.add(d);return c},!1),Ua=V(\"preceding\",function(a,b,c,d){var ", |
| "e=new z,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,k=f.leng", |
| "th;g<k;g++){var w=[];for(b=f[g];b=b.previousSibling;)w.unshift(b);for(v", |
| "ar la=0,mb=w.length;la<mb;la++)b=w[la],x(b,c,d)&&a.matches(b)&&e.add(b)", |
| ",e=y(a,b,c,d,e)}return e},!0,!0);\nV(\"preceding-sibling\",function(a,b", |
| "){for(var c=new z,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);r", |
| "eturn c},!0);var $a=V(\"self\",function(a,b){var c=new z;a.matches(b)&&", |
| "c.add(b);return c},!1);function W(a){m.call(this,1);this.U=a;this.o=a.c", |
| "();this.h=a.h}l(W);W.prototype.evaluate=function(a){return-E(this.U,a)}", |
| ";W.prototype.toString=function(){return\"Unary Expression: -\"+D(this.U", |
| ")};function X(a){m.call(this,4);this.K=a;Ia(this,q(this.K,function(a){r", |
| "eturn a.c()}));Ja(this,q(this.K,function(a){return a.h}))}l(X);X.protot", |
| "ype.evaluate=function(a){var b=new z;n(this.K,function(c){c=c.evaluate(", |
| "a);if(!(c instanceof z))throw Error(\"Path expression must evaluate to ", |
| "NodeSet.\");b=Ga(b,c)});return b};X.prototype.toString=function(){retur", |
| "n p(this.K,function(a,b){return a+D(b)},\"Union Expression:\")};functio", |
| "n ab(a,b){this.a=a;this.ia=b}function bb(a){for(var b,c=[];;){Y(a,\"Mis", |
| "sing right hand side of binary expression.\");b=cb(a);var d=a.a.next();", |
| "if(!d)break;var e=(d=Ma[d]||null)&&d.Z;if(!e){a.a.back();break}for(;c.l", |
| "ength&&e<=c[c.length-1].Z;)b=new H(c.pop(),c.pop(),b);c.push(b,d)}for(;", |
| "c.length;)b=new H(c.pop(),c.pop(),b);return b}function Y(a,b){if(a.a.em", |
| "pty())throw Error(b);}function db(a,b){var c=a.a.next();if(c!=b)throw E", |
| "rror(\"Bad token, expected: \"+b+\" got: \"+c);}\nfunction eb(a){a=a.a.", |
| "next();if(\")\"!=a)throw Error(\"Bad token: \"+a);}function fb(a){a=a.a", |
| ".next();if(2>a.length)throw Error(\"Unclosed literal string\");return n", |
| "ew N(a)}\nfunction gb(a){var b,c=[],d;if(Sa(u(a.a))){b=a.a.next();d=u(a", |
| ".a);if(\"/\"==b&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&", |
| "&!/(?![0-9])[\\w]/.test(d)))return new R;d=new R;Y(a,\"Missing next loc", |
| "ation step.\");b=hb(a,b);c.push(b)}else{a:{b=u(a.a);d=b.charAt(0);switc", |
| "h(d){case \"$\":throw Error(\"Variable reference not allowed in HTML XP", |
| "ath\");case \"(\":a.a.next();b=bb(a);Y(a,'unclosed \"(\"');db(a,\")\");", |
| "break;case '\"':case \"'\":b=fb(a);break;default:if(isNaN(+b))if(!Qa(b)", |
| "&&/(?![0-9])[\\w]/.test(d)&&\"(\"==u(a.a,1)){b=\na.a.next();b=Pa[b]||nu", |
| "ll;a.a.next();for(d=[];\")\"!=u(a.a);){Y(a,\"Missing function argument ", |
| "list.\");d.push(bb(a));if(\",\"!=u(a.a))break;a.a.next()}Y(a,\"Unclosed", |
| " function argument list.\");eb(a);b=new L(b,d)}else{b=null;break a}else", |
| " b=new P(+a.a.next())}\"[\"==u(a.a)&&(d=new T(ib(a)),b=new K(b,d))}if(b", |
| ")if(Sa(u(a.a)))d=b;else return b;else b=hb(a,\"/\"),d=new S,c.push(b)}f", |
| "or(;Sa(u(a.a));)b=a.a.next(),Y(a,\"Missing next location step.\"),b=hb(", |
| "a,b),c.push(b);return new Q(d,c)}\nfunction hb(a,b){var c,d,e;if(\"/\"!", |
| "=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//\"');if(\".\"", |
| "==u(a.a))return d=new U($a,new A(\"node\")),a.a.next(),d;if(\"..\"==u(a", |
| ".a))return d=new U(Za,new A(\"node\")),a.a.next(),d;var f;if(\"@\"==u(a", |
| ".a))f=Ra,a.a.next(),Y(a,\"Missing attribute name\");else if(\"::\"==u(a", |
| ".a,1)){if(!/(?![0-9])[\\w]/.test(u(a.a).charAt(0)))throw Error(\"Bad to", |
| "ken: \"+a.a.next());c=a.a.next();f=Ya[c]||null;if(!f)throw Error(\"No a", |
| "xis with name: \"+c);a.a.next();Y(a,\"Missing node name\")}else f=Va;\n", |
| "c=u(a.a);if(/(?![0-9])[\\w\\*]/.test(c.charAt(0)))if(\"(\"==u(a.a,1)){i", |
| "f(!Qa(c))throw Error(\"Invalid node type: \"+c);c=a.a.next();if(!Qa(c))", |
| "throw Error(\"Invalid type name: \"+c);db(a,\"(\");Y(a,\"Bad nodetype\"", |
| ");e=u(a.a).charAt(0);var g=null;if('\"'==e||\"'\"==e)g=fb(a);Y(a,\"Bad ", |
| "nodetype\");eb(a);c=new A(c,g)}else if(c=a.a.next(),e=c.indexOf(\":\"),", |
| "-1==e)c=new O(c);else{var g=c.substring(0,e),k;if(\"*\"==g)k=\"*\";else", |
| " if(k=a.ia(g),!k)throw Error(\"Namespace prefix not declared: \"+g);c=c", |
| ".substr(e+1);c=new O(c,k)}else throw Error(\"Bad token: \"+\na.a.next()", |
| ");e=new T(ib(a),f.A);return d||new U(f,c,e,\"//\"==b)}function ib(a){fo", |
| "r(var b=[];\"[\"==u(a.a);){a.a.next();Y(a,\"Missing predicate expressio", |
| "n.\");var c=bb(a);b.push(c);Y(a,\"Unclosed predicate expression.\");db(", |
| "a,\"]\")}return b}function cb(a){if(\"-\"==u(a.a))return a.a.next(),new", |
| " W(cb(a));var b=gb(a);if(\"|\"!=u(a.a))a=b;else{for(b=[b];\"|\"==a.a.ne", |
| "xt();)Y(a,\"Missing next union location path.\"),b.push(gb(a));a.a.back", |
| "();a=new X(b)}return a};function jb(a){switch(a.nodeType){case 1:return", |
| " ja(kb,a);case 9:return jb(a.documentElement);case 11:case 10:case 6:ca", |
| "se 12:return lb;default:return a.parentNode?jb(a.parentNode):lb}}functi", |
| "on lb(){return null}function kb(a,b){if(a.prefix==b)return a.namespaceU", |
| "RI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:", |
| "\"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode", |
| ".nodeType?kb(a.parentNode,b):null};function nb(a,b){if(!a.length)throw ", |
| "Error(\"Empty XPath expression.\");var c=za(a);if(c.empty())throw Error", |
| "(\"Invalid XPath expression.\");b?\"function\"==fa(b)||(b=ia(b.lookupNa", |
| "mespaceURI,b)):b=function(){return null};var d=bb(new ab(c,b));if(!c.em", |
| "pty())throw Error(\"Bad token: \"+c.next());this.evaluate=function(a,b)", |
| "{var c=d.evaluate(new r(a));return new Z(c,b)}}\nfunction Z(a,b){if(0==", |
| "b)if(a instanceof z)b=4;else if(\"string\"==typeof a)b=2;else if(\"numb", |
| "er\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else throw Error(", |
| "\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof ", |
| "z))throw Error(\"value could not be converted to the specified type\");", |
| "this.resultType=b;var c;switch(b){case 2:this.stringValue=a instanceof ", |
| "z?C(a):\"\"+a;break;case 1:this.numberValue=a instanceof z?+C(a):+a;bre", |
| "ak;case 3:this.booleanValue=a instanceof z?0<a.m():!!a;break;case 4:cas", |
| "e 5:case 6:case 7:var d=\na.iterator();c=[];for(var e=d.next();e;e=d.ne", |
| "xt())c.push(e);this.snapshotLength=a.m();this.invalidIteratorState=!1;b", |
| "reak;case 8:case 9:this.singleNodeValue=B(a);break;default:throw Error(", |
| "\"Unknown XPathResult type.\");}var f=0;this.iterateNext=function(){if(", |
| "4!=b&&5!=b)throw Error(\"iterateNext called with wrong result type\");r", |
| "eturn f>=c.length?null:c[f++]};this.snapshotItem=function(a){if(6!=b&&7", |
| "!=b)throw Error(\"snapshotItem called with wrong result type\");return ", |
| "a>=c.length||0>a?null:c[a]}}\nZ.ANY_TYPE=0;Z.NUMBER_TYPE=1;Z.STRING_TYP", |
| "E=2;Z.BOOLEAN_TYPE=3;Z.UNORDERED_NODE_ITERATOR_TYPE=4;Z.ORDERED_NODE_IT", |
| "ERATOR_TYPE=5;Z.UNORDERED_NODE_SNAPSHOT_TYPE=6;Z.ORDERED_NODE_SNAPSHOT_", |
| "TYPE=7;Z.ANY_UNORDERED_NODE_TYPE=8;Z.FIRST_ORDERED_NODE_TYPE=9;function", |
| " ob(a){this.lookupNamespaceURI=jb(a)}\nea(\"wgxpath.install\",function(", |
| "a,b){var c=a||da,d=c.Document&&c.Document.prototype||c.document;if(!d.e", |
| "valuate||b)c.XPathResult=Z,d.evaluate=function(a,b,c,d){return(new nb(a", |
| ",c)).evaluate(b,d)},d.createExpression=function(a,b){return new nb(a,b)", |
| "},d.createNSResolver=function(a){return new ob(a)}});function pb(a,b){v", |
| "ar c=a.currentStyle||a.style,d=c[b];void 0===d&&\"function\"==fa(c.getP", |
| "ropertyValue)&&(d=c.getPropertyValue(b));if(\"inherit\"!=d)return void ", |
| "0!==d?d:null;for(c=a.parentNode;c&&1!=c.nodeType&&9!=c.nodeType&&11!=c.", |
| "nodeType;)c=c.parentNode;return(c=c&&1==c.nodeType?c:null)?pb(c,b):null", |
| "};ea(\"_\",function(a,b){var c=ka(b);if(\"float\"==c||\"cssFloat\"==c||", |
| "\"styleFloat\"==c)c=\"cssFloat\";var d;a:{d=c;var e=9==a.nodeType?a:a.o", |
| "wnerDocument||a.document;if(e.defaultView&&e.defaultView.getComputedSty", |
| "le&&(e=e.defaultView.getComputedStyle(a,null))){d=e[d]||e.getPropertyVa", |
| "lue(d)||\"\";break a}d=\"\"}d=d||pb(a,c);if(null===d)d=null;else if(0<=", |
| "ma(qa,c)){b:{var f=d.match(ta);if(f){var c=Number(f[1]),e=Number(f[2]),", |
| "g=Number(f[3]),f=Number(f[4]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>", |
| "=g&&0<=f&&1>=f){c=[c,\ne,g,f];break b}}c=null}if(!c)b:{if(g=d.match(ua)", |
| ")if(c=Number(g[1]),e=Number(g[2]),g=Number(g[3]),0<=c&&255>=c&&0<=e&&25", |
| "5>=e&&0<=g&&255>=g){c=[c,e,g,1];break b}c=null}if(!c)b:{c=d.toLowerCase", |
| "();e=pa[c.toLowerCase()];if(!e&&(e=\"#\"==c.charAt(0)?c:\"#\"+c,4==e.le", |
| "ngth&&(e=e.replace(ra,\"#$1$1$2$2$3$3\")),!sa.test(e))){c=null;break b}", |
| "c=[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.sub", |
| "str(5,2),16),1]}d=c?\"rgba(\"+c.join(\", \")+\")\":d}return d});; retur", |
| "n this._.apply(null,arguments);}.apply({navigator:typeof window!='undef", |
| "ined'?window.navigator:null,document:typeof window!='undefined'?window.", |
| "document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_LOCATION[] = { |
| "function(){return function(){var g,h=\"function\"==typeof Object.define", |
| "Properties?Object.defineProperty:function(a,b,d){if(d.get||d.set)throw ", |
| "new TypeError(\"ES3 does not support getters and setters.\");a!=Array.p", |
| "rototype&&a!=Object.prototype&&(a[b]=d.value)},k=\"undefined\"!=typeof ", |
| "window&&window===this?this:\"undefined\"!=typeof global?global:this;\nf", |
| "unction l(a,b){if(b){for(var d=k,c=a.split(\".\"),f=0;f<c.length-1;f++)", |
| "{var e=c[f];e in d||(d[e]={});d=d[e]}c=c[c.length-1];f=d[c];e=b(f);e!=f", |
| "&&null!=e&&h(d,c,{configurable:!0,writable:!0,value:e})}}\nl(\"String.p", |
| "rototype.repeat\",function(a){return a?a:function(a){var d;if(null==thi", |
| "s)throw new TypeError(\"The 'this' value for String.prototype.repeat mu", |
| "st not be null or undefined\");d=this+\"\";if(0>a||1342177279<a)throw n", |
| "ew RangeError(\"Invalid count value\");a|=0;for(var c=\"\";a;)if(a&1&&(", |
| "c+=d),a>>>=1)d+=d;return c}});l(\"Math.sign\",function(a){return a?a:fu", |
| "nction(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var m=this;", |
| "\nfunction p(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanceof A", |
| "rray)return\"array\";if(a instanceof Object)return b;var d=Object.proto", |
| "type.toString.call(a);if(\"[object Window]\"==d)return\"object\";if(\"[", |
| "object Array]\"==d||\"number\"==typeof a.length&&\"undefined\"!=typeof ", |
| "a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEn", |
| "umerable(\"splice\"))return\"array\";if(\"[object Function]\"==d||\"und", |
| "efined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumerable&&", |
| "!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"null", |
| "\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"obje", |
| "ct\";return b}function q(a){var b=p(a);return\"array\"==b||\"object\"==", |
| "b&&\"number\"==typeof a.length}function r(a){var b=typeof a;return\"obj", |
| "ect\"==b&&null!=a||\"function\"==b};var t;function u(a,b){for(var d=a.l", |
| "ength,c=\"string\"==typeof a?a.split(\"\"):a,f=0;f<d;f++)f in c&&b.call", |
| "(void 0,c[f],f,a)}function v(a){var b=a.length;if(0<b){for(var d=Array(", |
| "b),c=0;c<b;c++)d[c]=a[c];return d}return[]};function w(a,b){this.x=void", |
| " 0!==a?a:0;this.y=void 0!==b?b:0}g=w.prototype;g.clone=function(){retur", |
| "n new w(this.x,this.y)};g.toString=function(){return\"(\"+this.x+\", \"", |
| "+this.y+\")\"};g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.c", |
| "eil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);t", |
| "his.y=Math.floor(this.y);return this};g.round=function(){this.x=Math.ro", |
| "und(this.x);this.y=Math.round(this.y);return this};\ng.translate=functi", |
| "on(a,b){a instanceof w?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),\"n", |
| "umber\"==typeof b&&(this.y+=b));return this};g.scale=function(a,b){this", |
| ".x*=a;this.y*=\"number\"==typeof b?b:a;return this};function x(a,b,d){f", |
| "unction c(c){c&&b.appendChild(\"string\"==typeof c?a.createTextNode(c):", |
| "c)}for(var f=1;f<d.length;f++){var e=d[f];if(!q(e)||r(e)&&0<e.nodeType)", |
| "c(e);else{var n;a:{if(e&&\"number\"==typeof e.length){if(r(e)){n=\"func", |
| "tion\"==typeof e.item||\"string\"==typeof e.item;break a}if(\"function", |
| "\"==p(e)){n=\"function\"==typeof e.item;break a}}n=!1}u(n?v(e):e,c)}}}f", |
| "unction y(a){return 9==a.nodeType?a:a.ownerDocument||a.document}functio", |
| "n z(a){this.a=a||m.document||document}g=z.prototype;g.createElement=fun", |
| "ction(a){return this.a.createElement(a)};\ng.createTextNode=function(a)", |
| "{return this.a.createTextNode(String(a))};g.appendChild=function(a,b){a", |
| ".appendChild(b)};g.append=function(a,b){x(y(a),a,arguments)};g.canHaveC", |
| "hildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case \"", |
| "APPLET\":case \"AREA\":case \"BASE\":case \"BR\":case \"COL\":case \"CO", |
| "MMAND\":case \"EMBED\":case \"FRAME\":case \"HR\":case \"IMG\":case \"I", |
| "NPUT\":case \"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":c", |
| "ase \"NOFRAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case ", |
| "\"PARAM\":case \"SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\"", |
| ":case \"WBR\":return!1}return!0};\ng.removeNode=function(a){return a&&a", |
| ".parentNode?a.parentNode.removeChild(a):null};g.contains=function(a,b){", |
| "if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains", |
| "(b);if(\"undefined\"!=typeof a.compareDocumentPosition)return a==b||!!(", |
| "a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b=", |
| "=a};function A(a){var b=y(a),d=new w(0,0);if(a==(b?y(b):document).docum", |
| "entElement)return d;a:{var c;try{c=a.getBoundingClientRect()}catch(f){a", |
| "={left:0,top:0,right:0,bottom:0};break a}a=c}c=(b?new z(y(b)):t||(t=new", |
| " z)).a;b=c.scrollingElement?c.scrollingElement:c.body||c.documentElemen", |
| "t;c=c.parentWindow||c.defaultView;b=new w(c.pageXOffset||b.scrollLeft,c", |
| ".pageYOffset||b.scrollTop);d.x=a.left+b.x;d.y=a.top+b.y;return d}var B=", |
| "[\"_\"],C=m;B[0]in C||!C.execScript||C.execScript(\"var \"+B[0]);\nfor(", |
| "var D;B.length&&(D=B.shift());)B.length||void 0===A?C=C[D]?C[D]:C[D]={}", |
| ":C[D]=A;; return this._.apply(null,arguments);}.apply({navigator:typeof", |
| " window!='undefined'?window.navigator:null,document:typeof window!='und", |
| "efined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_SIZE[] = { |
| "function(){return function(){var f=\"function\"==typeof Object.definePr", |
| "operties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw ne", |
| "w TypeError(\"ES3 does not support getters and setters.\");a!=Array.pro", |
| "totype&&a!=Object.prototype&&(a[b]=c.value)},g=\"undefined\"!=typeof wi", |
| "ndow&&window===this?this:\"undefined\"!=typeof global?global:this;\nfun", |
| "ction k(a,b){if(b){for(var c=g,d=a.split(\".\"),e=0;e<d.length-1;e++){v", |
| "ar h=d[e];h in c||(c[h]={});c=c[h]}d=d[d.length-1];e=c[d];h=b(e);h!=e&&", |
| "null!=h&&f(c,d,{configurable:!0,writable:!0,value:h})}}\nk(\"String.pro", |
| "totype.repeat\",function(a){return a?a:function(b){var a;if(null==this)", |
| "throw new TypeError(\"The 'this' value for String.prototype.repeat must", |
| " not be null or undefined\");a=this+\"\";if(0>b||1342177279<b)throw new", |
| " RangeError(\"Invalid count value\");b|=0;for(var d=\"\";b;)if(b&1&&(d+", |
| "=a),b>>>=1)a+=a;return d}});k(\"Math.sign\",function(a){return a?a:func", |
| "tion(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});function l(a,b", |
| "){this.width=a;this.height=b}l.prototype.clone=function(){return new l(", |
| "this.width,this.height)};l.prototype.toString=function(){return\"(\"+th", |
| "is.width+\" x \"+this.height+\")\"};l.prototype.ceil=function(){this.wi", |
| "dth=Math.ceil(this.width);this.height=Math.ceil(this.height);return thi", |
| "s};l.prototype.floor=function(){this.width=Math.floor(this.width);this.", |
| "height=Math.floor(this.height);return this};\nl.prototype.round=functio", |
| "n(){this.width=Math.round(this.width);this.height=Math.round(this.heigh", |
| "t);return this};l.prototype.scale=function(a,b){this.width*=a;this.heig", |
| "ht*=\"number\"==typeof b?b:a;return this};function m(a){var b=a.offsetW", |
| "idth,c=a.offsetHeight;if((void 0===b||!b&&!c)&&a.getBoundingClientRect)", |
| "{a:{var d;try{d=a.getBoundingClientRect()}catch(e){a={left:0,top:0,righ", |
| "t:0,bottom:0};break a}a=d}return new l(a.right-a.left,a.bottom-a.top)}r", |
| "eturn new l(b,c)};function n(a){var b;b:{b=9==a.nodeType?a:a.ownerDocum", |
| "ent||a.document;if(b.defaultView&&b.defaultView.getComputedStyle&&(b=b.", |
| "defaultView.getComputedStyle(a,null))){b=b.display||b.getPropertyValue(", |
| "\"display\")||\"\";break b}b=\"\"}if(\"none\"!=(b||(a.currentStyle?a.cu", |
| "rrentStyle.display:null)||a.style&&a.style.display))a=m(a);else{b=a.sty", |
| "le;var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";", |
| "b.position=\"absolute\";b.display=\"inline\";a=m(a);b.display=c;b.posit", |
| "ion=e;b.visibility=d}return a}\nvar p=[\"_\"],q=this;p[0]in q||!q.execS", |
| "cript||q.execScript(\"var \"+p[0]);for(var r;p.length&&(r=p.shift());)p", |
| ".length||void 0===n?q=q[r]?q[r]:q[r]={}:q[r]=n;; return this._.apply(nu", |
| "ll,arguments);}.apply({navigator:typeof window!='undefined'?window.navi", |
| "gator:null,document:typeof window!='undefined'?window.document:null}, a", |
| "rguments);}", |
| NULL |
| }; |
| |
| const char* const IS_DISPLAYED[] = { |
| "function(){return function(){var h,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e)", |
| ";f!=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "da=this;function l(a){return void 0!==a}\nfunction ea(a,b){var c=a.spli", |
| "t(\".\"),d=da;c[0]in d||!d.execScript||d.execScript(\"var \"+c[0]);for(", |
| "var e;c.length&&(e=c.shift());)!c.length&&l(b)?d[e]=b:d=d[e]?d[e]:d[e]=", |
| "{}}\nfunction fa(a){var b=typeof a;if(\"object\"==b)if(a){if(a instance", |
| "of Array)return\"array\";if(a instanceof Object)return b;var c=Object.p", |
| "rototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if", |
| "(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typ", |
| "eof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.property", |
| "IsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
| "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
| "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
| "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", |
| "object\";return b}function ga(a){var b=fa(a);return\"array\"==b||\"obje", |
| "ct\"==b&&\"number\"==typeof a.length}function m(a){return\"string\"==ty", |
| "peof a}function n(a){return\"number\"==typeof a}function ha(a){var b=ty", |
| "peof a;return\"object\"==b&&null!=a||\"function\"==b}function ia(a,b,c)", |
| "{return a.call.apply(a.bind,arguments)}\nfunction ja(a,b,c){if(!a)throw", |
| " Error();if(2<arguments.length){var d=Array.prototype.slice.call(argume", |
| "nts,2);return function(){var c=Array.prototype.slice.call(arguments);Ar", |
| "ray.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function()", |
| "{return a.apply(b,arguments)}}function ka(a,b,c){ka=Function.prototype.", |
| "bind&&-1!=Function.prototype.bind.toString().indexOf(\"native code\")?i", |
| "a:ja;return ka.apply(null,arguments)}\nfunction la(a,b){var c=Array.pro", |
| "totype.slice.call(arguments,1);return function(){var b=c.slice();b.push", |
| ".apply(b,arguments);return a.apply(this,b)}}function p(a,b){function c(", |
| "){}c.prototype=b.prototype;a.pa=b.prototype;a.prototype=new c;a.prototy", |
| "pe.constructor=a;a.oa=function(a,c,f){for(var g=Array(arguments.length-", |
| "2),k=2;k<arguments.length;k++)g[k-2]=arguments[k];return b.prototype[c]", |
| ".apply(a,g)}};function ma(a){return String(a).replace(/\\-([a-z])/g,fun", |
| "ction(a,c){return c.toUpperCase()})};function na(a,b){if(m(a))return m(", |
| "b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&", |
| "&a[c]===b)return c;return-1}function q(a,b){for(var c=a.length,d=m(a)?a", |
| ".split(\"\"):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)}function u(a", |
| ",b,c){var d=c;q(a,function(c,f){d=b.call(void 0,d,c,f,a)});return d}fun", |
| "ction v(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e", |
| " in d&&b.call(void 0,d[e],e,a))return!0;return!1}\nfunction oa(a,b){for", |
| "(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(v", |
| "oid 0,d[e],e,a))return!1;return!0}function pa(a){return Array.prototype", |
| ".concat.apply(Array.prototype,arguments)}function qa(a){var b=a.length;", |
| "if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}func", |
| "tion ra(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,", |
| "b):Array.prototype.slice.call(a,b,c)};var sa={aliceblue:\"#f0f8ff\",ant", |
| "iquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#", |
| "f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanche", |
| "dalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a5", |
| "2a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00", |
| "\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",c", |
| "ornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00", |
| "008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a", |
| "9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",", |
| "darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00", |
| "\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",da", |
| "rkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4", |
| "f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9", |
| "400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969", |
| "\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",flo", |
| "ralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsb", |
| "oro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#", |
| "daa520\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",gre", |
| "y:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5", |
| "c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:", |
| "\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffo", |
| "n:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"", |
| "#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightg", |
| "reen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmo", |
| "n:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",ligh", |
| "tslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c", |
| "4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",li", |
| "nen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine", |
| ":\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurp", |
| "le:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",m", |
| "ediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletre", |
| "d:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:", |
| "\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#0000", |
| "80\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange", |
| ":\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#", |
| "eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:", |
| "\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f", |
| "\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#8", |
| "00080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",sad", |
| "dlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen", |
| ":\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0", |
| "\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slat", |
| "egrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"", |
| "#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:", |
| "\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",", |
| "white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen", |
| ":\"#9acd32\"};var ta=\"backgroundColor borderTopColor borderRightColor ", |
| "borderBottomColor borderLeftColor color outlineColor\".split(\" \"),ua=", |
| "/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,va=/^#(?:[0-9a-f]{3}){1,2}$/", |
| "i,wa=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0", |
| "\\.\\d*)\\)$/i,xa=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),", |
| "\\s?(0|[1-9]\\d{0,2})\\)$/i;function ya(a,b){this.code=a;this.state=w[a", |
| "]||za;this.message=b||\"\";var c=this.state.replace(/((?:^|\\s+)[a-z])/", |
| "g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d=", |
| "c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.name=c;c", |
| "=Error(this.message);c.name=this.name;this.stack=c.stack||\"\"}p(ya,Err", |
| "or);var za=\"unknown error\",w={15:\"element not selectable\",11:\"elem", |
| "ent not visible\"};w[31]=za;w[30]=za;w[24]=\"invalid cookie domain\";w[", |
| "29]=\"invalid element coordinates\";w[12]=\"invalid element state\";\nw", |
| "[32]=\"invalid selector\";w[51]=\"invalid selector\";w[52]=\"invalid se", |
| "lector\";w[17]=\"javascript error\";w[405]=\"unsupported operation\";w[", |
| "34]=\"move target out of bounds\";w[27]=\"no such alert\";w[7]=\"no suc", |
| "h element\";w[8]=\"no such frame\";w[23]=\"no such window\";w[28]=\"scr", |
| "ipt timeout\";w[33]=\"session not created\";w[10]=\"stale element refer", |
| "ence\";w[21]=\"timeout\";w[25]=\"unable to set cookie\";w[26]=\"unexpec", |
| "ted alert open\";w[13]=za;w[9]=\"unknown command\";ya.prototype.toStrin", |
| "g=function(){return this.name+\": \"+this.message};function y(a,b){this", |
| ".x=l(a)?a:0;this.y=l(b)?b:0}h=y.prototype;h.clone=function(){return new", |
| " y(this.x,this.y)};h.toString=function(){return\"(\"+this.x+\", \"+this", |
| ".y+\")\"};h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(t", |
| "his.y);return this};h.floor=function(){this.x=Math.floor(this.x);this.y", |
| "=Math.floor(this.y);return this};h.round=function(){this.x=Math.round(t", |
| "his.x);this.y=Math.round(this.y);return this};\nh.translate=function(a,", |
| "b){a instanceof y?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),n(b)&&(t", |
| "his.y+=b));return this};h.scale=function(a,b){var c=n(b)?b:a;this.x*=a;", |
| "this.y*=c;return this};function Aa(a,b){this.width=a;this.height=b}h=Aa", |
| ".prototype;h.clone=function(){return new Aa(this.width,this.height)};h.", |
| "toString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};h", |
| ".ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil", |
| "(this.height);return this};h.floor=function(){this.width=Math.floor(thi", |
| "s.width);this.height=Math.floor(this.height);return this};h.round=funct", |
| "ion(){this.width=Math.round(this.width);this.height=Math.round(this.hei", |
| "ght);return this};\nh.scale=function(a,b){var c=n(b)?b:a;this.width*=a;", |
| "this.height*=c;return this};function Ba(a,b,c){function d(c){c&&b.appen", |
| "dChild(m(c)?a.createTextNode(c):c)}for(var e=1;e<c.length;e++){var f=c[", |
| "e];!ga(f)||ha(f)&&0<f.nodeType?d(f):q(Ca(f)?qa(f):f,d)}}function Da(a,b", |
| "){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contai", |
| "ns(b);if(\"undefined\"!=typeof a.compareDocumentPosition)return a==b||!", |
| "!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return ", |
| "b==a}\nfunction Ea(a,b){if(a==b)return 0;if(a.compareDocumentPosition)r", |
| "eturn a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.par", |
| "entNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeType,d=1==b.nod", |
| "eType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b", |
| ".parentNode;return e==f?Fa(a,b):!c&&Da(e,b)?-1*Ga(a,b):!d&&Da(f,a)?Ga(b", |
| ",a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=z", |
| "(a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=d.createRange();", |
| "d.selectNode(b);\nd.collapse(!0);return c.compareBoundaryPoints(da.Rang", |
| "e.START_TO_END,d)}function Ga(a,b){var c=a.parentNode;if(c==b)return-1;", |
| "for(var d=b;d.parentNode!=c;)d=d.parentNode;return Fa(d,a)}function Fa(", |
| "a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}functio", |
| "n z(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Ca(a", |
| "){if(a&&\"number\"==typeof a.length){if(ha(a))return\"function\"==typeo", |
| "f a.item||\"string\"==typeof a.item;if(\"function\"==fa(a))return\"func", |
| "tion\"==typeof a.item}return!1}\nfunction Ha(a,b){a=a.parentNode;for(va", |
| "r c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}function Ia(a", |
| "){this.O=a||da.document||document}h=Ia.prototype;h.createElement=functi", |
| "on(a){return this.O.createElement(a)};h.createTextNode=function(a){retu", |
| "rn this.O.createTextNode(String(a))};h.appendChild=function(a,b){a.appe", |
| "ndChild(b)};h.append=function(a,b){Ba(z(a),a,arguments)};h.canHaveChild", |
| "ren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case \"APPL", |
| "ET\":case \"AREA\":case \"BASE\":case \"BR\":case \"COL\":case \"COMMAN", |
| "D\":case \"EMBED\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT", |
| "\":case \"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case ", |
| "\"NOFRAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PAR", |
| "AM\":case \"SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case", |
| " \"WBR\":return!1}return!0};\nh.removeNode=function(a){return a&&a.pare", |
| "ntNode?a.parentNode.removeChild(a):null};h.contains=Da;function A(a,b){", |
| "return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};/*\n\n The ", |
| "MIT License\n\n Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 20", |
| "12 Google Inc.\n\n Permission is hereby granted, free of charge, to any", |
| " person obtaining a copy\n of this software and associated documentatio", |
| "n files (the \"Software\"), to\n deal in the Software without restricti", |
| "on, including without limitation the\n rights to use, copy, modify, mer", |
| "ge, publish, distribute, sublicense, and/or\n sell copies of the Softwa", |
| "re, and to permit persons to whom the Software is\n furnished to do so,", |
| " subject to the following conditions:\n\n The above copyright notice an", |
| "d this permission notice shall be included in\n all copies or substanti", |
| "al portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WI", |
| "THOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIM", |
| "ITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR P", |
| "URPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGH", |
| "T HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHE", |
| "R IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF O", |
| "R IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE", |
| " SOFTWARE.\n*/\nfunction B(a,b,c){this.l=a;this.ma=b||1;this.j=c||1};fu", |
| "nction Ja(a){this.T=a;this.I=0}function Ka(a){a=a.match(La);for(var b=0", |
| ";b<a.length;b++)Ma.test(a[b])&&a.splice(b,1);return new Ja(a)}var La=Re", |
| "gExp(\"\\\\$?(?:(?![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.", |
| "])(?:\\\\*|[\\\\w-\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d", |
| "*)?|\\\\.\\\\d+|\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),Ma=/^", |
| "\\s/;function C(a,b){return a.T[a.I+(b||0)]}Ja.prototype.next=function(", |
| "){return this.T[this.I++]};Ja.prototype.back=function(){this.I--};Ja.pr", |
| "ototype.empty=function(){return this.T.length<=this.I};function D(a){va", |
| "r b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.inn", |
| "erText:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||", |
| "1==c){a=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;)", |
| "{do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(", |
| ";c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return\"\"+b}\nfunct", |
| "ion F(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch", |
| "(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}", |
| "function Na(a,b,c,d,e){return Oa.call(null,a,b,m(c)?c:null,m(d)?d:null,", |
| "e||new G)}\nfunction Oa(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?", |
| "(b=b.getElementsByName(d),q(b,function(b){a.matches(b)&&e.add(b)})):b.g", |
| "etElementsByClassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),q", |
| "(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof H", |
| "?Pa(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getN", |
| "ame()),q(b,function(a){F(a,c,d)&&e.add(a)}));return e}function Qa(a,b,c", |
| ",d,e){for(b=b.firstChild;b;b=b.nextSibling)F(b,c,d)&&a.matches(b)&&e.ad", |
| "d(b);return e}\nfunction Pa(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSib", |
| "ling)F(b,c,d)&&a.matches(b)&&e.add(b),Pa(a,b,c,d,e)};function G(){this.", |
| "j=this.g=null;this.D=0}function Ra(a){this.node=a;this.next=this.w=null", |
| "}function Sa(a,b){if(!a.g)return b;if(!b.g)return a;for(var c=a.g,d=b.g", |
| ",e=null,f,g=0;c&&d;)c.node==d.node?(f=c,c=c.next,d=d.next):0<Ea(c.node,", |
| "d.node)?(f=d,d=d.next):(f=c,c=c.next),(f.w=e)?e.next=f:a.g=f,e=f,g++;fo", |
| "r(f=c||d;f;)f.w=e,e=e.next=f,g++,f=f.next;a.j=e;a.D=g;return a}G.protot", |
| "ype.unshift=function(a){a=new Ra(a);a.next=this.g;this.j?this.g.w=a:thi", |
| "s.g=this.j=a;this.g=a;this.D++};\nG.prototype.add=function(a){a=new Ra(", |
| "a);a.w=this.j;this.g?this.j.next=a:this.g=this.j=a;this.j=a;this.D++};f", |
| "unction Ta(a){return(a=a.g)?a.node:null}G.prototype.m=function(){return", |
| " this.D};function Ua(a){return(a=Ta(a))?D(a):\"\"}G.prototype.iterator=", |
| "function(a){return new Va(this,!!a)};function Va(a,b){this.ia=a;this.U=", |
| "(this.A=b)?a.j:a.g;this.P=null}Va.prototype.next=function(){var a=this.", |
| "U;if(null==a)return null;var b=this.P=a;this.U=this.A?a.w:a.next;return", |
| " b.node};\nVa.prototype.remove=function(){var a=this.ia,b=this.P;if(!b)", |
| "throw Error(\"Next must be called at least once before remove.\");var c", |
| "=b.w,b=b.next;c?c.next=b:a.g=b;b?b.w=c:a.j=c;a.D--;this.P=null};functio", |
| "n I(a){this.f=a;this.h=this.o=!1;this.F=null}function K(a){return\"\\n ", |
| " \"+a.toString().split(\"\\n\").join(\"\\n \")}I.prototype.c=function(", |
| "){return this.o};function Wa(a,b){a.o=b}function Xa(a,b){a.h=b}I.protot", |
| "ype.u=function(){return this.F};function L(a,b){var c=a.evaluate(b);ret", |
| "urn c instanceof G?+Ua(c):+c}function M(a,b){var c=a.evaluate(b);return", |
| " c instanceof G?Ua(c):\"\"+c}function O(a,b){var c=a.evaluate(b);return", |
| " c instanceof G?!!c.m():!!c};function Ya(a,b,c){I.call(this,a.f);this.S", |
| "=a;this.Y=b;this.ca=c;this.o=b.c()||c.c();this.h=b.h||c.h;this.S==Za&&(", |
| "c.h||c.c()||4==c.f||0==c.f||!b.u()?b.h||b.c()||4==b.f||0==b.f||!c.u()||", |
| "(this.F={name:c.u().name,C:b}):this.F={name:b.u().name,C:c})}p(Ya,I);\n", |
| "function P(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);var f;if(b instan", |
| "ceof G&&c instanceof G){b=b.iterator();for(d=b.next();d;d=b.next())for(", |
| "e=c.iterator(),f=e.next();f;f=e.next())if(a(D(d),D(f)))return!0;return!", |
| "1}if(b instanceof G||c instanceof G){b instanceof G?(e=b,d=c):(e=c,d=b)", |
| ";f=e.iterator();for(var g=typeof d,k=f.next();k;k=f.next()){switch(g){c", |
| "ase \"number\":k=+D(k);break;case \"boolean\":k=!!D(k);break;case \"str", |
| "ing\":k=D(k);break;default:throw Error(\"Illegal primitive type for com", |
| "parison.\");\n}if(e==b&&a(k,d)||e==c&&a(d,k))return!0}return!1}return e", |
| "?\"boolean\"==typeof b||\"boolean\"==typeof c?a(!!b,!!c):\"number\"==ty", |
| "peof b||\"number\"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}Ya.prototype.eval", |
| "uate=function(a){return this.S.v(this.Y,this.ca,a)};Ya.prototype.toStri", |
| "ng=function(){var a=\"Binary Expression: \"+this.S,a=a+K(this.Y);return", |
| " a+=K(this.ca)};function $a(a,b,c,d){this.la=a;this.aa=b;this.f=c;this.", |
| "v=d}$a.prototype.toString=function(){return this.la};var ab={};\nfuncti", |
| "on Q(a,b,c,d){if(ab.hasOwnProperty(a))throw Error(\"Binary operator alr", |
| "eady created: \"+a);a=new $a(a,b,c,d);return ab[a.toString()]=a}Q(\"div", |
| "\",6,1,function(a,b,c){return L(a,c)/L(b,c)});Q(\"mod\",6,1,function(a,", |
| "b,c){return L(a,c)%L(b,c)});Q(\"*\",6,1,function(a,b,c){return L(a,c)*L", |
| "(b,c)});Q(\"+\",5,1,function(a,b,c){return L(a,c)+L(b,c)});Q(\"-\",5,1,", |
| "function(a,b,c){return L(a,c)-L(b,c)});Q(\"<\",4,2,function(a,b,c){retu", |
| "rn P(function(a,b){return a<b},a,b,c)});\nQ(\">\",4,2,function(a,b,c){r", |
| "eturn P(function(a,b){return a>b},a,b,c)});Q(\"<=\",4,2,function(a,b,c)", |
| "{return P(function(a,b){return a<=b},a,b,c)});Q(\">=\",4,2,function(a,b", |
| ",c){return P(function(a,b){return a>=b},a,b,c)});var Za=Q(\"=\",3,2,fun", |
| "ction(a,b,c){return P(function(a,b){return a==b},a,b,c,!0)});Q(\"!=\",3", |
| ",2,function(a,b,c){return P(function(a,b){return a!=b},a,b,c,!0)});Q(\"", |
| "and\",2,2,function(a,b,c){return O(a,c)&&O(b,c)});Q(\"or\",1,2,function", |
| "(a,b,c){return O(a,c)||O(b,c)});function bb(a,b){if(b.m()&&4!=a.f)throw", |
| " Error(\"Primary expression must evaluate to nodeset if filter has pred", |
| "icate(s).\");I.call(this,a.f);this.ba=a;this.b=b;this.o=a.c();this.h=a.", |
| "h}p(bb,I);bb.prototype.evaluate=function(a){a=this.ba.evaluate(a);retur", |
| "n cb(this.b,a)};bb.prototype.toString=function(){var a;a=\"Filter:\"+K(", |
| "this.ba);return a+=K(this.b)};function db(a,b){if(b.length<a.$)throw Er", |
| "ror(\"Function \"+a.i+\" expects at least\"+a.$+\" arguments, \"+b.leng", |
| "th+\" given\");if(null!==a.R&&b.length>a.R)throw Error(\"Function \"+a.", |
| "i+\" expects at most \"+a.R+\" arguments, \"+b.length+\" given\");a.ja&", |
| "&q(b,function(b,d){if(4!=b.f)throw Error(\"Argument \"+d+\" to function", |
| " \"+a.i+\" is not of type Nodeset: \"+b);});I.call(this,a.f);this.H=a;t", |
| "his.M=b;Wa(this,a.o||v(b,function(a){return a.c()}));Xa(this,a.ha&&!b.l", |
| "ength||a.ga&&!!b.length||v(b,function(a){return a.h}))}\np(db,I);db.pro", |
| "totype.evaluate=function(a){return this.H.v.apply(null,pa(a,this.M))};d", |
| "b.prototype.toString=function(){var a=\"Function: \"+this.H;if(this.M.l", |
| "ength)var b=u(this.M,function(a,b){return a+K(b)},\"Arguments:\"),a=a+K", |
| "(b);return a};function eb(a,b,c,d,e,f,g,k,r){this.i=a;this.f=b;this.o=c", |
| ";this.ha=d;this.ga=e;this.v=f;this.$=g;this.R=l(k)?k:g;this.ja=!!r}eb.p", |
| "rototype.toString=function(){return this.i};var fb={};\nfunction R(a,b,", |
| "c,d,e,f,g,k){if(fb.hasOwnProperty(a))throw Error(\"Function already cre", |
| "ated: \"+a+\".\");fb[a]=new eb(a,b,c,d,!1,e,f,g,k)}R(\"boolean\",2,!1,!", |
| "1,function(a,b){return O(b,a)},1);R(\"ceiling\",1,!1,!1,function(a,b){r", |
| "eturn Math.ceil(L(b,a))},1);R(\"concat\",3,!1,!1,function(a,b){return u", |
| "(ra(arguments,1),function(b,d){return b+M(d,a)},\"\")},2,null);R(\"cont", |
| "ains\",2,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);return-1!=b.indexOf(a)", |
| "},2);R(\"count\",1,!1,!1,function(a,b){return b.evaluate(a).m()},1,1,!0", |
| ");\nR(\"false\",2,!1,!1,function(){return!1},0);R(\"floor\",1,!1,!1,fun", |
| "ction(a,b){return Math.floor(L(b,a))},1);R(\"id\",4,!1,!1,function(a,b)", |
| "{var c=a.l,d=9==c.nodeType?c:c.ownerDocument,c=M(b,a).split(/\\s+/),e=[", |
| "];q(c,function(a){a=d.getElementById(a);!a||0<=na(e,a)||e.push(a)});e.s", |
| "ort(Ea);var f=new G;q(e,function(a){f.add(a)});return f},1);R(\"lang\",", |
| "2,!1,!1,function(){return!1},1);R(\"last\",1,!0,!1,function(a){if(1!=ar", |
| "guments.length)throw Error(\"Function last expects ()\");return a.j},0)", |
| ";\nR(\"local-name\",3,!1,!0,function(a,b){var c=b?Ta(b.evaluate(a)):a.l", |
| ";return c?c.localName||c.nodeName.toLowerCase():\"\"},0,1,!0);R(\"name", |
| "\",3,!1,!0,function(a,b){var c=b?Ta(b.evaluate(a)):a.l;return c?c.nodeN", |
| "ame.toLowerCase():\"\"},0,1,!0);R(\"namespace-uri\",3,!0,!1,function(){", |
| "return\"\"},0,1,!0);R(\"normalize-space\",3,!1,!0,function(a,b){return(", |
| "b?M(b,a):D(a.l)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,", |
| "\"\")},0,1);R(\"not\",2,!1,!1,function(a,b){return!O(b,a)},1);\nR(\"num", |
| "ber\",1,!1,!0,function(a,b){return b?L(b,a):+D(a.l)},0,1);R(\"position", |
| "\",1,!0,!1,function(a){return a.ma},0);R(\"round\",1,!1,!1,function(a,b", |
| "){return Math.round(L(b,a))},1);R(\"starts-with\",2,!1,!1,function(a,b,", |
| "c){b=M(b,a);a=M(c,a);return 0==b.lastIndexOf(a,0)},2);R(\"string\",3,!1", |
| ",!0,function(a,b){return b?M(b,a):D(a.l)},0,1);R(\"string-length\",1,!1", |
| ",!0,function(a,b){return(b?M(b,a):D(a.l)).length},0,1);\nR(\"substring", |
| "\",3,!1,!1,function(a,b,c,d){c=L(c,a);if(isNaN(c)||Infinity==c||-Infini", |
| "ty==c)return\"\";d=d?L(d,a):Infinity;if(isNaN(d)||-Infinity===d)return", |
| "\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=M(b,a);return Infinity==d?", |
| "a.substring(e):a.substring(e,c+Math.round(d))},2,3);R(\"substring-after", |
| "\",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);c=b.indexOf(a);return-1==c", |
| "?\"\":b.substring(c+a.length)},2);\nR(\"substring-before\",3,!1,!1,func", |
| "tion(a,b,c){b=M(b,a);a=M(c,a);a=b.indexOf(a);return-1==a?\"\":b.substri", |
| "ng(0,a)},2);R(\"sum\",1,!1,!1,function(a,b){for(var c=b.evaluate(a).ite", |
| "rator(),d=0,e=c.next();e;e=c.next())d+=+D(e);return d},1,1,!0);R(\"tran", |
| "slate\",3,!1,!1,function(a,b,c,d){b=M(b,a);c=M(c,a);var e=M(d,a);a={};f", |
| "or(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d))}c=", |
| "\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return c},3)", |
| ";R(\"true\",2,!1,!1,function(){return!0},0);function H(a,b){this.ea=a;t", |
| "his.Z=l(b)?b:null;this.B=null;switch(a){case \"comment\":this.B=8;break", |
| ";case \"text\":this.B=3;break;case \"processing-instruction\":this.B=7;", |
| "break;case \"node\":break;default:throw Error(\"Unexpected argument\");", |
| "}}function gb(a){return\"comment\"==a||\"text\"==a||\"processing-instru", |
| "ction\"==a||\"node\"==a}H.prototype.matches=function(a){return null===t", |
| "his.B||this.B==a.nodeType};H.prototype.getName=function(){return this.e", |
| "a};\nH.prototype.toString=function(){var a=\"Kind Test: \"+this.ea;null", |
| "===this.Z||(a+=K(this.Z));return a};function hb(a){I.call(this,3);this.", |
| "da=a.substring(1,a.length-1)}p(hb,I);hb.prototype.evaluate=function(){r", |
| "eturn this.da};hb.prototype.toString=function(){return\"Literal: \"+thi", |
| "s.da};function ib(a,b){this.i=a.toLowerCase();var c;c=\"*\"==this.i?\"*", |
| "\":\"http://www.w3.org/1999/xhtml\";this.J=b?b.toLowerCase():c}ib.proto", |
| "type.matches=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=l(a.", |
| "localName)?a.localName:a.nodeName;return\"*\"!=this.i&&this.i!=b.toLowe", |
| "rCase()?!1:\"*\"==this.J?!0:this.J==(a.namespaceURI?a.namespaceURI.toLo", |
| "werCase():\"http://www.w3.org/1999/xhtml\")};ib.prototype.getName=funct", |
| "ion(){return this.i};\nib.prototype.toString=function(){return\"Name Te", |
| "st: \"+(\"http://www.w3.org/1999/xhtml\"==this.J?\"\":this.J+\":\")+thi", |
| "s.i};function jb(a){I.call(this,1);this.fa=a}p(jb,I);jb.prototype.evalu", |
| "ate=function(){return this.fa};jb.prototype.toString=function(){return", |
| "\"Number: \"+this.fa};function kb(a,b){I.call(this,a.f);this.W=a;this.G", |
| "=b;this.o=a.c();this.h=a.h;if(1==this.G.length){var c=this.G[0];c.N||c.", |
| "s!=lb||(c=c.L,\"*\"!=c.getName()&&(this.F={name:c.getName(),C:null}))}}", |
| "p(kb,I);function mb(){I.call(this,4)}p(mb,I);mb.prototype.evaluate=func", |
| "tion(a){var b=new G;a=a.l;9==a.nodeType?b.add(a):b.add(a.ownerDocument)", |
| ";return b};mb.prototype.toString=function(){return\"Root Helper Express", |
| "ion\"};function nb(){I.call(this,4)}p(nb,I);\nnb.prototype.evaluate=fun", |
| "ction(a){var b=new G;b.add(a.l);return b};nb.prototype.toString=functio", |
| "n(){return\"Context Helper Expression\"};function ob(a){return\"/\"==a|", |
| "|\"//\"==a}\nkb.prototype.evaluate=function(a){var b=this.W.evaluate(a)", |
| ";if(!(b instanceof G))throw Error(\"Filter expression must evaluate to ", |
| "nodeset.\");a=this.G;for(var c=0,d=a.length;c<d&&b.m();c++){var e=a[c],", |
| "f=b.iterator(e.s.A),g;if(e.c()||e.s!=pb)if(e.c()||e.s!=qb)for(g=f.next(", |
| "),b=e.evaluate(new B(g));null!=(g=f.next());)g=e.evaluate(new B(g)),b=S", |
| "a(b,g);else g=f.next(),b=e.evaluate(new B(g));else{for(g=f.next();(b=f.", |
| "next())&&(!g.contains||g.contains(b))&&b.compareDocumentPosition(g)&8;g", |
| "=b);b=e.evaluate(new B(g))}}return b};\nkb.prototype.toString=function(", |
| "){var a;a=\"Path Expression:\"+K(this.W);if(this.G.length){var b=u(this", |
| ".G,function(a,b){return a+K(b)},\"Steps:\");a+=K(b)}return a};function ", |
| "S(a,b){this.b=a;this.A=!!b}function cb(a,b,c){for(c=c||0;c<a.b.length;c", |
| "++)for(var d=a.b[c],e=b.iterator(),f=b.m(),g,k=0;g=e.next();k++){var r=", |
| "a.A?f-k:k+1;g=d.evaluate(new B(g,r,f));if(\"number\"==typeof g)r=r==g;e", |
| "lse if(\"string\"==typeof g||\"boolean\"==typeof g)r=!!g;else if(g inst", |
| "anceof G)r=0<g.m();else throw Error(\"Predicate.evaluate returned an un", |
| "expected type.\");r||e.remove()}return b}S.prototype.u=function(){retur", |
| "n 0<this.b.length?this.b[0].u():null};\nS.prototype.c=function(){for(va", |
| "r a=0;a<this.b.length;a++){var b=this.b[a];if(b.c()||1==b.f||0==b.f)ret", |
| "urn!0}return!1};S.prototype.m=function(){return this.b.length};S.protot", |
| "ype.toString=function(){return u(this.b,function(a,b){return a+K(b)},\"", |
| "Predicates:\")};function T(a,b,c,d){I.call(this,4);this.s=a;this.L=b;th", |
| "is.b=c||new S([]);this.N=!!d;b=this.b.u();a.na&&b&&(this.F={name:b.name", |
| ",C:b.C});this.o=this.b.c()}p(T,I);\nT.prototype.evaluate=function(a){va", |
| "r b=a.l,c=this.u(),d=null,e=null,f=0;c&&(d=c.name,e=c.C?M(c.C,a):null,f", |
| "=1);if(this.N)if(this.c()||this.s!=rb)if(b=(new T(sb,new H(\"node\"))).", |
| "evaluate(a).iterator(),c=b.next())for(a=this.v(c,d,e,f);null!=(c=b.next", |
| "());)a=Sa(a,this.v(c,d,e,f));else a=new G;else a=Na(this.L,b,d,e),a=cb(", |
| "this.b,a,f);else a=this.v(a.l,d,e,f);return a};T.prototype.v=function(a", |
| ",b,c,d){a=this.s.H(this.L,a,b,c);return a=cb(this.b,a,d)};\nT.prototype", |
| ".toString=function(){var a;a=\"Step:\"+K(\"Operator: \"+(this.N?\"//\":", |
| "\"/\"));this.s.i&&(a+=K(\"Axis: \"+this.s));a+=K(this.L);if(this.b.m())", |
| "{var b=u(this.b.b,function(a,b){return a+K(b)},\"Predicates:\");a+=K(b)", |
| "}return a};function tb(a,b,c,d){this.i=a;this.H=b;this.A=c;this.na=d}tb", |
| ".prototype.toString=function(){return this.i};var ub={};function U(a,b,", |
| "c,d){if(ub.hasOwnProperty(a))throw Error(\"Axis already created: \"+a);", |
| "b=new tb(a,b,c,!!d);return ub[a]=b}\nU(\"ancestor\",function(a,b){for(v", |
| "ar c=new G,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);return c},!0)", |
| ";U(\"ancestor-or-self\",function(a,b){var c=new G,d=b;do a.matches(d)&&", |
| "c.unshift(d);while(d=d.parentNode);return c},!0);\nvar lb=U(\"attribute", |
| "\",function(a,b){var c=new G,d=a.getName(),e=b.attributes;if(e)if(a ins", |
| "tanceof H&&null===a.B||\"*\"==d)for(var d=0,f;f=e[d];d++)c.add(f);else(", |
| "f=e.getNamedItem(d))&&c.add(f);return c},!1),rb=U(\"child\",function(a,", |
| "b,c,d,e){return Qa.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new G)},!1,", |
| "!0);U(\"descendant\",Na,!1,!0);\nvar sb=U(\"descendant-or-self\",functi", |
| "on(a,b,c,d){var e=new G;F(b,c,d)&&a.matches(b)&&e.add(b);return Na(a,b,", |
| "c,d,e)},!1,!0),pb=U(\"following\",function(a,b,c,d){var e=new G;do for(", |
| "var f=b;f=f.nextSibling;)F(f,c,d)&&a.matches(f)&&e.add(f),e=Na(a,f,c,d,", |
| "e);while(b=b.parentNode);return e},!1,!0);U(\"following-sibling\",funct", |
| "ion(a,b){for(var c=new G,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d);re", |
| "turn c},!1);U(\"namespace\",function(){return new G},!1);\nvar vb=U(\"p", |
| "arent\",function(a,b){var c=new G;if(9==b.nodeType)return c;if(2==b.nod", |
| "eType)return c.add(b.ownerElement),c;var d=b.parentNode;a.matches(d)&&c", |
| ".add(d);return c},!1),qb=U(\"preceding\",function(a,b,c,d){var e=new G,", |
| "f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,k=f.length;g<k;g", |
| "++){var r=[];for(b=f[g];b=b.previousSibling;)r.unshift(b);for(var J=0,t", |
| "=r.length;J<t;J++)b=r[J],F(b,c,d)&&a.matches(b)&&e.add(b),e=Na(a,b,c,d,", |
| "e)}return e},!0,!0);\nU(\"preceding-sibling\",function(a,b){for(var c=n", |
| "ew G,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);return c},!0);", |
| "var wb=U(\"self\",function(a,b){var c=new G;a.matches(b)&&c.add(b);retu", |
| "rn c},!1);function xb(a){I.call(this,1);this.V=a;this.o=a.c();this.h=a.", |
| "h}p(xb,I);xb.prototype.evaluate=function(a){return-L(this.V,a)};xb.prot", |
| "otype.toString=function(){return\"Unary Expression: -\"+K(this.V)};func", |
| "tion yb(a){I.call(this,4);this.K=a;Wa(this,v(this.K,function(a){return ", |
| "a.c()}));Xa(this,v(this.K,function(a){return a.h}))}p(yb,I);yb.prototyp", |
| "e.evaluate=function(a){var b=new G;q(this.K,function(c){c=c.evaluate(a)", |
| ";if(!(c instanceof G))throw Error(\"Path expression must evaluate to No", |
| "deSet.\");b=Sa(b,c)});return b};yb.prototype.toString=function(){return", |
| " u(this.K,function(a,b){return a+K(b)},\"Union Expression:\")};function", |
| " zb(a,b){this.a=a;this.ka=b}function Ab(a){for(var b,c=[];;){V(a,\"Miss", |
| "ing right hand side of binary expression.\");b=Bb(a);var d=a.a.next();i", |
| "f(!d)break;var e=(d=ab[d]||null)&&d.aa;if(!e){a.a.back();break}for(;c.l", |
| "ength&&e<=c[c.length-1].aa;)b=new Ya(c.pop(),c.pop(),b);c.push(b,d)}for", |
| "(;c.length;)b=new Ya(c.pop(),c.pop(),b);return b}function V(a,b){if(a.a", |
| ".empty())throw Error(b);}function Cb(a,b){var c=a.a.next();if(c!=b)thro", |
| "w Error(\"Bad token, expected: \"+b+\" got: \"+c);}\nfunction Db(a){a=a", |
| ".a.next();if(\")\"!=a)throw Error(\"Bad token: \"+a);}function Eb(a){a=", |
| "a.a.next();if(2>a.length)throw Error(\"Unclosed literal string\");retur", |
| "n new hb(a)}\nfunction Fb(a){var b,c=[],d;if(ob(C(a.a))){b=a.a.next();d", |
| "=C(a.a);if(\"/\"==b&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"", |
| "!=d&&!/(?![0-9])[\\w]/.test(d)))return new mb;d=new mb;V(a,\"Missing ne", |
| "xt location step.\");b=Gb(a,b);c.push(b)}else{a:{b=C(a.a);d=b.charAt(0)", |
| ";switch(d){case \"$\":throw Error(\"Variable reference not allowed in H", |
| "TML XPath\");case \"(\":a.a.next();b=Ab(a);V(a,'unclosed \"(\"');Cb(a,", |
| "\")\");break;case '\"':case \"'\":b=Eb(a);break;default:if(isNaN(+b))if", |
| "(!gb(b)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==C(a.a,\n1)){b=a.a.next();b=fb", |
| "[b]||null;a.a.next();for(d=[];\")\"!=C(a.a);){V(a,\"Missing function ar", |
| "gument list.\");d.push(Ab(a));if(\",\"!=C(a.a))break;a.a.next()}V(a,\"U", |
| "nclosed function argument list.\");Db(a);b=new db(b,d)}else{b=null;brea", |
| "k a}else b=new jb(+a.a.next())}\"[\"==C(a.a)&&(d=new S(Hb(a)),b=new bb(", |
| "b,d))}if(b)if(ob(C(a.a)))d=b;else return b;else b=Gb(a,\"/\"),d=new nb,", |
| "c.push(b)}for(;ob(C(a.a));)b=a.a.next(),V(a,\"Missing next location ste", |
| "p.\"),b=Gb(a,b),c.push(b);return new kb(d,c)}\nfunction Gb(a,b){var c,d", |
| ",e;if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//", |
| "\"');if(\".\"==C(a.a))return d=new T(wb,new H(\"node\")),a.a.next(),d;i", |
| "f(\"..\"==C(a.a))return d=new T(vb,new H(\"node\")),a.a.next(),d;var f;", |
| "if(\"@\"==C(a.a))f=lb,a.a.next(),V(a,\"Missing attribute name\");else i", |
| "f(\"::\"==C(a.a,1)){if(!/(?![0-9])[\\w]/.test(C(a.a).charAt(0)))throw E", |
| "rror(\"Bad token: \"+a.a.next());c=a.a.next();f=ub[c]||null;if(!f)throw", |
| " Error(\"No axis with name: \"+c);a.a.next();V(a,\"Missing node name\")", |
| "}else f=rb;\nc=C(a.a);if(/(?![0-9])[\\w\\*]/.test(c.charAt(0)))if(\"(\"", |
| "==C(a.a,1)){if(!gb(c))throw Error(\"Invalid node type: \"+c);c=a.a.next", |
| "();if(!gb(c))throw Error(\"Invalid type name: \"+c);Cb(a,\"(\");V(a,\"B", |
| "ad nodetype\");e=C(a.a).charAt(0);var g=null;if('\"'==e||\"'\"==e)g=Eb(", |
| "a);V(a,\"Bad nodetype\");Db(a);c=new H(c,g)}else if(c=a.a.next(),e=c.in", |
| "dexOf(\":\"),-1==e)c=new ib(c);else{var g=c.substring(0,e),k;if(\"*\"==", |
| "g)k=\"*\";else if(k=a.ka(g),!k)throw Error(\"Namespace prefix not decla", |
| "red: \"+g);c=c.substr(e+1);c=new ib(c,k)}else throw Error(\"Bad token: ", |
| "\"+\na.a.next());e=new S(Hb(a),f.A);return d||new T(f,c,e,\"//\"==b)}fu", |
| "nction Hb(a){for(var b=[];\"[\"==C(a.a);){a.a.next();V(a,\"Missing pred", |
| "icate expression.\");var c=Ab(a);b.push(c);V(a,\"Unclosed predicate exp", |
| "ression.\");Cb(a,\"]\")}return b}function Bb(a){if(\"-\"==C(a.a))return", |
| " a.a.next(),new xb(Bb(a));var b=Fb(a);if(\"|\"!=C(a.a))a=b;else{for(b=[", |
| "b];\"|\"==a.a.next();)V(a,\"Missing next union location path.\"),b.push", |
| "(Fb(a));a.a.back();a=new yb(b)}return a};function Ib(a){switch(a.nodeTy", |
| "pe){case 1:return la(Jb,a);case 9:return Ib(a.documentElement);case 11:", |
| "case 10:case 6:case 12:return Kb;default:return a.parentNode?Ib(a.paren", |
| "tNode):Kb}}function Kb(){return null}function Jb(a,b){if(a.prefix==b)re", |
| "turn a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttrib", |
| "uteNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parentNode&", |
| "&9!=a.parentNode.nodeType?Jb(a.parentNode,b):null};function Lb(a,b){if(", |
| "!a.length)throw Error(\"Empty XPath expression.\");var c=Ka(a);if(c.emp", |
| "ty())throw Error(\"Invalid XPath expression.\");b?\"function\"==fa(b)||", |
| "(b=ka(b.lookupNamespaceURI,b)):b=function(){return null};var d=Ab(new z", |
| "b(c,b));if(!c.empty())throw Error(\"Bad token: \"+c.next());this.evalua", |
| "te=function(a,b){var c=d.evaluate(new B(a));return new W(c,b)}}\nfuncti", |
| "on W(a,b){if(0==b)if(a instanceof G)b=4;else if(\"string\"==typeof a)b=", |
| "2;else if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;el", |
| "se throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&", |
| "!(a instanceof G))throw Error(\"value could not be converted to the spe", |
| "cified type\");this.resultType=b;var c;switch(b){case 2:this.stringValu", |
| "e=a instanceof G?Ua(a):\"\"+a;break;case 1:this.numberValue=a instanceo", |
| "f G?+Ua(a):+a;break;case 3:this.booleanValue=a instanceof G?0<a.m():!!a", |
| ";break;case 4:case 5:case 6:case 7:var d=\na.iterator();c=[];for(var e=", |
| "d.next();e;e=d.next())c.push(e);this.snapshotLength=a.m();this.invalidI", |
| "teratorState=!1;break;case 8:case 9:this.singleNodeValue=Ta(a);break;de", |
| "fault:throw Error(\"Unknown XPathResult type.\");}var f=0;this.iterateN", |
| "ext=function(){if(4!=b&&5!=b)throw Error(\"iterateNext called with wron", |
| "g result type\");return f>=c.length?null:c[f++]};this.snapshotItem=func", |
| "tion(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong resu", |
| "lt type\");return a>=c.length||0>a?null:c[a]}}\nW.ANY_TYPE=0;W.NUMBER_T", |
| "YPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=4", |
| ";W.ORDERED_NODE_ITERATOR_TYPE=5;W.UNORDERED_NODE_SNAPSHOT_TYPE=6;W.ORDE", |
| "RED_NODE_SNAPSHOT_TYPE=7;W.ANY_UNORDERED_NODE_TYPE=8;W.FIRST_ORDERED_NO", |
| "DE_TYPE=9;function Mb(a){this.lookupNamespaceURI=Ib(a)}\nea(\"wgxpath.i", |
| "nstall\",function(a,b){var c=a||da,d=c.Document&&c.Document.prototype||", |
| "c.document;if(!d.evaluate||b)c.XPathResult=W,d.evaluate=function(a,b,c,", |
| "d){return(new Lb(a,c)).evaluate(b,d)},d.createExpression=function(a,b){", |
| "return new Lb(a,b)},d.createNSResolver=function(a){return new Mb(a)}});", |
| "var Nb=function(){var a={qa:\"http://www.w3.org/2000/svg\"};return func", |
| "tion(b){return a[b]||null}}();\nfunction Ob(a,b){var c=z(a);if(!c.docum", |
| "entElement)return null;try{for(var d=c.createNSResolver?c.createNSResol", |
| "ver(c.documentElement):Nb,e={},f=c.getElementsByTagName(\"*\"),g=0;g<f.", |
| "length;++g){var k=f[g],r=k.namespaceURI;if(r&&!e[r]){var J=k.lookupPref", |
| "ix(r);if(!J)var t=r.match(\".*/(\\\\w+)/?$\"),J=t?t[1]:\"xhtml\";e[r]=J", |
| "}}var x={},E;for(E in e)x[e[E]]=E;d=function(a){return x[a]||null};try{", |
| "return c.evaluate(b,a,d,9,null)}catch(N){if(\"TypeError\"===N.name)retu", |
| "rn d=c.createNSResolver?c.createNSResolver(c.documentElement):\nNb,c.ev", |
| "aluate(b,a,d,9,null);throw N;}}catch(N){throw new ya(32,\"Unable to loc", |
| "ate an element with the xpath expression \"+b+\" because of the followi", |
| "ng error:\\n\"+N);}}\nfunction Pb(a,b){var c=function(){var c=Ob(b,a);r", |
| "eturn c?c.singleNodeValue||null:b.selectSingleNode?(c=z(b),c.setPropert", |
| "y&&c.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(a)", |
| "):null}();if(null!==c&&(!c||1!=c.nodeType))throw new ya(32,'The result ", |
| "of the xpath expression \"'+a+'\" is: '+c+\". It should be an element.", |
| "\");return c};function Qb(a,b,c,d){this.top=a;this.right=b;this.bottom=", |
| "c;this.left=d}h=Qb.prototype;h.clone=function(){return new Qb(this.top,", |
| "this.right,this.bottom,this.left)};h.toString=function(){return\"(\"+th", |
| "is.top+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"}", |
| ";h.contains=function(a){return this&&a?a instanceof Qb?a.left>=this.lef", |
| "t&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=thi", |
| "s.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\nh.expand", |
| "=function(a,b,c,d){ha(a)?(this.top-=a.top,this.right+=a.right,this.bott", |
| "om+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this", |
| ".bottom+=Number(c),this.left-=Number(d));return this};h.ceil=function()", |
| "{this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bot", |
| "tom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};", |
| "\nh.floor=function(){this.top=Math.floor(this.top);this.right=Math.floo", |
| "r(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(", |
| "this.left);return this};h.round=function(){this.top=Math.round(this.top", |
| ");this.right=Math.round(this.right);this.bottom=Math.round(this.bottom)", |
| ";this.left=Math.round(this.left);return this};h.translate=function(a,b)", |
| "{a instanceof y?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bott", |
| "om+=a.y):(this.left+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+=b)", |
| ");return this};\nh.scale=function(a,b){var c=n(b)?b:a;this.left*=a;this", |
| ".right*=a;this.top*=c;this.bottom*=c;return this};function X(a,b,c,d){t", |
| "his.left=a;this.top=b;this.width=c;this.height=d}h=X.prototype;h.clone=", |
| "function(){return new X(this.left,this.top,this.width,this.height)};h.t", |
| "oString=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+this.w", |
| "idth+\"w x \"+this.height+\"h)\"};h.contains=function(a){return a insta", |
| "nceof X?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.t", |
| "op<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=th", |
| "is.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};\nh.ceil=", |
| "function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);", |
| "this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);ret", |
| "urn this};h.floor=function(){this.left=Math.floor(this.left);this.top=M", |
| "ath.floor(this.top);this.width=Math.floor(this.width);this.height=Math.", |
| "floor(this.height);return this};h.round=function(){this.left=Math.round", |
| "(this.left);this.top=Math.round(this.top);this.width=Math.round(this.wi", |
| "dth);this.height=Math.round(this.height);return this};\nh.translate=fun", |
| "ction(a,b){a instanceof y?(this.left+=a.x,this.top+=a.y):(this.left+=a,", |
| "n(b)&&(this.top+=b));return this};h.scale=function(a,b){var c=n(b)?b:a;", |
| "this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};func", |
| "tion Rb(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.no", |
| "deType;)a=a.parentNode;return A(a)?a:null}\nfunction Y(a,b){var c=ma(b)", |
| ";if(\"float\"==c||\"cssFloat\"==c||\"styleFloat\"==c)c=\"cssFloat\";var", |
| " d;a:{d=c;var e=z(a);if(e.defaultView&&e.defaultView.getComputedStyle&&", |
| "(e=e.defaultView.getComputedStyle(a,null))){d=e[d]||e.getPropertyValue(", |
| "d)||\"\";break a}d=\"\"}d=d||Sb(a,c);if(null===d)d=null;else if(0<=na(t", |
| "a,c)){b:{var f=d.match(wa);if(f){var c=Number(f[1]),e=Number(f[2]),g=Nu", |
| "mber(f[3]),f=Number(f[4]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g&&", |
| "0<=f&&1>=f){c=[c,e,g,f];break b}}c=null}if(!c)b:{if(g=d.match(xa))if(c=", |
| "\nNumber(g[1]),e=Number(g[2]),g=Number(g[3]),0<=c&&255>=c&&0<=e&&255>=e", |
| "&&0<=g&&255>=g){c=[c,e,g,1];break b}c=null}if(!c)b:{c=d.toLowerCase();e", |
| "=sa[c.toLowerCase()];if(!e&&(e=\"#\"==c.charAt(0)?c:\"#\"+c,4==e.length", |
| "&&(e=e.replace(ua,\"#$1$1$2$2$3$3\")),!va.test(e))){c=null;break b}c=[p", |
| "arseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(", |
| "5,2),16),1]}d=c?\"rgba(\"+c.join(\", \")+\")\":d}return d}\nfunction Sb", |
| "(a,b){var c=a.currentStyle||a.style,d=c[b];!l(d)&&\"function\"==fa(c.ge", |
| "tPropertyValue)&&(d=c.getPropertyValue(b));return\"inherit\"!=d?l(d)?d:", |
| "null:(c=Rb(a))?Sb(c,b):null}\nfunction Tb(a,b,c){function d(a){var b=Ub", |
| "(a);return 0<b.height&&0<b.width?!0:A(a,\"PATH\")&&(0<b.height||0<b.wid", |
| "th)?(a=Y(a,\"stroke-width\"),!!a&&0<parseInt(a,10)):\"hidden\"!=Y(a,\"o", |
| "verflow\")&&v(a.childNodes,function(a){return 3==a.nodeType||A(a)&&d(a)", |
| "})}function e(a){return Vb(a)==Z&&oa(a.childNodes,function(a){return!A(", |
| "a)||e(a)||!d(a)})}if(!A(a))throw Error(\"Argument to isShown must be of", |
| " type Element\");if(A(a,\"BODY\"))return!0;if(A(a,\"OPTION\")||A(a,\"OP", |
| "TGROUP\"))return a=Ha(a,function(a){return A(a,\"SELECT\")}),\n!!a&&Tb(", |
| "a,!0,c);var f=Wb(a);if(f)return!!f.X&&0<f.rect.width&&0<f.rect.height&&", |
| "Tb(f.X,b,c);if(A(a,\"INPUT\")&&\"hidden\"==a.type.toLowerCase()||A(a,\"", |
| "NOSCRIPT\"))return!1;f=Y(a,\"visibility\");return\"collapse\"!=f&&\"hid", |
| "den\"!=f&&c(a)&&(b||0!=Xb(a))&&d(a)?!e(a):!1}var Z=\"hidden\";\nfunctio", |
| "n Vb(a){function b(a){function b(a){return a==g?!0:0==Y(a,\"display\").", |
| "lastIndexOf(\"inline\",0)||\"absolute\"==c&&\"static\"==Y(a,\"position", |
| "\")?!1:!0}var c=Y(a,\"position\");if(\"fixed\"==c)return J=!0,a==g?null", |
| ":g;for(a=Rb(a);a&&!b(a);)a=Rb(a);return a}function c(a){var b=a;if(\"vi", |
| "sible\"==r)if(a==g&&k)b=k;else if(a==k)return{x:\"visible\",y:\"visible", |
| "\"};b={x:Y(b,\"overflow-x\"),y:Y(b,\"overflow-y\")};a==g&&(b.x=\"visibl", |
| "e\"==b.x?\"auto\":b.x,b.y=\"visible\"==b.y?\"auto\":b.y);return b}funct", |
| "ion d(a){if(a==g){var b=(new Ia(f)).O;\na=b.scrollingElement?b.scrollin", |
| "gElement:b.body||b.documentElement;b=b.parentWindow||b.defaultView;a=ne", |
| "w y(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)}else a=new ", |
| "y(a.scrollLeft,a.scrollTop);return a}var e=Yb(a),f=z(a),g=f.documentEle", |
| "ment,k=f.body,r=Y(g,\"overflow\"),J;for(a=b(a);a;a=b(a)){var t=c(a);if(", |
| "\"visible\"!=t.x||\"visible\"!=t.y){var x=Ub(a);if(0==x.width||0==x.hei", |
| "ght)return Z;var E=e.right<x.left,N=e.bottom<x.top;if(E&&\"hidden\"==t.", |
| "x||N&&\"hidden\"==t.y)return Z;if(E&&\"visible\"!=t.x||N&&\n\"visible\"", |
| "!=t.y){E=d(a);N=e.bottom<x.top-E.y;if(e.right<x.left-E.x&&\"visible\"!=", |
| "t.x||N&&\"visible\"!=t.x)return Z;e=Vb(a);return e==Z?Z:\"scroll\"}E=e.", |
| "left>=x.left+x.width;x=e.top>=x.top+x.height;if(E&&\"hidden\"==t.x||x&&", |
| "\"hidden\"==t.y)return Z;if(E&&\"visible\"!=t.x||x&&\"visible\"!=t.y){i", |
| "f(J&&(t=d(a),e.left>=g.scrollWidth-t.x||e.right>=g.scrollHeight-t.y))re", |
| "turn Z;e=Vb(a);return e==Z?Z:\"scroll\"}}}return\"none\"}\nfunction Ub(", |
| "a){var b=Wb(a);if(b)return b.rect;if(A(a,\"HTML\"))return a=z(a),a=((a?", |
| "a.parentWindow||a.defaultView:window)||window).document,a=\"CSS1Compat", |
| "\"==a.compatMode?a.documentElement:a.body,a=new Aa(a.clientWidth,a.clie", |
| "ntHeight),new X(0,0,a.width,a.height);var c;try{c=a.getBoundingClientRe", |
| "ct()}catch(d){return new X(0,0,0,0)}return new X(c.left,c.top,c.right-c", |
| ".left,c.bottom-c.top)}\nfunction Wb(a){var b=A(a,\"MAP\");if(!b&&!A(a,", |
| "\"AREA\"))return null;var c=b?a:A(a.parentNode,\"MAP\")?a.parentNode:nu", |
| "ll,d=null,e=null;c&&c.name&&(d=Pb('/descendant::*[@usemap = \"#'+c.name", |
| "+'\"]',z(c)))&&(e=Ub(d),b||\"default\"==a.shape.toLowerCase()||(a=Zb(a)", |
| ",b=Math.min(Math.max(a.left,0),e.width),c=Math.min(Math.max(a.top,0),e.", |
| "height),e=new X(b+e.left,c+e.top,Math.min(a.width,e.width-b),Math.min(a", |
| ".height,e.height-c))));return{X:d,rect:e||new X(0,0,0,0)}}\nfunction Zb", |
| "(a){var b=a.shape.toLowerCase();a=a.coords.split(\",\");if(\"rect\"==b&", |
| "&4==a.length){var b=a[0],c=a[1];return new X(b,c,a[2]-b,a[3]-c)}if(\"ci", |
| "rcle\"==b&&3==a.length)return b=a[2],new X(a[0]-b,a[1]-b,2*b,2*b);if(\"", |
| "poly\"==b&&2<a.length){for(var b=a[0],c=a[1],d=b,e=c,f=2;f+1<a.length;f", |
| "+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.m", |
| "ax(e,a[f+1]);return new X(b,c,d-b,e-c)}return new X(0,0,0,0)}function Y", |
| "b(a){a=Ub(a);return new Qb(a.top,a.left+a.width,a.top+a.height,a.left)}", |
| "\nfunction Xb(a){var b=1,c=Y(a,\"opacity\");c&&(b=Number(c));(a=Rb(a))&", |
| "&(b*=Xb(a));return b};ea(\"_\",function(a,b){function c(a){if(\"none\"=", |
| "=Y(a,\"display\"))return!1;a=Rb(a);return!a||c(a)}return Tb(a,!!b,c)});", |
| "; return this._.apply(null,arguments);}.apply({navigator:typeof window!", |
| "='undefined'?window.navigator:null,document:typeof window!='undefined'?", |
| "window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const IS_ENABLED[] = { |
| "function(){return function(){var aa=\"function\"==typeof Object.defineP", |
| "roperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw n", |
| "ew TypeError(\"ES3 does not support getters and setters.\");a!=Array.pr", |
| "ototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeof ", |
| "window&&window===this?this:\"undefined\"!=typeof global?global:this;\nf", |
| "unction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1;e+", |
| "+){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!", |
| "=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"Stri", |
| "ng.prototype.repeat\",function(a){return a?a:function(a){var c;if(null=", |
| "=this)throw new TypeError(\"The 'this' value for String.prototype.repea", |
| "t must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)thr", |
| "ow new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if(a&", |
| "1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){return a", |
| "?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var da=", |
| "this;\nfunction ea(a,b){var c=a.split(\".\"),d=da;c[0]in d||!d.execScri", |
| "pt||d.execScript(\"var \"+c[0]);for(var e;c.length&&(e=c.shift());)c.le", |
| "ngth||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b}\nfunction fa(a){var b=type", |
| "of a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ", |
| "instanceof Object)return b;var c=Object.prototype.toString.call(a);if(", |
| "\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"num", |
| "ber\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=", |
| "typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))retu", |
| "rn\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&", |
| "\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(", |
| "\"call\"))return\"function\"}else return\"null\";\nelse if(\"function\"", |
| "==b&&\"undefined\"==typeof a.call)return\"object\";return b}function h(", |
| "a){return\"string\"==typeof a}function ga(a,b,c){return a.call.apply(a.", |
| "bind,arguments)}function ha(a,b,c){if(!a)throw Error();if(2<arguments.l", |
| "ength){var d=Array.prototype.slice.call(arguments,2);return function(){", |
| "var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.app", |
| "ly(c,d);return a.apply(b,c)}}return function(){return a.apply(b,argumen", |
| "ts)}}\nfunction ia(a,b,c){ia=Function.prototype.bind&&-1!=Function.prot", |
| "otype.bind.toString().indexOf(\"native code\")?ga:ha;return ia.apply(nu", |
| "ll,arguments)}function ja(a,b){var c=Array.prototype.slice.call(argumen", |
| "ts,1);return function(){var b=c.slice();b.push.apply(b,arguments);retur", |
| "n a.apply(this,b)}}\nfunction l(a){var b=m;function c(){}c.prototype=b.", |
| "prototype;a.na=b.prototype;a.prototype=new c;a.prototype.constructor=a;", |
| "a.ma=function(a,c,f){for(var g=Array(arguments.length-2),k=2;k<argument", |
| "s.length;k++)g[k-2]=arguments[k];return b.prototype[c].apply(a,g)}};fun", |
| "ction ka(a,b){if(h(a))return h(b)&&1==b.length?a.indexOf(b,0):-1;for(va", |
| "r c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}function n(a", |
| ",b){for(var c=a.length,d=h(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.cal", |
| "l(void 0,d[e],e,a)}function p(a,b,c){var d=c;n(a,function(c,f){d=b.call", |
| "(void 0,d,c,f,a)});return d}function q(a,b){for(var c=a.length,d=h(a)?a", |
| ".split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;", |
| "return!1}\nfunction la(a){return Array.prototype.concat.apply(Array.pro", |
| "totype,arguments)}function na(a,b,c){return 2>=arguments.length?Array.p", |
| "rototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};function oa", |
| "(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}function pa(a,b", |
| "){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contai", |
| "ns(b);if(\"undefined\"!=typeof a.compareDocumentPosition)return a==b||!", |
| "!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return ", |
| "b==a}\nfunction qa(a,b){if(a==b)return 0;if(a.compareDocumentPosition)r", |
| "eturn a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.par", |
| "entNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeType,d=1==b.nod", |
| "eType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b", |
| ".parentNode;return e==f?ra(a,b):!c&&pa(e,b)?-1*sa(a,b):!d&&pa(f,a)?sa(b", |
| ",a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=9", |
| "==a.nodeType?a:a.ownerDocument||a.document;c=d.createRange();c.selectNo", |
| "de(a);c.collapse(!0);\nd=d.createRange();d.selectNode(b);d.collapse(!0)", |
| ";return c.compareBoundaryPoints(da.Range.START_TO_END,d)}function sa(a,", |
| "b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d", |
| ".parentNode;return ra(d,a)}function ra(a,b){for(var c=b;c=c.previousSib", |
| "ling;)if(c==a)return-1;return 1}function ta(a,b){for(var c=0;a;){if(b(a", |
| "))return a;a=a.parentNode;c++}return null};function ua(a,b){return!!a&&", |
| "1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};/*\n\n The MIT License", |
| "\n\n Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google I", |
| "nc.\n\n Permission is hereby granted, free of charge, to any person obt", |
| "aining a copy\n of this software and associated documentation files (th", |
| "e \"Software\"), to\n deal in the Software without restriction, includi", |
| "ng without limitation the\n rights to use, copy, modify, merge, publish", |
| ", distribute, sublicense, and/or\n sell copies of the Software, and to ", |
| "permit persons to whom the Software is\n furnished to do so, subject to", |
| " the following conditions:\n\n The above copyright notice and this perm", |
| "ission notice shall be included in\n all copies or substantial portions", |
| " of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRA", |
| "NTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE", |
| " WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND ", |
| "NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS B", |
| "E LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACT", |
| "ION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNEC", |
| "TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.", |
| "\n*/\nfunction r(a,b,c){this.l=a;this.ka=b||1;this.j=c||1};function t(a", |
| "){this.S=a;this.I=0}function va(a){a=a.match(wa);for(var b=0;b<a.length", |
| ";b++)xa.test(a[b])&&a.splice(b,1);return new t(a)}var wa=RegExp(\"\\\\$", |
| "?(?:(?![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.])(?:\\\\*|[", |
| "\\\\w-\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|\\\\.", |
| "\\\\d+|\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),xa=/^\\s/;func", |
| "tion u(a,b){return a.S[a.I+(b||0)]}t.prototype.next=function(){return t", |
| "his.S[this.I++]};t.prototype.back=function(){this.I--};t.prototype.empt", |
| "y=function(){return this.S.length<=this.I};function v(a){var b=null,c=a", |
| ".nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=v", |
| "oid 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c", |
| "?a.documentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nod", |
| "eType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--", |
| "c].nextSibling););}}else b=a.nodeValue;return\"\"+b}\nfunction x(a,b,c)", |
| "{if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1", |
| "}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function y(a", |
| ",b,c,d,e){return ya.call(null,a,b,h(c)?c:null,h(d)?d:null,e||new z)}\nf", |
| "unction ya(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getEleme", |
| "ntsByName(d),n(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByC", |
| "lassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),n(b,function(b", |
| "){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof A?za(a,b,c,d,e", |
| "):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),n(b,fu", |
| "nction(a){x(a,c,d)&&e.add(a)}));return e}function Aa(a,b,c,d,e){for(b=b", |
| ".firstChild;b;b=b.nextSibling)x(b,c,d)&&a.matches(b)&&e.add(b);return e", |
| "}\nfunction za(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)x(b,c,d)", |
| "&&a.matches(b)&&e.add(b),za(a,b,c,d,e)};function z(){this.j=this.g=null", |
| ";this.D=0}function Ba(a){this.node=a;this.next=this.w=null}function Ca(", |
| "a,b){if(!a.g)return b;if(!b.g)return a;for(var c=a.g,d=b.g,e=null,f,g=0", |
| ";c&&d;)c.node==d.node?(f=c,c=c.next,d=d.next):0<qa(c.node,d.node)?(f=d,", |
| "d=d.next):(f=c,c=c.next),(f.w=e)?e.next=f:a.g=f,e=f,g++;for(f=c||d;f;)f", |
| ".w=e,e=e.next=f,g++,f=f.next;a.j=e;a.D=g;return a}z.prototype.unshift=f", |
| "unction(a){a=new Ba(a);a.next=this.g;this.j?this.g.w=a:this.g=this.j=a;", |
| "this.g=a;this.D++};\nz.prototype.add=function(a){a=new Ba(a);a.w=this.j", |
| ";this.g?this.j.next=a:this.g=this.j=a;this.j=a;this.D++};function B(a){", |
| "return(a=a.g)?a.node:null}z.prototype.m=function(){return this.D};funct", |
| "ion C(a){return(a=B(a))?v(a):\"\"}z.prototype.iterator=function(a){retu", |
| "rn new Da(this,!!a)};function Da(a,b){this.ga=a;this.T=(this.A=b)?a.j:a", |
| ".g;this.O=null}Da.prototype.next=function(){var a=this.T;if(null==a)ret", |
| "urn null;var b=this.O=a;this.T=this.A?a.w:a.next;return b.node};\nDa.pr", |
| "ototype.remove=function(){var a=this.ga,b=this.O;if(!b)throw Error(\"Ne", |
| "xt must be called at least once before remove.\");var c=b.w,b=b.next;c?", |
| "c.next=b:a.g=b;b?b.w=c:a.j=c;a.D--;this.O=null};function m(a){this.f=a;", |
| "this.h=this.o=!1;this.F=null}function D(a){return\"\\n \"+a.toString()", |
| ".split(\"\\n\").join(\"\\n \")}m.prototype.c=function(){return this.o}", |
| ";function Ea(a,b){a.o=b}function Fa(a,b){a.h=b}m.prototype.u=function()", |
| "{return this.F};function E(a,b){var c=a.evaluate(b);return c instanceof", |
| " z?+C(c):+c}function F(a,b){var c=a.evaluate(b);return c instanceof z?C", |
| "(c):\"\"+c}function G(a,b){var c=a.evaluate(b);return c instanceof z?!!", |
| "c.m():!!c};function H(a,b,c){m.call(this,a.f);this.R=a;this.W=b;this.aa", |
| "=c;this.o=b.c()||c.c();this.h=b.h||c.h;this.R==Ga&&(c.h||c.c()||4==c.f|", |
| "|0==c.f||!b.u()?b.h||b.c()||4==b.f||0==b.f||!c.u()||(this.F={name:c.u()", |
| ".name,C:b}):this.F={name:b.u().name,C:c})}l(H);\nfunction I(a,b,c,d,e){", |
| "b=b.evaluate(d);c=c.evaluate(d);var f;if(b instanceof z&&c instanceof z", |
| "){b=b.iterator();for(d=b.next();d;d=b.next())for(e=c.iterator(),f=e.nex", |
| "t();f;f=e.next())if(a(v(d),v(f)))return!0;return!1}if(b instanceof z||c", |
| " instanceof z){b instanceof z?(e=b,d=c):(e=c,d=b);f=e.iterator();for(va", |
| "r g=typeof d,k=f.next();k;k=f.next()){switch(g){case \"number\":k=+v(k)", |
| ";break;case \"boolean\":k=!!v(k);break;case \"string\":k=v(k);break;def", |
| "ault:throw Error(\"Illegal primitive type for comparison.\");\n}if(e==b", |
| "&&a(k,d)||e==c&&a(d,k))return!0}return!1}return e?\"boolean\"==typeof b", |
| "||\"boolean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==ty", |
| "peof c?a(+b,+c):a(b,c):a(+b,+c)}H.prototype.evaluate=function(a){return", |
| " this.R.v(this.W,this.aa,a)};H.prototype.toString=function(){var a=\"Bi", |
| "nary Expression: \"+this.R,a=a+D(this.W);return a+=D(this.aa)};function", |
| " Ha(a,b,c,d){this.ja=a;this.Z=b;this.f=c;this.v=d}Ha.prototype.toString", |
| "=function(){return this.ja};var Ia={};\nfunction J(a,b,c,d){if(Ia.hasOw", |
| "nProperty(a))throw Error(\"Binary operator already created: \"+a);a=new", |
| " Ha(a,b,c,d);return Ia[a.toString()]=a}J(\"div\",6,1,function(a,b,c){re", |
| "turn E(a,c)/E(b,c)});J(\"mod\",6,1,function(a,b,c){return E(a,c)%E(b,c)", |
| "});J(\"*\",6,1,function(a,b,c){return E(a,c)*E(b,c)});J(\"+\",5,1,funct", |
| "ion(a,b,c){return E(a,c)+E(b,c)});J(\"-\",5,1,function(a,b,c){return E(", |
| "a,c)-E(b,c)});J(\"<\",4,2,function(a,b,c){return I(function(a,b){return", |
| " a<b},a,b,c)});\nJ(\">\",4,2,function(a,b,c){return I(function(a,b){ret", |
| "urn a>b},a,b,c)});J(\"<=\",4,2,function(a,b,c){return I(function(a,b){r", |
| "eturn a<=b},a,b,c)});J(\">=\",4,2,function(a,b,c){return I(function(a,b", |
| "){return a>=b},a,b,c)});var Ga=J(\"=\",3,2,function(a,b,c){return I(fun", |
| "ction(a,b){return a==b},a,b,c,!0)});J(\"!=\",3,2,function(a,b,c){return", |
| " I(function(a,b){return a!=b},a,b,c,!0)});J(\"and\",2,2,function(a,b,c)", |
| "{return G(a,c)&&G(b,c)});J(\"or\",1,2,function(a,b,c){return G(a,c)||G(", |
| "b,c)});function K(a,b){if(b.m()&&4!=a.f)throw Error(\"Primary expressio", |
| "n must evaluate to nodeset if filter has predicate(s).\");m.call(this,a", |
| ".f);this.$=a;this.b=b;this.o=a.c();this.h=a.h}l(K);K.prototype.evaluate", |
| "=function(a){a=this.$.evaluate(a);return Ja(this.b,a)};K.prototype.toSt", |
| "ring=function(){var a;a=\"Filter:\"+D(this.$);return a+=D(this.b)};func", |
| "tion L(a,b){if(b.length<a.Y)throw Error(\"Function \"+a.i+\" expects at", |
| " least\"+a.Y+\" arguments, \"+b.length+\" given\");if(null!==a.P&&b.len", |
| "gth>a.P)throw Error(\"Function \"+a.i+\" expects at most \"+a.P+\" argu", |
| "ments, \"+b.length+\" given\");a.ha&&n(b,function(b,d){if(4!=b.f)throw ", |
| "Error(\"Argument \"+d+\" to function \"+a.i+\" is not of type Nodeset: ", |
| "\"+b);});m.call(this,a.f);this.H=a;this.M=b;Ea(this,a.o||q(b,function(a", |
| "){return a.c()}));Fa(this,a.fa&&!b.length||a.ea&&!!b.length||q(b,functi", |
| "on(a){return a.h}))}l(L);\nL.prototype.evaluate=function(a){return this", |
| ".H.v.apply(null,la(a,this.M))};L.prototype.toString=function(){var a=\"", |
| "Function: \"+this.H;if(this.M.length)var b=p(this.M,function(a,b){retur", |
| "n a+D(b)},\"Arguments:\"),a=a+D(b);return a};function Ka(a,b,c,d,e,f,g,", |
| "k,w){this.i=a;this.f=b;this.o=c;this.fa=d;this.ea=e;this.v=f;this.Y=g;t", |
| "his.P=void 0!==k?k:g;this.ha=!!w}Ka.prototype.toString=function(){retur", |
| "n this.i};var La={};\nfunction M(a,b,c,d,e,f,g,k){if(La.hasOwnProperty(", |
| "a))throw Error(\"Function already created: \"+a+\".\");La[a]=new Ka(a,b", |
| ",c,d,!1,e,f,g,k)}M(\"boolean\",2,!1,!1,function(a,b){return G(b,a)},1);", |
| "M(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(E(b,a))},1);M(\"co", |
| "ncat\",3,!1,!1,function(a,b){return p(na(arguments,1),function(b,d){ret", |
| "urn b+F(d,a)},\"\")},2,null);M(\"contains\",2,!1,!1,function(a,b,c){b=F", |
| "(b,a);a=F(c,a);return-1!=b.indexOf(a)},2);M(\"count\",1,!1,!1,function(", |
| "a,b){return b.evaluate(a).m()},1,1,!0);\nM(\"false\",2,!1,!1,function()", |
| "{return!1},0);M(\"floor\",1,!1,!1,function(a,b){return Math.floor(E(b,a", |
| "))},1);M(\"id\",4,!1,!1,function(a,b){var c=a.l,d=9==c.nodeType?c:c.own", |
| "erDocument,c=F(b,a).split(/\\s+/),e=[];n(c,function(a){a=d.getElementBy", |
| "Id(a);!a||0<=ka(e,a)||e.push(a)});e.sort(qa);var f=new z;n(e,function(a", |
| "){f.add(a)});return f},1);M(\"lang\",2,!1,!1,function(){return!1},1);M(", |
| "\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw Error(\"Funct", |
| "ion last expects ()\");return a.j},0);\nM(\"local-name\",3,!1,!0,functi", |
| "on(a,b){var c=b?B(b.evaluate(a)):a.l;return c?c.localName||c.nodeName.t", |
| "oLowerCase():\"\"},0,1,!0);M(\"name\",3,!1,!0,function(a,b){var c=b?B(b", |
| ".evaluate(a)):a.l;return c?c.nodeName.toLowerCase():\"\"},0,1,!0);M(\"n", |
| "amespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);M(\"normalize-spa", |
| "ce\",3,!1,!0,function(a,b){return(b?F(b,a):v(a.l)).replace(/[\\s\\xa0]+", |
| "/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);M(\"not\",2,!1,!1,function", |
| "(a,b){return!G(b,a)},1);\nM(\"number\",1,!1,!0,function(a,b){return b?E", |
| "(b,a):+v(a.l)},0,1);M(\"position\",1,!0,!1,function(a){return a.ka},0);", |
| "M(\"round\",1,!1,!1,function(a,b){return Math.round(E(b,a))},1);M(\"sta", |
| "rts-with\",2,!1,!1,function(a,b,c){b=F(b,a);a=F(c,a);return 0==b.lastIn", |
| "dexOf(a,0)},2);M(\"string\",3,!1,!0,function(a,b){return b?F(b,a):v(a.l", |
| ")},0,1);M(\"string-length\",1,!1,!0,function(a,b){return(b?F(b,a):v(a.l", |
| ")).length},0,1);\nM(\"substring\",3,!1,!1,function(a,b,c,d){c=E(c,a);if", |
| "(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?E(d,a):Infinity;if(", |
| "isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0", |
| ");a=F(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round", |
| "(d))},2,3);M(\"substring-after\",3,!1,!1,function(a,b,c){b=F(b,a);a=F(c", |
| ",a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nM(\"s", |
| "ubstring-before\",3,!1,!1,function(a,b,c){b=F(b,a);a=F(c,a);a=b.indexOf", |
| "(a);return-1==a?\"\":b.substring(0,a)},2);M(\"sum\",1,!1,!1,function(a,", |
| "b){for(var c=b.evaluate(a).iterator(),d=0,e=c.next();e;e=c.next())d+=+v", |
| "(e);return d},1,1,!0);M(\"translate\",3,!1,!1,function(a,b,c,d){b=F(b,a", |
| ");c=F(c,a);var e=F(d,a);a={};for(d=0;d<c.length;d++){var f=c.charAt(d);", |
| "f in a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),", |
| "c+=f in a?a[f]:f;return c},3);M(\"true\",2,!1,!1,function(){return!0},0", |
| ");function A(a,b){this.ca=a;this.X=void 0!==b?b:null;this.B=null;switch", |
| "(a){case \"comment\":this.B=8;break;case \"text\":this.B=3;break;case ", |
| "\"processing-instruction\":this.B=7;break;case \"node\":break;default:t", |
| "hrow Error(\"Unexpected argument\");}}function Ma(a){return\"comment\"=", |
| "=a||\"text\"==a||\"processing-instruction\"==a||\"node\"==a}A.prototype", |
| ".matches=function(a){return null===this.B||this.B==a.nodeType};A.protot", |
| "ype.getName=function(){return this.ca};\nA.prototype.toString=function(", |
| "){var a=\"Kind Test: \"+this.ca;null===this.X||(a+=D(this.X));return a}", |
| ";function N(a){m.call(this,3);this.ba=a.substring(1,a.length-1)}l(N);N.", |
| "prototype.evaluate=function(){return this.ba};N.prototype.toString=func", |
| "tion(){return\"Literal: \"+this.ba};function O(a,b){this.i=a.toLowerCas", |
| "e();var c;c=\"*\"==this.i?\"*\":\"http://www.w3.org/1999/xhtml\";this.J", |
| "=b?b.toLowerCase():c}O.prototype.matches=function(a){var b=a.nodeType;i", |
| "f(1!=b&&2!=b)return!1;b=void 0!==a.localName?a.localName:a.nodeName;ret", |
| "urn\"*\"!=this.i&&this.i!=b.toLowerCase()?!1:\"*\"==this.J?!0:this.J==(", |
| "a.namespaceURI?a.namespaceURI.toLowerCase():\"http://www.w3.org/1999/xh", |
| "tml\")};O.prototype.getName=function(){return this.i};\nO.prototype.toS", |
| "tring=function(){return\"Name Test: \"+(\"http://www.w3.org/1999/xhtml", |
| "\"==this.J?\"\":this.J+\":\")+this.i};function P(a){m.call(this,1);this", |
| ".da=a}l(P);P.prototype.evaluate=function(){return this.da};P.prototype.", |
| "toString=function(){return\"Number: \"+this.da};function Q(a,b){m.call(", |
| "this,a.f);this.V=a;this.G=b;this.o=a.c();this.h=a.h;if(1==this.G.length", |
| "){var c=this.G[0];c.N||c.s!=Na||(c=c.L,\"*\"!=c.getName()&&(this.F={nam", |
| "e:c.getName(),C:null}))}}l(Q);function R(){m.call(this,4)}l(R);R.protot", |
| "ype.evaluate=function(a){var b=new z;a=a.l;9==a.nodeType?b.add(a):b.add", |
| "(a.ownerDocument);return b};R.prototype.toString=function(){return\"Roo", |
| "t Helper Expression\"};function S(){m.call(this,4)}l(S);S.prototype.eva", |
| "luate=function(a){var b=new z;b.add(a.l);return b};\nS.prototype.toStri", |
| "ng=function(){return\"Context Helper Expression\"};function Oa(a){retur", |
| "n\"/\"==a||\"//\"==a}\nQ.prototype.evaluate=function(a){var b=this.V.ev", |
| "aluate(a);if(!(b instanceof z))throw Error(\"Filter expression must eva", |
| "luate to nodeset.\");a=this.G;for(var c=0,d=a.length;c<d&&b.m();c++){va", |
| "r e=a[c],f=b.iterator(e.s.A),g;if(e.c()||e.s!=Pa)if(e.c()||e.s!=Qa)for(", |
| "g=f.next(),b=e.evaluate(new r(g));null!=(g=f.next());)g=e.evaluate(new ", |
| "r(g)),b=Ca(b,g);else g=f.next(),b=e.evaluate(new r(g));else{for(g=f.nex", |
| "t();(b=f.next())&&(!g.contains||g.contains(b))&&b.compareDocumentPositi", |
| "on(g)&8;g=b);b=e.evaluate(new r(g))}}return b};\nQ.prototype.toString=f", |
| "unction(){var a;a=\"Path Expression:\"+D(this.V);if(this.G.length){var ", |
| "b=p(this.G,function(a,b){return a+D(b)},\"Steps:\");a+=D(b)}return a};f", |
| "unction T(a,b){this.b=a;this.A=!!b}function Ja(a,b,c){for(c=c||0;c<a.b.", |
| "length;c++)for(var d=a.b[c],e=b.iterator(),f=b.m(),g,k=0;g=e.next();k++", |
| "){var w=a.A?f-k:k+1;g=d.evaluate(new r(g,w,f));if(\"number\"==typeof g)", |
| "w=w==g;else if(\"string\"==typeof g||\"boolean\"==typeof g)w=!!g;else i", |
| "f(g instanceof z)w=0<g.m();else throw Error(\"Predicate.evaluate return", |
| "ed an unexpected type.\");w||e.remove()}return b}T.prototype.u=function", |
| "(){return 0<this.b.length?this.b[0].u():null};\nT.prototype.c=function(", |
| "){for(var a=0;a<this.b.length;a++){var b=this.b[a];if(b.c()||1==b.f||0=", |
| "=b.f)return!0}return!1};T.prototype.m=function(){return this.b.length};", |
| "T.prototype.toString=function(){return p(this.b,function(a,b){return a+", |
| "D(b)},\"Predicates:\")};function U(a,b,c,d){m.call(this,4);this.s=a;thi", |
| "s.L=b;this.b=c||new T([]);this.N=!!d;b=this.b.u();a.la&&b&&(this.F={nam", |
| "e:b.name,C:b.C});this.o=this.b.c()}l(U);\nU.prototype.evaluate=function", |
| "(a){var b=a.l,c=this.u(),d=null,e=null,f=0;c&&(d=c.name,e=c.C?F(c.C,a):", |
| "null,f=1);if(this.N)if(this.c()||this.s!=Ra)if(b=(new U(Sa,new A(\"node", |
| "\"))).evaluate(a).iterator(),c=b.next())for(a=this.v(c,d,e,f);null!=(c=", |
| "b.next());)a=Ca(a,this.v(c,d,e,f));else a=new z;else a=y(this.L,b,d,e),", |
| "a=Ja(this.b,a,f);else a=this.v(a.l,d,e,f);return a};U.prototype.v=funct", |
| "ion(a,b,c,d){a=this.s.H(this.L,a,b,c);return a=Ja(this.b,a,d)};\nU.prot", |
| "otype.toString=function(){var a;a=\"Step:\"+D(\"Operator: \"+(this.N?\"", |
| "//\":\"/\"));this.s.i&&(a+=D(\"Axis: \"+this.s));a+=D(this.L);if(this.b", |
| ".m()){var b=p(this.b.b,function(a,b){return a+D(b)},\"Predicates:\");a+", |
| "=D(b)}return a};function Ta(a,b,c,d){this.i=a;this.H=b;this.A=c;this.la", |
| "=d}Ta.prototype.toString=function(){return this.i};var Ua={};function V", |
| "(a,b,c,d){if(Ua.hasOwnProperty(a))throw Error(\"Axis already created: ", |
| "\"+a);b=new Ta(a,b,c,!!d);return Ua[a]=b}\nV(\"ancestor\",function(a,b)", |
| "{for(var c=new z,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);return ", |
| "c},!0);V(\"ancestor-or-self\",function(a,b){var c=new z,d=b;do a.matche", |
| "s(d)&&c.unshift(d);while(d=d.parentNode);return c},!0);\nvar Na=V(\"att", |
| "ribute\",function(a,b){var c=new z,d=a.getName(),e=b.attributes;if(e)if", |
| "(a instanceof A&&null===a.B||\"*\"==d)for(var d=0,f;f=e[d];d++)c.add(f)", |
| ";else(f=e.getNamedItem(d))&&c.add(f);return c},!1),Ra=V(\"child\",funct", |
| "ion(a,b,c,d,e){return Aa.call(null,a,b,h(c)?c:null,h(d)?d:null,e||new z", |
| ")},!1,!0);V(\"descendant\",y,!1,!0);\nvar Sa=V(\"descendant-or-self\",f", |
| "unction(a,b,c,d){var e=new z;x(b,c,d)&&a.matches(b)&&e.add(b);return y(", |
| "a,b,c,d,e)},!1,!0),Pa=V(\"following\",function(a,b,c,d){var e=new z;do ", |
| "for(var f=b;f=f.nextSibling;)x(f,c,d)&&a.matches(f)&&e.add(f),e=y(a,f,c", |
| ",d,e);while(b=b.parentNode);return e},!1,!0);V(\"following-sibling\",fu", |
| "nction(a,b){for(var c=new z,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d)", |
| ";return c},!1);V(\"namespace\",function(){return new z},!1);\nvar Va=V(", |
| "\"parent\",function(a,b){var c=new z;if(9==b.nodeType)return c;if(2==b.", |
| "nodeType)return c.add(b.ownerElement),c;var d=b.parentNode;a.matches(d)", |
| "&&c.add(d);return c},!1),Qa=V(\"preceding\",function(a,b,c,d){var e=new", |
| " z,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,k=f.length;g<", |
| "k;g++){var w=[];for(b=f[g];b=b.previousSibling;)w.unshift(b);for(var ma", |
| "=0,ib=w.length;ma<ib;ma++)b=w[ma],x(b,c,d)&&a.matches(b)&&e.add(b),e=y(", |
| "a,b,c,d,e)}return e},!0,!0);\nV(\"preceding-sibling\",function(a,b){for", |
| "(var c=new z,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);return", |
| " c},!0);var Wa=V(\"self\",function(a,b){var c=new z;a.matches(b)&&c.add", |
| "(b);return c},!1);function W(a){m.call(this,1);this.U=a;this.o=a.c();th", |
| "is.h=a.h}l(W);W.prototype.evaluate=function(a){return-E(this.U,a)};W.pr", |
| "ototype.toString=function(){return\"Unary Expression: -\"+D(this.U)};fu", |
| "nction X(a){m.call(this,4);this.K=a;Ea(this,q(this.K,function(a){return", |
| " a.c()}));Fa(this,q(this.K,function(a){return a.h}))}l(X);X.prototype.e", |
| "valuate=function(a){var b=new z;n(this.K,function(c){c=c.evaluate(a);if", |
| "(!(c instanceof z))throw Error(\"Path expression must evaluate to NodeS", |
| "et.\");b=Ca(b,c)});return b};X.prototype.toString=function(){return p(t", |
| "his.K,function(a,b){return a+D(b)},\"Union Expression:\")};function Xa(", |
| "a,b){this.a=a;this.ia=b}function Ya(a){for(var b,c=[];;){Y(a,\"Missing ", |
| "right hand side of binary expression.\");b=Za(a);var d=a.a.next();if(!d", |
| ")break;var e=(d=Ia[d]||null)&&d.Z;if(!e){a.a.back();break}for(;c.length", |
| "&&e<=c[c.length-1].Z;)b=new H(c.pop(),c.pop(),b);c.push(b,d)}for(;c.len", |
| "gth;)b=new H(c.pop(),c.pop(),b);return b}function Y(a,b){if(a.a.empty()", |
| ")throw Error(b);}function $a(a,b){var c=a.a.next();if(c!=b)throw Error(", |
| "\"Bad token, expected: \"+b+\" got: \"+c);}\nfunction ab(a){a=a.a.next(", |
| ");if(\")\"!=a)throw Error(\"Bad token: \"+a);}function bb(a){a=a.a.next", |
| "();if(2>a.length)throw Error(\"Unclosed literal string\");return new N(", |
| "a)}\nfunction cb(a){var b,c=[],d;if(Oa(u(a.a))){b=a.a.next();d=u(a.a);i", |
| "f(\"/\"==b&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?", |
| "![0-9])[\\w]/.test(d)))return new R;d=new R;Y(a,\"Missing next location", |
| " step.\");b=db(a,b);c.push(b)}else{a:{b=u(a.a);d=b.charAt(0);switch(d){", |
| "case \"$\":throw Error(\"Variable reference not allowed in HTML XPath\"", |
| ");case \"(\":a.a.next();b=Ya(a);Y(a,'unclosed \"(\"');$a(a,\")\");break", |
| ";case '\"':case \"'\":b=bb(a);break;default:if(isNaN(+b))if(!Ma(b)&&/(?", |
| "![0-9])[\\w]/.test(d)&&\"(\"==u(a.a,1)){b=\na.a.next();b=La[b]||null;a.", |
| "a.next();for(d=[];\")\"!=u(a.a);){Y(a,\"Missing function argument list.", |
| "\");d.push(Ya(a));if(\",\"!=u(a.a))break;a.a.next()}Y(a,\"Unclosed func", |
| "tion argument list.\");ab(a);b=new L(b,d)}else{b=null;break a}else b=ne", |
| "w P(+a.a.next())}\"[\"==u(a.a)&&(d=new T(eb(a)),b=new K(b,d))}if(b)if(O", |
| "a(u(a.a)))d=b;else return b;else b=db(a,\"/\"),d=new S,c.push(b)}for(;O", |
| "a(u(a.a));)b=a.a.next(),Y(a,\"Missing next location step.\"),b=db(a,b),", |
| "c.push(b);return new Q(d,c)}\nfunction db(a,b){var c,d,e;if(\"/\"!=b&&", |
| "\"//\"!=b)throw Error('Step op should be \"/\" or \"//\"');if(\".\"==u(", |
| "a.a))return d=new U(Wa,new A(\"node\")),a.a.next(),d;if(\"..\"==u(a.a))", |
| "return d=new U(Va,new A(\"node\")),a.a.next(),d;var f;if(\"@\"==u(a.a))", |
| "f=Na,a.a.next(),Y(a,\"Missing attribute name\");else if(\"::\"==u(a.a,1", |
| ")){if(!/(?![0-9])[\\w]/.test(u(a.a).charAt(0)))throw Error(\"Bad token:", |
| " \"+a.a.next());c=a.a.next();f=Ua[c]||null;if(!f)throw Error(\"No axis ", |
| "with name: \"+c);a.a.next();Y(a,\"Missing node name\")}else f=Ra;\nc=u(", |
| "a.a);if(/(?![0-9])[\\w\\*]/.test(c.charAt(0)))if(\"(\"==u(a.a,1)){if(!M", |
| "a(c))throw Error(\"Invalid node type: \"+c);c=a.a.next();if(!Ma(c))thro", |
| "w Error(\"Invalid type name: \"+c);$a(a,\"(\");Y(a,\"Bad nodetype\");e=", |
| "u(a.a).charAt(0);var g=null;if('\"'==e||\"'\"==e)g=bb(a);Y(a,\"Bad node", |
| "type\");ab(a);c=new A(c,g)}else if(c=a.a.next(),e=c.indexOf(\":\"),-1==", |
| "e)c=new O(c);else{var g=c.substring(0,e),k;if(\"*\"==g)k=\"*\";else if(", |
| "k=a.ia(g),!k)throw Error(\"Namespace prefix not declared: \"+g);c=c.sub", |
| "str(e+1);c=new O(c,k)}else throw Error(\"Bad token: \"+\na.a.next());e=", |
| "new T(eb(a),f.A);return d||new U(f,c,e,\"//\"==b)}function eb(a){for(va", |
| "r b=[];\"[\"==u(a.a);){a.a.next();Y(a,\"Missing predicate expression.\"", |
| ");var c=Ya(a);b.push(c);Y(a,\"Unclosed predicate expression.\");$a(a,\"", |
| "]\")}return b}function Za(a){if(\"-\"==u(a.a))return a.a.next(),new W(Z", |
| "a(a));var b=cb(a);if(\"|\"!=u(a.a))a=b;else{for(b=[b];\"|\"==a.a.next()", |
| ";)Y(a,\"Missing next union location path.\"),b.push(cb(a));a.a.back();a", |
| "=new X(b)}return a};function fb(a){switch(a.nodeType){case 1:return ja(", |
| "gb,a);case 9:return fb(a.documentElement);case 11:case 10:case 6:case 1", |
| "2:return hb;default:return a.parentNode?fb(a.parentNode):hb}}function h", |
| "b(){return null}function gb(a,b){if(a.prefix==b)return a.namespaceURI||", |
| "\"http://www.w3.org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b)", |
| ";return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.node", |
| "Type?gb(a.parentNode,b):null};function jb(a,b){if(!a.length)throw Error", |
| "(\"Empty XPath expression.\");var c=va(a);if(c.empty())throw Error(\"In", |
| "valid XPath expression.\");b?\"function\"==fa(b)||(b=ia(b.lookupNamespa", |
| "ceURI,b)):b=function(){return null};var d=Ya(new Xa(c,b));if(!c.empty()", |
| ")throw Error(\"Bad token: \"+c.next());this.evaluate=function(a,b){var ", |
| "c=d.evaluate(new r(a));return new Z(c,b)}}\nfunction Z(a,b){if(0==b)if(", |
| "a instanceof z)b=4;else if(\"string\"==typeof a)b=2;else if(\"number\"=", |
| "=typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else throw Error(\"Unex", |
| "pected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof z))thr", |
| "ow Error(\"value could not be converted to the specified type\");this.r", |
| "esultType=b;var c;switch(b){case 2:this.stringValue=a instanceof z?C(a)", |
| ":\"\"+a;break;case 1:this.numberValue=a instanceof z?+C(a):+a;break;cas", |
| "e 3:this.booleanValue=a instanceof z?0<a.m():!!a;break;case 4:case 5:ca", |
| "se 6:case 7:var d=\na.iterator();c=[];for(var e=d.next();e;e=d.next())c", |
| ".push(e);this.snapshotLength=a.m();this.invalidIteratorState=!1;break;c", |
| "ase 8:case 9:this.singleNodeValue=B(a);break;default:throw Error(\"Unkn", |
| "own XPathResult type.\");}var f=0;this.iterateNext=function(){if(4!=b&&", |
| "5!=b)throw Error(\"iterateNext called with wrong result type\");return ", |
| "f>=c.length?null:c[f++]};this.snapshotItem=function(a){if(6!=b&&7!=b)th", |
| "row Error(\"snapshotItem called with wrong result type\");return a>=c.l", |
| "ength||0>a?null:c[a]}}\nZ.ANY_TYPE=0;Z.NUMBER_TYPE=1;Z.STRING_TYPE=2;Z.", |
| "BOOLEAN_TYPE=3;Z.UNORDERED_NODE_ITERATOR_TYPE=4;Z.ORDERED_NODE_ITERATOR", |
| "_TYPE=5;Z.UNORDERED_NODE_SNAPSHOT_TYPE=6;Z.ORDERED_NODE_SNAPSHOT_TYPE=7", |
| ";Z.ANY_UNORDERED_NODE_TYPE=8;Z.FIRST_ORDERED_NODE_TYPE=9;function kb(a)", |
| "{this.lookupNamespaceURI=fb(a)}\nea(\"wgxpath.install\",function(a,b){v", |
| "ar c=a||da,d=c.Document&&c.Document.prototype||c.document;if(!d.evaluat", |
| "e||b)c.XPathResult=Z,d.evaluate=function(a,b,c,d){return(new jb(a,c)).e", |
| "valuate(b,d)},d.createExpression=function(a,b){return new jb(a,b)},d.cr", |
| "eateNSResolver=function(a){return new kb(a)}});var lb=\"BUTTON INPUT OP", |
| "TGROUP OPTION SELECT TEXTAREA\".split(\" \");function mb(a){var b=a.tag", |
| "Name.toUpperCase();return 0<=ka(lb,b)?a.disabled?!1:a.parentNode&&1==a.", |
| "parentNode.nodeType&&\"OPTGROUP\"==b||\"OPTION\"==b?mb(a.parentNode):!t", |
| "a(a,function(a){var b=a.parentNode;if(b&&ua(b,\"FIELDSET\")&&b.disabled", |
| "){if(!ua(a,\"LEGEND\"))return!0;for(;a=void 0!==a.previousElementSiblin", |
| "g?a.previousElementSibling:oa(a.previousSibling);)if(ua(a,\"LEGEND\"))r", |
| "eturn!0}return!1}):!0};ea(\"_\",mb);; return this._.apply(null,argument", |
| "s);}.apply({navigator:typeof window!='undefined'?window.navigator:null,", |
| "document:typeof window!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const SUBMIT[] = { |
| "function(){return function(){var f,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var g=d[e];g in c||(c[g]={});c=c[g]}d=d[d.length-1];e=c[d];g=b(e)", |
| ";g!=e&&null!=g&&aa(c,d,{configurable:!0,writable:!0,value:g})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "k=this;\nfunction da(a,b){var c=a.split(\".\"),d=k;c[0]in d||!d.execScr", |
| "ipt||d.execScript(\"var \"+c[0]);for(var e;c.length&&(e=c.shift());)c.l", |
| "ength||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b}\nfunction ea(a){var b=typ", |
| "eof a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a", |
| " instanceof Object)return b;var c=Object.prototype.toString.call(a);if(", |
| "\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"num", |
| "ber\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=", |
| "typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))retu", |
| "rn\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&", |
| "\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(", |
| "\"call\"))return\"function\"}else return\"null\";\nelse if(\"function\"", |
| "==b&&\"undefined\"==typeof a.call)return\"object\";return b}function m(", |
| "a){return\"string\"==typeof a}function fa(a,b,c){return a.call.apply(a.", |
| "bind,arguments)}function ga(a,b,c){if(!a)throw Error();if(2<arguments.l", |
| "ength){var d=Array.prototype.slice.call(arguments,2);return function(){", |
| "var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.app", |
| "ly(c,d);return a.apply(b,c)}}return function(){return a.apply(b,argumen", |
| "ts)}}\nfunction ha(a,b,c){ha=Function.prototype.bind&&-1!=Function.prot", |
| "otype.bind.toString().indexOf(\"native code\")?fa:ga;return ha.apply(nu", |
| "ll,arguments)}function ia(a,b){var c=Array.prototype.slice.call(argumen", |
| "ts,1);return function(){var b=c.slice();b.push.apply(b,arguments);retur", |
| "n a.apply(this,b)}}\nfunction n(a,b){function c(){}c.prototype=b.protot", |
| "ype;a.ya=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.xa=f", |
| "unction(a,c,g){for(var h=Array(arguments.length-2),l=2;l<arguments.leng", |
| "th;l++)h[l-2]=arguments[l];return b.prototype[c].apply(a,h)}};var ja=wi", |
| "ndow;function p(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;", |
| "e++)e in d&&b.call(void 0,d[e],e,a)}function q(a,b,c){var d=c;p(a,funct", |
| "ion(c,g){d=b.call(void 0,d,c,g,a)});return d}function r(a,b){for(var c=", |
| "a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[", |
| "e],e,a))return!0;return!1}function ka(a){return Array.prototype.concat.", |
| "apply(Array.prototype,arguments)}function la(a,b,c){return 2>=arguments", |
| ".length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,", |
| "c)};function t(a,b){this.code=a;this.state=u[a]||v;this.message=b||\"\"", |
| ";var c=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toU", |
| "pperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d=c.length-5;if(0>d||c.index", |
| "Of(\"Error\",d)!=d)c+=\"Error\";this.name=c;c=Error(this.message);c.nam", |
| "e=this.name;this.stack=c.stack||\"\"}n(t,Error);var v=\"unknown error\"", |
| ",u={15:\"element not selectable\",11:\"element not visible\"};u[31]=v;u", |
| "[30]=v;u[24]=\"invalid cookie domain\";u[29]=\"invalid element coordina", |
| "tes\";u[12]=\"invalid element state\";\nu[32]=\"invalid selector\";u[51", |
| "]=\"invalid selector\";u[52]=\"invalid selector\";u[17]=\"javascript er", |
| "ror\";u[405]=\"unsupported operation\";u[34]=\"move target out of bound", |
| "s\";u[27]=\"no such alert\";u[7]=\"no such element\";u[8]=\"no such fra", |
| "me\";u[23]=\"no such window\";u[28]=\"script timeout\";u[33]=\"session ", |
| "not created\";u[10]=\"stale element reference\";u[21]=\"timeout\";u[25]", |
| "=\"unable to set cookie\";u[26]=\"unexpected alert open\";u[13]=v;u[9]=", |
| "\"unknown command\";t.prototype.toString=function(){return this.name+\"", |
| ": \"+this.message};var w;a:{var ma=k.navigator;if(ma){var na=ma.userAge", |
| "nt;if(na){w=na;break a}}w=\"\"};var oa=-1!=w.indexOf(\"Macintosh\"),pa=", |
| "-1!=w.indexOf(\"Windows\");function qa(a,b){if(!a||!b)return!1;if(a.con", |
| "tains&&1==b.nodeType)return a==b||a.contains(b);if(\"undefined\"!=typeo", |
| "f a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b", |
| ")&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction ra(a,b){if(a=", |
| "=b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPositi", |
| "on(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.", |
| "parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.source", |
| "Index-b.sourceIndex;var e=a.parentNode,g=b.parentNode;return e==g?sa(a,", |
| "b):!c&&qa(e,b)?-1*ta(a,b):!d&&qa(g,a)?ta(b,a):(c?a.sourceIndex:e.source", |
| "Index)-(d?b.sourceIndex:g.sourceIndex)}d=ua(a);c=d.createRange();c.sele", |
| "ctNode(a);c.collapse(!0);d=d.createRange();d.selectNode(b);\nd.collapse", |
| "(!0);return c.compareBoundaryPoints(k.Range.START_TO_END,d)}function ta", |
| "(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)", |
| "d=d.parentNode;return sa(d,a)}function sa(a,b){for(var c=b;c=c.previous", |
| "Sibling;)if(c==a)return-1;return 1}function ua(a){return 9==a.nodeType?", |
| "a:a.ownerDocument||a.document}function va(a,b,c){c||(a=a.parentNode);fo", |
| "r(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};function x(a", |
| ",b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};/*\n\n ", |
| "The MIT License\n\n Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c", |
| ") 2012 Google Inc.\n\n Permission is hereby granted, free of charge, to", |
| " any person obtaining a copy\n of this software and associated document", |
| "ation files (the \"Software\"), to\n deal in the Software without restr", |
| "iction, including without limitation the\n rights to use, copy, modify,", |
| " merge, publish, distribute, sublicense, and/or\n sell copies of the So", |
| "ftware, and to permit persons to whom the Software is\n furnished to do", |
| " so, subject to the following conditions:\n\n The above copyright notic", |
| "e and this permission notice shall be included in\n all copies or subst", |
| "antial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\"", |
| ", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT", |
| " LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICUL", |
| "AR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPY", |
| "RIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WH", |
| "ETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT ", |
| "OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN", |
| " THE SOFTWARE.\n*/\nfunction y(a,b,c){this.s=a;this.ua=b||1;this.o=c||1", |
| "};function wa(a){this.X=a;this.N=0}function xa(a){a=a.match(za);for(var", |
| " b=0;b<a.length;b++)Aa.test(a[b])&&a.splice(b,1);return new wa(a)}var z", |
| "a=RegExp(\"\\\\$?(?:(?![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-", |
| "\\\\.])(?:\\\\*|[\\\\w-\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.", |
| "\\\\d*)?|\\\\.\\\\d+|\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),", |
| "Aa=/^\\s/;function A(a,b){return a.X[a.N+(b||0)]}wa.prototype.next=func", |
| "tion(){return this.X[this.N++]};wa.prototype.back=function(){this.N--};", |
| "wa.prototype.empty=function(){return this.X.length<=this.N};function B(", |
| "a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?", |
| "a.innerText:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(9", |
| "==c||1==c){a=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],b=\"", |
| "\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild", |
| ");for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return\"\"+b}", |
| "\nfunction C(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!", |
| "1}catch(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribute(b", |
| ",2)==c}function D(a,b,c,d,e){return Ba.call(null,a,b,m(c)?c:null,m(d)?d", |
| ":null,e||new E)}\nfunction Ba(a,b,c,d,e){b.getElementsByName&&d&&\"name", |
| "\"==c?(b=b.getElementsByName(d),p(b,function(b){a.matches(b)&&e.add(b)}", |
| ")):b.getElementsByClassName&&d&&\"class\"==c?(b=b.getElementsByClassNam", |
| "e(d),p(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a instan", |
| "ceof F?Ca(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(", |
| "a.getName()),p(b,function(a){C(a,c,d)&&e.add(a)}));return e}function Da", |
| "(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)C(b,c,d)&&a.matches(b)", |
| "&&e.add(b);return e}\nfunction Ca(a,b,c,d,e){for(b=b.firstChild;b;b=b.n", |
| "extSibling)C(b,c,d)&&a.matches(b)&&e.add(b),Ca(a,b,c,d,e)};function E()", |
| "{this.o=this.j=null;this.J=0}function Ea(a){this.node=a;this.next=this.", |
| "F=null}function Fa(a,b){if(!a.j)return b;if(!b.j)return a;for(var c=a.j", |
| ",d=b.j,e=null,g,h=0;c&&d;)c.node==d.node?(g=c,c=c.next,d=d.next):0<ra(c", |
| ".node,d.node)?(g=d,d=d.next):(g=c,c=c.next),(g.F=e)?e.next=g:a.j=g,e=g,", |
| "h++;for(g=c||d;g;)g.F=e,e=e.next=g,h++,g=g.next;a.o=e;a.J=h;return a}E.", |
| "prototype.unshift=function(a){a=new Ea(a);a.next=this.j;this.o?this.j.F", |
| "=a:this.j=this.o=a;this.j=a;this.J++};\nE.prototype.add=function(a){a=n", |
| "ew Ea(a);a.F=this.o;this.j?this.o.next=a:this.j=this.o=a;this.o=a;this.", |
| "J++};function Ga(a){return(a=a.j)?a.node:null}E.prototype.u=function(){", |
| "return this.J};function Ha(a){return(a=Ga(a))?B(a):\"\"}E.prototype.ite", |
| "rator=function(a){return new Ia(this,!!a)};function Ia(a,b){this.qa=a;t", |
| "his.Y=(this.H=b)?a.o:a.j;this.U=null}Ia.prototype.next=function(){var a", |
| "=this.Y;if(null==a)return null;var b=this.U=a;this.Y=this.H?a.F:a.next;", |
| "return b.node};\nIa.prototype.remove=function(){var a=this.qa,b=this.U;", |
| "if(!b)throw Error(\"Next must be called at least once before remove.\")", |
| ";var c=b.F,b=b.next;c?c.next=b:a.j=b;b?b.F=c:a.o=c;a.J--;this.U=null};f", |
| "unction G(a){this.i=a;this.l=this.w=!1;this.K=null}function H(a){return", |
| "\"\\n \"+a.toString().split(\"\\n\").join(\"\\n \")}G.prototype.h=fun", |
| "ction(){return this.w};function Ja(a,b){a.w=b}function Ka(a,b){a.l=b}G.", |
| "prototype.C=function(){return this.K};function I(a,b){var c=a.evaluate(", |
| "b);return c instanceof E?+Ha(c):+c}function J(a,b){var c=a.evaluate(b);", |
| "return c instanceof E?Ha(c):\"\"+c}function K(a,b){var c=a.evaluate(b);", |
| "return c instanceof E?!!c.u():!!c};function L(a,b,c){G.call(this,a.i);t", |
| "his.W=a;this.ca=b;this.ha=c;this.w=b.h()||c.h();this.l=b.l||c.l;this.W=", |
| "=La&&(c.l||c.h()||4==c.i||0==c.i||!b.C()?b.l||b.h()||4==b.i||0==b.i||!c", |
| ".C()||(this.K={name:c.C().name,I:b}):this.K={name:b.C().name,I:c})}n(L,", |
| "G);\nfunction M(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);var g;if(b i", |
| "nstanceof E&&c instanceof E){b=b.iterator();for(d=b.next();d;d=b.next()", |
| ")for(e=c.iterator(),g=e.next();g;g=e.next())if(a(B(d),B(g)))return!0;re", |
| "turn!1}if(b instanceof E||c instanceof E){b instanceof E?(e=b,d=c):(e=c", |
| ",d=b);g=e.iterator();for(var h=typeof d,l=g.next();l;l=g.next()){switch", |
| "(h){case \"number\":l=+B(l);break;case \"boolean\":l=!!B(l);break;case ", |
| "\"string\":l=B(l);break;default:throw Error(\"Illegal primitive type fo", |
| "r comparison.\");\n}if(e==b&&a(l,d)||e==c&&a(d,l))return!0}return!1}ret", |
| "urn e?\"boolean\"==typeof b||\"boolean\"==typeof c?a(!!b,!!c):\"number", |
| "\"==typeof b||\"number\"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}L.prototype", |
| ".evaluate=function(a){return this.W.D(this.ca,this.ha,a)};L.prototype.t", |
| "oString=function(){var a=\"Binary Expression: \"+this.W,a=a+H(this.ca);", |
| "return a+=H(this.ha)};function Ma(a,b,c,d){this.ta=a;this.fa=b;this.i=c", |
| ";this.D=d}Ma.prototype.toString=function(){return this.ta};var Na={};\n", |
| "function N(a,b,c,d){if(Na.hasOwnProperty(a))throw Error(\"Binary operat", |
| "or already created: \"+a);a=new Ma(a,b,c,d);return Na[a.toString()]=a}N", |
| "(\"div\",6,1,function(a,b,c){return I(a,c)/I(b,c)});N(\"mod\",6,1,funct", |
| "ion(a,b,c){return I(a,c)%I(b,c)});N(\"*\",6,1,function(a,b,c){return I(", |
| "a,c)*I(b,c)});N(\"+\",5,1,function(a,b,c){return I(a,c)+I(b,c)});N(\"-", |
| "\",5,1,function(a,b,c){return I(a,c)-I(b,c)});N(\"<\",4,2,function(a,b,", |
| "c){return M(function(a,b){return a<b},a,b,c)});\nN(\">\",4,2,function(a", |
| ",b,c){return M(function(a,b){return a>b},a,b,c)});N(\"<=\",4,2,function", |
| "(a,b,c){return M(function(a,b){return a<=b},a,b,c)});N(\">=\",4,2,funct", |
| "ion(a,b,c){return M(function(a,b){return a>=b},a,b,c)});var La=N(\"=\",", |
| "3,2,function(a,b,c){return M(function(a,b){return a==b},a,b,c,!0)});N(", |
| "\"!=\",3,2,function(a,b,c){return M(function(a,b){return a!=b},a,b,c,!0", |
| ")});N(\"and\",2,2,function(a,b,c){return K(a,c)&&K(b,c)});N(\"or\",1,2,", |
| "function(a,b,c){return K(a,c)||K(b,c)});function Oa(a,b){if(b.u()&&4!=a", |
| ".i)throw Error(\"Primary expression must evaluate to nodeset if filter ", |
| "has predicate(s).\");G.call(this,a.i);this.ga=a;this.f=b;this.w=a.h();t", |
| "his.l=a.l}n(Oa,G);Oa.prototype.evaluate=function(a){a=this.ga.evaluate(", |
| "a);return Pa(this.f,a)};Oa.prototype.toString=function(){var a;a=\"Filt", |
| "er:\"+H(this.ga);return a+=H(this.f)};function Qa(a,b){if(b.length<a.ea", |
| ")throw Error(\"Function \"+a.m+\" expects at least\"+a.ea+\" arguments,", |
| " \"+b.length+\" given\");if(null!==a.V&&b.length>a.V)throw Error(\"Func", |
| "tion \"+a.m+\" expects at most \"+a.V+\" arguments, \"+b.length+\" give", |
| "n\");a.ra&&p(b,function(b,d){if(4!=b.i)throw Error(\"Argument \"+d+\" t", |
| "o function \"+a.m+\" is not of type Nodeset: \"+b);});G.call(this,a.i);", |
| "this.M=a;this.S=b;Ja(this,a.w||r(b,function(a){return a.h()}));Ka(this,", |
| "a.pa&&!b.length||a.oa&&!!b.length||r(b,function(a){return a.l}))}\nn(Qa", |
| ",G);Qa.prototype.evaluate=function(a){return this.M.D.apply(null,ka(a,t", |
| "his.S))};Qa.prototype.toString=function(){var a=\"Function: \"+this.M;i", |
| "f(this.S.length)var b=q(this.S,function(a,b){return a+H(b)},\"Arguments", |
| ":\"),a=a+H(b);return a};function Ra(a,b,c,d,e,g,h,l,z){this.m=a;this.i=", |
| "b;this.w=c;this.pa=d;this.oa=e;this.D=g;this.ea=h;this.V=void 0!==l?l:h", |
| ";this.ra=!!z}Ra.prototype.toString=function(){return this.m};var Sa={};", |
| "\nfunction O(a,b,c,d,e,g,h,l){if(Sa.hasOwnProperty(a))throw Error(\"Fun", |
| "ction already created: \"+a+\".\");Sa[a]=new Ra(a,b,c,d,!1,e,g,h,l)}O(", |
| "\"boolean\",2,!1,!1,function(a,b){return K(b,a)},1);O(\"ceiling\",1,!1,", |
| "!1,function(a,b){return Math.ceil(I(b,a))},1);O(\"concat\",3,!1,!1,func", |
| "tion(a,b){return q(la(arguments,1),function(b,d){return b+J(d,a)},\"\")", |
| "},2,null);O(\"contains\",2,!1,!1,function(a,b,c){b=J(b,a);a=J(c,a);retu", |
| "rn-1!=b.indexOf(a)},2);O(\"count\",1,!1,!1,function(a,b){return b.evalu", |
| "ate(a).u()},1,1,!0);\nO(\"false\",2,!1,!1,function(){return!1},0);O(\"f", |
| "loor\",1,!1,!1,function(a,b){return Math.floor(I(b,a))},1);O(\"id\",4,!", |
| "1,!1,function(a,b){var c=a.s,d=9==c.nodeType?c:c.ownerDocument,c=J(b,a)", |
| ".split(/\\s+/),e=[];p(c,function(a){a=d.getElementById(a);var b;if(!(b=", |
| "!a)){a:if(m(e))b=m(a)&&1==a.length?e.indexOf(a,0):-1;else{for(b=0;b<e.l", |
| "ength;b++)if(b in e&&e[b]===a)break a;b=-1}b=0<=b}b||e.push(a)});e.sort", |
| "(ra);var g=new E;p(e,function(a){g.add(a)});return g},1);O(\"lang\",2,!", |
| "1,!1,function(){return!1},1);\nO(\"last\",1,!0,!1,function(a){if(1!=arg", |
| "uments.length)throw Error(\"Function last expects ()\");return a.o},0);", |
| "O(\"local-name\",3,!1,!0,function(a,b){var c=b?Ga(b.evaluate(a)):a.s;re", |
| "turn c?c.localName||c.nodeName.toLowerCase():\"\"},0,1,!0);O(\"name\",3", |
| ",!1,!0,function(a,b){var c=b?Ga(b.evaluate(a)):a.s;return c?c.nodeName.", |
| "toLowerCase():\"\"},0,1,!0);O(\"namespace-uri\",3,!0,!1,function(){retu", |
| "rn\"\"},0,1,!0);\nO(\"normalize-space\",3,!1,!0,function(a,b){return(b?", |
| "J(b,a):B(a.s)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"", |
| "\")},0,1);O(\"not\",2,!1,!1,function(a,b){return!K(b,a)},1);O(\"number", |
| "\",1,!1,!0,function(a,b){return b?I(b,a):+B(a.s)},0,1);O(\"position\",1", |
| ",!0,!1,function(a){return a.ua},0);O(\"round\",1,!1,!1,function(a,b){re", |
| "turn Math.round(I(b,a))},1);O(\"starts-with\",2,!1,!1,function(a,b,c){b", |
| "=J(b,a);a=J(c,a);return 0==b.lastIndexOf(a,0)},2);O(\"string\",3,!1,!0,", |
| "function(a,b){return b?J(b,a):B(a.s)},0,1);\nO(\"string-length\",1,!1,!", |
| "0,function(a,b){return(b?J(b,a):B(a.s)).length},0,1);O(\"substring\",3,", |
| "!1,!1,function(a,b,c,d){c=I(c,a);if(isNaN(c)||Infinity==c||-Infinity==c", |
| ")return\"\";d=d?I(d,a):Infinity;if(isNaN(d)||-Infinity===d)return\"\";c", |
| "=Math.round(c)-1;var e=Math.max(c,0);a=J(b,a);return Infinity==d?a.subs", |
| "tring(e):a.substring(e,c+Math.round(d))},2,3);O(\"substring-after\",3,!", |
| "1,!1,function(a,b,c){b=J(b,a);a=J(c,a);c=b.indexOf(a);return-1==c?\"\":", |
| "b.substring(c+a.length)},2);\nO(\"substring-before\",3,!1,!1,function(a", |
| ",b,c){b=J(b,a);a=J(c,a);a=b.indexOf(a);return-1==a?\"\":b.substring(0,a", |
| ")},2);O(\"sum\",1,!1,!1,function(a,b){for(var c=b.evaluate(a).iterator(", |
| "),d=0,e=c.next();e;e=c.next())d+=+B(e);return d},1,1,!0);O(\"translate", |
| "\",3,!1,!1,function(a,b,c,d){b=J(b,a);c=J(c,a);var e=J(d,a);a={};for(d=", |
| "0;d<c.length;d++){var g=c.charAt(d);g in a||(a[g]=e.charAt(d))}c=\"\";f", |
| "or(d=0;d<b.length;d++)g=b.charAt(d),c+=g in a?a[g]:g;return c},3);O(\"t", |
| "rue\",2,!1,!1,function(){return!0},0);function F(a,b){this.ja=a;this.da", |
| "=void 0!==b?b:null;this.A=null;switch(a){case \"comment\":this.A=8;brea", |
| "k;case \"text\":this.A=3;break;case \"processing-instruction\":this.A=7", |
| ";break;case \"node\":break;default:throw Error(\"Unexpected argument\")", |
| ";}}function Ta(a){return\"comment\"==a||\"text\"==a||\"processing-instr", |
| "uction\"==a||\"node\"==a}F.prototype.matches=function(a){return null===", |
| "this.A||this.A==a.nodeType};F.prototype.getName=function(){return this.", |
| "ja};\nF.prototype.toString=function(){var a=\"Kind Test: \"+this.ja;nul", |
| "l===this.da||(a+=H(this.da));return a};function Ua(a){G.call(this,3);th", |
| "is.ia=a.substring(1,a.length-1)}n(Ua,G);Ua.prototype.evaluate=function(", |
| "){return this.ia};Ua.prototype.toString=function(){return\"Literal: \"+", |
| "this.ia};function P(a,b){this.m=a.toLowerCase();var c;c=\"*\"==this.m?", |
| "\"*\":\"http://www.w3.org/1999/xhtml\";this.O=b?b.toLowerCase():c}P.pro", |
| "totype.matches=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=vo", |
| "id 0!==a.localName?a.localName:a.nodeName;return\"*\"!=this.m&&this.m!=", |
| "b.toLowerCase()?!1:\"*\"==this.O?!0:this.O==(a.namespaceURI?a.namespace", |
| "URI.toLowerCase():\"http://www.w3.org/1999/xhtml\")};P.prototype.getNam", |
| "e=function(){return this.m};\nP.prototype.toString=function(){return\"N", |
| "ame Test: \"+(\"http://www.w3.org/1999/xhtml\"==this.O?\"\":this.O+\":", |
| "\")+this.m};function Va(a){G.call(this,1);this.ka=a}n(Va,G);Va.prototyp", |
| "e.evaluate=function(){return this.ka};Va.prototype.toString=function(){", |
| "return\"Number: \"+this.ka};function Wa(a,b){G.call(this,a.i);this.aa=a", |
| ";this.L=b;this.w=a.h();this.l=a.l;if(1==this.L.length){var c=this.L[0];", |
| "c.T||c.B!=Xa||(c=c.R,\"*\"!=c.getName()&&(this.K={name:c.getName(),I:nu", |
| "ll}))}}n(Wa,G);function Q(){G.call(this,4)}n(Q,G);Q.prototype.evaluate=", |
| "function(a){var b=new E;a=a.s;9==a.nodeType?b.add(a):b.add(a.ownerDocum", |
| "ent);return b};Q.prototype.toString=function(){return\"Root Helper Expr", |
| "ession\"};function Ya(){G.call(this,4)}n(Ya,G);Ya.prototype.evaluate=fu", |
| "nction(a){var b=new E;b.add(a.s);return b};\nYa.prototype.toString=func", |
| "tion(){return\"Context Helper Expression\"};function Za(a){return\"/\"=", |
| "=a||\"//\"==a}\nWa.prototype.evaluate=function(a){var b=this.aa.evaluat", |
| "e(a);if(!(b instanceof E))throw Error(\"Filter expression must evaluate", |
| " to nodeset.\");a=this.L;for(var c=0,d=a.length;c<d&&b.u();c++){var e=a", |
| "[c],g=b.iterator(e.B.H),h;if(e.h()||e.B!=$a)if(e.h()||e.B!=ab)for(h=g.n", |
| "ext(),b=e.evaluate(new y(h));null!=(h=g.next());)h=e.evaluate(new y(h))", |
| ",b=Fa(b,h);else h=g.next(),b=e.evaluate(new y(h));else{for(h=g.next();(", |
| "b=g.next())&&(!h.contains||h.contains(b))&&b.compareDocumentPosition(h)", |
| "&8;h=b);b=e.evaluate(new y(h))}}return b};\nWa.prototype.toString=funct", |
| "ion(){var a;a=\"Path Expression:\"+H(this.aa);if(this.L.length){var b=q", |
| "(this.L,function(a,b){return a+H(b)},\"Steps:\");a+=H(b)}return a};func", |
| "tion R(a,b){this.f=a;this.H=!!b}function Pa(a,b,c){for(c=c||0;c<a.f.len", |
| "gth;c++)for(var d=a.f[c],e=b.iterator(),g=b.u(),h,l=0;h=e.next();l++){v", |
| "ar z=a.H?g-l:l+1;h=d.evaluate(new y(h,z,g));if(\"number\"==typeof h)z=z", |
| "==h;else if(\"string\"==typeof h||\"boolean\"==typeof h)z=!!h;else if(h", |
| " instanceof E)z=0<h.u();else throw Error(\"Predicate.evaluate returned ", |
| "an unexpected type.\");z||e.remove()}return b}R.prototype.C=function(){", |
| "return 0<this.f.length?this.f[0].C():null};\nR.prototype.h=function(){f", |
| "or(var a=0;a<this.f.length;a++){var b=this.f[a];if(b.h()||1==b.i||0==b.", |
| "i)return!0}return!1};R.prototype.u=function(){return this.f.length};R.p", |
| "rototype.toString=function(){return q(this.f,function(a,b){return a+H(b", |
| ")},\"Predicates:\")};function S(a,b,c,d){G.call(this,4);this.B=a;this.R", |
| "=b;this.f=c||new R([]);this.T=!!d;b=this.f.C();a.wa&&b&&(this.K={name:b", |
| ".name,I:b.I});this.w=this.f.h()}n(S,G);\nS.prototype.evaluate=function(", |
| "a){var b=a.s,c=this.C(),d=null,e=null,g=0;c&&(d=c.name,e=c.I?J(c.I,a):n", |
| "ull,g=1);if(this.T)if(this.h()||this.B!=bb)if(b=(new S(cb,new F(\"node", |
| "\"))).evaluate(a).iterator(),c=b.next())for(a=this.D(c,d,e,g);null!=(c=", |
| "b.next());)a=Fa(a,this.D(c,d,e,g));else a=new E;else a=D(this.R,b,d,e),", |
| "a=Pa(this.f,a,g);else a=this.D(a.s,d,e,g);return a};S.prototype.D=funct", |
| "ion(a,b,c,d){a=this.B.M(this.R,a,b,c);return a=Pa(this.f,a,d)};\nS.prot", |
| "otype.toString=function(){var a;a=\"Step:\"+H(\"Operator: \"+(this.T?\"", |
| "//\":\"/\"));this.B.m&&(a+=H(\"Axis: \"+this.B));a+=H(this.R);if(this.f", |
| ".u()){var b=q(this.f.f,function(a,b){return a+H(b)},\"Predicates:\");a+", |
| "=H(b)}return a};function db(a,b,c,d){this.m=a;this.M=b;this.H=c;this.wa", |
| "=d}db.prototype.toString=function(){return this.m};var eb={};function T", |
| "(a,b,c,d){if(eb.hasOwnProperty(a))throw Error(\"Axis already created: ", |
| "\"+a);b=new db(a,b,c,!!d);return eb[a]=b}\nT(\"ancestor\",function(a,b)", |
| "{for(var c=new E,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);return ", |
| "c},!0);T(\"ancestor-or-self\",function(a,b){var c=new E,d=b;do a.matche", |
| "s(d)&&c.unshift(d);while(d=d.parentNode);return c},!0);\nvar Xa=T(\"att", |
| "ribute\",function(a,b){var c=new E,d=a.getName(),e=b.attributes;if(e)if", |
| "(a instanceof F&&null===a.A||\"*\"==d)for(var d=0,g;g=e[d];d++)c.add(g)", |
| ";else(g=e.getNamedItem(d))&&c.add(g);return c},!1),bb=T(\"child\",funct", |
| "ion(a,b,c,d,e){return Da.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new E", |
| ")},!1,!0);T(\"descendant\",D,!1,!0);\nvar cb=T(\"descendant-or-self\",f", |
| "unction(a,b,c,d){var e=new E;C(b,c,d)&&a.matches(b)&&e.add(b);return D(", |
| "a,b,c,d,e)},!1,!0),$a=T(\"following\",function(a,b,c,d){var e=new E;do ", |
| "for(var g=b;g=g.nextSibling;)C(g,c,d)&&a.matches(g)&&e.add(g),e=D(a,g,c", |
| ",d,e);while(b=b.parentNode);return e},!1,!0);T(\"following-sibling\",fu", |
| "nction(a,b){for(var c=new E,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d)", |
| ";return c},!1);T(\"namespace\",function(){return new E},!1);\nvar fb=T(", |
| "\"parent\",function(a,b){var c=new E;if(9==b.nodeType)return c;if(2==b.", |
| "nodeType)return c.add(b.ownerElement),c;var d=b.parentNode;a.matches(d)", |
| "&&c.add(d);return c},!1),ab=T(\"preceding\",function(a,b,c,d){var e=new", |
| " E,g=[];do g.unshift(b);while(b=b.parentNode);for(var h=1,l=g.length;h<", |
| "l;h++){var z=[];for(b=g[h];b=b.previousSibling;)z.unshift(b);for(var ya", |
| "=0,Bb=z.length;ya<Bb;ya++)b=z[ya],C(b,c,d)&&a.matches(b)&&e.add(b),e=D(", |
| "a,b,c,d,e)}return e},!0,!0);\nT(\"preceding-sibling\",function(a,b){for", |
| "(var c=new E,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);return", |
| " c},!0);var gb=T(\"self\",function(a,b){var c=new E;a.matches(b)&&c.add", |
| "(b);return c},!1);function hb(a){G.call(this,1);this.$=a;this.w=a.h();t", |
| "his.l=a.l}n(hb,G);hb.prototype.evaluate=function(a){return-I(this.$,a)}", |
| ";hb.prototype.toString=function(){return\"Unary Expression: -\"+H(this.", |
| "$)};function ib(a){G.call(this,4);this.P=a;Ja(this,r(this.P,function(a)", |
| "{return a.h()}));Ka(this,r(this.P,function(a){return a.l}))}n(ib,G);ib.", |
| "prototype.evaluate=function(a){var b=new E;p(this.P,function(c){c=c.eva", |
| "luate(a);if(!(c instanceof E))throw Error(\"Path expression must evalua", |
| "te to NodeSet.\");b=Fa(b,c)});return b};ib.prototype.toString=function(", |
| "){return q(this.P,function(a,b){return a+H(b)},\"Union Expression:\")};", |
| "function jb(a,b){this.a=a;this.sa=b}function kb(a){for(var b,c=[];;){U(", |
| "a,\"Missing right hand side of binary expression.\");b=lb(a);var d=a.a.", |
| "next();if(!d)break;var e=(d=Na[d]||null)&&d.fa;if(!e){a.a.back();break}", |
| "for(;c.length&&e<=c[c.length-1].fa;)b=new L(c.pop(),c.pop(),b);c.push(b", |
| ",d)}for(;c.length;)b=new L(c.pop(),c.pop(),b);return b}function U(a,b){", |
| "if(a.a.empty())throw Error(b);}function mb(a,b){var c=a.a.next();if(c!=", |
| "b)throw Error(\"Bad token, expected: \"+b+\" got: \"+c);}\nfunction nb(", |
| "a){a=a.a.next();if(\")\"!=a)throw Error(\"Bad token: \"+a);}function ob", |
| "(a){a=a.a.next();if(2>a.length)throw Error(\"Unclosed literal string\")", |
| ";return new Ua(a)}\nfunction pb(a){var b,c=[],d;if(Za(A(a.a))){b=a.a.ne", |
| "xt();d=A(a.a);if(\"/\"==b&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&", |
| "&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new Q;d=new Q;U(a,\"Missin", |
| "g next location step.\");b=qb(a,b);c.push(b)}else{a:{b=A(a.a);d=b.charA", |
| "t(0);switch(d){case \"$\":throw Error(\"Variable reference not allowed ", |
| "in HTML XPath\");case \"(\":a.a.next();b=kb(a);U(a,'unclosed \"(\"');mb", |
| "(a,\")\");break;case '\"':case \"'\":b=ob(a);break;default:if(isNaN(+b)", |
| ")if(!Ta(b)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==A(a.a,1)){b=\na.a.next();b", |
| "=Sa[b]||null;a.a.next();for(d=[];\")\"!=A(a.a);){U(a,\"Missing function", |
| " argument list.\");d.push(kb(a));if(\",\"!=A(a.a))break;a.a.next()}U(a,", |
| "\"Unclosed function argument list.\");nb(a);b=new Qa(b,d)}else{b=null;b", |
| "reak a}else b=new Va(+a.a.next())}\"[\"==A(a.a)&&(d=new R(rb(a)),b=new ", |
| "Oa(b,d))}if(b)if(Za(A(a.a)))d=b;else return b;else b=qb(a,\"/\"),d=new ", |
| "Ya,c.push(b)}for(;Za(A(a.a));)b=a.a.next(),U(a,\"Missing next location ", |
| "step.\"),b=qb(a,b),c.push(b);return new Wa(d,c)}\nfunction qb(a,b){var ", |
| "c,d,e;if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"", |
| "//\"');if(\".\"==A(a.a))return d=new S(gb,new F(\"node\")),a.a.next(),d", |
| ";if(\"..\"==A(a.a))return d=new S(fb,new F(\"node\")),a.a.next(),d;var ", |
| "g;if(\"@\"==A(a.a))g=Xa,a.a.next(),U(a,\"Missing attribute name\");else", |
| " if(\"::\"==A(a.a,1)){if(!/(?![0-9])[\\w]/.test(A(a.a).charAt(0)))throw", |
| " Error(\"Bad token: \"+a.a.next());c=a.a.next();g=eb[c]||null;if(!g)thr", |
| "ow Error(\"No axis with name: \"+c);a.a.next();U(a,\"Missing node name", |
| "\")}else g=bb;\nc=A(a.a);if(/(?![0-9])[\\w\\*]/.test(c.charAt(0)))if(\"", |
| "(\"==A(a.a,1)){if(!Ta(c))throw Error(\"Invalid node type: \"+c);c=a.a.n", |
| "ext();if(!Ta(c))throw Error(\"Invalid type name: \"+c);mb(a,\"(\");U(a,", |
| "\"Bad nodetype\");e=A(a.a).charAt(0);var h=null;if('\"'==e||\"'\"==e)h=", |
| "ob(a);U(a,\"Bad nodetype\");nb(a);c=new F(c,h)}else if(c=a.a.next(),e=c", |
| ".indexOf(\":\"),-1==e)c=new P(c);else{var h=c.substring(0,e),l;if(\"*\"", |
| "==h)l=\"*\";else if(l=a.sa(h),!l)throw Error(\"Namespace prefix not dec", |
| "lared: \"+h);c=c.substr(e+1);c=new P(c,l)}else throw Error(\"Bad token:", |
| " \"+\na.a.next());e=new R(rb(a),g.H);return d||new S(g,c,e,\"//\"==b)}f", |
| "unction rb(a){for(var b=[];\"[\"==A(a.a);){a.a.next();U(a,\"Missing pre", |
| "dicate expression.\");var c=kb(a);b.push(c);U(a,\"Unclosed predicate ex", |
| "pression.\");mb(a,\"]\")}return b}function lb(a){if(\"-\"==A(a.a))retur", |
| "n a.a.next(),new hb(lb(a));var b=pb(a);if(\"|\"!=A(a.a))a=b;else{for(b=", |
| "[b];\"|\"==a.a.next();)U(a,\"Missing next union location path.\"),b.pus", |
| "h(pb(a));a.a.back();a=new ib(b)}return a};function sb(a){switch(a.nodeT", |
| "ype){case 1:return ia(tb,a);case 9:return sb(a.documentElement);case 11", |
| ":case 10:case 6:case 12:return ub;default:return a.parentNode?sb(a.pare", |
| "ntNode):ub}}function ub(){return null}function tb(a,b){if(a.prefix==b)r", |
| "eturn a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttri", |
| "buteNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parentNode", |
| "&&9!=a.parentNode.nodeType?tb(a.parentNode,b):null};function vb(a,b){if", |
| "(!a.length)throw Error(\"Empty XPath expression.\");var c=xa(a);if(c.em", |
| "pty())throw Error(\"Invalid XPath expression.\");b?\"function\"==ea(b)|", |
| "|(b=ha(b.lookupNamespaceURI,b)):b=function(){return null};var d=kb(new ", |
| "jb(c,b));if(!c.empty())throw Error(\"Bad token: \"+c.next());this.evalu", |
| "ate=function(a,b){var c=d.evaluate(new y(a));return new V(c,b)}}\nfunct", |
| "ion V(a,b){if(0==b)if(a instanceof E)b=4;else if(\"string\"==typeof a)b", |
| "=2;else if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;e", |
| "lse throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&", |
| "&!(a instanceof E))throw Error(\"value could not be converted to the sp", |
| "ecified type\");this.resultType=b;var c;switch(b){case 2:this.stringVal", |
| "ue=a instanceof E?Ha(a):\"\"+a;break;case 1:this.numberValue=a instance", |
| "of E?+Ha(a):+a;break;case 3:this.booleanValue=a instanceof E?0<a.u():!!", |
| "a;break;case 4:case 5:case 6:case 7:var d=\na.iterator();c=[];for(var e", |
| "=d.next();e;e=d.next())c.push(e);this.snapshotLength=a.u();this.invalid", |
| "IteratorState=!1;break;case 8:case 9:this.singleNodeValue=Ga(a);break;d", |
| "efault:throw Error(\"Unknown XPathResult type.\");}var g=0;this.iterate", |
| "Next=function(){if(4!=b&&5!=b)throw Error(\"iterateNext called with wro", |
| "ng result type\");return g>=c.length?null:c[g++]};this.snapshotItem=fun", |
| "ction(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong res", |
| "ult type\");return a>=c.length||0>a?null:c[a]}}\nV.ANY_TYPE=0;V.NUMBER_", |
| "TYPE=1;V.STRING_TYPE=2;V.BOOLEAN_TYPE=3;V.UNORDERED_NODE_ITERATOR_TYPE=", |
| "4;V.ORDERED_NODE_ITERATOR_TYPE=5;V.UNORDERED_NODE_SNAPSHOT_TYPE=6;V.ORD", |
| "ERED_NODE_SNAPSHOT_TYPE=7;V.ANY_UNORDERED_NODE_TYPE=8;V.FIRST_ORDERED_N", |
| "ODE_TYPE=9;function wb(a){this.lookupNamespaceURI=sb(a)}\nda(\"wgxpath.", |
| "install\",function(a,b){var c=a||k,d=c.Document&&c.Document.prototype||", |
| "c.document;if(!d.evaluate||b)c.XPathResult=V,d.evaluate=function(a,b,c,", |
| "d){return(new vb(a,c)).evaluate(b,d)},d.createExpression=function(a,b){", |
| "return new vb(a,b)},d.createNSResolver=function(a){return new wb(a)}});", |
| "function xb(){this.Z=ja.document.documentElement;this.va=null;var a;a:{", |
| "var b=ua(this.Z);try{a=b&&b.activeElement;break a}catch(c){}a=null}a&&y", |
| "b(this,a)}function yb(a,b){a.Z=b;a.va=x(b,\"OPTION\")?va(b,function(a){", |
| "return x(a,\"SELECT\")}):null}function zb(a){return x(a,\"FORM\")};func", |
| "tion Ab(a,b,c){this.A=a;this.la=b;this.ma=c}Ab.prototype.create=functio", |
| "n(a){a=ua(a).createEvent(\"HTMLEvents\");a.initEvent(this.A,this.la,thi", |
| "s.ma);return a};Ab.prototype.toString=function(){return this.A};var Cb=", |
| "new Ab(\"submit\",!0,!0);function W(a,b){this.v={};this.g=[];this.G=0;v", |
| "ar c=arguments.length;if(1<c){if(c%2)throw Error(\"Uneven number of arg", |
| "uments\");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}el", |
| "se a&&this.addAll(a)}function Db(a){Eb(a);return a.g.concat()}f=W.proto", |
| "type;f.clear=function(){this.v={};this.G=this.g.length=0};f.remove=func", |
| "tion(a){return Object.prototype.hasOwnProperty.call(this.v,a)?(delete t", |
| "his.v[a],this.G--,this.g.length>2*this.G&&Eb(this),!0):!1};\nfunction E", |
| "b(a){if(a.G!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Ob", |
| "ject.prototype.hasOwnProperty.call(a.v,d)&&(a.g[c++]=d);b++}a.g.length=", |
| "c}if(a.G!=a.g.length){for(var e={},c=b=0;b<a.g.length;)d=a.g[b],Object.", |
| "prototype.hasOwnProperty.call(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=", |
| "c}}f.get=function(a,b){return Object.prototype.hasOwnProperty.call(this", |
| ".v,a)?this.v[a]:b};f.set=function(a,b){Object.prototype.hasOwnProperty.", |
| "call(this.v,a)||(this.G++,this.g.push(a));this.v[a]=b};\nf.addAll=funct", |
| "ion(a){var b;if(a instanceof W){b=Db(a);Eb(a);for(var c=[],d=0;d<a.g.le", |
| "ngth;d++)c.push(a.v[a.g[d]]);a=c}else{b=[];var d=0,e;for(e in a)b[d++]=", |
| "e;d=[];e=0;for(c in a)d[e++]=a[c];a=d}for(c=0;c<b.length;c++)this.set(b", |
| "[c],a[c])};f.forEach=function(a,b){for(var c=Db(this),d=0;d<c.length;d+", |
| "+){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.clone=function(){ret", |
| "urn new W(this)};var Fb={};function X(a,b,c){var d=typeof a;(\"object\"", |
| "==d&&null!=a||\"function\"==d)&&(a=a.b);a=new Gb(a);!b||b in Fb&&!c||(F", |
| "b[b]={key:a,shift:!1},c&&(Fb[c]={key:a,shift:!0}));return a}function Gb", |
| "(a){this.code=a}X(8);X(9);X(13);var Hb=X(16),Ib=X(17),Jb=X(18);X(19);X(", |
| "20);X(27);X(32,\" \");X(33);X(34);X(35);X(36);X(37);X(38);X(39);X(40);X", |
| "(44);X(45);X(46);X(48,\"0\",\")\");X(49,\"1\",\"!\");X(50,\"2\",\"@\");", |
| "X(51,\"3\",\"#\");X(52,\"4\",\"$\");X(53,\"5\",\"%\");X(54,\"6\",\"^\")", |
| ";X(55,\"7\",\"&\");X(56,\"8\",\"*\");X(57,\"9\",\"(\");X(65,\"a\",\"A\"", |
| ");\nX(66,\"b\",\"B\");X(67,\"c\",\"C\");X(68,\"d\",\"D\");X(69,\"e\",\"", |
| "E\");X(70,\"f\",\"F\");X(71,\"g\",\"G\");X(72,\"h\",\"H\");X(73,\"i\",", |
| "\"I\");X(74,\"j\",\"J\");X(75,\"k\",\"K\");X(76,\"l\",\"L\");X(77,\"m\"", |
| ",\"M\");X(78,\"n\",\"N\");X(79,\"o\",\"O\");X(80,\"p\",\"P\");X(81,\"q", |
| "\",\"Q\");X(82,\"r\",\"R\");X(83,\"s\",\"S\");X(84,\"t\",\"T\");X(85,\"", |
| "u\",\"U\");X(86,\"v\",\"V\");X(87,\"w\",\"W\");X(88,\"x\",\"X\");X(89,", |
| "\"y\",\"Y\");X(90,\"z\",\"Z\");var Kb=X(pa?{c:91,b:91}:oa?{c:224,b:91}:", |
| "{c:0,b:91});X(pa?{c:92,b:92}:oa?{c:224,b:93}:{c:0,b:92});X(pa?{c:93,b:9", |
| "3}:oa?{c:0,b:0}:{c:93,b:null});\nX({c:96,b:96},\"0\");X({c:97,b:97},\"1", |
| "\");X({c:98,b:98},\"2\");X({c:99,b:99},\"3\");X({c:100,b:100},\"4\");X(", |
| "{c:101,b:101},\"5\");X({c:102,b:102},\"6\");X({c:103,b:103},\"7\");X({c", |
| ":104,b:104},\"8\");X({c:105,b:105},\"9\");X({c:106,b:106},\"*\");X({c:1", |
| "07,b:107},\"+\");X({c:109,b:109},\"-\");X({c:110,b:110},\".\");X({c:111", |
| ",b:111},\"/\");X(144);X(112);X(113);X(114);X(115);X(116);X(117);X(118);", |
| "X(119);X(120);X(121);X(122);X(123);X({c:107,b:187},\"=\",\"+\");X(108,", |
| "\",\");X({c:109,b:189},\"-\",\"_\");X(188,\",\",\"<\");X(190,\".\",\">", |
| "\");X(191,\"/\",\"?\");\nX(192,\"`\",\"~\");X(219,\"[\",\"{\");X(220,\"", |
| "\\\\\",\"|\");X(221,\"]\",\"}\");X({c:59,b:186},\";\",\":\");X(222,\"'", |
| "\",'\"');var Y=new W;Y.set(1,Hb);Y.set(2,Ib);Y.set(4,Jb);Y.set(8,Kb);(f", |
| "unction(a){var b=new W;p(Db(a),function(c){b.set(a.get(c).code,c)});ret", |
| "urn b})(Y);function Z(){xb.call(this)}n(Z,xb);Z.na=function(){return Z.", |
| "ba?Z.ba:Z.ba=new Z};da(\"_\",function(a){var b=va(a,zb,!0);if(!b)throw ", |
| "new t(7,\"Element was not in a form, so could not submit.\");var c=Z.na", |
| "();yb(c,a);if(!zb(b))throw new t(12,\"Element is not a form, so could n", |
| "ot submit.\");a=Cb.create(b,void 0);\"isTrusted\"in a||(a.isTrusted=!1)", |
| ";b.dispatchEvent(a)&&(x(b.submit)?b.constructor.prototype.submit.call(b", |
| "):b.submit())});; return this._.apply(null,arguments);}.apply({navigato", |
| "r:typeof window!='undefined'?window.navigator:null,document:typeof wind", |
| "ow!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const FIND_ELEMENT[] = { |
| "function(){return function(){var k,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e)", |
| ";f!=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "da=this;function l(a){return void 0!==a}\nfunction ea(a,b){var c=a.spli", |
| "t(\".\"),d=da;c[0]in d||!d.execScript||d.execScript(\"var \"+c[0]);for(", |
| "var e;c.length&&(e=c.shift());)!c.length&&l(b)?d[e]=b:d=d[e]?d[e]:d[e]=", |
| "{}}\nfunction fa(a){var b=typeof a;if(\"object\"==b)if(a){if(a instance", |
| "of Array)return\"array\";if(a instanceof Object)return b;var c=Object.p", |
| "rototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if", |
| "(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typ", |
| "eof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.property", |
| "IsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
| "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
| "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
| "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", |
| "object\";return b}function ga(a){var b=fa(a);return\"array\"==b||\"obje", |
| "ct\"==b&&\"number\"==typeof a.length}function m(a){return\"string\"==ty", |
| "peof a}function n(a){return\"number\"==typeof a}function p(a){return\"f", |
| "unction\"==fa(a)}function ha(a){var b=typeof a;return\"object\"==b&&nul", |
| "l!=a||\"function\"==b}function ia(a,b,c){return a.call.apply(a.bind,arg", |
| "uments)}\nfunction ja(a,b,c){if(!a)throw Error();if(2<arguments.length)", |
| "{var d=Array.prototype.slice.call(arguments,2);return function(){var c=", |
| "Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d", |
| ");return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}f", |
| "unction ka(a,b,c){ka=Function.prototype.bind&&-1!=Function.prototype.bi", |
| "nd.toString().indexOf(\"native code\")?ia:ja;return ka.apply(null,argum", |
| "ents)}\nfunction la(a,b){var c=Array.prototype.slice.call(arguments,1);", |
| "return function(){var b=c.slice();b.push.apply(b,arguments);return a.ap", |
| "ply(this,b)}}function r(a,b){function c(){}c.prototype=b.prototype;a.xa", |
| "=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.wa=function(", |
| "a,c,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g", |
| "[h-2]=arguments[h];return b.prototype[c].apply(a,g)}};var ma=window;var", |
| " na;function oa(a){var b=a.length-1;return 0<=b&&a.indexOf(\" \",b)==b}", |
| "var pa=String.prototype.trim?function(a){return a.trim()}:function(a){r", |
| "eturn a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")};function qa(a){retu", |
| "rn String(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()", |
| "})};function ra(a,b){if(m(a))return m(b)&&1==b.length?a.indexOf(b,0):-1", |
| ";for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}funct", |
| "ion u(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)e in d", |
| "&&b.call(void 0,d[e],e,a)}function sa(a,b){for(var c=a.length,d=[],e=0,", |
| "f=m(a)?a.split(\"\"):a,g=0;g<c;g++)if(g in f){var h=f[g];b.call(void 0,", |
| "h,g,a)&&(d[e++]=h)}return d}function ta(a,b,c){var d=c;u(a,function(c,f", |
| "){d=b.call(void 0,d,c,f,a)});return d}\nfunction ua(a,b){for(var c=a.le", |
| "ngth,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e", |
| ",a))return!0;return!1}function va(a,b){for(var c=a.length,d=m(a)?a.spli", |
| "t(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;retu", |
| "rn!0}function wa(a,b){var c;a:{c=a.length;for(var d=m(a)?a.split(\"\"):", |
| "a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){c=e;break a}c=-1}retu", |
| "rn 0>c?null:m(a)?a.charAt(c):a[c]}function xa(a){return Array.prototype", |
| ".concat.apply(Array.prototype,arguments)}\nfunction ya(a){var b=a.lengt", |
| "h;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}fu", |
| "nction za(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(", |
| "a,b):Array.prototype.slice.call(a,b,c)};var Aa={aliceblue:\"#f0f8ff\",a", |
| "ntiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:", |
| "\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blan", |
| "chedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"", |
| "#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7ff", |
| "f00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed", |
| "\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:", |
| "\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#", |
| "a9a9a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb7", |
| "6b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#f", |
| "f8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a", |
| "\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#", |
| "2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet", |
| ":\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#69", |
| "6969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\"", |
| ",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",ga", |
| "insboro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod", |
| ":\"#daa520\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\"", |
| ",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"", |
| "#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavend", |
| "er:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchi", |
| "ffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan", |
| ":\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lig", |
| "htgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsa", |
| "lmon:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",l", |
| "ightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#", |
| "b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\"", |
| ",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamar", |
| "ine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediump", |
| "urple:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee", |
| "\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumviol", |
| "etred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyr", |
| "ose:\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#", |
| "000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",or", |
| "ange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod", |
| ":\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",paleviolet", |
| "red:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd", |
| "853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:", |
| "\"#800080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\"", |
| ",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seag", |
| "reen:\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0", |
| "c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",", |
| "slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblu", |
| "e:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",toma", |
| "to:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3", |
| "\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgr", |
| "een:\"#9acd32\"};var Ba=\"backgroundColor borderTopColor borderRightCol", |
| "or borderBottomColor borderLeftColor color outlineColor\".split(\" \"),", |
| "Ca=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Da=/^#(?:[0-9a-f]{3}){1,2", |
| "}$/i,Fa=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1", |
| "|0\\.\\d*)\\)$/i,Ga=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}", |
| "),\\s?(0|[1-9]\\d{0,2})\\)$/i;function v(a,b){this.code=a;this.state=w[", |
| "a]||Ha;this.message=b||\"\";var c=this.state.replace(/((?:^|\\s+)[a-z])", |
| "/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d", |
| "=c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.name=c;", |
| "c=Error(this.message);c.name=this.name;this.stack=c.stack||\"\"}r(v,Err", |
| "or);var Ha=\"unknown error\",w={15:\"element not selectable\",11:\"elem", |
| "ent not visible\"};w[31]=Ha;w[30]=Ha;w[24]=\"invalid cookie domain\";w[", |
| "29]=\"invalid element coordinates\";w[12]=\"invalid element state\";\nw", |
| "[32]=\"invalid selector\";w[51]=\"invalid selector\";w[52]=\"invalid se", |
| "lector\";w[17]=\"javascript error\";w[405]=\"unsupported operation\";w[", |
| "34]=\"move target out of bounds\";w[27]=\"no such alert\";w[7]=\"no suc", |
| "h element\";w[8]=\"no such frame\";w[23]=\"no such window\";w[28]=\"scr", |
| "ipt timeout\";w[33]=\"session not created\";w[10]=\"stale element refer", |
| "ence\";w[21]=\"timeout\";w[25]=\"unable to set cookie\";w[26]=\"unexpec", |
| "ted alert open\";w[13]=Ha;w[9]=\"unknown command\";v.prototype.toString", |
| "=function(){return this.name+\": \"+this.message};function x(a,b){this.", |
| "x=l(a)?a:0;this.y=l(b)?b:0}k=x.prototype;k.clone=function(){return new ", |
| "x(this.x,this.y)};k.toString=function(){return\"(\"+this.x+\", \"+this.", |
| "y+\")\"};k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(th", |
| "is.y);return this};k.floor=function(){this.x=Math.floor(this.x);this.y=", |
| "Math.floor(this.y);return this};k.round=function(){this.x=Math.round(th", |
| "is.x);this.y=Math.round(this.y);return this};\nk.translate=function(a,b", |
| "){a instanceof x?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),n(b)&&(th", |
| "is.y+=b));return this};k.scale=function(a,b){var c=n(b)?b:a;this.x*=a;t", |
| "his.y*=c;return this};function Ia(a,b){this.width=a;this.height=b}k=Ia.", |
| "prototype;k.clone=function(){return new Ia(this.width,this.height)};k.t", |
| "oString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};k.", |
| "ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(", |
| "this.height);return this};k.floor=function(){this.width=Math.floor(this", |
| ".width);this.height=Math.floor(this.height);return this};k.round=functi", |
| "on(){this.width=Math.round(this.width);this.height=Math.round(this.heig", |
| "ht);return this};\nk.scale=function(a,b){var c=n(b)?b:a;this.width*=a;t", |
| "his.height*=c;return this};function y(a){return a?new Ja(z(a)):na||(na=", |
| "new Ja)}function Ka(a,b,c){function d(c){c&&b.appendChild(m(c)?a.create", |
| "TextNode(c):c)}for(var e=1;e<c.length;e++){var f=c[e];!ga(f)||ha(f)&&0<", |
| "f.nodeType?d(f):u(La(f)?ya(f):f,d)}}function Ma(a){for(;a&&1!=a.nodeTyp", |
| "e;)a=a.previousSibling;return a}\nfunction Na(a,b){if(!a||!b)return!1;i", |
| "f(a.contains&&1==b.nodeType)return a==b||a.contains(b);if(\"undefined\"", |
| "!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPos", |
| "ition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction Oa(a,b", |
| "){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumen", |
| "tPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex", |
| "\"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a", |
| ".sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==", |
| "f?Pa(a,b):!c&&Na(e,b)?-1*Qa(a,b):!d&&Na(f,a)?Qa(b,a):(c?a.sourceIndex:e", |
| ".sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=z(a);c=d.createRange();", |
| "c.selectNode(a);c.collapse(!0);d=d.createRange();d.selectNode(b);\nd.co", |
| "llapse(!0);return c.compareBoundaryPoints(da.Range.START_TO_END,d)}func", |
| "tion Qa(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNo", |
| "de!=c;)d=d.parentNode;return Pa(d,a)}function Pa(a,b){for(var c=b;c=c.p", |
| "reviousSibling;)if(c==a)return-1;return 1}function z(a){return 9==a.nod", |
| "eType?a:a.ownerDocument||a.document}function La(a){if(a&&\"number\"==ty", |
| "peof a.length){if(ha(a))return\"function\"==typeof a.item||\"string\"==", |
| "typeof a.item;if(p(a))return\"function\"==typeof a.item}return!1}\nfunc", |
| "tion Ra(a,b){a=a.parentNode;for(var c=0;a;){if(b(a))return a;a=a.parent", |
| "Node;c++}return null}function Ja(a){this.G=a||da.document||document}\nf", |
| "unction B(a,b,c,d){a=d||a.G;var e=b&&\"*\"!=b?b.toUpperCase():\"\";if(a", |
| ".querySelectorAll&&a.querySelector&&(e||c))c=a.querySelectorAll(e+(c?\"", |
| ".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(b=a.getElementsByCl", |
| "assName(c),e){a={};for(var f=d=0,g;g=b[f];f++)e==g.nodeName&&(a[d++]=g)", |
| ";a.length=d;c=a}else c=b;else if(b=a.getElementsByTagName(e||\"*\"),c){", |
| "a={};for(f=d=0;g=b[f];f++){var e=g.className,h;if(h=\"function\"==typeo", |
| "f e.split)h=0<=ra(e.split(/\\s+/),c);h&&(a[d++]=g)}a.length=d;c=a}else ", |
| "c=b;return c}k=Ja.prototype;\nk.createElement=function(a){return this.G", |
| ".createElement(a)};k.createTextNode=function(a){return this.G.createTex", |
| "tNode(String(a))};k.appendChild=function(a,b){a.appendChild(b)};k.appen", |
| "d=function(a,b){Ka(z(a),a,arguments)};k.canHaveChildren=function(a){if(", |
| "1!=a.nodeType)return!1;switch(a.tagName){case \"APPLET\":case \"AREA\":", |
| "case \"BASE\":case \"BR\":case \"COL\":case \"COMMAND\":case \"EMBED\":", |
| "case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case \"IFRAME\":", |
| "case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case \"NOFRAMES\":case ", |
| "\"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"SCRIPT", |
| "\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case \"WBR\":return!1}", |
| "return!0};\nk.removeNode=function(a){return a&&a.parentNode?a.parentNod", |
| "e.removeChild(a):null};k.contains=Na;function Sa(a,b){b=b.toLowerCase()", |
| ";if(\"style\"==b)return Ta(a.style.cssText);var c=a.getAttributeNode(b)", |
| ";return c&&c.specified?c.value:null}var Ua=/[;]+(?=(?:(?:[^\"]*\"){2})*", |
| "[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/", |
| ";function Ta(a){var b=[];u(a.split(Ua),function(a){var d=a.indexOf(\":", |
| "\");0<d&&(a=[a.slice(0,d),a.slice(d+1)],2==a.length&&b.push(a[0].toLowe", |
| "rCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.", |
| "length-1)?b:b+\";\"}\nfunction D(a,b){return!!a&&1==a.nodeType&&(!b||a.", |
| "tagName.toUpperCase()==b)};/*\n\n The MIT License\n\n Copyright (c) 200", |
| "7 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n\n Permission is ", |
| "hereby granted, free of charge, to any person obtaining a copy\n of thi", |
| "s software and associated documentation files (the \"Software\"), to\n ", |
| "deal in the Software without restriction, including without limitation ", |
| "the\n rights to use, copy, modify, merge, publish, distribute, sublicen", |
| "se, and/or\n sell copies of the Software, and to permit persons to whom", |
| " the Software is\n furnished to do so, subject to the following conditi", |
| "ons:\n\n The above copyright notice and this permission notice shall be", |
| " included in\n all copies or substantial portions of the Software.\n\n ", |
| "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRE", |
| "SS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHAN", |
| "TABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO", |
| " EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM", |
| ", DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT ", |
| "OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE", |
| " OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunction Va(a,b,c", |
| "){this.m=a;this.ua=b||1;this.j=c||1};function Wa(a){this.W=a;this.M=0}f", |
| "unction Xa(a){a=a.match(Ya);for(var b=0;b<a.length;b++)Za.test(a[b])&&a", |
| ".splice(b,1);return new Wa(a)}var Ya=RegExp(\"\\\\$?(?:(?![0-9-\\\\.])(", |
| "?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+)|\\\\/", |
| "\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+|\\\"[^\\\"]*\\\"", |
| "|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),Za=/^\\s/;function E(a,b){return a.W[", |
| "a.M+(b||0)]}Wa.prototype.next=function(){return this.W[this.M++]};Wa.pr", |
| "ototype.back=function(){this.M--};Wa.prototype.empty=function(){return ", |
| "this.W.length<=this.M};function F(a){var b=null,c=a.nodeType;1==c&&(b=a", |
| ".textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"", |
| "\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a", |
| ".firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeVal", |
| "ue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}", |
| "else b=a.nodeValue;return\"\"+b}\nfunction $a(a,b,c){if(null===b)return", |
| "!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!!a", |
| ".getAttribute(b):a.getAttribute(b,2)==c}function ab(a,b,c,d,e){return b", |
| "b.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new G)}\nfunction bb(a,b,c,d", |
| ",e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),u(b,f", |
| "unction(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"cla", |
| "ss\"==c?(b=b.getElementsByClassName(d),u(b,function(b){b.className==d&&", |
| "a.matches(b)&&e.add(b)})):a instanceof H?cb(a,b,c,d,e):b.getElementsByT", |
| "agName&&(b=b.getElementsByTagName(a.getName()),u(b,function(a){$a(a,c,d", |
| ")&&e.add(a)}));return e}function db(a,b,c,d,e){for(b=b.firstChild;b;b=b", |
| ".nextSibling)$a(b,c,d)&&a.matches(b)&&e.add(b);return e}\nfunction cb(a", |
| ",b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)$a(b,c,d)&&a.matches(b)&", |
| "&e.add(b),cb(a,b,c,d,e)};function G(){this.j=this.g=null;this.H=0}funct", |
| "ion eb(a){this.node=a;this.next=this.B=null}function fb(a,b){if(!a.g)re", |
| "turn b;if(!b.g)return a;for(var c=a.g,d=b.g,e=null,f,g=0;c&&d;)c.node==", |
| "d.node?(f=c,c=c.next,d=d.next):0<Oa(c.node,d.node)?(f=d,d=d.next):(f=c,", |
| "c=c.next),(f.B=e)?e.next=f:a.g=f,e=f,g++;for(f=c||d;f;)f.B=e,e=e.next=f", |
| ",g++,f=f.next;a.j=e;a.H=g;return a}G.prototype.unshift=function(a){a=ne", |
| "w eb(a);a.next=this.g;this.j?this.g.B=a:this.g=this.j=a;this.g=a;this.H", |
| "++};\nG.prototype.add=function(a){a=new eb(a);a.B=this.j;this.g?this.j.", |
| "next=a:this.g=this.j=a;this.j=a;this.H++};function gb(a){return(a=a.g)?", |
| "a.node:null}G.prototype.s=function(){return this.H};function hb(a){retu", |
| "rn(a=gb(a))?F(a):\"\"}G.prototype.iterator=function(a){return new ib(th", |
| "is,!!a)};function ib(a,b){this.qa=a;this.Z=(this.C=b)?a.j:a.g;this.T=nu", |
| "ll}ib.prototype.next=function(){var a=this.Z;if(null==a)return null;var", |
| " b=this.T=a;this.Z=this.C?a.B:a.next;return b.node};\nib.prototype.remo", |
| "ve=function(){var a=this.qa,b=this.T;if(!b)throw Error(\"Next must be c", |
| "alled at least once before remove.\");var c=b.B,b=b.next;c?c.next=b:a.g", |
| "=b;b?b.B=c:a.j=c;a.H--;this.T=null};function I(a){this.f=a;this.h=this.", |
| "v=!1;this.I=null}function J(a){return\"\\n \"+a.toString().split(\"\\n", |
| "\").join(\"\\n \")}I.prototype.c=function(){return this.v};function jb", |
| "(a,b){a.v=b}function kb(a,b){a.h=b}I.prototype.A=function(){return this", |
| ".I};function K(a,b){var c=a.evaluate(b);return c instanceof G?+hb(c):+c", |
| "}function L(a,b){var c=a.evaluate(b);return c instanceof G?hb(c):\"\"+c", |
| "}function lb(a,b){var c=a.evaluate(b);return c instanceof G?!!c.s():!!c", |
| "};function mb(a,b,c){I.call(this,a.f);this.V=a;this.ca=b;this.ia=c;this", |
| ".v=b.c()||c.c();this.h=b.h||c.h;this.V==nb&&(c.h||c.c()||4==c.f||0==c.f", |
| "||!b.A()?b.h||b.c()||4==b.f||0==b.f||!c.A()||(this.I={name:c.A().name,F", |
| ":b}):this.I={name:b.A().name,F:c})}r(mb,I);\nfunction ob(a,b,c,d,e){b=b", |
| ".evaluate(d);c=c.evaluate(d);var f;if(b instanceof G&&c instanceof G){b", |
| "=b.iterator();for(d=b.next();d;d=b.next())for(e=c.iterator(),f=e.next()", |
| ";f;f=e.next())if(a(F(d),F(f)))return!0;return!1}if(b instanceof G||c in", |
| "stanceof G){b instanceof G?(e=b,d=c):(e=c,d=b);f=e.iterator();for(var g", |
| "=typeof d,h=f.next();h;h=f.next()){switch(g){case \"number\":h=+F(h);br", |
| "eak;case \"boolean\":h=!!F(h);break;case \"string\":h=F(h);break;defaul", |
| "t:throw Error(\"Illegal primitive type for comparison.\");\n}if(e==b&&a", |
| "(h,d)||e==c&&a(d,h))return!0}return!1}return e?\"boolean\"==typeof b||", |
| "\"boolean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==type", |
| "of c?a(+b,+c):a(b,c):a(+b,+c)}mb.prototype.evaluate=function(a){return ", |
| "this.V.o(this.ca,this.ia,a)};mb.prototype.toString=function(){var a=\"B", |
| "inary Expression: \"+this.V,a=a+J(this.ca);return a+=J(this.ia)};functi", |
| "on pb(a,b,c,d){this.ta=a;this.ga=b;this.f=c;this.o=d}pb.prototype.toStr", |
| "ing=function(){return this.ta};var qb={};\nfunction N(a,b,c,d){if(qb.ha", |
| "sOwnProperty(a))throw Error(\"Binary operator already created: \"+a);a=", |
| "new pb(a,b,c,d);return qb[a.toString()]=a}N(\"div\",6,1,function(a,b,c)", |
| "{return K(a,c)/K(b,c)});N(\"mod\",6,1,function(a,b,c){return K(a,c)%K(b", |
| ",c)});N(\"*\",6,1,function(a,b,c){return K(a,c)*K(b,c)});N(\"+\",5,1,fu", |
| "nction(a,b,c){return K(a,c)+K(b,c)});N(\"-\",5,1,function(a,b,c){return", |
| " K(a,c)-K(b,c)});N(\"<\",4,2,function(a,b,c){return ob(function(a,b){re", |
| "turn a<b},a,b,c)});\nN(\">\",4,2,function(a,b,c){return ob(function(a,b", |
| "){return a>b},a,b,c)});N(\"<=\",4,2,function(a,b,c){return ob(function(", |
| "a,b){return a<=b},a,b,c)});N(\">=\",4,2,function(a,b,c){return ob(funct", |
| "ion(a,b){return a>=b},a,b,c)});var nb=N(\"=\",3,2,function(a,b,c){retur", |
| "n ob(function(a,b){return a==b},a,b,c,!0)});N(\"!=\",3,2,function(a,b,c", |
| "){return ob(function(a,b){return a!=b},a,b,c,!0)});N(\"and\",2,2,functi", |
| "on(a,b,c){return lb(a,c)&&lb(b,c)});N(\"or\",1,2,function(a,b,c){return", |
| " lb(a,c)||lb(b,c)});function rb(a,b){if(b.s()&&4!=a.f)throw Error(\"Pri", |
| "mary expression must evaluate to nodeset if filter has predicate(s).\")", |
| ";I.call(this,a.f);this.ha=a;this.b=b;this.v=a.c();this.h=a.h}r(rb,I);rb", |
| ".prototype.evaluate=function(a){a=this.ha.evaluate(a);return sb(this.b,", |
| "a)};rb.prototype.toString=function(){var a;a=\"Filter:\"+J(this.ha);ret", |
| "urn a+=J(this.b)};function tb(a,b){if(b.length<a.fa)throw Error(\"Funct", |
| "ion \"+a.i+\" expects at least\"+a.fa+\" arguments, \"+b.length+\" give", |
| "n\");if(null!==a.U&&b.length>a.U)throw Error(\"Function \"+a.i+\" expec", |
| "ts at most \"+a.U+\" arguments, \"+b.length+\" given\");a.ra&&u(b,funct", |
| "ion(b,d){if(4!=b.f)throw Error(\"Argument \"+d+\" to function \"+a.i+\"", |
| " is not of type Nodeset: \"+b);});I.call(this,a.f);this.L=a;this.R=b;jb", |
| "(this,a.v||ua(b,function(a){return a.c()}));kb(this,a.pa&&!b.length||a.", |
| "oa&&!!b.length||ua(b,function(a){return a.h}))}\nr(tb,I);tb.prototype.e", |
| "valuate=function(a){return this.L.o.apply(null,xa(a,this.R))};tb.protot", |
| "ype.toString=function(){var a=\"Function: \"+this.L;if(this.R.length)va", |
| "r b=ta(this.R,function(a,b){return a+J(b)},\"Arguments:\"),a=a+J(b);ret", |
| "urn a};function ub(a,b,c,d,e,f,g,h,t){this.i=a;this.f=b;this.v=c;this.p", |
| "a=d;this.oa=e;this.o=f;this.fa=g;this.U=l(h)?h:g;this.ra=!!t}ub.prototy", |
| "pe.toString=function(){return this.i};var vb={};\nfunction O(a,b,c,d,e,", |
| "f,g,h){if(vb.hasOwnProperty(a))throw Error(\"Function already created: ", |
| "\"+a+\".\");vb[a]=new ub(a,b,c,d,!1,e,f,g,h)}O(\"boolean\",2,!1,!1,func", |
| "tion(a,b){return lb(b,a)},1);O(\"ceiling\",1,!1,!1,function(a,b){return", |
| " Math.ceil(K(b,a))},1);O(\"concat\",3,!1,!1,function(a,b){return ta(za(", |
| "arguments,1),function(b,d){return b+L(d,a)},\"\")},2,null);O(\"contains", |
| "\",2,!1,!1,function(a,b,c){b=L(b,a);a=L(c,a);return-1!=b.indexOf(a)},2)", |
| ";O(\"count\",1,!1,!1,function(a,b){return b.evaluate(a).s()},1,1,!0);\n", |
| "O(\"false\",2,!1,!1,function(){return!1},0);O(\"floor\",1,!1,!1,functio", |
| "n(a,b){return Math.floor(K(b,a))},1);O(\"id\",4,!1,!1,function(a,b){var", |
| " c=a.m,d=9==c.nodeType?c:c.ownerDocument,c=L(b,a).split(/\\s+/),e=[];u(", |
| "c,function(a){a=d.getElementById(a);!a||0<=ra(e,a)||e.push(a)});e.sort(", |
| "Oa);var f=new G;u(e,function(a){f.add(a)});return f},1);O(\"lang\",2,!1", |
| ",!1,function(){return!1},1);O(\"last\",1,!0,!1,function(a){if(1!=argume", |
| "nts.length)throw Error(\"Function last expects ()\");return a.j},0);\nO", |
| "(\"local-name\",3,!1,!0,function(a,b){var c=b?gb(b.evaluate(a)):a.m;ret", |
| "urn c?c.localName||c.nodeName.toLowerCase():\"\"},0,1,!0);O(\"name\",3,", |
| "!1,!0,function(a,b){var c=b?gb(b.evaluate(a)):a.m;return c?c.nodeName.t", |
| "oLowerCase():\"\"},0,1,!0);O(\"namespace-uri\",3,!0,!1,function(){retur", |
| "n\"\"},0,1,!0);O(\"normalize-space\",3,!1,!0,function(a,b){return(b?L(b", |
| ",a):F(a.m)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")}", |
| ",0,1);O(\"not\",2,!1,!1,function(a,b){return!lb(b,a)},1);\nO(\"number\"", |
| ",1,!1,!0,function(a,b){return b?K(b,a):+F(a.m)},0,1);O(\"position\",1,!", |
| "0,!1,function(a){return a.ua},0);O(\"round\",1,!1,!1,function(a,b){retu", |
| "rn Math.round(K(b,a))},1);O(\"starts-with\",2,!1,!1,function(a,b,c){b=L", |
| "(b,a);a=L(c,a);return 0==b.lastIndexOf(a,0)},2);O(\"string\",3,!1,!0,fu", |
| "nction(a,b){return b?L(b,a):F(a.m)},0,1);O(\"string-length\",1,!1,!0,fu", |
| "nction(a,b){return(b?L(b,a):F(a.m)).length},0,1);\nO(\"substring\",3,!1", |
| ",!1,function(a,b,c,d){c=K(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)r", |
| "eturn\"\";d=d?K(d,a):Infinity;if(isNaN(d)||-Infinity===d)return\"\";c=M", |
| "ath.round(c)-1;var e=Math.max(c,0);a=L(b,a);return Infinity==d?a.substr", |
| "ing(e):a.substring(e,c+Math.round(d))},2,3);O(\"substring-after\",3,!1,", |
| "!1,function(a,b,c){b=L(b,a);a=L(c,a);c=b.indexOf(a);return-1==c?\"\":b.", |
| "substring(c+a.length)},2);\nO(\"substring-before\",3,!1,!1,function(a,b", |
| ",c){b=L(b,a);a=L(c,a);a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)}", |
| ",2);O(\"sum\",1,!1,!1,function(a,b){for(var c=b.evaluate(a).iterator(),", |
| "d=0,e=c.next();e;e=c.next())d+=+F(e);return d},1,1,!0);O(\"translate\",", |
| "3,!1,!1,function(a,b,c,d){b=L(b,a);c=L(c,a);var e=L(d,a);a={};for(d=0;d", |
| "<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d))}c=\"\";for(", |
| "d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return c},3);O(\"true", |
| "\",2,!1,!1,function(){return!0},0);function H(a,b){this.la=a;this.da=l(", |
| "b)?b:null;this.D=null;switch(a){case \"comment\":this.D=8;break;case \"", |
| "text\":this.D=3;break;case \"processing-instruction\":this.D=7;break;ca", |
| "se \"node\":break;default:throw Error(\"Unexpected argument\");}}functi", |
| "on wb(a){return\"comment\"==a||\"text\"==a||\"processing-instruction\"=", |
| "=a||\"node\"==a}H.prototype.matches=function(a){return null===this.D||t", |
| "his.D==a.nodeType};H.prototype.getName=function(){return this.la};\nH.p", |
| "rototype.toString=function(){var a=\"Kind Test: \"+this.la;null===this.", |
| "da||(a+=J(this.da));return a};function xb(a){I.call(this,3);this.ka=a.s", |
| "ubstring(1,a.length-1)}r(xb,I);xb.prototype.evaluate=function(){return ", |
| "this.ka};xb.prototype.toString=function(){return\"Literal: \"+this.ka};", |
| "function yb(a,b){this.i=a.toLowerCase();var c;c=\"*\"==this.i?\"*\":\"h", |
| "ttp://www.w3.org/1999/xhtml\";this.N=b?b.toLowerCase():c}yb.prototype.m", |
| "atches=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=l(a.localN", |
| "ame)?a.localName:a.nodeName;return\"*\"!=this.i&&this.i!=b.toLowerCase(", |
| ")?!1:\"*\"==this.N?!0:this.N==(a.namespaceURI?a.namespaceURI.toLowerCas", |
| "e():\"http://www.w3.org/1999/xhtml\")};yb.prototype.getName=function(){", |
| "return this.i};\nyb.prototype.toString=function(){return\"Name Test: \"", |
| "+(\"http://www.w3.org/1999/xhtml\"==this.N?\"\":this.N+\":\")+this.i};f", |
| "unction zb(a){I.call(this,1);this.ma=a}r(zb,I);zb.prototype.evaluate=fu", |
| "nction(){return this.ma};zb.prototype.toString=function(){return\"Numbe", |
| "r: \"+this.ma};function Ab(a,b){I.call(this,a.f);this.aa=a;this.J=b;thi", |
| "s.v=a.c();this.h=a.h;if(1==this.J.length){var c=this.J[0];c.S||c.w!=Bb|", |
| "|(c=c.P,\"*\"!=c.getName()&&(this.I={name:c.getName(),F:null}))}}r(Ab,I", |
| ");function Cb(){I.call(this,4)}r(Cb,I);Cb.prototype.evaluate=function(a", |
| "){var b=new G;a=a.m;9==a.nodeType?b.add(a):b.add(a.ownerDocument);retur", |
| "n b};Cb.prototype.toString=function(){return\"Root Helper Expression\"}", |
| ";function Db(){I.call(this,4)}r(Db,I);\nDb.prototype.evaluate=function(", |
| "a){var b=new G;b.add(a.m);return b};Db.prototype.toString=function(){re", |
| "turn\"Context Helper Expression\"};function Eb(a){return\"/\"==a||\"//", |
| "\"==a}\nAb.prototype.evaluate=function(a){var b=this.aa.evaluate(a);if(", |
| "!(b instanceof G))throw Error(\"Filter expression must evaluate to node", |
| "set.\");a=this.J;for(var c=0,d=a.length;c<d&&b.s();c++){var e=a[c],f=b.", |
| "iterator(e.w.C),g;if(e.c()||e.w!=Fb)if(e.c()||e.w!=Gb)for(g=f.next(),b=", |
| "e.evaluate(new Va(g));null!=(g=f.next());)g=e.evaluate(new Va(g)),b=fb(", |
| "b,g);else g=f.next(),b=e.evaluate(new Va(g));else{for(g=f.next();(b=f.n", |
| "ext())&&(!g.contains||g.contains(b))&&b.compareDocumentPosition(g)&8;g=", |
| "b);b=e.evaluate(new Va(g))}}return b};\nAb.prototype.toString=function(", |
| "){var a;a=\"Path Expression:\"+J(this.aa);if(this.J.length){var b=ta(th", |
| "is.J,function(a,b){return a+J(b)},\"Steps:\");a+=J(b)}return a};functio", |
| "n P(a,b){this.b=a;this.C=!!b}function sb(a,b,c){for(c=c||0;c<a.b.length", |
| ";c++)for(var d=a.b[c],e=b.iterator(),f=b.s(),g,h=0;g=e.next();h++){var ", |
| "t=a.C?f-h:h+1;g=d.evaluate(new Va(g,t,f));if(\"number\"==typeof g)t=t==", |
| "g;else if(\"string\"==typeof g||\"boolean\"==typeof g)t=!!g;else if(g i", |
| "nstanceof G)t=0<g.s();else throw Error(\"Predicate.evaluate returned an", |
| " unexpected type.\");t||e.remove()}return b}P.prototype.A=function(){re", |
| "turn 0<this.b.length?this.b[0].A():null};\nP.prototype.c=function(){for", |
| "(var a=0;a<this.b.length;a++){var b=this.b[a];if(b.c()||1==b.f||0==b.f)", |
| "return!0}return!1};P.prototype.s=function(){return this.b.length};P.pro", |
| "totype.toString=function(){return ta(this.b,function(a,b){return a+J(b)", |
| "},\"Predicates:\")};function Q(a,b,c,d){I.call(this,4);this.w=a;this.P=", |
| "b;this.b=c||new P([]);this.S=!!d;b=this.b.A();a.va&&b&&(this.I={name:b.", |
| "name,F:b.F});this.v=this.b.c()}r(Q,I);\nQ.prototype.evaluate=function(a", |
| "){var b=a.m,c=this.A(),d=null,e=null,f=0;c&&(d=c.name,e=c.F?L(c.F,a):nu", |
| "ll,f=1);if(this.S)if(this.c()||this.w!=Hb)if(b=(new Q(Ib,new H(\"node\"", |
| "))).evaluate(a).iterator(),c=b.next())for(a=this.o(c,d,e,f);null!=(c=b.", |
| "next());)a=fb(a,this.o(c,d,e,f));else a=new G;else a=ab(this.P,b,d,e),a", |
| "=sb(this.b,a,f);else a=this.o(a.m,d,e,f);return a};Q.prototype.o=functi", |
| "on(a,b,c,d){a=this.w.L(this.P,a,b,c);return a=sb(this.b,a,d)};\nQ.proto", |
| "type.toString=function(){var a;a=\"Step:\"+J(\"Operator: \"+(this.S?\"/", |
| "/\":\"/\"));this.w.i&&(a+=J(\"Axis: \"+this.w));a+=J(this.P);if(this.b.", |
| "s()){var b=ta(this.b.b,function(a,b){return a+J(b)},\"Predicates:\");a+", |
| "=J(b)}return a};function Jb(a,b,c,d){this.i=a;this.L=b;this.C=c;this.va", |
| "=d}Jb.prototype.toString=function(){return this.i};var Kb={};function R", |
| "(a,b,c,d){if(Kb.hasOwnProperty(a))throw Error(\"Axis already created: ", |
| "\"+a);b=new Jb(a,b,c,!!d);return Kb[a]=b}\nR(\"ancestor\",function(a,b)", |
| "{for(var c=new G,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);return ", |
| "c},!0);R(\"ancestor-or-self\",function(a,b){var c=new G,d=b;do a.matche", |
| "s(d)&&c.unshift(d);while(d=d.parentNode);return c},!0);\nvar Bb=R(\"att", |
| "ribute\",function(a,b){var c=new G,d=a.getName(),e=b.attributes;if(e)if", |
| "(a instanceof H&&null===a.D||\"*\"==d)for(var d=0,f;f=e[d];d++)c.add(f)", |
| ";else(f=e.getNamedItem(d))&&c.add(f);return c},!1),Hb=R(\"child\",funct", |
| "ion(a,b,c,d,e){return db.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new G", |
| ")},!1,!0);R(\"descendant\",ab,!1,!0);\nvar Ib=R(\"descendant-or-self\",", |
| "function(a,b,c,d){var e=new G;$a(b,c,d)&&a.matches(b)&&e.add(b);return ", |
| "ab(a,b,c,d,e)},!1,!0),Fb=R(\"following\",function(a,b,c,d){var e=new G;", |
| "do for(var f=b;f=f.nextSibling;)$a(f,c,d)&&a.matches(f)&&e.add(f),e=ab(", |
| "a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);R(\"following-sibling", |
| "\",function(a,b){for(var c=new G,d=b;d=d.nextSibling;)a.matches(d)&&c.a", |
| "dd(d);return c},!1);R(\"namespace\",function(){return new G},!1);\nvar ", |
| "Lb=R(\"parent\",function(a,b){var c=new G;if(9==b.nodeType)return c;if(", |
| "2==b.nodeType)return c.add(b.ownerElement),c;var d=b.parentNode;a.match", |
| "es(d)&&c.add(d);return c},!1),Gb=R(\"preceding\",function(a,b,c,d){var ", |
| "e=new G,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,h=f.leng", |
| "th;g<h;g++){var t=[];for(b=f[g];b=b.previousSibling;)t.unshift(b);for(v", |
| "ar C=0,q=t.length;C<q;C++)b=t[C],$a(b,c,d)&&a.matches(b)&&e.add(b),e=ab", |
| "(a,b,c,d,e)}return e},!0,!0);\nR(\"preceding-sibling\",function(a,b){fo", |
| "r(var c=new G,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);retur", |
| "n c},!0);var Mb=R(\"self\",function(a,b){var c=new G;a.matches(b)&&c.ad", |
| "d(b);return c},!1);function Nb(a){I.call(this,1);this.$=a;this.v=a.c();", |
| "this.h=a.h}r(Nb,I);Nb.prototype.evaluate=function(a){return-K(this.$,a)", |
| "};Nb.prototype.toString=function(){return\"Unary Expression: -\"+J(this", |
| ".$)};function Ob(a){I.call(this,4);this.O=a;jb(this,ua(this.O,function(", |
| "a){return a.c()}));kb(this,ua(this.O,function(a){return a.h}))}r(Ob,I);", |
| "Ob.prototype.evaluate=function(a){var b=new G;u(this.O,function(c){c=c.", |
| "evaluate(a);if(!(c instanceof G))throw Error(\"Path expression must eva", |
| "luate to NodeSet.\");b=fb(b,c)});return b};Ob.prototype.toString=functi", |
| "on(){return ta(this.O,function(a,b){return a+J(b)},\"Union Expression:", |
| "\")};function Pb(a,b){this.a=a;this.sa=b}function Qb(a){for(var b,c=[];", |
| ";){S(a,\"Missing right hand side of binary expression.\");b=Rb(a);var d", |
| "=a.a.next();if(!d)break;var e=(d=qb[d]||null)&&d.ga;if(!e){a.a.back();b", |
| "reak}for(;c.length&&e<=c[c.length-1].ga;)b=new mb(c.pop(),c.pop(),b);c.", |
| "push(b,d)}for(;c.length;)b=new mb(c.pop(),c.pop(),b);return b}function ", |
| "S(a,b){if(a.a.empty())throw Error(b);}function Sb(a,b){var c=a.a.next()", |
| ";if(c!=b)throw Error(\"Bad token, expected: \"+b+\" got: \"+c);}\nfunct", |
| "ion Tb(a){a=a.a.next();if(\")\"!=a)throw Error(\"Bad token: \"+a);}func", |
| "tion Ub(a){a=a.a.next();if(2>a.length)throw Error(\"Unclosed literal st", |
| "ring\");return new xb(a)}\nfunction Vb(a){var b,c=[],d;if(Eb(E(a.a))){b", |
| "=a.a.next();d=E(a.a);if(\"/\"==b&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"", |
| "@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new Cb;d=new Cb;S(a", |
| ",\"Missing next location step.\");b=Wb(a,b);c.push(b)}else{a:{b=E(a.a);", |
| "d=b.charAt(0);switch(d){case \"$\":throw Error(\"Variable reference not", |
| " allowed in HTML XPath\");case \"(\":a.a.next();b=Qb(a);S(a,'unclosed ", |
| "\"(\"');Sb(a,\")\");break;case '\"':case \"'\":b=Ub(a);break;default:if", |
| "(isNaN(+b))if(!wb(b)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==E(a.a,\n1)){b=a.", |
| "a.next();b=vb[b]||null;a.a.next();for(d=[];\")\"!=E(a.a);){S(a,\"Missin", |
| "g function argument list.\");d.push(Qb(a));if(\",\"!=E(a.a))break;a.a.n", |
| "ext()}S(a,\"Unclosed function argument list.\");Tb(a);b=new tb(b,d)}els", |
| "e{b=null;break a}else b=new zb(+a.a.next())}\"[\"==E(a.a)&&(d=new P(Xb(", |
| "a)),b=new rb(b,d))}if(b)if(Eb(E(a.a)))d=b;else return b;else b=Wb(a,\"/", |
| "\"),d=new Db,c.push(b)}for(;Eb(E(a.a));)b=a.a.next(),S(a,\"Missing next", |
| " location step.\"),b=Wb(a,b),c.push(b);return new Ab(d,c)}\nfunction Wb", |
| "(a,b){var c,d,e;if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be ", |
| "\"/\" or \"//\"');if(\".\"==E(a.a))return d=new Q(Mb,new H(\"node\")),a", |
| ".a.next(),d;if(\"..\"==E(a.a))return d=new Q(Lb,new H(\"node\")),a.a.ne", |
| "xt(),d;var f;if(\"@\"==E(a.a))f=Bb,a.a.next(),S(a,\"Missing attribute n", |
| "ame\");else if(\"::\"==E(a.a,1)){if(!/(?![0-9])[\\w]/.test(E(a.a).charA", |
| "t(0)))throw Error(\"Bad token: \"+a.a.next());c=a.a.next();f=Kb[c]||nul", |
| "l;if(!f)throw Error(\"No axis with name: \"+c);a.a.next();S(a,\"Missing", |
| " node name\")}else f=Hb;\nc=E(a.a);if(/(?![0-9])[\\w\\*]/.test(c.charAt", |
| "(0)))if(\"(\"==E(a.a,1)){if(!wb(c))throw Error(\"Invalid node type: \"+", |
| "c);c=a.a.next();if(!wb(c))throw Error(\"Invalid type name: \"+c);Sb(a,", |
| "\"(\");S(a,\"Bad nodetype\");e=E(a.a).charAt(0);var g=null;if('\"'==e||", |
| "\"'\"==e)g=Ub(a);S(a,\"Bad nodetype\");Tb(a);c=new H(c,g)}else if(c=a.a", |
| ".next(),e=c.indexOf(\":\"),-1==e)c=new yb(c);else{var g=c.substring(0,e", |
| "),h;if(\"*\"==g)h=\"*\";else if(h=a.sa(g),!h)throw Error(\"Namespace pr", |
| "efix not declared: \"+g);c=c.substr(e+1);c=new yb(c,h)}else throw Error", |
| "(\"Bad token: \"+\na.a.next());e=new P(Xb(a),f.C);return d||new Q(f,c,e", |
| ",\"//\"==b)}function Xb(a){for(var b=[];\"[\"==E(a.a);){a.a.next();S(a,", |
| "\"Missing predicate expression.\");var c=Qb(a);b.push(c);S(a,\"Unclosed", |
| " predicate expression.\");Sb(a,\"]\")}return b}function Rb(a){if(\"-\"=", |
| "=E(a.a))return a.a.next(),new Nb(Rb(a));var b=Vb(a);if(\"|\"!=E(a.a))a=", |
| "b;else{for(b=[b];\"|\"==a.a.next();)S(a,\"Missing next union location p", |
| "ath.\"),b.push(Vb(a));a.a.back();a=new Ob(b)}return a};function Yb(a){s", |
| "witch(a.nodeType){case 1:return la(Zb,a);case 9:return Yb(a.documentEle", |
| "ment);case 11:case 10:case 6:case 12:return $b;default:return a.parentN", |
| "ode?Yb(a.parentNode):$b}}function $b(){return null}function Zb(a,b){if(", |
| "a.prefix==b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var", |
| " c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null", |
| ":a.parentNode&&9!=a.parentNode.nodeType?Zb(a.parentNode,b):null};functi", |
| "on ac(a,b){if(!a.length)throw Error(\"Empty XPath expression.\");var c=", |
| "Xa(a);if(c.empty())throw Error(\"Invalid XPath expression.\");b?p(b)||(", |
| "b=ka(b.lookupNamespaceURI,b)):b=function(){return null};var d=Qb(new Pb", |
| "(c,b));if(!c.empty())throw Error(\"Bad token: \"+c.next());this.evaluat", |
| "e=function(a,b){var c=d.evaluate(new Va(a));return new T(c,b)}}\nfuncti", |
| "on T(a,b){if(0==b)if(a instanceof G)b=4;else if(\"string\"==typeof a)b=", |
| "2;else if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;el", |
| "se throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&", |
| "!(a instanceof G))throw Error(\"value could not be converted to the spe", |
| "cified type\");this.resultType=b;var c;switch(b){case 2:this.stringValu", |
| "e=a instanceof G?hb(a):\"\"+a;break;case 1:this.numberValue=a instanceo", |
| "f G?+hb(a):+a;break;case 3:this.booleanValue=a instanceof G?0<a.s():!!a", |
| ";break;case 4:case 5:case 6:case 7:var d=\na.iterator();c=[];for(var e=", |
| "d.next();e;e=d.next())c.push(e);this.snapshotLength=a.s();this.invalidI", |
| "teratorState=!1;break;case 8:case 9:this.singleNodeValue=gb(a);break;de", |
| "fault:throw Error(\"Unknown XPathResult type.\");}var f=0;this.iterateN", |
| "ext=function(){if(4!=b&&5!=b)throw Error(\"iterateNext called with wron", |
| "g result type\");return f>=c.length?null:c[f++]};this.snapshotItem=func", |
| "tion(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong resu", |
| "lt type\");return a>=c.length||0>a?null:c[a]}}\nT.ANY_TYPE=0;T.NUMBER_T", |
| "YPE=1;T.STRING_TYPE=2;T.BOOLEAN_TYPE=3;T.UNORDERED_NODE_ITERATOR_TYPE=4", |
| ";T.ORDERED_NODE_ITERATOR_TYPE=5;T.UNORDERED_NODE_SNAPSHOT_TYPE=6;T.ORDE", |
| "RED_NODE_SNAPSHOT_TYPE=7;T.ANY_UNORDERED_NODE_TYPE=8;T.FIRST_ORDERED_NO", |
| "DE_TYPE=9;function bc(a){this.lookupNamespaceURI=Yb(a)}\nea(\"wgxpath.i", |
| "nstall\",function(a,b){var c=a||da,d=c.Document&&c.Document.prototype||", |
| "c.document;if(!d.evaluate||b)c.XPathResult=T,d.evaluate=function(a,b,c,", |
| "d){return(new ac(a,c)).evaluate(b,d)},d.createExpression=function(a,b){", |
| "return new ac(a,b)},d.createNSResolver=function(a){return new bc(a)}});", |
| "var U={};U.X=function(){var a={ya:\"http://www.w3.org/2000/svg\"};retur", |
| "n function(b){return a[b]||null}}();\nU.o=function(a,b,c){var d=z(a);if", |
| "(!d.documentElement)return null;try{for(var e=d.createNSResolver?d.crea", |
| "teNSResolver(d.documentElement):U.X,f={},g=d.getElementsByTagName(\"*\"", |
| "),h=0;h<g.length;++h){var t=g[h],C=t.namespaceURI;if(C&&!f[C]){var q=t.", |
| "lookupPrefix(C);if(!q)var A=C.match(\".*/(\\\\w+)/?$\"),q=A?A[1]:\"xhtm", |
| "l\";f[C]=q}}var M={},V;for(V in f)M[f[V]]=V;e=function(a){return M[a]||", |
| "null};try{return d.evaluate(b,a,e,c,null)}catch(Ea){if(\"TypeError\"===", |
| "Ea.name)return e=d.createNSResolver?d.createNSResolver(d.documentElemen", |
| "t):\nU.X,d.evaluate(b,a,e,c,null);throw Ea;}}catch(Ea){throw new v(32,", |
| "\"Unable to locate an element with the xpath expression \"+b+\" because", |
| " of the following error:\\n\"+Ea);}};U.Y=function(a,b){if(!a||1!=a.node", |
| "Type)throw new v(32,'The result of the xpath expression \"'+b+'\" is: '", |
| "+a+\". It should be an element.\");};\nU.u=function(a,b){var c=function", |
| "(){var c=U.o(b,a,9);return c?c.singleNodeValue||null:b.selectSingleNode", |
| "?(c=z(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XPath\"),", |
| "b.selectSingleNode(a)):null}();null===c||U.Y(c,a);return c};\nU.l=funct", |
| "ion(a,b){var c=function(){var c=U.o(b,a,7);if(c){for(var e=c.snapshotLe", |
| "ngth,f=[],g=0;g<e;++g)f.push(c.snapshotItem(g));return f}return b.selec", |
| "tNodes?(c=z(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XPa", |
| "th\"),b.selectNodes(a)):[]}();u(c,function(b){U.Y(b,a)});return c};func", |
| "tion cc(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}k=cc", |
| ".prototype;k.clone=function(){return new cc(this.top,this.right,this.bo", |
| "ttom,this.left)};k.toString=function(){return\"(\"+this.top+\"t, \"+thi", |
| "s.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};k.contains=functi", |
| "on(a){return this&&a?a instanceof cc?a.left>=this.left&&a.right<=this.r", |
| "ight&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.", |
| "right&&a.y>=this.top&&a.y<=this.bottom:!1};\nk.expand=function(a,b,c,d)", |
| "{ha(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.", |
| "left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c)", |
| ",this.left-=Number(d));return this};k.ceil=function(){this.top=Math.cei", |
| "l(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this", |
| ".bottom);this.left=Math.ceil(this.left);return this};\nk.floor=function", |
| "(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this", |
| ".bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return ", |
| "this};k.round=function(){this.top=Math.round(this.top);this.right=Math.", |
| "round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.ro", |
| "und(this.left);return this};k.translate=function(a,b){a instanceof x?(t", |
| "his.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.lef", |
| "t+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+=b));return this};\nk", |
| ".scale=function(a,b){var c=n(b)?b:a;this.left*=a;this.right*=a;this.top", |
| "*=c;this.bottom*=c;return this};function W(a,b,c,d){this.left=a;this.to", |
| "p=b;this.width=c;this.height=d}k=W.prototype;k.clone=function(){return ", |
| "new W(this.left,this.top,this.width,this.height)};k.toString=function()", |
| "{return\"(\"+this.left+\", \"+this.top+\" - \"+this.width+\"w x \"+this", |
| ".height+\"h)\"};k.contains=function(a){return a instanceof W?this.left<", |
| "=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.to", |
| "p+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width", |
| "&&a.y>=this.top&&a.y<=this.top+this.height};\nk.ceil=function(){this.le", |
| "ft=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ce", |
| "il(this.width);this.height=Math.ceil(this.height);return this};k.floor=", |
| "function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top", |
| ");this.width=Math.floor(this.width);this.height=Math.floor(this.height)", |
| ";return this};k.round=function(){this.left=Math.round(this.left);this.t", |
| "op=Math.round(this.top);this.width=Math.round(this.width);this.height=M", |
| "ath.round(this.height);return this};\nk.translate=function(a,b){a insta", |
| "nceof x?(this.left+=a.x,this.top+=a.y):(this.left+=a,n(b)&&(this.top+=b", |
| "));return this};k.scale=function(a,b){var c=n(b)?b:a;this.left*=a;this.", |
| "width*=a;this.top*=c;this.height*=c;return this};function dc(a){for(a=a", |
| ".parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parent", |
| "Node;return D(a)?a:null}\nfunction X(a,b){var c=qa(b);if(\"float\"==c||", |
| "\"cssFloat\"==c||\"styleFloat\"==c)c=\"cssFloat\";var d;a:{d=c;var e=z(", |
| "a);if(e.defaultView&&e.defaultView.getComputedStyle&&(e=e.defaultView.g", |
| "etComputedStyle(a,null))){d=e[d]||e.getPropertyValue(d)||\"\";break a}d", |
| "=\"\"}d=d||ec(a,c);if(null===d)d=null;else if(0<=ra(Ba,c)){b:{var f=d.m", |
| "atch(Fa);if(f){var c=Number(f[1]),e=Number(f[2]),g=Number(f[3]),f=Numbe", |
| "r(f[4]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g&&0<=f&&1>=f){c=[c,e", |
| ",g,f];break b}}c=null}if(!c)b:{if(g=d.match(Ga))if(c=\nNumber(g[1]),e=N", |
| "umber(g[2]),g=Number(g[3]),0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g){c=", |
| "[c,e,g,1];break b}c=null}if(!c)b:{c=d.toLowerCase();e=Aa[c.toLowerCase(", |
| ")];if(!e&&(e=\"#\"==c.charAt(0)?c:\"#\"+c,4==e.length&&(e=e.replace(Ca,", |
| "\"#$1$1$2$2$3$3\")),!Da.test(e))){c=null;break b}c=[parseInt(e.substr(1", |
| ",2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16),1]}d=c?\"", |
| "rgba(\"+c.join(\", \")+\")\":d}return d}\nfunction ec(a,b){var c=a.curr", |
| "entStyle||a.style,d=c[b];!l(d)&&p(c.getPropertyValue)&&(d=c.getProperty", |
| "Value(b));return\"inherit\"!=d?l(d)?d:null:(c=dc(a))?ec(c,b):null}\nfun", |
| "ction fc(a,b,c){function d(a){var b=gc(a);return 0<b.height&&0<b.width?", |
| "!0:D(a,\"PATH\")&&(0<b.height||0<b.width)?(a=X(a,\"stroke-width\"),!!a&", |
| "&0<parseInt(a,10)):\"hidden\"!=X(a,\"overflow\")&&ua(a.childNodes,funct", |
| "ion(a){return 3==a.nodeType||D(a)&&d(a)})}function e(a){return hc(a)==Y", |
| "&&va(a.childNodes,function(a){return!D(a)||e(a)||!d(a)})}if(!D(a))throw", |
| " Error(\"Argument to isShown must be of type Element\");if(D(a,\"BODY\"", |
| "))return!0;if(D(a,\"OPTION\")||D(a,\"OPTGROUP\"))return a=Ra(a,function", |
| "(a){return D(a,\"SELECT\")}),\n!!a&&fc(a,!0,c);var f=ic(a);if(f)return!", |
| "!f.ba&&0<f.rect.width&&0<f.rect.height&&fc(f.ba,b,c);if(D(a,\"INPUT\")&", |
| "&\"hidden\"==a.type.toLowerCase()||D(a,\"NOSCRIPT\"))return!1;f=X(a,\"v", |
| "isibility\");return\"collapse\"!=f&&\"hidden\"!=f&&c(a)&&(b||0!=jc(a))&", |
| "&d(a)?!e(a):!1}function kc(a){function b(a){if(\"none\"==X(a,\"display", |
| "\"))return!1;a=dc(a);return!a||b(a)}return fc(a,!1,b)}var Y=\"hidden\";", |
| "\nfunction hc(a){function b(a){function b(a){return a==g?!0:0==X(a,\"di", |
| "splay\").lastIndexOf(\"inline\",0)||\"absolute\"==c&&\"static\"==X(a,\"", |
| "position\")?!1:!0}var c=X(a,\"position\");if(\"fixed\"==c)return C=!0,a", |
| "==g?null:g;for(a=dc(a);a&&!b(a);)a=dc(a);return a}function c(a){var b=a", |
| ";if(\"visible\"==t)if(a==g&&h)b=h;else if(a==h)return{x:\"visible\",y:", |
| "\"visible\"};b={x:X(b,\"overflow-x\"),y:X(b,\"overflow-y\")};a==g&&(b.x", |
| "=\"visible\"==b.x?\"auto\":b.x,b.y=\"visible\"==b.y?\"auto\":b.y);retur", |
| "n b}function d(a){if(a==g){var b=(new Ja(f)).G;\na=b.scrollingElement?b", |
| ".scrollingElement:b.body||b.documentElement;b=b.parentWindow||b.default", |
| "View;a=new x(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)}el", |
| "se a=new x(a.scrollLeft,a.scrollTop);return a}var e=lc(a),f=z(a),g=f.do", |
| "cumentElement,h=f.body,t=X(g,\"overflow\"),C;for(a=b(a);a;a=b(a)){var q", |
| "=c(a);if(\"visible\"!=q.x||\"visible\"!=q.y){var A=gc(a);if(0==A.width|", |
| "|0==A.height)return Y;var M=e.right<A.left,V=e.bottom<A.top;if(M&&\"hid", |
| "den\"==q.x||V&&\"hidden\"==q.y)return Y;if(M&&\"visible\"!=q.x||V&&\n\"", |
| "visible\"!=q.y){M=d(a);V=e.bottom<A.top-M.y;if(e.right<A.left-M.x&&\"vi", |
| "sible\"!=q.x||V&&\"visible\"!=q.x)return Y;e=hc(a);return e==Y?Y:\"scro", |
| "ll\"}M=e.left>=A.left+A.width;A=e.top>=A.top+A.height;if(M&&\"hidden\"=", |
| "=q.x||A&&\"hidden\"==q.y)return Y;if(M&&\"visible\"!=q.x||A&&\"visible", |
| "\"!=q.y){if(C&&(q=d(a),e.left>=g.scrollWidth-q.x||e.right>=g.scrollHeig", |
| "ht-q.y))return Y;e=hc(a);return e==Y?Y:\"scroll\"}}}return\"none\"}\nfu", |
| "nction gc(a){var b=ic(a);if(b)return b.rect;if(D(a,\"HTML\"))return a=z", |
| "(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a=\"C", |
| "SS1Compat\"==a.compatMode?a.documentElement:a.body,a=new Ia(a.clientWid", |
| "th,a.clientHeight),new W(0,0,a.width,a.height);var c;try{c=a.getBoundin", |
| "gClientRect()}catch(d){return new W(0,0,0,0)}return new W(c.left,c.top,", |
| "c.right-c.left,c.bottom-c.top)}\nfunction ic(a){var b=D(a,\"MAP\");if(!", |
| "b&&!D(a,\"AREA\"))return null;var c=b?a:D(a.parentNode,\"MAP\")?a.paren", |
| "tNode:null,d=null,e=null;c&&c.name&&(d=U.u('/descendant::*[@usemap = \"", |
| "#'+c.name+'\"]',z(c)))&&(e=gc(d),b||\"default\"==a.shape.toLowerCase()|", |
| "|(a=mc(a),b=Math.min(Math.max(a.left,0),e.width),c=Math.min(Math.max(a.", |
| "top,0),e.height),e=new W(b+e.left,c+e.top,Math.min(a.width,e.width-b),M", |
| "ath.min(a.height,e.height-c))));return{ba:d,rect:e||new W(0,0,0,0)}}\nf", |
| "unction mc(a){var b=a.shape.toLowerCase();a=a.coords.split(\",\");if(\"", |
| "rect\"==b&&4==a.length){var b=a[0],c=a[1];return new W(b,c,a[2]-b,a[3]-", |
| "c)}if(\"circle\"==b&&3==a.length)return b=a[2],new W(a[0]-b,a[1]-b,2*b,", |
| "2*b);if(\"poly\"==b&&2<a.length){for(var b=a[0],c=a[1],d=b,e=c,f=2;f+1<", |
| "a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]", |
| "),e=Math.max(e,a[f+1]);return new W(b,c,d-b,e-c)}return new W(0,0,0,0)}", |
| "function lc(a){a=gc(a);return new cc(a.top,a.left+a.width,a.top+a.heigh", |
| "t,a.left)}\nfunction nc(a){return a.replace(/^[^\\S\\xa0]+|[^\\S\\xa0]+", |
| "$/g,\"\")}function oc(a){var b=[];pc(a,b);var c=b;a=c.length;for(var b=", |
| "Array(a),c=m(c)?c.split(\"\"):c,d=0;d<a;d++)d in c&&(b[d]=nc.call(void ", |
| "0,c[d]));return nc(b.join(\"\\n\")).replace(/\\xa0/g,\" \")}\nfunction ", |
| "qc(a,b,c){if(D(a,\"BR\"))b.push(\"\");else{var d=D(a,\"TD\"),e=X(a,\"di", |
| "splay\"),f=!d&&!(0<=ra(rc,e)),g=l(a.previousElementSibling)?a.previousE", |
| "lementSibling:Ma(a.previousSibling),g=g?X(g,\"display\"):\"\",h=X(a,\"f", |
| "loat\")||X(a,\"cssFloat\")||X(a,\"styleFloat\");!f||\"run-in\"==g&&\"no", |
| "ne\"==h||/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")||b.push(\"\");var t=", |
| "kc(a),C=null,q=null;t&&(C=X(a,\"white-space\"),q=X(a,\"text-transform\"", |
| "));u(a.childNodes,function(a){c(a,b,t,C,q)});a=b[b.length-1]||\"\";!d&&", |
| "\"table-cell\"!=e||!a||oa(a)||(b[b.length-\n1]+=\" \");f&&\"run-in\"!=e", |
| "&&!/^[\\s\\xa0]*$/.test(a)&&b.push(\"\")}}function pc(a,b){qc(a,b,funct", |
| "ion(a,b,e,f,g){3==a.nodeType&&e?sc(a,b,f,g):D(a)&&pc(a,b)})}var rc=\"in", |
| "line inline-block inline-table none table-cell table-column table-colum", |
| "n-group\".split(\" \");\nfunction sc(a,b,c,d){a=a.nodeValue.replace(/[", |
| "\\u200b\\u200e\\u200f]/g,\"\");a=a.replace(/(\\r\\n|\\r|\\n)/g,\"\\n\")", |
| ";if(\"normal\"==c||\"nowrap\"==c)a=a.replace(/\\n/g,\" \");a=\"pre\"==c", |
| "||\"pre-wrap\"==c?a.replace(/[ \\f\\t\\v\\u2028\\u2029]/g,\"\\u00a0\"):", |
| "a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");\"capitalize\"==d?a=a", |
| ".replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCase()}):\"u", |
| "ppercase\"==d?a=a.toUpperCase():\"lowercase\"==d&&(a=a.toLowerCase());c", |
| "=b.pop()||\"\";oa(c)&&0==a.lastIndexOf(\" \",0)&&(a=a.substr(1));b.push", |
| "(c+a)}\nfunction jc(a){var b=1,c=X(a,\"opacity\");c&&(b=Number(c));(a=d", |
| "c(a))&&(b*=jc(a));return b};var tc={K:function(a){return!(!a.querySelec", |
| "torAll||!a.querySelector)},u:function(a,b){if(!a)throw new v(32,\"No cl", |
| "ass name specified\");a=pa(a);if(-1!==a.indexOf(\" \"))throw new v(32,", |
| "\"Compound class names not permitted\");if(tc.K(b))try{return b.querySe", |
| "lector(\".\"+a.replace(/\\./g,\"\\\\.\"))||null}catch(d){throw new v(32", |
| ",\"An invalid or illegal class name was specified\");}var c=B(y(b),\"*", |
| "\",a,b);return c.length?c[0]:null},l:function(a,b){if(!a)throw new v(32", |
| ",\"No class name specified\");a=pa(a);if(-1!==a.indexOf(\" \"))throw ne", |
| "w v(32,\n\"Compound class names not permitted\");if(tc.K(b))try{return ", |
| "b.querySelectorAll(\".\"+a.replace(/\\./g,\"\\\\.\"))}catch(c){throw ne", |
| "w v(32,\"An invalid or illegal class name was specified\");}return B(y(", |
| "b),\"*\",a,b)}};var uc={u:function(a,b){p(b.querySelector);if(!a)throw ", |
| "new v(32,\"No selector specified\");a=pa(a);var c;try{c=b.querySelector", |
| "(a)}catch(d){throw new v(32,\"An invalid or illegal selector was specif", |
| "ied\");}return c&&1==c.nodeType?c:null},l:function(a,b){p(b.querySelect", |
| "orAll);if(!a)throw new v(32,\"No selector specified\");a=pa(a);try{retu", |
| "rn b.querySelectorAll(a)}catch(c){throw new v(32,\"An invalid or illega", |
| "l selector was specified\");}}};var vc={K:function(a,b){return!(!a.quer", |
| "ySelectorAll||!a.querySelector)&&!/^\\d.*/.test(b)},u:function(a,b){var", |
| " c=y(b),d=m(a)?c.G.getElementById(a):a;return d?Sa(d,\"id\")==a&&Na(b,d", |
| ")?d:wa(B(c,\"*\"),function(c){return Sa(c,\"id\")==a&&Na(b,c)}):null},l", |
| ":function(a,b){if(!a)return[];if(vc.K(b,a))try{return b.querySelectorAl", |
| "l(\"#\"+vc.na(a))}catch(d){return[]}var c=B(y(b),\"*\",null,b);return s", |
| "a(c,function(b){return Sa(b,\"id\")==a})},na:function(a){return a.repla", |
| "ce(/(['\"\\\\#.:;,!?+<>=~*^$|%&@`{}\\-\\/\\[\\]\\(\\)])/g,\n\"\\\\$1\")", |
| "}};var Z={},wc={};Z.ja=function(a,b,c){var d;try{d=uc.l(\"a\",b)}catch(", |
| "e){d=B(y(b),\"A\",null,b)}return wa(d,function(b){b=oc(b);return c&&-1!", |
| "=b.indexOf(a)||b==a})};Z.ea=function(a,b,c){var d;try{d=uc.l(\"a\",b)}c", |
| "atch(e){d=B(y(b),\"A\",null,b)}return sa(d,function(b){b=oc(b);return c", |
| "&&-1!=b.indexOf(a)||b==a})};Z.u=function(a,b){return Z.ja(a,b,!1)};Z.l=", |
| "function(a,b){return Z.ea(a,b,!1)};wc.u=function(a,b){return Z.ja(a,b,!", |
| "0)};wc.l=function(a,b){return Z.ea(a,b,!0)};var xc={u:function(a,b){if(", |
| "\"\"===a)throw new v(32,'Unable to locate an element with the tagName ", |
| "\"\"');return b.getElementsByTagName(a)[0]||null},l:function(a,b){if(\"", |
| "\"===a)throw new v(32,'Unable to locate an element with the tagName \"", |
| "\"');return b.getElementsByTagName(a)}};var yc={className:tc,\"class na", |
| "me\":tc,css:uc,\"css selector\":uc,id:vc,linkText:Z,\"link text\":Z,nam", |
| "e:{u:function(a,b){var c=B(y(b),\"*\",null,b);return wa(c,function(b){r", |
| "eturn Sa(b,\"name\")==a})},l:function(a,b){var c=B(y(b),\"*\",null,b);r", |
| "eturn sa(c,function(b){return Sa(b,\"name\")==a})}},partialLinkText:wc,", |
| "\"partial link text\":wc,tagName:xc,\"tag name\":xc,xpath:U};function z", |
| "c(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null};var Ac", |
| "=\"function\"===typeof ShadowRoot;ea(\"_\",function(a,b){var c;a:{if(c=", |
| "zc(a)){var d=yc[c];if(d&&p(d.u)){c=d.u(a[c],b||ma.document);break a}}th", |
| "row Error(\"Unsupported locator strategy: \"+c);}if(c)return c;if(Ac&&b", |
| "){for(c=b;c.parentNode;)c=c.parentNode;if(c instanceof ShadowRoot){a:{i", |
| "f((c=zc(a))&&(d=yc[c])&&p(d.l)){c=d.l(a[c],b||ma.document);break a}thro", |
| "w Error(\"Unsupported locator strategy: \"+c);}if(c=c[0])return c}}retu", |
| "rn null});; return this._.apply(null,arguments);}.apply({navigator:type", |
| "of window!='undefined'?window.navigator:null,document:typeof window!='u", |
| "ndefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_FIRST_CLIENT_RECT[] = { |
| "function(){return function(){var h,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e)", |
| ";f!=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "da=this;\nfunction ea(a,b){var c=a.split(\".\"),d=da;c[0]in d||!d.execS", |
| "cript||d.execScript(\"var \"+c[0]);for(var e;c.length&&(e=c.shift());)c", |
| ".length||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b}\nfunction fa(a){var b=t", |
| "ypeof a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if", |
| "(a instanceof Object)return b;var c=Object.prototype.toString.call(a);i", |
| "f(\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"n", |
| "umber\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"", |
| "!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))re", |
| "turn\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call", |
| "&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable", |
| "(\"call\"))return\"function\"}else return\"null\";\nelse if(\"function", |
| "\"==b&&\"undefined\"==typeof a.call)return\"object\";return b}function ", |
| "l(a){return\"string\"==typeof a}function m(a){return\"number\"==typeof ", |
| "a}function ga(a,b,c){return a.call.apply(a.bind,arguments)}function ha(", |
| "a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype", |
| ".slice.call(arguments,2);return function(){var c=Array.prototype.slice.", |
| "call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}", |
| "}return function(){return a.apply(b,arguments)}}\nfunction ia(a,b,c){ia", |
| "=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexO", |
| "f(\"native code\")?ga:ha;return ia.apply(null,arguments)}function ja(a,", |
| "b){var c=Array.prototype.slice.call(arguments,1);return function(){var ", |
| "b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}}\nfunctio", |
| "n n(a){var b=p;function c(){}c.prototype=b.prototype;a.na=b.prototype;a", |
| ".prototype=new c;a.prototype.constructor=a;a.ma=function(a,c,f){for(var", |
| " g=Array(arguments.length-2),k=2;k<arguments.length;k++)g[k-2]=argument", |
| "s[k];return b.prototype[c].apply(a,g)}};function q(a,b){for(var c=a.len", |
| "gth,d=l(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)}", |
| "function r(a,b,c){var d=c;q(a,function(c,f){d=b.call(void 0,d,c,f,a)});", |
| "return d}function t(a,b){for(var c=a.length,d=l(a)?a.split(\"\"):a,e=0;", |
| "e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1}function k", |
| "a(a){return Array.prototype.concat.apply(Array.prototype,arguments)}fun", |
| "ction la(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a", |
| ",b):Array.prototype.slice.call(a,b,c)};function u(a,b){this.x=void 0!==", |
| "a?a:0;this.y=void 0!==b?b:0}h=u.prototype;h.clone=function(){return new", |
| " u(this.x,this.y)};h.toString=function(){return\"(\"+this.x+\", \"+this", |
| ".y+\")\"};h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(t", |
| "his.y);return this};h.floor=function(){this.x=Math.floor(this.x);this.y", |
| "=Math.floor(this.y);return this};h.round=function(){this.x=Math.round(t", |
| "his.x);this.y=Math.round(this.y);return this};\nh.translate=function(a,", |
| "b){a instanceof u?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),m(b)&&(t", |
| "his.y+=b));return this};h.scale=function(a,b){var c=m(b)?b:a;this.x*=a;", |
| "this.y*=c;return this};function ma(a,b){if(!a||!b)return!1;if(a.contain", |
| "s&&1==b.nodeType)return a==b||a.contains(b);if(\"undefined\"!=typeof a.", |
| "compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16", |
| ");for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction na(a,b){if(a==b)r", |
| "eturn 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b", |
| ")&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.pare", |
| "ntNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceInde", |
| "x-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?oa(a,b):!", |
| "c&&ma(e,b)?-1*qa(a,b):!d&&ma(f,a)?qa(b,a):(c?a.sourceIndex:e.sourceInde", |
| "x)-(d?b.sourceIndex:f.sourceIndex)}d=9==a.nodeType?a:a.ownerDocument||a", |
| ".document;c=d.createRange();c.selectNode(a);c.collapse(!0);\nd=d.create", |
| "Range();d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(d", |
| "a.Range.START_TO_END,d)}function qa(a,b){var c=a.parentNode;if(c==b)ret", |
| "urn-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return oa(d,a)}functi", |
| "on oa(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1};", |
| "/*\n\n The MIT License\n\n Copyright (c) 2007 Cybozu Labs, Inc.\n Copyr", |
| "ight (c) 2012 Google Inc.\n\n Permission is hereby granted, free of cha", |
| "rge, to any person obtaining a copy\n of this software and associated d", |
| "ocumentation files (the \"Software\"), to\n deal in the Software withou", |
| "t restriction, including without limitation the\n rights to use, copy, ", |
| "modify, merge, publish, distribute, sublicense, and/or\n sell copies of", |
| " the Software, and to permit persons to whom the Software is\n furnishe", |
| "d to do so, subject to the following conditions:\n\n The above copyrigh", |
| "t notice and this permission notice shall be included in\n all copies o", |
| "r substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"", |
| "AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING ", |
| "BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A P", |
| "ARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS ", |
| "OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABIL", |
| "ITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FRO", |
| "M, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALIN", |
| "GS\n IN THE SOFTWARE.\n*/\nfunction v(a,b,c){this.l=a;this.ka=b||1;this", |
| ".j=c||1};function w(a){this.S=a;this.I=0}function ra(a){a=a.match(sa);f", |
| "or(var b=0;b<a.length;b++)ta.test(a[b])&&a.splice(b,1);return new w(a)}", |
| "var sa=RegExp(\"\\\\$?(?:(?![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![", |
| "0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:", |
| "\\\\.\\\\d*)?|\\\\.\\\\d+|\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"", |
| "g\"),ta=/^\\s/;function y(a,b){return a.S[a.I+(b||0)]}w.prototype.next=", |
| "function(){return this.S[this.I++]};w.prototype.back=function(){this.I-", |
| "-};w.prototype.empty=function(){return this.S.length<=this.I};function ", |
| "z(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==", |
| "b?a.innerText:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if", |
| "(9==c||1==c){a=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],b=", |
| "\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChi", |
| "ld);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return\"\"+b", |
| "}\nfunction A(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return", |
| "!1}catch(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribute(", |
| "b,2)==c}function B(a,b,c,d,e){return ua.call(null,a,b,l(c)?c:null,l(d)?", |
| "d:null,e||new C)}\nfunction ua(a,b,c,d,e){b.getElementsByName&&d&&\"nam", |
| "e\"==c?(b=b.getElementsByName(d),q(b,function(b){a.matches(b)&&e.add(b)", |
| "})):b.getElementsByClassName&&d&&\"class\"==c?(b=b.getElementsByClassNa", |
| "me(d),q(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a insta", |
| "nceof D?va(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName", |
| "(a.getName()),q(b,function(a){A(a,c,d)&&e.add(a)}));return e}function w", |
| "a(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)A(b,c,d)&&a.matches(b", |
| ")&&e.add(b);return e}\nfunction va(a,b,c,d,e){for(b=b.firstChild;b;b=b.", |
| "nextSibling)A(b,c,d)&&a.matches(b)&&e.add(b),va(a,b,c,d,e)};function C(", |
| "){this.j=this.g=null;this.D=0}function xa(a){this.node=a;this.next=this", |
| ".w=null}function ya(a,b){if(!a.g)return b;if(!b.g)return a;for(var c=a.", |
| "g,d=b.g,e=null,f,g=0;c&&d;)c.node==d.node?(f=c,c=c.next,d=d.next):0<na(", |
| "c.node,d.node)?(f=d,d=d.next):(f=c,c=c.next),(f.w=e)?e.next=f:a.g=f,e=f", |
| ",g++;for(f=c||d;f;)f.w=e,e=e.next=f,g++,f=f.next;a.j=e;a.D=g;return a}C", |
| ".prototype.unshift=function(a){a=new xa(a);a.next=this.g;this.j?this.g.", |
| "w=a:this.g=this.j=a;this.g=a;this.D++};\nC.prototype.add=function(a){a=", |
| "new xa(a);a.w=this.j;this.g?this.j.next=a:this.g=this.j=a;this.j=a;this", |
| ".D++};function E(a){return(a=a.g)?a.node:null}C.prototype.m=function(){", |
| "return this.D};function F(a){return(a=E(a))?z(a):\"\"}C.prototype.itera", |
| "tor=function(a){return new za(this,!!a)};function za(a,b){this.ga=a;thi", |
| "s.T=(this.A=b)?a.j:a.g;this.O=null}za.prototype.next=function(){var a=t", |
| "his.T;if(null==a)return null;var b=this.O=a;this.T=this.A?a.w:a.next;re", |
| "turn b.node};\nza.prototype.remove=function(){var a=this.ga,b=this.O;if", |
| "(!b)throw Error(\"Next must be called at least once before remove.\");v", |
| "ar c=b.w,b=b.next;c?c.next=b:a.g=b;b?b.w=c:a.j=c;a.D--;this.O=null};fun", |
| "ction p(a){this.f=a;this.h=this.o=!1;this.F=null}function G(a){return\"", |
| "\\n \"+a.toString().split(\"\\n\").join(\"\\n \")}p.prototype.c=funct", |
| "ion(){return this.o};function Aa(a,b){a.o=b}function Ba(a,b){a.h=b}p.pr", |
| "ototype.u=function(){return this.F};function H(a,b){var c=a.evaluate(b)", |
| ";return c instanceof C?+F(c):+c}function I(a,b){var c=a.evaluate(b);ret", |
| "urn c instanceof C?F(c):\"\"+c}function J(a,b){var c=a.evaluate(b);retu", |
| "rn c instanceof C?!!c.m():!!c};function K(a,b,c){p.call(this,a.f);this.", |
| "R=a;this.W=b;this.aa=c;this.o=b.c()||c.c();this.h=b.h||c.h;this.R==Ca&&", |
| "(c.h||c.c()||4==c.f||0==c.f||!b.u()?b.h||b.c()||4==b.f||0==b.f||!c.u()|", |
| "|(this.F={name:c.u().name,C:b}):this.F={name:b.u().name,C:c})}n(K);\nfu", |
| "nction L(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);var f;if(b instance", |
| "of C&&c instanceof C){b=b.iterator();for(d=b.next();d;d=b.next())for(e=", |
| "c.iterator(),f=e.next();f;f=e.next())if(a(z(d),z(f)))return!0;return!1}", |
| "if(b instanceof C||c instanceof C){b instanceof C?(e=b,d=c):(e=c,d=b);f", |
| "=e.iterator();for(var g=typeof d,k=f.next();k;k=f.next()){switch(g){cas", |
| "e \"number\":k=+z(k);break;case \"boolean\":k=!!z(k);break;case \"strin", |
| "g\":k=z(k);break;default:throw Error(\"Illegal primitive type for compa", |
| "rison.\");\n}if(e==b&&a(k,d)||e==c&&a(d,k))return!0}return!1}return e?", |
| "\"boolean\"==typeof b||\"boolean\"==typeof c?a(!!b,!!c):\"number\"==typ", |
| "eof b||\"number\"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}K.prototype.evalua", |
| "te=function(a){return this.R.v(this.W,this.aa,a)};K.prototype.toString=", |
| "function(){var a=\"Binary Expression: \"+this.R,a=a+G(this.W);return a+", |
| "=G(this.aa)};function Da(a,b,c,d){this.ja=a;this.Z=b;this.f=c;this.v=d}", |
| "Da.prototype.toString=function(){return this.ja};var Ea={};\nfunction M", |
| "(a,b,c,d){if(Ea.hasOwnProperty(a))throw Error(\"Binary operator already", |
| " created: \"+a);a=new Da(a,b,c,d);return Ea[a.toString()]=a}M(\"div\",6", |
| ",1,function(a,b,c){return H(a,c)/H(b,c)});M(\"mod\",6,1,function(a,b,c)", |
| "{return H(a,c)%H(b,c)});M(\"*\",6,1,function(a,b,c){return H(a,c)*H(b,c", |
| ")});M(\"+\",5,1,function(a,b,c){return H(a,c)+H(b,c)});M(\"-\",5,1,func", |
| "tion(a,b,c){return H(a,c)-H(b,c)});M(\"<\",4,2,function(a,b,c){return L", |
| "(function(a,b){return a<b},a,b,c)});\nM(\">\",4,2,function(a,b,c){retur", |
| "n L(function(a,b){return a>b},a,b,c)});M(\"<=\",4,2,function(a,b,c){ret", |
| "urn L(function(a,b){return a<=b},a,b,c)});M(\">=\",4,2,function(a,b,c){", |
| "return L(function(a,b){return a>=b},a,b,c)});var Ca=M(\"=\",3,2,functio", |
| "n(a,b,c){return L(function(a,b){return a==b},a,b,c,!0)});M(\"!=\",3,2,f", |
| "unction(a,b,c){return L(function(a,b){return a!=b},a,b,c,!0)});M(\"and", |
| "\",2,2,function(a,b,c){return J(a,c)&&J(b,c)});M(\"or\",1,2,function(a,", |
| "b,c){return J(a,c)||J(b,c)});function N(a,b){if(b.m()&&4!=a.f)throw Err", |
| "or(\"Primary expression must evaluate to nodeset if filter has predicat", |
| "e(s).\");p.call(this,a.f);this.$=a;this.b=b;this.o=a.c();this.h=a.h}n(N", |
| ");N.prototype.evaluate=function(a){a=this.$.evaluate(a);return Fa(this.", |
| "b,a)};N.prototype.toString=function(){var a;a=\"Filter:\"+G(this.$);ret", |
| "urn a+=G(this.b)};function O(a,b){if(b.length<a.Y)throw Error(\"Functio", |
| "n \"+a.i+\" expects at least\"+a.Y+\" arguments, \"+b.length+\" given\"", |
| ");if(null!==a.P&&b.length>a.P)throw Error(\"Function \"+a.i+\" expects ", |
| "at most \"+a.P+\" arguments, \"+b.length+\" given\");a.ha&&q(b,function", |
| "(b,d){if(4!=b.f)throw Error(\"Argument \"+d+\" to function \"+a.i+\" is", |
| " not of type Nodeset: \"+b);});p.call(this,a.f);this.H=a;this.M=b;Aa(th", |
| "is,a.o||t(b,function(a){return a.c()}));Ba(this,a.fa&&!b.length||a.ea&&", |
| "!!b.length||t(b,function(a){return a.h}))}n(O);\nO.prototype.evaluate=f", |
| "unction(a){return this.H.v.apply(null,ka(a,this.M))};O.prototype.toStri", |
| "ng=function(){var a=\"Function: \"+this.H;if(this.M.length)var b=r(this", |
| ".M,function(a,b){return a+G(b)},\"Arguments:\"),a=a+G(b);return a};func", |
| "tion Ga(a,b,c,d,e,f,g,k,x){this.i=a;this.f=b;this.o=c;this.fa=d;this.ea", |
| "=e;this.v=f;this.Y=g;this.P=void 0!==k?k:g;this.ha=!!x}Ga.prototype.toS", |
| "tring=function(){return this.i};var Ha={};\nfunction P(a,b,c,d,e,f,g,k)", |
| "{if(Ha.hasOwnProperty(a))throw Error(\"Function already created: \"+a+", |
| "\".\");Ha[a]=new Ga(a,b,c,d,!1,e,f,g,k)}P(\"boolean\",2,!1,!1,function(", |
| "a,b){return J(b,a)},1);P(\"ceiling\",1,!1,!1,function(a,b){return Math.", |
| "ceil(H(b,a))},1);P(\"concat\",3,!1,!1,function(a,b){return r(la(argumen", |
| "ts,1),function(b,d){return b+I(d,a)},\"\")},2,null);P(\"contains\",2,!1", |
| ",!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);P(\"co", |
| "unt\",1,!1,!1,function(a,b){return b.evaluate(a).m()},1,1,!0);\nP(\"fal", |
| "se\",2,!1,!1,function(){return!1},0);P(\"floor\",1,!1,!1,function(a,b){", |
| "return Math.floor(H(b,a))},1);P(\"id\",4,!1,!1,function(a,b){var c=a.l,", |
| "d=9==c.nodeType?c:c.ownerDocument,c=I(b,a).split(/\\s+/),e=[];q(c,funct", |
| "ion(a){a=d.getElementById(a);var b;if(!(b=!a)){a:if(l(e))b=l(a)&&1==a.l", |
| "ength?e.indexOf(a,0):-1;else{for(b=0;b<e.length;b++)if(b in e&&e[b]===a", |
| ")break a;b=-1}b=0<=b}b||e.push(a)});e.sort(na);var f=new C;q(e,function", |
| "(a){f.add(a)});return f},1);P(\"lang\",2,!1,!1,function(){return!1},1);", |
| "\nP(\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw Error(\"F", |
| "unction last expects ()\");return a.j},0);P(\"local-name\",3,!1,!0,func", |
| "tion(a,b){var c=b?E(b.evaluate(a)):a.l;return c?c.localName||c.nodeName", |
| ".toLowerCase():\"\"},0,1,!0);P(\"name\",3,!1,!0,function(a,b){var c=b?E", |
| "(b.evaluate(a)):a.l;return c?c.nodeName.toLowerCase():\"\"},0,1,!0);P(", |
| "\"namespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);\nP(\"normaliz", |
| "e-space\",3,!1,!0,function(a,b){return(b?I(b,a):z(a.l)).replace(/[\\s", |
| "\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);P(\"not\",2,!1,!1,f", |
| "unction(a,b){return!J(b,a)},1);P(\"number\",1,!1,!0,function(a,b){retur", |
| "n b?H(b,a):+z(a.l)},0,1);P(\"position\",1,!0,!1,function(a){return a.ka", |
| "},0);P(\"round\",1,!1,!1,function(a,b){return Math.round(H(b,a))},1);P(", |
| "\"starts-with\",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return 0==b.l", |
| "astIndexOf(a,0)},2);P(\"string\",3,!1,!0,function(a,b){return b?I(b,a):", |
| "z(a.l)},0,1);\nP(\"string-length\",1,!1,!0,function(a,b){return(b?I(b,a", |
| "):z(a.l)).length},0,1);P(\"substring\",3,!1,!1,function(a,b,c,d){c=H(c,", |
| "a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?H(d,a):Infinit", |
| "y;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.ma", |
| "x(c,0);a=I(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.", |
| "round(d))},2,3);P(\"substring-after\",3,!1,!1,function(a,b,c){b=I(b,a);", |
| "a=I(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\n", |
| "P(\"substring-before\",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);a=b.in", |
| "dexOf(a);return-1==a?\"\":b.substring(0,a)},2);P(\"sum\",1,!1,!1,functi", |
| "on(a,b){for(var c=b.evaluate(a).iterator(),d=0,e=c.next();e;e=c.next())", |
| "d+=+z(e);return d},1,1,!0);P(\"translate\",3,!1,!1,function(a,b,c,d){b=", |
| "I(b,a);c=I(c,a);var e=I(d,a);a={};for(d=0;d<c.length;d++){var f=c.charA", |
| "t(d);f in a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charA", |
| "t(d),c+=f in a?a[f]:f;return c},3);P(\"true\",2,!1,!1,function(){return", |
| "!0},0);function D(a,b){this.ca=a;this.X=void 0!==b?b:null;this.B=null;s", |
| "witch(a){case \"comment\":this.B=8;break;case \"text\":this.B=3;break;c", |
| "ase \"processing-instruction\":this.B=7;break;case \"node\":break;defau", |
| "lt:throw Error(\"Unexpected argument\");}}function Ia(a){return\"commen", |
| "t\"==a||\"text\"==a||\"processing-instruction\"==a||\"node\"==a}D.proto", |
| "type.matches=function(a){return null===this.B||this.B==a.nodeType};D.pr", |
| "ototype.getName=function(){return this.ca};\nD.prototype.toString=funct", |
| "ion(){var a=\"Kind Test: \"+this.ca;null===this.X||(a+=G(this.X));retur", |
| "n a};function Q(a){p.call(this,3);this.ba=a.substring(1,a.length-1)}n(Q", |
| ");Q.prototype.evaluate=function(){return this.ba};Q.prototype.toString=", |
| "function(){return\"Literal: \"+this.ba};function R(a,b){this.i=a.toLowe", |
| "rCase();var c;c=\"*\"==this.i?\"*\":\"http://www.w3.org/1999/xhtml\";th", |
| "is.J=b?b.toLowerCase():c}R.prototype.matches=function(a){var b=a.nodeTy", |
| "pe;if(1!=b&&2!=b)return!1;b=void 0!==a.localName?a.localName:a.nodeName", |
| ";return\"*\"!=this.i&&this.i!=b.toLowerCase()?!1:\"*\"==this.J?!0:this.", |
| "J==(a.namespaceURI?a.namespaceURI.toLowerCase():\"http://www.w3.org/199", |
| "9/xhtml\")};R.prototype.getName=function(){return this.i};\nR.prototype", |
| ".toString=function(){return\"Name Test: \"+(\"http://www.w3.org/1999/xh", |
| "tml\"==this.J?\"\":this.J+\":\")+this.i};function S(a){p.call(this,1);t", |
| "his.da=a}n(S);S.prototype.evaluate=function(){return this.da};S.prototy", |
| "pe.toString=function(){return\"Number: \"+this.da};function T(a,b){p.ca", |
| "ll(this,a.f);this.V=a;this.G=b;this.o=a.c();this.h=a.h;if(1==this.G.len", |
| "gth){var c=this.G[0];c.N||c.s!=Ja||(c=c.L,\"*\"!=c.getName()&&(this.F={", |
| "name:c.getName(),C:null}))}}n(T);function U(){p.call(this,4)}n(U);U.pro", |
| "totype.evaluate=function(a){var b=new C;a=a.l;9==a.nodeType?b.add(a):b.", |
| "add(a.ownerDocument);return b};U.prototype.toString=function(){return\"", |
| "Root Helper Expression\"};function Ka(){p.call(this,4)}n(Ka);Ka.prototy", |
| "pe.evaluate=function(a){var b=new C;b.add(a.l);return b};\nKa.prototype", |
| ".toString=function(){return\"Context Helper Expression\"};function La(a", |
| "){return\"/\"==a||\"//\"==a}\nT.prototype.evaluate=function(a){var b=th", |
| "is.V.evaluate(a);if(!(b instanceof C))throw Error(\"Filter expression m", |
| "ust evaluate to nodeset.\");a=this.G;for(var c=0,d=a.length;c<d&&b.m();", |
| "c++){var e=a[c],f=b.iterator(e.s.A),g;if(e.c()||e.s!=Ma)if(e.c()||e.s!=", |
| "Na)for(g=f.next(),b=e.evaluate(new v(g));null!=(g=f.next());)g=e.evalua", |
| "te(new v(g)),b=ya(b,g);else g=f.next(),b=e.evaluate(new v(g));else{for(", |
| "g=f.next();(b=f.next())&&(!g.contains||g.contains(b))&&b.compareDocumen", |
| "tPosition(g)&8;g=b);b=e.evaluate(new v(g))}}return b};\nT.prototype.toS", |
| "tring=function(){var a;a=\"Path Expression:\"+G(this.V);if(this.G.lengt", |
| "h){var b=r(this.G,function(a,b){return a+G(b)},\"Steps:\");a+=G(b)}retu", |
| "rn a};function V(a,b){this.b=a;this.A=!!b}function Fa(a,b,c){for(c=c||0", |
| ";c<a.b.length;c++)for(var d=a.b[c],e=b.iterator(),f=b.m(),g,k=0;g=e.nex", |
| "t();k++){var x=a.A?f-k:k+1;g=d.evaluate(new v(g,x,f));if(\"number\"==ty", |
| "peof g)x=x==g;else if(\"string\"==typeof g||\"boolean\"==typeof g)x=!!g", |
| ";else if(g instanceof C)x=0<g.m();else throw Error(\"Predicate.evaluate", |
| " returned an unexpected type.\");x||e.remove()}return b}V.prototype.u=f", |
| "unction(){return 0<this.b.length?this.b[0].u():null};\nV.prototype.c=fu", |
| "nction(){for(var a=0;a<this.b.length;a++){var b=this.b[a];if(b.c()||1==", |
| "b.f||0==b.f)return!0}return!1};V.prototype.m=function(){return this.b.l", |
| "ength};V.prototype.toString=function(){return r(this.b,function(a,b){re", |
| "turn a+G(b)},\"Predicates:\")};function W(a,b,c,d){p.call(this,4);this.", |
| "s=a;this.L=b;this.b=c||new V([]);this.N=!!d;b=this.b.u();a.la&&b&&(this", |
| ".F={name:b.name,C:b.C});this.o=this.b.c()}n(W);\nW.prototype.evaluate=f", |
| "unction(a){var b=a.l,c=this.u(),d=null,e=null,f=0;c&&(d=c.name,e=c.C?I(", |
| "c.C,a):null,f=1);if(this.N)if(this.c()||this.s!=Oa)if(b=(new W(Pa,new D", |
| "(\"node\"))).evaluate(a).iterator(),c=b.next())for(a=this.v(c,d,e,f);nu", |
| "ll!=(c=b.next());)a=ya(a,this.v(c,d,e,f));else a=new C;else a=B(this.L,", |
| "b,d,e),a=Fa(this.b,a,f);else a=this.v(a.l,d,e,f);return a};W.prototype.", |
| "v=function(a,b,c,d){a=this.s.H(this.L,a,b,c);return a=Fa(this.b,a,d)};", |
| "\nW.prototype.toString=function(){var a;a=\"Step:\"+G(\"Operator: \"+(t", |
| "his.N?\"//\":\"/\"));this.s.i&&(a+=G(\"Axis: \"+this.s));a+=G(this.L);i", |
| "f(this.b.m()){var b=r(this.b.b,function(a,b){return a+G(b)},\"Predicate", |
| "s:\");a+=G(b)}return a};function Qa(a,b,c,d){this.i=a;this.H=b;this.A=c", |
| ";this.la=d}Qa.prototype.toString=function(){return this.i};var Ra={};fu", |
| "nction X(a,b,c,d){if(Ra.hasOwnProperty(a))throw Error(\"Axis already cr", |
| "eated: \"+a);b=new Qa(a,b,c,!!d);return Ra[a]=b}\nX(\"ancestor\",functi", |
| "on(a,b){for(var c=new C,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);", |
| "return c},!0);X(\"ancestor-or-self\",function(a,b){var c=new C,d=b;do a", |
| ".matches(d)&&c.unshift(d);while(d=d.parentNode);return c},!0);\nvar Ja=", |
| "X(\"attribute\",function(a,b){var c=new C,d=a.getName(),e=b.attributes;", |
| "if(e)if(a instanceof D&&null===a.B||\"*\"==d)for(var d=0,f;f=e[d];d++)c", |
| ".add(f);else(f=e.getNamedItem(d))&&c.add(f);return c},!1),Oa=X(\"child", |
| "\",function(a,b,c,d,e){return wa.call(null,a,b,l(c)?c:null,l(d)?d:null,", |
| "e||new C)},!1,!0);X(\"descendant\",B,!1,!0);\nvar Pa=X(\"descendant-or-", |
| "self\",function(a,b,c,d){var e=new C;A(b,c,d)&&a.matches(b)&&e.add(b);r", |
| "eturn B(a,b,c,d,e)},!1,!0),Ma=X(\"following\",function(a,b,c,d){var e=n", |
| "ew C;do for(var f=b;f=f.nextSibling;)A(f,c,d)&&a.matches(f)&&e.add(f),e", |
| "=B(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);X(\"following-sibl", |
| "ing\",function(a,b){for(var c=new C,d=b;d=d.nextSibling;)a.matches(d)&&", |
| "c.add(d);return c},!1);X(\"namespace\",function(){return new C},!1);\nv", |
| "ar Sa=X(\"parent\",function(a,b){var c=new C;if(9==b.nodeType)return c;", |
| "if(2==b.nodeType)return c.add(b.ownerElement),c;var d=b.parentNode;a.ma", |
| "tches(d)&&c.add(d);return c},!1),Na=X(\"preceding\",function(a,b,c,d){v", |
| "ar e=new C,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,k=f.l", |
| "ength;g<k;g++){var x=[];for(b=f[g];b=b.previousSibling;)x.unshift(b);fo", |
| "r(var pa=0,hb=x.length;pa<hb;pa++)b=x[pa],A(b,c,d)&&a.matches(b)&&e.add", |
| "(b),e=B(a,b,c,d,e)}return e},!0,!0);\nX(\"preceding-sibling\",function(", |
| "a,b){for(var c=new C,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d", |
| ");return c},!0);var Ta=X(\"self\",function(a,b){var c=new C;a.matches(b", |
| ")&&c.add(b);return c},!1);function Ua(a){p.call(this,1);this.U=a;this.o", |
| "=a.c();this.h=a.h}n(Ua);Ua.prototype.evaluate=function(a){return-H(this", |
| ".U,a)};Ua.prototype.toString=function(){return\"Unary Expression: -\"+G", |
| "(this.U)};function Va(a){p.call(this,4);this.K=a;Aa(this,t(this.K,funct", |
| "ion(a){return a.c()}));Ba(this,t(this.K,function(a){return a.h}))}n(Va)", |
| ";Va.prototype.evaluate=function(a){var b=new C;q(this.K,function(c){c=c", |
| ".evaluate(a);if(!(c instanceof C))throw Error(\"Path expression must ev", |
| "aluate to NodeSet.\");b=ya(b,c)});return b};Va.prototype.toString=funct", |
| "ion(){return r(this.K,function(a,b){return a+G(b)},\"Union Expression:", |
| "\")};function Wa(a,b){this.a=a;this.ia=b}function Xa(a){for(var b,c=[];", |
| ";){Y(a,\"Missing right hand side of binary expression.\");b=Ya(a);var d", |
| "=a.a.next();if(!d)break;var e=(d=Ea[d]||null)&&d.Z;if(!e){a.a.back();br", |
| "eak}for(;c.length&&e<=c[c.length-1].Z;)b=new K(c.pop(),c.pop(),b);c.pus", |
| "h(b,d)}for(;c.length;)b=new K(c.pop(),c.pop(),b);return b}function Y(a,", |
| "b){if(a.a.empty())throw Error(b);}function Za(a,b){var c=a.a.next();if(", |
| "c!=b)throw Error(\"Bad token, expected: \"+b+\" got: \"+c);}\nfunction ", |
| "$a(a){a=a.a.next();if(\")\"!=a)throw Error(\"Bad token: \"+a);}function", |
| " ab(a){a=a.a.next();if(2>a.length)throw Error(\"Unclosed literal string", |
| "\");return new Q(a)}\nfunction bb(a){var b,c=[],d;if(La(y(a.a))){b=a.a.", |
| "next();d=y(a.a);if(\"/\"==b&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=", |
| "d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new U;d=new U;Y(a,\"Miss", |
| "ing next location step.\");b=cb(a,b);c.push(b)}else{a:{b=y(a.a);d=b.cha", |
| "rAt(0);switch(d){case \"$\":throw Error(\"Variable reference not allowe", |
| "d in HTML XPath\");case \"(\":a.a.next();b=Xa(a);Y(a,'unclosed \"(\"');", |
| "Za(a,\")\");break;case '\"':case \"'\":b=ab(a);break;default:if(isNaN(+", |
| "b))if(!Ia(b)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==y(a.a,1)){b=\na.a.next()", |
| ";b=Ha[b]||null;a.a.next();for(d=[];\")\"!=y(a.a);){Y(a,\"Missing functi", |
| "on argument list.\");d.push(Xa(a));if(\",\"!=y(a.a))break;a.a.next()}Y(", |
| "a,\"Unclosed function argument list.\");$a(a);b=new O(b,d)}else{b=null;", |
| "break a}else b=new S(+a.a.next())}\"[\"==y(a.a)&&(d=new V(db(a)),b=new ", |
| "N(b,d))}if(b)if(La(y(a.a)))d=b;else return b;else b=cb(a,\"/\"),d=new K", |
| "a,c.push(b)}for(;La(y(a.a));)b=a.a.next(),Y(a,\"Missing next location s", |
| "tep.\"),b=cb(a,b),c.push(b);return new T(d,c)}\nfunction cb(a,b){var c,", |
| "d,e;if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//", |
| "\"');if(\".\"==y(a.a))return d=new W(Ta,new D(\"node\")),a.a.next(),d;i", |
| "f(\"..\"==y(a.a))return d=new W(Sa,new D(\"node\")),a.a.next(),d;var f;", |
| "if(\"@\"==y(a.a))f=Ja,a.a.next(),Y(a,\"Missing attribute name\");else i", |
| "f(\"::\"==y(a.a,1)){if(!/(?![0-9])[\\w]/.test(y(a.a).charAt(0)))throw E", |
| "rror(\"Bad token: \"+a.a.next());c=a.a.next();f=Ra[c]||null;if(!f)throw", |
| " Error(\"No axis with name: \"+c);a.a.next();Y(a,\"Missing node name\")", |
| "}else f=Oa;\nc=y(a.a);if(/(?![0-9])[\\w\\*]/.test(c.charAt(0)))if(\"(\"", |
| "==y(a.a,1)){if(!Ia(c))throw Error(\"Invalid node type: \"+c);c=a.a.next", |
| "();if(!Ia(c))throw Error(\"Invalid type name: \"+c);Za(a,\"(\");Y(a,\"B", |
| "ad nodetype\");e=y(a.a).charAt(0);var g=null;if('\"'==e||\"'\"==e)g=ab(", |
| "a);Y(a,\"Bad nodetype\");$a(a);c=new D(c,g)}else if(c=a.a.next(),e=c.in", |
| "dexOf(\":\"),-1==e)c=new R(c);else{var g=c.substring(0,e),k;if(\"*\"==g", |
| ")k=\"*\";else if(k=a.ia(g),!k)throw Error(\"Namespace prefix not declar", |
| "ed: \"+g);c=c.substr(e+1);c=new R(c,k)}else throw Error(\"Bad token: \"", |
| "+\na.a.next());e=new V(db(a),f.A);return d||new W(f,c,e,\"//\"==b)}func", |
| "tion db(a){for(var b=[];\"[\"==y(a.a);){a.a.next();Y(a,\"Missing predic", |
| "ate expression.\");var c=Xa(a);b.push(c);Y(a,\"Unclosed predicate expre", |
| "ssion.\");Za(a,\"]\")}return b}function Ya(a){if(\"-\"==y(a.a))return a", |
| ".a.next(),new Ua(Ya(a));var b=bb(a);if(\"|\"!=y(a.a))a=b;else{for(b=[b]", |
| ";\"|\"==a.a.next();)Y(a,\"Missing next union location path.\"),b.push(b", |
| "b(a));a.a.back();a=new Va(b)}return a};function eb(a){switch(a.nodeType", |
| "){case 1:return ja(fb,a);case 9:return eb(a.documentElement);case 11:ca", |
| "se 10:case 6:case 12:return gb;default:return a.parentNode?eb(a.parentN", |
| "ode):gb}}function gb(){return null}function fb(a,b){if(a.prefix==b)retu", |
| "rn a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttribut", |
| "eNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parentNode&&9", |
| "!=a.parentNode.nodeType?fb(a.parentNode,b):null};function ib(a,b){if(!a", |
| ".length)throw Error(\"Empty XPath expression.\");var c=ra(a);if(c.empty", |
| "())throw Error(\"Invalid XPath expression.\");b?\"function\"==fa(b)||(b", |
| "=ia(b.lookupNamespaceURI,b)):b=function(){return null};var d=Xa(new Wa(", |
| "c,b));if(!c.empty())throw Error(\"Bad token: \"+c.next());this.evaluate", |
| "=function(a,b){var c=d.evaluate(new v(a));return new Z(c,b)}}\nfunction", |
| " Z(a,b){if(0==b)if(a instanceof C)b=4;else if(\"string\"==typeof a)b=2;", |
| "else if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else", |
| " throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(", |
| "a instanceof C))throw Error(\"value could not be converted to the speci", |
| "fied type\");this.resultType=b;var c;switch(b){case 2:this.stringValue=", |
| "a instanceof C?F(a):\"\"+a;break;case 1:this.numberValue=a instanceof C", |
| "?+F(a):+a;break;case 3:this.booleanValue=a instanceof C?0<a.m():!!a;bre", |
| "ak;case 4:case 5:case 6:case 7:var d=\na.iterator();c=[];for(var e=d.ne", |
| "xt();e;e=d.next())c.push(e);this.snapshotLength=a.m();this.invalidItera", |
| "torState=!1;break;case 8:case 9:this.singleNodeValue=E(a);break;default", |
| ":throw Error(\"Unknown XPathResult type.\");}var f=0;this.iterateNext=f", |
| "unction(){if(4!=b&&5!=b)throw Error(\"iterateNext called with wrong res", |
| "ult type\");return f>=c.length?null:c[f++]};this.snapshotItem=function(", |
| "a){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong result ty", |
| "pe\");return a>=c.length||0>a?null:c[a]}}\nZ.ANY_TYPE=0;Z.NUMBER_TYPE=1", |
| ";Z.STRING_TYPE=2;Z.BOOLEAN_TYPE=3;Z.UNORDERED_NODE_ITERATOR_TYPE=4;Z.OR", |
| "DERED_NODE_ITERATOR_TYPE=5;Z.UNORDERED_NODE_SNAPSHOT_TYPE=6;Z.ORDERED_N", |
| "ODE_SNAPSHOT_TYPE=7;Z.ANY_UNORDERED_NODE_TYPE=8;Z.FIRST_ORDERED_NODE_TY", |
| "PE=9;function jb(a){this.lookupNamespaceURI=eb(a)}\nea(\"wgxpath.instal", |
| "l\",function(a,b){var c=a||da,d=c.Document&&c.Document.prototype||c.doc", |
| "ument;if(!d.evaluate||b)c.XPathResult=Z,d.evaluate=function(a,b,c,d){re", |
| "turn(new ib(a,c)).evaluate(b,d)},d.createExpression=function(a,b){retur", |
| "n new ib(a,b)},d.createNSResolver=function(a){return new jb(a)}});funct", |
| "ion kb(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}h=kb.", |
| "prototype;h.clone=function(){return new kb(this.left,this.top,this.widt", |
| "h,this.height)};h.toString=function(){return\"(\"+this.left+\", \"+this", |
| ".top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};h.contains=functio", |
| "n(a){return a instanceof kb?this.left<=a.left&&this.left+this.width>=a.", |
| "left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x", |
| ">=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+th", |
| "is.height};\nh.ceil=function(){this.left=Math.ceil(this.left);this.top=", |
| "Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.c", |
| "eil(this.height);return this};h.floor=function(){this.left=Math.floor(t", |
| "his.left);this.top=Math.floor(this.top);this.width=Math.floor(this.widt", |
| "h);this.height=Math.floor(this.height);return this};h.round=function(){", |
| "this.left=Math.round(this.left);this.top=Math.round(this.top);this.widt", |
| "h=Math.round(this.width);this.height=Math.round(this.height);return thi", |
| "s};\nh.translate=function(a,b){a instanceof u?(this.left+=a.x,this.top+", |
| "=a.y):(this.left+=a,m(b)&&(this.top+=b));return this};h.scale=function(", |
| "a,b){var c=m(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*", |
| "=c;return this};ea(\"_\",function(a){var b=a.getClientRects();if(0==b.l", |
| "ength)throw Error(\"Element does not have any client rects\");b=b[0];if", |
| "(1==a.nodeType){b:{var c;try{c=a.getBoundingClientRect()}catch(d){a={le", |
| "ft:0,top:0,right:0,bottom:0};break b}a=c}a=new u(a.left,a.top)}else a=a", |
| ".changedTouches?a.changedTouches[0]:a,a=new u(a.clientX,a.clientY);retu", |
| "rn new kb(b.left-a.x,b.top-a.y,b.right-b.left,b.bottom-b.top)});; retur", |
| "n this._.apply(null,arguments);}.apply({navigator:typeof window!='undef", |
| "ined'?window.navigator:null,document:typeof window!='undefined'?window.", |
| "document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_LOCATION_IN_VIEW[] = { |
| "function(){return function(){var h,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e)", |
| ";f!=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "l=this;\nfunction da(a,b){var c=a.split(\".\"),d=l;c[0]in d||!d.execScr", |
| "ipt||d.execScript(\"var \"+c[0]);for(var e;c.length&&(e=c.shift());)c.l", |
| "ength||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b}\nfunction ea(a){var b=typ", |
| "eof a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a", |
| " instanceof Object)return b;var c=Object.prototype.toString.call(a);if(", |
| "\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"num", |
| "ber\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=", |
| "typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))retu", |
| "rn\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&", |
| "\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(", |
| "\"call\"))return\"function\"}else return\"null\";\nelse if(\"function\"", |
| "==b&&\"undefined\"==typeof a.call)return\"object\";return b}function fa", |
| "(a){var b=ea(a);return\"array\"==b||\"object\"==b&&\"number\"==typeof a", |
| ".length}function m(a){return\"string\"==typeof a}function n(a){return\"", |
| "number\"==typeof a}function ga(a){var b=typeof a;return\"object\"==b&&n", |
| "ull!=a||\"function\"==b}function ha(a,b,c){return a.call.apply(a.bind,a", |
| "rguments)}\nfunction ia(a,b,c){if(!a)throw Error();if(2<arguments.lengt", |
| "h){var d=Array.prototype.slice.call(arguments,2);return function(){var ", |
| "c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c", |
| ",d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}", |
| "}function ja(a,b,c){ja=Function.prototype.bind&&-1!=Function.prototype.", |
| "bind.toString().indexOf(\"native code\")?ha:ia;return ja.apply(null,arg", |
| "uments)}\nfunction ka(a,b){var c=Array.prototype.slice.call(arguments,1", |
| ");return function(){var b=c.slice();b.push.apply(b,arguments);return a.", |
| "apply(this,b)}}function p(a){var b=q;function c(){}c.prototype=b.protot", |
| "ype;a.oa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.na=f", |
| "unction(a,c,f){for(var g=Array(arguments.length-2),k=2;k<arguments.leng", |
| "th;k++)g[k-2]=arguments[k];return b.prototype[c].apply(a,g)}};var r;fun", |
| "ction t(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)e in", |
| " d&&b.call(void 0,d[e],e,a)}function u(a,b,c){var d=c;t(a,function(c,f)", |
| "{d=b.call(void 0,d,c,f,a)});return d}function v(a,b){for(var c=a.length", |
| ",d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))", |
| "return!0;return!1}function la(a){return Array.prototype.concat.apply(Ar", |
| "ray.prototype,arguments)}function ma(a){var b=a.length;if(0<b){for(var ", |
| "c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}\nfunction na(a,b,c)", |
| "{return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.proto", |
| "type.slice.call(a,b,c)};function w(a,b){this.x=void 0!==a?a:0;this.y=vo", |
| "id 0!==b?b:0}h=w.prototype;h.clone=function(){return new w(this.x,this.", |
| "y)};h.toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};h.cei", |
| "l=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return t", |
| "his};h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(thi", |
| "s.y);return this};h.round=function(){this.x=Math.round(this.x);this.y=M", |
| "ath.round(this.y);return this};\nh.translate=function(a,b){a instanceof", |
| " w?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),n(b)&&(this.y+=b));retu", |
| "rn this};h.scale=function(a,b){var c=n(b)?b:a;this.x*=a;this.y*=c;retur", |
| "n this};function x(a,b){this.width=a;this.height=b}h=x.prototype;h.clon", |
| "e=function(){return new x(this.width,this.height)};h.toString=function(", |
| "){return\"(\"+this.width+\" x \"+this.height+\")\"};h.ceil=function(){t", |
| "his.width=Math.ceil(this.width);this.height=Math.ceil(this.height);retu", |
| "rn this};h.floor=function(){this.width=Math.floor(this.width);this.heig", |
| "ht=Math.floor(this.height);return this};h.round=function(){this.width=M", |
| "ath.round(this.width);this.height=Math.round(this.height);return this};", |
| "\nh.scale=function(a,b){var c=n(b)?b:a;this.width*=a;this.height*=c;ret", |
| "urn this};function oa(a,b,c){function d(c){c&&b.appendChild(m(c)?a.crea", |
| "teTextNode(c):c)}for(var e=1;e<c.length;e++){var f=c[e];!fa(f)||ga(f)&&", |
| "0<f.nodeType?d(f):t(pa(f)?ma(f):f,d)}}function qa(a,b){if(!a||!b)return", |
| "!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if(\"undefin", |
| "ed\"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumen", |
| "tPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction ra", |
| "(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDoc", |
| "umentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceI", |
| "ndex\"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)retu", |
| "rn a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return", |
| " e==f?sa(a,b):!c&&qa(e,b)?-1*ta(a,b):!d&&qa(f,a)?ta(b,a):(c?a.sourceInd", |
| "ex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=z(a);c=d.createRang", |
| "e();c.selectNode(a);c.collapse(!0);d=d.createRange();d.selectNode(b);\n", |
| "d.collapse(!0);return c.compareBoundaryPoints(l.Range.START_TO_END,d)}f", |
| "unction ta(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.paren", |
| "tNode!=c;)d=d.parentNode;return sa(d,a)}function sa(a,b){for(var c=b;c=", |
| "c.previousSibling;)if(c==a)return-1;return 1}function z(a){return 9==a.", |
| "nodeType?a:a.ownerDocument||a.document}function pa(a){if(a&&\"number\"=", |
| "=typeof a.length){if(ga(a))return\"function\"==typeof a.item||\"string", |
| "\"==typeof a.item;if(\"function\"==ea(a))return\"function\"==typeof a.i", |
| "tem}return!1}\nfunction A(a){this.H=a||l.document||document}function ua", |
| "(a){a=a.H;a=(a.parentWindow||a.defaultView||window).document;a=\"CSS1Co", |
| "mpat\"==a.compatMode?a.documentElement:a.body;return new x(a.clientWidt", |
| "h,a.clientHeight)}h=A.prototype;h.createElement=function(a){return this", |
| ".H.createElement(a)};h.createTextNode=function(a){return this.H.createT", |
| "extNode(String(a))};h.appendChild=function(a,b){a.appendChild(b)};h.app", |
| "end=function(a,b){oa(z(a),a,arguments)};\nh.canHaveChildren=function(a)", |
| "{if(1!=a.nodeType)return!1;switch(a.tagName){case \"APPLET\":case \"ARE", |
| "A\":case \"BASE\":case \"BR\":case \"COL\":case \"COMMAND\":case \"EMBE", |
| "D\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case \"IFRAM", |
| "E\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case \"NOFRAMES\":ca", |
| "se \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"SCR", |
| "IPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case \"WBR\":return", |
| "!1}return!0};h.removeNode=function(a){return a&&a.parentNode?a.parentNo", |
| "de.removeChild(a):null};\nh.contains=qa;/*\n\n The MIT License\n\n Copy", |
| "right (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n\n P", |
| "ermission is hereby granted, free of charge, to any person obtaining a ", |
| "copy\n of this software and associated documentation files (the \"Softw", |
| "are\"), to\n deal in the Software without restriction, including withou", |
| "t limitation the\n rights to use, copy, modify, merge, publish, distrib", |
| "ute, sublicense, and/or\n sell copies of the Software, and to permit pe", |
| "rsons to whom the Software is\n furnished to do so, subject to the foll", |
| "owing conditions:\n\n The above copyright notice and this permission no", |
| "tice shall be included in\n all copies or substantial portions of the S", |
| "oftware.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF AN", |
| "Y KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTI", |
| "ES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRIN", |
| "GEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE ", |
| "FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CO", |
| "NTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH", |
| " THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunc", |
| "tion B(a,b,c){this.l=a;this.la=b||1;this.j=c||1};function C(a){this.T=a", |
| ";this.J=0}function va(a){a=a.match(wa);for(var b=0;b<a.length;b++)xa.te", |
| "st(a[b])&&a.splice(b,1);return new C(a)}var wa=RegExp(\"\\\\$?(?:(?![0-", |
| "9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.])(?:\\\\*|[\\\\w-", |
| "\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+|", |
| "\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),xa=/^\\s/;function D(", |
| "a,b){return a.T[a.J+(b||0)]}C.prototype.next=function(){return this.T[t", |
| "his.J++]};C.prototype.back=function(){this.J--};C.prototype.empty=funct", |
| "ion(){return this.T.length<=this.J};function E(a){var b=null,c=a.nodeTy", |
| "pe;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==", |
| "b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.docu", |
| "mentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&", |
| "(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].next", |
| "Sibling););}}else b=a.nodeValue;return\"\"+b}\nfunction F(a,b,c){if(nul", |
| "l===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return", |
| " null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function G(a,b,c,d,", |
| "e){return za.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new H)}\nfunction", |
| " za(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByNa", |
| "me(d),t(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassNam", |
| "e&&d&&\"class\"==c?(b=b.getElementsByClassName(d),t(b,function(b){b.cla", |
| "ssName==d&&a.matches(b)&&e.add(b)})):a instanceof I?Aa(a,b,c,d,e):b.get", |
| "ElementsByTagName&&(b=b.getElementsByTagName(a.getName()),t(b,function(", |
| "a){F(a,c,d)&&e.add(a)}));return e}function Ba(a,b,c,d,e){for(b=b.firstC", |
| "hild;b;b=b.nextSibling)F(b,c,d)&&a.matches(b)&&e.add(b);return e}\nfunc", |
| "tion Aa(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)F(b,c,d)&&a.mat", |
| "ches(b)&&e.add(b),Aa(a,b,c,d,e)};function H(){this.j=this.g=null;this.D", |
| "=0}function Ca(a){this.node=a;this.next=this.w=null}function Da(a,b){if", |
| "(!a.g)return b;if(!b.g)return a;for(var c=a.g,d=b.g,e=null,f,g=0;c&&d;)", |
| "c.node==d.node?(f=c,c=c.next,d=d.next):0<ra(c.node,d.node)?(f=d,d=d.nex", |
| "t):(f=c,c=c.next),(f.w=e)?e.next=f:a.g=f,e=f,g++;for(f=c||d;f;)f.w=e,e=", |
| "e.next=f,g++,f=f.next;a.j=e;a.D=g;return a}H.prototype.unshift=function", |
| "(a){a=new Ca(a);a.next=this.g;this.j?this.g.w=a:this.g=this.j=a;this.g=", |
| "a;this.D++};\nH.prototype.add=function(a){a=new Ca(a);a.w=this.j;this.g", |
| "?this.j.next=a:this.g=this.j=a;this.j=a;this.D++};function J(a){return(", |
| "a=a.g)?a.node:null}H.prototype.m=function(){return this.D};function Ea(", |
| "a){return(a=J(a))?E(a):\"\"}H.prototype.iterator=function(a){return new", |
| " Fa(this,!!a)};function Fa(a,b){this.ha=a;this.U=(this.A=b)?a.j:a.g;thi", |
| "s.P=null}Fa.prototype.next=function(){var a=this.U;if(null==a)return nu", |
| "ll;var b=this.P=a;this.U=this.A?a.w:a.next;return b.node};\nFa.prototyp", |
| "e.remove=function(){var a=this.ha,b=this.P;if(!b)throw Error(\"Next mus", |
| "t be called at least once before remove.\");var c=b.w,b=b.next;c?c.next", |
| "=b:a.g=b;b?b.w=c:a.j=c;a.D--;this.P=null};function q(a){this.f=a;this.h", |
| "=this.o=!1;this.F=null}function K(a){return\"\\n \"+a.toString().split", |
| "(\"\\n\").join(\"\\n \")}q.prototype.c=function(){return this.o};funct", |
| "ion Ga(a,b){a.o=b}function Ha(a,b){a.h=b}q.prototype.u=function(){retur", |
| "n this.F};function L(a,b){var c=a.evaluate(b);return c instanceof H?+Ea", |
| "(c):+c}function M(a,b){var c=a.evaluate(b);return c instanceof H?Ea(c):", |
| "\"\"+c}function N(a,b){var c=a.evaluate(b);return c instanceof H?!!c.m(", |
| "):!!c};function O(a,b,c){q.call(this,a.f);this.S=a;this.X=b;this.ba=c;t", |
| "his.o=b.c()||c.c();this.h=b.h||c.h;this.S==Ia&&(c.h||c.c()||4==c.f||0==", |
| "c.f||!b.u()?b.h||b.c()||4==b.f||0==b.f||!c.u()||(this.F={name:c.u().nam", |
| "e,C:b}):this.F={name:b.u().name,C:c})}p(O);\nfunction P(a,b,c,d,e){b=b.", |
| "evaluate(d);c=c.evaluate(d);var f;if(b instanceof H&&c instanceof H){b=", |
| "b.iterator();for(d=b.next();d;d=b.next())for(e=c.iterator(),f=e.next();", |
| "f;f=e.next())if(a(E(d),E(f)))return!0;return!1}if(b instanceof H||c ins", |
| "tanceof H){b instanceof H?(e=b,d=c):(e=c,d=b);f=e.iterator();for(var g=", |
| "typeof d,k=f.next();k;k=f.next()){switch(g){case \"number\":k=+E(k);bre", |
| "ak;case \"boolean\":k=!!E(k);break;case \"string\":k=E(k);break;default", |
| ":throw Error(\"Illegal primitive type for comparison.\");\n}if(e==b&&a(", |
| "k,d)||e==c&&a(d,k))return!0}return!1}return e?\"boolean\"==typeof b||\"", |
| "boolean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==typeof", |
| " c?a(+b,+c):a(b,c):a(+b,+c)}O.prototype.evaluate=function(a){return thi", |
| "s.S.v(this.X,this.ba,a)};O.prototype.toString=function(){var a=\"Binary", |
| " Expression: \"+this.S,a=a+K(this.X);return a+=K(this.ba)};function Ja(", |
| "a,b,c,d){this.ka=a;this.$=b;this.f=c;this.v=d}Ja.prototype.toString=fun", |
| "ction(){return this.ka};var Ka={};\nfunction Q(a,b,c,d){if(Ka.hasOwnPro", |
| "perty(a))throw Error(\"Binary operator already created: \"+a);a=new Ja(", |
| "a,b,c,d);return Ka[a.toString()]=a}Q(\"div\",6,1,function(a,b,c){return", |
| " L(a,c)/L(b,c)});Q(\"mod\",6,1,function(a,b,c){return L(a,c)%L(b,c)});Q", |
| "(\"*\",6,1,function(a,b,c){return L(a,c)*L(b,c)});Q(\"+\",5,1,function(", |
| "a,b,c){return L(a,c)+L(b,c)});Q(\"-\",5,1,function(a,b,c){return L(a,c)", |
| "-L(b,c)});Q(\"<\",4,2,function(a,b,c){return P(function(a,b){return a<b", |
| "},a,b,c)});\nQ(\">\",4,2,function(a,b,c){return P(function(a,b){return ", |
| "a>b},a,b,c)});Q(\"<=\",4,2,function(a,b,c){return P(function(a,b){retur", |
| "n a<=b},a,b,c)});Q(\">=\",4,2,function(a,b,c){return P(function(a,b){re", |
| "turn a>=b},a,b,c)});var Ia=Q(\"=\",3,2,function(a,b,c){return P(functio", |
| "n(a,b){return a==b},a,b,c,!0)});Q(\"!=\",3,2,function(a,b,c){return P(f", |
| "unction(a,b){return a!=b},a,b,c,!0)});Q(\"and\",2,2,function(a,b,c){ret", |
| "urn N(a,c)&&N(b,c)});Q(\"or\",1,2,function(a,b,c){return N(a,c)||N(b,c)", |
| "});function La(a,b){if(b.m()&&4!=a.f)throw Error(\"Primary expression m", |
| "ust evaluate to nodeset if filter has predicate(s).\");q.call(this,a.f)", |
| ";this.aa=a;this.b=b;this.o=a.c();this.h=a.h}p(La);La.prototype.evaluate", |
| "=function(a){a=this.aa.evaluate(a);return Ma(this.b,a)};La.prototype.to", |
| "String=function(){var a;a=\"Filter:\"+K(this.aa);return a+=K(this.b)};f", |
| "unction Na(a,b){if(b.length<a.Z)throw Error(\"Function \"+a.i+\" expect", |
| "s at least\"+a.Z+\" arguments, \"+b.length+\" given\");if(null!==a.R&&b", |
| ".length>a.R)throw Error(\"Function \"+a.i+\" expects at most \"+a.R+\" ", |
| "arguments, \"+b.length+\" given\");a.ia&&t(b,function(b,d){if(4!=b.f)th", |
| "row Error(\"Argument \"+d+\" to function \"+a.i+\" is not of type Nodes", |
| "et: \"+b);});q.call(this,a.f);this.I=a;this.N=b;Ga(this,a.o||v(b,functi", |
| "on(a){return a.c()}));Ha(this,a.ga&&!b.length||a.fa&&!!b.length||v(b,fu", |
| "nction(a){return a.h}))}p(Na);\nNa.prototype.evaluate=function(a){retur", |
| "n this.I.v.apply(null,la(a,this.N))};Na.prototype.toString=function(){v", |
| "ar a=\"Function: \"+this.I;if(this.N.length)var b=u(this.N,function(a,b", |
| "){return a+K(b)},\"Arguments:\"),a=a+K(b);return a};function Oa(a,b,c,d", |
| ",e,f,g,k,y){this.i=a;this.f=b;this.o=c;this.ga=d;this.fa=e;this.v=f;thi", |
| "s.Z=g;this.R=void 0!==k?k:g;this.ia=!!y}Oa.prototype.toString=function(", |
| "){return this.i};var Pa={};\nfunction R(a,b,c,d,e,f,g,k){if(Pa.hasOwnPr", |
| "operty(a))throw Error(\"Function already created: \"+a+\".\");Pa[a]=new", |
| " Oa(a,b,c,d,!1,e,f,g,k)}R(\"boolean\",2,!1,!1,function(a,b){return N(b,", |
| "a)},1);R(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(L(b,a))},1)", |
| ";R(\"concat\",3,!1,!1,function(a,b){return u(na(arguments,1),function(b", |
| ",d){return b+M(d,a)},\"\")},2,null);R(\"contains\",2,!1,!1,function(a,b", |
| ",c){b=M(b,a);a=M(c,a);return-1!=b.indexOf(a)},2);R(\"count\",1,!1,!1,fu", |
| "nction(a,b){return b.evaluate(a).m()},1,1,!0);\nR(\"false\",2,!1,!1,fun", |
| "ction(){return!1},0);R(\"floor\",1,!1,!1,function(a,b){return Math.floo", |
| "r(L(b,a))},1);R(\"id\",4,!1,!1,function(a,b){var c=a.l,d=9==c.nodeType?", |
| "c:c.ownerDocument,c=M(b,a).split(/\\s+/),e=[];t(c,function(a){a=d.getEl", |
| "ementById(a);var b;if(!(b=!a)){a:if(m(e))b=m(a)&&1==a.length?e.indexOf(", |
| "a,0):-1;else{for(b=0;b<e.length;b++)if(b in e&&e[b]===a)break a;b=-1}b=", |
| "0<=b}b||e.push(a)});e.sort(ra);var f=new H;t(e,function(a){f.add(a)});r", |
| "eturn f},1);R(\"lang\",2,!1,!1,function(){return!1},1);\nR(\"last\",1,!", |
| "0,!1,function(a){if(1!=arguments.length)throw Error(\"Function last exp", |
| "ects ()\");return a.j},0);R(\"local-name\",3,!1,!0,function(a,b){var c=", |
| "b?J(b.evaluate(a)):a.l;return c?c.localName||c.nodeName.toLowerCase():", |
| "\"\"},0,1,!0);R(\"name\",3,!1,!0,function(a,b){var c=b?J(b.evaluate(a))", |
| ":a.l;return c?c.nodeName.toLowerCase():\"\"},0,1,!0);R(\"namespace-uri", |
| "\",3,!0,!1,function(){return\"\"},0,1,!0);\nR(\"normalize-space\",3,!1,", |
| "!0,function(a,b){return(b?M(b,a):E(a.l)).replace(/[\\s\\xa0]+/g,\" \").", |
| "replace(/^\\s+|\\s+$/g,\"\")},0,1);R(\"not\",2,!1,!1,function(a,b){retu", |
| "rn!N(b,a)},1);R(\"number\",1,!1,!0,function(a,b){return b?L(b,a):+E(a.l", |
| ")},0,1);R(\"position\",1,!0,!1,function(a){return a.la},0);R(\"round\",", |
| "1,!1,!1,function(a,b){return Math.round(L(b,a))},1);R(\"starts-with\",2", |
| ",!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);return 0==b.lastIndexOf(a,0)},", |
| "2);R(\"string\",3,!1,!0,function(a,b){return b?M(b,a):E(a.l)},0,1);\nR(", |
| "\"string-length\",1,!1,!0,function(a,b){return(b?M(b,a):E(a.l)).length}", |
| ",0,1);R(\"substring\",3,!1,!1,function(a,b,c,d){c=L(c,a);if(isNaN(c)||I", |
| "nfinity==c||-Infinity==c)return\"\";d=d?L(d,a):Infinity;if(isNaN(d)||-I", |
| "nfinity===d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=M(b,a);r", |
| "eturn Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);R", |
| "(\"substring-after\",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);c=b.inde", |
| "xOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nR(\"substring-bef", |
| "ore\",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);a=b.indexOf(a);return-1", |
| "==a?\"\":b.substring(0,a)},2);R(\"sum\",1,!1,!1,function(a,b){for(var c", |
| "=b.evaluate(a).iterator(),d=0,e=c.next();e;e=c.next())d+=+E(e);return d", |
| "},1,1,!0);R(\"translate\",3,!1,!1,function(a,b,c,d){b=M(b,a);c=M(c,a);v", |
| "ar e=M(d,a);a={};for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f", |
| "]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[", |
| "f]:f;return c},3);R(\"true\",2,!1,!1,function(){return!0},0);function I", |
| "(a,b){this.da=a;this.Y=void 0!==b?b:null;this.B=null;switch(a){case \"c", |
| "omment\":this.B=8;break;case \"text\":this.B=3;break;case \"processing-", |
| "instruction\":this.B=7;break;case \"node\":break;default:throw Error(\"", |
| "Unexpected argument\");}}function Qa(a){return\"comment\"==a||\"text\"=", |
| "=a||\"processing-instruction\"==a||\"node\"==a}I.prototype.matches=func", |
| "tion(a){return null===this.B||this.B==a.nodeType};I.prototype.getName=f", |
| "unction(){return this.da};\nI.prototype.toString=function(){var a=\"Kin", |
| "d Test: \"+this.da;null===this.Y||(a+=K(this.Y));return a};function Ra(", |
| "a){q.call(this,3);this.ca=a.substring(1,a.length-1)}p(Ra);Ra.prototype.", |
| "evaluate=function(){return this.ca};Ra.prototype.toString=function(){re", |
| "turn\"Literal: \"+this.ca};function S(a,b){this.i=a.toLowerCase();var c", |
| ";c=\"*\"==this.i?\"*\":\"http://www.w3.org/1999/xhtml\";this.K=b?b.toLo", |
| "werCase():c}S.prototype.matches=function(a){var b=a.nodeType;if(1!=b&&2", |
| "!=b)return!1;b=void 0!==a.localName?a.localName:a.nodeName;return\"*\"!", |
| "=this.i&&this.i!=b.toLowerCase()?!1:\"*\"==this.K?!0:this.K==(a.namespa", |
| "ceURI?a.namespaceURI.toLowerCase():\"http://www.w3.org/1999/xhtml\")};S", |
| ".prototype.getName=function(){return this.i};\nS.prototype.toString=fun", |
| "ction(){return\"Name Test: \"+(\"http://www.w3.org/1999/xhtml\"==this.K", |
| "?\"\":this.K+\":\")+this.i};function Sa(a){q.call(this,1);this.ea=a}p(S", |
| "a);Sa.prototype.evaluate=function(){return this.ea};Sa.prototype.toStri", |
| "ng=function(){return\"Number: \"+this.ea};function Ta(a,b){q.call(this,", |
| "a.f);this.W=a;this.G=b;this.o=a.c();this.h=a.h;if(1==this.G.length){var", |
| " c=this.G[0];c.O||c.s!=Ua||(c=c.M,\"*\"!=c.getName()&&(this.F={name:c.g", |
| "etName(),C:null}))}}p(Ta);function T(){q.call(this,4)}p(T);T.prototype.", |
| "evaluate=function(a){var b=new H;a=a.l;9==a.nodeType?b.add(a):b.add(a.o", |
| "wnerDocument);return b};T.prototype.toString=function(){return\"Root He", |
| "lper Expression\"};function Va(){q.call(this,4)}p(Va);Va.prototype.eval", |
| "uate=function(a){var b=new H;b.add(a.l);return b};\nVa.prototype.toStri", |
| "ng=function(){return\"Context Helper Expression\"};function Wa(a){retur", |
| "n\"/\"==a||\"//\"==a}\nTa.prototype.evaluate=function(a){var b=this.W.e", |
| "valuate(a);if(!(b instanceof H))throw Error(\"Filter expression must ev", |
| "aluate to nodeset.\");a=this.G;for(var c=0,d=a.length;c<d&&b.m();c++){v", |
| "ar e=a[c],f=b.iterator(e.s.A),g;if(e.c()||e.s!=Xa)if(e.c()||e.s!=Ya)for", |
| "(g=f.next(),b=e.evaluate(new B(g));null!=(g=f.next());)g=e.evaluate(new", |
| " B(g)),b=Da(b,g);else g=f.next(),b=e.evaluate(new B(g));else{for(g=f.ne", |
| "xt();(b=f.next())&&(!g.contains||g.contains(b))&&b.compareDocumentPosit", |
| "ion(g)&8;g=b);b=e.evaluate(new B(g))}}return b};\nTa.prototype.toString", |
| "=function(){var a;a=\"Path Expression:\"+K(this.W);if(this.G.length){va", |
| "r b=u(this.G,function(a,b){return a+K(b)},\"Steps:\");a+=K(b)}return a}", |
| ";function U(a,b){this.b=a;this.A=!!b}function Ma(a,b,c){for(c=c||0;c<a.", |
| "b.length;c++)for(var d=a.b[c],e=b.iterator(),f=b.m(),g,k=0;g=e.next();k", |
| "++){var y=a.A?f-k:k+1;g=d.evaluate(new B(g,y,f));if(\"number\"==typeof ", |
| "g)y=y==g;else if(\"string\"==typeof g||\"boolean\"==typeof g)y=!!g;else", |
| " if(g instanceof H)y=0<g.m();else throw Error(\"Predicate.evaluate retu", |
| "rned an unexpected type.\");y||e.remove()}return b}U.prototype.u=functi", |
| "on(){return 0<this.b.length?this.b[0].u():null};\nU.prototype.c=functio", |
| "n(){for(var a=0;a<this.b.length;a++){var b=this.b[a];if(b.c()||1==b.f||", |
| "0==b.f)return!0}return!1};U.prototype.m=function(){return this.b.length", |
| "};U.prototype.toString=function(){return u(this.b,function(a,b){return ", |
| "a+K(b)},\"Predicates:\")};function V(a,b,c,d){q.call(this,4);this.s=a;t", |
| "his.M=b;this.b=c||new U([]);this.O=!!d;b=this.b.u();a.ma&&b&&(this.F={n", |
| "ame:b.name,C:b.C});this.o=this.b.c()}p(V);\nV.prototype.evaluate=functi", |
| "on(a){var b=a.l,c=this.u(),d=null,e=null,f=0;c&&(d=c.name,e=c.C?M(c.C,a", |
| "):null,f=1);if(this.O)if(this.c()||this.s!=Za)if(b=(new V($a,new I(\"no", |
| "de\"))).evaluate(a).iterator(),c=b.next())for(a=this.v(c,d,e,f);null!=(", |
| "c=b.next());)a=Da(a,this.v(c,d,e,f));else a=new H;else a=G(this.M,b,d,e", |
| "),a=Ma(this.b,a,f);else a=this.v(a.l,d,e,f);return a};V.prototype.v=fun", |
| "ction(a,b,c,d){a=this.s.I(this.M,a,b,c);return a=Ma(this.b,a,d)};\nV.pr", |
| "ototype.toString=function(){var a;a=\"Step:\"+K(\"Operator: \"+(this.O?", |
| "\"//\":\"/\"));this.s.i&&(a+=K(\"Axis: \"+this.s));a+=K(this.M);if(this", |
| ".b.m()){var b=u(this.b.b,function(a,b){return a+K(b)},\"Predicates:\");", |
| "a+=K(b)}return a};function ab(a,b,c,d){this.i=a;this.I=b;this.A=c;this.", |
| "ma=d}ab.prototype.toString=function(){return this.i};var bb={};function", |
| " W(a,b,c,d){if(bb.hasOwnProperty(a))throw Error(\"Axis already created:", |
| " \"+a);b=new ab(a,b,c,!!d);return bb[a]=b}\nW(\"ancestor\",function(a,b", |
| "){for(var c=new H,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);return", |
| " c},!0);W(\"ancestor-or-self\",function(a,b){var c=new H,d=b;do a.match", |
| "es(d)&&c.unshift(d);while(d=d.parentNode);return c},!0);\nvar Ua=W(\"at", |
| "tribute\",function(a,b){var c=new H,d=a.getName(),e=b.attributes;if(e)i", |
| "f(a instanceof I&&null===a.B||\"*\"==d)for(var d=0,f;f=e[d];d++)c.add(f", |
| ");else(f=e.getNamedItem(d))&&c.add(f);return c},!1),Za=W(\"child\",func", |
| "tion(a,b,c,d,e){return Ba.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new ", |
| "H)},!1,!0);W(\"descendant\",G,!1,!0);\nvar $a=W(\"descendant-or-self\",", |
| "function(a,b,c,d){var e=new H;F(b,c,d)&&a.matches(b)&&e.add(b);return G", |
| "(a,b,c,d,e)},!1,!0),Xa=W(\"following\",function(a,b,c,d){var e=new H;do", |
| " for(var f=b;f=f.nextSibling;)F(f,c,d)&&a.matches(f)&&e.add(f),e=G(a,f,", |
| "c,d,e);while(b=b.parentNode);return e},!1,!0);W(\"following-sibling\",f", |
| "unction(a,b){for(var c=new H,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d", |
| ");return c},!1);W(\"namespace\",function(){return new H},!1);\nvar cb=W", |
| "(\"parent\",function(a,b){var c=new H;if(9==b.nodeType)return c;if(2==b", |
| ".nodeType)return c.add(b.ownerElement),c;var d=b.parentNode;a.matches(d", |
| ")&&c.add(d);return c},!1),Ya=W(\"preceding\",function(a,b,c,d){var e=ne", |
| "w H,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,k=f.length;g", |
| "<k;g++){var y=[];for(b=f[g];b=b.previousSibling;)y.unshift(b);for(var y", |
| "a=0,wb=y.length;ya<wb;ya++)b=y[ya],F(b,c,d)&&a.matches(b)&&e.add(b),e=G", |
| "(a,b,c,d,e)}return e},!0,!0);\nW(\"preceding-sibling\",function(a,b){fo", |
| "r(var c=new H,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);retur", |
| "n c},!0);var db=W(\"self\",function(a,b){var c=new H;a.matches(b)&&c.ad", |
| "d(b);return c},!1);function eb(a){q.call(this,1);this.V=a;this.o=a.c();", |
| "this.h=a.h}p(eb);eb.prototype.evaluate=function(a){return-L(this.V,a)};", |
| "eb.prototype.toString=function(){return\"Unary Expression: -\"+K(this.V", |
| ")};function fb(a){q.call(this,4);this.L=a;Ga(this,v(this.L,function(a){", |
| "return a.c()}));Ha(this,v(this.L,function(a){return a.h}))}p(fb);fb.pro", |
| "totype.evaluate=function(a){var b=new H;t(this.L,function(c){c=c.evalua", |
| "te(a);if(!(c instanceof H))throw Error(\"Path expression must evaluate ", |
| "to NodeSet.\");b=Da(b,c)});return b};fb.prototype.toString=function(){r", |
| "eturn u(this.L,function(a,b){return a+K(b)},\"Union Expression:\")};fun", |
| "ction gb(a,b){this.a=a;this.ja=b}function hb(a){for(var b,c=[];;){X(a,", |
| "\"Missing right hand side of binary expression.\");b=ib(a);var d=a.a.ne", |
| "xt();if(!d)break;var e=(d=Ka[d]||null)&&d.$;if(!e){a.a.back();break}for", |
| "(;c.length&&e<=c[c.length-1].$;)b=new O(c.pop(),c.pop(),b);c.push(b,d)}", |
| "for(;c.length;)b=new O(c.pop(),c.pop(),b);return b}function X(a,b){if(a", |
| ".a.empty())throw Error(b);}function jb(a,b){var c=a.a.next();if(c!=b)th", |
| "row Error(\"Bad token, expected: \"+b+\" got: \"+c);}\nfunction kb(a){a", |
| "=a.a.next();if(\")\"!=a)throw Error(\"Bad token: \"+a);}function lb(a){", |
| "a=a.a.next();if(2>a.length)throw Error(\"Unclosed literal string\");ret", |
| "urn new Ra(a)}\nfunction mb(a){var b,c=[],d;if(Wa(D(a.a))){b=a.a.next()", |
| ";d=D(a.a);if(\"/\"==b&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*", |
| "\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new T;d=new T;X(a,\"Missing ne", |
| "xt location step.\");b=nb(a,b);c.push(b)}else{a:{b=D(a.a);d=b.charAt(0)", |
| ";switch(d){case \"$\":throw Error(\"Variable reference not allowed in H", |
| "TML XPath\");case \"(\":a.a.next();b=hb(a);X(a,'unclosed \"(\"');jb(a,", |
| "\")\");break;case '\"':case \"'\":b=lb(a);break;default:if(isNaN(+b))if", |
| "(!Qa(b)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==D(a.a,1)){b=\na.a.next();b=Pa", |
| "[b]||null;a.a.next();for(d=[];\")\"!=D(a.a);){X(a,\"Missing function ar", |
| "gument list.\");d.push(hb(a));if(\",\"!=D(a.a))break;a.a.next()}X(a,\"U", |
| "nclosed function argument list.\");kb(a);b=new Na(b,d)}else{b=null;brea", |
| "k a}else b=new Sa(+a.a.next())}\"[\"==D(a.a)&&(d=new U(ob(a)),b=new La(", |
| "b,d))}if(b)if(Wa(D(a.a)))d=b;else return b;else b=nb(a,\"/\"),d=new Va,", |
| "c.push(b)}for(;Wa(D(a.a));)b=a.a.next(),X(a,\"Missing next location ste", |
| "p.\"),b=nb(a,b),c.push(b);return new Ta(d,c)}\nfunction nb(a,b){var c,d", |
| ",e;if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//", |
| "\"');if(\".\"==D(a.a))return d=new V(db,new I(\"node\")),a.a.next(),d;i", |
| "f(\"..\"==D(a.a))return d=new V(cb,new I(\"node\")),a.a.next(),d;var f;", |
| "if(\"@\"==D(a.a))f=Ua,a.a.next(),X(a,\"Missing attribute name\");else i", |
| "f(\"::\"==D(a.a,1)){if(!/(?![0-9])[\\w]/.test(D(a.a).charAt(0)))throw E", |
| "rror(\"Bad token: \"+a.a.next());c=a.a.next();f=bb[c]||null;if(!f)throw", |
| " Error(\"No axis with name: \"+c);a.a.next();X(a,\"Missing node name\")", |
| "}else f=Za;\nc=D(a.a);if(/(?![0-9])[\\w\\*]/.test(c.charAt(0)))if(\"(\"", |
| "==D(a.a,1)){if(!Qa(c))throw Error(\"Invalid node type: \"+c);c=a.a.next", |
| "();if(!Qa(c))throw Error(\"Invalid type name: \"+c);jb(a,\"(\");X(a,\"B", |
| "ad nodetype\");e=D(a.a).charAt(0);var g=null;if('\"'==e||\"'\"==e)g=lb(", |
| "a);X(a,\"Bad nodetype\");kb(a);c=new I(c,g)}else if(c=a.a.next(),e=c.in", |
| "dexOf(\":\"),-1==e)c=new S(c);else{var g=c.substring(0,e),k;if(\"*\"==g", |
| ")k=\"*\";else if(k=a.ja(g),!k)throw Error(\"Namespace prefix not declar", |
| "ed: \"+g);c=c.substr(e+1);c=new S(c,k)}else throw Error(\"Bad token: \"", |
| "+\na.a.next());e=new U(ob(a),f.A);return d||new V(f,c,e,\"//\"==b)}func", |
| "tion ob(a){for(var b=[];\"[\"==D(a.a);){a.a.next();X(a,\"Missing predic", |
| "ate expression.\");var c=hb(a);b.push(c);X(a,\"Unclosed predicate expre", |
| "ssion.\");jb(a,\"]\")}return b}function ib(a){if(\"-\"==D(a.a))return a", |
| ".a.next(),new eb(ib(a));var b=mb(a);if(\"|\"!=D(a.a))a=b;else{for(b=[b]", |
| ";\"|\"==a.a.next();)X(a,\"Missing next union location path.\"),b.push(m", |
| "b(a));a.a.back();a=new fb(b)}return a};function pb(a){switch(a.nodeType", |
| "){case 1:return ka(qb,a);case 9:return pb(a.documentElement);case 11:ca", |
| "se 10:case 6:case 12:return rb;default:return a.parentNode?pb(a.parentN", |
| "ode):rb}}function rb(){return null}function qb(a,b){if(a.prefix==b)retu", |
| "rn a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttribut", |
| "eNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parentNode&&9", |
| "!=a.parentNode.nodeType?qb(a.parentNode,b):null};function sb(a,b){if(!a", |
| ".length)throw Error(\"Empty XPath expression.\");var c=va(a);if(c.empty", |
| "())throw Error(\"Invalid XPath expression.\");b?\"function\"==ea(b)||(b", |
| "=ja(b.lookupNamespaceURI,b)):b=function(){return null};var d=hb(new gb(", |
| "c,b));if(!c.empty())throw Error(\"Bad token: \"+c.next());this.evaluate", |
| "=function(a,b){var c=d.evaluate(new B(a));return new Y(c,b)}}\nfunction", |
| " Y(a,b){if(0==b)if(a instanceof H)b=4;else if(\"string\"==typeof a)b=2;", |
| "else if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else", |
| " throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(", |
| "a instanceof H))throw Error(\"value could not be converted to the speci", |
| "fied type\");this.resultType=b;var c;switch(b){case 2:this.stringValue=", |
| "a instanceof H?Ea(a):\"\"+a;break;case 1:this.numberValue=a instanceof ", |
| "H?+Ea(a):+a;break;case 3:this.booleanValue=a instanceof H?0<a.m():!!a;b", |
| "reak;case 4:case 5:case 6:case 7:var d=\na.iterator();c=[];for(var e=d.", |
| "next();e;e=d.next())c.push(e);this.snapshotLength=a.m();this.invalidIte", |
| "ratorState=!1;break;case 8:case 9:this.singleNodeValue=J(a);break;defau", |
| "lt:throw Error(\"Unknown XPathResult type.\");}var f=0;this.iterateNext", |
| "=function(){if(4!=b&&5!=b)throw Error(\"iterateNext called with wrong r", |
| "esult type\");return f>=c.length?null:c[f++]};this.snapshotItem=functio", |
| "n(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong result ", |
| "type\");return a>=c.length||0>a?null:c[a]}}\nY.ANY_TYPE=0;Y.NUMBER_TYPE", |
| "=1;Y.STRING_TYPE=2;Y.BOOLEAN_TYPE=3;Y.UNORDERED_NODE_ITERATOR_TYPE=4;Y.", |
| "ORDERED_NODE_ITERATOR_TYPE=5;Y.UNORDERED_NODE_SNAPSHOT_TYPE=6;Y.ORDERED", |
| "_NODE_SNAPSHOT_TYPE=7;Y.ANY_UNORDERED_NODE_TYPE=8;Y.FIRST_ORDERED_NODE_", |
| "TYPE=9;function tb(a){this.lookupNamespaceURI=pb(a)}\nda(\"wgxpath.inst", |
| "all\",function(a,b){var c=a||l,d=c.Document&&c.Document.prototype||c.do", |
| "cument;if(!d.evaluate||b)c.XPathResult=Y,d.evaluate=function(a,b,c,d){r", |
| "eturn(new sb(a,c)).evaluate(b,d)},d.createExpression=function(a,b){retu", |
| "rn new sb(a,b)},d.createNSResolver=function(a){return new tb(a)}});func", |
| "tion ub(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}h=ub", |
| ".prototype;h.clone=function(){return new ub(this.top,this.right,this.bo", |
| "ttom,this.left)};h.toString=function(){return\"(\"+this.top+\"t, \"+thi", |
| "s.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};h.contains=functi", |
| "on(a){return this&&a?a instanceof ub?a.left>=this.left&&a.right<=this.r", |
| "ight&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.", |
| "right&&a.y>=this.top&&a.y<=this.bottom:!1};\nh.expand=function(a,b,c,d)", |
| "{ga(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.", |
| "left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c)", |
| ",this.left-=Number(d));return this};h.ceil=function(){this.top=Math.cei", |
| "l(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this", |
| ".bottom);this.left=Math.ceil(this.left);return this};\nh.floor=function", |
| "(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this", |
| ".bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return ", |
| "this};h.round=function(){this.top=Math.round(this.top);this.right=Math.", |
| "round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.ro", |
| "und(this.left);return this};h.translate=function(a,b){a instanceof w?(t", |
| "his.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.lef", |
| "t+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+=b));return this};\nh", |
| ".scale=function(a,b){var c=n(b)?b:a;this.left*=a;this.right*=a;this.top", |
| "*=c;this.bottom*=c;return this};function Z(a,b,c,d){this.left=a;this.to", |
| "p=b;this.width=c;this.height=d}h=Z.prototype;h.clone=function(){return ", |
| "new Z(this.left,this.top,this.width,this.height)};h.toString=function()", |
| "{return\"(\"+this.left+\", \"+this.top+\" - \"+this.width+\"w x \"+this", |
| ".height+\"h)\"};h.contains=function(a){return a instanceof Z?this.left<", |
| "=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.to", |
| "p+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width", |
| "&&a.y>=this.top&&a.y<=this.top+this.height};\nh.ceil=function(){this.le", |
| "ft=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ce", |
| "il(this.width);this.height=Math.ceil(this.height);return this};h.floor=", |
| "function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top", |
| ");this.width=Math.floor(this.width);this.height=Math.floor(this.height)", |
| ";return this};h.round=function(){this.left=Math.round(this.left);this.t", |
| "op=Math.round(this.top);this.width=Math.round(this.width);this.height=M", |
| "ath.round(this.height);return this};\nh.translate=function(a,b){a insta", |
| "nceof w?(this.left+=a.x,this.top+=a.y):(this.left+=a,n(b)&&(this.top+=b", |
| "));return this};h.scale=function(a,b){var c=n(b)?b:a;this.left*=a;this.", |
| "width*=a;this.top*=c;this.height*=c;return this};function vb(a,b){var c", |
| "=z(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaul", |
| "tView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||\"\":\"\"}", |
| "function xb(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{le", |
| "ft:0,top:0,right:0,bottom:0}}return b}\nfunction yb(a){var b=z(a),c=new", |
| " w(0,0);if(a==(b?z(b):document).documentElement)return c;a=xb(a);var d=", |
| "(b?new A(z(b)):r||(r=new A)).H,b=d.scrollingElement?d.scrollingElement:", |
| "d.body||d.documentElement,d=d.parentWindow||d.defaultView,b=new w(d.pag", |
| "eXOffset||b.scrollLeft,d.pageYOffset||b.scrollTop);c.x=a.left+b.x;c.y=a", |
| ".top+b.y;return c}function zb(a){if(1==a.nodeType)return a=xb(a),new w(", |
| "a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return new w(a.c", |
| "lientX,a.clientY)};var Ab=\"function\"===typeof ShadowRoot;function Bb(", |
| "a,b){var c;c=yb(b);var d=yb(a);c=new w(c.x-d.x,c.y-d.y);var e,f,g;g=vb(", |
| "a,\"borderLeftWidth\");f=vb(a,\"borderRightWidth\");e=vb(a,\"borderTopW", |
| "idth\");d=vb(a,\"borderBottomWidth\");d=new ub(parseFloat(e),parseFloat", |
| "(f),parseFloat(d),parseFloat(g));c.x-=d.left;c.y-=d.top;return c}\nfunc", |
| "tion Cb(a,b,c){function d(a,b,c,d,e){d=new Z(c.x+d.left,c.y+d.top,d.wid", |
| "th,d.height);c=[0,0];b=[b.width,b.height];var f=[d.left,d.top];d=[d.wid", |
| "th,d.height];for(var g=0;2>g;g++)if(d[g]>b[g])c[g]=e?f[g]+d[g]/2-b[g]/2", |
| ":f[g];else{var k=f[g]-b[g]+d[g];0<k?c[g]=k:0>f[g]&&(c[g]=f[g])}e=new w(", |
| "c[0],c[1]);a.scrollLeft+=e.x;a.scrollTop+=e.y}function e(a){var b=a.par", |
| "entNode;Ab&&b instanceof ShadowRoot&&(b=a.host);return b}for(var f=z(a)", |
| ",g=e(a),k;g&&g!=f.documentElement&&g!=f.body;)k=Bb(g,a),d(g,new x(g.cli", |
| "entWidth,\ng.clientHeight),k,b,c),g=e(g);k=zb(a);a=ua(a?new A(z(a)):r||", |
| "(r=new A));d(f.body,a,k,b,c)};da(\"_\",function(a,b,c){c||(c=new Z(0,0,", |
| "a.offsetWidth,a.offsetHeight));Cb(a,c,b);a=zb(a);return new w(a.x+c.lef", |
| "t,a.y+c.top)});; return this._.apply(null,arguments);}.apply({navigator", |
| ":typeof window!='undefined'?window.navigator:null,document:typeof windo", |
| "w!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_PAGE_ZOOM[] = { |
| "function(){return function(){var aa=\"function\"==typeof Object.defineP", |
| "roperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw n", |
| "ew TypeError(\"ES3 does not support getters and setters.\");a!=Array.pr", |
| "ototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeof ", |
| "window&&window===this?this:\"undefined\"!=typeof global?global:this;\nf", |
| "unction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1;e+", |
| "+){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!", |
| "=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"Stri", |
| "ng.prototype.repeat\",function(a){return a?a:function(a){var c;if(null=", |
| "=this)throw new TypeError(\"The 'this' value for String.prototype.repea", |
| "t must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)thr", |
| "ow new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if(a&", |
| "1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){return a", |
| "?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var da=", |
| "this;\nfunction ea(a,b){var c=a.split(\".\"),d=da;c[0]in d||!d.execScri", |
| "pt||d.execScript(\"var \"+c[0]);for(var e;c.length&&(e=c.shift());)c.le", |
| "ngth||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b}\nfunction fa(a){var b=type", |
| "of a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ", |
| "instanceof Object)return b;var c=Object.prototype.toString.call(a);if(", |
| "\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"num", |
| "ber\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=", |
| "typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))retu", |
| "rn\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&", |
| "\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(", |
| "\"call\"))return\"function\"}else return\"null\";\nelse if(\"function\"", |
| "==b&&\"undefined\"==typeof a.call)return\"object\";return b}function h(", |
| "a){return\"string\"==typeof a}function ga(a,b,c){return a.call.apply(a.", |
| "bind,arguments)}function ha(a,b,c){if(!a)throw Error();if(2<arguments.l", |
| "ength){var d=Array.prototype.slice.call(arguments,2);return function(){", |
| "var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.app", |
| "ly(c,d);return a.apply(b,c)}}return function(){return a.apply(b,argumen", |
| "ts)}}\nfunction ia(a,b,c){ia=Function.prototype.bind&&-1!=Function.prot", |
| "otype.bind.toString().indexOf(\"native code\")?ga:ha;return ia.apply(nu", |
| "ll,arguments)}function ja(a,b){var c=Array.prototype.slice.call(argumen", |
| "ts,1);return function(){var b=c.slice();b.push.apply(b,arguments);retur", |
| "n a.apply(this,b)}}\nfunction l(a){var b=m;function c(){}c.prototype=b.", |
| "prototype;a.na=b.prototype;a.prototype=new c;a.prototype.constructor=a;", |
| "a.ma=function(a,c,f){for(var g=Array(arguments.length-2),k=2;k<argument", |
| "s.length;k++)g[k-2]=arguments[k];return b.prototype[c].apply(a,g)}};fun", |
| "ction n(a,b){for(var c=a.length,d=h(a)?a.split(\"\"):a,e=0;e<c;e++)e in", |
| " d&&b.call(void 0,d[e],e,a)}function p(a,b,c){var d=c;n(a,function(c,f)", |
| "{d=b.call(void 0,d,c,f,a)});return d}function q(a,b){for(var c=a.length", |
| ",d=h(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))", |
| "return!0;return!1}function ka(a){return Array.prototype.concat.apply(Ar", |
| "ray.prototype,arguments)}function ma(a,b,c){return 2>=arguments.length?", |
| "Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};func", |
| "tion na(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==", |
| "b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)ret", |
| "urn a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentN", |
| "ode;return b==a}\nfunction oa(a,b){if(a==b)return 0;if(a.compareDocumen", |
| "tPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"", |
| "in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeType", |
| ",d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.par", |
| "entNode,f=b.parentNode;return e==f?pa(a,b):!c&&na(e,b)?-1*qa(a,b):!d&&n", |
| "a(f,a)?qa(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourc", |
| "eIndex)}d=9==a.nodeType?a:a.ownerDocument||a.document;c=d.createRange()", |
| ";c.selectNode(a);c.collapse(!0);\nd=d.createRange();d.selectNode(b);d.c", |
| "ollapse(!0);return c.compareBoundaryPoints(da.Range.START_TO_END,d)}fun", |
| "ction qa(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentN", |
| "ode!=c;)d=d.parentNode;return pa(d,a)}function pa(a,b){for(var c=b;c=c.", |
| "previousSibling;)if(c==a)return-1;return 1};/*\n\n The MIT License\n\n ", |
| "Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n", |
| "\n Permission is hereby granted, free of charge, to any person obtainin", |
| "g a copy\n of this software and associated documentation files (the \"S", |
| "oftware\"), to\n deal in the Software without restriction, including wi", |
| "thout limitation the\n rights to use, copy, modify, merge, publish, dis", |
| "tribute, sublicense, and/or\n sell copies of the Software, and to permi", |
| "t persons to whom the Software is\n furnished to do so, subject to the ", |
| "following conditions:\n\n The above copyright notice and this permissio", |
| "n notice shall be included in\n all copies or substantial portions of t", |
| "he Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY O", |
| "F ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR", |
| "ANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONIN", |
| "FRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIA", |
| "BLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION O", |
| "F CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION ", |
| "WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\n", |
| "function r(a,b,c){this.l=a;this.ka=b||1;this.j=c||1};function t(a){this", |
| ".S=a;this.I=0}function ra(a){a=a.match(sa);for(var b=0;b<a.length;b++)t", |
| "a.test(a[b])&&a.splice(b,1);return new t(a)}var sa=RegExp(\"\\\\$?(?:(?", |
| "![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.])(?:\\\\*|[\\\\w-", |
| "\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+|", |
| "\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),ta=/^\\s/;function u(", |
| "a,b){return a.S[a.I+(b||0)]}t.prototype.next=function(){return this.S[t", |
| "his.I++]};t.prototype.back=function(){this.I--};t.prototype.empty=funct", |
| "ion(){return this.S.length<=this.I};function v(a){var b=null,c=a.nodeTy", |
| "pe;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==", |
| "b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.docu", |
| "mentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&", |
| "(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].next", |
| "Sibling););}}else b=a.nodeValue;return\"\"+b}\nfunction x(a,b,c){if(nul", |
| "l===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return", |
| " null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function y(a,b,c,d,", |
| "e){return ua.call(null,a,b,h(c)?c:null,h(d)?d:null,e||new z)}\nfunction", |
| " ua(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByNa", |
| "me(d),n(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassNam", |
| "e&&d&&\"class\"==c?(b=b.getElementsByClassName(d),n(b,function(b){b.cla", |
| "ssName==d&&a.matches(b)&&e.add(b)})):a instanceof A?va(a,b,c,d,e):b.get", |
| "ElementsByTagName&&(b=b.getElementsByTagName(a.getName()),n(b,function(", |
| "a){x(a,c,d)&&e.add(a)}));return e}function wa(a,b,c,d,e){for(b=b.firstC", |
| "hild;b;b=b.nextSibling)x(b,c,d)&&a.matches(b)&&e.add(b);return e}\nfunc", |
| "tion va(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)x(b,c,d)&&a.mat", |
| "ches(b)&&e.add(b),va(a,b,c,d,e)};function z(){this.j=this.g=null;this.D", |
| "=0}function xa(a){this.node=a;this.next=this.w=null}function ya(a,b){if", |
| "(!a.g)return b;if(!b.g)return a;for(var c=a.g,d=b.g,e=null,f,g=0;c&&d;)", |
| "c.node==d.node?(f=c,c=c.next,d=d.next):0<oa(c.node,d.node)?(f=d,d=d.nex", |
| "t):(f=c,c=c.next),(f.w=e)?e.next=f:a.g=f,e=f,g++;for(f=c||d;f;)f.w=e,e=", |
| "e.next=f,g++,f=f.next;a.j=e;a.D=g;return a}z.prototype.unshift=function", |
| "(a){a=new xa(a);a.next=this.g;this.j?this.g.w=a:this.g=this.j=a;this.g=", |
| "a;this.D++};\nz.prototype.add=function(a){a=new xa(a);a.w=this.j;this.g", |
| "?this.j.next=a:this.g=this.j=a;this.j=a;this.D++};function B(a){return(", |
| "a=a.g)?a.node:null}z.prototype.m=function(){return this.D};function C(a", |
| "){return(a=B(a))?v(a):\"\"}z.prototype.iterator=function(a){return new ", |
| "za(this,!!a)};function za(a,b){this.ga=a;this.T=(this.A=b)?a.j:a.g;this", |
| ".O=null}za.prototype.next=function(){var a=this.T;if(null==a)return nul", |
| "l;var b=this.O=a;this.T=this.A?a.w:a.next;return b.node};\nza.prototype", |
| ".remove=function(){var a=this.ga,b=this.O;if(!b)throw Error(\"Next must", |
| " be called at least once before remove.\");var c=b.w,b=b.next;c?c.next=", |
| "b:a.g=b;b?b.w=c:a.j=c;a.D--;this.O=null};function m(a){this.f=a;this.h=", |
| "this.o=!1;this.F=null}function D(a){return\"\\n \"+a.toString().split(", |
| "\"\\n\").join(\"\\n \")}m.prototype.c=function(){return this.o};functi", |
| "on Aa(a,b){a.o=b}function Ba(a,b){a.h=b}m.prototype.u=function(){return", |
| " this.F};function E(a,b){var c=a.evaluate(b);return c instanceof z?+C(c", |
| "):+c}function F(a,b){var c=a.evaluate(b);return c instanceof z?C(c):\"", |
| "\"+c}function G(a,b){var c=a.evaluate(b);return c instanceof z?!!c.m():", |
| "!!c};function H(a,b,c){m.call(this,a.f);this.R=a;this.W=b;this.aa=c;thi", |
| "s.o=b.c()||c.c();this.h=b.h||c.h;this.R==Ca&&(c.h||c.c()||4==c.f||0==c.", |
| "f||!b.u()?b.h||b.c()||4==b.f||0==b.f||!c.u()||(this.F={name:c.u().name,", |
| "C:b}):this.F={name:b.u().name,C:c})}l(H);\nfunction I(a,b,c,d,e){b=b.ev", |
| "aluate(d);c=c.evaluate(d);var f;if(b instanceof z&&c instanceof z){b=b.", |
| "iterator();for(d=b.next();d;d=b.next())for(e=c.iterator(),f=e.next();f;", |
| "f=e.next())if(a(v(d),v(f)))return!0;return!1}if(b instanceof z||c insta", |
| "nceof z){b instanceof z?(e=b,d=c):(e=c,d=b);f=e.iterator();for(var g=ty", |
| "peof d,k=f.next();k;k=f.next()){switch(g){case \"number\":k=+v(k);break", |
| ";case \"boolean\":k=!!v(k);break;case \"string\":k=v(k);break;default:t", |
| "hrow Error(\"Illegal primitive type for comparison.\");\n}if(e==b&&a(k,", |
| "d)||e==c&&a(d,k))return!0}return!1}return e?\"boolean\"==typeof b||\"bo", |
| "olean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==typeof c", |
| "?a(+b,+c):a(b,c):a(+b,+c)}H.prototype.evaluate=function(a){return this.", |
| "R.v(this.W,this.aa,a)};H.prototype.toString=function(){var a=\"Binary E", |
| "xpression: \"+this.R,a=a+D(this.W);return a+=D(this.aa)};function Da(a,", |
| "b,c,d){this.ja=a;this.Z=b;this.f=c;this.v=d}Da.prototype.toString=funct", |
| "ion(){return this.ja};var Ea={};\nfunction J(a,b,c,d){if(Ea.hasOwnPrope", |
| "rty(a))throw Error(\"Binary operator already created: \"+a);a=new Da(a,", |
| "b,c,d);return Ea[a.toString()]=a}J(\"div\",6,1,function(a,b,c){return E", |
| "(a,c)/E(b,c)});J(\"mod\",6,1,function(a,b,c){return E(a,c)%E(b,c)});J(", |
| "\"*\",6,1,function(a,b,c){return E(a,c)*E(b,c)});J(\"+\",5,1,function(a", |
| ",b,c){return E(a,c)+E(b,c)});J(\"-\",5,1,function(a,b,c){return E(a,c)-", |
| "E(b,c)});J(\"<\",4,2,function(a,b,c){return I(function(a,b){return a<b}", |
| ",a,b,c)});\nJ(\">\",4,2,function(a,b,c){return I(function(a,b){return a", |
| ">b},a,b,c)});J(\"<=\",4,2,function(a,b,c){return I(function(a,b){return", |
| " a<=b},a,b,c)});J(\">=\",4,2,function(a,b,c){return I(function(a,b){ret", |
| "urn a>=b},a,b,c)});var Ca=J(\"=\",3,2,function(a,b,c){return I(function", |
| "(a,b){return a==b},a,b,c,!0)});J(\"!=\",3,2,function(a,b,c){return I(fu", |
| "nction(a,b){return a!=b},a,b,c,!0)});J(\"and\",2,2,function(a,b,c){retu", |
| "rn G(a,c)&&G(b,c)});J(\"or\",1,2,function(a,b,c){return G(a,c)||G(b,c)}", |
| ");function K(a,b){if(b.m()&&4!=a.f)throw Error(\"Primary expression mus", |
| "t evaluate to nodeset if filter has predicate(s).\");m.call(this,a.f);t", |
| "his.$=a;this.b=b;this.o=a.c();this.h=a.h}l(K);K.prototype.evaluate=func", |
| "tion(a){a=this.$.evaluate(a);return Fa(this.b,a)};K.prototype.toString=", |
| "function(){var a;a=\"Filter:\"+D(this.$);return a+=D(this.b)};function ", |
| "L(a,b){if(b.length<a.Y)throw Error(\"Function \"+a.i+\" expects at leas", |
| "t\"+a.Y+\" arguments, \"+b.length+\" given\");if(null!==a.P&&b.length>a", |
| ".P)throw Error(\"Function \"+a.i+\" expects at most \"+a.P+\" arguments", |
| ", \"+b.length+\" given\");a.ha&&n(b,function(b,d){if(4!=b.f)throw Error", |
| "(\"Argument \"+d+\" to function \"+a.i+\" is not of type Nodeset: \"+b)", |
| ";});m.call(this,a.f);this.H=a;this.M=b;Aa(this,a.o||q(b,function(a){ret", |
| "urn a.c()}));Ba(this,a.fa&&!b.length||a.ea&&!!b.length||q(b,function(a)", |
| "{return a.h}))}l(L);\nL.prototype.evaluate=function(a){return this.H.v.", |
| "apply(null,ka(a,this.M))};L.prototype.toString=function(){var a=\"Funct", |
| "ion: \"+this.H;if(this.M.length)var b=p(this.M,function(a,b){return a+D", |
| "(b)},\"Arguments:\"),a=a+D(b);return a};function Ga(a,b,c,d,e,f,g,k,w){", |
| "this.i=a;this.f=b;this.o=c;this.fa=d;this.ea=e;this.v=f;this.Y=g;this.P", |
| "=void 0!==k?k:g;this.ha=!!w}Ga.prototype.toString=function(){return thi", |
| "s.i};var Ha={};\nfunction M(a,b,c,d,e,f,g,k){if(Ha.hasOwnProperty(a))th", |
| "row Error(\"Function already created: \"+a+\".\");Ha[a]=new Ga(a,b,c,d,", |
| "!1,e,f,g,k)}M(\"boolean\",2,!1,!1,function(a,b){return G(b,a)},1);M(\"c", |
| "eiling\",1,!1,!1,function(a,b){return Math.ceil(E(b,a))},1);M(\"concat", |
| "\",3,!1,!1,function(a,b){return p(ma(arguments,1),function(b,d){return ", |
| "b+F(d,a)},\"\")},2,null);M(\"contains\",2,!1,!1,function(a,b,c){b=F(b,a", |
| ");a=F(c,a);return-1!=b.indexOf(a)},2);M(\"count\",1,!1,!1,function(a,b)", |
| "{return b.evaluate(a).m()},1,1,!0);\nM(\"false\",2,!1,!1,function(){ret", |
| "urn!1},0);M(\"floor\",1,!1,!1,function(a,b){return Math.floor(E(b,a))},", |
| "1);M(\"id\",4,!1,!1,function(a,b){var c=a.l,d=9==c.nodeType?c:c.ownerDo", |
| "cument,c=F(b,a).split(/\\s+/),e=[];n(c,function(a){a=d.getElementById(a", |
| ");var b;if(!(b=!a)){a:if(h(e))b=h(a)&&1==a.length?e.indexOf(a,0):-1;els", |
| "e{for(b=0;b<e.length;b++)if(b in e&&e[b]===a)break a;b=-1}b=0<=b}b||e.p", |
| "ush(a)});e.sort(oa);var f=new z;n(e,function(a){f.add(a)});return f},1)", |
| ";M(\"lang\",2,!1,!1,function(){return!1},1);\nM(\"last\",1,!0,!1,functi", |
| "on(a){if(1!=arguments.length)throw Error(\"Function last expects ()\");", |
| "return a.j},0);M(\"local-name\",3,!1,!0,function(a,b){var c=b?B(b.evalu", |
| "ate(a)):a.l;return c?c.localName||c.nodeName.toLowerCase():\"\"},0,1,!0", |
| ");M(\"name\",3,!1,!0,function(a,b){var c=b?B(b.evaluate(a)):a.l;return ", |
| "c?c.nodeName.toLowerCase():\"\"},0,1,!0);M(\"namespace-uri\",3,!0,!1,fu", |
| "nction(){return\"\"},0,1,!0);\nM(\"normalize-space\",3,!1,!0,function(a", |
| ",b){return(b?F(b,a):v(a.l)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s", |
| "+|\\s+$/g,\"\")},0,1);M(\"not\",2,!1,!1,function(a,b){return!G(b,a)},1)", |
| ";M(\"number\",1,!1,!0,function(a,b){return b?E(b,a):+v(a.l)},0,1);M(\"p", |
| "osition\",1,!0,!1,function(a){return a.ka},0);M(\"round\",1,!1,!1,funct", |
| "ion(a,b){return Math.round(E(b,a))},1);M(\"starts-with\",2,!1,!1,functi", |
| "on(a,b,c){b=F(b,a);a=F(c,a);return 0==b.lastIndexOf(a,0)},2);M(\"string", |
| "\",3,!1,!0,function(a,b){return b?F(b,a):v(a.l)},0,1);\nM(\"string-leng", |
| "th\",1,!1,!0,function(a,b){return(b?F(b,a):v(a.l)).length},0,1);M(\"sub", |
| "string\",3,!1,!1,function(a,b,c,d){c=E(c,a);if(isNaN(c)||Infinity==c||-", |
| "Infinity==c)return\"\";d=d?E(d,a):Infinity;if(isNaN(d)||-Infinity===d)r", |
| "eturn\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=F(b,a);return Infinit", |
| "y==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);M(\"substring-", |
| "after\",3,!1,!1,function(a,b,c){b=F(b,a);a=F(c,a);c=b.indexOf(a);return", |
| "-1==c?\"\":b.substring(c+a.length)},2);\nM(\"substring-before\",3,!1,!1", |
| ",function(a,b,c){b=F(b,a);a=F(c,a);a=b.indexOf(a);return-1==a?\"\":b.su", |
| "bstring(0,a)},2);M(\"sum\",1,!1,!1,function(a,b){for(var c=b.evaluate(a", |
| ").iterator(),d=0,e=c.next();e;e=c.next())d+=+v(e);return d},1,1,!0);M(", |
| "\"translate\",3,!1,!1,function(a,b,c,d){b=F(b,a);c=F(c,a);var e=F(d,a);", |
| "a={};for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d", |
| "))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return ", |
| "c},3);M(\"true\",2,!1,!1,function(){return!0},0);function A(a,b){this.c", |
| "a=a;this.X=void 0!==b?b:null;this.B=null;switch(a){case \"comment\":thi", |
| "s.B=8;break;case \"text\":this.B=3;break;case \"processing-instruction", |
| "\":this.B=7;break;case \"node\":break;default:throw Error(\"Unexpected ", |
| "argument\");}}function Ia(a){return\"comment\"==a||\"text\"==a||\"proce", |
| "ssing-instruction\"==a||\"node\"==a}A.prototype.matches=function(a){ret", |
| "urn null===this.B||this.B==a.nodeType};A.prototype.getName=function(){r", |
| "eturn this.ca};\nA.prototype.toString=function(){var a=\"Kind Test: \"+", |
| "this.ca;null===this.X||(a+=D(this.X));return a};function N(a){m.call(th", |
| "is,3);this.ba=a.substring(1,a.length-1)}l(N);N.prototype.evaluate=funct", |
| "ion(){return this.ba};N.prototype.toString=function(){return\"Literal: ", |
| "\"+this.ba};function O(a,b){this.i=a.toLowerCase();var c;c=\"*\"==this.", |
| "i?\"*\":\"http://www.w3.org/1999/xhtml\";this.J=b?b.toLowerCase():c}O.p", |
| "rototype.matches=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=", |
| "void 0!==a.localName?a.localName:a.nodeName;return\"*\"!=this.i&&this.i", |
| "!=b.toLowerCase()?!1:\"*\"==this.J?!0:this.J==(a.namespaceURI?a.namespa", |
| "ceURI.toLowerCase():\"http://www.w3.org/1999/xhtml\")};O.prototype.getN", |
| "ame=function(){return this.i};\nO.prototype.toString=function(){return", |
| "\"Name Test: \"+(\"http://www.w3.org/1999/xhtml\"==this.J?\"\":this.J+", |
| "\":\")+this.i};function P(a){m.call(this,1);this.da=a}l(P);P.prototype.", |
| "evaluate=function(){return this.da};P.prototype.toString=function(){ret", |
| "urn\"Number: \"+this.da};function Q(a,b){m.call(this,a.f);this.V=a;this", |
| ".G=b;this.o=a.c();this.h=a.h;if(1==this.G.length){var c=this.G[0];c.N||", |
| "c.s!=Ja||(c=c.L,\"*\"!=c.getName()&&(this.F={name:c.getName(),C:null}))", |
| "}}l(Q);function R(){m.call(this,4)}l(R);R.prototype.evaluate=function(a", |
| "){var b=new z;a=a.l;9==a.nodeType?b.add(a):b.add(a.ownerDocument);retur", |
| "n b};R.prototype.toString=function(){return\"Root Helper Expression\"};", |
| "function S(){m.call(this,4)}l(S);S.prototype.evaluate=function(a){var b", |
| "=new z;b.add(a.l);return b};\nS.prototype.toString=function(){return\"C", |
| "ontext Helper Expression\"};function Ka(a){return\"/\"==a||\"//\"==a}\n", |
| "Q.prototype.evaluate=function(a){var b=this.V.evaluate(a);if(!(b instan", |
| "ceof z))throw Error(\"Filter expression must evaluate to nodeset.\");a=", |
| "this.G;for(var c=0,d=a.length;c<d&&b.m();c++){var e=a[c],f=b.iterator(e", |
| ".s.A),g;if(e.c()||e.s!=La)if(e.c()||e.s!=Ma)for(g=f.next(),b=e.evaluate", |
| "(new r(g));null!=(g=f.next());)g=e.evaluate(new r(g)),b=ya(b,g);else g=", |
| "f.next(),b=e.evaluate(new r(g));else{for(g=f.next();(b=f.next())&&(!g.c", |
| "ontains||g.contains(b))&&b.compareDocumentPosition(g)&8;g=b);b=e.evalua", |
| "te(new r(g))}}return b};\nQ.prototype.toString=function(){var a;a=\"Pat", |
| "h Expression:\"+D(this.V);if(this.G.length){var b=p(this.G,function(a,b", |
| "){return a+D(b)},\"Steps:\");a+=D(b)}return a};function T(a,b){this.b=a", |
| ";this.A=!!b}function Fa(a,b,c){for(c=c||0;c<a.b.length;c++)for(var d=a.", |
| "b[c],e=b.iterator(),f=b.m(),g,k=0;g=e.next();k++){var w=a.A?f-k:k+1;g=d", |
| ".evaluate(new r(g,w,f));if(\"number\"==typeof g)w=w==g;else if(\"string", |
| "\"==typeof g||\"boolean\"==typeof g)w=!!g;else if(g instanceof z)w=0<g.", |
| "m();else throw Error(\"Predicate.evaluate returned an unexpected type.", |
| "\");w||e.remove()}return b}T.prototype.u=function(){return 0<this.b.len", |
| "gth?this.b[0].u():null};\nT.prototype.c=function(){for(var a=0;a<this.b", |
| ".length;a++){var b=this.b[a];if(b.c()||1==b.f||0==b.f)return!0}return!1", |
| "};T.prototype.m=function(){return this.b.length};T.prototype.toString=f", |
| "unction(){return p(this.b,function(a,b){return a+D(b)},\"Predicates:\")", |
| "};function U(a,b,c,d){m.call(this,4);this.s=a;this.L=b;this.b=c||new T(", |
| "[]);this.N=!!d;b=this.b.u();a.la&&b&&(this.F={name:b.name,C:b.C});this.", |
| "o=this.b.c()}l(U);\nU.prototype.evaluate=function(a){var b=a.l,c=this.u", |
| "(),d=null,e=null,f=0;c&&(d=c.name,e=c.C?F(c.C,a):null,f=1);if(this.N)if", |
| "(this.c()||this.s!=Na)if(b=(new U(Oa,new A(\"node\"))).evaluate(a).iter", |
| "ator(),c=b.next())for(a=this.v(c,d,e,f);null!=(c=b.next());)a=ya(a,this", |
| ".v(c,d,e,f));else a=new z;else a=y(this.L,b,d,e),a=Fa(this.b,a,f);else ", |
| "a=this.v(a.l,d,e,f);return a};U.prototype.v=function(a,b,c,d){a=this.s.", |
| "H(this.L,a,b,c);return a=Fa(this.b,a,d)};\nU.prototype.toString=functio", |
| "n(){var a;a=\"Step:\"+D(\"Operator: \"+(this.N?\"//\":\"/\"));this.s.i&", |
| "&(a+=D(\"Axis: \"+this.s));a+=D(this.L);if(this.b.m()){var b=p(this.b.b", |
| ",function(a,b){return a+D(b)},\"Predicates:\");a+=D(b)}return a};functi", |
| "on Pa(a,b,c,d){this.i=a;this.H=b;this.A=c;this.la=d}Pa.prototype.toStri", |
| "ng=function(){return this.i};var Qa={};function V(a,b,c,d){if(Qa.hasOwn", |
| "Property(a))throw Error(\"Axis already created: \"+a);b=new Pa(a,b,c,!!", |
| "d);return Qa[a]=b}\nV(\"ancestor\",function(a,b){for(var c=new z,d=b;d=", |
| "d.parentNode;)a.matches(d)&&c.unshift(d);return c},!0);V(\"ancestor-or-", |
| "self\",function(a,b){var c=new z,d=b;do a.matches(d)&&c.unshift(d);whil", |
| "e(d=d.parentNode);return c},!0);\nvar Ja=V(\"attribute\",function(a,b){", |
| "var c=new z,d=a.getName(),e=b.attributes;if(e)if(a instanceof A&&null==", |
| "=a.B||\"*\"==d)for(var d=0,f;f=e[d];d++)c.add(f);else(f=e.getNamedItem(", |
| "d))&&c.add(f);return c},!1),Na=V(\"child\",function(a,b,c,d,e){return w", |
| "a.call(null,a,b,h(c)?c:null,h(d)?d:null,e||new z)},!1,!0);V(\"descendan", |
| "t\",y,!1,!0);\nvar Oa=V(\"descendant-or-self\",function(a,b,c,d){var e=", |
| "new z;x(b,c,d)&&a.matches(b)&&e.add(b);return y(a,b,c,d,e)},!1,!0),La=V", |
| "(\"following\",function(a,b,c,d){var e=new z;do for(var f=b;f=f.nextSib", |
| "ling;)x(f,c,d)&&a.matches(f)&&e.add(f),e=y(a,f,c,d,e);while(b=b.parentN", |
| "ode);return e},!1,!0);V(\"following-sibling\",function(a,b){for(var c=n", |
| "ew z,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d);return c},!1);V(\"name", |
| "space\",function(){return new z},!1);\nvar Ra=V(\"parent\",function(a,b", |
| "){var c=new z;if(9==b.nodeType)return c;if(2==b.nodeType)return c.add(b", |
| ".ownerElement),c;var d=b.parentNode;a.matches(d)&&c.add(d);return c},!1", |
| "),Ma=V(\"preceding\",function(a,b,c,d){var e=new z,f=[];do f.unshift(b)", |
| ";while(b=b.parentNode);for(var g=1,k=f.length;g<k;g++){var w=[];for(b=f", |
| "[g];b=b.previousSibling;)w.unshift(b);for(var la=0,db=w.length;la<db;la", |
| "++)b=w[la],x(b,c,d)&&a.matches(b)&&e.add(b),e=y(a,b,c,d,e)}return e},!0", |
| ",!0);\nV(\"preceding-sibling\",function(a,b){for(var c=new z,d=b;d=d.pr", |
| "eviousSibling;)a.matches(d)&&c.unshift(d);return c},!0);var Sa=V(\"self", |
| "\",function(a,b){var c=new z;a.matches(b)&&c.add(b);return c},!1);funct", |
| "ion W(a){m.call(this,1);this.U=a;this.o=a.c();this.h=a.h}l(W);W.prototy", |
| "pe.evaluate=function(a){return-E(this.U,a)};W.prototype.toString=functi", |
| "on(){return\"Unary Expression: -\"+D(this.U)};function X(a){m.call(this", |
| ",4);this.K=a;Aa(this,q(this.K,function(a){return a.c()}));Ba(this,q(thi", |
| "s.K,function(a){return a.h}))}l(X);X.prototype.evaluate=function(a){var", |
| " b=new z;n(this.K,function(c){c=c.evaluate(a);if(!(c instanceof z))thro", |
| "w Error(\"Path expression must evaluate to NodeSet.\");b=ya(b,c)});retu", |
| "rn b};X.prototype.toString=function(){return p(this.K,function(a,b){ret", |
| "urn a+D(b)},\"Union Expression:\")};function Ta(a,b){this.a=a;this.ia=b", |
| "}function Ua(a){for(var b,c=[];;){Y(a,\"Missing right hand side of bina", |
| "ry expression.\");b=Va(a);var d=a.a.next();if(!d)break;var e=(d=Ea[d]||", |
| "null)&&d.Z;if(!e){a.a.back();break}for(;c.length&&e<=c[c.length-1].Z;)b", |
| "=new H(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new H(c.pop(),c.", |
| "pop(),b);return b}function Y(a,b){if(a.a.empty())throw Error(b);}functi", |
| "on Wa(a,b){var c=a.a.next();if(c!=b)throw Error(\"Bad token, expected: ", |
| "\"+b+\" got: \"+c);}\nfunction Xa(a){a=a.a.next();if(\")\"!=a)throw Err", |
| "or(\"Bad token: \"+a);}function Ya(a){a=a.a.next();if(2>a.length)throw ", |
| "Error(\"Unclosed literal string\");return new N(a)}\nfunction Za(a){var", |
| " b,c=[],d;if(Ka(u(a.a))){b=a.a.next();d=u(a.a);if(\"/\"==b&&(a.a.empty(", |
| ")||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))", |
| "return new R;d=new R;Y(a,\"Missing next location step.\");b=$a(a,b);c.p", |
| "ush(b)}else{a:{b=u(a.a);d=b.charAt(0);switch(d){case \"$\":throw Error(", |
| "\"Variable reference not allowed in HTML XPath\");case \"(\":a.a.next()", |
| ";b=Ua(a);Y(a,'unclosed \"(\"');Wa(a,\")\");break;case '\"':case \"'\":b", |
| "=Ya(a);break;default:if(isNaN(+b))if(!Ia(b)&&/(?![0-9])[\\w]/.test(d)&&", |
| "\"(\"==u(a.a,1)){b=\na.a.next();b=Ha[b]||null;a.a.next();for(d=[];\")\"", |
| "!=u(a.a);){Y(a,\"Missing function argument list.\");d.push(Ua(a));if(\"", |
| ",\"!=u(a.a))break;a.a.next()}Y(a,\"Unclosed function argument list.\");", |
| "Xa(a);b=new L(b,d)}else{b=null;break a}else b=new P(+a.a.next())}\"[\"=", |
| "=u(a.a)&&(d=new T(ab(a)),b=new K(b,d))}if(b)if(Ka(u(a.a)))d=b;else retu", |
| "rn b;else b=$a(a,\"/\"),d=new S,c.push(b)}for(;Ka(u(a.a));)b=a.a.next()", |
| ",Y(a,\"Missing next location step.\"),b=$a(a,b),c.push(b);return new Q(", |
| "d,c)}\nfunction $a(a,b){var c,d,e;if(\"/\"!=b&&\"//\"!=b)throw Error('S", |
| "tep op should be \"/\" or \"//\"');if(\".\"==u(a.a))return d=new U(Sa,n", |
| "ew A(\"node\")),a.a.next(),d;if(\"..\"==u(a.a))return d=new U(Ra,new A(", |
| "\"node\")),a.a.next(),d;var f;if(\"@\"==u(a.a))f=Ja,a.a.next(),Y(a,\"Mi", |
| "ssing attribute name\");else if(\"::\"==u(a.a,1)){if(!/(?![0-9])[\\w]/.", |
| "test(u(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());c=a.a.ne", |
| "xt();f=Qa[c]||null;if(!f)throw Error(\"No axis with name: \"+c);a.a.nex", |
| "t();Y(a,\"Missing node name\")}else f=Na;\nc=u(a.a);if(/(?![0-9])[\\w", |
| "\\*]/.test(c.charAt(0)))if(\"(\"==u(a.a,1)){if(!Ia(c))throw Error(\"Inv", |
| "alid node type: \"+c);c=a.a.next();if(!Ia(c))throw Error(\"Invalid type", |
| " name: \"+c);Wa(a,\"(\");Y(a,\"Bad nodetype\");e=u(a.a).charAt(0);var g", |
| "=null;if('\"'==e||\"'\"==e)g=Ya(a);Y(a,\"Bad nodetype\");Xa(a);c=new A(", |
| "c,g)}else if(c=a.a.next(),e=c.indexOf(\":\"),-1==e)c=new O(c);else{var ", |
| "g=c.substring(0,e),k;if(\"*\"==g)k=\"*\";else if(k=a.ia(g),!k)throw Err", |
| "or(\"Namespace prefix not declared: \"+g);c=c.substr(e+1);c=new O(c,k)}", |
| "else throw Error(\"Bad token: \"+\na.a.next());e=new T(ab(a),f.A);retur", |
| "n d||new U(f,c,e,\"//\"==b)}function ab(a){for(var b=[];\"[\"==u(a.a);)", |
| "{a.a.next();Y(a,\"Missing predicate expression.\");var c=Ua(a);b.push(c", |
| ");Y(a,\"Unclosed predicate expression.\");Wa(a,\"]\")}return b}function", |
| " Va(a){if(\"-\"==u(a.a))return a.a.next(),new W(Va(a));var b=Za(a);if(", |
| "\"|\"!=u(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)Y(a,\"Missing next ", |
| "union location path.\"),b.push(Za(a));a.a.back();a=new X(b)}return a};f", |
| "unction bb(a){switch(a.nodeType){case 1:return ja(cb,a);case 9:return b", |
| "b(a.documentElement);case 11:case 10:case 6:case 12:return eb;default:r", |
| "eturn a.parentNode?bb(a.parentNode):eb}}function eb(){return null}funct", |
| "ion cb(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3.org/1", |
| "999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.specifie", |
| "d?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?cb(a.parentNode,", |
| "b):null};function fb(a,b){if(!a.length)throw Error(\"Empty XPath expres", |
| "sion.\");var c=ra(a);if(c.empty())throw Error(\"Invalid XPath expressio", |
| "n.\");b?\"function\"==fa(b)||(b=ia(b.lookupNamespaceURI,b)):b=function(", |
| "){return null};var d=Ua(new Ta(c,b));if(!c.empty())throw Error(\"Bad to", |
| "ken: \"+c.next());this.evaluate=function(a,b){var c=d.evaluate(new r(a)", |
| ");return new Z(c,b)}}\nfunction Z(a,b){if(0==b)if(a instanceof z)b=4;el", |
| "se if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if", |
| "(\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evaluation res", |
| "ult.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof z))throw Error(\"value coul", |
| "d not be converted to the specified type\");this.resultType=b;var c;swi", |
| "tch(b){case 2:this.stringValue=a instanceof z?C(a):\"\"+a;break;case 1:", |
| "this.numberValue=a instanceof z?+C(a):+a;break;case 3:this.booleanValue", |
| "=a instanceof z?0<a.m():!!a;break;case 4:case 5:case 6:case 7:var d=\na", |
| ".iterator();c=[];for(var e=d.next();e;e=d.next())c.push(e);this.snapsho", |
| "tLength=a.m();this.invalidIteratorState=!1;break;case 8:case 9:this.sin", |
| "gleNodeValue=B(a);break;default:throw Error(\"Unknown XPathResult type.", |
| "\");}var f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw Error(\"it", |
| "erateNext called with wrong result type\");return f>=c.length?null:c[f+", |
| "+]};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotI", |
| "tem called with wrong result type\");return a>=c.length||0>a?null:c[a]}", |
| "}\nZ.ANY_TYPE=0;Z.NUMBER_TYPE=1;Z.STRING_TYPE=2;Z.BOOLEAN_TYPE=3;Z.UNOR", |
| "DERED_NODE_ITERATOR_TYPE=4;Z.ORDERED_NODE_ITERATOR_TYPE=5;Z.UNORDERED_N", |
| "ODE_SNAPSHOT_TYPE=6;Z.ORDERED_NODE_SNAPSHOT_TYPE=7;Z.ANY_UNORDERED_NODE", |
| "_TYPE=8;Z.FIRST_ORDERED_NODE_TYPE=9;function gb(a){this.lookupNamespace", |
| "URI=bb(a)}\nea(\"wgxpath.install\",function(a,b){var c=a||da,d=c.Docume", |
| "nt&&c.Document.prototype||c.document;if(!d.evaluate||b)c.XPathResult=Z,", |
| "d.evaluate=function(a,b,c,d){return(new fb(a,c)).evaluate(b,d)},d.creat", |
| "eExpression=function(a,b){return new fb(a,b)},d.createNSResolver=functi", |
| "on(a){return new gb(a)}});ea(\"_\",function(a){a=9==a.nodeType?a:a.owne", |
| "rDocument||a.document;var b=a.documentElement;return a.width/Math.max(b", |
| ".clientWidth,b.offsetWidth,b.scrollWidth)});; return this._.apply(null,", |
| "arguments);}.apply({navigator:typeof window!='undefined'?window.navigat", |
| "or:null,document:typeof window!='undefined'?window.document:null}, argu", |
| "ments);}", |
| NULL |
| }; |
| |
| const char* const IS_ELEMENT_CLICKABLE[] = { |
| "function(){return function(){var aa=\"function\"==typeof Object.defineP", |
| "roperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw n", |
| "ew TypeError(\"ES3 does not support getters and setters.\");a!=Array.pr", |
| "ototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeof ", |
| "window&&window===this?this:\"undefined\"!=typeof global?global:this;\nf", |
| "unction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1;e+", |
| "+){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!", |
| "=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"Stri", |
| "ng.prototype.repeat\",function(a){return a?a:function(a){var c;if(null=", |
| "=this)throw new TypeError(\"The 'this' value for String.prototype.repea", |
| "t must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)thr", |
| "ow new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if(a&", |
| "1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){return a", |
| "?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var da=", |
| "this;\nfunction ea(a,b){var c=a.split(\".\"),d=da;c[0]in d||!d.execScri", |
| "pt||d.execScript(\"var \"+c[0]);for(var e;c.length&&(e=c.shift());)c.le", |
| "ngth||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b}\nfunction fa(a){var b=type", |
| "of a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ", |
| "instanceof Object)return b;var c=Object.prototype.toString.call(a);if(", |
| "\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"num", |
| "ber\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=", |
| "typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))retu", |
| "rn\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&", |
| "\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(", |
| "\"call\"))return\"function\"}else return\"null\";\nelse if(\"function\"", |
| "==b&&\"undefined\"==typeof a.call)return\"object\";return b}function h(", |
| "a){return\"string\"==typeof a}function ga(a,b,c){return a.call.apply(a.", |
| "bind,arguments)}function ha(a,b,c){if(!a)throw Error();if(2<arguments.l", |
| "ength){var d=Array.prototype.slice.call(arguments,2);return function(){", |
| "var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.app", |
| "ly(c,d);return a.apply(b,c)}}return function(){return a.apply(b,argumen", |
| "ts)}}\nfunction ia(a,b,c){ia=Function.prototype.bind&&-1!=Function.prot", |
| "otype.bind.toString().indexOf(\"native code\")?ga:ha;return ia.apply(nu", |
| "ll,arguments)}function ja(a,b){var c=Array.prototype.slice.call(argumen", |
| "ts,1);return function(){var b=c.slice();b.push.apply(b,arguments);retur", |
| "n a.apply(this,b)}}\nfunction l(a){var b=m;function c(){}c.prototype=b.", |
| "prototype;a.na=b.prototype;a.prototype=new c;a.prototype.constructor=a;", |
| "a.ma=function(a,c,f){for(var g=Array(arguments.length-2),k=2;k<argument", |
| "s.length;k++)g[k-2]=arguments[k];return b.prototype[c].apply(a,g)}};fun", |
| "ction n(a,b){for(var c=a.length,d=h(a)?a.split(\"\"):a,e=0;e<c;e++)e in", |
| " d&&b.call(void 0,d[e],e,a)}function p(a,b,c){var d=c;n(a,function(c,f)", |
| "{d=b.call(void 0,d,c,f,a)});return d}function q(a,b){for(var c=a.length", |
| ",d=h(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))", |
| "return!0;return!1}function ka(a){return Array.prototype.concat.apply(Ar", |
| "ray.prototype,arguments)}function ma(a,b,c){return 2>=arguments.length?", |
| "Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};func", |
| "tion na(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==", |
| "b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)ret", |
| "urn a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentN", |
| "ode;return b==a}\nfunction oa(a,b){if(a==b)return 0;if(a.compareDocumen", |
| "tPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"", |
| "in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeType", |
| ",d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.par", |
| "entNode,f=b.parentNode;return e==f?pa(a,b):!c&&na(e,b)?-1*qa(a,b):!d&&n", |
| "a(f,a)?qa(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourc", |
| "eIndex)}d=9==a.nodeType?a:a.ownerDocument||a.document;c=d.createRange()", |
| ";c.selectNode(a);c.collapse(!0);\nd=d.createRange();d.selectNode(b);d.c", |
| "ollapse(!0);return c.compareBoundaryPoints(da.Range.START_TO_END,d)}fun", |
| "ction qa(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentN", |
| "ode!=c;)d=d.parentNode;return pa(d,a)}function pa(a,b){for(var c=b;c=c.", |
| "previousSibling;)if(c==a)return-1;return 1};/*\n\n The MIT License\n\n ", |
| "Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n", |
| "\n Permission is hereby granted, free of charge, to any person obtainin", |
| "g a copy\n of this software and associated documentation files (the \"S", |
| "oftware\"), to\n deal in the Software without restriction, including wi", |
| "thout limitation the\n rights to use, copy, modify, merge, publish, dis", |
| "tribute, sublicense, and/or\n sell copies of the Software, and to permi", |
| "t persons to whom the Software is\n furnished to do so, subject to the ", |
| "following conditions:\n\n The above copyright notice and this permissio", |
| "n notice shall be included in\n all copies or substantial portions of t", |
| "he Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY O", |
| "F ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR", |
| "ANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONIN", |
| "FRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIA", |
| "BLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION O", |
| "F CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION ", |
| "WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\n", |
| "function r(a,b,c){this.l=a;this.ka=b||1;this.j=c||1};function t(a){this", |
| ".S=a;this.I=0}function ra(a){a=a.match(sa);for(var b=0;b<a.length;b++)t", |
| "a.test(a[b])&&a.splice(b,1);return new t(a)}var sa=RegExp(\"\\\\$?(?:(?", |
| "![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.])(?:\\\\*|[\\\\w-", |
| "\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+|", |
| "\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),ta=/^\\s/;function u(", |
| "a,b){return a.S[a.I+(b||0)]}t.prototype.next=function(){return this.S[t", |
| "his.I++]};t.prototype.back=function(){this.I--};t.prototype.empty=funct", |
| "ion(){return this.S.length<=this.I};function v(a){var b=null,c=a.nodeTy", |
| "pe;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==", |
| "b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.docu", |
| "mentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&", |
| "(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].next", |
| "Sibling););}}else b=a.nodeValue;return\"\"+b}\nfunction x(a,b,c){if(nul", |
| "l===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return", |
| " null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function y(a,b,c,d,", |
| "e){return ua.call(null,a,b,h(c)?c:null,h(d)?d:null,e||new z)}\nfunction", |
| " ua(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByNa", |
| "me(d),n(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassNam", |
| "e&&d&&\"class\"==c?(b=b.getElementsByClassName(d),n(b,function(b){b.cla", |
| "ssName==d&&a.matches(b)&&e.add(b)})):a instanceof A?va(a,b,c,d,e):b.get", |
| "ElementsByTagName&&(b=b.getElementsByTagName(a.getName()),n(b,function(", |
| "a){x(a,c,d)&&e.add(a)}));return e}function wa(a,b,c,d,e){for(b=b.firstC", |
| "hild;b;b=b.nextSibling)x(b,c,d)&&a.matches(b)&&e.add(b);return e}\nfunc", |
| "tion va(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)x(b,c,d)&&a.mat", |
| "ches(b)&&e.add(b),va(a,b,c,d,e)};function z(){this.j=this.g=null;this.D", |
| "=0}function xa(a){this.node=a;this.next=this.w=null}function ya(a,b){if", |
| "(!a.g)return b;if(!b.g)return a;for(var c=a.g,d=b.g,e=null,f,g=0;c&&d;)", |
| "c.node==d.node?(f=c,c=c.next,d=d.next):0<oa(c.node,d.node)?(f=d,d=d.nex", |
| "t):(f=c,c=c.next),(f.w=e)?e.next=f:a.g=f,e=f,g++;for(f=c||d;f;)f.w=e,e=", |
| "e.next=f,g++,f=f.next;a.j=e;a.D=g;return a}z.prototype.unshift=function", |
| "(a){a=new xa(a);a.next=this.g;this.j?this.g.w=a:this.g=this.j=a;this.g=", |
| "a;this.D++};\nz.prototype.add=function(a){a=new xa(a);a.w=this.j;this.g", |
| "?this.j.next=a:this.g=this.j=a;this.j=a;this.D++};function B(a){return(", |
| "a=a.g)?a.node:null}z.prototype.m=function(){return this.D};function C(a", |
| "){return(a=B(a))?v(a):\"\"}z.prototype.iterator=function(a){return new ", |
| "za(this,!!a)};function za(a,b){this.ga=a;this.T=(this.A=b)?a.j:a.g;this", |
| ".O=null}za.prototype.next=function(){var a=this.T;if(null==a)return nul", |
| "l;var b=this.O=a;this.T=this.A?a.w:a.next;return b.node};\nza.prototype", |
| ".remove=function(){var a=this.ga,b=this.O;if(!b)throw Error(\"Next must", |
| " be called at least once before remove.\");var c=b.w,b=b.next;c?c.next=", |
| "b:a.g=b;b?b.w=c:a.j=c;a.D--;this.O=null};function m(a){this.f=a;this.h=", |
| "this.o=!1;this.F=null}function D(a){return\"\\n \"+a.toString().split(", |
| "\"\\n\").join(\"\\n \")}m.prototype.c=function(){return this.o};functi", |
| "on Aa(a,b){a.o=b}function Ba(a,b){a.h=b}m.prototype.u=function(){return", |
| " this.F};function E(a,b){var c=a.evaluate(b);return c instanceof z?+C(c", |
| "):+c}function F(a,b){var c=a.evaluate(b);return c instanceof z?C(c):\"", |
| "\"+c}function G(a,b){var c=a.evaluate(b);return c instanceof z?!!c.m():", |
| "!!c};function H(a,b,c){m.call(this,a.f);this.R=a;this.W=b;this.aa=c;thi", |
| "s.o=b.c()||c.c();this.h=b.h||c.h;this.R==Ca&&(c.h||c.c()||4==c.f||0==c.", |
| "f||!b.u()?b.h||b.c()||4==b.f||0==b.f||!c.u()||(this.F={name:c.u().name,", |
| "C:b}):this.F={name:b.u().name,C:c})}l(H);\nfunction I(a,b,c,d,e){b=b.ev", |
| "aluate(d);c=c.evaluate(d);var f;if(b instanceof z&&c instanceof z){b=b.", |
| "iterator();for(d=b.next();d;d=b.next())for(e=c.iterator(),f=e.next();f;", |
| "f=e.next())if(a(v(d),v(f)))return!0;return!1}if(b instanceof z||c insta", |
| "nceof z){b instanceof z?(e=b,d=c):(e=c,d=b);f=e.iterator();for(var g=ty", |
| "peof d,k=f.next();k;k=f.next()){switch(g){case \"number\":k=+v(k);break", |
| ";case \"boolean\":k=!!v(k);break;case \"string\":k=v(k);break;default:t", |
| "hrow Error(\"Illegal primitive type for comparison.\");\n}if(e==b&&a(k,", |
| "d)||e==c&&a(d,k))return!0}return!1}return e?\"boolean\"==typeof b||\"bo", |
| "olean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==typeof c", |
| "?a(+b,+c):a(b,c):a(+b,+c)}H.prototype.evaluate=function(a){return this.", |
| "R.v(this.W,this.aa,a)};H.prototype.toString=function(){var a=\"Binary E", |
| "xpression: \"+this.R,a=a+D(this.W);return a+=D(this.aa)};function Da(a,", |
| "b,c,d){this.ja=a;this.Z=b;this.f=c;this.v=d}Da.prototype.toString=funct", |
| "ion(){return this.ja};var Ea={};\nfunction J(a,b,c,d){if(Ea.hasOwnPrope", |
| "rty(a))throw Error(\"Binary operator already created: \"+a);a=new Da(a,", |
| "b,c,d);return Ea[a.toString()]=a}J(\"div\",6,1,function(a,b,c){return E", |
| "(a,c)/E(b,c)});J(\"mod\",6,1,function(a,b,c){return E(a,c)%E(b,c)});J(", |
| "\"*\",6,1,function(a,b,c){return E(a,c)*E(b,c)});J(\"+\",5,1,function(a", |
| ",b,c){return E(a,c)+E(b,c)});J(\"-\",5,1,function(a,b,c){return E(a,c)-", |
| "E(b,c)});J(\"<\",4,2,function(a,b,c){return I(function(a,b){return a<b}", |
| ",a,b,c)});\nJ(\">\",4,2,function(a,b,c){return I(function(a,b){return a", |
| ">b},a,b,c)});J(\"<=\",4,2,function(a,b,c){return I(function(a,b){return", |
| " a<=b},a,b,c)});J(\">=\",4,2,function(a,b,c){return I(function(a,b){ret", |
| "urn a>=b},a,b,c)});var Ca=J(\"=\",3,2,function(a,b,c){return I(function", |
| "(a,b){return a==b},a,b,c,!0)});J(\"!=\",3,2,function(a,b,c){return I(fu", |
| "nction(a,b){return a!=b},a,b,c,!0)});J(\"and\",2,2,function(a,b,c){retu", |
| "rn G(a,c)&&G(b,c)});J(\"or\",1,2,function(a,b,c){return G(a,c)||G(b,c)}", |
| ");function K(a,b){if(b.m()&&4!=a.f)throw Error(\"Primary expression mus", |
| "t evaluate to nodeset if filter has predicate(s).\");m.call(this,a.f);t", |
| "his.$=a;this.b=b;this.o=a.c();this.h=a.h}l(K);K.prototype.evaluate=func", |
| "tion(a){a=this.$.evaluate(a);return Fa(this.b,a)};K.prototype.toString=", |
| "function(){var a;a=\"Filter:\"+D(this.$);return a+=D(this.b)};function ", |
| "L(a,b){if(b.length<a.Y)throw Error(\"Function \"+a.i+\" expects at leas", |
| "t\"+a.Y+\" arguments, \"+b.length+\" given\");if(null!==a.P&&b.length>a", |
| ".P)throw Error(\"Function \"+a.i+\" expects at most \"+a.P+\" arguments", |
| ", \"+b.length+\" given\");a.ha&&n(b,function(b,d){if(4!=b.f)throw Error", |
| "(\"Argument \"+d+\" to function \"+a.i+\" is not of type Nodeset: \"+b)", |
| ";});m.call(this,a.f);this.H=a;this.M=b;Aa(this,a.o||q(b,function(a){ret", |
| "urn a.c()}));Ba(this,a.fa&&!b.length||a.ea&&!!b.length||q(b,function(a)", |
| "{return a.h}))}l(L);\nL.prototype.evaluate=function(a){return this.H.v.", |
| "apply(null,ka(a,this.M))};L.prototype.toString=function(){var a=\"Funct", |
| "ion: \"+this.H;if(this.M.length)var b=p(this.M,function(a,b){return a+D", |
| "(b)},\"Arguments:\"),a=a+D(b);return a};function Ga(a,b,c,d,e,f,g,k,w){", |
| "this.i=a;this.f=b;this.o=c;this.fa=d;this.ea=e;this.v=f;this.Y=g;this.P", |
| "=void 0!==k?k:g;this.ha=!!w}Ga.prototype.toString=function(){return thi", |
| "s.i};var Ha={};\nfunction M(a,b,c,d,e,f,g,k){if(Ha.hasOwnProperty(a))th", |
| "row Error(\"Function already created: \"+a+\".\");Ha[a]=new Ga(a,b,c,d,", |
| "!1,e,f,g,k)}M(\"boolean\",2,!1,!1,function(a,b){return G(b,a)},1);M(\"c", |
| "eiling\",1,!1,!1,function(a,b){return Math.ceil(E(b,a))},1);M(\"concat", |
| "\",3,!1,!1,function(a,b){return p(ma(arguments,1),function(b,d){return ", |
| "b+F(d,a)},\"\")},2,null);M(\"contains\",2,!1,!1,function(a,b,c){b=F(b,a", |
| ");a=F(c,a);return-1!=b.indexOf(a)},2);M(\"count\",1,!1,!1,function(a,b)", |
| "{return b.evaluate(a).m()},1,1,!0);\nM(\"false\",2,!1,!1,function(){ret", |
| "urn!1},0);M(\"floor\",1,!1,!1,function(a,b){return Math.floor(E(b,a))},", |
| "1);M(\"id\",4,!1,!1,function(a,b){var c=a.l,d=9==c.nodeType?c:c.ownerDo", |
| "cument,c=F(b,a).split(/\\s+/),e=[];n(c,function(a){a=d.getElementById(a", |
| ");var b;if(!(b=!a)){a:if(h(e))b=h(a)&&1==a.length?e.indexOf(a,0):-1;els", |
| "e{for(b=0;b<e.length;b++)if(b in e&&e[b]===a)break a;b=-1}b=0<=b}b||e.p", |
| "ush(a)});e.sort(oa);var f=new z;n(e,function(a){f.add(a)});return f},1)", |
| ";M(\"lang\",2,!1,!1,function(){return!1},1);\nM(\"last\",1,!0,!1,functi", |
| "on(a){if(1!=arguments.length)throw Error(\"Function last expects ()\");", |
| "return a.j},0);M(\"local-name\",3,!1,!0,function(a,b){var c=b?B(b.evalu", |
| "ate(a)):a.l;return c?c.localName||c.nodeName.toLowerCase():\"\"},0,1,!0", |
| ");M(\"name\",3,!1,!0,function(a,b){var c=b?B(b.evaluate(a)):a.l;return ", |
| "c?c.nodeName.toLowerCase():\"\"},0,1,!0);M(\"namespace-uri\",3,!0,!1,fu", |
| "nction(){return\"\"},0,1,!0);\nM(\"normalize-space\",3,!1,!0,function(a", |
| ",b){return(b?F(b,a):v(a.l)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s", |
| "+|\\s+$/g,\"\")},0,1);M(\"not\",2,!1,!1,function(a,b){return!G(b,a)},1)", |
| ";M(\"number\",1,!1,!0,function(a,b){return b?E(b,a):+v(a.l)},0,1);M(\"p", |
| "osition\",1,!0,!1,function(a){return a.ka},0);M(\"round\",1,!1,!1,funct", |
| "ion(a,b){return Math.round(E(b,a))},1);M(\"starts-with\",2,!1,!1,functi", |
| "on(a,b,c){b=F(b,a);a=F(c,a);return 0==b.lastIndexOf(a,0)},2);M(\"string", |
| "\",3,!1,!0,function(a,b){return b?F(b,a):v(a.l)},0,1);\nM(\"string-leng", |
| "th\",1,!1,!0,function(a,b){return(b?F(b,a):v(a.l)).length},0,1);M(\"sub", |
| "string\",3,!1,!1,function(a,b,c,d){c=E(c,a);if(isNaN(c)||Infinity==c||-", |
| "Infinity==c)return\"\";d=d?E(d,a):Infinity;if(isNaN(d)||-Infinity===d)r", |
| "eturn\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=F(b,a);return Infinit", |
| "y==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);M(\"substring-", |
| "after\",3,!1,!1,function(a,b,c){b=F(b,a);a=F(c,a);c=b.indexOf(a);return", |
| "-1==c?\"\":b.substring(c+a.length)},2);\nM(\"substring-before\",3,!1,!1", |
| ",function(a,b,c){b=F(b,a);a=F(c,a);a=b.indexOf(a);return-1==a?\"\":b.su", |
| "bstring(0,a)},2);M(\"sum\",1,!1,!1,function(a,b){for(var c=b.evaluate(a", |
| ").iterator(),d=0,e=c.next();e;e=c.next())d+=+v(e);return d},1,1,!0);M(", |
| "\"translate\",3,!1,!1,function(a,b,c,d){b=F(b,a);c=F(c,a);var e=F(d,a);", |
| "a={};for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d", |
| "))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return ", |
| "c},3);M(\"true\",2,!1,!1,function(){return!0},0);function A(a,b){this.c", |
| "a=a;this.X=void 0!==b?b:null;this.B=null;switch(a){case \"comment\":thi", |
| "s.B=8;break;case \"text\":this.B=3;break;case \"processing-instruction", |
| "\":this.B=7;break;case \"node\":break;default:throw Error(\"Unexpected ", |
| "argument\");}}function Ia(a){return\"comment\"==a||\"text\"==a||\"proce", |
| "ssing-instruction\"==a||\"node\"==a}A.prototype.matches=function(a){ret", |
| "urn null===this.B||this.B==a.nodeType};A.prototype.getName=function(){r", |
| "eturn this.ca};\nA.prototype.toString=function(){var a=\"Kind Test: \"+", |
| "this.ca;null===this.X||(a+=D(this.X));return a};function N(a){m.call(th", |
| "is,3);this.ba=a.substring(1,a.length-1)}l(N);N.prototype.evaluate=funct", |
| "ion(){return this.ba};N.prototype.toString=function(){return\"Literal: ", |
| "\"+this.ba};function O(a,b){this.i=a.toLowerCase();var c;c=\"*\"==this.", |
| "i?\"*\":\"http://www.w3.org/1999/xhtml\";this.J=b?b.toLowerCase():c}O.p", |
| "rototype.matches=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=", |
| "void 0!==a.localName?a.localName:a.nodeName;return\"*\"!=this.i&&this.i", |
| "!=b.toLowerCase()?!1:\"*\"==this.J?!0:this.J==(a.namespaceURI?a.namespa", |
| "ceURI.toLowerCase():\"http://www.w3.org/1999/xhtml\")};O.prototype.getN", |
| "ame=function(){return this.i};\nO.prototype.toString=function(){return", |
| "\"Name Test: \"+(\"http://www.w3.org/1999/xhtml\"==this.J?\"\":this.J+", |
| "\":\")+this.i};function P(a){m.call(this,1);this.da=a}l(P);P.prototype.", |
| "evaluate=function(){return this.da};P.prototype.toString=function(){ret", |
| "urn\"Number: \"+this.da};function Q(a,b){m.call(this,a.f);this.V=a;this", |
| ".G=b;this.o=a.c();this.h=a.h;if(1==this.G.length){var c=this.G[0];c.N||", |
| "c.s!=Ja||(c=c.L,\"*\"!=c.getName()&&(this.F={name:c.getName(),C:null}))", |
| "}}l(Q);function R(){m.call(this,4)}l(R);R.prototype.evaluate=function(a", |
| "){var b=new z;a=a.l;9==a.nodeType?b.add(a):b.add(a.ownerDocument);retur", |
| "n b};R.prototype.toString=function(){return\"Root Helper Expression\"};", |
| "function S(){m.call(this,4)}l(S);S.prototype.evaluate=function(a){var b", |
| "=new z;b.add(a.l);return b};\nS.prototype.toString=function(){return\"C", |
| "ontext Helper Expression\"};function Ka(a){return\"/\"==a||\"//\"==a}\n", |
| "Q.prototype.evaluate=function(a){var b=this.V.evaluate(a);if(!(b instan", |
| "ceof z))throw Error(\"Filter expression must evaluate to nodeset.\");a=", |
| "this.G;for(var c=0,d=a.length;c<d&&b.m();c++){var e=a[c],f=b.iterator(e", |
| ".s.A),g;if(e.c()||e.s!=La)if(e.c()||e.s!=Ma)for(g=f.next(),b=e.evaluate", |
| "(new r(g));null!=(g=f.next());)g=e.evaluate(new r(g)),b=ya(b,g);else g=", |
| "f.next(),b=e.evaluate(new r(g));else{for(g=f.next();(b=f.next())&&(!g.c", |
| "ontains||g.contains(b))&&b.compareDocumentPosition(g)&8;g=b);b=e.evalua", |
| "te(new r(g))}}return b};\nQ.prototype.toString=function(){var a;a=\"Pat", |
| "h Expression:\"+D(this.V);if(this.G.length){var b=p(this.G,function(a,b", |
| "){return a+D(b)},\"Steps:\");a+=D(b)}return a};function T(a,b){this.b=a", |
| ";this.A=!!b}function Fa(a,b,c){for(c=c||0;c<a.b.length;c++)for(var d=a.", |
| "b[c],e=b.iterator(),f=b.m(),g,k=0;g=e.next();k++){var w=a.A?f-k:k+1;g=d", |
| ".evaluate(new r(g,w,f));if(\"number\"==typeof g)w=w==g;else if(\"string", |
| "\"==typeof g||\"boolean\"==typeof g)w=!!g;else if(g instanceof z)w=0<g.", |
| "m();else throw Error(\"Predicate.evaluate returned an unexpected type.", |
| "\");w||e.remove()}return b}T.prototype.u=function(){return 0<this.b.len", |
| "gth?this.b[0].u():null};\nT.prototype.c=function(){for(var a=0;a<this.b", |
| ".length;a++){var b=this.b[a];if(b.c()||1==b.f||0==b.f)return!0}return!1", |
| "};T.prototype.m=function(){return this.b.length};T.prototype.toString=f", |
| "unction(){return p(this.b,function(a,b){return a+D(b)},\"Predicates:\")", |
| "};function U(a,b,c,d){m.call(this,4);this.s=a;this.L=b;this.b=c||new T(", |
| "[]);this.N=!!d;b=this.b.u();a.la&&b&&(this.F={name:b.name,C:b.C});this.", |
| "o=this.b.c()}l(U);\nU.prototype.evaluate=function(a){var b=a.l,c=this.u", |
| "(),d=null,e=null,f=0;c&&(d=c.name,e=c.C?F(c.C,a):null,f=1);if(this.N)if", |
| "(this.c()||this.s!=Na)if(b=(new U(Oa,new A(\"node\"))).evaluate(a).iter", |
| "ator(),c=b.next())for(a=this.v(c,d,e,f);null!=(c=b.next());)a=ya(a,this", |
| ".v(c,d,e,f));else a=new z;else a=y(this.L,b,d,e),a=Fa(this.b,a,f);else ", |
| "a=this.v(a.l,d,e,f);return a};U.prototype.v=function(a,b,c,d){a=this.s.", |
| "H(this.L,a,b,c);return a=Fa(this.b,a,d)};\nU.prototype.toString=functio", |
| "n(){var a;a=\"Step:\"+D(\"Operator: \"+(this.N?\"//\":\"/\"));this.s.i&", |
| "&(a+=D(\"Axis: \"+this.s));a+=D(this.L);if(this.b.m()){var b=p(this.b.b", |
| ",function(a,b){return a+D(b)},\"Predicates:\");a+=D(b)}return a};functi", |
| "on Pa(a,b,c,d){this.i=a;this.H=b;this.A=c;this.la=d}Pa.prototype.toStri", |
| "ng=function(){return this.i};var Qa={};function V(a,b,c,d){if(Qa.hasOwn", |
| "Property(a))throw Error(\"Axis already created: \"+a);b=new Pa(a,b,c,!!", |
| "d);return Qa[a]=b}\nV(\"ancestor\",function(a,b){for(var c=new z,d=b;d=", |
| "d.parentNode;)a.matches(d)&&c.unshift(d);return c},!0);V(\"ancestor-or-", |
| "self\",function(a,b){var c=new z,d=b;do a.matches(d)&&c.unshift(d);whil", |
| "e(d=d.parentNode);return c},!0);\nvar Ja=V(\"attribute\",function(a,b){", |
| "var c=new z,d=a.getName(),e=b.attributes;if(e)if(a instanceof A&&null==", |
| "=a.B||\"*\"==d)for(var d=0,f;f=e[d];d++)c.add(f);else(f=e.getNamedItem(", |
| "d))&&c.add(f);return c},!1),Na=V(\"child\",function(a,b,c,d,e){return w", |
| "a.call(null,a,b,h(c)?c:null,h(d)?d:null,e||new z)},!1,!0);V(\"descendan", |
| "t\",y,!1,!0);\nvar Oa=V(\"descendant-or-self\",function(a,b,c,d){var e=", |
| "new z;x(b,c,d)&&a.matches(b)&&e.add(b);return y(a,b,c,d,e)},!1,!0),La=V", |
| "(\"following\",function(a,b,c,d){var e=new z;do for(var f=b;f=f.nextSib", |
| "ling;)x(f,c,d)&&a.matches(f)&&e.add(f),e=y(a,f,c,d,e);while(b=b.parentN", |
| "ode);return e},!1,!0);V(\"following-sibling\",function(a,b){for(var c=n", |
| "ew z,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d);return c},!1);V(\"name", |
| "space\",function(){return new z},!1);\nvar Ra=V(\"parent\",function(a,b", |
| "){var c=new z;if(9==b.nodeType)return c;if(2==b.nodeType)return c.add(b", |
| ".ownerElement),c;var d=b.parentNode;a.matches(d)&&c.add(d);return c},!1", |
| "),Ma=V(\"preceding\",function(a,b,c,d){var e=new z,f=[];do f.unshift(b)", |
| ";while(b=b.parentNode);for(var g=1,k=f.length;g<k;g++){var w=[];for(b=f", |
| "[g];b=b.previousSibling;)w.unshift(b);for(var la=0,db=w.length;la<db;la", |
| "++)b=w[la],x(b,c,d)&&a.matches(b)&&e.add(b),e=y(a,b,c,d,e)}return e},!0", |
| ",!0);\nV(\"preceding-sibling\",function(a,b){for(var c=new z,d=b;d=d.pr", |
| "eviousSibling;)a.matches(d)&&c.unshift(d);return c},!0);var Sa=V(\"self", |
| "\",function(a,b){var c=new z;a.matches(b)&&c.add(b);return c},!1);funct", |
| "ion W(a){m.call(this,1);this.U=a;this.o=a.c();this.h=a.h}l(W);W.prototy", |
| "pe.evaluate=function(a){return-E(this.U,a)};W.prototype.toString=functi", |
| "on(){return\"Unary Expression: -\"+D(this.U)};function X(a){m.call(this", |
| ",4);this.K=a;Aa(this,q(this.K,function(a){return a.c()}));Ba(this,q(thi", |
| "s.K,function(a){return a.h}))}l(X);X.prototype.evaluate=function(a){var", |
| " b=new z;n(this.K,function(c){c=c.evaluate(a);if(!(c instanceof z))thro", |
| "w Error(\"Path expression must evaluate to NodeSet.\");b=ya(b,c)});retu", |
| "rn b};X.prototype.toString=function(){return p(this.K,function(a,b){ret", |
| "urn a+D(b)},\"Union Expression:\")};function Ta(a,b){this.a=a;this.ia=b", |
| "}function Ua(a){for(var b,c=[];;){Y(a,\"Missing right hand side of bina", |
| "ry expression.\");b=Va(a);var d=a.a.next();if(!d)break;var e=(d=Ea[d]||", |
| "null)&&d.Z;if(!e){a.a.back();break}for(;c.length&&e<=c[c.length-1].Z;)b", |
| "=new H(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new H(c.pop(),c.", |
| "pop(),b);return b}function Y(a,b){if(a.a.empty())throw Error(b);}functi", |
| "on Wa(a,b){var c=a.a.next();if(c!=b)throw Error(\"Bad token, expected: ", |
| "\"+b+\" got: \"+c);}\nfunction Xa(a){a=a.a.next();if(\")\"!=a)throw Err", |
| "or(\"Bad token: \"+a);}function Ya(a){a=a.a.next();if(2>a.length)throw ", |
| "Error(\"Unclosed literal string\");return new N(a)}\nfunction Za(a){var", |
| " b,c=[],d;if(Ka(u(a.a))){b=a.a.next();d=u(a.a);if(\"/\"==b&&(a.a.empty(", |
| ")||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))", |
| "return new R;d=new R;Y(a,\"Missing next location step.\");b=$a(a,b);c.p", |
| "ush(b)}else{a:{b=u(a.a);d=b.charAt(0);switch(d){case \"$\":throw Error(", |
| "\"Variable reference not allowed in HTML XPath\");case \"(\":a.a.next()", |
| ";b=Ua(a);Y(a,'unclosed \"(\"');Wa(a,\")\");break;case '\"':case \"'\":b", |
| "=Ya(a);break;default:if(isNaN(+b))if(!Ia(b)&&/(?![0-9])[\\w]/.test(d)&&", |
| "\"(\"==u(a.a,1)){b=\na.a.next();b=Ha[b]||null;a.a.next();for(d=[];\")\"", |
| "!=u(a.a);){Y(a,\"Missing function argument list.\");d.push(Ua(a));if(\"", |
| ",\"!=u(a.a))break;a.a.next()}Y(a,\"Unclosed function argument list.\");", |
| "Xa(a);b=new L(b,d)}else{b=null;break a}else b=new P(+a.a.next())}\"[\"=", |
| "=u(a.a)&&(d=new T(ab(a)),b=new K(b,d))}if(b)if(Ka(u(a.a)))d=b;else retu", |
| "rn b;else b=$a(a,\"/\"),d=new S,c.push(b)}for(;Ka(u(a.a));)b=a.a.next()", |
| ",Y(a,\"Missing next location step.\"),b=$a(a,b),c.push(b);return new Q(", |
| "d,c)}\nfunction $a(a,b){var c,d,e;if(\"/\"!=b&&\"//\"!=b)throw Error('S", |
| "tep op should be \"/\" or \"//\"');if(\".\"==u(a.a))return d=new U(Sa,n", |
| "ew A(\"node\")),a.a.next(),d;if(\"..\"==u(a.a))return d=new U(Ra,new A(", |
| "\"node\")),a.a.next(),d;var f;if(\"@\"==u(a.a))f=Ja,a.a.next(),Y(a,\"Mi", |
| "ssing attribute name\");else if(\"::\"==u(a.a,1)){if(!/(?![0-9])[\\w]/.", |
| "test(u(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());c=a.a.ne", |
| "xt();f=Qa[c]||null;if(!f)throw Error(\"No axis with name: \"+c);a.a.nex", |
| "t();Y(a,\"Missing node name\")}else f=Na;\nc=u(a.a);if(/(?![0-9])[\\w", |
| "\\*]/.test(c.charAt(0)))if(\"(\"==u(a.a,1)){if(!Ia(c))throw Error(\"Inv", |
| "alid node type: \"+c);c=a.a.next();if(!Ia(c))throw Error(\"Invalid type", |
| " name: \"+c);Wa(a,\"(\");Y(a,\"Bad nodetype\");e=u(a.a).charAt(0);var g", |
| "=null;if('\"'==e||\"'\"==e)g=Ya(a);Y(a,\"Bad nodetype\");Xa(a);c=new A(", |
| "c,g)}else if(c=a.a.next(),e=c.indexOf(\":\"),-1==e)c=new O(c);else{var ", |
| "g=c.substring(0,e),k;if(\"*\"==g)k=\"*\";else if(k=a.ia(g),!k)throw Err", |
| "or(\"Namespace prefix not declared: \"+g);c=c.substr(e+1);c=new O(c,k)}", |
| "else throw Error(\"Bad token: \"+\na.a.next());e=new T(ab(a),f.A);retur", |
| "n d||new U(f,c,e,\"//\"==b)}function ab(a){for(var b=[];\"[\"==u(a.a);)", |
| "{a.a.next();Y(a,\"Missing predicate expression.\");var c=Ua(a);b.push(c", |
| ");Y(a,\"Unclosed predicate expression.\");Wa(a,\"]\")}return b}function", |
| " Va(a){if(\"-\"==u(a.a))return a.a.next(),new W(Va(a));var b=Za(a);if(", |
| "\"|\"!=u(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)Y(a,\"Missing next ", |
| "union location path.\"),b.push(Za(a));a.a.back();a=new X(b)}return a};f", |
| "unction bb(a){switch(a.nodeType){case 1:return ja(cb,a);case 9:return b", |
| "b(a.documentElement);case 11:case 10:case 6:case 12:return eb;default:r", |
| "eturn a.parentNode?bb(a.parentNode):eb}}function eb(){return null}funct", |
| "ion cb(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3.org/1", |
| "999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.specifie", |
| "d?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?cb(a.parentNode,", |
| "b):null};function fb(a,b){if(!a.length)throw Error(\"Empty XPath expres", |
| "sion.\");var c=ra(a);if(c.empty())throw Error(\"Invalid XPath expressio", |
| "n.\");b?\"function\"==fa(b)||(b=ia(b.lookupNamespaceURI,b)):b=function(", |
| "){return null};var d=Ua(new Ta(c,b));if(!c.empty())throw Error(\"Bad to", |
| "ken: \"+c.next());this.evaluate=function(a,b){var c=d.evaluate(new r(a)", |
| ");return new Z(c,b)}}\nfunction Z(a,b){if(0==b)if(a instanceof z)b=4;el", |
| "se if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if", |
| "(\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evaluation res", |
| "ult.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof z))throw Error(\"value coul", |
| "d not be converted to the specified type\");this.resultType=b;var c;swi", |
| "tch(b){case 2:this.stringValue=a instanceof z?C(a):\"\"+a;break;case 1:", |
| "this.numberValue=a instanceof z?+C(a):+a;break;case 3:this.booleanValue", |
| "=a instanceof z?0<a.m():!!a;break;case 4:case 5:case 6:case 7:var d=\na", |
| ".iterator();c=[];for(var e=d.next();e;e=d.next())c.push(e);this.snapsho", |
| "tLength=a.m();this.invalidIteratorState=!1;break;case 8:case 9:this.sin", |
| "gleNodeValue=B(a);break;default:throw Error(\"Unknown XPathResult type.", |
| "\");}var f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw Error(\"it", |
| "erateNext called with wrong result type\");return f>=c.length?null:c[f+", |
| "+]};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotI", |
| "tem called with wrong result type\");return a>=c.length||0>a?null:c[a]}", |
| "}\nZ.ANY_TYPE=0;Z.NUMBER_TYPE=1;Z.STRING_TYPE=2;Z.BOOLEAN_TYPE=3;Z.UNOR", |
| "DERED_NODE_ITERATOR_TYPE=4;Z.ORDERED_NODE_ITERATOR_TYPE=5;Z.UNORDERED_N", |
| "ODE_SNAPSHOT_TYPE=6;Z.ORDERED_NODE_SNAPSHOT_TYPE=7;Z.ANY_UNORDERED_NODE", |
| "_TYPE=8;Z.FIRST_ORDERED_NODE_TYPE=9;function gb(a){this.lookupNamespace", |
| "URI=bb(a)}\nea(\"wgxpath.install\",function(a,b){var c=a||da,d=c.Docume", |
| "nt&&c.Document.prototype||c.document;if(!d.evaluate||b)c.XPathResult=Z,", |
| "d.evaluate=function(a,b,c,d){return(new fb(a,c)).evaluate(b,d)},d.creat", |
| "eExpression=function(a,b){return new fb(a,b)},d.createNSResolver=functi", |
| "on(a){return new gb(a)}});ea(\"_\",function(a,b){function c(a,b){var c=", |
| "{clickable:a};b&&(c.message=b);return c}for(var d=a;d.parentNode;)d=d.p", |
| "arentNode;var e=d.elementFromPoint(b.x,b.y);if(e==a)return c(!0);d=\"(", |
| "\"+b.x+\", \"+b.y+\")\";if(null==e)return c(!1,\"Element is not clickab", |
| "le at point \"+d);for(var f=e.outerHTML.replace(e.innerHTML,e.hasChildN", |
| "odes()?\"...\":\"\"),e=e.parentNode;e;){if(e==a)return c(!0,\"Element's", |
| " descendant would receive the click. Consider clicking the descendant i", |
| "nstead. Descendant: \"+f);e=e.parentNode}e=a.outerHTML.replace(a.innerH", |
| "TML,\na.hasChildNodes()?\"...\":\"\");return c(!1,\"Element \"+e+\" is ", |
| "not clickable at point \"+d+\". Other element would receive the click: ", |
| "\"+f)});; return this._.apply(null,arguments);}.apply({navigator:typeof", |
| " window!='undefined'?window.navigator:null,document:typeof window!='und", |
| "efined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const IS_ELEMENT_DISPLAYED[] = { |
| "function(){return function(){var h,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e)", |
| ";f!=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "da=this;function l(a){return void 0!==a}\nfunction ea(a,b){var c=a.spli", |
| "t(\".\"),d=da;c[0]in d||!d.execScript||d.execScript(\"var \"+c[0]);for(", |
| "var e;c.length&&(e=c.shift());)!c.length&&l(b)?d[e]=b:d=d[e]?d[e]:d[e]=", |
| "{}}\nfunction fa(a){var b=typeof a;if(\"object\"==b)if(a){if(a instance", |
| "of Array)return\"array\";if(a instanceof Object)return b;var c=Object.p", |
| "rototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if", |
| "(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typ", |
| "eof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.property", |
| "IsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
| "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
| "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
| "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", |
| "object\";return b}function ga(a){var b=fa(a);return\"array\"==b||\"obje", |
| "ct\"==b&&\"number\"==typeof a.length}function m(a){return\"string\"==ty", |
| "peof a}function n(a){return\"number\"==typeof a}function ha(a){var b=ty", |
| "peof a;return\"object\"==b&&null!=a||\"function\"==b}function ia(a,b,c)", |
| "{return a.call.apply(a.bind,arguments)}\nfunction ja(a,b,c){if(!a)throw", |
| " Error();if(2<arguments.length){var d=Array.prototype.slice.call(argume", |
| "nts,2);return function(){var c=Array.prototype.slice.call(arguments);Ar", |
| "ray.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function()", |
| "{return a.apply(b,arguments)}}function ka(a,b,c){ka=Function.prototype.", |
| "bind&&-1!=Function.prototype.bind.toString().indexOf(\"native code\")?i", |
| "a:ja;return ka.apply(null,arguments)}\nfunction la(a,b){var c=Array.pro", |
| "totype.slice.call(arguments,1);return function(){var b=c.slice();b.push", |
| ".apply(b,arguments);return a.apply(this,b)}}function p(a,b){function c(", |
| "){}c.prototype=b.prototype;a.ta=b.prototype;a.prototype=new c;a.prototy", |
| "pe.constructor=a;a.ra=function(a,c,f){for(var g=Array(arguments.length-", |
| "2),k=2;k<arguments.length;k++)g[k-2]=arguments[k];return b.prototype[c]", |
| ".apply(a,g)}};function ma(a){return String(a).replace(/\\-([a-z])/g,fun", |
| "ction(a,c){return c.toUpperCase()})};function na(a,b){if(m(a))return m(", |
| "b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&", |
| "&a[c]===b)return c;return-1}function r(a,b){for(var c=a.length,d=m(a)?a", |
| ".split(\"\"):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)}function t(a", |
| ",b,c){var d=c;r(a,function(c,f){d=b.call(void 0,d,c,f,a)});return d}fun", |
| "ction oa(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(", |
| "e in d&&b.call(void 0,d[e],e,a))return!0;return!1}\nfunction pa(a,b){fo", |
| "r(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(", |
| "void 0,d[e],e,a))return!1;return!0}function qa(a){return Array.prototyp", |
| "e.concat.apply(Array.prototype,arguments)}function ra(a){var b=a.length", |
| ";if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}fun", |
| "ction sa(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a", |
| ",b):Array.prototype.slice.call(a,b,c)};var ta={aliceblue:\"#f0f8ff\",an", |
| "tiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"", |
| "#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanch", |
| "edalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a", |
| "52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff0", |
| "0\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",", |
| "cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#0", |
| "0008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9", |
| "a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\"", |
| ",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c0", |
| "0\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",d", |
| "arkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f", |
| "4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#", |
| "9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969", |
| "\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",flo", |
| "ralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsb", |
| "oro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#", |
| "daa520\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",gre", |
| "y:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5", |
| "c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:", |
| "\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffo", |
| "n:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"", |
| "#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightg", |
| "reen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmo", |
| "n:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",ligh", |
| "tslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c", |
| "4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",li", |
| "nen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine", |
| ":\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurp", |
| "le:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",m", |
| "ediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletre", |
| "d:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:", |
| "\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#0000", |
| "80\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange", |
| ":\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#", |
| "eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:", |
| "\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f", |
| "\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#8", |
| "00080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",sad", |
| "dlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen", |
| ":\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0", |
| "\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slat", |
| "egrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"", |
| "#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:", |
| "\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",", |
| "white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen", |
| ":\"#9acd32\"};var ua=\"backgroundColor borderTopColor borderRightColor ", |
| "borderBottomColor borderLeftColor color outlineColor\".split(\" \"),va=", |
| "/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,xa=/^#(?:[0-9a-f]{3}){1,2}$/", |
| "i,ya=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0", |
| "\\.\\d*)\\)$/i,za=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),", |
| "\\s?(0|[1-9]\\d{0,2})\\)$/i;function Aa(a,b){this.code=a;this.state=u[a", |
| "]||Ba;this.message=b||\"\";var c=this.state.replace(/((?:^|\\s+)[a-z])/", |
| "g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d=", |
| "c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.name=c;c", |
| "=Error(this.message);c.name=this.name;this.stack=c.stack||\"\"}p(Aa,Err", |
| "or);var Ba=\"unknown error\",u={15:\"element not selectable\",11:\"elem", |
| "ent not visible\"};u[31]=Ba;u[30]=Ba;u[24]=\"invalid cookie domain\";u[", |
| "29]=\"invalid element coordinates\";u[12]=\"invalid element state\";\nu", |
| "[32]=\"invalid selector\";u[51]=\"invalid selector\";u[52]=\"invalid se", |
| "lector\";u[17]=\"javascript error\";u[405]=\"unsupported operation\";u[", |
| "34]=\"move target out of bounds\";u[27]=\"no such alert\";u[7]=\"no suc", |
| "h element\";u[8]=\"no such frame\";u[23]=\"no such window\";u[28]=\"scr", |
| "ipt timeout\";u[33]=\"session not created\";u[10]=\"stale element refer", |
| "ence\";u[21]=\"timeout\";u[25]=\"unable to set cookie\";u[26]=\"unexpec", |
| "ted alert open\";u[13]=Ba;u[9]=\"unknown command\";Aa.prototype.toStrin", |
| "g=function(){return this.name+\": \"+this.message};function v(a,b){this", |
| ".x=l(a)?a:0;this.y=l(b)?b:0}h=v.prototype;h.clone=function(){return new", |
| " v(this.x,this.y)};h.toString=function(){return\"(\"+this.x+\", \"+this", |
| ".y+\")\"};h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(t", |
| "his.y);return this};h.floor=function(){this.x=Math.floor(this.x);this.y", |
| "=Math.floor(this.y);return this};h.round=function(){this.x=Math.round(t", |
| "his.x);this.y=Math.round(this.y);return this};\nh.translate=function(a,", |
| "b){a instanceof v?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),n(b)&&(t", |
| "his.y+=b));return this};h.scale=function(a,b){var c=n(b)?b:a;this.x*=a;", |
| "this.y*=c;return this};function Ca(a,b){this.width=a;this.height=b}h=Ca", |
| ".prototype;h.clone=function(){return new Ca(this.width,this.height)};h.", |
| "toString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};h", |
| ".ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil", |
| "(this.height);return this};h.floor=function(){this.width=Math.floor(thi", |
| "s.width);this.height=Math.floor(this.height);return this};h.round=funct", |
| "ion(){this.width=Math.round(this.width);this.height=Math.round(this.hei", |
| "ght);return this};\nh.scale=function(a,b){var c=n(b)?b:a;this.width*=a;", |
| "this.height*=c;return this};function Da(a,b,c){function d(c){c&&b.appen", |
| "dChild(m(c)?a.createTextNode(c):c)}for(var e=1;e<c.length;e++){var f=c[", |
| "e];!ga(f)||ha(f)&&0<f.nodeType?d(f):r(Ea(f)?ra(f):f,d)}}function Fa(a,b", |
| "){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contai", |
| "ns(b);if(\"undefined\"!=typeof a.compareDocumentPosition)return a==b||!", |
| "!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return ", |
| "b==a}\nfunction Ga(a,b){if(a==b)return 0;if(a.compareDocumentPosition)r", |
| "eturn a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.par", |
| "entNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeType,d=1==b.nod", |
| "eType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b", |
| ".parentNode;return e==f?Ha(a,b):!c&&Fa(e,b)?-1*Ia(a,b):!d&&Fa(f,a)?Ia(b", |
| ",a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=y", |
| "(a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=d.createRange();", |
| "d.selectNode(b);\nd.collapse(!0);return c.compareBoundaryPoints(da.Rang", |
| "e.START_TO_END,d)}function Ia(a,b){var c=a.parentNode;if(c==b)return-1;", |
| "for(var d=b;d.parentNode!=c;)d=d.parentNode;return Ha(d,a)}function Ha(", |
| "a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}functio", |
| "n y(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Ea(a", |
| "){if(a&&\"number\"==typeof a.length){if(ha(a))return\"function\"==typeo", |
| "f a.item||\"string\"==typeof a.item;if(\"function\"==fa(a))return\"func", |
| "tion\"==typeof a.item}return!1}\nfunction Ja(a,b){a=a.parentNode;for(va", |
| "r c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}function Ka(a", |
| "){this.O=a||da.document||document}h=Ka.prototype;h.createElement=functi", |
| "on(a){return this.O.createElement(a)};h.createTextNode=function(a){retu", |
| "rn this.O.createTextNode(String(a))};h.appendChild=function(a,b){a.appe", |
| "ndChild(b)};h.append=function(a,b){Da(y(a),a,arguments)};h.canHaveChild", |
| "ren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case \"APPL", |
| "ET\":case \"AREA\":case \"BASE\":case \"BR\":case \"COL\":case \"COMMAN", |
| "D\":case \"EMBED\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT", |
| "\":case \"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case ", |
| "\"NOFRAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PAR", |
| "AM\":case \"SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case", |
| " \"WBR\":return!1}return!0};\nh.removeNode=function(a){return a&&a.pare", |
| "ntNode?a.parentNode.removeChild(a):null};h.contains=Fa;function z(a,b){", |
| "return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};/*\n\n The ", |
| "MIT License\n\n Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 20", |
| "12 Google Inc.\n\n Permission is hereby granted, free of charge, to any", |
| " person obtaining a copy\n of this software and associated documentatio", |
| "n files (the \"Software\"), to\n deal in the Software without restricti", |
| "on, including without limitation the\n rights to use, copy, modify, mer", |
| "ge, publish, distribute, sublicense, and/or\n sell copies of the Softwa", |
| "re, and to permit persons to whom the Software is\n furnished to do so,", |
| " subject to the following conditions:\n\n The above copyright notice an", |
| "d this permission notice shall be included in\n all copies or substanti", |
| "al portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WI", |
| "THOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIM", |
| "ITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR P", |
| "URPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGH", |
| "T HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHE", |
| "R IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF O", |
| "R IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE", |
| " SOFTWARE.\n*/\nfunction A(a,b,c){this.l=a;this.oa=b||1;this.j=c||1};fu", |
| "nction La(a){this.T=a;this.I=0}function Ma(a){a=a.match(Na);for(var b=0", |
| ";b<a.length;b++)Oa.test(a[b])&&a.splice(b,1);return new La(a)}var Na=Re", |
| "gExp(\"\\\\$?(?:(?![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.", |
| "])(?:\\\\*|[\\\\w-\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d", |
| "*)?|\\\\.\\\\d+|\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),Oa=/^", |
| "\\s/;function B(a,b){return a.T[a.I+(b||0)]}La.prototype.next=function(", |
| "){return this.T[this.I++]};La.prototype.back=function(){this.I--};La.pr", |
| "ototype.empty=function(){return this.T.length<=this.I};function C(a){va", |
| "r b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.inn", |
| "erText:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||", |
| "1==c){a=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;)", |
| "{do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(", |
| ";c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return\"\"+b}\nfunct", |
| "ion E(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch", |
| "(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}", |
| "function Pa(a,b,c,d,e){return Qa.call(null,a,b,m(c)?c:null,m(d)?d:null,", |
| "e||new F)}\nfunction Qa(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?", |
| "(b=b.getElementsByName(d),r(b,function(b){a.matches(b)&&e.add(b)})):b.g", |
| "etElementsByClassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),r", |
| "(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof G", |
| "?Ra(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getN", |
| "ame()),r(b,function(a){E(a,c,d)&&e.add(a)}));return e}function Sa(a,b,c", |
| ",d,e){for(b=b.firstChild;b;b=b.nextSibling)E(b,c,d)&&a.matches(b)&&e.ad", |
| "d(b);return e}\nfunction Ra(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSib", |
| "ling)E(b,c,d)&&a.matches(b)&&e.add(b),Ra(a,b,c,d,e)};function F(){this.", |
| "j=this.g=null;this.D=0}function Ta(a){this.node=a;this.next=this.w=null", |
| "}function Ua(a,b){if(!a.g)return b;if(!b.g)return a;for(var c=a.g,d=b.g", |
| ",e=null,f,g=0;c&&d;)c.node==d.node?(f=c,c=c.next,d=d.next):0<Ga(c.node,", |
| "d.node)?(f=d,d=d.next):(f=c,c=c.next),(f.w=e)?e.next=f:a.g=f,e=f,g++;fo", |
| "r(f=c||d;f;)f.w=e,e=e.next=f,g++,f=f.next;a.j=e;a.D=g;return a}F.protot", |
| "ype.unshift=function(a){a=new Ta(a);a.next=this.g;this.j?this.g.w=a:thi", |
| "s.g=this.j=a;this.g=a;this.D++};\nF.prototype.add=function(a){a=new Ta(", |
| "a);a.w=this.j;this.g?this.j.next=a:this.g=this.j=a;this.j=a;this.D++};f", |
| "unction Va(a){return(a=a.g)?a.node:null}F.prototype.o=function(){return", |
| " this.D};function Wa(a){return(a=Va(a))?C(a):\"\"}F.prototype.iterator=", |
| "function(a){return new Xa(this,!!a)};function Xa(a,b){this.ka=a;this.W=", |
| "(this.A=b)?a.j:a.g;this.P=null}Xa.prototype.next=function(){var a=this.", |
| "W;if(null==a)return null;var b=this.P=a;this.W=this.A?a.w:a.next;return", |
| " b.node};\nXa.prototype.remove=function(){var a=this.ka,b=this.P;if(!b)", |
| "throw Error(\"Next must be called at least once before remove.\");var c", |
| "=b.w,b=b.next;c?c.next=b:a.g=b;b?b.w=c:a.j=c;a.D--;this.P=null};functio", |
| "n H(a){this.f=a;this.h=this.s=!1;this.F=null}function I(a){return\"\\n ", |
| " \"+a.toString().split(\"\\n\").join(\"\\n \")}H.prototype.c=function(", |
| "){return this.s};function Ya(a,b){a.s=b}function Za(a,b){a.h=b}H.protot", |
| "ype.v=function(){return this.F};function K(a,b){var c=a.evaluate(b);ret", |
| "urn c instanceof F?+Wa(c):+c}function L(a,b){var c=a.evaluate(b);return", |
| " c instanceof F?Wa(c):\"\"+c}function M(a,b){var c=a.evaluate(b);return", |
| " c instanceof F?!!c.o():!!c};function $a(a,b,c){H.call(this,a.f);this.S", |
| "=a;this.$=b;this.ea=c;this.s=b.c()||c.c();this.h=b.h||c.h;this.S==ab&&(", |
| "c.h||c.c()||4==c.f||0==c.f||!b.v()?b.h||b.c()||4==b.f||0==b.f||!c.v()||", |
| "(this.F={name:c.v().name,C:b}):this.F={name:b.v().name,C:c})}p($a,H);\n", |
| "function N(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);var f;if(b instan", |
| "ceof F&&c instanceof F){b=b.iterator();for(d=b.next();d;d=b.next())for(", |
| "e=c.iterator(),f=e.next();f;f=e.next())if(a(C(d),C(f)))return!0;return!", |
| "1}if(b instanceof F||c instanceof F){b instanceof F?(e=b,d=c):(e=c,d=b)", |
| ";f=e.iterator();for(var g=typeof d,k=f.next();k;k=f.next()){switch(g){c", |
| "ase \"number\":k=+C(k);break;case \"boolean\":k=!!C(k);break;case \"str", |
| "ing\":k=C(k);break;default:throw Error(\"Illegal primitive type for com", |
| "parison.\");\n}if(e==b&&a(k,d)||e==c&&a(d,k))return!0}return!1}return e", |
| "?\"boolean\"==typeof b||\"boolean\"==typeof c?a(!!b,!!c):\"number\"==ty", |
| "peof b||\"number\"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}$a.prototype.eval", |
| "uate=function(a){return this.S.m(this.$,this.ea,a)};$a.prototype.toStri", |
| "ng=function(){var a=\"Binary Expression: \"+this.S,a=a+I(this.$);return", |
| " a+=I(this.ea)};function bb(a,b,c,d){this.na=a;this.ca=b;this.f=c;this.", |
| "m=d}bb.prototype.toString=function(){return this.na};var cb={};\nfuncti", |
| "on O(a,b,c,d){if(cb.hasOwnProperty(a))throw Error(\"Binary operator alr", |
| "eady created: \"+a);a=new bb(a,b,c,d);return cb[a.toString()]=a}O(\"div", |
| "\",6,1,function(a,b,c){return K(a,c)/K(b,c)});O(\"mod\",6,1,function(a,", |
| "b,c){return K(a,c)%K(b,c)});O(\"*\",6,1,function(a,b,c){return K(a,c)*K", |
| "(b,c)});O(\"+\",5,1,function(a,b,c){return K(a,c)+K(b,c)});O(\"-\",5,1,", |
| "function(a,b,c){return K(a,c)-K(b,c)});O(\"<\",4,2,function(a,b,c){retu", |
| "rn N(function(a,b){return a<b},a,b,c)});\nO(\">\",4,2,function(a,b,c){r", |
| "eturn N(function(a,b){return a>b},a,b,c)});O(\"<=\",4,2,function(a,b,c)", |
| "{return N(function(a,b){return a<=b},a,b,c)});O(\">=\",4,2,function(a,b", |
| ",c){return N(function(a,b){return a>=b},a,b,c)});var ab=O(\"=\",3,2,fun", |
| "ction(a,b,c){return N(function(a,b){return a==b},a,b,c,!0)});O(\"!=\",3", |
| ",2,function(a,b,c){return N(function(a,b){return a!=b},a,b,c,!0)});O(\"", |
| "and\",2,2,function(a,b,c){return M(a,c)&&M(b,c)});O(\"or\",1,2,function", |
| "(a,b,c){return M(a,c)||M(b,c)});function db(a,b){if(b.o()&&4!=a.f)throw", |
| " Error(\"Primary expression must evaluate to nodeset if filter has pred", |
| "icate(s).\");H.call(this,a.f);this.da=a;this.b=b;this.s=a.c();this.h=a.", |
| "h}p(db,H);db.prototype.evaluate=function(a){a=this.da.evaluate(a);retur", |
| "n eb(this.b,a)};db.prototype.toString=function(){var a;a=\"Filter:\"+I(", |
| "this.da);return a+=I(this.b)};function fb(a,b){if(b.length<a.ba)throw E", |
| "rror(\"Function \"+a.i+\" expects at least\"+a.ba+\" arguments, \"+b.le", |
| "ngth+\" given\");if(null!==a.R&&b.length>a.R)throw Error(\"Function \"+", |
| "a.i+\" expects at most \"+a.R+\" arguments, \"+b.length+\" given\");a.l", |
| "a&&r(b,function(b,d){if(4!=b.f)throw Error(\"Argument \"+d+\" to functi", |
| "on \"+a.i+\" is not of type Nodeset: \"+b);});H.call(this,a.f);this.H=a", |
| ";this.M=b;Ya(this,a.s||oa(b,function(a){return a.c()}));Za(this,a.ja&&!", |
| "b.length||a.ia&&!!b.length||oa(b,function(a){return a.h}))}\np(fb,H);fb", |
| ".prototype.evaluate=function(a){return this.H.m.apply(null,qa(a,this.M)", |
| ")};fb.prototype.toString=function(){var a=\"Function: \"+this.H;if(this", |
| ".M.length)var b=t(this.M,function(a,b){return a+I(b)},\"Arguments:\"),a", |
| "=a+I(b);return a};function gb(a,b,c,d,e,f,g,k,w){this.i=a;this.f=b;this", |
| ".s=c;this.ja=d;this.ia=e;this.m=f;this.ba=g;this.R=l(k)?k:g;this.la=!!w", |
| "}gb.prototype.toString=function(){return this.i};var hb={};\nfunction P", |
| "(a,b,c,d,e,f,g,k){if(hb.hasOwnProperty(a))throw Error(\"Function alread", |
| "y created: \"+a+\".\");hb[a]=new gb(a,b,c,d,!1,e,f,g,k)}P(\"boolean\",2", |
| ",!1,!1,function(a,b){return M(b,a)},1);P(\"ceiling\",1,!1,!1,function(a", |
| ",b){return Math.ceil(K(b,a))},1);P(\"concat\",3,!1,!1,function(a,b){ret", |
| "urn t(sa(arguments,1),function(b,d){return b+L(d,a)},\"\")},2,null);P(", |
| "\"contains\",2,!1,!1,function(a,b,c){b=L(b,a);a=L(c,a);return-1!=b.inde", |
| "xOf(a)},2);P(\"count\",1,!1,!1,function(a,b){return b.evaluate(a).o()},", |
| "1,1,!0);\nP(\"false\",2,!1,!1,function(){return!1},0);P(\"floor\",1,!1,", |
| "!1,function(a,b){return Math.floor(K(b,a))},1);P(\"id\",4,!1,!1,functio", |
| "n(a,b){var c=a.l,d=9==c.nodeType?c:c.ownerDocument,c=L(b,a).split(/\\s+", |
| "/),e=[];r(c,function(a){a=d.getElementById(a);!a||0<=na(e,a)||e.push(a)", |
| "});e.sort(Ga);var f=new F;r(e,function(a){f.add(a)});return f},1);P(\"l", |
| "ang\",2,!1,!1,function(){return!1},1);P(\"last\",1,!0,!1,function(a){if", |
| "(1!=arguments.length)throw Error(\"Function last expects ()\");return a", |
| ".j},0);\nP(\"local-name\",3,!1,!0,function(a,b){var c=b?Va(b.evaluate(a", |
| ")):a.l;return c?c.localName||c.nodeName.toLowerCase():\"\"},0,1,!0);P(", |
| "\"name\",3,!1,!0,function(a,b){var c=b?Va(b.evaluate(a)):a.l;return c?c", |
| ".nodeName.toLowerCase():\"\"},0,1,!0);P(\"namespace-uri\",3,!0,!1,funct", |
| "ion(){return\"\"},0,1,!0);P(\"normalize-space\",3,!1,!0,function(a,b){r", |
| "eturn(b?L(b,a):C(a.l)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s", |
| "+$/g,\"\")},0,1);P(\"not\",2,!1,!1,function(a,b){return!M(b,a)},1);\nP(", |
| "\"number\",1,!1,!0,function(a,b){return b?K(b,a):+C(a.l)},0,1);P(\"posi", |
| "tion\",1,!0,!1,function(a){return a.oa},0);P(\"round\",1,!1,!1,function", |
| "(a,b){return Math.round(K(b,a))},1);P(\"starts-with\",2,!1,!1,function(", |
| "a,b,c){b=L(b,a);a=L(c,a);return 0==b.lastIndexOf(a,0)},2);P(\"string\",", |
| "3,!1,!0,function(a,b){return b?L(b,a):C(a.l)},0,1);P(\"string-length\",", |
| "1,!1,!0,function(a,b){return(b?L(b,a):C(a.l)).length},0,1);\nP(\"substr", |
| "ing\",3,!1,!1,function(a,b,c,d){c=K(c,a);if(isNaN(c)||Infinity==c||-Inf", |
| "inity==c)return\"\";d=d?K(d,a):Infinity;if(isNaN(d)||-Infinity===d)retu", |
| "rn\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=L(b,a);return Infinity==", |
| "d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);P(\"substring-aft", |
| "er\",3,!1,!1,function(a,b,c){b=L(b,a);a=L(c,a);c=b.indexOf(a);return-1=", |
| "=c?\"\":b.substring(c+a.length)},2);\nP(\"substring-before\",3,!1,!1,fu", |
| "nction(a,b,c){b=L(b,a);a=L(c,a);a=b.indexOf(a);return-1==a?\"\":b.subst", |
| "ring(0,a)},2);P(\"sum\",1,!1,!1,function(a,b){for(var c=b.evaluate(a).i", |
| "terator(),d=0,e=c.next();e;e=c.next())d+=+C(e);return d},1,1,!0);P(\"tr", |
| "anslate\",3,!1,!1,function(a,b,c,d){b=L(b,a);c=L(c,a);var e=L(d,a);a={}", |
| ";for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d))}c", |
| "=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return c},3", |
| ");P(\"true\",2,!1,!1,function(){return!0},0);function G(a,b){this.ga=a;", |
| "this.aa=l(b)?b:null;this.B=null;switch(a){case \"comment\":this.B=8;bre", |
| "ak;case \"text\":this.B=3;break;case \"processing-instruction\":this.B=", |
| "7;break;case \"node\":break;default:throw Error(\"Unexpected argument\"", |
| ");}}function ib(a){return\"comment\"==a||\"text\"==a||\"processing-inst", |
| "ruction\"==a||\"node\"==a}G.prototype.matches=function(a){return null==", |
| "=this.B||this.B==a.nodeType};G.prototype.getName=function(){return this", |
| ".ga};\nG.prototype.toString=function(){var a=\"Kind Test: \"+this.ga;nu", |
| "ll===this.aa||(a+=I(this.aa));return a};function jb(a){H.call(this,3);t", |
| "his.fa=a.substring(1,a.length-1)}p(jb,H);jb.prototype.evaluate=function", |
| "(){return this.fa};jb.prototype.toString=function(){return\"Literal: \"", |
| "+this.fa};function kb(a,b){this.i=a.toLowerCase();var c;c=\"*\"==this.i", |
| "?\"*\":\"http://www.w3.org/1999/xhtml\";this.J=b?b.toLowerCase():c}kb.p", |
| "rototype.matches=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=", |
| "l(a.localName)?a.localName:a.nodeName;return\"*\"!=this.i&&this.i!=b.to", |
| "LowerCase()?!1:\"*\"==this.J?!0:this.J==(a.namespaceURI?a.namespaceURI.", |
| "toLowerCase():\"http://www.w3.org/1999/xhtml\")};kb.prototype.getName=f", |
| "unction(){return this.i};\nkb.prototype.toString=function(){return\"Nam", |
| "e Test: \"+(\"http://www.w3.org/1999/xhtml\"==this.J?\"\":this.J+\":\")", |
| "+this.i};function lb(a){H.call(this,1);this.ha=a}p(lb,H);lb.prototype.e", |
| "valuate=function(){return this.ha};lb.prototype.toString=function(){ret", |
| "urn\"Number: \"+this.ha};function mb(a,b){H.call(this,a.f);this.Y=a;thi", |
| "s.G=b;this.s=a.c();this.h=a.h;if(1==this.G.length){var c=this.G[0];c.N|", |
| "|c.u!=nb||(c=c.L,\"*\"!=c.getName()&&(this.F={name:c.getName(),C:null})", |
| ")}}p(mb,H);function ob(){H.call(this,4)}p(ob,H);ob.prototype.evaluate=f", |
| "unction(a){var b=new F;a=a.l;9==a.nodeType?b.add(a):b.add(a.ownerDocume", |
| "nt);return b};ob.prototype.toString=function(){return\"Root Helper Expr", |
| "ession\"};function pb(){H.call(this,4)}p(pb,H);\npb.prototype.evaluate=", |
| "function(a){var b=new F;b.add(a.l);return b};pb.prototype.toString=func", |
| "tion(){return\"Context Helper Expression\"};function qb(a){return\"/\"=", |
| "=a||\"//\"==a}\nmb.prototype.evaluate=function(a){var b=this.Y.evaluate", |
| "(a);if(!(b instanceof F))throw Error(\"Filter expression must evaluate ", |
| "to nodeset.\");a=this.G;for(var c=0,d=a.length;c<d&&b.o();c++){var e=a[", |
| "c],f=b.iterator(e.u.A),g;if(e.c()||e.u!=rb)if(e.c()||e.u!=sb)for(g=f.ne", |
| "xt(),b=e.evaluate(new A(g));null!=(g=f.next());)g=e.evaluate(new A(g)),", |
| "b=Ua(b,g);else g=f.next(),b=e.evaluate(new A(g));else{for(g=f.next();(b", |
| "=f.next())&&(!g.contains||g.contains(b))&&b.compareDocumentPosition(g)&", |
| "8;g=b);b=e.evaluate(new A(g))}}return b};\nmb.prototype.toString=functi", |
| "on(){var a;a=\"Path Expression:\"+I(this.Y);if(this.G.length){var b=t(t", |
| "his.G,function(a,b){return a+I(b)},\"Steps:\");a+=I(b)}return a};functi", |
| "on Q(a,b){this.b=a;this.A=!!b}function eb(a,b,c){for(c=c||0;c<a.b.lengt", |
| "h;c++)for(var d=a.b[c],e=b.iterator(),f=b.o(),g,k=0;g=e.next();k++){var", |
| " w=a.A?f-k:k+1;g=d.evaluate(new A(g,w,f));if(\"number\"==typeof g)w=w==", |
| "g;else if(\"string\"==typeof g||\"boolean\"==typeof g)w=!!g;else if(g i", |
| "nstanceof F)w=0<g.o();else throw Error(\"Predicate.evaluate returned an", |
| " unexpected type.\");w||e.remove()}return b}Q.prototype.v=function(){re", |
| "turn 0<this.b.length?this.b[0].v():null};\nQ.prototype.c=function(){for", |
| "(var a=0;a<this.b.length;a++){var b=this.b[a];if(b.c()||1==b.f||0==b.f)", |
| "return!0}return!1};Q.prototype.o=function(){return this.b.length};Q.pro", |
| "totype.toString=function(){return t(this.b,function(a,b){return a+I(b)}", |
| ",\"Predicates:\")};function S(a,b,c,d){H.call(this,4);this.u=a;this.L=b", |
| ";this.b=c||new Q([]);this.N=!!d;b=this.b.v();a.qa&&b&&(this.F={name:b.n", |
| "ame,C:b.C});this.s=this.b.c()}p(S,H);\nS.prototype.evaluate=function(a)", |
| "{var b=a.l,c=this.v(),d=null,e=null,f=0;c&&(d=c.name,e=c.C?L(c.C,a):nul", |
| "l,f=1);if(this.N)if(this.c()||this.u!=tb)if(b=(new S(ub,new G(\"node\")", |
| ")).evaluate(a).iterator(),c=b.next())for(a=this.m(c,d,e,f);null!=(c=b.n", |
| "ext());)a=Ua(a,this.m(c,d,e,f));else a=new F;else a=Pa(this.L,b,d,e),a=", |
| "eb(this.b,a,f);else a=this.m(a.l,d,e,f);return a};S.prototype.m=functio", |
| "n(a,b,c,d){a=this.u.H(this.L,a,b,c);return a=eb(this.b,a,d)};\nS.protot", |
| "ype.toString=function(){var a;a=\"Step:\"+I(\"Operator: \"+(this.N?\"//", |
| "\":\"/\"));this.u.i&&(a+=I(\"Axis: \"+this.u));a+=I(this.L);if(this.b.o", |
| "()){var b=t(this.b.b,function(a,b){return a+I(b)},\"Predicates:\");a+=I", |
| "(b)}return a};function vb(a,b,c,d){this.i=a;this.H=b;this.A=c;this.qa=d", |
| "}vb.prototype.toString=function(){return this.i};var wb={};function T(a", |
| ",b,c,d){if(wb.hasOwnProperty(a))throw Error(\"Axis already created: \"+", |
| "a);b=new vb(a,b,c,!!d);return wb[a]=b}\nT(\"ancestor\",function(a,b){fo", |
| "r(var c=new F,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);return c},", |
| "!0);T(\"ancestor-or-self\",function(a,b){var c=new F,d=b;do a.matches(d", |
| ")&&c.unshift(d);while(d=d.parentNode);return c},!0);\nvar nb=T(\"attrib", |
| "ute\",function(a,b){var c=new F,d=a.getName(),e=b.attributes;if(e)if(a ", |
| "instanceof G&&null===a.B||\"*\"==d)for(var d=0,f;f=e[d];d++)c.add(f);el", |
| "se(f=e.getNamedItem(d))&&c.add(f);return c},!1),tb=T(\"child\",function", |
| "(a,b,c,d,e){return Sa.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new F)},", |
| "!1,!0);T(\"descendant\",Pa,!1,!0);\nvar ub=T(\"descendant-or-self\",fun", |
| "ction(a,b,c,d){var e=new F;E(b,c,d)&&a.matches(b)&&e.add(b);return Pa(a", |
| ",b,c,d,e)},!1,!0),rb=T(\"following\",function(a,b,c,d){var e=new F;do f", |
| "or(var f=b;f=f.nextSibling;)E(f,c,d)&&a.matches(f)&&e.add(f),e=Pa(a,f,c", |
| ",d,e);while(b=b.parentNode);return e},!1,!0);T(\"following-sibling\",fu", |
| "nction(a,b){for(var c=new F,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d)", |
| ";return c},!1);T(\"namespace\",function(){return new F},!1);\nvar xb=T(", |
| "\"parent\",function(a,b){var c=new F;if(9==b.nodeType)return c;if(2==b.", |
| "nodeType)return c.add(b.ownerElement),c;var d=b.parentNode;a.matches(d)", |
| "&&c.add(d);return c},!1),sb=T(\"preceding\",function(a,b,c,d){var e=new", |
| " F,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,k=f.length;g<", |
| "k;g++){var w=[];for(b=f[g];b=b.previousSibling;)w.unshift(b);for(var D=", |
| "0,q=w.length;D<q;D++)b=w[D],E(b,c,d)&&a.matches(b)&&e.add(b),e=Pa(a,b,c", |
| ",d,e)}return e},!0,!0);\nT(\"preceding-sibling\",function(a,b){for(var ", |
| "c=new F,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);return c},!", |
| "0);var yb=T(\"self\",function(a,b){var c=new F;a.matches(b)&&c.add(b);r", |
| "eturn c},!1);function zb(a){H.call(this,1);this.X=a;this.s=a.c();this.h", |
| "=a.h}p(zb,H);zb.prototype.evaluate=function(a){return-K(this.X,a)};zb.p", |
| "rototype.toString=function(){return\"Unary Expression: -\"+I(this.X)};f", |
| "unction Ab(a){H.call(this,4);this.K=a;Ya(this,oa(this.K,function(a){ret", |
| "urn a.c()}));Za(this,oa(this.K,function(a){return a.h}))}p(Ab,H);Ab.pro", |
| "totype.evaluate=function(a){var b=new F;r(this.K,function(c){c=c.evalua", |
| "te(a);if(!(c instanceof F))throw Error(\"Path expression must evaluate ", |
| "to NodeSet.\");b=Ua(b,c)});return b};Ab.prototype.toString=function(){r", |
| "eturn t(this.K,function(a,b){return a+I(b)},\"Union Expression:\")};fun", |
| "ction Bb(a,b){this.a=a;this.ma=b}function Cb(a){for(var b,c=[];;){U(a,", |
| "\"Missing right hand side of binary expression.\");b=Db(a);var d=a.a.ne", |
| "xt();if(!d)break;var e=(d=cb[d]||null)&&d.ca;if(!e){a.a.back();break}fo", |
| "r(;c.length&&e<=c[c.length-1].ca;)b=new $a(c.pop(),c.pop(),b);c.push(b,", |
| "d)}for(;c.length;)b=new $a(c.pop(),c.pop(),b);return b}function U(a,b){", |
| "if(a.a.empty())throw Error(b);}function Eb(a,b){var c=a.a.next();if(c!=", |
| "b)throw Error(\"Bad token, expected: \"+b+\" got: \"+c);}\nfunction Fb(", |
| "a){a=a.a.next();if(\")\"!=a)throw Error(\"Bad token: \"+a);}function Gb", |
| "(a){a=a.a.next();if(2>a.length)throw Error(\"Unclosed literal string\")", |
| ";return new jb(a)}\nfunction Hb(a){var b,c=[],d;if(qb(B(a.a))){b=a.a.ne", |
| "xt();d=B(a.a);if(\"/\"==b&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&", |
| "&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new ob;d=new ob;U(a,\"Miss", |
| "ing next location step.\");b=Ib(a,b);c.push(b)}else{a:{b=B(a.a);d=b.cha", |
| "rAt(0);switch(d){case \"$\":throw Error(\"Variable reference not allowe", |
| "d in HTML XPath\");case \"(\":a.a.next();b=Cb(a);U(a,'unclosed \"(\"');", |
| "Eb(a,\")\");break;case '\"':case \"'\":b=Gb(a);break;default:if(isNaN(+", |
| "b))if(!ib(b)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==B(a.a,\n1)){b=a.a.next()", |
| ";b=hb[b]||null;a.a.next();for(d=[];\")\"!=B(a.a);){U(a,\"Missing functi", |
| "on argument list.\");d.push(Cb(a));if(\",\"!=B(a.a))break;a.a.next()}U(", |
| "a,\"Unclosed function argument list.\");Fb(a);b=new fb(b,d)}else{b=null", |
| ";break a}else b=new lb(+a.a.next())}\"[\"==B(a.a)&&(d=new Q(Jb(a)),b=ne", |
| "w db(b,d))}if(b)if(qb(B(a.a)))d=b;else return b;else b=Ib(a,\"/\"),d=ne", |
| "w pb,c.push(b)}for(;qb(B(a.a));)b=a.a.next(),U(a,\"Missing next locatio", |
| "n step.\"),b=Ib(a,b),c.push(b);return new mb(d,c)}\nfunction Ib(a,b){va", |
| "r c,d,e;if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or ", |
| "\"//\"');if(\".\"==B(a.a))return d=new S(yb,new G(\"node\")),a.a.next()", |
| ",d;if(\"..\"==B(a.a))return d=new S(xb,new G(\"node\")),a.a.next(),d;va", |
| "r f;if(\"@\"==B(a.a))f=nb,a.a.next(),U(a,\"Missing attribute name\");el", |
| "se if(\"::\"==B(a.a,1)){if(!/(?![0-9])[\\w]/.test(B(a.a).charAt(0)))thr", |
| "ow Error(\"Bad token: \"+a.a.next());c=a.a.next();f=wb[c]||null;if(!f)t", |
| "hrow Error(\"No axis with name: \"+c);a.a.next();U(a,\"Missing node nam", |
| "e\")}else f=tb;\nc=B(a.a);if(/(?![0-9])[\\w\\*]/.test(c.charAt(0)))if(", |
| "\"(\"==B(a.a,1)){if(!ib(c))throw Error(\"Invalid node type: \"+c);c=a.a", |
| ".next();if(!ib(c))throw Error(\"Invalid type name: \"+c);Eb(a,\"(\");U(", |
| "a,\"Bad nodetype\");e=B(a.a).charAt(0);var g=null;if('\"'==e||\"'\"==e)", |
| "g=Gb(a);U(a,\"Bad nodetype\");Fb(a);c=new G(c,g)}else if(c=a.a.next(),e", |
| "=c.indexOf(\":\"),-1==e)c=new kb(c);else{var g=c.substring(0,e),k;if(\"", |
| "*\"==g)k=\"*\";else if(k=a.ma(g),!k)throw Error(\"Namespace prefix not ", |
| "declared: \"+g);c=c.substr(e+1);c=new kb(c,k)}else throw Error(\"Bad to", |
| "ken: \"+\na.a.next());e=new Q(Jb(a),f.A);return d||new S(f,c,e,\"//\"==", |
| "b)}function Jb(a){for(var b=[];\"[\"==B(a.a);){a.a.next();U(a,\"Missing", |
| " predicate expression.\");var c=Cb(a);b.push(c);U(a,\"Unclosed predicat", |
| "e expression.\");Eb(a,\"]\")}return b}function Db(a){if(\"-\"==B(a.a))r", |
| "eturn a.a.next(),new zb(Db(a));var b=Hb(a);if(\"|\"!=B(a.a))a=b;else{fo", |
| "r(b=[b];\"|\"==a.a.next();)U(a,\"Missing next union location path.\"),b", |
| ".push(Hb(a));a.a.back();a=new Ab(b)}return a};function Kb(a){switch(a.n", |
| "odeType){case 1:return la(Lb,a);case 9:return Kb(a.documentElement);cas", |
| "e 11:case 10:case 6:case 12:return Mb;default:return a.parentNode?Kb(a.", |
| "parentNode):Mb}}function Mb(){return null}function Lb(a,b){if(a.prefix=", |
| "=b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getA", |
| "ttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parent", |
| "Node&&9!=a.parentNode.nodeType?Lb(a.parentNode,b):null};function Nb(a,b", |
| "){if(!a.length)throw Error(\"Empty XPath expression.\");var c=Ma(a);if(", |
| "c.empty())throw Error(\"Invalid XPath expression.\");b?\"function\"==fa", |
| "(b)||(b=ka(b.lookupNamespaceURI,b)):b=function(){return null};var d=Cb(", |
| "new Bb(c,b));if(!c.empty())throw Error(\"Bad token: \"+c.next());this.e", |
| "valuate=function(a,b){var c=d.evaluate(new A(a));return new V(c,b)}}\nf", |
| "unction V(a,b){if(0==b)if(a instanceof F)b=4;else if(\"string\"==typeof", |
| " a)b=2;else if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b", |
| "=3;else throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3", |
| "!=b&&!(a instanceof F))throw Error(\"value could not be converted to th", |
| "e specified type\");this.resultType=b;var c;switch(b){case 2:this.strin", |
| "gValue=a instanceof F?Wa(a):\"\"+a;break;case 1:this.numberValue=a inst", |
| "anceof F?+Wa(a):+a;break;case 3:this.booleanValue=a instanceof F?0<a.o(", |
| "):!!a;break;case 4:case 5:case 6:case 7:var d=\na.iterator();c=[];for(v", |
| "ar e=d.next();e;e=d.next())c.push(e);this.snapshotLength=a.o();this.inv", |
| "alidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=Va(a);bre", |
| "ak;default:throw Error(\"Unknown XPathResult type.\");}var f=0;this.ite", |
| "rateNext=function(){if(4!=b&&5!=b)throw Error(\"iterateNext called with", |
| " wrong result type\");return f>=c.length?null:c[f++]};this.snapshotItem", |
| "=function(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong", |
| " result type\");return a>=c.length||0>a?null:c[a]}}\nV.ANY_TYPE=0;V.NUM", |
| "BER_TYPE=1;V.STRING_TYPE=2;V.BOOLEAN_TYPE=3;V.UNORDERED_NODE_ITERATOR_T", |
| "YPE=4;V.ORDERED_NODE_ITERATOR_TYPE=5;V.UNORDERED_NODE_SNAPSHOT_TYPE=6;V", |
| ".ORDERED_NODE_SNAPSHOT_TYPE=7;V.ANY_UNORDERED_NODE_TYPE=8;V.FIRST_ORDER", |
| "ED_NODE_TYPE=9;function Ob(a){this.lookupNamespaceURI=Kb(a)}\nea(\"wgxp", |
| "ath.install\",function(a,b){var c=a||da,d=c.Document&&c.Document.protot", |
| "ype||c.document;if(!d.evaluate||b)c.XPathResult=V,d.evaluate=function(a", |
| ",b,c,d){return(new Nb(a,c)).evaluate(b,d)},d.createExpression=function(", |
| "a,b){return new Nb(a,b)},d.createNSResolver=function(a){return new Ob(a", |
| ")}});var W={};W.U=function(){var a={ua:\"http://www.w3.org/2000/svg\"};", |
| "return function(b){return a[b]||null}}();\nW.m=function(a,b,c){var d=y(", |
| "a);if(!d.documentElement)return null;try{for(var e=d.createNSResolver?d", |
| ".createNSResolver(d.documentElement):W.U,f={},g=d.getElementsByTagName(", |
| "\"*\"),k=0;k<g.length;++k){var w=g[k],D=w.namespaceURI;if(D&&!f[D]){var", |
| " q=w.lookupPrefix(D);if(!q)var x=D.match(\".*/(\\\\w+)/?$\"),q=x?x[1]:", |
| "\"xhtml\";f[D]=q}}var J={},R;for(R in f)J[f[R]]=R;e=function(a){return ", |
| "J[a]||null};try{return d.evaluate(b,a,e,c,null)}catch(wa){if(\"TypeErro", |
| "r\"===wa.name)return e=d.createNSResolver?d.createNSResolver(d.document", |
| "Element):\nW.U,d.evaluate(b,a,e,c,null);throw wa;}}catch(wa){throw new ", |
| "Aa(32,\"Unable to locate an element with the xpath expression \"+b+\" b", |
| "ecause of the following error:\\n\"+wa);}};W.V=function(a,b){if(!a||1!=", |
| "a.nodeType)throw new Aa(32,'The result of the xpath expression \"'+b+'", |
| "\" is: '+a+\". It should be an element.\");};\nW.pa=function(a,b){var c", |
| "=function(){var c=W.m(b,a,9);return c?c.singleNodeValue||null:b.selectS", |
| "ingleNode?(c=y(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"", |
| "XPath\"),b.selectSingleNode(a)):null}();null===c||W.V(c,a);return c};\n", |
| "W.sa=function(a,b){var c=function(){var c=W.m(b,a,7);if(c){for(var e=c.", |
| "snapshotLength,f=[],g=0;g<e;++g)f.push(c.snapshotItem(g));return f}retu", |
| "rn b.selectNodes?(c=y(b),c.setProperty&&c.setProperty(\"SelectionLangua", |
| "ge\",\"XPath\"),b.selectNodes(a)):[]}();r(c,function(b){W.V(b,a)});retu", |
| "rn c};function Pb(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.l", |
| "eft=d}h=Pb.prototype;h.clone=function(){return new Pb(this.top,this.rig", |
| "ht,this.bottom,this.left)};h.toString=function(){return\"(\"+this.top+", |
| "\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};h.cont", |
| "ains=function(a){return this&&a?a instanceof Pb?a.left>=this.left&&a.ri", |
| "ght<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&", |
| "&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\nh.expand=functi", |
| "on(a,b,c,d){ha(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.b", |
| "ottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom", |
| "+=Number(c),this.left-=Number(d));return this};h.ceil=function(){this.t", |
| "op=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Mat", |
| "h.ceil(this.bottom);this.left=Math.ceil(this.left);return this};\nh.flo", |
| "or=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.", |
| "right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.le", |
| "ft);return this};h.round=function(){this.top=Math.round(this.top);this.", |
| "right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.l", |
| "eft=Math.round(this.left);return this};h.translate=function(a,b){a inst", |
| "anceof v?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y", |
| "):(this.left+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+=b));retur", |
| "n this};\nh.scale=function(a,b){var c=n(b)?b:a;this.left*=a;this.right*", |
| "=a;this.top*=c;this.bottom*=c;return this};function X(a,b,c,d){this.lef", |
| "t=a;this.top=b;this.width=c;this.height=d}h=X.prototype;h.clone=functio", |
| "n(){return new X(this.left,this.top,this.width,this.height)};h.toString", |
| "=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+this.width+\"", |
| "w x \"+this.height+\"h)\"};h.contains=function(a){return a instanceof X", |
| "?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.t", |
| "op&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left", |
| "+this.width&&a.y>=this.top&&a.y<=this.top+this.height};\nh.ceil=functio", |
| "n(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.wi", |
| "dth=Math.ceil(this.width);this.height=Math.ceil(this.height);return thi", |
| "s};h.floor=function(){this.left=Math.floor(this.left);this.top=Math.flo", |
| "or(this.top);this.width=Math.floor(this.width);this.height=Math.floor(t", |
| "his.height);return this};h.round=function(){this.left=Math.round(this.l", |
| "eft);this.top=Math.round(this.top);this.width=Math.round(this.width);th", |
| "is.height=Math.round(this.height);return this};\nh.translate=function(a", |
| ",b){a instanceof v?(this.left+=a.x,this.top+=a.y):(this.left+=a,n(b)&&(", |
| "this.top+=b));return this};h.scale=function(a,b){var c=n(b)?b:a;this.le", |
| "ft*=a;this.width*=a;this.top*=c;this.height*=c;return this};function Qb", |
| "(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;", |
| ")a=a.parentNode;return z(a)?a:null}\nfunction Y(a,b){var c=ma(b);if(\"f", |
| "loat\"==c||\"cssFloat\"==c||\"styleFloat\"==c)c=\"cssFloat\";var d;a:{d", |
| "=c;var e=y(a);if(e.defaultView&&e.defaultView.getComputedStyle&&(e=e.de", |
| "faultView.getComputedStyle(a,null))){d=e[d]||e.getPropertyValue(d)||\"", |
| "\";break a}d=\"\"}d=d||Rb(a,c);if(null===d)d=null;else if(0<=na(ua,c)){", |
| "b:{var f=d.match(ya);if(f){var c=Number(f[1]),e=Number(f[2]),g=Number(f", |
| "[3]),f=Number(f[4]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g&&0<=f&&", |
| "1>=f){c=[c,e,g,f];break b}}c=null}if(!c)b:{if(g=d.match(za))if(c=\nNumb", |
| "er(g[1]),e=Number(g[2]),g=Number(g[3]),0<=c&&255>=c&&0<=e&&255>=e&&0<=g", |
| "&&255>=g){c=[c,e,g,1];break b}c=null}if(!c)b:{c=d.toLowerCase();e=ta[c.", |
| "toLowerCase()];if(!e&&(e=\"#\"==c.charAt(0)?c:\"#\"+c,4==e.length&&(e=e", |
| ".replace(va,\"#$1$1$2$2$3$3\")),!xa.test(e))){c=null;break b}c=[parseIn", |
| "t(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),1", |
| "6),1]}d=c?\"rgba(\"+c.join(\", \")+\")\":d}return d}\nfunction Rb(a,b){", |
| "var c=a.currentStyle||a.style,d=c[b];!l(d)&&\"function\"==fa(c.getPrope", |
| "rtyValue)&&(d=c.getPropertyValue(b));return\"inherit\"!=d?l(d)?d:null:(", |
| "c=Qb(a))?Rb(c,b):null}\nfunction Sb(a,b,c){function d(a){var b=Tb(a);re", |
| "turn 0<b.height&&0<b.width?!0:z(a,\"PATH\")&&(0<b.height||0<b.width)?(a", |
| "=Y(a,\"stroke-width\"),!!a&&0<parseInt(a,10)):\"hidden\"!=Y(a,\"overflo", |
| "w\")&&oa(a.childNodes,function(a){return 3==a.nodeType||z(a)&&d(a)})}fu", |
| "nction e(a){return Ub(a)==Z&&pa(a.childNodes,function(a){return!z(a)||e", |
| "(a)||!d(a)})}if(!z(a))throw Error(\"Argument to isShown must be of type", |
| " Element\");if(z(a,\"BODY\"))return!0;if(z(a,\"OPTION\")||z(a,\"OPTGROU", |
| "P\"))return a=Ja(a,function(a){return z(a,\"SELECT\")}),\n!!a&&Sb(a,!0,", |
| "c);var f=Vb(a);if(f)return!!f.Z&&0<f.rect.width&&0<f.rect.height&&Sb(f.", |
| "Z,b,c);if(z(a,\"INPUT\")&&\"hidden\"==a.type.toLowerCase()||z(a,\"NOSCR", |
| "IPT\"))return!1;f=Y(a,\"visibility\");return\"collapse\"!=f&&\"hidden\"", |
| "!=f&&c(a)&&(b||0!=Wb(a))&&d(a)?!e(a):!1}function Xb(a,b){function c(a){", |
| "if(\"none\"==Y(a,\"display\"))return!1;a=Qb(a);return!a||c(a)}return Sb", |
| "(a,!!b,c)}var Z=\"hidden\";\nfunction Ub(a){function b(a){function b(a)", |
| "{return a==g?!0:0==Y(a,\"display\").lastIndexOf(\"inline\",0)||\"absolu", |
| "te\"==c&&\"static\"==Y(a,\"position\")?!1:!0}var c=Y(a,\"position\");if", |
| "(\"fixed\"==c)return D=!0,a==g?null:g;for(a=Qb(a);a&&!b(a);)a=Qb(a);ret", |
| "urn a}function c(a){var b=a;if(\"visible\"==w)if(a==g&&k)b=k;else if(a=", |
| "=k)return{x:\"visible\",y:\"visible\"};b={x:Y(b,\"overflow-x\"),y:Y(b,", |
| "\"overflow-y\")};a==g&&(b.x=\"visible\"==b.x?\"auto\":b.x,b.y=\"visible", |
| "\"==b.y?\"auto\":b.y);return b}function d(a){if(a==g){var b=(new Ka(f))", |
| ".O;\na=b.scrollingElement?b.scrollingElement:b.body||b.documentElement;", |
| "b=b.parentWindow||b.defaultView;a=new v(b.pageXOffset||a.scrollLeft,b.p", |
| "ageYOffset||a.scrollTop)}else a=new v(a.scrollLeft,a.scrollTop);return ", |
| "a}var e=Yb(a),f=y(a),g=f.documentElement,k=f.body,w=Y(g,\"overflow\"),D", |
| ";for(a=b(a);a;a=b(a)){var q=c(a);if(\"visible\"!=q.x||\"visible\"!=q.y)", |
| "{var x=Tb(a);if(0==x.width||0==x.height)return Z;var J=e.right<x.left,R", |
| "=e.bottom<x.top;if(J&&\"hidden\"==q.x||R&&\"hidden\"==q.y)return Z;if(J", |
| "&&\"visible\"!=q.x||R&&\n\"visible\"!=q.y){J=d(a);R=e.bottom<x.top-J.y;", |
| "if(e.right<x.left-J.x&&\"visible\"!=q.x||R&&\"visible\"!=q.x)return Z;e", |
| "=Ub(a);return e==Z?Z:\"scroll\"}J=e.left>=x.left+x.width;x=e.top>=x.top", |
| "+x.height;if(J&&\"hidden\"==q.x||x&&\"hidden\"==q.y)return Z;if(J&&\"vi", |
| "sible\"!=q.x||x&&\"visible\"!=q.y){if(D&&(q=d(a),e.left>=g.scrollWidth-", |
| "q.x||e.right>=g.scrollHeight-q.y))return Z;e=Ub(a);return e==Z?Z:\"scro", |
| "ll\"}}}return\"none\"}\nfunction Tb(a){var b=Vb(a);if(b)return b.rect;i", |
| "f(z(a,\"HTML\"))return a=y(a),a=((a?a.parentWindow||a.defaultView:windo", |
| "w)||window).document,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a", |
| ".body,a=new Ca(a.clientWidth,a.clientHeight),new X(0,0,a.width,a.height", |
| ");var c;try{c=a.getBoundingClientRect()}catch(d){return new X(0,0,0,0)}", |
| "return new X(c.left,c.top,c.right-c.left,c.bottom-c.top)}\nfunction Vb(", |
| "a){var b=z(a,\"MAP\");if(!b&&!z(a,\"AREA\"))return null;var c=b?a:z(a.p", |
| "arentNode,\"MAP\")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=W.pa('", |
| "/descendant::*[@usemap = \"#'+c.name+'\"]',y(c)))&&(e=Tb(d),b||\"defaul", |
| "t\"==a.shape.toLowerCase()||(a=Zb(a),b=Math.min(Math.max(a.left,0),e.wi", |
| "dth),c=Math.min(Math.max(a.top,0),e.height),e=new X(b+e.left,c+e.top,Ma", |
| "th.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{Z:d,r", |
| "ect:e||new X(0,0,0,0)}}\nfunction Zb(a){var b=a.shape.toLowerCase();a=a", |
| ".coords.split(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];ret", |
| "urn new X(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2", |
| "],new X(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[", |
| "0],c=a[1],d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d", |
| ",a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new X(b,c,d-b,e", |
| "-c)}return new X(0,0,0,0)}function Yb(a){a=Tb(a);return new Pb(a.top,a.", |
| "left+a.width,a.top+a.height,a.left)}\nfunction Wb(a){var b=1,c=Y(a,\"op", |
| "acity\");c&&(b=Number(c));(a=Qb(a))&&(b*=Wb(a));return b}if(\"function", |
| "\"===typeof ShadowRoot)var $b=function(a,b){function c(b){if(\"none\"==", |
| "Y(b,\"display\"))return!1;var e;do{e=b.parentNode;if(b.getDestinationIn", |
| "sertionPoints){var f=b.getDestinationInsertionPoints();0<f.length&&(e=f", |
| "[f.length-1])}if(e instanceof ShadowRoot){if(e.host.shadowRoot!=e)retur", |
| "n!1;e=e.host}else if(9==e.nodeType||11==e.nodeType)e=null}while(a&&1!=a", |
| ".nodeType);return!e||c(e)}return Sb(a,!!b,c)};var ac=\"function\"===typ", |
| "eof ShadowRoot;function bc(a,b,c){if(b){if(!$b(a,c))return!1}else if(!X", |
| "b(a,c))return!1;if(ac){for(;a.parentNode;)a=a.parentNode;if(a instanceo", |
| "f ShadowRoot)return bc(a.host,b)}return!0};ea(\"_\",bc);; return this._", |
| ".apply(null,arguments);}.apply({navigator:typeof window!='undefined'?wi", |
| "ndow.navigator:null,document:typeof window!='undefined'?window.document", |
| ":null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const CLEAR_LOCAL_STORAGE[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,d,c){if(c.get||c.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[d]=c.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar k=f[f.length-1],l=e[k],m=l?l:function(a", |
| "){var d;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");d=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " c=\"\";a;)if(a&1&&(c+=d),a>>>=1)d+=d;return c};m!=l&&null!=m&&b(e,k,{c", |
| "onfigurable:!0,writable:!0,value:m});var n=window;function q(a,d){this.", |
| "code=a;this.state=r[a]||t;this.message=d||\"\";var c=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),w=c.length-5;if(0>w||c.indexOf(\"Error\",w)!=w)c+=\"E", |
| "rror\";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.", |
| "stack||\"\"}\n(function(){var a=Error;function d(){}d.prototype=a.proto", |
| "type;q.c=a.prototype;q.prototype=new d;q.prototype.constructor=q;q.b=fu", |
| "nction(c,d,C){for(var z=Array(arguments.length-2),p=2;p<arguments.lengt", |
| "h;p++)z[p-2]=arguments[p];return a.prototype[d].apply(c,z)}})();var t=", |
| "\"unknown error\",r={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid", |
| " element coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid ", |
| "selector\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17", |
| "]=\"javascript error\";r[405]=\"unsupported operation\";r[34]=\"move ta", |
| "rget out of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r", |
| "[8]=\"no such frame\";r[23]=\"no such window\";r[28]=\"script timeout\"", |
| ";r[33]=\"session not created\";r[10]=\"stale element reference\";r[21]=", |
| "\"timeout\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert ope", |
| "n\";r[13]=t;r[9]=\"unknown command\";q.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function u(a){this.a=a}u.prototype.", |
| "setItem=function(a,d){try{this.a.setItem(a,d+\"\")}catch(c){throw new q", |
| "(13,c.message);}};u.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};u.prototype.removeItem=function(a){var d=this.getItem(a);this.a.re", |
| "moveItem(a);return d};u.prototype.clear=function(){this.a.clear()};u.pr", |
| "ototype.size=function(){return this.a.length};u.prototype.key=function(", |
| "a){return this.a.key(a)};function v(){if(null==(n||n).localStorage)thro", |
| "w new q(13,\"Local storage undefined\");(new u(n.localStorage)).clear()", |
| "}var x=[\"_\"],y=this;x[0]in y||!y.execScript||y.execScript(\"var \"+x[", |
| "0]);for(var A;x.length&&(A=x.shift());){var B;if(B=!x.length)B=void 0!=", |
| "=v;B?y[A]=v:y=y[A]?y[A]:y[A]={}};; return this._.apply(null,arguments);", |
| "}.apply({navigator:typeof window!='undefined'?window.navigator:null,doc", |
| "ument:typeof window!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const CLEAR_SESSION_STORAGE[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,d,c){if(c.get||c.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[d]=c.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar k=f[f.length-1],l=e[k],m=l?l:function(a", |
| "){var d;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");d=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " c=\"\";a;)if(a&1&&(c+=d),a>>>=1)d+=d;return c};m!=l&&null!=m&&b(e,k,{c", |
| "onfigurable:!0,writable:!0,value:m});var n=window;function q(a,d){this.", |
| "code=a;this.state=r[a]||t;this.message=d||\"\";var c=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),w=c.length-5;if(0>w||c.indexOf(\"Error\",w)!=w)c+=\"E", |
| "rror\";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.", |
| "stack||\"\"}\n(function(){var a=Error;function d(){}d.prototype=a.proto", |
| "type;q.c=a.prototype;q.prototype=new d;q.prototype.constructor=q;q.b=fu", |
| "nction(c,d,C){for(var z=Array(arguments.length-2),p=2;p<arguments.lengt", |
| "h;p++)z[p-2]=arguments[p];return a.prototype[d].apply(c,z)}})();var t=", |
| "\"unknown error\",r={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid", |
| " element coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid ", |
| "selector\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17", |
| "]=\"javascript error\";r[405]=\"unsupported operation\";r[34]=\"move ta", |
| "rget out of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r", |
| "[8]=\"no such frame\";r[23]=\"no such window\";r[28]=\"script timeout\"", |
| ";r[33]=\"session not created\";r[10]=\"stale element reference\";r[21]=", |
| "\"timeout\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert ope", |
| "n\";r[13]=t;r[9]=\"unknown command\";q.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function u(a){this.a=a}u.prototype.", |
| "setItem=function(a,d){try{this.a.setItem(a,d+\"\")}catch(c){throw new q", |
| "(13,c.message);}};u.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};u.prototype.removeItem=function(a){var d=this.getItem(a);this.a.re", |
| "moveItem(a);return d};u.prototype.clear=function(){this.a.clear()};u.pr", |
| "ototype.size=function(){return this.a.length};u.prototype.key=function(", |
| "a){return this.a.key(a)};function v(){var a;a=n||n;if(null!=a.sessionSt", |
| "orage&&null!=a.sessionStorage.clear)a=new u(n.sessionStorage);else thro", |
| "w new q(13,\"Session storage undefined\");a.clear()}var x=[\"_\"],y=thi", |
| "s;x[0]in y||!y.execScript||y.execScript(\"var \"+x[0]);for(var A;x.leng", |
| "th&&(A=x.shift());){var B;if(B=!x.length)B=void 0!==v;B?y[A]=v:y=y[A]?y", |
| "[A]:y[A]={}};; return this._.apply(null,arguments);}.apply({navigator:t", |
| "ypeof window!='undefined'?window.navigator:null,document:typeof window!", |
| "='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_APPCACHE_STATUS[] = { |
| "function(){return function(){for(var a=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(b,d,c){if(c.get||c.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");b!=Array", |
| ".prototype&&b!=Object.prototype&&(b[d]=c.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar k=f[f.length-1],l=e[k],m=l?l:function(b", |
| "){var d;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");d=this+\"\";if(0>b||", |
| "1342177279<b)throw new RangeError(\"Invalid count value\");b|=0;for(var", |
| " c=\"\";b;)if(b&1&&(c+=d),b>>>=1)d+=d;return c};m!=l&&null!=m&&a(e,k,{c", |
| "onfigurable:!0,writable:!0,value:m});var p=window;function q(b,d){this.", |
| "code=b;this.state=r[b]||t;this.message=d||\"\";var c=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(b){return b.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),v=c.length-5;if(0>v||c.indexOf(\"Error\",v)!=v)c+=\"E", |
| "rror\";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.", |
| "stack||\"\"}\n(function(){var b=Error;function d(){}d.prototype=b.proto", |
| "type;q.b=b.prototype;q.prototype=new d;q.prototype.constructor=q;q.a=fu", |
| "nction(c,d,B){for(var y=Array(arguments.length-2),n=2;n<arguments.lengt", |
| "h;n++)y[n-2]=arguments[n];return b.prototype[d].apply(c,y)}})();var t=", |
| "\"unknown error\",r={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid", |
| " element coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid ", |
| "selector\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17", |
| "]=\"javascript error\";r[405]=\"unsupported operation\";r[34]=\"move ta", |
| "rget out of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r", |
| "[8]=\"no such frame\";r[23]=\"no such window\";r[28]=\"script timeout\"", |
| ";r[33]=\"session not created\";r[10]=\"stale element reference\";r[21]=", |
| "\"timeout\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert ope", |
| "n\";r[13]=t;r[9]=\"unknown command\";q.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function u(){var b;if(null!=(p||p).", |
| "applicationCache)b=p.applicationCache.status;else throw new q(13,\"Unde", |
| "fined application cache\");return b}var w=[\"_\"],x=this;w[0]in x||!x.e", |
| "xecScript||x.execScript(\"var \"+w[0]);for(var z;w.length&&(z=w.shift()", |
| ");){var A;if(A=!w.length)A=void 0!==u;A?x[z]=u:x=x[z]?x[z]:x[z]={}};; r", |
| "eturn this._.apply(null,arguments);}.apply({navigator:typeof window!='u", |
| "ndefined'?window.navigator:null,document:typeof window!='undefined'?win", |
| "dow.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_ATTRIBUTE[] = { |
| "function(){return function(){var e=\"function\"==typeof Object.definePr", |
| "operties?Object.defineProperty:function(a,d,b){if(b.get||b.set)throw ne", |
| "w TypeError(\"ES3 does not support getters and setters.\");a!=Array.pro", |
| "totype&&a!=Object.prototype&&(a[d]=b.value)},h=\"undefined\"!=typeof wi", |
| "ndow&&window===this?this:\"undefined\"!=typeof global?global:this;\nfun", |
| "ction k(a,d){if(d){for(var b=h,c=a.split(\".\"),f=0;f<c.length-1;f++){v", |
| "ar g=c[f];g in b||(b[g]={});b=b[g]}c=c[c.length-1];f=b[c];g=d(f);g!=f&&", |
| "null!=g&&e(b,c,{configurable:!0,writable:!0,value:g})}}\nk(\"String.pro", |
| "totype.repeat\",function(a){return a?a:function(a){var b;if(null==this)", |
| "throw new TypeError(\"The 'this' value for String.prototype.repeat must", |
| " not be null or undefined\");b=this+\"\";if(0>a||1342177279<a)throw new", |
| " RangeError(\"Invalid count value\");a|=0;for(var c=\"\";a;)if(a&1&&(c+", |
| "=b),a>>>=1)b+=b;return c}});k(\"Math.sign\",function(a){return a?a:func", |
| "tion(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});function m(a){", |
| "return\"string\"==typeof a};function n(a,d){this.code=a;this.state=p[a]", |
| "||q;this.message=d||\"\";var b=this.state.replace(/((?:^|\\s+)[a-z])/g,", |
| "function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),c=b.", |
| "length-5;if(0>c||b.indexOf(\"Error\",c)!=c)b+=\"Error\";this.name=b;b=E", |
| "rror(this.message);b.name=this.name;this.stack=b.stack||\"\"}\n(functio", |
| "n(){var a=Error;function d(){}d.prototype=a.prototype;n.b=a.prototype;n", |
| ".prototype=new d;n.prototype.constructor=n;n.a=function(b,c,d){for(var ", |
| "g=Array(arguments.length-2),l=2;l<arguments.length;l++)g[l-2]=arguments", |
| "[l];return a.prototype[c].apply(b,g)}})();var q=\"unknown error\",p={15", |
| ":\"element not selectable\",11:\"element not visible\"};p[31]=q;p[30]=q", |
| ";p[24]=\"invalid cookie domain\";p[29]=\"invalid element coordinates\";", |
| "p[12]=\"invalid element state\";p[32]=\"invalid selector\";p[51]=\"inva", |
| "lid selector\";\np[52]=\"invalid selector\";p[17]=\"javascript error\";", |
| "p[405]=\"unsupported operation\";p[34]=\"move target out of bounds\";p[", |
| "27]=\"no such alert\";p[7]=\"no such element\";p[8]=\"no such frame\";p", |
| "[23]=\"no such window\";p[28]=\"script timeout\";p[33]=\"session not cr", |
| "eated\";p[10]=\"stale element reference\";p[21]=\"timeout\";p[25]=\"una", |
| "ble to set cookie\";p[26]=\"unexpected alert open\";p[13]=q;p[9]=\"unkn", |
| "own command\";n.prototype.toString=function(){return this.name+\": \"+t", |
| "his.message};function r(a,d){for(var b=a.length,c=m(a)?a.split(\"\"):a,", |
| "f=0;f<b;f++)f in c&&d.call(void 0,c[f],f,a)};function t(a,d){d=d.toLowe", |
| "rCase();if(\"style\"==d)return u(a.style.cssText);var b=a.getAttributeN", |
| "ode(d);return b&&b.specified?b.value:null}var v=/[;]+(?=(?:(?:[^\"]*\")", |
| "{2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()", |
| "]*$)/;function u(a){var d=[];r(a.split(v),function(a){var c=a.indexOf(", |
| "\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&d.push(a[0].toL", |
| "owerCase(),\":\",a[1],\";\"))});d=d.join(\"\");return d=\";\"==d.charAt", |
| "(d.length-1)?d:d+\";\"}\nfunction w(a,d){return!!a&&1==a.nodeType&&(!d|", |
| "|a.tagName.toUpperCase()==d)}function x(a){return w(a,\"OPTION\")?!0:w(", |
| "a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1}", |
| ";var y={\"class\":\"className\",readonly:\"readOnly\"},z=\"async autofo", |
| "cus autoplay checked compact complete controls declare defaultchecked d", |
| "efaultselected defer disabled draggable ended formnovalidate hidden ind", |
| "eterminate iscontenteditable ismap itemscope loop multiple muted nohref", |
| " noresize noshade novalidate nowrap open paused pubdate readonly requir", |
| "ed reversed scoped seamless seeking selected spellcheck truespeed willv", |
| "alidate\".split(\" \");function A(a,d){var b,c=d.toLowerCase();if(\"sty", |
| "le\"==c)return(b=a.style)&&!m(b)&&(b=b.cssText),b;if((\"selected\"==c||", |
| "\"checked\"==c)&&x(a)){if(!x(a))throw new n(15,\"Element is not selecta", |
| "ble\");b=\"selected\";c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c", |
| "||\"radio\"==c)b=\"checked\";return a[b]?\"true\":null}var f=w(a,\"A\")", |
| ";if(w(a,\"IMG\")&&\"src\"==c||f&&\"href\"==c)return(b=t(a,c))&&(b=a[c])", |
| ",b;if(\"spellcheck\"==c){b=t(a,c);if(null!==b){if(\"false\"==b.toLowerC", |
| "ase())return\"false\";if(\"true\"==b.toLowerCase())return\"true\"}retur", |
| "n a[c]+\n\"\"}f=y[d]||d;a:if(m(z))c=m(c)&&1==c.length?z.indexOf(c,0):-1", |
| ";else{for(var g=0;g<z.length;g++)if(g in z&&z[g]===c){c=g;break a}c=-1}", |
| "if(0<=c)return(b=null!==t(a,d)||a[f])?\"true\":null;try{b=a[f]}catch(l)", |
| "{}(c=null==b)||(c=typeof b,c=\"object\"==c&&null!=b||\"function\"==c);b", |
| "=c?t(a,d):b;return null!=b?b.toString():null}var B=[\"_\"],C=this;B[0]i", |
| "n C||!C.execScript||C.execScript(\"var \"+B[0]);for(var D;B.length&&(D=", |
| "B.shift());){var E;if(E=!B.length)E=void 0!==A;E?C[D]=A:C=C[D]?C[D]:C[D", |
| "]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof w", |
| "indow!='undefined'?window.navigator:null,document:typeof window!='undef", |
| "ined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_LOCAL_STORAGE_ITEM[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,d,c){if(c.get||c.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[d]=c.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar k=f[f.length-1],l=e[k],m=l?l:function(a", |
| "){var d;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");d=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " c=\"\";a;)if(a&1&&(c+=d),a>>>=1)d+=d;return c};m!=l&&null!=m&&b(e,k,{c", |
| "onfigurable:!0,writable:!0,value:m});var n=window;function q(a,d){this.", |
| "code=a;this.state=r[a]||t;this.message=d||\"\";var c=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),w=c.length-5;if(0>w||c.indexOf(\"Error\",w)!=w)c+=\"E", |
| "rror\";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.", |
| "stack||\"\"}\n(function(){var a=Error;function d(){}d.prototype=a.proto", |
| "type;q.c=a.prototype;q.prototype=new d;q.prototype.constructor=q;q.b=fu", |
| "nction(c,d,C){for(var z=Array(arguments.length-2),p=2;p<arguments.lengt", |
| "h;p++)z[p-2]=arguments[p];return a.prototype[d].apply(c,z)}})();var t=", |
| "\"unknown error\",r={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid", |
| " element coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid ", |
| "selector\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17", |
| "]=\"javascript error\";r[405]=\"unsupported operation\";r[34]=\"move ta", |
| "rget out of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r", |
| "[8]=\"no such frame\";r[23]=\"no such window\";r[28]=\"script timeout\"", |
| ";r[33]=\"session not created\";r[10]=\"stale element reference\";r[21]=", |
| "\"timeout\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert ope", |
| "n\";r[13]=t;r[9]=\"unknown command\";q.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function u(a){this.a=a}u.prototype.", |
| "setItem=function(a,d){try{this.a.setItem(a,d+\"\")}catch(c){throw new q", |
| "(13,c.message);}};u.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};u.prototype.removeItem=function(a){var d=this.getItem(a);this.a.re", |
| "moveItem(a);return d};u.prototype.clear=function(){this.a.clear()};u.pr", |
| "ototype.size=function(){return this.a.length};u.prototype.key=function(", |
| "a){return this.a.key(a)};function v(a){if(null==(n||n).localStorage)thr", |
| "ow new q(13,\"Local storage undefined\");return(new u(n.localStorage)).", |
| "getItem(a)}var x=[\"_\"],y=this;x[0]in y||!y.execScript||y.execScript(", |
| "\"var \"+x[0]);for(var A;x.length&&(A=x.shift());){var B;if(B=!x.length", |
| ")B=void 0!==v;B?y[A]=v:y=y[A]?y[A]:y[A]={}};; return this._.apply(null,", |
| "arguments);}.apply({navigator:typeof window!='undefined'?window.navigat", |
| "or:null,document:typeof window!='undefined'?window.document:null}, argu", |
| "ments);}", |
| NULL |
| }; |
| |
| const char* const GET_LOCAL_STORAGE_KEY[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,d,c){if(c.get||c.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[d]=c.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar k=f[f.length-1],l=e[k],m=l?l:function(a", |
| "){var d;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");d=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " c=\"\";a;)if(a&1&&(c+=d),a>>>=1)d+=d;return c};m!=l&&null!=m&&b(e,k,{c", |
| "onfigurable:!0,writable:!0,value:m});var n=window;function q(a,d){this.", |
| "code=a;this.state=r[a]||t;this.message=d||\"\";var c=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),w=c.length-5;if(0>w||c.indexOf(\"Error\",w)!=w)c+=\"E", |
| "rror\";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.", |
| "stack||\"\"}\n(function(){var a=Error;function d(){}d.prototype=a.proto", |
| "type;q.c=a.prototype;q.prototype=new d;q.prototype.constructor=q;q.b=fu", |
| "nction(c,d,C){for(var z=Array(arguments.length-2),p=2;p<arguments.lengt", |
| "h;p++)z[p-2]=arguments[p];return a.prototype[d].apply(c,z)}})();var t=", |
| "\"unknown error\",r={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid", |
| " element coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid ", |
| "selector\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17", |
| "]=\"javascript error\";r[405]=\"unsupported operation\";r[34]=\"move ta", |
| "rget out of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r", |
| "[8]=\"no such frame\";r[23]=\"no such window\";r[28]=\"script timeout\"", |
| ";r[33]=\"session not created\";r[10]=\"stale element reference\";r[21]=", |
| "\"timeout\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert ope", |
| "n\";r[13]=t;r[9]=\"unknown command\";q.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function u(a){this.a=a}u.prototype.", |
| "setItem=function(a,d){try{this.a.setItem(a,d+\"\")}catch(c){throw new q", |
| "(13,c.message);}};u.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};u.prototype.removeItem=function(a){var d=this.getItem(a);this.a.re", |
| "moveItem(a);return d};u.prototype.clear=function(){this.a.clear()};u.pr", |
| "ototype.size=function(){return this.a.length};u.prototype.key=function(", |
| "a){return this.a.key(a)};function v(a){if(null==(n||n).localStorage)thr", |
| "ow new q(13,\"Local storage undefined\");return(new u(n.localStorage)).", |
| "key(a)}var x=[\"_\"],y=this;x[0]in y||!y.execScript||y.execScript(\"var", |
| " \"+x[0]);for(var A;x.length&&(A=x.shift());){var B;if(B=!x.length)B=vo", |
| "id 0!==v;B?y[A]=v:y=y[A]?y[A]:y[A]={}};; return this._.apply(null,argum", |
| "ents);}.apply({navigator:typeof window!='undefined'?window.navigator:nu", |
| "ll,document:typeof window!='undefined'?window.document:null}, arguments", |
| ");}", |
| NULL |
| }; |
| |
| const char* const GET_LOCAL_STORAGE_KEYS[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,c,d){if(d.get||d.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[c]=d.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,g", |
| "=[\"String\",\"prototype\",\"repeat\"],h=0;h<g.length-1;h++){var k=g[h]", |
| ";k in e||(e[k]={});e=e[k]}\nvar l=g[g.length-1],m=e[l],n=m?m:function(a", |
| "){var c;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");c=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " d=\"\";a;)if(a&1&&(d+=c),a>>>=1)c+=c;return d};n!=m&&null!=n&&b(e,l,{c", |
| "onfigurable:!0,writable:!0,value:n});var p=window;function r(a,c){this.", |
| "code=a;this.state=t[a]||u;this.message=c||\"\";var d=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),f=d.length-5;if(0>f||d.indexOf(\"Error\",f)!=f)d+=\"E", |
| "rror\";this.name=d;d=Error(this.message);d.name=this.name;this.stack=d.", |
| "stack||\"\"}\n(function(){var a=Error;function c(){}c.prototype=a.proto", |
| "type;r.c=a.prototype;r.prototype=new c;r.prototype.constructor=r;r.b=fu", |
| "nction(d,c,C){for(var z=Array(arguments.length-2),q=2;q<arguments.lengt", |
| "h;q++)z[q-2]=arguments[q];return a.prototype[c].apply(d,z)}})();var u=", |
| "\"unknown error\",t={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};t[31]=u;t[30]=u;t[24]=\"invalid cookie domain\";t[29]=\"invalid", |
| " element coordinates\";t[12]=\"invalid element state\";t[32]=\"invalid ", |
| "selector\";t[51]=\"invalid selector\";\nt[52]=\"invalid selector\";t[17", |
| "]=\"javascript error\";t[405]=\"unsupported operation\";t[34]=\"move ta", |
| "rget out of bounds\";t[27]=\"no such alert\";t[7]=\"no such element\";t", |
| "[8]=\"no such frame\";t[23]=\"no such window\";t[28]=\"script timeout\"", |
| ";t[33]=\"session not created\";t[10]=\"stale element reference\";t[21]=", |
| "\"timeout\";t[25]=\"unable to set cookie\";t[26]=\"unexpected alert ope", |
| "n\";t[13]=u;t[9]=\"unknown command\";r.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function v(a){this.a=a}v.prototype.", |
| "setItem=function(a,c){try{this.a.setItem(a,c+\"\")}catch(d){throw new r", |
| "(13,d.message);}};v.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};v.prototype.removeItem=function(a){var c=this.getItem(a);this.a.re", |
| "moveItem(a);return c};v.prototype.clear=function(){this.a.clear()};v.pr", |
| "ototype.size=function(){return this.a.length};v.prototype.key=function(", |
| "a){return this.a.key(a)};function w(){var a;if(null==(p||p).localStorag", |
| "e)throw new r(13,\"Local storage undefined\");a=new v(p.localStorage);f", |
| "or(var c=[],d=a.size(),f=0;f<d;f++)c[f]=a.a.key(f);return c}var x=[\"_", |
| "\"],y=this;x[0]in y||!y.execScript||y.execScript(\"var \"+x[0]);for(var", |
| " A;x.length&&(A=x.shift());){var B;if(B=!x.length)B=void 0!==w;B?y[A]=w", |
| ":y=y[A]?y[A]:y[A]={}};; return this._.apply(null,arguments);}.apply({na", |
| "vigator:typeof window!='undefined'?window.navigator:null,document:typeo", |
| "f window!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_LOCAL_STORAGE_SIZE[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,d,c){if(c.get||c.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[d]=c.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar k=f[f.length-1],l=e[k],m=l?l:function(a", |
| "){var d;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");d=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " c=\"\";a;)if(a&1&&(c+=d),a>>>=1)d+=d;return c};m!=l&&null!=m&&b(e,k,{c", |
| "onfigurable:!0,writable:!0,value:m});var n=window;function q(a,d){this.", |
| "code=a;this.state=r[a]||t;this.message=d||\"\";var c=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),w=c.length-5;if(0>w||c.indexOf(\"Error\",w)!=w)c+=\"E", |
| "rror\";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.", |
| "stack||\"\"}\n(function(){var a=Error;function d(){}d.prototype=a.proto", |
| "type;q.c=a.prototype;q.prototype=new d;q.prototype.constructor=q;q.b=fu", |
| "nction(c,d,C){for(var z=Array(arguments.length-2),p=2;p<arguments.lengt", |
| "h;p++)z[p-2]=arguments[p];return a.prototype[d].apply(c,z)}})();var t=", |
| "\"unknown error\",r={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid", |
| " element coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid ", |
| "selector\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17", |
| "]=\"javascript error\";r[405]=\"unsupported operation\";r[34]=\"move ta", |
| "rget out of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r", |
| "[8]=\"no such frame\";r[23]=\"no such window\";r[28]=\"script timeout\"", |
| ";r[33]=\"session not created\";r[10]=\"stale element reference\";r[21]=", |
| "\"timeout\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert ope", |
| "n\";r[13]=t;r[9]=\"unknown command\";q.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function u(a){this.a=a}u.prototype.", |
| "setItem=function(a,d){try{this.a.setItem(a,d+\"\")}catch(c){throw new q", |
| "(13,c.message);}};u.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};u.prototype.removeItem=function(a){var d=this.getItem(a);this.a.re", |
| "moveItem(a);return d};u.prototype.clear=function(){this.a.clear()};u.pr", |
| "ototype.size=function(){return this.a.length};u.prototype.key=function(", |
| "a){return this.a.key(a)};function v(){if(null==(n||n).localStorage)thro", |
| "w new q(13,\"Local storage undefined\");return(new u(n.localStorage)).s", |
| "ize()}var x=[\"_\"],y=this;x[0]in y||!y.execScript||y.execScript(\"var ", |
| "\"+x[0]);for(var A;x.length&&(A=x.shift());){var B;if(B=!x.length)B=voi", |
| "d 0!==v;B?y[A]=v:y=y[A]?y[A]:y[A]={}};; return this._.apply(null,argume", |
| "nts);}.apply({navigator:typeof window!='undefined'?window.navigator:nul", |
| "l,document:typeof window!='undefined'?window.document:null}, arguments)", |
| ";}", |
| NULL |
| }; |
| |
| const char* const GET_SESSION_STORAGE_ITEM[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,c,d){if(d.get||d.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[c]=d.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar l=f[f.length-1],m=e[l],n=m?m:function(a", |
| "){var c;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");c=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " d=\"\";a;)if(a&1&&(d+=c),a>>>=1)c+=c;return d};n!=m&&null!=n&&b(e,l,{c", |
| "onfigurable:!0,writable:!0,value:n});var p=window;function r(a,c){this.", |
| "code=a;this.state=t[a]||u;this.message=c||\"\";var d=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),k=d.length-5;if(0>k||d.indexOf(\"Error\",k)!=k)d+=\"E", |
| "rror\";this.name=d;d=Error(this.message);d.name=this.name;this.stack=d.", |
| "stack||\"\"}\n(function(){var a=Error;function c(){}c.prototype=a.proto", |
| "type;r.c=a.prototype;r.prototype=new c;r.prototype.constructor=r;r.b=fu", |
| "nction(c,k,C){for(var z=Array(arguments.length-2),q=2;q<arguments.lengt", |
| "h;q++)z[q-2]=arguments[q];return a.prototype[k].apply(c,z)}})();var u=", |
| "\"unknown error\",t={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};t[31]=u;t[30]=u;t[24]=\"invalid cookie domain\";t[29]=\"invalid", |
| " element coordinates\";t[12]=\"invalid element state\";t[32]=\"invalid ", |
| "selector\";t[51]=\"invalid selector\";\nt[52]=\"invalid selector\";t[17", |
| "]=\"javascript error\";t[405]=\"unsupported operation\";t[34]=\"move ta", |
| "rget out of bounds\";t[27]=\"no such alert\";t[7]=\"no such element\";t", |
| "[8]=\"no such frame\";t[23]=\"no such window\";t[28]=\"script timeout\"", |
| ";t[33]=\"session not created\";t[10]=\"stale element reference\";t[21]=", |
| "\"timeout\";t[25]=\"unable to set cookie\";t[26]=\"unexpected alert ope", |
| "n\";t[13]=u;t[9]=\"unknown command\";r.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function v(a){this.a=a}v.prototype.", |
| "setItem=function(a,c){try{this.a.setItem(a,c+\"\")}catch(d){throw new r", |
| "(13,d.message);}};v.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};v.prototype.removeItem=function(a){var c=this.getItem(a);this.a.re", |
| "moveItem(a);return c};v.prototype.clear=function(){this.a.clear()};v.pr", |
| "ototype.size=function(){return this.a.length};v.prototype.key=function(", |
| "a){return this.a.key(a)};function w(a){var c;c=p||p;if(null!=c.sessionS", |
| "torage&&null!=c.sessionStorage.clear)c=new v(p.sessionStorage);else thr", |
| "ow new r(13,\"Session storage undefined\");return c.getItem(a)}var x=[", |
| "\"_\"],y=this;x[0]in y||!y.execScript||y.execScript(\"var \"+x[0]);for(", |
| "var A;x.length&&(A=x.shift());){var B;if(B=!x.length)B=void 0!==w;B?y[A", |
| "]=w:y=y[A]?y[A]:y[A]={}};; return this._.apply(null,arguments);}.apply(", |
| "{navigator:typeof window!='undefined'?window.navigator:null,document:ty", |
| "peof window!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_SESSION_STORAGE_KEY[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,c,d){if(d.get||d.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[c]=d.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar l=f[f.length-1],m=e[l],n=m?m:function(a", |
| "){var c;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");c=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " d=\"\";a;)if(a&1&&(d+=c),a>>>=1)c+=c;return d};n!=m&&null!=n&&b(e,l,{c", |
| "onfigurable:!0,writable:!0,value:n});var p=window;function r(a,c){this.", |
| "code=a;this.state=t[a]||u;this.message=c||\"\";var d=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),k=d.length-5;if(0>k||d.indexOf(\"Error\",k)!=k)d+=\"E", |
| "rror\";this.name=d;d=Error(this.message);d.name=this.name;this.stack=d.", |
| "stack||\"\"}\n(function(){var a=Error;function c(){}c.prototype=a.proto", |
| "type;r.c=a.prototype;r.prototype=new c;r.prototype.constructor=r;r.b=fu", |
| "nction(c,k,C){for(var z=Array(arguments.length-2),q=2;q<arguments.lengt", |
| "h;q++)z[q-2]=arguments[q];return a.prototype[k].apply(c,z)}})();var u=", |
| "\"unknown error\",t={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};t[31]=u;t[30]=u;t[24]=\"invalid cookie domain\";t[29]=\"invalid", |
| " element coordinates\";t[12]=\"invalid element state\";t[32]=\"invalid ", |
| "selector\";t[51]=\"invalid selector\";\nt[52]=\"invalid selector\";t[17", |
| "]=\"javascript error\";t[405]=\"unsupported operation\";t[34]=\"move ta", |
| "rget out of bounds\";t[27]=\"no such alert\";t[7]=\"no such element\";t", |
| "[8]=\"no such frame\";t[23]=\"no such window\";t[28]=\"script timeout\"", |
| ";t[33]=\"session not created\";t[10]=\"stale element reference\";t[21]=", |
| "\"timeout\";t[25]=\"unable to set cookie\";t[26]=\"unexpected alert ope", |
| "n\";t[13]=u;t[9]=\"unknown command\";r.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function v(a){this.a=a}v.prototype.", |
| "setItem=function(a,c){try{this.a.setItem(a,c+\"\")}catch(d){throw new r", |
| "(13,d.message);}};v.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};v.prototype.removeItem=function(a){var c=this.getItem(a);this.a.re", |
| "moveItem(a);return c};v.prototype.clear=function(){this.a.clear()};v.pr", |
| "ototype.size=function(){return this.a.length};v.prototype.key=function(", |
| "a){return this.a.key(a)};function w(a){var c;c=p||p;if(null!=c.sessionS", |
| "torage&&null!=c.sessionStorage.clear)c=new v(p.sessionStorage);else thr", |
| "ow new r(13,\"Session storage undefined\");return c.key(a)}var x=[\"_\"", |
| "],y=this;x[0]in y||!y.execScript||y.execScript(\"var \"+x[0]);for(var A", |
| ";x.length&&(A=x.shift());){var B;if(B=!x.length)B=void 0!==w;B?y[A]=w:y", |
| "=y[A]?y[A]:y[A]={}};; return this._.apply(null,arguments);}.apply({navi", |
| "gator:typeof window!='undefined'?window.navigator:null,document:typeof ", |
| "window!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_SESSION_STORAGE_KEYS[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,c,d){if(d.get||d.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[c]=d.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,g", |
| "=[\"String\",\"prototype\",\"repeat\"],h=0;h<g.length-1;h++){var k=g[h]", |
| ";k in e||(e[k]={});e=e[k]}\nvar l=g[g.length-1],m=e[l],n=m?m:function(a", |
| "){var c;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");c=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " d=\"\";a;)if(a&1&&(d+=c),a>>>=1)c+=c;return d};n!=m&&null!=n&&b(e,l,{c", |
| "onfigurable:!0,writable:!0,value:n});var p=window;function r(a,c){this.", |
| "code=a;this.state=t[a]||u;this.message=c||\"\";var d=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),f=d.length-5;if(0>f||d.indexOf(\"Error\",f)!=f)d+=\"E", |
| "rror\";this.name=d;d=Error(this.message);d.name=this.name;this.stack=d.", |
| "stack||\"\"}\n(function(){var a=Error;function c(){}c.prototype=a.proto", |
| "type;r.c=a.prototype;r.prototype=new c;r.prototype.constructor=r;r.b=fu", |
| "nction(d,c,C){for(var z=Array(arguments.length-2),q=2;q<arguments.lengt", |
| "h;q++)z[q-2]=arguments[q];return a.prototype[c].apply(d,z)}})();var u=", |
| "\"unknown error\",t={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};t[31]=u;t[30]=u;t[24]=\"invalid cookie domain\";t[29]=\"invalid", |
| " element coordinates\";t[12]=\"invalid element state\";t[32]=\"invalid ", |
| "selector\";t[51]=\"invalid selector\";\nt[52]=\"invalid selector\";t[17", |
| "]=\"javascript error\";t[405]=\"unsupported operation\";t[34]=\"move ta", |
| "rget out of bounds\";t[27]=\"no such alert\";t[7]=\"no such element\";t", |
| "[8]=\"no such frame\";t[23]=\"no such window\";t[28]=\"script timeout\"", |
| ";t[33]=\"session not created\";t[10]=\"stale element reference\";t[21]=", |
| "\"timeout\";t[25]=\"unable to set cookie\";t[26]=\"unexpected alert ope", |
| "n\";t[13]=u;t[9]=\"unknown command\";r.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function v(a){this.a=a}v.prototype.", |
| "setItem=function(a,c){try{this.a.setItem(a,c+\"\")}catch(d){throw new r", |
| "(13,d.message);}};v.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};v.prototype.removeItem=function(a){var c=this.getItem(a);this.a.re", |
| "moveItem(a);return c};v.prototype.clear=function(){this.a.clear()};v.pr", |
| "ototype.size=function(){return this.a.length};v.prototype.key=function(", |
| "a){return this.a.key(a)};function w(){var a;a=p||p;if(null!=a.sessionSt", |
| "orage&&null!=a.sessionStorage.clear)a=new v(p.sessionStorage);else thro", |
| "w new r(13,\"Session storage undefined\");for(var c=[],d=a.size(),f=0;f", |
| "<d;f++)c[f]=a.a.key(f);return c}var x=[\"_\"],y=this;x[0]in y||!y.execS", |
| "cript||y.execScript(\"var \"+x[0]);for(var A;x.length&&(A=x.shift());){", |
| "var B;if(B=!x.length)B=void 0!==w;B?y[A]=w:y=y[A]?y[A]:y[A]={}};; retur", |
| "n this._.apply(null,arguments);}.apply({navigator:typeof window!='undef", |
| "ined'?window.navigator:null,document:typeof window!='undefined'?window.", |
| "document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_SESSION_STORAGE_SIZE[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,d,c){if(c.get||c.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[d]=c.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar k=f[f.length-1],l=e[k],m=l?l:function(a", |
| "){var d;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");d=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " c=\"\";a;)if(a&1&&(c+=d),a>>>=1)d+=d;return c};m!=l&&null!=m&&b(e,k,{c", |
| "onfigurable:!0,writable:!0,value:m});var n=window;function q(a,d){this.", |
| "code=a;this.state=r[a]||t;this.message=d||\"\";var c=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),w=c.length-5;if(0>w||c.indexOf(\"Error\",w)!=w)c+=\"E", |
| "rror\";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.", |
| "stack||\"\"}\n(function(){var a=Error;function d(){}d.prototype=a.proto", |
| "type;q.c=a.prototype;q.prototype=new d;q.prototype.constructor=q;q.b=fu", |
| "nction(c,d,C){for(var z=Array(arguments.length-2),p=2;p<arguments.lengt", |
| "h;p++)z[p-2]=arguments[p];return a.prototype[d].apply(c,z)}})();var t=", |
| "\"unknown error\",r={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid", |
| " element coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid ", |
| "selector\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17", |
| "]=\"javascript error\";r[405]=\"unsupported operation\";r[34]=\"move ta", |
| "rget out of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r", |
| "[8]=\"no such frame\";r[23]=\"no such window\";r[28]=\"script timeout\"", |
| ";r[33]=\"session not created\";r[10]=\"stale element reference\";r[21]=", |
| "\"timeout\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert ope", |
| "n\";r[13]=t;r[9]=\"unknown command\";q.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function u(a){this.a=a}u.prototype.", |
| "setItem=function(a,d){try{this.a.setItem(a,d+\"\")}catch(c){throw new q", |
| "(13,c.message);}};u.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};u.prototype.removeItem=function(a){var d=this.getItem(a);this.a.re", |
| "moveItem(a);return d};u.prototype.clear=function(){this.a.clear()};u.pr", |
| "ototype.size=function(){return this.a.length};u.prototype.key=function(", |
| "a){return this.a.key(a)};function v(){var a;a=n||n;if(null!=a.sessionSt", |
| "orage&&null!=a.sessionStorage.clear)a=new u(n.sessionStorage);else thro", |
| "w new q(13,\"Session storage undefined\");return a.size()}var x=[\"_\"]", |
| ",y=this;x[0]in y||!y.execScript||y.execScript(\"var \"+x[0]);for(var A;", |
| "x.length&&(A=x.shift());){var B;if(B=!x.length)B=void 0!==v;B?y[A]=v:y=", |
| "y[A]?y[A]:y[A]={}};; return this._.apply(null,arguments);}.apply({navig", |
| "ator:typeof window!='undefined'?window.navigator:null,document:typeof w", |
| "indow!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_TEXT[] = { |
| "function(){return function(){var g,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e)", |
| ";f!=e&&null!=f&&aa(c,d,{configurable:!0,writable:!0,value:f})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "da=this;function k(a){return void 0!==a}\nfunction ea(a,b){var c=a.spli", |
| "t(\".\"),d=da;c[0]in d||!d.execScript||d.execScript(\"var \"+c[0]);for(", |
| "var e;c.length&&(e=c.shift());)!c.length&&k(b)?d[e]=b:d=d[e]?d[e]:d[e]=", |
| "{}}\nfunction fa(a){var b=typeof a;if(\"object\"==b)if(a){if(a instance", |
| "of Array)return\"array\";if(a instanceof Object)return b;var c=Object.p", |
| "rototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if", |
| "(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typ", |
| "eof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.property", |
| "IsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
| "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
| "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
| "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", |
| "object\";return b}function ga(a){var b=fa(a);return\"array\"==b||\"obje", |
| "ct\"==b&&\"number\"==typeof a.length}function m(a){return\"string\"==ty", |
| "peof a}function n(a){return\"number\"==typeof a}function ha(a){var b=ty", |
| "peof a;return\"object\"==b&&null!=a||\"function\"==b}function ia(a,b,c)", |
| "{return a.call.apply(a.bind,arguments)}\nfunction ja(a,b,c){if(!a)throw", |
| " Error();if(2<arguments.length){var d=Array.prototype.slice.call(argume", |
| "nts,2);return function(){var c=Array.prototype.slice.call(arguments);Ar", |
| "ray.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function()", |
| "{return a.apply(b,arguments)}}function ka(a,b,c){ka=Function.prototype.", |
| "bind&&-1!=Function.prototype.bind.toString().indexOf(\"native code\")?i", |
| "a:ja;return ka.apply(null,arguments)}\nfunction la(a,b){var c=Array.pro", |
| "totype.slice.call(arguments,1);return function(){var b=c.slice();b.push", |
| ".apply(b,arguments);return a.apply(this,b)}}function p(a,b){function c(", |
| "){}c.prototype=b.prototype;a.ya=b.prototype;a.prototype=new c;a.prototy", |
| "pe.constructor=a;a.wa=function(a,c,f){for(var h=Array(arguments.length-", |
| "2),l=2;l<arguments.length;l++)h[l-2]=arguments[l];return b.prototype[c]", |
| ".apply(a,h)}};function ma(a){var b=a.length-1;return 0<=b&&a.indexOf(\"", |
| " \",b)==b}function na(a){return String(a).replace(/\\-([a-z])/g,functio", |
| "n(a,c){return c.toUpperCase()})};function oa(a,b){if(m(a))return m(b)&&", |
| "1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c", |
| "]===b)return c;return-1}function q(a,b){for(var c=a.length,d=m(a)?a.spl", |
| "it(\"\"):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)}function t(a,b,c", |
| "){var d=c;q(a,function(c,f){d=b.call(void 0,d,c,f,a)});return d}functio", |
| "n pa(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in", |
| " d&&b.call(void 0,d[e],e,a))return!0;return!1}\nfunction qa(a,b){for(va", |
| "r c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(void", |
| " 0,d[e],e,a))return!1;return!0}function ra(a){return Array.prototype.co", |
| "ncat.apply(Array.prototype,arguments)}function sa(a){var b=a.length;if(", |
| "0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}functio", |
| "n ta(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):", |
| "Array.prototype.slice.call(a,b,c)};var ua={aliceblue:\"#f0f8ff\",antiqu", |
| "ewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0f", |
| "fff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedal", |
| "mond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2", |
| "a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",", |
| "chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",corn", |
| "silk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008", |
| "b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\"", |
| ",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",dar", |
| "kmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",", |
| "darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darks", |
| "eagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\"", |
| ",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400", |
| "d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",d", |
| "imgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralw", |
| "hite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:", |
| "\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa5", |
| "20\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"", |
| "#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c", |
| "\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e", |
| "6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"", |
| "#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0f", |
| "fff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen", |
| ":\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"", |
| "#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightsla", |
| "tegray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de", |
| "\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen", |
| ":\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"", |
| "#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:", |
| "\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",medi", |
| "umspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:", |
| "\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"", |
| "#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080", |
| "\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:", |
| "\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#e", |
| "ee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:", |
| "\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f", |
| "\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#8", |
| "00080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",sad", |
| "dlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen", |
| ":\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0", |
| "\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slat", |
| "egrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"", |
| "#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:", |
| "\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",", |
| "white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen", |
| ":\"#9acd32\"};var va=\"backgroundColor borderTopColor borderRightColor ", |
| "borderBottomColor borderLeftColor color outlineColor\".split(\" \"),wa=", |
| "/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,xa=/^#(?:[0-9a-f]{3}){1,2}$/", |
| "i,ya=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0", |
| "\\.\\d*)\\)$/i,za=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),", |
| "\\s?(0|[1-9]\\d{0,2})\\)$/i;function Aa(a,b){this.code=a;this.state=u[a", |
| "]||Ca;this.message=b||\"\";var c=this.state.replace(/((?:^|\\s+)[a-z])/", |
| "g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d=", |
| "c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.name=c;c", |
| "=Error(this.message);c.name=this.name;this.stack=c.stack||\"\"}p(Aa,Err", |
| "or);var Ca=\"unknown error\",u={15:\"element not selectable\",11:\"elem", |
| "ent not visible\"};u[31]=Ca;u[30]=Ca;u[24]=\"invalid cookie domain\";u[", |
| "29]=\"invalid element coordinates\";u[12]=\"invalid element state\";\nu", |
| "[32]=\"invalid selector\";u[51]=\"invalid selector\";u[52]=\"invalid se", |
| "lector\";u[17]=\"javascript error\";u[405]=\"unsupported operation\";u[", |
| "34]=\"move target out of bounds\";u[27]=\"no such alert\";u[7]=\"no suc", |
| "h element\";u[8]=\"no such frame\";u[23]=\"no such window\";u[28]=\"scr", |
| "ipt timeout\";u[33]=\"session not created\";u[10]=\"stale element refer", |
| "ence\";u[21]=\"timeout\";u[25]=\"unable to set cookie\";u[26]=\"unexpec", |
| "ted alert open\";u[13]=Ca;u[9]=\"unknown command\";Aa.prototype.toStrin", |
| "g=function(){return this.name+\": \"+this.message};var Da;a:{var Ea=da.", |
| "navigator;if(Ea){var Fa=Ea.userAgent;if(Fa){Da=Fa;break a}}Da=\"\"};var", |
| " Ga=-1!=Da.indexOf(\"Macintosh\"),Ha=-1!=Da.indexOf(\"Windows\");functi", |
| "on x(a,b){this.x=k(a)?a:0;this.y=k(b)?b:0}g=x.prototype;g.clone=functio", |
| "n(){return new x(this.x,this.y)};g.toString=function(){return\"(\"+this", |
| ".x+\", \"+this.y+\")\"};g.ceil=function(){this.x=Math.ceil(this.x);this", |
| ".y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(", |
| "this.x);this.y=Math.floor(this.y);return this};g.round=function(){this.", |
| "x=Math.round(this.x);this.y=Math.round(this.y);return this};\ng.transla", |
| "te=function(a,b){a instanceof x?(this.x+=a.x,this.y+=a.y):(this.x+=Numb", |
| "er(a),n(b)&&(this.y+=b));return this};g.scale=function(a,b){var c=n(b)?", |
| "b:a;this.x*=a;this.y*=c;return this};function Ia(a,b){this.width=a;this", |
| ".height=b}g=Ia.prototype;g.clone=function(){return new Ia(this.width,th", |
| "is.height)};g.toString=function(){return\"(\"+this.width+\" x \"+this.h", |
| "eight+\")\"};g.ceil=function(){this.width=Math.ceil(this.width);this.he", |
| "ight=Math.ceil(this.height);return this};g.floor=function(){this.width=", |
| "Math.floor(this.width);this.height=Math.floor(this.height);return this}", |
| ";g.round=function(){this.width=Math.round(this.width);this.height=Math.", |
| "round(this.height);return this};\ng.scale=function(a,b){var c=n(b)?b:a;", |
| "this.width*=a;this.height*=c;return this};function Ja(a,b,c){function d", |
| "(c){c&&b.appendChild(m(c)?a.createTextNode(c):c)}for(var e=1;e<c.length", |
| ";e++){var f=c[e];!ga(f)||ha(f)&&0<f.nodeType?d(f):q(Ka(f)?sa(f):f,d)}}f", |
| "unction La(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}funct", |
| "ion Ma(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b", |
| "||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)retu", |
| "rn a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNo", |
| "de;return b==a}\nfunction Na(a,b){if(a==b)return 0;if(a.compareDocument", |
| "Position)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"i", |
| "n a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeType,", |
| "d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.pare", |
| "ntNode,f=b.parentNode;return e==f?Oa(a,b):!c&&Ma(e,b)?-1*Pa(a,b):!d&&Ma", |
| "(f,a)?Pa(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.source", |
| "Index)}d=y(a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=d.crea", |
| "teRange();d.selectNode(b);\nd.collapse(!0);return c.compareBoundaryPoin", |
| "ts(da.Range.START_TO_END,d)}function Pa(a,b){var c=a.parentNode;if(c==b", |
| ")return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return Oa(d,a)}fu", |
| "nction Oa(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return", |
| " 1}function y(a){return 9==a.nodeType?a:a.ownerDocument||a.document}fun", |
| "ction Ka(a){if(a&&\"number\"==typeof a.length){if(ha(a))return\"functio", |
| "n\"==typeof a.item||\"string\"==typeof a.item;if(\"function\"==fa(a))re", |
| "turn\"function\"==typeof a.item}return!1}\nfunction Qa(a,b){a=a.parentN", |
| "ode;for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}fun", |
| "ction Ra(a){this.U=a||da.document||document}g=Ra.prototype;g.createElem", |
| "ent=function(a){return this.U.createElement(a)};g.createTextNode=functi", |
| "on(a){return this.U.createTextNode(String(a))};g.appendChild=function(a", |
| ",b){a.appendChild(b)};g.append=function(a,b){Ja(y(a),a,arguments)};g.ca", |
| "nHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){c", |
| "ase \"APPLET\":case \"AREA\":case \"BASE\":case \"BR\":case \"COL\":cas", |
| "e \"COMMAND\":case \"EMBED\":case \"FRAME\":case \"HR\":case \"IMG\":ca", |
| "se \"INPUT\":case \"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LI", |
| "NK\":case \"NOFRAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":", |
| "case \"PARAM\":case \"SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TR", |
| "ACK\":case \"WBR\":return!1}return!0};\ng.removeNode=function(a){return", |
| " a&&a.parentNode?a.parentNode.removeChild(a):null};g.contains=Ma;functi", |
| "on z(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};/", |
| "*\n\n The MIT License\n\n Copyright (c) 2007 Cybozu Labs, Inc.\n Copyri", |
| "ght (c) 2012 Google Inc.\n\n Permission is hereby granted, free of char", |
| "ge, to any person obtaining a copy\n of this software and associated do", |
| "cumentation files (the \"Software\"), to\n deal in the Software without", |
| " restriction, including without limitation the\n rights to use, copy, m", |
| "odify, merge, publish, distribute, sublicense, and/or\n sell copies of ", |
| "the Software, and to permit persons to whom the Software is\n furnished", |
| " to do so, subject to the following conditions:\n\n The above copyright", |
| " notice and this permission notice shall be included in\n all copies or", |
| " substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"A", |
| "S IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING B", |
| "UT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PA", |
| "RTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS O", |
| "R COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILI", |
| "TY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM", |
| ", OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALING", |
| "S\n IN THE SOFTWARE.\n*/\nfunction A(a,b,c){this.s=a;this.ta=b||1;this.", |
| "o=c||1};function Sa(a){this.Y=a;this.N=0}function Ta(a){a=a.match(Ua);f", |
| "or(var b=0;b<a.length;b++)Va.test(a[b])&&a.splice(b,1);return new Sa(a)", |
| "}var Ua=RegExp(\"\\\\$?(?:(?![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?!", |
| "[0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:", |
| "\\\\.\\\\d*)?|\\\\.\\\\d+|\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"", |
| "g\"),Va=/^\\s/;function B(a,b){return a.Y[a.N+(b||0)]}Sa.prototype.next", |
| "=function(){return this.Y[this.N++]};Sa.prototype.back=function(){this.", |
| "N--};Sa.prototype.empty=function(){return this.Y.length<=this.N};functi", |
| "on D(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||nul", |
| "l==b?a.innerText:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b", |
| ")if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],", |
| "b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstC", |
| "hild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return\"\"", |
| "+b}\nfunction E(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)retu", |
| "rn!1}catch(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribut", |
| "e(b,2)==c}function Wa(a,b,c,d,e){return Xa.call(null,a,b,m(c)?c:null,m(", |
| "d)?d:null,e||new F)}\nfunction Xa(a,b,c,d,e){b.getElementsByName&&d&&\"", |
| "name\"==c?(b=b.getElementsByName(d),q(b,function(b){a.matches(b)&&e.add", |
| "(b)})):b.getElementsByClassName&&d&&\"class\"==c?(b=b.getElementsByClas", |
| "sName(d),q(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a in", |
| "stanceof G?Ya(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagN", |
| "ame(a.getName()),q(b,function(a){E(a,c,d)&&e.add(a)}));return e}functio", |
| "n Za(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)E(b,c,d)&&a.matche", |
| "s(b)&&e.add(b);return e}\nfunction Ya(a,b,c,d,e){for(b=b.firstChild;b;b", |
| "=b.nextSibling)E(b,c,d)&&a.matches(b)&&e.add(b),Ya(a,b,c,d,e)};function", |
| " F(){this.o=this.j=null;this.J=0}function $a(a){this.node=a;this.next=t", |
| "his.D=null}function ab(a,b){if(!a.j)return b;if(!b.j)return a;for(var c", |
| "=a.j,d=b.j,e=null,f,h=0;c&&d;)c.node==d.node?(f=c,c=c.next,d=d.next):0<", |
| "Na(c.node,d.node)?(f=d,d=d.next):(f=c,c=c.next),(f.D=e)?e.next=f:a.j=f,", |
| "e=f,h++;for(f=c||d;f;)f.D=e,e=e.next=f,h++,f=f.next;a.o=e;a.J=h;return ", |
| "a}F.prototype.unshift=function(a){a=new $a(a);a.next=this.j;this.o?this", |
| ".j.D=a:this.j=this.o=a;this.j=a;this.J++};\nF.prototype.add=function(a)", |
| "{a=new $a(a);a.D=this.o;this.j?this.o.next=a:this.j=this.o=a;this.o=a;t", |
| "his.J++};function bb(a){return(a=a.j)?a.node:null}F.prototype.v=functio", |
| "n(){return this.J};function cb(a){return(a=bb(a))?D(a):\"\"}F.prototype", |
| ".iterator=function(a){return new db(this,!!a)};function db(a,b){this.pa", |
| "=a;this.aa=(this.G=b)?a.o:a.j;this.V=null}db.prototype.next=function(){", |
| "var a=this.aa;if(null==a)return null;var b=this.V=a;this.aa=this.G?a.D:", |
| "a.next;return b.node};\ndb.prototype.remove=function(){var a=this.pa,b=", |
| "this.V;if(!b)throw Error(\"Next must be called at least once before rem", |
| "ove.\");var c=b.D,b=b.next;c?c.next=b:a.j=b;b?b.D=c:a.o=c;a.J--;this.V=", |
| "null};function H(a){this.i=a;this.l=this.A=!1;this.K=null}function I(a)", |
| "{return\"\\n \"+a.toString().split(\"\\n\").join(\"\\n \")}H.prototyp", |
| "e.h=function(){return this.A};function eb(a,b){a.A=b}function fb(a,b){a", |
| ".l=b}H.prototype.C=function(){return this.K};function J(a,b){var c=a.ev", |
| "aluate(b);return c instanceof F?+cb(c):+c}function K(a,b){var c=a.evalu", |
| "ate(b);return c instanceof F?cb(c):\"\"+c}function L(a,b){var c=a.evalu", |
| "ate(b);return c instanceof F?!!c.v():!!c};function gb(a,b,c){H.call(thi", |
| "s,a.i);this.X=a;this.ea=b;this.ja=c;this.A=b.h()||c.h();this.l=b.l||c.l", |
| ";this.X==hb&&(c.l||c.h()||4==c.i||0==c.i||!b.C()?b.l||b.h()||4==b.i||0=", |
| "=b.i||!c.C()||(this.K={name:c.C().name,I:b}):this.K={name:b.C().name,I:", |
| "c})}p(gb,H);\nfunction ib(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);va", |
| "r f;if(b instanceof F&&c instanceof F){b=b.iterator();for(d=b.next();d;", |
| "d=b.next())for(e=c.iterator(),f=e.next();f;f=e.next())if(a(D(d),D(f)))r", |
| "eturn!0;return!1}if(b instanceof F||c instanceof F){b instanceof F?(e=b", |
| ",d=c):(e=c,d=b);f=e.iterator();for(var h=typeof d,l=f.next();l;l=f.next", |
| "()){switch(h){case \"number\":l=+D(l);break;case \"boolean\":l=!!D(l);b", |
| "reak;case \"string\":l=D(l);break;default:throw Error(\"Illegal primiti", |
| "ve type for comparison.\");\n}if(e==b&&a(l,d)||e==c&&a(d,l))return!0}re", |
| "turn!1}return e?\"boolean\"==typeof b||\"boolean\"==typeof c?a(!!b,!!c)", |
| ":\"number\"==typeof b||\"number\"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}gb", |
| ".prototype.evaluate=function(a){return this.X.u(this.ea,this.ja,a)};gb.", |
| "prototype.toString=function(){var a=\"Binary Expression: \"+this.X,a=a+", |
| "I(this.ea);return a+=I(this.ja)};function jb(a,b,c,d){this.sa=a;this.ha", |
| "=b;this.i=c;this.u=d}jb.prototype.toString=function(){return this.sa};v", |
| "ar kb={};\nfunction N(a,b,c,d){if(kb.hasOwnProperty(a))throw Error(\"Bi", |
| "nary operator already created: \"+a);a=new jb(a,b,c,d);return kb[a.toSt", |
| "ring()]=a}N(\"div\",6,1,function(a,b,c){return J(a,c)/J(b,c)});N(\"mod", |
| "\",6,1,function(a,b,c){return J(a,c)%J(b,c)});N(\"*\",6,1,function(a,b,", |
| "c){return J(a,c)*J(b,c)});N(\"+\",5,1,function(a,b,c){return J(a,c)+J(b", |
| ",c)});N(\"-\",5,1,function(a,b,c){return J(a,c)-J(b,c)});N(\"<\",4,2,fu", |
| "nction(a,b,c){return ib(function(a,b){return a<b},a,b,c)});\nN(\">\",4,", |
| "2,function(a,b,c){return ib(function(a,b){return a>b},a,b,c)});N(\"<=\"", |
| ",4,2,function(a,b,c){return ib(function(a,b){return a<=b},a,b,c)});N(\"", |
| ">=\",4,2,function(a,b,c){return ib(function(a,b){return a>=b},a,b,c)});", |
| "var hb=N(\"=\",3,2,function(a,b,c){return ib(function(a,b){return a==b}", |
| ",a,b,c,!0)});N(\"!=\",3,2,function(a,b,c){return ib(function(a,b){retur", |
| "n a!=b},a,b,c,!0)});N(\"and\",2,2,function(a,b,c){return L(a,c)&&L(b,c)", |
| "});N(\"or\",1,2,function(a,b,c){return L(a,c)||L(b,c)});function lb(a,b", |
| "){if(b.v()&&4!=a.i)throw Error(\"Primary expression must evaluate to no", |
| "deset if filter has predicate(s).\");H.call(this,a.i);this.ia=a;this.f=", |
| "b;this.A=a.h();this.l=a.l}p(lb,H);lb.prototype.evaluate=function(a){a=t", |
| "his.ia.evaluate(a);return mb(this.f,a)};lb.prototype.toString=function(", |
| "){var a;a=\"Filter:\"+I(this.ia);return a+=I(this.f)};function nb(a,b){", |
| "if(b.length<a.ga)throw Error(\"Function \"+a.m+\" expects at least\"+a.", |
| "ga+\" arguments, \"+b.length+\" given\");if(null!==a.W&&b.length>a.W)th", |
| "row Error(\"Function \"+a.m+\" expects at most \"+a.W+\" arguments, \"+", |
| "b.length+\" given\");a.qa&&q(b,function(b,d){if(4!=b.i)throw Error(\"Ar", |
| "gument \"+d+\" to function \"+a.m+\" is not of type Nodeset: \"+b);});H", |
| ".call(this,a.i);this.M=a;this.S=b;eb(this,a.A||pa(b,function(a){return ", |
| "a.h()}));fb(this,a.oa&&!b.length||a.na&&!!b.length||pa(b,function(a){re", |
| "turn a.l}))}\np(nb,H);nb.prototype.evaluate=function(a){return this.M.u", |
| ".apply(null,ra(a,this.S))};nb.prototype.toString=function(){var a=\"Fun", |
| "ction: \"+this.M;if(this.S.length)var b=t(this.S,function(a,b){return a", |
| "+I(b)},\"Arguments:\"),a=a+I(b);return a};function ob(a,b,c,d,e,f,h,l,v", |
| "){this.m=a;this.i=b;this.A=c;this.oa=d;this.na=e;this.u=f;this.ga=h;thi", |
| "s.W=k(l)?l:h;this.qa=!!v}ob.prototype.toString=function(){return this.m", |
| "};var pb={};\nfunction O(a,b,c,d,e,f,h,l){if(pb.hasOwnProperty(a))throw", |
| " Error(\"Function already created: \"+a+\".\");pb[a]=new ob(a,b,c,d,!1,", |
| "e,f,h,l)}O(\"boolean\",2,!1,!1,function(a,b){return L(b,a)},1);O(\"ceil", |
| "ing\",1,!1,!1,function(a,b){return Math.ceil(J(b,a))},1);O(\"concat\",3", |
| ",!1,!1,function(a,b){return t(ta(arguments,1),function(b,d){return b+K(", |
| "d,a)},\"\")},2,null);O(\"contains\",2,!1,!1,function(a,b,c){b=K(b,a);a=", |
| "K(c,a);return-1!=b.indexOf(a)},2);O(\"count\",1,!1,!1,function(a,b){ret", |
| "urn b.evaluate(a).v()},1,1,!0);\nO(\"false\",2,!1,!1,function(){return!", |
| "1},0);O(\"floor\",1,!1,!1,function(a,b){return Math.floor(J(b,a))},1);O", |
| "(\"id\",4,!1,!1,function(a,b){var c=a.s,d=9==c.nodeType?c:c.ownerDocume", |
| "nt,c=K(b,a).split(/\\s+/),e=[];q(c,function(a){a=d.getElementById(a);!a", |
| "||0<=oa(e,a)||e.push(a)});e.sort(Na);var f=new F;q(e,function(a){f.add(", |
| "a)});return f},1);O(\"lang\",2,!1,!1,function(){return!1},1);O(\"last\"", |
| ",1,!0,!1,function(a){if(1!=arguments.length)throw Error(\"Function last", |
| " expects ()\");return a.o},0);\nO(\"local-name\",3,!1,!0,function(a,b){", |
| "var c=b?bb(b.evaluate(a)):a.s;return c?c.localName||c.nodeName.toLowerC", |
| "ase():\"\"},0,1,!0);O(\"name\",3,!1,!0,function(a,b){var c=b?bb(b.evalu", |
| "ate(a)):a.s;return c?c.nodeName.toLowerCase():\"\"},0,1,!0);O(\"namespa", |
| "ce-uri\",3,!0,!1,function(){return\"\"},0,1,!0);O(\"normalize-space\",3", |
| ",!1,!0,function(a,b){return(b?K(b,a):D(a.s)).replace(/[\\s\\xa0]+/g,\" ", |
| "\").replace(/^\\s+|\\s+$/g,\"\")},0,1);O(\"not\",2,!1,!1,function(a,b){", |
| "return!L(b,a)},1);\nO(\"number\",1,!1,!0,function(a,b){return b?J(b,a):", |
| "+D(a.s)},0,1);O(\"position\",1,!0,!1,function(a){return a.ta},0);O(\"ro", |
| "und\",1,!1,!1,function(a,b){return Math.round(J(b,a))},1);O(\"starts-wi", |
| "th\",2,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);return 0==b.lastIndexOf(", |
| "a,0)},2);O(\"string\",3,!1,!0,function(a,b){return b?K(b,a):D(a.s)},0,1", |
| ");O(\"string-length\",1,!1,!0,function(a,b){return(b?K(b,a):D(a.s)).len", |
| "gth},0,1);\nO(\"substring\",3,!1,!1,function(a,b,c,d){c=J(c,a);if(isNaN", |
| "(c)||Infinity==c||-Infinity==c)return\"\";d=d?J(d,a):Infinity;if(isNaN(", |
| "d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=K(", |
| "b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},", |
| "2,3);O(\"substring-after\",3,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);c=", |
| "b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nO(\"substri", |
| "ng-before\",3,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);a=b.indexOf(a);re", |
| "turn-1==a?\"\":b.substring(0,a)},2);O(\"sum\",1,!1,!1,function(a,b){for", |
| "(var c=b.evaluate(a).iterator(),d=0,e=c.next();e;e=c.next())d+=+D(e);re", |
| "turn d},1,1,!0);O(\"translate\",3,!1,!1,function(a,b,c,d){b=K(b,a);c=K(", |
| "c,a);var e=K(d,a);a={};for(d=0;d<c.length;d++){var f=c.charAt(d);f in a", |
| "||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f i", |
| "n a?a[f]:f;return c},3);O(\"true\",2,!1,!1,function(){return!0},0);func", |
| "tion G(a,b){this.la=a;this.fa=k(b)?b:null;this.H=null;switch(a){case \"", |
| "comment\":this.H=8;break;case \"text\":this.H=3;break;case \"processing", |
| "-instruction\":this.H=7;break;case \"node\":break;default:throw Error(", |
| "\"Unexpected argument\");}}function qb(a){return\"comment\"==a||\"text", |
| "\"==a||\"processing-instruction\"==a||\"node\"==a}G.prototype.matches=f", |
| "unction(a){return null===this.H||this.H==a.nodeType};G.prototype.getNam", |
| "e=function(){return this.la};\nG.prototype.toString=function(){var a=\"", |
| "Kind Test: \"+this.la;null===this.fa||(a+=I(this.fa));return a};functio", |
| "n rb(a){H.call(this,3);this.ka=a.substring(1,a.length-1)}p(rb,H);rb.pro", |
| "totype.evaluate=function(){return this.ka};rb.prototype.toString=functi", |
| "on(){return\"Literal: \"+this.ka};function sb(a,b){this.m=a.toLowerCase", |
| "();var c;c=\"*\"==this.m?\"*\":\"http://www.w3.org/1999/xhtml\";this.O=", |
| "b?b.toLowerCase():c}sb.prototype.matches=function(a){var b=a.nodeType;i", |
| "f(1!=b&&2!=b)return!1;b=k(a.localName)?a.localName:a.nodeName;return\"*", |
| "\"!=this.m&&this.m!=b.toLowerCase()?!1:\"*\"==this.O?!0:this.O==(a.name", |
| "spaceURI?a.namespaceURI.toLowerCase():\"http://www.w3.org/1999/xhtml\")", |
| "};sb.prototype.getName=function(){return this.m};\nsb.prototype.toStrin", |
| "g=function(){return\"Name Test: \"+(\"http://www.w3.org/1999/xhtml\"==t", |
| "his.O?\"\":this.O+\":\")+this.m};function tb(a){H.call(this,1);this.ma=", |
| "a}p(tb,H);tb.prototype.evaluate=function(){return this.ma};tb.prototype", |
| ".toString=function(){return\"Number: \"+this.ma};function ub(a,b){H.cal", |
| "l(this,a.i);this.ca=a;this.L=b;this.A=a.h();this.l=a.l;if(1==this.L.len", |
| "gth){var c=this.L[0];c.T||c.B!=vb||(c=c.R,\"*\"!=c.getName()&&(this.K={", |
| "name:c.getName(),I:null}))}}p(ub,H);function wb(){H.call(this,4)}p(wb,H", |
| ");wb.prototype.evaluate=function(a){var b=new F;a=a.s;9==a.nodeType?b.a", |
| "dd(a):b.add(a.ownerDocument);return b};wb.prototype.toString=function()", |
| "{return\"Root Helper Expression\"};function xb(){H.call(this,4)}p(xb,H)", |
| ";\nxb.prototype.evaluate=function(a){var b=new F;b.add(a.s);return b};x", |
| "b.prototype.toString=function(){return\"Context Helper Expression\"};fu", |
| "nction yb(a){return\"/\"==a||\"//\"==a}\nub.prototype.evaluate=function", |
| "(a){var b=this.ca.evaluate(a);if(!(b instanceof F))throw Error(\"Filter", |
| " expression must evaluate to nodeset.\");a=this.L;for(var c=0,d=a.lengt", |
| "h;c<d&&b.v();c++){var e=a[c],f=b.iterator(e.B.G),h;if(e.h()||e.B!=zb)if", |
| "(e.h()||e.B!=Ab)for(h=f.next(),b=e.evaluate(new A(h));null!=(h=f.next()", |
| ");)h=e.evaluate(new A(h)),b=ab(b,h);else h=f.next(),b=e.evaluate(new A(", |
| "h));else{for(h=f.next();(b=f.next())&&(!h.contains||h.contains(b))&&b.c", |
| "ompareDocumentPosition(h)&8;h=b);b=e.evaluate(new A(h))}}return b};\nub", |
| ".prototype.toString=function(){var a;a=\"Path Expression:\"+I(this.ca);", |
| "if(this.L.length){var b=t(this.L,function(a,b){return a+I(b)},\"Steps:", |
| "\");a+=I(b)}return a};function P(a,b){this.f=a;this.G=!!b}function mb(a", |
| ",b,c){for(c=c||0;c<a.f.length;c++)for(var d=a.f[c],e=b.iterator(),f=b.v", |
| "(),h,l=0;h=e.next();l++){var v=a.G?f-l:l+1;h=d.evaluate(new A(h,v,f));i", |
| "f(\"number\"==typeof h)v=v==h;else if(\"string\"==typeof h||\"boolean\"", |
| "==typeof h)v=!!h;else if(h instanceof F)v=0<h.v();else throw Error(\"Pr", |
| "edicate.evaluate returned an unexpected type.\");v||e.remove()}return b", |
| "}P.prototype.C=function(){return 0<this.f.length?this.f[0].C():null};\n", |
| "P.prototype.h=function(){for(var a=0;a<this.f.length;a++){var b=this.f[", |
| "a];if(b.h()||1==b.i||0==b.i)return!0}return!1};P.prototype.v=function()", |
| "{return this.f.length};P.prototype.toString=function(){return t(this.f,", |
| "function(a,b){return a+I(b)},\"Predicates:\")};function Q(a,b,c,d){H.ca", |
| "ll(this,4);this.B=a;this.R=b;this.f=c||new P([]);this.T=!!d;b=this.f.C(", |
| ");a.va&&b&&(this.K={name:b.name,I:b.I});this.A=this.f.h()}p(Q,H);\nQ.pr", |
| "ototype.evaluate=function(a){var b=a.s,c=this.C(),d=null,e=null,f=0;c&&", |
| "(d=c.name,e=c.I?K(c.I,a):null,f=1);if(this.T)if(this.h()||this.B!=Bb)if", |
| "(b=(new Q(Cb,new G(\"node\"))).evaluate(a).iterator(),c=b.next())for(a=", |
| "this.u(c,d,e,f);null!=(c=b.next());)a=ab(a,this.u(c,d,e,f));else a=new ", |
| "F;else a=Wa(this.R,b,d,e),a=mb(this.f,a,f);else a=this.u(a.s,d,e,f);ret", |
| "urn a};Q.prototype.u=function(a,b,c,d){a=this.B.M(this.R,a,b,c);return ", |
| "a=mb(this.f,a,d)};\nQ.prototype.toString=function(){var a;a=\"Step:\"+I", |
| "(\"Operator: \"+(this.T?\"//\":\"/\"));this.B.m&&(a+=I(\"Axis: \"+this.", |
| "B));a+=I(this.R);if(this.f.v()){var b=t(this.f.f,function(a,b){return a", |
| "+I(b)},\"Predicates:\");a+=I(b)}return a};function Db(a,b,c,d){this.m=a", |
| ";this.M=b;this.G=c;this.va=d}Db.prototype.toString=function(){return th", |
| "is.m};var Eb={};function R(a,b,c,d){if(Eb.hasOwnProperty(a))throw Error", |
| "(\"Axis already created: \"+a);b=new Db(a,b,c,!!d);return Eb[a]=b}\nR(", |
| "\"ancestor\",function(a,b){for(var c=new F,d=b;d=d.parentNode;)a.matche", |
| "s(d)&&c.unshift(d);return c},!0);R(\"ancestor-or-self\",function(a,b){v", |
| "ar c=new F,d=b;do a.matches(d)&&c.unshift(d);while(d=d.parentNode);retu", |
| "rn c},!0);\nvar vb=R(\"attribute\",function(a,b){var c=new F,d=a.getNam", |
| "e(),e=b.attributes;if(e)if(a instanceof G&&null===a.H||\"*\"==d)for(var", |
| " d=0,f;f=e[d];d++)c.add(f);else(f=e.getNamedItem(d))&&c.add(f);return c", |
| "},!1),Bb=R(\"child\",function(a,b,c,d,e){return Za.call(null,a,b,m(c)?c", |
| ":null,m(d)?d:null,e||new F)},!1,!0);R(\"descendant\",Wa,!1,!0);\nvar Cb", |
| "=R(\"descendant-or-self\",function(a,b,c,d){var e=new F;E(b,c,d)&&a.mat", |
| "ches(b)&&e.add(b);return Wa(a,b,c,d,e)},!1,!0),zb=R(\"following\",funct", |
| "ion(a,b,c,d){var e=new F;do for(var f=b;f=f.nextSibling;)E(f,c,d)&&a.ma", |
| "tches(f)&&e.add(f),e=Wa(a,f,c,d,e);while(b=b.parentNode);return e},!1,!", |
| "0);R(\"following-sibling\",function(a,b){for(var c=new F,d=b;d=d.nextSi", |
| "bling;)a.matches(d)&&c.add(d);return c},!1);R(\"namespace\",function(){", |
| "return new F},!1);\nvar Fb=R(\"parent\",function(a,b){var c=new F;if(9=", |
| "=b.nodeType)return c;if(2==b.nodeType)return c.add(b.ownerElement),c;va", |
| "r d=b.parentNode;a.matches(d)&&c.add(d);return c},!1),Ab=R(\"preceding", |
| "\",function(a,b,c,d){var e=new F,f=[];do f.unshift(b);while(b=b.parentN", |
| "ode);for(var h=1,l=f.length;h<l;h++){var v=[];for(b=f[h];b=b.previousSi", |
| "bling;)v.unshift(b);for(var C=0,r=v.length;C<r;C++)b=v[C],E(b,c,d)&&a.m", |
| "atches(b)&&e.add(b),e=Wa(a,b,c,d,e)}return e},!0,!0);\nR(\"preceding-si", |
| "bling\",function(a,b){for(var c=new F,d=b;d=d.previousSibling;)a.matche", |
| "s(d)&&c.unshift(d);return c},!0);var Gb=R(\"self\",function(a,b){var c=", |
| "new F;a.matches(b)&&c.add(b);return c},!1);function Hb(a){H.call(this,1", |
| ");this.ba=a;this.A=a.h();this.l=a.l}p(Hb,H);Hb.prototype.evaluate=funct", |
| "ion(a){return-J(this.ba,a)};Hb.prototype.toString=function(){return\"Un", |
| "ary Expression: -\"+I(this.ba)};function Ib(a){H.call(this,4);this.P=a;", |
| "eb(this,pa(this.P,function(a){return a.h()}));fb(this,pa(this.P,functio", |
| "n(a){return a.l}))}p(Ib,H);Ib.prototype.evaluate=function(a){var b=new ", |
| "F;q(this.P,function(c){c=c.evaluate(a);if(!(c instanceof F))throw Error", |
| "(\"Path expression must evaluate to NodeSet.\");b=ab(b,c)});return b};I", |
| "b.prototype.toString=function(){return t(this.P,function(a,b){return a+", |
| "I(b)},\"Union Expression:\")};function Jb(a,b){this.a=a;this.ra=b}funct", |
| "ion Kb(a){for(var b,c=[];;){T(a,\"Missing right hand side of binary exp", |
| "ression.\");b=Lb(a);var d=a.a.next();if(!d)break;var e=(d=kb[d]||null)&", |
| "&d.ha;if(!e){a.a.back();break}for(;c.length&&e<=c[c.length-1].ha;)b=new", |
| " gb(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new gb(c.pop(),c.po", |
| "p(),b);return b}function T(a,b){if(a.a.empty())throw Error(b);}function", |
| " Mb(a,b){var c=a.a.next();if(c!=b)throw Error(\"Bad token, expected: \"", |
| "+b+\" got: \"+c);}\nfunction Nb(a){a=a.a.next();if(\")\"!=a)throw Error", |
| "(\"Bad token: \"+a);}function Ob(a){a=a.a.next();if(2>a.length)throw Er", |
| "ror(\"Unclosed literal string\");return new rb(a)}\nfunction Pb(a){var ", |
| "b,c=[],d;if(yb(B(a.a))){b=a.a.next();d=B(a.a);if(\"/\"==b&&(a.a.empty()", |
| "||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))r", |
| "eturn new wb;d=new wb;T(a,\"Missing next location step.\");b=Qb(a,b);c.", |
| "push(b)}else{a:{b=B(a.a);d=b.charAt(0);switch(d){case \"$\":throw Error", |
| "(\"Variable reference not allowed in HTML XPath\");case \"(\":a.a.next(", |
| ");b=Kb(a);T(a,'unclosed \"(\"');Mb(a,\")\");break;case '\"':case \"'\":", |
| "b=Ob(a);break;default:if(isNaN(+b))if(!qb(b)&&/(?![0-9])[\\w]/.test(d)&", |
| "&\"(\"==B(a.a,\n1)){b=a.a.next();b=pb[b]||null;a.a.next();for(d=[];\")", |
| "\"!=B(a.a);){T(a,\"Missing function argument list.\");d.push(Kb(a));if(", |
| "\",\"!=B(a.a))break;a.a.next()}T(a,\"Unclosed function argument list.\"", |
| ");Nb(a);b=new nb(b,d)}else{b=null;break a}else b=new tb(+a.a.next())}\"", |
| "[\"==B(a.a)&&(d=new P(Rb(a)),b=new lb(b,d))}if(b)if(yb(B(a.a)))d=b;else", |
| " return b;else b=Qb(a,\"/\"),d=new xb,c.push(b)}for(;yb(B(a.a));)b=a.a.", |
| "next(),T(a,\"Missing next location step.\"),b=Qb(a,b),c.push(b);return ", |
| "new ub(d,c)}\nfunction Qb(a,b){var c,d,e;if(\"/\"!=b&&\"//\"!=b)throw E", |
| "rror('Step op should be \"/\" or \"//\"');if(\".\"==B(a.a))return d=new", |
| " Q(Gb,new G(\"node\")),a.a.next(),d;if(\"..\"==B(a.a))return d=new Q(Fb", |
| ",new G(\"node\")),a.a.next(),d;var f;if(\"@\"==B(a.a))f=vb,a.a.next(),T", |
| "(a,\"Missing attribute name\");else if(\"::\"==B(a.a,1)){if(!/(?![0-9])", |
| "[\\w]/.test(B(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());c", |
| "=a.a.next();f=Eb[c]||null;if(!f)throw Error(\"No axis with name: \"+c);", |
| "a.a.next();T(a,\"Missing node name\")}else f=Bb;\nc=B(a.a);if(/(?![0-9]", |
| ")[\\w\\*]/.test(c.charAt(0)))if(\"(\"==B(a.a,1)){if(!qb(c))throw Error(", |
| "\"Invalid node type: \"+c);c=a.a.next();if(!qb(c))throw Error(\"Invalid", |
| " type name: \"+c);Mb(a,\"(\");T(a,\"Bad nodetype\");e=B(a.a).charAt(0);", |
| "var h=null;if('\"'==e||\"'\"==e)h=Ob(a);T(a,\"Bad nodetype\");Nb(a);c=n", |
| "ew G(c,h)}else if(c=a.a.next(),e=c.indexOf(\":\"),-1==e)c=new sb(c);els", |
| "e{var h=c.substring(0,e),l;if(\"*\"==h)l=\"*\";else if(l=a.ra(h),!l)thr", |
| "ow Error(\"Namespace prefix not declared: \"+h);c=c.substr(e+1);c=new s", |
| "b(c,l)}else throw Error(\"Bad token: \"+\na.a.next());e=new P(Rb(a),f.G", |
| ");return d||new Q(f,c,e,\"//\"==b)}function Rb(a){for(var b=[];\"[\"==B", |
| "(a.a);){a.a.next();T(a,\"Missing predicate expression.\");var c=Kb(a);b", |
| ".push(c);T(a,\"Unclosed predicate expression.\");Mb(a,\"]\")}return b}f", |
| "unction Lb(a){if(\"-\"==B(a.a))return a.a.next(),new Hb(Lb(a));var b=Pb", |
| "(a);if(\"|\"!=B(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)T(a,\"Missin", |
| "g next union location path.\"),b.push(Pb(a));a.a.back();a=new Ib(b)}ret", |
| "urn a};function Sb(a){switch(a.nodeType){case 1:return la(Tb,a);case 9:", |
| "return Sb(a.documentElement);case 11:case 10:case 6:case 12:return Ub;d", |
| "efault:return a.parentNode?Sb(a.parentNode):Ub}}function Ub(){return nu", |
| "ll}function Tb(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.", |
| "w3.org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.", |
| "specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?Tb(a.par", |
| "entNode,b):null};function Vb(a,b){if(!a.length)throw Error(\"Empty XPat", |
| "h expression.\");var c=Ta(a);if(c.empty())throw Error(\"Invalid XPath e", |
| "xpression.\");b?\"function\"==fa(b)||(b=ka(b.lookupNamespaceURI,b)):b=f", |
| "unction(){return null};var d=Kb(new Jb(c,b));if(!c.empty())throw Error(", |
| "\"Bad token: \"+c.next());this.evaluate=function(a,b){var c=d.evaluate(", |
| "new A(a));return new U(c,b)}}\nfunction U(a,b){if(0==b)if(a instanceof ", |
| "F)b=4;else if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1", |
| ";else if(\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evalua", |
| "tion result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof F))throw Error(\"va", |
| "lue could not be converted to the specified type\");this.resultType=b;v", |
| "ar c;switch(b){case 2:this.stringValue=a instanceof F?cb(a):\"\"+a;brea", |
| "k;case 1:this.numberValue=a instanceof F?+cb(a):+a;break;case 3:this.bo", |
| "oleanValue=a instanceof F?0<a.v():!!a;break;case 4:case 5:case 6:case 7", |
| ":var d=\na.iterator();c=[];for(var e=d.next();e;e=d.next())c.push(e);th", |
| "is.snapshotLength=a.v();this.invalidIteratorState=!1;break;case 8:case ", |
| "9:this.singleNodeValue=bb(a);break;default:throw Error(\"Unknown XPathR", |
| "esult type.\");}var f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw", |
| " Error(\"iterateNext called with wrong result type\");return f>=c.lengt", |
| "h?null:c[f++]};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(", |
| "\"snapshotItem called with wrong result type\");return a>=c.length||0>a", |
| "?null:c[a]}}\nU.ANY_TYPE=0;U.NUMBER_TYPE=1;U.STRING_TYPE=2;U.BOOLEAN_TY", |
| "PE=3;U.UNORDERED_NODE_ITERATOR_TYPE=4;U.ORDERED_NODE_ITERATOR_TYPE=5;U.", |
| "UNORDERED_NODE_SNAPSHOT_TYPE=6;U.ORDERED_NODE_SNAPSHOT_TYPE=7;U.ANY_UNO", |
| "RDERED_NODE_TYPE=8;U.FIRST_ORDERED_NODE_TYPE=9;function Wb(a){this.look", |
| "upNamespaceURI=Sb(a)}\nea(\"wgxpath.install\",function(a,b){var c=a||da", |
| ",d=c.Document&&c.Document.prototype||c.document;if(!d.evaluate||b)c.XPa", |
| "thResult=U,d.evaluate=function(a,b,c,d){return(new Vb(a,c)).evaluate(b,", |
| "d)},d.createExpression=function(a,b){return new Vb(a,b)},d.createNSReso", |
| "lver=function(a){return new Wb(a)}});var V={};V.Z=function(){var a={za:", |
| "\"http://www.w3.org/2000/svg\"};return function(b){return a[b]||null}}(", |
| ");\nV.u=function(a,b,c){var d=y(a);if(!d.documentElement)return null;tr", |
| "y{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):V.", |
| "Z,f={},h=d.getElementsByTagName(\"*\"),l=0;l<h.length;++l){var v=h[l],C", |
| "=v.namespaceURI;if(C&&!f[C]){var r=v.lookupPrefix(C);if(!r)var w=C.matc", |
| "h(\".*/(\\\\w+)/?$\"),r=w?w[1]:\"xhtml\";f[C]=r}}var M={},S;for(S in f)", |
| "M[f[S]]=S;e=function(a){return M[a]||null};try{return d.evaluate(b,a,e,", |
| "c,null)}catch(Ba){if(\"TypeError\"===Ba.name)return e=d.createNSResolve", |
| "r?d.createNSResolver(d.documentElement):\nV.Z,d.evaluate(b,a,e,c,null);", |
| "throw Ba;}}catch(Ba){throw new Aa(32,\"Unable to locate an element with", |
| " the xpath expression \"+b+\" because of the following error:\\n\"+Ba);", |
| "}};V.$=function(a,b){if(!a||1!=a.nodeType)throw new Aa(32,'The result o", |
| "f the xpath expression \"'+b+'\" is: '+a+\". It should be an element.\"", |
| ");};\nV.ua=function(a,b){var c=function(){var c=V.u(b,a,9);return c?c.s", |
| "ingleNodeValue||null:b.selectSingleNode?(c=y(b),c.setProperty&&c.setPro", |
| "perty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(a)):null}();n", |
| "ull===c||V.$(c,a);return c};\nV.xa=function(a,b){var c=function(){var c", |
| "=V.u(b,a,7);if(c){for(var e=c.snapshotLength,f=[],h=0;h<e;++h)f.push(c.", |
| "snapshotItem(h));return f}return b.selectNodes?(c=y(b),c.setProperty&&c", |
| ".setProperty(\"SelectionLanguage\",\"XPath\"),b.selectNodes(a)):[]}();q", |
| "(c,function(b){V.$(b,a)});return c};function Xb(a,b,c,d){this.top=a;thi", |
| "s.right=b;this.bottom=c;this.left=d}g=Xb.prototype;g.clone=function(){r", |
| "eturn new Xb(this.top,this.right,this.bottom,this.left)};g.toString=fun", |
| "ction(){return\"(\"+this.top+\"t, \"+this.right+\"r, \"+this.bottom+\"b", |
| ", \"+this.left+\"l)\"};g.contains=function(a){return this&&a?a instance", |
| "of Xb?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom", |
| "<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this", |
| ".bottom:!1};\ng.expand=function(a,b,c,d){ha(a)?(this.top-=a.top,this.ri", |
| "ght+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this", |
| ".right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return t", |
| "his};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.cei", |
| "l(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(th", |
| "is.left);return this};\ng.floor=function(){this.top=Math.floor(this.top", |
| ");this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom)", |
| ";this.left=Math.floor(this.left);return this};g.round=function(){this.t", |
| "op=Math.round(this.top);this.right=Math.round(this.right);this.bottom=M", |
| "ath.round(this.bottom);this.left=Math.round(this.left);return this};g.t", |
| "ranslate=function(a,b){a instanceof x?(this.left+=a.x,this.right+=a.x,t", |
| "his.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,n(b)&&(this.", |
| "top+=b,this.bottom+=b));return this};\ng.scale=function(a,b){var c=n(b)", |
| "?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this}", |
| ";function W(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}", |
| "g=W.prototype;g.clone=function(){return new W(this.left,this.top,this.w", |
| "idth,this.height)};g.toString=function(){return\"(\"+this.left+\", \"+t", |
| "his.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};g.contains=func", |
| "tion(a){return a instanceof W?this.left<=a.left&&this.left+this.width>=", |
| "a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a", |
| ".x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+", |
| "this.height};\ng.ceil=function(){this.left=Math.ceil(this.left);this.to", |
| "p=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math", |
| ".ceil(this.height);return this};g.floor=function(){this.left=Math.floor", |
| "(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.wi", |
| "dth);this.height=Math.floor(this.height);return this};g.round=function(", |
| "){this.left=Math.round(this.left);this.top=Math.round(this.top);this.wi", |
| "dth=Math.round(this.width);this.height=Math.round(this.height);return t", |
| "his};\ng.translate=function(a,b){a instanceof x?(this.left+=a.x,this.to", |
| "p+=a.y):(this.left+=a,n(b)&&(this.top+=b));return this};g.scale=functio", |
| "n(a,b){var c=n(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.heigh", |
| "t*=c;return this};function Yb(a){for(a=a.parentNode;a&&1!=a.nodeType&&9", |
| "!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return z(a)?a:null}\nfunct", |
| "ion X(a,b){var c=na(b);if(\"float\"==c||\"cssFloat\"==c||\"styleFloat\"", |
| "==c)c=\"cssFloat\";var d;a:{d=c;var e=y(a);if(e.defaultView&&e.defaultV", |
| "iew.getComputedStyle&&(e=e.defaultView.getComputedStyle(a,null))){d=e[d", |
| "]||e.getPropertyValue(d)||\"\";break a}d=\"\"}d=d||Zb(a,c);if(null===d)", |
| "d=null;else if(0<=oa(va,c)){b:{var f=d.match(ya);if(f){var c=Number(f[1", |
| "]),e=Number(f[2]),h=Number(f[3]),f=Number(f[4]);if(0<=c&&255>=c&&0<=e&&", |
| "255>=e&&0<=h&&255>=h&&0<=f&&1>=f){c=[c,e,h,f];break b}}c=null}if(!c)b:{", |
| "if(h=d.match(za))if(c=\nNumber(h[1]),e=Number(h[2]),h=Number(h[3]),0<=c", |
| "&&255>=c&&0<=e&&255>=e&&0<=h&&255>=h){c=[c,e,h,1];break b}c=null}if(!c)", |
| "b:{c=d.toLowerCase();e=ua[c.toLowerCase()];if(!e&&(e=\"#\"==c.charAt(0)", |
| "?c:\"#\"+c,4==e.length&&(e=e.replace(wa,\"#$1$1$2$2$3$3\")),!xa.test(e)", |
| ")){c=null;break b}c=[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),", |
| "16),parseInt(e.substr(5,2),16),1]}d=c?\"rgba(\"+c.join(\", \")+\")\":d}", |
| "return d}\nfunction Zb(a,b){var c=a.currentStyle||a.style,d=c[b];!k(d)&", |
| "&\"function\"==fa(c.getPropertyValue)&&(d=c.getPropertyValue(b));return", |
| "\"inherit\"!=d?k(d)?d:null:(c=Yb(a))?Zb(c,b):null}\nfunction $b(a,b,c){", |
| "function d(a){var b=ac(a);return 0<b.height&&0<b.width?!0:z(a,\"PATH\")", |
| "&&(0<b.height||0<b.width)?(a=X(a,\"stroke-width\"),!!a&&0<parseInt(a,10", |
| ")):\"hidden\"!=X(a,\"overflow\")&&pa(a.childNodes,function(a){return 3=", |
| "=a.nodeType||z(a)&&d(a)})}function e(a){return bc(a)==Y&&qa(a.childNode", |
| "s,function(a){return!z(a)||e(a)||!d(a)})}if(!z(a))throw Error(\"Argumen", |
| "t to isShown must be of type Element\");if(z(a,\"BODY\"))return!0;if(z(", |
| "a,\"OPTION\")||z(a,\"OPTGROUP\"))return a=Qa(a,function(a){return z(a,", |
| "\"SELECT\")}),\n!!a&&$b(a,!0,c);var f=cc(a);if(f)return!!f.da&&0<f.rect", |
| ".width&&0<f.rect.height&&$b(f.da,b,c);if(z(a,\"INPUT\")&&\"hidden\"==a.", |
| "type.toLowerCase()||z(a,\"NOSCRIPT\"))return!1;f=X(a,\"visibility\");re", |
| "turn\"collapse\"!=f&&\"hidden\"!=f&&c(a)&&(b||0!=dc(a))&&d(a)?!e(a):!1}", |
| "function ec(a,b){function c(a){if(\"none\"==X(a,\"display\"))return!1;a", |
| "=Yb(a);return!a||c(a)}return $b(a,!!b,c)}var Y=\"hidden\";\nfunction bc", |
| "(a){function b(a){function b(a){return a==h?!0:0==X(a,\"display\").last", |
| "IndexOf(\"inline\",0)||\"absolute\"==c&&\"static\"==X(a,\"position\")?!", |
| "1:!0}var c=X(a,\"position\");if(\"fixed\"==c)return C=!0,a==h?null:h;fo", |
| "r(a=Yb(a);a&&!b(a);)a=Yb(a);return a}function c(a){var b=a;if(\"visible", |
| "\"==v)if(a==h&&l)b=l;else if(a==l)return{x:\"visible\",y:\"visible\"};b", |
| "={x:X(b,\"overflow-x\"),y:X(b,\"overflow-y\")};a==h&&(b.x=\"visible\"==", |
| "b.x?\"auto\":b.x,b.y=\"visible\"==b.y?\"auto\":b.y);return b}function d", |
| "(a){if(a==h){var b=(new Ra(f)).U;\na=b.scrollingElement?b.scrollingElem", |
| "ent:b.body||b.documentElement;b=b.parentWindow||b.defaultView;a=new x(b", |
| ".pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)}else a=new x(a.s", |
| "crollLeft,a.scrollTop);return a}var e=fc(a),f=y(a),h=f.documentElement,", |
| "l=f.body,v=X(h,\"overflow\"),C;for(a=b(a);a;a=b(a)){var r=c(a);if(\"vis", |
| "ible\"!=r.x||\"visible\"!=r.y){var w=ac(a);if(0==w.width||0==w.height)r", |
| "eturn Y;var M=e.right<w.left,S=e.bottom<w.top;if(M&&\"hidden\"==r.x||S&", |
| "&\"hidden\"==r.y)return Y;if(M&&\"visible\"!=r.x||S&&\n\"visible\"!=r.y", |
| "){M=d(a);S=e.bottom<w.top-M.y;if(e.right<w.left-M.x&&\"visible\"!=r.x||", |
| "S&&\"visible\"!=r.x)return Y;e=bc(a);return e==Y?Y:\"scroll\"}M=e.left>", |
| "=w.left+w.width;w=e.top>=w.top+w.height;if(M&&\"hidden\"==r.x||w&&\"hid", |
| "den\"==r.y)return Y;if(M&&\"visible\"!=r.x||w&&\"visible\"!=r.y){if(C&&", |
| "(r=d(a),e.left>=h.scrollWidth-r.x||e.right>=h.scrollHeight-r.y))return ", |
| "Y;e=bc(a);return e==Y?Y:\"scroll\"}}}return\"none\"}\nfunction ac(a){va", |
| "r b=cc(a);if(b)return b.rect;if(z(a,\"HTML\"))return a=y(a),a=((a?a.par", |
| "entWindow||a.defaultView:window)||window).document,a=\"CSS1Compat\"==a.", |
| "compatMode?a.documentElement:a.body,a=new Ia(a.clientWidth,a.clientHeig", |
| "ht),new W(0,0,a.width,a.height);var c;try{c=a.getBoundingClientRect()}c", |
| "atch(d){return new W(0,0,0,0)}return new W(c.left,c.top,c.right-c.left,", |
| "c.bottom-c.top)}\nfunction cc(a){var b=z(a,\"MAP\");if(!b&&!z(a,\"AREA", |
| "\"))return null;var c=b?a:z(a.parentNode,\"MAP\")?a.parentNode:null,d=n", |
| "ull,e=null;c&&c.name&&(d=V.ua('/descendant::*[@usemap = \"#'+c.name+'\"", |
| "]',y(c)))&&(e=ac(d),b||\"default\"==a.shape.toLowerCase()||(a=gc(a),b=M", |
| "ath.min(Math.max(a.left,0),e.width),c=Math.min(Math.max(a.top,0),e.heig", |
| "ht),e=new W(b+e.left,c+e.top,Math.min(a.width,e.width-b),Math.min(a.hei", |
| "ght,e.height-c))));return{da:d,rect:e||new W(0,0,0,0)}}\nfunction gc(a)", |
| "{var b=a.shape.toLowerCase();a=a.coords.split(\",\");if(\"rect\"==b&&4=", |
| "=a.length){var b=a[0],c=a[1];return new W(b,c,a[2]-b,a[3]-c)}if(\"circl", |
| "e\"==b&&3==a.length)return b=a[2],new W(a[0]-b,a[1]-b,2*b,2*b);if(\"pol", |
| "y\"==b&&2<a.length){for(var b=a[0],c=a[1],d=b,e=c,f=2;f+1<a.length;f+=2", |
| ")b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.max(", |
| "e,a[f+1]);return new W(b,c,d-b,e-c)}return new W(0,0,0,0)}function fc(a", |
| "){a=ac(a);return new Xb(a.top,a.left+a.width,a.top+a.height,a.left)}\nf", |
| "unction hc(a){return a.replace(/^[^\\S\\xa0]+|[^\\S\\xa0]+$/g,\"\")}fun", |
| "ction ic(a){var b=a;a=b.length;for(var c=Array(a),b=m(b)?b.split(\"\"):", |
| "b,d=0;d<a;d++)d in b&&(c[d]=hc.call(void 0,b[d]));return hc(c.join(\"", |
| "\\n\")).replace(/\\xa0/g,\" \")}\nfunction jc(a,b,c,d){if(z(a,\"BR\"))b", |
| ".push(\"\");else{var e=z(a,\"TD\"),f=X(a,\"display\"),h=!e&&!(0<=oa(kc,", |
| "f)),l=k(a.previousElementSibling)?a.previousElementSibling:La(a.previou", |
| "sSibling),l=l?X(l,\"display\"):\"\",v=X(a,\"float\")||X(a,\"cssFloat\")", |
| "||X(a,\"styleFloat\");!h||\"run-in\"==l&&\"none\"==v||/^[\\s\\xa0]*$/.t", |
| "est(b[b.length-1]||\"\")||b.push(\"\");var C=c(a),r=null,w=null;C&&(r=X", |
| "(a,\"white-space\"),w=X(a,\"text-transform\"));q(a.childNodes,function(", |
| "a){d(a,b,C,r,w)});a=b[b.length-1]||\"\";!e&&\"table-cell\"!=f||!a||ma(a", |
| ")||\n(b[b.length-1]+=\" \");h&&\"run-in\"!=f&&!/^[\\s\\xa0]*$/.test(a)&", |
| "&b.push(\"\")}}function lc(a,b){jc(a,b,ec,function(a,b,e,f,h){3==a.node", |
| "Type&&e?mc(a,b,f,h):z(a)&&lc(a,b)})}var kc=\"inline inline-block inline", |
| "-table none table-cell table-column table-column-group\".split(\" \");", |
| "\nfunction mc(a,b,c,d){a=a.nodeValue.replace(/[\\u200b\\u200e\\u200f]/g", |
| ",\"\");a=a.replace(/(\\r\\n|\\r|\\n)/g,\"\\n\");if(\"normal\"==c||\"now", |
| "rap\"==c)a=a.replace(/\\n/g,\" \");a=\"pre\"==c||\"pre-wrap\"==c?a.repl", |
| "ace(/[ \\f\\t\\v\\u2028\\u2029]/g,\"\\u00a0\"):a.replace(/[\\ \\f\\t\\v", |
| "\\u2028\\u2029]+/g,\" \");\"capitalize\"==d?a=a.replace(/(^|\\s)(\\S)/g", |
| ",function(a,b,c){return b+c.toUpperCase()}):\"uppercase\"==d?a=a.toUppe", |
| "rCase():\"lowercase\"==d&&(a=a.toLowerCase());c=b.pop()||\"\";ma(c)&&0=", |
| "=a.lastIndexOf(\" \",0)&&(a=a.substr(1));b.push(c+a)}\nfunction dc(a){v", |
| "ar b=1,c=X(a,\"opacity\");c&&(b=Number(c));(a=Yb(a))&&(b*=dc(a));return", |
| " b}\nif(\"function\"===typeof ShadowRoot)var nc=function(a,b){function ", |
| "c(b){if(\"none\"==X(b,\"display\"))return!1;var e;do{e=b.parentNode;if(", |
| "b.getDestinationInsertionPoints){var f=b.getDestinationInsertionPoints(", |
| ");0<f.length&&(e=f[f.length-1])}if(e instanceof ShadowRoot){if(e.host.s", |
| "hadowRoot!=e)return!1;e=e.host}else if(9==e.nodeType||11==e.nodeType)e=", |
| "null}while(a&&1!=a.nodeType);return!e||c(e)}return $b(a,!!b,c)},oc=func", |
| "tion(a,b,c,d,e){if(3==a.nodeType&&c)mc(a,b,d,e);else if(z(a))if(z(a,\"C", |
| "ONTENT\"))q(a.getDistributedNodes(),\nfunction(a){oc(a,b,c,d,e)});else ", |
| "if(z(a,\"SHADOW\")){for(;a.parentNode;)a=a.parentNode;if(a instanceof S", |
| "hadowRoot&&a)for(a=a.olderShadowRoot;a;)q(a.childNodes,function(a){oc(a", |
| ",b,c,d,e)}),a=a.olderShadowRoot}else pc(a,b)},pc=function(a,b){a.shadow", |
| "Root&&q(a.shadowRoot.childNodes,function(a){oc(a,b,!0,null,null)});jc(a", |
| ",b,nc,function(a,b,e,f,h){var l=null;1==a.nodeType?l=a:3==a.nodeType&&(", |
| "l=a);null!=l&&l.getDestinationInsertionPoints&&0<l.getDestinationInsert", |
| "ionPoints().length||oc(a,b,e,f,h)})};function qc(a,b){this.w={};this.g=", |
| "[];this.F=0;var c=arguments.length;if(1<c){if(c%2)throw Error(\"Uneven ", |
| "number of arguments\");for(var d=0;d<c;d+=2)this.set(arguments[d],argum", |
| "ents[d+1])}else a&&this.addAll(a)}function rc(a){sc(a);return a.g.conca", |
| "t()}g=qc.prototype;g.clear=function(){this.w={};this.F=this.g.length=0}", |
| ";g.remove=function(a){return Object.prototype.hasOwnProperty.call(this.", |
| "w,a)?(delete this.w[a],this.F--,this.g.length>2*this.F&&sc(this),!0):!1", |
| "};\nfunction sc(a){if(a.F!=a.g.length){for(var b=0,c=0;b<a.g.length;){v", |
| "ar d=a.g[b];Object.prototype.hasOwnProperty.call(a.w,d)&&(a.g[c++]=d);b", |
| "++}a.g.length=c}if(a.F!=a.g.length){for(var e={},c=b=0;b<a.g.length;)d=", |
| "a.g[b],Object.prototype.hasOwnProperty.call(e,d)||(a.g[c++]=d,e[d]=1),b", |
| "++;a.g.length=c}}g.get=function(a,b){return Object.prototype.hasOwnProp", |
| "erty.call(this.w,a)?this.w[a]:b};g.set=function(a,b){Object.prototype.h", |
| "asOwnProperty.call(this.w,a)||(this.F++,this.g.push(a));this.w[a]=b};\n", |
| "g.addAll=function(a){var b;if(a instanceof qc){b=rc(a);sc(a);for(var c=", |
| "[],d=0;d<a.g.length;d++)c.push(a.w[a.g[d]]);a=c}else{b=[];var d=0,e;for", |
| "(e in a)b[d++]=e;d=[];e=0;for(c in a)d[e++]=a[c];a=d}for(c=0;c<b.length", |
| ";c++)this.set(b[c],a[c])};g.forEach=function(a,b){for(var c=rc(this),d=", |
| "0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone", |
| "=function(){return new qc(this)};var tc={};function Z(a,b,c){ha(a)&&(a=", |
| "a.b);a=new uc(a);!b||b in tc&&!c||(tc[b]={key:a,shift:!1},c&&(tc[c]={ke", |
| "y:a,shift:!0}));return a}function uc(a){this.code=a}Z(8);Z(9);Z(13);var", |
| " vc=Z(16),wc=Z(17),xc=Z(18);Z(19);Z(20);Z(27);Z(32,\" \");Z(33);Z(34);Z", |
| "(35);Z(36);Z(37);Z(38);Z(39);Z(40);Z(44);Z(45);Z(46);Z(48,\"0\",\")\");", |
| "Z(49,\"1\",\"!\");Z(50,\"2\",\"@\");Z(51,\"3\",\"#\");Z(52,\"4\",\"$\")", |
| ";Z(53,\"5\",\"%\");Z(54,\"6\",\"^\");Z(55,\"7\",\"&\");Z(56,\"8\",\"*\"", |
| ");Z(57,\"9\",\"(\");Z(65,\"a\",\"A\");Z(66,\"b\",\"B\");Z(67,\"c\",\"C", |
| "\");Z(68,\"d\",\"D\");\nZ(69,\"e\",\"E\");Z(70,\"f\",\"F\");Z(71,\"g\",", |
| "\"G\");Z(72,\"h\",\"H\");Z(73,\"i\",\"I\");Z(74,\"j\",\"J\");Z(75,\"k\"", |
| ",\"K\");Z(76,\"l\",\"L\");Z(77,\"m\",\"M\");Z(78,\"n\",\"N\");Z(79,\"o", |
| "\",\"O\");Z(80,\"p\",\"P\");Z(81,\"q\",\"Q\");Z(82,\"r\",\"R\");Z(83,\"", |
| "s\",\"S\");Z(84,\"t\",\"T\");Z(85,\"u\",\"U\");Z(86,\"v\",\"V\");Z(87,", |
| "\"w\",\"W\");Z(88,\"x\",\"X\");Z(89,\"y\",\"Y\");Z(90,\"z\",\"Z\");var ", |
| "yc=Z(Ha?{c:91,b:91}:Ga?{c:224,b:91}:{c:0,b:91});Z(Ha?{c:92,b:92}:Ga?{c:", |
| "224,b:93}:{c:0,b:92});Z(Ha?{c:93,b:93}:Ga?{c:0,b:0}:{c:93,b:null});Z({c", |
| ":96,b:96},\"0\");Z({c:97,b:97},\"1\");\nZ({c:98,b:98},\"2\");Z({c:99,b:", |
| "99},\"3\");Z({c:100,b:100},\"4\");Z({c:101,b:101},\"5\");Z({c:102,b:102", |
| "},\"6\");Z({c:103,b:103},\"7\");Z({c:104,b:104},\"8\");Z({c:105,b:105},", |
| "\"9\");Z({c:106,b:106},\"*\");Z({c:107,b:107},\"+\");Z({c:109,b:109},\"", |
| "-\");Z({c:110,b:110},\".\");Z({c:111,b:111},\"/\");Z(144);Z(112);Z(113)", |
| ";Z(114);Z(115);Z(116);Z(117);Z(118);Z(119);Z(120);Z(121);Z(122);Z(123);", |
| "Z({c:107,b:187},\"=\",\"+\");Z(108,\",\");Z({c:109,b:189},\"-\",\"_\");", |
| "Z(188,\",\",\"<\");Z(190,\".\",\">\");Z(191,\"/\",\"?\");Z(192,\"`\",\"", |
| "~\");Z(219,\"[\",\"{\");\nZ(220,\"\\\\\",\"|\");Z(221,\"]\",\"}\");Z({c", |
| ":59,b:186},\";\",\":\");Z(222,\"'\",'\"');var zc=new qc;zc.set(1,vc);zc", |
| ".set(2,wc);zc.set(4,xc);zc.set(8,yc);(function(a){var b=new qc;q(rc(a),", |
| "function(c){b.set(a.get(c).code,c)});return b})(zc);ea(\"_\",function(a", |
| ",b){var c;b?(c=[],pc(a,c)):(c=[],lc(a,c));return c=ic(c)});; return thi", |
| "s._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'", |
| "?window.navigator:null,document:typeof window!='undefined'?window.docum", |
| "ent:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const IS_SELECTED[] = { |
| "function(){return function(){var f,aa=\"function\"==typeof Object.defin", |
| "eProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw", |
| " new TypeError(\"ES3 does not support getters and setters.\");a!=Array.", |
| "prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this;", |
| "\nfunction ca(a,b){if(b){for(var c=ba,d=a.split(\".\"),e=0;e<d.length-1", |
| ";e++){var g=d[e];g in c||(c[g]={});c=c[g]}d=d[d.length-1];e=c[d];g=b(e)", |
| ";g!=e&&null!=g&&aa(c,d,{configurable:!0,writable:!0,value:g})}}\nca(\"S", |
| "tring.prototype.repeat\",function(a){return a?a:function(a){var c;if(nu", |
| "ll==this)throw new TypeError(\"The 'this' value for String.prototype.re", |
| "peat must not be null or undefined\");c=this+\"\";if(0>a||1342177279<a)", |
| "throw new RangeError(\"Invalid count value\");a|=0;for(var d=\"\";a;)if", |
| "(a&1&&(d+=c),a>>>=1)c+=c;return d}});ca(\"Math.sign\",function(a){retur", |
| "n a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var ", |
| "k=this;\nfunction da(a,b){var c=a.split(\".\"),d=k;c[0]in d||!d.execScr", |
| "ipt||d.execScript(\"var \"+c[0]);for(var e;c.length&&(e=c.shift());)c.l", |
| "ength||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b}\nfunction ea(a){var b=typ", |
| "eof a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a", |
| " instanceof Object)return b;var c=Object.prototype.toString.call(a);if(", |
| "\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"num", |
| "ber\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=", |
| "typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))retu", |
| "rn\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&", |
| "\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(", |
| "\"call\"))return\"function\"}else return\"null\";\nelse if(\"function\"", |
| "==b&&\"undefined\"==typeof a.call)return\"object\";return b}function m(", |
| "a){return\"string\"==typeof a}function fa(a,b,c){return a.call.apply(a.", |
| "bind,arguments)}function ga(a,b,c){if(!a)throw Error();if(2<arguments.l", |
| "ength){var d=Array.prototype.slice.call(arguments,2);return function(){", |
| "var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.app", |
| "ly(c,d);return a.apply(b,c)}}return function(){return a.apply(b,argumen", |
| "ts)}}\nfunction ha(a,b,c){ha=Function.prototype.bind&&-1!=Function.prot", |
| "otype.bind.toString().indexOf(\"native code\")?fa:ga;return ha.apply(nu", |
| "ll,arguments)}function ia(a,b){var c=Array.prototype.slice.call(argumen", |
| "ts,1);return function(){var b=c.slice();b.push.apply(b,arguments);retur", |
| "n a.apply(this,b)}}\nfunction n(a,b){function c(){}c.prototype=b.protot", |
| "ype;a.sa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ra=f", |
| "unction(a,c,g){for(var h=Array(arguments.length-2),l=2;l<arguments.leng", |
| "th;l++)h[l-2]=arguments[l];return b.prototype[c].apply(a,h)}};function ", |
| "p(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.", |
| "call(void 0,d[e],e,a)}function q(a,b,c){var d=c;p(a,function(c,g){d=b.c", |
| "all(void 0,d,c,g,a)});return d}function r(a,b){for(var c=a.length,d=m(a", |
| ")?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return", |
| "!0;return!1}function ja(a){return Array.prototype.concat.apply(Array.pr", |
| "ototype,arguments)}function ka(a,b,c){return 2>=arguments.length?Array.", |
| "prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};function l", |
| "a(a,b){this.code=a;this.state=t[a]||u;this.message=b||\"\";var c=this.s", |
| "tate.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().re", |
| "place(/^[\\s\\xa0]+/g,\"\")}),d=c.length-5;if(0>d||c.indexOf(\"Error\",", |
| "d)!=d)c+=\"Error\";this.name=c;c=Error(this.message);c.name=this.name;t", |
| "his.stack=c.stack||\"\"}n(la,Error);var u=\"unknown error\",t={15:\"ele", |
| "ment not selectable\",11:\"element not visible\"};t[31]=u;t[30]=u;t[24]", |
| "=\"invalid cookie domain\";t[29]=\"invalid element coordinates\";t[12]=", |
| "\"invalid element state\";\nt[32]=\"invalid selector\";t[51]=\"invalid ", |
| "selector\";t[52]=\"invalid selector\";t[17]=\"javascript error\";t[405]", |
| "=\"unsupported operation\";t[34]=\"move target out of bounds\";t[27]=\"", |
| "no such alert\";t[7]=\"no such element\";t[8]=\"no such frame\";t[23]=", |
| "\"no such window\";t[28]=\"script timeout\";t[33]=\"session not created", |
| "\";t[10]=\"stale element reference\";t[21]=\"timeout\";t[25]=\"unable t", |
| "o set cookie\";t[26]=\"unexpected alert open\";t[13]=u;t[9]=\"unknown c", |
| "ommand\";la.prototype.toString=function(){return this.name+\": \"+this.", |
| "message};var v;a:{var ma=k.navigator;if(ma){var na=ma.userAgent;if(na){", |
| "v=na;break a}}v=\"\"};var oa=-1!=v.indexOf(\"Macintosh\"),pa=-1!=v.inde", |
| "xOf(\"Windows\");function qa(a,b){if(!a||!b)return!1;if(a.contains&&1==", |
| "b.nodeType)return a==b||a.contains(b);if(\"undefined\"!=typeof a.compar", |
| "eDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(", |
| ";b&&a!=b;)b=b.parentNode;return b==a}\nfunction ra(a,b){if(a==b)return ", |
| "0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:", |
| "-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode", |
| "){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.so", |
| "urceIndex;var e=a.parentNode,g=b.parentNode;return e==g?sa(a,b):!c&&qa(", |
| "e,b)?-1*ta(a,b):!d&&qa(g,a)?ta(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?", |
| "b.sourceIndex:g.sourceIndex)}d=9==a.nodeType?a:a.ownerDocument||a.docum", |
| "ent;c=d.createRange();c.selectNode(a);c.collapse(!0);\nd=d.createRange(", |
| ");d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(k.Range", |
| ".START_TO_END,d)}function ta(a,b){var c=a.parentNode;if(c==b)return-1;f", |
| "or(var d=b;d.parentNode!=c;)d=d.parentNode;return sa(d,a)}function sa(a", |
| ",b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1};functio", |
| "n ua(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}fu", |
| "nction wa(a){return ua(a,\"OPTION\")?!0:ua(a,\"INPUT\")?(a=a.type.toLow", |
| "erCase(),\"checkbox\"==a||\"radio\"==a):!1};/*\n\n The MIT License\n\n ", |
| "Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n", |
| "\n Permission is hereby granted, free of charge, to any person obtainin", |
| "g a copy\n of this software and associated documentation files (the \"S", |
| "oftware\"), to\n deal in the Software without restriction, including wi", |
| "thout limitation the\n rights to use, copy, modify, merge, publish, dis", |
| "tribute, sublicense, and/or\n sell copies of the Software, and to permi", |
| "t persons to whom the Software is\n furnished to do so, subject to the ", |
| "following conditions:\n\n The above copyright notice and this permissio", |
| "n notice shall be included in\n all copies or substantial portions of t", |
| "he Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY O", |
| "F ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR", |
| "ANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONIN", |
| "FRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIA", |
| "BLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION O", |
| "F CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION ", |
| "WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\n", |
| "function w(a,b,c){this.s=a;this.pa=b||1;this.o=c||1};function x(a){this", |
| ".X=a;this.N=0}function xa(a){a=a.match(ya);for(var b=0;b<a.length;b++)z", |
| "a.test(a[b])&&a.splice(b,1);return new x(a)}var ya=RegExp(\"\\\\$?(?:(?", |
| "![0-9-\\\\.])(?:\\\\*|[\\\\w-\\\\.]+):)?(?![0-9-\\\\.])(?:\\\\*|[\\\\w-", |
| "\\\\.]+)|\\\\/\\\\/|\\\\.\\\\.|::|\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+|", |
| "\\\"[^\\\"]*\\\"|'[^']*'|[!<>]=|\\\\s+|.\",\"g\"),za=/^\\s/;function y(", |
| "a,b){return a.X[a.N+(b||0)]}x.prototype.next=function(){return this.X[t", |
| "his.N++]};x.prototype.back=function(){this.N--};x.prototype.empty=funct", |
| "ion(){return this.X.length<=this.N};function A(a){var b=null,c=a.nodeTy", |
| "pe;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==", |
| "b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.docu", |
| "mentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&", |
| "(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].next", |
| "Sibling););}}else b=a.nodeValue;return\"\"+b}\nfunction B(a,b,c){if(nul", |
| "l===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return", |
| " null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function C(a,b,c,d,", |
| "e){return Aa.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new D)}\nfunction", |
| " Aa(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByNa", |
| "me(d),p(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassNam", |
| "e&&d&&\"class\"==c?(b=b.getElementsByClassName(d),p(b,function(b){b.cla", |
| "ssName==d&&a.matches(b)&&e.add(b)})):a instanceof E?Ba(a,b,c,d,e):b.get", |
| "ElementsByTagName&&(b=b.getElementsByTagName(a.getName()),p(b,function(", |
| "a){B(a,c,d)&&e.add(a)}));return e}function Ca(a,b,c,d,e){for(b=b.firstC", |
| "hild;b;b=b.nextSibling)B(b,c,d)&&a.matches(b)&&e.add(b);return e}\nfunc", |
| "tion Ba(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)B(b,c,d)&&a.mat", |
| "ches(b)&&e.add(b),Ba(a,b,c,d,e)};function D(){this.o=this.j=null;this.J", |
| "=0}function Da(a){this.node=a;this.next=this.D=null}function Ea(a,b){if", |
| "(!a.j)return b;if(!b.j)return a;for(var c=a.j,d=b.j,e=null,g,h=0;c&&d;)", |
| "c.node==d.node?(g=c,c=c.next,d=d.next):0<ra(c.node,d.node)?(g=d,d=d.nex", |
| "t):(g=c,c=c.next),(g.D=e)?e.next=g:a.j=g,e=g,h++;for(g=c||d;g;)g.D=e,e=", |
| "e.next=g,h++,g=g.next;a.o=e;a.J=h;return a}D.prototype.unshift=function", |
| "(a){a=new Da(a);a.next=this.j;this.o?this.j.D=a:this.j=this.o=a;this.j=", |
| "a;this.J++};\nD.prototype.add=function(a){a=new Da(a);a.D=this.o;this.j", |
| "?this.o.next=a:this.j=this.o=a;this.o=a;this.J++};function F(a){return(", |
| "a=a.j)?a.node:null}D.prototype.u=function(){return this.J};function G(a", |
| "){return(a=F(a))?A(a):\"\"}D.prototype.iterator=function(a){return new ", |
| "Fa(this,!!a)};function Fa(a,b){this.la=a;this.Y=(this.G=b)?a.o:a.j;this", |
| ".U=null}Fa.prototype.next=function(){var a=this.Y;if(null==a)return nul", |
| "l;var b=this.U=a;this.Y=this.G?a.D:a.next;return b.node};\nFa.prototype", |
| ".remove=function(){var a=this.la,b=this.U;if(!b)throw Error(\"Next must", |
| " be called at least once before remove.\");var c=b.D,b=b.next;c?c.next=", |
| "b:a.j=b;b?b.D=c:a.o=c;a.J--;this.U=null};function H(a){this.i=a;this.l=", |
| "this.w=!1;this.K=null}function I(a){return\"\\n \"+a.toString().split(", |
| "\"\\n\").join(\"\\n \")}H.prototype.h=function(){return this.w};functi", |
| "on Ga(a,b){a.w=b}function Ha(a,b){a.l=b}H.prototype.B=function(){return", |
| " this.K};function J(a,b){var c=a.evaluate(b);return c instanceof D?+G(c", |
| "):+c}function K(a,b){var c=a.evaluate(b);return c instanceof D?G(c):\"", |
| "\"+c}function L(a,b){var c=a.evaluate(b);return c instanceof D?!!c.u():", |
| "!!c};function M(a,b,c){H.call(this,a.i);this.W=a;this.aa=b;this.fa=c;th", |
| "is.w=b.h()||c.h();this.l=b.l||c.l;this.W==Ia&&(c.l||c.h()||4==c.i||0==c", |
| ".i||!b.B()?b.l||b.h()||4==b.i||0==b.i||!c.B()||(this.K={name:c.B().name", |
| ",I:b}):this.K={name:b.B().name,I:c})}n(M,H);\nfunction N(a,b,c,d,e){b=b", |
| ".evaluate(d);c=c.evaluate(d);var g;if(b instanceof D&&c instanceof D){b", |
| "=b.iterator();for(d=b.next();d;d=b.next())for(e=c.iterator(),g=e.next()", |
| ";g;g=e.next())if(a(A(d),A(g)))return!0;return!1}if(b instanceof D||c in", |
| "stanceof D){b instanceof D?(e=b,d=c):(e=c,d=b);g=e.iterator();for(var h", |
| "=typeof d,l=g.next();l;l=g.next()){switch(h){case \"number\":l=+A(l);br", |
| "eak;case \"boolean\":l=!!A(l);break;case \"string\":l=A(l);break;defaul", |
| "t:throw Error(\"Illegal primitive type for comparison.\");\n}if(e==b&&a", |
| "(l,d)||e==c&&a(d,l))return!0}return!1}return e?\"boolean\"==typeof b||", |
| "\"boolean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==type", |
| "of c?a(+b,+c):a(b,c):a(+b,+c)}M.prototype.evaluate=function(a){return t", |
| "his.W.C(this.aa,this.fa,a)};M.prototype.toString=function(){var a=\"Bin", |
| "ary Expression: \"+this.W,a=a+I(this.aa);return a+=I(this.fa)};function", |
| " Ja(a,b,c,d){this.oa=a;this.da=b;this.i=c;this.C=d}Ja.prototype.toStrin", |
| "g=function(){return this.oa};var Ka={};\nfunction O(a,b,c,d){if(Ka.hasO", |
| "wnProperty(a))throw Error(\"Binary operator already created: \"+a);a=ne", |
| "w Ja(a,b,c,d);return Ka[a.toString()]=a}O(\"div\",6,1,function(a,b,c){r", |
| "eturn J(a,c)/J(b,c)});O(\"mod\",6,1,function(a,b,c){return J(a,c)%J(b,c", |
| ")});O(\"*\",6,1,function(a,b,c){return J(a,c)*J(b,c)});O(\"+\",5,1,func", |
| "tion(a,b,c){return J(a,c)+J(b,c)});O(\"-\",5,1,function(a,b,c){return J", |
| "(a,c)-J(b,c)});O(\"<\",4,2,function(a,b,c){return N(function(a,b){retur", |
| "n a<b},a,b,c)});\nO(\">\",4,2,function(a,b,c){return N(function(a,b){re", |
| "turn a>b},a,b,c)});O(\"<=\",4,2,function(a,b,c){return N(function(a,b){", |
| "return a<=b},a,b,c)});O(\">=\",4,2,function(a,b,c){return N(function(a,", |
| "b){return a>=b},a,b,c)});var Ia=O(\"=\",3,2,function(a,b,c){return N(fu", |
| "nction(a,b){return a==b},a,b,c,!0)});O(\"!=\",3,2,function(a,b,c){retur", |
| "n N(function(a,b){return a!=b},a,b,c,!0)});O(\"and\",2,2,function(a,b,c", |
| "){return L(a,c)&&L(b,c)});O(\"or\",1,2,function(a,b,c){return L(a,c)||L", |
| "(b,c)});function La(a,b){if(b.u()&&4!=a.i)throw Error(\"Primary express", |
| "ion must evaluate to nodeset if filter has predicate(s).\");H.call(this", |
| ",a.i);this.ea=a;this.f=b;this.w=a.h();this.l=a.l}n(La,H);La.prototype.e", |
| "valuate=function(a){a=this.ea.evaluate(a);return Ma(this.f,a)};La.proto", |
| "type.toString=function(){var a;a=\"Filter:\"+I(this.ea);return a+=I(thi", |
| "s.f)};function Na(a,b){if(b.length<a.ca)throw Error(\"Function \"+a.m+", |
| "\" expects at least\"+a.ca+\" arguments, \"+b.length+\" given\");if(nul", |
| "l!==a.V&&b.length>a.V)throw Error(\"Function \"+a.m+\" expects at most ", |
| "\"+a.V+\" arguments, \"+b.length+\" given\");a.ma&&p(b,function(b,d){if", |
| "(4!=b.i)throw Error(\"Argument \"+d+\" to function \"+a.m+\" is not of ", |
| "type Nodeset: \"+b);});H.call(this,a.i);this.M=a;this.S=b;Ga(this,a.w||", |
| "r(b,function(a){return a.h()}));Ha(this,a.ka&&!b.length||a.ja&&!!b.leng", |
| "th||r(b,function(a){return a.l}))}\nn(Na,H);Na.prototype.evaluate=funct", |
| "ion(a){return this.M.C.apply(null,ja(a,this.S))};Na.prototype.toString=", |
| "function(){var a=\"Function: \"+this.M;if(this.S.length)var b=q(this.S,", |
| "function(a,b){return a+I(b)},\"Arguments:\"),a=a+I(b);return a};functio", |
| "n Oa(a,b,c,d,e,g,h,l,z){this.m=a;this.i=b;this.w=c;this.ka=d;this.ja=e;", |
| "this.C=g;this.ca=h;this.V=void 0!==l?l:h;this.ma=!!z}Oa.prototype.toStr", |
| "ing=function(){return this.m};var Pa={};\nfunction P(a,b,c,d,e,g,h,l){i", |
| "f(Pa.hasOwnProperty(a))throw Error(\"Function already created: \"+a+\".", |
| "\");Pa[a]=new Oa(a,b,c,d,!1,e,g,h,l)}P(\"boolean\",2,!1,!1,function(a,b", |
| "){return L(b,a)},1);P(\"ceiling\",1,!1,!1,function(a,b){return Math.cei", |
| "l(J(b,a))},1);P(\"concat\",3,!1,!1,function(a,b){return q(ka(arguments,", |
| "1),function(b,d){return b+K(d,a)},\"\")},2,null);P(\"contains\",2,!1,!1", |
| ",function(a,b,c){b=K(b,a);a=K(c,a);return-1!=b.indexOf(a)},2);P(\"count", |
| "\",1,!1,!1,function(a,b){return b.evaluate(a).u()},1,1,!0);\nP(\"false", |
| "\",2,!1,!1,function(){return!1},0);P(\"floor\",1,!1,!1,function(a,b){re", |
| "turn Math.floor(J(b,a))},1);P(\"id\",4,!1,!1,function(a,b){var c=a.s,d=", |
| "9==c.nodeType?c:c.ownerDocument,c=K(b,a).split(/\\s+/),e=[];p(c,functio", |
| "n(a){a=d.getElementById(a);var b;if(!(b=!a)){a:if(m(e))b=m(a)&&1==a.len", |
| "gth?e.indexOf(a,0):-1;else{for(b=0;b<e.length;b++)if(b in e&&e[b]===a)b", |
| "reak a;b=-1}b=0<=b}b||e.push(a)});e.sort(ra);var g=new D;p(e,function(a", |
| "){g.add(a)});return g},1);P(\"lang\",2,!1,!1,function(){return!1},1);\n", |
| "P(\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw Error(\"Fun", |
| "ction last expects ()\");return a.o},0);P(\"local-name\",3,!1,!0,functi", |
| "on(a,b){var c=b?F(b.evaluate(a)):a.s;return c?c.localName||c.nodeName.t", |
| "oLowerCase():\"\"},0,1,!0);P(\"name\",3,!1,!0,function(a,b){var c=b?F(b", |
| ".evaluate(a)):a.s;return c?c.nodeName.toLowerCase():\"\"},0,1,!0);P(\"n", |
| "amespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);\nP(\"normalize-s", |
| "pace\",3,!1,!0,function(a,b){return(b?K(b,a):A(a.s)).replace(/[\\s\\xa0", |
| "]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);P(\"not\",2,!1,!1,functi", |
| "on(a,b){return!L(b,a)},1);P(\"number\",1,!1,!0,function(a,b){return b?J", |
| "(b,a):+A(a.s)},0,1);P(\"position\",1,!0,!1,function(a){return a.pa},0);", |
| "P(\"round\",1,!1,!1,function(a,b){return Math.round(J(b,a))},1);P(\"sta", |
| "rts-with\",2,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);return 0==b.lastIn", |
| "dexOf(a,0)},2);P(\"string\",3,!1,!0,function(a,b){return b?K(b,a):A(a.s", |
| ")},0,1);\nP(\"string-length\",1,!1,!0,function(a,b){return(b?K(b,a):A(a", |
| ".s)).length},0,1);P(\"substring\",3,!1,!1,function(a,b,c,d){c=J(c,a);if", |
| "(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?J(d,a):Infinity;if(", |
| "isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0", |
| ");a=K(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round", |
| "(d))},2,3);P(\"substring-after\",3,!1,!1,function(a,b,c){b=K(b,a);a=K(c", |
| ",a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nP(\"s", |
| "ubstring-before\",3,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);a=b.indexOf", |
| "(a);return-1==a?\"\":b.substring(0,a)},2);P(\"sum\",1,!1,!1,function(a,", |
| "b){for(var c=b.evaluate(a).iterator(),d=0,e=c.next();e;e=c.next())d+=+A", |
| "(e);return d},1,1,!0);P(\"translate\",3,!1,!1,function(a,b,c,d){b=K(b,a", |
| ");c=K(c,a);var e=K(d,a);a={};for(d=0;d<c.length;d++){var g=c.charAt(d);", |
| "g in a||(a[g]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)g=b.charAt(d),", |
| "c+=g in a?a[g]:g;return c},3);P(\"true\",2,!1,!1,function(){return!0},0", |
| ");function E(a,b){this.ha=a;this.ba=void 0!==b?b:null;this.H=null;switc", |
| "h(a){case \"comment\":this.H=8;break;case \"text\":this.H=3;break;case ", |
| "\"processing-instruction\":this.H=7;break;case \"node\":break;default:t", |
| "hrow Error(\"Unexpected argument\");}}function Qa(a){return\"comment\"=", |
| "=a||\"text\"==a||\"processing-instruction\"==a||\"node\"==a}E.prototype", |
| ".matches=function(a){return null===this.H||this.H==a.nodeType};E.protot", |
| "ype.getName=function(){return this.ha};\nE.prototype.toString=function(", |
| "){var a=\"Kind Test: \"+this.ha;null===this.ba||(a+=I(this.ba));return ", |
| "a};function Ra(a){H.call(this,3);this.ga=a.substring(1,a.length-1)}n(Ra", |
| ",H);Ra.prototype.evaluate=function(){return this.ga};Ra.prototype.toStr", |
| "ing=function(){return\"Literal: \"+this.ga};function Q(a,b){this.m=a.to", |
| "LowerCase();var c;c=\"*\"==this.m?\"*\":\"http://www.w3.org/1999/xhtml", |
| "\";this.O=b?b.toLowerCase():c}Q.prototype.matches=function(a){var b=a.n", |
| "odeType;if(1!=b&&2!=b)return!1;b=void 0!==a.localName?a.localName:a.nod", |
| "eName;return\"*\"!=this.m&&this.m!=b.toLowerCase()?!1:\"*\"==this.O?!0:", |
| "this.O==(a.namespaceURI?a.namespaceURI.toLowerCase():\"http://www.w3.or", |
| "g/1999/xhtml\")};Q.prototype.getName=function(){return this.m};\nQ.prot", |
| "otype.toString=function(){return\"Name Test: \"+(\"http://www.w3.org/19", |
| "99/xhtml\"==this.O?\"\":this.O+\":\")+this.m};function Sa(a){H.call(thi", |
| "s,1);this.ia=a}n(Sa,H);Sa.prototype.evaluate=function(){return this.ia}", |
| ";Sa.prototype.toString=function(){return\"Number: \"+this.ia};function ", |
| "Ta(a,b){H.call(this,a.i);this.$=a;this.L=b;this.w=a.h();this.l=a.l;if(1", |
| "==this.L.length){var c=this.L[0];c.T||c.A!=Ua||(c=c.R,\"*\"!=c.getName(", |
| ")&&(this.K={name:c.getName(),I:null}))}}n(Ta,H);function R(){H.call(thi", |
| "s,4)}n(R,H);R.prototype.evaluate=function(a){var b=new D;a=a.s;9==a.nod", |
| "eType?b.add(a):b.add(a.ownerDocument);return b};R.prototype.toString=fu", |
| "nction(){return\"Root Helper Expression\"};function Va(){H.call(this,4)", |
| "}n(Va,H);Va.prototype.evaluate=function(a){var b=new D;b.add(a.s);retur", |
| "n b};\nVa.prototype.toString=function(){return\"Context Helper Expressi", |
| "on\"};function Wa(a){return\"/\"==a||\"//\"==a}\nTa.prototype.evaluate=", |
| "function(a){var b=this.$.evaluate(a);if(!(b instanceof D))throw Error(", |
| "\"Filter expression must evaluate to nodeset.\");a=this.L;for(var c=0,d", |
| "=a.length;c<d&&b.u();c++){var e=a[c],g=b.iterator(e.A.G),h;if(e.h()||e.", |
| "A!=Xa)if(e.h()||e.A!=Ya)for(h=g.next(),b=e.evaluate(new w(h));null!=(h=", |
| "g.next());)h=e.evaluate(new w(h)),b=Ea(b,h);else h=g.next(),b=e.evaluat", |
| "e(new w(h));else{for(h=g.next();(b=g.next())&&(!h.contains||h.contains(", |
| "b))&&b.compareDocumentPosition(h)&8;h=b);b=e.evaluate(new w(h))}}return", |
| " b};\nTa.prototype.toString=function(){var a;a=\"Path Expression:\"+I(t", |
| "his.$);if(this.L.length){var b=q(this.L,function(a,b){return a+I(b)},\"", |
| "Steps:\");a+=I(b)}return a};function S(a,b){this.f=a;this.G=!!b}functio", |
| "n Ma(a,b,c){for(c=c||0;c<a.f.length;c++)for(var d=a.f[c],e=b.iterator()", |
| ",g=b.u(),h,l=0;h=e.next();l++){var z=a.G?g-l:l+1;h=d.evaluate(new w(h,z", |
| ",g));if(\"number\"==typeof h)z=z==h;else if(\"string\"==typeof h||\"boo", |
| "lean\"==typeof h)z=!!h;else if(h instanceof D)z=0<h.u();else throw Erro", |
| "r(\"Predicate.evaluate returned an unexpected type.\");z||e.remove()}re", |
| "turn b}S.prototype.B=function(){return 0<this.f.length?this.f[0].B():nu", |
| "ll};\nS.prototype.h=function(){for(var a=0;a<this.f.length;a++){var b=t", |
| "his.f[a];if(b.h()||1==b.i||0==b.i)return!0}return!1};S.prototype.u=func", |
| "tion(){return this.f.length};S.prototype.toString=function(){return q(t", |
| "his.f,function(a,b){return a+I(b)},\"Predicates:\")};function T(a,b,c,d", |
| "){H.call(this,4);this.A=a;this.R=b;this.f=c||new S([]);this.T=!!d;b=thi", |
| "s.f.B();a.qa&&b&&(this.K={name:b.name,I:b.I});this.w=this.f.h()}n(T,H);", |
| "\nT.prototype.evaluate=function(a){var b=a.s,c=this.B(),d=null,e=null,g", |
| "=0;c&&(d=c.name,e=c.I?K(c.I,a):null,g=1);if(this.T)if(this.h()||this.A!", |
| "=Za)if(b=(new T($a,new E(\"node\"))).evaluate(a).iterator(),c=b.next())", |
| "for(a=this.C(c,d,e,g);null!=(c=b.next());)a=Ea(a,this.C(c,d,e,g));else ", |
| "a=new D;else a=C(this.R,b,d,e),a=Ma(this.f,a,g);else a=this.C(a.s,d,e,g", |
| ");return a};T.prototype.C=function(a,b,c,d){a=this.A.M(this.R,a,b,c);re", |
| "turn a=Ma(this.f,a,d)};\nT.prototype.toString=function(){var a;a=\"Step", |
| ":\"+I(\"Operator: \"+(this.T?\"//\":\"/\"));this.A.m&&(a+=I(\"Axis: \"+", |
| "this.A));a+=I(this.R);if(this.f.u()){var b=q(this.f.f,function(a,b){ret", |
| "urn a+I(b)},\"Predicates:\");a+=I(b)}return a};function ab(a,b,c,d){thi", |
| "s.m=a;this.M=b;this.G=c;this.qa=d}ab.prototype.toString=function(){retu", |
| "rn this.m};var bb={};function U(a,b,c,d){if(bb.hasOwnProperty(a))throw ", |
| "Error(\"Axis already created: \"+a);b=new ab(a,b,c,!!d);return bb[a]=b}", |
| "\nU(\"ancestor\",function(a,b){for(var c=new D,d=b;d=d.parentNode;)a.ma", |
| "tches(d)&&c.unshift(d);return c},!0);U(\"ancestor-or-self\",function(a,", |
| "b){var c=new D,d=b;do a.matches(d)&&c.unshift(d);while(d=d.parentNode);", |
| "return c},!0);\nvar Ua=U(\"attribute\",function(a,b){var c=new D,d=a.ge", |
| "tName(),e=b.attributes;if(e)if(a instanceof E&&null===a.H||\"*\"==d)for", |
| "(var d=0,g;g=e[d];d++)c.add(g);else(g=e.getNamedItem(d))&&c.add(g);retu", |
| "rn c},!1),Za=U(\"child\",function(a,b,c,d,e){return Ca.call(null,a,b,m(", |
| "c)?c:null,m(d)?d:null,e||new D)},!1,!0);U(\"descendant\",C,!1,!0);\nvar", |
| " $a=U(\"descendant-or-self\",function(a,b,c,d){var e=new D;B(b,c,d)&&a.", |
| "matches(b)&&e.add(b);return C(a,b,c,d,e)},!1,!0),Xa=U(\"following\",fun", |
| "ction(a,b,c,d){var e=new D;do for(var g=b;g=g.nextSibling;)B(g,c,d)&&a.", |
| "matches(g)&&e.add(g),e=C(a,g,c,d,e);while(b=b.parentNode);return e},!1,", |
| "!0);U(\"following-sibling\",function(a,b){for(var c=new D,d=b;d=d.nextS", |
| "ibling;)a.matches(d)&&c.add(d);return c},!1);U(\"namespace\",function()", |
| "{return new D},!1);\nvar cb=U(\"parent\",function(a,b){var c=new D;if(9", |
| "==b.nodeType)return c;if(2==b.nodeType)return c.add(b.ownerElement),c;v", |
| "ar d=b.parentNode;a.matches(d)&&c.add(d);return c},!1),Ya=U(\"preceding", |
| "\",function(a,b,c,d){var e=new D,g=[];do g.unshift(b);while(b=b.parentN", |
| "ode);for(var h=1,l=g.length;h<l;h++){var z=[];for(b=g[h];b=b.previousSi", |
| "bling;)z.unshift(b);for(var va=0,ub=z.length;va<ub;va++)b=z[va],B(b,c,d", |
| ")&&a.matches(b)&&e.add(b),e=C(a,b,c,d,e)}return e},!0,!0);\nU(\"precedi", |
| "ng-sibling\",function(a,b){for(var c=new D,d=b;d=d.previousSibling;)a.m", |
| "atches(d)&&c.unshift(d);return c},!0);var db=U(\"self\",function(a,b){v", |
| "ar c=new D;a.matches(b)&&c.add(b);return c},!1);function eb(a){H.call(t", |
| "his,1);this.Z=a;this.w=a.h();this.l=a.l}n(eb,H);eb.prototype.evaluate=f", |
| "unction(a){return-J(this.Z,a)};eb.prototype.toString=function(){return", |
| "\"Unary Expression: -\"+I(this.Z)};function fb(a){H.call(this,4);this.P", |
| "=a;Ga(this,r(this.P,function(a){return a.h()}));Ha(this,r(this.P,functi", |
| "on(a){return a.l}))}n(fb,H);fb.prototype.evaluate=function(a){var b=new", |
| " D;p(this.P,function(c){c=c.evaluate(a);if(!(c instanceof D))throw Erro", |
| "r(\"Path expression must evaluate to NodeSet.\");b=Ea(b,c)});return b};", |
| "fb.prototype.toString=function(){return q(this.P,function(a,b){return a", |
| "+I(b)},\"Union Expression:\")};function gb(a,b){this.a=a;this.na=b}func", |
| "tion hb(a){for(var b,c=[];;){V(a,\"Missing right hand side of binary ex", |
| "pression.\");b=ib(a);var d=a.a.next();if(!d)break;var e=(d=Ka[d]||null)", |
| "&&d.da;if(!e){a.a.back();break}for(;c.length&&e<=c[c.length-1].da;)b=ne", |
| "w M(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new M(c.pop(),c.pop", |
| "(),b);return b}function V(a,b){if(a.a.empty())throw Error(b);}function ", |
| "jb(a,b){var c=a.a.next();if(c!=b)throw Error(\"Bad token, expected: \"+", |
| "b+\" got: \"+c);}\nfunction kb(a){a=a.a.next();if(\")\"!=a)throw Error(", |
| "\"Bad token: \"+a);}function lb(a){a=a.a.next();if(2>a.length)throw Err", |
| "or(\"Unclosed literal string\");return new Ra(a)}\nfunction mb(a){var b", |
| ",c=[],d;if(Wa(y(a.a))){b=a.a.next();d=y(a.a);if(\"/\"==b&&(a.a.empty()|", |
| "|\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))re", |
| "turn new R;d=new R;V(a,\"Missing next location step.\");b=nb(a,b);c.pus", |
| "h(b)}else{a:{b=y(a.a);d=b.charAt(0);switch(d){case \"$\":throw Error(\"", |
| "Variable reference not allowed in HTML XPath\");case \"(\":a.a.next();b", |
| "=hb(a);V(a,'unclosed \"(\"');jb(a,\")\");break;case '\"':case \"'\":b=l", |
| "b(a);break;default:if(isNaN(+b))if(!Qa(b)&&/(?![0-9])[\\w]/.test(d)&&\"", |
| "(\"==y(a.a,1)){b=\na.a.next();b=Pa[b]||null;a.a.next();for(d=[];\")\"!=", |
| "y(a.a);){V(a,\"Missing function argument list.\");d.push(hb(a));if(\",", |
| "\"!=y(a.a))break;a.a.next()}V(a,\"Unclosed function argument list.\");k", |
| "b(a);b=new Na(b,d)}else{b=null;break a}else b=new Sa(+a.a.next())}\"[\"", |
| "==y(a.a)&&(d=new S(ob(a)),b=new La(b,d))}if(b)if(Wa(y(a.a)))d=b;else re", |
| "turn b;else b=nb(a,\"/\"),d=new Va,c.push(b)}for(;Wa(y(a.a));)b=a.a.nex", |
| "t(),V(a,\"Missing next location step.\"),b=nb(a,b),c.push(b);return new", |
| " Ta(d,c)}\nfunction nb(a,b){var c,d,e;if(\"/\"!=b&&\"//\"!=b)throw Erro", |
| "r('Step op should be \"/\" or \"//\"');if(\".\"==y(a.a))return d=new T(", |
| "db,new E(\"node\")),a.a.next(),d;if(\"..\"==y(a.a))return d=new T(cb,ne", |
| "w E(\"node\")),a.a.next(),d;var g;if(\"@\"==y(a.a))g=Ua,a.a.next(),V(a,", |
| "\"Missing attribute name\");else if(\"::\"==y(a.a,1)){if(!/(?![0-9])[", |
| "\\w]/.test(y(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());c=", |
| "a.a.next();g=bb[c]||null;if(!g)throw Error(\"No axis with name: \"+c);a", |
| ".a.next();V(a,\"Missing node name\")}else g=Za;\nc=y(a.a);if(/(?![0-9])", |
| "[\\w\\*]/.test(c.charAt(0)))if(\"(\"==y(a.a,1)){if(!Qa(c))throw Error(", |
| "\"Invalid node type: \"+c);c=a.a.next();if(!Qa(c))throw Error(\"Invalid", |
| " type name: \"+c);jb(a,\"(\");V(a,\"Bad nodetype\");e=y(a.a).charAt(0);", |
| "var h=null;if('\"'==e||\"'\"==e)h=lb(a);V(a,\"Bad nodetype\");kb(a);c=n", |
| "ew E(c,h)}else if(c=a.a.next(),e=c.indexOf(\":\"),-1==e)c=new Q(c);else", |
| "{var h=c.substring(0,e),l;if(\"*\"==h)l=\"*\";else if(l=a.na(h),!l)thro", |
| "w Error(\"Namespace prefix not declared: \"+h);c=c.substr(e+1);c=new Q(", |
| "c,l)}else throw Error(\"Bad token: \"+\na.a.next());e=new S(ob(a),g.G);", |
| "return d||new T(g,c,e,\"//\"==b)}function ob(a){for(var b=[];\"[\"==y(a", |
| ".a);){a.a.next();V(a,\"Missing predicate expression.\");var c=hb(a);b.p", |
| "ush(c);V(a,\"Unclosed predicate expression.\");jb(a,\"]\")}return b}fun", |
| "ction ib(a){if(\"-\"==y(a.a))return a.a.next(),new eb(ib(a));var b=mb(a", |
| ");if(\"|\"!=y(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)V(a,\"Missing ", |
| "next union location path.\"),b.push(mb(a));a.a.back();a=new fb(b)}retur", |
| "n a};function pb(a){switch(a.nodeType){case 1:return ia(qb,a);case 9:re", |
| "turn pb(a.documentElement);case 11:case 10:case 6:case 12:return rb;def", |
| "ault:return a.parentNode?pb(a.parentNode):rb}}function rb(){return null", |
| "}function qb(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3", |
| ".org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.sp", |
| "ecified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?qb(a.paren", |
| "tNode,b):null};function sb(a,b){if(!a.length)throw Error(\"Empty XPath ", |
| "expression.\");var c=xa(a);if(c.empty())throw Error(\"Invalid XPath exp", |
| "ression.\");b?\"function\"==ea(b)||(b=ha(b.lookupNamespaceURI,b)):b=fun", |
| "ction(){return null};var d=hb(new gb(c,b));if(!c.empty())throw Error(\"", |
| "Bad token: \"+c.next());this.evaluate=function(a,b){var c=d.evaluate(ne", |
| "w w(a));return new W(c,b)}}\nfunction W(a,b){if(0==b)if(a instanceof D)", |
| "b=4;else if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;e", |
| "lse if(\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evaluati", |
| "on result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof D))throw Error(\"valu", |
| "e could not be converted to the specified type\");this.resultType=b;var", |
| " c;switch(b){case 2:this.stringValue=a instanceof D?G(a):\"\"+a;break;c", |
| "ase 1:this.numberValue=a instanceof D?+G(a):+a;break;case 3:this.boolea", |
| "nValue=a instanceof D?0<a.u():!!a;break;case 4:case 5:case 6:case 7:var", |
| " d=\na.iterator();c=[];for(var e=d.next();e;e=d.next())c.push(e);this.s", |
| "napshotLength=a.u();this.invalidIteratorState=!1;break;case 8:case 9:th", |
| "is.singleNodeValue=F(a);break;default:throw Error(\"Unknown XPathResult", |
| " type.\");}var g=0;this.iterateNext=function(){if(4!=b&&5!=b)throw Erro", |
| "r(\"iterateNext called with wrong result type\");return g>=c.length?nul", |
| "l:c[g++]};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(\"sna", |
| "pshotItem called with wrong result type\");return a>=c.length||0>a?null", |
| ":c[a]}}\nW.ANY_TYPE=0;W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;", |
| "W.UNORDERED_NODE_ITERATOR_TYPE=4;W.ORDERED_NODE_ITERATOR_TYPE=5;W.UNORD", |
| "ERED_NODE_SNAPSHOT_TYPE=6;W.ORDERED_NODE_SNAPSHOT_TYPE=7;W.ANY_UNORDERE", |
| "D_NODE_TYPE=8;W.FIRST_ORDERED_NODE_TYPE=9;function tb(a){this.lookupNam", |
| "espaceURI=pb(a)}\nda(\"wgxpath.install\",function(a,b){var c=a||k,d=c.D", |
| "ocument&&c.Document.prototype||c.document;if(!d.evaluate||b)c.XPathResu", |
| "lt=W,d.evaluate=function(a,b,c,d){return(new sb(a,c)).evaluate(b,d)},d.", |
| "createExpression=function(a,b){return new sb(a,b)},d.createNSResolver=f", |
| "unction(a){return new tb(a)}});function X(a,b){this.v={};this.g=[];this", |
| ".F=0;var c=arguments.length;if(1<c){if(c%2)throw Error(\"Uneven number ", |
| "of arguments\");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+", |
| "1])}else a&&this.addAll(a)}function vb(a){wb(a);return a.g.concat()}f=X", |
| ".prototype;f.clear=function(){this.v={};this.F=this.g.length=0};f.remov", |
| "e=function(a){return Object.prototype.hasOwnProperty.call(this.v,a)?(de", |
| "lete this.v[a],this.F--,this.g.length>2*this.F&&wb(this),!0):!1};\nfunc", |
| "tion wb(a){if(a.F!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g", |
| "[b];Object.prototype.hasOwnProperty.call(a.v,d)&&(a.g[c++]=d);b++}a.g.l", |
| "ength=c}if(a.F!=a.g.length){for(var e={},c=b=0;b<a.g.length;)d=a.g[b],O", |
| "bject.prototype.hasOwnProperty.call(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.l", |
| "ength=c}}f.get=function(a,b){return Object.prototype.hasOwnProperty.cal", |
| "l(this.v,a)?this.v[a]:b};f.set=function(a,b){Object.prototype.hasOwnPro", |
| "perty.call(this.v,a)||(this.F++,this.g.push(a));this.v[a]=b};\nf.addAll", |
| "=function(a){var b;if(a instanceof X){b=vb(a);wb(a);for(var c=[],d=0;d<", |
| "a.g.length;d++)c.push(a.v[a.g[d]]);a=c}else{b=[];var d=0,e;for(e in a)b", |
| "[d++]=e;d=[];e=0;for(c in a)d[e++]=a[c];a=d}for(c=0;c<b.length;c++)this", |
| ".set(b[c],a[c])};f.forEach=function(a,b){for(var c=vb(this),d=0;d<c.len", |
| "gth;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.clone=function", |
| "(){return new X(this)};var xb={};function Y(a,b,c){var d=typeof a;(\"ob", |
| "ject\"==d&&null!=a||\"function\"==d)&&(a=a.b);a=new yb(a);!b||b in xb&&", |
| "!c||(xb[b]={key:a,shift:!1},c&&(xb[c]={key:a,shift:!0}));return a}funct", |
| "ion yb(a){this.code=a}Y(8);Y(9);Y(13);var zb=Y(16),Ab=Y(17),Bb=Y(18);Y(", |
| "19);Y(20);Y(27);Y(32,\" \");Y(33);Y(34);Y(35);Y(36);Y(37);Y(38);Y(39);Y", |
| "(40);Y(44);Y(45);Y(46);Y(48,\"0\",\")\");Y(49,\"1\",\"!\");Y(50,\"2\",", |
| "\"@\");Y(51,\"3\",\"#\");Y(52,\"4\",\"$\");Y(53,\"5\",\"%\");Y(54,\"6\"", |
| ",\"^\");Y(55,\"7\",\"&\");Y(56,\"8\",\"*\");Y(57,\"9\",\"(\");Y(65,\"a", |
| "\",\"A\");\nY(66,\"b\",\"B\");Y(67,\"c\",\"C\");Y(68,\"d\",\"D\");Y(69,", |
| "\"e\",\"E\");Y(70,\"f\",\"F\");Y(71,\"g\",\"G\");Y(72,\"h\",\"H\");Y(73", |
| ",\"i\",\"I\");Y(74,\"j\",\"J\");Y(75,\"k\",\"K\");Y(76,\"l\",\"L\");Y(7", |
| "7,\"m\",\"M\");Y(78,\"n\",\"N\");Y(79,\"o\",\"O\");Y(80,\"p\",\"P\");Y(", |
| "81,\"q\",\"Q\");Y(82,\"r\",\"R\");Y(83,\"s\",\"S\");Y(84,\"t\",\"T\");Y", |
| "(85,\"u\",\"U\");Y(86,\"v\",\"V\");Y(87,\"w\",\"W\");Y(88,\"x\",\"X\");", |
| "Y(89,\"y\",\"Y\");Y(90,\"z\",\"Z\");var Cb=Y(pa?{c:91,b:91}:oa?{c:224,b", |
| ":91}:{c:0,b:91});Y(pa?{c:92,b:92}:oa?{c:224,b:93}:{c:0,b:92});Y(pa?{c:9", |
| "3,b:93}:oa?{c:0,b:0}:{c:93,b:null});\nY({c:96,b:96},\"0\");Y({c:97,b:97", |
| "},\"1\");Y({c:98,b:98},\"2\");Y({c:99,b:99},\"3\");Y({c:100,b:100},\"4", |
| "\");Y({c:101,b:101},\"5\");Y({c:102,b:102},\"6\");Y({c:103,b:103},\"7\"", |
| ");Y({c:104,b:104},\"8\");Y({c:105,b:105},\"9\");Y({c:106,b:106},\"*\");", |
| "Y({c:107,b:107},\"+\");Y({c:109,b:109},\"-\");Y({c:110,b:110},\".\");Y(", |
| "{c:111,b:111},\"/\");Y(144);Y(112);Y(113);Y(114);Y(115);Y(116);Y(117);Y", |
| "(118);Y(119);Y(120);Y(121);Y(122);Y(123);Y({c:107,b:187},\"=\",\"+\");Y", |
| "(108,\",\");Y({c:109,b:189},\"-\",\"_\");Y(188,\",\",\"<\");Y(190,\".\"", |
| ",\">\");Y(191,\"/\",\"?\");\nY(192,\"`\",\"~\");Y(219,\"[\",\"{\");Y(22", |
| "0,\"\\\\\",\"|\");Y(221,\"]\",\"}\");Y({c:59,b:186},\";\",\":\");Y(222,", |
| "\"'\",'\"');var Z=new X;Z.set(1,zb);Z.set(2,Ab);Z.set(4,Bb);Z.set(8,Cb)", |
| ";(function(a){var b=new X;p(vb(a),function(c){b.set(a.get(c).code,c)});", |
| "return b})(Z);da(\"_\",function(a){if(wa(a)){if(!wa(a))throw new la(15,", |
| "\"Element is not selectable\");var b=\"selected\",c=a.type&&a.type.toLo", |
| "werCase();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";a=!!a[b]}else ", |
| "a=!1;return a});; return this._.apply(null,arguments);}.apply({navigato", |
| "r:typeof window!='undefined'?window.navigator:null,document:typeof wind", |
| "ow!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const REMOVE_LOCAL_STORAGE_ITEM[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,d,c){if(c.get||c.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[d]=c.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar k=f[f.length-1],l=e[k],m=l?l:function(a", |
| "){var d;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");d=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " c=\"\";a;)if(a&1&&(c+=d),a>>>=1)d+=d;return c};m!=l&&null!=m&&b(e,k,{c", |
| "onfigurable:!0,writable:!0,value:m});var n=window;function q(a,d){this.", |
| "code=a;this.state=r[a]||t;this.message=d||\"\";var c=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),w=c.length-5;if(0>w||c.indexOf(\"Error\",w)!=w)c+=\"E", |
| "rror\";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.", |
| "stack||\"\"}\n(function(){var a=Error;function d(){}d.prototype=a.proto", |
| "type;q.c=a.prototype;q.prototype=new d;q.prototype.constructor=q;q.b=fu", |
| "nction(c,d,C){for(var z=Array(arguments.length-2),p=2;p<arguments.lengt", |
| "h;p++)z[p-2]=arguments[p];return a.prototype[d].apply(c,z)}})();var t=", |
| "\"unknown error\",r={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid", |
| " element coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid ", |
| "selector\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17", |
| "]=\"javascript error\";r[405]=\"unsupported operation\";r[34]=\"move ta", |
| "rget out of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r", |
| "[8]=\"no such frame\";r[23]=\"no such window\";r[28]=\"script timeout\"", |
| ";r[33]=\"session not created\";r[10]=\"stale element reference\";r[21]=", |
| "\"timeout\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert ope", |
| "n\";r[13]=t;r[9]=\"unknown command\";q.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function u(a){this.a=a}u.prototype.", |
| "setItem=function(a,d){try{this.a.setItem(a,d+\"\")}catch(c){throw new q", |
| "(13,c.message);}};u.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};u.prototype.removeItem=function(a){var d=this.getItem(a);this.a.re", |
| "moveItem(a);return d};u.prototype.clear=function(){this.a.clear()};u.pr", |
| "ototype.size=function(){return this.a.length};u.prototype.key=function(", |
| "a){return this.a.key(a)};function v(a){if(null==(n||n).localStorage)thr", |
| "ow new q(13,\"Local storage undefined\");return(new u(n.localStorage)).", |
| "removeItem(a)}var x=[\"_\"],y=this;x[0]in y||!y.execScript||y.execScrip", |
| "t(\"var \"+x[0]);for(var A;x.length&&(A=x.shift());){var B;if(B=!x.leng", |
| "th)B=void 0!==v;B?y[A]=v:y=y[A]?y[A]:y[A]={}};; return this._.apply(nul", |
| "l,arguments);}.apply({navigator:typeof window!='undefined'?window.navig", |
| "ator:null,document:typeof window!='undefined'?window.document:null}, ar", |
| "guments);}", |
| NULL |
| }; |
| |
| const char* const REMOVE_SESSION_STORAGE_ITEM[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,c,d){if(d.get||d.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[c]=d.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar l=f[f.length-1],m=e[l],n=m?m:function(a", |
| "){var c;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");c=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " d=\"\";a;)if(a&1&&(d+=c),a>>>=1)c+=c;return d};n!=m&&null!=n&&b(e,l,{c", |
| "onfigurable:!0,writable:!0,value:n});var p=window;function r(a,c){this.", |
| "code=a;this.state=t[a]||u;this.message=c||\"\";var d=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),k=d.length-5;if(0>k||d.indexOf(\"Error\",k)!=k)d+=\"E", |
| "rror\";this.name=d;d=Error(this.message);d.name=this.name;this.stack=d.", |
| "stack||\"\"}\n(function(){var a=Error;function c(){}c.prototype=a.proto", |
| "type;r.c=a.prototype;r.prototype=new c;r.prototype.constructor=r;r.b=fu", |
| "nction(c,k,C){for(var z=Array(arguments.length-2),q=2;q<arguments.lengt", |
| "h;q++)z[q-2]=arguments[q];return a.prototype[k].apply(c,z)}})();var u=", |
| "\"unknown error\",t={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};t[31]=u;t[30]=u;t[24]=\"invalid cookie domain\";t[29]=\"invalid", |
| " element coordinates\";t[12]=\"invalid element state\";t[32]=\"invalid ", |
| "selector\";t[51]=\"invalid selector\";\nt[52]=\"invalid selector\";t[17", |
| "]=\"javascript error\";t[405]=\"unsupported operation\";t[34]=\"move ta", |
| "rget out of bounds\";t[27]=\"no such alert\";t[7]=\"no such element\";t", |
| "[8]=\"no such frame\";t[23]=\"no such window\";t[28]=\"script timeout\"", |
| ";t[33]=\"session not created\";t[10]=\"stale element reference\";t[21]=", |
| "\"timeout\";t[25]=\"unable to set cookie\";t[26]=\"unexpected alert ope", |
| "n\";t[13]=u;t[9]=\"unknown command\";r.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function v(a){this.a=a}v.prototype.", |
| "setItem=function(a,c){try{this.a.setItem(a,c+\"\")}catch(d){throw new r", |
| "(13,d.message);}};v.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};v.prototype.removeItem=function(a){var c=this.getItem(a);this.a.re", |
| "moveItem(a);return c};v.prototype.clear=function(){this.a.clear()};v.pr", |
| "ototype.size=function(){return this.a.length};v.prototype.key=function(", |
| "a){return this.a.key(a)};function w(a){var c;c=p||p;if(null!=c.sessionS", |
| "torage&&null!=c.sessionStorage.clear)c=new v(p.sessionStorage);else thr", |
| "ow new r(13,\"Session storage undefined\");return c.removeItem(a)}var x", |
| "=[\"_\"],y=this;x[0]in y||!y.execScript||y.execScript(\"var \"+x[0]);fo", |
| "r(var A;x.length&&(A=x.shift());){var B;if(B=!x.length)B=void 0!==w;B?y", |
| "[A]=w:y=y[A]?y[A]:y[A]={}};; return this._.apply(null,arguments);}.appl", |
| "y({navigator:typeof window!='undefined'?window.navigator:null,document:", |
| "typeof window!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const SET_LOCAL_STORAGE_ITEM[] = { |
| "function(){return function(){for(var b=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,c,d){if(d.get||d.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[c]=d.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar k=f[f.length-1],l=e[k],m=l?l:function(a", |
| "){var c;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");c=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " d=\"\";a;)if(a&1&&(d+=c),a>>>=1)c+=c;return d};m!=l&&null!=m&&b(e,k,{c", |
| "onfigurable:!0,writable:!0,value:m});var n=window;function q(a,c){this.", |
| "code=a;this.state=r[a]||t;this.message=c||\"\";var d=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),w=d.length-5;if(0>w||d.indexOf(\"Error\",w)!=w)d+=\"E", |
| "rror\";this.name=d;d=Error(this.message);d.name=this.name;this.stack=d.", |
| "stack||\"\"}\n(function(){var a=Error;function c(){}c.prototype=a.proto", |
| "type;q.c=a.prototype;q.prototype=new c;q.prototype.constructor=q;q.b=fu", |
| "nction(d,c,C){for(var z=Array(arguments.length-2),p=2;p<arguments.lengt", |
| "h;p++)z[p-2]=arguments[p];return a.prototype[c].apply(d,z)}})();var t=", |
| "\"unknown error\",r={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid", |
| " element coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid ", |
| "selector\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17", |
| "]=\"javascript error\";r[405]=\"unsupported operation\";r[34]=\"move ta", |
| "rget out of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r", |
| "[8]=\"no such frame\";r[23]=\"no such window\";r[28]=\"script timeout\"", |
| ";r[33]=\"session not created\";r[10]=\"stale element reference\";r[21]=", |
| "\"timeout\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert ope", |
| "n\";r[13]=t;r[9]=\"unknown command\";q.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function u(a){this.a=a}u.prototype.", |
| "setItem=function(a,c){try{this.a.setItem(a,c+\"\")}catch(d){throw new q", |
| "(13,d.message);}};u.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};u.prototype.removeItem=function(a){var c=this.getItem(a);this.a.re", |
| "moveItem(a);return c};u.prototype.clear=function(){this.a.clear()};u.pr", |
| "ototype.size=function(){return this.a.length};u.prototype.key=function(", |
| "a){return this.a.key(a)};function v(a,c){if(null==(n||n).localStorage)t", |
| "hrow new q(13,\"Local storage undefined\");(new u(n.localStorage)).setI", |
| "tem(a,c)}var x=[\"_\"],y=this;x[0]in y||!y.execScript||y.execScript(\"v", |
| "ar \"+x[0]);for(var A;x.length&&(A=x.shift());){var B;if(B=!x.length)B=", |
| "void 0!==v;B?y[A]=v:y=y[A]?y[A]:y[A]={}};; return this._.apply(null,arg", |
| "uments);}.apply({navigator:typeof window!='undefined'?window.navigator:", |
| "null,document:typeof window!='undefined'?window.document:null}, argumen", |
| "ts);}", |
| NULL |
| }; |
| |
| const char* const SET_SESSION_STORAGE_ITEM[] = { |
| "function(){return function(){for(var c=\"function\"==typeof Object.defi", |
| "neProperties?Object.defineProperty:function(a,d,b){if(b.get||b.set)thro", |
| "w new TypeError(\"ES3 does not support getters and setters.\");a!=Array", |
| ".prototype&&a!=Object.prototype&&(a[d]=b.value)},e=\"undefined\"!=typeo", |
| "f window&&window===this?this:\"undefined\"!=typeof global?global:this,f", |
| "=[\"String\",\"prototype\",\"repeat\"],g=0;g<f.length-1;g++){var h=f[g]", |
| ";h in e||(e[h]={});e=e[h]}\nvar k=f[f.length-1],l=e[k],m=l?l:function(a", |
| "){var d;if(null==this)throw new TypeError(\"The 'this' value for String", |
| ".prototype.repeat must not be null or undefined\");d=this+\"\";if(0>a||", |
| "1342177279<a)throw new RangeError(\"Invalid count value\");a|=0;for(var", |
| " b=\"\";a;)if(a&1&&(b+=d),a>>>=1)d+=d;return b};m!=l&&null!=m&&c(e,k,{c", |
| "onfigurable:!0,writable:!0,value:m});var n=window;function q(a,d){this.", |
| "code=a;this.state=r[a]||t;this.message=d||\"\";var b=this.state.replace", |
| "(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s", |
| "\\xa0]+/g,\"\")}),w=b.length-5;if(0>w||b.indexOf(\"Error\",w)!=w)b+=\"E", |
| "rror\";this.name=b;b=Error(this.message);b.name=this.name;this.stack=b.", |
| "stack||\"\"}\n(function(){var a=Error;function d(){}d.prototype=a.proto", |
| "type;q.c=a.prototype;q.prototype=new d;q.prototype.constructor=q;q.b=fu", |
| "nction(b,d,C){for(var z=Array(arguments.length-2),p=2;p<arguments.lengt", |
| "h;p++)z[p-2]=arguments[p];return a.prototype[d].apply(b,z)}})();var t=", |
| "\"unknown error\",r={15:\"element not selectable\",11:\"element not vis", |
| "ible\"};r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid", |
| " element coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid ", |
| "selector\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17", |
| "]=\"javascript error\";r[405]=\"unsupported operation\";r[34]=\"move ta", |
| "rget out of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r", |
| "[8]=\"no such frame\";r[23]=\"no such window\";r[28]=\"script timeout\"", |
| ";r[33]=\"session not created\";r[10]=\"stale element reference\";r[21]=", |
| "\"timeout\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert ope", |
| "n\";r[13]=t;r[9]=\"unknown command\";q.prototype.toString=function(){re", |
| "turn this.name+\": \"+this.message};function u(a){this.a=a}u.prototype.", |
| "setItem=function(a,d){try{this.a.setItem(a,d+\"\")}catch(b){throw new q", |
| "(13,b.message);}};u.prototype.getItem=function(a){return this.a.getItem", |
| "(a)};u.prototype.removeItem=function(a){var d=this.getItem(a);this.a.re", |
| "moveItem(a);return d};u.prototype.clear=function(){this.a.clear()};u.pr", |
| "ototype.size=function(){return this.a.length};u.prototype.key=function(", |
| "a){return this.a.key(a)};function v(a,d){var b;b=n||n;if(null!=b.sessio", |
| "nStorage&&null!=b.sessionStorage.clear)b=new u(n.sessionStorage);else t", |
| "hrow new q(13,\"Session storage undefined\");b.setItem(a,d)}var x=[\"_", |
| "\"],y=this;x[0]in y||!y.execScript||y.execScript(\"var \"+x[0]);for(var", |
| " A;x.length&&(A=x.shift());){var B;if(B=!x.length)B=void 0!==v;B?y[A]=v", |
| ":y=y[A]?y[A]:y[A]={}};; return this._.apply(null,arguments);}.apply({na", |
| "vigator:typeof window!='undefined'?window.navigator:null,document:typeo", |
| "f window!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| } // namespace atoms |
| } // namespace webdriver |
| |