appium-remote-debugger 10.0.0-beta.1 → 10.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/active_element.js +1 -1
- package/atoms/clear.js +1 -1
- package/atoms/clear_local_storage.js +1 -1
- package/atoms/clear_session_storage.js +1 -1
- package/atoms/click.js +1 -1
- package/atoms/default_content.js +1 -1
- package/atoms/execute_async_script.js +1 -1
- package/atoms/execute_script.js +1 -1
- package/atoms/execute_sql.js +1 -1
- package/atoms/find_element.js +1 -1
- package/atoms/find_element_fragment.js +1 -1
- package/atoms/find_elements.js +1 -1
- package/atoms/frame_by_id_or_name.js +1 -1
- package/atoms/frame_by_index.js +1 -1
- package/atoms/get_appcache_status.js +1 -1
- package/atoms/get_attribute.js +1 -1
- package/atoms/get_attribute_value.js +1 -1
- package/atoms/get_effective_style.js +1 -1
- package/atoms/get_element_from_cache.js +1 -1
- package/atoms/get_frame_window.js +1 -1
- package/atoms/get_local_storage_item.js +1 -1
- package/atoms/get_local_storage_key.js +1 -1
- package/atoms/get_local_storage_keys.js +1 -1
- package/atoms/get_local_storage_size.js +1 -1
- package/atoms/get_location.js +1 -1
- package/atoms/get_session_storage_item.js +1 -1
- package/atoms/get_session_storage_key.js +1 -1
- package/atoms/get_session_storage_keys.js +1 -1
- package/atoms/get_session_storage_size.js +1 -1
- package/atoms/get_size.js +1 -1
- package/atoms/get_text.js +1 -1
- package/atoms/get_top_left_coordinates.js +1 -1
- package/atoms/get_value_of_css_property.js +1 -1
- package/atoms/is_displayed.js +1 -1
- package/atoms/is_editable.js +1 -1
- package/atoms/is_enabled.js +1 -1
- package/atoms/is_focusable.js +1 -1
- package/atoms/is_interactable.js +1 -1
- package/atoms/is_selected.js +1 -1
- package/atoms/lastupdate +1 -1
- package/atoms/remove_local_storage_item.js +1 -1
- package/atoms/remove_session_storage_item.js +1 -1
- package/atoms/set_local_storage_item.js +1 -1
- package/atoms/set_session_storage_item.js +1 -1
- package/atoms/submit.js +1 -1
- package/atoms/type.js +110 -106
- package/build/lib/atoms.js +9 -3
- package/build/lib/atoms.js.map +1 -1
- package/lib/atoms.js +9 -2
- package/package.json +1 -1
- package/scripts/common.js +9 -6
package/atoms/active_element.js
CHANGED
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Lb(){return document.activeElement||document.body};var Mb=JSON.stringify;function Nb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Ob(c);return e}if(v(c,"document"))return e={},e.WINDOW=Ob(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Pb(a,b){return"array"==l(a)?ka(a,function(c){return Pb(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Qb(a.ELEMENT,b):v(a,"WINDOW")?Qb(a.WINDOW,b):ra(a,function(c){return Pb(c,b)}):a}function Rb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Ob(a){var b=Rb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(){var a=Lb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(b,c.document);var f={status:0,value:Nb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(){var a=Lb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(b,c.document);var f={status:0,value:Nb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/clear.js
CHANGED
|
@@ -138,4 +138,4 @@ Math.max(e-k,0))}md(a,void 0)}};var rf=ia.JSON.stringify;function sf(a){function
|
|
|
138
138
|
typeof g||ka(g)});return Na(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function uf(a,b){return"array"==ma(a)?Aa(a,function(c){return uf(c,b)}):pa(a)?"function"==typeof a?a:Oa(a,"ELEMENT")?vf(a.ELEMENT,b):Oa(a,"WINDOW")?vf(a.WINDOW,b):Na(a,function(c){return uf(c,b)}):a}function wf(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.F=wa());b.F||(b.F=wa());return b}function tf(a){var b=wf(a.ownerDocument),c=Pa(b,function(d){return d==a});c||(c=":wdc:"+b.F++,b[c]=a);return c}
|
|
139
139
|
function vf(a,b){a=decodeURIComponent(a);b=b||document;var c=wf(b);if(!Oa(c,a))throw new L(10,"Element does not exist in cache");var d=c[a];if(Oa(d,"setInterval")){if(d.closed)throw delete c[a],new L(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new L(10,"Element is no longer attached to the DOM");};function Z(a,b,c,d){function e(){return{persist:f,keys:[]}}var f=!!d,g=[],k=e();g.push(k);m(b,function(l){m(l.split(""),function(n){if("\ue000"<=n&&"\ue03d">=n){var t=Z.a[n];if(null===t)g.push(k=e()),f&&(k.persist=!1,g.push(k=e()));else if(ja(t))k.keys.push(t);else throw Error("Unsupported WebDriver key: \\u"+n.charCodeAt(0).toString(16));}else switch(n){case "\n":k.keys.push(fe);break;case "\t":k.keys.push(ee);break;case "\b":k.keys.push(de);break;default:k.keys.push(n)}})});m(g,function(l){of(a,
|
|
140
140
|
l.keys,c,l.persist)})}Z.a={};Z.a["\ue000"]=null;Z.a["\ue003"]=de;Z.a["\ue004"]=ee;Z.a["\ue006"]=fe;Z.a["\ue007"]=fe;Z.a["\ue008"]=X;Z.a["\ue009"]=ge;Z.a["\ue00a"]=he;Z.a["\ue00b"]=ie;Z.a["\ue00c"]=je;Z.a["\ue00d"]=ke;Z.a["\ue00e"]=le;Z.a["\ue00f"]=me;Z.a["\ue010"]=ne;Z.a["\ue011"]=oe;Z.a["\ue012"]=pe;Z.a["\ue013"]=qe;Z.a["\ue014"]=re;Z.a["\ue015"]=se;Z.a["\ue016"]=te;Z.a["\ue017"]=ue;Z.a["\ue018"]=Ze;Z.a["\ue019"]=Xe;Z.a["\ue01a"]=we;Z.a["\ue01b"]=xe;Z.a["\ue01c"]=ye;Z.a["\ue01d"]=ze;
|
|
141
|
-
Z.a["\ue01e"]=Ae;Z.a["\ue01f"]=Be;Z.a["\ue020"]=Ce;Z.a["\ue021"]=De;Z.a["\ue022"]=Ee;Z.a["\ue023"]=Fe;Z.a["\ue024"]=Ge;Z.a["\ue025"]=He;Z.a["\ue027"]=Ie;Z.a["\ue028"]=Je;Z.a["\ue029"]=Ke;Z.a["\ue026"]=Ye;Z.a["\ue031"]=Le;Z.a["\ue032"]=Me;Z.a["\ue033"]=Ne;Z.a["\ue034"]=Oe;Z.a["\ue035"]=Pe;Z.a["\ue036"]=Qe;Z.a["\ue037"]=Re;Z.a["\ue038"]=Se;Z.a["\ue039"]=Te;Z.a["\ue03a"]=Ue;Z.a["\ue03b"]=Ve;Z.a["\ue03c"]=We;Z.a["\ue03d"]=ve;la("_",function(a,b){a=[a];try{var c;b?c=vf(b.WINDOW):c=window;var d=uf(a,c.document),e=mf.apply(null,d);var f={status:0,value:sf(e)}}catch(g){f={status:Oa(g,"code")?g.code:13,value:{message:g.message}}}return rf(f)});; return this._.apply(null,arguments);}).apply(
|
|
141
|
+
Z.a["\ue01e"]=Ae;Z.a["\ue01f"]=Be;Z.a["\ue020"]=Ce;Z.a["\ue021"]=De;Z.a["\ue022"]=Ee;Z.a["\ue023"]=Fe;Z.a["\ue024"]=Ge;Z.a["\ue025"]=He;Z.a["\ue027"]=Ie;Z.a["\ue028"]=Je;Z.a["\ue029"]=Ke;Z.a["\ue026"]=Ye;Z.a["\ue031"]=Le;Z.a["\ue032"]=Me;Z.a["\ue033"]=Ne;Z.a["\ue034"]=Oe;Z.a["\ue035"]=Pe;Z.a["\ue036"]=Qe;Z.a["\ue037"]=Re;Z.a["\ue038"]=Se;Z.a["\ue039"]=Te;Z.a["\ue03a"]=Ue;Z.a["\ue03b"]=Ve;Z.a["\ue03c"]=We;Z.a["\ue03d"]=ve;la("_",function(a,b){a=[a];try{var c;b?c=vf(b.WINDOW):c=window;var d=uf(a,c.document),e=mf.apply(null,d);var f={status:0,value:sf(e)}}catch(g){f={status:Oa(g,"code")?g.code:13,value:{message:g.message}}}return rf(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==l(a)?ka(a,function(c){return Ob(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Pb(a.ELEMENT,b):v(a,"WINDOW")?Pb(a.WINDOW,b):ra(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Nb(a){var b=Qb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.localStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){if(null==(Db||Db).localStorage)throw new X(13,"Local storage undefined");(new Rb).a.clear()};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.localStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){if(null==(Db||Db).localStorage)throw new X(13,"Local storage undefined");(new Rb).a.clear()};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==l(a)?ka(a,function(c){return Ob(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Pb(a.ELEMENT,b):v(a,"WINDOW")?Pb(a.WINDOW,b):ra(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Nb(a){var b=Qb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.sessionStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){var a=Db||Db;if(null!=a.sessionStorage&&null!=a.sessionStorage.clear)a=new Rb;else throw new X(13,"Session storage undefined");a.a.clear()};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.sessionStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){var a=Db||Db;if(null!=a.sessionStorage&&null!=a.sessionStorage.clear)a=new Rb;else throw new X(13,"Session storage undefined");a.a.clear()};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/click.js
CHANGED
|
@@ -144,4 +144,4 @@ Math.min(f,Math.max(f-l,0))}rd(a,b)}};var Vf=ia.JSON.stringify;function Wf(a){fu
|
|
|
144
144
|
typeof g||ka(g)});return Na(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Yf(a,b){return"array"==ma(a)?Aa(a,function(c){return Yf(c,b)}):pa(a)?"function"==typeof a?a:Oa(a,"ELEMENT")?Zf(a.ELEMENT,b):Oa(a,"WINDOW")?Zf(a.WINDOW,b):Na(a,function(c){return Yf(c,b)}):a}function $f(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.G=wa());b.G||(b.G=wa());return b}function Xf(a){var b=$f(a.ownerDocument),c=Pa(b,function(d){return d==a});c||(c=":wdc:"+b.G++,b[c]=a);return c}
|
|
145
145
|
function Zf(a,b){a=decodeURIComponent(a);b=b||document;var c=$f(b);if(!Oa(c,a))throw new L(10,"Element does not exist in cache");var d=c[a];if(Oa(d,"setInterval")){if(d.closed)throw delete c[a],new L(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new L(10,"Element is no longer attached to the DOM");};function Z(a,b,c,d){function e(){return{persist:f,keys:[]}}var f=!!d,g=[],k=e();g.push(k);m(b,function(l){m(l.split(""),function(n){if("\ue000"<=n&&"\ue03d">=n){var t=Z.a[n];if(null===t)g.push(k=e()),f&&(k.persist=!1,g.push(k=e()));else if(ja(t))k.keys.push(t);else throw Error("Unsupported WebDriver key: \\u"+n.charCodeAt(0).toString(16));}else switch(n){case "\n":k.keys.push(Ge);break;case "\t":k.keys.push(Fe);break;case "\b":k.keys.push(Ee);break;default:k.keys.push(n)}})});m(g,function(l){Rf(a,
|
|
146
146
|
l.keys,c,l.persist)})}Z.a={};Z.a["\ue000"]=null;Z.a["\ue003"]=Ee;Z.a["\ue004"]=Fe;Z.a["\ue006"]=Ge;Z.a["\ue007"]=Ge;Z.a["\ue008"]=W;Z.a["\ue009"]=He;Z.a["\ue00a"]=Ie;Z.a["\ue00b"]=Je;Z.a["\ue00c"]=Ke;Z.a["\ue00d"]=Le;Z.a["\ue00e"]=Me;Z.a["\ue00f"]=Ne;Z.a["\ue010"]=Oe;Z.a["\ue011"]=Pe;Z.a["\ue012"]=Qe;Z.a["\ue013"]=Re;Z.a["\ue014"]=Se;Z.a["\ue015"]=Te;Z.a["\ue016"]=Ue;Z.a["\ue017"]=Ve;Z.a["\ue018"]=Af;Z.a["\ue019"]=yf;Z.a["\ue01a"]=Xe;Z.a["\ue01b"]=Ye;Z.a["\ue01c"]=Ze;Z.a["\ue01d"]=$e;
|
|
147
|
-
Z.a["\ue01e"]=af;Z.a["\ue01f"]=bf;Z.a["\ue020"]=cf;Z.a["\ue021"]=df;Z.a["\ue022"]=ef;Z.a["\ue023"]=ff;Z.a["\ue024"]=gf;Z.a["\ue025"]=hf;Z.a["\ue027"]=jf;Z.a["\ue028"]=kf;Z.a["\ue029"]=lf;Z.a["\ue026"]=zf;Z.a["\ue031"]=mf;Z.a["\ue032"]=nf;Z.a["\ue033"]=of;Z.a["\ue034"]=pf;Z.a["\ue035"]=qf;Z.a["\ue036"]=rf;Z.a["\ue037"]=sf;Z.a["\ue038"]=tf;Z.a["\ue039"]=uf;Z.a["\ue03a"]=vf;Z.a["\ue03b"]=wf;Z.a["\ue03c"]=xf;Z.a["\ue03d"]=We;la("_",function(a,b){a=[a];try{var c;b?c=Zf(b.WINDOW):c=window;var d=Yf(a,c.document),e=Tf.apply(null,d);var f={status:0,value:Wf(e)}}catch(g){f={status:Oa(g,"code")?g.code:13,value:{message:g.message}}}return Vf(f)});; return this._.apply(null,arguments);}).apply(
|
|
147
|
+
Z.a["\ue01e"]=af;Z.a["\ue01f"]=bf;Z.a["\ue020"]=cf;Z.a["\ue021"]=df;Z.a["\ue022"]=ef;Z.a["\ue023"]=ff;Z.a["\ue024"]=gf;Z.a["\ue025"]=hf;Z.a["\ue027"]=jf;Z.a["\ue028"]=kf;Z.a["\ue029"]=lf;Z.a["\ue026"]=zf;Z.a["\ue031"]=mf;Z.a["\ue032"]=nf;Z.a["\ue033"]=of;Z.a["\ue034"]=pf;Z.a["\ue035"]=qf;Z.a["\ue036"]=rf;Z.a["\ue037"]=sf;Z.a["\ue038"]=tf;Z.a["\ue039"]=uf;Z.a["\ue03a"]=vf;Z.a["\ue03b"]=wf;Z.a["\ue03c"]=xf;Z.a["\ue03d"]=We;la("_",function(a,b){a=[a];try{var c;b?c=Zf(b.WINDOW):c=window;var d=Yf(a,c.document),e=Tf.apply(null,d);var f={status:0,value:Wf(e)}}catch(g){f={status:Oa(g,"code")?g.code:13,value:{message:g.message}}}return Vf(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/default_content.js
CHANGED
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Lb(){return Db.top};var Mb=JSON.stringify;function Nb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Ob(c);return e}if(v(c,"document"))return e={},e.WINDOW=Ob(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Pb(a,b){return"array"==l(a)?ka(a,function(c){return Pb(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Qb(a.ELEMENT,b):v(a,"WINDOW")?Qb(a.WINDOW,b):ra(a,function(c){return Pb(c,b)}):a}function Rb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Ob(a){var b=Rb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(){var a=Lb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(b,c.document);var f={status:0,value:Nb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(){var a=Lb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(b,c.document);var f={status:0,value:Nb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -6,4 +6,4 @@ w[51]="invalid selector";w[52]="invalid selector";w[17]="javascript error";w[405
|
|
|
6
6
|
function V(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.a=t());b.a||(b.a=t());return b}function S(a){var b=V(a.ownerDocument),c=D(b,function(d){return d==a});c||(c=":wdc:"+b.a++,b[c]=a);return c}
|
|
7
7
|
function U(a,b){a=decodeURIComponent(a);b=b||document;var c=V(b);if(!C(c,a))throw new v(10,"Element does not exist in cache");var d=c[a];if(C(d,"setInterval")){if(d.closed)throw delete c[a],new v(23,"Window has been closed.");return d}for(var g=d;g;){if(g==b.documentElement)return d;g.host&&11===g.nodeType&&(g=g.host);g=g.parentNode}delete c[a];throw new v(10,"Element is no longer attached to the DOM");};function W(a,b,c,d,g,h){function n(l,p){P||(k.removeEventListener?k.removeEventListener("unload",A,!0):k.detachEvent("onunload",A),k.clearTimeout(ea),0!=l?(l=new v(l,p.message||p+""),l.stack=p.stack,p={status:C(l,"code")?l.code:13,value:{message:l.message}}):p={status:0,value:ca(p)},d(g?ba(p):p),P=!0)}function A(){n(13,Error("Detected a page unload event; asynchronous script execution does not work across page loads."))}var k=h||window,P=!1;h=r(n,13);if(k.closed)h("Unable to execute script; the target window is closed.");
|
|
8
8
|
else{a=da(a,k);b=T(b,k.document);b.push(r(n,0));k.addEventListener?k.addEventListener("unload",A,!0):k.attachEvent("onunload",A);var fa=t();try{a.apply(k,b);var ea=k.setTimeout(function(){n(28,Error("Timed out waiting for asynchronous script result after "+(t()-fa)+" ms"))},Math.max(0,c))}catch(l){n(l.code||13,l)}}}var X=["_"],Y=e;X[0]in Y||"undefined"==typeof Y.execScript||Y.execScript("var "+X[0]);
|
|
9
|
-
for(var Z;X.length&&(Z=X.shift());)X.length||void 0===W?Y[Z]&&Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=W;; return this._.apply(null,arguments);}).apply(
|
|
9
|
+
for(var Z;X.length&&(Z=X.shift());)X.length||void 0===W?Y[Z]&&Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=W;; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/execute_script.js
CHANGED
|
@@ -4,4 +4,4 @@ b&&"undefined"==typeof a.call)return"object";return b}function k(a){var b=f(a);r
|
|
|
4
4
|
u[51]="invalid selector";u[52]="invalid selector";u[17]="javascript error";u[405]="unsupported operation";u[34]="move target out of bounds";u[27]="no such alert";u[7]="no such element";u[8]="no such frame";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";var w=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),g="string"===typeof a?a.split(""):a,h=0;h<c;h++)h in g&&(d[h]=b.call(void 0,g[h],h,a));return d};function x(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function y(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function z(a,b){return null!==a&&b in a}function A(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c};function B(a){return-1!=C.indexOf(a)};var C;a:{var D=e.navigator;if(D){var E=D.userAgent;if(E){C=E;break a}}C=""};function F(){return B("Firefox")||B("FxiOS")}function G(){return(B("Chrome")||B("CriOS"))&&!B("Edge")};function H(){return B("iPhone")&&!B("iPod")&&!B("iPad")};var I=F(),J=H()||B("iPod"),K=B("iPad"),L=B("Android")&&!(G()||F()||B("Opera")||B("Silk")),M=G(),N=B("Safari")&&!(G()||B("Coast")||B("Opera")||B("Edge")||B("Edg/")||B("OPR")||F()||B("Silk")||B("Android"))&&!(H()||B("iPad")||B("iPod"));function O(a){return(a=a.exec(C))?a[1]:""}(function(){if(I)return O(/Firefox\/([0-9.]+)/);if(M)return H()||B("iPad")||B("iPod")?O(/CriOS\/([0-9.]+)/):O(/Chrome\/([0-9.]+)/);if(N&&!(H()||B("iPad")||B("iPod")))return O(/Version\/([0-9.]+)/);if(J||K){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(C);if(a)return a[1]+"."+a[2]}else if(L)return(a=O(/Android\s+([0-9.]+)/))?a:O(/Version\/([0-9.]+)/);return""})();var P=JSON.stringify;function Q(a){function b(c,d){switch(f(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return w(c,function(h){return b(h,d)});case "object":if(0<=d.indexOf(c))throw new r(17,"Recursive object cannot be transferred");if(z(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var g={};g.ELEMENT=R(c);return g}if(z(c,"document"))return g={},g.WINDOW=R(c),g;d.push(c);if(k(c))return w(c,function(h){return b(h,d)});c=x(c,function(h,p){return"number"==typeof p||
|
|
5
5
|
"string"==typeof p});return y(c,function(h){return b(h,d)});default:return null}}return b(a,[])}function S(a,b){return"array"==f(a)?w(a,function(c){return S(c,b)}):l(a)?"function"==typeof a?a:z(a,"ELEMENT")?T(a.ELEMENT,b):z(a,"WINDOW")?T(a.WINDOW,b):y(a,function(c){return S(c,b)}):a}function U(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.a=m());b.a||(b.a=m());return b}function R(a){var b=U(a.ownerDocument),c=A(b,function(d){return d==a});c||(c=":wdc:"+b.a++,b[c]=a);return c}
|
|
6
6
|
function T(a,b){a=decodeURIComponent(a);b=b||document;var c=U(b);if(!z(c,a))throw new r(10,"Element does not exist in cache");var d=c[a];if(z(d,"setInterval")){if(d.closed)throw delete c[a],new r(23,"Window has been closed.");return d}for(var g=d;g;){if(g==b.documentElement)return d;g.host&&11===g.nodeType&&(g=g.host);g=g.parentNode}delete c[a];throw new r(10,"Element is no longer attached to the DOM");};function V(a,b,c,d){d=d||q;try{a:{var g=a;if("string"==typeof g)try{a=new d.Function(g);break a}catch(t){throw t;}a=d==window?g:new d.Function("return ("+g+").apply(null,arguments);")}var h=S(b,d.document);var p={status:0,value:Q(a.apply(null,h))}}catch(t){p={status:z(t,"code")?t.code:13,value:{message:t.message}}}return c?P(p):p}var W=["_"],X=e;W[0]in X||"undefined"==typeof X.execScript||X.execScript("var "+W[0]);
|
|
7
|
-
for(var Y;W.length&&(Y=W.shift());)W.length||void 0===V?X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}:X[Y]=V;; return this._.apply(null,arguments);}).apply(
|
|
7
|
+
for(var Y;W.length&&(Y=W.shift());)W.length||void 0===V?X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}:X[Y]=V;; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/execute_sql.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
function(){return (function(){var a=this||self;function d(b,c){function f(){}f.prototype=c.prototype;b.prototype=new f;b.prototype.constructor=b};var e=window;function h(b,c){this.code=b;this.a=k[b]||m;this.message=c||"";b=this.a.replace(/((?:^|\s+)[a-z])/g,function(f){return f.toUpperCase().replace(/^[\s\xa0]+/g,"")});c=b.length-5;if(0>c||b.indexOf("Error",c)!=c)b+="Error";this.name=b;b=Error(this.message);b.name=this.name;this.stack=b.stack||""}d(h,Error);var m="unknown error",k={15:"element not selectable",11:"element not visible"};k[31]=m;k[30]=m;k[24]="invalid cookie domain";k[29]="invalid element coordinates";k[12]="invalid element state";k[32]="invalid selector";
|
|
2
|
-
k[51]="invalid selector";k[52]="invalid selector";k[17]="javascript error";k[405]="unsupported operation";k[34]="move target out of bounds";k[27]="no such alert";k[7]="no such element";k[8]="no such frame";k[23]="no such window";k[28]="script timeout";k[33]="session not created";k[10]="stale element reference";k[21]="timeout";k[25]="unable to set cookie";k[26]="unexpected alert open";k[13]=m;k[9]="unknown command";function n(b){this.a=[];for(var c=0;c<b.rows.length;c++)this.a[c]=b.rows.item(c)};function p(b,c,f,u,v,w,x){function y(g,l){l=new n(l);u(g,l)}try{var z=e.openDatabase(b,"",b+"name",5242880)}catch(g){throw new h(13,g.message);}z.transaction(function(g){g.executeSql(c,f,y,x)},v,w)}var q=["_"],r=a;q[0]in r||"undefined"==typeof r.execScript||r.execScript("var "+q[0]);for(var t;q.length&&(t=q.shift());)q.length||void 0===p?r[t]&&r[t]!==Object.prototype[t]?r=r[t]:r=r[t]={}:r[t]=p;; return this._.apply(null,arguments);}).apply(
|
|
2
|
+
k[51]="invalid selector";k[52]="invalid selector";k[17]="javascript error";k[405]="unsupported operation";k[34]="move target out of bounds";k[27]="no such alert";k[7]="no such element";k[8]="no such frame";k[23]="no such window";k[28]="script timeout";k[33]="session not created";k[10]="stale element reference";k[21]="timeout";k[25]="unable to set cookie";k[26]="unexpected alert open";k[13]=m;k[9]="unknown command";function n(b){this.a=[];for(var c=0;c<b.rows.length;c++)this.a[c]=b.rows.item(c)};function p(b,c,f,u,v,w,x){function y(g,l){l=new n(l);u(g,l)}try{var z=e.openDatabase(b,"",b+"name",5242880)}catch(g){throw new h(13,g.message);}z.transaction(function(g){g.executeSql(c,f,y,x)},v,w)}var q=["_"],r=a;q[0]in r||"undefined"==typeof r.execScript||r.execScript("var "+q[0]);for(var t;q.length&&(t=q.shift());)q.length||void 0===p?r[t]&&r[t]!==Object.prototype[t]?r=r[t]:r=r[t]={}:r[t]=p;; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/find_element.js
CHANGED
|
@@ -111,4 +111,4 @@ d=W(d);e=new U(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&&d.
|
|
|
111
111
|
Z.U=function(a,b){var c=[];n(a,function(e){e&&ta(b,function(f){var g=f.kind,h=Z.P[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Z.O[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Z.ba(a,c):c:c};
|
|
112
112
|
Z.ba=function(a,b){function c(f){f=W(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=W(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;xa(b,function(f,g){return c(f)-c(g)});return b};Z.o=function(a,b){a=Z.j(a,b);return 0==a.length?null:a[0]};
|
|
113
113
|
Z.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));var c=a.filters,d=ea(c);if("array"!=d&&("object"!=d||"number"!=typeof c.length))throw new P(61,"Targets should be an array: "+JSON.stringify(a));if(S(a.root))b=[a.root];else a:{c=a.root;if(d=Tc(c)){var e=Uc[d];if(e&&fa(e.j)){b=e.j(c[d],b||dc.document);break a}}throw new P(61,"Unsupported locator strategy: "+d);}return 0==b.length?[]:Z.U(b,a.filters)};var Vc={o:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var Uc={className:fc,"class name":fc,css:nc,"css selector":nc,relative:Z,id:Qc,linkText:Y,"link text":Y,name:{o:function(a,b){b=y(u(b),"*",null,b);return ua(b,function(c){return uc(c,"name")==a})},j:function(a,b){b=y(u(b),"*",null,b);return pa(b,function(c){return uc(c,"name")==a})}},partialLinkText:Rc,"partial link text":Rc,tagName:Vc,"tag name":Vc,xpath:T};function Tc(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null}
|
|
114
|
-
function Sc(a,b){var c=Tc(a);if(c){var d=Uc[c];if(d&&fa(d.o))return d.o(a[c],b||dc.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",Sc);; return this._.apply(null,arguments);}).apply(
|
|
114
|
+
function Sc(a,b){var c=Tc(a);if(c){var d=Uc[c];if(d&&fa(d.o))return d.o(a[c],b||dc.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",Sc);; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -113,4 +113,4 @@ d=W(d);e=new U(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&&d.
|
|
|
113
113
|
Z.V=function(a,b){var c=[];p(a,function(e){e&&va(b,function(f){var g=f.kind,h=Z.R[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Z.P[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Z.ca(a,c):c:c};
|
|
114
114
|
Z.ca=function(a,b){function c(f){f=W(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=W(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;za(b,function(f,g){return c(f)-c(g)});return b};Z.o=function(a,b){a=Z.j(a,b);return 0==a.length?null:a[0]};
|
|
115
115
|
Z.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));if(!fa(a.filters))throw new P(61,"Targets should be an array: "+JSON.stringify(a));if(S(a.root))b=[a.root];else a:{var c=a.root,d=cd(c);if(d){var e=dd[d];if(e&&ha(e.j)){b=e.j(c[d],b||ic.document);break a}}throw new P(61,"Unsupported locator strategy: "+d);}return 0==b.length?[]:Z.V(b,a.filters)};var ed={o:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var dd={className:wc,"class name":wc,css:xc,"css selector":xc,relative:Z,id:$c,linkText:Y,"link text":Y,name:{o:function(a,b){b=x(v(b),"*",null,b);return wa(b,function(c){return Ec(c,"name")==a})},j:function(a,b){b=x(v(b),"*",null,b);return ra(b,function(c){return Ec(c,"name")==a})}},partialLinkText:ad,"partial link text":ad,tagName:ed,"tag name":ed,xpath:T};function cd(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null}
|
|
116
|
-
function bd(a,b){var c=cd(a);if(c){var d=dd[c];if(d&&ha(d.o))return d.o(a[c],b||ic.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",function(a,b,c,d){var e=bd,f={};f[a]=b;try{var g;d?g=vc(d.WINDOW):g=window;var h=g;var n;c?n=vc(c.ELEMENT,h.document):n=h.document;var u=e(f,n);var l={status:0,value:sc(u)}}catch(y){l={status:null!==y&&"code"in y?y.code:13,value:{message:y.message}}}return rc(l)});; return this._.apply(null,arguments);}).apply(
|
|
116
|
+
function bd(a,b){var c=cd(a);if(c){var d=dd[c];if(d&&ha(d.o))return d.o(a[c],b||ic.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",function(a,b,c,d){var e=bd,f={};f[a]=b;try{var g;d?g=vc(d.WINDOW):g=window;var h=g;var n;c?n=vc(c.ELEMENT,h.document):n=h.document;var u=e(f,n);var l={status:0,value:sc(u)}}catch(y){l={status:null!==y&&"code"in y?y.code:13,value:{message:y.message}}}return rc(l)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/find_elements.js
CHANGED
|
@@ -113,4 +113,4 @@ d=W(d);e=new U(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&&d.
|
|
|
113
113
|
}};Z.R={left:Z.W,right:Z.ba,above:Z.S,below:Z.T,near:Z.X};Z.P={left:Z.u,right:Z.u,above:Z.u,below:Z.u,near:Z.u};Z.V=function(a,b){var c=[];p(a,function(e){e&&va(b,function(f){var g=f.kind,h=Z.R[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Z.P[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Z.ca(a,c):c:c};
|
|
114
114
|
Z.ca=function(a,b){function c(f){f=W(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=W(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;za(b,function(f,g){return c(f)-c(g)});return b};Z.o=function(a,b){a=Z.j(a,b);return 0==a.length?null:a[0]};
|
|
115
115
|
Z.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));if(!fa(a.filters))throw new P(61,"Targets should be an array: "+JSON.stringify(a));var c;S(a.root)?c=[a.root]:c=dd(a.root,b);return 0==c.length?[]:Z.V(c,a.filters)};var ed={o:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var cd={className:wc,"class name":wc,css:xc,"css selector":xc,relative:Z,id:$c,linkText:Y,"link text":Y,name:{o:function(a,b){b=x(v(b),"*",null,b);return wa(b,function(c){return Ec(c,"name")==a})},j:function(a,b){b=x(v(b),"*",null,b);return ra(b,function(c){return Ec(c,"name")==a})}},partialLinkText:ad,"partial link text":ad,tagName:ed,"tag name":ed,xpath:T};function bd(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null}
|
|
116
|
-
function dd(a,b){var c=bd(a);if(c){var d=cd[c];if(d&&ha(d.j))return d.j(a[c],b||ic.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",function(a,b,c,d){var e=dd,f={};f[a]=b;try{var g;d?g=vc(d.WINDOW):g=window;var h=g;var n;c?n=vc(c.ELEMENT,h.document):n=h.document;var u=e(f,n);var l={status:0,value:sc(u)}}catch(y){l={status:null!==y&&"code"in y?y.code:13,value:{message:y.message}}}return rc(l)});; return this._.apply(null,arguments);}).apply(
|
|
116
|
+
function dd(a,b){var c=bd(a);if(c){var d=cd[c];if(d&&ha(d.j))return d.j(a[c],b||ic.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",function(a,b,c,d){var e=dd,f={};f[a]=b;try{var g;d?g=vc(d.WINDOW):g=window;var h=g;var n;c?n=vc(c.ELEMENT,h.document):n=h.document;var u=e(f,n);var l={status:0,value:sc(u)}}catch(y){l={status:null!==y&&"code"in y?y.code:13,value:{message:y.message}}}return rc(l)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -113,4 +113,4 @@ Z.ca=function(a,b){function c(f){f=W(f);return Math.sqrt(Math.pow(d-(f.a+Math.ma
|
|
|
113
113
|
Z.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));if(!fa(a.filters))throw new P(61,"Targets should be an array: "+JSON.stringify(a));var c;S(a.root)?c=[a.root]:c=bd(a.root,b);return 0==c.length?[]:Z.V(c,a.filters)};var cd={o:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var ad={className:Wc,"class name":Wc,css:Xc,"css selector":Xc,relative:Z,id:Yc,linkText:Y,"link text":Y,name:{o:function(a,b){b=x(u(b),"*",null,b);return wa(b,function(c){return Ac(c,"name")==a})},j:function(a,b){b=x(u(b),"*",null,b);return ra(b,function(c){return Ac(c,"name")==a})}},partialLinkText:Zc,"partial link text":Zc,tagName:cd,"tag name":cd,xpath:T};function $c(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null}
|
|
114
114
|
function bd(a,b){var c=$c(a);if(c){var d=ad[c];if(d&&ha(d.j))return d.j(a[c],b||lc.document)}throw new P(61,"Unsupported locator strategy: "+c);};function dd(a,b){var c=b||lc,d=c.frames.length;for(b=0;b<d;b++){var e=c.frames[b],f=e.frameElement||e;if(f.name==a)return e.document?e:bb(e)}a=bd({id:a},c.document);for(b=0;b<a.length;b++)if((f=a[b])&&(S(f,"FRAME")||S(f,"IFRAME")))return bb(f);return null};var ed=JSON.stringify;function fd(a){function b(c,d){switch(ea(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return sa(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new P(17,"Recursive object cannot be transferred");if(Ia(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=gd(c);return e}if(Ia(c,"document"))return e={},e.WINDOW=gd(c),e;d.push(c);if(fa(c))return sa(c,function(f){return b(f,d)});c=Ga(c,function(f,g){return"number"==
|
|
115
115
|
typeof g||ca(g)});return Ha(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function hd(a,b){return"array"==ea(a)?sa(a,function(c){return hd(c,b)}):ia(a)?"function"==typeof a?a:Ia(a,"ELEMENT")?id(a.ELEMENT,b):Ia(a,"WINDOW")?id(a.WINDOW,b):Ha(a,function(c){return hd(c,b)}):a}function jd(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.I=na());b.I||(b.I=na());return b}function gd(a){var b=jd(a.ownerDocument),c=Ja(b,function(d){return d==a});c||(c=":wdc:"+b.I++,b[c]=a);return c}
|
|
116
|
-
function id(a,b){a=decodeURIComponent(a);b=b||document;var c=jd(b);if(!Ia(c,a))throw new P(10,"Element does not exist in cache");var d=c[a];if(Ia(d,"setInterval")){if(d.closed)throw delete c[a],new P(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new P(10,"Element is no longer attached to the DOM");};da("_",function(a,b){a=[a,b];b=dd;var c=window||lc;try{a:{var d=b;if(ca(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=hd(a,c.document);var f={status:0,value:fd(b.apply(null,e))}}catch(g){f={status:Ia(g,"code")?g.code:13,value:{message:g.message}}}return ed(f)});; return this._.apply(null,arguments);}).apply(
|
|
116
|
+
function id(a,b){a=decodeURIComponent(a);b=b||document;var c=jd(b);if(!Ia(c,a))throw new P(10,"Element does not exist in cache");var d=c[a];if(Ia(d,"setInterval")){if(d.closed)throw delete c[a],new P(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new P(10,"Element is no longer attached to the DOM");};da("_",function(a,b){a=[a,b];b=dd;var c=window||lc;try{a:{var d=b;if(ca(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=hd(a,c.document);var f={status:0,value:fd(b.apply(null,e))}}catch(g){f={status:Ia(g,"code")?g.code:13,value:{message:g.message}}}return ed(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/frame_by_index.js
CHANGED
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Lb(a,b){return(b||Db).frames[a]||null};var Mb=JSON.stringify;function Nb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Ob(c);return e}if(v(c,"document"))return e={},e.WINDOW=Ob(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Pb(a,b){return"array"==l(a)?ka(a,function(c){return Pb(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Qb(a.ELEMENT,b):v(a,"WINDOW")?Qb(a.WINDOW,b):ra(a,function(c){return Pb(c,b)}):a}function Rb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Ob(a){var b=Rb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(a,b){a=[a,b];b=Lb;var c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(a,c.document);var f={status:0,value:Nb(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Qb(a,b){a=decodeURIComponent(a);b=b||document;var c=Rb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(a,b){a=[a,b];b=Lb;var c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Pb(a,c.document);var f={status:0,value:Nb(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Mb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -71,4 +71,4 @@ V.NUMBER_TYPE=1;V.STRING_TYPE=2;V.BOOLEAN_TYPE=3;V.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Db(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=V,c.evaluate=function(d,e,f,g){return(new Bb(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Bb(d,e)},c.createNSResolver=function(d){return new Cb(d)}}aa("wgxpath.install",Db);aa("wgxpath.install",Db);var W=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}l(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ua(),Gb=wa()||t("iPod"),Hb=t("iPad"),Ib=t("Android")&&!(va()||ua()||t("Opera")||t("Silk")),Jb=va(),Kb=t("Safari")&&!(va()||t("Coast")||t("Opera")||t("Edge")||t("Edg/")||t("OPR")||ua()||t("Silk")||t("Android"))&&!(wa()||t("iPad")||t("iPod"));function Z(a){return(a=a.exec(r))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return wa()||t("iPad")||t("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(wa()||t("iPad")||t("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(r);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(ba(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return la(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(u(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(u(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ca(c))return la(c,function(f){return b(f,d)});c=ra(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return sa(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==ba(a)?la(a,function(c){return Ob(c,b)}):da(a)?"function"==typeof a?a:u(a,"ELEMENT")?Pb(a.ELEMENT,b):u(a,"WINDOW")?Pb(a.WINDOW,b):sa(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ja());b.C||(b.C=ja());return b}function Nb(a){var b=Qb(a.ownerDocument),c=ta(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!u(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(u(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){if(null!=(W||W).applicationCache)var a=W.applicationCache.status;else throw new X(13,"Undefined application cache");return a};aa("_",function(){var a=Rb,b=[];try{a:{var c=a;if(k(c))try{a=new W.Function(c);break a}catch(f){throw f;}a=W==window?c:new W.Function("return ("+c+").apply(null,arguments);")}var d=Ob(b,W.document);var e={status:0,value:Mb(a.apply(null,d))}}catch(f){e={status:u(f,"code")?f.code:13,value:{message:f.message}}}return Lb(e)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!u(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(u(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){if(null!=(W||W).applicationCache)var a=W.applicationCache.status;else throw new X(13,"Undefined application cache");return a};aa("_",function(){var a=Rb,b=[];try{a:{var c=a;if(k(c))try{a=new W.Function(c);break a}catch(f){throw f;}a=W==window?c:new W.Function("return ("+c+").apply(null,arguments);")}var d=Ob(b,W.document);var e={status:0,value:Mb(a.apply(null,d))}}catch(f){e={status:u(f,"code")?f.code:13,value:{message:f.message}}}return Lb(e)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/get_attribute.js
CHANGED
|
@@ -86,4 +86,4 @@ jc.prototype.set=function(a,b){Object.prototype.hasOwnProperty.call(this.b,a)||(
|
|
|
86
86
|
Z(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 qc=Z(za?{h:91,g:91}:ya?{h:224,g:91}:{h:0,g:91});Z(za?{h:92,g:92}:ya?{h:224,g:93}:{h:0,g:92});Z(za?{h:93,g:93}:ya?{h:0,g:0}:{h:93,g:null});Z({h:96,g:96},"0");Z({h:97,g:97},"1");
|
|
87
87
|
Z({h:98,g:98},"2");Z({h:99,g:99},"3");Z({h:100,g:100},"4");Z({h:101,g:101},"5");Z({h:102,g:102},"6");Z({h:103,g:103},"7");Z({h:104,g:104},"8");Z({h:105,g:105},"9");Z({h:106,g:106},"*");Z({h:107,g:107},"+");Z({h:109,g:109},"-");Z({h:110,g:110},".");Z({h:111,g: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({h:107,g:187},"=","+");Z(108,",");Z({h:109,g:189},"-","_");Z(188,",","<");Z(190,".",">");Z(191,"/","?");Z(192,"`","~");Z(219,"[","{");
|
|
88
88
|
Z(220,"\\","|");Z(221,"]","}");Z({h:59,g:186},";",":");Z(222,"'",'"');var rc=new jc;rc.set(1,nc);rc.set(2,oc);rc.set(4,pc);rc.set(8,qc);(function(a){var b=new jc;m(kc(a),function(c){b.set(a.get(c).code,c)});return b})(rc);var sc={"class":"className",readonly:"readOnly"},tc="allowfullscreen allowpaymentrequest allowusermedia async autofocus autoplay checked compact complete controls declare default defaultchecked defaultselected defer disabled ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open paused playsinline pubdate readonly required reversed scoped seamless seeking selected truespeed typemustmatch willvalidate".split(" ");ca("_",function(a,b){var c=null,d=b.toLowerCase();if("style"==d)return(c=a.style)&&!ba(c)&&(c=c.cssText),c;if(("selected"==d||"checked"==d)&&cc(a)){if(!cc(a))throw new S(15,"Element is not selectable");b="selected";c=a.type&&a.type.toLowerCase();if("checkbox"==c||"radio"==c)b="checked";return a[b]?"true":null}var e=bc(a,"A");if(bc(a,"IMG")&&"src"==d||e&&"href"==d)return(c=Zb(a,d))&&(c=a[d]),c;if("spellcheck"==d){c=Zb(a,d);if(null!==c){if("false"==c.toLowerCase())return"false";if("true"==c.toLowerCase())return"true"}return a[d]+
|
|
89
|
-
""}e=sc[b]||b;if(0<=la(tc,d))return(c=null!==Zb(a,b)||a[e])?"true":null;try{var f=a[e]}catch(h){}null==f||ea(f)?c=Zb(a,b):c=f;return null!=c?c.toString():null});; return this._.apply(null,arguments);}).apply(
|
|
89
|
+
""}e=sc[b]||b;if(0<=la(tc,d))return(c=null!==Zb(a,b)||a[e])?"true":null;try{var f=a[e]}catch(h){}null==f||ea(f)?c=Zb(a,b):c=f;return null!=c?c.toString():null});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -90,4 +90,4 @@ Z(69,"e","E");Z(70,"f","F");Z(71,"g","G");Z(72,"h","H");Z(73,"i","I");Z(74,"j","
|
|
|
90
90
|
Z({h:98,g:98},"2");Z({h:99,g:99},"3");Z({h:100,g:100},"4");Z({h:101,g:101},"5");Z({h:102,g:102},"6");Z({h:103,g:103},"7");Z({h:104,g:104},"8");Z({h:105,g:105},"9");Z({h:106,g:106},"*");Z({h:107,g:107},"+");Z({h:109,g:109},"-");Z({h:110,g:110},".");Z({h:111,g: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({h:107,g:187},"=","+");Z(108,",");Z({h:109,g:189},"-","_");Z(188,",","<");Z(190,".",">");Z(191,"/","?");Z(192,"`","~");Z(219,"[","{");
|
|
91
91
|
Z(220,"\\","|");Z(221,"]","}");Z({h:59,g:186},";",":");Z(222,"'",'"');var Dc=new vc;Dc.set(1,zc);Dc.set(2,Ac);Dc.set(4,Bc);Dc.set(8,Cc);(function(a){var b=new vc;p(wc(a),function(c){b.set(a.get(c).code,c)});return b})(Dc);var Ec={"class":"className",readonly:"readOnly"},Fc="allowfullscreen allowpaymentrequest allowusermedia async autofocus autoplay checked compact complete controls declare default defaultchecked defaultselected defer disabled ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open paused playsinline pubdate readonly required reversed scoped seamless seeking selected truespeed typemustmatch willvalidate".split(" ");
|
|
92
92
|
function Gc(a,b){var c=null,d=b.toLowerCase();if("style"==d)return(c=a.style)&&!g(c)&&(c=c.cssText),c;if(("selected"==d||"checked"==d)&&ic(a)){if(!ic(a))throw new T(15,"Element is not selectable");b="selected";c=a.type&&a.type.toLowerCase();if("checkbox"==c||"radio"==c)b="checked";return a[b]?"true":null}var e=hc(a,"A");if(hc(a,"IMG")&&"src"==d||e&&"href"==d)return(c=ec(a,d))&&(c=a[d]),c;if("spellcheck"==d){c=ec(a,d);if(null!==c){if("false"==c.toLowerCase())return"false";if("true"==c.toLowerCase())return"true"}return a[d]+
|
|
93
|
-
""}e=Ec[b]||b;if(0<=ma(Fc,d))return(c=null!==ec(a,b)||a[e])?"true":null;try{var f=a[e]}catch(h){}null==f||ea(f)?c=ec(a,b):c=f;return null!=c?c.toString():null};ba("_",function(a,b,c){a=[a,b];try{var d;c?d=nc(c.WINDOW):d=window;var e=mc(a,d.document),f=Gc.apply(null,e);var h={status:0,value:kc(f)}}catch(m){h={status:x(m,"code")?m.code:13,value:{message:m.message}}}return jc(h)});; return this._.apply(null,arguments);}).apply(
|
|
93
|
+
""}e=Ec[b]||b;if(0<=ma(Fc,d))return(c=null!==ec(a,b)||a[e])?"true":null;try{var f=a[e]}catch(h){}null==f||ea(f)?c=ec(a,b):c=f;return null!=c?c.toString():null};ba("_",function(a,b,c){a=[a,b];try{var d;c?d=nc(c.WINDOW):d=window;var e=mc(a,d.document),f=Gc.apply(null,e);var h={status:0,value:kc(f)}}catch(m){h={status:x(m,"code")?m.code:13,value:{message:m.message}}}return jc(h)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -72,4 +72,4 @@ ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#0
|
|
|
72
72
|
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:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
|
|
73
73
|
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:"#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:"#2e8b57",
|
|
74
74
|
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 vb="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),wb=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,xb=/^#(?:[0-9a-f]{3}){1,2}$/i,yb=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,zb=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;var Ab=la(),Bb=x()||v("iPod"),Cb=v("iPad"),Db=v("Android")&&!(ma()||la()||v("Opera")||v("Silk")),Eb=ma(),Fb=v("Safari")&&!(ma()||v("Coast")||v("Opera")||v("Edge")||v("Edg/")||v("OPR")||la()||v("Silk")||v("Android"))&&!(x()||v("iPad")||v("iPod"));function Z(a){return(a=a.exec(u))?a[1]:""}(function(){if(Ab)return Z(/Firefox\/([0-9.]+)/);if(Eb)return x()||v("iPad")||v("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Fb&&!(x()||v("iPad")||v("iPod")))return Z(/Version\/([0-9.]+)/);if(Bb||Cb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(u);if(a)return a[1]+"."+a[2]}else if(Db)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Gb(a,b){var c=a.currentStyle||a.style,d=c[b];void 0===d&&"function"==ba(c.getPropertyValue)&&(d=c.getPropertyValue(b));if("inherit"!=d)return void 0!==d?d:null;var e;for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;e&&"string"!==typeof e&&(e=e.toString());return(e=!a||1!=a.nodeType||e&&a.tagName.toUpperCase()!=e?null:a)?Gb(e,b):null};aa("_",function(a,b){b=na(b);if("float"==b||"cssFloat"==b||"styleFloat"==b)b="cssFloat";a:{var c=b;var d=9==a.nodeType?a:a.ownerDocument||a.document;if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||"";break a}c=""}a=c||Gb(a,b);if(null===a)a=null;else if(0<=fa(vb,b)){b:{var e=a.match(yb);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=
|
|
75
|
-
null}if(!b)b:{if(d=a.match(zb))if(b=Number(d[1]),c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=ub[b.toLowerCase()];if(!c&&(c="#"==b.charAt(0)?b:"#"+b,4==c.length&&(c=c.replace(wb,"#$1$1$2$2$3$3")),!xb.test(c))){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?"rgba("+b.join(", ")+")":a}return a});; return this._.apply(null,arguments);}).apply(
|
|
75
|
+
null}if(!b)b:{if(d=a.match(zb))if(b=Number(d[1]),c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=ub[b.toLowerCase()];if(!c&&(c="#"==b.charAt(0)?b:"#"+b,4==c.length&&(c=c.replace(wb,"#$1$1$2$2$3$3")),!xb.test(c))){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?"rgba("+b.join(", ")+")":a}return a});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
function(){return (function(){var b=this||self,c=Date.now||function(){return+new Date};function g(a,f){function d(){}d.prototype=f.prototype;a.prototype=new d;a.prototype.constructor=a};function k(a,f){this.code=a;this.b=l[a]||m;this.message=f||"";a=this.b.replace(/((?:^|\s+)[a-z])/g,function(d){return d.toUpperCase().replace(/^[\s\xa0]+/g,"")});f=a.length-5;if(0>f||a.indexOf("Error",f)!=f)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}g(k,Error);var m="unknown error",l={15:"element not selectable",11:"element not visible"};l[31]=m;l[30]=m;l[24]="invalid cookie domain";l[29]="invalid element coordinates";l[12]="invalid element state";l[32]="invalid selector";
|
|
2
2
|
l[51]="invalid selector";l[52]="invalid selector";l[17]="javascript error";l[405]="unsupported operation";l[34]="move target out of bounds";l[27]="no such alert";l[7]="no such element";l[8]="no such frame";l[23]="no such window";l[28]="script timeout";l[33]="session not created";l[10]="stale element reference";l[21]="timeout";l[25]="unable to set cookie";l[26]="unexpected alert open";l[13]=m;l[9]="unknown command";function n(a){return-1!=p.indexOf(a)};var p;a:{var q=b.navigator;if(q){var r=q.userAgent;if(r){p=r;break a}}p=""};function t(){return n("Firefox")||n("FxiOS")}function u(){return(n("Chrome")||n("CriOS"))&&!n("Edge")};function v(){return n("iPhone")&&!n("iPod")&&!n("iPad")};var w=t(),x=v()||n("iPod"),y=n("iPad"),z=n("Android")&&!(u()||t()||n("Opera")||n("Silk")),A=u(),B=n("Safari")&&!(u()||n("Coast")||n("Opera")||n("Edge")||n("Edg/")||n("OPR")||t()||n("Silk")||n("Android"))&&!(v()||n("iPad")||n("iPod"));function C(a){return(a=a.exec(p))?a[1]:""}(function(){if(w)return C(/Firefox\/([0-9.]+)/);if(A)return v()||n("iPad")||n("iPod")?C(/CriOS\/([0-9.]+)/):C(/Chrome\/([0-9.]+)/);if(B&&!(v()||n("iPad")||n("iPod")))return C(/Version\/([0-9.]+)/);if(x||y){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(p);if(a)return a[1]+"."+a[2]}else if(z)return(a=C(/Android\s+([0-9.]+)/))?a:C(/Version\/([0-9.]+)/);return""})();function D(a,f){a=decodeURIComponent(a);f=f||document;var d=f||document;var e=d.$wdc_;e||(e=d.$wdc_={},e.a=c());e.a||(e.a=c());d=e;if(!(null!==d&&a in d))throw new k(10,"Element does not exist in cache");e=d[a];if(null!==e&&"setInterval"in e){if(e.closed)throw delete d[a],new k(23,"Window has been closed.");return e}for(var h=e;h;){if(h==f.documentElement)return e;h.host&&11===h.nodeType&&(h=h.host);h=h.parentNode}delete d[a];throw new k(10,"Element is no longer attached to the DOM");}
|
|
3
|
-
var E=["_"],F=b;E[0]in F||"undefined"==typeof F.execScript||F.execScript("var "+E[0]);for(var G;E.length&&(G=E.shift());)E.length||void 0===D?F[G]&&F[G]!==Object.prototype[G]?F=F[G]:F=F[G]={}:F[G]=D;; return this._.apply(null,arguments);}).apply(
|
|
3
|
+
var E=["_"],F=b;E[0]in F||"undefined"==typeof F.execScript||F.execScript("var "+E[0]);for(var G;E.length&&(G=E.shift());)E.length||void 0===D?F[G]&&F[G]!==Object.prototype[G]?F=F[G]:F=F[G]={}:F[G]=D;; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Lb(a,b){b&&"string"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};function Mb(a){if(Lb(a,"FRAME")||Lb(a,"IFRAME")){a:{try{var b;if(!(b=a.contentWindow)){if(a.contentDocument){var c=a.contentDocument;var d=c?c.parentWindow||c.defaultView:window}else d=null;b=d}var e=b;break a}catch(f){}e=null}return e}throw new X(8,"The given element isn't a frame or an iframe.");};var Nb=JSON.stringify;function Ob(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Pb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Pb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Qb(a,b){return"array"==l(a)?ka(a,function(c){return Qb(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Rb(a.ELEMENT,b):v(a,"WINDOW")?Rb(a.WINDOW,b):ra(a,function(c){return Qb(c,b)}):a}function Sb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Pb(a){var b=Sb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Rb(a,b){a=decodeURIComponent(a);b=b||document;var c=Sb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(a){a=[a];var b=Mb,c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Qb(a,c.document);var f={status:0,value:Ob(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Nb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Rb(a,b){a=decodeURIComponent(a);b=b||document;var c=Sb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};aa("_",function(a){a=[a];var b=Mb,c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Qb(a,c.document);var f={status:0,value:Ob(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Nb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==l(a)?ka(a,function(c){return Ob(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Pb(a.ELEMENT,b):v(a,"WINDOW")?Pb(a.WINDOW,b):ra(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Nb(a){var b=Qb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.localStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(a){if(null==(Db||Db).localStorage)throw new X(13,"Local storage undefined");return(new Rb).a.getItem(a)};aa("_",function(a){a=[a];var b=Sb,c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(a,c.document);var f={status:0,value:Mb(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.localStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(a){if(null==(Db||Db).localStorage)throw new X(13,"Local storage undefined");return(new Rb).a.getItem(a)};aa("_",function(a){a=[a];var b=Sb,c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(a,c.document);var f={status:0,value:Mb(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -67,4 +67,4 @@ function X(a,b){if(0==b)if(a instanceof E)b=4;else if("string"==typeof a)b=2;els
|
|
|
67
67
|
G(a);var d=[];for(var e=H(c);e;e=H(c))d.push(e);this.snapshotLength=a.l;this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=Ba(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");return f>=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}X.ANY_TYPE=0;
|
|
68
68
|
X.NUMBER_TYPE=1;X.STRING_TYPE=2;X.BOOLEAN_TYPE=3;X.UNORDERED_NODE_ITERATOR_TYPE=4;X.ORDERED_NODE_ITERATOR_TYPE=5;X.UNORDERED_NODE_SNAPSHOT_TYPE=6;X.ORDERED_NODE_SNAPSHOT_TYPE=7;X.ANY_UNORDERED_NODE_TYPE=8;X.FIRST_ORDERED_NODE_TYPE=9;function sb(a){this.lookupNamespaceURI=ob(a)}
|
|
69
69
|
function tb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=X,c.evaluate=function(d,e,f,g){return(new rb(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new rb(d,e)},c.createNSResolver=function(d){return new sb(d)}}aa("wgxpath.install",tb);aa("wgxpath.install",tb);var ub=window;function vb(a,b){this.code=a;this.a=Y[a]||wb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(vb,Error);var wb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=wb;Y[30]=wb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
70
|
-
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=wb;Y[9]="unknown command";var xb=la(),yb=w()||v("iPod"),zb=v("iPad"),Ab=v("Android")&&!(ma()||la()||v("Opera")||v("Silk")),Bb=ma(),Cb=v("Safari")&&!(ma()||v("Coast")||v("Opera")||v("Edge")||v("Edg/")||v("OPR")||la()||v("Silk")||v("Android"))&&!(w()||v("iPad")||v("iPod"));function Z(a){return(a=a.exec(u))?a[1]:""}(function(){if(xb)return Z(/Firefox\/([0-9.]+)/);if(Bb)return w()||v("iPad")||v("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Cb&&!(w()||v("iPad")||v("iPod")))return Z(/Version\/([0-9.]+)/);if(yb||zb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(u);if(a)return a[1]+"."+a[2]}else if(Ab)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Db(){var a=ub.localStorage;this.a=a}Db.prototype.key=function(a){return this.a.key(a)};aa("_",function(a){if(null==(ub||ub).localStorage)throw new vb(13,"Local storage undefined");return(new Db).key(a)});; return this._.apply(null,arguments);}).apply(
|
|
70
|
+
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=wb;Y[9]="unknown command";var xb=la(),yb=w()||v("iPod"),zb=v("iPad"),Ab=v("Android")&&!(ma()||la()||v("Opera")||v("Silk")),Bb=ma(),Cb=v("Safari")&&!(ma()||v("Coast")||v("Opera")||v("Edge")||v("Edg/")||v("OPR")||la()||v("Silk")||v("Android"))&&!(w()||v("iPad")||v("iPod"));function Z(a){return(a=a.exec(u))?a[1]:""}(function(){if(xb)return Z(/Firefox\/([0-9.]+)/);if(Bb)return w()||v("iPad")||v("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Cb&&!(w()||v("iPad")||v("iPod")))return Z(/Version\/([0-9.]+)/);if(yb||zb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(u);if(a)return a[1]+"."+a[2]}else if(Ab)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Db(){var a=ub.localStorage;this.a=a}Db.prototype.key=function(a){return this.a.key(a)};aa("_",function(a){if(null==(ub||ub).localStorage)throw new vb(13,"Local storage undefined");return(new Db).key(a)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==l(a)?ka(a,function(c){return Ob(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Pb(a.ELEMENT,b):v(a,"WINDOW")?Pb(a.WINDOW,b):ra(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Nb(a){var b=Qb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.localStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){if(null==(Db||Db).localStorage)throw new X(13,"Local storage undefined");var a=new Rb;for(var b=[],c=a.a.length,d=0;d<c;d++)b[d]=a.a.key(d);return b};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.localStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){if(null==(Db||Db).localStorage)throw new X(13,"Local storage undefined");var a=new Rb;for(var b=[],c=a.a.length,d=0;d<c;d++)b[d]=a.a.key(d);return b};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==l(a)?ka(a,function(c){return Ob(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Pb(a.ELEMENT,b):v(a,"WINDOW")?Pb(a.WINDOW,b):ra(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Nb(a){var b=Qb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.localStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){if(null==(Db||Db).localStorage)throw new X(13,"Local storage undefined");return(new Rb).a.length};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.localStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){if(null==(Db||Db).localStorage)throw new X(13,"Local storage undefined");return(new Rb).a.length};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/get_location.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
function(){return (function(){var b=this||self;function c(a,d){function e(){}e.prototype=d.prototype;a.prototype=new e;a.prototype.constructor=a};var f=window;function k(a,d){this.code=a;this.a=l[a]||m;this.message=d||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(e){return e.toUpperCase().replace(/^[\s\xa0]+/g,"")});d=a.length-5;if(0>d||a.indexOf("Error",d)!=d)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}c(k,Error);var m="unknown error",l={15:"element not selectable",11:"element not visible"};l[31]=m;l[30]=m;l[24]="invalid cookie domain";l[29]="invalid element coordinates";l[12]="invalid element state";l[32]="invalid selector";
|
|
2
2
|
l[51]="invalid selector";l[52]="invalid selector";l[17]="javascript error";l[405]="unsupported operation";l[34]="move target out of bounds";l[27]="no such alert";l[7]="no such element";l[8]="no such frame";l[23]="no such window";l[28]="script timeout";l[33]="session not created";l[10]="stale element reference";l[21]="timeout";l[25]="unable to set cookie";l[26]="unexpected alert open";l[13]=m;l[9]="unknown command";var n=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function p(a){return-1!=q.indexOf(a)}
|
|
3
|
-
function u(a,d){var e=0;a=n(String(a)).split(".");d=n(String(d)).split(".");for(var r=Math.max(a.length,d.length),t=0;0==e&&t<r;t++){var g=a[t]||"",h=d[t]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;e=v(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||v(0==g[2].length,0==h[2].length)||v(g[2],h[2]);g=g[3];h=h[3]}while(0==e)}return e}function v(a,d){return a<d?-1:a>d?1:0};var q;a:{var w=b.navigator;if(w){var x=w.userAgent;if(x){q=x;break a}}q=""};function y(){return p("Firefox")||p("FxiOS")}function z(){return(p("Chrome")||p("CriOS"))&&!p("Edge")};function A(){return p("iPhone")&&!p("iPod")&&!p("iPad")};var B=p("Windows");var C=y(),D=A()||p("iPod"),E=p("iPad"),F=p("Android")&&!(z()||y()||p("Opera")||p("Silk")),G=z(),H=p("Safari")&&!(z()||p("Coast")||p("Opera")||p("Edge")||p("Edg/")||p("OPR")||y()||p("Silk")||p("Android"))&&!(A()||p("iPad")||p("iPod"));function I(a){return(a=a.exec(q))?a[1]:""}var J=function(){if(C)return I(/Firefox\/([0-9.]+)/);if(G)return A()||p("iPad")||p("iPod")?I(/CriOS\/([0-9.]+)/):I(/Chrome\/([0-9.]+)/);if(H&&!(A()||p("iPad")||p("iPod")))return I(/Version\/([0-9.]+)/);if(D||E){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(q);if(a)return a[1]+"."+a[2]}else if(F)return(a=I(/Android\s+([0-9.]+)/))?a:I(/Version\/([0-9.]+)/);return""}();var K;if(F){var L=/Android\s+([0-9\.]+)/.exec(q);K=L?L[1]:"0"}else K="0";var M=K;var N=B&&H&&(F?0<=u(M,4):0<=u(J,4))&&!(F?0<=u(M,6):0<=u(J,6));var O={enableHighAccuracy:!0,maximumAge:Infinity,timeout:5E3};function P(a,d,e){e=e||O;var r=f||f;if(N?0:null!=r.navigator&&null!=r.navigator.geolocation)f.navigator.geolocation.getCurrentPosition(a,d,e);else throw new k(13,"Geolocation undefined");}var Q=["_"],R=b;Q[0]in R||"undefined"==typeof R.execScript||R.execScript("var "+Q[0]);for(var S;Q.length&&(S=Q.shift());)Q.length||void 0===P?R[S]&&R[S]!==Object.prototype[S]?R=R[S]:R=R[S]={}:R[S]=P;; return this._.apply(null,arguments);}).apply(
|
|
3
|
+
function u(a,d){var e=0;a=n(String(a)).split(".");d=n(String(d)).split(".");for(var r=Math.max(a.length,d.length),t=0;0==e&&t<r;t++){var g=a[t]||"",h=d[t]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;e=v(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||v(0==g[2].length,0==h[2].length)||v(g[2],h[2]);g=g[3];h=h[3]}while(0==e)}return e}function v(a,d){return a<d?-1:a>d?1:0};var q;a:{var w=b.navigator;if(w){var x=w.userAgent;if(x){q=x;break a}}q=""};function y(){return p("Firefox")||p("FxiOS")}function z(){return(p("Chrome")||p("CriOS"))&&!p("Edge")};function A(){return p("iPhone")&&!p("iPod")&&!p("iPad")};var B=p("Windows");var C=y(),D=A()||p("iPod"),E=p("iPad"),F=p("Android")&&!(z()||y()||p("Opera")||p("Silk")),G=z(),H=p("Safari")&&!(z()||p("Coast")||p("Opera")||p("Edge")||p("Edg/")||p("OPR")||y()||p("Silk")||p("Android"))&&!(A()||p("iPad")||p("iPod"));function I(a){return(a=a.exec(q))?a[1]:""}var J=function(){if(C)return I(/Firefox\/([0-9.]+)/);if(G)return A()||p("iPad")||p("iPod")?I(/CriOS\/([0-9.]+)/):I(/Chrome\/([0-9.]+)/);if(H&&!(A()||p("iPad")||p("iPod")))return I(/Version\/([0-9.]+)/);if(D||E){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(q);if(a)return a[1]+"."+a[2]}else if(F)return(a=I(/Android\s+([0-9.]+)/))?a:I(/Version\/([0-9.]+)/);return""}();var K;if(F){var L=/Android\s+([0-9\.]+)/.exec(q);K=L?L[1]:"0"}else K="0";var M=K;var N=B&&H&&(F?0<=u(M,4):0<=u(J,4))&&!(F?0<=u(M,6):0<=u(J,6));var O={enableHighAccuracy:!0,maximumAge:Infinity,timeout:5E3};function P(a,d,e){e=e||O;var r=f||f;if(N?0:null!=r.navigator&&null!=r.navigator.geolocation)f.navigator.geolocation.getCurrentPosition(a,d,e);else throw new k(13,"Geolocation undefined");}var Q=["_"],R=b;Q[0]in R||"undefined"==typeof R.execScript||R.execScript("var "+Q[0]);for(var S;Q.length&&(S=Q.shift());)Q.length||void 0===P?R[S]&&R[S]!==Object.prototype[S]?R=R[S]:R=R[S]={}:R[S]=P;; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==l(a)?ka(a,function(c){return Ob(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Pb(a.ELEMENT,b):v(a,"WINDOW")?Pb(a.WINDOW,b):ra(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Nb(a){var b=Qb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.sessionStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(a){var b=Db||Db;if(null!=b.sessionStorage&&null!=b.sessionStorage.clear)b=new Rb;else throw new X(13,"Session storage undefined");return b.a.getItem(a)};aa("_",function(a){a=[a];var b=Sb,c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(a,c.document);var f={status:0,value:Mb(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.sessionStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(a){var b=Db||Db;if(null!=b.sessionStorage&&null!=b.sessionStorage.clear)b=new Rb;else throw new X(13,"Session storage undefined");return b.a.getItem(a)};aa("_",function(a){a=[a];var b=Sb,c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(a,c.document);var f={status:0,value:Mb(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -67,4 +67,4 @@ function X(a,b){if(0==b)if(a instanceof E)b=4;else if("string"==typeof a)b=2;els
|
|
|
67
67
|
G(a);var d=[];for(var e=H(c);e;e=H(c))d.push(e);this.snapshotLength=a.l;this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=Ba(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");return f>=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}X.ANY_TYPE=0;
|
|
68
68
|
X.NUMBER_TYPE=1;X.STRING_TYPE=2;X.BOOLEAN_TYPE=3;X.UNORDERED_NODE_ITERATOR_TYPE=4;X.ORDERED_NODE_ITERATOR_TYPE=5;X.UNORDERED_NODE_SNAPSHOT_TYPE=6;X.ORDERED_NODE_SNAPSHOT_TYPE=7;X.ANY_UNORDERED_NODE_TYPE=8;X.FIRST_ORDERED_NODE_TYPE=9;function sb(a){this.lookupNamespaceURI=ob(a)}
|
|
69
69
|
function tb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=X,c.evaluate=function(d,e,f,g){return(new rb(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new rb(d,e)},c.createNSResolver=function(d){return new sb(d)}}aa("wgxpath.install",tb);aa("wgxpath.install",tb);var ub=window;function vb(a,b){this.code=a;this.a=Y[a]||wb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(vb,Error);var wb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=wb;Y[30]=wb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
70
|
-
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=wb;Y[9]="unknown command";var xb=la(),yb=w()||v("iPod"),zb=v("iPad"),Ab=v("Android")&&!(ma()||la()||v("Opera")||v("Silk")),Bb=ma(),Cb=v("Safari")&&!(ma()||v("Coast")||v("Opera")||v("Edge")||v("Edg/")||v("OPR")||la()||v("Silk")||v("Android"))&&!(w()||v("iPad")||v("iPod"));function Z(a){return(a=a.exec(u))?a[1]:""}(function(){if(xb)return Z(/Firefox\/([0-9.]+)/);if(Bb)return w()||v("iPad")||v("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Cb&&!(w()||v("iPad")||v("iPod")))return Z(/Version\/([0-9.]+)/);if(yb||zb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(u);if(a)return a[1]+"."+a[2]}else if(Ab)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Db(){this.a=ub.sessionStorage}Db.prototype.key=function(a){return this.a.key(a)};aa("_",function(a){var b=ub||ub;if(null!=b.sessionStorage&&null!=b.sessionStorage.clear)b=new Db;else throw new vb(13,"Session storage undefined");return b.key(a)});; return this._.apply(null,arguments);}).apply(
|
|
70
|
+
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=wb;Y[9]="unknown command";var xb=la(),yb=w()||v("iPod"),zb=v("iPad"),Ab=v("Android")&&!(ma()||la()||v("Opera")||v("Silk")),Bb=ma(),Cb=v("Safari")&&!(ma()||v("Coast")||v("Opera")||v("Edge")||v("Edg/")||v("OPR")||la()||v("Silk")||v("Android"))&&!(w()||v("iPad")||v("iPod"));function Z(a){return(a=a.exec(u))?a[1]:""}(function(){if(xb)return Z(/Firefox\/([0-9.]+)/);if(Bb)return w()||v("iPad")||v("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Cb&&!(w()||v("iPad")||v("iPod")))return Z(/Version\/([0-9.]+)/);if(yb||zb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(u);if(a)return a[1]+"."+a[2]}else if(Ab)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Db(){this.a=ub.sessionStorage}Db.prototype.key=function(a){return this.a.key(a)};aa("_",function(a){var b=ub||ub;if(null!=b.sessionStorage&&null!=b.sessionStorage.clear)b=new Db;else throw new vb(13,"Session storage undefined");return b.key(a)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==l(a)?ka(a,function(c){return Ob(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Pb(a.ELEMENT,b):v(a,"WINDOW")?Pb(a.WINDOW,b):ra(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Nb(a){var b=Qb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.sessionStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){var a=Db||Db;if(null!=a.sessionStorage&&null!=a.sessionStorage.clear)a=new Rb;else throw new X(13,"Session storage undefined");for(var b=[],c=a.a.length,d=0;d<c;d++)b[d]=a.a.key(d);return b};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.sessionStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){var a=Db||Db;if(null!=a.sessionStorage&&null!=a.sessionStorage.clear)a=new Rb;else throw new X(13,"Session storage undefined");for(var b=[],c=a.a.length,d=0;d<c;d++)b[d]=a.a.key(d);return b};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -71,4 +71,4 @@ W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=
|
|
|
71
71
|
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
72
|
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();var Lb=JSON.stringify;function Mb(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Nb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Nb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
73
|
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Ob(a,b){return"array"==l(a)?ka(a,function(c){return Ob(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Pb(a.ELEMENT,b):v(a,"WINDOW")?Pb(a.WINDOW,b):ra(a,function(c){return Ob(c,b)}):a}function Qb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Nb(a){var b=Qb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.sessionStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){var a=Db||Db;if(null!=a.sessionStorage&&null!=a.sessionStorage.clear)a=new Rb;else throw new X(13,"Session storage undefined");return a.a.length};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(
|
|
74
|
+
function Pb(a,b){a=decodeURIComponent(a);b=b||document;var c=Qb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new X(10,"Element is no longer attached to the DOM");};function Rb(){this.a=Db.sessionStorage}Rb.prototype.key=function(a){return this.a.key(a)};function Sb(){var a=Db||Db;if(null!=a.sessionStorage&&null!=a.sessionStorage.clear)a=new Rb;else throw new X(13,"Session storage undefined");return a.a.length};aa("_",function(){var a=Sb,b=[],c=window||Db;try{a:{var d=a;if(k(d))try{a=new c.Function(d);break a}catch(g){throw g;}a=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Ob(b,c.document);var f={status:0,value:Mb(a.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Lb(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/get_size.js
CHANGED
|
@@ -95,4 +95,4 @@ function yc(a){if(a.f!=a.a.length){for(var b=0,c=0;b<a.a.length;){var d=a.a[b];O
|
|
|
95
95
|
xc.prototype.set=function(a,b){Object.prototype.hasOwnProperty.call(this.b,a)||(this.f++,this.a.push(a));this.b[a]=b};var zc={};function Z(a,b,c){fa(a)&&(a=a.g);a=new Ac(a);!b||b in zc&&!c||(zc[b]={key:a,shift:!1},c&&(zc[c]={key:a,shift:!0}));return a}function Ac(a){this.code=a}Z(8);Z(9);Z(13);var Bc=Z(16),Cc=Z(17),Dc=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");
|
|
96
96
|
Z(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 Ec=Z(Fa?{h:91,g:91}:Ea?{h:224,g:91}:{h:0,g:91});Z(Fa?{h:92,g:92}:Ea?{h:224,g:93}:{h:0,g:92});Z(Fa?{h:93,g:93}:Ea?{h:0,g:0}:{h:93,g:null});Z({h:96,g:96},"0");Z({h:97,g:97},"1");
|
|
97
97
|
Z({h:98,g:98},"2");Z({h:99,g:99},"3");Z({h:100,g:100},"4");Z({h:101,g:101},"5");Z({h:102,g:102},"6");Z({h:103,g:103},"7");Z({h:104,g:104},"8");Z({h:105,g:105},"9");Z({h:106,g:106},"*");Z({h:107,g:107},"+");Z({h:109,g:109},"-");Z({h:110,g:110},".");Z({h:111,g: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({h:107,g:187},"=","+");Z(108,",");Z({h:109,g:189},"-","_");Z(188,",","<");Z(190,".",">");Z(191,"/","?");Z(192,"`","~");Z(219,"[","{");
|
|
98
|
-
Z(220,"\\","|");Z(221,"]","}");Z({h:59,g:186},";",":");Z(222,"'",'"');var Fc=new xc;Fc.set(1,Bc);Fc.set(2,Cc);Fc.set(4,Dc);Fc.set(8,Ec);(function(a){var b=new xc;n(yc(a),function(c){b.set(a.get(c).code,c)});return b})(Fc);function Gc(a,b,c){try{var d;c?d=pc(c.WINDOW):d=window;var e=oc(b,d.document),f=a.apply(null,e);var g={status:0,value:mc(f)}}catch(l){g={status:u(l,"code")?l.code:13,value:{message:l.message}}}return lc(g)};ca("_",function(a,b){return Gc(function(c){var d=jc(c);c=d.height;d=d.width;d=Math.floor(d);c=Math.floor(c);return{width:d,height:c}},[a],b)});; return this._.apply(null,arguments);}).apply(
|
|
98
|
+
Z(220,"\\","|");Z(221,"]","}");Z({h:59,g:186},";",":");Z(222,"'",'"');var Fc=new xc;Fc.set(1,Bc);Fc.set(2,Cc);Fc.set(4,Dc);Fc.set(8,Ec);(function(a){var b=new xc;n(yc(a),function(c){b.set(a.get(c).code,c)});return b})(Fc);function Gc(a,b,c){try{var d;c?d=pc(c.WINDOW):d=window;var e=oc(b,d.document),f=a.apply(null,e);var g={status:0,value:mc(f)}}catch(l){g={status:u(l,"code")?l.code:13,value:{message:l.message}}}return lc(g)};ca("_",function(a,b){return Gc(function(c){var d=jc(c);c=d.height;d=d.width;d=Math.floor(d);c=Math.floor(c);return{width:d,height:c}},[a],b)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/get_text.js
CHANGED
|
@@ -119,4 +119,4 @@ function id(a){if(a.f!=a.a.length){for(var b=0,c=0;b<a.a.length;){var d=a.a[b];O
|
|
|
119
119
|
hd.prototype.set=function(a,b){Object.prototype.hasOwnProperty.call(this.b,a)||(this.f++,this.a.push(a));this.b[a]=b};var jd={};function Z(a,b,c){fa(a)&&(a=a.g);a=new kd(a);!b||b in jd&&!c||(jd[b]={key:a,shift:!1},c&&(jd[c]={key:a,shift:!0}));return a}function kd(a){this.code=a}Z(8);Z(9);Z(13);var ld=Z(16),md=Z(17),nd=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");
|
|
120
120
|
Z(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 od=Z(La?{h:91,g:91}:Ka?{h:224,g:91}:{h:0,g:91});Z(La?{h:92,g:92}:Ka?{h:224,g:93}:{h:0,g:92});Z(La?{h:93,g:93}:Ka?{h:0,g:0}:{h:93,g:null});Z({h:96,g:96},"0");Z({h:97,g:97},"1");
|
|
121
121
|
Z({h:98,g:98},"2");Z({h:99,g:99},"3");Z({h:100,g:100},"4");Z({h:101,g:101},"5");Z({h:102,g:102},"6");Z({h:103,g:103},"7");Z({h:104,g:104},"8");Z({h:105,g:105},"9");Z({h:106,g:106},"*");Z({h:107,g:107},"+");Z({h:109,g:109},"-");Z({h:110,g:110},".");Z({h:111,g: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({h:107,g:187},"=","+");Z(108,",");Z({h:109,g:189},"-","_");Z(188,",","<");Z(190,".",">");Z(191,"/","?");Z(192,"`","~");Z(219,"[","{");
|
|
122
|
-
Z(220,"\\","|");Z(221,"]","}");Z({h:59,g:186},";",":");Z(222,"'",'"');var pd=new hd;pd.set(1,ld);pd.set(2,md);pd.set(4,nd);pd.set(8,od);(function(a){var b=new hd;n(id(a),function(c){b.set(a.get(c).code,c)});return b})(pd);ca("_",function(a,b){a=[a];try{var c;b?c=Zc(b.WINDOW):c=window;var d=Yc(a,c.document),e=Oc.apply(null,d);var f={status:0,value:Wc(e)}}catch(g){f={status:Ea(g,"code")?g.code:13,value:{message:g.message}}}return Vc(f)});; return this._.apply(null,arguments);}).apply(
|
|
122
|
+
Z(220,"\\","|");Z(221,"]","}");Z({h:59,g:186},";",":");Z(222,"'",'"');var pd=new hd;pd.set(1,ld);pd.set(2,md);pd.set(4,nd);pd.set(8,od);(function(a){var b=new hd;n(id(a),function(c){b.set(a.get(c).code,c)});return b})(pd);ca("_",function(a,b){a=[a];try{var c;b?c=Zc(b.WINDOW):c=window;var d=Yc(a,c.document),e=Oc.apply(null,d);var f={status:0,value:Wc(e)}}catch(g){f={status:Ea(g,"code")?g.code:13,value:{message:g.message}}}return Vc(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -109,4 +109,4 @@ Rc.prototype.set=function(a,b){Object.prototype.hasOwnProperty.call(this.b,a)||(
|
|
|
109
109
|
Z(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(Ia?{h:91,g:91}:Ha?{h:224,g:91}:{h:0,g:91});Z(Ia?{h:92,g:92}:Ha?{h:224,g:93}:{h:0,g:92});Z(Ia?{h:93,g:93}:Ha?{h:0,g:0}:{h:93,g:null});Z({h:96,g:96},"0");Z({h:97,g:97},"1");
|
|
110
110
|
Z({h:98,g:98},"2");Z({h:99,g:99},"3");Z({h:100,g:100},"4");Z({h:101,g:101},"5");Z({h:102,g:102},"6");Z({h:103,g:103},"7");Z({h:104,g:104},"8");Z({h:105,g:105},"9");Z({h:106,g:106},"*");Z({h:107,g:107},"+");Z({h:109,g:109},"-");Z({h:110,g:110},".");Z({h:111,g: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({h:107,g:187},"=","+");Z(108,",");Z({h:109,g:189},"-","_");Z(188,",","<");Z(190,".",">");Z(191,"/","?");Z(192,"`","~");Z(219,"[","{");
|
|
111
111
|
Z(220,"\\","|");Z(221,"]","}");Z({h:59,g:186},";",":");Z(222,"'",'"');var Zc=new Rc;Zc.set(1,Vc);Zc.set(2,Wc);Zc.set(4,Xc);Zc.set(8,Yc);(function(a){var b=new Rc;n(Sc(a),function(c){b.set(a.get(c).code,c)});return b})(Zc);function $c(a,b){a:if("scroll"==Bc(a,b)){if(a.scrollIntoView&&(a.scrollIntoView(),"none"==Bc(a,b)))break a;for(var c=Cc(a,b),d=yc(a);d;d=yc(d)){var e=d,f=Dc(e);var g=e;var l=xc(g,"borderLeftWidth");var k=xc(g,"borderRightWidth");var q=xc(g,"borderTopWidth");g=xc(g,"borderBottomWidth");k=new wc(parseFloat(q),parseFloat(k),parseFloat(g),parseFloat(l));l=c.a-f.a-k.a;f=c.b-f.b-k.b;k=e.clientHeight+c.b-c.c;e.scrollLeft+=Math.min(l,Math.max(l-(e.clientWidth+c.a-c.f),0));e.scrollTop+=Math.min(f,Math.max(f-
|
|
112
|
-
k,0))}Bc(a,b)}a=Cc(a,b);return new y(a.a,a.b)};ca("_",function(a,b){a=[a];try{var c;b?c=Jc(b.WINDOW):c=window;var d=Ic(a,c.document),e=$c.apply(null,d);var f={status:0,value:Gc(e)}}catch(g){f={status:u(g,"code")?g.code:13,value:{message:g.message}}}return Fc(f)});; return this._.apply(null,arguments);}).apply(
|
|
112
|
+
k,0))}Bc(a,b)}a=Cc(a,b);return new y(a.a,a.b)};ca("_",function(a,b){a=[a];try{var c;b?c=Jc(b.WINDOW):c=window;var d=Ic(a,c.document),e=$c.apply(null,d);var f={status:0,value:Gc(e)}}catch(g){f={status:u(g,"code")?g.code:13,value:{message:g.message}}}return Fc(f)});; return this._.apply(null,arguments);}).apply(window, arguments);}
|