summaryrefslogtreecommitdiff
path: root/miniany/doc/Můžeme věřit překladačům_ Projekty řešící schéma „důvěřivé důvěry“ - Root.cz_files/saved_resource(1)
blob: 067234830448a6851ddff3d5e68d40e24cffdc32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
(function(){var z=window.Adform=window.Adform||{};var aa=Object.prototype.toString,ca=Object.prototype.hasOwnProperty;function G(a,b){if(null!=a)if(a.forEach)a.forEach(b);else for(var c=0;c<a.length;c++)b(a[c],c,a)}function da(a,b,c){return c()?a+"="+b:""}function ea(a,b){null!=b&&""!=b&&a.push(b)}function fa(a){return L(a)&&"[object Array]"==aa.call(a)}function ha(a){return L(a)&&"[object Object]"==aa.call(a)}function la(a){return L(a)&&"[object String]"==aa.call(a)}function ma(a){return!isNaN(parseFloat(a))&&isFinite(a)}
function L(a){return"undefined"!=typeof a}function na(a){return a=(-1!=a.indexOf("%")?a:encodeURIComponent(a)).replace(/\+/g,"%2B")};var oa=window.document,pa=window.location,Ea={setCookie:qa,readCookie:ra,isOptedOut:ta,readCookieSafely:ua,setCookieSafely:va,eraseCookie:wa,setFPCookie:xa,readFPCookie:ya,getQSParam:za,processFirstPartyCookie:Aa,redirectBack:Ba,optOutForNumberOfDays:Ca,optOut:Da};function qa(a,b,c,e,f){var h="";c&&(h=new Date,h.setTime(h.getTime()+864E5*c),h="; expires="+h.toGMTString());try{oa.cookie=a+"="+b+h+"; path=/; "+(e?"domain="+e+"; ":"")+(f?f:"")}catch(r){}}
function ra(a){a+="=";var b=[];try{b=oa.cookie.split(";")}catch(f){}for(var c=0;c<b.length;c++){for(var e=b[c];" "==e.charAt(0);)e=e.substring(1,e.length);if(0==e.indexOf(a))return e.substring(a.length,e.length)}return null}function ta(){return"1"==ra("adfoptout")}function ua(a){return ta()?null:ra(a)}function va(a,b,c,e){ta()||qa(a,b,c,e)}function wa(a,b){b?qa(a,"",-1,b):qa(a,"",-1)}function xa(a,b){va("adfcid",a,60,b)}function ya(){var a=ua("adfcid");return L(a)&&a?a:0}
function za(a,b){try{var c=L(b)&&b?b:pa.search;if(!c)return null;"?"==c[0]&&(c=c.substring(1));var e=c.split("&");for(c=0;c<e.length;c++){var f=e[c];if(f){var h=f.split("=");if(1<h.length&&h[0].toLowerCase()==a.toLowerCase())return decodeURIComponent(h[1])}}}catch(r){}return null}function Aa(a){var b=za("uid"),c=za("rdir"),e=za("domain"),f=0,h=0;if(ta())f=3;else if(h=ya(),h=L(h)&&h?h:b)xa(h,e),f=(b=ya())&&b==h?1:2;(c=L(c)&&c?c.replace("{fpcid}",h).replace("{fpcon}",f):a)&&Ba(c)}
function Ba(a){a&&(oa.location.href=a)}function Ca(a,b){qa("adfoptout","1",b,a);wa("adfcid",a)}function Da(a){Ca(a,730)};var Fa=window.document;function Ga(a){a=a.src;var b=Fa.createElement("a");b.href=a;a=b.hostname;if(Ha(a))return a}function Ha(a){a=(a||"").split(".");return{adform:1,adformdsp:1,seadform:1,adfnet:1}[a[a.length-2]]};var Ia=/adfcd=([0-9]+\.[a-zA-Z0-9_-]+\.[a-zA-Z0-9_-]+)/,Ja=window.top,Ka=window.document,La={"http:":1,"https:":1,"file:":1},Na=Ma(window),Oa,Pa;try{Pa=Ja.document.referrer}catch(a){Pa=Ka.referrer}Oa=Pa||"";var Qa=Na.replace(Ia,""),Ra=Oa.replace(Ia,""),Sa={location:Na,referrer:Oa,loc:Qa,CPref:Ra,isAdformHost:Ha};function Ma(a){try{var b=a.location;var c=b.href;var e=b.protocol;var f=b.hostname}catch(h){return""}return!La[e]||Ha(f)&&a!==a.top?a!==a.parent?Ma(window.parent):"":c};/*
 CryptoJS v3.1.2
code.google.com/p/crypto-js
(c) 2009-2013 by Jeff Mott. All rights reserved.
code.google.com/p/crypto-js/wiki/License
*/
window.Adform=window.Adform||{};
window.Adform.CryptoJS=window.Adform.CryptoJS||function(a,b){function c(){}var e={},f=e.lib={},h=f.Base={extend:function(a){c.prototype=this;var b=new c;a&&b.mixIn(a);b.hasOwnProperty("init")||(b.init=function(){b.$super.init.apply(this,arguments)});b.init.prototype=b;b.$super=this;return b},create:function(){var a=this.extend();a.init.apply(a,arguments);return a},init:function(){},mixIn:function(a){for(var c in a)a.hasOwnProperty(c)&&(this[c]=a[c]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},
clone:function(){return this.init.prototype.extend(this)}},r=f.WordArray=h.extend({init:function(a,c){a=this.words=a||[];this.sigBytes=c!=b?c:4*a.length},toString:function(a){return(a||w).stringify(this)},concat:function(a){var c=this.words,b=a.words,e=this.sigBytes;a=a.sigBytes;this.clamp();if(e%4)for(var f=0;f<a;f++)c[e+f>>>2]|=(b[f>>>2]>>>24-f%4*8&255)<<24-(e+f)%4*8;else if(65535<b.length)for(f=0;f<a;f+=4)c[e+f>>>2]=b[f>>>2];else c.push.apply(c,b);this.sigBytes+=a;return this},clamp:function(){var c=
this.words,b=this.sigBytes;c[b>>>2]&=4294967295<<32-b%4*8;c.length=a.ceil(b/4)},clone:function(){var a=h.clone.call(this);a.words=this.words.slice(0);return a},random:function(c){for(var b=[],e=0;e<c;e+=4)b.push(4294967296*a.random()|0);return new r.init(b,c)}}),x=e.enc={},w=x.Hex={stringify:function(a){var c=a.words;a=a.sigBytes;for(var b=[],e=0;e<a;e++){var f=c[e>>>2]>>>24-e%4*8&255;b.push((f>>>4).toString(16));b.push((f&15).toString(16))}return b.join("")},parse:function(a){for(var c=a.length,
b=[],e=0;e<c;e+=2)b[e>>>3]|=parseInt(a.substr(e,2),16)<<24-e%8*4;return new r.init(b,c/2)}},l=x.Latin1={stringify:function(a){var c=a.words;a=a.sigBytes;for(var b=[],e=0;e<a;e++)b.push(String.fromCharCode(c[e>>>2]>>>24-e%4*8&255));return b.join("")},parse:function(a){for(var c=a.length,b=[],e=0;e<c;e++)b[e>>>2]|=(a.charCodeAt(e)&255)<<24-e%4*8;return new r.init(b,c)}},A=x.Utf8={stringify:function(a){try{return decodeURIComponent(escape(l.stringify(a)))}catch(T){throw Error("Malformed UTF-8 data");
}},parse:function(a){return l.parse(unescape(encodeURIComponent(a)))}},J=f.BufferedBlockAlgorithm=h.extend({reset:function(){this._data=new r.init;this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=A.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes},_process:function(c){var b=this._data,e=b.words,f=b.sigBytes,h=this.blockSize,l=f/(4*h);l=c?a.ceil(l):a.max((l|0)-this._minBufferSize,0);c=l*h;f=a.min(4*c,f);if(c){for(var I=0;I<c;I+=h)this._doProcessBlock(e,I);I=e.splice(0,c);b.sigBytes-=
f}return new r.init(I,f)},clone:function(){var a=h.clone.call(this);a._data=this._data.clone();return a},_minBufferSize:0});f.Hasher=J.extend({cfg:h.extend(),init:function(a){this.cfg=this.cfg.extend(a);this.reset()},reset:function(){J.reset.call(this);this._doReset()},update:function(a){this._append(a);this._process();return this},finalize:function(a){a&&this._append(a);return this._doFinalize()},blockSize:16,_createHelper:function(a){return function(c,b){return(new a.init(b)).finalize(c)}},_createHmacHelper:function(a){return function(c,
b){return(new E.HMAC.init(a,b)).finalize(c)}}});var E=e.algo={};return e}(Math);(function(a){function b(a,c,b,e,f,h,l){a=a+(c&b|~c&e)+f+l;return(a<<h|a>>>32-h)+c}function c(a,c,b,e,f,h,l){a=a+(c&e|b&~e)+f+l;return(a<<h|a>>>32-h)+c}function e(a,c,b,e,f,h,l){a=a+(c^b^e)+f+l;return(a<<h|a>>>32-h)+c}function f(a,c,b,e,f,h,l){a=a+(b^(c|~e))+f+l;return(a<<h|a>>>32-h)+c}var h=window.Adform.CryptoJS,r=h.lib,x=r.WordArray,w=r.Hasher;r=h.algo;for(var l=[],A=0;64>A;A++)l[A]=4294967296*a.abs(a.sin(A+1))|0;r=r.MD5=w.extend({_doReset:function(){this._hash=new x.init([1732584193,4023233417,
2562383102,271733878])},_doProcessBlock:function(a,h){for(var r=0;16>r;r++){var w=h+r,x=a[w];a[w]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}r=this._hash.words;w=a[h+0];x=a[h+1];var P=a[h+2],A=a[h+3],J=a[h+4],E=a[h+5],V=a[h+6],K=a[h+7],H=a[h+8],ba=a[h+9],ja=a[h+10],B=a[h+11],W=a[h+12],F=a[h+13],M=a[h+14],ka=a[h+15],q=r[0],m=r[1],p=r[2],t=r[3];q=b(q,m,p,t,w,7,l[0]);t=b(t,q,m,p,x,12,l[1]);p=b(p,t,q,m,P,17,l[2]);m=b(m,p,t,q,A,22,l[3]);q=b(q,m,p,t,J,7,l[4]);t=b(t,q,m,p,E,12,l[5]);p=b(p,t,q,m,V,17,
l[6]);m=b(m,p,t,q,K,22,l[7]);q=b(q,m,p,t,H,7,l[8]);t=b(t,q,m,p,ba,12,l[9]);p=b(p,t,q,m,ja,17,l[10]);m=b(m,p,t,q,B,22,l[11]);q=b(q,m,p,t,W,7,l[12]);t=b(t,q,m,p,F,12,l[13]);p=b(p,t,q,m,M,17,l[14]);m=b(m,p,t,q,ka,22,l[15]);q=c(q,m,p,t,x,5,l[16]);t=c(t,q,m,p,V,9,l[17]);p=c(p,t,q,m,B,14,l[18]);m=c(m,p,t,q,w,20,l[19]);q=c(q,m,p,t,E,5,l[20]);t=c(t,q,m,p,ja,9,l[21]);p=c(p,t,q,m,ka,14,l[22]);m=c(m,p,t,q,J,20,l[23]);q=c(q,m,p,t,ba,5,l[24]);t=c(t,q,m,p,M,9,l[25]);p=c(p,t,q,m,A,14,l[26]);m=c(m,p,t,q,H,20,l[27]);
q=c(q,m,p,t,F,5,l[28]);t=c(t,q,m,p,P,9,l[29]);p=c(p,t,q,m,K,14,l[30]);m=c(m,p,t,q,W,20,l[31]);q=e(q,m,p,t,E,4,l[32]);t=e(t,q,m,p,H,11,l[33]);p=e(p,t,q,m,B,16,l[34]);m=e(m,p,t,q,M,23,l[35]);q=e(q,m,p,t,x,4,l[36]);t=e(t,q,m,p,J,11,l[37]);p=e(p,t,q,m,K,16,l[38]);m=e(m,p,t,q,ja,23,l[39]);q=e(q,m,p,t,F,4,l[40]);t=e(t,q,m,p,w,11,l[41]);p=e(p,t,q,m,A,16,l[42]);m=e(m,p,t,q,V,23,l[43]);q=e(q,m,p,t,ba,4,l[44]);t=e(t,q,m,p,W,11,l[45]);p=e(p,t,q,m,ka,16,l[46]);m=e(m,p,t,q,P,23,l[47]);q=f(q,m,p,t,w,6,l[48]);t=
f(t,q,m,p,K,10,l[49]);p=f(p,t,q,m,M,15,l[50]);m=f(m,p,t,q,E,21,l[51]);q=f(q,m,p,t,W,6,l[52]);t=f(t,q,m,p,A,10,l[53]);p=f(p,t,q,m,ja,15,l[54]);m=f(m,p,t,q,x,21,l[55]);q=f(q,m,p,t,H,6,l[56]);t=f(t,q,m,p,ka,10,l[57]);p=f(p,t,q,m,V,15,l[58]);m=f(m,p,t,q,F,21,l[59]);q=f(q,m,p,t,J,6,l[60]);t=f(t,q,m,p,B,10,l[61]);p=f(p,t,q,m,P,15,l[62]);m=f(m,p,t,q,ba,21,l[63]);r[0]=r[0]+q|0;r[1]=r[1]+m|0;r[2]=r[2]+p|0;r[3]=r[3]+t|0},_doFinalize:function(){var c=this._data,b=c.words,e=8*this._nDataBytes,f=8*c.sigBytes;
b[f>>>5]|=128<<24-f%32;var h=a.floor(e/4294967296);b[(f+64>>>9<<4)+15]=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360;b[(f+64>>>9<<4)+14]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360;c.sigBytes=4*(b.length+1);this._process();c=this._hash;b=c.words;for(e=0;4>e;e++)f=b[e],b[e]=(f<<8|f>>>24)&16711935|(f<<24|f>>>8)&4278255360;return c},clone:function(){var a=w.clone.call(this);a._hash=this._hash.clone();return a}});h.MD5=w._createHelper(r);h.HmacMD5=w._createHmacHelper(r)})(Math);(function(a){function b(a){return 4294967296*(a-(a|0))|0}var c=window.Adform.CryptoJS,e=c.lib,f=e.WordArray,h=e.Hasher;e=c.algo;for(var r=[],x=[],w=2,l=0;64>l;){a:{var A=w;for(var J=a.sqrt(A),E=2;E<=J;E++)if(!(A%E)){A=!1;break a}A=!0}A&&(8>l&&(r[l]=b(a.pow(w,.5))),x[l]=b(a.pow(w,1/3)),l++);w++}var I=[];e=e.SHA256=h.extend({_doReset:function(){this._hash=new f.init(r.slice(0))},_doProcessBlock:function(a,c){for(var b=this._hash.words,e=b[0],f=b[1],h=b[2],l=b[3],r=b[4],w=b[5],A=b[6],J=b[7],B=0;64>B;B++){if(16>
B)I[B]=a[c+B]|0;else{var E=I[B-15],F=I[B-2];I[B]=((E<<25|E>>>7)^(E<<14|E>>>18)^E>>>3)+I[B-7]+((F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10)+I[B-16]}E=J+((r<<26|r>>>6)^(r<<21|r>>>11)^(r<<7|r>>>25))+(r&w^~r&A)+x[B]+I[B];F=((e<<30|e>>>2)^(e<<19|e>>>13)^(e<<10|e>>>22))+(e&f^e&h^f&h);J=A;A=w;w=r;r=l+E|0;l=h;h=f;f=e;e=E+F|0}b[0]=b[0]+e|0;b[1]=b[1]+f|0;b[2]=b[2]+h|0;b[3]=b[3]+l|0;b[4]=b[4]+r|0;b[5]=b[5]+w|0;b[6]=b[6]+A|0;b[7]=b[7]+J|0},_doFinalize:function(){var c=this._data,b=c.words,e=8*this._nDataBytes,f=8*c.sigBytes;
b[f>>>5]|=128<<24-f%32;b[(f+64>>>9<<4)+14]=a.floor(e/4294967296);b[(f+64>>>9<<4)+15]=e;c.sigBytes=4*b.length;this._process();return this._hash},clone:function(){var a=h.clone.call(this);a._hash=this._hash.clone();return a}});c.SHA256=h._createHelper(e);c.HmacSHA256=h._createHmacHelper(e)})(Math);/*
 JSEncrypt v2.3.1 | https://npmcdn.com/jsencrypt@2.3.1/LICENSE.txt  asn1-1.0.2.js (c) 2013 Kenji Urushima | kjur.github.com/jsrsasign/license
 <a href="http://kjur.github.io/jsrsasign/license/">MIT License</a>
*/
(function(){function a(d){d=d||{};this.default_key_size=parseInt(d.default_key_size)||1024;this.default_public_exponent=d.default_public_exponent||"010001";this.log=d.log||!1;this.key=null}function b(d){H.call(this);d&&("string"===typeof d?this.parseKey(d):(this.hasPrivateKeyProperty(d)||this.hasPublicKeyProperty(d))&&this.parsePropertiesFrom(d))}function c(d,k,a){null!=d&&("number"==typeof d?this.fromNumber(d,k,a):null==k&&"string"!=typeof d?this.fromString(d,256):this.fromString(d,k))}function e(){return new c(null)}
function f(d,k,a,c,b,e){for(;0<=--e;){var g=k*this[d++]+a[c]+b;b=Math.floor(g/67108864);a[c++]=g&67108863}return b}function h(d,a,g,c,b,e){var k=a&32767;for(a>>=15;0<=--e;){var Q=this[d]&32767,y=this[d++]>>15,C=a*Q+y*k;Q=k*Q+((C&32767)<<15)+g[c]+(b&1073741823);b=(Q>>>30)+(C>>>15)+a*y+(b>>>30);g[c++]=Q&1073741823}return b}function r(d,a,g,c,b,e){var k=a&16383;for(a>>=14;0<=--e;){var Q=this[d]&16383,y=this[d++]>>14,C=a*Q+y*k;Q=k*Q+((C&16383)<<14)+g[c]+b;b=(Q>>28)+(C>>14)+a*y;g[c++]=Q&268435455}return b}
function x(d,a){var k=W[d.charCodeAt(a)];return null==k?-1:k}function w(d){var a=e();a.fromInt(d);return a}function l(d){var a=1,g;0!=(g=d>>>16)&&(d=g,a+=16);0!=(g=d>>8)&&(d=g,a+=8);0!=(g=d>>4)&&(d=g,a+=4);0!=(g=d>>2)&&(d=g,a+=2);0!=d>>1&&(a+=1);return a}function A(d){this.m=d}function J(d){this.m=d;this.mp=d.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<<d.DB-15)-1;this.mt2=2*d.t}function E(d,a){return d&a}function I(d,a){return d|a}function T(d,a){return d^a}function U(d,a){return d&
~a}function P(){}function sa(d){return d}function ia(d){this.r2=e();this.q3=e();c.ONE.dlShiftTo(2*d.t,this.r2);this.mu=this.r2.divide(d);this.m=d}function Va(){this.j=this.i=0;this.S=[]}function V(){}function K(d,a){return new c(d,a)}function H(){this.n=null;this.e=0;this.coeff=this.dmq1=this.dmp1=this.q=this.p=this.d=null}function ba(d){var a,g="";for(a=0;a+3<=d.length;a+=3){var c=parseInt(d.substring(a,a+3),16);g+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(c>>6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(c&
63)}a+1==d.length?(c=parseInt(d.substring(a,a+1),16),g+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(c<<2)):a+2==d.length&&(c=parseInt(d.substring(a,a+2),16),g+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(c>>2)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((c&3)<<4));for(;0<(g.length&3);)g+="=";return g}function ja(d){var a="",g,c=0;for(g=0;g<d.length&&"="!=d.charAt(g);++g)if(v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(d.charAt(g)),
!(0>v))if(0==c){a+="0123456789abcdefghijklmnopqrstuvwxyz".charAt(v>>2);var b=v&3;c=1}else 1==c?(a+="0123456789abcdefghijklmnopqrstuvwxyz".charAt(b<<2|v>>4),b=v&15,c=2):2==c?(a+="0123456789abcdefghijklmnopqrstuvwxyz".charAt(b),a+="0123456789abcdefghijklmnopqrstuvwxyz".charAt(v>>2),b=v&3,c=3):(a+="0123456789abcdefghijklmnopqrstuvwxyz".charAt(b<<2|v>>4),a+="0123456789abcdefghijklmnopqrstuvwxyz".charAt(v&15),c=0);1==c&&(a+="0123456789abcdefghijklmnopqrstuvwxyz".charAt(b<<2));return a}window.Adform=window.Adform||
{};window.Adform.JSEncryptHelpers={};if("Microsoft Internet Explorer"==navigator.appName){c.prototype.am=h;var B=30}else"Netscape"!=navigator.appName?(c.prototype.am=f,B=26):(c.prototype.am=r,B=28);c.prototype.DB=B;c.prototype.DM=(1<<B)-1;c.prototype.DV=1<<B;c.prototype.FV=Math.pow(2,52);c.prototype.F1=52-B;c.prototype.F2=2*B-52;var W=[],F;B=48;for(F=0;9>=F;++F)W[B++]=F;B=97;for(F=10;36>F;++F)W[B++]=F;B=65;for(F=10;36>F;++F)W[B++]=F;A.prototype.convert=function(d){return 0>d.s||0<=d.compareTo(this.m)?
d.mod(this.m):d};A.prototype.revert=function(d){return d};A.prototype.reduce=function(d){d.divRemTo(this.m,null,d)};A.prototype.mulTo=function(d,a,g){d.multiplyTo(a,g);this.reduce(g)};A.prototype.sqrTo=function(d,a){d.squareTo(a);this.reduce(a)};J.prototype.convert=function(d){var a=e();d.abs().dlShiftTo(this.m.t,a);a.divRemTo(this.m,null,a);0>d.s&&0<a.compareTo(c.ZERO)&&this.m.subTo(a,a);return a};J.prototype.revert=function(d){var a=e();d.copyTo(a);this.reduce(a);return a};J.prototype.reduce=function(d){for(;d.t<=
this.mt2;)d[d.t++]=0;for(var a=0;a<this.m.t;++a){var g=d[a]&32767,c=g*this.mpl+((g*this.mph+(d[a]>>15)*this.mpl&this.um)<<15)&d.DM;g=a+this.m.t;for(d[g]+=this.m.am(0,c,d,a,0,this.m.t);d[g]>=d.DV;)d[g]-=d.DV,d[++g]++}d.clamp();d.drShiftTo(this.m.t,d);0<=d.compareTo(this.m)&&d.subTo(this.m,d)};J.prototype.mulTo=function(d,a,g){d.multiplyTo(a,g);this.reduce(g)};J.prototype.sqrTo=function(d,a){d.squareTo(a);this.reduce(a)};c.prototype.copyTo=function(d){for(var a=this.t-1;0<=a;--a)d[a]=this[a];d.t=this.t;
d.s=this.s};c.prototype.fromInt=function(d){this.t=1;this.s=0>d?-1:0;0<d?this[0]=d:-1>d?this[0]=d+this.DV:this.t=0};c.prototype.fromString=function(d,a){if(16==a)var g=4;else if(8==a)g=3;else if(256==a)g=8;else if(2==a)g=1;else if(32==a)g=5;else if(4==a)g=2;else{this.fromRadix(d,a);return}this.s=this.t=0;for(var k=d.length,b=!1,e=0;0<=--k;){var u=8==g?d[k]&255:x(d,k);0>u?"-"==d.charAt(k)&&(b=!0):(b=!1,0==e?this[this.t++]=u:e+g>this.DB?(this[this.t-1]|=(u&(1<<this.DB-e)-1)<<e,this[this.t++]=u>>this.DB-
e):this[this.t-1]|=u<<e,e+=g,e>=this.DB&&(e-=this.DB))}8==g&&0!=(d[0]&128)&&(this.s=-1,0<e&&(this[this.t-1]|=(1<<this.DB-e)-1<<e));this.clamp();b&&c.ZERO.subTo(this,this)};c.prototype.clamp=function(){for(var d=this.s&this.DM;0<this.t&&this[this.t-1]==d;)--this.t};c.prototype.dlShiftTo=function(d,a){var g;for(g=this.t-1;0<=g;--g)a[g+d]=this[g];for(g=d-1;0<=g;--g)a[g]=0;a.t=this.t+d;a.s=this.s};c.prototype.drShiftTo=function(d,a){for(var g=d;g<this.t;++g)a[g-d]=this[g];a.t=Math.max(this.t-d,0);a.s=
this.s};c.prototype.lShiftTo=function(d,a){var g=d%this.DB,k=this.DB-g,c=(1<<k)-1,b=Math.floor(d/this.DB),e=this.s<<g&this.DM,n;for(n=this.t-1;0<=n;--n)a[n+b+1]=this[n]>>k|e,e=(this[n]&c)<<g;for(n=b-1;0<=n;--n)a[n]=0;a[b]=e;a.t=this.t+b+1;a.s=this.s;a.clamp()};c.prototype.rShiftTo=function(d,a){a.s=this.s;var g=Math.floor(d/this.DB);if(g>=this.t)a.t=0;else{var k=d%this.DB,c=this.DB-k,b=(1<<k)-1;a[0]=this[g]>>k;for(var e=g+1;e<this.t;++e)a[e-g-1]|=(this[e]&b)<<c,a[e-g]=this[e]>>k;0<k&&(a[this.t-g-
1]|=(this.s&b)<<c);a.t=this.t-g;a.clamp()}};c.prototype.subTo=function(d,a){for(var g=0,k=0,c=Math.min(d.t,this.t);g<c;)k+=this[g]-d[g],a[g++]=k&this.DM,k>>=this.DB;if(d.t<this.t){for(k-=d.s;g<this.t;)k+=this[g],a[g++]=k&this.DM,k>>=this.DB;k+=this.s}else{for(k+=this.s;g<d.t;)k-=d[g],a[g++]=k&this.DM,k>>=this.DB;k-=d.s}a.s=0>k?-1:0;-1>k?a[g++]=this.DV+k:0<k&&(a[g++]=k);a.t=g;a.clamp()};c.prototype.multiplyTo=function(d,a){var g=this.abs(),k=d.abs(),b=g.t;for(a.t=b+k.t;0<=--b;)a[b]=0;for(b=0;b<k.t;++b)a[b+
g.t]=g.am(0,k[b],a,b,0,g.t);a.s=0;a.clamp();this.s!=d.s&&c.ZERO.subTo(a,a)};c.prototype.squareTo=function(d){for(var a=this.abs(),g=d.t=2*a.t;0<=--g;)d[g]=0;for(g=0;g<a.t-1;++g){var c=a.am(g,a[g],d,2*g,0,1);(d[g+a.t]+=a.am(g+1,2*a[g],d,2*g+1,c,a.t-g-1))>=a.DV&&(d[g+a.t]-=a.DV,d[g+a.t+1]=1)}0<d.t&&(d[d.t-1]+=a.am(g,a[g],d,2*g,0,1));d.s=0;d.clamp()};c.prototype.divRemTo=function(a,k,g){var d=a.abs();if(!(0>=d.t)){var b=this.abs();if(b.t<d.t)null!=k&&k.fromInt(0),null!=g&&this.copyTo(g);else{null==g&&
(g=e());var C=e(),u=this.s;a=a.s;var n=this.DB-l(d[d.t-1]);0<n?(d.lShiftTo(n,C),b.lShiftTo(n,g)):(d.copyTo(C),b.copyTo(g));d=C.t;b=C[d-1];if(0!=b){var f=b*(1<<this.F1)+(1<d?C[d-2]>>this.F2:0),h=this.FV/f;f=(1<<this.F1)/f;var r=1<<this.F2,p=g.t,m=p-d,q=null==k?e():k;C.dlShiftTo(m,q);0<=g.compareTo(q)&&(g[g.t++]=1,g.subTo(q,g));c.ONE.dlShiftTo(d,q);for(q.subTo(C,C);C.t<d;)C[C.t++]=0;for(;0<=--m;){var t=g[--p]==b?this.DM:Math.floor(g[p]*h+(g[p-1]+r)*f);if((g[p]+=C.am(0,t,g,m,0,d))<t)for(C.dlShiftTo(m,
q),g.subTo(q,g);g[p]<--t;)g.subTo(q,g)}null!=k&&(g.drShiftTo(d,k),u!=a&&c.ZERO.subTo(k,k));g.t=d;g.clamp();0<n&&g.rShiftTo(n,g);0>u&&c.ZERO.subTo(g,g)}}}};c.prototype.invDigit=function(){if(1>this.t)return 0;var d=this[0];if(0==(d&1))return 0;var a=d&3;a=a*(2-(d&15)*a)&15;a=a*(2-(d&255)*a)&255;a=a*(2-((d&65535)*a&65535))&65535;a=a*(2-d*a%this.DV)%this.DV;return 0<a?this.DV-a:-a};c.prototype.isEven=function(){return 0==(0<this.t?this[0]&1:this.s)};c.prototype.exp=function(a,k){if(4294967295<a||1>a)return c.ONE;
var d=e(),b=e(),y=k.convert(this),C=l(a)-1;for(y.copyTo(d);0<=--C;)if(k.sqrTo(d,b),0<(a&1<<C))k.mulTo(b,y,d);else{var u=d;d=b;b=u}return k.revert(d)};c.prototype.toString=function(a){if(0>this.s)return"-"+this.negate().toString(a);if(16==a)a=4;else if(8==a)a=3;else if(2==a)a=1;else if(32==a)a=5;else if(4==a)a=2;else return this.toRadix(a);var d=(1<<a)-1,g,c=!1,b="",e=this.t,u=this.DB-e*this.DB%a;if(0<e--)for(u<this.DB&&0<(g=this[e]>>u)&&(c=!0,b="0123456789abcdefghijklmnopqrstuvwxyz".charAt(g));0<=
e;)u<a?(g=(this[e]&(1<<u)-1)<<a-u,g|=this[--e]>>(u+=this.DB-a)):(g=this[e]>>(u-=a)&d,0>=u&&(u+=this.DB,--e)),0<g&&(c=!0),c&&(b+="0123456789abcdefghijklmnopqrstuvwxyz".charAt(g));return c?b:"0"};c.prototype.negate=function(){var a=e();c.ZERO.subTo(this,a);return a};c.prototype.abs=function(){return 0>this.s?this.negate():this};c.prototype.compareTo=function(a){var d=this.s-a.s;if(0!=d)return d;var g=this.t;d=g-a.t;if(0!=d)return 0>this.s?-d:d;for(;0<=--g;)if(0!=(d=this[g]-a[g]))return d;return 0};
c.prototype.bitLength=function(){return 0>=this.t?0:this.DB*(this.t-1)+l(this[this.t-1]^this.s&this.DM)};c.prototype.mod=function(a){var d=e();this.abs().divRemTo(a,null,d);0>this.s&&0<d.compareTo(c.ZERO)&&a.subTo(d,d);return d};c.prototype.modPowInt=function(a,c){var d=256>a||c.isEven()?new A(c):new J(c);return this.exp(a,d)};c.ZERO=w(0);c.ONE=w(1);P.prototype.convert=sa;P.prototype.revert=sa;P.prototype.mulTo=function(a,c,g){a.multiplyTo(c,g)};P.prototype.sqrTo=function(a,c){a.squareTo(c)};ia.prototype.convert=
function(a){if(0>a.s||a.t>2*this.m.t)return a.mod(this.m);if(0>a.compareTo(this.m))return a;var d=e();a.copyTo(d);this.reduce(d);return d};ia.prototype.revert=function(a){return a};ia.prototype.reduce=function(a){a.drShiftTo(this.m.t-1,this.r2);a.t>this.m.t+1&&(a.t=this.m.t+1,a.clamp());this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);for(this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);0>a.compareTo(this.r2);)a.dAddOffset(1,this.m.t+1);for(a.subTo(this.r2,a);0<=a.compareTo(this.m);)a.subTo(this.m,
a)};ia.prototype.mulTo=function(a,c,g){a.multiplyTo(c,g);this.reduce(g)};ia.prototype.sqrTo=function(a,c){a.squareTo(c);this.reduce(c)};var M=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,
521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],ka=67108864/M[M.length-1];c.prototype.chunkSize=function(a){return Math.floor(Math.LN2*this.DB/Math.log(a))};c.prototype.toRadix=function(a){null==a&&(a=10);if(0==this.signum()||2>a||36<a)return"0";var d=this.chunkSize(a);
d=Math.pow(a,d);var g=w(d),c=e(),b=e(),C="";for(this.divRemTo(g,c,b);0<c.signum();)C=(d+b.intValue()).toString(a).substr(1)+C,c.divRemTo(g,c,b);return b.intValue().toString(a)+C};c.prototype.fromRadix=function(a,b){this.fromInt(0);null==b&&(b=10);for(var d=this.chunkSize(b),k=Math.pow(b,d),e=!1,C=0,u=0,n=0;n<a.length;++n){var f=x(a,n);0>f?"-"==a.charAt(n)&&0==this.signum()&&(e=!0):(u=b*u+f,++C>=d&&(this.dMultiply(k),this.dAddOffset(u,0),u=C=0))}0<C&&(this.dMultiply(Math.pow(b,C)),this.dAddOffset(u,
0));e&&c.ZERO.subTo(this,this)};c.prototype.fromNumber=function(a,b,g){if("number"==typeof b)if(2>a)this.fromInt(1);else for(this.fromNumber(a,g),this.testBit(a-1)||this.bitwiseTo(c.ONE.shiftLeft(a-1),I,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(b);)this.dAddOffset(2,0),this.bitLength()>a&&this.subTo(c.ONE.shiftLeft(a-1),this);else{g=[];var d=a&7;g.length=(a>>3)+1;b.nextBytes(g);g[0]=0<d?g[0]&(1<<d)-1:0;this.fromString(g,256)}};c.prototype.bitwiseTo=function(a,c,g){var d,b=Math.min(a.t,
this.t);for(d=0;d<b;++d)g[d]=c(this[d],a[d]);if(a.t<this.t){var k=a.s&this.DM;for(d=b;d<this.t;++d)g[d]=c(this[d],k);g.t=this.t}else{k=this.s&this.DM;for(d=b;d<a.t;++d)g[d]=c(k,a[d]);g.t=a.t}g.s=c(this.s,a.s);g.clamp()};c.prototype.changeBit=function(a,b){var d=c.ONE.shiftLeft(a);this.bitwiseTo(d,b,d);return d};c.prototype.addTo=function(a,c){for(var d=0,b=0,k=Math.min(a.t,this.t);d<k;)b+=this[d]+a[d],c[d++]=b&this.DM,b>>=this.DB;if(a.t<this.t){for(b+=a.s;d<this.t;)b+=this[d],c[d++]=b&this.DM,b>>=
this.DB;b+=this.s}else{for(b+=this.s;d<a.t;)b+=a[d],c[d++]=b&this.DM,b>>=this.DB;b+=a.s}c.s=0>b?-1:0;0<b?c[d++]=b:-1>b&&(c[d++]=this.DV+b);c.t=d;c.clamp()};c.prototype.dMultiply=function(a){this[this.t]=this.am(0,a-1,this,0,0,this.t);++this.t;this.clamp()};c.prototype.dAddOffset=function(a,c){if(0!=a){for(;this.t<=c;)this[this.t++]=0;for(this[c]+=a;this[c]>=this.DV;)this[c]-=this.DV,++c>=this.t&&(this[this.t++]=0),++this[c]}};c.prototype.multiplyLowerTo=function(a,c,g){var d=Math.min(this.t+a.t,c);
g.s=0;for(g.t=d;0<d;)g[--d]=0;var b;for(b=g.t-this.t;d<b;++d)g[d+this.t]=this.am(0,a[d],g,d,0,this.t);for(b=Math.min(a.t,c);d<b;++d)this.am(0,a[d],g,d,0,c-d);g.clamp()};c.prototype.multiplyUpperTo=function(a,c,b){--c;var d=b.t=this.t+a.t-c;for(b.s=0;0<=--d;)b[d]=0;for(d=Math.max(c-this.t,0);d<a.t;++d)b[this.t+d-c]=this.am(c-d,a[d],b,0,0,this.t+d-c);b.clamp();b.drShiftTo(1,b)};c.prototype.modInt=function(a){if(0>=a)return 0;var d=this.DV%a,c=0>this.s?a-1:0;if(0<this.t)if(0==d)c=this[0]%a;else for(var b=
this.t-1;0<=b;--b)c=(d*c+this[b])%a;return c};c.prototype.millerRabin=function(a){var d=this.subtract(c.ONE),b=d.getLowestSetBit();if(0>=b)return!1;var Q=d.shiftRight(b);a=a+1>>1;a>M.length&&(a=M.length);for(var y=e(),f=0;f<a;++f){y.fromInt(M[Math.floor(Math.random()*M.length)]);var u=y.modPow(Q,this);if(0!=u.compareTo(c.ONE)&&0!=u.compareTo(d)){for(var n=1;n++<b&&0!=u.compareTo(d);)if(u=u.modPowInt(2,this),0==u.compareTo(c.ONE))return!1;if(0!=u.compareTo(d))return!1}}return!0};c.prototype.clone=
function(){var a=e();this.copyTo(a);return a};c.prototype.intValue=function(){if(0>this.s){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]};c.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24};c.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16};c.prototype.signum=function(){return 0>this.s?-1:0>=this.t||1==this.t&&0>=this[0]?0:1};c.prototype.toByteArray=
function(){var a=this.t,c=[];c[0]=this.s;var b=this.DB-a*this.DB%8,e,y=0;if(0<a--)for(b<this.DB&&(e=this[a]>>b)!=(this.s&this.DM)>>b&&(c[y++]=e|this.s<<this.DB-b);0<=a;)if(8>b?(e=(this[a]&(1<<b)-1)<<8-b,e|=this[--a]>>(b+=this.DB-8)):(e=this[a]>>(b-=8)&255,0>=b&&(b+=this.DB,--a)),0!=(e&128)&&(e|=-256),0==y&&(this.s&128)!=(e&128)&&++y,0<y||e!=this.s)c[y++]=e;return c};c.prototype.equals=function(a){return 0==this.compareTo(a)};c.prototype.min=function(a){return 0>this.compareTo(a)?this:a};c.prototype.max=
function(a){return 0<this.compareTo(a)?this:a};c.prototype.and=function(a){var d=e();this.bitwiseTo(a,E,d);return d};c.prototype.or=function(a){var d=e();this.bitwiseTo(a,I,d);return d};c.prototype.xor=function(a){var d=e();this.bitwiseTo(a,T,d);return d};c.prototype.andNot=function(a){var d=e();this.bitwiseTo(a,U,d);return d};c.prototype.not=function(){for(var a=e(),c=0;c<this.t;++c)a[c]=this.DM&~this[c];a.t=this.t;a.s=~this.s;return a};c.prototype.shiftLeft=function(a){var d=e();0>a?this.rShiftTo(-a,
d):this.lShiftTo(a,d);return d};c.prototype.shiftRight=function(a){var d=e();0>a?this.lShiftTo(-a,d):this.rShiftTo(a,d);return d};c.prototype.getLowestSetBit=function(){for(var a=0;a<this.t;++a)if(0!=this[a]){var c=a*this.DB;a=this[a];if(0==a)a=-1;else{var b=0;0==(a&65535)&&(a>>=16,b+=16);0==(a&255)&&(a>>=8,b+=8);0==(a&15)&&(a>>=4,b+=4);0==(a&3)&&(a>>=2,b+=2);0==(a&1)&&++b;a=b}return c+a}return 0>this.s?this.t*this.DB:-1};c.prototype.bitCount=function(){for(var a=0,c=this.s&this.DM,b=0;b<this.t;++b){for(var e=
this[b]^c,y=0;0!=e;)e&=e-1,++y;a+=y}return a};c.prototype.testBit=function(a){var d=Math.floor(a/this.DB);return d>=this.t?0!=this.s:0!=(this[d]&1<<a%this.DB)};c.prototype.setBit=function(a){return this.changeBit(a,I)};c.prototype.clearBit=function(a){return this.changeBit(a,U)};c.prototype.flipBit=function(a){return this.changeBit(a,T)};c.prototype.add=function(a){var d=e();this.addTo(a,d);return d};c.prototype.subtract=function(a){var d=e();this.subTo(a,d);return d};c.prototype.multiply=function(a){var d=
e();this.multiplyTo(a,d);return d};c.prototype.divide=function(a){var d=e();this.divRemTo(a,d,null);return d};c.prototype.remainder=function(a){var d=e();this.divRemTo(a,null,d);return d};c.prototype.divideAndRemainder=function(a){var d=e(),b=e();this.divRemTo(a,d,b);return[d,b]};c.prototype.modPow=function(a,b){var d=a.bitLength(),c=w(1);if(0>=d)return c;var k=18>d?1:48>d?3:144>d?4:768>d?5:6;var f=8>d?new A(b):b.isEven()?new ia(b):new J(b);var u=[],n=3,h=k-1,p=(1<<k)-1;u[1]=f.convert(this);if(1<
k)for(d=e(),f.sqrTo(u[1],d);n<=p;)u[n]=e(),f.mulTo(d,u[n-2],u[n]),n+=2;var r=a.t-1,q=!0,m=e();for(d=l(a[r])-1;0<=r;){if(d>=h)var t=a[r]>>d-h&p;else t=(a[r]&(1<<d+1)-1)<<h-d,0<r&&(t|=a[r-1]>>this.DB+d-h);for(n=k;0==(t&1);)t>>=1,--n;0>(d-=n)&&(d+=this.DB,--r);if(q)u[t].copyTo(c),q=!1;else{for(;1<n;)f.sqrTo(c,m),f.sqrTo(m,c),n-=2;0<n?f.sqrTo(c,m):(n=c,c=m,m=n);f.mulTo(m,u[t],c)}for(;0<=r&&0==(a[r]&1<<d);)f.sqrTo(c,m),n=c,c=m,m=n,0>--d&&(d=this.DB-1,--r)}return f.revert(c)};c.prototype.modInverse=function(a){var d=
a.isEven();if(this.isEven()&&d||0==a.signum())return c.ZERO;for(var b=a.clone(),e=this.clone(),y=w(1),f=w(0),u=w(0),n=w(1);0!=b.signum();){for(;b.isEven();)b.rShiftTo(1,b),d?(y.isEven()&&f.isEven()||(y.addTo(this,y),f.subTo(a,f)),y.rShiftTo(1,y)):f.isEven()||f.subTo(a,f),f.rShiftTo(1,f);for(;e.isEven();)e.rShiftTo(1,e),d?(u.isEven()&&n.isEven()||(u.addTo(this,u),n.subTo(a,n)),u.rShiftTo(1,u)):n.isEven()||n.subTo(a,n),n.rShiftTo(1,n);0<=b.compareTo(e)?(b.subTo(e,b),d&&y.subTo(u,y),f.subTo(n,f)):(e.subTo(b,
e),d&&u.subTo(y,u),n.subTo(f,n))}if(0!=e.compareTo(c.ONE))return c.ZERO;if(0<=n.compareTo(a))return n.subtract(a);if(0>n.signum())n.addTo(a,n);else return n;return 0>n.signum()?n.add(a):n};c.prototype.pow=function(a){return this.exp(a,new P)};c.prototype.gcd=function(a){var d=0>this.s?this.negate():this.clone();a=0>a.s?a.negate():a.clone();if(0>d.compareTo(a)){var b=d;d=a;a=b}b=d.getLowestSetBit();var c=a.getLowestSetBit();if(0>c)return d;b<c&&(c=b);0<c&&(d.rShiftTo(c,d),a.rShiftTo(c,a));for(;0<d.signum();)0<
(b=d.getLowestSetBit())&&d.rShiftTo(b,d),0<(b=a.getLowestSetBit())&&a.rShiftTo(b,a),0<=d.compareTo(a)?(d.subTo(a,d),d.rShiftTo(1,d)):(a.subTo(d,a),a.rShiftTo(1,a));0<c&&a.lShiftTo(c,a);return a};c.prototype.isProbablePrime=function(a){var d,b=this.abs();if(1==b.t&&b[0]<=M[M.length-1]){for(d=0;d<M.length;++d)if(b[0]==M[d])return!0;return!1}if(b.isEven())return!1;for(d=1;d<M.length;){for(var c=M[d],e=d+1;e<M.length&&c<ka;)c*=M[e++];for(c=b.modInt(c);d<e;)if(0==c%M[d++])return!1}return b.millerRabin(a)};
c.prototype.square=function(){var a=e();this.squareTo(a);return a};Va.prototype.init=function(a){var d,b;for(d=0;256>d;++d)this.S[d]=d;for(d=b=0;256>d;++d){b=b+this.S[d]+a[d%a.length]&255;var c=this.S[d];this.S[d]=this.S[b];this.S[b]=c}this.j=this.i=0};Va.prototype.next=function(){this.i=this.i+1&255;this.j=this.j+this.S[this.i]&255;var a=this.S[this.i];this.S[this.i]=this.S[this.j];this.S[this.j]=a;return this.S[a+this.S[this.i]&255]};var q;if(null==m){var m=[];var p=0;if(window.crypto&&window.crypto.getRandomValues)for(F=
new Uint32Array(256),window.crypto.getRandomValues(F),B=0;B<F.length;++B)m[p++]=F[B]&255;var t=function(a){this.count=this.count||0;if(256<=this.count||256<=p)window.removeEventListener?window.removeEventListener("mousemove",t,!1):window.detachEvent&&window.detachEvent("onmousemove",t);else try{var d=a.x+a.y;m[p++]=d&255;this.count+=1}catch(g){}};window.addEventListener?window.addEventListener("mousemove",t,!1):window.attachEvent&&window.attachEvent("onmousemove",t)}V.prototype.nextBytes=function(a){var d;
for(d=0;d<a.length;++d){var b=d;if(null==q){for(q=new Va;256>p;){var c=Math.floor(65536*Math.random());m[p++]=c&255}q.init(m);for(p=0;p<m.length;++p)m[p]=0;p=0}c=q.next();a[b]=c}};H.prototype.doPublic=function(a){return a.modPowInt(this.e,this.n)};H.prototype.setPublic=function(a,b){null!=a&&null!=b&&0<a.length&&0<b.length?(this.n=K(a,16),this.e=parseInt(b,16)):console.error("Invalid RSA public key")};H.prototype.encrypt=function(a){var d=this.n.bitLength()+7>>3;if(d<a.length+11)console.error("Message too long for RSA"),
d=null;else{for(var b=[],e=a.length-1;0<=e&&0<d;){var y=a.charCodeAt(e--);128>y?b[--d]=y:127<y&&2048>y?(b[--d]=y&63|128,b[--d]=y>>6|192):(b[--d]=y&63|128,b[--d]=y>>6&63|128,b[--d]=y>>12|224)}b[--d]=0;a=new V;for(e=[];2<d;){for(e[0]=0;0==e[0];)a.nextBytes(e);b[--d]=e[0]}b[--d]=2;b[--d]=0;d=new c(b)}if(null==d)return null;d=this.doPublic(d);if(null==d)return null;d=d.toString(16);return 0==(d.length&1)?d:"0"+d};H.prototype.doPrivate=function(a){if(null==this.p||null==this.q)return a.modPow(this.d,this.n);
var d=a.mod(this.p).modPow(this.dmp1,this.p);for(a=a.mod(this.q).modPow(this.dmq1,this.q);0>d.compareTo(a);)d=d.add(this.p);return d.subtract(a).multiply(this.coeff).mod(this.p).multiply(this.q).add(a)};H.prototype.setPrivate=function(a,b,c){null!=a&&null!=b&&0<a.length&&0<b.length?(this.n=K(a,16),this.e=parseInt(b,16),this.d=K(c,16)):console.error("Invalid RSA private key")};H.prototype.setPrivateEx=function(a,b,c,e,y,f,u,n){null!=a&&null!=b&&0<a.length&&0<b.length?(this.n=K(a,16),this.e=parseInt(b,
16),this.d=K(c,16),this.p=K(e,16),this.q=K(y,16),this.dmp1=K(f,16),this.dmq1=K(u,16),this.coeff=K(n,16)):console.error("Invalid RSA private key")};H.prototype.generate=function(a,b){var d=new V,e=a>>1;this.e=parseInt(b,16);for(var y=new c(b,16);;){for(;this.p=new c(a-e,1,d),0!=this.p.subtract(c.ONE).gcd(y).compareTo(c.ONE)||!this.p.isProbablePrime(10););for(;this.q=new c(e,1,d),0!=this.q.subtract(c.ONE).gcd(y).compareTo(c.ONE)||!this.q.isProbablePrime(10););if(0>=this.p.compareTo(this.q)){var k=this.p;
this.p=this.q;this.q=k}k=this.p.subtract(c.ONE);var f=this.q.subtract(c.ONE),n=k.multiply(f);if(0==n.gcd(y).compareTo(c.ONE)){this.n=this.p.multiply(this.q);this.d=y.modInverse(n);this.dmp1=this.d.mod(k);this.dmq1=this.d.mod(f);this.coeff=this.q.modInverse(this.p);break}}};H.prototype.decrypt=function(a){a=K(a,16);a=this.doPrivate(a);if(null==a)return null;a:{var d=this.n.bitLength()+7>>3;a=a.toByteArray();for(var b=0;b<a.length&&0==a[b];)++b;if(a.length-b!=d-1||2!=a[b])a=null;else{for(++b;0!=a[b];)if(++b>=
a.length){a=null;break a}for(d="";++b<a.length;){var c=a[b]&255;128>c?d+=String.fromCharCode(c):191<c&&224>c?(d+=String.fromCharCode((c&31)<<6|a[b+1]&63),++b):(d+=String.fromCharCode((c&15)<<12|(a[b+1]&63)<<6|a[b+2]&63),b+=2)}a=d}}return a};(function(){H.prototype.generateAsync=function(a,b,g){function d(){function b(){n.p=e();n.p.fromNumberAsync(a-f,1,y,function(){n.p.subtract(c.ONE).gcda(k,function(a){0==a.compareTo(c.ONE)&&n.p.isProbablePrime(10)?setTimeout(u,0):setTimeout(b,0)})})}function u(){n.q=
e();n.q.fromNumberAsync(f,1,y,function(){n.q.subtract(c.ONE).gcda(k,function(a){0==a.compareTo(c.ONE)&&n.q.isProbablePrime(10)?setTimeout(h,0):setTimeout(u,0)})})}function h(){if(0>=n.p.compareTo(n.q)){var a=n.p;n.p=n.q;n.q=a}a=n.p.subtract(c.ONE);var b=n.q.subtract(c.ONE),e=a.multiply(b);0==e.gcd(k).compareTo(c.ONE)?(n.n=n.p.multiply(n.q),n.d=k.modInverse(e),n.dmp1=n.d.mod(a),n.dmq1=n.d.mod(b),n.coeff=n.q.modInverse(n.p),setTimeout(function(){g()},0)):setTimeout(d,0)}setTimeout(b,0)}var y=new V,
f=a>>1;this.e=parseInt(b,16);var k=new c(b,16),n=this;setTimeout(d,0)};c.prototype.gcda=function(a,b){var d=0>this.s?this.negate():this.clone(),c=0>a.s?a.negate():a.clone();if(0>d.compareTo(c)){var e=d;d=c;c=e}var f=d.getLowestSetBit(),k=c.getLowestSetBit();if(0>k)b(d);else{f<k&&(k=f);0<k&&(d.rShiftTo(k,d),c.rShiftTo(k,c));var n=function(){0<(f=d.getLowestSetBit())&&d.rShiftTo(f,d);0<(f=c.getLowestSetBit())&&c.rShiftTo(f,c);0<=d.compareTo(c)?(d.subTo(c,d),d.rShiftTo(1,d)):(c.subTo(d,c),c.rShiftTo(1,
c));0<d.signum()?setTimeout(n,0):(0<k&&c.lShiftTo(k,c),setTimeout(function(){b(c)},0))};setTimeout(n,10)}};c.prototype.fromNumberAsync=function(a,b,e,f){if("number"==typeof b)if(2>a)this.fromInt(1);else{this.fromNumber(a,e);this.testBit(a-1)||this.bitwiseTo(c.ONE.shiftLeft(a-1),I,this);this.isEven()&&this.dAddOffset(1,0);var d=this,g=function(){d.dAddOffset(2,0);d.bitLength()>a&&d.subTo(c.ONE.shiftLeft(a-1),d);d.isProbablePrime(b)?setTimeout(function(){f()},0):setTimeout(g,0)};setTimeout(g,0)}else{e=
[];var k=a&7;e.length=(a>>3)+1;b.nextBytes(e);e[0]=0<k?e[0]&(1<<k)-1:0;this.fromString(e,256)}}})();var D=D||{};D.env=D.env||{};var Wa=D,Xa=Object.prototype,Kb=["toString","valueOf"];D.env.parseUA=function(a){function d(a){var d=0;return parseFloat(a.replace(/\./g,function(){return 1==d++?"":"."}))}var b=navigator;b={ie:0,opera:0,gecko:0,webkit:0,chrome:0,mobile:null,air:0,ipad:0,iphone:0,ipod:0,ios:null,android:0,webos:0,caja:b&&b.cajaVersion,secure:!1,os:null};a=a||navigator&&navigator.userAgent;
var c=window&&window.location;c=c&&c.href;b.secure=c&&0===c.toLowerCase().indexOf("https");if(a){/windows|win32/i.test(a)?b.os="windows":/macintosh/i.test(a)?b.os="macintosh":/rhino/i.test(a)&&(b.os="rhino");/KHTML/.test(a)&&(b.webkit=1);if((c=a.match(/AppleWebKit\/([^\s]*)/))&&c[1]){b.webkit=d(c[1]);if(/ Mobile\//.test(a))b.mobile="Apple",(c=a.match(/OS ([^\s]*)/))&&c[1]&&(c=d(c[1].replace("_","."))),b.ios=c,b.ipad=b.ipod=b.iphone=0,(c=a.match(/iPad|iPod|iPhone/))&&c[0]&&(b[c[0].toLowerCase()]=b.ios);
else{if(c=a.match(/NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/))b.mobile=c[0];/webOS/.test(a)&&(b.mobile="WebOS",(c=a.match(/webOS\/([^\s]*);/))&&c[1]&&(b.webos=d(c[1])));/ Android/.test(a)&&(b.mobile="Android",(c=a.match(/Android ([^\s]*);/))&&c[1]&&(b.android=d(c[1])))}if((c=a.match(/Chrome\/([^\s]*)/))&&c[1])b.chrome=d(c[1]);else if(c=a.match(/AdobeAIR\/([^\s]*)/))b.air=c[0]}if(!b.webkit)if((c=a.match(/Opera[\s\/]([^\s]*)/))&&c[1]){if(b.opera=d(c[1]),(c=a.match(/Version\/([^\s]*)/))&&c[1]&&(b.opera=
d(c[1])),c=a.match(/Opera Mini[^;]*/))b.mobile=c[0]}else if((c=a.match(/MSIE\s([^;]*)/))&&c[1])b.ie=d(c[1]);else if(c=a.match(/Gecko\/([^\s]*)/))b.gecko=1,(c=a.match(/rv:([^\s\)]*)/))&&c[1]&&(b.gecko=d(c[1]))}return b};D.env.ua=D.env.parseUA();D.isFunction=function(a){return"function"===typeof a||"[object Function]"===Xa.toString.apply(a)};D._IEEnumFix=D.env.ua.ie?function(a,b){var d;for(d=0;d<Kb.length;d+=1){var c=Kb[d];var e=b[c];Wa.isFunction(e)&&e!=Xa[c]&&(a[c]=e)}}:function(){};D.extend=function(a,
b,c){function d(){}if(!b||!a)throw Error("extend failed, please check that all dependencies are included.");var e;d.prototype=b.prototype;a.prototype=new d;a.prototype.constructor=a;a.superclass=b.prototype;b.prototype.constructor==Xa.constructor&&(b.prototype.constructor=b);if(c){for(e in c)Wa.hasOwnProperty(c,e)&&(a.prototype[e]=c[e]);Wa._IEEnumFix(a.prototype,c)}};"undefined"!=typeof KJUR&&KJUR||(KJUR={});"undefined"!=typeof KJUR.asn1&&KJUR.asn1||(KJUR.asn1={});KJUR.asn1.ASN1Util=new function(){this.integerToByteHex=
function(a){a=a.toString(16);1==a.length%2&&(a="0"+a);return a};this.bigIntToMinTwosComplementsHex=function(a){var b=a.toString(16);if("-"!=b.substr(0,1))1==b.length%2?b="0"+b:b.match(/^[0-7]/)||(b="00"+b);else{var d=b.substr(1).length;1==d%2?d+=1:b.match(/^[0-7]/)||(d+=2);b="";for(var e=0;e<d;e++)b+="f";b=(new c(b,16)).xor(a).add(c.ONE).toString(16).replace(/^-/,"")}return b};this.getPEMStringFromHex=function(a,b){var d=CryptoJS.enc.Hex.parse(a);d=CryptoJS.enc.Base64.stringify(d).replace(/(.{64})/g,
"$1\r\n");d=d.replace(/\r\n$/,"");return"-----BEGIN "+b+"-----\r\n"+d+"\r\n-----END "+b+"-----\r\n"}};KJUR.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw"this.hV is null or undefined.";if(1==this.hV.length%2)throw"value hex must be even length: n=0,v="+this.hV;var a=this.hV.length/2,b=a.toString(16);1==b.length%2&&(b="0"+b);if(128>a)return b;var c=b.length/2;if(15<c)throw"ASN.1 length too long to represent by 8x: n = "+a.toString(16);
return(128+c).toString(16)+b};this.getEncodedHex=function(){if(null==this.hTLV||this.isModified)this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1;return this.hTLV};this.getValueHex=function(){this.getEncodedHex();return this.hV};this.getFreshValueHex=function(){return""}};KJUR.asn1.DERAbstractString=function(a){KJUR.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s};this.setString=
function(a){this.hTLV=null;this.isModified=!0;this.s=a;this.hV=stohex(this.s)};this.setStringHex=function(a){this.hTLV=null;this.isModified=!0;this.s=null;this.hV=a};this.getFreshValueHex=function(){return this.hV};"undefined"!=typeof a&&("undefined"!=typeof a.str?this.setString(a.str):"undefined"!=typeof a.hex&&this.setStringHex(a.hex))};D.extend(KJUR.asn1.DERAbstractString,KJUR.asn1.ASN1Object);KJUR.asn1.DERAbstractTime=function(){KJUR.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=
function(a){utc=a.getTime()+6E4*a.getTimezoneOffset();return new Date(utc)};this.formatDate=function(a,b){var c=this.zeroPadding,d=this.localDateToUTC(a),e=String(d.getFullYear());"utc"==b&&(e=e.substr(2,2));var f=c(String(d.getMonth()+1),2),u=c(String(d.getDate()),2),n=c(String(d.getHours()),2),k=c(String(d.getMinutes()),2);c=c(String(d.getSeconds()),2);return e+f+u+n+k+c+"Z"};this.zeroPadding=function(a,b){return a.length>=b?a:Array(b-a.length+1).join("0")+a};this.getString=function(){return this.s};
this.setString=function(a){this.hTLV=null;this.isModified=!0;this.s=a;this.hV=stohex(this.s)};this.setByDateValue=function(a,b,c,e,f,h){a=new Date(Date.UTC(a,b-1,c,e,f,h,0));this.setByDate(a)};this.getFreshValueHex=function(){return this.hV}};D.extend(KJUR.asn1.DERAbstractTime,KJUR.asn1.ASN1Object);KJUR.asn1.DERAbstractStructured=function(a){KJUR.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(a){this.hTLV=null;this.isModified=!0;this.asn1Array=a};this.appendASN1Object=
function(a){this.hTLV=null;this.isModified=!0;this.asn1Array.push(a)};this.asn1Array=[];"undefined"!=typeof a&&"undefined"!=typeof a.array&&(this.asn1Array=a.array)};D.extend(KJUR.asn1.DERAbstractStructured,KJUR.asn1.ASN1Object);KJUR.asn1.DERBoolean=function(){KJUR.asn1.DERBoolean.superclass.constructor.call(this);this.hT="01";this.hTLV="0101ff"};D.extend(KJUR.asn1.DERBoolean,KJUR.asn1.ASN1Object);KJUR.asn1.DERInteger=function(a){KJUR.asn1.DERInteger.superclass.constructor.call(this);this.hT="02";
this.setByBigInteger=function(a){this.hTLV=null;this.isModified=!0;this.hV=KJUR.asn1.ASN1Util.bigIntToMinTwosComplementsHex(a)};this.setByInteger=function(a){a=new c(String(a),10);this.setByBigInteger(a)};this.setValueHex=function(a){this.hV=a};this.getFreshValueHex=function(){return this.hV};"undefined"!=typeof a&&("undefined"!=typeof a.bigint?this.setByBigInteger(a.bigint):"undefined"!=typeof a["int"]?this.setByInteger(a["int"]):"undefined"!=typeof a.hex&&this.setValueHex(a.hex))};D.extend(KJUR.asn1.DERInteger,
KJUR.asn1.ASN1Object);KJUR.asn1.DERBitString=function(a){KJUR.asn1.DERBitString.superclass.constructor.call(this);this.hT="03";this.setHexValueIncludingUnusedBits=function(a){this.hTLV=null;this.isModified=!0;this.hV=a};this.setUnusedBitsAndHexValue=function(a,b){if(0>a||7<a)throw"unused bits shall be from 0 to 7: u = "+a;this.hTLV=null;this.isModified=!0;this.hV="0"+a+b};this.setByBinaryString=function(a){a=a.replace(/0+$/,"");var b=8-a.length%8;8==b&&(b=0);for(var c=0;c<=b;c++)a+="0";var d="";for(c=
0;c<a.length-1;c+=8){var e=a.substr(c,8);e=parseInt(e,2).toString(16);1==e.length&&(e="0"+e);d+=e}this.hTLV=null;this.isModified=!0;this.hV="0"+b+d};this.setByBooleanArray=function(a){for(var b="",c=0;c<a.length;c++)b=1==a[c]?b+"1":b+"0";this.setByBinaryString(b)};this.newFalseArray=function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=!1;return b};this.getFreshValueHex=function(){return this.hV};"undefined"!=typeof a&&("undefined"!=typeof a.hex?this.setHexValueIncludingUnusedBits(a.hex):"undefined"!=typeof a.bin?
this.setByBinaryString(a.bin):"undefined"!=typeof a.array&&this.setByBooleanArray(a.array))};D.extend(KJUR.asn1.DERBitString,KJUR.asn1.ASN1Object);KJUR.asn1.DEROctetString=function(a){KJUR.asn1.DEROctetString.superclass.constructor.call(this,a);this.hT="04"};D.extend(KJUR.asn1.DEROctetString,KJUR.asn1.DERAbstractString);KJUR.asn1.DERNull=function(){KJUR.asn1.DERNull.superclass.constructor.call(this);this.hT="05";this.hTLV="0500"};D.extend(KJUR.asn1.DERNull,KJUR.asn1.ASN1Object);KJUR.asn1.DERObjectIdentifier=
function(a){function b(a){a=a.toString(16);1==a.length&&(a="0"+a);return a}KJUR.asn1.DERObjectIdentifier.superclass.constructor.call(this);this.hT="06";this.setValueHex=function(a){this.hTLV=null;this.isModified=!0;this.s=null;this.hV=a};this.setValueOidString=function(a){if(!a.match(/^[0-9.]+$/))throw"malformed oid string: "+a;var d="";a=a.split(".");var e=40*parseInt(a[0])+parseInt(a[1]);d+=b(e);a.splice(0,2);for(e=0;e<a.length;e++){var g="",f=(new c(a[e],10)).toString(2),n=7-f.length%7;7==n&&(n=
0);for(var h="",k=0;k<n;k++)h+="0";f=h+f;for(k=0;k<f.length-1;k+=7)n=f.substr(k,7),k!=f.length-7&&(n="1"+n),g+=b(parseInt(n,2));d+=g}this.hTLV=null;this.isModified=!0;this.s=null;this.hV=d};this.setValueName=function(a){if("undefined"!=typeof KJUR.asn1.x509.OID.name2oidList[a])this.setValueOidString(KJUR.asn1.x509.OID.name2oidList[a]);else throw"DERObjectIdentifier oidName undefined: "+a;};this.getFreshValueHex=function(){return this.hV};"undefined"!=typeof a&&("undefined"!=typeof a.oid?this.setValueOidString(a.oid):
"undefined"!=typeof a.hex?this.setValueHex(a.hex):"undefined"!=typeof a.name&&this.setValueName(a.name))};D.extend(KJUR.asn1.DERObjectIdentifier,KJUR.asn1.ASN1Object);KJUR.asn1.DERUTF8String=function(a){KJUR.asn1.DERUTF8String.superclass.constructor.call(this,a);this.hT="0c"};D.extend(KJUR.asn1.DERUTF8String,KJUR.asn1.DERAbstractString);KJUR.asn1.DERNumericString=function(a){KJUR.asn1.DERNumericString.superclass.constructor.call(this,a);this.hT="12"};D.extend(KJUR.asn1.DERNumericString,KJUR.asn1.DERAbstractString);
KJUR.asn1.DERPrintableString=function(a){KJUR.asn1.DERPrintableString.superclass.constructor.call(this,a);this.hT="13"};D.extend(KJUR.asn1.DERPrintableString,KJUR.asn1.DERAbstractString);KJUR.asn1.DERTeletexString=function(a){KJUR.asn1.DERTeletexString.superclass.constructor.call(this,a);this.hT="14"};D.extend(KJUR.asn1.DERTeletexString,KJUR.asn1.DERAbstractString);KJUR.asn1.DERIA5String=function(a){KJUR.asn1.DERIA5String.superclass.constructor.call(this,a);this.hT="16"};D.extend(KJUR.asn1.DERIA5String,
KJUR.asn1.DERAbstractString);KJUR.asn1.DERUTCTime=function(a){KJUR.asn1.DERUTCTime.superclass.constructor.call(this,a);this.hT="17";this.setByDate=function(a){this.hTLV=null;this.isModified=!0;this.date=a;this.s=this.formatDate(this.date,"utc");this.hV=stohex(this.s)};"undefined"!=typeof a&&("undefined"!=typeof a.str?this.setString(a.str):"undefined"!=typeof a.hex?this.setStringHex(a.hex):"undefined"!=typeof a.date&&this.setByDate(a.date))};D.extend(KJUR.asn1.DERUTCTime,KJUR.asn1.DERAbstractTime);
KJUR.asn1.DERGeneralizedTime=function(a){KJUR.asn1.DERGeneralizedTime.superclass.constructor.call(this,a);this.hT="18";this.setByDate=function(a){this.hTLV=null;this.isModified=!0;this.date=a;this.s=this.formatDate(this.date,"gen");this.hV=stohex(this.s)};"undefined"!=typeof a&&("undefined"!=typeof a.str?this.setString(a.str):"undefined"!=typeof a.hex?this.setStringHex(a.hex):"undefined"!=typeof a.date&&this.setByDate(a.date))};D.extend(KJUR.asn1.DERGeneralizedTime,KJUR.asn1.DERAbstractTime);KJUR.asn1.DERSequence=
function(a){KJUR.asn1.DERSequence.superclass.constructor.call(this,a);this.hT="30";this.getFreshValueHex=function(){for(var a="",b=0;b<this.asn1Array.length;b++)a+=this.asn1Array[b].getEncodedHex();return this.hV=a}};D.extend(KJUR.asn1.DERSequence,KJUR.asn1.DERAbstractStructured);KJUR.asn1.DERSet=function(a){KJUR.asn1.DERSet.superclass.constructor.call(this,a);this.hT="31";this.getFreshValueHex=function(){for(var a=[],b=0;b<this.asn1Array.length;b++)a.push(this.asn1Array[b].getEncodedHex());a.sort();
return this.hV=a.join("")}};D.extend(KJUR.asn1.DERSet,KJUR.asn1.DERAbstractStructured);KJUR.asn1.DERTaggedObject=function(a){KJUR.asn1.DERTaggedObject.superclass.constructor.call(this);this.hT="a0";this.hV="";this.isExplicit=!0;this.asn1Object=null;this.setASN1Object=function(a,b,c){this.hT=b;this.isExplicit=a;this.asn1Object=c;this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=c.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,b),
this.isModified=!1)};this.getFreshValueHex=function(){return this.hV};"undefined"!=typeof a&&("undefined"!=typeof a.tag&&(this.hT=a.tag),"undefined"!=typeof a.explicit&&(this.isExplicit=a.explicit),"undefined"!=typeof a.obj&&(this.asn1Object=a.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))};D.extend(KJUR.asn1.DERTaggedObject,KJUR.asn1.ASN1Object);(function(a){var b={},c;b.decode=function(b){var d;if(c===a){var e="0123456789ABCDEF";c=[];for(d=0;16>d;++d)c[e.charAt(d)]=d;e=e.toLowerCase();
for(d=10;16>d;++d)c[e.charAt(d)]=d;for(d=0;8>d;++d)c[" \f\n\r\t\u00a0\u2028\u2029".charAt(d)]=-1}e=[];var f=0,g=0;for(d=0;d<b.length;++d){var h=b.charAt(d);if("="==h)break;h=c[h];if(-1!=h){if(h===a)throw"Illegal character at offset "+d;f|=h;2<=++g?(e[e.length]=f,g=f=0):f<<=4}}if(g)throw"Hex encoding incomplete: 4 bits missing";return e};window.Adform.JSEncryptHelpers.Hex=b})();(function(a){var b={},c;b.decode=function(b){var d;if(c===a){c=[];for(d=0;64>d;++d)c["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(d)]=
d;for(d=0;9>d;++d)c["= \f\n\r\t\u00a0\u2028\u2029".charAt(d)]=-1}var e=[],f=0,g=0;for(d=0;d<b.length;++d){var h=b.charAt(d);if("="==h)break;h=c[h];if(-1!=h){if(h===a)throw"Illegal character at offset "+d;f|=h;4<=++g?(e[e.length]=f>>16,e[e.length]=f>>8&255,e[e.length]=f&255,g=f=0):f<<=6}}switch(g){case 1:throw"Base64 encoding incomplete: at least 2 bits missing";case 2:e[e.length]=f>>10;break;case 3:e[e.length]=f>>16,e[e.length]=f>>8&255}return e};b.re=/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/;
b.unarmor=function(a){var c=b.re.exec(a);if(c)if(c[1])a=c[1];else if(c[2])a=c[2];else throw"RegExp out of sync";return b.decode(a)};window.Adform.JSEncryptHelpers.Base64=b})();(function(a){function b(a,c){a instanceof b?(this.enc=a.enc,this.pos=a.pos):(this.enc=a,this.pos=c)}function c(a,b,c,d,e){this.stream=a;this.header=b;this.length=c;this.tag=d;this.sub=e}var d={tag:function(a,b){var c=document.createElement(a);c.className=b;return c},text:function(a){return document.createTextNode(a)}};b.prototype.get=
function(b){b===a&&(b=this.pos++);if(b>=this.enc.length)throw"Requesting byte offset "+b+" on a stream of length "+this.enc.length;return this.enc[b]};b.prototype.hexDigits="0123456789ABCDEF";b.prototype.hexByte=function(a){return this.hexDigits.charAt(a>>4&15)+this.hexDigits.charAt(a&15)};b.prototype.hexDump=function(a,b,c){for(var d="";a<b;++a)if(d+=this.hexByte(this.get(a)),!0!==c)switch(a&15){case 7:d+="  ";break;case 15:d+="\n";break;default:d+=" "}return d};b.prototype.parseStringISO=function(a,
b){for(var c="",d=a;d<b;++d)c+=String.fromCharCode(this.get(d));return c};b.prototype.parseStringUTF=function(a,b){for(var c="",d=a;d<b;){var e=this.get(d++);c=128>e?c+String.fromCharCode(e):191<e&&224>e?c+String.fromCharCode((e&31)<<6|this.get(d++)&63):c+String.fromCharCode((e&15)<<12|(this.get(d++)&63)<<6|this.get(d++)&63)}return c};b.prototype.parseStringBMP=function(a,b){for(var c="",d=a;d<b;d+=2){var e=this.get(d),f=this.get(d+1);c+=String.fromCharCode((e<<8)+f)}return c};b.prototype.reTime=
/^((?:1[89]|2\d)?\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;b.prototype.parseTime=function(a,b){var c=this.parseStringISO(a,b),d=this.reTime.exec(c);if(!d)return"Unrecognized time: "+c;c=d[1]+"-"+d[2]+"-"+d[3]+" "+d[4];d[5]&&(c+=":"+d[5],d[6]&&(c+=":"+d[6],d[7]&&(c+="."+d[7])));d[8]&&(c+=" UTC","Z"!=d[8]&&(c+=d[8],d[9]&&(c+=":"+d[9])));return c};b.prototype.parseInteger=function(a,b){var c=b-a;if(4<c){c<<=
3;var d=this.get(a);if(0===d)c-=8;else for(;128>d;)d<<=1,--c;return"("+c+" bit)"}c=0;for(d=a;d<b;++d)c=c<<8|this.get(d);return c};b.prototype.parseBitString=function(a,b){var c=this.get(a),d=(b-a-1<<3)-c,e="("+d+" bit)";if(20>=d){var f=c;e+=" ";for(c=b-1;c>a;--c){for(d=this.get(c);8>f;++f)e+=d>>f&1?"1":"0";f=0}}return e};b.prototype.parseOctetString=function(a,b){var c=b-a,d="("+c+" byte) ";100<c&&(b=a+100);for(var e=a;e<b;++e)d+=this.hexByte(this.get(e));100<c&&(d+="\u2026");return d};b.prototype.parseOID=
function(a,b){for(var c="",d=0,e=0,f=a;f<b;++f){var g=this.get(f);d=d<<7|g&127;e+=7;g&128||(""===c?(c=80>d?40>d?0:1:2,c=c+"."+(d-40*c)):c+="."+(31<=e?"bigint":d),d=e=0)}return c};c.prototype.typeName=function(){if(this.tag===a)return"unknown";var b=this.tag&31;switch(this.tag>>6){case 0:switch(b){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";
case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString";
default:return"Universal_"+b.toString(16)}case 1:return"Application_"+b.toString(16);case 2:return"["+b+"]";case 3:return"Private_"+b.toString(16)}};c.prototype.reSeemsASCII=/^[ -~]+$/;c.prototype.content=function(){if(this.tag===a)return null;var b=this.tag>>6,c=this.tag&31,d=this.posContent(),e=Math.abs(this.length);if(0!==b){if(null!==this.sub)return"("+this.sub.length+" elem)";b=this.stream.parseStringISO(d,d+Math.min(e,100));return this.reSeemsASCII.test(b)?b.substring(0,200)+(200<b.length?"\u2026":
""):this.stream.parseOctetString(d,d+e)}switch(c){case 1:return 0===this.stream.get(d)?"false":"true";case 2:return this.stream.parseInteger(d,d+e);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(d,d+e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(d,d+e);case 6:return this.stream.parseOID(d,d+e);case 16:case 17:return"("+this.sub.length+" elem)";case 12:return this.stream.parseStringUTF(d,d+e);case 18:case 19:case 20:case 21:case 22:case 26:return this.stream.parseStringISO(d,
d+e);case 30:return this.stream.parseStringBMP(d,d+e);case 23:case 24:return this.stream.parseTime(d,d+e)}return null};c.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"};c.prototype.print=function(b){b===a&&(b="");document.writeln(b+this);if(null!==this.sub){b+="  ";for(var c=0,d=this.sub.length;c<d;++c)this.sub[c].print(b)}};c.prototype.toPrettyString=function(b){b===a&&(b=
"");var c=b+this.typeName()+" @"+this.stream.pos;0<=this.length&&(c+="+");c+=this.length;this.tag&32?c+=" (constructed)":3!=this.tag&&4!=this.tag||null===this.sub||(c+=" (encapsulates)");c+="\n";if(null!==this.sub){b+="  ";for(var d=0,e=this.sub.length;d<e;++d)c+=this.sub[d].toPrettyString(b)}return c};c.prototype.toDOM=function(){var a=d.tag("div","node");a.asn1=this;var b=d.tag("div","head"),c=this.typeName().replace(/_/g," ");b.innerHTML=c;var e=this.content();null!==e&&(e=String(e).replace(/</g,
"&lt;"),c=d.tag("span","preview"),c.appendChild(d.text(e)),b.appendChild(c));a.appendChild(b);this.node=a;this.head=b;var f=d.tag("div","value");c="Offset: "+this.stream.pos+"<br/>";c+="Length: "+this.header+"+";c=0<=this.length?c+this.length:c+(-this.length+" (undefined)");this.tag&32?c+="<br/>(constructed)":3!=this.tag&&4!=this.tag||null===this.sub||(c+="<br/>(encapsulates)");null!==e&&(c+="<br/>Value:<br/><b>"+e+"</b>","object"===typeof oids&&6==this.tag&&(e=oids[e]))&&(e.d&&(c+="<br/>"+e.d),e.c&&
(c+="<br/>"+e.c),e.w&&(c+="<br/>(warning!)"));f.innerHTML=c;a.appendChild(f);c=d.tag("div","sub");if(null!==this.sub)for(e=0,f=this.sub.length;e<f;++e)c.appendChild(this.sub[e].toDOM());a.appendChild(c);b.onclick=function(){a.className="node collapsed"==a.className?"node":"node collapsed"};return a};c.prototype.posStart=function(){return this.stream.pos};c.prototype.posContent=function(){return this.stream.pos+this.header};c.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)};
c.prototype.fakeHover=function(a){this.node.className+=" hover";a&&(this.head.className+=" hover")};c.prototype.fakeOut=function(a){var b=/ ?hover/;this.node.className=this.node.className.replace(b,"");a&&(this.head.className=this.head.className.replace(b,""))};c.prototype.toHexDOM_sub=function(a,b,c,e,f){e>=f||(b=d.tag("span",b),b.appendChild(d.text(c.hexDump(e,f))),a.appendChild(b))};c.prototype.toHexDOM=function(b){var c=d.tag("span","hex");b===a&&(b=c);this.head.hexNode=c;this.head.onmouseover=
function(){this.hexNode.className="hexCurrent"};this.head.onmouseout=function(){this.hexNode.className="hex"};c.asn1=this;c.onmouseover=function(){var a=!b.selected;a&&(b.selected=this.asn1,this.className="hexCurrent");this.asn1.fakeHover(a)};c.onmouseout=function(){var a=b.selected==this.asn1;this.asn1.fakeOut(a);a&&(b.selected=null,this.className="hex")};this.toHexDOM_sub(c,"tag",this.stream,this.posStart(),this.posStart()+1);this.toHexDOM_sub(c,0<=this.length?"dlen":"ulen",this.stream,this.posStart()+
1,this.posContent());if(null===this.sub)c.appendChild(d.text(this.stream.hexDump(this.posContent(),this.posEnd())));else if(0<this.sub.length){var e=this.sub[0],f=this.sub[this.sub.length-1];this.toHexDOM_sub(c,"intro",this.stream,this.posContent(),e.posStart());e=0;for(var g=this.sub.length;e<g;++e)c.appendChild(this.sub[e].toHexDOM(b));this.toHexDOM_sub(c,"outro",this.stream,f.posEnd(),this.posEnd())}return c};c.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),
!0)};c.decodeLength=function(a){var b=a.get(),c=b&127;if(c==b)return c;if(3<c)throw"Length over 24 bits not supported at position "+(a.pos-1);if(0===c)return-1;for(var d=b=0;d<c;++d)b=b<<8|a.get();return b};c.hasContent=function(a,d,e){if(a&32)return!0;if(3>a||4<a)return!1;var f=new b(e);3==a&&f.get();if(f.get()>>6&1)return!1;try{var g=c.decodeLength(f);return f.pos-e.pos+g==d}catch(zd){return!1}};c.decode=function(a){a instanceof b||(a=new b(a,0));var d=new b(a),e=a.get(),f=c.decodeLength(a),g=a.pos-
d.pos,h=null;if(c.hasContent(e,f,a)){var k=a.pos;3==e&&a.get();h=[];if(0<=f){for(var r=k+f;a.pos<r;)h[h.length]=c.decode(a);if(a.pos!=r)throw"Content size is not correct for container starting at offset "+k;}else try{for(;;){r=c.decode(a);if(0===r.tag)break;h[h.length]=r}f=k-a.pos}catch(Jb){throw"Exception while decoding undefined length content: "+Jb;}}else a.pos+=f;return new c(d,g,f,e,h)};c.test=function(){for(var a=[{value:[39],expected:39},{value:[129,201],expected:201},{value:[131,254,220,186],
expected:16702650}],d=0,e=a.length;d<e;++d){var f=new b(a[d].value,0);f=c.decodeLength(f);f!=a[d].expected&&document.write("In test["+d+"] expected "+a[d].expected+" got "+f+"\n")}};window.Adform.JSEncryptHelpers.ASN1=c})();window.Adform.JSEncryptHelpers.ASN1.prototype.getHexStringValue=function(){return this.toHexString().substr(2*this.header,2*this.length)};H.prototype.parseKey=function(a){try{var b=0,c=0,d=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(a)?window.Adform.JSEncryptHelpers.Hex.decode(a):
window.Adform.JSEncryptHelpers.Base64.unarmor(a),e=window.Adform.JSEncryptHelpers.ASN1.decode(d);3===e.sub.length&&(e=e.sub[2].sub[0]);if(9===e.sub.length){b=e.sub[1].getHexStringValue();this.n=K(b,16);c=e.sub[2].getHexStringValue();this.e=parseInt(c,16);var f=e.sub[3].getHexStringValue();this.d=K(f,16);var h=e.sub[4].getHexStringValue();this.p=K(h,16);var r=e.sub[5].getHexStringValue();this.q=K(r,16);var l=e.sub[6].getHexStringValue();this.dmp1=K(l,16);var m=e.sub[7].getHexStringValue();this.dmq1=
K(m,16);var p=e.sub[8].getHexStringValue();this.coeff=K(p,16)}else if(2===e.sub.length){var q=e.sub[1].sub[0];b=q.sub[0].getHexStringValue();this.n=K(b,16);c=q.sub[1].getHexStringValue();this.e=parseInt(c,16)}else return!1;return!0}catch(Jb){return!1}};H.prototype.getPrivateBaseKey=function(){var a={array:[new KJUR.asn1.DERInteger({"int":0}),new KJUR.asn1.DERInteger({bigint:this.n}),new KJUR.asn1.DERInteger({"int":this.e}),new KJUR.asn1.DERInteger({bigint:this.d}),new KJUR.asn1.DERInteger({bigint:this.p}),
new KJUR.asn1.DERInteger({bigint:this.q}),new KJUR.asn1.DERInteger({bigint:this.dmp1}),new KJUR.asn1.DERInteger({bigint:this.dmq1}),new KJUR.asn1.DERInteger({bigint:this.coeff})]};return(new KJUR.asn1.DERSequence(a)).getEncodedHex()};H.prototype.getPrivateBaseKeyB64=function(){return ba(this.getPrivateBaseKey())};H.prototype.getPublicBaseKey=function(){var a={array:[new KJUR.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new KJUR.asn1.DERNull]},b=new KJUR.asn1.DERSequence(a);a={array:[new KJUR.asn1.DERInteger({bigint:this.n}),
new KJUR.asn1.DERInteger({"int":this.e})]};a={hex:"00"+(new KJUR.asn1.DERSequence(a)).getEncodedHex()};a=new KJUR.asn1.DERBitString(a);a={array:[b,a]};return(new KJUR.asn1.DERSequence(a)).getEncodedHex()};H.prototype.getPublicBaseKeyB64=function(){return ba(this.getPublicBaseKey())};H.prototype.wordwrap=function(a,b){b=b||64;return a?a.match(RegExp("(.{1,"+b+"})( +|$\n?)|(.{1,"+b+"})","g")).join("\n"):a};H.prototype.getPrivateKey=function(){return"-----BEGIN RSA PRIVATE KEY-----\n"+(this.wordwrap(this.getPrivateBaseKeyB64())+
"\n")+"-----END RSA PRIVATE KEY-----"};H.prototype.getPublicKey=function(){return"-----BEGIN PUBLIC KEY-----\n"+(this.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"};H.prototype.hasPublicKeyProperty=function(a){a=a||{};return a.hasOwnProperty("n")&&a.hasOwnProperty("e")};H.prototype.hasPrivateKeyProperty=function(a){a=a||{};return a.hasOwnProperty("n")&&a.hasOwnProperty("e")&&a.hasOwnProperty("d")&&a.hasOwnProperty("p")&&a.hasOwnProperty("q")&&a.hasOwnProperty("dmp1")&&a.hasOwnProperty("dmq1")&&
a.hasOwnProperty("coeff")};H.prototype.parsePropertiesFrom=function(a){this.n=a.n;this.e=a.e;a.hasOwnProperty("d")&&(this.d=a.d,this.p=a.p,this.q=a.q,this.dmp1=a.dmp1,this.dmq1=a.dmq1,this.coeff=a.coeff)};b.prototype=new H;b.prototype.constructor=b;a.prototype.setKey=function(a){this.log&&this.key&&console.warn("A key was already set, overriding existing.");this.key=new b(a)};a.prototype.setPrivateKey=function(a){this.setKey(a)};a.prototype.setPublicKey=function(a){this.setKey(a)};a.prototype.decrypt=
function(a){try{return this.getKey().decrypt(ja(a))}catch(k){return!1}};a.prototype.encrypt=function(a){try{return ba(this.getKey().encrypt(a))}catch(k){return!1}};a.prototype.getKey=function(a){if(!this.key){this.key=new b;if(a&&"[object Function]"==={}.toString.call(a)){this.key.generateAsync(this.default_key_size,this.default_public_exponent,a);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key};a.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()};
a.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()};a.prototype.getPublicKey=function(){return this.getKey().getPublicKey()};a.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()};a.version="2.3.1";window.Adform.JSEncrypt=a})();function Ta(a){if(!a)return"";var b="";switch(N.Params.encryptor){case "MD5":b=z.CryptoJS.MD5(a).toString();break;case "SHA256":b=z.CryptoJS.SHA256(a).toString();break;case "RSA":b=new z.JSEncrypt,b.setKey(N.Params.publicKey),b=b.encrypt(a)}return b};function Ua(a,b,c,e){for(var f in a)if(0==f.toLowerCase().indexOf(c)){var h=f.slice(c.length),r=parseInt(h);r.toString()==h&&0<r&&r<=e&&((h=a[f])&&h.encrypt&&!h.isEncrypted&&(h.value=Ta(h.value),h.isEncrypted=!0),b[c+r.toString()]=h&&h.encrypt?h.value:h)}};function Ya(a){G(a,Za)}
function Za(a){var b={},c={pid:"pid",productid:"pid",weight:"weight",step:"step",name:"pnm",productname:"pnm",group:"pgr",categoryname:"pgr",categoryid:"cid",productsales:"psl",productcount:"pcnt",custom:"cvr"},e;for(e in c)L(a[e])&&c.hasOwnProperty(e)&&(b[c[e]]=a[e]);Ua(a,b,"sv",255);Ua(a,b,"svn",255);null!=N.Order?(N.Order.itms=N.Order.itms||[],N.Order.itms.push(b)):N.Products.push(b);b=N.Vars;L(b.Order)&&null!=b.Order?(b.Order.products=b.Order.products||[],b.Order.products.push(a)):(b.Products=
b.Products||[],b.Products.push(a))};function $a(a){la(a)||(ha(a)&&(N.Order=null,N.Products=[],N.createOrder(a),fa(a.itms)&&Ya(a.itms)),fa(a)&&Ya(a))};function ab(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)}function bb(a,b,c){a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c)};var cb=window.document;
function db(a,b,c){try{if(cb.body){var e=c&&"object"===typeof c?" name='"+JSON.stringify(c)+"'":"";var f=cb.createElement("div");f.innerHTML='<iframe src="'+a+'" allowtransparency="true" webkitallowfullscreen mozallowfullscreen allowfullscreen marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" width="1" height="1" style="display:none"'+e+"></iframe>";cb.body.appendChild(f.removeChild(f.firstChild))}else ab(window,"load",function(){db(a,b,c)})}catch(h){}}
function eb(a){var b=cb.createElement("script"),c=cb.getElementsByTagName("script")[0];b.type="text/javascript";b.src=a;c.parentNode.insertBefore(b,c);return!0};var fb={"\\":"\\\\","\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"'};function gb(a){var b="";if("string"===typeof a&&null!=a&&0<a.length)for(var c=0;c<a.length;c++){var e=a.charAt(c),f=fb[e];b="string"===typeof f?b+f:b+e}return b}
function hb(a){var b=typeof a;if("object"!=b||null===a)return"string"==b&&(a='"'+gb(a)+'"'),String(a);var c,e=[],f=a&&a.constructor==Array;for(c in a){var h=a[c];b=typeof h;"undefined"!=b&&"function"!=b&&a.hasOwnProperty(c)&&("string"==b?h='"'+gb(h)+'"':"object"==b&&null!==h&&(h=hb(h)),e.push((f?"":'"'+c+'":')+String(h)))}return(f?"[":"{")+String(e)+(f?"]":"}")};function ib(a){var b=[],c,e=0;a=a.replace(/\r\n/g,"\n");var f="";for(c=0;c<a.length;c++){var h=a.charCodeAt(c);128>h?f+=String.fromCharCode(h):(127<h&&2048>h?f+=String.fromCharCode(h>>6|192):(f+=String.fromCharCode(h>>12|224),f+=String.fromCharCode(h>>6&63|128)),f+=String.fromCharCode(h&63|128))}for(a=f;e<a.length;){var r=a.charCodeAt(e++);f=a.charCodeAt(e++);c=a.charCodeAt(e++);h=r>>2;r=(r&3)<<4|f>>4;var x=(f&15)<<2|c>>6;var w=c&63;isNaN(f)?x=w=64:isNaN(c)&&(w=64);b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=".charAt(h),
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=".charAt(r));64!=x&&b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=".charAt(x));64!=w&&b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=".charAt(w))}return b.join("")};var jb={PageName:"ADFPageName",Divider:"ADFdivider",Sale:"ADF__Sale",OrderID:"ADF__OrderID",SubOrders:"ADF__SubOrders"},kb={Divider:"|"},lb=["PageName","Divider","AdvertiserId","ThirdPartyId"],mb=["Sale","OrderID","SubOrders"];function nb(){var a=N,b=a.Params,c=a.Vars;G(lb,function(a){b[a]=b[a]||jb[a]&&window[jb[a]]||kb[a]||""});G(mb,function(a){c[a]=c[a]||window[jb[a]]||""});c.CPref=Sa.CPref;c.loc=Sa.loc};function ob(a,b){if(a.indexOf)return a.indexOf(b);var c;for(c=a.length;c--&&a[c]!==b;);return c};function pb(a,b){var c;if(a)for(a=a.slice(),c=0;c<a.length;c++)b?a[c].apply(null,b):a[c].call(null)}function qb(a,b){a?0>ob(a,b)&&a.push(b):a=[b];return a}function rb(a,b){if(a)if(!a.length||1===a.length&&a[0]===b)a.length=0,a=null;else{var c=ob(a,b);0<=c&&a.splice(c,1)}return a};var tb=sb;function sb(a,b){var c,e,f=ub(window.top);for(c=f.length;c--;)try{if((e=f[c])&&(e=e[a])&&(e=e.shared))return e}catch(h){}return window[a].shared=b}function ub(a,b){try{var c=a.frames}catch(f){}if(c){(b=b||[]).push(a);for(var e=0;c&&e<c.length;e++)ub(a.frames[e],b)}return b};var wb=vb;function vb(a){try{return a()}catch(b){}};var yb=xb,zb=window.top;function xb(a){for(var b,c,e=window;e;){if(wb(function(){return e.frames[a]})){b=e;break}if(e===zb)break;e=e.parent}b&&(c=!wb(function(){return!!b.document.getElementById}));return{frameRef:b,isCrossDomain:c}};var Bb=Ab;window.Adform=window.Adform||{};var Cb=window.__uspapi,Db=yb("__uspapiLocator"),Eb=Db.frameRef,Fb=Db.isCrossDomain;Fb&&Eb&&Eb.postMessage?(ab(window,"message",Gb),Eb.postMessage({__uspapiCall:{command:"getUSPData",version:1,callId:1}},"*")):Eb&&!Fb&&Eb.__uspapi&&(Cb=Eb.__uspapi);Cb&&wb(function(){return Cb("getUSPData",1,Hb)});function Ab(){return tb("Adform",{}).us_privacy}
function Gb(a){var b=a.data;"string"===typeof b&&(b=wb(function(){return window.JSON.parse(b)}));b&&(b=b.__uspapiReturn||{});b&&b.success&&(bb(window,"message",Gb),Hb(b.returnValue))}function Hb(a){if(a=void 0===a?{}:a)tb("Adform",{}).us_privacy=a.uspString};var Ib=window.setTimeout,Lb,Mb,Nb,Ob,Pb={},Qb=1,O=[],R=[],Rb=window.Adform=window.Adform||{};Rb.getConsent=Sb;Rb.waitForConsent=Tb;Rb.hasConsent=Ub;Rb.getUSPString=Bb;Vb();Wb();tb("Adform",{});Xb();function Ub(a){Tb(function(b){a(null===b?!0:b.adform_consent)},1E4,!0)}
function Tb(a,b,c){b=void 0===b?1E4:b;c=void 0===c?!1:c;Vb();Wb();Lb||window.__tcfapi||Nb||window.__gpp?(c?R.push(a):O.push(a),Xb(),Ib(function(){var b=[Yb(O,a),Yb(R,a)],c=tb("Adform",{}),h=c.gdpr,r=c.gdpr_consent,x=c.adform_consent,w=c.us_privacy,l=c.gpp;c=c.gpp_sid;if(-1<b[0])O.splice(b[0],1)[0]({gdpr:h,gdpr_consent:r,adform_consent:x,us_privacy:w,gpp:l,gpp_sid:c});if(-1<b[1])R.splice(b[1],1)[0]({gdpr:h,gdpr_consent:r,adform_consent:x,us_privacy:w,gpp:l,gpp_sid:c})},b)):a(null,"CMP not found.")}
function Vb(){var a=Zb("tcfapi"),b=a.isCrossDomain;Lb=a.frame;Mb=b;return{cmpFrame:Lb,isCrossDomainCmp:Mb}}function Wb(){var a=Zb("gpp"),b=a.isCrossDomain;Nb=a.frame;Ob=b;return{gppFrame:Nb,isCrossDomainGpp:Ob}}function Zb(a){if(!b&&(a=yb("__"+a+"Locator"),a.frameRef)){var b=a.frameRef;var c=a.isCrossDomain}return{frame:b,isCrossDomain:c}}function Sb(){Xb();var a=tb("Adform",{});return{gdpr:a.gdpr,gdpr_consent:a.gdpr_consent,us_privacy:a.us_privacy,gpp:a.gpp,gpp_sid:a.gpp_sid}}
function Xb(){$b("__tcfapi");$b("__gpp")}function ac(a,b){var c=a.api,e=a.frame,f=a.command,h=a.callback,r=a.parameter,x="__gpp"===c;c+="Call";bb(window,"message",x?bc:cc);ab(window,"message",x?bc:cc);x={};f=(x[c]={command:f,callId:Qb,parameter:r},x);Pb[Qb]="function"===typeof h?h:b;Qb++;e.postMessage(f,"*")}
function bc(a){if((a=a.data&&"string"===typeof a.data&&-1<a.data.indexOf("__gppReturn")?JSON.parse(a.data):a.data)&&a.__gppReturn&&a.__gppReturn.callId&&(a=a.__gppReturn,Pb.hasOwnProperty(a.callId)))Pb[a.callId](a.returnValue)}function dc(a,b){var c=a.api,e=a.frame,f=a.command,h=a.callback,r=a.parameter,x="__gpp"===c,w=x?Ob:Mb;(c=e&&!w?e[c]:window[c])&&(x?ec({__api:c,command:f,callback:h,parameter:r,resultCallback:b}):fc({__api:c,command:f,callback:h}))}
function ec(a){var b=a.__api,c=a.command,e=a.callback,f=a.parameter,h=a.resultCallback;wb(function(){e?b(c,e):h(b(c,e,f))})}function fc(a){var b=a.__api,c=a.command,e=a.callback;wb(function(){b(c,null,e)})}function $b(a){var b="__gpp"===a,c=b?Nb:Lb;(b?Ob:Mb)&&c&&c.postMessage?ac({api:a,frame:c,command:"addEventListener",callback:b?gc:null}):dc({api:a,frame:c,command:"addEventListener",callback:b?gc:hc})}
function gc(a){a&&("sectionChange"===a.eventName||a.pingData&&"loaded"===a.pingData.cmpStatus)&&(a=Nb,Ob&&a&&a.postMessage?ac({api:"__gpp",frame:a,command:"getGPPData",callback:ic}):dc({api:"__gpp",frame:a,command:"getGPPData",callback:ic}))}
function cc(a){var b=a.data;"string"===typeof b&&(b=wb(function(){return window.JSON.parse(b)}));b&&(b=(b.__tcfapiReturn||{}).returnValue);b&&null!=b.gdprApplies&&(a=b,hc({gdprApplies:a.gdprApplies,tcString:a.tcString,purpose:a.purpose,vendor:a.vendor,restrictions:a.restrictions,eventStatus:a.eventStatus}))}
function hc(a){if((a=void 0===a?{}:a)&&"cmpuishown"!==a.eventStatus){var b=jc(a.gdprApplies),c=tb("Adform",{});c.gdpr=b;c.gdpr_consent=a.tcString;if(b=!(!a.purpose||!a.vendor)||0===b){var e=a;a=e.gdprApplies;var f=kc(e,"purpose.consents.1",!1),h=kc(e,"vendor.consents.50",!1);e=kc(e,"restrictions.1.50",1);a=0===jc(a)?!0:f&&h&&0!==e;c.adform_consent=a}a=c.gdpr;f=c.gdpr_consent;h=c.adform_consent;e=c.gpp;c=c.gpp_sid;if(void 0!==h&&b)for(;R.length;)R.shift()({gdpr:a,gdpr_consent:f,adform_consent:h,gpp:e,
gpp_sid:c});for(;O.length;)O.shift()({gdpr:a,gdpr_consent:f,adform_consent:h,gpp:e,gpp_sid:c})}}
function ic(a){if(a=void 0===a?{}:a){var b=Ob,c=Nb,e=tb("Adform",{});a&&(e.gpp=a.gppString,e.gpp_sid=a.applicableSections&&a.applicableSections.join(","));if(a&&a.sectionList&&0<=Yb(a.sectionList,2))b&&c&&c.postMessage?ac({api:"__gpp",frame:c,command:"getSection",callback:lc,parameter:"tcfeuv2"}):dc({api:"__gpp",frame:c,command:"getSection",parameter:"tcfeuv2"},lc);else{void 0===e.adform_consent&&(e.adform_consent=!0);a=e.gdpr;b=e.gdpr_consent;c=e.adform_consent;var f=e.gpp;for(e=e.gpp_sid;R.length;)R.shift()({gdpr:a,
gdpr_consent:b,adform_consent:c,gpp:f,gpp_sid:e});for(;O.length;)O.shift()({gdpr:a,gdpr_consent:b,adform_consent:c,gpp:f,gpp_sid:e})}}}
function lc(a){var b=tb("Adform",{}),c=!!(a&&a.PurposeConsents&&a.VendorConsents);if(c){var e=kc(a,"PurposeConsents.1",!1),f=0<=Yb(a.VendorConsents,50)||!1;a=kc(a,"PublisherRestrictions.1.50",1);b.adform_consent=e&&f&&0!==a}e=b.gdpr;f=b.gdpr_consent;a=b.adform_consent;var h=b.gpp;b=b.gpp_sid;if(void 0!==a&&c)for(;R.length;)R.shift()({gdpr:e,gdpr_consent:f,adform_consent:a,gpp:h,gpp_sid:b});for(;O.length;)O.shift()({gdpr:e,gdpr_consent:f,adform_consent:a,gpp:h,gpp_sid:b})}
function jc(a){if("1"==a)return 1;if("0"==a)return 0}function Yb(a,b){var c=a.length;if(a.indexOf)return a.indexOf(b);for(;c--&&a[c]!==b;);return c}function kc(a,b,c){b=b.split(".");for(var e=0;e<b.length;e++)if(a=a[b[e]],void 0===a){a=c;break}return a};function mc(a){function b(a){e=a;f||(f=!0,pb(c,[a]),f=!1,G(c,function(a){rb(c,a)}))}var c=[],e,f=!1;a(b);return{getResult:function(a){void 0!==e?a(e):qb(c,a)},setResult:b}}function nc(a,b){var c=!1;G(a,function(a){a(function(a){c||(c=!0,b(a))})})}function oc(a,b){var c=a.length,e=[];G(a,function(a,h){a(function(a){e[h]=a;0==--c&&b.apply(null,e)})})};var pc,S={};function qc(a){pc=pc||rc();pc.getResult(function(b){b&&(S.gdpr=N.Gdpr=sc(b.gdpr),S.gdpr_consent=N.GdprConsent=b.gdpr_consent,S.gpp=N.Gpp=b.gpp,S.gpp_sid=N.GppSid=b.gpp_sid);a(S)})}function rc(){var a=mc(Tb);S.gdpr=sc(N.Gdpr);S.gdpr_consent=N.GdprConsent;S.gpp=N.Gpp;S.gpp_sid=N.GppSid;(L(S.gdpr)||L(S.gdpr_consent)||L(S.gpp))&&a.setResult(S);return a}function sc(a){if("1"==a)return 1;if("0"==a)return 0};var tc=[Sa.referrer,Sa.location],uc={},vc,wc,xc;
for(vc=0;vc<tc.length;vc++){wc=tc[vc];var yc=void 0,zc=void 0,Ac=wc.match(/adfcd=([0-9]+\.[a-zA-Z0-9_-]+\.[a-zA-Z0-9_-]+)/);if(Ac){b:{var Bc=Ac[1],Cc=Bc.split("."),Dc=Cc[0]+"000",Ec=Cc[1];try{var Fc;var Gc=void 0,Hc=Cc[2],Ic=[];if(window.atob)Fc=window.atob(Hc);else if(z.JSEncryptHelpers){Gc=z.JSEncryptHelpers.Base64.decode(Hc);for(var Jc=0;Jc<Gc.length;Jc++)Ic.push(String.fromCharCode(Gc[Jc]));Fc=Ic.join("")}else Fc=void 0;yc=Fc.split(",")}catch(a){zc=void 0;break b}zc={adfcd:Bc,expires:Dc,clickID:Ec,
trackingSetupID:yc[0],mediaID:yc[1]}}xc=zc}else xc=void 0;xc&&(uc[xc.trackingSetupID]=xc)}var X=Sa.clickIDs=uc,Kc=mc(Ub);
Kc.getResult(function(a){if(a){var b;X.empty=[];for(a=0;5>a;a++)if(b=ra("adfpc"+a)){b=b.split(",");var c=b[0];b=b[1];X[c]?X[c].index=a:X[c]={clickID:b,trackingSetupID:c}}else X.empty.push(a);a=-1;for(var e in X)if(X.hasOwnProperty(e)&&X[e].expires){c=X[e].index;b=X.empty;a=0<=c?c:b.length?b.shift():a+1;b=X[e];var f=a;c=(parseInt(b.expires)-+new Date)/864E5;f="adfpc"+f;b=b.trackingSetupID+","+b.clickID;0<c&&qa(f,b,c,void 0,"secure; SameSite=Lax")}}});
function Lc(a,b){X&&X[a]&&X[a].adfcd?b(null):Kc.getResult(function(){b(X&&X[a]&&X[a].clickID)})};var Mc=window.navigator,Nc=Mc.browserLanguage||Mc.language||"",Oc=window.screen,Pc=Oc.colorDepth||"",Qc="";Oc.width&&Oc.height&&(Qc=Oc.width+"x"+Oc.height);var Rc=encodeURIComponent(Nc+"|"+Nc+"|"+Qc+"|"+Pc),Sc={language:Nc,screenSize:Qc,colorDepth:Pc};var Tc=[];ab(window,"beforeunload",Uc);ab(window,"visibilitychange",Uc);ab(window,"pagehide",Uc);function Uc(){pb(Tc,[Vc]);G(Tc,function(a){rb(Tc,a)})}function Wc(a){qb(Tc,a)}function Vc(a){(new window.Image).src=a.replace("ADFtpmode=2","ADFtpmode=0")}
function Xc(a,b){function c(a){qc(function(c){b.gdpr=c.gdpr;b.gdpr_consent=c.gdpr_consent;b.gpp=c.gpp;b.gpp_sid=c.gpp_sid;a(c)})}function e(a){Lc(f,function(c){b.pcaid=c;a(c)})}var f=b.pm;b.loc=encodeURIComponent(Sa.loc);b.CPref=encodeURIComponent(Sa.CPref);b.Set1=Rc;b.adfcd=X&&X[f]&&X[f].adfcd;nc([function(a){oc([c,e],function(){a(eb)})},Wc],function(c){b.us_privacy=b.us_privacy||Bb();var e=[];for(var f in b){var h;if(h=b.hasOwnProperty(f))h=b[f],h=null!=h&&""!=h;h&&e.push(f+"="+na(b[f]+""))}e=e.join("&");
c("https://"+a+"/Serving/TrackPoint/?"+e)})};var Zc=Yc;function Yc(a){var b={};if(a&&a.length)for(var c=0;c<a.length;c++){var e=a[c]||{};var f=e.source;e=e.uids;if(f&&e&&e.length)for(var h=0;h<e.length;h++)e[h]&&e[h].id&&(b[encodeURIComponent("eid_"+f+"_"+(parseInt(e[h].atype,10)||0))]=encodeURIComponent(e[h].id))}return b};var $c=window.setTimeout,ad=window.JSON,bd=window.XMLHttpRequest,cd=window.ActiveXObject;
function dd(a,b,c,e,f){if(a){nb();c&&$a(c);var h=b;var r="Container"==f?"3":"2";var x=N,w=x.Params;f=x.Vars;b=x.Products;var l=x.Order;x=x.AdvertiserId;L(h)&&!ma(h)&&""==w.PageName&&(w.PageName=h,w.Divider="|",h=null);if(la(c))c+="@@";else{c=f?f.toString():void 0;var A=f&&f.SubOrders?encodeURIComponent(f.SubOrders):void 0;c=c||A?c+"@@"+A:""}A=w.PageName;w=w.Divider;var J=Math.floor(1E12*Math.random());r=e?null:r;var E=f.Custom,I;if(!(I=!E))for(T in I=!0,E)if(E.hasOwnProperty(T)){I=!1;break}var T=
I?null:encodeURIComponent(hb(E));a={pm:a,lid:h,ADFPageName:A,ADFdivider:w,ADFsysvars:c,ord:J,ADFtpmode:r,rdir:e,adfcustvars:T,us_privacy:N.us_privacy};e||(a.ADFsale=f.Sale,a.ADForderid=f.OrderID,a.ADFSubOrders=f.SubOrders);0<b.length&&(a.ecpr=ib(hb(b)));l&&(a.itm=ib(hb(l)));x&&(a.adid=x,a.msrc="1");e=Zc(N.eids);if(Object.assign)Object.assign(a,e);else for(var U in e)ca.call(e,U)&&(a[U]=e[U]);Xc(N.Params.HttpHost,a)}}function ed(a,b,c,e){dd(a,b,c,e);fd()}
function fd(){for(var a=N.Vars,b="var1 var2 var3 var4 var5 var6 var7 var8 var9 var10 Sale OrderID SubOrders".split(" "),c=0;c<b.length;c++)a[b[c]]="";N.Products=[];N.Order=null;N.Params.PageName="";N.Params.Divider=""};var Y=z.Tracking||{},gd=Y.Params=Y.Params||{},hd=Y.Vars=Y.Vars||{};hd.Custom=hd.Custom||{};Y.pendingRequests=Y.pendingRequests||{};Y.pageInfo=Y.pageInfo||Sa;Y.Products=[];Y.Steps={View:1,Basket:2,Purchase:3};Y.fpc=Ea;Y.addProduct=Za;
Y.createOrder=function(a){var b={},c={sales:"sl",orderid:"id",country:"cntr",basketsize:"bsz",agegroup:"age",gender:"gen",currency:"cur",productgroup:"pgr",orderstatus:"ost"},e;for(e in c)L(a[e])&&c.hasOwnProperty(e)&&(b[c[e]]=a[e]);Ua(a,b,"var",10);Ua(a,b,"sv",255);Ua(a,b,"svn",255);N.Order=b;N.Vars.Order=a};Y.getCustomVars=Ua;Y.encrypt=Ta;Y.CheckEscape=na;
Y.GetQueryVar=function(a){try{for(var b=window.location.search.substring(1).split("&"),c=0;c<b.length;c++){var e=b[c].split("=");if(e[0].toLowerCase()==a)return e[1]}}catch(f){}return""};Y.LoadScript=eb;Y.CreateIframeElement=db;Y.AddProductsFromArray=Ya;Y.CreateOrderAndProductVars=$a;Y.appendFirstPartyId=function(a,b){var c=ra("adformfrpid");qa("adformfrpid",c||b,30,void 0,"secure; SameSite=Lax");c=ra("adformfrpid")||0;eb(a+"&frpid="+c)};Y.TrackClean=ed;Y.Track=dd;Y.CleanUp=fd;
Y.Container=function(a,b,c,e){dd(a,b,c,e,"Container");fd()};
Y.Post=function(a,b,c){if(""!=b){b=ma(b)?"&lid="+b:"&ADFPageName="+b+"&ADFdivider=|";var e=[];try{ea(e,da("ecpr",ib(hb(N.Products)),function(){return 0<N.Products.length})),ea(e,da("itm",ib(hb(N.Order)),function(){return null!=N.Order}))}catch(w){}var f="";0<e.length&&(f="&"+e.join("&"));a="https://"+N.Params.HttpHost+(a?"/Serving/TrackPoint/?pm="+a+b+"&ADFtpmode=2"+f:"/Banners/Invisible.gif");try{var h;if(ad)var r=ad.stringify(c);else{r="'{";for(var x in c)r+='"'+x+'":"'+c[x]+'",';r+="}'"}window.XMLHttpRequest?
h=new bd:cd&&(h=new cd("Microsoft.XMLHTTP"));h.open("POST",a,!1);h.setRequestHeader("Content-Type","application/json");h.send(r)}catch(w){}}};Y.ClickTrack=function(a,b,c,e,f){L(a.href)?(dd(b,c,e,f,0,10),L(a.target)&&""!=a.target?$c(function(){window.open(a.href,a.target)},100):$c(function(){window.location=a.href},100)):L(a.type)&&"submit"==a.type?(dd(b,c,e,f,0,10),$c(function(){a.form.submit()},100)):dd(b,c,e,f);fd();return!1};var id;
if(!(id=gd.HttpHost)){var jd,kd,ld,md=Fa.currentScript;md&&(ld=Ga(md));if(!ld)for(jd=Fa.getElementsByTagName("script"),kd=jd.length;kd--&&!(0<jd[kd].src.indexOf("serving/scripts/trackpoint")&&(ld=Ga(jd[kd]))););id=ld||"a1.adform.net"}gd.HttpHost=id;
hd.toString=function(){for(var a,b="",c,e="ADF__Sale ADF__OrderID ADF__TD ADF__BasketSize ADF__Country ADF__var1 ADF__var2 ADF__var3 ADF__var4 ADF__var5 ADF__var6 ADF__var7 ADF__var8 ADF__var9 ADF__var10".split(" "),f=0;f<e.length;f++)try{a=(this[e[f].substring(5)]||window[e[f]]||"").toString(),c=-1<a.toLowerCase().indexOf("<insert")?"":encodeURIComponent(a.toString().replace(/\||@@/g,"")),b+=""!=c?e[f].substring(5)+"="+c+"|":""}catch(h){}""!=b&&(b=b.substring(0,b.length-1));return b};var N=Y;var nd=window.Image,od=window.document;var pd=N,qd=pd.TrackClean,rd=pd.ClickTrack,sd=pd.Container,td=pd.Post,ud=pd.createOrder,vd=pd.addProduct,Z=N;Z.async=Z.async||{};Z.track=qd;Z.clicktrack=rd;Z.container=sd;Z.post=td;Z.createItem=ud;Z.addSubItem=vd;z.JSON={stringify:hb};z.TrackingPixel={imgs:[],loadPixel:function(a){var b=nd?new nd(1,1):od.createElement("img");b.src=a;this.imgs.push(b)}};z.BrowserInfo=Sc;z.Tracking=N;window.adf=Z;var wd=Z.async;wd.IsArray=fa;wd.IsObject=ha;wd.TrackOne=xd;wd.track=yd;yd();function yd(){var a=fa(window._adftrack)?window._adftrack:ha(window._adftrack)?[window._adftrack]:[];G(a,xd)}
function xd(a){if(a&&!a.isTracked){var b=a.pm||null,c=a.id||null,e=a.order||a.products||null,f=a.rdir||null,h=a.pagename||null,r=a.divider||null,x=a.encryptor||null,w=a.publicKey||null,l=a.adid||null,A=a.tpid||null,J=a.gdpr||null,E=a.gdpr_consent||null,I=a.gpp||null,T=a.gpp_sid||null,U=a.HttpHost||null,P=a.us_privacy||null,sa=a.eids||null;null!=b&&(l&&(Z.AdvertiserId=l),A&&(Z.ThirdPartyId=A),x&&(Z.Params.encryptor=x),w&&(Z.Params.publicKey=w),J&&(Z.Gdpr=J),E&&(Z.GdprConsent=E),I&&(Z.Gpp=I),T&&(Z.GppSid=
T),U&&(Z.Params.HttpHost=U),P&&(Z.us_privacy=P),sa&&(Z.eids=sa),h?(Z.Params.PageName=h,Z.Params.Divider=r,ed(b,null,e,f)):ed(b,c,e,f),a.isTracked=!0)}};})();