PageSourceSearch

https://static.shanghaidisneyresort.com/proda/steamboat-web/server/browser/profile-sdk-EME6CVIG.js

js shanghaidisneyresort.com collected 2026-09-24 08:58:53 UTC 259,714 bytes, 36 lines download raw bytes

1import{a as wn,b as Wu,d as ri,i as X,j as tr,k as Yo,l as Xo,m as $u}from"./chunk-F5Y2JBVL.js";var U0="3.7.7",vp=U0,zn=typeof Buffer=="function",Vu=typeof TextDecoder=="function"?new TextDecoder:void 0,Ju=typeof TextEncoder=="function"?new TextEncoder:void 0,mp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",fr=Array.prototype.slice.call(mp),ii=(t=>{let e={};return t.forEach((n,r)=>e[n]=r),e})(fr),yp=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,At=String.fromCharCode.bind(String),Ku=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):t=>new Uint8Array(Array.prototype.slice.call(t,0)),F0=t=>t.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),z0=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),q0=t=>{let e,n,r,i,o="",a=t.length%3;for(let c=0;c<t.length;){if((n=t.charCodeAt(c++))>255||(r=t.charCodeAt(c++))>255||(i=t.charCodeAt(c++))>255)throw new TypeError("invalid character found");e=n<<16|r<<8|i,o+=fr[e>>18&63]+fr[e>>12&63]+fr[e>>6&63]+fr[e&63]}return a?o.slice(0,a-3)+"===".substring(a):o},kc=typeof btoa=="function"?t=>btoa(t):zn?t=>Buffer.from(t,"binary").toString("base64"):q0,Ma=zn?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let n=0,r=t.length;n<r;n+=4096)e.push(At.apply(null,t.subarray(n,n+4096)));return kc(e.join(""))},xi=(t,e=!1)=>e?F0(Ma(t)):Ma(t),bp=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?At(192|e>>>6)+At(128|e&63):At(224|e>>>12&15)+At(128|e>>>6&63)+At(128|e&63)}else{var e=65536+(t.charCodeAt(0)-55296)*1024+(t.charCodeAt(1)-56320);return At(240|e>>>18&7)+At(128|e>>>12&63)+At(128|e>>>6&63)+At(128|e&63)}},wp=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,W0=t=>t.replace(wp,bp),Yu=zn?t=>Buffer.from(t,"utf8").toString("base64"):Ju?t=>Ma(Ju.encode(t)):t=>kc(W0(t)),Rn=(t,e=!1)=>e?F0(Yu(t)):Yu(t),Xu=t=>Rn(t,!0),_p=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,xp=t=>{switch(t.length){case 4:var e=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),n=e-65536;return At((n>>>10)+55296)+At((n&1023)+56320);case 3:return At((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return At((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},$0=t=>t.replace(_p,xp),V0=t=>{if(t=t.replace(/\s+/g,""),!yp.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(t.length&3));let e,n="",r,i;for(let o=0;o<t.length;)e=ii[t.charAt(o++)]<<18|ii[t.charAt(o++)]<<12|(r=ii[t.charAt(o++)])<<6|(i=ii[t.charAt(o++)]),n+=r===64?At(e>>16&255):i===64?At(e>>16&255,e>>8&255):At(e>>16&255,e>>8&255,e&255);return n},Tc=typeof atob=="function"?t=>atob(z0(t)):zn?t=>Buffer.from(t,"base64").toString("binary"):V0,J0=zn?t=>Ku(Buffer.from(t,"base64")):t=>Ku(Tc(t).split("").map(e=>e.charCodeAt(0))),K0=t=>J0(Y0(t)),Sp=zn?t=>Buffer.from(t,"base64").toString("utf8"):Vu?t=>Vu.decode(J0(t)):t=>$0(Tc(t)),Y0=t=>z0(t.replace(/[-_]/g,e=>e=="-"?"+":"/")),Ua=t=>Sp(Y0(t)),Ep=t=>{if(typeof t!="string")return!1;let e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},X0=t=>({value:t,enumerable:!1,writable:!0,configurable:!0}),Z0=function(){let t=(e,n)=>Object.defineProperty(String.prototype,e,X0(n));t("fromBase64",function(){return Ua(this)}),t("toBase64",function(e){return Rn(this,e)}),t("toBase64URI",function(){return Rn(this,!0)}),t("toBase64URL",function(){return Rn(this,!0)}),t("toUint8Array",function(){return K0(this)})},G0=function(){let t=(e,n)=>Object.defineProperty(Uint8Array.prototype,e,X0(n));t("toBase64",function(e){return xi(this,e)}),t("toBase64URI",function(){return xi(this,!0)}),t("toBase64URL",function(){return xi(this,!0)})},Ap=()=>{Z0(),G0()},sn={version:U0,VERSION:vp,atob:Tc,atobPolyfill:V0,btoa:kc,btoaPolyfill:q0,fromBase64:Ua,toBase64:Rn,encode:Rn,encodeURI:Xu,encodeURL:Xu,utob:W0,btou:$0,decode:Ua,isValid:Ep,fromUint8Array:xi,toUint8Array:K0,extendString:Z0,extendUint8Array:G0,extendBuiltins:Ap},Zt=class{constructor(e){this.prefix=e}isEmpty(e){return e==null||e===""}baseLog(e="log",...n){if(typeof console[e]=="function"){let r=[...n];this.isEmpty(this.prefix)||r.unshift(this.prefix,":");try{(window.isProfileSdkLog||localStorage.getItem("isProfileSdkLog"))&&console[e](...r)}catch(i){console.log(i,"window isProfileSdkLog")}}}log(...e){this.baseLog("log",...e)}warn(...e){this.baseLog("warn",...e)}error(...e){this.baseLog("error",...e)}info(...e){this.baseLog("info",...e)}},Zo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kp(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Tp(t){if(Object.prototype.hasOwnProperty.call(t,"__esMo
1dule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var Fa={exports:{}};function Cp(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var za={exports:{}},Op={},Rp=Object.freeze(Object.defineProperty({__proto__:null,default:Op},Symbol.toStringTag,{value:"Module"})),Bp=Tp(Rp),Pp=za.exports,Zu;function G(){return Zu||(Zu=1,(function(t,e){(function(n,r){t.exports=r()})(Pp,function(){var n=n||(function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Zo<"u"&&Zo.crypto&&(o=Zo.crypto),!o&&typeof Cp=="function")try{o=Bp}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},c=Object.create||(function(){function v(){}return function(y){var w;return v.prototype=y,w=new v,v.prototype=null,w}})(),u={},s=u.lib={},l=s.Base=(function(){return{extend:function(v){var y=c(this);return v&&y.mixIn(v),(!y.hasOwnProperty("init")||this.init===y.init)&&(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var v=this.extend();return v.init.apply(v,arguments),v},init:function(){},mixIn:function(v){for(var y in v)v.hasOwnProperty(y)&&(this[y]=v[y]);v.hasOwnProperty("toString")&&(this.toString=v.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),h=s.WordArray=l.extend({init:function(v,y){v=this.words=v||[],y!=i?this.sigBytes=y:this.sigBytes=v.length*4},toString:function(v){return(v||f).stringify(this)},concat:function(v){var y=this.words,w=v.words,_=this.sigBytes,x=v.sigBytes;if(this.clamp(),_%4)for(var E=0;E<x;E++){var T=w[E>>>2]>>>24-E%4*8&255;y[_+E>>>2]|=T<<24-(_+E)%4*8}else for(var N=0;N<x;N+=4)y[_+N>>>2]=w[N>>>2];return this.sigBytes+=x,this},clamp:function(){var v=this.words,y=this.sigBytes;v[y>>>2]&=4294967295<<32-y%4*8,v.length=r.ceil(y/4)},clone:function(){var v=l.clone.call(this);return v.words=this.words.slice(0),v},random:function(v){for(var y=[],w=0;w<v;w+=4)y.push(a());return new h.init(y,v)}}),d=u.enc={},f=d.Hex={stringify:function(v){for(var y=v.words,w=v.sigBytes,_=[],x=0;x<w;x++){var E=y[x>>>2]>>>24-x%4*8&255;_.push((E>>>4).toString(16)),_.push((E&15).toString(16))}return _.join("")},parse:function(v){for(var y=v.length,w=[],_=0;_<y;_+=2)w[_>>>3]|=parseInt(v.substr(_,2),16)<<24-_%8*4;return new h.init(w,y/2)}},p=d.Latin1={stringify:function(v){for(var y=v.words,w=v.sigBytes,_=[],x=0;x<w;x++){var E=y[x>>>2]>>>24-x%4*8&255;_.push(String.fromCharCode(E))}return _.join("")},parse:function(v){for(var y=v.length,w=[],_=0;_<y;_++)w[_>>>2]|=(v.charCodeAt(_)&255)<<24-_%4*8;return new h.init(w,y)}},g=d.Utf8={stringify:function(v){try{return decodeURIComponent(escape(p.stringify(v)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(v){return p.parse(unescape(encodeURIComponent(v)))}},m=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(v){typeof v=="string"&&(v=g.parse(v)),this._data.concat(v),this._nDataBytes+=v.sigBytes},_process:function(v){var y,w=this._data,_=w.words,x=w.sigBytes,E=this.blockSize,T=E*4,N=x/T;v?N=r.ceil(N):N=r.max((N|0)-this._minBufferSize,0);var S=N*E,A=r.min(S*4,x);if(S){for(var P=0;P<S;P+=E)this._doProcessBlock(_,P);y=_.splice(0,S),w.sigBytes-=A}return new h.init(y,A)},clone:function(){var v=l.clone.call(this);return v._data=this._data.clone(),v},_minBufferSize:0});s.Hasher=m.extend({cfg:l.extend(),init:function(v){this.cfg=this.cfg.extend(v),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(v){return this._append(v),this._process(),this},finalize:function(v){v&&this._append(v);var y=this._doFinalize();return y},blockSize:16,_createHelper:function(v){return function(y,w){return new v.init(w).finalize(y)}},_createHmacHelper:function(v){return function(y,w){return new b.HMAC.init(v,w).finalize(y)}}});var b=u.algo={};return u})(Math);return n})})(za)),za.exports}var qa={exports:{}},Dp=qa.exports,Gu;function po(){return Gu||(Gu=1,(function(t,e){(function(n,r){t.exports=r(G())})(Dp,function(n){return(function(r){var i=n,o=i.lib,a=o.Base,c=o.WordArray,u=i.x64={};u.Word=a.extend({init:function(s,l){this.high=s,this.low=l}}),u.WordArray=a.extend({init:function(s,l){s=this.words=s||[],l!=r?this.sigBytes=l:this.sigBytes=s.length*8},toX32:function(){for(var s=this.words,l=s.length,h=[],d=0;d<l;d++){var f=s[d];h.push(f.high),h.push(f.low)}return c.create(h,this.sigBytes)},clone:function(){for(var s=a.clone.call(this),l=s.words=this.words.slice(0),h=l.length,d=0;d<h;d++)l[d]=l[d].clone();return s}})})(),n})})(qa)),qa.exports}var Wa={exports:{}},Ip=Wa.exports,Qu;function Np(){return Qu||(Qu=1,(function(t,e){(function(n,r){t.exports=r(G())})(Ip,function(n){return(function(){if(typeof ArrayBuffer=="function"){var r=n,i=r.lib,o=i.WordArray,a=o.init,c=o.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray<"u"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var s=u.byteLength,l=[],h=0;h<s;h++)l[h>>>2]|=u[h]<<24-h%4*8;a.call(this,l,s)}else a.apply(this,arguments)};c.prototype=o}})(),n.lib.WordArray})})(Wa)),Wa.exports}var $a={exports:{}},Lp=$a.exports,tl;function Hp(){return tl||(tl=1,(function(t,e){(function(n,r){t.exports=r(G())})(Lp,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Utf16=a.Utf16BE={stringify:function(u){for(var s=u.words,l=u.sigBytes,h=[],d=0;d<l;d+=2){var f=s[d>>>2]>>>16-d%4*8&65535;h.push(String.fromCharCode(f))}return h.join("")},parse:function(u){for(var s=u.length,l=[],h=0;h<s;h++)l[h>>>1]|=u.charCodeAt(h)<<16-h%2*16;return o.create(l,s*2)}},a.Utf16LE={stringify:function(u){for(var s=u.words,l=u.sigBytes,h=[],d=0;d<l;d+=2){var f=c(s[d>>>2]>>>16-d%4*8&65535);h.push(String.fromCharCode(f))}return h.join("")},parse:function(u){for(var s=u.length,l=[],h=0;h<s;h++)l[h>>>1]|=c(u.charCodeAt(h)<<16-h%2*16);return o.create(l,s*2)}};function c(u){return u<<8&4278255360|u>>>8&16711935}})(),n.enc.Utf16})})($a)),$a.exports}var Va={exports:{}},jp=Va.exports,el;function dn(){return el||(el=1,(function(t,e){(function(n,r){t.exports=r(G())})(jp,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Base64={stringify:function(u){var s=u.words,l=u.sigBytes,h=this._map;u.clamp();for(var d=[],f=0;f<l;f+=3)for(var p=s[f>>>2]>>>24-f%4*8&255,g=s[f+1>>>2]>>>24-(f+1)%4*8&255,m=s[f+2>>>2]>>>24-(f+2)%4*8&255,b=p<<16|g<<8|m,v=0;v<4&&f+v*.75<l;v++)d.push(h.charAt(b>>>6*(3-v)&63));var y=h.charAt(64);if(y)for(;d.length%4;)d.push(y);return d.join("")},parse:function(u){var s=u.length,l=this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var d=0;d<l.length;d++)h[l.charCodeAt(d)]=d}var f=l.charAt(64);if(f){var p=u.indexOf(f);p!==-1&&(s=p)}return c(u,s,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/="};function c(u,s,l){for(var h=[],d=0,f=0;f<s;f++)if(f%4){var p=l[u.charCodeAt(f-1)]<<f%4*2,g=l[u.charCodeAt(f)]>>>6-f%4*2,m=p|g;h[d>>>2]|=m<<24-d%4*8,d++}return o.create(h,d)}})(),n.enc.Base64})})(Va)),Va.exports}var Ja={exports:{}},Mp=Ja.exports,nl;function Up(){return nl||(nl=1,(function(t,e){(function(n,r){t.exports=r(G())})(Mp,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Base64url={stringify:function(u,s){s===void 0&&(s=!0);var l=u.words,h=u.sigBytes,d=s?this._safe_map:this._map;u.clamp();for(var f=[],p=0;p<h;p+=3)for(var g=l[p>>>2]>>>24-p%4*8&255,m=l[p+1>>>2]>>>24-(p+1)%4*8&255,b=l[p+2>>>2]>>>24-(p+2)%4*8&255,v=g<<16|m<<8|b,y=0;y<4&&p+y*.75<h;y++)f.push(d.charAt(v>>>6*(3-y)&63));var w=d.charAt(64);if(w)for(;f.length%4;)f.push(w);return f.join("")},parse:function(u,s){s===void 0&&(s=!0);var l=u.length,h=s?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var f=0;f<h.length;f++)d[h.charCodeAt(f)]=f}var p=h.charAt(64);if(p){var g=u.indexOf(p);g!==-1&&(l=g)}return c(u,l,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function c(u,s,l){for(var h=[],d=0,f=0;f<s;f++)if(f%4){var p=l[u.charCodeAt(f-1)]<<f%4*2,g=l[u.charCodeAt(f)]>>>6-f%4*2,m=p|g;h[d>>>2]|=m<<24-d%4*8,d++}return o.create(h,d)}})(),n.enc.Base64url})})(Ja)),Ja.exports}var Ka={exports:{}},Fp=Ka.exports,rl;function hn(){return rl||(rl=1,(function(t,e){(function(n,r){t.exports=r(G())})(Fp,function(n){return(function(r){var i=n,o=i.lib,a=o.WordArray,c=o.Hasher,u=i.algo,s=[];(function(){for(var g=0;g<64;g++)s[g]=r.abs(r.sin(g+1))*4294967296|0})();var l=u.MD5=c.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,m){for(var b=0;b<16;b++){var v=m+b,y=g[v];g[v]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360}var w=this._hash.words,_=g[m+0],x=g[m+1],E=g[m+2],T=g[m+3],N=g[m+4],S=g[m+5],A=g[m+6],P=g[m+7],R=g[m+8],U=g[m+9],F=g[m+10],$=g[m+11],it=g[m+12],et=g[m+13],ot=g[m+14],nt=g[m+15],B=w[0],I=w[1],L=w[2],D=w[3];B=h(B,I,L,D,_,7,s[0]),D=h(D,B,I,L,x,12,s[1]),L=h(L,D,B,I,E,17,s[2]),I=h(I,L,D,B,T,22,s[3]),B=h(B,I,L,D,N,7,s[4]),D=h(D,B,I,L,S,12,s[5]),L=h(L,D,B,I,A,17,s[6]),I=h(I,L,D,B,P,22,s[7]),B=h(B,I,L,D,R,7,s[8]),D=h(D,B,I,L,U,12,s[9]),L=h(L,D,B,I,F,17,s[10]),I=h(I,L,D,B,$,22,s[11]),B=h(B,I,L,D,it,7,s[12]),D=h(D,B,I,L,et,12,s[13]),L=h(L,D,B,I,ot,17,s[14]),I=h(I,L,D,B,nt,22,s[15]),B=d(B,I,L,D,x,5,s[16]),D=d(D,B,I,L,A,9,s[17]),L=d(L,D,B,I,$,14,s[18]),I=d(I,L,D,B,_,20,s[19]),B=d(B,I,L,D,S,5,s[20]),D=d(D,B,I,L,F,9,s[21]),L=d(L,D,B,I,nt,14,s[22]),I=d(I,L,D,B,N,20,s[23]),B=d(B,I,L,D,U,5,s[24]),D=d(D,B,I,L,ot,9,s[25]),L=d(L,D,B,I,T,14,s[26]),I=d(I,L,D,B,R,20,s[27]),B=d(B,I,L,D,et,5,s[28]),D=d(D,B,I,L,E,9,s[29]),L=d(L,D,B,I,P,14,s[30]),I=d(I,L,D,B,it,20,s[31]),B=f(B,I,L,D,S,4,s[32]),D=f(D,B,I,L,R,11,s[33]),L=f(L,D,B,I,$,16,s[34]),I=f(I,L,D,B,ot,23,s[35]),B=f(B,I,L,D,x,4,s[36]),D=f(D,B,I,L,N,11,s[37]),L=f(L,D,B,I,P,16,s[38]),I=f(I,L,D,B,F,23,s[39]),B=f(B,I,L,D,et,4,s[40]),D=f(D,B,I,L,_,11,s[41]),L=f(L,D,B,I,T,16,s[42]),I=f(I,L,D,B,A,23,s[43]),B=f(B,I,L,D,U,4,s[44]),D=f(D,B,I,L,it,11,s[45]),L=f(L,D,B,I,nt,16,s[46]),I=f(I,L,D,B,E,23,s[47]),B=p(B,I,L,D,_,6,s[48]),D=p(D,B,I,L,P,10,s[49]),L=p(L,D,B,I,ot,15,s[50]),I=p(I,L,D,B,S,21,s[51]),B=p(B,I,L,D,it,6,s[52]),D=p(D,B,I,L,T,10,s[53]),L=p(L,D,B,I,F,15,s[54]),I=p(I,L,D,B,x,21,s[55]),B=p(B,I,L,D,R,6,s[56]),D=p(D,B,I,L,nt,10,s[57]),L=p(L,D,B,I,A,15,s[58]),I=p(I,L,D,B,et,21,s[59]),B=p(B,I,L,D,N,6,s[60]),D=p(D,B,I,L,$,10,s[61]),L=p(L,D,B,I,E,15,s[62]),I=p(I,L,D,B,U,21,s[63]),w[0]=w[0]+B|0,w[1]=w[1]+I|0,w[2]=w[2]+L|0,w[3]=w[3]+D|0},_doFinalize:function(){var g=this._data,m=g.words,b=this._nDataBytes*8,v=g.sigBytes*8;m[v>>>5]|=128<<24-v%32;var y=r.floor(b/4294967296),w=b;m[(v+64>>>9<<4)+15]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,m[(v+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,g.sigBytes=(m.length+1)*4,this._process();for(var _=this._hash,x=_.words,E=0;E<4;E++){var T=x[E];x[E]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return _},clone:function(){var g=c.clone.call(this);return g._hash=this._hash.clone(),g}});function h(g,m,b,v,y,w,_){var x=g+(m&b|~m&v)+y+_;return(x<<w|x>>>32-w)+m}function d(g,m,b,v,y,w,_){var x=g+(m&v|b&~v)+y+_;return(x<<w|x>>>32-w)+m}function f(g,m,b,v,y,w,_){var x=g+(m^b^v)+y+_;return(x<<w|x>>>32-w)+m}function p(g,m,b,v,y,w,_){var x=g+(b^(m|~v))+y+_;return(x<<w|x>>>32-w)+m}i.MD5=c._createHelper(l),i.HmacMD5=c._createHmacHelper(l)})(Math),n.MD5})})(Ka)),Ka.exports}var Ya={exports:{}},zp=Ya.exports,il;function Q0(){return il||(il=1,(function(t,e){(function(n,r){t.exports=r(G())})(zp,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,a=i.Hasher,c=r.algo,u=[],s=c.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,h){for(var d=this._hash.words,f=d[0],p=d[1],g=d[2],m=d[3],b=d[4],v=0;v<80;v++){if(v<16)u[v]=l[h+v]|0;else{var y=u[v-3]^u[v-8]^u[v-14]^u[v-16];u[v]=y<<1|y>>>31}var w=(f<<5|f>>>27)+b+u[v];v<20?w+=(p&g|~p&m)+1518500249:v<40?w+=(p^g^m)+1859775393:v<60?w+=(p&g|p&m|g&m)-1894007588:w+=(p^g^m)-899497514,b=m,m=g,g=p<<30|p>>>2,p=f,f=w}d[0]=d[0]+f|0,d[1]=d[1]+p|0,d[2]=d[2]+g|0,d[3]=d[3]+m|0,d[4]=d[4]+b|0},_doFinalize:function(){var l=this._data,h=l.words,d=this._nDataBytes*8,f=l.sigBytes*8;return h[f>>>5]|=128<<24-f%32,h[(f+64>>>9<<4)+14]=Math.floor(d/4294967296),h[(f+64>>>9<<4)+15]=d,l.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var l=a.clone.call(this);return l._hash=this._hash.clone(),l}});r.SHA1=a._createHelper(s),r.HmacSHA1=a._createHmacHelper(s)})(),n.SHA1})})(Ya)),Ya.exports}var Xa={exports:{}},qp=Xa.exports,ol;function Cc(){return ol||(ol=1,(function(t,e){(function(n,r){t.exports=r(G())})(qp,function(n){return(function(r){var i=n,o=i.lib,a=o.WordArray,c=o.Hasher,u=i.algo,s=[],l=[];(function(){function f(b){for(var v=r.sqrt(b),y=2;y<=v;y++)if(!(b%y))return!1;return!0}function p(b){return(b-(b|0))*4294967296|0}for(var g=2,m=0;m<64;)f(g)&&(m<8&&(s[m]=p(r.pow(g,1/2))),l[m]=p(r.pow(g,1/3)),m++),g++})();var h=[],d=u.SHA256=c.extend({_doReset:function(){this._hash=new a.init(s.slice(0))},_doProcessBlock:function(f,p){for(var g=this._hash.words,m=g[0],b=g[1],v=g[2],y=g[3],w=g[4],_=g[5],x=g[6],E=g[7],T=0;T<64;T++){if(T<16)h[T]=f[p+T]|0;else{var N=h[T-15],S=(N<<25|N>>>7)^(N<<14|N>>>18)^N>>>3,A=h[T-2],P=(A<<15|A>>>17)^(A<<13|A>>>19)^A>>>10;h[T]=S+h[T-7]+P+h[T-16]}var R=w&_^~w&x,U=m&b^m&v^b&v,F=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),$=(w<<26|w>>>6)^(w<<21|w>>>11)^(w<<7|w>>>25),it=E+$+R+l[T]+h[T],et=F+U;E=x,x=_,_=w,w=y+it|0,y=v,v=b,b=m,m=it+et|0}g[0]=g[0]+m|0,g[1]=g[1]+b|0,g[2]=g[2]+v|0,g[3]=g[3]+y|0,g[4]=g[4]+w|0,g[5]=g[5]+_|0,g[6]=g[6]+x|0,g[7]=g[7]+E|0}
1,_doFinalize:function(){var f=this._data,p=f.words,g=this._nDataBytes*8,m=f.sigBytes*8;return p[m>>>5]|=128<<24-m%32,p[(m+64>>>9<<4)+14]=r.floor(g/4294967296),p[(m+64>>>9<<4)+15]=g,f.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var f=c.clone.call(this);return f._hash=this._hash.clone(),f}});i.SHA256=c._createHelper(d),i.HmacSHA256=c._createHmacHelper(d)})(Math),n.SHA256})})(Xa)),Xa.exports}var Za={exports:{}},Wp=Za.exports,al;function $p(){return al||(al=1,(function(t,e){(function(n,r,i){t.exports=r(G(),Cc())})(Wp,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,a=r.algo,c=a.SHA256,u=a.SHA224=c.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var s=c._doFinalize.call(this);return s.sigBytes-=4,s}});r.SHA224=c._createHelper(u),r.HmacSHA224=c._createHmacHelper(u)})(),n.SHA224})})(Za)),Za.exports}var Ga={exports:{}},Vp=Ga.exports,sl;function tf(){return sl||(sl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),po())})(Vp,function(n){return(function(){var r=n,i=r.lib,o=i.Hasher,a=r.x64,c=a.Word,u=a.WordArray,s=r.algo;function l(){return c.create.apply(c,arguments)}var h=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=l()})();var f=s.SHA512=o.extend({_doReset:function(){this._hash=new u.init([new c.init(1779033703,4089235720),new c.init(3144134277,2227873595),new c.init(1013904242,4271175723),new c.init(2773480762,1595750129),new c.init(1359893119,2917565137),new c.init(2600822924,725511199),new c.init(528734635,4215389547),new c.init(1541459225,327033209)])},_doProcessBlock:function(p,g){for(var m=this._hash.words,b=m[0],v=m[1],y=m[2],w=m[3],_=m[4],x=m[5],E=m[6],T=m[7],N=b.high,S=b.low,A=v.high,P=v.low,R=y.high,U=y.low,F=w.high,$=w.low,it=_.high,et=_.low,ot=x.high,nt=x.low,B=E.high,I=E.low,L=T.high,D=T.low,ct=N,at=S,Ct=A,K=P,Ve=R,Ce=U,Kn=F,Oe=$,qt=it,Wt=et,ti=ot,Yn=nt,ei=B,Xn=I,Ko=L,Zn=D,Gt=0;Gt<80;Gt++){var Xt,Re,ni=d[Gt];if(Gt<16)Re=ni.high=p[g+Gt*2]|0,Xt=ni.low=p[g+Gt*2+1]|0;else{var Pu=d[Gt-15],yn=Pu.high,Gn=Pu.low,rp=(yn>>>1|Gn<<31)^(yn>>>8|Gn<<24)^yn>>>7,Du=(Gn>>>1|yn<<31)^(Gn>>>8|yn<<24)^(Gn>>>7|yn<<25),Iu=d[Gt-2],bn=Iu.high,Qn=Iu.low,ip=(bn>>>19|Qn<<13)^(bn<<3|Qn>>>29)^bn>>>6,Nu=(Qn>>>19|bn<<13)^(Qn<<3|bn>>>29)^(Qn>>>6|bn<<26),Lu=d[Gt-7],op=Lu.high,ap=Lu.low,Hu=d[Gt-16],sp=Hu.high,ju=Hu.low;Xt=Du+ap,Re=rp+op+(Xt>>>0<Du>>>0?1:0),Xt=Xt+Nu,Re=Re+ip+(Xt>>>0<Nu>>>0?1:0),Xt=Xt+ju,Re=Re+sp+(Xt>>>0<ju>>>0?1:0),ni.high=Re,ni.low=Xt}var cp=qt&ti^~qt&ei,Mu=Wt&Yn^~Wt&Xn,up=ct&Ct^ct&Ve^Ct&Ve,lp=at&K^at&Ce^K&Ce,fp=(ct>>>28|at<<4)^(ct<<30|at>>>2)^(ct<<25|at>>>7),Uu=(at>>>28|ct<<4)^(at<<30|ct>>>2)^(at<<25|ct>>>7),dp=(qt>>>14|Wt<<18)^(qt>>>18|Wt<<14)^(qt<<23|Wt>>>9),hp=(Wt>>>14|qt<<18)^(Wt>>>18|qt<<14)^(Wt<<23|qt>>>9),Fu=h[Gt],pp=Fu.high,zu=Fu.low,$t=Zn+hp,Be=Ko+dp+($t>>>0<Zn>>>0?1:0),$t=$t+Mu,Be=Be+cp+($t>>>0<Mu>>>0?1:0),$t=$t+zu,Be=Be+pp+($t>>>0<zu>>>0?1:0),$t=$t+Xt,Be=Be+Re+($t>>>0<Xt>>>0?1:0),qu=Uu+lp,gp=fp+up+(qu>>>0<Uu>>>0?1:0);Ko=ei,Zn=Xn,ei=ti,Xn=Yn,ti=qt,Yn=Wt,Wt=Oe+$t|0,qt=Kn+Be+(Wt>>>0<Oe>>>0?1:0)|0,Kn=Ve,Oe=Ce,Ve=Ct,Ce=K,Ct=ct,K=at,at=$t+qu|0,ct=Be+gp+(at>>>0<$t>>>0?1:0)|0}S=b.low=S+at,b.high=N+ct+(S>>>0<at>>>0?1:0),P=v.low=P+K,v.high=A+Ct+(P>>>0<K>>>0?1:0),U=y.low=U+Ce,y.high=R+Ve+(U>>>0<Ce>>>0?1:0),$=w.low=$+Oe,w.high=F+Kn+($>>>0<Oe>>>0?1:0),et=_.low=et+Wt,_.high=it+qt+(et>>>0<Wt>>>0?1:0),nt=x.low=nt+Yn,x.high=ot+ti+(nt>>>0<Yn>>>0?1:0),I=E.low=I+Xn,E.high=B+ei+(I>>>0<Xn>>>0?1:0),D=T.low=D+Zn,T.high=L+Ko+(D>>>0<Zn>>>0?1:0)},_doFinalize:function(){var p=this._data,g=p.words,m=this._nDataBytes*8,b=p.sigBytes*8;g[b>>>5]|=128<<24-b%32,g[(b+128>>>10<<5)+30]=Math.floor(m/4294967296),g[(b+128>>>10<<5)+31]=m,p.sigBytes=g.length*4,this._process();var v=this._hash.toX32();return v},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});r.SHA512=o._createHelper(f),r.HmacSHA512=o._createHmacHelper(f)})(),n.SHA512})})(Ga)),Ga.exports}
1var Qa={exports:{}},Jp=Qa.exports,cl;function Kp(){return cl||(cl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),po(),tf())})(Jp,function(n){return(function(){var r=n,i=r.x64,o=i.Word,a=i.WordArray,c=r.algo,u=c.SHA512,s=c.SHA384=u.extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var l=u._doFinalize.call(this);return l.sigBytes-=16,l}});r.SHA384=u._createHelper(s),r.HmacSHA384=u._createHmacHelper(s)})(),n.SHA384})})(Qa)),Qa.exports}var ts={exports:{}},Yp=ts.exports,ul;function Xp(){return ul||(ul=1,(function(t,e){(function(n,r,i){t.exports=r(G(),po())})(Yp,function(n){return(function(r){var i=n,o=i.lib,a=o.WordArray,c=o.Hasher,u=i.x64,s=u.Word,l=i.algo,h=[],d=[],f=[];(function(){for(var m=1,b=0,v=0;v<24;v++){h[m+5*b]=(v+1)*(v+2)/2%64;var y=b%5,w=(2*m+3*b)%5;m=y,b=w}for(var m=0;m<5;m++)for(var b=0;b<5;b++)d[m+5*b]=b+(2*m+3*b)%5*5;for(var _=1,x=0;x<24;x++){for(var E=0,T=0,N=0;N<7;N++){if(_&1){var S=(1<<N)-1;S<32?T^=1<<S:E^=1<<S-32}_&128?_=_<<1^113:_<<=1}f[x]=s.create(E,T)}})();var p=[];(function(){for(var m=0;m<25;m++)p[m]=s.create()})();var g=l.SHA3=c.extend({cfg:c.cfg.extend({outputLength:512}),_doReset:function(){for(var m=this._state=[],b=0;b<25;b++)m[b]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(m,b){for(var v=this._state,y=this.blockSize/2,w=0;w<y;w++){var _=m[b+2*w],x=m[b+2*w+1];_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,x=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360;var E=v[w];E.high^=x,E.low^=_}for(var T=0;T<24;T++){for(var N=0;N<5;N++){for(var S=0,A=0,P=0;P<5;P++){var E=v[N+5*P];S^=E.high,A^=E.low}var R=p[N];R.high=S,R.low=A}for(var N=0;N<5;N++)for(var U=p[(N+4)%5],F=p[(N+1)%5],$=F.high,it=F.low,S=U.high^($<<1|it>>>31),A=U.low^(it<<1|$>>>31),P=0;P<5;P++){var E=v[N+5*P];E.high^=S,E.low^=A}for(var et=1;et<25;et++){var S,A,E=v[et],ot=E.high,nt=E.low,B=h[et];B<32?(S=ot<<B|nt>>>32-B,A=nt<<B|ot>>>32-B):(S=nt<<B-32|ot>>>64-B,A=ot<<B-32|nt>>>64-B);var I=p[d[et]];I.high=S,I.low=A}var L=p[0],D=v[0];L.high=D.high,L.low=D.low;for(var N=0;N<5;N++)for(var P=0;P<5;P++){var et=N+5*P,E=v[et],ct=p[et],at=p[(N+1)%5+5*P],Ct=p[(N+2)%5+5*P];E.high=ct.high^~at.high&Ct.high,E.low=ct.low^~at.low&Ct.low}var E=v[0],K=f[T];E.high^=K.high,E.low^=K.low}},_doFinalize:function(){var m=this._data,b=m.words;this._nDataBytes*8;var v=m.sigBytes*8,y=this.blockSize*32;b[v>>>5]|=1<<24-v%32,b[(r.ceil((v+1)/y)*y>>>5)-1]|=128,m.sigBytes=b.length*4,this._process();for(var w=this._state,_=this.cfg.outputLength/8,x=_/8,E=[],T=0;T<x;T++){var N=w[T],S=N.high,A=N.low;S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,E.push(A),E.push(S)}return new a.init(E,_)},clone:function(){for(var m=c.clone.call(this),b=m._state=this._state.slice(0),v=0;v<25;v++)b[v]=b[v].clone();return m}});i.SHA3=c._createHelper(g),i.HmacSHA3=c._createHmacHelper(g)})(Math),n.SHA3})})(ts)),ts.exports}var es={exports:{}},Zp=es.exports,ll;function Gp(){return ll||(ll=1,(function(t,e){(function(n,r){t.exports=r(G())})(Zp,function(n){return(function(r){var i=n,o=i.lib,a=o.WordArray,c=o.Hasher,u=i.algo,s=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),h=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),f=a.create([0,1518500249,1859775393,2400959708,2840853838]),p=a.create([1352829926,1548603684,1836072691,2053994217,0]),g=u.RIPEMD160=c.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(x,E){for(var T=0;T<16;T++){var N=E+T,S=x[N];x[N]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}var A=this._hash.words,P=f.words,R=p.words,U=s.words,F=l.words,$=h.words,it=d.words,et,ot,nt,B,I,L,D,ct,at,Ct;L=et=A[0],D=ot=A[1],ct=nt=A[2],at=B=A[3],Ct=I=A[4];for(var K,T=0;T<80;T+=1)K=et+x[E+U[T]]|0,T<16?K+=m(ot,nt,B)+P[0]:T<32?K+=b(ot,nt,B)+P[1]:T<48?K+=v(ot,nt,B)+P[2]:T<64?K+=y(ot,nt,B)+P[3]:K+=w(ot,nt,B)+P[4],K=K|0,K=_(K,$[T]),K=K+I|0,et=I,I=B,B=_(nt,10),nt=ot,ot=K,K=L+x[E+F[T]]|0,T<16?K+=w(D,ct,at)+R[0]:T<32?K+=y(D,ct,at)+R[1]:T<48?K+=v(D,ct,at)+R[2]:T<64?K+=b(D,ct,at)+R[3]:K+=m(D,ct,at)+R[4],K=K|0,K=_(K,it[T]),K=K+Ct|0,L=Ct,Ct=at,at=_(ct,10),ct=D,D=K;K=A[1]+nt+at|0,A[1]=A[2]+B+Ct|0,A[2]=A[3]+I+L|0,A[3]=A[4]+et+D|0,A[4]=A[0]+ot+ct|0,A[0]=K},_doFinalize:function(){var x=this._data,E=x.words,T=this._nDataBytes*8,N=x.sigBytes*8;E[N>>>5]|=128<<24-N%32,E[(N+64>>>9<<4)+14]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,x.sigBytes=(E.length+1)*4,this._process();for(var S=this._hash,A=S.words,P=0;P<5;P++){var R=A[P];A[P]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}return S},clone:function(){var x=c.clone.call(this);return x._hash=this._hash.clone(),x}});function m(x,E,T){return x^E^T}function b(x,E,T){return x&E|~x&T}function v(x,E,T){return(x|~E)^T}function y(x,E,T){return x&T|E&~T}function w(x,E,T){return x^(E|~T)}function _(x,E){return x<<E|x>>>32-E}i.RIPEMD160=c._createHelper(g),i.HmacRIPEMD160=c._createHmacHelper(g)})(),n.RIPEMD160})})(es)),es.exports}var ns={exports:{}},Qp=ns.exports,fl;function Oc(){return fl||(fl=1,(function(t,e){(function(n,r){t.exports=r(G())})(Qp,function(n){(function(){var r=n,i=r.lib,o=i.Base,a=r.enc,c=a.Utf8,u=r.algo;u.HMAC=o.extend({init:function(s,l){s=this._hasher=new s.init,typeof l=="string"&&(l=c.parse(l));var h=s.blockSize,d=h*4;l.sigBytes>d&&(l=s.finalize(l)),l.clamp();for(var f=this._oKey=l.clone(),p=this._iKey=l.clone(),g=f.words,m=p.words,b=0;b<h;b++)g[b]^=1549556828,m[b]^=909522486;f.sigBytes=p.sigBytes=d,this.reset()},reset:function(){var s=this._hasher;s.reset(),s.update(this._iKey)},update:function(s){return this._hasher.update(s),this},finalize:function(s){var l=this._hasher,h=l.finalize(s);l.reset();var d=l.finalize(this._oKey.clone().concat(h));return d}})})()})})(ns)),ns.exports}
1var rs={exports:{}},t4=rs.exports,dl;function e4(){return dl||(dl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),Cc(),Oc())})(t4,function(n){return(function(){var r=n,i=r.lib,o=i.Base,a=i.WordArray,c=r.algo,u=c.SHA256,s=c.HMAC,l=c.PBKDF2=o.extend({cfg:o.extend({keySize:128/32,hasher:u,iterations:25e4}),init:function(h){this.cfg=this.cfg.extend(h)},compute:function(h,d){for(var f=this.cfg,p=s.create(f.hasher,h),g=a.create(),m=a.create([1]),b=g.words,v=m.words,y=f.keySize,w=f.iterations;b.length<y;){var _=p.update(d).finalize(m);p.reset();for(var x=_.words,E=x.length,T=_,N=1;N<w;N++){T=p.finalize(T),p.reset();for(var S=T.words,A=0;A<E;A++)x[A]^=S[A]}g.concat(_),v[0]++}return g.sigBytes=y*4,g}});r.PBKDF2=function(h,d,f){return l.create(f).compute(h,d)}})(),n.PBKDF2})})(rs)),rs.exports}var is={exports:{}},n4=is.exports,hl;function We(){return hl||(hl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),Q0(),Oc())})(n4,function(n){return(function(){var r=n,i=r.lib,o=i.Base,a=i.WordArray,c=r.algo,u=c.MD5,s=c.EvpKDF=o.extend({cfg:o.extend({keySize:128/32,hasher:u,iterations:1}),init:function(l){this.cfg=this.cfg.extend(l)},compute:function(l,h){for(var d,f=this.cfg,p=f.hasher.create(),g=a.create(),m=g.words,b=f.keySize,v=f.iterations;m.length<b;){d&&p.update(d),d=p.update(l).finalize(h),p.reset();for(var y=1;y<v;y++)d=p.finalize(d),p.reset();g.concat(d)}return g.sigBytes=b*4,g}});r.EvpKDF=function(l,h,d){return s.create(d).compute(l,h)}})(),n.EvpKDF})})(is)),is.exports}var os={exports:{}},r4=os.exports,pl;function wt(){return pl||(pl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),We())})(r4,function(n){n.lib.Cipher||(function(r){var i=n,o=i.lib,a=o.Base,c=o.WordArray,u=o.BufferedBlockAlgorithm,s=i.enc;s.Utf8;var l=s.Base64,h=i.algo,d=h.EvpKDF,f=o.Cipher=u.extend({cfg:a.extend(),createEncryptor:function(S,A){return this.create(this._ENC_XFORM_MODE,S,A)},createDecryptor:function(S,A){return this.create(this._DEC_XFORM_MODE,S,A)},init:function(S,A,P){this.cfg=this.cfg.extend(P),this._xformMode=S,this._key=A,this.reset()},reset:function(){u.reset.call(this),this._doReset()},process:function(S){return this._append(S),this._process()},finalize:function(S){S&&this._append(S);var A=this._doFinalize();return A},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function S(A){return typeof A=="string"?N:x}return function(A){return{encrypt:function(P,R,U){return S(R).encrypt(A,P,R,U)},decrypt:function(P,R,U){return S(R).decrypt(A,P,R,U)}}}})()});o.StreamCipher=f.extend({_doFinalize:function(){var S=this._process(!0);return S},blockSize:1});var p=i.mode={},g=o.BlockCipherMode=a.extend({createEncryptor:function(S,A){return this.Encryptor.create(S,A)},createDecryptor:function(S,A){return this.Decryptor.create(S,A)},init:function(S,A){this._cipher=S,this._iv=A}}),m=p.CBC=(function(){var S=g.extend();S.Encryptor=S.extend({processBlock:function(P,R){var U=this._cipher,F=U.blockSize;A.call(this,P,R,F),U.encryptBlock(P,R),this._prevBlock=P.slice(R,R+F)}}),S.Decryptor=S.extend({processBlock:function(P,R){var U=this._cipher,F=U.blockSize,$=P.slice(R,R+F);U.decryptBlock(P,R),A.call(this,P,R,F),this._prevBlock=$}});function A(P,R,U){var F,$=this._iv;$?(F=$,this._iv=r):F=this._prevBlock;for(var it=0;
1it<U;it++)P[R+it]^=F[it]}return S})(),b=i.pad={},v=b.Pkcs7={pad:function(S,A){for(var P=A*4,R=P-S.sigBytes%P,U=R<<24|R<<16|R<<8|R,F=[],$=0;$<R;$+=4)F.push(U);var it=c.create(F,R);S.concat(it)},unpad:function(S){var A=S.words[S.sigBytes-1>>>2]&255;S.sigBytes-=A}};o.BlockCipher=f.extend({cfg:f.cfg.extend({mode:m,padding:v}),reset:function(){var S;f.reset.call(this);var A=this.cfg,P=A.iv,R=A.mode;this._xformMode==this._ENC_XFORM_MODE?S=R.createEncryptor:(S=R.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==S?this._mode.init(this,P&&P.words):(this._mode=S.call(R,this,P&&P.words),this._mode.__creator=S)},_doProcessBlock:function(S,A){this._mode.processBlock(S,A)},_doFinalize:function(){var S,A=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(A.pad(this._data,this.blockSize),S=this._process(!0)):(S=this._process(!0),A.unpad(S)),S},blockSize:128/32});var y=o.CipherParams=a.extend({init:function(S){this.mixIn(S)},toString:function(S){return(S||this.formatter).stringify(this)}}),w=i.format={},_=w.OpenSSL={stringify:function(S){var A,P=S.ciphertext,R=S.salt;return R?A=c.create([1398893684,1701076831]).concat(R).concat(P):A=P,A.toString(l)},parse:function(S){var A,P=l.parse(S),R=P.words;return R[0]==1398893684&&R[1]==1701076831&&(A=c.create(R.slice(2,4)),R.splice(0,4),P.sigBytes-=16),y.create({ciphertext:P,salt:A})}},x=o.SerializableCipher=a.extend({cfg:a.extend({format:_}),encrypt:function(S,A,P,R){R=this.cfg.extend(R);var U=S.createEncryptor(P,R),F=U.finalize(A),$=U.cfg;return y.create({ciphertext:F,key:P,iv:$.iv,algorithm:S,mode:$.mode,padding:$.padding,blockSize:S.blockSize,formatter:R.format})},decrypt:function(S,A,P,R){R=this.cfg.extend(R),A=this._parse(A,R.format);var U=S.createDecryptor(P,R).finalize(A.ciphertext);return U},_parse:function(S,A){return typeof S=="string"?A.parse(S,this):S}}),E=i.kdf={},T=E.OpenSSL={execute:function(S,A,P,R,U){if(R||(R=c.random(64/8)),U)var F=d.create({keySize:A+P,hasher:U}).compute(S,R);else var F=d.create({keySize:A+P}).compute(S,R);var $=c.create(F.words.slice(A),P*4);return F.sigBytes=A*4,y.create({key:F,iv:$,salt:R})}},N=o.PasswordBasedCipher=x.extend({cfg:x.cfg.extend({kdf:T}),encrypt:function(S,A,P,R){R=this.cfg.extend(R);var U=R.kdf.execute(P,S.keySize,S.ivSize,R.salt,R.hasher);R.iv=U.iv;var F=x.encrypt.call(this,S,A,U.key,R);return F.mixIn(U),F},decrypt:function(S,A,P,R){R=this.cfg.extend(R),A=this._parse(A,R.format);var U=R.kdf.execute(P,S.keySize,S.ivSize,A.salt,R.hasher);R.iv=U.iv;var F=x.decrypt.call(this,S,A,U.key,R);return F}})})()})})(os)),os.exports}var as={exports:{}},i4=as.exports,gl;function o4(){return gl||(gl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(i4,function(n){return n.mode.CFB=(function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(o,a){var c=this._cipher,u=c.blockSize;i.call(this,o,a,u,c),this._prevBlock=o.slice(a,a+u)}}),r.Decryptor=r.extend({processBlock:function(o,a){var c=this._cipher,u=c.blockSize,s=o.slice(a,a+u);i.call(this,o,a,u,c),this._prevBlock=s}});function i(o,a,c,u){var s,l=this._iv;l?(s=l.slice(0),this._iv=void 0):s=this._prevBlock,u.encryptBlock(s,0);for(var h=0;h<c;h++)o[a+h]^=s[h]}return r})(),n.mode.CFB})})(as)),as.exports}var ss={exports:{}},a4=ss.exports,vl;function s4(){return vl||(vl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(a4,function(n){return n.mode.CTR=(function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(o,a){var c=this._cipher,u=c.blockSize,s=this._iv,l=this._counter;s&&(l=this._counter=s.slice(0),this._iv=void 0);var h=l.slice(0);c.encryptBlock(h,0),l[u-1]=l[u-1]+1|0;for(var d=0;d<u;d++)o[a+d]^=h[d]}});return r.Decryptor=i,r})(),n.mode.CTR})})(ss)),ss.exports}var cs={exports:{}},c4=cs.exports,ml;function u4(){return ml||(ml=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(c4,function(n){return n.mode.CTRGladman=(function(){var r=n.lib.BlockCipherMode.extend();function i(c){if((c>>24&255)===255){var u=c>>16&255,s=c>>8&255,l=c&255;u===255?(u=0,s===255?(s=0,l===255?l=0:++l):++s):++u,c=0,c+=u<<16,c+=s<<8,c+=l}else c+=1<<24;return c}function o(c){return(c[0]=i(c[0]))===0&&(c[1]=i(c[1])),c}var a=r.Encryptor=r.extend({processBlock:function(c,u){var s=this._cipher,l=s.blockSize,h=this._iv,d=this._counter;h&&(d=this._counter=h.slice(0),this._iv=void 0),o(d);var f=d.slice(0);s.encryptBlock(f,0);for(var p=0;p<l;p++)c[u+p]^=f[p]}});return r.Decryptor=a,r})(),n.mode.CTRGladman})})(cs)),cs.exports}
1var us={exports:{}},l4=us.exports,yl;function f4(){return yl||(yl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(l4,function(n){return n.mode.OFB=(function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(o,a){var c=this._cipher,u=c.blockSize,s=this._iv,l=this._keystream;s&&(l=this._keystream=s.slice(0),this._iv=void 0),c.encryptBlock(l,0);for(var h=0;h<u;h++)o[a+h]^=l[h]}});return r.Decryptor=i,r})(),n.mode.OFB})})(us)),us.exports}var ls={exports:{}},d4=ls.exports,bl;function h4(){return bl||(bl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(d4,function(n){return n.mode.ECB=(function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,o){this._cipher.encryptBlock(i,o)}}),r.Decryptor=r.extend({processBlock:function(i,o){this._cipher.decryptBlock(i,o)}}),r})(),n.mode.ECB})})(ls)),ls.exports}var fs={exports:{}},p4=fs.exports,wl;function g4(){return wl||(wl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(p4,function(n){return n.pad.AnsiX923={pad:function(r,i){var o=r.sigBytes,a=i*4,c=a-o%a,u=o+c-1;r.clamp(),r.words[u>>>2]|=c<<24-u%4*8,r.sigBytes+=c},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})})(fs)),fs.exports}var ds={exports:{}},v4=ds.exports,_l;function m4(){return _l||(_l=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(v4,function(n){return n.pad.Iso10126={pad:function(r,i){var o=i*4,a=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(a-1)).concat(n.lib.WordArray.create([a<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})})(ds)),ds.exports}var hs={exports:{}},y4=hs.exports,xl;function b4(){return xl||(xl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(y4,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})})(hs)),hs.exports}var ps={exports:{}},w4=ps.exports,Sl;function _4(){return Sl||(Sl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(w4,function(n){return n.pad.ZeroPadding={pad:function(r,i){var o=i*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var i=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})})(ps)),ps.exports}var gs={exports:{}},x4=gs.exports,El;function S4(){return El||(El=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(x4,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})})(gs)),gs.exports}var vs={exports:{}},E4=vs.exports,Al;function A4(){return Al||(Al=1,(function(t,e){(function(n,r,i){t.exports=r(G(),wt())})(E4,function(n){return(function(r){var i=n,o=i.lib,a=o.CipherParams,c=i.enc,u=c.Hex,s=i.format;s.Hex={stringify:function(l){return l.ciphertext.toString(u)},parse:function(l){var h=u.parse(l);return a.create({ciphertext:h})}}})(),n.format.Hex})})(vs)),vs.exports}var ms={exports:{}},k4=ms.exports,kl;function T4(){return kl||(kl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),dn(),hn(),We(),wt())})(k4,function(n){return(function(){var r=n,i=r.lib,o=i.BlockCipher,a=r.algo,c=[],u=[],s=[],l=[],h=[],d=[],f=[],p=[],g=[],m=[];(function(){for(var y=[],w=0;w<256;w++)w<128?y[w]=w<<1:y[w]=w<<1^283;for(var _=0,x=0,w=0;w<256;w++){var E=x^x<<1^x<<2^x<<3^x<<4;E=E>>>8^E&255^99,c[_]=E,u[E]=_;var T=y[_],N=y[T],S=y[N],A=y[E]*257^E*16843008;s[_]=A<<24|A>>>8,l[_]=A<<16|A>>>16,h[_]=A<<8|A>>>24,d[_]=A;var A=S*16843009^N*65537^T*257^_*16843008;f[E]=A<<24|A>>>8,p[E]=A<<16|A>>>16,g[E]=A<<8|A>>>24,m[E]=A,_?(_=T^y[y[y[S^T]]],x^=y[y[x]]):_=x=1}})();var b=[0,1,2,4,8,16,32,64,128,27,54],v=a.AES=o.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var w=this._keyPriorReset=this._key,_=w.words,x=w.sigBytes/4,E=this._nRounds=x+6,T=(E+1)*4,N=this._keySchedule=[],S=0;S<T;S++)S<x?N[S]=_[S]:(y=N[S-1],S%x?x>6&&S%x==4&&(y=c[y>>>24]<<24|c[y>>>16&255]<<16|c[y>>>8&255]<<8|c[y&255]):(y=y<<8|y>>>24,y=c[y>>>24]<<24|c[y>>>16&255]<<16|c[y>>>
18&255]<<8|c[y&255],y^=b[S/x|0]<<24),N[S]=N[S-x]^y);for(var A=this._invKeySchedule=[],P=0;P<T;P++){var S=T-P;if(P%4)var y=N[S];else var y=N[S-4];P<4||S<=4?A[P]=y:A[P]=f[c[y>>>24]]^p[c[y>>>16&255]]^g[c[y>>>8&255]]^m[c[y&255]]}}},encryptBlock:function(y,w){this._doCryptBlock(y,w,this._keySchedule,s,l,h,d,c)},decryptBlock:function(y,w){var _=y[w+1];y[w+1]=y[w+3],y[w+3]=_,this._doCryptBlock(y,w,this._invKeySchedule,f,p,g,m,u);var _=y[w+1];y[w+1]=y[w+3],y[w+3]=_},_doCryptBlock:function(y,w,_,x,E,T,N,S){for(var A=this._nRounds,P=y[w]^_[0],R=y[w+1]^_[1],U=y[w+2]^_[2],F=y[w+3]^_[3],$=4,it=1;it<A;it++){var et=x[P>>>24]^E[R>>>16&255]^T[U>>>8&255]^N[F&255]^_[$++],ot=x[R>>>24]^E[U>>>16&255]^T[F>>>8&255]^N[P&255]^_[$++],nt=x[U>>>24]^E[F>>>16&255]^T[P>>>8&255]^N[R&255]^_[$++],B=x[F>>>24]^E[P>>>16&255]^T[R>>>8&255]^N[U&255]^_[$++];P=et,R=ot,U=nt,F=B}var et=(S[P>>>24]<<24|S[R>>>16&255]<<16|S[U>>>8&255]<<8|S[F&255])^_[$++],ot=(S[R>>>24]<<24|S[U>>>16&255]<<16|S[F>>>8&255]<<8|S[P&255])^_[$++],nt=(S[U>>>24]<<24|S[F>>>16&255]<<16|S[P>>>8&255]<<8|S[R&255])^_[$++],B=(S[F>>>24]<<24|S[P>>>16&255]<<16|S[R>>>8&255]<<8|S[U&255])^_[$++];y[w]=et,y[w+1]=ot,y[w+2]=nt,y[w+3]=B},keySize:256/32});r.AES=o._createHelper(v)})(),n.AES})})(ms)),ms.exports}var ys={exports:{}},C4=ys.exports,Tl;function O4(){return Tl||(Tl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),dn(),hn(),We(),wt())})(C4,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,a=i.BlockCipher,c=r.algo,u=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h
vendor: 7,629 bytes, line 1
1=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],
1d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=c.DES=a.extend({_doReset:function(){for(var b=this._key,v=b.words,y=[],w=0;w<56;w++){var _=u[w]-1;y[w]=v[_>>>5]>>>31-_%32&1}for(var x=this._subKeys=[],E=0;E<16;E++){for(var T=x[E]=[],N=l[E],w=0;w<24;w++)T[w/6|0]|=y[(s[w]-1+N)%28]<<31-w%6,T[4+(w/6|0)]|=y[28+(s[w+24]-1+N)%28]<<31-w%6;T[0]=T[0]<<1|T[0]>>>31;for(var w=1;w<7;w++)T[w]=T[w]>>>(w-1)*4+3;T[7]=T[7]<<5|T[7]>>>27}for(var S=this._invSubKeys=[],w=0;w<16;w++)S[w]=x[15-w]},encryptBlock:function(b,v){this._doCryptBlock(b,v,this._subKeys)},decryptBlock:function(b,v){this._doCryptBlock(b,v,this._invSubKeys)},_doCryptBlock:function(b,v,y){this._lBlock=b[v],this._rBlock=b[v+1],p.call(this,4,252645135),p.call(this,16,65535),g.call(this,2,858993459),g.call(this,8,16711935),p.call(this,1,1431655765);for(var w=0;w<16;w++){for(var _=y[w],x=this._lBlock,E=this._rBlock,T=0,N=0;N<8;N++)T|=h[N][((E^_[N])&d[N])>>>0];this._lBlock=E,this._rBlock=x^T}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,p.
1call(this,1,1431655765),g.call(this,8,16711935),g.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),b[v]=this._lBlock,b[v+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(b,v){var y=(this._lBlock>>>b^this._rBlock)&v;this._rBlock^=y,this._lBlock^=y<<b}function g(b,v){var y=(this._rBlock>>>b^this._lBlock)&v;this._lBlock^=y,this._rBlock^=y<<b}r.DES=a._createHelper(f);var m=c.TripleDES=a.extend({_doReset:function(){var b=this._key,v=b.words;if(v.length!==2&&v.length!==4&&v.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=v.slice(0,2),w=v.length<4?v.slice(0,2):v.slice(2,4),_=v.length<6?v.slice(0,2):v.slice(4,6);this._des1=f.createEncryptor(o.create(y)),this._des2=f.createEncryptor(o.create(w)),this._des3=f.createEncryptor(o.create(_))},encryptBlock:function(b,v){this._des1.encryptBlock(b,v),this._des2.decryptBlock(b,v),this._des3.encryptBlock(b,v)},decryptBlock:function(b,v){this._des3.decryptBlock(b,v),this._des2.encryptBlock(b,v),this._des1.decryptBlock(b,v)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=a._createHelper(m)})(),n.TripleDES})})(ys)),ys.exports}var bs={exports:{}},R4=bs.exports,Cl;function B4(){return Cl||(Cl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),dn(),hn(),We(),wt())})(R4,function(n){return(function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,c=a.RC4=o.extend({_doReset:function(){for(var l=this._key,h=l.words,d=l.sigBytes,f=this._S=[],p=0;p<256;p++)f[p]=p;for(var p=0,g=0;p<256;p++){var m=p%d,b=h[m>>>2]>>>24-m%4*8&255;g=(g+f[p]+b)%256;var v=f[p];f[p]=f[g],f[g]=v}this._i=this._j=0},_doProcessBlock:function(l,h){l[h]^=u.call(this)},keySize:256/32,ivSize:0});function u(){for(var l=this._S,h=this._i,d=this._j,f=0,p=0;p<4;p++){h=(h+1)%256,d=(d+l[h])%256;var g=l[h];l[h]=l[d],l[d]=g,f|=l[(l[h]+l[d])%256]<<24-p*8}return this._i=h,this._j=d,f}r.RC4=o._createHelper(c);var s=a.RC4Drop=c.extend({cfg:c.cfg.extend({drop:192}),_doReset:function(){c._doReset.call(this);for(var l=this.cfg.drop;l>0;l--)u.call(this)}});r.RC4Drop=o._createHelper(s)})(),n.RC4})})(bs)),bs.exports}var ws={exports:{}},P4=ws.exports,Ol;function D4(){return Ol||(Ol=1,(function(t,e){(function(n,r,i){t.exports=r(G(),dn(),hn(),We(),wt())})(P4,function(n){return(function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,c=[],u=[],s=[],l=a.Rabbit=o.extend({_doReset:function(){for(var d=this._key.words,f=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var g=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],m=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)h.call(this);for(var p=0;p<8;p++)m[p]^=g[p+4&7];if(f){var b=f.words,v=b[0],y=b[1],w=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,_=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x=w>>>16|_&4294901760,E=_<<16|w&65535;m[0]^=w,m[1]^=x,m[2]^=_,m[3]^=E,m[4]^=w,m[5]^=x,m[6]^=_,m[7]^=E;for(var p=0;p<4;p++)h.call(this)}},_doProcessBlock:function(d,f){var p=this._X;h.call(this),c[0]=p[0]^p[5]>>>16^p[3]<<16,c[1]=p[2]^p[7]>>>16^p[5]<<16,c[2]=p[4]^p[1]>>>16^p[7]<<16,c[3]=p[6]^p[3]>>>16^p[1]<<16;for(var g=0;g<4;g++)c[g]=(c[g]<<8|c[g]>>>24)&16711935|(c[g]<<24|c[g]>>>8)&4278255360,d[f+g]^=c[g]},blockSize:128/32,ivSize:64/32});function h(){for(var d=this._X,f=this._C,p=0;p<8;p++)u[p]=f[p];f[0]=f[0]+1295307597+this._b|0,f[1]=f[1]+3545052371+(f[0]>>>0<u[0]>>>0?1:0)|0,f[2]=f[2]+886263092+(f[1]>>>0<u[1]>>>0?1:0)|0,f[3]=f[3]+1295307597+(f[2]>>>0<u[2]>>>0?1:0)|0,f[4]=f[4]+3545052371+(f[3]>>>0<u[3]>>>0?1:0)|0,f[5]=f[5]+886263092+(f[4]>>>0<u[4]>>>0?1:0)|0,f[6]=f[6]+1295307597+(f[5]>>>0<u[5]>>>0?1:0)|0,f[7]=f[7]+3545052371+(f[6]>>>0<u[6]>>>0?1:0)|0,this._b=f[7]>>>0<u[7]>>>0?1:0;for(var p=0;p<8;p++){var g=d[p]+f[p],m=g&65535,b=g>>>16,v=((m*m>>>17)+m*b>>>
115)+b*b,y=((g&4294901760)*g|0)+((g&65535)*g|0);s[p]=v^y}d[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,d[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,d[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,d[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,d[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,d[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,d[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,d[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}r.Rabbit=o._createHelper(l)})(),n.Rabbit})})(ws)),ws.exports}var _s={exports:{}},I4=_s.exports,Rl;function N4(){return Rl||(Rl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),dn(),hn(),We(),wt())})(I4,function(n){return(function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,c=[],u=[],s=[],l=a.RabbitLegacy=o.extend({_doReset:function(){var d=this._key.words,f=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],g=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var m=0;m<4;m++)h.call(this);for(var m=0;m<8;m++)g[m]^=p[m+4&7];if(f){var b=f.words,v=b[0],y=b[1],w=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,_=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x=w>>>16|_&4294901760,E=_<<16|w&65535;g[0]^=w,g[1]^=x,g[2]^=_,g[3]^=E,g[4]^=w,g[5]^=x,g[6]^=_,g[7]^=E;for(var m=0;m<4;m++)h.call(this)}},_doProcessBlock:function(d,f){var p=this._X;h.call(this),c[0]=p[0]^p[5]>>>16^p[3]<<16,c[1]=p[2]^p[7]>>>16^p[5]<<16,c[2]=p[4]^p[1]>>>16^p[7]<<16,c[3]=p[6]^p[3]>>>16^p[1]<<16;for(var g=0;g<4;g++)c[g]=(c[g]<<8|c[g]>>>24)&16711935|(c[g]<<24|c[g]>>>8)&4278255360,d[f+g]^=c[g]},blockSize:128/32,ivSize:64/32});function h(){for(var d=this._X,f=this._C,p=0;p<8;p++)u[p]=f[p];f[0]=f[0]+1295307597+this._b|0,f[1]=f[1]+3545052371+(f[0]>>>0<u[0]>>>0?1:0)|0,f[2]=f[2]+886263092+(f[1]>>>0<u[1]>>>0?1:0)|0,f[3]=f[3]+1295307597+(f[2]>>>0<u[2]>>>0?1:0)|0,f[4]=f[4]+3545052371+(f[3]>>>0<u[3]>>>0?1:0)|0,f[5]=f[5]+886263092+(f[4]>>>0<u[4]>>>0?1:0)|0,f[6]=f[6]+1295307597+(f[5]>>>0<u[5]>>>0?1:0)|0,f[7]=f[7]+3545052371+(f[6]>>>0<u[6]>>>0?1:0)|0,this._b=f[7]>>>0<u[7]>>>0?1:0;for(var p=0;p<8;p++){var g=d[p]+f[p],m=g&65535,b=g>>>16,v=((m*m>>>17)+m*b>>>15)+b*b,y=((g&4294901760)*g|0)+((g&65535)*g|0);s[p]=v^y}d[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,d[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,d[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,d[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,d[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,d[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,d[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,d[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}r.RabbitLegacy=o._createHelper(l)})(),n.RabbitLegacy})})(_s)),_s.exports}var xs={exports:{}},L4=xs.exports,Bl;function H4(){return Bl||(Bl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),dn(),hn(),We(),wt())})(L4,function(n){return(function(){var r=n,i=r.lib,o=i.BlockCipher,a=r.algo;let c=16,u=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s
vendor: 11,038 bytes, line 1
1=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var 
1l={pbox:[],sbox:[]};function h(m,b){let v=b>>24&255,y=b>>16&255,w=b>>8&255,_=b&255,x=m.sbox[0][v]+m.sbox[1][y];return x=x^m.sbox[2][w],x=x+m.sbox[3][_],x}function d(m,b,v){let y=b,w=v,_;for(let x=0;x<c;++x)y=y^m.pbox[x],w=h(m,y)^w,_=y,y=w,w=_;return _=y,y=w,w=_,w=w^m.pbox[c],y=y^m.pbox[c+1],{left:y,right:w}}function f(m,b,v){let y=b,w=v,_;for(let x=c+1;x>1;--x)y=y^m.pbox[x],w=h(m,y)^w,_=y,y=w,w=_;return _=y,y=w,w=_,w=w^m.pbox[1],y=y^m.pbox[0],{left:y,right:w}}function p(m,b,v){for(let E=0;E<4;E++){m.sbox[E]=[];for(let T=0;T<256;T++)m.sbox[E][T]=s[E][T]}let y=0;for(let E=0;E<c+2;E++)m.pbox[E]=u[E]^b[y],y++,y>=v&&(y=0);let w=0,_=0,x=0;for(let E=0;E<c+2;E+=2)x=d(m,w,_),w=x.left,_=x.right,m.pbox[E]=w,m.pbox[E+1]=_;for(let E=0;E<4;E++)for(let T=0;T<256;T+=2)x=d(m,w,_),w=x.left,_=x.right,m.sbox[E][T]=w,m.sbox[E][T+1]=_;return!0}var g=a.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var m=this._keyPriorReset=this._key,b=m.words,v=m.sigBytes/4;p(l,b,v)}},encryptBlock:function(m,b){var v=d(l,m[b],m[b+1]);m[b]=v.left,m[b+1]=v.right},decryptBlock:function(m,b){var v=f(l,m[b],m[b+1]);m[b]=v.left,m[b+1]=v.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(g)})(),n.Blowfish})})(xs)),xs.exports}var j4=Fa.exports,Pl;function M4(){return Pl||(Pl=1,(function(t,e){(function(n,r,i){t.exports=r(G(),po(),Np(),Hp(),dn(),Up(),hn(),Q0(),Cc(),$p(),tf(),Kp(),Xp(),Gp(),Oc(),e4(),We(),wt(),o4(),s4(),u4(),f4(),h4(),g4(),m4(),b4(),_4(),S4(),A4(),T4(),O4(),B4(),D4(),N4(),H4())})(j4,function(n){return n})})(Fa)),Fa.exports}var U4=M4(),Dl=kp(U4),xt=[];for(let t=0;t<256;++t)xt.push((t+256).toString(16).slice(1));
1function F4(t,e=0){return(xt[t[e+0]]+xt[t[e+1]]+xt[t[e+2]]+xt[t[e+3]]+"-"+xt[t[e+4]]+xt[t[e+5]]+"-"+xt[t[e+6]]+xt[t[e+7]]+"-"+xt[t[e+8]]+xt[t[e+9]]+"-"+xt[t[e+10]]+xt[t[e+11]]+xt[t[e+12]]+xt[t[e+13]]+xt[t[e+14]]+xt[t[e+15]]).toLowerCase()}var Go,z4=new Uint8Array(16);function q4(){if(!Go){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Go=crypto.getRandomValues.bind(crypto)}return Go(z4)}var W4=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Il={randomUUID:W4};function $4(t,e,n){if(Il.randomUUID&&!t)return Il.randomUUID();t=t||{};let r=t.random||(t.rng||q4)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,F4(r)}var V4={LIMITFLOW:"@profile-sdk:limitFlow"},oi={};var Nl;function J4(){if(Nl)return oi;Nl=1,oi.parse=n,oi.serialize=r;var t=Object.prototype.toString,e=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function n(u,s){if(typeof u!="string")throw new TypeError("argument str must be a string");for(var l={},h=s||{},d=h.decode||i,f=0;f<u.length;){var p=u.indexOf("=",f);if(p===-1)break;var g=u.indexOf(";",f);if(g===-1)g=u.length;else if(g<p){f=u.lastIndexOf(";",p-1)+1;continue}var m=u.slice(f,p).trim();if(l[m]===void 0){var b=u.slice(p+1,g).trim();b.charCodeAt(0)===34&&(b=b.slice(1,-1)),l[m]=c(b,d)}f=g+1}return l}function r(u,s,l){var h=l||{},d=h.encode||o;if(typeof d!="function")throw new TypeError("option encode is invalid");if(!e.test(u))throw new TypeError("argument name is invalid");var f=d(s);if(f&&!e.test(f))throw new TypeError("argument val is invalid");var p=u+"="+f;if(h.maxAge!=null){var g=h.maxAge-0;if(isNaN(g)||!isFinite(g))throw new TypeError("option maxAge is invalid");p+="; Max-Age="+Math.floor(g)}if(h.domain){if(!e.test(h.domain))throw new TypeError("option domain is invalid");p+="; Domain="+h.domain}if(h.path){if(!e.test(h.path))throw new TypeError("option path is invalid");p+="; Path="+h.path}if(h.expires){var m=h.expires;if(!a(m)||isNaN(m.valueOf()))throw new TypeError("option expires is invali
1d");p+="; Expires="+m.toUTCString()}if(h.httpOnly&&(p+="; HttpOnly"),h.secure&&(p+="; Secure"),h.partitioned&&(p+="; Partitioned"),h.priority){var b=typeof h.priority=="string"?h.priority.toLowerCase():h.priority;switch(b){case"low":p+="; Priority=Low";break;case"medium":p+="; Priority=Medium";break;case"high":p+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(h.sameSite){var v=typeof h.sameSite=="string"?h.sameSite.toLowerCase():h.sameSite;switch(v){case!0:p+="; SameSite=Strict";break;case"lax":p+="; SameSite=Lax";break;case"strict":p+="; SameSite=Strict";break;case"none":p+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return p}function i(u){return u.indexOf("%")!==-1?decodeURIComponent(u):u}function o(u){return encodeURIComponent(u)}function a(u){return t.call(u)==="[object Date]"||u instanceof Date}function c(u,s){try{return s(u)}catch{return u}}return oi}var K4=J4(),ai=new Zt("[@shdr/profile-sdk cookie helper ]"),Ss=class{constructor(){this.cookieHelperHandler=(e,n,r)=>(this.checkCookieIsExist(e,n,r),new Promise(i=>{setTimeout(()=>i(V(null)))}))}get(e){return K4.parse(document.cookie)[e]||""}set(e,n,r){let{maxAge:i,expires:o,domain:a,path:c,secure:u}=r,s=`${e}=${decodeURIComponent(n)}; expires=${o}; path=${c}; max-age=${i}; domain=${a}; secure=${u}`;ai.info(s,";cookieStr...."),document.cookie=s}jsWriteCookie(e,n,r){(r.expires||r.expires===0)&&typeof r.expires=="number"&&(r.expires=new Date(r.expires).toUTCString()),this.set(e,n,r)}checkCookieIsExist(e,n,r){if(this.get(e)&&this.get(e)===decodeURIComponent(n)&&!e.includes("shdrRefreshToken")){ai.info("cookie is key is exist",this.get(e));return}ai.warn(e,n,"before"),this.jsWriteCookie(e,n,r),ai.warn(e,n,"after")}},Pt=new Ss,Hi="shdrAccessToken",ji="shdrRefreshToken",Y4="visitorFlag",X4="Mobile_Order",Z4="unionid",G4="openid",Ll={latest:"latest",lt:"lt",stage:"stage",prod:"prod"},Or="@shdr/profile-sdk_unionList",Q4="woa_web_ns_authed",ef="aid",Rc="SHDR_WeChatOA",t3=`${Rc}_${ef}`,he="wechat",Hl="app",ae="0",Es=1e3,nf=60,rf=3,Mi="shanghaidisneyresort.com",Ui="/",cn={needAuth:{code:"100400",message:"Please authorize wechat"}},e3=["0315BT005","0315BT006","0315BT009"],of=()=>window.DisneyJSBridge,rt=new Zt("[@shdr/profile-sdk validate url ]"),n3=t=>{let e={channelCode:"",businessCode:""},n=t.split("?");if(n.length<=1)return!1;let r=n[1].split("&");if(r.length<1)return!1;for(let i=0;i<r.length;i++){let o=r[i];e[o.split("=")[0]]=o.split("=")[1]}return e},r3=(t,e)=>{let n=r=>r!=null&&r.channelCode&&r!=null&&r.businessCode?!(e===he&&!(r!=null&&r.openId)):(rt.warn("validateDetailUrl lost params"),!1);if(typeof t=="string"){let r=n3(t)||{channelCode:"",businessCode:""};return r?n(r)||!1:(rt.warn("validateDetailUrl lost params"),!1)}if(typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]")return n(t)},V=(t,e)=>e||{code:0,message:"success",data:t},i3=(t,e)=>{let n=o3(t,e);return V(n)},o3=(t,e)=>{let n=a=>a?sn.decode(a):a||"",r=e.returnOnDemandInfo||{},i={},o=["firstName","lastName","residenceCountryISO2","residenceCountryName","province","provinceName","dateOfBirth","mobileCountryISO2","mobile","areaNumber","email"];return Object.keys(r).length!==0&&Object.keys(r).forEach(a=>{r[a]&&(i[a]=o.includes(a)?n(t[a]):t[a]||"")}),i},Qo=(t,e,n,r)=>{let i=r?`${t}&${e}&${n}&${r}`:`${t}&${e}&${n}`;return sn.encode(i)},a3=(t,e,n,r)=>{(Object.keys(n).length>0?n.includes(t):t>=580&&t<=588||!0)&&r.emit(V4.LIMITFLOW,e)},af=t=>{if(of()){let{goLoginPage:e=!0,businessCode:n}=t;return new Promise((r,i)=>{window.DisneyJSBridge.call("getAccessToken",{businessCode:n,goLoginPage:e},o=>X(null,null,function*(){o.resultCode===0?(rt.warn("DisneyJSBridge getAccessToken res"),r(V({accessToken:(o==null?void 0:o.privateToken)||""}))):(rt.warn("DisneyJSBridge getAccessToken res error"),r(V({accessToken:""})),i(o))}))})}else return rt.warn("no DisneyJSBridge"),""},Bn=(t,e,n,r,i=!1)=>X(null,null,function*(){let o=go();if(rt.log("getAccessTokenFromPlatform init"),e==="app"&&o){n.goLoginPage=!1;let a=yield af(n);return a&&a.code===0?a.data.accessToken:""}else{let a=yield Bc(t,n,r,i);return s3(a)}}),s3=t=>{var e;if(rt.warn("getAccessTokenParse json parse init"),t){let n="";try{n=(e=JSON.parse(sn.decode(t)))==null?void 0:e.accessToken}catch{rt.warn("getAccessTokenParse json parse fail")}return n}else return""},qn=t=>t===Ll.prod?"":`_${Ll[t]}`,sf=(t,e,n,r,i,o,a)=>X(null,null,function*(){let c=Pt.get(t),u=sessionStorage.getItem(Or),s=l=>(n===Rc?u3(o)?c=Pt.get(e):(rt.log(`byUnionListGetTokenHelper commonGetUnionToken is not  unionToken is: ${e} ${a}`),c=""):l.includes(n)?c=Pt.get(e):c="",c);if(c)return c;if(!u&&!i){rt.log("byUnionListGetTokenHelper unionList not cache");let l=yield r.queryUnionListApi();(l==null?void 0:l.code)===ae&&(l!=null&&l.data&&sessionStorage.setItem(Or,JSON.stringify(l==null?void 0:l.data)),c=s(l==null?void 0:l.data))}else if(typeof u=="string")try{let l=JSON.parse(u)||[];rt.log("byUnionListGetTokenHelper unionList exist session storage"),c=s(l)}catch{rt.warn("unionList lost ")}return c}),Bc=(t,e,n,r)=>X(null,null,function*(){rt.log("getAccessTokenHelper invoke init params is",e,typeof e);let{type:i,channelCode:o}=e;rt.log("getAccessTokenHelper invoke init");let a="",c=qn(t),u=`${o}_${Hi}${c}`,s=`${Hi}${c}`;return i===he?a=yield sf(u,s,o,n,r,t,!0):a=Pt.get(s),a||rt.warn("shdrAccessToken lost"),a||""}),go=()=>{var t,e,n;let r=!0;try{r=((t=z.detect())==null?void 0:t.code)===0&&((n=(e=z.detect())==null?void 0:e.data)==null?void 0:n.isDisneyMainApp)}catch{rt.warn("platformDefect mainapp  fail")}return r},cf=(t,e,n,r)=>X(null,null,function*(){let{type:i,channelCode:o}=e,a="",c=qn(t),u=`${o}_${ji}${c}`,s=`${ji}${c}`;return i===he?a=yield sf(u,s,o,n,r,t,!1):a=Pt.get(s),a||rt.warn("shdrRefreshToken lost"),a||""}),uf=t=>{let e=qn(t),n=Pt.get(`${Z4}${e}`);return n||rt.warn("unionid lost"),n||""},c3=(t,e)=>{let{channelCode:n}=e,r=qn(t),i=Pt.get(`${n}_${G4}${r}`);return i||rt.warn("openid lost"),i||""},u3=t=>{let e=qn(t),n=Pt.get(`${Q4}${e}`);return n||rt.warn("getNsAuthed lost"),n||""},lf=(t,e,n,r)=>X(null,null,function*(){let{type:i,channelCode:o}=e,a="",c=qn(t),u=`${t3}${c}`,s=`${o}_${ef}${c}`;if(rt.warn(r,"getAidHelper, aidResponse.....,.,.,,is isSignInvoke"),i===he){if(o===Rc)a=Pt.get(u);else if(a=Pt.get(s),rt.warn(a,"aidResponse.....,.,.,,test"),!a){let l=yield n.genAidApi(e);if(rt.info(l,"aidResponse....after"),l&&(l==null?void 0:l.code)===ae){try{window.PROFILESDK_DEVTOOLS&&alert(JSON.stringify(l.data))}catch(f){rt.error(f,"debugger fail.....,.,.,,")}a=Pt.get(s);let{aid:h,aidExpireIn:d}=l.data;try{if(!a){let f={maxAge:d,domain:Mi,path:Ui,secure:!0};Pt.set(s,h,f),rt.info(s,"js cookie set....before"),a=Pt.get(s),rt.info(s,"js cookie set....after",a)}}catch(f){rt.error(s,"js cookie set fail error is",f)}}}}else a="";return a||rt.warn("getAidHelper lost"),a||""}),ff=(t,e)=>X(null,null,function*(){rt.info("signHelper....");let n=$4(),r=new Date().getTime();t.timestamp=r,t.nonce=n;let i="";Object.keys(t).filter(c=>
1c!=="type"&&c!=="forceUpdate"&&c!=="goLoginPage"&&c!=="isDisneyMainApp").sort().forEach((c,u)=>{i+=u===0?`${c}=${t[c]}`:`&${c}=${t[c]}`}),i+=`&${e}`;let o=Dl.SHA256(i),a=o.toString(Dl.enc.Hex);return rt.log(a,"signHelper,,,,",o,i),wn({timestamp:r,nonce:n,signature:a},t)}),As=class{constructor(){this.MOBILE="Mobile",this.APP="App",this.WECHAT="Wechat",this.MINI_PROGRAM="Miniprogram",this.BROWSER="Browser",this.DISNEY_IOS="DisneyIOS",this.DISNEY_ANDROID="DisneyAndroid",this.userAgent=navigator==null?void 0:navigator.userAgent}isDisneyApp(){return this.isDisneyAndroid()||this.isDisneyIOS()}isDisneyIOS(){return/DISNEY_MOBILE_IOS/.test(this.userAgent)}isDisneyAndroid(){return/DISNEY_MOBILE_ANDROID/.test(this.userAgent)}isWechat(){return/MicroMessenger/.test(this.userAgent)}isMiniProgram(){return/[m|M]ini[p|P]rogram/.test(this.userAgent)}isMobile(){return/Mobile/.test(this.userAgent)}isIosOrAndroid(){return/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?{isIOS:!0}:/(Android)/i.test(navigator.userAgent)?{isAndroid:!0}:{isIOS:!1,isAndroid:!1}}isCupApp(){return/UnionPay/.test(this.userAgent)}isAlipayApp(){return/Alipay/.test(this.userAgent)}isCastPlusApp(){return/Joywok/.test(this.userAgent)}detect(){let e=this.isIosOrAndroid();if(this.isDisneyIOS())return V({isDisneyIOS:!0,isDisneyMainApp:!0});if(this.isDisneyAndroid())return V({isDisneyAndroid:!0,isDisneyMainApp:!0});if(this.isCupApp()){if(e!=null&&e.isAndroid)return V({isCupAndroid:!0});if(e!=null&&e.isIOS)return V({isCupIOS:!0})}if(this.isAlipayApp()){if(e!=null&&e.isAndroid)return V({isAlipayAndroid:!0});if(e!=null&&e.isIOS)return V({isAlipayIOS:!0})}if(this.isCastPlusApp()){if(e!=null&&e.isAndroid)return V({isCastPlusAndroid:!0});if(e!=null&&e.isIOS)return V({isCastPlusIOS:!0})}return this.isWechat()?this.isMiniProgram()?V({isWechat:!0,isMiniProgram:!0}):V({isWechat:!0}):this.isMobile()?V({isMobile:!0}):V({isBrowser:!0})}},z=new As,l3=new Zt("[@shdr/profile-sdk tokecookie api]"),df=(t,e,n,r,i,o,a,c)=>{try{let u=window.btoa(JSON.stringify({accessToken:n,accessTokenExpiration:r})),s={key:t,value:u,attributes:{maxAge:i,expires:r,domain:Mi,path:Ui,secure:!0}},l=window.btoa(JSON.stringify({refreshToken:o,refreshTokenExpiration:a})),h={key:e,value:l,attributes:{maxAge:c,expires:a,domain:Mi,path:Ui,secure:!0}};Pt.cookieHelperHandler(t,s.value,s.attributes),Pt.cookieHelperHandler(e,h.value,h.attributes)}catch(u){l3.error("js cookie set is error:",u)}},Jt=t=>{let{key:e,value:n,attributes:r}=t;return Pt.cookieHelperHandler(e,n,r)},Z=new Zt("[@shdr/profile-sdk token api]"),f3=(t,e)=>X(null,null,function*(){return new Promise(n=>X(null,null,function*(){var r;let i=yield t.refreshTokenApi(e);if(Z.info("cacheRefreshHandler inner",i),i.code===ae&&(r=i.data)!=null&&r.refreshToken){try{window.PROFILESDK_DEVTOOLS&&alert(JSON.stringify(i.data))}catch(d){Z.error(d,"debugger fail")}Z.info("cacheRefreshHandler inner",i);let{accessToken:o,accessTokenExpiration:a,accessTokenExpireIn:c,refreshToken:u,refreshTokenExpiration:s,refreshTokenExpireIn:l,sdkCookieName:h}=i==null?void 0:i.data;if(h){let d=h==null?void 0:h.shdrAccessToken,f=h==null?void 0:h.shdrRefreshToken;df(d,f,o,a,c,u,s,l)}return n(V(i.data))}else return Z.error("initRefreshToken error"),n(i)}))}),d3=(t,e,n)=>X(null,null,function*(){var r,i,o,a,c,u,s,l;let h=new Date().getTime(),d=t.getEnv();Z.log("getRefreshHandler init");let f=yield Bc(d,e,t,n),p=yield cf(d,e,t,n),g=0;if(f)try{g=(r=JSON.parse(sn.decode(f)))==null?void 0:r.accessTokenExpiration}catch{Z.error("accessTokenExpiration error")}let m="";if(p)try{m=(i=JSON.parse(sn.decode(p)))==null?void 0:i.refreshToken}catch{Z.error("refresh token json parse error")}if(!m)return V({});e.refreshToken=m,!e.unionId&&delete e.unionId;let{type:b}=e,v,y;if(b===he){v=yield lf(d,e,t);let x=((o=z.detect())==null?void 0:o.code)===0&&((c=(a=z.detect())==null?void 0:a.data)==null?void 0:c.isMiniProgram),E=((u=z.detect())==null?void 0:u.code)===0&&((l=(s=z.detect())==null?void 0:s.data)==null?void 0:l.isWechat);if(!v&&E&&!x)return{isSelfDefine:!0,code:cn.needAuth.code,message:cn.needAuth.message,data:null};Z.info(v,"getAidHelper....aid tempid"),y=yield ff(e,v)}let w=b===he?Object.assign({},e,y):e;Z.info(y,"\u7B7E\u540D",w),delete w.forceUpdate,delete w.type,delete w.goLoginPage;let _=g&&g!="undefined"?Number(g):0;if((!_||_&&_-h<Es*nf*rf)&&m){let x=yield f3(t,w);return Z.info("cacheRefreshHandler",x),x}}),h3=(t,e)=>X(null,null,function*(){var n,r;let{type:i}=e,o=t.getEnv();Z.log("getAccessTokenApi init params is",e,typeof e);let a=yield Bc(o,e,t,!1),c="",u="",s=()=>X(null,null,function*(){let l=yield d3(t,e,!0);return Z.info("getRefreshHandler resultResponse",l),(l.code===ae||l.code===0)&&(Z.info("getRefreshHandler resultResponse success",l),c=yield Bn(o,i,e,t,!0),Z.info("getRefreshHandler resultResponse success accessToken",c)),l.code===cn.needAuth.code?l:(e3.includes(l.code)&&(yield Pc(t,e),i===he&&(u=yield jl(t,e)),Z.info("getRefreshHandler signout cookie")),c||""||u)});if(a){let{forceUpdate:l}=e,h=0;try{h=(n=JSON.parse(sn.decode(a)))==null?void 0:n.accessTokenExpiration}catch{Z.warn("accessToken json parse fail")}let d=new Date().getTime();if(!h||l||((h+"").length===10?h*Es:h)-d<Es*nf*rf)return yield s();try{c=(r=JSON.parse(sn.decode(a)))==null?void 0:r.accessToken}catch{Z.warn("refreshToken json parse fail")}return c}else{if(Z.warn("shdrAccessToken cookie is not exist"),yield cf(o,e,t,!0))return yield s();if(i===he)return yield jl(t,e)}}),jl=(t,e)=>X(null,null,function*(){var n,r,i,o,a,c;Z.log("obtainTokenApi invoke init"),delete e.refreshToken;let{type:u,unionId:s,channelCode:l}=e;if(u===he){let h=t.getEnv(),d=s||uf(h),f=sessionStorage.getItem(Or);if(d){e.unionId=d;let p=!1;if(typeof f=="string")try{let g=JSON.parse(f)||[];Z.log("getAccessTokenApi unionList exist session storage"),g.includes(l)&&(p=!0)}catch{Z.warn("unionList lost ")}if(Z.log(p,"isUnion"),p){let g=yield lf(h,e,t),m=`${g}`;Z.log(m,g,"getAidHelper....aid tempid",m);let b=((n=z.detect())==null?void 0:n.code)===0&&((i=(r=z.detect())==null?void 0:r.data)==null?void 0:i.isMiniProgram),v=((o=z.detect())==null?void 0:o.code)===0&&((c=(a=z.detect())==null?void 0:a.data)==null?void 0:c.isWechat);if(!m&&!b&&v)return{isSelfDefine:!0,code:cn.needAuth.code,message:cn.needAuth.message,data:null};let y=yield ff(e,m),w=Object.assign({},e,y);delete w.forceUpdate,delete w.type,delete w.goLoginPage,Z.log(y,"\u7B7E\u540D",w,"isUnion");let _=yield t.getObtainTokenApi(w);if((_==null?void 0:_.code)===ae){try{window.PROFILESDK_DEVTOOLS&&alert(JSON.stringify(_.data))}catch(E){Z.error(E,"debugger fail")}let x=yield Bn(h,u,e,t,!0);if(!x){let{accessToken:E,accessTokenExpiration:T,accessTokenExpireIn:N,refreshToken:S,refreshTokenExpiration:A,refreshTokenExpireIn:P,sdkCookieName:R}=_==null?void 0:_.data;if(R){let U=R==null?void 0:R.shdrAccessToken,F=R==null?void 0:R.shdrRefreshToken;df(U,F,E,T,N,S,A,P),x=yield Bn(h,u,e,t,!0)}}return x||""}}}}}),p3=(t,e)=>X(null,null,function*(){let{type:n}=e,r=go();if(n==="app"&&r)return af(e);{if(n===he){let{openId:o,unionId:a}=e,c=t.getEnv();if(o||(e.openId=c3(c,e)),Z.warn("getaccesstoken params",e,o,a),!e.openId)return Z.warn("getaccesstoken not auth silence get openId",e,o,a),{code:cn.needAuth.code,message:cn.needAuth.message,data:null};a||(e.unionId=uf(c))}let i=yield h3(t,e);return i!=null&&i.isSelfDefine?(delete i.isSelfDefine,i):V({accessToken:i||""})}}),g3=(t,e)=>X(null,null,function*(){let n=yield t.getUserInfoApi(t,e);return n&&(n==null?void 0:n.code)===ae?i3(n.data,e):n}),v3=(t,e)=>X(null,null,function*(){let n=sessionStorage.getItem(Or),r=!1;if(n){if(Z.log("byUnionList get unionList from  cache"),typeof n=="string")try{(JSON.parse(n)||[]).includes(e)&&(r=!0)}catch{Z.warn("unionList lost ")}}else{Z.log("byUnionList get unionList from not cache");let i=yield t.queryUnionListApi();(i==null?void 0:i.code)===ae&&(i!=null&&i.data&&sessionStorage.setItem(Or,JSON.stringify(i==null?void 0:i.data)),i!=null&&i.data.includes(e)&&(r=!0))}return r}),Pc=(t,e)=>X(null,null,function*(){var n,r,i,o,a,c,u,s,l,h,d,f;let{type:p,channelCode:g}=e,m=go();if(p!==Hl||p===Hl&&!m){let b=t.getEnv(),v=`${Hi}_${b}`,y=`${ji}_${b}`,w=`${g}_${Hi}_${b}`,_=`${g}_${ji}_${b}`,x=`${g}_${X4}_${Y4}_${b}`,E="",T={maxAge:0,expires:0,domain:Mi,path:Ui,secure:!0},N=((n=z.detect())==null?void 0:n.code)===0&&((i=(r=z.detect())==null?void 0:r.data)==null?void 0:i.isMiniProgram),S=((o=z.detect())==null?void 0:o.code)===0&&((c=(a=z.detect())==null?void 0:a.data)==null?void 0:c.isWechat),A=((u
1=z.detect())==null?void 0:u.code)===0&&((l=(s=z.detect())==null?void 0:s.data)==null?void 0:l.isBrowser),P=((h=z.detect())==null?void 0:h.code)===0&&((f=(d=z.detect())==null?void 0:d.data)==null?void 0:f.isMobile);if(Z.info("current platform is :",z.detect(),A,N,S),S){if(N){let R=yield v3(t,g);Z.log(R,"isUnion"),R&&(Jt({key:v,value:E,attributes:T}),Jt({key:y,value:E,attributes:T})),Jt({key:w,value:E,attributes:T}),Jt({key:_,value:E,attributes:T})}else Jt({key:v,value:E,attributes:T}),Jt({key:y,value:E,attributes:T}),Jt({key:w,value:E,attributes:T}),Jt({key:_,value:E,attributes:T});return Jt({key:x,value:E,attributes:T}),V(null)}if(A||P)return Jt({key:v,value:E,attributes:T}),Jt({key:y,value:E,attributes:T}),Jt({key:x,value:E,attributes:T}),V(null)}else return of()?new Promise((b,v)=>{window.DisneyJSBridge.call("signout",{},y=>X(null,null,function*(){y.resultCode===0?(Z.warn("DisneyJSBridge signout res"),b(V(null))):(Z.warn("DisneyJSBridge signout res error"),b(V(null)),v(y))}))}):(Z.warn("no DisneyJSBridge"),V(null))}),Ml=new Zt("[@shdr/profile-sdk main instance]"),m3=t=>{let{type:e,openId:n,unionId:r,cupUserId:i}=t;return e==="wechat"&&(!n||!r)?(Ml.warn("visitorIdHandler lost openid or unionid"),!0):e==="cup"&&!i?(Ml.warn("visitorIdHandler lost cupUserId"),!0):!1},y3=(t,e)=>X(null,null,function*(){if(m3(e))return!1;let n=yield t.getVisitorIdApi(e);if(n&&(n==null?void 0:n.code)===ae){let{data:r}=n;return V(r)}else return n}),b3=(t,e)=>X(null,null,function*(){let n=yield t.getApholderApi(t,e);if(n&&(n==null?void 0:n.code)===ae){let{data:r}=n;return V(r)}else return n}),w3=t=>{let{type:e,url:n}=t;if(!r3(n,e))return;let{replace:r}=t;r?window.location.replace(n):window.location.href=n},Ul={getAccessToken:{support:1},getVisitorId:{support:1},getUserInfo:{support:1},goToProfilePage:{support:1},getApHolder:{support:1},getPlatformDetect:{support:1},canIUse:{support:1}},_3=t=>Ul[t]?Ul[t].support===1?V({canIUse:!0}):V({canIUse:!1}):V({canIUse:!1});function hf(t,e){return function(){return t.apply(e,arguments)}}var{toString:x3}=Object.prototype,{getPrototypeOf:Dc}=Object,{iterator:vo,toStringTag:pf}=Symbol,mo=(t=>e=>{let n=x3.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),se=t=>(t=t.toLowerCase(),e=>mo(e)===t),yo=t=>e=>typeof e===t,{isArray:Wn}=Array,Rr=yo("undefined");function S3(t){return t!==null&&!Rr(t)&&t.constructor!==null&&!Rr(t.constructor)&&Mt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var gf=se("ArrayBuffer");function E3(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&gf(t.buffer),e}var A3=yo("string"),Mt=yo("function"),vf=yo("number"),bo=t=>t!==null&&typeof t=="object",k3=t=>t===!0||t===!1,Si=t=>{if(mo(t)!=="object")return!1;let e=Dc(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(pf in t)&&!(vo in t)},T3=se("Date"),C3=se("File"),O3=se("Blob"),R3=se("FileList"),B3=t=>bo(t)&&Mt(t.pipe),P3=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Mt(t.append)&&((e=mo(t))==="formdata"||e==="object"&&Mt(t.toString)&&t.toString()==="[object FormData]"))},D3=se("URLSearchParams"),[I3,N3,L3,H3]=["ReadableStream","Request","Response","Headers"].map(se),j3=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Wr(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),Wn(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{let o=n?Object.getOwnPropertyNames(t):Object.keys(t),a=o.length,c;for(r=0;r<a;r++)c=o[r],e.call(null,t[c],c,t)}}function mf(t,e){e=e.toLowerCase();let n=Object.keys(t),r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}var Ze=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,yf=t=>!Rr(t)&&t!==Ze;function ks(){let{caseless:t}=yf(this)&&this||{},e={},n=(r,i)=>{let o=t&&mf(e,i)||i;Si(e[o])&&Si(r)?e[o]=ks(e[o],r):Si(r)?e[o]=ks({},r):Wn(r)?e[o]=r.slice():e[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Wr(arguments[r],n);return e}var M3=(t,e,n,{allOwnKeys:r}={})=>(Wr(e,(i,o)=>{n&&Mt(i)?t[o]=hf(i,n):t[o]=i},{allOwnKeys:r}),t),U3=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),F3=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},z3=(t,e,n,r)=>{let i,o,a,c={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;
1)a=i[o],(!r||r(a,t,e))&&!c[a]&&(e[a]=t[a],c[a]=!0);t=n!==!1&&Dc(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},q3=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;let r=t.indexOf(e,n);return r!==-1&&r===n},W3=t=>{if(!t)return null;if(Wn(t))return t;let e=t.length;if(!vf(e))return null;let n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},$3=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Dc(Uint8Array)),V3=(t,e)=>{let n=(t&&t[vo]).call(t),r;for(;(r=n.next())&&!r.done;){let i=r.value;e.call(t,i[0],i[1])}},J3=(t,e)=>{let n,r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},K3=se("HTMLFormElement"),Y3=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,r){return n.toUpperCase()+r}),Fl=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),X3=se("RegExp"),bf=(t,e)=>{let n=Object.getOwnPropertyDescriptors(t),r={};Wr(n,(i,o)=>{let a;(a=e(i,o,t))!==!1&&(r[o]=a||i)}),Object.defineProperties(t,r)},Z3=t=>{bf(t,(e,n)=>{if(Mt(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;let r=t[n];if(Mt(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},G3=(t,e)=>{let n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Wn(t)?r(t):r(String(t).split(e)),n},Q3=()=>{},t6=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function e6(t){return!!(t&&Mt(t.append)&&t[pf]==="FormData"&&t[vo])}var n6=t=>{let e=new Array(10),n=(r,i)=>{if(bo(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[i]=r;let o=Wn(r)?[]:{};return Wr(r,(a,c)=>{let u=n(a,i+1);!Rr(u)&&(o[c]=u)}),e[i]=void 0,o}}return r};return n(t,0)},r6=se("AsyncFunction"),i6=t=>t&&(bo(t)||Mt(t))&&Mt(t.then)&&Mt(t.catch),wf=((t,e)=>t?setImmediate:e?((n,r)=>(Ze.addEventListener("message",({source:i,data:o})=>{i===Ze&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Ze.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Mt(Ze.postMessage)),o6=typeof queueMicrotask<"u"?queueMicrotask.bind(Ze):typeof process<"u"&&process.nextTick||wf,a6=t=>t!=null&&Mt(t[vo]),O={isArray:Wn,isArrayBuffer:gf,isBuffer:S3,isFormData:P3,isArrayBufferView:E3,isString:A3,isNumber:vf,isBoolean:k3,isObject:bo,isPlainObject:Si,isReadableStream:I3,isRequest:N3,isResponse:L3,isHeaders:H3,isUndefined:Rr,isDate:T3,isFile:C3,isBlob:O3,isRegExp:X3,isFunction:Mt,isStream:B3,isURLSearchParams:D3,isTypedArray:$3,isFileList:R3,forEach:Wr,merge:ks,extend:M3,trim:j3,stripBOM:U3,inherits:F3,toFlatObject:z3,kindOf:mo,kindOfTest:se,endsWith:q3,toArray:W3,forEachEntry:V3,matchAll:J3,isHTMLF
1orm:K3,hasOwnProperty:Fl,hasOwnProp:Fl,reduceDescriptors:bf,freezeMethods:Z3,toObjectSet:G3,toCamelCase:Y3,noop:Q3,toFiniteNumber:t6,findKey:mf,global:Ze,isContextDefined:yf,isSpecCompliantForm:e6,toJSONObject:n6,isAsyncFn:r6,isThenable:i6,setImmediate:wf,asap:o6,isIterable:a6};function J(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}O.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:O.toJSONObject(this.config),code:this.code,status:this.status}}});var _f=J.prototype,xf={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{xf[t]={value:t}});Object.defineProperties(J,xf);Object.defineProperty(_f,"isAxiosError",{value:!0});J.from=(t,e,n,r,i,o)=>{let a=Object.create(_f);return O.toFlatObject(t,a,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),J.call(a,t.message,e,n,r,i),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};var s6=null;function Ts(t){return O.isPlainObject(t)||O.isArray(t)}function Sf(t){return O.endsWith(t,"[]")?t.slice(0,-2):t}function zl(t,e,n){return t?t.concat(e).map(function(r,i){return r=Sf(r),!n&&i?"["+r+"]":r}).join(n?".":""):e}function c6(t){return O.isArray(t)&&!t.some(Ts)}var u6=O.toFlatObject(O,{},null,function(t){return/^is[A-Z]/.test(t)});function wo(t,e,n){if(!O.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=O.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,p){return!O.isUndefined(p[f])});let r=n.metaTokens,i=n.visitor||s,o=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&O.isSpecCompliantForm(e);if(!O.isFunction(i))throw new TypeError("visitor must be a function");function u(f){if(f===null)return"";if(O.isDate(f))return f.toISOString();if(!c&&O.isBlob(f))throw new J("Blob is not supported. Use a Buffer instead.");return O.isArrayBuffer(f)||O.isTypedArray(f)?c&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function s(f,p,g){let m=f;if(f&&!g&&typeof f=="object"){if(O.endsWith(p,"{}"))p=r?p:p.slice(0,-2),f=JSON.stringify(f);else if(O.isArray(f)&&c6(f)||(O.isFileList(f)||O.endsWith(p,"[]"))&&(m=O.toArray(f)))return p=Sf(p),m.forEach(function(b,v){!(O.isUndefined(b)||b===null)&&e.append(a===!0?zl([p],v,o):a===null?p:p+"[]",u(b))}),!1}return Ts(f)?!0:(e.append(zl(g,p,o),u(f)),!1)}let l=[],h=Object.assign(u6,{defaultVisitor:s,convertValue:u,isVisitable:Ts});function d(f,p){if(!O.isUndefined(f)){if(l.indexOf(f)!==-1)throw Error("Circular reference detected in "+p.join("."));l.push(f),O.forEach(f,function(g,m){(!(O.isUndefined(g)||g===null)&&i.call(e,g,O.isString(m)?m.trim():m,p,h))===!0&&d(g,p?p.concat(m):[m])}),l.pop()}}if(!O.isObject(t))throw new TypeError("data must be an object");return d(t),e}function ql(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Ic(t,e){this._pairs=[],t&&wo(t,this,e)}var Ef=Ic.prototype;Ef.append=function(t,e){this._pairs.push([t,e])};Ef.toString=function(t){let e=t?function(n){return t.call(this,n,ql)}:ql;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function l6(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Af(t,e,n){if(!e)return t;let r=n&&n.encode||l6;O.isFunction(n)&&(n={serialize:n});let i=n&&n.serialize,o;if(i?o=i(e,n):o=O.isURLSearchParams(e)?e.toString():new Ic(e,n).toString(r),o){let a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}var Fi=class{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){O.forEach(this.handlers,function(n){n!==null&&e(n)})}},kf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},f6=typeof URLSearchParams<"u"?URLSearchParams:Ic,d6=typeof FormData<"u"?FormData:null,h6=typeof Blob<"u"?Blob:null,p6={isBrowser:!0,classes:{
1URLSearchParams:f6,FormData:d6,Blob:h6},protocols:["http","https","file","blob","url","data"]},Nc=typeof window<"u"&&typeof document<"u",Cs=typeof navigator=="object"&&navigator||void 0,g6=Nc&&(!Cs||["ReactNative","NativeScript","NS"].indexOf(Cs.product)<0),v6=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",m6=Nc&&window.location.href||"http://localhost",y6=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Nc,hasStandardBrowserEnv:g6,hasStandardBrowserWebWorkerEnv:v6,navigator:Cs,origin:m6},Symbol.toStringTag,{value:"Module"})),Dt=wn(wn({},y6),p6);function b6(t,e){return wo(t,new Dt.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return Dt.isNode&&O.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function w6(t){return O.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function _6(t){let e={},n=Object.keys(t),r,i=n.length,o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}function Tf(t){function e(n,r,i,o){let a=n[o++];if(a==="__proto__")return!0;let c=Number.isFinite(+a),u=o>=n.length;return a=!a&&O.isArray(i)?i.length:a,u?(O.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!c):((!i[a]||!O.isObject(i[a]))&&(i[a]=[]),e(n,r,i[a],o)&&O.isArray(i[a])&&(i[a]=_6(i[a])),!c)}if(O.isFormData(t)&&O.isFunction(t.entries)){let n={};return O.forEachEntry(t,(r,i)=>{e(w6(r),i,n,0)}),n}return null}function x6(t,e,n){if(O.isString(t))try{return(e||JSON.parse)(t),O.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}var $r={transitional:kf,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){let n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=O.isObject(t);if(i&&O.isHTMLForm(t)&&(t=new FormData(t)),O.isFormData(t))return r?JSON.stringify(Tf(t)):t;if(O.isArrayBuffer(t)||O.isBuffer(t)||O.isStream(t)||O.isFile(t)||O.isBlob(t)||O.isReadableStream(t))return t;if(O.isArrayBufferView(t))return t.buffer;if(O.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return b6(t,this.formSerializer).toString();if((o=O.isFileList(t))||n.indexOf("multipart/form-data")>-1){let a=this.env&&this.env.FormData;return wo(o?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),x6(t)):t}],transformResponse:[function(t){let e=this.transitional||$r.transitional,n=e&&e.forcedJSONParsing,r=this.responseType==="json";if(O.isResponse(t)||O.isReadableStream(t))return t;if(t&&O.isString(t)&&(n&&!this.responseType||r)){let i=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?J.from(o,J.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Dt.classes.FormData,Blob:Dt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};O.forEach(["delete","get","head","post","put","patch"],t=>{$r.headers[t]={}});var S6=O.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),E6=t=>{let e={},n,r,i;return t&&t.split(`
2`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||e[n]&&S6[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},Wl=Symbol("internals");function er(t){return t&&String(t).trim().toLowerCase()}function Ei(t){return t===!1||t==null?t:O.isArray(t)?t.map(Ei):String(t)}function A6(t){let e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}var k6=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ta(t,e,n,r,i){if(O.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!O.isString(e)){if(O.isString(r))return e.indexOf(r)!==-1;if(O.isRegExp(r))return r.test(e)}}function T6(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function C6(t,e){let n=O.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(i,o,a){return this[r].call(this,e,i,o,a)},configurable:!0})})}var Ut=class{constructor(t){t&&this.set(t)}set(t,e,n){let r=this;function i(a,c,u){let s=er(c);if(!s)throw new Error("header name must be a non-empty string");let l=O.findKey(r,s);(!l||r[l]===void 0||u===!0||u===void 0&&r[l]!==!1)&&(r[l||c]=Ei(a))}let o=(a,c)=>O.forEach(a,(u,s)=>i(u,s,c));if(O.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(O.isString(t)&&(t=t.trim())&&!k6(t))o(E6(t),e);else if(O.isObject(t)&&O.isIterable(t)){let a={},c,u;for(let s of t){if(!O.isArray(s))throw TypeError("Object iterator must return a key-value pair");a[u=s[0]]=(c=a[u])?O.isArray(c)?[...c,s[1]]:[c,s[1]]:s[1]}o(a,e)}
2else t!=null&&i(e,t,n);return this}get(t,e){if(t=er(t),t){let n=O.findKey(this,t);if(n){let r=this[n];if(!e)return r;if(e===!0)return A6(r);if(O.isFunction(e))return e.call(this,r,n);if(O.isRegExp(e))return e.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=er(t),t){let n=O.findKey(this,t);return!!(n&&this[n]!==void 0&&(!e||ta(this,this[n],n,e)))}return!1}delete(t,e){let n=this,r=!1;function i(o){if(o=er(o),o){let a=O.findKey(n,o);a&&(!e||ta(n,n[a],a,e))&&(delete n[a],r=!0)}}return O.isArray(t)?t.forEach(i):i(t),r}clear(t){let e=Object.keys(this),n=e.length,r=!1;for(;n--;){let i=e[n];(!t||ta(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){let e=this,n={};return O.forEach(this,(r,i)=>{let o=O.findKey(n,i);if(o){e[o]=Ei(r),delete e[i];return}let a=t?T6(i):String(i).trim();a!==i&&delete e[i],e[a]=Ei(r),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let e=Object.create(null);return O.forEach(this,(n,r)=>{n!=null&&n!==!1&&(e[r]=t&&O.isArray(n)?n.join(", "):n)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join(`
3`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){let n=new this(t);return e.forEach(r=>n.set(r)),n}static accessor(t){let e=(this[Wl]=this[Wl]={accessors:{}}).accessors,n=this.prototype;function r(i){let o=er(i);e[o]||(C6(n,i),e[o]=!0)}return O.isArray(t)?t.forEach(r):r(t),this}};Ut.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);O.reduceDescriptors(Ut.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});O.freezeMethods(Ut);function ea(t,e){let n=this||$r,r=e||n,i=Ut.from(r.headers),o=r.data;return O.forEach(t,function(a){o=a.call(n,o,i.normalize(),e?e.status:void 0)}),i.normalize(),o}function Cf(t){return!!(t&&t.__CANCEL__)}function $n(t,e,n){J.call(this,t!=null?t:"canceled",J.ERR_CANCELED,e,n),this.name="CanceledError"}O.inherits($n,J,{__CANCEL__:!0});function Of(t,e,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function O6(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function R6(t,e){t=t||10;let n=new Array(t),r=new Array(t),i=0,o=0,a;return e=e!==void 0?e:1e3,function(c){let u=Date.now(),s=r[o];a||(a=u),n[i]=c,r[i]=u;let l=o,h=0;for(;l!==i;)h+=n[l++],l=l%t;if(i=(i+1)%t,i===o&&(o=(o+1)%t),u-a<e)return;let d=s&&u-s;return d?Math.round(h*1e3/d):void 0}}function B6(t,e){let n=0,r=1e3/e,i,o,a=(c,u=Date.now())=>{n=u,i=null,o&&(clearTimeout(o),o=null),t.apply(null,c)};return[(...c)=>{let u=Date.now(),s=u-n;s>=r?a(c,u):(i=c,o||(o=setTimeout(()=>{o=null,a(i)},r-s)))},()=>i&&a(i)]}var zi=(t,e,n=3)=>{let r=0,i=R6(50,250);return B6(o=>{let a=o.loaded,c=o.lengthComputable?o.total:void 0,u=a-r,s=i(u),l=a<=c;r=a;let h={loaded:a,total:c,progress:c?a/c:void 0,bytes:u,rate:s||void 0,estimated:s&&c&&l?(c-a)/s:void 0,event:o,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(h)},n)},$l=(t,e)=>{let n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Vl=t=>(...e)=>O.asap(()=>t(...e)),P6=Dt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Dt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Dt.origin),Dt.navigator&&/(msie|trident)/i.test(Dt.navigator.userAgent)):()=>!0,D6=Dt.hasStandardBrowserEnv?{write(t,e,n,r,i,o){let a=[t+"="+encodeURIComponent(e)];O.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),O.isString(r)&&a.push("path="+r),O.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){let e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function I6(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function N6(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Rf(t,e,n){let r=!I6(e);return t&&(r||n==!1)?N6(t,e):e}var Jl=t=>t instanceof Ut?wn({},t):t;function un(t,e){e=e||{};let n={};function r(s,l,h,d){return O.isPlainObject(s)&&O.isPlainObject(l)?O.merge.call({caseless:d},s,l):O.isPlainObject(l)?O.merge({},l):O.isArray(l)?l.slice():l}function i(s,l,h,d){if(O.isUndefined(l)){if(!O.isUndefined(s))return r(void 0,s,h,d)}else return r(s,l,h,d)}function o(s,l){if(!O.isUndefined(l))return r(void 0,l)}function a(s,l){if(O.isUndefined(l)){if(!O.isUndefined(s))return r(void 0,s)}else return r(void 0,l)}function c(s,l,h){if(h in e)return r(s,l);if(h in t)return r(void 0,s)}let u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBo
3dyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c,headers:(s,l,h)=>i(Jl(s),Jl(l),h,!0)};return O.forEach(Object.keys(Object.assign({},t,e)),function(s){let l=u[s]||i,h=l(t[s],e[s],s);O.isUndefined(h)&&l!==c||(n[s]=h)}),n}var Bf=t=>{let e=un({},t),{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:c}=e;e.headers=a=Ut.from(a),e.url=Af(Rf(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let u;if(O.isFormData(n)){if(Dt.hasStandardBrowserEnv||Dt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((u=a.getContentType())!==!1){let[s,...l]=u?u.split(";").map(h=>h.trim()).filter(Boolean):[];a.setContentType([s||"multipart/form-data",...l].join("; "))}}if(Dt.hasStandardBrowserEnv&&(r&&O.isFunction(r)&&(r=r(e)),r||r!==!1&&P6(e.url))){let s=i&&o&&D6.read(o);s&&a.set(i,s)}return e},L6=typeof XMLHttpRequest<"u",H6=L6&&function(t){return new Promise(function(e,n){let r=Bf(t),i=r.data,o=Ut.from(r.headers).normalize(),{responseType:a,onUploadProgress:c,onDownloadProgress:u}=r,s,l,h,d,f;function p(){d&&d(),f&&f(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let g=new XMLHttpRequest;g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout;function m(){if(!g)return;let v=Ut.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:v,config:t,request:g};Of(function(w){e(w),p()},function(w){n(w),p()},y),g=null}"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(m)},g.onabort=function(){g&&(n(new J("Request aborted",J.ECONNABORTED,t,g)),g=null)},g.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let v=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",y=r.transitional||kf;r.timeoutErrorMessage&&(v=r.timeoutErrorMessage),n(new J(v,y.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,g)),g=null},i===void 0&&o.setContentType(null),"setRequestHeader"in g&&O.forEach(o.toJSON(),function(v,y){g.setRequestHeader(y,v)}),O.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),a&&a!=="json"&&(g.responseType=r.responseType),u&&([h,f]=zi(u,!0),g.addEventListener("progress",h)),c&&g.upload&&([l,d]=zi(c),g.upload.addEventListener("progress",l),g.upload.addEventListener("loadend",d)),(r.cancelToken||r.signal)&&(s=v=>{g&&(n(!v||v.type?new $n(null,t,g):v),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));let b=O6(r.url);if(b&&Dt.protocols.indexOf(b)===-1){n(new J("Unsupported protocol "+b+":",J.ERR_BAD_REQUEST,t));return}g.send(i||null)})},j6=(t,e)=>{let{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,i,o=function(s){if(!i){i=!0,c();let l=s instanceof Error?s:this.reason;r.abort(l instanceof J?l:new $n(l instanceof Error?l.message:l))}},a=e&&setTimeout(()=>{a=null,o(new J(`timeout ${e} of ms exceeded`,J.ETIMEDOUT))},e),c=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach(s=>{s.unsubscribe?s.unsubscribe(o):s.removeEventListener("abort",o)}),t=null)};t.forEach(s=>s.addEventListener("abort",o));let{signal:u}=r;return u.unsubscribe=()=>O.asap(c),u}},M6=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,i;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},U6=function(t,e){return Yo(this,null,function*(){try{for(var n=$u(F6(t)),r,i,o;r=!(i=yield new tr(n.next())).done;r=!1){let a=i.value;yield*Xo(M6(a,e))}}catch(i){o=[i]}finally{try{r&&(i=n.return)&&(yield new tr(i.call(n)))}finally{if(o)throw o[0]}}})},F6=function(t){return Yo(this,null,function*(){if(t[Symbol.asyncIterator]){yield*Xo(t);return}let e=t.getReader();try{for(;;){let{done:n,value:r}=yield new tr(e.read());if(n)break;yield r}}finally{yield new tr(e.cancel())}})},Kl=(t,e,n,r)=>{let i=U6(t,e),o=0,a,c=s=>{a||(a=!0,r&&r(s))};return new ReadableStream({pull(s){return X(this,null,function*(){try{let{done:l,value:h}=yield i.next();if(l){c(),s.close();return}let d=h.byteLength;if(n){let f=o+=d;n(f)}s.enqueue(new Uint8Array(h))}catch(l){throw c(l),l}})},cancel(s){return c(s),i.return()}},{highWaterMark:2})},_o=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Pf=_o&&typeof ReadableStream=="function",z6=_o&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):t=>X(null,null,function*(){return new Uint8Array(yield new Response(t).arrayBuffer())})),Df=(t,...e)=>{try{return!!t(...e)}catch{return!1}},q6=Pf&&Df(()=>
3{let t=!1,e=new Request(Dt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Yl=64*1024,Os=Pf&&Df(()=>O.isReadableStream(new Response("").body)),qi={stream:Os&&(t=>t.body)};_o&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!qi[e]&&(qi[e]=O.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,r)})})})(new Response);var W6=t=>X(null,null,function*(){if(t==null)return 0;if(O.isBlob(t))return t.size;if(O.isSpecCompliantForm(t))return(yield new Request(Dt.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(O.isArrayBufferView(t)||O.isArrayBuffer(t))return t.byteLength;if(O.isURLSearchParams(t)&&(t=t+""),O.isString(t))return(yield z6(t)).byteLength}),$6=(t,e)=>X(null,null,function*(){let n=O.toFiniteNumber(t.getContentLength());return n!=null?n:W6(e)}),V6=_o&&(t=>X(null,null,function*(){let{url:e,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:c,onUploadProgress:u,responseType:s,headers:l,withCredentials:h="same-origin",fetchOptions:d}=Bf(t);s=s?(s+"").toLowerCase():"text";let f=j6([i,o&&o.toAbortSignal()],a),p,g=f&&f.unsubscribe&&(()=>{f.unsubscribe()}),m;try{if(u&&q6&&n!=="get"&&n!=="head"&&(m=yield $6(l,r))!==0){let _=new Request(e,{method:"POST",body:r,duplex:"half"}),x;if(O.isFormData(r)&&(x=_.headers.get("content-type"))&&l.setContentType(x),_.body){let[E,T]=$l(m,zi(Vl(u)));r=Kl(_.body,Yl,E,T)}}O.isString(h)||(h=h?"include":"omit");let b="credentials"in Request.prototype;p=new Request(e,Wu(wn({},d),{signal:f,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:b?h:void 0}));let v=yield fetch(p),y=Os&&(s==="stream"||s==="response");if(Os&&(c||y&&g)){let _={};["status","statusText","headers"].forEach(N=>{_[N]=v[N]});let x=O.toFiniteNumber(v.headers.get("content-length")),[E,T]=c&&$l(x,zi(Vl(c),!0))||[];v=new Response(Kl(v.body,Yl,E,()=>{T&&T(),g&&g()}),_)}s=s||"text";let w=yield qi[O.findKey(qi,s)||"text"](v,t);return!y&&g&&g(),yield new Promise((_,x)=>{Of(_,x,{data:w,headers:Ut.from(v.headers),status:v.status,statusText:v.statusText,config:t,request:p})})}catch(b){throw g&&g(),b&&b.name==="TypeError"&&/Load failed|fetch/i.test(b.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,t,p),{cause:b.cause||b}):J.from(b,b&&b.code,t,p)}})),Rs={http:s6,xhr:H6,fetch:V6};O.forEach(Rs,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});var Xl=t=>`- ${t}`,J6=t=>O.isFunction(t)||t===null||t===!1,If={getAdapter:t=>{t=O.isArray(t)?t:[t];let{length:e}=t,n,r,i={};for(let o=0;o<e;o++){n=t[o];let a;if(r=n,!J6(n)&&(r=Rs[(a=String(n)).toLowerCase()],r===void 0))throw new J(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+o]=r}if(!r){let o=Object.entries(i).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build")),a=e?o.length>1?`since :
4`+o.map(Xl).join(`
5`):" "+Xl(o[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Rs};function na(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new $n(null,t)}function Zl(t){return na(t),t.headers=Ut.from(t.headers),t.data=ea.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),If.getAdapter(t.adapter||$r.adapter)(t).then(function(e){return na(t),e.data=ea.call(t,t.transformResponse,e),e.headers=Ut.from(e.headers),e},function(e){return Cf(e)||(na(t),e&&e.response&&(e.response.data=ea.call(t,t.transformResponse,e.response),e.response.headers=Ut.from(e.response.headers))),Promise.reject(e)})}var Nf="1.9.0",xo={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{xo[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var Gl={};xo.transitional=function(t,e,n){function r(i,o){return"[Axios v"+Nf+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return(i,o,a)=>
5{if(t===!1)throw new J(r(o," has been removed"+(e?" in "+e:"")),J.ERR_DEPRECATED);return e&&!Gl[o]&&(Gl[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(i,o,a):!0}};xo.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function K6(t,e,n){if(typeof t!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);let r=Object.keys(t),i=r.length;for(;i-- >0;){let o=r[i],a=e[o];if(a){let c=t[o],u=c===void 0||a(c,o,t);if(u!==!0)throw new J("option "+o+" must be "+u,J.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}}var Ai={assertOptions:K6,validators:xo},ce=Ai.validators,Qe=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Fi,response:new Fi}}request(t,e){return X(this,null,function*(){try{return yield this._request(t,e)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;let i=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
6`+i):n.stack=i}catch{}}throw n}})}_request(t,e){typeof t=="string"?(e=e||{},e.url=t):e=t||{},e=un(this.defaults,e);let{transitional:n,paramsSerializer:r,headers:i}=e;n!==void 0&&Ai.assertOptions(n,{silentJSONParsing:ce.transitional(ce.boolean),forcedJSONParsing:ce.transitional(ce.boolean),clarifyTimeoutError:ce.transitional(ce.boolean)},!1),r!=null&&(O.isFunction(r)?e.paramsSerializer={serialize:r}:Ai.assertOptions(r,{encode:ce.function,serialize:ce.function},!0)),e.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),Ai.assertOptions(e,{baseUrl:ce.spelling("baseURL"),withXsrfToken:ce.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=i&&O.merge(i.common,i[e.method]);i&&O.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),e.headers=Ut.concat(o,i);let a=[],c=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(e)===!1||(c=c&&f.synchronous,a.unshift(f.fulfilled,f.rejected))});let u=[];this.interceptors.response.forEach(function(f){u.push(f.fulfilled,f.rejected)});let s,l=0,h;if(!c){let f=[Zl.bind(this),void 0];for(f.unshift.apply(f,a),f.push.apply(f,u),h=f.length,s=Promise.resolve(e);l<h;)s=s.then(f[l++],f[l++]);return s}h=a.length;let d=e;for(l=0;l<h;){let f=a[l++],p=a[l++];try{d=f(d)}catch(g){p.call(this,g);break}}try{s=Zl.call(this,d)}catch(f){return Promise.reject(f)}for(l=0,h=u.length;l<h;)s=s.then(u[l++],u[l++]);return s}getUri(t){t=un(this.defaults,t);let e=Rf(t.baseURL,t.url,t.allowAbsoluteUrls);return Af(e,t.params,t.paramsSerializer)}};O.forEach(["delete","get","head","options"],function(t){Qe.prototype[t]=function(e,n){return this.request(un(n||{},{method:t,url:e,data:(n||{}).data}))}});O.forEach(["post","put","patch"],function(t){function e(n){return function(r,i,o){return this.request(un(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Qe.prototype[t]=e(),Qe.prototype[t+"Form"]=e(!0)});var Y6=class Lf{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});let r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o,a=new Promise(c=>{r.subscribe(c),o=c}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},e(function(i,o,a){r.reason||(r.reason=new $n(i,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){let e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new Lf(function(n){e=n}),cancel:e}}};function X6(t){return function(e){return t.apply(null,e)}}function Z6(t){return O.isObject(t)&&t.isAxiosError===!0}var Bs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
6setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Bs).forEach(([t,e])=>{Bs[e]=t});function Hf(t){let e=new Qe(t),n=hf(Qe.prototype.request,e);return O.extend(n,Qe.prototype,e,{allOwnKeys:!0}),O.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return Hf(un(t,r))},n}var pt=Hf($r);pt.Axios=Qe;pt.CanceledError=$n;pt.CancelToken=Y6;pt.isCancel=Cf;pt.VERSION=Nf;pt.toFormData=wo;pt.AxiosError=J;pt.Cancel=pt.CanceledError;pt.all=function(t){return Promise.all(t)};pt.spread=X6;pt.isAxiosError=Z6;pt.mergeConfig=un;pt.AxiosHeaders=Ut;pt.formToJSON=t=>Tf(O.isHTMLForm(t)?new FormData(t):t);pt.getAdapter=If.getAdapter;pt.HttpStatusCode=Bs;pt.default=pt;var{Axios:Dv,AxiosError:Iv,CanceledError:Nv,isCancel:Lv,CancelToken:Hv,VERSION:jv,all:Mv,Cancel:Uv,isAxiosError:Fv,spread:zv,toFormData:qv,AxiosHeaders:Wv,HttpStatusCode:$v,formToJSON:Vv,getAdapter:Jv,mergeConfig:Kv}=pt,G6=new Zt("[@shdr/profile-sdk base request]"),Q6=6e3,t5=(t,e)=>{let n=e==null?void 0:e.message;return{400:n||"400 error \u8BF7\u6C42\u65E0\u6548",401:"401 error \u767B\u5F55\u5931\u6548\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\uFF01",403:"403 error \u5BF9\u4E0D\u8D77\uFF0C\u4F60\u6CA1\u6709\u8BBF\u95EE\u6743\u9650\uFF01",404:"404 Not Found \u8BF7\u68C0\u67E5\u8BF7\u6C42\u8DEF\u5F84\u662F\u5426\u6B63\u786E\uFF01",500:n||"500 error \u540E\u53F0\u9519\u8BEF\uFF0C\u8BF7\u8054\u7CFB\u5F00\u53D1\u4EBA\u5458\uFF01",502:"502 error \u5E73\u53F0\u73AF\u5883\u5F02\u5E38",504:"504 error \u7F51\u5173\u8D85\u65F6\uFF0C\u8BF7\u91CD\u8BD5\uFF01"}[t]},jf=t=>{let{data:e,status:n,statusText:r}=t.response,i=t5(n,e)||`${n} error ${e?e.message:r}`;return G6.error(i,jf),{code:n,message:i,result:!1}},ve=class{constructor(t){this.baseConfig={timeout:Q6,withCredentials:!0},this.instance=pt.create(Object.assign(this.baseConfig,t)),this.limitFlowCodes=t.limitFlowCodes||[],this.eventBus=t.eventBus,this.instance.interceptors.request.use(e=>{let n=e["x-disney-ctoken"];return n&&(e.headers["x-disney-ctoken"]=n),e["Accept-Language"]&&(e.headers["Accept-Language"]=e["Accept-Language"]),e["wechat-source"]&&(e.headers["wechat-source"]=e["wechat-source"]),e}),this.instance.interceptors.response.use(e=>{let{data:n,status:r}=e,{message:i}=n;if(r===200){let o=e.config.url||"";a3(r,o,this.limitFlowCodes,this.eventBus)}return n||{code:r,message:i,result:!1}},e=>{if(e&&e.response)return jf(e),e.response.data;Promise.reject(e)})}request(t){return this.instance.request(t)}get(t,e){return this.instance.get(t,e)}post(t,e,n){return this.instance.post(t,e,n)}put(t,e,n){return this.instance.put(t,e,n)}delete(t,e){return this.instance.delete(t,e)}},Vt=new Zt("[@shdr/profile-sdk service instance]"),Ps=class{constructor(e){this.servicePrefix="",this.language=" ",this.limitflowTykDomainPrefix="",this.limitFlowCodes=[580,588,592],this.env="latest";let{servicePrefix:n,limitflowTykDomainPrefix:r,language:i,env:o}=e;this.servicePrefix=n,this.language=i,this.limitflowTykDomainPrefix=r,this.env=o}setlimitFlowCodes(e){this.limitFlowCodes=e}getEnv(){return this.env}setEventBus(e){this.eventBus=e}genAidApi(e){return X(this,null,function*(){let o=e,{type:n}=o,r=ri(o,["type"]),i=`${this.servicePrefix}/profile-service/api/v1/ext/wechat/gen-h5-aid`.trim();return new ve({limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus}).post(i,r).catch(a=>{Vt.error(a,"getObtainTokenApi service err....")})})}getObtainTokenApi(e){return X(this,null,function*(){var n,r,i;let l=e,{type:o}=l,a=ri(l,["type"]),c=`${this.servicePrefix}/ctoken-service/api/v1/ext/token/obtain`.trim(),u=((n=z.detect())==null?void 0:n.code)===0&&((i=(r=z.detect())==null?void 0:r.data)==null?void 0:i.isMiniProgram);
6Vt.log(z.detect(),u,"isMiniprogram....");let s=u?{"wechat-source":"native-h5",limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus}:{limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus};return new ve(s).post(c,a).catch(h=>{Vt.error(h,"getObtainTokenApi service err....")})})}queryUnionListApi(){return X(this,null,function*(){let e=`${this.servicePrefix}/profile-service/api/v1/ext/wechat/query-union-list`.trim();return new ve({limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus}).post(e,{}).catch(n=>{Vt.error(n,"queryUnionListApi service err....")})})}getUserInfoApi(e,n){return X(this,null,function*(){let{channelCode:r,businessCode:i,entryCode:o,type:a}=n,c=yield Bn(this.env,a,n,e);Vt.log(c,"accessTokenResult....");let u=Qo(c,r,i,o),s=this.limitflowTykDomainPrefix||this.servicePrefix,l=go(),h=a==="wechat"?`${s}/profile-service/api/v1/ext/account-query/wechat-profile-base-info`.trim():a==="app"&&l?`${s}/profile-service/api/v1/ext/account-query/app-profile-base-info`.trim():`${s}/profile-service/api/v1/ext/account-query/web-profile-base-info`.trim();return new ve({"x-disney-ctoken":u,"Accept-Language":this.language,limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus}).post(h,n).catch(d=>{Vt.error(d,"getUserInfoApi service err....")})})}refreshTokenApi(e){return X(this,null,function*(){var n,r,i;let l=e,{type:o}=l,a=ri(l,["type"]),c=`${this.servicePrefix}/ctoken-service/api/v1/ext/token/refresh`.trim(),u=((n=z.detect())==null?void 0:n.code)===0&&((i=(r=z.detect())==null?void 0:r.data)==null?void 0:i.isMiniProgram);Vt.log(z.detect(),u,"isMiniprogram....");let s=u?{"wechat-source":"native-h5",limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus}:{limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus};return new ve(s).post(c,a).catch(h=>{Vt.error(h,"refreshTokenApi service err....")})})}getApholderApi(e,n){return X(this,null,function*(){let{channelCode:r,businessCode:i,entryCode:o,withDetail:a,type:c}=n,u=yield Bn(this.env,c,n,e),s=Qo(u,r,i,o);delete n.withDetail;let l=a?`${this.servicePrefix}/profile-ap-service/api/v1/ext/ap/detail-info`.trim():`${this.servicePrefix}/profile-ap-service/api/v1/ext/ap/check`.trim();return new ve({"x-disney-ctoken":s,"Accept-Language":this.language,limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus}).post(l,n).catch(h=>{Vt.error(h,"getApholderApi service err....")})})}getVisitorIdApi(e){return X(this,null,function*(){let n=`${this.servicePrefix}/profile-service/api/v1/ext/guest/visitor-login`.trim();return new ve({limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus}).post(n,e).catch(r=>{Vt.log(r,"getVisitorIdApi service err....")})})}postSdkLogApi(e){return X(this,null,function*(){let n=`${this.servicePrefix}/profile-service/api/v1/ext/sdk/log`.trim();return new ve({limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus}).post(n,e).catch(r=>{Vt.log(r,"getVisitorIdApi service err....")})})}logoutApi(e,n){return X(this,null,function*(){let{channelCode:r,businessCode:i,entryCode:o,type:a}=n,c=yield Bn(this.env,a,n,e);Vt.log(c,"accessTokenResult....");let u=Qo(c,r,i,o),s=`${this.servicePrefix}/profile-service/api/v1/ext/guest/logout`.trim();return new ve({limitFlowCodes:this.limitFlowCodes,eventBus:this.eventBus,"x-disney-ctoken":u}).post(s,n).catch(l=>{Vt.log(l,"logoutApi service err....")})})}},Ds=class{constructor(){this.map=new Map}on(e,n){let r=this.map.get(e);r||(r=new Set,this.map.set(e,r)),r.add(n)}once(e,n){let r=i=>{n&&n(i),this.off(e)};this.on(e,r)}emit(e,n){let r=this.map.get(e);r&&[...r].forEach(i=>i(n))}off(e,n){if(!e){this.map.clear();return}n||this.map.delete(e);let r=this.map.get(e);r&&r.delete(n)}},jt={isDisneyIOS:"SHDR_APP_iOS",isDisneyAndroid:"SHDR_APP_Android",isWebsitePC:"SHDR_Website_PC",isWebsiteMobile:"SHDR_Website_Mobile",isMobile:"Browser",isCupAndroid:"CUP_APP_Android",isCupIOS:"CUP_APP_iOS",isAlipayAndroid:"Alipay_APP_Android",isAlipayIOS:"Alipay_APP_iOS",isCastPlusAndroid:"SHDR_CastPlus_Android",isCastPlusIOS:"SHDR_CastPlus_iOS",isWeChatOA:"SHDR_WeChatOA",isWechatMpOthers:"isWechatMpOthers"},e5={dcu_mp:"SHDR_WeChatMP_Ecommerce",mp_weixin_main:"SHDR_WeChatMP_Ecommerce",aphub:"SHDR_WeChatMP_APHub",mp_weixin_aphub:"SHDR_WeChatMP_APHub",duffy:"SHD
6R_WeChatMP_DuffyHub",mp_weixin_duffy:"SHDR_WeChatMP_DuffyHub",zootopia:"SHDR_WeChatMP_ZootopiaHub",mp_weixin_zootopia:"SHDR_WeChatMP_ZootopiaHub",h5_cup_parking:"SHDR_WeChatMP_GPL",mp_weixin_parking:"SHDR_WeChatMP_GPL",mp_weixin_vq:"SHDR_WeChatMP_VQ",mp_weixin_glimmer:"SHDR_WeChatMP_GlimmerHub",pingan:"SHDR_WeChatMP_GiftCard",mp_weixin_pingan:"SHDR_WeChatMP_GiftCard"},Ql=new Zt("[@shdr/profile-sdk test api ]"),Mf=(t,e)=>{try{location.href.includes("https")&&t.postSdkLogApi(e).then(n=>{if(n&&(n==null?void 0:n.code)===ae)Ql.info("postSdkLogApi log post success");else return n})}catch{Ql.error("postSdkLogApi excute fail")}},n5=(t,e)=>{var n,r,i,o,a,c,u,s,l,h,d,f,p,g,m,b,v,y,w,_,x,E,T,N,S,A,P,R,U,F,$,it,et;let{isWebsite:ot=!0,platformId:nt}=e,B=((n=z.detect())==null?void 0:n.code)===0&&((i=(r=z.detect())==null?void 0:r.data)==null?void 0:i.isDisneyIOS),I=((o=z.detect())==null?void 0:o.code)===0&&((c=(a=z.detect())==null?void 0:a.data)==null?void 0:c.isDisneyAndroid),L=((u=z.detect())==null?void 0:u.code)===0&&((l=(s=z.detect())==null?void 0:s.data)==null?void 0:l.isMiniProgram),D=((h=z.detect())==null?void 0:h.code)===0&&((f=(d=z.detect())==null?void 0:d.data)==null?void 0:f.isWechat),ct=((p=z.detect())==null?void 0:p.code)===0&&((m=(g=z.detect())==null?void 0:g.data)==null?void 0:m.isMobile),at=((b=z.detect())==null?void 0:b.code)===0&&((y=(v=z.detect())==null?void 0:v.data)==null?void 0:y.isCupAndroid),Ct=((w=z.detect())==null?void 0:w.code)===0&&((x=(_=z.detect())==null?void 0:_.data)==null?void 0:x.isCupIOS),K=((E=z.detect())==null?void 0:E.code)===0&&((N=(T=z.detect())==null?void 0:T.data)==null?void 0:N.isAlipayAndroid),Ve=((S=z.detect())==null?void 0:S.code)===0&&((P=(A=z.detect())==null?void 0:A.data)==null?void 0:P.isAlipayIOS),Ce=((R=z.detect())==null?void 0:R.code)===0&&((F=(U=z.detect())==null?void 0:U.data)==null?void 0:F.isCastPlusAndroid),Kn=(($=z.detect())==null?void 0:$.code)===0&&((et=(it=z.detect())==null?void 0:it.data)==null?void 0:et.isCastPlusIOS);if(D&&L){let Oe=e5[nt]||"";if(!Oe){let qt={channelCode:jt.isWechatMpOthers,referrer:location.href,extension:`api: getChannelCode, platformId: ${e.platformId}`};return Mf(t,qt),V({channelCode:jt.isWechatMpOthers})}return V({channelCode:Oe})}return V(D&&!L?{channelCode:jt.isWeChatOA}:B?{channelCode:jt.isDisneyIOS}:I?{channelCode:jt.isDisneyAndroid}:at?{channelCode:jt.isCupAndroid}:Ct?{channelCode:jt.isCupIOS}:K?{channelCode:jt.isAlipayAndroid}:Ve?{channelCode:jt.isAlipayIOS}:Ce?{channelCode:jt.isCastPlusAndroid}:Kn?{channelCode:jt.isCastPlusIOS}:ot?ct?{channelCode:jt.isWebsiteMobile}:{channelCode:jt.isWebsitePC}:{channelCode:jt.isMobile})},Is=class{constructor(e){this.MOBILE="Mobile",this.APP="App",this.WECHAT="Wechat",this.MINI_PROGRAM="Miniprogram",this.BROWSER="Browser",this.DISNEY_IOS="DisneyIOS",this.DISNEY_ANDROID="DisneyAndroid",this.SHDR_APP="SHDR_APP",this.SHDR_Website="SHDR_Website",this.SHDR_WeChat="SHDR_WeChat",this.Webpage="Webpage",this.CUP_APP="CUP_APP",this.Alipay_APP="Alipay_APP",this.SHDR_CastPlus="SHDR_CastPlus",this.userAgent=navigator==null?void 0:navigator.userAgent;let{isWebsite:n=!0}=e;this.isWebsite=n}isDisneyApp(){return this.isDisneyAndroid()||this.isDisneyIOS()}isDisneyIOS(){return/DISNEY_MOBILE_IOS/.test(this.userAgent)}isDisneyAndroid(){return/DISNEY_MOBILE_ANDROID/.test(this.userAgent)}isWechat(){return/MicroMessenger/.test(this.userAgent)}isMiniProgram(){return/[m|M]ini[p|P]rogram/.test(this.userAgent)}isMobile(){return/Mobile/.test(this.userAgent)}isCupApp(){return/UnionPay/.test(this.userAgent)}isAlipayApp(){return/Alipay/.test(this.userAgent)}isCastPlusApp(){return/Joywok/.test(this.userAgent)}detect(){return this.isDisneyApp()?V({category:this.SHDR_APP}):this.isDisneyAndroid()?V({isDisneyAndroid:!0}):this.isCupApp()?V({category:this.CUP_APP}):this.isAlipayApp()?V({category:this.Alipay_APP}):this.isCastPlusApp()?V({category:this.SHDR_CastPlus}):this.isWechat()?V({category:this.SHDR_WeChat}):this.isWebsite?V({category:this.SHDR_Website}):V({category:this.Webpage})}};function So(t,e){return Function.prototype.apply.apply(t,e)}function Uf(t,e){return function(){return t.apply(e,arguments)}}function Br(t){return Br=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Br(t)}function lt(t,e,n){return(e=(function(r){var i=(function(o,a){if(typeof o!="object"||o===null)return o;var c=o[Symbol.toPrimitive];
6if(c!==void 0){var u=c.call(o,a);if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(o)})(r,"string");return typeof i=="symbol"?i:String(i)})(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function C(t,e,n){var r,i=0;if(t){if((function(o){var a=!!o&&"length"in o&&o.length,c=Br(o);return c!=="function"&&(c==="array"||a===0||typeof a=="number"&&a>0&&a-1 in o)})(t))for(r=t.length;i<r&&e.call(t[i],t[i],i)!==!1;i++);else for(i in t)if((n||Object.prototype.hasOwnProperty.call(t,i))&&e.call(t[i],t[i],i)===!1)break}return t}var t1=window.encodeURIComponent;function Ns(t){return t1?t1(t):t}function pn(t){return function(e){return t==="Array"&&Array.isArray?Array.isArray(e):Object.prototype.toString.call(e)==="[object "+t+"]"}}var ht=pn("String"),le=pn("Array"),gt=pn("Object"),Lc=pn("Number"),Ff=pn("Headers"),r5=pn("Request"),Y=function(t){return typeof t=="function"};function Eo(){this.events={}}Eo.prototype={on:function(t,e){var n=this;return ht(t)?(n.events[t]||(n.events[t]=[])).push(e):le(t)&&C(t,function(r){n.on(r,e)}),n},off:function(t,e){var n=arguments.length,r=this;if(n===0)return r.events={},r;var i=r.events[t];if(!i)return r;if(n===1)return r.events[t]=null,r;for(var o=i.length;o--;)if(i[o]===e){i.splice(o,1);break}return r},emit:function(t){var e=[].slice.call(arguments,1),n=this.events[t];return n&&C(n,function(r){return r.apply(this,e)}),this},unshift:function(t,e){var n=this;return(n.events[t]||(n.events[t]=[])).unshift(e),n}};var Hc=[].slice;function W(t){return arguments.length<2||!t||C(Hc.call(arguments,1),function(e){C(e,function(n,r){t[r]=n})}),t}function Pr(t,e){for(var n=-1,r=0,i=t==null?0:t.length,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}var ke=+new Date;function Yt(t,e,n){var r;if(t==null)return-1;var i=Object(t),o=i.length>>>0;if(o===0)return-1;var a=0;if(Math.abs(a)===1/0&&(a=0),a>=o)return-1;for(r=Math.max(a>=0?a:o-Math.abs(a),0);r<o;){if(r in i&&i[r]===e)return r;r++}return-1}var i5=function(){return!document.addEventListener};function e1(t){var e=!1;try{/\{\s+\[native code\]/.test(Function.prototype.toString.call(t))&&(e=!0)}catch{}return e}function o5(t){return JSON.parse(t)}function a5(t){return JSON.stringify(t)}function zf(t){return!(!ht(t)||t==null)&&(t.charAt(0)==="{"&&t.charAt(t.length-1)==="}"||t.charAt(0)==="["&&t.charAt(t.length-1)==="]")}function s5(t){return zf(t)?new Function("return "+t)():null}var qf,Ft,n1='"',r1="ARRAY",c5="OBJECT_KEY",ra="OBJECT_VALUE",i1="__TY_MARK_OBJECT_VALUE_UNDEFINED__";function dr(t,e){switch(Br(t)){case"object":if(!t)return e===ra?null:"null";if(t instanceof Array){var n=Hc.call(t);return C(n,function(c,u){n[u]=dr(c,r1)}),"["+n.join(",")+"]"}if(t instanceof Date)return t.getTime().toString();var r="";return C(t,function(c,u){if(!Y(c)){var s=dr(c,ra);if(s!==i1){var l=dr(u,c5);r+=l+":"+s+","}}}),r&&(r=r.substr(0,r.length-1)),"{"+r+"}";case"string":for(var i="",o=0;o<t.length;o++){var a=t.charAt(o);switch(a){case'"':i+='\\"';break;case"\\":i+="\\\\";break;case"\b":i+="\\b";break;case"\f":i+="\\f";break;case`
7`:i+="\\n";break;case"\r":i+="\\r";break;case"	":i+="\\t";break;default:i+=a}}return n1+i+n1;case"number":return isNaN(t)?null:t;case"boolean":return t;case"function":return dr(t.toString());case"undefined":return e===ra?i1:e===r1?"null":"undefined";default:return'"undefined"'}}var ia,mt,si=window.JSON;function Wf(t,e){var n=t==null?0:t.length;if(!n)return-1;for(var r=n;r--;)if(t[r]===e)return r;return r}function je(t){return setTimeout(t,0)}function Me(){}function M(){return+new Date}function pe(t){return function(){if(t!==null){var e=t;t=null,e.apply(this,arguments)}}}function Ue(t,e){return setTimeout(t,e||0)}function tn(t){return t?ht(t)?t.length:window.ArrayBuffer&&t instanceof ArrayBuffer?t.byteLength:window.Blob&&t instanceof Blob?t.size:t.length?t.length:0:0}function me(t,e,n){return!!t&&(n=n||0,t.indexOf(e)==n)}ia=si&&si.parse,qf=Y(ia)&&e1(ia)?o5:s5,Ft=(function(){var t=si&&si.stringify;if(!Y(t)||!e1(t))return!1;var e=!0;try{C([Boolean,Number,String,Object,Array],function(n){if(n.prototype.toJSON)return e=!1,!1})}catch{}return e})()?a5:dr,mt=window.addEventListener?function(t,e,n,r){return t.addEventListener(e,n,r)}:function(t,e,n){return t.attachEvent("on"+e,n)};var Ls=String.prototype.trim?function(t){return t==null?"":t.trim()}:function(t){return t==null?"":t.toString().replace(/^\s+/,"").replace(/\s+$/,"")},Tt=(function(){function t(n){return n<0?NaN:n<=30?0|Math.random()*(1<<n):n<=53?(0|Math.random()*(1<<30))+(0|Math.random()*(1<<n-30))*(1<<30):NaN}function e(n,r){for(var i=n.toString(16),o=r-i.length,a="0";o>0;o>>>=1,a+=a)1&o&&(i=a+i);return i}return function(n){var r="-";return n&&(r=""),e(t(32),8)+r+e(t(16),4)+r+e(16384|t(12),4)+r+e(32768|t(14),4)+r+e(t(48),12)}})(),ie={imageResources:[]},$f={},j={context:null,uniqueId:0,actions:[],opt_custom_param:null,unAssignedEvents:[],cpActions:[],recordingCpActions:!1,cpParent:null,cpRemain:{ajax:0,iframe:0},tryEndCpActionsFailed:!1,pfSent:!1,ajaxUniqueId:0,scope:null,enableLCPObserver:!0,recordingPageLoadEvent:!1,recentFinishedAjaxContext:null,pageLoadEventEnd:!1,nbsJsBridgeData:{},did:null,uid:null,pageActionData:null,routeAid:null},u5="error",ln="load",o1="unload",a1="beforeunload",Ln="pagehide",jc="readystatechange",Ao="complete",l5="DOMContentLoaded",Wi="_ty_rum",Ie="TINGYUN",ko="__ign",To="1",Hn="2",$i="3",Vi="4",s1="5",f5="reqBody",d5="TINGYUN_COOKIE_VALUE",c1="TINGYUN_DATA",h5="X-Tingyun",p5="X-Tingyun-Data",Ji="TY_BASE64",fe="__TINGYUN",u1="ty_",g5=6e4,Vf="common",zt="event",It="ajax",Jf="timer",Pn="iframe",Ee="pf",l1="crossPage",Kf="jsError",ki="resource",Yf="batch",v5="trace",Xf="main",f1="quit",m5="pending",gn="finish",Hs="timeout",oa="startTime",Zf="fetchStart",Mc="requestStart",
7Uc="responseStart",js="responseEnd",Fc="domContentLoadedEventStart",Gf="domContentLoadedEventEnd",Qf="domInteractive",td="domComplete",ed="loadEventStart",zc="loadEventEnd",nd="unloadEventStart",rd="unloadEventEnd",qc="domainLookupStart",Wc="domainLookupEnd",$c="redirectStart",Vc="redirectEnd",Jc="connectStart",Kc="connectEnd",Ki="secureConnectionStart",hr="transferSize",Ti="encodedBodySize",Ci="decodedBodySize",d1="nextHopProtocol",y5="duration",b5=5,Ms="__ty_crs_page_events",w5="window_open",_5="a_link",x5="form_submit",Yc="__ty_event_patch_tag",Xc="__ty_event_patch_disable",ee="__ty_event_patch_id",jn="click",Zc="submit",Vn="spe",S5="addEventListener",E5="onProperty",Co="inline",A5="IMG",id="A",od="FORM",we="__ty_xhr_hooked",Us="__ty_xhr_hooked_type",k5=200,Gc="TY_USER_ID",ad="TY_SESSION_N_ID",Fs="TY_DEVICE_N_ID",T5=21e5,C5=288e5,sd="|",Oi="__TY_SPE_STORE",O5=6e5,Qc="auto",R5="defined",ge="route",B5=500,Ri="__TY_ELEMENT_CB",h1="__TY_IMAGE_LOAD_HOOK",P5=60,zs="__tagFirstPaintTime",D5=500,I5=1e4,qs="hashchange",p1="popstate",N5="normal",L5="script",H5="current",j5="crossPage",M5="visibilitychange",wr="URL",Ne="QH",Le="QB",en="RH",He="RB",Vr="reqHeaders",Oo="reqBody",Jr="resHeaders",Ro="resBody",U5=200,cd="lifecycle",$e="action",Ws="send",Yi="init",Dr="page",Bo="ajax",ud="error",ld="userAction",tu="beforeSend",eu="send",fd="paint",F5="largest-contentful-paint",dd="first-contentful-paint",z5=500,q5=1e4,W5=100,g1="__ty_resource_load_bind_id",Po="xhr",$s="fetch",v1="mPaaS_rpc",m1="resource",hd="auto",Vs="immediateEvent",Js=1,pd=2,gd=3,$5="beacon",Xi="TINGYUN_STORAGE",pr="AGENT_CONFIG",V5=10,J5=3e4,Do="GET",Zi="POST",K5="http://mgw/",Y5=100,X5=2e3,Z5=4e3,G5=4e3,Q5=7e3,vd="userAction",t8="userEvent",e8="setUser",n8="Server-Timing",Ks="xmlhttprequest",md="fetch",Io="session",r8="history",i8="hash",o8="auto",a8="fid",s8="cls",c8="tti",u8="tbt",l8=5e3,f8=10,d8=430080,y1=1e3,h8=200,p8="default",g8="http",v8="info",m8="console",y8="dom",b8="fetch",w8="xhr",_8="history",x8="navigation",yd="error",bd="report",Fe="resource",Ys="longtask",_r="navigation",Xs="first-input",S8="performance",b1=Fe,E8=_r,A8=5e3,k8=1e3,Ir={error:990,abort:905,timeout:903},nu="id",Nt="appKey",ne="token",Mn="key",wd="env",_d="replay",Bi="apply",xd="init",Sd="tingyun",Ed="w3c-trace-context",T8="sw8",Nr={lifecycle:[Yi],action:[Dr,Bo,ud,ld],send:[tu,eu]},C8="default",xr={};function Ad(t,e){return"".concat(t,"_").concat(e||C8)}function No(t){if(t&&gt(t)){var e=t.type,n=t.name,r=t.handler,i=t.options;if(!(Nr[e]==null||n&&Yt(Nr[e],n)<0||!Y(r)||i&&!gt(i)))if(n===Dr&&j.pageActionData)Td(t,{args:{actionData:j.pageActionData}});else{var o=Ad(e,n);xr[o]||(xr[o]=[]),xr[o].push(t)}}}function Zs(t,e){No({type:cd,name:t,handler:e})}function kd(t,e,n){No({type:$e,name:t,handler:e,options:n})}function Gs(t,e){No({type:Ws,name:t,handler:e})}function Ae(t){var e,n=t.type,r=t.name,i=t.args,o=t.scope,a=Ad(n,r);if(xr[a])try{C(xr[a],function(c){if(Td(c,{args:i,scope:o})===!1)return e=!1,!1})}catch{}return e}function Td(t,e){var n,r=e.args,i=e.scope,o=r||{};i&&(o.scope=i);try{n=t.handler.call(i,o)}catch{}return n}function Et(t){t=t||{},this._contexts=t.contexts||null,this._name=t.name,this._tags=null,this._metrics=null,this._params=null}function Lo(){j.scope||(j.scope=new Et({name:"ROOT"}))}function Cd(){Lo(),j.scope.setContext.apply(j.scope,arguments)}function vn(t,e,n){if(t&&e){n||(n="scope");var r=e?e.getData():null;return r&&(t[n]=r),t}}function Ho(){return Lo(),j.scope}Et.prototype.setContext=function(t,e){var n=this;t&&gt(t)?C(t,function(r,i){n._mergeContext(i,r)}):this._mergeContext(t,e)},Et.prototype.setBreadcrumbs=function(t){if(t)if(this._breadcrumbs)try{this._breadcrumbs=this._breadcrumbs.concat(t)}catch{}else this._breadcrumbs=t},Et.prototype.setTag=function(t,e){t!=null&&e!=null&&(this._tags||(this._tags={}),this._tags[t]=e)},Et.prototype.setMetric=function(t,e,n){if(t!=null&&e!=null){this._metrics||(this._metrics={});var r={data:e};n&&(r.unit=n),this._metrics[t]=r}},Et.prototype.setParams=function(t){this._params||(this._params={}),W(this._params,t)},Et.prototype.setExtraContext=function(t){this.setContext("extra",t)},Et.prototype.getContext=function(t){return t==null?this._contexts:this._contexts==null?null:this._contexts[t]},Et.prototype.getData=function(){if(this._isEmptyScope())return null;var t={};return this._contexts&&(t.contexts=this._contexts),this._breadcrumbs&&(t.breadcrumbs=this._breadcrumbs),this._tags&&(t.tags=this._tags),this._metrics&&(t.metrics=this._metrics),this._params&&(t.params=this._params),t},Et.prototype._isEmptyScope=function(){return this._contexts==null&&this._breadcrumbs==null&&this._tags==null&&this._metrics==null&&this._params==null},Et.prototype._mergeContext=function(t,e){t!=null&&e!=null&&(this._contexts||(this._contexts={}),gt(this._contexts[t])&&gt(e)?this._contexts[t]=W(this._contexts[t]||{},e):this._contexts[t]=e)},Et.prototype.toJSON=function(){};var aa,sa=window.Error,st=window.document,kn=window.XMLHttpRequest,O8=window.location,Od=window.navigator,k={},Pe={};
7function Dn(){try{aa||(aa=window.navigator.userAgent.substring(0,256))}catch{}return aa}var Qs,tc,R8=!/(MSIE [0-8].\d+)/.test(Dn())&&document.addEventListener;function yt(){return R8}var ec=[],nc=[];function ru(){return ec}function Rd(){return nc}"onpagehide"in window?(ec=[Ln],nc=[ln,Ln]):(ec=[o1,a1],nc=[ln,o1,a1]);function rc(){return window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.nbsBrowserAgent&&window.webkit.messageHandlers.nbsBrowserAgent.postMessage}function ic(){return typeof nbsJsBridge<"u"&&nbsJsBridge.postMessage}function ze(t){return ht(t)||(t=Ft(t)),t}var oc,ca="display:none";function B8(t,e){var n=t.url,r=t.data,i=t.callback,o=t.method,a=t.timeout,c=pe(i),u=new XDomainRequest;u[ko]=!0,o=o||Zi,u.open(o,n),u.onload=function(){c(u.responseText),e(!0)},u.onerror=function(s){c(s),e(!1)},a&&(u.timeout=a),je(function(){o===Zi?u.send(ze(r)):u.send()})}function ci(t,e,n){var r=document.createElement(t);try{for(var i in e)r[i]=e[i]}catch{var o="<"+t;for(var a in e)o+=" "+a+'="'+e[a]+'"';o+=">",n||(o+="</"+t+">"),r=document.createElement(o)}return r}function Bd(t,e){var n=t.url,r=t.data,i=t.callback,o=ci("div",{style:ca}),a=ci("iframe",{name:"ty_form",width:0,height:0,style:ca}),c=ci("form",{style:ca,action:n,enctype:"application/x-www-form-urlencoded",method:"post",target:"ty_form"}),u=ci("input",{name:"data",type:"hidden"},!0);u.value=ze(r),c.appendChild(u),o.appendChild(a),o.appendChild(c),document.body.appendChild(o),c.submit();var s=pe(function(l){i&&i(),document.body.removeChild(o),e(l)});a.onreadystatechange=function(){a.readyState!==Ao&&a.readyState!==4||s(!0)},a.onload=function(){s(!0)},a.onerror=function(){s(!1)}}function ua(t,e){var n=t.url,r=t.data,i=t.header,o=t.callback,a=t.method,c=t.timeout,u=pe(o),s=new kn;try{s[ko]=!0,a=a||Zi;try{s.open(a,n,!0)}catch{return Bd(t,e)}for(var l in s.overrideMimeType&&s.overrideMimeType("text/html"),c&&(s.timeout=c),s.onreadystatechange=function(){if(s.readyState==4){u(s.responseText);var h=s.status;e(h===200||h>=400&&h<500)}},s.onerror=function(){u(),e(!1)},i)s.setRequestHeader(l,i[l]);a===Zi?s.send(ze(r)):s.send()}catch{e(!1)}}function P8(t,e){var n=t.url,r=t.data,i=t.callback;try{var o=Od.sendBeacon(n,ze(r));i&&i(),e(o)}catch{e(!1)}}function Pd(t,e){var n={url:t,header:{"content-type":"text/plain;charset=UTF-8"},body:ze(e)};return ze({type:0,params:{ri:n}})}function D8(t,e){var n=t.url,r=t.data,i=t.callback;try{window.webkit.messageHandlers.nbsBrowserAgent.postMessage(Pd(n,r))}catch{}i&&i(),e(!0)}function I8(t,e){var n=t.url,r=t.data,i=t.callback;try{nbsJsBridge.postMessage(Pd(n,r))}catch{}i&&i(),e(!0)}function gr(){var t=this;this.size=Y5,this.queue=[],this.running=!1,this.post=null,this.callbackPost=null,this.canToggleToSendBeacon=!1,this.initSendingMethod(),mt(window,Ln,function(){t.canToggleToSendBeacon&&(t.post=P8,Pe.initiator=$5)})}function Dd(t){oc&&oc.add(t)}gr.prototype.add=function(t){this.queue.length>=this.size||!t||(t.retry==null&&(t.retry=!0),this.queue.push(t),this.running||(this.running=!0,this.run()))},gr.prototype.run=function(){var t=this,e=this.queue[0];this.handler(e,function(n){n||!e.retry?(t.queue.shift(),t.queue.length>0?t.run():t.running=!1):t.running=!1})},gr.prototype.handler=function(t,e){var n=this.post;t.needPostCallback&&(n=this.callbackPost),n(t,pe(function(r){e(r)}))},gr.prototype.initSendingMethod=function(){var t,e,n,r,i,o=!1;Od.sendBeacon&&(o=!0),e=ua,rc()?(t=D8,o=!1,Pe.initiator="messageHandler"):ic()?(t=I8,o=!1,Pe.initiator="jsBridge"):window.XDomainRequest?(t=e=B8,Pe.initiator="xdr"):(n=window.navigator.standalone,r=Dn().toLowerCase(),i=/safari/.test(r),/iphone|ipod|ipad/.test(r)&&!n&&!i||k[Nt]&&!rc()&&!ic()?(t=ua,o=!1,Pe.initiator="xhr"):Qs?(t=Bd,Pe.initiator="form"):(t=ua,Pe.initiator="xhr")),t||(t=function(a,c){c(!0)},o=!1),this.canToggleToSendBeacon=o,this.post=t,this.callbackPost=e};var Jn="xhrs",Lr="errs",Kr="resErrs",jo="vc",N8="tti";function ui(t,e){t.cache[e]=[]}function Id(){this.cache={},this.snapshot={},ui(this,Jn),ui(this,Lr),ui(this,Kr),ui(this,jo),this.addCache=function(t,e){if(this.cache[t]&&e)try{var n=e();n&&this.cache[t].push(n)}catch{}},this.getCache=function(t){return this.cache[t]},this.getCacheSnapshot=function(t,e){if(!e)return this.getCache(t);var n=this.snapshot[t];n||(n=this.snapshot[t]={});var r=n[e];return r||(r=n[e]=this.cache[t].slice()),r},this.clearCache=function(t){var e=this;
7C(t,function(n){e.cache[n]&&(e.cache[n]=null),e.snapshot[n]&&(e.snapshot[n]=null)})},Eo.call(this)}function Nd(t){var e=t.url,n=t.body,r=t.type,i=t.callback;i=i||Me;var o,a={url:e,body:n,type:r};try{o=Ae({type:Ws,name:tu,args:a})}catch{}o!==!1&&Dd({url:a.url,data:a.body,callback:function(){try{Ae({type:Ws,name:eu,args:a}),i()}catch{}},retry:t.retry})}W(Id.prototype,Eo.prototype);var Ld,dt=new Id;function bt(t){try{return(e=t)&&ht(e)?qf(e):e}catch{}var e;return null}function Gi(t,e,n){if(t[e]==null||le(t[e]))le(t[e])?t[e].push(n):t[e]=n;else{var r=t[e];t[e]=[r],t[e].push(n)}}function Un(t){return Ld.call(t)}dt.on("send",Nd),Ld=String.prototype.trim?String.prototype.trim:function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};var la="http://",fa="https://",da="file://";function Hd(t){if(!t||!ht(t))return"";var e,n=t.indexOf("?");return n>=0&&(e=t.substring(n+1)),e}function jd(t){var e=Hd(t);return{queryObj:iu(e),queryString:e}}function iu(t){var e={};return t&&C(t.split("&"),function(n){var r=n.split("="),i=w1(r[0]),o=w1(r[1]);if(ht(o)&&window.isNaN(o)){var a=bt(o);a!=null&&(o=a)}i&&o!=null&&Gi(e,i,o)}),e}function w1(t){try{return decodeURIComponent(t)}catch{}return null}function Md(t){var e=[];return C(t,function(n,r){var i=Ns(r)+"="+Ns(n);e.push(i)}),e.join("&")}function Ud(t,e){var n=Md(e);return t+=(t.indexOf("?")>0?"&":"?")+n}function Mo(){return window.location.href}function _1(t){var e=Wf(t,"/");return e>
7-1&&(t=t.substring(0,e)),t}var oe,Te,Qi,L8=/(msie|trident)/i.test(Dn()),Ot=document.createElement("a");function ou(t){var e=t;return L8&&(Ot.setAttribute("href",e),e=Ot.href),Ot.setAttribute("href",e),{href:Ot.href,protocol:Ot.protocol?Ot.protocol.replace(/:$/,""):"",host:Ot.host,search:Ot.search?Ot.search.replace(/^\?/,""):"",hash:Ot.hash?Ot.hash.replace(/^#/,""):"",hostname:Ot.hostname,port:Ot.port,pathname:Ot.pathname.charAt(0)==="/"?Ot.pathname:"/"+Ot.pathname}}oe=function(t){try{return window.localStorage.getItem(t)}catch{}},Te=function(t,e){try{window.localStorage.setItem(t,e)}catch{}return e},Qi=function(t){try{window.localStorage.removeItem(t)}catch{}};var Sr=null;function Yr(t,e){if(Sr!=null&&Y(Sr)){var n={type:1,params:{event_name:t}};e&&(n.params.data=e);try{Sr(Ft(n))}catch{}}}var au=50;function Fd(){return j.did}function zd(t){t!=null&&(j.did=t,Te(Fs,t))}function su(){var t=j.uid;return t||((t=oe(Gc))?(t=t.substring(0,au),j.uid=t,t):null)}function Uo(t,e){e=e||{},t!=null&&(t=t.substring(0,au),j.uid=t,e.noStore||Te(Gc,t),Yr(e8,{id:j.uid}))}function qd(){var t=window.TINGYUN_RELEASE&&window.TINGYUN_RELEASE.id;return t||(t=k.releaseId),t}var Wd,x1="http:",ha="https:",vt={ref:document.URL,referrer:document.referrer,v:"3.6.2",av:"3.6.2",ua:(navigator||{}).userAgent};function cu(){return Wd}function $d(t){var e=W({},vt,(function(){var n={did:Fd(),url:Mo()},r=su();r&&(n.uid=r);var i=qd();return i&&(n.rid=i),n})(),t);return e[Mn]||e[Nt]||!e[ne]||(e[Mn]=e[ne]),e}function Vd(t){return{beacon:cu(),query:t=$d(t)}}function H8(){vt.ref=document.URL,(function(){try{return window.self!==window.top}catch{return!1}})()&&(vt.ifr=1),C([nu,Mn,Nt,ne,wd],function(t){try{k[t]?vt[t]=k[t]:delete vt[t]}catch{}})}var pa,li,nr,ft,j8=(function(){try{var t=Tt();return window.localStorage.setItem(t,t),window.localStorage.removeItem(t),!0}catch{return!1}})(),Lt={};function Jd(t,e,n){if(Lt.localStorage&&t&&e){var r=bt(oe(Xi));r||(r={}),e&&n?(r[t]||(r[t]={}),r[t][e]=n):r[t]=e,Te(Xi,Ft(r))}}function Kd(t,e){if(Lt.localStorage&&t&&e){var n=bt(oe(Xi));if(n&&n[t])return n[t][e]}}Lt.localStorage=j8,Lt.getEntriesByName=window.performance&&Y(window.performance.getEntriesByName),nr=st.createElement("div"),(ft=st.createElement("div")).style&&(ft.style.cssText="float:left;opacity:.5",Lt.opacity=ft.style.opacity==="0.5",Lt.cssFloat=!!ft.style.cssFloat,ft.style.backgroundClip="content-box",ft.cloneNode(!0).style.backgroundClip="",Lt.clearCloneStyle=ft.style.backgroundClip==="content-box",(nr=st.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",ft.innerHTML="",nr.appendChild(ft),Lt.boxSizing=ft.style.boxSizing===""||ft.style.MozBoxSizing===""||ft.style.WebkitBoxSizing==="",Lt.reliableHiddenOffsets=function(){return pa==null&&((n=st.documentElement).appendChild(nr),ft.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",pa=!1,window.getComputedStyle&&(e=window.getComputedStyle(ft),pa=(e||{}).top!=="1%",(e||{}).marginLeft,(e||{width:"4px"}).width,ft.style.marginRight="50%",(e||{marginRight:"4px"}).marginRight,(t=ft.appendChild(st.createElement("div"))).style.cssText=ft.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",ft.style.width="1px",parseFloat((window.getComputedStyle(t)||{}).marginRight),ft.removeChild(t)),ft.style.display="none",(li=ft.getClientRects().length===0)&&(ft.style.display="",ft.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(t=ft.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(li=t[0].offsetHeight===0)&&(t[0].style.display="",t[1].style.display="none",li=t[0].offsetHeight===0)),n.removeChild(nr)),li;var t,e,n});var ga=65536,S1=6048e5;function M8(t,e){var n=tn(Ft(e));if(!(n>ga)){var r={},i=(function(){if(Lt.localStorage)return oe(Xi)})(),o=bt(i);if(o&&o[pr])if(tn(i)+n>ga){var a=[];C(o[pr],function(u,s){if(!u||!s)return!0;u.lastUpdate&&M()-u.lastUpdate<S1&&a.push({time:u.lastUpdate,key:s,value:u})});try{a.sort(function(u,s){return s.time-u.time})}catch{}var c=n;C(a,function(u){var s=tn(Ft(u.value));if(c+s>ga)return!1;r[u.key]=u.value,c+=s})}else C(o[pr],function(u,s){if(!u||!s)return!0;u.lastUpdate&&M()-u.lastUpdate<S1&&(r[s]=u)});r[t]=e,Jd(pr,r)}}var U8="TOKEN_",F8="APPKEY_",Yd="CK",E1={};function z8(t,e){if(t&&!Xd(t)&&(function(r){return!(!k.configLoad||!k.useRemoteConfig||!Lt.localStorage||r&&r.config&&!(M()-(r.lastUpdate||0)>6e4*k.configLoadInterval))})(e)&&!E1[t]){E1[t]=!0;var n={v:"3.6.2",_r:M()};k[ne]&&(n[ne]=k[ne]),k[Nt]&&(n[Nt]=k[Nt]),Dd({url:"".concat(cu(),"/web-config?").
7concat(Md(n)),method:Do,timeout:J5,needPostCallback:!0,callback:function(r){var i=bt(r);if(i){var o=i.code,a=i.data;o===200&&gt(a)&&M8(t,{lastUpdate:M(),config:a})}},retry:!1})}}function Xd(t){return t===Yd}function de(){return window[Ie]&&window[Ie].inited}function A1(t,e){return t==="[object "+e+"]"}function ac(t){return t&&t.length>0}var q8=[Vr,Oo,Jr,Ro];function rr(t){return!!t}function k1(t,e){var n=[];return e&&C(t,function(r){r&&r.url&&(C(q8,function(i){var o=!1;le(r[i])&&(r[i]=Pr(r[i],function(a){return a&&ht(a)}),o=ac(r[i])),o?i!==Vr&&i!==Jr||(function(a,c){a[c]&&C(a[c],function(u,s){u&&(a[c][s]=u.toLowerCase())})})(r,i):delete r[i]}),n.push(r))}),n}function _n(t){return t}function uu(t,e){if(Lc(t))return t=+t,e?e.min!=null&&t<e.min?e.min:e.max!=null&&t>e.max?e.max:t:t}function T1(t){return uu(t,{min:0})}var C1={},H={},W8=["domain",ne,Mn,nu,Nt,wd,"release","plugins"],$8=["common","page","ajax","jsError","operation","requestTracing","resource","configReload",_d,"webVitals","enc","breadcrumbs"],V8=lt({},_d,{enabled:[_n,!1],sampleRate:[uu,-1,{min:-1,max:1}],uploadInterval:[T1,10],uploadEveryEvents:[T1,100],options:[_n],privacyMode:[_n],blockClass:[_n],maskTextClass:[_n],ignoreClass:[_n]});function tt(t){return Zd(t,!0)}function Qt(t){return Zd(t,!1)}function Je(t,e){return t!=null&&t>0?t:e}function J8(t,e,n){var r;try{r=uu(t,n)}catch{}return r==null&&(r=e),r}function Zd(t,e){return t!=null?t==1:e}function Q(t,e){return t!=null?t:e}function K8(){var t,e,n,r;W(k,{beacon:Q(H.domain),env:Q(H.env),releaseId:Q(H.release),id:Q(H.id),key:Q(H.key),appKey:Q(H.appKey),token:Q(H.token),console_debug:Qt(H.common.debug),sessionMode:Q(H.common.sessionMode,hd),sendProtocol:Q(H.common.sendProtocol),protocolDomainConfig:Q(H.common.protocolDomainConfig),optCustomParamRules:(n=H.common.paramCollection,r={},C(n,function(i){i&&i.key&&ht(i.key)&&Yt(r[i.type]||[],i.key)<0&&(r[i.type]=r[i.type]||[]).push(i.key)}),r),sendInterval:Q(H.common.sendInterval,l8),sendMaxLen:Q(H.common.sendMaxLen,f8),sendMaxSize:Q(H.common.sendMaxSize,d8),useRemoteConfig:tt(H.common.useRemoteConfig),routerEnable:tt(H.page.routerEnabled),routerMode:Q(H.page.routerMode,o8),router_event_delay:Je(H.page.routerOperationDelay,D5),collect_noajax_hashroute:Qt(H.page.uploadNoAjaxHashRouter),fp_threshold:Q(H.page.fpThreshold,X5),fs_threshold:Q(H.page.fsThreshold,Z5),dr_threshold:Q(H.page.drThreshold,G5),le_threshold:Q(H.page.leThreshold,Q5),pageLoadDelay:Je(H.page.pageLoadDelay,z5),lcpAsFs:tt(H.page.lcpAsFs),monitor_dom_mutation:tt(H.page.mutationEnabled),fs_resources:Q(H.page.fsResources),hookAjax:tt(H.ajax.enabled),hookXhr:tt(H.ajax.xhrEnabled),hookFetch:tt(H.ajax.fetchEnabled),hookMPaas:tt(H.ajax.mPaaSEnabled),hook_xhr_setrequestheader:tt(H.ajax.hookXhrSetRequestHeader),ajaxBlacklist:Q(H.ajax.ignoreUrls),ajRecordAll:Q(H.ajax.recordAll),ajRecordEnabled:Qt(H.ajax.recordEnabled),ajRecords:Q(H.ajax.recordConfig),ajRecordBlockEnabled:Qt(H.ajax.recordBlockEnabled),ajBlockRecords:Q(H.ajax.recordBlockConfig),ajBodyMaxSize:1024*J8(H.ajax.bodyMaxSize,10,{min:1,max:1024}),jsErrorEnabled:tt(H.jsError.enabled),errorEnabled:tt(H.jsError.errorEnabled),unhandledrejectionEnabled:tt(H.jsError.unhandledrejectionEnabled),uploadEmptyFileErrors:Qt(H.jsError.uploadEmptyFileErrors),catchAsyncCallback:Qt(H.jsError.catchAsyncCallback),hook_auto_event:tt(H.operation.enabled),hook_inline_event:tt(H.operation.inlineEventEnabled),hookOnProperty:tt(H.operation.onPropertyEnabled),hookEventListener:tt(H.operation.eventListenerEnabled),monitorRage:tt(H.operation.rageClickEnabled),inline_event_associate_threshold:Je(H.operation.inlineEventThreshold,k5),hook_cross_page:tt(H.operation.crossPageEnabled),eventResources:Q(H.operation.itemUrls),eventResourcesIgnore:Q(H.operation.ignoreItemUrls),eventTimeout:Q(H.operation.timeout,g5),resourceAssociateThreshold:Je(H.operation.resourceAssociationThreshold,W5),resourceWaitTime:Je(H.operation.resourceAssociationWaitTime,q5),x_server_switch:tt(H.requestTracing.enabled),serverTiming:Qt(H.requestTracing.serverTimingEnabled),corsDomains:Q(H.requestTracing.corsDomains),apmHeaders:Q(H.requestTracing.apmHeaders),autoAddApmHeader:Qt(H.requestTracing.autoAddApmHeader),propagators:(t=Q(H.requestTracing.propagators,[Sd]),e={},C(t,function(i){e[i]=!0}),e),monitorResources:Q(H.resource.keyUrls),hook_iframe:tt(H.resource.iframeEnabled),configLoad:tt(H.configReload.enabled),configLoadInterval:Je(H.configReload.expire,V5),webVitalsEnabled:tt(H.webVitals.enabled),webVitalsFIDEnabled:tt(H.webVitals.fidEnabled),webVitalsCLSEnabled:tt(H.webVitals.clsEnabled),webVitalsTTIEnabled:tt(H.webVitals.ttiEnabled),webVitalsTBTEnabled:tt(H.webVitals.tbtEnabled),webVitalsTTIThreshold:Q(H.webVitals.ttiThreshold,A8),webVitalsTTIMutationCheckRate:Q(H.webVitals.ttiMutationCheckRate,k8),encEnabled:Qt(H.enc.enabled),encMode:Q(H.enc.mode),encPubKey:Q(H.enc.pubKey),encReplayEnabled:Qt(H.enc.replayEnabled),bcEnabled:tt(H.breadcrumbs.enabled),bcConsoleEnabled:tt(H.breadcrumbs.consoleEnabled),bcDomEnabled:tt(H.breadcrumbs.domEnabled),bcFetchEnabled:tt(H.breadcrumbs.fetchEnabled),bcXhrEnabled:tt(H.breadcrumbs.xhrEnabled),bcHistoryEnabled:tt(H.breadcrumbs.historyEnabled),bcNavigationEnabled:tt(H.breadcrumbs.navigationEnabled),bcMaxCacheSize:Je(H.breadcrumbs.maxCacheSize,h8),bcParseConsoleParam:Qt(H.breadcrumbs.parseConsoleParam)}),C(V8,function(i,o){var a=H[o]||{},c=k[o]={};C(i,function(u,s){var l=u[0],h=u[1],d=u[2];try{c[s]=l.call(null,a[s],d)}catch{}c[s]==null&&h!=null&&(c[s]=h)})})}function Y8(){C(k.corsDomains,function(a){return a!=="*"||(k.apmEnableAllCorsDomains=!0,!1)});var t,e,n,r,i,o=(function(){var a,c;try{a=window.location.protocol}catch{}var u=k.protocolDomainConfig;if(u&&(c=a===ha?u.https:a===x1?u.http:u.other||u.https),!c){var s=k.sendProtocol;s&&(a=s),a!==ha&&a!==x1&&(a=ha),k.beacon&&(c=a+"//"+k.beacon)}return c&&(Wd=c),c})();H8();try{t=k.networkRecord={},e=!1,n=!1,r={}
7,(i=k.ajRecordAll)&&(r[wr]=rr(i.urlParams),r[Ne]=rr(i[Vr]),r[Le]=rr(i[Oo]),r[en]=rr(i[Jr]),r[He]=rr(i[Ro]),e=!(!r[wr]||r[Ne]||r[Le]||r[en]||r[He]),n=!!(r[wr]||r[Ne]||r[Le]||r[en]||r[He])),t.config={enabled:n,urlOnly:e,pos:r},n&&!e&&(t.white=k1(k.ajRecords,k.ajRecordEnabled),t.black=k1(k.ajBlockRecords,k.ajRecordBlockEnabled))}catch{}return o}function Gd(){return k}function X8(t,e){}function Z8(t){var e=(function(a){if(de()){var c=!H[Nt]&&a[Nt];return H[Nt]&&!a[Nt]&&C([nu,Mn,Nt,ne],function(u){try{delete H[u]}catch{}}),c}})(t);if(e)return{valid:!1};var n=(function(a){if(a)return a[Nt]?F8+a[Nt]:a[ne]?U8+a[ne]:Yd})(t),r={};t&&t.common&&t.common.useRemoteConfig===!1||Xd(n)||(r=Kd(pr,n)||{}),(function(a,c,u){a||(a={}),c||(c={});var s=C1[u]=C1[u]||{};C(W8,function(l){var h=c[l]||a[l];h&&(s[l]=h)}),C($8,function(l){s[l]=W(s[l]||{},a[l],c[l])}),H=s})(t,r.config,n),K8();var i,o=Y8();return{config:H,configKey:n,storedConfig:r,valid:(i=o,(k[ne]||k[Nt]||k[Mn])&&i)}}function Qd(){return j.nbsJsBridgeData.sessionId}var t2,In={};function e2(t,e){t&&Y(e)&&(In[t]||(In[t]=[]),In[t].push(e))}function n2(t,e){In[t]&&In[t].length!==0&&C(In[t],function(n){try{n(e)}catch{}})}function Fn(){return t2}function r2(t){t2=t[0],t[0]&&(vt.sid=t[0]),t[1]&&(vt.__s=+t[1])}function lu(){return k.sessionMode==hd&&Lt.localStorage}function fu(t){t&&t.length===3&&(Te(ad,t.join(sd)),r2(t))}function i2(t,e){var n=Fn(),r=M();t||(t=Tt());var i=[t,r,r];fu(i);var o,a=Fn();return n2(Io,{prev:n,current:a,init:e}),Qd()!=null&&(o=a,j.nbsJsBridgeData.sessionId=o),i}function o2(t){var e=(function(){var i=oe(ad);if(i){var o=i.split(sd);return o&&(o[1]=+o[1],o[2]=+o[2]),o}return null})(),n=!0,r=Qd();return(n=!(!e||e.length!==3||!e[0]||isNaN(e[1])||isNaN(e[2]))&&(r!=null?r===e[0]:M()-e[2]<=T5&&M()-e[1]<=C5))||i2(r,t),{session:e,valid:n}}var ye,qe=new Eo,G8=(lt(ye={},Vf,"c"),lt(ye,zt,"e"),lt(ye,It,"a"),lt(ye,Pn,"i"),lt(ye,Ee,"p"),lt(ye,Kf,"j"),lt(ye,Vs,"event"),lt(ye,Yf,"b"),ye),Q8="page",t7="size",e7="len",n7="timer",r7=Ln,i7=["ps","ss","rs"],kt={size:0,q:[],options:null};function vr(t,e,n){var r={msg:t,size:e,options:n};n.crossPage?kt.q.unshift(r):kt.q.push(r),kt.size+=e,kt.options?C(n,function(i,o){if(kt.options[o]==null||o!=="query")kt.options[o]=i;else{var a=kt.options.query;C(n.query,function(c,u){Yt(i7,u)>-1?a[u]==null?a[u]=c:a[u]+=c:a[u]=c})}}):kt.options=n}function a2(t){var e=vn({type:Vf,_debug:W(t||{},Pe)},Ho());return j.opt_custom_param&&(e.optCustomParam=j.opt_custom_param),e}function to(t,e){if(t&&t.type){(e=e||{}).query=e.query||{};var n=e.query.ps===1;try{e.cb&&(e.cb.call(null,t),delete e.cb)}catch{}var r=s2(t)+Ft(t),i=tn(r);return kt.size+i>=k.sendMaxSize?(Er({tr:t7}),void vr(r,i,e)):kt.q.length+1>=k.sendMaxLen?(vr(r,i,e),void Er({tr:e7})):n?(vr(r,i,e),void Er({tr:Q8})):void vr(r,i,e)}}function s2(t){var e=G8[t.type];return e||(e=t.type),e}function Er(t){if(kt.q.length!==0){var e,n;lu()&&(e=o2(!1),n=e.session,e.valid&&(n[2]=M(),fu(n)));var r=kt.q,i=kt.options,o=i.requestInfo;o||(o=Vd()),W(o.query,i.query||{},{__r:M()}),o.path="/action";var a=i.commonActionInfoMessage?i.commonActionInfoMessage:a2(t),c=s2(a)+Ft(a),u=tn(c),s=r,l=!1;if(kt.size+u>=k.sendMaxSize){for(var h=u,d=[];r.length>0;){var f=r[0];if(!f)break;var p=h+f.size;if(!(p<k.sendMaxSize))break;d.push(r.shift()),h=p}d.length>0&&(s=d,l=!0)}o.data=[c],C(s,function(b){b.msg&&o.data.push(b.msg)});var g=(function(b){var v=b.beacon,y=b.path,w=b.query;return Ud("".concat(v).concat(y),w)})(o),m=o.data.join(`
8`);dt.emit("send",{url:g,body:m,type:"action"}),kt.q=[],kt.size=0,kt.options=null,l&&C(r,function(b){vr(b.msg,b.size,b.options)})}}var ir,o7=[It,Jf,Pn,ki];function c2(t,e){C(t,function(n){C(e,function(r){n.cid===r.id&&(n.state||(n.state=r.state),r.items&&r.items.length>0&&(n.items=r.items))})}),C(e,function(n){c2(n.items,n.children)})}function q(t){var e;t=t||{},this.id=++j.uniqueId,this.parent=t.parent||null,this.children=[],this.name=t.name||"",this.type=t.type||zt,this.subType=this.type===zt?t.subType||"click":t.subType,this.items=[],this.remain=(e={},C(o7,function(n){e[n]={current:0,children:0}}),e),this.s=t.s||M(),this.e=null,this.data=t.data,this.state=m5,this.crossPage=t.crossPage||!1,this.postComposer=[],this.endLock=t.endLock,this.registerTimeout(),this.closed=!1,this.isTimeout=!1,this.cleared=!1,this.stateChanged=!1,this.actionCount={ajax:this.type===It?1:0,iframe:this.type===Pn?1:0},this.sent=!1,this.sendOptions={},this.spe=null,this.parent!=null&&this.parent.children.push(this),this.eventData=null,this.resource={handler:{},statistic:{},record:{timeout:[],error:[]}},this._ctx={},this.aid=t.aid||t.parent&&t.parent.aid,this.associated=!1}function a7(t){var e=Fn(),n={id:t||Tt(),time:M()};(function(i){r2([i.id,i.startTime])})(n);var r=Fn();return n2(Io,{prev:e,current:r,init:!1}),n}function s7(){var t,e;lu()&&(t=o2(!0),e=t.session,t.valid&&fu(e))}function Fo(){if(!ir){try{ir=window.performance.timing.navigationStart}catch{}ir||(ir=ke)}return ir}q.prototype.end=function(t){var e;this.closed?!this.cleared&&k.console_debug:(t&&(this.actionCount.ajax+=t.actionCount.ajax,this.actionCount.iframe+=t.actionCount.iframe,(function(n,r){C(n,function(i){i.cid===r.id&&r.items&&r.items.length>0&&(i.items=r.items)})})(this.items,t),this.updateRemain(-1,t.type)),this.endLock||(this.isNoRemain()||this.isTimeout||this.associated)&&(this.e=M(),this.closed=!0,this.i&&clearTimeout(this.i),this.e-this.s>k.eventTimeout&&(this.isTimeout=!0),this.setState(this.isTimeout?Hs:gn),this.data&&(this.data.state=this.state),this.parent?this.parent.end(this):(this.isTimeout&&(this.isRemainMeaningfulAction()||this.isMeaningfulAction())?e=this.composeTimeoutActionData():(this.isMeaningfulAction()||this.associated)&&(e=this.composeActionData()),e&&(this.eventData=e,this.spe&&this.buildEventDataWithSpe(),this.send()),j.context=null)))},q.prototype.isNoRemain=function(t){t=t||{};var e=!0;return C(this.remain,function(n,r){return!!(t.ignoreFields&&Yt(t.ignoreFields,r)>-1)||(n.current<=0&&(t.testCurrent||n.children<=0)?void 0:(e=!1,!1))}),e},q.prototype.clear=function(){this.closed=!0,this.cleared=!0,this.i&&clearTimeout(this.i)},q.prototype.isMeaningfulAction=function(){return this.actionCount.ajax>0||this.actionCount.iframe>0||this.type===Ee},q.prototype.isRemainMeaningfulAction=function(){return this.remain.ajax.current>0||this.remain.ajax.children>0||this.remain.iframe.current>0||this.remain.iframe.children>0},q.prototype.timeout=function(){this.isTimeout=!0,this.setState(Hs),this.end(null,!0)},q.prototype.setData=function(t){this.data||(this.data={}),W(this.data,t||{})},q.prototype.composeActionData=function(){var t=W({},this.data||{});return this.items&&this.items.length>
80&&(t.items=(this.items||[]).slice()),{type:this.type,subType:this.subType,start:this.s,end:this.e,duration:this.e-this.s>0?this.e-this.s:0,data:t}},q.prototype.composeTimeoutActionData=function(){return this.collectActionDataFromTop(),this.composeActionData()},q.prototype.collectActionDataFromTop=function(){c2(this.items,this.children)},q.prototype.collectCrossPageData=function(t){if(t||(t=[]),this.crossPage=!0,this.data&&(this.data.crossPage=!0),t.unshift(this.data),this.parent)return this.parent.collectCrossPageData(t);var e={type:this.type,subType:this.subType,start:this.s};return(this.isNoRemain()||this.children.length===1)&&this.clear(),{action:e,data:t,requestInfo:Vd(),commonActionInfo:a2(),fromUrl:vt.ref}},q.prototype.canEnd=function(t){return!this.closed&&this.isNoRemain(W({testCurrent:!0},t))},q.prototype.updateRemain=function(t,e){if(this.remain[e]){e||(e=It);var n=t||0;this.remain[e].current=this.remain[e].current+n;for(var r=this.parent;r;)r.remain[e].children=r.remain[e].children+n,r=r.parent}},q.prototype.setState=function(t){return!this.stateChanged&&(this.state=t,this.stateChanged=!0,!0)},q.prototype.current=function(){return j.context},q.prototype.buildEventDataWithSpe=function(){if(this.spe&&this.eventData&&this.eventData.data){var t=this.spe.xhrs;this.spe.hasAjax=t&&t.length>0,delete this.spe.xhrs,this.eventData.data.spe=this.spe}},q.prototype.setSpe=function(t){if(t)return this.spe=t,this.sent},q.prototype.send=function(){var t=this;if(!this.sent){var e={};this.spe&&(e.query={ss:1},this.spe.type===ge&&(e.query.rs=1)),this.postComposer.length>0&&C(this.postComposer,function(n){n.call(null,t)}),this.setSendOptions(e),to(this.eventData,this.sendOptions),this.sent=!0}},q.prototype.addResource=function(t,e){var n=this;if(t&&!t[g1]){var r={start:e,name:t.src||"",type:t.nodeName?t.nodeName.toLowerCase():"",timeout:!1,load:!1,error:!1,finished:!1},i=Tt();t[g1]=i,this.resource.handler[i]=r,this.countResource("total",t.src),this.updateRemain(1,ki),r.timerId=Ue(function(){var o=n.resource.handler[i];o&&!o.finished&&(n.countResource("timeout",t.src),o.timeout=!0,o.finished=!0,n.updateRemain(-1,ki),n.end())},k.resourceWaitTime),r.handler=function(o){var a=n.resource.handler[i];if(a&&!a.finished){clearTimeout(a.timerId),n.updateRemain(-1,ki);try{n.countResource(o.type,t.src),a[o.type]=!0}catch{}a.finished=!0,n.end()}},r.name.indexOf("data:image/")!==0?(t.addEventListener("load",r.handler),t.addEventListener("error",r.handler)):r.handler({type:"load"})}},q.prototype.countResource=function(t,e,n){this.resource.statistic[t]||(this.resource.statistic[t]={}),this.resource.statistic[t][e]||(this.resource.statistic[t][e]=0),this.resource.statistic[t][e]+=n||1},q.prototype.hasChildType=function(t){var e=!1;return C(this.children,function(n){if(n.type===t)return e=!0,!1}),e},q.buildImmediateAction=function(t,e,n,r){var i=W({type:t,state:"finish"},(r=r||{}).actionOptions||{});return e&&(i.subType=e),n&&(i.data=n),i.data&&(i.data.state=i.state),r.notSend||to(i,r.sendOptions),i},q.getRootContext=function(t,e){if(!t&&!Y(e))return null;for(;t;){if(t.parent==null&&e.call(null,t))return t;t=t.parent}return null},q.containContext=function(t,e){if(!t&&!Y(e))return!1;for(;t;){if(e.call(null,t))return!0;t=t.parent}return!1},q.prototype.toJSON=function(){},q.prototype.setSendOptions=function(t){this.sendOptions||(this.sendOptions={}),W(this.sendOptions,t)},q.prototype.registerTimeout=function(){var t=this;this.parent==null&&this.type!==Ee&&(this.i=Ue(function(){t.timeout()},k.eventTimeout))},q.prototype.addPostComposer=function(t){this.postComposer.push(t)},q.prototype.markAssociated=function(){this.isDomEvent()&&this.children.length<=0&&(this.associated=!0,this.end())},q.prototype.isDomEvent=function(){return this.type===zt&&this.subType!==Vn};var Ar=window.performance&&Y(window.performance.now)?function(){return performance.now()}
8:function(){return M()-Fo()};function u2(t){try{return t>1e12}catch{}return!1}function l2(t){return t-Fo()}function eo(t){t=t||{},this._capacity=t.capacity||10,this._cache={},this._cacheKeys=[],this._size=0}function Bt(t,e,n){if(t&&n&&Y(n)){var r=t[e];if(!r||!r._wrapped){var i=n(r,e);return i&&(i._wrapped=!0),t[e]=i,i}}}function Hr(t,e){var n;return t&&(n=!0,C(t,function(){return n=!1},e)),!!n}eo.prototype.put=function(t,e){if(!this._cache[t]){if(this._size>=this._capacity)try{var n=this._cacheKeys.shift();this._size--,this._cache[n]=null,delete this._cache[n]}catch{}this._cacheKeys.push(t),this._size++}this._cache[t]=e},eo.prototype.get=function(t){return this._cache[t]};var c7=Y(Object.keys)?function(t){var e=0;try{e=Object.keys(t).length}catch{}return e}:function(t){var e=0;return C(t,function(){e++}),e};function _e(t,e,n){n==null||Hr(n)||(t[e]=n)}function Ge(t,e,n){n!=null&&(t[e]=n)}var du=[jn,Zc],f2=1,u7=2;function d2(t,e){return function(n){if(window[fe].hook&&window[fe].hook.eventCb&&(function(i){return i&&i.target instanceof window.HTMLElement&&i.currentTarget instanceof window.HTMLElement})(n)){var r={originalCallback:t,eventHandlerType:e};return window[fe].hook.eventCb.call(this,arguments,r)}return t.apply(this,arguments)}}function l7(t){var e;return(function(n){return Y(n)})(t)?e=f2:(function(n){return gt(n)&&Y(n.handleEvent)})(t)&&(e=u7),{isValid:t&&e,listenerType:e}}
8function f7(t){return function(){try{var e=arguments[0],n=arguments[1],r=arguments[2],i=!0;r&&gt(r)&&r[Xc]&&(i=!1);var o=l7(n),a=o.isValid,c=o.listenerType;if(i&&du.indexOf(e)>-1&&a&&c===f2){var u=n[Ri];u||((function(s,l,h){try{if(Y(Object.defineProperty))try{Object.defineProperty(s,l,{value:h,writable:!0,configurable:!0})}catch{s[l]=h}else s[l]=h}catch{}})(n,Ri,d2(n,S5)),u=n[Ri]),u&&(arguments[1]=u)}}catch{}return t&&t.apply(this,arguments)}}function d7(){try{window.EventTarget&&(Bt(window.EventTarget.prototype,"addEventListener",function(t){return f7(t)}),Bt(window.EventTarget.prototype,"removeEventListener",function(t){return(function(e){return function(n,r){try{if(r&&du.indexOf(n)>-1){var i=r[Ri];if(i){var o=[].slice.call(arguments);o[1]=i,e.apply(this,o)}}}catch{}return e&&e.apply(this,arguments)}})(t)}))}catch{}}var jr,h2=[jn,Zc],Se=[],no=new eo({capacity:5}),p2=new eo({capacity:5}),fi=null;function hu(t){return!!t.match(hu.regex)}function Xr(t){try{if(!t)return"";for(var e=[],n=t.parentNode,r=function(){var i,o,a=t.tagName;o=(i=n.children)?Pr(i,function(h){return h.tagName===a}).length===1?a:"".concat(a,":nth-child(").concat(1+Yt(i,t),")"):a;var c=t.id?"#".concat(t.id):"",u=t.className;ht(u)&&(u=Un(u));var s="";if(u){var l=u.split(" ");l&&(s=Pr(l,function(h){return Un(h)}).map(function(h){return".".concat(h)}).join(""))}e.unshift("".concat(o).concat(c).concat(s)),n=(t=n).parentNode};n;)r();return"".concat(e.join(" > ")).toLowerCase()}catch{return""}}function Zr(t,e,n){var r,i=t.target,o=i.nodeName,a=i.id,c=i.className,u=i.title,s=i.value,l=i.innerText,h=o+a,d=(function(v){return!(v.isTrusted==null&&v.pointerType==null||v.isTrusted&&(v.pointerType==null||v.pointerType))})(t),f={type:zt,id:a,nodeName:o,className:c,title:u,value:s,text:o===od?"":(r=l,r&&r.substr(0,256)||""),path:Xr(t.target),trigger:d?L5:N5,range:H5},p=t[ee];if(p||(p=Tt(),t[ee]=p),f.eventId=p,d){var g=t.timeStamp&&M();fi&&Math.abs(g-fi.timestamp)<=U5&&(f.refId=fi.eventId)}else fi={timestamp:t.timeStamp&&M(),eventId:f.eventId};if(A5===o){var m=t.target.getAttribute("src");m&&!hu(m)&&(f.src=m)}if(id===o){var b=t.target.getAttribute("href");b&&(f.href=b)}return f.eventHandlerType=e,f.actionId=p,new q(W({name:h,type:zt,subType:t.type||jn,data:f,aid:p},n))}function h7(t,e){j.context=Zr(t,e)}function p7(){var t=j.context;t&&t.canEnd()&&t.end(),j.context=null}function g7(t,e){var n,r=e.originalCallback,i=e.eventHandlerType,o=t[0],a=!(o&&o.target&&h2.indexOf(o.type)>-1);if(!a)try{h7.call(this,o,i)}catch{}try{n=r.apply(this,t)}finally{if(!a)try{j.context&&!j.context.canEnd({ignoreFields:[Jf]})&&(o[Yc]=!0,o[ee]&&j.context.isDomEvent()&&p2.put(o[ee],j.context)),p7.apply(this)}catch{}}return n}function zo(t){var e=window.performance&&window.performance.timing?window.performance.timing.navigationStart:ke,n=t.timeStamp;return n=n?u2(n)?n:Math.round(t.timeStamp+e):M()}function pu(t,e){return Math.abs(t-e)<k.inline_event_associate_threshold}function g2(t){var e=Pr(Se,function(o){return!o[Yc]}),n=e[e.length-1];if(n){var r,i=zo(n);if(pu(i,t))return n[ee]&&(r=no.get(n[ee])),r||(r=Zr(n,Co,{s:i}),n[ee]&&no.put(n[ee],r)),r}}function v7(){k.hook_auto_event&&(window[fe].hook&&(window[fe].hook.eventCb=g7),!window[fe].listenerHooked&&window.HTMLElement&&(k.hookEventListener&&d7(),k.hookOnProperty&&(function(){try{if(!Object.getOwnPropertyDescriptor||!Object.defineProperty)return;C(du,function(t){var e="on"+t,n=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,e);if(!n)return!0;var r=n.get,i=n.set;if(!r||!i)return!0;Object.defineProperty(window.HTMLElement.prototype,e,{get:function(){return r.apply(this,arguments)},set:function(){try{var o=arguments[0];o&&(arguments[0]=d2(o,E5))}catch{}i.apply(this,arguments)},configurable:!0,enumerable:!0})})}catch{}})()),k.hook_inline_event&&C(h2,function(t){document.addEventListener(t,function(e){Se.length>=b5&&Se.shift(),Se.push(e)},lt({capture:!0},Xc,!0))}))}function sc(t){this.data=[],this.maxSize=t.maxSize}function Gr(t){k.bcEnabled&&t&&t.category&&(t.timestamp||(t.timestamp=M()),t.type||(t.type=p8),t.level||(t.level=v8),t.message||(t.message=""),jr&&jr.add(t))}function va(t){var e={},n=t.split(":");if(!n)return e;if(n.length===1)e.filename=n[0],e.lineno=0,e.colno=0,e.resolveLevel=Js;else if(n.length>=2){var r,i=n[n.length-1],o=n[n.length-2],a=!isNaN(+i),c=!isNaN(+o);a&&c?(r=2,e.lineno=+o,e.colno=+i,e.resolveLevel=gd):a?(r=1,e.lineno=+i,e.colno=0,e.resolveLevel=pd):(r=0,e.lineno=0,e.colno=0,e.resolveLevel=Js),e.filename=(n.slice(0,n.length-r)||[]).join(":")}return e}function m7(t){if(t){var e,n={};
8return C(t.split(/\n/),function(r){var i=(function(a){if(a&&(a=Un(a))){var c;if(a.indexOf("at ")===0){var u=a.indexOf("("),s=a.indexOf(")");if(u>-1&&s>-1){var l=u+1;l>s&&(l=s);var h=a.substring(l,s);h&&(c=va(h))}else{var d=a.split(" "),f=d[d.length-1];f&&(c=va(f))}}else if(a.indexOf("@")>-1){var p=a.split("@");p[1]&&(c=va(p[1]))}return c}})(r);if(!i)return!0;var o=i.resolveLevel;if(o===gd){if(i.filename&&i.lineno>0&&i.colno>0)return e=i,!1}else n[o]||(n[o]=i)}),e||(e=n[pd]||n[Js]),e}}hu.regex=/^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,sc.prototype.add=function(t){t&&(this.data.length===this.maxSize&&this.data.shift(),this.data.push(t))},sc.prototype.getAll=function(){return this.data};var y7=Object.create?Object.create:function(t){function e(){}return e.prototype=t,new e},v2=1,m2=2,cc=4,y2=8;function b2(t,e){this.flags=0,Y(t.create)&&(this.create=t.create,this.flags|=v2),Y(t.before)&&(this.before=t.before,this.flags|=m2),Y(t.after)&&(this.after=t.after,this.flags|=cc),Y(t.error)&&(this.error=t.error,this.flags|=y2),this.data=e}var Rt,di=b2.prototype;function b7(t,e){return!Rt||Rt.flags<=0?t:(function(n,r){var i=r||Rt.data;if(!i&&(Rt.flags&v2)!=0){var o=Rt.create(Rt.data);o!==void 0&&(i=o)}return function(){var a;if((Rt.flags&m2)!=0&&Rt.before(this,i),k.catchAsyncCallback){try{a=n.apply(this,arguments)}catch(c){throw(Rt.flags&y2)!=0&&Rt.error(i,c),c}(Rt.flags&cc)!=0&&Rt.after(this,i)}else try{a=n.apply(this,arguments)}finally{(Rt.flags&cc)!=0&&Rt.after(this,i)}return a}})(t,e)}function nn(t,e){return(function(n){return function(){var r;try{r=n.apply(this,arguments)}finally{j.context=null}return r}})(b7(t,e))}function w2(){this.id=null,this.active=null,this._set=[]}function w7(){var t=new w2;return t.id=(function(e,n){if(!Rt){if(!gt(e)||!e)throw new TypeError("callbacks arguments must be an object");return Rt=new b2(e,n)}})({create:function(){return t.active}
8,before:function(e,n){n&&t.enter(n)},after:function(e,n){n&&t.exit(n)},error:function(e,n){if(e){try{var r="moduleId";n[r]=e[r]}catch{}t.exit(e)}}}),t}di.create=di.before=di.after=di.error=null,w2.prototype={createContext:function(){return y7(this.active)},getContext:function(){return this.active},get:function(t){if(this.active)return this.active[t]},set:function(t,e){if(this.active)return this.active[t]=e},enter:function(t){if(!t)throw new sa("context required!");this._set.push(this.active),this.active=t},exit:function(t){if(!t)throw new sa("context required!");if(t!==this.active){var e=this._set.lastIndexOf?this._set.lastIndexOf(t):Wf(this._set,t);if(e<0)throw new sa("context not currently entered!");this._set.splice(e,1)}else this.active=this._set.pop()},bind:function(t,e){e||(e=this.active?this.active:this.createContext());var n=this;return function(){n.enter(e);try{return t.apply(this,arguments)}catch(i){try{var r="moduleId";i[r]=e[r]}catch{}throw i}finally{n.exit(e)}}}};var O1,R1=!1,re=(R1||(O1=w7(),R1=!0),O1),_7=1e4,B1=0,P1={},D1={},I1="js",x7="other";function _2(t){this.limit=t,this.reset()}_2.prototype={add:function(t,e){this.len>this.limit||this.get(t)||(this.c[t]=e,this.len++)},get:function(t){return this.c[t]},reset:function(){this.c={},this.len=0}};var ro=new _2(100);function x2(t,e,n,r,i,o,a,c,u){var s=this;s.id=t,s.time=M(),s.msg=e,s.lineno=r,s.colno=i,s.filename=n,s.count=1,s.stack=o&&o.stack||"",s.module=a,s.trigger=c||yd,s.error=o,s.category=u,s.fix();var l=(function(d,f,p,g,m){return String(d)+String(f)+String(p)+String(g)+String(m)})(e,r,i,a,u),h=P1[l];s.ep=h?0:1,P1[l]=!0,s.fep=0,s.trace={},this.recordFileName()}function N1(){var t,e,n=(t=ro.c,e=[],C(t,function(o){e.push(o.toObject())}),e);if(n&&n.length){var r=0;try{r=parseInt((M()-(ie.pfStart||ke))/1e3)}catch{}var i={fu:B1||B1++,os:r};q.buildImmediateAction(Kf,null,null,{actionOptions:W(i,{items:n})}),ro.reset()}}function qo(t,e,n,r,i,o,a){if(e||k.uploadEmptyFileErrors){var c=i&&i.moduleId,u=I1;try{a&&a.category&&(a.category!==I1&&a.category!==x7||(u=a.category),delete a.category)}catch{}var s=(function(p,g,m,b,v,y){return String(p)+String(g)+String(m)+String(b)+String(v)+String(y)})(e,t,n,r,c,u),l=ro.get(s);l?l.increase():(l=new x2(s,t,e,n,r,i,c,o,u),ro.add(s,l),dt.addCache(Lr,function(){return l}));var h=l.initTraceInstance();l.triggerActionHook(h);var d=h.scope;if(a)try{if(d){var f=a;a.breadcrumbs?(d.setBreadcrumbs(a.breadcrumbs),f=a.contexts):a.contexts&&(f=a.contexts),d.setContext(f)}}catch{}return d.setBreadcrumbs((function(){if(jr){var p=jr.getAll();if(p.length!==0)return p}})()),l.trace[h.id]={time:h.time,scope:h.scope,aid:h.aid},h.id}}function S2(t,e,n){if(de()&&k.jsErrorEnabled&&t){var r=t.message||"",i=t.stack,o=t.fileName||"",a=t.lineNumber||0,c=t.columnNumber||0;if(i&&(!o||a<=0||c<=0)){var u=m7(i);u&&(o=u.filename,a=u.lineno,c=u.colno)}return qo(r,o,a,c,{stack:i},n||bd,e)}}function hi(t){return Y(t)?t.apply(this):t}function uc(t){if(de()&&t&&gt(t)){var e=t.name,n=t.msg,r=t.status,i=t.context,o=hi(e),a=hi(n),c=hi(r),u=hi(i),s={type:Vs,name:o,time:M()};s.name&&(a&&(s.msg=a),c&&(s.status=c),u&&gt(u)&&(s.scope={contexts:u}),q.buildImmediateAction(Vs,null,s),Yr(t8))}}function gu(t){return io(t,k.optCustomParamRules[To])}x2.prototype={increase:function(){this.recordFileName(),this.count++},recordFileName:function(){var t=this.filename||"_";this.fep+=D1[t]?0:1,D1[t]=!0},fix:function(){var t=this.stack;if(t&&ht(t)){t=t.split(/\n/);var e=[];C(t,function(n,r){n.indexOf("__ty_asyncWrap__")==-1&&e.push(n)}),this.stack=e.join(`
9`)}},getErrorOverview:function(){var t=this;return{o:t.time,e:t.msg,l:t.lineno,c:t.colno,r:t.filename,ec:t.count,s:t.stack,m:t.module,ep:t.ep,fep:t.fep,tr:t.trigger,cat:t.category}},toObject:function(){var t=this.getErrorOverview(),e={};return C(this.trace,function(n,r){var i={time:n.time},o=n.aid;o&&(i.actionId=o),e[r]=vn(i,n.scope)}),t.trace=e,t},initTraceInstance:function(){var t={id:Tt(),time:M(),scope:new Et},e=(function(n){try{var r=re.get("event");if(r&&r.key&&r.type===Qc&&r.aid)return r.aid;var i=j.context;return i||(i=(function(o){var a=Se[Se.length-1];if(a){var c=zo(a);if(pu(c,o)){var u,s=a[ee];return s&&(u=a[Yc]?p2.get(s):no.get(s)),u||(u=Zr(a,Co,{s:c}),a[ee]&&no.put(a[ee],u)),u}}})(n)),i&&i.aid&&i.markAssociated(),i&&i.aid||j.routeAid}catch{}})(t.time);return e&&(t.aid=e),t},triggerActionHook:function(t){if(t){var e=W(this.getErrorOverview(),{id:t.id,o:t.time});Ae({type:$e,name:ud,args:{target:this.error,actionData:e},scope:t.scope}),e.id&&(t.id=e.id)}}};var ma={};function E2(t){return(t+="")&&t.substr(0,128)||""}function io(t,e,n){var r;if(t&&e&&e.length&&e.length>0){var i=Y(t)?t():t;i&&C(e,function(o){var a=i[o];if(a!=null)Gi(r=r||{},o,a);else{var c=(function(u,s){var l=u+"."+s;if(ma[l])return ma[l];var h=(s||"").split("."),d="";s&&s.indexOf("[")!==0&&(d=".");var f,p=u;C(h,function(g,m){m===0&&(p+=d),g.indexOf("-")>-1&&g.indexOf("[")!==0&&g.indexOf("]")!==g.length-1?p+="['"+g+"']":p+=(m>0?".":"")+g});try{f=new Function(u,"try{return "+p+";}catch(e){}return null;")}catch{f=Me}return ma[l]=f,f})(f5,o);(a=c(i))!=null&&Gi(r=r||{},o,a)}})}return r}var A2=!0,xe={start:ke,e:{}};function rn(t){A2&&t()}var k2=[];function T2(t){k2.push({cb:t})}function S7(){mt(window,"pageshow",function(t){t&&t.persisted&&(function(e){C(k2,function(n){n.cb(e)})})(t)},!0)}var lc={};function Mr(t,e){lc[Tt()]={cb:t,once:e}}var fc=-1;function L1(t){try{var e=[];C(lc,function(n,r){var i=n.cb,o=n.once;i&&i(t),o&&e.push(r)}),C(e,function(n){delete lc[n]})}catch{}}function H1(){fc=document.visibilityState==="hidden"?0:1/0,Mr(function(t){var e=t.timeStamp;e&&(fc=e)},!0)}function vu(){return fc}var oo={};function C2(t){oo[t]&&(oo[t]=[])}var Pi,be,E7={stop:Me},A7=(function(){try{var t=new window.PerformanceObserver(function(){});return t.observe({type:fd,buffered:!0}),t.disconnect(),!0}catch{return!1}})();function fn(t,e,n){var r,i,o;try{if(!dc(t)||t===Xs&&!("PerformanceEventTiming"in window))return E7;var a=function(c){C(c,function(u){try{e(u)}catch{}})};r=new PerformanceObserver(function(c){try{a(c.getEntries())}catch{}}),n==null&&(n=!0),r&&(A7&&n?r.observe({type:t,buffered:!0}):(a((o=oo[i=t],C2(i),o)),r.observe({entryTypes:[t]})))}catch{}return{po:r,stop:function(){try{r&&r.disconnect()}catch{}}}}function dc(t){return window.PerformanceObserver&&Yt(window.PerformanceObserver.supportedEntryTypes,t)>-1}function O2(t){var e;try{e=t.getBoundingClientRect?t.getBoundingClientRect():void 0}catch{}return e}function R2(t){t.startTime<vu()&&(be=t)}function hc(){try{if(!Pi)return;C(Pi.takeRecords(),function(t){R2(t)}),Pi.disconnect()}catch{}}function k7(){if(be){var t,e=be.element;if(e){var n={top:window.pageYOffset||0,left:window.pageXOffset||0},r=O2(e);
9r&&(t={top:r.top,left:r.left,width:r.width,height:r.height,pageTop:n.top,pageLeft:n.left})}return{value:be.startTime,data:{loadTime:be.loadTime,renderTime:be.renderTime,element:{id:be.id,path:Xr(e),size:be.size,url:be.url,rect:t}}}}}var T7=[$c,Vc,"workerStart",qc,Wc,Jc,Kc,Mc,Uc,Ki,hr,Ti,Ci],j1="getEntriesByType",St={UNKNOWN:0,TRUE:1,FALSE:2};function Wo(t,e){try{var n;return e||(e=window.performance||{}),Y(e[j1])&&(n=e[j1](t)),n||[]}catch{return[]}}function mn(t){t||(t={});var e=t,n=e.wd,r=e.startTime;n||(n=window);var i=n.performance||{},o=i.timing;return r||(r=o&&o.navigationStart?o.navigationStart:ke),W(t,{wd:n,performance:i,timing:o,startTime:r})}function ut(t){return t>0?t:0}function M1(t){return W(t.item,t.extra)}function B2(t){var e=mu(t),n=e.item,r=e.extra;return n.di=ut(t[Qf]),n.dcls=ut(t[Fc]),n.dcle=ut(t[Gf]),n.dc=ut(t[td]),n.ls=ut(t[ed]),n.le=ut(t[zc]),n.us=ut(t[nd]),n.ue=ut(t[rd]),n.rds=ut(t[$c]),n.rde=ut(t[Vc]),{item:n,extra:r}}function mu(t,e){var n={o:ut(t[oa]),rt:t.initiatorType,n:t.name,f:ut(t[Zf]),ds:ut(t[qc]),de:ut(t[Wc]),cs:ut(t[Jc]),ce:ut(t[Kc]),sl:ut(t[Ki]),qs:ut(t[Mc]),rs:ut(t[Uc]),re:ut(t[js]),ts:ut(t[hr]),es:ut(t[Ti]),dbs:ut(t[Ci])},r=t.entryType,i=t[y5];i==null&&(r===Fe?i=t[js]-t[oa]:r===_r&&(i=t[zc]-t[oa])),i!=null&&(n.du=ut(i));var o={},a=t.initiatorType,c=t.name;if(Ks===a||md===a){var u=a===Ks?Po:$s,s=U1(c,dt.getCacheSnapshot(Jn,e),u);s?(C(s,function(d,f){f.indexOf("s_")==0&&(o[f]=d)}),s.st&&(o.st=s.st),s.apms&&(o.apms=s.apms),o.status=s.status,o.cb=s.cb,o.err=s.err,o.error=s.status>=400||s.err>0?St.TRUE:St.FALSE,o.method=s.method):o.error=St.UNKNOWN}else{var l;r===Fe&&(l=U1(c,dt.getCacheSnapshot(Kr,e)),o.error=l?St.TRUE:St.FALSE,o.err=l?Ir.error:0);var h=200;l?h=0:t[hr]===300&&(h=304),o.status=h}return o.cors=(function(d){var f=!0;C(T7,function(g){if(d[g]!=null&&d[g]!==0)return f=!1,!1});var p=!0;return d1 in d&&(p=d[d1]===""),f&&p?St.TRUE:St.FALSE})(t),o.cached=(function(d,f){return f===St.TRUE||d[hr]==null?St.UNKNOWN:d[hr]<=300?St.TRUE:St.FALSE})(t,n.cors),o.compressed=(function(d,f){return f===St.TRUE||d[Ti]==null||d[Ci]==null?St.UNKNOWN:d[Ti]<d[Ci]?St.TRUE:St.FALSE})(t,n.cors),{item:n,extra:o}}function P2(){var t,e=mn(),n=e.performance,r=e.timing,i=Wo(_r,n);if(!(t=i&&i[0])&&r)for(var o in t={entryType:_r,initiatorType:_r,name:vt.ref,startTime:0},r)o!=="navigationStart"&&o!=="toJSON"&&(t[o]=ut(r[o]-r.navigationStart));return t}function U1(t,e,n){var r,i;if(t)return C(e,function(o,a){if(o&&t.indexOf(o.url)>-1&&(!n||o.subType===n))return r=o,i=a,!1}),r&&e.splice(i,1),r}var C7=0,O7=1,R7=2,B7=3;function D2(t,e){var n,r=mn(e),i=r.timing,o=r.startTime,a=r.ifr,c=0;i&&(c=i[Fc]||i.domInteractive||i.domLoading||c,n=O7),c<=0&&!a&&(dt.domContentLoadedEventStart?(c=dt.domContentLoadedEventStart,n=R7):(c=dt._end,n=B7));var u=c-o;u<0&&(u=t.metric.fp,n=C7),t.metric.dr=Math.round(u),t.debug.dr=n}var Ur,I2=[],N2=!1;function L2(){return{value:Ur,inited:N2}}function H2(t){var e;t||(t=window);try{e=t.performance&&t.performance.getEntriesByName&&t.performance.getEntriesByName(dd)[0]}catch{}return e}function P7(){var t,e=function(r){try{if(r.name!==dd)return;t&&t.disconnect(),r.startTime<vu()&&(Ur=r.startTime),(function(i){C(I2,function(o){o(i)})})({value:Ur}),N2=!0}catch{}},n=H2();n?e(n):t=fn(fd,e).po}var D7=0,I7=1,N7=2,L7=3,H7=4,j7=5;function j2(t,e){var n,r=mn(e),i=r.performance,o=r.timing,a=r.startTime,c=r.wd,u=r.ifr,s=0,l=0;if(u){var h=H2(c);h&&(l=h.startTime)}else l=L2().value;if(l>0?(s=l,n=I7):i.getEntriesByName&&o?(s=o.domLoading,C(ie.resources,function(f){var p=i.getEntriesByName(f);if(p.length===1){var g=p[0].responseEnd;g>s&&(s=g)}}),s-=a,n=H7):c.TINGYUN&&c.TINGYUN[zs]&&((s=c.TINGYUN[zs]-a)<0&&(s=0),n=j7),!s||s<=0){if(c.chrome&&c.chrome.loadTimes){var d=c.chrome.loadTimes();d&&d.firstPaintTime&&(s=1e3*d.firstPaintTime-a,n=N7)}else o&&o.msFirstPaint&&(s=o.msFirstPaint-a,n=L7);(!s||s<=0)&&(s=0,n=D7)}t.metric.fp=Math.round(s),t.debug.fp=n}function M2(t){return Lt.reliableHiddenOffsets()?t.offsetWidth<=0&&t.offsetHeight<=0&&!t.getClientRects().length:(function(e){for(;e&&e.nodeType===1;){if(M7(e)==="none"||e.type==="hidden")return!0;e=e.parentNode}return!1})(t)}function M7(t){return t.style&&t.style.display}var U7=0,F7=1,z7=2,q7=3,W7=4,F1=5;function U2(t,e){var n,r=mn(e),i=r.performance,o=r.timing,a=r.startTime,c=r.ifr,u=r.wd,s=t.metric.fp,l=s||0,h=F1,d=0;if(!c){var f=k7();f&&(d=f.value,n=f.data)}if(k.lcpAsFs&&d>0)l=d,h=F7;else if(!c&&ie.lcpStopTime)l=ie.lcpStopTime-a,h=z7;else if((function(){var y=!0;return document.createElement("img").getBoundingClientRect||(y=!1),y}
9)()){var p=c?[]:ie.imageResources||[],g=u.innerHeight,m=u.innerWidth;g||(g=u.document.documentElement.clientHeight),m||(m=u.document.documentElement.clientWidth);var b=[];p.length>0?C(p,function(y){z1(y.element,g,m)&&b.push(y)}):Y(i.getEntriesByName)&&C(u.document.querySelectorAll("img"),function(y){z1(y,g,m)&&b.push({element:y})});var v=(o&&o.loadEventEnd||dt.loadEventEnd)-a;C(b,function(y){if(y.loadTime){var w=y.loadTime-a;w>l&&(l=w,h=W7)}else if(y.element&&y.element.src){var _=i.getEntriesByName(y.element.src);if(_&&_.length){var x=_[0];if(x){var E=x.responseEnd;x.fetchStart<=v&&E>l&&(l=E,h=q7)}}}})}l<s&&(h=F1,(l=s||0)<=0&&(l=0,h=U7)),t.metric.fs=Math.round(l),t.debug.fs=h,n&&(t.data||(t.data={}),t.data.fs={lcp:n})}function z1(t,e,n){return t.src&&(function(r){if(!r)return!1;if(!k.fs_resources||k.fs_resources.length===0)return!0;var i=!1;return C(k.fs_resources,function(o){if(r.indexOf(o)>-1)return i=!0,!1}),i})(t.src)&&(function(r,i,o){if(r){var a=window.pageYOffset;if(r.top+(a===0?0:a||document.scrollTop||0)-(document.clientTop||0)>=i)return!1;var c=r.left;return c>=0&&c<o}return!1})(O2(t),e,n)&&!M2(t)}function F2(t,e){var n=t.metric;n.loadEventEnd=n.le;var r=mn(e),i=r.timing,o=r.startTime,a=r.context,c=r.ifr,u=0;if(a&&a.hasChildType(It))u=M()-o;else{var s,l=i&&i.loadEventEnd;s=c?l||M():l||dt.loadEventEnd||M();var h=0;o>0&&s>o&&(h=s-o);var d=[n.fs,n.dr,n.fp,h];u=Math.max.apply(null,d)}n.le=Math.round(u)}function q1(t){return t.loadEventEnd||t._end}function z2(t){var e=t.fp||0,n=0,r=window.performance&&window.performance.timing&&window.performance.timing.navigationStart;return r||(r=ke,e=0),(n=M()-r-e)<0&&(n=0),n}function q2(t){var e,n={},r=(t.performance||{}).timing,i=t.TINGYUN&&t.TINGYUN.globalStart||ke,o=t.TINGYUN&&t.TINGYUN.currentAgent||dt;if(r){rn(function(){var p=xe.t={};C(r,function(g,m){Y(g)||(p[m]=g)},!0)}),r.navigationStart&&(i=r.navigationStart),n={ns:i,f:f(Zf),qs:f(Mc),rs:f(Uc),re:f(js),os:f(Fc),oe:f(Gf),oi:f(Qf),oc:f(td),ls:f(ed),le:f(zc),tus:f(nd),tue:f(rd)};var a=f(qc),c=f(Wc),u=f($c),s=f(Vc),l=f(Jc),h=f(Kc);if(n.cs=l,n.ce=h,n.ds=a,n.de=c,(s-u>0||s>0)&&(n.es=u,n.ee=s),n.le==0){var d=q1(o);n.ue=d-i}o&&(o._le=n.ue||n.le),r[Ki]?n.sl=f(Ki):n.sl=0}else n={t:i,le:q1(o)-i};try{Lr in o?e=o.errs:o.getCache&&(e=o.getCache(Lr))}catch{}return n.je=e&&e.length||0,n;function f(p){return r[p]>0?r[p]-i:0}}var W2=typeof window.console<"u",Fr=1,ya=0,$2="success",V2="fail",ba={},Nn={};function wa(t){var e=t,n=t.xhrs;e.hasAjax=n&&n.length>0,delete e.xhrs;var r={ss:1};t.type===ge&&(r.rs=1),q.buildImmediateAction(zt,Vn,{type:zt,items:n,spe:e},{sendOptions:{query:r}}),Yr(vd)}function J2(t){if(Nn[t.key]){var e=Nn[t.key];delete Nn[t.key],e.sent||!e.isMeaningfulAction()&&e.isNoRemain()?wa(t):(e.setSpe(t),Ue(function(){e.sent?Yr(vd):(e.spe=null,wa(t))},I5))}else wa(t)}function ao(t){W2&&console.warn(t||"Event key required!")}var _a=ao.prototype;function K2(t){t=t||{},this.key=t.key,this.type=t.type||R5,this.timeout=t.timeout||O5,this.status=Fr,this.remain=0,this.xhrs=[],this.s=M(),this.e=null,this.called=this.sent=this.stored=!1,t.debugInfo&&(this.debugInfo=t.debugInfo),this.duration=t.duration||0,t.op&&(this.op=t.op),t.desc&&(this.desc=t.desc),this.scope=new Et({contexts:t.context}),this.aid=null}_a.fail=_a.end=_a.store=Me;var xn=K2.prototype;function $7(t){var e=(t=t||{}).key;if(!e)return new ao;if(ba[e])return new ao("event "+e+" is executing");ba[e]=!0;var n=re.createContext();re.enter(n);var r,i=new K2(t);if(i._end=function(){var a=this;a.sent||a.stored||a.remain!==0||!a.called?a.stored&&this.refreshEventAndStore(n):a.finish().send(n)},i.end=function(a){a=a||{};var c=this;c.called?W2&&console.warn("Event "+this.key+"has ended or failed!"):(c.called=!0,re.exit(n),a.status!=null&&(a.status===$2?c.status=Fr:a.status===V2?c.status=ya:a.status!==Fr&&a.status!==ya||(c.status=a.status)),a.context&&gt(a.context)&&c.scope.setContext(a.context),a.storeEvent||c._end())},i.finish=function(){var a=this;return a.e=M(),a.i&&clearTimeout(a.i),delete ba[a.key],a},i.fail=function(a){this.end(W(a||{},{status:ya}))},i.store=function(){this.end({storeEvent:!0}),this.refreshEventAndStore(n),this.stored=!0},i.setTag=function(a,c){this.scope&&this.scope.setTag(a,c)},i.setMetric=function(a,c,u){this.scope&&this.scope.setMetric(a,c,u)},i.type===ge){var o=(function(a){var c;return c=j.context?q.getRootContext(j.context,function(u){return u.type===zt&&u.subType!==Vn}):g2(a.s),c&&!c.closed&&(Nn[a.key]=c),Nn[a.key]})(i);r=o&&o.data&&o.data.aid}return r||(r=Tt()),i.aid=r,i.type===ge&&(j.routeAid=r),re.set("event",i),i}function W1(t){if(de()){var e=bt(oe(Oi));if(e&&e.start&&(!(t=t||{}).key||e.key===t.key)){var n=t.timeout;if(n||(n=6e4),e.duration=M()-e.start,e.duration>n)Qi(Oi);else{var r=window.performance&&window.performance.timing;if(r&&r.navigationStart&&(r.loadEventEnd||r.loadEventStart)&&r.navigationStart-e.start>=0){var i={method:"GET",url:vt.ref,status:200,type:It,subType:Ee,startSpeOffset:r.navigationStart-e.start,start:r.navigationStart,__spe:1,du:(r.loadEventEnd||r.loadEventStart)-r.navigationStart};e.xhrs||(e.xhrs=[]),e.xhrs.push(i)}var o=Fr;t.status&&(o=t.status===$2?Fr:0),e.status=o,Qi(Oi),J2(e)}}}}function $1(t,e){e.status&&e.status===V2?t.fail():t.end()}function mr(t,e){if(!de())return new ao("Agent is not inited!");if(t){e=e||t.immediate;var n=$7(t=W({type:Qc},e?{debugInfo:{immediate:!0}}:{},t||{}));if(e)$1(n,t);else if(t.autoEnd){var r=t.endDelay;(!r||r<=0)&&(r=B5),Ue(function(){$1(n,t)},r)}return n}}function Y2(t){var e=Nn[t];if(e&&!e.closed)return e}xn.end=xn.finish=xn.fail=null,xn.send=function(t){this.sent=!0;var e=this.getEventData(t);!k.collect_noajax_hashroute&&(e.debugInfo&&e.debugInfo.api===qs||e.type===ge&&e.key.indexOf("#")>-1)&&e.xhrs.length===0||e.duration>=this.timeout||(Ae({type:$e,name:ld,args:{actionData:e},scope:this.scope}),vn(e,this.scope),J2(e))},xn.getEventData=function(t){var e=this,n=t.event&&t.event.xhrs||[];C(n,function(i){i.startSpeOffset=i.start-e.s});var r={key:e.key,start:e.s,duration:e.e-e.s,status:e.status,type:e.type,xhrs:n};return e.duration>0&&(r.duration=e.duration,r.start=e.e-e.duration),e.type===ge&&k.baseHref&&(r.baseHref=k.baseHref),this.debugInfo&&(r.debugInfo=this.debugInfo),this.op&&(r.op=this.op),this.desc&&(r.desc=this.desc),this.aid&&(r.actionId=this.aid),r},xn.refreshEventAndStore=function(t){this.finish();var e=this.getEventData(t);Te(Oi,Ft(e))};var or,ar,_t,V1,J1,xa,K1,Sa,Ea,Aa,Y1,X1,ka,Z1,Ta,pi=window,$o=(ar=(function(t){for(var e={},n=0,r=t.length;n<r;n++)e[t.charAt(n)]=n;return e})(or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
9+/"),_t=String.fromCharCode,V1=function(t){if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?_t(192|e>>>6)+_t(128|63&e):_t(224|e>>>12&15)+_t(128|e>>>6&63)+_t(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return _t(240|e>>>18&7)+_t(128|e>>>12&63)+_t(128|e>>>6&63)+_t(128|63&e)},J1=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,xa=function(t){return t.replace(J1,V1)},K1=function(t){var e=[0,2,1][t.length%3],n=t.charCodeAt(0)<<16|(t.length>1?t.charCodeAt(1):0)<<8|(t.length>2?t.charCodeAt(2):0);return[or.charAt(n>>>18),or.charAt(n>>>12&63),e>=2?"=":or.charAt(n>>>6&63),e>=1?"=":or.charAt(63&n)].join("")},Sa=pi.btoa?function(t){return pi.btoa(t)}:function(t){return t.replace(/[\s\S]{1,3}/g,K1)},Ea=function(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"?t.toString("base64"):Sa(xa(String(t)))},Aa=function(t,e){return e?Ea(String(t)).replace(/[+\/]/g,function(n){return n=="+"?"-":"_"}).replace(/=/g,""):Ea(t)},Y1=new RegExp(["[\xC0-\xDF][\x80-\xBF]","[\xE0-\xEF][\x80-\xBF]{2}","[\xF0-\xF7][\x80-\xBF]{3}"].join("|"),"g"),X1=function(t){switch(t.length){case 4:var e=((7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3))-65536;return _t(55296+(e>>>10))+_t(56320+(1023&e));case 3:return _t((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return _t((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},ka=function(t){return t.replace(Y1,X1)},Z1=function(t){var e=t.length,n=e%4,r=(e>0?ar[t.charAt(0)]<<18:0)|(e>1?ar[t.charAt(1)]<<12:0)|(e>2?ar[t.charAt(2)]<<6:0)|(e>3?ar[t.charAt(3)]:0),i=[_t(r>>>16),_t(r>>>8&255),_t(255&r)];return i.length-=[0,0,2,1][n],i.join("")},Ta=pi.atob?function(t){return pi.atob(t)}:function(t){return t.replace(/\S{1,4}/g,Z1)},{atob:function(t){return Ta(String(t).replace(/[^A-Za-z0-9\+\/]/g,""))},btoa:Sa,utob:xa,encode:Aa,encodeURI:function(t){return Aa(t,!0)},btou:ka,decode:function(t){return(function(e){return ka(Ta(e))})(String(t).replace(/[-_]/g,function(e){return e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))}});function De(t){return $o.encode(t,!0)}var on,kr,X2="TINGYUN_EK_CACHE",gi="GM",V7="light",G1="gm",Z2=Lt.localStorage,Q1=!1;function G2(){try{var t=su();if(!t)return;if(!on||!kr)return"base64#".concat(De(t));var e=kr,n=e.sm2Enc,r=(0,e.sm4Enc)(t,on),i=n(on,k.encPubKey);if(r&&i)return"gmjs#".concat(i,"#").concat(r)}catch{}}function J7(t){try{if(n=k.encMode,r=n===G1||n!==G1&&n!==V7,!(k.encEnabled&&k.encPubKey&&r))return void(kr=null);var e=t.plugins.enc;if(!(e&&e[gi]&&e[gi].sm2Enc&&e[gi].sm4Enc))return void(kr=null);kr=e[gi],Z2&&(on=oe(X2)),on||t0(),Q1||(e2(Io,function(i){i&&!i.init&&i.current&&i.current!==i.prev&&t0()}),Q1=!0)}catch{}var n,r}function t0(){try{on=Tt(!0),Z2&&Te(X2,on)}catch{}}var Ca,sr="__ty_plugin_registers",K7="__ty_plugins",pc={};function Q2(){return Ca||(Ca={constant:{OBSERVER_SESSION:Io,PAGEHIDE:Ln},util:{noop:Me,on:mt,support:Lt,stringify:Ft,UUID:Tt,now:M,Base64:$o},bridge:{getSid:Fn,getUid:su,getDid:Fd,registerObserver:e2,sendRequest:Nd,getUrlWithParam:Ud,getSendOrigin:cu,setDefaultConfig:X8,getAgentConfig:Gd,getAgentStorage:Kd,setAgentStorage:Jd},common:{agentVersion:"3.6.2"},plugins:{}}),Ca}function yu(t){try{if(ht(t)){var e=t;t=(function(i){var o=window[K7];if(o&&Y(o[i]))try{return o[i]()}catch{}})(e),t||(function(i){window[sr]&&window[sr][i]||(window[sr]||(window[sr]={}),window[sr][i]=yu)})(e)}if(!t||!t.name)return;var n=t.name;if(pc[n])return;pc[n]=t,t.hooks&&(t.hooks.init&&Zs(Yi,t.hooks.init),t.hooks.beforeSend&&Gs(tu,t.hooks.beforeSend),t.hooks.send&&Gs(eu,t.hooks.send),t.hooks.action&&(r=t.hooks.action,Y(r)&&C(Nr.action,function(i){kd(i,function(o){r.call(null,{name:i,params:o})})}))),n==="TingyunPluginEnc"&&Zs(Yi,function(){J7(Q2())}),de()&&th(xd,t)}catch{}var r}function th(t,e){try{e&&Y(e[t])&&e[t](Q2())}catch{}}var e0,n0,Y7=["pushState","replaceState"];function gc(t){if(k.routerEnable){var e=Mo();if(e){var n=e0;e0=e,mr({key:e,autoEnd:!0,endDelay:k.router_event_delay,type:ge,debugInfo:{api:t}}),eh(e,n)}}}function eh(t,e){if(k.bcHistoryEnabled&&t){var n={to:t};e&&(n.from=e),Gr({category:_8,message:t,data:n})}}function r0(){C(Y7,function(t){Bt(window.history,t,function(e){return function(n,r,i){var o;o=e.apply(this,arguments);try{gc(t)}catch{}return o}})}),mt(window,p1,function(){gc(p1)})}function i0(){mt(window,qs,function(){gc(qs)})}var zr={mainVersion:3,version:"3.6.2",createEvent:mr,globalStart:ke,currentAgent:dt,mark:function(t,e){if(t){var n,r,i=t.split("_"),o=i[0],a=i[1];o==="ty"&&a&&(n=a,r={timestamp:M(),data:e},$f[n]=r)}},wrapVueRouter:function(t,e){de()&&(e&&gt(e)||(e={}),t&&t.afterEach&&(k.routerEnable=!1,t.afterEach(function(n){var r=n.fullPath;if(r=r?window.location.origin+r:n.path){var i={key:r,type:ge,autoEnd:!0,endDelay:k.router_event_delay,debugInfo:{api:"vueRouter"}};W(i,e),mr(i);var o=n0;n0=r,eh(r,o)}})))},setUid:Uo,createAutoEvent:mr,endStoreEvent:W1,endStoredAction:W1,captureException:function(t,e){return S2(t,e,bd)},setDid:zd,addHook:No,addLifeCycleHook:Zs,addActionHook:kd,addSendHook:Gs,setContext:Cd,setExtraContext:function(){Lo(),j.scope.setExtraContext.apply(j.scope,arguments)},stopLCPObserver:function(){ie.lcpStopTime=M(),hc()},checkHookSupported:function(t,e){return Nr[t]&&Yt(Nr[t],e)>-1},newEvent:uc,createCustomEvent:uc,parseQuery:function(t){return iu(Hd(t))},JSON:{stringify:Ft,parse:bt},newAction:mr,getAgentConfig:Gd,util:{uuid:Tt},startNextSession:function(t){lu()?i2(t,!1):a7(t),Yr("newSession",{id:Fn()})},addPlugin:yu};function nh(t,e){zr[t]=e}var Sn="TingyunWeb";
9function Oa(t){if(t&&Y(zr[t])){var e=[].slice.call(arguments,1);return zr[t].apply(null,e)}}function X7(){if(window[Sn]){try{(function(){var t=window[Sn].po;if(t){var e=t.observer,n=t.entries;!e||!n||((function(r){var i={};C(r,function(o){var a=o.entryType;a&&(i[a]||(i[a]=[]),i[a].push(o))}),oo=i})(n),t.entries=null,e.disconnect(),window[Sn].po=null)}})()}catch{}C(window[Sn].q,function(t){try{Oa.apply(null,t)}catch{}}),window[Sn]=Oa}else window[Sn]=Oa}var o0=ou(O8.href);function rh(t){if(!ht(t))return{valid:!1};var e=ou(t);return{valid:e.protocol===o0.protocol&&e.host===o0.host,parsed:e}}function Z7(t){if(k.apmEnableAllCorsDomains)return!0;var e,n,r=rh(t),i=r.valid,o=r.parsed;return i||o&&o.host&&(e=o.host,n=!1,C(k.corsDomains,function(a){if(e.indexOf(a)>-1)return n=!0,!1}),n)}function a0(t,e,n){if(t&&t[e])try{Bt(t,e,n)}catch{}}function Vo(t,e,n){t&&t.context&&t.context.parent&&(t.pcid=t.context.parent.id,t.context.parent.updateRemain(1,e),t.context.parent.items.push(t.context.data))}function Qr(t){if(!t)return!1;var e=k.eventResources&&k.eventResources.length>0,n=k.eventResourcesIgnore&&k.eventResourcesIgnore.length>0;return e&&n?s0(t)&&c0(t):e?s0(t):!n||c0(t)}function s0(t){var e=!1;return C(k.eventResources,function(n){if(t.indexOf(n)>-1)return e=!0,!1}),e}function c0(t){var e=!0;return C(k.eventResourcesIgnore,function(n){if(t.indexOf(n)>-1)return e=!1,!1}),e}function ih(t,e){var n,r=j.context;if(!(t.shouldAddToEvent||!(function(o){return q.containContext(o,function(a){return a&&(a.type===Ee||a.type===zt&&a.subType!==Vn)})})(r)&&r))return null;if(r)return r;if(yt()){var i=g2(t.start||M());if(i&&!(n=i.closed))return i}return!n&&e&&(r=e()),!r&&j.recordingPageLoadEvent&&j.pageLoadEvent&&(r=j.pageLoadEvent,j.recordingCpActions&&(t.crossPage=!0)),r}var G7=[],oh,u0=!1,Q7=["id","tname","tid","rid","duration","user","bid","ber","isError"];function tg(t){var e,n,r;if(t)if(t.indexOf(Ji)===0){var i=t.substring(Ji.length);try{e=bt(n=$o.decode(i))}catch{}}else{try{e=bt(n=decodeURIComponent(t))}catch{}if(!e)try{e=bt(n=decodeURIComponent(n))}catch(o){r=o&&o.message,(function(a,c){var u="ok";if(!a)return c.length?c.join(`
10`):u;c.push(a)})(r,G7)}}return e}function eg(){try{if(u0)return;var t=(function(){var n={},r=(function(i,o,a){if(!a)try{a=o&&window[o]||st.cookie||""}catch{}if(a){var c=a.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return c?c[3]:null}return null})(c1,d5);return r&&(n=tg(r),(function(i,o,a,c,u){var s=i+"="+o;if(a){var l=new Date;l.setTime(l.getTime()+1e3*a),s+=";expires="+l.toGMTString()}c&&(s+=";path="+c),(u||st).cookie=s})(c1,"",-1e3,"/")),n})(),e={};t&&gt(t)&&(e.s_id=t.id,e.s_tname=t.tname,e.s_tid=t.tid,e.s_rid=t.rid,e.s_duration=t.duration,"user"in t&&(e.s_user=t.user,Uo(t.user)),"bid"in t&&(e.s_bid=E2(t.bid)),"ber"in t&&(e.s_ber=t.ber),"isError"in t&&(e.s_isError=t.isError)),oh=e,u0=!0}catch{}}function ah(){return oh}var ng=0,sh="load",rg="reload",ig=["__wvjb_queue_message__","__bridge_loaded__"];function l0(t,e,n){if(!(function(o){if(!o)return!0;var a=!1,c=o.substring(0,100);try{C(ig,function(u){if(c.indexOf(u)>-1)return a=!0,!1})}catch{a=!0}return a})(e)&&t){n||(n=t.src?rg:sh);var r,i={id:ng++,src:e,loadType:n,start:M(),sameOrigin:(r=e,rh(r).valid),shouldAddToEvent:Qr(e)};(function(o){o.context||(o.context=new q({parent:ih(o),name:"".concat(o.src,"-").concat(o.id),type:Pn}))})(i),i.crossPage&&(i.context.crossPage=!0),i.context.setData({type:Pn,loadType:i.loadType,id:i.id,cid:i.context.id,src:i.src,start:i.start,sameOrigin:i.sameOrigin}),Vo(i,Pn),t.addEventListener("load",function o(){try{if(i.end=M(),i.sameOrigin&&this&&this.contentWindow&&this.contentWindow.document){i.url=this.contentWindow.document.URL;var a=this.contentWindow[Ie],c=!1;a&&(i.pvid=a.pvid||"",Y(a.checkHookSupported)&&a.checkHookSupported($e,Dr)&&(c=!0,a.addActionHook(Dr,function(u){var s;u&&u.actionData&&(s=ch(u.actionData)),s||(s=f0(this.contentWindow,i.start)),vi(i,s)}))),c||vi(i,f0(this.contentWindow,i.start))}else vi(i)}catch{vi(i)}try{t.removeEventListener("load",o)}catch{}})}}function vi(t,e){t.callbackEnd||(t.callbackEnd=!0,t.iframePageMetric=e,(function(n){n.context.setData(W({pvid:n.pvid,end:n.end,url:n.url},n.iframePageMetric))})(t),(function(n){n.context&&(n.context.setData({state:gn}),n.context.canEnd()&&n.context.end())})(t))}function f0(t,e){if(!t)return{};var n=q2(t),r={metric:{le:n.le,f:n.f},debug:{}},i={wd:t,startTime:e,ifr:!0};return j2(r,i),U2(r,i),D2(r,i),F2(r,i),ch(r.metric)}function ch(t){if(t){var e,n,r={f:t.f,fp:t.fp,fs:t.fs,dr:t.dr,le:t.le,loadEventEnd:t.loadEventEnd,je:t.je||0};return e=t,n=r,C(Q7,function(i){var o="s_".concat(i);e[o]!=null&&(n[o]=e[o])}),r}}function og(){if(k.hook_iframe&&yt())try{(function(){function t(e){return function(n){try{n.nodeName==="IFRAME"&&n.src&&l0(n,n.src,sh)}catch{}return e.apply(this,arguments)}}window.Node&&(a0(window.Node.prototype,"appendChild",t),a0(window.Node.prototype,"insertBefore",t))})(),(function(){if(Object.getOwnPropertyDescriptor&&Object.defineProperty){var t=Object.getOwnPropertyDescriptor(HTMLIFrameElement.prototype,"src");if(t){var e=t.get,n=t.set;e&&n&&Object.defineProperty(HTMLIFrameElement.prototype,"src",{get:function(){return e.apply(this,arguments)}
10,set:function(){try{st&&st.body&&st.body.contains&&st.body.contains(this)&&l0(this,arguments[0])}catch{}n.apply(this,arguments)},enumerable:!0,configurable:!0})}}})()}catch{}}var so,bu=!1;try{so=window.__zone_symbol__MutationObserver||window.MutationObserver,bu=Y(so)}catch{}function uh(t,e,n){if(!(bu&&so&&t&&e))return Me;var r;try{(r=new so(function(i){C(i,function(o){try{o&&n(o)}catch{}})}))&&r.observe(t,e)}catch{}return function(){try{return r&&r.disconnect()}catch{}}}function wu(t,e){return Yt(t,e)>-1}var ag=["IMG","SCRIPT","IFRAME"];function lh(t){if(wu(ag,t.nodeName)&&Qr(t.src)&&!M2(t)){var e=j.recentFinishedAjaxContext;if(e&&e.data){var n=M();if(n-e.data.end<=k.resourceAssociateThreshold){var r=q.getRootContext(e,function(i){return i.type===Ee||i.type===zt&&!i.subType===Vn});r&&r.addResource(t,n)}}}C(t.children,lh)}var d0=null;function sg(){C(st.getElementsByTagName("img"),function(t){t.complete||t[h1]||(t[h1]=!0,mt(t,ln,function(){ie.imageResources.push({loadTime:M(),element:t})}))})}function cg(){qe.on(ln,pe(function(){t();var e=M();rn(function(){xe.load=e}),dt.loadEventEnd=e,clearInterval(d0)})),C(Rd(),function(e){mt(window,e,function(n){rn(function(){(xe.e[e]||(xe.e[e]=[])).push(M())}),qe.emit(e,n)})});var t=pe(function(){var e,n;k.monitor_dom_mutation&&(e=document.getElementsByTagName("body"),(n=e&&e[0])&&uh(n,{childList:!0,subtree:!0},function(i){C(i.addedNodes,lh)}));var r=M();if(rn(function(){xe.end=r}),dt.domContentLoadedEventStart=r,yt()&&window.performance&&window.performance.getEntriesByName){if(!st.querySelectorAll)return;ie.resources=ie.resources||[],C(st.querySelectorAll("head>link,head>script"),function(i){var o;i.tagName=="LINK"?o=i.href:i.tagName!="SCRIPT"||i.defer||i.async||(o=i.src),o&&ie.resources.push(o)})}});if(yt()&&mt(st,l5,t),mt(st,jc,function(e){st.readyState===Ao&&t()}),(!yt()||window.performance&&!window.performance.getEntriesByName)&&(d0=setInterval(sg,P5)),!yt())try{(function(e){var n=st.createElement("script");n.type="text/javascript";try{n.appendChild(st.createTextNode(e))}catch{n.text=e}st.getElementsByTagName("head")[0].appendChild(n)})("if(window.TINGYUN) {window.TINGYUN.".concat(zs,"=+new Date();}"))}catch{}}function ug(){try{S7(),H1(),T2(function(){je(function(){H1()})}),mt(document,M5,function(t){document.visibilityState==="hidden"&&L1(t),dt.addCache(jo,function(){return{state:document.visibilityState,time:M()}})},!0),mt(window,Ln,L1,!0),cg()}catch{}}function fh(t,e){for(var n=M(),r=e.length-1;r>=0;r--){var i=e[r];i.type===zt||i.end||(i.end=n),e[r-1]&&(e[r-1].items=[i]);var o=void 0;o=i.start&&i.end&&i.end-i.start>k.eventTimeout?Hs:i.type===zt&&e[r+1]&&e[r+1].state||gn,i.state=o}t.data=e[0],t.end=n}function lg(t){var e=j.cpParent;if(e){j.recordingCpActions=!1;var n=e.action,r=e.data,i=e.commonActionInfo,o=e.requestInfo;if(n&&r&&r.length!==0){r[r.length-1].items=[t.eventData.data],fh(n,r),n.data&&(n.data.range=j5);var a={pageParam:$d()};j.opt_custom_param&&(a.cpOptCustomParam=j.opt_custom_param);var c=W(i||{},vn(a,Ho(),"cpScope"));t.eventData=n,t.setSendOptions({commonActionInfoMessage:c,requestInfo:o,crossPage:!0})}}}var fg=0,vc=null;function dh(t){if(t.parent){var e=fg++,n=t.url||"",r=M(),i=new q({parent:t.parent,name:"".concat(n,"-").concat(e),type:l1,subType:t.subType||w5});i.setData({type:l1,subType:i.subType,id:e,cid:i.id,url:n,start:r});var o=i.collectCrossPageData();vc=o,(function(a){Te(Ms,Ft(a))})(o),i.clear(),i=null}}function dg(t){return function(){var e=t.apply(this,arguments);try{e&&dh({url:arguments[0],parent:(function(n){if(n){var r=Se[Se.length-1];if(r){var i=zo(r);return pu(i,n)?Zr(r,Co,{s:i}):void 0}}})(M())})}catch{}return e}}function hg(){C([jn,Zc],function(t){st.addEventListener(t,function(e){if(e&&e.target)try{var n=t===jn?(function(i){return{valid:id===i.target.nodeName&&!i.defaultPrevented&&i.target.href,url:i.target.href,subType:_5}})(e):(function(i){return{valid:od===i.target.nodeName&&!i.defaultPrevented&&i.target.action,url:i.target.action,subType:x5}})(e);if(n.valid){var r=e.timeStamp&&(function(i){var o;try{o=Pr(Se,function(a){return a.timeStamp===i.timeStamp&&i.target.nodeName===a.target.nodeName})[0]}catch{}if(o)return Zr(o,Co,{s:zo(o)})})(e);dh({subType:n.subType,url:n.url,parent:r})}}catch{}},lt({}
10,Xc,!0))})}function pg(){(function(t){if(t){var e=t.action,n=t.data;e&&n&&n.length!==0&&(fh(e,n),to(e))}})(vc),vc=null}function gg(){k.hook_cross_page&&(Bt(window,"open",dg),hg(),Mr(function(){pg()}))}var Ra=[];function hh(t){t&&(Ra.length===0&&mt(document,jn,function(e){C(Ra,function(n){n(e)})},!0),Ra.push(t))}var vg=50;function mg(){hh(function(t){try{if(!t)return;var e=t.target||t.srcElement;if(!e)return;var n=(function(o){var a=Fo(),c=o.timeStamp;return c?u2(c)?c:Math.round(o.timeStamp+a):M()})(t),r=e.outerText||"";r&&(r=r.substring(0,vg));var i={path:Xr(e)};Gr({timestamp:n,message:r,category:y8,data:i})}catch(o){console.log(o)}})}var Ye="sw8",yg="Page",bg="1.0.0";function Ba(t,e,n){return t||(t=n),t.substring(0,e)}var Tn="traceparent",ue="tracestate";function h0(t){var e,n;do{e="",n=0;for(var r=0;r<t;r++){var i=Math.floor(16*Math.random()).toString(16);e+=i,i==="0"&&n++}}while(n===t);return e}function Di(t){return t||""}var cr,_u={uniqueId:0},qr=[],xu="add",wg="remove",ph="opt_custom_param",gh="opera_all_param",_g="content-type",xg="sid",Sg="vid",Eg="aid",Ag="u",vh="tingyun",kg=vh+"=";function mi(t,e,n){t.apms||(t.apms={}),e!=null&&n!=null&&(t.apms[e]=n)}function mh(t,e){if(!k.x_server_switch)return!1;var n=!1;try{if(k.key&&mc(t,Sd)){var r=(function(){try{return Tt(!0).substring(0,16)}catch{}})(),i=yh();r&&(i+=";x="+r);var o=G2();o&&(i+=";u="+o),t.addHeader(h5,i),n=!0,t.xTingyunSent=!0}var a=t.pgHeaders;if(a||(a=(function(u){var s;return lt(s={},Tn,u.getHeader(Tn)),lt(s,ue,u.getHeader(ue)),lt(s,Ye,u.getHeader(Ye)),s})(t)),C(k.propagators,function(u,s){if(mc(t,s)){if(s===Ed){var l=a[Tn],h=a[ue];l?h?e||(h=Di(h+","+Ii(t)),t.addHeader(ue,h),n=!0):(h=Di(Ii(t)),t.addHeader(ue,h),n=!0):h||(l="00-"+h0(32)+"-"+h0(16)+"-01",h=Di(Ii(t)),t.addHeader(Tn,l),t.addHeader(ue,h),n=!0),l&&mi(t,Tn,l),h&&mi(t,ue,h)}else if(s===T8){var d=a[Ye];a[Ye]||(d=(function(f){var p,g=f.url;try{p=ou(f.url)}catch{}return"1-"+De(Tt())+"-"+De(Tt())+"-0-"+De(Ba(p&&p.hostname,50,g))+"-"+De(Ba(qd(),50,bg))+"-"+De(Ba(Mo(),150,yg))+"-"+De(p&&p.host||g)})(t),t.addHeader(Ye,d),n=!0),d&&mi(t,Ye,d)}}}),k.apmHeaders){var c=Tt(!0);C(k.apmHeaders,function(u){if(u){var s=t.getHeader(u);s==null&&k.autoAddApmHeader&&t.sameOrigin&&(t.addHeader(u,c),n=!0,s=c),s!=null&&mi(t,u,s)}})}}catch{}return n}function yh(){return k.key?"c=B|"+k.key:""}function Su(t,e){t.context||(t.context=new q({parent:ih(t,function(){var n=re.get("event");if(n&&n.type==ge)return Y2(n.key)}),name:"".concat(t.url,"-").concat(t.id),type:It,subType:e||Po}),t.crossPage&&t.context.setData({crossPage:!0}))}function bh(t,e){if(k.x_server_switch){var n=t.context.data;if(t.apms&&(n.apms=t.apms),t.sameOrigin){var r=t.xTingyunSent?bt(e(p5)):null;if(r){if(n.hasServerHeader=!0,n.s_id=r.id,n.s_tname=r.tname,n.s_tid=r.tid,n.s_rid=r.rid,n.s_duration=r.duration,"user"in r){var i=r.user,o=i;if(i!=null&&i.indexOf(Ji)===0){var a=i.substring(Ji.length);try{o=$o.decode(a)}catch{}}n.s_user=o,Uo(o)}"bid"in r&&(n.s_bid=E2(r.bid)),"ber"in r&&(n.s_ber=r.ber),"isError"in r&&(n.s_isError=r.isError)}else n.hasServerHeader=!1;if(k.serverTiming)try{var c=e(n8);c&&(n.st=c)}catch{}}}}function Eu(t){var e=t.context.data;t.key&&(e.__spe=1)}function wh(t,e){try{var n=e(_g);n&&(t.ct=n)}catch{}}function _h(t){j.context=t.context}function Au(t){if(t.context){var e=!1;return t.context.setData({state:gn}),t.context.canEnd()&&(t.context.end(),e=!0),e}}function xh(t){if(!t||!t.context)return{};var e=t.context.data,n={method:e.method,url:e.url,start:e.start,end:e.end,du:e.du,status:e.status};return t.context.subType===Po?W(n,{err:e.err,rec:e.rec,send:e.send,requestHeader:t.headerRecord}):W(n,{requestHeader:t.fetchOptions.headers}),n}function ku(t){var e=re.get("event");if(e&&e.key){if(e.type===ge){var n=Y2(e.key),r=q.getRootContext(t.context,function(i){return i.type===zt&&i.subType!==Vn});if(n&&r&&n.id!=r.id)return}t.key=e.key,e.remain++,e.type!==Qc&&t.context.aid||(t.aid=e.aid)}}function Sh(t){var e=!0;return C(k.ajaxBlacklist,function(n){if(n&&t.indexOf(n)>-1)return e=!1,!1}),e}function Eh(t,e){var n={url:t.url,status_code:t.status,method:t.method,duration:t.du};
10t.apms&&(n.apms=t.apms),Gr({type:g8,category:e,message:t.url,timestamp:t.start,data:n})}function Ah(t,e){qr.length>0&&C(qr,function(n){n(t,e)})}function kh(t){Ah(xu,t)}function Th(t){Ah(wg,t)}function Ch(t){qr.push(t)}function Oh(t){var e=Yt(qr,t);e>-1&&qr.splice(e,1)}function On(t,e,n){if(t&&e&&n){var r=Un(e.toLowerCase());r&&(t[r]={key:e,value:n})}}function Rh(t){return t.aid||t.context.aid||j.routeAid}function Tu(t,e){try{var n=Rh(e);n&&(t.actionId=n)}catch{}}function mc(t,e){if(!k.propagators[e])return!1;var n=t.sameOrigin;return n==null&&(n=Z7(t.url),t.sameOrigin=n),n}function Ii(t){var e=yh(),n=(e?e+";":"")+xg+"="+vt.sid+";"+Sg+"="+vt.pvid,r=Rh(t);r&&(n+=";"+Eg+"="+r);var i=G2();return i&&(n+=";"+Ag+"="+i),vh+"="+De(n)}var Tg=["$.","$["],Bh="__TY_ROOT__",Cg=["authorization","proxy-authorization","set-cookie"],Og=(lt(cr={},Vr,Ne),lt(cr,Oo,Le),lt(cr,Jr,en),lt(cr,Ro,He),cr);function p0(t,e,n){var r=!0,i=!1,o={};return C(e,function(a){var c=a.url;if(t.indexOf(c)>-1)return i=!0,n||a[Vr]||a[Oo]||a[Jr]||a[Ro]?C(Og,function(u,s){C(a[s],function(l){l&&(o[u]||(o[u]=[]),o[u].push({key:l}))})}):r=!1,!1}),!i&&n&&(r=!1),{matched:i,enabled:r,white:n,posRule:o}}function g0(t,e,n){Yt(Cg,e)<0&&e&&n&&(t[n.key]=n.value)}function Pa(t,e,n,r){n?C(n,function(i){var o=i.key;g0(t,o,e[o])}):C(e,function(i,o){var a=!1;C(r,function(c){if(c.key===o)return a=!0,!1}),a||g0(t,o,i)})}function yi(t,e){var n,r=!1,i=!1;return e?(n=e.posRule[t],(i=e.white)||e.matched||(r=!0)):r=!0,{all:r,white:i,rules:n}}function v0(t,e){var n=e.all,r=e.white,i=e.rules,o={};return i?r?Pa(o,t,i,null):Pa(o,t,null,i):(n||r)&&Pa(o,t),o}function yc(t){try{return t.slice(0,k.ajBodyMaxSize)}catch{}}function Rg(t){var e=!1,n=t;return n&&((function(r,i){var o;return C(i,function(a){if(r.charAt(0)===a&&r.charAt(r.length-1)===a)return o=a,!1}),o})(n=Un(n),["'",'"'])?(e=!0,n=n.substring(1,n.length-1)):e=isNaN(+n)),{key:n,obj:e}}function m0(t,e){var n=e.jp,r=e.paths,i=e.key;return n!=null&&r||(n=e.jp=(function(o){return o&&Yt(Tg,o.substring(0,2))>-1})(i),r=e.paths=n?(function(o){o=o.substring(1);var a=[];return C(o.split(/\.|\[|\]/),function(c){var u=Rg(c);u.key&&a.push(u)}),a})(i):[{key:i,obj:!le(t)}]),e}function y0(t,e,n){var r,i;i=n&&n.length>1?(function(o,a){for(var c=-1,u=o==null?0:o.length,s=new Array(u);++c<u;)s[c]=a(o[c],c,o);return s})(r=n.slice(0,-1),function(o){return o.key}).join("."):Bh,t[i]||(t[i]={ppath:r,indexes:[]}),t[i].indexes.push(+e)}function b0(t,e,n){var r=n.all,i=n.white,o=n.rules;if(o){var a,c=zf(t)&&e();return c?(a=i?(function(u,s){var l,h=[];return C(s,function(d){var f=m0(u,d),p=f.jp,g=f.paths,m=f.key,b=!1;if(p){var v=u;C(g,function(y,w){var _=y.key;if(w===g.length-1)b=_ in v;else{var x=v[_];if(x==null)return!1;v=x}})}else b=m in u;b&&h.push(g)}),C(h,function(d){l||(l=le(u)?[]:{});var f=l,p=u;C(d,function(g,m){var b=g.key,v=g.obj;m===d.length-1?v?f[b]=p[b]:f.push(p[b]):(f[b]||(f[b]=d[m+1].obj?{}:[]),f=f[b],p=p[b])})}),l})(c,o):(function(u,s){var l=le(u),h={},d=!1;C(s,function(f){var p=m0(u,f),g=p.jp,m=p.paths,b=p.key;if(g){var v=u;C(m,function(y,w){var _=y.key,x=y.obj;if(w===m.length-1)_ in v&&(x?delete v[_]:(y0(h,_,m),d=!0));else{var E=v[_];if(E==null)return!1;v=E}})}else b in u&&(l?(y0(h,b),d=!0):delete u[b])});try{d&&C(h,function(f,p){var g=f.ppath,m=f.indexes;m.sort(function(y,w){return w-y});var b,v=u;p===Bh?b=v:C(g,function(y,w){var _=y.key;if(w===g.length-1)b=v[_];else{var x=v[_];if(x==null)return b=null,!1;v=x}}),le(b)&&C(m,function(y){b.splice(y,1)})})}catch{}return u})(c,o),a&&(!Hr(a)||a.length>0)?yc(Ft(a)):null):null}return r||i?yc(t):null}function Ph(t,e,n,r,i){var o,a,c=jd(t),u=!1,s=!1;return c.getQB=function(){if(e)return u||(o=n(e),u=!0),o},c.getRB=function(){if(r)return s||(a=i(r),s=!0),a},c}function Dh(t,e,n,r,i,o){var a=t.queryString,c=k.networkRecord,u=c.config,s=c.white,l=c.black;if(u.enabled){var h,d=u.pos,f={};return d[wr]&&a&&(f[wr]=yc(a)),u.urlOnly||(e=(function(p){try{p=Un(String(p));var g=Mo();if(!p)return g;if(me(p,la)||me(p,fa)||me(p,da))return p;var m="";me(g,la)?m=la:me(g,fa)?m=fa:me(g,da)&&(m=da);var b=g.substring(m.length),v="";if(me(p,"/")){var y=b.indexOf("/");y>-1&&(b=b.substring(0,y)),v=b+p}else b=_1(b),me(p,"./")?p=p.substring(2):me(p,"../")&&(p=p.substring(3),b=_1(b)),v=b+"/"+p;return m+v}catch{}})(e),ac(s)?h=p0(e,s,!0):ac(l)&&(h=p0(e,l,!1)),(!h||h.enabled)&&(d[Ne]&&_e(f,Ne,v0(n(),yi(Ne,h))),d[Le]&&r&&Ge(f,Le,b0(r,t.getQB,yi(Le,h))),d[en]&&_e(f,en,v0(i(),yi(en,h))),d[He]&&o&&Ge(f,He,b0(o,t.getRB,yi(He,h))))),f}}var Bg=pn("URL"),Da={literal:{addHeader:function(t,e){t&&e&&(this.fetchOptions.headers[t]=e)},getHeader:function(t){return this.fetchOptions.headers[t]}},headers:{addHeader:function(t,e){t&&e&&this.fetchOptions.headers.set(t,e)},getHeader:function(t){return this.fetchOptions.headers.get(t)}},notSupport:{addHeader:Me,getHeader:Me}};function Pg(t){if(this.headers)return this.headers.get(t)}function Dg(t,e){if(t&&t.context){t.context.setData({end:t.end,du:t.status>0?t.end-t.start:0,status:t.status,state:gn});var n=t.context.data;n.err=e?0:Ir.error;var r=Uf(Pg,e||{});bh(t,r),Eu(t);try{var i=Ph(t.url,t.reqBody,bt,t.resBody,bt);try{_e(n,ph,(function(o,a,c){var u={};return Ge(u,To,gu(o.queryObj)),_e(u,Hn,(function(s){var l={};return C(k.optCustomParamRules[Hn],function(h){var d=s.getHeader(h);d!=null&&(l[h]=d)}),l})(a)),_e(u,Vi,(function(s){if(s){var l={};return C(k.optCustomParamRules[Vi],function(h){var d=s.headers.get(h);d!=null&&(l[h]=d)}),l}})(c)),u})(i,t,e))}catch{}try{_e(n,gh,Dh(i,t.url,function(){try{var o={},a=t.fetchOptions.headers;return gt(a)?C(a,function(c,u){On(o,u,c)}):Ff(a)?a.forEach(function(c,u){On(o,u,c)}
10):le(a)&&C(a,function(c){On(o,c[0],c[1])}),o}catch{}},t.reqBody,function(){try{if(e&&e.headers){var o={};return e.headers.forEach(function(a,c){On(o,c,a)}),o}}catch{}},t.resBody))}catch{}}catch{}return wh(n,r),Tu(n,t),n}}function w0(t){var e={};return ht(t)?e.url=t:Bg(t)&&ht(t.href)?e.url=t.href:W(e,(function(n){if(!r5(n)&&!gt(n))return null;var r={};return n.url&&(r.url=n.url),n.method&&(r.method=n.method),n.headers&&(r.headers=n.headers),n.body&&ht(n.body)&&(r.reqBody=n.body),r})(t)),e}function Ih(t,e,n){return t.read().then(function(r){if(r.done)return n;var i=r.value;return n+=e.decode(i),Ih(t,e,n)})}function Ig(t){return new Promise(function(e){try{var n=t.clone().body;n?Ih(n.getReader(),new TextDecoder,"").then(function(r){e(r)}).catch(function(){e()}):e()}catch{e()}})}function Ng(t){return function(){var e,n,r=Hc.call(arguments,0);try{var i={};if(r&&(i=w0(r[0]),r[1]&&W(i,w0(r[1]))),e=Sh(i.url)){if((function(u){var s=!0,l=!0;u.fetchOptions.headers||(s=!1,u.fetchOptions.headers={});var h=u.fetchOptions.headers;Ff(h)?W(u,Da.headers):gt(h)?W(u,Da.literal):(l=!1,W(u,Da.notSupport)),u.hasOriginalHeaders=s,u.supportAddHeaders=l})(n={id:_u.uniqueId++,method:i.method||Do,url:i.url,start:M(),fetchOptions:i,shouldAddToEvent:Qr(i.url),scope:new Et,initiatorType:md}),Su(n,$s),n.supportAddHeaders){var o=mh(n,!1);if(!n.hasOriginalHeaders&&o)try{r[1]||(r[1]={}),r[1].headers=n.fetchOptions.headers}catch{o=!1}n.headerAdded=o}ku(n),n.context.setData({type:It,subType:$s,id:n.id,cid:n.context.id,method:n.method,url:n.url,start:n.start}),Vo(n,It),kh(n),k.networkRecord.config.pos[Le]&&i.reqBody&&(n.reqBody=i.reqBody)}}catch{}var a,c=t.apply(this,r);return e&&(a=c)&&Br(a)==="object"&&Y(a.then)?c.then(nn(function(u){try{n.end=M(),new Promise(function(s){k.networkRecord.config.pos[He]?Ig(u).then(function(l){l&&ht(l)&&(n.resBody=l),s(u)}).catch(function(){s(u)}):s(u)}).then(nn(function(s){try{_0(n,s)}catch{}}))}catch{}return u}),nn(function(u){try{_0(n,null)}catch{}throw u})):c}}function _0(t,e){if(t){t.end||(t.end=M()),t.status=e?e.status:0;var n=Dg(t,e),r=xh(t);Ae({type:$e,name:Bo,args:{target:e||{},actionData:r},scope:t.scope}),r.st&&(n.st=r.st),vn(n,t.scope);var i=re.get("event");i&&i.key==t.key&&(i.xhrs.push(n),--i.remain==0&&i._end()),dt.addCache(Jn,function(){return n}),Th(t),je(function(){Au(t),k.bcFetchEnabled&&Eh(n,b8)})}}function Lg(t,e,n){if(t&&t.context&&!t.composed){t.composed=!0;var r,i,o,a,c=bt(e),u={};u[Hn]=(r=n.headers||{},i={},C(k.optCustomParamRules[Hn],function(h){var d=r[h];d!=null&&(i[h]=d)}),i),u[$i]=(o=n.requestData,a={},o&&le(o)&&o.length>0&&C(o,function(h){var d=h;ht(h)&&(d=bt(h)),W(a,io(d,k.optCustomParamRules[$i]))}),a);var s=(function(h){var d={};return C(h,function(f,p){Hr(f)||(d[p]=f)}),Hr(d)?void 0:d})(u),l={end:t.end,du:t.end-t.start,cb:t.cbTime,status:200,err:c&&c.error!=null?c.error:0,state:gn};s&&(l.opt_custom_param=s),Tu(l,t),t.context.setData(l);try{Eu(t)}catch{}}}function Hg(t){return function(){try{var e=arguments[1];if(arguments[0]==="rpc"&&e&&e.operationType){var n=K5+e.operationType,r={id:_u.uniqueId++,url:n,method:"",start:M(),shouldAddToEvent:Qr(n),scope:new Et};Su(r,v1),ku(r),r.context.setData({type:It,subType:v1,id:r.id,cid:r.context.id,method:r.method,url:r.url,start:r.start}),Vo(r,It),arguments[2]=(function(i,o,a){return nn(function(c){var u;try{i.end=M(),u=M()}catch{}try{if(Y(o))return o.apply(this,arguments)}finally{try{var s=M();i.cbTime=s-u,Lg(i,c,a),Ae({type:$e,name:Bo,args:{target:this,actionData:i.context.data},scope:i.scope}),vn(i.context.data,i.scope);var l=re.get("event");l&&l.key==i.key&&(l.xhrs.push(i.context.data),--l.remain==0&&l._end()),Au(i)}catch{}}})})(r,arguments[2],e)}}catch{}return t.apply(this,arguments)}}var bi=[],x0=!1;function jg(t){return x0||(mt(document,"error",function(e){e&&e.target&&(e.target.src||e.target.href)&&C(bi,function(n){n(e)})},!0),x0=!0),t&&bi.push(t),function(){try{var e=Yt(bi,t);e>-1&&bi.splice(e,1)}catch{}}}var Mg=["css","link","script","img","other"],Nh={},Lh={},Hh=!1;function jh(t,e){if(t[e]){for(var n=t[e].shift();n&&n.sent;)n=t[e].shift();return n&&!n.sent&&n.value?n:void 0}}function Mh(t,e,n){if(n){t[e]||(t[e]=[]);var r={sent:!1,value:n};return t[e].push(r),r}}function Uh(t){if(!t||!(t=(function(n){var r=n.indexOf("://");return r<0||(n=n.substring(r+3)),n})(t)))return!1;var e=!1;return C(k.monitorResources,function(n){if((function(r,i){return!(!r||!i)&&(i.indexOf("*")<0&&i.indexOf("?")<0?r===i:(function(o,a){for(var c=0,u=0,s=-1,l=0;c<o.length;)if(u<a.length&&(o[c]===a[u]||a[u]==="?"))c++,u++;else if(u<a.length&&a[u]=="*")s=u,l=c,u++;else{if(s==-1)return!1;u=s+1,c=++l}for(;u<a.length&&a[u]=="*";)u++;return u==a.length})(r,i))})(t,n))return e=!0,!1}),e}function co(t){var e=t.url,n=t.error,r=t.res;if(e){var i,o,a,c,u,s,l,h;r&&!n?(l=r.startTime,h||(h=Fo()),o=(i=Math.round((h||0)+(l||0)))+(a=Math.round(r.duration)),c=200,u=0,s=r.transferSize||0):(i=o=M(),a=0,c=0,u=Ir.error,s=0);var d={type:It,subType:m1,method:Do,url:e,start:i,end:o,du:a,status:c,err:u,rec:s};q.buildImmediateAction(It,m1,d)}}
10function Ug(){var t=fn(Fe,function(e){var n=(function(a){if(!a)return{valid:!1};var c=a.initiatorType,u=a.name,s=Yt(Mg,c)>-1,l=Uh(u);return{url:u,valid:s&&l}})(e),r=n.url;if(n.valid){var i=jh(Lh,r);if(i)co({url:r,res:e,error:i.value}),i.sent=!0;else{var o=Mh(Nh,r,e);Ue(function(){o.sent||(co({url:r,res:e,error:!1}),o.sent=!0)})}}});t.po&&(Hh=!0)}function Fg(){jg(function(t){var e=t.target.src||t.target.href;if(dt.addCache(Kr,function(){return{url:e,error:!0}}),Hh)try{var n=(function(o){return Uh(o)})(e);if(!n)return;var r=jh(Nh,e);if(r)co({url:e,res:r.value,error:!0}),r.sent=!0;else{var i=Mh(Lh,e,!0);Ue(function(){i.sent||(co({url:e,error:!0}),i.sent=!0)})}}catch{}})}var Ni="onload",Tr="on"+jc,uo={},lo="open",fo="setRequestHeader",ho="send",Jo=!0;function Fh(t){return uo[t[Wi]]}function Cu(t){return!!t&&!t[ko]}function S0(t){return function(e,n){try{var r=this;if(!Sh(n)&&r&&(r[ko]=!0),Cu(r)){var i={};i.method=e,i.url=n,i.id=_u.uniqueId++,i.jserror=!1,i.headerRecord={},i.scope=new Et,i.shouldAddToEvent=Qr(n),i.initiatorType=Ks,i.pgHeaders={},W(i,(o=r,{addHeader:function(a,c){try{a&&c&&o.setRequestHeader(a,c)}catch{}},getHeader:function(a){return this.headerRecord[a]}})),Su(i),ku(i),i.context.setData({type:It,subType:Po,id:i.id,cid:i.context.id,method:i.method,url:i.url,state:i.state,jserror:i.jserror}),Vo(i,It),i.toJSON=function(){},(function(a,c){a[Wi]=c.id,uo[c.id]=c})(r,i)}}catch{}var o;return Jo?t.apply(this,arguments):So(t,[this,arguments])}}function E0(t){return function(e,n){try{var r;if(Cu(this)&&(r=Fh(this))&&e&&n){var i=(c=e,C(k.optCustomParamRules[Hn],function(s){if(c===s)return u=!0,!1}),u);if(k.x_server_switch){var o=Ls(e.toLowerCase());if(o===ue&&!(function(s){return s&&s.indexOf(kg)>-1})(n)&&mc(r,Ed)&&!r.pgHeaders[ue]){var a=Di(n+","+Ii(r));a&&(n=arguments[1]=a)}o!==ue&&o!==Tn&&o!==Ye||(r.pgHeaders[o]=n)}r&&i&&(r.reqHeaderParam||(r.reqHeaderParam={}),r.reqHeaderParam[e]=n),r.headerRecord||(r.headerRecord={}),r.headerRecord[e]=n,k.networkRecord.config.pos[Ne]&&(r._reqHeaders||(r._reqHeaders={}),On(r._reqHeaders,e,n))}}catch{}var c,u;return Jo?t.apply(this,arguments):So(t,[this,arguments])}}function A0(t){return function(e){try{var n,r=this;Cu(r)&&(n=Fh(r))&&(n.start=M(),n.reqSize=tn(e),e&&ht(e)&&(n.requestData=e),n.context.setData({start:n.start}),(function(i,o){var a=re.getContext();function c(s){return nn(function(){var l,h;if(Na(i,o),Y(s))if(o&&i.readyState==4&&(h=M(),_h(o)),k.catchAsyncCallback)try{l=s.apply(this,arguments)}catch(d){throw o&&(o.jserror=!0),d}finally{o&&i.readyState==4&&(o.cbTime=M()-h)}else try{l=s.apply(this,arguments)}finally{o&&i.readyState==4&&(o.cbTime=M()-h)}return l},a)}k0(i,c);try{yt()?(function(s,l){C(Ir,function(h,d){mt(s,d,nn(function(){Ia(l,h,d),s&&s[Us]===Ni&&Na(s,l)}))})})(i,o):(function(s,l){C(Ir,function(h,d){var f="on"+d;s[f]?Bt(s,f,function(p){return function(){if(Ia(l,h,d),Y(p))return p.apply(this,arguments)}}):s[f]=function(){Ia(l,h,d)}})})(i,o)}catch{}if(!i[we]){var u=nn(function(){i[we]||i.readyState===4&&Na(i,o)},a);try{yt()?mt(i,jc,u):(i[Tr]=u,i[Tr][we]=!0)}catch{return}}je(function(){k0(i,c)})})(r,n),mh(n,!0),kh(n))}catch{}return Jo?t.apply(this,arguments):So(t,[this,arguments])}}function Ia(t,e,n){t&&(t.errorCode=e,t.errorEvent=n)}function k0(t,e){yt()&&t[Ni]&&!t[we]&&(Bt(t,Ni,e),t[we]=!0,t[Us]=Ni);var n=t[Tr];!n||t[we]||n[we]||(Bt(t,Tr,e),t[we]=!0,t[Us]=Tr)}function Na(t,e){try{if(!e)return;if(e.end=M(),e.readyState=t.readyState,t.readyState==4){if(e.callbackEnd)return;e.callbackEnd=!0,yt()&&delete t[we],_h(e),e.status=t.status;var n=(function(a){var c="";try{if(a.responseType==""||a.responseType=="text")c=a.responseText;else if(a.response)c=a.response;else try{c=a.responseText}catch{}}catch{}return c||""})(t);n&&ht(n)&&(e.text=n),e.resSize=tn(n);var r=(function(a,c){if(!(!a||!a.context||a.composed)){var u=a.status;W(a.context.data,{end:a.end,du:u>0?a.end-a.start:0,cb:a.cbTime||0,status:u,err:a.errorCode?a.errorCode:0,rec:a.resSize,send:a.reqSize,state:gn});var s=a.context.data,l=Uf(zg,c);bh(a,l),Eu(a);try{var h=Ph(a.url,a.requestData,qg,a.text,bt);try{_e(s,ph,(function(d,f,p){var g={};return Ge(g,To,gu(d.queryObj)),_e(g,Hn,f.reqHeaderParam),Ge(g,$i,io(d.getQB,k.optCustomParamRules[$i],!0)),Ge(g,Vi,(function(m,b){var v;return C(b,function(y){var w=(function(_,x){if(_&&_.getResponseHeader)try{return _.getResponseHeader(x)}catch{}})(m,y);w!=null&&Gi(v=v||{},y,w)}),v})(p,k.optCustomParamRules[Vi])),Ge(g,s1,io(d.getRB,k.optCustomParamRules[s1],!0)),g})(h,a,c))}catch{}try{_e(s,gh,Dh(h,s.url,function(){return a._reqHeaders},a.requestData,function(){try{return(function(d){if(!d)return{};var f=d.split(/\r?\n/),p={};return C(f,function(g){if(!g)return!0;var m=g.indexOf(":");if(m>-1){var b=Ls(g.substring(0,m)),v=Ls(g.substring(m+1));On(p,b,v)}}),p})(c.getAllResponseHeaders())}catch{}},a.text))}catch{}}catch{}return wh(s,l),Tu(s,a),a.composed=!0,s}})(e,t),i=xh(e);Ae({type:$e,name:Bo,args:{target:t,actionData:i},scope:e.scope}),i.st&&(r.st=i.st),e.shouldAddToEvent&&(j.recentFinishedAjaxContext=e.context),dt.addCache(Jn,function(){var a=r;try{t.responseURL&&(a=W({},r,{url:t.responseURL}))}catch{}return a}),Th(e);var o=re.get("event");je(function(){try{(function(a,c){a&&c&&a.jserror&&(c.jserror=a.jserror),a.errorCode&&!c.err&&(c.err=a.errorCode),a.cbTime&&!c.cb&&(c.cb=a.cbTime),vn(c,a.scope)})(e,r),o&&o.key==e.key&&(o.xhrs.push(r),--o.remain==0&&o._end()),Au(e),(function(a){try{uo[a[Wi]]=null,delete uo[a[Wi]]}catch{}})(t),k.bcXhrEnabled&&Eh(r,w8)}catch{}})}}catch{}}function zg(t){return this.getResponseHeader(t)}function qg(t){var e,n,r=bt(t);return r||(n={},r=ht(e=(e=t)||"")&&e?n=iu(e):n),r}function T0(t){if(!t||!(t[lo]&&t[fo]&&t[ho]))return!1;var e,n,r,i;try{n=Bi in t[lo],r=Bi in t[fo],i=Bi in t[ho],e=n===r&&r===i}catch{e=!1}return!!e&&!(!(Jo=n)&&yt())}function Wg(){k.hookAjax&&((function(){if(k.hookXhr){var t=kn&&kn.prototype;if(T0(t))Bt(t,lo,S0),k.hook_xhr_setrequestheader&&Bt(t,fo,E0),Bt(t,ho,A0);else if(kn)try{T0(new kn)&&(window.XMLHttpRequest=function(){var e=new kn;return Bt(e,lo,S0),k.hook_xhr_setrequestheader&&Bt(e,fo,E0),Bt(e,ho,A0),e})}catch{}}})(),k.hookFetch&&window.fetch&&window.Promise&&yt()&&Bt(window,"fetch",Ng),k.hookMPaas&&window.AlipayJSBridge&&Y(window.AlipayJSBridge.call)&&Bt(window.AlipayJSBridge,"call",Hg),yt()&&
10(function(){if(Fg(),k.monitorResources&&k.monitorResources.length!==0)try{Ug()}catch{}})())}var $g=["trace","debug","info","warn","error","log"],Vg=1024,Jg="[?]",Kg=10;function Yg(t){var e,n=!0;try{e=Bi in t}catch{n=!1}return e||tc||(n=!1),{enabled:n,canApply:e}}function Xg(){var t=k.bcParseConsoleParam?function(e){return ze(e)}:function(e){return String(e)};C($g,function(e){try{var n=window.console[e];if(!n)return;var r=0,i=!0,o=Yg(n),a=o.enabled,c=o.canApply;if(!a)return;window.console[e]=function(){try{if(i&&r<Kg){r++;var u=[],s=[].slice.call(arguments);(function(d){C(d,function(f,p){if(f==="ref=Ref<")return d[p+1]="viewRef",!1})})(s),C(s,function(d){try{var f=t(d);f!==void 0&&r<=1&&u.push(f)}catch{u.push(Jg)}});var l=u.join(" ");if(l){var h=e;h==="log"&&(h="info"),l=l.substring(0,Vg),Gr({category:m8,level:h,message:l})}r--}else i=!1}catch{}return c?n.apply(this,arguments):So(n,[this,arguments])}}catch{}})}function zh(){var t=window.onerror;window.onerror=function(e,n,r,i,o){if(qo(e,n,r,i,o),Y(t))return t.apply(this,arguments)},window.onerror._ty=!0}function Zg(){var t=window.onerror;t&&t._ty||zh()}function qh(t){var e,n,r,i,o;(t instanceof window.Event||window.ErrorEvent&&t instanceof window.ErrorEvent)&&(e=t.message||t.error&&(t.error.message||t.error.constructor.name)||"",n=t.lineno||0,r=t.colno||0,i=t.filename||t.error&&t.error.filename||t.target&&t.target.baseURI||"",o=t.error),qo(e,i,n,r,o)}function Gg(t){if(t){var e;try{"reason"in t?e=t.reason:"detail"in t&&"reason"in t.detail&&(e=t.detail.reason)}catch{}if(e){var n=Object.prototype.toString.call(e);if(A1(n,"ErrorEvent")&&e.error)qh(e);else{var r,i=(function(u,s){var l,h=!1;return C(s,function(d){if(A1(u,d))return l=d,h=!0,!1}),{typeName:l,ok:h}})(n,["Error","DOMException","DOMError"]),o=i.ok,a=i.typeName;if(o){if("stack"in e)return void S2(e,null,yd);var c=e.name||a;r=e.message?"".concat(c,": ").concat(e.message):c}r||(r=ze(e)),qo(r)}}}}function Qg(){k.jsErrorEnabled&&(qe.on(Rd(),function(){N1()}),setInterval(N1,_7),(function(){if(k.errorEnabled){var t=i5();t?zh():mt(window,u5,qh),qe.on(ln,function(){t&&je(Zg)})}})(),k.unhandledrejectionEnabled&&mt(window,"unhandledrejection",Gg))}function tv(t,e){if(typeof nbsJsBridge<"u"&&nbsJsBridge.logJsResult){var n={rm:{},em:[],cpm:{}};e&&(n.rm.res=e.res||[]),t&&(n.cpm=t,n.cpm.ul=vt.ref),nbsJsBridge.logJsResult(Ft(n))}}var Wh=1,C0={UNKNOWN:0,FAIL:2},Ht="attributes",yr="metrics";function Ou(t,e){var n={type:v5};t&&(n.spans=t),to({type:Yf,data:n})}function $h(t,e){return W(t,{attributes:e})}function Vh(t){return t==null||t<0}function Cr(t,e){if(e=e||{},t&&((function(n){return n[Ht]&&n[Ht].state===Wh})(e)||!Vh(t.duration)))return e[Ht]&&(t[Ht]=e[Ht]),e[yr]&&e[yr].length>0&&(t[yr]=e[yr]),t}function Ru(t,e,n){return Cr({type:S8,name:t,duration:e},n)}function wi(t,e,n){var r=(function(i,o){if(i&&!Vh(o))return{name:i,value:o}})(e,n);r&&t.push(r)}function Li(t,e){e&&t.push(e)}var te,ur,Xe=5e3,ev=1e3,O0=2,nv=50,rv=["IMG","SCRIPT","IFRAME","LINK","AUDIO","VIDEO","SOURCE"],Bu=[],an={},bc=[],wc=[],Kt=0,Jh=!1,Kh=!1,_c=0,Cn=0,Yh=!1,xc=!1,R0=!1,iv=["beacon","preflight"],B0=60;function Xh(){var t=c7(an);if(t>O0)return Ar();var e=[];C(Bu,function(r){e.push([r.startTime,0]),e.push([r.endTime,1])}),C(an,function(r){e.push([r.startTime,0])}),e.sort(function(r,i){return i[0]-r[0]});var n=0;return C(e,function(r){var i=r[0];if(r[1]===0)t--;else if(++t>O0)return n=i,!1}),n}function P0(t){var e,n=t.item,r=t.extra;"error"in r&&(e=r.error,delete r.error);var i=n.n;return delete n.n,lt({startTime:n.o,duration:n.du,name:i,error:e},Ht,W({entry:n},r))}function Zh(){var t=[],e=[];if(k.webVitalsTBTEnabled&&_c>0&&wi(e,u8,_c),Yh){wi(e,"fp",Kt);var n=j.pageActionData;n&&(wi(e,"fs",n.fs),wi(e,"le",n.le));var r=P2();if(r){var i=P0(B2(r)),o=i.startTime,a=i.duration;W(i[Ht],ah()),Li(t,Cr({type:E8,name:i.name,startTime:o,duration:a,endTime:o+a},lt({},Ht,i[Ht])))}C(wc,function(u){var s,l=P0(mu(u,N8)),h=l.error;h===St.TRUE?s=C0.FAIL:h===St.UNKNOWN&&(s=C0.UNKNOWN);var d=l.startTime,f=l.duration,p={type:b1,name:l.name,startTime:d,duration:f,endTime:d+f};s!=null&&(p.status={code:s}),Li(t,Cr(p,lt({},Ht,l[Ht])))}),C(an,function(u){Li(t,(function(s){return Cr({type:b1,name:s.name,startTime:s.startTime,status:{code:0}},lt({},Ht,{entry:{rt:s.initiatorType},state:Wh}))})(u))}),t=t.concat(bc)}var c=Ru(c8,Cn,lt({},yr,e));c&&(t.unshift(c),Ou(t)),Kh=!0;try{Bu.length=0,bc.length=0,wc.length=0,an={}}catch{}}function D0(){try{xc&&(xc=!1,Zh())}catch{}}function ov(){if(!yt())return!1;var t="PerformanceLongTaskTiming"in window&&dc(Ys),e=bu,n=dc(Fe);return t&&e&&n}function av(t){if(t){var e=[];return C(t,function(n){n&&e.push({containerType:n.containerType,containerSrc:n.containerSrc,containerId:n.containerId,containerName:n.containerName})}),e}}function sv(){var t=fn(Fe,function(e){e&&(e.name&&!wu(iv,e.initiatorType)&&(function(n){var r=n.name,i=n.startTime,o=i+n.duration;Bu.push({entryType:Fe,name:r,startTime:i,endTime:o});var a=Xh();a>0&&te.setTriggerTime(a+Xe)})(e),wc.push(e))});return t.stop}function Gh(t){return t&&(t.src||t.href)&&wu(rv,t.nodeName)}function Qh(t){var e=!1;return C(t,function(n){if(Gh(n)||Qh(n.children))return e=!0,!1}),e}function cv(t){te.setTriggerTime(Ar()+Xe)}function uv(t){var e,n,r,i=function(a){(a.type==="childList"&&Qh(a.addedNodes)||a.type==="attributes"&&Gh(a.target))&&cv()},o=t>0?(e=i,n=t,r=0,function(){var a=M();if(a-r>=n)try{return e.apply(this,arguments)}finally{r=a}}):i;return uh(document.documentElement,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["src","href"]},o)}function lv(){function t(e,n){try{if(!(i=n).method||i.method.toUpperCase()!==Do)return;var r=n.id;e===xu?(function(o,a){an[o]||(an[o]=a)})(r,{initiatorType:n.initiatorType,startTime:l2(n.start),name:n.url}):(function(o){delete an[o]})(r)}catch{}var i}return Ch(t),function(){Oh(t)}}function I0(){var t,e=lv(),n=k.webVitalsTTIMutationCheckRate;return n>=0&&(t=uv(n)),function(){e(),t&&t()}}function fv(){if(ov()&&k.webVitalsTTIEnabled){var t;Jh=!0,(function(f){try{st.readyState===Ao?f():qe.on(ln,f)}catch{}})(function(){je(function(){R0=!0,D0()})}),qe.on(ru(),function(){D0()});var e,n,r,i,o,a,c=sv(),u=(e=fn(Ys,function(f){if(f){var p=f.startTime,g=f.duration,m=p+g,b=g-nv;b>0&&Kt&&p>=Kt&&(_c+=b);var v=Cr({type:f.entryType,name:f.name,startTime:p,duration:g,endTime:m},lt({},Ht,{attribution:av(f.attribution)}));Li(bc,v),ur=v,te.setTriggerTime(m+Xe)}},!1),e.stop);n=d,r=null,i=-1,o=!1,te={setTriggerTime:function(f){return!(f<=i||!n||(i=f,a(),0))},getTriggerTime:function(){return i},schedule:a=function(){if(!o||!n)return!1;var f=i-Ar();return f>=0&&(clearTimeout(r),r=setTimeout(function(){try{n()}catch{}},f),!0)},start:function(){if(!o&&n)return o=!0,a()},disable:function(){clearTimeout(r),r=null,i=-1,o=!1,n=null}};var s=L2(),l=s.inited;Kt=s.value,l&&(Kt==null||Kt<=0)?h():l?je(function(){var f=Math.max(Kt+Xe,te.getTriggerTime());if(Ar()>=f)try{d()}catch{}else t=I0(),te.setTriggerTime(f),te.start()||h()}):(t=I0(),(function(f){Ur?f({value:Ur}):I2.push(f)})(function(f){var p=f.value;(Kt=p)!=null&&Kt>0?(te.setTriggerTime(Kt+Xe),te.start()||h()):h()}))}else try{C2(Ys)}catch{}function h(){try{t&&t(),c(),u(),te.disable(),j.pfSent&&dt.clearCache([Jn,Kr])}catch{}}function d(){var f=Ar(),p=(function(g){return!(g-(ur?ur.endTime:Kt)<Xe||g-Xh()<Xe)})(f);p?((function(){if(ur&&(Cn=ur.endTime),Cn<Kt&&(Cn=Kt),!(Cn<=0))if(Yh=Cn>=k.webVitalsTTIThreshold,R0)try{Zh()}catch{}else xc=!0})(),h()):B0>0?(B0--,te.setTriggerTime(f+ev)):h()}}var Sc,Ec={},br={};function dv(t,e){var n=mn().performance,r={tt:Ns(st.title),charset:st.characterSet};if(rn(function(){Hr(t.resource.handler)||(xe.resource=t.resource.statistic),r.debug=xe}),A2=!1,n&&e.slowPage){var i=[];try{i=Wo(Fe,n)}catch{}var o=[],a=P2();a&&o.push(M1(B2(a)));var c=[];C(i,function(l){var h=M1(mu(l,"pf"));c.push(h)});var u=[];C(br,function(l){u.push((function(h){return{o:ut(l2(h.start)),rt:h.initiatorType,n:h.url,method:h.method}})(l))}),o.length>0&&(r.navigation=o),c.length>0&&(r.res=c),u.length>0&&(r.pending=u)}e.metricData&&(r.metric=e.metricData),e.marks&&(r.mark=e.marks);var s=dt.getCache(jo);return s&&s.length>0&&(r.vsby=s),r}function tp(){var t={},e=0,n=window.performance;
10C(Wo("mark",n),function(o){if(o&&o.name&&o.startTime&&o.name.indexOf(u1)===0){var a=o.name.substring(u1.length);a&&(t[a]=Math.round(o.startTime),e+=1)}});var r=n&&n.timing?n.timing.navigationStart:ke,i=W({},window[fe]&&window[fe].data||{},$f||{});return i&&n&&n.timing&&C(i,function(o,a){o&&gt(o)&&o.timestamp&&(t[a]=o.timestamp-r,e+=1)}),e>0?t:null}function ep(t,e,n){var r=W({},t||{},{type:Ee,subType:n});return j.recordingCpActions&&(r.crossPage=!0),e&&(r.body=e),r}var hv=pe(function(){if(Ec.overview){var t=W({},Ec.overview),e=z2(t);t.st=e;var n=ep(t,null,f1);q.buildImmediateAction(Ee,f1,n)}}),pv=pe(function(t){if(!j.pfSent){var e=W(q2(window),ah()),n={metric:{le:e.le},debug:{}};try{j2(n),D2(n),U2(n),F2(n,{context:t})}catch{}rn(function(){xe.calc=n.debug});var r=W(e,n.metric),i=tp();i&&C(i,function(s,l){Lc(s)&&s>=0&&(r[l]=s)});var o="";C(["fp","fs","dr","le"],function(s){o+=(r.f>0?r[s]-r.f:r[s])>=k[s+"_threshold"]?"1":"0"}),r.trflag=o||"0000";var a,c=dv(t,{metricData:n.data,slowPage:(a=o,a&&a.indexOf("1")>-1),marks:i});t._ctx.pageClose&&(r.st=z2(r)),Ec.overview=r;var u=ep(r,c,Xf);t.setSendOptions({query:{ps:1}}),W(t.eventData.data,u);try{tv(r,c)}catch{}j.pfSent=!0,ie.pfStart=M(),dt.clearCache([jo,Lr]),Jh&&!Kh||dt.clearCache([Jn,Kr]),Sc&&Sc(),Ae({type:$e,name:Dr,args:{actionData:u},scope:Ho()}),j.pageActionData=u}});function Ac(t){j.recordingPageLoadEvent=!1,j.pageLoadEvent&&(t&&(j.pageLoadEvent._ctx.pageClose=!0),j.pageLoadEvent.endLock=!1,j.pageLoadEvent.end())}var gv=pe(function(){j.pageLoadEvent&&(j.pageLoadEvent.closed?hv():(Ac(!0),j.pageLoadEvent.closed||j.pageLoadEvent.timeout()))});function vv(){eg(),(function(){try{var r=jd(vt.ref).queryObj;if(r){var i=gu(r);if(i){var o={};o[To]=i,j.opt_custom_param=o}}}catch{}})();try{k.baseHref=(st.getElementsByTagName("base")[0]||{}).href}catch{}var t=window.screen;t&&(vt.sh=t.height,vt.sw=t.width),vt.pvid=Tt(),nh("pvid",vt.pvid);var e,n=mn().startTime;k.bcNavigationEnabled&&Gr({category:x8,timestamp:n,message:vt.ref}),Sc=(function(){function r(i,o){br&&(i===xu?br[o.id]=o:delete br[o.id])}return Ch(r),function(){br=null,Oh(r)}})(),e={ns:n},Ho().setParams(e)}function mv(){if(j.recordingPageLoadEvent=!0,j.pageLoadEvent=new q({type:Ee,subType:Xf,endLock:!0}),j.pageLoadEvent.addPostComposer(pv),yt()){var t=bt(oe(Ms));t&&t.fromUrl&&st.referrer&&t.fromUrl.indexOf(st.referrer)>-1&&(j.recordingCpActions=!0,j.cpParent=t,j.pageLoadEvent.addPostComposer(lg)),Qi(Ms)}return(function(){if(yt()){var e=0;try{e=window.performance.timing.loadEventEnd}catch{}return e>0}return st.readyState===Ao})()&&!j.pfSent&&Ue(Ac,0),qe.on(ln,function(){var e=0;if(k.pfDelay&&gt(k.pfDelay)){var n=tp();C(k.pfDelay,function(r,i){(!n||n[i]==null)&&Lc(r)&&r>e&&(e=r)})}j.pageLoadEvent&&!j.pageLoadEvent.hasChildType(It)&&k.pageLoadDelay>e&&(e=k.pageLoadDelay),Ue(Ac,e)}).on(ru(),gv)}var yv="rage_click",bv=3,wv=300,La=0,N0=0;function _v(t){if(M()-N0>wv&&(La=0),La++,N0=M(),La===bv)try{uc({name:yv,context:{path:Xr(t.target||t.srcElement)}})}catch{}}var En=0,Ha=[],An=0,Ke=[],ja=0;function L0(t){if(t)return{top:t.top,left:t.left,width:t.width,height:t.height}}function xv(){try{if(!k.webVitalsCLSEnabled)return;var t=function(n){try{if(n.hadRecentInput)return;var r=Ke[0],i=Ke[Ke.length-1];An&&n.startTime-i.startTime<1e3&&n.startTime-r.startTime<5e3?(An+=n.value,Ke.push(n)):(An=n.value,Ke=[n]),An>En&&(En=An,Ha=Ke)}catch{}},e=fn("layout-shift",t).po;e&&(Mr(function(){try{C(e.takeRecords(),function(n){t(n)}),(function(){if(!(En<=ja)){var n=[];C(Ha,function(i){var o=[];C(i.sources,function(c){var u={currentRect:L0(c.currentRect),previousRect:L0(c.previousRect)},s=c.node;if(s){var l,h=s.nodeType,d=s;h!==1&&(d=s.parentNode),d&&d.nodeType===1||(d=null),(l=Xr(d))&&(u.node={path:l,type:h})}o.push(u)});var a={value:i.value};o.length>0&&(a.sources=o),n.push($h({entryType:i.entryType,startTime:i.startTime},a))});var r=Ru(s8,En,lt({},Ht,{entries:n}));r&&Ou([r]),ja=En}})()}catch{}}),T2(function(){En=0,Ha=[],An=0,Ke=[],ja=0}))}catch{}}function Sv(){if(yt()){try{P7(),(Pi=fn(F5,R2).po)&&(C(["keydown","click"],function(t){mt(document,t,hc,{once:!0,capture:!0})}),Mr(hc,!0))}catch{}if(k.webVitalsEnabled)try{(function(){try{if(!k.webVitalsFIDEnabled)return;var t=pe(function(r){try{if(r.startTime<vu()){var i=r.processingStart-r.startTime,o=$h({entryType:r.entryType,name:r.name,duration:r.duration,startTime:r.startTime},{processingStart:r.processingStart,processingEnd:r.processingEnd}),a=Ru(a8,i,lt({},Ht,{entry:o}));a&&Ou([a])}}catch{}}),e=Wo(Xs)[0];if(e)t(e);else{var n=fn(Xs,t).po;n&&Mr(function(){try{C(n.takeRecords(),function(r){t(r)}),n.disconnect()}catch{}},!0)}}catch{}})(),xv(),fv()}catch{}}}function Ev(){(function(){if(typeof nbsJsBridge<"u"&&nbsJsBridge.context){var t=nbsJsBridge.context;t.deviceId!=null&&zd(t.deviceId),t.userId!=null&&Uo(t.userId),Cd(t.context),j.nbsJsBridgeData=t}})(),rc()?Sr=function(t){window.webkit.messageHandlers.nbsBrowserAgent.postMessage(t)}:ic()&&(Sr=function(t){nbsJsBridge.postMessage(t)})}function Av(){var t;Lo(),Ev(),(function(){if(!j.did){var e=oe(Fs);e||(e=Tt(),Te(Fs,e)),j.did=e}if(!j.uid){var n=oe(Gc);n&&(n=n.substring(0,au),j.uid=n)}})(),s7(),k.bcEnabled&&(jr=new sc({maxSize:k.bcMaxCacheSize})),vv(),oc=new gr,ug(),mv(),Wg(),Qg(),k.routerEnable&&(k.routerMode===r8&&window.history?r0():k.routerMode===i8?i0():window.history?r0():i0()),(function(){if(k.bcEnabled&&k.bcDomEnabled&&mg(),yt())try{v7(),gg()}catch{}})(),og(),k.monitorRage&&hh(_v),Sv(),k.bcConsoleEnabled&&window.console&&Xg(),dt._end=M(),rn(function(){xe._end=dt._end}),t=k.sendInterval,k.sendInterval<y1&&(t=y1),setInterval(function(){Er({tr:n7})},t),qe.on(ru(),function(){Er({tr:r7})})}function kv(t){var e={};if(Y(t)){var n={};t(n),e=n}else e={server:t};var r=e.server;window[fe]||(window[fe]={hook:{}});var i=Z8(r),o=i.config,a=i.configKey,c=i.storedConfig;if(i.valid){var u=!de();u&&(C(o.plugins,function(s){yu(s)}),Av(),window[Ie].inited=!0,de()&&C(pc,function(s){th(xd,s)})),de()&&(Ae({type:cd,name:Yi,args:{firstInit:u,config:r}}),z8(a,c))}}var np=!0;function H0(t){np=t}function Tv(t){try{if(!np||!t||!Y(t)&&!gt(t))return;kv(t)}catch{}}var Cv=(function(){if(window[Ie]&&window[Ie].mainVersion===3)return window[Ie];try{H0((function(){try{var t=/MSIE (\d+).\d+/.exec(Dn());if(t&&t[1]){var e=parseInt(t[1]);Qs=e<=7,tc=e<=9}}catch{try{Qs=/(MSIE [0-7].\d+)/.test(Dn()),tc=/(MSIE [0-9].\d+)/.test(Dn())}catch{return!1}}return!0})())}catch{H0(!1)}nh("init",Tv),window[Ie]=zr;try{X7()}catch{}return zr})(),_i={latest:{key:"0CCx_3ChWr0",token:"f00aac381e5a436e920a626e69414d54"},stage:{key:"xNRIMx1jJ04",token:"328fa609daf9410abe01fc849b37dabb"},prod:{key:"ZV5KvoREW-w",token:"cf51e48bfe53443f820c5d2c4922efb1"}},Ov="zWKL_nFSgw4",Rv="web.tingyun.shanghaidisneyresort.com:8588",Bv=t=>{var e,n,r,i;window.TINGYUN&&Cv.init({domain:Rv,token:((e=_i[t])==null?void 0:e.token)||((n=_i.latest)==null?void 0:n.token),key:((r=_i[t])==null?void 0:r.key)||((i=_i.latest)==null?void 0:i.key),id:Ov,page:{fpThreshold:3e3},operation:{rageClickEnabled:!1},replay:{sampleRate:.1}})},lr=new Zt("[@shdr/profile-sdk token api]"),Pv=(t,e)=>new Promise(n=>X(null,null,function*(){var r,i,o;let a=yield t.logoutApi(t,e);if(lr.info("logout inner",a,e),a.code===ae){if(yield Pc(t,e),lr.info("logout success",a),((r=z.detect())==null?void 0:r.code)===0&&((o=(i=z.detect())==null?void 0:i.data)==null?void 0:o.isMiniProgram))try{window.wx.miniProgram.postMessage({data:"userLogout"}),lr.info("logout wx detail",window.wx)}catch{lr.error("logout wx error")}return n(V(null))}else return lr.error("logout error"),a.message=a.msg,n(V({},a))})),j0=new Zt("[@shdr/profile-sdk main instance]"),M0=class{constructor(){this.eventBus=new Ds}init(e){let{servicePrefix:n,limitflowTykDomainPrefix:r,limitFlowCodes:i,env:o,language:a}=e;j0.info("sdk init options"),this.sdkService=new Ps({servicePrefix:n,limitflowTykDomainPrefix:r,env:o,language:a}),i&&this.sdkService.setlimitFlowCodes(i),this.eventBus&&this.sdkService.setEventBus(this.eventBus),Bv(o)}postSdkTrackLog(){var e;try{let n=this.getChannelCode({}),r={channelCode:(e=n==null?void 0:n.data)==null?void 0:e.channelCode,referrer:location.href,extension:"api: sdkInit"};Mf(this.sdkService,r)}catch{j0.error("sdk init postSdkTrackLog fail")}}getEventBus(){return this.eventBus}getAccessToken(e){return p3(this.sdkService,e)}getUserInfo(e){return g3(this.sdkService,e)}getVisitorId(e){return y3(this.sdkService,e)}getApHolder(e){return b3(this.sdkService,e)}goToProfilePage(e){return w3(e)}getPlatformDetect(){return z.detect()}canIUse(e){return _3(e)}setCookie(e){return Jt(e)}signout(e){return Pc(this.sdkService,e)}getCategory(e){return new Is(e).detect()}getChannelCode(e){return n5(this.sdkService,e)}logout(e){return Pv(this.sdkService,e)}};export{M0 as default};
11/*! Bundled license information:
12
13@shdr/profile-sdk/dist/profile-sdk.mjs:
14  (** @preserve
15  			(c) 2012 by Cédric Mesnil. All rights reserved.
16  
17  			Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
18  
19  			    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
20  			    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
21  
22  			THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (
22INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23  			*)
24  (** @preserve
25   * Counter block mode compatible with  Dr Brian Gladman fileenc.c
26   * derived from CryptoJS.mode.CTR
27   * Jan Hruby [email protected]
28   *)
29  (*!
30   * cookie
31   * Copyright(c) 2012-2014 Roman Shtylman
32   * Copyright(c) 2015 Douglas Christopher Wilson
33   * MIT Licensed
34   *)
35  (*!VERSION=3.6.2*)
36*/

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.