All Downloads are FREE. Search and download functionalities are using the official Maven repository.

atoms.submit_ios.js Maven / Gradle / Ivy

The newest version!
function(){return function(){function h(a){throw a;}var k=void 0,l=!0,m=null,n=!1;function q(a){return function(){return this[a]}}function aa(a){return function(){return a}}var s,t=this;
function ba(a){var b=typeof 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||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function u(a){return a!==k}function v(a){return"string"==typeof a}function ca(a){return"function"==ba(a)}function da(a){var b=typeof a;return"object"==b&&a!=m||"function"==b}var ea="closure_uid_"+Math.floor(2147483648*Math.random()).toString(36),fa=0;function w(a,b){function c(){}c.prototype=b.prototype;a.Wa=b.prototype;a.prototype=new c;a.prototype.constructor=a};var ga=window;function ha(a){Error.captureStackTrace?Error.captureStackTrace(this,ha):this.stack=Error().stack||"";a&&(this.message=String(a))}w(ha,Error);ha.prototype.name="CustomError";function ia(a){var b=a.length-1;return 0<=b&&a.indexOf(" ",b)==b}function ja(a,b){for(var c=1;c(0==$[1].length?0:parseInt($[1],10))?1:0)||((0==Z[2].length)<(0==$[2].length)?
-1:(0==Z[2].length)>(0==$[2].length)?1:0)||(Z[2]<$[2]?-1:Z[2]>$[2]?1:0)}while(0==c)}return c}function ma(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};function na(a,b){b.unshift(a);ha.call(this,ja.apply(m,b));b.shift();this.Ra=a}w(na,ha);na.prototype.name="AssertionError";function oa(a,b,c,d){var e="Assertion failed";if(c)var e=e+(": "+c),f=d;else a&&(e+=": "+a,f=b);h(new na(""+e,f||[]))}function pa(a,b,c){a||oa("",m,b,Array.prototype.slice.call(arguments,2))}function qa(a,b,c){da(a)||oa("Expected object but got %s: %s.",[ba(a),a],b,Array.prototype.slice.call(arguments,2))};var ra=Array.prototype;function sa(a,b){if(v(a))return!v(b)||1!=b.length?-1:a.indexOf(b,0);for(var c=0;cc?m:v(a)?a.charAt(c):a[c]}function ya(a){return ra.concat.apply(ra,arguments)}function za(a,b,c){pa(a.length!=m);return 2>=arguments.length?ra.slice.call(a,b):ra.slice.call(a,b,c)};var Aa={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:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#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",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",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:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#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",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Ba="background-color border-top-color border-right-color border-bottom-color border-left-color color outline-color".split(" "),Ca=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/;function Da(a){Ea.test(a)||h(Error("'"+a+"' is not a valid hex color"));4==a.length&&(a=a.replace(Ca,"#$1$1$2$2$3$3"));return a.toLowerCase()}var Ea=/^#(?:[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;
function Ga(a){var b=a.match(Fa);if(b){a=Number(b[1]);var c=Number(b[2]),d=Number(b[3]),b=Number(b[4]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=d&&255>=d&&0<=b&&1>=b)return[a,c,d,b]}return[]}var Ha=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function Ia(a){var b=a.match(Ha);if(b){a=Number(b[1]);var c=Number(b[2]),b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]};function Ja(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};function y(a,b){this.code=a;this.message=b||"";this.name=Ka[a]||Ka[13];var c=Error(this.message);c.name=this.name;this.stack=c.stack||""}w(y,Error);
var Ka={7:"NoSuchElementError",8:"NoSuchFrameError",9:"UnknownCommandError",10:"StaleElementReferenceError",11:"ElementNotVisibleError",12:"InvalidElementStateError",13:"UnknownError",15:"ElementNotSelectableError",19:"XPathLookupError",23:"NoSuchWindowError",24:"InvalidCookieDomainError",25:"UnableToSetCookieError",26:"ModalDialogOpenedError",27:"NoModalDialogOpenError",28:"ScriptTimeoutError",32:"InvalidSelectorError",35:"SqlDatabaseError",34:"MoveTargetOutOfBoundsError"};
y.prototype.toString=function(){return this.name+": "+this.message};var La,Ma;function Na(){return t.navigator?t.navigator.userAgent:m}var A=n,B=n,C=n,Oa,Pa=t.navigator;Oa=Pa&&Pa.platform||"";La=-1!=Oa.indexOf("Mac");Ma=-1!=Oa.indexOf("Win");var Qa=-1!=Oa.indexOf("Linux");function Ra(){var a=t.document;return a?a.documentMode:k}var Sa;
a:{var Ta="",Ua;if(A&&t.opera)var Va=t.opera.version,Ta="function"==typeof Va?Va():Va;else if(C?Ua=/rv\:([^\);]+)(\)|;)/:B?Ua=/MSIE\s+([^\);]+)(\)|;)/:Ua=/WebKit\/(\S+)/,Ua)var Wa=Ua.exec(Na()),Ta=Wa?Wa[1]:"";if(B){var Xa=Ra();if(Xa>parseFloat(Ta)){Sa=String(Xa);break a}}Sa=Ta}var Ya={};function Za(a){return Ya[a]||(Ya[a]=0<=la(Sa,a))}function $a(a){return B&&ab>=a}var bb=t.document,ab=!bb||!B?k:Ra()||("CSS1Compat"==bb.compatMode?parseInt(Sa,10):5);var cb;!C&&!B||B&&$a(9)||C&&Za("1.9.1");B&&Za("9");var db="BODY";function D(a,b){this.x=u(a)?a:0;this.y=u(b)?b:0}D.prototype.toString=function(){return"("+this.x+", "+this.y+")"};function eb(a,b){this.width=a;this.height=b}s=eb.prototype;s.toString=function(){return"("+this.width+" x "+this.height+")"};s.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};s.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};s.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};s.scale=function(a){this.width*=a;this.height*=a;return this};var fb=3;function E(a){return a?new gb(F(a)):cb||(cb=new gb)}function hb(a){var b=a.body;a=a.parentWindow||a.defaultView;return new D(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function ib(a){return a?a.parentWindow||a.defaultView:window}function jb(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}
function kb(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}
function lb(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(B&&!$a(9)){if(9==a.nodeType)return-1;if(9==b.nodeType)return 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?mb(a,b):!c&&kb(e,b)?-1*nb(a,b):!d&&kb(f,a)?nb(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=F(a);c=d.createRange();
c.selectNode(a);c.collapse(l);d=d.createRange();d.selectNode(b);d.collapse(l);return c.compareBoundaryPoints(t.Range.START_TO_END,d)}function nb(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return mb(d,a)}function mb(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}function F(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function ob(a,b){var c=[];return pb(a,b,c,l)?c[0]:k}
function pb(a,b,c,d){if(a!=m)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||pb(a,b,c,d))return l;a=a.nextSibling}return n}function qb(a,b,c){c||(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return m}function gb(a){this.C=a||t.document||document}gb.prototype.A=function(a){return v(a)?this.C.getElementById(a):a};
function rb(a,b,c,d){a=d||a.C;b=b&&"*"!=b?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))c=a.querySelectorAll(b+(c?"."+c:""));else if(c&&a.getElementsByClassName)if(a=a.getElementsByClassName(c),b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||"*"),c){d={};for(f=e=0;g=a[f];f++)b=g.className,"function"==typeof b.split&&0<=sa(b.split(/\s+/),c)&&(d[e++]=g);d.length=e;c=d}else c=a;return c}
function sb(a){return a.C.body}gb.prototype.contains=kb;var tb,ub,vb,wb,xb,yb,zb;zb=yb=xb=wb=vb=ub=tb=n;var Ab=Na();Ab&&(-1!=Ab.indexOf("Firefox")?tb=l:-1!=Ab.indexOf("Camino")?ub=l:-1!=Ab.indexOf("iPhone")||-1!=Ab.indexOf("iPod")?vb=l:-1!=Ab.indexOf("iPad")?wb=l:-1!=Ab.indexOf("Android")?xb=l:-1!=Ab.indexOf("Chrome")?yb=l:-1!=Ab.indexOf("Safari")&&(zb=l));var Bb=A,Cb=B,Db=tb,Eb=ub,Fb=vb,Gb=wb,Hb=xb,Ib=yb,Jb=zb;function Kb(a,b,c){this.f=a;this.Ha=b||1;this.n=c||1};var Lb=B&&!$a(9),Mb=B&&!$a(8);function Nb(a,b,c,d,e){this.f=a;this.nodeName=c;this.nodeValue=d;this.nodeType=2;this.ownerElement=b;this.Ta=e;this.parentNode=b}function Ob(a,b,c){var d=Mb&&"href"==b.nodeName?a.getAttribute(b.nodeName,2):b.nodeValue;return new Nb(b,a,b.nodeName,d,c)};function Pb(a){this.Y=a;this.M=0}function Qb(a){a=a.match(Rb);for(var b=0;b]=|\\s+|.","g"),Sb=/^\s/;function G(a,b){return a.Y[a.M+(b||0)]}Pb.prototype.next=function(){return this.Y[this.M++]};Pb.prototype.back=function(){this.M--};Pb.prototype.empty=function(){return this.Y.length<=this.M};function H(a){var b=m,c=a.nodeType;1==c&&(b=a.textContent,b=b==k||b==m?a.innerText:b,b=b==k||b==m?"":b);if("string"!=typeof b)if(Lb&&"title"==a.nodeName.toLowerCase()&&1==c)b=a.text;else 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),Lb&&"title"==a.nodeName.toLowerCase()&&(b+=a.text),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return""+b}
function Tb(a,b,c){if(b===m)return l;try{if(!a.getAttribute)return n}catch(d){return n}Mb&&"class"==b&&(b="className");return c==m?!!a.getAttribute(b):a.getAttribute(b,2)==c}function Ub(a,b,c,d,e){return(Lb?Vb:Wb).call(m,a,b,v(c)?c:m,v(d)?d:m,e||new J)}
function Vb(a,b,c,d,e){if(a instanceof Xb||8==a.d||c&&a.d===m){var f=b.all;if(!f)return e;a=Yb(a);if("*"!=a&&(f=b.getElementsByTagName(a),!f))return e;if(c){for(var g=[],p=0;b=f[p++];)Tb(b,c,d)&&g.push(b);f=g}for(p=0;b=f[p++];)("*"!=a||"!"!=b.tagName)&&e.add(b);return e}Zb(a,b,c,d,e);return e}
function Wb(a,b,c,d,e){b.getElementsByName&&d&&"name"==c&&!B?(b=b.getElementsByName(d),x(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),x(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof K?Zb(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),x(b,function(a){Tb(a,c,d)&&e.add(a)}));return e}
function $b(a,b,c,d,e){var f;if((a instanceof Xb||8==a.d||c&&a.d===m)&&(f=b.childNodes)){var g=Yb(a);if("*"!=g&&(f=ta(f,function(a){return a.tagName&&a.tagName.toLowerCase()==g}),!f))return e;c&&(f=ta(f,function(a){return Tb(a,c,d)}));x(f,function(a){("*"!=g||"!"!=a.tagName&&!("*"==g&&1!=a.nodeType))&&e.add(a)});return e}return ac(a,b,c,d,e)}function ac(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)Tb(b,c,d)&&a.matches(b)&&e.add(b);return e}
function Zb(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)Tb(b,c,d)&&a.matches(b)&&e.add(b),Zb(a,b,c,d,e)}function Yb(a){if(a instanceof K){if(8==a.d)return"!";if(a.d===m)return"*"}return a.getName()};function J(){this.n=this.j=m;this.I=0}function bc(a){this.q=a;this.next=this.B=m}function cc(a,b){if(a.j){if(!b.j)return a}else return b;for(var c=a.j,d=b.j,e=m,f=m,g=0;c&&d;)c.q==d.q||c.q instanceof Nb&&d.q instanceof Nb&&c.q.f==d.q.f?(f=c,c=c.next,d=d.next):0",4,2,function(a,b,c){return mc(function(a,b){return a>b},a,b,c)});O("<=",4,2,function(a,b,c){return mc(function(a,b){return a<=b},a,b,c)});O(">=",4,2,function(a,b,c){return mc(function(a,b){return a>=b},a,b,c)});var lc=O("=",3,2,function(a,b,c){return mc(function(a,b){return a==b},a,b,c,l)});O("!=",3,2,function(a,b,c){return mc(function(a,b){return a!=b},a,b,c,l)});O("and",2,2,function(a,b,c){return jc(a,c)&&jc(b,c)});O("or",1,2,function(a,b,c){return jc(a,c)||jc(b,c)});function pc(a,b){b.r()&&4!=a.i&&h(Error("Primary expression must evaluate to nodeset if filter has predicate(s)."));L.call(this,a.i);this.la=a;this.e=b;this.s=a.g();this.l=a.l}w(pc,L);pc.prototype.evaluate=function(a){a=this.la.evaluate(a);return qc(this.e,a)};pc.prototype.toString=function(a){a=a||"";var b=a+"Filter: \n";a+="  ";b+=this.la.toString(a);return b+=this.e.toString(a)};function rc(a,b){b.lengtha.W&&h(Error("Function "+a.m+" expects at most "+a.W+" arguments, "+b.length+" given"));a.Fa&&x(b,function(b,d){4!=b.i&&h(Error("Argument "+d+" to function "+a.m+" is not of type Nodeset: "+b))});L.call(this,a.i);this.L=a;this.Q=b;hc(this,a.s||wa(b,function(a){return a.g()}));ic(this,a.Ca&&!b.length||a.Ba&&!!b.length||wa(b,function(a){return a.l}))}w(rc,L);
rc.prototype.evaluate=function(a){return this.L.p.apply(m,ya(a,this.Q))};rc.prototype.toString=function(a){var b=a||"";a=b+"Function: "+this.L+"\n";b+="  ";this.Q.length&&(a+=b+"Arguments:",b+="  ",a=va(this.Q,function(a,d){return a+"\n"+d.toString(b)},a));return a};function sc(a,b,c,d,e,f,g,p,z){this.m=a;this.i=b;this.s=c;this.Ca=d;this.Ba=e;this.p=f;this.ia=g;this.W=u(p)?p:g;this.Fa=!!z}sc.prototype.toString=q("m");var tc={};
function P(a,b,c,d,e,f,g,p){a in tc&&h(Error("Function already created: "+a+"."));tc[a]=new sc(a,b,c,d,n,e,f,g,p)}P("boolean",2,n,n,function(a,b){return jc(b,a)},1);P("ceiling",1,n,n,function(a,b){return Math.ceil(M(b,a))},1);P("concat",3,n,n,function(a,b){var c=za(arguments,1);return va(c,function(b,c){return b+N(c,a)},"")},2,m);P("contains",2,n,n,function(a,b,c){b=N(b,a);a=N(c,a);return-1!=b.indexOf(a)},2);P("count",1,n,n,function(a,b){return b.evaluate(a).r()},1,1,l);P("false",2,n,n,aa(n),0);
P("floor",1,n,n,function(a,b){return Math.floor(M(b,a))},1);P("id",4,n,n,function(a,b){function c(a){if(Lb){var b=e.all[a];if(b){if(b.nodeType&&a==b.id)return b;if(b.length)return xa(b,function(b){return a==b.id})}return m}return e.getElementById(a)}var d=a.f,e=9==d.nodeType?d:d.ownerDocument,d=N(b,a).split(/\s+/),f=[];x(d,function(a){(a=c(a))&&!(0<=sa(f,a))&&f.push(a)});f.sort(lb);var g=new J;x(f,function(a){g.add(a)});return g},1);P("lang",2,n,n,aa(n),1);
P("last",1,l,n,function(a){1!=arguments.length&&h(Error("Function last expects ()"));return a.n},0);P("local-name",3,n,l,function(a,b){var c=b?dc(b.evaluate(a)):a.f;return c?c.nodeName.toLowerCase():""},0,1,l);P("name",3,n,l,function(a,b){var c=b?dc(b.evaluate(a)):a.f;return c?c.nodeName.toLowerCase():""},0,1,l);P("namespace-uri",3,l,n,aa(""),0,1,l);P("normalize-space",3,n,l,function(a,b){return(b?N(b,a):H(a.f)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);
P("not",2,n,n,function(a,b){return!jc(b,a)},1);P("number",1,n,l,function(a,b){return b?M(b,a):+H(a.f)},0,1);P("position",1,l,n,function(a){return a.Ha},0);P("round",1,n,n,function(a,b){return Math.round(M(b,a))},1);P("starts-with",2,n,n,function(a,b,c){b=N(b,a);a=N(c,a);return 0==b.lastIndexOf(a,0)},2);P("string",3,n,l,function(a,b){return b?N(b,a):H(a.f)},0,1);P("string-length",1,n,l,function(a,b){return(b?N(b,a):H(a.f)).length},0,1);
P("substring",3,n,n,function(a,b,c,d){c=M(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?M(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=N(b,a);if(Infinity==d)return a.substring(e);b=Math.round(d);return a.substring(e,c+b)},2,3);P("substring-after",3,n,n,function(a,b,c){b=N(b,a);a=N(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2);
P("substring-before",3,n,n,function(a,b,c){b=N(b,a);a=N(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);P("sum",1,n,n,function(a,b){for(var c=fc(b.evaluate(a)),d=0,e=c.next();e;e=c.next())d+=+H(e);return d},1,1,l);P("translate",3,n,n,function(a,b,c,d){b=N(b,a);c=N(c,a);var e=N(d,a);a=[];for(d=0;da.length&&h(Error("Unclosed literal string"));return new vc(a)}function Tc(a){return"*"!=G(a.a)&&":"==G(a.a,1)&&"*"==G(a.a,2)?new Xb(a.a.next()+a.a.next()+a.a.next()):new Xb(a.a.next())}
function Uc(a){var b,c=[],d;if("/"==G(a.a)||"//"==G(a.a)){b=a.a.next();d=G(a.a);if("/"==b&&(a.a.empty()||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new zc;d=new zc;R(a,"Missing next location step.");b=Vc(a,b);c.push(b)}else{a:{b=G(a.a);d=b.charAt(0);switch(d){case "$":h(Error("Variable reference not allowed in HTML XPath"));case "(":a.a.next();b=Oc(a);R(a,'unclosed "("');Qc(a,")");break;case '"':case "'":b=Sc(a);break;default:if(isNaN(+b))if(!uc(b)&&/(?![0-9])[\w]/.test(d)&&
"("==G(a.a,1)){b=a.a.next();b=tc[b]||m;a.a.next();for(d=[];")"!=G(a.a);){R(a,"Missing function argument list.");d.push(Oc(a));if(","!=G(a.a))break;a.a.next()}R(a,"Unclosed function argument list.");Rc(a);b=new rc(b,d)}else{b=m;break a}else b=new wc(+a.a.next())}"["==G(a.a)&&(d=new Dc(Wc(a)),b=new pc(b,d))}if(b)if("/"==G(a.a)||"//"==G(a.a))d=b;else return b;else b=Vc(a,"/"),d=new Ac,c.push(b)}for(;"/"==G(a.a)||"//"==G(a.a);)b=a.a.next(),R(a,"Missing next location step."),b=Vc(a,b),c.push(b);return new xc(d,
c)}
function Vc(a,b){var c,d,e;"/"!=b&&"//"!=b&&h(Error('Step op should be "/" or "//"'));if("."==G(a.a))return d=new Ec(Kc,new K("node")),a.a.next(),d;if(".."==G(a.a))return d=new Ec(Jc,new K("node")),a.a.next(),d;var f;"@"==G(a.a)?(f=yc,a.a.next(),R(a,"Missing attribute name")):"::"==G(a.a,1)?(/(?![0-9])[\w]/.test(G(a.a).charAt(0))||h(Error("Bad token: "+a.a.next())),e=a.a.next(),(f=Ic[e]||m)||h(Error("No axis with name: "+e)),a.a.next(),R(a,"Missing node name")):f=Fc;e=G(a.a);if(/(?![0-9])[\w]/.test(e.charAt(0)))if("("==G(a.a,
1)){uc(e)||h(Error("Invalid node type: "+e));c=a.a.next();uc(c)||h(Error("Invalid type name: "+c));Qc(a,"(");R(a,"Bad nodetype");e=G(a.a).charAt(0);var g=m;if('"'==e||"'"==e)g=Sc(a);R(a,"Bad nodetype");Rc(a);c=new K(c,g)}else c=Tc(a);else"*"==e?c=Tc(a):h(Error("Bad token: "+a.a.next()));e=new Dc(Wc(a),f.D);return d||new Ec(f,c,e,"//"==b)}
function Wc(a){for(var b=[];"["==G(a.a);){a.a.next();R(a,"Missing predicate expression.");var c=Oc(a);b.push(c);R(a,"Unclosed predicate expression.");Qc(a,"]")}return b}function Pc(a){if("-"==G(a.a))return a.a.next(),new Lc(Pc(a));var b=Uc(a);if("|"!=G(a.a))a=b;else{for(b=[b];"|"==a.a.next();)R(a,"Missing next union location path."),b.push(Uc(a));a.a.back();a=new Mc(b)}return a};function Xc(a){a.length||h(Error("Empty XPath expression."));a=Qb(a);a.empty()&&h(Error("Invalid XPath expression."));var b=Oc(new Nc(a));a.empty()||h(Error("Bad token: "+a.next()));this.evaluate=function(a,d){var e=b.evaluate(new Kb(a));return new S(e,d)}}
function S(a,b){0==b&&(a instanceof J?b=4:"string"==typeof a?b=2:"number"==typeof a?b=1:"boolean"==typeof a?b=3:h(Error("Unexpected evaluation result.")));2!=b&&(1!=b&&3!=b&&!(a instanceof J))&&h(Error("document.evaluate called with wrong result type."));this.resultType=b;var c;switch(b){case 2:this.stringValue=a instanceof J?ec(a):""+a;break;case 1:this.numberValue=a instanceof J?+ec(a):+a;break;case 3:this.booleanValue=a instanceof J?0=c.length?m:c[f++]};this.snapshotItem=function(a){6!=b&&7!=b&&h(Error("snapshotItem called with wrong result type."));return a>=c.length||0>a?m:c[a]}}
S.ANY_TYPE=0;S.NUMBER_TYPE=1;S.STRING_TYPE=2;S.BOOLEAN_TYPE=3;S.UNORDERED_NODE_ITERATOR_TYPE=4;S.ORDERED_NODE_ITERATOR_TYPE=5;S.UNORDERED_NODE_SNAPSHOT_TYPE=6;S.ORDERED_NODE_SNAPSHOT_TYPE=7;S.ANY_UNORDERED_NODE_TYPE=8;S.FIRST_ORDERED_NODE_TYPE=9;function Yc(a){a=a||t;var b=a.document;b.evaluate||(a.XPathResult=S,b.evaluate=function(a,b,e,f){return(new Xc(a)).evaluate(b,f)},b.createExpression=function(a){return new Xc(a)})};var T={};T.sa=function(){var a={Xa:"http://www.w3.org/2000/svg"};return function(b){return a[b]||m}}();T.p=function(a,b,c){var d=F(a);(B||Hb)&&Yc(ib(d));try{var e=d.createNSResolver?d.createNSResolver(d.documentElement):T.sa;return B&&!Za(7)?d.evaluate.call(d,b,a,e,c,m):d.evaluate(b,a,e,c,m)}catch(f){C&&"NS_ERROR_ILLEGAL_VALUE"==f.name||h(new y(32,"Unable to locate an element with the xpath expression "+b+" because of the following error:\n"+f))}};
T.S=function(a,b){(!a||1!=a.nodeType)&&h(new y(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element."))};T.z=function(a,b){var c=function(){var c=T.p(b,a,9);return c?(c=c.singleNodeValue,A?c:c||m):b.selectSingleNode?(c=F(b),c.setProperty&&c.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):m}();c===m||T.S(c,a);return c};
T.o=function(a,b){var c=function(){var c=T.p(b,a,7);if(c){var e=c.snapshotLength;A&&!u(e)&&T.S(m,a);for(var f=[],g=0;ga.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return m}
function rd(a){var b=new D;if(1==a.nodeType){if(a.getBoundingClientRect){var c=pd(a);b.x=c.left;b.y=c.top}else{c=E(a);c=hb(c.C);var d,e=F(a),f=nd(a,"position");qa(a,"Parameter is required");var g=C&&e.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==f&&(d=e.getBoxObjectFor(a))&&(0>d.screenX||0>d.screenY),p=new D(0,0),z=od(e);if(a!=z)if(a.getBoundingClientRect)d=pd(a),e=E(e),e=hb(e.C),p.x=d.left+e.x,p.y=d.top+e.y;else if(e.getBoxObjectFor&&!g)d=e.getBoxObjectFor(a),e=e.getBoxObjectFor(z),p.x=
d.screenX-e.screenX,p.y=d.screenY-e.screenY;else{d=a;do{p.x+=d.offsetLeft;p.y+=d.offsetTop;d!=a&&(p.x+=d.clientLeft||0,p.y+=d.clientTop||0);if("fixed"==nd(d,"position")){p.x+=e.body.scrollLeft;p.y+=e.body.scrollTop;break}d=d.offsetParent}while(d&&d!=a);if(A||"absolute"==f)p.y-=e.body.offsetTop;for(d=a;(d=qd(d))&&d!=e.body&&d!=z;)if(p.x-=d.scrollLeft,!A||"TR"!=d.tagName)p.y-=d.scrollTop}b.x=p.x-c.x;b.y=p.y-c.y}if(C&&!Za(12)){var r;B?r="-ms-transform":r="-webkit-transform";var I;r&&(I=nd(a,r));I||(I=
nd(a,"transform"));I?(a=I.match(sd),a=!a?new D(0,0):new D(parseFloat(a[1]),parseFloat(a[2]))):a=new D(0,0);b=new D(b.x+a.x,b.y+a.y)}}else r=ca(a.da),I=a,a.targetTouches?I=a.targetTouches[0]:r&&a.da().targetTouches&&(I=a.da().targetTouches[0]),b.x=I.clientX,b.y=I.clientY;return b}function td(a){var b=a.offsetWidth,c=a.offsetHeight;return(!u(b)||!b&&!c)&&a.getBoundingClientRect?(a=pd(a),new eb(a.right-a.left,a.bottom-a.top)):new eb(b,c)}var sd=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function U(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}var ud=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function vd(a){var b=[];x(a.split(ud),function(a){var d=a.indexOf(":");02*this.G&&le(this),l):n};
function le(a){if(a.G!=a.h.length){for(var b=0,c=0;b");Y(191,"/","?");Y(192,"`","~");Y(219,"[","{");Y(220,"\\","|");Y(221,"]","}");Y({b:59,c:186,opera:59},";",":");Y(222,"'",'"');var qe=[we,ve,xe,ue],ye=new ke;ye.set(1,ue);ye.set(2,ve);ye.set(4,we);ye.set(8,xe);var re=function(a){var b=new ke;x(me(a),function(c){b.set(a.get(c).code,c)});return b}(ye);C&&cd(12);w(function(a,b){Qd.call(this,b);this.xa=this.R=m;this.$=new D(0,0);this.za=this.Da=n;if(a){this.R=a.La;try{U(a.wa)&&(this.xa=a.wa)}catch(c){this.R=m}this.$=a.Ma;this.Da=a.Sa;this.za=a.Pa;try{U(a.element)&&Rd(this,a.element)}catch(d){this.R=m}}},Qd);w(function(){Qd.call(this);this.$=new D(0,0);this.Na=new D(0,0)},Qd);function ze(a,b){this.x=a;this.y=b}w(ze,D);ze.prototype.scale=function(a){this.x*=a;this.y*=a;return this};ze.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};function Ae(){Qd.call(this)}w(Ae,Qd);(function(a){a.ya=function(){return a.ea?a.ea:a.ea=new a}})(Ae);function Be(a){var b=qb(a,Td,l);b||h(new y(7,"Element was not in a form, so could not submit."));var c=Ae.ya();Rd(c,a);Ud(b)}var Ce=["_"],De=t;!(Ce[0]in De)&&De.execScript&&De.execScript("var "+Ce[0]);for(var Ee;Ce.length&&(Ee=Ce.shift());)!Ce.length&&u(Be)?De[Ee]=Be:De=De[Ee]?De[Ee]:De[Ee]={};; return this._.apply(null,arguments);}.apply({navigator:typeof window!=undefined?window.navigator:null,document:typeof window!=undefined?window.document:null}, arguments);}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy