douxiaoyun.js/profiles/douyin-profile/Default/Cache/Cache_Data/f_00045c
2026-07-17 22:23:39 +08:00

2 lines
301 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see 28872.4c6860bc.js.LICENSE.txt */
(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["28872"],{730788:function(e,t,r){"use strict";r.d(t,{Request:function(){return T}});var n=r("183652"),i=r.n(n),o=r("448226");let s={web:{respHandler:e=>(null==e?void 0:e.message)==="success",successCallBack:e=>null==e?void 0:e.data,failCallBack:e=>null==e?void 0:e.data},sso:{respHandler:e=>(null==e?void 0:e.error_code)===0||(null==e?void 0:e.message)==="success",successCallBack:e=>(null==e?void 0:e.message)==="success"?e.data:e,failCallBack:e=>e},app:{},auth:{respHandler:e=>(null==e?void 0:e.status_code)===0,successCallBack:e=>e.data,failCallBack:e=>e}},a=(e,t)=>{var r,n,i,a,u,c,l,h;let{account_sdk_source:d}=e.config.params,f=s[d],p=(null==f?void 0:f.respHandler)||(e=>(null==e?void 0:e.message)==="success"),v=(null==f?void 0:f.successCallBack)||(e=>null==e?void 0:e.data),m=(null==f?void 0:f.failCallBack)||(e=>null==e?void 0:e.data),_=(null==e?void 0:null==(r=e.config)?void 0:r.url)||"",y=(null==e?void 0:null==(n=e.headers)?void 0:n["x-tt-logid"])||"",g=(null==e?void 0:e.data)||{},b=(null==t?void 0:t.printLog)||!1,E=null==e?void 0:null==(i=e.config)?void 0:i.startTime;if("string"==typeof g)try{g=JSON.parse(g)}catch(e){}return p(g)?(b&&(0,o.Jz)(`call ${_} result >>>>`,{"%cSUCCESS":v(g),"%cLogid":y}),Promise.resolve({...v(g)||{},log_id:y,rawData:e,respHeader:null==e?void 0:e.headers,middlewareHandlerLog:[...(null==e?void 0:null==(h=e.config)?void 0:h.middlewareHandlerLog)||[],{name:"request",time:Date.now()-E,endTime:Date.now(),startTime:E,errorCode:0,logid:y}]})):(b&&(0,o.Jz)(`call ${_} result >>>>`,{"%cERROR":m(g),"%cLogid":y}),Promise.reject({...m(g)||{},log_id:y,originConfig:{...null==e?void 0:e.config,middlewareHandlerLog:[...(null==e?void 0:null==(a=e.config)?void 0:a.middlewareHandlerLog)||[],{name:"request",time:Date.now()-E,endTime:Date.now(),startTime:E,errorCode:(null==g?void 0:null==(u=g.data)?void 0:u.error_code)||(null==g?void 0:g.error_code)||"-998",logid:y}]},middlewareHandlerLog:[...(null==e?void 0:null==(c=e.config)?void 0:c.middlewareHandlerLog)||[],{name:"request",time:Date.now()-E,endTime:Date.now(),startTime:E,errorCode:(null==g?void 0:null==(l=g.data)?void 0:l.error_code)||(null==g?void 0:g.error_code)||"-998",logid:y}],rawData:e,respHeader:null==e?void 0:e.headers}))},u=(e,t)=>{var r,n,i,s,a,u,c;let l=(null==e?void 0:null==(r=e.config)?void 0:r.url)||"",h=(null==e?void 0:null==(i=e.response)?void 0:null==(n=i.headers)?void 0:n["x-tt-logid"])||"unknown",d=(null==t?void 0:t.printLog)||!1,f=null==e?void 0:null==(s=e.config)?void 0:s.startTime;return d&&(0,o.Jz)(`call ${l} result >>>>`,{"%cERROR":"HTTP ERROR","%cLogid":h}),Promise.reject({error_code:e.code,description:e.message,is_network_error:!0,log_id:h,originConfig:{...null==e?void 0:e.config,middlewareHandlerLog:[...(null==e?void 0:null==(a=e.config)?void 0:a.middlewareHandlerLog)||[],{name:"request",time:Date.now()-f,endTime:Date.now(),startTime:f,errorCode:e.code||"-999",logid:h}]},middlewareHandlerLog:[...(null==e?void 0:null==(u=e.config)?void 0:u.middlewareHandlerLog)||[],{name:"request",time:Date.now()-f,endTime:Date.now(),startTime:f,errorCode:e.code||"-999",logid:h}],rawData:e,respHeader:null==e?void 0:null==(c=e.response)?void 0:c.headers})},c=async(e,t)=>{var r,n;let i=(null==t?void 0:t.printLog)||!1,s=(null==t?void 0:t.appKey)||"",a=null==e?void 0:e.url,u=(null==e?void 0:e.method)||"get",c=(null==e?void 0:e.data)||{},l=(null==e?void 0:e.params)||{},h=Object.assign({"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json, text/javascript"},{"x-tt-passport-csrf-token":(0,o.ej)("passport_csrf_token")||(0,o.ej)("passport_csrf_token_default")||""},e.headers||{});if(e.headers=h,i&&(0,o.Jz)(`${u} ${a} >>>>`,{"%cdata >>>>":c,"%cparams >>>>":l}),(null==(r=e.params)?void 0:r.isResend)||(null==(n=e.params)?void 0:n.auto_retry_req)){let{isResend:t,...r}=e.params;return{...e,params:r,startTime:Date.now()}}let d={};if(Object.keys(c).filter(e=>void 0!==c[e]).forEach(e=>{d[e]=c[e]}),["post","POST"].includes(u)){let t={...(null==e?void 0:e.params)||{}},r=(0,o.uF)(t,d,s);e.params={...t,...r},(0,o.hp)(c)?e.data=c:e.data=(0,o.IC)(d)}if(["get","GET"].includes(u)){let t={...d,...e.params},r=(0,o.uF)(t,{},s);e.params={...t,...r}}return{...e,startTime:Date.now()}},l=async(e,t)=>{var r;let n=(null==e?void 0:e.params)||{},{aid:i,language:o="zh",generalParams:s={},getGeneralParams:a}=t,u={};if(a)try{u=await a()}catch(e){}return e.params={passport_jssdk_version:"5.1.2",passport_jssdk_type:"lite",is_from_ttaccountsdk:1,aid:i,language:o,account_app_language:null==(r=navigator)?void 0:r.language,...n,...s,...u},Promise.resolve(e)},h=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",n=arguments.length>3?arguments[3]:void 0;document.cookie=`${e}=${t};path=${r};domain=${n||window.location.hostname}`},d=()=>{try{let e="",t=document.location.hostname,r=t.split(".");if(/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/.test(t)||"localhost"===t){let e=document.location.hostname;return e.replace(/^.*?\b\.\b/,"")}let n=[];for(n.unshift(r.pop());n.length<2;)n.unshift(r.pop()),e=n.join(".");return e||document.location.hostname}catch(e){return document.location.hostname}};function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class p{getUUID(){let e=new Date().getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx".replace(/[xy]/g,r=>{let n=16*Math.random();return e>0?(n=(e+n)%16|0,e=Math.floor(e/16)):(n=(t+n)%16|0,t=Math.floor(t/16)),("x"===r?n:3&n|8).toString(16)})}getTraceId(){return this.getUUID().replace(/-/g,"")}start(){this.enable=!0}stop(){this.enable=!1}constructor(e){f(this,"traceID",void 0),f(this,"enable",!1),this.traceID=this.getTraceId(),this.enable=!!(null==e?void 0:e.autoTrace)}}let v=e=>t=>((null==e?void 0:e.enable)?(h("biz_trace_id",e.traceID||"","/",d()),t.headers={...t.headers||{},"x-tt-passport-trace-id":e.traceID||""},t.params={...t.params||{},biz_trace_id:e.traceID||""}):h("biz_trace_id","","/",d()),t),m=function(e,t){let{host:r,isBoe:n,axiosConfig:o,requestInterceptors:s,responseInterceptors:h}=e,d=i().create({withCredentials:!0,...o,xsrfCookieName:"passport_csrf_token",xsrfHeaderName:"x-tt-passport-csrf-token",baseURL:r||window&&`${n?window.location.protocol:"https:"}//${window.location.hostname}`});return d.interceptors.request.use(t=>c(t,e),void 0),d.interceptors.request.use(t=>l(t,e),void 0),d.interceptors.request.use(v(t)),s&&Array.isArray(s)&&s.forEach(e=>{d.interceptors.request.use(t=>e(t),void 0)}),h&&Array.isArray(h)&&h.forEach(e=>{d.interceptors.response.use(t=>e(t),t=>e(t))}),d.interceptors.response.use(t=>a(t,e),t=>u(t,e)),d},_=(e,t)=>{var r,n;let i=(null==e?void 0:null==(r=e.config)?void 0:r.url)||"",s=(null==e?void 0:null==(n=e.headers)?void 0:n["x-tt-logid"])||"",a=function(e){var t,r;let n=(null==e?void 0:null==(r=e.data)?void 0:null==(t=r.data)?void 0:t.response)||(null==e?void 0:e.data)||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(e){}return n}(e),u=(null==t?void 0:t.printLog)||!1;return(null==a?void 0:a.message)==="success"?(u&&(0,o.Jz)(`call ${i} result >>>>`,{SUCCESS:a.data,Logid:s},!1),Promise.resolve({...a.data||{},log_id:s})):(u&&(0,o.Jz)(`call ${i} result >>>>`,{ERROR:a.data,Logid:s},!1),Promise.reject({...a.data,log_id:s,originConfig:e.config}))};var y=r("642440"),g=r.n(y);let b=e=>function(t){let{baseURL:r,url:n,method:i="GET",params:s={},data:a={}}=t,u=null==e?void 0:e.fetch,c=(null==e?void 0:e.printLog)||!1,l=g().isValid(n)?n:r+n;return c&&(0,o.Jz)(`${i} ${l} >>>>`,{"data >>>>":a,"params >>>>":s},!1),u({url:l,method:i.toUpperCase(),params:{...s,is_native_h5:1},data:a,needCommonParams:!0,header:{"x-tt-passport-csrf-token":(0,o.ej)("passport_csrf_token")||(0,o.ej)("passport_csrf_token_default")||""}}).then(e=>({data:e,status:200,statusText:"ok",config:t}))},E=function(e,t){let{host:r,isBoe:n=!1,axiosConfig:o}=e,s=i().create({withCredentials:!0,...o,baseURL:r||window&&`${n?"http":"https"}://${window.location.hostname}`,adapter:b(e),transformRequest:[e=>{let t=e;if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}return t}]});return s.interceptors.response.use(t=>_(t,e),void 0),s.interceptors.request.use(v(t)),s},{hmac:w}=r("164943").sha256;function O(e,t){return w(e,t)}let S=(e,t,r)=>`aid=${e}&path=${t}&ts=${r}`,P=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.hostname;return 0===e.indexOf("/passport")||-1===t.indexOf("sso")?e:`/passport/sso${e}`},C=e=>{let{appKey:t,aid:r,host:n}=e,i=new TextEncoder;return e=>{if(!t||!r)return Promise.resolve(e);try{var s,a;let{url:u=""}=e;u=String(u).split("?")[0];let c=P(u,n),l=new Date,h=Date.UTC(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate(),12,0,0,0),d=String(h/1e3),f=i.encode(d),p=i.encode(t),v=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:32;return function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:32,n=new Uint8Array,i="",s=0;for(;n.length<r;){var a;s++;let r=Uint8Array.from([...Array.from(Uint8Array.from((0,o.GZ)(i))),...Array.from(t),s]);a=(0,o.GZ)(e),i=w(a,r),n=Uint8Array.from([...Array.from(n),...Array.from(Uint8Array.from((0,o.GZ)(i)))])}return Uint8Array.from(n.slice(0,r))}(function(e,t){return(!e||0===e.length)&&(e=new Uint8Array(32)),w(e,t)}(e,t),r,n)}(f,p,new Uint8Array,32),m=S(r,c,d);let _=(s=v,a=m,w(s,a));return!e.headers&&(e.headers={}),e.headers["x-tt-passport-aid-sign"]=_,e.params={ts:d,...e.params||{}},Promise.resolve(e)}catch(t){return Promise.resolve(e)}}};class T{constructor(e){let{autoTrace:t=!0}=e,r=e.traceInstance||new p({autoTrace:t}),n=(null==e?void 0:e.fetch)?E(e,r):m(e,r);return n.trace=r,n.interceptors.request.use(C(e)),n}}},448226:function(e,t,r){"use strict";r.d(t,{GZ:function(){return d},HI:function(){return c},IC:function(){return a},Jz:function(){return s},ej:function(){return i},hp:function(){return o},uF:function(){return h}});var n=r(164943);function i(e){let t;let r=RegExp(`(^| )${e}=([^;]*)(;|$)`);return(t=document.cookie.match(r))?unescape(t[2]):""}function o(e){return"undefined"!=typeof FormData&&e instanceof FormData}function s(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];t&&Object.keys(t).forEach(e=>{})}function a(e){return Object.keys(e).map(t=>{let r=e[t];return"object"==typeof r?`${encodeURIComponent(t)}=${encodeURIComponent(JSON.stringify(r))}`:`${encodeURIComponent(t)}=${encodeURIComponent(r)}`}).join("&")}let u=e=>{let t;let r=e.toString(),n=[];for(let e=0;e<r.length;e++)0<=(t=r.charCodeAt(e))&&t<=127?n.push(t):128<=t&&t<=2047?(n.push(192|31&t>>6),n.push(128|63&t)):(2048<=t&&t<=55295||57344<=t&&t<=65535)&&(n.push(224|15&t>>12),n.push(128|63&t>>6),n.push(128|63&t));for(let e=0;e<n.length;e++)n[e]&=255;return n},c=e=>{let t=[],r=[];if(void 0===e)return"";r=u(e);for(let e=0,{length:n}=r;e<n;++e)t.push((5^r[e]).toString(16));return t.join("")},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=Object.keys(e).sort()||[];return t>=0&&r.splice(t),{str:r.map(t=>{let r=e[t];return"object"==typeof r?`${t}=${JSON.stringify(r)}`:`${t}=${r}`}).join("&"),arr:r}},h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!r)return{};let{str:i="",arr:o=[]}=l(e,10),{str:s=""}=l(t),a=`${i}&${s}&app_key=${r}`,u=(0,n.sha256)(a);return{sign:u,qs:c(o.join(","))}},d=e=>Uint8Array.from((e.match(/.{1,2}/g)||[]).map(e=>parseInt(e,16)))},809315:function(e){var t,r;t=self,r=function(){return function(){var e={693:function(e,t,r){var n,i,o,s,a,u,c,l,h,d,f,p,v,m,_;e.exports=(n=r(353),r(164),r(383),r(770),r(237),i=n.lib.BlockCipher,o=n.algo,s=[],a=[],u=[],c=[],l=[],h=[],d=[],f=[],p=[],v=[],function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var i=n^n<<1^n<<2^n<<3^n<<4;i=i>>>8^255&i^99,s[r]=i,a[i]=r;var o=e[r],m=e[o],_=e[m],y=257*e[i]^16843008*i;u[r]=y<<24|y>>>8,c[r]=y<<16|y>>>16,l[r]=y<<8|y>>>24,h[r]=y,y=16843009*_^65537*m^257*o^16843008*r,d[i]=y<<24|y>>>8,f[i]=y<<16|y>>>16,p[i]=y<<8|y>>>24,v[i]=y,r?(r=o^e[e[e[_^o]]],n^=e[e[n]]):r=n=1}}(),m=[0,1,2,4,8,16,32,64,128,27,54],_=o.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],o=0;o<n;o++)o<r?i[o]=t[o]:(c=i[o-1],o%r?r>6&&o%r==4&&(c=s[c>>>24]<<24|s[c>>>16&255]<<16|s[c>>>8&255]<<8|s[255&c]):c=(s[(c=c<<8|c>>>24)>>>24]<<24|s[c>>>16&255]<<16|s[c>>>8&255]<<8|s[255&c])^m[o/r|0]<<24,i[o]=i[o-r]^c);for(var a=this._invKeySchedule=[],u=0;u<n;u++){if(o=n-u,u%4)var c=i[o];else c=i[o-4];a[u]=u<4||o<=4?c:d[s[c>>>24]]^f[s[c>>>16&255]]^p[s[c>>>8&255]]^v[s[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,u,c,l,h,s)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,d,f,p,v,a),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,o,s,a){for(var u=this._nRounds,c=e[t]^r[0],l=e[t+1]^r[1],h=e[t+2]^r[2],d=e[t+3]^r[3],f=4,p=1;p<u;p++){var v=n[c>>>24]^i[l>>>16&255]^o[h>>>8&255]^s[255&d]^r[f++],m=n[l>>>24]^i[h>>>16&255]^o[d>>>8&255]^s[255&c]^r[f++],_=n[h>>>24]^i[d>>>16&255]^o[c>>>8&255]^s[255&l]^r[f++],y=n[d>>>24]^i[c>>>16&255]^o[l>>>8&255]^s[255&h]^r[f++];c=v,l=m,h=_,d=y}v=(a[c>>>24]<<24|a[l>>>16&255]<<16|a[h>>>8&255]<<8|a[255&d])^r[f++],m=(a[l>>>24]<<24|a[h>>>16&255]<<16|a[d>>>8&255]<<8|a[255&c])^r[f++],_=(a[h>>>24]<<24|a[d>>>16&255]<<16|a[c>>>8&255]<<8|a[255&l])^r[f++],y=(a[d>>>24]<<24|a[c>>>16&255]<<16|a[l>>>8&255]<<8|a[255&h])^r[f++],e[t]=v,e[t+1]=m,e[t+2]=_,e[t+3]=y},keySize:8}),n.AES=i._createHelper(_),n.AES)},650:function(e,t,r){var n;e.exports=(n=r(353),r(164),r(383),r(770),r(237),function(){var e=n.lib.BlockCipher,t=n.algo,r=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],i=[[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]],o={pbox:[],sbox:[]};function s(e,t){var r=e.sbox[0][t>>24&255]+e.sbox[1][t>>16&255];return(r^=e.sbox[2][t>>8&255])+e.sbox[3][255&t]}function a(e,t,r){for(var n,i=t,o=r,a=0;a<16;++a)n=i^=e.pbox[a],i=o=s(e,i)^o,o=n;return n=i,i=o,o=n^e.pbox[16],{left:i^=e.pbox[17],right:o}}var u=t.Blowfish=e.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key;!function(e,t,n){for(var o=0;o<4;o++){e.sbox[o]=[];for(var s=0;s<256;s++)e.sbox[o][s]=i[o][s]}for(var u=0,c=0;c<18;c++)e.pbox[c]=r[c]^t[u],++u>=n&&(u=0);for(var l=0,h=0,d=0,f=0;f<18;f+=2)l=(d=a(e,l,h)).left,h=d.right,e.pbox[f]=l,e.pbox[f+1]=h;for(var p=0;p<4;p++)for(var v=0;v<256;v+=2)l=(d=a(e,l,h)).left,h=d.right,e.sbox[p][v]=l,e.sbox[p][v+1]=h}(o,e.words,e.sigBytes/4)}},encryptBlock:function(e,t){var r=a(o,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=function(e,t,r){for(var n,i=t,o=r,a=17;a>1;--a)n=i^=e.pbox[a],i=o=s(e,i)^o,o=n;return n=i,i=o,o=n^e.pbox[1],{left:i^=e.pbox[0],right:o}}(o,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});n.Blowfish=e._createHelper(u)}(),n.Blowfish)},237:function(e,t,r){var n,i,o,s,a,u,c,l,h,d,f,p,v,m,_,y,g,b;e.exports=(n=r(353),r(770),void(n.lib.Cipher||(o=(i=n.lib).Base,s=i.WordArray,a=i.BufferedBlockAlgorithm,(u=n.enc).Utf8,c=u.Base64,l=n.algo.EvpKDF,h=i.Cipher=a.extend({cfg:o.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:y}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()}),i.StreamCipher=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),d=n.mode={},f=i.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=d.CBC=function(){var e=f.extend();function t(e,t,r){var n,i=this._iv;i?(n=i,this._iv=void 0):n=this._prevBlock;for(var o=0;o<r;o++)e[t+o]^=n[o]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize;t.call(this,e,r,i),n.encryptBlock(e,r),this._prevBlock=e.slice(r,r+i)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=e.slice(r,r+i);n.decryptBlock(e,r),t.call(this,e,r,i),this._prevBlock=o}}),e}(),v=(n.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,o=[],a=0;a<n;a+=4)o.push(i);var u=s.create(o,n);e.concat(u)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:v}),reset:function(){h.reset.call(this);var e,t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),m=i.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),_=(n.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?s.create([1398893684,1701076831]).concat(r).concat(t):t).toString(c)},parse:function(e){var t,r=c.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=s.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),m.create({ciphertext:r,salt:t})}},y=i.SerializableCipher=o.extend({cfg:o.extend({format:_}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),o=i.finalize(t),s=i.cfg;return m.create({ciphertext:o,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),g=(n.kdf={}).OpenSSL={execute:function(e,t,r,n,i){if(n||(n=s.random(8)),i)o=l.create({keySize:t+r,hasher:i}).compute(e,n);else var o=l.create({keySize:t+r}).compute(e,n);var a=s.create(o.words.slice(t),4*r);return o.sigBytes=4*t,m.create({key:o,iv:a,salt:n})}},b=i.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:g}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=i.iv;var o=y.encrypt.call(this,e,t,i.key,n);return o.mixIn(i),o},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=i.iv,y.decrypt.call(this,e,t,i.key,n)}}))))},353:function(e,t,r){var n;e.exports=n||function(e){if("undefined"!=typeof window&&window.crypto&&(t=window.crypto),"undefined"!=typeof self&&self.crypto&&(t=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(t=globalThis.crypto),!t&&"undefined"!=typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&void 0!==r.g&&r.g.crypto&&(t=r.g.crypto),!t)try{t=r(54)}catch(e){}var t,n=function(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),o={},s=o.lib={},a=s.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=s.WordArray=a.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var s=r[o>>>2]>>>24-o%4*8&255;t[n+o>>>2]|=s<<24-(n+o)%4*8}else for(var a=0;a<i;a+=4)t[n+a>>>2]=r[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(n());return new u.init(t,e)}}),c=o.enc={},l=c.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new u.init(r,t/2)}},h=c.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new u.init(r,t)}},d=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},f=s.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,o=n.sigBytes,s=this.blockSize,a=o/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,l=e.min(4*c,o);if(c){for(var h=0;h<c;h+=s)this._doProcessBlock(i,h);r=i.splice(0,c),n.sigBytes-=l}return new u.init(r,l)},clone:function(){var e=a.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),p=(s.Hasher=f.extend({cfg:a.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new p.HMAC.init(e,r).finalize(t)}}}),o.algo={});return o}(Math)},164:function(e,t,r){var n,i;e.exports=(i=(n=r(353)).lib.WordArray,n.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var s=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a<r;a++)i.push(n.charAt(s>>>6*(3-a)&63));var u=n.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<r.length;o++)n[r.charCodeAt(o)]=o}var s=r.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,r){for(var n=[],o=0,s=0;s<t;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;n[o>>>2]|=a<<24-o%4*8,o++}return i.create(n,o)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)},661:function(e,t,r){var n,i;e.exports=(i=(n=r(353)).lib.WordArray,n.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var o=[],s=0;s<n;s+=3)for(var a=(r[s>>>2]>>>24-s%4*8&255)<<16|(r[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|r[s+2>>>2]>>>24-(s+2)%4*8&255,u=0;u<4&&s+.75*u<n;u++)o.push(i.charAt(a>>>6*(3-u)&63));var c=i.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,n=t?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var s=0;s<n.length;s++)o[n.charCodeAt(s)]=s}var a=n.charAt(64);if(a){var u=e.indexOf(a);-1!==u&&(r=u)}return function(e,t,r){for(var n=[],o=0,s=0;s<t;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;n[o>>>2]|=a<<24-o%4*8,o++}return i.create(n,o)}(e,r,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},n.enc.Base64url)},248:function(e,t,r){e.exports=r(353).enc.Hex},420:function(e,t,r){var n;e.exports=(n=r(353),function(){var e=n.lib.WordArray,t=n.enc;function r(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var o=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(o))}return n.join("")},parse:function(t){for(var r=t.length,n=[],i=0;i<r;i++)n[i>>>1]|=t.charCodeAt(i)<<16-i%2*16;return e.create(n,2*r)}},t.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],o=0;o<n;o+=2){var s=r(t[o>>>2]>>>16-o%4*8&65535);i.push(String.fromCharCode(s))}return i.join("")},parse:function(t){for(var n=t.length,i=[],o=0;o<n;o++)i[o>>>1]|=r(t.charCodeAt(o)<<16-o%2*16);return e.create(i,2*n)}}}(),n.enc.Utf16)},770:function(e,t,r){var n,i,o,s,a,u,c;e.exports=(c=r(353),r(545),r(658),i=(n=c.lib).Base,o=n.WordArray,a=(s=c.algo).MD5,u=s.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,i=n.hasher.create(),s=o.create(),a=s.words,u=n.keySize,c=n.iterations;a.length<u;){r&&i.update(r),r=i.update(e).finalize(t),i.reset();for(var l=1;l<c;l++)r=i.finalize(r),i.reset();s.concat(r)}return s.sigBytes=4*u,s}}),c.EvpKDF=function(e,t,r){return u.create(r).compute(e,t)},c.EvpKDF)},588:function(e,t,r){var n,i,o;e.exports=(o=r(353),r(237),n=o.lib.CipherParams,i=o.enc.Hex,o.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return n.create({ciphertext:t})}},o.format.Hex)},658:function(e,t,r){var n,i,o;e.exports=(i=(n=r(353)).lib.Base,o=n.enc.Utf8,void(n.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),s=this._iKey=t.clone(),a=i.words,u=s.words,c=0;c<r;c++)a[c]^=1549556828,u[c]^=909522486;i.sigBytes=s.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))},553:function(e,t,r){var n;e.exports=(n=r(353),r(246),r(190),r(420),r(164),r(661),r(383),r(545),r(546),r(111),r(70),r(881),r(21),r(786),r(658),r(706),r(770),r(237),r(239),r(415),r(343),r(924),r(670),r(198),r(921),r(73),r(939),r(61),r(588),r(693),r(265),r(900),r(114),r(359),r(650),n)},190:function(e,t,r){var n;e.exports=(n=r(353),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],i=0;i<r;i++)n[i>>>2]|=e[i]<<24-i%4*8;t.call(this,n,r)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)},383:function(e,t,r){var n;e.exports=(n=r(353),function(e){var t=n.lib,r=t.WordArray,i=t.Hasher,o=n.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var a=o.MD5=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],d=e[t+1],f=e[t+2],p=e[t+3],v=e[t+4],m=e[t+5],_=e[t+6],y=e[t+7],g=e[t+8],b=e[t+9],E=e[t+10],w=e[t+11],O=e[t+12],S=e[t+13],P=e[t+14],C=e[t+15],T=o[0],I=o[1],L=o[2],A=o[3];T=u(T,I,L,A,a,7,s[0]),A=u(A,T,I,L,d,12,s[1]),L=u(L,A,T,I,f,17,s[2]),I=u(I,L,A,T,p,22,s[3]),T=u(T,I,L,A,v,7,s[4]),A=u(A,T,I,L,m,12,s[5]),L=u(L,A,T,I,_,17,s[6]),I=u(I,L,A,T,y,22,s[7]),T=u(T,I,L,A,g,7,s[8]),A=u(A,T,I,L,b,12,s[9]),L=u(L,A,T,I,E,17,s[10]),I=u(I,L,A,T,w,22,s[11]),T=u(T,I,L,A,O,7,s[12]),A=u(A,T,I,L,S,12,s[13]),L=u(L,A,T,I,P,17,s[14]),T=c(T,I=u(I,L,A,T,C,22,s[15]),L,A,d,5,s[16]),A=c(A,T,I,L,_,9,s[17]),L=c(L,A,T,I,w,14,s[18]),I=c(I,L,A,T,a,20,s[19]),T=c(T,I,L,A,m,5,s[20]),A=c(A,T,I,L,E,9,s[21]),L=c(L,A,T,I,C,14,s[22]),I=c(I,L,A,T,v,20,s[23]),T=c(T,I,L,A,b,5,s[24]),A=c(A,T,I,L,P,9,s[25]),L=c(L,A,T,I,p,14,s[26]),I=c(I,L,A,T,g,20,s[27]),T=c(T,I,L,A,S,5,s[28]),A=c(A,T,I,L,f,9,s[29]),L=c(L,A,T,I,y,14,s[30]),T=l(T,I=c(I,L,A,T,O,20,s[31]),L,A,m,4,s[32]),A=l(A,T,I,L,g,11,s[33]),L=l(L,A,T,I,w,16,s[34]),I=l(I,L,A,T,P,23,s[35]),T=l(T,I,L,A,d,4,s[36]),A=l(A,T,I,L,v,11,s[37]),L=l(L,A,T,I,y,16,s[38]),I=l(I,L,A,T,E,23,s[39]),T=l(T,I,L,A,S,4,s[40]),A=l(A,T,I,L,a,11,s[41]),L=l(L,A,T,I,p,16,s[42]),I=l(I,L,A,T,_,23,s[43]),T=l(T,I,L,A,b,4,s[44]),A=l(A,T,I,L,O,11,s[45]),L=l(L,A,T,I,C,16,s[46]),T=h(T,I=l(I,L,A,T,f,23,s[47]),L,A,a,6,s[48]),A=h(A,T,I,L,y,10,s[49]),L=h(L,A,T,I,P,15,s[50]),I=h(I,L,A,T,m,21,s[51]),T=h(T,I,L,A,O,6,s[52]),A=h(A,T,I,L,p,10,s[53]),L=h(L,A,T,I,E,15,s[54]),I=h(I,L,A,T,d,21,s[55]),T=h(T,I,L,A,g,6,s[56]),A=h(A,T,I,L,C,10,s[57]),L=h(L,A,T,I,_,15,s[58]),I=h(I,L,A,T,S,21,s[59]),T=h(T,I,L,A,v,6,s[60]),A=h(A,T,I,L,w,10,s[61]),L=h(L,A,T,I,f,15,s[62]),I=h(I,L,A,T,b,21,s[63]),o[0]=o[0]+T|0,o[1]=o[1]+I|0,o[2]=o[2]+L|0,o[3]=o[3]+A|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32;var o=e.floor(n/4294967296);r[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),r[14+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,a=s.words,u=0;u<4;u++){var c=a[u];a[u]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,i,o,s){var a=e+(t&r|~t&n)+i+s;return(a<<o|a>>>32-o)+t}function c(e,t,r,n,i,o,s){var a=e+(t&n|r&~n)+i+s;return(a<<o|a>>>32-o)+t}function l(e,t,r,n,i,o,s){var a=e+(t^r^n)+i+s;return(a<<o|a>>>32-o)+t}function h(e,t,r,n,i,o,s){var a=e+(r^(t|~n))+i+s;return(a<<o|a>>>32-o)+t}n.MD5=i._createHelper(a),n.HmacMD5=i._createHmacHelper(a)}(Math),n.MD5)},239:function(e,t,r){var n;e.exports=(n=r(353),r(237),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,r,n){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,n.encryptBlock(i,0);for(var s=0;s<r;s++)e[t+s]^=i[s]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize;t.call(this,e,r,i,n),this._prevBlock=e.slice(r,r+i)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=e.slice(r,r+i);t.call(this,e,r,i,n),this._prevBlock=o}}),e}(),n.mode.CFB)},343:function(e,t,r){var n;e.exports=(n=r(353),r(237),n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){if(255&~(e>>24))e+=16777216;else{var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0+(t<<16)+(r<<8)+n}return e}var r=e.Encryptor=e.extend({processBlock:function(e,r){var n,i=this._cipher,o=i.blockSize,s=this._iv,a=this._counter;s&&(a=this._counter=s.slice(0),this._iv=void 0),0===((n=a)[0]=t(n[0]))&&(n[1]=t(n[1]));var u=a.slice(0);i.encryptBlock(u,0);for(var c=0;c<o;c++)e[r+c]^=u[c]}});return e.Decryptor=r,e}(),n.mode.CTRGladman)},415:function(e,t,r){var n,i,o;e.exports=(o=r(353),r(237),o.mode.CTR=(i=(n=o.lib.BlockCipherMode.extend()).Encryptor=n.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var s=o.slice(0);r.encryptBlock(s,0),o[n-1]=o[n-1]+1|0;for(var a=0;a<n;a++)e[t+a]^=s[a]}}),n.Decryptor=i,n),o.mode.CTR)},670:function(e,t,r){var n,i;e.exports=(i=r(353),r(237),i.mode.ECB=((n=i.lib.BlockCipherMode.extend()).Encryptor=n.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),n.Decryptor=n.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),n),i.mode.ECB)},924:function(e,t,r){var n,i,o;e.exports=(o=r(353),r(237),o.mode.OFB=(i=(n=o.lib.BlockCipherMode.extend()).Encryptor=n.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(o,0);for(var s=0;s<n;s++)e[t+s]^=o[s]}}),n.Decryptor=i,n),o.mode.OFB)},198:function(e,t,r){var n;e.exports=(n=r(353),r(237),n.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,i=n-r%n,o=r+i-1;e.clamp(),e.words[o>>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)},921:function(e,t,r){var n;e.exports=(n=r(353),r(237),n.pad.Iso10126={pad:function(e,t){var r=4*t,i=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(i-1)).concat(n.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},73:function(e,t,r){var n;e.exports=(n=r(353),r(237),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},61:function(e,t,r){var n;e.exports=(n=r(353),r(237),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},939:function(e,t,r){var n;e.exports=(n=r(353),r(237),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},n.pad.ZeroPadding)},706:function(e,t,r){var n,i,o,s,a,u,c,l;e.exports=(l=r(353),r(546),r(658),i=(n=l.lib).Base,o=n.WordArray,a=(s=l.algo).SHA256,u=s.HMAC,c=s.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=u.create(r.hasher,e),i=o.create(),s=o.create([1]),a=i.words,c=s.words,l=r.keySize,h=r.iterations;a.length<l;){var d=n.update(t).finalize(s);n.reset();for(var f=d.words,p=f.length,v=d,m=1;m<h;m++){v=n.finalize(v),n.reset();for(var _=v.words,y=0;y<p;y++)f[y]^=_[y]}i.concat(d),c[0]++}return i.sigBytes=4*l,i}}),l.PBKDF2=function(e,t,r){return c.create(r).compute(e,t)},l.PBKDF2)},359:function(e,t,r){var n;e.exports=(n=r(353),r(164),r(383),r(770),r(237),function(){var e=n.lib.StreamCipher,t=n.algo,r=[],i=[],o=[],s=t.RabbitLegacy=e.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)a.call(this);for(i=0;i<8;i++)n[i]^=r[i+4&7];if(t){var o=t.words,s=o[0],u=o[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),h=c>>>16|4294901760&l,d=l<<16|65535&c;for(n[0]^=c,n[1]^=h,n[2]^=l,n[3]^=d,n[4]^=c,n[5]^=h,n[6]^=l,n[7]^=d,i=0;i<4;i++)a.call(this)}},_doProcessBlock:function(e,t){var n=this._X;a.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)r[i]=16711935&(r[i]<<8|r[i]>>>24)|4278255360&(r[i]<<24|r[i]>>>8),e[t+i]^=r[i]},blockSize:4,ivSize:2});function a(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],s=65535&n,a=n>>>16,u=((s*s>>>17)+s*a>>>15)+a*a,c=((4294901760&n)*n|0)+((65535&n)*n|0);o[r]=u^c}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}n.RabbitLegacy=e._createHelper(s)}(),n.RabbitLegacy)},114:function(e,t,r){var n;e.exports=(n=r(353),r(164),r(383),r(770),r(237),function(){var e=n.lib.StreamCipher,t=n.algo,r=[],i=[],o=[],s=t.Rabbit=e.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)a.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var o=t.words,s=o[0],u=o[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),h=c>>>16|4294901760&l,d=l<<16|65535&c;for(i[0]^=c,i[1]^=h,i[2]^=l,i[3]^=d,i[4]^=c,i[5]^=h,i[6]^=l,i[7]^=d,r=0;r<4;r++)a.call(this)}},_doProcessBlock:function(e,t){var n=this._X;a.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)r[i]=16711935&(r[i]<<8|r[i]>>>24)|4278255360&(r[i]<<24|r[i]>>>8),e[t+i]^=r[i]},blockSize:4,ivSize:2});function a(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],s=65535&n,a=n>>>16,u=((s*s>>>17)+s*a>>>15)+a*a,c=((4294901760&n)*n|0)+((65535&n)*n|0);o[r]=u^c}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}n.Rabbit=e._createHelper(s)}(),n.Rabbit)},900:function(e,t,r){var n;e.exports=(n=r(353),r(164),r(383),r(770),r(237),function(){var e=n.lib.StreamCipher,t=n.algo,r=t.RC4=e.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var o=0;i<256;i++){var s=i%r,a=t[s>>>2]>>>24-s%4*8&255;o=(o+n[i]+a)%256;var u=n[i];n[i]=n[o],n[o]=u}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){r=(r+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[r],e[r]=o,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}n.RC4=e._createHelper(r);var o=t.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});n.RC4Drop=e._createHelper(o)}(),n.RC4)},786:function(e,t,r){var n;e.exports=(n=r(353),function(){var e=n.lib,t=e.WordArray,r=e.Hasher,i=n.algo,o=t.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]),s=t.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]),a=t.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]),u=t.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]),c=t.create([0,1518500249,1859775393,2400959708,2840853838]),l=t.create([1352829926,1548603684,1836072691,2053994217,0]),h=i.RIPEMD160=r.extend({_doReset:function(){this._hash=t.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var h,d,f,p,v,m,y,g,b,E,w,O=this._hash.words,S=c.words,P=l.words,C=o.words,T=s.words,I=a.words,L=u.words;for(m=h=O[0],y=d=O[1],g=f=O[2],b=p=O[3],E=v=O[4],r=0;r<80;r+=1)w=(w=_(w=(h+e[t+C[r]]|0)+(r<16?function(e,t,r){return e^t^r}(d,f,p)+S[0]:r<32?function(e,t,r){return e&t|~e&r}(d,f,p)+S[1]:r<48?function(e,t,r){return(e|~t)^r}(d,f,p)+S[2]:r<64?function(e,t,r){return e&r|t&~r}(d,f,p)+S[3]:function(e,t,r){return e^(t|~r)}(d,f,p)+S[4])|0,I[r]))+v|0,h=v,v=p,p=_(f,10),f=d,d=w,w=(w=_(w=(m+e[t+T[r]]|0)+(r<16?function(e,t,r){return e^(t|~r)}(y,g,b)+P[0]:r<32?function(e,t,r){return e&r|t&~r}(y,g,b)+P[1]:r<48?function(e,t,r){return(e|~t)^r}(y,g,b)+P[2]:r<64?function(e,t,r){return e&t|~e&r}(y,g,b)+P[3]:function(e,t,r){return e^t^r}(y,g,b)+P[4])|0,L[r]))+E|0,m=E,E=b,b=_(g,10),g=y,y=w;w=O[1]+f+b|0,O[1]=O[2]+p+E|0,O[2]=O[3]+v+m|0,O[3]=O[4]+h+y|0,O[4]=O[0]+d+g|0,O[0]=w},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});function d(e,t,r){return e^t^r}function f(e,t,r){return e&t|~e&r}function p(e,t,r){return(e|~t)^r}function v(e,t,r){return e&r|t&~r}function m(e,t,r){return e^(t|~r)}function _(e,t){return e<<t|e>>>32-t}n.RIPEMD160=r._createHelper(h),n.HmacRIPEMD160=r._createHmacHelper(h)}(Math),n.RIPEMD160)},545:function(e,t,r){var n,i,o,s,a,u,c,l;e.exports=(o=(i=(n=l=r(353)).lib).WordArray,s=i.Hasher,a=n.algo,u=[],c=a.SHA1=s.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],c=0;c<80;c++){if(c<16)u[c]=0|e[t+c];else{var l=u[c-3]^u[c-8]^u[c-14]^u[c-16];u[c]=l<<1|l>>>31}var h=(n<<5|n>>>27)+a+u[c];h+=c<20?1518500249+(i&o|~i&s):c<40?1859775393+(i^o^s):c<60?(i&o|i&s|o&s)-1894007588:(i^o^s)-899497514,a=s,s=o,o=i<<30|i>>>2,i=n,n=h}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=s._createHelper(c),n.HmacSHA1=s._createHmacHelper(c),l.SHA1)},111:function(e,t,r){var n,i,o,s,a;e.exports=(a=r(353),r(546),n=a.lib.WordArray,o=(i=a.algo).SHA256,s=i.SHA224=o.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}}),a.SHA224=o._createHelper(s),a.HmacSHA224=o._createHmacHelper(s),a.SHA224)},546:function(e,t,r){var n,i,o,s,a,u,c,l,h,d;e.exports=(n=r(353),i=Math,s=(o=n.lib).WordArray,a=o.Hasher,u=n.algo,c=[],l=[],function(){function e(e){return 4294967296*(e-(0|e))|0}for(var t=2,r=0;r<64;)(function(e){for(var t=i.sqrt(e),r=2;r<=t;r++)if(!(e%r))return!1;return!0})(t)&&(r<8&&(c[r]=e(i.pow(t,.5))),l[r]=e(i.pow(t,1/3)),r++),t++}(),h=[],d=u.SHA256=a.extend({_doReset:function(){this._hash=new s.init(c.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],c=r[6],d=r[7],f=0;f<64;f++){if(f<16)h[f]=0|e[t+f];else{var p=h[f-15],v=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=h[f-2],_=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;h[f]=v+h[f-7]+_+h[f-16]}var y=n&i^n&o^i&o,g=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),b=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&c)+l[f]+h[f];d=c,c=u,u=a,a=s+b|0,s=o,o=i,i=n,n=b+(g+y)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+u|0,r[6]=r[6]+c|0,r[7]=r[7]+d|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=i.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA256=a._createHelper(d),n.HmacSHA256=a._createHmacHelper(d),n.SHA256)},21:function(e,t,r){var n,i,o,s,a,u,c,l,h,d,f,p;e.exports=(n=r(353),r(246),i=Math,s=(o=n.lib).WordArray,a=o.Hasher,u=n.x64.Word,c=n.algo,l=[],h=[],d=[],function(){for(var e=1,t=0,r=0;r<24;r++){l[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)h[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var s=0,a=0,c=0;c<7;c++){if(1&i){var f=(1<<c)-1;f<32?a^=1<<f:s^=1<<f-32}128&i?i=i<<1^113:i<<=1}d[o]=u.create(s,a)}}(),f=[],function(){for(var e=0;e<25;e++)f[e]=u.create()}(),p=c.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,i=0;i<n;i++){var o=e[t+2*i],s=e[t+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(I=r[i]).high^=s,I.low^=o}for(var a=0;a<24;a++){for(var u=0;u<5;u++){for(var c=0,p=0,v=0;v<5;v++)c^=(I=r[u+5*v]).high,p^=I.low;var m=f[u];m.high=c,m.low=p}for(u=0;u<5;u++){var _=f[(u+4)%5],y=f[(u+1)%5],g=y.high,b=y.low;for(c=_.high^(g<<1|b>>>31),p=_.low^(b<<1|g>>>31),v=0;v<5;v++)(I=r[u+5*v]).high^=c,I.low^=p}for(var E=1;E<25;E++){var w=(I=r[E]).high,O=I.low,S=l[E];S<32?(c=w<<S|O>>>32-S,p=O<<S|w>>>32-S):(c=O<<S-32|w>>>64-S,p=w<<S-32|O>>>64-S);var P=f[h[E]];P.high=c,P.low=p}var C=f[0],T=r[0];for(C.high=T.high,C.low=T.low,u=0;u<5;u++)for(v=0;v<5;v++){var I=r[E=u+5*v],L=f[E],A=f[(u+1)%5+5*v],x=f[(u+2)%5+5*v];I.high=L.high^~A.high&x.high,I.low=L.low^~A.low&x.low}I=r[0];var R=d[a];I.high^=R.high,I.low^=R.low}},_doFinalize:function(){var e=this._data,t=e.words,r=(this._nDataBytes,8*e.sigBytes),n=32*this.blockSize;t[r>>>5]|=1<<24-r%32,t[(i.ceil((r+1)/n)*n>>>5)-1]|=128,e.sigBytes=4*t.length,this._process();for(var o=this._state,a=this.cfg.outputLength/8,u=a/8,c=[],l=0;l<u;l++){var h=o[l],d=h.high,f=h.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),c.push(f),c.push(d)}return new s.init(c,a)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}}),n.SHA3=a._createHelper(p),n.HmacSHA3=a._createHmacHelper(p),n.SHA3)},881:function(e,t,r){var n,i,o,s,a,u,c;e.exports=(c=r(353),r(246),r(70),i=(n=c.x64).Word,o=n.WordArray,a=(s=c.algo).SHA512,u=s.SHA384=a.extend({_doReset:function(){this._hash=new o.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}}),c.SHA384=a._createHelper(u),c.HmacSHA384=a._createHmacHelper(u),c.SHA384)},70:function(e,t,r){var n;e.exports=(n=r(353),r(246),function(){var e=n.lib.Hasher,t=n.x64,r=t.Word,i=t.WordArray,o=n.algo;function s(){return r.create.apply(r,arguments)}var a=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=s()}();var c=o.SHA512=e.extend({_doReset:function(){this._hash=new i.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],c=r[4],l=r[5],h=r[6],d=r[7],f=n.high,p=n.low,v=i.high,m=i.low,_=o.high,y=o.low,g=s.high,b=s.low,E=c.high,w=c.low,O=l.high,S=l.low,P=h.high,C=h.low,T=d.high,I=d.low,L=f,A=p,x=v,R=m,k=_,B=y,D=g,M=b,N=E,q=w,U=O,$=S,j=P,H=C,G=T,F=I,J=0;J<80;J++){var V,z,W=u[J];if(J<16)z=W.high=0|e[t+2*J],V=W.low=0|e[t+2*J+1];else{var K=u[J-15],Y=K.high,Z=K.low,Q=(Y>>>1|Z<<31)^(Y>>>8|Z<<24)^Y>>>7,X=(Z>>>1|Y<<31)^(Z>>>8|Y<<24)^(Z>>>7|Y<<25),ee=u[J-2],et=ee.high,er=ee.low,en=(et>>>19|er<<13)^(et<<3|er>>>29)^et>>>6,ei=(er>>>19|et<<13)^(er<<3|et>>>29)^(er>>>6|et<<26),eo=u[J-7],es=eo.high,ea=eo.low,eu=u[J-16],ec=eu.high,el=eu.low;z=(z=(z=Q+es+((V=X+ea)>>>0<X>>>0?1:0))+en+((V+=ei)>>>0<ei>>>0?1:0))+ec+((V+=el)>>>0<el>>>0?1:0),W.high=z,W.low=V}var eh,ed=N&U^~N&j,ef=q&$^~q&H,ep=L&x^L&k^x&k,ev=A&R^A&B^R&B,em=(L>>>28|A<<4)^(L<<30|A>>>2)^(L<<25|A>>>7),e_=(A>>>28|L<<4)^(A<<30|L>>>2)^(A<<25|L>>>7),ey=(N>>>14|q<<18)^(N>>>18|q<<14)^(N<<23|q>>>9),eg=(q>>>14|N<<18)^(q>>>18|N<<14)^(q<<23|N>>>9),eb=a[J],eE=eb.high,ew=eb.low,eO=G+ey+((eh=F+eg)>>>0<F>>>0?1:0),eS=e_+ev;G=j,F=H,j=U,H=$,U=N,$=q,N=D+(eO=(eO=(eO=eO+ed+((eh+=ef)>>>0<ef>>>0?1:0))+eE+((eh+=ew)>>>0<ew>>>0?1:0))+z+((eh+=V)>>>0<V>>>0?1:0))+((q=M+eh|0)>>>0<M>>>0?1:0)|0,D=k,M=B,k=x,B=R,x=L,R=A,L=eO+(em+ep+(eS>>>0<e_>>>0?1:0))+((A=eh+eS|0)>>>0<eh>>>0?1:0)|0}p=n.low=p+A,n.high=f+L+(p>>>0<A>>>0?1:0),m=i.low=m+R,i.high=v+x+(m>>>0<R>>>0?1:0),y=o.low=y+B,o.high=_+k+(y>>>0<B>>>0?1:0),b=s.low=b+M,s.high=g+D+(b>>>0<M>>>0?1:0),w=c.low=w+q,c.high=E+N+(w>>>0<q>>>0?1:0),S=l.low=S+$,l.high=O+U+(S>>>0<$>>>0?1:0),C=h.low=C+H,h.high=P+j+(C>>>0<H>>>0?1:0),I=d.low=I+F,d.high=T+G+(I>>>0<F>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});n.SHA512=e._createHelper(c),n.HmacSHA512=e._createHmacHelper(c)}(),n.SHA512)},265:function(e,t,r){var n;e.exports=(n=r(353),r(164),r(383),r(770),r(237),function(){var e=n.lib,t=e.WordArray,r=e.BlockCipher,i=n.algo,o=[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],a=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{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}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=i.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=o[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],u=0;u<16;u++){var c=i[u]=[],l=a[u];for(r=0;r<24;r++)c[r/6|0]|=t[(s[r]-1+l)%28]<<31-r%6,c[4+(r/6|0)]|=t[28+(s[r+24]-1+l)%28]<<31-r%6;for(c[0]=c[0]<<1|c[0]>>>31,r=1;r<7;r++)c[r]=c[r]>>>4*(r-1)+3;c[7]=c[7]<<5|c[7]>>>27}var h=this._invSubKeys=[];for(r=0;r<16;r++)h[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),h.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=r[n],o=this._lBlock,s=this._rBlock,a=0,l=0;l<8;l++)a|=u[l][((s^i[l])&c[l])>>>0];this._lBlock=s,this._rBlock=o^a}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,h.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function d(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}n.DES=r._createHelper(l);var f=i.TripleDES=r.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var r=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=l.createEncryptor(t.create(r)),this._des2=l.createEncryptor(t.create(n)),this._des3=l.createEncryptor(t.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});n.TripleDES=r._createHelper(f)}(),n.TripleDES)},246:function(e,t,r){var n,i,o,s,a;e.exports=(o=(i=(n=r(353)).lib).Base,s=i.WordArray,(a=n.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var i=e[n];r.push(i.high),r.push(i.low)}return s.create(r,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}}),n)},54:function(){}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return function(){"use strict";function e(){return(e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){i=function(){return e};var e={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var i,o,s,a,u=Object.create((t&&t.prototype instanceof f?t:f).prototype),c=new S(n||[]);return u._invoke=(i=e,o=r,s=c,a="suspendedStart",function(e,t){if("executing"===a)throw Error("Generator is already running");if("completed"===a){if("throw"===e)throw t;return{value:void 0,done:!0}}for(s.method=e,s.arg=t;;){var r=s.delegate;if(r){var n=function e(t,r){var n=t.iterator[r.method];if(void 0===n){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,e(t,r),"throw"===r.method))return d;r.method="throw",r.arg=TypeError("The iterator does not provide a 'throw' method")}return d}var i=h(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var o=i.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,d):o:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,d)}(r,s);if(n){if(n===d)continue;return n}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===a)throw a="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);a="executing";var u=h(i,o,s);if("normal"===u.type){if(a=s.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:s.done}}"throw"===u.type&&(a="completed",s.method="throw",s.arg=u.arg)}}),u}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var d={};function f(){}function p(){}function v(){}var m={};c(m,s,function(){return this});var _=Object.getPrototypeOf,y=_&&_(_(P([])));y&&y!==r&&n.call(y,s)&&(m=y);var g=v.prototype=f.prototype=Object.create(m);function b(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function E(e,r){var i;this._invoke=function(o,s){function a(){return new r(function(i,a){(function i(o,s,a,u){var c=h(e[o],e,s);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==t(d)&&n.call(d,"__await")?r.resolve(d.__await).then(function(e){i("next",e,a,u)},function(e){i("throw",e,a,u)}):r.resolve(d).then(function(e){l.value=e,a(l)},function(e){return i("throw",e,a,u)})}u(c.arg)})(o,s,i,a)})}return i=i?i.then(a,a):a()}}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function P(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=v,c(g,"constructor",v),c(v,"constructor",p),p.displayName=c(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},b(E.prototype),c(E.prototype,a,function(){return this}),e.AsyncIterator=E,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var s=new E(l(t,r,n,i),o);return e.isGeneratorFunction(r)?s:s.next().then(function(e){return e.done?e.value:s.next()})},b(g),c(g,u,"Generator"),c(g,s,function(){return this}),c(g,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return s.type="throw",s.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=e,s.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;O(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t,r,n,i,o,s){try{var a=e[o](s),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,i)}function a(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){s(o,n,i,a,u,"next",e)}function u(e){s(o,n,i,a,u,"throw",e)}a(void 0)})}}r.r(n),r.d(n,{default:function(){return eA},getTimeMonitor:function(){return ex}});var u=r(546),c=r.n(u),l=r(248),h=r.n(l),d=function(e){var t,r=[];if(void 0===e)return"";t=function(e){for(var t,r=e.toString(),n=[],i=0;i<r.length;i++)0<=(t=r.charCodeAt(i))&&t<=127?n.push(t):128<=t&&t<=2047?(n.push(192|31&t>>6),n.push(128|63&t)):(2048<=t&&t<=55295||57344<=t&&t<=65535)&&(n.push(224|15&t>>12),n.push(128|63&t>>6),n.push(128|63&t));for(var o=0;o<n.length;o++)n[o]&=255;return n}(e);for(var n=0,i=t.length;n<i;++n)r.push((5^t[n]).toString(16));return r.join("")};function f(e){return parseInt(e)}function p(e){return parseFloat(e)}function v(e,t){return"number"==typeof e&&isNaN(e)?t:e}function m(e){return e.reduce(function(e,t){return e+(t?1:0)},0)}function _(e,t){var r,n,i=e[0]>>>16,o=65535&e[0],s=e[1]>>>16,a=65535&e[1],u=t[0]>>>16,c=65535&t[0],l=t[1]>>>16,h=0,d=0;r=0+((n=0+(a+(65535&t[1])))>>>16),n&=65535,d+=(r+=s+l)>>>16,r&=65535,h+=(d+=o+c)>>>16,d&=65535,h+=i+u,h&=65535,e[0]=h<<16|d,e[1]=r<<16|n}function y(e,t){var r,n,i=e[0]>>>16,o=65535&e[0],s=e[1]>>>16,a=65535&e[1],u=t[0]>>>16,c=65535&t[0],l=t[1]>>>16,h=65535&t[1],d=0,f=0;r=0+((n=0+a*h)>>>16),n&=65535,f+=(r+=s*h)>>>16,r&=65535,f+=(r+=a*l)>>>16,r&=65535,d+=(f+=o*h)>>>16,f&=65535,d+=(f+=s*l)>>>16,f&=65535,d+=(f+=a*c)>>>16,f&=65535,d+=i*h+o*l+s*c+a*u,d&=65535,e[0]=d<<16|f,e[1]=r<<16|n}function g(e,t){var r=e[0];32==(t%=64)?(e[0]=e[1],e[1]=r):t<32?(e[0]=r<<t|e[1]>>>32-t,e[1]=e[1]<<t|r>>>32-t):(t-=32,e[0]=e[1]<<t|r>>>32-t,e[1]=r<<t|e[1]>>>32-t)}function b(e,t){0!=(t%=64)&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function E(e,t){e[0]^=t[0],e[1]^=t[1]}var w=[4283543511,3981806797],O=[3301882366,444984403];function S(e){var t=[0,e[0]>>>1];E(e,t),y(e,w),t[1]=e[0]>>>1,E(e,t),y(e,O),t[1]=e[0]>>>1,E(e,t)}var P=[2277735313,289559509],C=[1291169091,658871167],T=[0,5],I=[0,1390208809],L=[0,944331445];function A(e,t){var r=function(e){for(var t=new Uint8Array(e.length),r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n>127)return(new TextEncoder).encode(e);t[r]=n}return t}(e);t=t||0;var n,i=[0,r.length],o=i[1]%16,s=i[1]-o,a=[0,t],u=[0,t],c=[0,0],l=[0,0];for(n=0;n<s;n+=16)c[0]=r[n+4]|r[n+5]<<8|r[n+6]<<16|r[n+7]<<24,c[1]=r[n]|r[n+1]<<8|r[n+2]<<16|r[n+3]<<24,l[0]=r[n+12]|r[n+13]<<8|r[n+14]<<16|r[n+15]<<24,l[1]=r[n+8]|r[n+9]<<8|r[n+10]<<16|r[n+11]<<24,y(c,P),g(c,31),y(c,C),E(a,c),g(a,27),_(a,u),y(a,T),_(a,I),y(l,C),g(l,33),y(l,P),E(u,l),g(u,31),_(u,a),y(u,T),_(u,L);c[0]=0,c[1]=0,l[0]=0,l[1]=0;var h=[0,0];switch(o){case 15:h[1]=r[n+14],b(h,48),E(l,h);case 14:h[1]=r[n+13],b(h,40),E(l,h);case 13:h[1]=r[n+12],b(h,32),E(l,h);case 12:h[1]=r[n+11],b(h,24),E(l,h);case 11:h[1]=r[n+10],b(h,16),E(l,h);case 10:h[1]=r[n+9],b(h,8),E(l,h);case 9:h[1]=r[n+8],E(l,h),y(l,C),g(l,33),y(l,P),E(u,l);case 8:h[1]=r[n+7],b(h,56),E(c,h);case 7:h[1]=r[n+6],b(h,48),E(c,h);case 6:h[1]=r[n+5],b(h,40),E(c,h);case 5:h[1]=r[n+4],b(h,32),E(c,h);case 4:h[1]=r[n+3],b(h,24),E(c,h);case 3:h[1]=r[n+2],b(h,16),E(c,h);case 2:h[1]=r[n+1],b(h,8),E(c,h);case 1:h[1]=r[n],E(c,h),y(c,P),g(c,31),y(c,C),E(a,c)}return E(a,i),E(u,i),_(a,u),_(u,a),S(a),S(u),_(a,u),_(u,a),"00000000".concat((a[0]>>>0).toString(16)).slice(-8)+"00000000".concat((a[1]>>>0).toString(16)).slice(-8)+"00000000".concat((u[0]>>>0).toString(16)).slice(-8)+"00000000".concat((u[1]>>>0).toString(16)).slice(-8)}var x=function(){return(x=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function R(e,t){return new Promise(function(r){return setTimeout(r,e,t)})}function k(e,t){try{var r=e();r&&"function"==typeof r.then?r.then(function(e){return t(!0,e)},function(e){return t(!1,e)}):t(!0,r)}catch(e){t(!1,e)}}function B(e,t,r){var n,i,o,s;return void 0===r&&(r=16),n=this,i=void 0,s=function(){var n,i,o,s;return function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,function(a){switch(a.label){case 0:n=Array(e.length),i=Date.now(),o=0,a.label=1;case 1:return o<e.length?(n[o]=t(e[o],o),(s=Date.now())>=i+r?(i=s,[4,new Promise(function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})]):[3,3]):[3,4];case 2:a.sent(),a.label=3;case 3:return++o,[3,1];case 4:return[2,n]}})},new(o=void 0,o=Promise)(function(e,t){function r(e){try{u(s.next(e))}catch(e){t(e)}}function a(e){try{u(s.throw(e))}catch(e){t(e)}}function u(t){var n;t.done?e(t.value):((n=t.value)instanceof o?n:new o(function(e){e(n)})).then(r,a)}u((s=s.apply(n,i||[])).next())})}function D(e){return e.then(void 0,function(){}),e}function M(e,t,r){var n,i,o,s,a,u,c;return void 0===r&&(r=50),s=this,a=void 0,c=function(){var s,a;return function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,function(u){switch(u.label){case 0:s=document,u.label=1;case 1:return s.body?[3,3]:[4,R(r)];case 2:return u.sent(),[3,1];case 3:a=s.createElement("iframe"),u.label=4;case 4:return u.trys.push([4,,10,11]),[4,new Promise(function(e,r){var n=!1,i=function(){n=!0,e()};a.onload=i,a.onerror=function(e){n=!0,r(e)};var o=a.style;o.setProperty("display","block","important"),o.position="absolute",o.top="0",o.left="0",o.visibility="hidden",t&&"srcdoc"in a?a.srcdoc=t:a.src="about:blank",s.body.appendChild(a);var u=function(){var e,t;n||("complete"===(null===(t=null===(e=a.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?i():setTimeout(u,10))};u()})];case 5:u.sent(),u.label=6;case 6:return(null===(i=null===(n=a.contentWindow)||void 0===n?void 0:n.document)||void 0===i?void 0:i.body)?[3,8]:[4,R(r)];case 7:return u.sent(),[3,6];case 8:return[4,e(a,a.contentWindow)];case 9:return[2,u.sent()];case 10:return null===(o=a.parentNode)||void 0===o||o.removeChild(a),[7];case 11:return[2]}})},new(u=void 0,u=Promise)(function(e,t){function r(e){try{i(c.next(e))}catch(e){t(e)}}function n(e){try{i(c.throw(e))}catch(e){t(e)}}function i(t){var i;t.done?e(t.value):((i=t.value)instanceof u?i:new u(function(e){e(i)})).then(r,n)}i((c=c.apply(s,a||[])).next())})}var N=["monospace","sans-serif","serif"],q=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function U(){var e=window,t=navigator;return m(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function $(){var e=window,t=navigator;return m(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function j(){var e=window;return m(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===navigator.vendor.indexOf("Apple"),"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function H(){var e,t=window;return e=t.print,/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))&&"[object WebPageNamespace]"===String(t.browser)}function G(){var e=window,t=navigator,r=e.CSS,n=e.HTMLButtonElement;return m([!("getStorageUpdates"in t),n&&"popover"in n.prototype,"CSSCounterStyleRule"in e,r.supports("font-size-adjust: ex-height 0.5"),r.supports("text-transform: full-width")])>=4}function F(e){return e.toDataURL()}function J(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function V(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function z(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function W(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function K(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function Y(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var Z=Math,Q=function(){return 0},X={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function ee(){if("undefined"==typeof document)return null;var e=document.createElement("canvas");return e.width=256,e.height=128,e.getContext("webgl",{preserveDrawingBuffer:!0})}var et={fonts:function(){var e=this;return M(function(t,r){var n,i,o,s=r.document;return n=void 0,o=function(){var e,t,r,n,i,o,a,u,c,l,h;return function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,function(d){for((e=s.body).style.fontSize="48px",(t=s.createElement("div")).style.setProperty("visibility","hidden","important"),r={},n={},i=function(e){var r=s.createElement("span"),n=r.style;return n.position="absolute",n.top="0",n.left="0",n.fontFamily=e,r.textContent="mmMwWLliI0O&1",t.appendChild(r),r},o=function(e,t){return i("'".concat(e,"',").concat(t))},a=function(){for(var e={},t=function(t){e[t]=N.map(function(e){return o(t,e)})},r=0;r<q.length;r++)t(q[r]);return e},u=function(e){return N.some(function(t,i){return e[i].offsetWidth!==r[t]||e[i].offsetHeight!==n[t]})},c=N.map(i),l=a(),e.appendChild(t),h=0;h<N.length;h++)r[N[h]]=c[h].offsetWidth,n[N[h]]=c[h].offsetHeight;return[2,q.filter(function(e){return u(l[e])})]})},new(i=void 0,i=Promise)(function(t,r){function s(e){try{u(o.next(e))}catch(e){r(e)}}function a(e){try{u(o.throw(e))}catch(e){r(e)}}function u(e){var r;e.done?t(e.value):((r=e.value)instanceof i?r:new i(function(e){e(r)})).then(s,a)}u((o=o.apply(e,n||[])).next())})})},fontPreferences:function(){var e;return void 0===e&&(e=4e3),M(function(t,r){var n=r.document,i=n.body,o=i.style;o.width="".concat(e,"px"),o.webkitTextSizeAdjust="none",o.textSizeAdjust="none",$()?i.style.zoom="".concat(1/r.devicePixelRatio):j()&&(i.style.zoom="reset");var s=n.createElement("div");return s.textContent=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([],Array(e/20|0),!0).map(function(){return"word"}).join(" "),i.appendChild(s),function(e,t){for(var r={},n={},i=0,o=Object.keys(X);i<o.length;i++){var s=o[i],a=X[s],u=a[0],c=void 0===u?{}:u,l=a[1],h=void 0===l?"mmMwWLliI0fiflO&1":l,d=e.createElement("span");d.textContent=h,d.style.whiteSpace="nowrap";for(var f=0,p=Object.keys(c);f<p.length;f++){var v=p[f],m=c[v];void 0!==m&&(d.style[v]=m)}r[s]=d,t.append(e.createElement("br"),d)}for(var _=0,y=Object.keys(X);_<y.length;_++)n[s=y[_]]=r[s].getBoundingClientRect().width;return n}(n,i)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')},canvas:function(){var e,t,r,n,i,o,s,a,u,c,l,h,d,f,p,v,m;return e=j()&&G()&&H(),(u=document.createElement("canvas")).width=1,u.height=1,o=(i=[u,u.getContext("2d")])[0],s=i[1],a=!1,(c=o,!s||!c.toDataURL)?(n="unsupported",r="unsupported"):((l=s).rect(0,0,10,10),l.rect(2,2,6,6),a=!l.isPointInPath(5,5,"evenodd"),e?(r="skipped",n="skipped"):(h=o,d=s,f=h,p=d,f.width=240,f.height=60,p.textBaseline="alphabetic",p.fillStyle="#f60",p.fillRect(100,1,62,20),p.fillStyle="#069",p.font='11pt "Times New Roman"',v="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835)),p.fillText(v,2,15),p.fillStyle="rgba(102, 204, 0, 0.2)",p.font="18pt Arial",p.fillText(v,4,45),r=(t=(m=F(h))!==F(h)?["unstable","unstable"]:(function(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var r=0,n=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];r<n.length;r++){var i=n[r],o=i[0],s=i[1],a=i[2];t.fillStyle=o,t.beginPath(),t.arc(s,a,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(h,d),[F(h),m]))[0],n=t[1])),{winding:a,geometry:r?A(r):r,text:n?A(n):n}},osCpu:function(){return navigator.oscpu},languages:function(){var e,t=navigator,r=[],n=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==n&&r.push([n]),Array.isArray(t.languages))$()&&m([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,"[object Intl]"==="".concat(e.Intl),"[object Reflect]"==="".concat(e.Reflect)])>=3||r.push(t.languages);else if("string"==typeof t.languages){var i=t.languages;i&&r.push(i.split(","))}return r},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return v(p(navigator.deviceMemory),void 0)},screenResolution:function(){var e,t,r;if(!(j()&&G()&&H()))return(r=[(t=function(e){return v(f(e),null)})((e=screen).width),t(e.height)]).sort().reverse(),r},hardwareConcurrency:function(){return v(f(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var r=(new t).resolvedOptions().timeZone;if(r)return r}var n,i=-Math.max(p(new Date(n=(new Date).getFullYear(),0,1).getTimezoneOffset()),p(new Date(n,6,1).getTimezoneOffset()));return"UTC".concat(i>=0?"+":"").concat(i)},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){var e,t;if(!(U()||m(["msWriteProfilerMark"in(e=window),"MSStream"in e,"msLaunchUri"in(t=navigator),"msSaveBlob"in t])>=3&&!U()))try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e,t,r,n=navigator.platform;return"MacIntel"!==n||!j()||(t=(e=window).HTMLElement,r=e.Document,m(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),r&&"pointerLockElement"in r.prototype])>=4)?n:!function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return m(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPhone":"iPad"},touchSupport:function(){var e,t=navigator,r=0;void 0!==t.maxTouchPoints?r=f(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(r=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return{maxTouchPoints:r,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],t=0,r=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<r.length;t++){var n=r[t],i=window[n];i&&"object"==typeof i&&e.push(n)}return e.sort()},cookiesEnabled:function(){var e=document;try{e.cookie="bdtest=a; SameSite=Strict;";var t=-1!==e.cookie.indexOf("bdtest=");return e.cookie="bdtest=a; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(e){return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var r=t[e];if(matchMedia("(color-gamut: ".concat(r,")")).matches)return r}},invertedColors:function(){return!!J("inverted")||!J("none")&&void 0},forcedColors:function(){return!!V("active")||!V("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw Error("Too high value")}},contrast:function(){return z("no-preference")?0:z("high")||z("more")?1:z("low")||z("less")?-1:z("forced")?10:void 0},reducedMotion:function(){return!!W("reduce")||!W("no-preference")&&void 0},reducedTransparency:function(){return!!K("reduce")||!K("no-preference")&&void 0},hdr:function(){return!!Y("high")||!Y("standard")&&void 0},math:function(){var e=Z.acos||Q,t=Z.acosh||Q,r=Z.asin||Q,n=Z.asinh||Q,i=Z.atanh||Q,o=Z.atan||Q,s=Z.sin||Q,a=Z.sinh||Q,u=Z.cos||Q,c=Z.cosh||Q,l=Z.tan||Q,h=Z.tanh||Q,d=Z.exp||Q,f=Z.expm1||Q,p=Z.log1p||Q;return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:Z.log(1e154+Z.sqrt(1e154*1e154-1)),asin:r(.12312423423423424),asinh:n(1),asinhPf:Z.log(1+Z.sqrt(2)),atanh:i(.5),atanhPf:Z.log(3)/2,atan:o(.5),sin:s(-1e300),sinh:a(1),sinhPf:Z.exp(1)-1/Z.exp(1)/2,cos:u(10.000000000123),cosh:c(1),coshPf:(Z.exp(1)+1/Z.exp(1))/2,tan:l(-1e300),tanh:h(1),tanhPf:(Z.exp(2)-1)/(Z.exp(2)+1),exp:d(1),expm1:f(1),expm1Pf:Z.exp(1)-1,log1p:p(10),log1pPf:Z.log(11),powPI:Z.pow(Z.PI,-100)}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]},userAgent:function(){var e="";return"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.userAgent)&&(e=navigator.userAgent),e},webglUnmaskedVendor:function(){var e,t,r=ee(),n=null===(e=null==r?void 0:r.getExtension)||void 0===e?void 0:e.call(r,"WEBGL_debug_renderer_info"),i="";return r&&n&&(i=null===(t=r.getParameter)||void 0===t?void 0:t.call(r,n.UNMASKED_VENDOR_WEBGL)),i},webglUnmaskedRenderer:function(){var e,t,r=ee(),n=null===(e=null==r?void 0:r.getExtension)||void 0===e?void 0:e.call(r,"WEBGL_debug_renderer_info"),i="";return r&&n&&(i=null===(t=r.getParameter)||void 0===t?void 0:t.call(r,n.UNMASKED_RENDERER_WEBGL)),i},webglImageHash:function(){var e,t,r,n,i=ee(),o=null===(e=null==i?void 0:i.createBuffer)||void 0===e?void 0:e.call(i),s=null===(t=null==i?void 0:i.createProgram)||void 0===t?void 0:t.call(i),a=null===(r=null==i?void 0:i.createShader)||void 0===r?void 0:r.call(i,i.VERTEX_SHADER),u=null===(n=null==i?void 0:i.createShader)||void 0===n?void 0:n.call(i,i.FRAGMENT_SHADER);if(!(i&&o&&s&&a&&u&&"undefined"!=typeof Uint8Array))return"";var c="";try{i.bindBuffer(i.ARRAY_BUFFER,o),i.bufferData(i.ARRAY_BUFFER,new Float32Array([-.2,-.9,0,.4,-.26,0,0,.7321,0]),i.STATIC_DRAW),i.shaderSource(a,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),i.compileShader(a),i.shaderSource(u,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),i.compileShader(u),i.attachShader(s,a),i.attachShader(s,u),i.linkProgram(s),i.useProgram(s);var l=i.getAttribLocation(s,"attrVertex"),h=i.getUniformLocation(s,"uniformOffset");i.enableVertexAttribArray(l),i.vertexAttribPointer(l,3,i.FLOAT,!1,0,0),i.uniform2f(h,1,1),i.drawArrays(i.TRIANGLE_STRIP,0,3);var d=new Uint8Array(131072);i.readPixels(0,0,256,128,i.RGBA,i.UNSIGNED_BYTE,d),c=A(JSON.stringify(d).replace(/,?"[0-9]+":/g,"").replace(/^{[0]+}$/g,""))}finally{return c}}},er=function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},en=function(){return(en=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},ei=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,a)}u((n=n.apply(e,t||[])).next())})},eo=function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},es=r(693),ea=r.n(es),eu=r(553),ec=function(e){void 0===e&&(e=64);for(var t="",r=0;r<e;)t+="1234567890qwertyuiopasdfghjklzxcvbnm".charAt(Math.floor(36*Math.random())),r+=1;return t},el=function(e,t){return 16*(Math.floor(Math.random()*(e-t+1))+t)},eh=function(){try{var e,t,r,n,i,o="";try{throw Error("")}catch(s){return null!=(t=o=null==s||null==(e=s.stack)?void 0:e.split("\n"))&&t[1]&&null!=(r=o)&&r[o.length-1]?(null==(n=o)?void 0:n[1])+(null==(i=o)?void 0:i[o.length-1]):""}}catch(e){return""}},ed=function(e){return e.map(function(e){return String.fromCharCode(e)}).join("")},ef=function(t){var r,n,i,o,s,a,u,c;n=(r=e({maxAge:5184e3},t)).key,i=r.value,s=void 0===(o=r.path)?"/":o,a=r.domain,u=r.maxAge,c=r.secure,!n||/^(?:expires|max\-age|path|domain|secure)$/i.test(n)||(document.cookie=encodeURIComponent(n)+"="+encodeURIComponent(i)+(u?"; max-age="+u:"")+(a?"; domain="+a:"")+(s?"; path="+s:"")+(c?"; secure":""))},ep=function(){try{var e="",t=document.location.hostname,r=t.split(".");if(/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/.test(t)||"localhost"===t)return document.location.hostname.replace(/^.*?\b\.\b/,"");var n=[];for(n.unshift(r.pop());n.length<2;)n.unshift(r.pop()),e=n.join(".");return e||document.location.hostname}catch(e){return document.location.hostname}},ev=function(e){return void 0===e&&(e=5),new Promise(function(t){setTimeout(function(){t(!0)},1e3*e)})},em=r(661),e_=r.n(em),ey=["e_in"],eg=ed([47,112,97,115,115,112,111,114,116,47,119,101,98,47,99,104,97,108,108,101,110,103,101,47]),eb=ed([47,99,104,97,108,108,101,110,103,101,47]),eE=ed([112,97,114,115,101]),ew=ed([101,110,99,114,121,112,116]),eO=ed([105,118]),eS=ed([109,111,100,101]),eP=ed([112,97,100,100,105,110,103]),eC=ed([99,105,112,104,101,114,116,101,120,116]),eT={collectEnvTime:0,dataHandlerTime:0,excuteTime:0};function eI(){return(eI=a(i().mark(function e(t,r,n){var o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:void 0===r&&(r=3),void 0===n&&(n=3e3),o=0;case 3:if(!(o<r)){e.next=19;break}return e.prev=4,e.next=7,t();case 7:return e.abrupt("return",e.sent);case 10:if(e.prev=10,e.t0=e.catch(4),o!==r-1){e.next=14;break}throw e.t0;case 14:return e.next=16,new Promise(function(e){return setTimeout(e,n)});case 16:o++,e.next=3;break;case 19:case"end":return e.stop()}},e,null,[[4,10]])}))).apply(this,arguments)}var eL="passport_auth_mix_state",eA=function(t){function r(){for(var r,n,o,s,u=arguments.length,l=Array(u),f=0;f<u;f++)l[f]=arguments[f];return(n=t.call.apply(t,[this].concat(l))||this).count=0,n.timeRef=null,n.maxCount=3,n.init=a(i().mark(function e(){var t,r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.request.interceptors.request.use(function(){var e=a(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.params,e.prev=1,null!=r&&r.skip_c){e.next=5;break}return e.next=5,n.execute();case 5:e.next=9;break;case 7:e.prev=7,e.t0=e.catch(1);case 9:return e.abrupt("return",Promise.resolve(t));case 10:case"end":return e.stop()}},e,null,[[1,7]])}));return function(t){return e.apply(this,arguments)}}()),t=10*Math.random()*.3,r=ep(),e.next=5,ev(t);case 5:return e.prev=5,e.next=8,function(e,t,r){return eI.apply(this,arguments)}(function(){n.execute()});case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(5),ef({key:eL,value:ec(el(1,4)),maxAge:15,domain:r});case 13:case"end":return e.stop()}},e,null,[[5,10]])})),n.execute=(r=a(i().mark(function t(r){var o,s,a,u,l,f,p,v,m,_,y,g,b,E,w,O,S,P,C,T,I,L,R,M,N,q,U,$,j,H,G,F,J,V,z,W,K,Y,Z,Q,X,ee,es,ed,ev;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:var i;if(s=void 0!==(o=(r||{}).skip_expire_time)&&o,l=void 0===(u=(a=n.initProps).chMaxAge)?300:u,p=void 0===(f=a.chMaxCount)?3:f,n.maxCount=p&&"number"==typeof p&&p>=0?p:3,i=eL,v=decodeURIComponent(document.cookie.replace(RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(i).replace(/[-.+*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null,s||!v){t.next=6;break}return t.abrupt("return",Promise.resolve(!0));case 6:return m={p_in:ec(el(6,16))},_=ec(el(4,16)),y="web"===n.type?eg:eb,g=ep(),t.prev=10,eT={collectEnvTime:0,dataHandlerTime:0,excuteTime:0},T=Date.now(),t.next=15,ei(void 0,void 0,void 0,function(){var e,t,r;return eo(this,function(n){var i,o,s,a;switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,(i=void 0,o=void 0,s=void 0,a=function(){var e;return er(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,function(){var e,t,r,n;return e=this,t=void 0,n=function(){return function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,function(e){switch(e.label){case 0:var t,r,n,i,o;return[4,(r={cache:{},debug:!1},o=D(B(i=Object.keys(t=et),function(e){var n,i,o;return n=t[e],i=r,o=D(new Promise(function(e){var t=Date.now();k(n.bind(null,i),function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=Date.now()-t;if(!r[0])return e(function(){return{error:r[1],duration:i}});var o=r[1];if("function"!=typeof o)return e(function(){return{value:o,duration:i}});e(function(){return new Promise(function(e){var t=Date.now();k(o,function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=i+Date.now()-t;if(!r[0])return e({error:r[1],duration:o});e({value:r[1],duration:o})})})})})})),function(){return o.then(function(e){return e()})}},n)),function(){var e,t,r,s;return e=this,t=void 0,s=function(){var e,t,r;return function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,function(s){switch(s.label){case 0:return[4,o];case 1:return[4,B(s.sent(),function(e){return D(e())},n)];case 2:return[4,Promise.all(s.sent())];case 3:for(e=s.sent(),t={},r=0;r<i.length;++r)t[i[r]]=e[r];return[2,t]}})},new(r=void 0,r=Promise)(function(n,i){function o(e){try{u(s.next(e))}catch(e){i(e)}}function a(e){try{u(s.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(o,a)}u((s=s.apply(e,t||[])).next())})})()];case 1:return[2,{components:e.sent()}]}})},new(r=void 0,r=Promise)(function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,a)}u((n=n.apply(e,t||[])).next())})}()];case 1:return[2,function(e){var t={};return Object.keys(e).forEach(function(r){var n;t[r]=x(x({},e[r]||{}),{value:""}),t[r].value=void 0===(null==(n=e[r])?void 0:n.value)?"":"string"==typeof(null==n?void 0:n.value)?n.value:JSON.stringify(null==n?void 0:n.value)}),t}(null==(e=t.sent())?void 0:e.components)];case 2:return t.sent(),[2,{}];case 3:return[2]}})},new(s||(s=Promise))(function(e,t){function r(e){try{u(a.next(e))}catch(e){t(e)}}function n(e){try{u(a.throw(e))}catch(e){t(e)}}function u(t){var i;t.done?e(t.value):((i=t.value)instanceof s?i:new s(function(e){e(i)})).then(r,n)}u((a=a.apply(i,o||[])).next())}))];case 1:return e=n.sent(),t={},r=A(function(e){for(var t="",r=0,n=Object.keys(e).sort();r<n.length;r++){var i=n[r],o=e[i],s="error"in o?"error":JSON.stringify(o.value);t+="".concat(t?"|":"").concat(i.replace(/([:|\\])/g,"\\$1"),":").concat(s)}return t}(e))||"",Object.keys(e).forEach(function(r){t[r]=e[r].value||""}),[2,en(en({},t),{id:r})];case 2:return n.sent(),[2,{}];case 3:return[2]}})});case 15:for(I=t.sent,L=Date.now()-T,R=Date.now(),N=void 0===(M=(navigator||{}).userAgent)?"":M,q=c()(N),U=null==h()?void 0:h()[eE](q.toString().slice(32)),$=eu.mode.CBC,j=eu.pad.Pkcs7,H=null==ea()||null==(b=ea()[ew](btoa(JSON.stringify(e({},I))),q,((E={})[eO]=U,E[eS]=$,E[eP]=j,E)))?void 0:b[eC].toString(e_());H.length%4;)H+="=";return G=eh(),F=Date.now()-R,t.next=29,n.request({url:y,data:{sign:H,sk:d(encodeURIComponent(G))},params:{request_host:encodeURIComponent(null==(w=location)?void 0:w.origin),skip_c:1},method:"POST"});case 29:for(V=(J=t.sent).template,z=J.passportiv,W=J.ts,Y=void 0===(K=J.extras)?{}:K,_=z||btoa(_),Z=null==ea()||null==(O=ea()[ew](_,q,((S={})[eO]=U,S[eS]=$,S[eP]=j,S)))?void 0:O[eC].toString(e_());Z.length%4;)Z+="=";return _=Z,Function('"use strict"; return '+V)(),Q=Date.now(),t.next=39,null==(P=window)||null==(C=P.__p_ch)?void 0:C.rs(e({ts:W,iv:_},Y||{}));case 39:return ee=(X=t.sent).e_in,es=btoa(JSON.stringify(function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(X,ey)||{})),ee&&ef({key:"sdk_source_info",value:d(JSON.stringify(ee||m)),maxAge:l,domain:g}),ef({key:"bit_env",value:_,maxAge:l,domain:g}),ef({key:"gulu_source_res",value:es,maxAge:l,domain:g}),n.count++,ed=l-60>60?l-60:60,n.timeRef&&clearTimeout(n.timeRef),n.count<n.maxCount&&(n.timeRef=setTimeout(function(){n.execute({skip_expire_time:!0})},1e3*ed)),ef({key:eL,value:ec(el(1,4)),maxAge:ed,domain:g}),ev=Date.now()-Q,eT={collectEnvTime:L,dataHandlerTime:F,excuteTime:ev},t.abrupt("return",Promise.resolve(!0));case 57:t.prev=57,t.t0=t.catch(10);case 60:return t.abrupt("return",Promise.reject(!1));case 61:case"end":return t.stop()}},t,null,[[10,57]])})),o=function(e){return r.apply(this,arguments)},function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return s||(s=new Promise(function(e,r){o.apply(void 0,t).then(function(t){e(t),s=void 0}).catch(function(e){r(e),s=void 0})})),s}),n}return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,o(r,t),r}(function(e){this.init=function(){};var t=e.request,r=e.init,n=e.type;this.request=t,this.hasInit=!1,this.initProps=r,this.type=n}),ex=function(){return eT}}(),n}()},e.exports=r()},222716:function(e,t){"use strict";t.default="1.1.3"},469109:function(e,t,r){"use strict";r.d(t,{encrypt:function(){return n.HI},encryptParams:function(){return n.J4},loadScript:function(){return n.ve}});var n=r(695385)},794298:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n=r("817388"),i=r("695385"),o=r("86024");function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class a{constructor(e){s(this,"request",void 0),s(this,"notLoginSendCode",e=>{let{mobile:t,extra_params:r={}}=e,n=(0,i.J4)({mobile:t,type:34,...r},["mobile","type"]);return this.request({url:o.FX.SEND_MOBILE_CODE,method:"POST",data:n})}),s(this,"notLoginValidateMobile",e=>{let{mobile:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,code:r,type:34,...n},["mobile","code","type"]);return this.request({url:o.FX.CHECK_MOBILE_CODE,method:"POST",data:s})});let{request:t}=e;this.request=t}}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class c{constructor(e){u(this,"request",void 0),u(this,"bindWithMobileLogin",e=>{let{extra_params:t={},...r}=e;return this.request({url:o.FX.BIND_WITH_MOBILE_LOGIN,method:"POST",data:{...t,...r}})}),u(this,"authLogin",e=>{let{extra_params:t={},...r}=e;return this.request({url:o.FX.AUTH_LOGIN,method:"POST",data:{...t,...r}})}),u(this,"memberSwitch",e=>{let{to_sec_member_id:t}=e;return this.request({url:o.Te.MEMBER_SWITCH,method:"POST",data:{to_sec_member_id:t}})});let{request:t}=e;this.request=t}}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class h{constructor(e){l(this,"request",void 0),l(this,"unbindUnusableMobile",e=>{let{mobile:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,code:r,scene:1,...n},["mobile","code"]);return this.request({url:o.FX.UNBIND_UNUSABLE_MOBILE,method:"POST",data:s})});let{request:t}=e;this.request=t}}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class f extends n.Z{constructor(e){super(e,"app"),d(this,"verify",void 0),d(this,"login",void 0),d(this,"bind",void 0);let{printLog:t=!1}=e;let r={...e,request:this.request};this.verify=new a(r),this.login=new c(r),this.bind=new h(r)}}},608115:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r("817388"),i=r("86024");function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class s{constructor(e){o(this,"request",void 0),o(this,"webSdkInit",e=>{let{mode:t,scene:r,extra_params:n={}}=e;return this.request({url:i.Zv.WEB_SDK_INIT,method:"POST",data:{mode:t,scene:r,...n}})});let{request:t}=e;this.request=t}}class a extends n.Z{constructor(e){var t,r,n;super(e,"auth"),t=this,n=void 0,(r="common")in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n;let{printLog:i=!1}=e;let o={...e,request:this.request};this.common=new s(o)}}},817388:function(e,t,r){"use strict";let n,i,o;r.d(t,{Z:function(){return uy}});var s,a,u,c,l,h,d,f,p,v,m,_,y,g,b,E,w,O,S,P,C,T,I,L,A,x,R,k,B,D=r("448226");let M=e=>new Promise((t,r)=>{if(!Array.isArray(e))return r(Error("promises is not a Array"));let n=0,i=e.length;if(0===i)return t([]);let o=[];for(let r=0;r<i;r++)Promise.resolve(e[r]).then(e=>{if(n++,o.push(e),n==i)return t(o)},()=>{if(++n==i)return t(o)})}),N=()=>navigator.hardwareConcurrency,q=()=>navigator.webdriver||/headless/i.test(navigator.userAgent),U=()=>{let e=navigator.plugins;if(!e)return;let t=[];for(let r=0;r<e.length;++r){let n=e[r];if(!n)continue;let i=[];for(let e=0;e<n.length;++e){let t=n[e];i.push({type:t.type,suffixes:t.suffixes})}t.push({name:n.name,description:n.description,mimeTypes:i})}return t},$=e=>{if(!e)return Promise.resolve([]);if(Array.isArray(e)){let t=[];return e.forEach(e=>{t.push(j(e))}),M(t)}return M([j(e)])},j=e=>{var t,r;return null==(r=navigator.permissions)?void 0:null==(t=r.query({name:e}))?void 0:t.then(t=>({state:null==t?void 0:t.state,name:(null==t?void 0:t.name)||e}))},H=()=>"Notification"in window?Notification.permission:"none",G=()=>{let e=e=>e.map(e=>String.fromCharCode.call(null,Number(e))).join(""),t=e(["0x63","0x64","0x63","0x5f","0x61","0x64","0x6f","0x51","0x70","0x6f","0x61","0x73","0x6e","0x66","0x61","0x37","0x36","0x70","0x66","0x63","0x5a","0x4c","0x6d","0x63","0x66","0x6c"]),r=[["0x41","0x72","0x72","0x61","0x79"],["0x4f","0x62","0x6a","0x65","0x63","0x74"],["0x50","0x72","0x6f","0x6d","0x69","0x73","0x65"],["0x50","0x72","0x6f","0x78","0x79"],["0x53","0x79","0x6d","0x62","0x6f","0x6c"],["0x4a","0x53","0x4f","0x4e"]].map(e),n=e=>window[e],i=e=>{let r=`${t}_${e}`;return Object.prototype.hasOwnProperty.call(window,r)||n(r)===n(e)};for(let e=0;e<r.length;e++)if(i(r[e]))return!0;return e(["0x24","0x63","0x64","0x63","0x5f","0x61","0x73","0x64","0x6a","0x66","0x6c","0x61","0x73","0x75","0x74","0x6f","0x70","0x66","0x68","0x76","0x63","0x5a","0x4c","0x6d","0x63","0x66","0x6c","0x5f"]) in window.document||!1},F=()=>{try{let{plugins:e,mimeTypes:t,language:r,languages:n}=window.navigator;if(!r||!Array.isArray(n)||0===n.length||!e||0===e.length||!t||0===t.length||e[0].__proto__!==Plugin.prototype||e.__proto__!==PluginArray.prototype||"Plugin"!==e[0][Symbol.toStringTag])return!0}catch(e){}return!1},J=()=>(function(){return"storage"in navigator&&"estimate"in navigator.storage?navigator.storage.estimate().then(e=>{let{usage:t,quota:r}=e;return{usage:t,quota:r,isPrivate:r&&r<12e7}}).catch(()=>({})):Promise.resolve({})})().then(e=>({indexedDB:V(),localStorage:z(),storageQuotaStatus:e})),V=()=>{let e=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}(),t=/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),r="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return{idb:typeof e,open:e&&typeof e.open,indexedDB:typeof indexedDB,IDBKeyRange:typeof IDBKeyRange,openDatabase:typeof openDatabase,isSafari:t,hasFetch:r}},z=()=>({isSupportLStorage:function(e){try{let t="__storage_test__";return e.setItem(t,t),e.removeItem(t),!0}catch(t){return t instanceof DOMException&&(22===t.code||1014===t.code||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&0!==e.length}}(window.localStorage),size:function(){let e=0;try{for(let t in localStorage)localStorage.hasOwnProperty(t)&&(e+=localStorage[t].length);return e}catch(e){return -1}}(),write:function(){let e="__storage_wirte_test__";try{localStorage.setItem(e,"1");let t=localStorage.getItem(e);return localStorage.removeItem(e),"1"===t}catch(t){try{localStorage.removeItem(e)}catch(e){}return!1}}()}),W=()=>{let e=Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype,"play");return"play"!==HTMLMediaElement.prototype.play.name||e&&!1===e.writable||!1},K=()=>{let e=window.__p_bh;if(e&&e instanceof Promise)return e;let t=Promise.race([new Promise(e=>{let t=document.createElement("iframe");try{t.src="bitbrowser://cc/",t.width="0",t.height="0",t.style.display="none",document.body.appendChild(t),t.onload=function(){try{e("true")}catch(e){}},t.onerror=function(){e("false")}}catch(t){e("false")}finally{setTimeout(()=>{document.body.contains(t)&&document.body.removeChild(t)},1e3)}}),new Promise(e=>{setTimeout(()=>{e("false")},200)})]);return window.__p_bh=t,t},Y=()=>{let e=navigator.userAgent,t=/iPhone/i.test(e),r=/iPod/i.test(e),n=/iPad/i.test(e),i="MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,o=n||i;return{isIOS:t||r||o,isIphone:t,isIpad:o}},Z=()=>{let{userAgent:e}=navigator,{isIOS:t}=Y();return e.indexOf("Android")>-1||e.indexOf("aweme")>-1||t||e.indexOf("Electron")>-1?Promise.resolve("false"):K()},Q=()=>window.innerHeight,X=()=>window.innerWidth,ee=()=>window.outerHeight,et=()=>window.outerWidth,er=()=>{var e;return null==(e=performance)?void 0:e.timeOrigin},en=()=>{var e,t;return(null==(t=performance)?void 0:null==(e=t.memory)?void 0:e.usedJSHeapSize)||"unsupport"},ei=()=>{var e,t,r,n,i,o;let s=(null==(t=performance)?void 0:null==(e=t.getEntries())?void 0:e[0])||{},a=(null==(n=performance.getEntriesByName("script_glue_start"))?void 0:null==(r=n[0])?void 0:r.startTime)||"none",u=(null==(o=performance.getEntriesByName("scriptGlueDuration"))?void 0:null==(i=o[0])?void 0:i.duration)||"none";return{decodedBodySize:null==s?void 0:s.decodedBodySize,entryType:null==s?void 0:s.entryType,initiatorType:null==s?void 0:s.initiatorType,name:null==s?void 0:s.name,renderBlockingStatus:null==s?void 0:s.renderBlockingStatus,serverTiming:((null==s?void 0:s.serverTiming)||[]).map(e=>e.name).join(","),guleStart:a,guleDuration:u}},eo=()=>{try{return{timeOrigin:er(),usedJSHeapSize:en(),navigationTiming:ei()}}catch(e){return{}}},es=()=>{let e;if(n)e=n;else{let t=document.createElement("canvas");for(let r of["webgl","experimental-webgl"]){try{e=t.getContext(r)}catch(e){}if(e)break}n=e}let t=null==e?void 0:e.getExtension("WEBGL_debug_renderer_info");return{vendor:null==e?void 0:e.getParameter(null==t?void 0:t.UNMASKED_VENDOR_WEBGL),renderer:null==e?void 0:e.getParameter(null==t?void 0:t.UNMASKED_RENDERER_WEBGL)}},ea=async e=>{let{useBitReport:t=!1}=e||{};try{let e=N(),r=q(),n=G(),i=F(),o=U(),s=[];o&&o.forEach(e=>{s.push(e.name)});let[a,u,c]=await Promise.all([J(),$(["notifications"]),t?Z():Promise.resolve("")]),l=[];u&&Array.isArray(u)&&u.forEach(e=>{l.push({name:(null==e?void 0:e.name)||"",state:(null==e?void 0:e.state)||""})});let h=Q(),d=X(),f=ee(),p=et();H();let v=eo(),m=W(),_=es();return{hardwareConcurrency:e,webdriver:r,chromedriver:n,shelldriver:i,plugins:s.length,innerHeight:h,innerWidth:d,outerHeight:f,outerWidth:p,webgl:_,performance:v,browser:{t:String(Date.now()).split("").reverse().join(""),bit_protocol:c,bit_helper:m}}}catch(e){return{}}};var eu=r("129182");class ec extends eu.Z{async init(){let{browserInfo:e}=this.initProps;this.request.interceptors.request.use(async t=>(!this.browserInfo&&(this.browserInfo=await ea(e)),t.params={...t.params||{},account_sdk_source_info:(0,D.HI)(JSON.stringify({...this.browserInfo||{}}))},Promise.resolve(t)))}constructor(e){var t,r,n;super(e),t=this,n=void 0,(r="browserInfo")in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.init=this.init.bind(this)}}var el=r("442159");class eh extends eu.Z{init(){this.request.interceptors.request.use(async e=>{if(this.commonParams)e.params={...e.params||{},...this.commonParams||{}};else{let t;let{scene:r="normal",subjectAid:n=0,aff_multi_login:i=0}=this.initProps;if("web"===this.type){let e={};"aff"===r&&(e.subject_aid=n),1===i&&(e.aff_multi_login=1),t=e}if("sso"===this.type||"auth"===this.type){let e={};1===i&&(e.aff_multi_login=1),t=e}t={...t,is_from_ttaccountsdk:1,passport_jssdk_type:"normal",passport_jssdk_version:el.Z,account_sdk_source:this.type},this.commonParams=t,e.params={...e.params||{},...this.commonParams||{}}}return Promise.resolve(e)})}constructor(e){var t,r,n;super(e),t=this,n=void 0,(r="commonParams")in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.init=this.init.bind(this)}}var ed=r("86024");let ef=[104,116,116,112,115,58,47,47,109,115,115,100,107,45,98,111,101,46,98,121,116,101,100,97,110,99,101,46,110,101,116].map(e=>String.fromCharCode(e)).join("");class ep extends eu.Z{init(){!function(e){let t=window,{acrawler:r="1"}=e||{};if("0"===r)return;let n=[].concat(Object.values(ed.h$),Object.values(ed.vu),Object.values(ed.Cx),["/passport/"]);if(null==t?void 0:t._SdkGlueInit)t._SdkGlueInit({bdms:{paths:n,boe:e.isBoe||!1}});else if(null==t?void 0:t.byted_acrawler){let r=Object.values(ed.Cx).map(e=>[e,`/passport/sso${e}`])||[];null==t||t.byted_acrawler.init({aid:e.aid,isSDK:!0,boe:e.isBoe||!1,boeHost:(null==e?void 0:e.isBoe)?ef:"",enablePathList:n,urlRewriteRules:r})}}(this.initProps)}constructor(e){super(e),this.init=this.init.bind(this)}}var ev=function(){return(ev=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function em(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)(n||!(i in t))&&(!n&&(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var e_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{};function ey(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(e,null==t?r.path:t)}},r.exports),r.exports}var eg=function(e){return e&&e.Math==Math&&e},eb=eg("object"==typeof globalThis&&globalThis)||eg("object"==typeof window&&window)||eg("object"==typeof self&&self)||eg("object"==typeof e_&&e_)||function(){return this}()||Function("return this")(),eE=Function.prototype,ew=eE.apply,eO=eE.bind,eS=eE.call,eP="object"==typeof Reflect&&Reflect.apply||(eO?eS.bind(ew):function(){return eS.apply(ew,arguments)}),eC=Function.prototype,eT=eC.bind,eI=eC.call,eL=eT&&eT.bind(eI),eA=eT?function(e){return e&&eL(eI,e)}:function(e){return e&&function(){return eI.apply(e,arguments)}},ex=function(e){return"function"==typeof e},eR=function(e){try{return!!e()}catch(e){return!0}},ek=!eR(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),eB=Function.prototype.call,eD=eB.bind?eB.bind(eB):function(){return eB.apply(eB,arguments)},eM={}.propertyIsEnumerable,eN=Object.getOwnPropertyDescriptor,eq={f:eN&&!eM.call({1:2},1)?function(e){var t=eN(this,e);return!!t&&t.enumerable}:eM},eU=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},e$=eA({}.toString),ej=eA("".slice),eH=function(e){return ej(e$(e),8,-1)},eG=eb.Object,eF=eA("".split),eJ=eR(function(){return!eG("z").propertyIsEnumerable(0)})?function(e){return"String"==eH(e)?eF(e,""):eG(e)}:eG,eV=eb.TypeError,ez=function(e){if(void 0==e)throw eV("Can't call method on "+e);return e},eW=function(e){return eJ(ez(e))},eK=function(e){return"object"==typeof e?null!==e:ex(e)},eY={},eZ=function(e){return ex(e)?e:void 0},eQ=function(e,t){return arguments.length<2?eZ(eY[e])||eZ(eb[e]):eY[e]&&eY[e][t]||eb[e]&&eb[e][t]},eX=eA({}.isPrototypeOf),e0=eQ("navigator","userAgent")||"",e1=eb.process,e2=eb.Deno,e4=e1&&e1.versions||e2&&e2.version,e3=e4&&e4.v8;e3&&(c=(u=e3.split("."))[0]>0&&u[0]<4?1:+(u[0]+u[1])),!c&&e0&&(!(u=e0.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=e0.match(/Chrome\/(\d+)/))&&(c=+u[1]);var e6=c,e5=!!Object.getOwnPropertySymbols&&!eR(function(){var e=Symbol();return!String(e)||!(Object(e) instanceof Symbol)||!Symbol.sham&&e6&&e6<41}),e8=e5&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,e7=eb.Object,e9=e8?function(e){return"symbol"==typeof e}:function(e){var t=eQ("Symbol");return ex(t)&&eX(t.prototype,e7(e))},te=eb.String,tt=function(e){try{return te(e)}catch(e){return"Object"}},tr=eb.TypeError,tn=function(e){if(ex(e))return e;throw tr(tt(e)+" is not a function")},ti=function(e,t){var r=e[t];return null==r?void 0:tn(r)},to=eb.TypeError,ts=function(e,t){var r,n;if("string"===t&&ex(r=e.toString)&&!eK(n=eD(r,e))||ex(r=e.valueOf)&&!eK(n=eD(r,e))||"string"!==t&&ex(r=e.toString)&&!eK(n=eD(r,e)))return n;throw to("Can't convert object to primitive value")},ta=Object.defineProperty,tu="__core-js_shared__",tc=eb[tu]||function(e,t){try{ta(eb,e,{value:t,configurable:!0,writable:!0})}catch(r){eb[e]=t}return t}(tu,{}),tl=ey(function(e){(e.exports=function(e,t){return tc[e]||(tc[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.20.1",mode:"pure",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),th=eb.Object,td=function(e){return th(ez(e))},tf=eA({}.hasOwnProperty),tp=Object.hasOwn||function(e,t){return tf(td(e),t)},tv=0,tm=Math.random(),t_=eA(1..toString),ty=function(e){return"Symbol("+(void 0===e?"":e)+")_"+t_(++tv+tm,36)},tg=tl("wks"),tb=eb.Symbol,tE=tb&&tb.for,tw=e8?tb:tb&&tb.withoutSetter||ty,tO=function(e){if(!tp(tg,e)||!(e5||"string"==typeof tg[e])){var t="Symbol."+e;e5&&tp(tb,e)?tg[e]=tb[e]:e8&&tE?tg[e]=tE(t):tg[e]=tw(t)}return tg[e]},tS=eb.TypeError,tP=tO("toPrimitive"),tC=function(e,t){if(!eK(e)||e9(e))return e;var r,n=ti(e,tP);if(n){if(void 0===t&&(t="default"),!eK(r=eD(n,e,t))||e9(r))return r;throw tS("Can't convert object to primitive value")}return void 0===t&&(t="number"),ts(e,t)},tT=function(e){var t=tC(e,"string");return e9(t)?t:t+""},tI=eb.document,tL=eK(tI)&&eK(tI.createElement),tA=function(e){return tL?tI.createElement(e):{}},tx=!ek&&!eR(function(){return 7!=Object.defineProperty(tA("div"),"a",{get:function(){return 7}}).a}),tR=Object.getOwnPropertyDescriptor,tk=ek?tR:function(e,t){if(e=eW(e),t=tT(t),tx)try{return tR(e,t)}catch(e){}if(tp(e,t))return eU(!eD(eq.f,e,t),e[t])},tB=/#|\.prototype\./,tD=function(e,t){var r=tN[tM(e)];return r==tU||r!=tq&&(ex(t)?eR(t):!!t)},tM=tD.normalize=function(e){return String(e).replace(tB,".").toLowerCase()},tN=tD.data={},tq=tD.NATIVE="N",tU=tD.POLYFILL="P",t$=eA(eA.bind),tj=function(e,t){return tn(e),void 0===t?e:t$?t$(e,t):function(){return e.apply(t,arguments)}},tH=eb.String,tG=eb.TypeError,tF=function(e){if(eK(e))return e;throw tG(tH(e)+" is not an object")},tJ=eb.TypeError,tV=Object.defineProperty,tz={f:ek?tV:function(e,t,r){if(tF(e),t=tT(t),tF(r),tx)try{return tV(e,t,r)}catch(e){}if("get"in r||"set"in r)throw tJ("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},tW=ek?function(e,t,r){return tz.f(e,t,eU(1,r))}:function(e,t,r){return e[t]=r,e},tK=tk,tY=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return eP(e,this,arguments)};return t.prototype=e.prototype,t},tZ=function(e,t){var r,n,i,o,s,a,u,c,l=e.target,h=e.global,d=e.stat,f=e.proto,p=h?eb:d?eb[l]:(eb[l]||{}).prototype,v=h?eY:eY[l]||tW(eY,l,{})[l],m=v.prototype;for(i in t)r=!tD(h?i:l+(d?".":"#")+i,e.forced)&&p&&tp(p,i),s=v[i],r&&(a=e.noTargetGet?(c=tK(p,i))&&c.value:p[i]),o=r&&a?a:t[i],(!r||typeof s!=typeof o)&&(u=e.bind&&r?tj(o,eb):e.wrap&&r?tY(o):f&&ex(o)?eA(o):o,(e.sham||o&&o.sham||s&&s.sham)&&tW(u,"sham",!0),tW(v,i,u),f&&(!tp(eY,n=l+"Prototype")&&tW(eY,n,{}),tW(eY[n],i,o),e.real&&m&&!m[i]&&tW(m,i,o)))},tQ=tl("keys"),tX=function(e){return tQ[e]||(tQ[e]=ty(e))},t0=!eR(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),t1=tX("IE_PROTO"),t2=eb.Object,t4=t2.prototype,t3=t0?t2.getPrototypeOf:function(e){var t=td(e);if(tp(t,t1))return t[t1];var r=t.constructor;return ex(r)&&t instanceof r?r.prototype:t instanceof t2?t4:null},t6=eb.String,t5=eb.TypeError,t8=function(e){if("object"==typeof e||ex(e))return e;throw t5("Can't set "+t6(e)+" as a prototype")},t7=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=eA(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return tF(r),t8(n),t?e(r,n):r.__proto__=n,r}}():void 0),t9=Math.ceil,re=Math.floor,rt=function(e){var t=+e;return t!=t||0===t?0:(t>0?re:t9)(t)},rr=Math.max,rn=Math.min,ri=function(e,t){var r=rt(e);return r<0?rr(r+t,0):rn(r,t)},ro=Math.min,rs=function(e){var t;return(t=e.length)>0?ro(rt(t),9007199254740991):0},ra=function(e){return function(t,r,n){var i,o=eW(t),s=rs(o),a=ri(n,s);if(e&&r!=r){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((e||a in o)&&o[a]===r)return e||a||0;return!e&&-1}},ru={includes:ra(!0),indexOf:ra(!1)},rc={},rl=ru.indexOf,rh=eA([].push),rd=function(e,t){var r,n=eW(e),i=0,o=[];for(r in n)!tp(rc,r)&&tp(n,r)&&rh(o,r);for(;t.length>i;)tp(n,r=t[i++])&&(~rl(o,r)||rh(o,r));return o},rf=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],rp=rf.concat("length","prototype"),rv={f:Object.getOwnPropertyNames||function(e){return rd(e,rp)}},rm={f:Object.getOwnPropertySymbols},r_=eA([].concat),ry=eQ("Reflect","ownKeys")||function(e){var t=rv.f(tF(e)),r=rm.f;return r?r_(t,r(e)):t},rg=Object.keys||function(e){return rd(e,rf)},rb=ek?Object.defineProperties:function(e,t){tF(e);for(var r,n=eW(t),i=rg(t),o=i.length,s=0;o>s;)tz.f(e,r=i[s++],n[r]);return e},rE=eQ("document","documentElement"),rw="prototype",rO="script",rS=tX("IE_PROTO"),rP=function(){},rC=function(e){return"<"+rO+">"+e+"</"+rO+">"},rT=function(e){e.write(rC("")),e.close();var t=e.parentWindow.Object;return e=null,t},rI=function(){var e,t=tA("iframe");return t.style.display="none",rE.appendChild(t),t.src=String("java"+rO+":"),(e=t.contentWindow.document).open(),e.write(rC("document.F=Object")),e.close(),e.F},rL=function(){try{l=new ActiveXObject("htmlfile")}catch(e){}rL="undefined"!=typeof document?document.domain&&l?rT(l):rI():rT(l);for(var e=rf.length;e--;)delete rL[rw][rf[e]];return rL()};rc[rS]=!0;var rA=Object.create||function(e,t){var r;return null!==e?(rP[rw]=tF(e),r=new rP,rP[rw]=null,r[rS]=e):r=rL(),void 0===t?r:rb(r,t)},rx=eA("".replace),rR=String(Error("zxcasd").stack),rk=/\n\s*at [^:]*:[^\n]*/,rB=rk.test(rR),rD=function(e,t){if(rB&&"string"==typeof e)for(;t--;)e=rx(e,rk,"");return e},rM=function(e,t){eK(t)&&"cause"in t&&tW(e,"cause",t.cause)},rN={},rq=tO("iterator"),rU=Array.prototype,r$=function(e){return void 0!==e&&(rN.Array===e||rU[rq]===e)},rj=tO("toStringTag"),rH={};rH[rj]="z";var rG="[object z]"===String(rH),rF=tO("toStringTag"),rJ=eb.Object,rV="Arguments"==eH(function(){return arguments}()),rz=function(e,t){try{return e[t]}catch(e){}},rW=rG?eH:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=rz(t=rJ(e),rF))?r:rV?eH(t):"Object"==(n=eH(t))&&ex(t.callee)?"Arguments":n},rK=tO("iterator"),rY=function(e){if(void 0!=e)return ti(e,rK)||ti(e,"@@iterator")||rN[rW(e)]},rZ=eb.TypeError,rQ=function(e,t){var r=arguments.length<2?rY(e):t;if(tn(r))return tF(eD(r,e));throw rZ(tt(e)+" is not iterable")},rX=function(e,t,r){var n,i;tF(e);try{if(!(n=ti(e,"return"))){if("throw"===t)throw r;return r}n=eD(n,e)}catch(e){i=!0,n=e}if("throw"===t)throw r;if(i)throw n;return tF(n),r},r0=eb.TypeError,r1=function(e,t){this.stopped=e,this.result=t},r2=r1.prototype,r4=function(e,t,r){var n,i,o,s,a,u,c,l=r&&r.that,h=!!(r&&r.AS_ENTRIES),d=!!(r&&r.IS_ITERATOR),f=!!(r&&r.INTERRUPTED),p=tj(t,l),v=function(e){return n&&rX(n,"normal",e),new r1(!0,e)},m=function(e){return h?(tF(e),f?p(e[0],e[1],v):p(e[0],e[1])):f?p(e,v):p(e)};if(d)n=e;else{if(!(i=rY(e)))throw r0(tt(e)+" is not iterable");if(r$(i)){for(o=0,s=rs(e);s>o;o++)if((a=m(e[o]))&&eX(r2,a))return a;return new r1(!1)}n=rQ(e,i)}for(u=n.next;!(c=eD(u,n)).done;){try{a=m(c.value)}catch(e){rX(n,"throw",e)}if("object"==typeof a&&a&&eX(r2,a))return a}return new r1(!1)},r3=eb.String,r6=function(e){if("Symbol"===rW(e))throw TypeError("Cannot convert a Symbol value to a string");return r3(e)},r5=!eR(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",eU(1,7)),7!==e.stack)}),r8=tO("toStringTag"),r7=eb.Error,r9=[].push,ne=function(e,t){var r,n=arguments.length>2?arguments[2]:void 0,i=eX(nt,this);t7?r=t7(new r7,i?t3(this):nt):tW(r=i?this:rA(nt),r8,"Error"),void 0!==t&&tW(r,"message",function(e,t){return void 0===e?arguments.length<2?"":t:r6(e)}(t)),r5&&tW(r,"stack",rD(r.stack,1)),rM(r,n);var o=[];return r4(e,r9,{that:o}),tW(r,"errors",o),r};t7?t7(ne,r7):!function(e,t,r){for(var n=ry(t),i=tz.f,o=tk,s=0;s<n.length;s++){var a=n[s];!tp(e,a)&&!(r&&tp(r,a))&&i(e,a,o(t,a))}}(ne,r7,{name:!0});var nt=ne.prototype=rA(r7.prototype,{constructor:eU(1,ne),message:eU(1,""),name:eU(1,"AggregateError")});tZ({global:!0},{AggregateError:ne});var nr=eA(Function.toString);!ex(tc.inspectSource)&&(tc.inspectSource=function(e){return nr(e)});var nn=tc.inspectSource,ni=eb.WeakMap,no=ex(ni)&&/native code/.test(nn(ni)),ns="Object already initialized",na=eb.TypeError,nu=eb.WeakMap;if(no||tc.state){var nc=tc.state||(tc.state=new nu),nl=eA(nc.get),nh=eA(nc.has),nd=eA(nc.set);h=function(e,t){if(nh(nc,e))throw new na(ns);return t.facade=e,nd(nc,e,t),t},d=function(e){return nl(nc,e)||{}},f=function(e){return nh(nc,e)}}else{var nf=tX("state");rc[nf]=!0,h=function(e,t){if(tp(e,nf))throw new na(ns);return t.facade=e,tW(e,nf,t),t},d=function(e){return tp(e,nf)?e[nf]:{}},f=function(e){return tp(e,nf)}}var np=h,nv=function(e){return function(t){var r;if(!eK(t)||(r=d(t)).type!==e)throw na("Incompatible receiver, "+e+" required");return r}},nm=Function.prototype,n_=ek&&Object.getOwnPropertyDescriptor,ny=tp(nm,"name"),ng=ny&&(!ek||ek&&n_(nm,"name").configurable),nb=function(e,t,r,n){n&&n.enumerable?e[t]=r:tW(e,t,r)},nE=tO("iterator"),nw=!1;[].keys&&("next"in(m=[].keys())?(v=t3(t3(m)))!==Object.prototype&&(p=v):nw=!0),!ex((p=void 0==p||eR(function(){var e={};return p[nE].call(e)!==e})?{}:rA(p))[nE])&&nb(p,nE,function(){return this});var nO=p,nS=nw,nP=rG?({}).toString:function(){return"[object "+rW(this)+"]"},nC=tz.f,nT=tO("toStringTag"),nI=function(e,t,r,n){if(e){var i=r?e:e.prototype;!tp(i,nT)&&nC(i,nT,{configurable:!0,value:t}),n&&!rG&&tW(i,"toString",nP)}},nL=function(){return this},nA=function(e,t,r,n){var i=t+" Iterator";return e.prototype=rA(nO,{next:eU(+!n,r)}),nI(e,i,!1,!0),rN[i]=nL,e},nx=ny&&"something"===(function(){}).name,nR=nS,nk=tO("iterator"),nB="keys",nD="values",nM="entries",nN=function(){return this},nq=function(e,t,r,n,i,o,s){nA(r,t,n);var a,u,c,l=function(e){if(e===i&&v)return v;if(!nR&&e in f)return f[e];switch(e){case nB:return function(){return new r(this,e)};case nD:case nM:return function(){return new r(this,e)}}return function(){return new r(this)}},h=t+" Iterator",d=!1,f=e.prototype,p=f[nk]||f["@@iterator"]||i&&f[i],v=!nR&&p||l(i),m="Array"==t&&f.entries||p;if(m&&(a=t3(m.call(new e)))!==Object.prototype&&a.next&&(nI(a,h,!0,!0),rN[h]=nN),nx&&i==nD&&p&&p.name!==nD&&(d=!0,v=function(){return eD(p,this)}),i){if(u={values:l(nD),keys:o?v:l(nB),entries:l(nM)},s)for(c in u)(nR||d||!(c in f))&&nb(f,c,u[c]);else tZ({target:t,proto:!0,forced:nR||d},u)}return s&&f[nk]!==v&&nb(f,nk,v,{name:i}),rN[t]=v,u};tz.f;var nU="Array Iterator",n$=nv(nU);nq(Array,"Array",function(e,t){np(this,{type:nU,target:eW(e),index:0,kind:t})},function(){var e=n$(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),rN.Arguments=rN.Array;var nj=eb.Promise,nH=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:nb(e,n,t[n],r);return e},nG=tO("species"),nF=eb.TypeError,nJ=function(e,t){if(eX(t,e))return e;throw nF("Incorrect invocation")},nV=tO("iterator"),nz=!1;try{var nW=0,nK={next:function(){return{done:!!nW++}},return:function(){nz=!0}};nK[nV]=function(){return this},Array.from(nK,function(){throw 2})}catch(e){}var nY=function(){},nZ=[],nQ=eQ("Reflect","construct"),nX=/^\s*(?:class|function)\b/,n0=eA(nX.exec),n1=!nX.exec(nY),n2=function(e){if(!ex(e))return!1;try{return nQ(nY,nZ,e),!0}catch(e){return!1}},n4=function(e){if(!ex(e))return!1;switch(rW(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return n1||!!n0(nX,nn(e))}catch(e){return!0}};n4.sham=!0;var n3=!nQ||eR(function(){var e;return n2(n2.call)||!n2(Object)||!n2(function(){e=!0})||e})?n4:n2,n6=eb.TypeError,n5=function(e){if(n3(e))return e;throw n6(tt(e)+" is not a constructor")},n8=tO("species"),n7=function(e,t){var r,n=tF(e).constructor;return void 0===n||void 0==(r=tF(n)[n8])?t:n5(r)},n9=eA([].slice),ie=/(?:ipad|iphone|ipod).*applewebkit/i.test(e0),it="process"==eH(eb.process),ir=eb.setImmediate,ii=eb.clearImmediate,io=eb.process,is=eb.Dispatch,ia=eb.Function,iu=eb.MessageChannel,ic=eb.String,il=0,ih={},id="onreadystatechange";try{_=eb.location}catch(e){}var ip=function(e){if(tp(ih,e)){var t=ih[e];delete ih[e],t()}},iv=function(e){return function(){ip(e)}},im=function(e){ip(e.data)},i_=function(e){eb.postMessage(ic(e),_.protocol+"//"+_.host)};(!ir||!ii)&&(ir=function(e){var t=n9(arguments,1);return ih[++il]=function(){eP(ex(e)?e:ia(e),void 0,t)},y(il),il},ii=function(e){delete ih[e]},it?y=function(e){io.nextTick(iv(e))}:is&&is.now?y=function(e){is.now(iv(e))}:iu&&!ie?(b=(g=new iu).port2,g.port1.onmessage=im,y=tj(b.postMessage,b)):eb.addEventListener&&ex(eb.postMessage)&&!eb.importScripts&&_&&"file:"!==_.protocol&&!eR(i_)?(y=i_,eb.addEventListener("message",im,!1)):y=id in tA("script")?function(e){rE.appendChild(tA("script"))[id]=function(){rE.removeChild(this),ip(e)}}:function(e){setTimeout(iv(e),0)});var iy=ir,ig=/ipad|iphone|ipod/i.test(e0)&&void 0!==eb.Pebble,ib=/web0s(?!.*chrome)/i.test(e0),iE=iy,iw=eb.MutationObserver||eb.WebKitMutationObserver,iO=eb.document,iS=eb.process,iP=eb.Promise,iC=tk(eb,"queueMicrotask"),iT=iC&&iC.value;!iT&&(E=function(){var e,t;for(it&&(e=iS.domain)&&e.exit();w;){t=w.fn,w=w.next;try{t()}catch(e){throw w?S():O=void 0,e}}O=void 0,e&&e.enter()},ie||it||ib||!iw||!iO?!ig&&iP&&iP.resolve?((T=iP.resolve(void 0)).constructor=iP,I=tj(T.then,T),S=function(){I(E)}):it?S=function(){iS.nextTick(E)}:(iE=tj(iE,eb),S=function(){iE(E)}):(P=!0,C=iO.createTextNode(""),new iw(E).observe(C,{characterData:!0}),S=function(){C.data=P=!P}));var iI=iT||function(e){var t={fn:e,next:void 0};O&&(O.next=t),!w&&(w=t,S()),O=t},iL=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=tn(t),this.reject=tn(r)},iA={f:function(e){return new iL(e)}},ix=function(e,t){if(tF(e),eK(t)&&t.constructor===e)return t;var r=iA.f(e);return(0,r.resolve)(t),r.promise},iR=function(e,t){var r=eb.console;r&&r.error},ik=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},iB=function(){this.head=null,this.tail=null};iB.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var iD="object"==typeof window,iM=iy,iN=tO("species"),iq="Promise",iU=nv(iq),i$=nv(iq),ij=nj&&nj.prototype,iH=nj,iG=ij,iF=eb.TypeError,iJ=eb.document,iV=eb.process,iz=iA.f,iW=iz,iK=!!(iJ&&iJ.createEvent&&eb.dispatchEvent),iY=ex(eb.PromiseRejectionEvent),iZ="unhandledrejection",iQ=!1,iX=tD(iq,function(){var e=nn(iH),t=e!==String(iH);if(!t&&66===e6||!iG.finally)return!0;if(e6>=51&&/native code/.test(e))return!1;var r=new iH(function(e){e(1)}),n=function(e){e(function(){},function(){})};return(r.constructor={})[iN]=n,!(iQ=r.then(function(){}) instanceof n)||!t&&iD&&!iY}),i0=iX||!function(e,t){if(!nz)return!1;var r=!1;try{var n={};n[nV]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}(function(e){iH.all(e).catch(function(){})}),i1=function(e){var t;return!!(eK(e)&&ex(t=e.then))&&t},i2=function(e,t){var r,n,i,o=t.value,s=1==t.state,a=s?e.ok:e.fail,u=e.resolve,c=e.reject,l=e.domain;try{a?(!s&&(2===t.rejection&&i8(t),t.rejection=1),!0===a?r=o:(l&&l.enter(),r=a(o),l&&(l.exit(),i=!0)),r===e.promise?c(iF("Promise-chain cycle")):(n=i1(r))?eD(n,r,u,c):u(r)):c(o)}catch(e){l&&!i&&l.exit(),c(e)}},i4=function(e,t){!e.notified&&(e.notified=!0,iI(function(){for(var r,n=e.reactions;r=n.get();)i2(r,e);e.notified=!1,t&&!e.rejection&&i6(e)}))},i3=function(e,t,r){var n,i;iK?((n=iJ.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),eb.dispatchEvent(n)):n={promise:t,reason:r},!iY&&(i=eb["on"+e])?i(n):e===iZ&&iR("Unhandled promise rejection",r)},i6=function(e){eD(iM,eb,function(){var t,r=e.facade,n=e.value;if(i5(e)&&(t=ik(function(){it?iV.emit("unhandledRejection",n,r):i3(iZ,r,n)}),e.rejection=it||i5(e)?2:1,t.error))throw t.value})},i5=function(e){return 1!==e.rejection&&!e.parent},i8=function(e){eD(iM,eb,function(){var t=e.facade;it?iV.emit("rejectionHandled",t):i3("rejectionhandled",t,e.value)})},i7=function(e,t,r){return function(n){e(t,n,r)}},i9=function(e,t,r){!e.done&&(e.done=!0,r&&(e=r),e.value=t,e.state=2,i4(e,!0))},oe=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw iF("Promise can't be resolved itself");var n=i1(t);n?iI(function(){var r={done:!1};try{eD(n,t,i7(oe,r,e),i7(i9,r,e))}catch(t){i9(r,t,e)}}):(e.value=t,e.state=1,i4(e,!1))}catch(t){i9({done:!1},t,e)}}};iX&&(iG=(iH=function(e){nJ(this,iG),tn(e),eD(L,this);var t=iU(this);try{e(i7(oe,t),i7(i9,t))}catch(e){i9(t,e)}}).prototype,(L=function(e){np(this,{type:iq,done:!1,notified:!1,parent:!1,reactions:new iB,rejection:!1,state:0,value:void 0})}).prototype=nH(iG,{then:function(e,t){var r=i$(this),n=iz(n7(this,iH));return r.parent=!0,n.ok=!ex(e)||e,n.fail=ex(t)&&t,n.domain=it?iV.domain:void 0,0==r.state?r.reactions.add(n):iI(function(){i2(n,r)}),n.promise},catch:function(e){return this.then(void 0,e)}}),A=function(){var e=new L,t=iU(e);this.promise=e,this.resolve=i7(oe,t),this.reject=i7(i9,t)},iA.f=iz=function(e){return e===iH||e===x?new A(e):iW(e)}),tZ({global:!0,wrap:!0,forced:iX},{Promise:iH}),nI(iH,iq,!1,!0),s=eQ(iq),a=tz.f,ek&&s&&!s[nG]&&a(s,nG,{configurable:!0,get:function(){return this}}),x=eQ(iq),tZ({target:iq,stat:!0,forced:iX},{reject:function(e){var t=iz(this);return eD(t.reject,void 0,e),t.promise}}),tZ({target:iq,stat:!0,forced:!0},{resolve:function(e){return ix(this===x?iH:this,e)}}),tZ({target:iq,stat:!0,forced:i0},{all:function(e){var t=this,r=iz(t),n=r.resolve,i=r.reject,o=ik(function(){var r=tn(t.resolve),o=[],s=0,a=1;r4(e,function(e){var u=s++,c=!1;a++,eD(r,t,e).then(function(e){!c&&(c=!0,o[u]=e,--a||n(o))},i)}),--a||n(o)});return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=iz(t),n=r.reject,i=ik(function(){var i=tn(t.resolve);r4(e,function(e){eD(i,t,e).then(r.resolve,n)})});return i.error&&n(i.value),r.promise}}),tZ({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=iA.f(t),n=r.resolve,i=r.reject,o=ik(function(){var r=tn(t.resolve),i=[],o=0,s=1;r4(e,function(e){var a=o++,u=!1;s++,eD(r,t,e).then(function(e){!u&&(u=!0,i[a]={status:"fulfilled",value:e},--s||n(i))},function(e){!u&&(u=!0,i[a]={status:"rejected",reason:e},--s||n(i))})}),--s||n(i)});return o.error&&i(o.value),r.promise}});var ot="No one promise resolved";tZ({target:"Promise",stat:!0},{any:function(e){var t=this,r=eQ("AggregateError"),n=iA.f(t),i=n.resolve,o=n.reject,s=ik(function(){var n=tn(t.resolve),s=[],a=0,u=1,c=!1;r4(e,function(e){var l=a++,h=!1;u++,eD(n,t,e).then(function(e){!h&&!c&&(c=!0,i(e))},function(e){!h&&!c&&(h=!0,s[l]=e,--u||o(new r(s,ot)))})}),--u||o(new r(s,ot))});return s.error&&o(s.value),n.promise}}),tZ({target:"Promise",proto:!0,real:!0,forced:!!nj&&eR(function(){nj.prototype.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=n7(this,eQ("Promise")),r=ex(e);return this.then(r?function(r){return ix(t,e()).then(function(){return r})}:e,r?function(r){return ix(t,e()).then(function(){throw r})}:e)}});var or=eA("".charAt),on=eA("".charCodeAt),oi=eA("".slice),oo=function(e){return function(t,r){var n,i,o=r6(ez(t)),s=rt(r),a=o.length;return s<0||s>=a?e?"":void 0:(n=on(o,s))<55296||n>56319||s+1===a||(i=on(o,s+1))<56320||i>57343?e?or(o,s):n:e?oi(o,s,s+2):(n-55296<<10)+(i-56320)+65536}},os={codeAt:oo(!1),charAt:oo(!0)},oa=os.charAt,ou="String Iterator",oc=nv(ou);nq(String,"String",function(e){np(this,{type:ou,string:r6(e),index:0})},function(){var e,t=oc(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=oa(r,n),t.index+=e.length,{value:e,done:!1})});var ol=eY.Promise,oh={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},od=tO("toStringTag");for(var of in oh){var op=eb[of],ov=op&&op.prototype;ov&&rW(ov)!==od&&tW(ov,od,of),rN[of]=rN.Array}var om="s_v_web_id",o_={setting:"/vc/setting"},oy=function(e){for(var t=Object.keys(e),r="",n=0;n<t.length;n++){var i=t[n],o=e[i],s="".concat(encodeURIComponent(i),"=").concat(encodeURIComponent(o));r=n>=1?"".concat(r,"&").concat(s):s}return r},og=function(e){var t=e.url,r=e.method,n=e.data,i=e.config,o=null==i?void 0:i.slardar;return new ol(function(s,a){var u=new XMLHttpRequest,c=Date.now(),l=function(){o&&-1!==e.url.indexOf(o_.setting)&&o.reportHttp({url:t,method:r,duration:Date.now()-c,status:u.status})};u.onreadystatechange=function(){if(u.readyState===u.DONE){if(u.status>=200&&u.status<300){var e={},t=u.response||u.responseText,r=u.getResponseHeader("Content-Type")||u.getResponseHeader("content-type");if(r&&-1!==r.indexOf("application/json"))try{e=JSON.parse(t)}catch(e){}else e=t;setTimeout(function(){s(e)},0)}else a(TypeError("Network request failed, status: ".concat(u.status)));l()}},u.onerror=function(){setTimeout(function(){a(TypeError("Network request failed, occur error"))},0),l()},u.ontimeout=function(){setTimeout(function(){a(TypeError("Network request failed, timeout"))},0),l()},u.onabort=function(){setTimeout(function(){a(new DOMException("Aborted","AbortError"))},0),l()};var h=t;if((null==i?void 0:i.params)&&(h="".concat(h,"?").concat(oy(i.params))),u.open(r,h,!0),(null==i?void 0:i.timeout)&&"number"==typeof i.timeout?u.timeout=i.timeout:u.timeout=5e3,null==i?void 0:i.headers){for(var d=i.headers,f=0,p=Object.keys(d);f<p.length;f++){var v=p[f];u.setRequestHeader(v,d[v])}}(null==i?void 0:i.withCredentials)&&(u.withCredentials=i.withCredentials),"POST"===r.toUpperCase()&&n?u.send(JSON.stringify(n)):u.send(null)})},ob=function(e,t){return void 0===t&&(t={}),og({url:e,method:"GET",config:t})},oE=function(e,t,r){void 0===r&&(r={});var n=r.headers?ev({"Content-Type":"application/json"},r.headers):{"Content-Type":"application/json"};return og({url:e,method:"POST",data:t,config:ev(ev({},r),{headers:n})})},ow=ey(function(e,t){!function(t){var r,n;e.exports=t()}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function r(n){function i(){}function o(t,r,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},i.defaults,o)).expires&&(o.expires=new Date(new Date*1+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var s=JSON.stringify(r);/^[\{\[]/.test(s)&&(r=s)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var u in o){if(!o[u])continue;if(a+="; "+u,!0!==o[u])a+="="+o[u].split(";")[0]}return document.cookie=t+"="+r+a}}function s(e,r){if("undefined"!=typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],s=0;s<o.length;s++){var a=o[s].split("="),u=a.slice(1).join("=");!r&&'"'===u.charAt(0)&&(u=u.slice(1,-1));try{var c=t(a[0]);if(u=(n.read||n)(u,c)||t(u),r)try{u=JSON.parse(u)}catch(e){}if(i[c]=u,e===c)break}catch(e){}}return e?i[e]:i}}return i.set=o,i.get=function(e){return s(e,!1)},i.getJSON=function(e){return s(e,!0)},i.remove=function(t,r){o(t,"",e(r,{expires:-1}))},i.defaults={},i.withConverter=r,i}(function(){})})}),oO="",oS=function(){if(oO)return oO;try{oO=ow.get(om)||(null==localStorage?void 0:localStorage.getItem(om))||""}catch(e){}return!oO&&(oO=function(){var e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),t=e.length,r=Date.now().toString(36),n=[];n[8]=n[13]=n[18]=n[23]="_",n[14]="4";for(var i=0,o=void 0;i<36;i++)!n[i]&&(o=0|Math.random()*t,n[i]=e[19==i?3&o|8:o]);return"verify_"+r+"_"+n.join("")}()),oO},oP=ey(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return(r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function i(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)(n||!(i in t))&&(!n&&(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}var o=["init","start","config","beforeDestroy","provide","beforeReport","report","beforeBuild","build","beforeSend","send","beforeConfig"],s=function(){return{}};function a(e){return e}function u(e){return"object"==typeof e&&null!==e}var c=Object.prototype;function l(e){return"[object Array]"===c.toString.call(e)}function h(e){return"number"==typeof e}function d(e){return"string"==typeof e}function f(e,t){if(!l(e)||0===e.length)return!1;for(var r=0;r<e.length;){if(e[r]===t)return!0;r++}return!1}var p=function(e,t){if(!l(e))return e;var r=e.indexOf(t);if(r>=0){var n=e.slice();return n.splice(r,1),n}return e},v=function(e,t,r){for(var i,o=n(t.split(".")),s=o[0],a=o.slice(1);e&&a.length>0;)e=e[s],s=(i=n(a))[0],a=i.slice(1);if(!!e)return r(e,s)};function m(e){try{return d(e)?e:JSON.stringify(e)}catch(e){return"[FAILED_TO_STRINGIFY]:"+String(e)}}"".padStart;var _=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},g=function(e){return!!(Math.random()<Number(e))||!1},b=function(e,t){return!!(e<Number(t))||!1},E=function(e){return function(t){for(var r=t,n=0;n<e.length;n++)if(r)try{r=e[n](r)}catch(e){_(e)}else break;return r}};function w(){var e=function(){for(var e=Array(16),t=0,r=0;r<16;r++)(3&r)==0&&(t=4294967296*Math.random()),e[r]=t>>>((3&r)<<3)&255;return e}();return e[6]=15&e[6]|64,e[8]=63&e[8]|128,function(e){for(var t=[],r=0;r<256;++r)t[r]=(r+256).toString(16).substr(1);var n=0;return[t[e[n++]],t[e[n++]],t[e[n++]],t[e[n++]],"-",t[e[n++]],t[e[n++]],"-",t[e[n++]],t[e[n++]],"-",t[e[n++]],t[e[n++]],"-",t[e[n++]],t[e[n++]],t[e[n++]],t[e[n++]],t[e[n++]],t[e[n++]]].join("")}(e)}var O=function(e){var t,n,i,o=(t={},n={},i={set:function(e,r){return t[e]=r,n[e]=m(r),i},merge:function(e){return t=r(r({},t),e),Object.keys(e).forEach(function(t){n[t]=m(e[t])}),i},delete:function(e){return delete t[e],delete n[e],i},clear:function(){return t={},n={},i},get:function(e){return n[e]},toString:function(){return r({},n)}});e.provide("context",o),e.on("report",function(e){return!e.extra&&(e.extra={}),e.extra.context=o.toString(),e})},S=function(){return Date.now()},P=function(e){if(e)return!e.__SLARDAR_REGISTRY__&&(e.__SLARDAR_REGISTRY__={Slardar:{plugins:[],errors:[],subject:{}}}),e.__SLARDAR_REGISTRY__.Slardar},C=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=P(function(){if("object"==typeof window&&u(window))return window}());r&&(!r.errors&&(r.errors=[]),r.errors.push(e))},T="custom",I=function(e){if(!!e&&!!u(e)&&!!e.name&&!!d(e.name)){var t={name:e.name,type:"event"};if("metrics"in e&&u(e.metrics)){var r=e.metrics,n={};for(var i in r)h(r[i])&&(n[i]=r[i]);t.metrics=n}if("categories"in e&&u(e.categories)){var o=e.categories,s={};for(var i in o)s[i]=m(o[i]);t.categories=s}return t}},L=function(e){if(!!e&&!!u(e)&&!!e.content&&!!d(e.content)){var t={content:m(e.content),type:"log",level:"info"};if("level"in e&&(t.level=e.level),"extra"in e&&u(e.extra)){var r=e.extra,n={},i={};for(var o in r)h(r[o])?n[o]=r[o]:i[o]=m(r[o]);t.metrics=n,t.categories=i}return t}},A=function(e){e.provide("sendEvent",function(t){var r=I(t);r&&e.report({ev_type:T,payload:r,extra:{timestamp:S()}})}),e.provide("sendLog",function(t){var r=L(t);r&&e.report({ev_type:T,payload:r,extra:{timestamp:S()}})})},x=function(e,t){var r=e.common||{};return r.sample_rate=t,e.common=r,e},R=function(e,t,r,n,i){var o;return e?(o=i(n,t),function(){return o}):function(){return r(t)}},k=function(e,t,r){switch(r){case"eq":return f(t,e);case"neq":return!f(t,e);case"gt":return e>t[0];case"gte":return e>=t[0];case"lt":return e<t[0];case"lte":return e<=t[0];case"regex":return!!e.match(new RegExp(t.join("|")));case"not_regex":return!e.match(new RegExp(t.join("|")));default:return!1}},B=function(e,t,r,n){var i,o,s=v(e,t,function(e,t){return e[t]});if(void 0===s)return!1;var a="boolean"==typeof s?"bool":h(s)?"number":"string";return k(s,(i=n,o=a,i.map(function(e){switch(o){case"number":return Number(e);case"boolean":return"1"===e;default:return String(e)}})),r)},D=function(e,t){try{return"rule"===t.type?B(e,t.field,t.op,t.values):"and"===t.type?t.children.every(function(t){return D(e,t)}):t.children.some(function(t){return D(e,t)})}catch(e){return C(e),!1}},M=function(e,t,r,n,i,o){var s={};return Object.keys(e).forEach(function(a){var u=e[a],c=u.enable,l=u.sample_rate,h=u.conditional_sample_rules;c?(s[a]={enable:c,sample_rate:l,effectiveSampleRate:l*r,hit:R(t,l,n,i,o)},h&&(s[a].conditional_hit_rules=h.map(function(e){var s=e.sample_rate,a=e.filter;return{sample_rate:s,hit:R(t,s,n,i,o),effectiveSampleRate:s*r,filter:a}}))):s[a]={enable:c,hit:function(){return!1},sample_rate:0,effectiveSampleRate:0}}),s},N=function(e,t,r,n,i){if(!t)return a;var o=t.sample_rate,s=t.include_users,u=t.sample_granularity,c=t.rules,l=t.r,h=void 0===l?Math.random():l;if(f(s,e))return function(e){return x(e,1)};var d="session"===u,p=R(d,o,r,h,n),v=M(c,d,o,r,h,n);return function(e){if(!p())return d&&i[0](),!1;if(!(e.ev_type in v))return x(e,o);if(!v[e.ev_type].enable)return d&&i[1](e.ev_type),!1;if(null===(t=e.common)||void 0===t?void 0:t.sample_rate)return e;var t,r=v[e.ev_type],n=r.conditional_hit_rules;if(n){for(var s=0;s<n.length;s++)if(D(e,n[s].filter)){if(n[s].hit())return x(e,n[s].effectiveSampleRate);return!1}}return r.hit()?x(e,r.effectiveSampleRate):(!(n&&n.length)&&d&&i[1](e.ev_type),!1)}},q=function(e){e.on("start",function(){var t=e.config(),r=N(t.userId,t.sample,g,b,[function(){e.destroy()},function(t){e.destroyAgent.removeByEvType(t)}]);e.on("build",r)})},U={build:function(e){return{ev_type:e.ev_type,payload:e.payload,common:r(r({},e.extra||{}),e.overrides||{})}}},$="mon.zijieapi.com",j="1.5.1",H="SDK_BASE",G="/monitor_web/settings/browser-settings",F="/monitor_browser/collect/batch/",J={sample_rate:1,include_users:[],sample_granularity:"session",rules:{}},V="session";function z(e){return r({},e)}function W(e){return u(e)&&"bid"in e&&"transport"in e}function K(e){return r({},e)}function Y(e){if(!e)return{};var t=e.sample,r=e.timestamp,n=e.quota_rate;if(!t)return{};var i=t.sample_rate,o=t.sample_granularity,s=void 0===o?V:o,a=t.include_users,u=t.rules;return{sample:{include_users:a,sample_rate:i*(void 0===n?1:n),sample_granularity:s,rules:(void 0===u?[]:u).reduce(function(e,t){var r=t.name,n=t.enable,i=t.sample_rate,o=t.conditional_sample_rules;return e[r]={enable:n,sample_rate:i,conditional_sample_rules:o},e},{})},serverTimestamp:r}}var Z=function(e,t){return void 0===t&&(t=F),(e&&e.indexOf("//")>=0?"":"https://")+e+t},Q=function(e,t){return void 0===t&&(t=G),(e&&e.indexOf("//")>=0?"":"https://")+e+t},X=function(){return w()},ee=function(){return w()},et=function(e){return e+"_"+Date.now()},er=function(){return w()},en=function(e){var t,n,i,o=e,a={},u=s,c=s;return{getConfig:function(){return o},setConfig:function(e){return a=r(r({},a),e||{}),l(),!t&&(t=e,o.useLocalConfig||!o.bid?(i={},u()):ei(o.transport,o.domain,o.bid,function(e){n=e,function(){i=Y(n),l(),u()}()})),o},onChange:function(e){c=e},onReady:function(e){u=e,i&&u()}};function l(){var t=r(r(r({},e),i||{}),a);t.sample=eo(eo(e.sample,null==i?void 0:i.sample),a.sample),o=t,c()}};function ei(e,t,r,n){if(!e.get)return n({});e.get({withCredentials:!0,url:Q(t)+"?bid="+r+"&store=1",success:function(e){n(e.data||{})},fail:function(){n({sample:{sample_rate:.001}})}})}function eo(e,t){if(!e||!t)return e||t;var o=r(r({},e),t);return o.include_users=i(i([],n(e.include_users||[]),!1),n(t.include_users||[]),!1),o.rules=i(i([],n(Object.keys(e.rules||{})),!1),n(Object.keys(t.rules||{})),!1).reduce(function(o,s){var a,u;return!(s in o)&&(s in(e.rules||{})&&s in(t.rules||{})?(o[s]=r(r({},e.rules[s]),t.rules[s]),o[s].conditional_sample_rules=i(i([],n(e.rules[s].conditional_sample_rules||[]),!1),n(t.rules[s].conditional_sample_rules||[]),!1)):o[s]=(null===(a=e.rules)||void 0===a?void 0:a[s])||(null===(u=t.rules)||void 0===u?void 0:u[s])),o},{}),o}var es=function(e,t){var n={url:"",protocol:"",domain:"",path:"",query:"",timestamp:Date.now(),sdk_version:t.version||j,sdk_name:t.name||H};return r(r({},e),{extra:r(r({},n),e.extra||{})})},ea=function(e){e.on("report",function(t){return es(t,e.config())})},eu=function(e,t){var n={};return n.bid=t.bid,n.pid=t.pid,n.view_id=t.viewId,n.user_id=t.userId,n.device_id=t.deviceId,n.session_id=t.sessionId,n.release=t.release,n.env=t.env,r(r({},e),{extra:r(r({},n),e.extra||{})})},ec=function(e){e.on("beforeBuild",function(t){return eu(t,e.config())})},el=function(e){return{bid:"",pid:"",viewId:et("_"),userId:X(),deviceId:ee(),sessionId:er(),domain:$,release:"",env:"production",sample:J,plugins:{},transport:{get:s,post:s},useLocalConfig:!0}},eh=function(e){var t=void 0===e?{}:e,r=t.createSender,s=void 0===r?function(e){return function(e){var t,r=e.transport,n=e.endpoint,i=e.size,o=void 0===i?10:i,s=e.wait,a=void 0===s?1e3:s,u=[],c=0;function l(){if(!!u.length){var e=this.getBatchData();r.post({url:n,data:e,fail:function(r){t&&t(r,e)}}),u=[]}}return{getSize:function(){return o},getWait:function(){return a},setSize:function(e){o=e},setWait:function(e){a=e},getEndpoint:function(){return n},setEndpoint:function(e){n=e},send:function(e){u.push(e),u.length>=o&&l.call(this),clearTimeout(c),c=setTimeout(l.bind(this),a)},flush:function(){clearTimeout(c),l.call(this)},getBatchData:function(){return u.length?JSON.stringify({ev_type:"batch",list:u}):""},clear:function(){clearTimeout(c),u=[]},fail:function(e){t=e}}}({size:20,endpoint:Z(e.domain),transport:e.transport})}:r,a=t.builder,c=void 0===a?U:a,l=t.createDefaultConfig,h=function(e){var t,r,s,a,c,l,h=e.builder,d=e.createSender,v=e.createDefaultConfig,m=e.createConfigManager,_=e.userConfigNormalizer,g=e.initConfigNormalizer,b=e.validateInitConfig,w={};o.forEach(function(e){return w[e]=[]});var O=!1,S=!1,P=!1,C=[],T=[];var I=(t=!1,r={},s=function(e){e.length&&e.forEach(function(e){try{e()}catch(e){}}),e.length=0},{set:function(e,n,i){r[e]?r[e].push([n,i]):r[e]=[[n,i]],t&&s(i)},has:function(e){return!!r[e]},remove:a=function(e){r[e]&&r[e].forEach(function(e){s(e[1])}),r[e]=void 0},removeByEvType:function(e){Object.keys(r).forEach(function(t){r[t]&&r[t].forEach(function(t){t[0]===e&&s(t[1])})})},clear:function(){t=!0,Object.keys(r).forEach(function(e){a(e)})}}),L={getBuilder:function(){return h},getSender:function(){return c},getPreStartQueue:function(){return C},init:function(e){if(O){y("already inited");return}if(e&&u(e)&&b(e)){var t=v(e);if(!t)throw Error("defaultConfig missing");var r=g(e);if((l=m(t)).setConfig(r),l.onChange(function(){A("config")}),!(c=d(l.getConfig())))throw Error("sender missing");O=!0,A("init",!0)}else throw Error("invalid InitConfig, init failed")},set:function(e){if(!!O)e&&u(e)&&(A("beforeConfig",!1,e),null==l||l.setConfig(e))},config:function(e){if(!!O)return e&&u(e)&&(A("beforeConfig",!1,e),null==l||l.setConfig(_(e))),null==l?void 0:l.getConfig()},provide:function(e,t){if(f(T,e)){y("cannot provide "+e+", reserved");return}L[e]=t,A("provide",!1,e)},start:function(){var e=this;if(!!O&&!S)null==l||l.onReady(function(){S=!0,A("start",!0),C.forEach(function(t){return e.build(t)}),C.length=0})},report:function(e){if(!e)return;var t=E(w.beforeReport)(e);if(!t)return;var r=E(w.report)(t);if(!!r)S?this.build(r):C.push(r)},build:function(e){if(!S)return;var t=E(w.beforeBuild)(e);if(!t)return;var r=h.build(t);if(!r)return;var n=E(w.build)(r);if(!!n)this.send(n)},send:function(e){if(!!S){var t=E(w.beforeSend)(e);t&&(c.send(t),A("send",!1,t))}},destroy:function(){I.clear(),P=!0,C.length=0,A("beforeDestroy",!0)},on:function(e,t){if("init"===e&&O||"start"===e&&S||"beforeDestroy"===e&&P)try{t()}catch(e){}else w[e]&&w[e].push(t)},off:function(e,t){w[e]&&(w[e]=p(w[e],t))},destroyAgent:I};return T=Object.keys(L),L;function A(e,t){void 0===t&&(t=!1);for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];w[e].forEach(function(e){try{e.apply(void 0,i([],n(r),!1))}catch(e){}}),t&&(w[e].length=0)}}({validateInitConfig:W,initConfigNormalizer:z,userConfigNormalizer:K,createSender:s,builder:c,createDefaultConfig:void 0===l?el:l,createConfigManager:en});return O(h),ec(h),ea(h),!function(e,t){e.on("init",function(){var t=[],r=function(r){r.forEach(function(r){var n=r.name;!f(t,n)&&(t.push(n),r.setup(e),e.destroyAgent.set(n,n,[function(){t=p(t,n),r.tearDown&&r.tearDown()}]))})};e.provide("applyIntegrations",r);var n=e.config();n&&n.integrations&&r(n.integrations)})}(h),h},ed=function(e){void 0===e&&(e={});var t=eh(e);return q(t),A(t),t},ef=ed();t.BATCH_REPORT_PATH=F,t.CustomPlugin=A,t.DEFAULT_SAMPLE_CONFIG=J,t.DEFAULT_SAMPLE_GRANULARITY=V,t.DEFAULT_SENDER_SIZE=20,t.InjectConfigPlugin=ec,t.InjectEnvPlugin=ea,t.REPORT_DOMAIN=$,t.SDK_NAME=H,t.SDK_VERSION=j,t.SETTINGS_DOMAIN=$,t.SETTINGS_PATH=G,t.addConfigToReportEvent=eu,t.addEnvToSendEvent=es,t.builder=U,t.createBaseClient=ed,t.createConfigManager=en,t.createMinimalClient=eh,t.default=ef,t.getDefaultConfig=el,t.getDefaultDeviceId=ee,t.getDefaultSessionId=er,t.getDefaultUserId=X,t.getReportUrl=Z,t.getServerConfig=ei,t.getSettingsUrl=Q,t.getViewId=et,t.mergeSampleConfig=eo,t.normalizeInitConfig=z,t.normalizeUserConfig=K,t.parseServerConfig=Y,t.validateInitConfig=W}),oC=function(){function e(){this.isInit=!1,this.pid="0",this.filename=""}return e.prototype.init=function(e,t,r){if(!this.isInit){var n,i,o,s,a,u=null===(n=null==r?void 0:r.commonOptions)||void 0===n?void 0:n.aid,c=(null===(i=null==r?void 0:r.commonOptions)||void 0===i?void 0:i.repoId)||(null===(o=null==r?void 0:r.commonOptions)||void 0===o?void 0:o.pageId),l=(null===(s=null==r?void 0:r.captchaOptions)||void 0===s?void 0:s.logConfig)||{},h=l.domain,d=l.uid;this.isInit=!0,this.pid="2385",this.browserSlardar=oP.createBaseClient();var f={transport:{get:function(e){var r=e.url,n=e.success,i=e.fail;t(r,{withCredentials:e.withCredentials}).then(function(e){e?n(e):n({})}).catch(function(e){i(e)})},post:function(t){e(t.url,JSON.parse(t.data)).catch(function(e){})}},bid:"verify_center_cn",pid:this.pid,release:"4.0.17",useLocalConfig:!1};h&&(f.domain=h);var p=null===(a=null==r?void 0:r.commonOptions)||void 0===a?void 0:a.did;p&&"0"!==p&&(f.deviceId=p,f.userId=p),d&&(f.userId=d),this.browserSlardar.init(f),this.browserSlardar.context.merge({belong:"hotsdk",appId:u?String(u):"unknown",itemId:c?String(c):"0",host:window.location.host,path:decodeURIComponent(window.location.pathname)})}},e.prototype.report=function(e,t){var r=this.browserSlardar.context;t&&r.set("mark",t),this.browserSlardar.report(e),t&&r.delete("mark")},e.prototype.start=function(e){var t=this;if(this.browserSlardar.start(),!e)this.reportPageview(),window.__VC_LOG__REPORT__=this,window.addEventListener("error",function(e){var r,n;if(e&&"ErrorEvent"===(n=e,Object.prototype.toString.call(n).slice(8,-1))&&t.filename&&e.filename===t.filename)t.reportJsError({message:e.message,stack:null===(r=e.error)||void 0===r?void 0:r.stack,filename:e.filename},"global-error")},!0)},e.prototype.destroy=function(){this.browserSlardar.destroy()},e.prototype.reportPageview=function(){this.report({ev_type:"pageview",payload:{pid:this.pid,source:"init"}},"slardar-init")},e.prototype.reportJsError=function(e,t){this.report({ev_type:"js_error",payload:{error:{name:"JS ERROR",message:e.message,stack:e.stack,filename:e.filename||this.filename},breadcrumbs:[]}},t)},e.prototype.reportHttp=function(e,t){this.report({ev_type:"http",payload:{api:"xhr",request:{method:e.method,url:e.url,timestamp:Date.now()-e.duration},response:{status:e.status,is_custom_error:!1,timestamp:Date.now(),timing:{duration:e.duration}},duration:e.duration}},t)},e.prototype.reportResourceError=function(e,t){this.report({ev_type:"resource_error",payload:{type:"script",url:e}},t)},e.prototype.reportResource=function(e,t){var r={entryType:"resource",name:e.url,duration:e.duration,startTime:e.startTime};try{for(var n=performance.getEntriesByType("resource"),i=0;i<n.length;i++)if(n[i].name===e.url){r=n[i];break}}catch(e){}this.report({ev_type:"resource",payload:r},t)},e.prototype.setFileName=function(e){this.filename=e},e.prototype.setContext=function(e,t){var r;this.browserSlardar.context.merge(((r={})[e]=t,r))},e}(),oT=new oC,oI={verify:{back_up_js_v2:{cn:["https://lf-rc2.yhgfb-cn-static.com/obj/rc-verifycenter/verifycenter/@latest/index.js","https://lf-cdn-tos.bytescm.com/obj/rc-verifycenter/verifycenter/@latest/index.js"]},js_v2:{cn:"https://lf-rc1.yhgfb-cn-static.com/obj/rc-verifycenter/verifycenter/@latest/index.js"}}},oL=function(e,t){var r={exports:{}},n=Function("exports","module",e);try{n(r.exports,r)}catch(e){t.reportJsError({message:null==e?void 0:e.message,stack:null==e?void 0:e.stack,filename:null==e?void 0:e.filename})}return r},oA=function(e){var t=this;this.config={setting_host:"",static_domain:"",executor:"script"},this.domain="",this.scene_level="",this.set=function(e){(null==e?void 0:e.setting_host)&&(t.config.setting_host=e.setting_host),(null==e?void 0:e.static_domain)&&(t.config.static_domain=e.static_domain),(null==e?void 0:e.executor)&&(t.config.executor=e.executor)},this.load=function(e){return t.loadSetting(e).then(function(e){var r,n;return(null===(n=null===(r=null==e?void 0:e.verify)||void 0===r?void 0:r.js_v2)||void 0===n?void 0:n.cn)?(t.scene_level=e.verify.scene_level||"p2",e.verify):oI.verify}).catch(function(){return oI.verify}).then(function(r){return t.loadSDK(r,e)})},this.loadSetting=function(e){if(t.settingPromise)return t.settingPromise;var r,n,i,o=t.config,s=e.setting_host,a=e.commonOptions;return t.settingPromise=(r=s||o.setting_host,n=a,i=t.slardar,oE("".concat(r||"https://vcs.zijieapi.com").concat(o_.setting),{},{slardar:i,params:n,headers:{"X-Setting-Flag":1}})).then(function(e){var r=(e.h5_resources||[]).filter(function(e){return"captcha.zip"===e.name});if(1===r.length){var n=r[0].url.match(/\/([\d.]+)\//);n&&(t.captcha_version=n[1])}return e}),t.settingPromise},this.loadSDK=function(e,r){var n,i=t.config,o=e.js_v2.cn,s=(null===(n=e.back_up_js_v2)||void 0===n?void 0:n.cn)||[],a=o.match(/\/\/([\w-]+(\.[\w-]+)+)/)[1];t.domain=a;var u=i.static_domain||r.static_domain;u&&a&&(o=o.replace(a,u)),r.rmc_version&&(o=o.replace(/\/[\d.]+\//,"/".concat(r.rmc_version,"/")));var c=[o].concat(s),l="",h=function(n){if(!(n.length>0))return ol.reject(r.isPrefetch?l:"failed to load sdk");var i=n.shift();return l=i,t.loadScript(i,r.isPrefetch,e).catch(function(){return h(n)})};return h(c)},this.prefetchCaptchaCdn=function(){var e="",r=function(n){if(0===n.length)return ol.reject(e);var i=n.pop();return e="https://".concat(i,"/obj/rc-verifycenter/rmc-captcha/").concat(t.captcha_version||"@latest","/captcha.js"),t.loadScript(e,!0).catch(function(){return r(n)})};return r(["lf-rc2.yhgfb-cn-static.com","lf-rc1.yhgfb-cn-static.com","lf-cdn-tos.bytescm.com"])},this.loadScript=function(e,r,n){if(r)return ob(e);t.slardar.setFileName(e);var i,o,s=t.config,a=s.static_domain,u=s.executor,c=t.domain,l=Date.now();if("script"!==u||a)o=ob(e,{timeout:2e4}).then(function(e){if(a&&a!==c){var r=RegExp(c,"g");e=e.replace(r,a)}return oL(e,t.slardar).exports});else{;o=(i=e,new ol(function(e,t){var r=document.getElementsByTagName("head")[0],n=document.createElement("script");n.setAttribute("crossorigin","anonymous"),n.setAttribute("src",i),r.appendChild(n);var o=setTimeout(function(){t(Error("LoadJSSDKMoreTan4000ms"))},4e3);n.onload=function(){clearTimeout(o),e(0)},n.onerror=function(){clearTimeout(o),t(Error("Failed to load SDK!"))}})).then(function(){return window.verifySDK})}return o.then(function(r){return t.slardar.reportResource({url:e,startTime:Date.now(),duration:Date.now()-l},"verifycenter-load"),window.verifySDK&&n&&(window.verifySDK.setting=n,window.verifySDK.captcha_version=t.captcha_version),r}).catch(function(r){return t.slardar.reportResourceError(e,"verifycenter-load"),ol.reject(r)})},this.slardar=e.slardar},ox=new oA({slardar:oT}),oR=function(e){var t=this;this.getFp=function(){if(t.options.captchaOptions)return t.options.captchaOptions.fp},this.get=function(){return t.options};var r=e.captchaOptions;if(r){var n=ev(ev({},r),{h5_check_version:"4.0.17"});e=ev(ev({},e),{captchaOptions:n})}this.options=e},ok=tO("iterator"),oB=!eR(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach(function(e,n){t.delete("b"),r+=n+e}),!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[ok]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}),oD=Object.assign,oM=Object.defineProperty,oN=eA([].concat),oq=!oD||eR(function(){if(ek&&1!==oD({b:1},oD(oM({},"a",{enumerable:!0,get:function(){oM(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=oD({},e)[r]||rg(oD({},t)).join("")!=n})?function(e,t){for(var r=td(e),n=arguments.length,i=1,o=rm.f,s=eq.f;n>i;){for(var a,u=eJ(arguments[i++]),c=o?oN(rg(u),o(u)):rg(u),l=c.length,h=0;l>h;)a=c[h++],(!ek||eD(s,u,a))&&(r[a]=u[a])}return r}:oD,oU=function(e,t,r,n){try{return n?t(tF(r)[0],r[1]):t(r)}catch(t){rX(e,"throw",t)}},o$=function(e,t,r){var n=tT(t);n in e?tz.f(e,n,eU(0,r)):e[n]=r},oj=eb.Array,oH=function(e){var t,r,n,i,o,s,a=td(e),u=n3(this),c=arguments.length,l=c>1?arguments[1]:void 0,h=void 0!==l;h&&(l=tj(l,c>2?arguments[2]:void 0));var d=rY(a),f=0;if(d&&!(this==oj&&r$(d)))for(o=(i=rQ(a,d)).next,r=u?new this:[];!(n=eD(o,i)).done;f++)s=h?oU(i,l,[n.value,f],!0):n.value,o$(r,f,s);else for(t=rs(a),r=u?new this(t):oj(t);t>f;f++)s=h?l(a[f],f):a[f],o$(r,f,s);return r.length=f,r},oG=eb.Array,oF=Math.max,oJ=function(e,t,r){for(var n=rs(e),i=ri(t,n),o=ri(void 0===r?n:r,n),s=oG(oF(o-i,0)),a=0;i<o;i++,a++)o$(s,a,e[i]);return s.length=a,s},oV=/[^\0-\u007E]/,oz=/[.\u3002\uFF0E\uFF61]/g,oW="Overflow: input needs wider integers to process",oK=35,oY=eb.RangeError,oZ=eA(oz.exec),oQ=Math.floor,oX=String.fromCharCode,o0=eA("".charCodeAt),o1=eA([].join),o2=eA([].push),o4=eA("".replace),o3=eA("".split),o6=eA("".toLowerCase),o5=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=o0(e,r++);if(i>=55296&&i<=56319&&r<n){var o=o0(e,r++);(64512&o)==56320?o2(t,((1023&i)<<10)+(1023&o)+65536):(o2(t,i),r--)}else o2(t,i)}return t},o8=function(e){return e+22+75*(e<26)},o7=function(e,t,r){var n=0;for(e=r?oQ(e/700):e>>1,e+=oQ(e/t);e>26*oK>>1;)e=oQ(e/oK),n+=36;return oQ(n+(oK+1)*e/(e+38))},o9=function(e){var t,r,n=[],i=(e=o5(e)).length,o=128,s=0,a=72;for(t=0;t<e.length;t++)(r=e[t])<128&&o2(n,oX(r));var u=n.length,c=u;for(u&&o2(n,"-");c<i;){var l=2147483647;for(t=0;t<e.length;t++)(r=e[t])>=o&&r<l&&(l=r);var h=c+1;if(l-o>oQ((2147483647-s)/h))throw oY(oW);for(s+=(l-o)*h,o=l,t=0;t<e.length;t++){if((r=e[t])<o&&++s>2147483647)throw oY(oW);if(r==o){for(var d=s,f=36;;){var p=f<=a?1:f>=a+26?26:f-a;if(d<p)break;var v=d-p,m=36-p;o2(n,oX(o8(p+v%m))),d=oQ(v/m),f+=36}o2(n,oX(o8(d))),a=o7(s,h,c==u),s=0,c++}}s++,o++}return o1(n,"")},se=function(e){var t,r,n=[],i=o3(o4(o6(e),oz,"."),".");for(t=0;t<i.length;t++)o2(n,oZ(oV,r=i[t])?"xn--"+o9(r):r);return o1(n,".")},st=Math.floor,sr=function(e,t){var r=e.length,n=st(r/2);return r<8?sn(e,t):si(e,sr(oJ(e,0,n),t),sr(oJ(e,n),t),t)},sn=function(e,t){for(var r,n,i=e.length,o=1;o<i;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},si=function(e,t,r,n){for(var i=t.length,o=r.length,s=0,a=0;s<i||a<o;)e[s+a]=s<i&&a<o?0>=n(t[s],r[a])?t[s++]:r[a++]:s<i?t[s++]:r[a++];return e},so=tO("iterator"),ss="URLSearchParams",sa=ss+"Iterator",su=np,sc=nv(ss),sl=nv(sa),sh=eQ("fetch"),sd=eQ("Request"),sf=eQ("Headers"),sp=sd&&sd.prototype,sv=sf&&sf.prototype,sm=eb.RegExp,s_=eb.TypeError,sy=eb.decodeURIComponent,sg=eb.encodeURIComponent,sb=eA("".charAt),sE=eA([].join),sw=eA([].push),sO=eA("".replace),sS=eA([].shift),sP=eA([].splice),sC=eA("".split),sT=eA("".slice),sI=/\+/g,sL=[,,,,],sA=function(e){try{return sy(e)}catch(t){return e}},sx=function(e){var t,r=sO(e,sI," "),n=4;try{return sy(r)}catch(e){for(;n;){;r=sO(r,sL[(t=n--)-1]||(sL[t-1]=sm("((?:%[\\da-f]{2}){"+t+"})","gi")),sA)}return r}},sR=/[!'()~]|%20/g,sk={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},sB=function(e){return sk[e]},sD=function(e){return sO(sg(e),sR,sB)},sM=function(e,t){if(e<t)throw s_("Not enough arguments")},sN=nA(function(e,t){su(this,{type:sa,iterator:rQ(sc(e).entries),kind:t})},"Iterator",function(){var e=sl(this),t=e.kind,r=e.iterator.next(),n=r.value;return!r.done&&(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r},!0),sq=function(e){this.entries=[],this.url=null,void 0!==e&&(eK(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===sb(e,0)?sT(e,1):e:r6(e)))};sq.prototype={type:ss,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,o,s,a,u=rY(e);if(u)for(r=(t=rQ(e,u)).next;!(n=eD(r,t)).done;){if((s=eD(o=(i=rQ(tF(n.value))).next,i)).done||(a=eD(o,i)).done||!eD(o,i).done)throw s_("Expected sequence with length 2");sw(this.entries,{key:r6(s.value),value:r6(a.value)})}else for(var c in e)tp(e,c)&&sw(this.entries,{key:c,value:r6(e[c])})},parseQuery:function(e){if(e){for(var t,r,n=sC(e,"&"),i=0;i<n.length;)(t=n[i++]).length&&(r=sC(t,"="),sw(this.entries,{key:sx(sS(r)),value:sx(sE(r,"="))}))}},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)sw(r,sD((e=t[n++]).key)+"="+sD(e.value));return sE(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var sU=function(){nJ(this,s$);var e=arguments.length>0?arguments[0]:void 0;su(this,new sq(e))},s$=sU.prototype;if(nH(s$,{append:function(e,t){sM(arguments.length,2);var r=sc(this);sw(r.entries,{key:r6(e),value:r6(t)}),r.updateURL()},delete:function(e){sM(arguments.length,1);for(var t=sc(this),r=t.entries,n=r6(e),i=0;i<r.length;)r[i].key===n?sP(r,i,1):i++;t.updateURL()},get:function(e){sM(arguments.length,1);for(var t=sc(this).entries,r=r6(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){sM(arguments.length,1);for(var t=sc(this).entries,r=r6(e),n=[],i=0;i<t.length;i++)t[i].key===r&&sw(n,t[i].value);return n},has:function(e){sM(arguments.length,1);for(var t=sc(this).entries,r=r6(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){sM(arguments.length,1);for(var r,n=sc(this),i=n.entries,o=!1,s=r6(e),a=r6(t),u=0;u<i.length;u++)(r=i[u]).key===s&&(o?sP(i,u--,1):(o=!0,r.value=a));!o&&sw(i,{key:s,value:a}),n.updateURL()},sort:function(){var e=sc(this);sr(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=sc(this).entries,n=tj(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new sN(this,"keys")},values:function(){return new sN(this,"values")},entries:function(){return new sN(this,"entries")}},{enumerable:!0}),nb(s$,so,s$.entries,{name:"entries"}),nb(s$,"toString",function(){return sc(this).serialize()},{enumerable:!0}),nI(sU,ss),tZ({global:!0,forced:!oB},{URLSearchParams:sU}),!oB&&ex(sf)){var sj=eA(sv.has),sH=eA(sv.set),sG=function(e){if(eK(e)){var t,r=e.body;if(rW(r)===ss)return!sj(t=e.headers?new sf(e.headers):new sf,"content-type")&&sH(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),rA(e,{body:eU(0,r6(r)),headers:eU(0,t)})}return e};if(ex(sh)&&tZ({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return sh(e,arguments.length>1?sG(arguments[1]):{})}}),ex(sd)){var sF=function(e){return nJ(this,sp),new sd(e,arguments.length>1?sG(arguments[1]):{})};sp.constructor=sF,sF.prototype=sp,tZ({global:!0,forced:!0},{Request:sF})}}var sJ=sU,sV=sc,sz=os.codeAt,sW=nv("URL"),sK=eb.URL,sY=eb.TypeError,sZ=eb.parseInt,sQ=Math.floor,sX=Math.pow,s0=eA("".charAt),s1=eA(/./.exec),s2=eA([].join),s4=eA(1..toString),s3=eA([].pop),s6=eA([].push),s5=eA("".replace),s8=eA([].shift),s7=eA("".split),s9=eA("".slice),ae=eA("".toLowerCase),at=eA([].unshift),ar="Invalid scheme",an="Invalid host",ai="Invalid port",ao=/[a-z]/i,as=/[\d+-.a-z]/i,aa=/\d/,au=/^0x/i,ac=/^[0-7]+$/,al=/^\d+$/,ah=/^[\da-f]+$/i,ad=/[\0\t\n\r #%/:<>?@[\\\]^|]/,af=/[\0\t\n\r #/:<>?@[\\\]^|]/,ap=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,av=/[\t\n\r]/g,am=function(e){var t,r,n,i,o,s,a,u=s7(e,".");if(u.length&&""==u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(n=0,r=[];n<t;n++){if(""==(i=u[n]))return e;if(o=10,i.length>1&&"0"==s0(i,0)&&(o=s1(au,i)?16:8,i=s9(i,8==o?1:2)),""===i)s=0;else{if(!s1(10==o?al:8==o?ac:ah,i))return e;s=sZ(i,o)}s6(r,s)}for(n=0;n<t;n++)if(s=r[n],n==t-1){if(s>=sX(256,5-t))return null}else if(s>255)return null;for(n=0,a=s3(r);n<r.length;n++)a+=r[n]*sX(256,3-n);return a},a_=function(e){var t,r,n,i,o,s,a,u=[0,0,0,0,0,0,0,0],c=0,l=null,h=0,d=function(){return s0(e,h)};if(":"==d()){if(":"!=s0(e,1))return;h+=2,l=++c}for(;d();){if(8==c)return;if(":"==d()){if(null!==l)return;h++,l=++c;continue}for(t=r=0;r<4&&s1(ah,d());)t=16*t+sZ(d(),16),h++,r++;if("."==d()){if(0==r)return;if(h-=r,c>6)return;for(n=0;d();){if(i=null,n>0){if("."!=d()||!(n<4))return;h++}if(!s1(aa,d()))return;for(;s1(aa,d());){if(o=sZ(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;h++}u[c]=256*u[c]+i,(2==++n||4==n)&&c++}if(4!=n)return;break}if(":"==d()){if(h++,!d())return}else if(d())return;u[c++]=t}if(null!==l)for(s=c-l,c=7;0!=c&&s>0;)a=u[c],u[c--]=u[l+s-1],u[l+--s]=a;else if(8!=c)return;return u},ay=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t},ag=function(e){var t,r,n,i;if("number"==typeof e){for(r=0,t=[];r<4;r++)at(t,e%256),e=sQ(e/256);return s2(t,".")}if("object"==typeof e){for(r=0,t="",n=ay(e);r<8;r++)(!i||0!==e[r])&&(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=s4(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ab={},aE=oq({},ab,{" ":1,'"':1,"<":1,">":1,"`":1}),aw=oq({},aE,{"#":1,"?":1,"{":1,"}":1}),aO=oq({},aw,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),aS=function(e,t){var r=sz(e,0);return r>32&&r<127&&!tp(t,e)?e:encodeURIComponent(e)},aP={ftp:21,file:null,http:80,https:443,ws:80,wss:443},aC=function(e,t){var r;return 2==e.length&&s1(ao,s0(e,0))&&(":"==(r=s0(e,1))||!t&&"|"==r)},aT=function(e){var t;return e.length>1&&aC(s9(e,0,2))&&(2==e.length||"/"===(t=s0(e,2))||"\\"===t||"?"===t||"#"===t)},aI={},aL={},aA={},ax={},aR={},ak={},aB={},aD={},aM={},aN={},aq={},aU={},a$={},aj={},aH={},aG={},aF={},aJ={},aV={},az={},aW={},aK=function(e,t,r){var n,i,o,s=r6(e);if(t){if(i=this.parse(s))throw sY(i);this.searchParams=null}else{if(void 0!==r&&(n=new aK(r,!0)),i=this.parse(s,null,n))throw sY(i);(o=sV(new sJ)).bindURL(this),this.searchParams=o}};aK.prototype={type:"URL",parse:function(e,t,r){var n=t||aI,i=0,o="",s=!1,a=!1,u=!1;for(e=r6(e),!t&&(this.scheme="",this.username="",this.password="",this.host=null,this.port=null,this.path=[],this.query=null,this.fragment=null,this.cannotBeABaseURL=!1,e=s5(e,ap,"")),c=oH(e=s5(e,av,""));i<=c.length;){switch(l=c[i],n){case aI:if(l&&s1(ao,l))o+=ae(l),n=aL;else{if(t)return ar;n=aA;continue}break;case aL:if(l&&(s1(as,l)||"+"==l||"-"==l||"."==l))o+=ae(l);else if(":"==l){if(t&&(this.isSpecial()!=tp(aP,o)||"file"==o&&(this.includesCredentials()||null!==this.port)||"file"==this.scheme&&!this.host))return;if(this.scheme=o,t){this.isSpecial()&&aP[this.scheme]==this.port&&(this.port=null);return}o="","file"==this.scheme?n=aj:this.isSpecial()&&r&&r.scheme==this.scheme?n=ax:this.isSpecial()?n=aD:"/"==c[i+1]?(n=aR,i++):(this.cannotBeABaseURL=!0,s6(this.path,""),n=aV)}else{if(t)return ar;o="",n=aA,i=0;continue}break;case aA:if(!r||r.cannotBeABaseURL&&"#"!=l)return ar;if(r.cannotBeABaseURL&&"#"==l){this.scheme=r.scheme,this.path=oJ(r.path),this.query=r.query,this.fragment="",this.cannotBeABaseURL=!0,n=aW;break}n="file"==r.scheme?aj:ak;continue;case ax:if("/"==l&&"/"==c[i+1])n=aM,i++;else{n=ak;continue}break;case aR:if("/"==l){n=aN;break}n=aJ;continue;case ak:if(this.scheme=r.scheme,l==R)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=oJ(r.path),this.query=r.query;else if("/"==l||"\\"==l&&this.isSpecial())n=aB;else if("?"==l)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=oJ(r.path),this.query="",n=az;else if("#"==l)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=oJ(r.path),this.query=r.query,this.fragment="",n=aW;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=oJ(r.path),this.path.length--,n=aJ;continue}break;case aB:if(this.isSpecial()&&("/"==l||"\\"==l))n=aM;else if("/"==l)n=aN;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,n=aJ;continue}break;case aD:if(n=aM,"/"!=l||"/"!=s0(o,i+1))continue;i++;break;case aM:if("/"!=l&&"\\"!=l){n=aN;continue}break;case aN:if("@"==l){s&&(o="%40"+o),s=!0,h=oH(o);for(var c,l,h,d,f,p,v=0;v<h.length;v++){var m=h[v];if(":"==m&&!u){u=!0;continue}var _=aS(m,aO);u?this.password+=_:this.username+=_}o=""}else if(l==R||"/"==l||"?"==l||"#"==l||"\\"==l&&this.isSpecial()){if(s&&""==o)return"Invalid authority";i-=oH(o).length+1,o="",n=aq}else o+=l;break;case aq:case aU:if(t&&"file"==this.scheme){n=aG;continue}if(":"!=l||a){if(l==R||"/"==l||"?"==l||"#"==l||"\\"==l&&this.isSpecial()){if(this.isSpecial()&&""==o)return an;if(t&&""==o&&(this.includesCredentials()||null!==this.port))return;if(d=this.parseHost(o))return d;if(o="",n=aF,t)return;continue}else"["==l?a=!0:"]"==l&&(a=!1),o+=l}else{if(""==o)return an;if(d=this.parseHost(o))return d;if(o="",n=a$,t==aU)return}break;case a$:if(s1(aa,l))o+=l;else{if(!(l==R||"/"==l||"?"==l||"#"==l||"\\"==l&&this.isSpecial())&&!t)return ai;if(""!=o){var y=sZ(o,10);if(y>65535)return ai;this.port=this.isSpecial()&&y===aP[this.scheme]?null:y,o=""}if(t)return;n=aF;continue}break;case aj:if(this.scheme="file","/"==l||"\\"==l)n=aH;else if(r&&"file"==r.scheme){if(l==R)this.host=r.host,this.path=oJ(r.path),this.query=r.query;else if("?"==l)this.host=r.host,this.path=oJ(r.path),this.query="",n=az;else if("#"==l)this.host=r.host,this.path=oJ(r.path),this.query=r.query,this.fragment="",n=aW;else{!aT(s2(oJ(c,i),""))&&(this.host=r.host,this.path=oJ(r.path),this.shortenPath()),n=aJ;continue}}else{n=aJ;continue}break;case aH:if("/"==l||"\\"==l){n=aG;break}r&&"file"==r.scheme&&!aT(s2(oJ(c,i),""))&&(aC(r.path[0],!0)?s6(this.path,r.path[0]):this.host=r.host),n=aJ;continue;case aG:if(l==R||"/"==l||"\\"==l||"?"==l||"#"==l){if(!t&&aC(o))n=aJ;else if(""==o){if(this.host="",t)return;n=aF}else{if(d=this.parseHost(o))return d;if("localhost"==this.host&&(this.host=""),t)return;o="",n=aF}continue}o+=l;break;case aF:if(this.isSpecial()){if(n=aJ,"/"!=l&&"\\"!=l)continue}else if(t||"?"!=l){if(t||"#"!=l){if(l!=R&&(n=aJ,"/"!=l))continue}else this.fragment="",n=aW}else this.query="",n=az;break;case aJ:if(l==R||"/"==l||"\\"==l&&this.isSpecial()||!t&&("?"==l||"#"==l)){;if(".."===(f=ae(f=o))||"%2e."===f||".%2e"===f||"%2e%2e"===f)this.shortenPath(),"/"!=l&&!("\\"==l&&this.isSpecial())&&s6(this.path,"");else{;if("."===(p=o)||"%2e"===ae(p))"/"!=l&&!("\\"==l&&this.isSpecial())&&s6(this.path,"");else"file"==this.scheme&&!this.path.length&&aC(o)&&(this.host&&(this.host=""),o=s0(o,0)+":"),s6(this.path,o)}if(o="","file"==this.scheme&&(l==R||"?"==l||"#"==l))for(;this.path.length>1&&""===this.path[0];)s8(this.path);"?"==l?(this.query="",n=az):"#"==l&&(this.fragment="",n=aW)}else o+=aS(l,aw);break;case aV:"?"==l?(this.query="",n=az):"#"==l?(this.fragment="",n=aW):l!=R&&(this.path[0]+=aS(l,ab));break;case az:t||"#"!=l?l!=R&&("'"==l&&this.isSpecial()?this.query+="%27":"#"==l?this.query+="%23":this.query+=aS(l,ab)):(this.fragment="",n=aW);break;case aW:l!=R&&(this.fragment+=aS(l,aE))}i++}},parseHost:function(e){var t,r,n;if("["==s0(e,0)){if("]"!=s0(e,e.length-1)||!(t=a_(s9(e,1,-1))))return an;this.host=t}else if(this.isSpecial()){if(s1(ad,e=se(e))||null===(t=am(e)))return an;this.host=t}else{if(s1(af,e))return an;for(n=0,t="",r=oH(e);n<r.length;n++)t+=aS(r[n],ab);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return tp(aP,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&("file"!=this.scheme||1!=t||!aC(e[0],!0))&&e.length--},serialize:function(){var e=this.scheme,t=this.username,r=this.password,n=this.host,i=this.port,o=this.path,s=this.query,a=this.fragment,u=e+":";return null!==n?(u+="//",this.includesCredentials()&&(u+=t+(r?":"+r:"")+"@"),u+=ag(n),null!==i&&(u+=":"+i)):"file"==e&&(u+="//"),u+=this.cannotBeABaseURL?o[0]:o.length?"/"+s2(o,"/"):"",null!==s&&(u+="?"+s),null!==a&&(u+="#"+a),u},setHref:function(e){var t=this.parse(e);if(t)throw sY(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new aY(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ag(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(r6(e)+":",aI)},getUsername:function(){return this.username},setUsername:function(e){var t=oH(r6(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=aS(t[r],aO)}},getPassword:function(){return this.password},setPassword:function(e){var t=oH(r6(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=aS(t[r],aO)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ag(e):ag(e)+":"+t},setHost:function(e){!this.cannotBeABaseURL&&this.parse(e,aq)},getHostname:function(){var e=this.host;return null===e?"":ag(e)},setHostname:function(e){!this.cannotBeABaseURL&&this.parse(e,aU)},getPort:function(){var e=this.port;return null===e?"":r6(e)},setPort:function(e){!this.cannotHaveUsernamePasswordPort()&&(""==(e=r6(e))?this.port=null:this.parse(e,a$))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+s2(e,"/"):""},setPathname:function(e){!this.cannotBeABaseURL&&(this.path=[],this.parse(e,aF))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=r6(e))?this.query=null:("?"==s0(e,0)&&(e=s9(e,1)),this.query="",this.parse(e,az)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){if(""==(e=r6(e))){this.fragment=null;return}"#"==s0(e,0)&&(e=s9(e,1)),this.fragment="",this.parse(e,aW)},update:function(){this.query=this.searchParams.serialize()||null}};var aY=function(e){var t=nJ(this,aZ),r=arguments.length>1?arguments[1]:void 0,n=np(t,new aK(e,!1,r));!ek&&(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},aZ=aY.prototype,aQ=function(e,t){return{get:function(){return sW(this)[e]()},set:t&&function(e){return sW(this)[t](e)},configurable:!0,enumerable:!0}};if(ek&&rb(aZ,{href:aQ("serialize","setHref"),origin:aQ("getOrigin"),protocol:aQ("getProtocol","setProtocol"),username:aQ("getUsername","setUsername"),password:aQ("getPassword","setPassword"),host:aQ("getHost","setHost"),hostname:aQ("getHostname","setHostname"),port:aQ("getPort","setPort"),pathname:aQ("getPathname","setPathname"),search:aQ("getSearch","setSearch"),searchParams:aQ("getSearchParams"),hash:aQ("getHash","setHash")}),nb(aZ,"toJSON",function(){return sW(this).serialize()},{enumerable:!0}),nb(aZ,"toString",function(){return sW(this).serialize()},{enumerable:!0}),sK){var aX=sK.createObjectURL,a0=sK.revokeObjectURL;aX&&nb(aY,"createObjectURL",tj(aX,sK)),a0&&nb(aY,"revokeObjectURL",tj(a0,sK))}nI(aY,"URL"),tZ({global:!0,forced:!oB,sham:!ek},{URL:aY});var a1=eY.URL,a2=function(e){if(!(e&&e.trim()))return!1;try{return btoa(atob(e))===e}catch(e){return!1}},a4=function(e){return e.map(function(e){return new RegExp(e)})},a3=function(e){if(Array.isArray(e))e={include:e,exclude:[]};else{var t=e.include,r=e.exclude;e={include:t||[],exclude:r||[]}}if(window._vc_intercepted_pathList){var n=window._vc_intercepted_pathList,t=n.include,r=n.exclude;e={include:em(em([],t,!0),e.include,!0),exclude:em(em([],r,!0),e.exclude,!0)}}window._vc_intercepted_pathList=e},a6=function(e){var t=e;try{t=new a1(e,window.location.href).pathname}catch(e){}var r=window._vc_intercepted_pathList,n=r.include,i=r.exclude,o=a4(n);return!a4(i).some(function(e){return e.test(t)})&&o.some(function(e){return e.test(t)})},a5=function(e,t,r,n){e.render({verify_data:t,captchaOptions:{successCb:function(){r()},closeCb:function(){n()}},secondVerifyWebOptions:{callBack:function(){r()},closeCallBack:function(){n()}}})},a8=function(e,t,r){var n=r.getFp(),i=function(t){e.getResponseHeader=function(){return t.getResponseHeader.apply(t,arguments)},e.getAllResponseHeaders=function(){return t.getAllResponseHeaders.apply(t,arguments)};for(var r=function(r){Object.defineProperty(e,r,{get:function(){return t[r]},enumerable:!0})},n=0,i=["readyState","status","statusText","response","responseText","responseType","responseURL","responseXML"];n<i.length;n++)r(i[n])},o=[],s=!1,a=function(){s=!0,o.forEach(function(e){return e()})},u=function(){var r=new XMLHttpRequest;e.withCredentials&&(r.withCredentials=e.withCredentials),e.timeout&&(r.timeout=e.timeout),r.onload=function(){i(r),a()},r.ontimeout=function(){a()},r.onabort=function(){a()},r.onerror=function(t){var n;i(r),null===(n=e.onerror)||void 0===n||n.call(e,t)},t.forEach(function(e){var t=[].slice.call(e.arguments);"addEventListener"!==e.fnName&&"removeEventListener"!==e.fnName&&r[e.fnName].apply(r,t)})},c=function(){var t=null;try{var n=e.getAllResponseHeaders();if(n.indexOf("bdturing-verify:")>=0)t=e.getResponseHeader("bdturing-verify");else if(n.indexOf("x-vc-bdturing-parameters:")>=0){var i=e.getResponseHeader("x-vc-bdturing-parameters");t=i&&a2(i)?atob(i):i}}catch(e){}t?a5(r,t,u,a):a()},l={error:[]},h=function(){var t=e.onreadystatechange,r=e.onload,n=e.onloadend,i=e.onerror;t&&(e.onreadystatechange=function(){var r=arguments,n=function(){t.apply(e,r)};!s&&e.readyState===XMLHttpRequest.DONE&&e.status>=200&&e.status<300?o.push(n):n()}),e.onload=function(){var t=arguments,n=function(){r&&r.apply(e,t)};e.status>=200&&e.status<300?(!s&&o.push(n),c()):n()},e.onerror=function(t){i&&i.call(e,t),l.error.forEach(function(r){r.call(e,t)})},n&&(e.onloadend=function(){var t=arguments,r=function(){n.apply(e,t)};!s&&e.status>=200&&e.status<300?o.push(r):r()})},d={};t.forEach(function(t){var r,i,a=[].slice.call(t.arguments);switch(t.fnName){case"addEventListener":case"removeEventListener":var u=a[0];["readystatechange","load","loadend"].indexOf(u)>=0?"addEventListener"===t.fnName?(!d[u]&&(d[u]=[]),null===(r=d[u])||void 0===r||r.push({origin:t.origin,args:a})):d[u]&&(d[u]=null===(i=d[u])||void 0===i?void 0:i.filter(function(e){return e.args[1]!==a[1]})):l[u]?l[u].push(a[1]):t.origin.apply(e,a);break;case"open":var c=a[1],f=c.indexOf("?")>=0,p="verifyFp=".concat(n,"&fp=").concat(n);f?a[1]="".concat(c,"&").concat(p):a[1]="".concat(c,"?").concat(p),t.origin.apply(e,a);break;case"send":Object.keys(d).forEach(function(t){var r;null===(r=d[t])||void 0===r||r.forEach(function(r){var n=r.origin,i=r.args,a=i[1];i[1]=function(){var r=arguments;switch(t){case"readystatechange":!s&&e.readyState===XMLHttpRequest.DONE&&e.status>=200&&e.status<300?o.push(function(){a.apply(e,r)}):a.apply(e,arguments);break;case"load":case"loadend":!s&&e.status>=200&&e.status<300?o.push(function(){a.apply(e,r)}):a.apply(e,arguments)}},n.apply(e,i)})}),h(),delete e._vc_status,delete e._vc_actionList,t.origin.apply(e,a);break;default:t.origin.apply(e,a)}})},a7=function(e,t){var r=window.XMLHttpRequest.prototype,n=r.open,i=r.setRequestHeader,o=r.overrideMimeType,s=r.send,a=r.addEventListener,u=r.removeEventListener;!r._vc_intercepted&&(r._vc_intercepted=!0,r.open=function(t,r){try{var i="string"==typeof r?r:r.toString();if(!e(i))return n.apply(this,arguments);this._vc_status=1,this._vc_actionList=[],this._vc_actionList.push({origin:n,fnName:"open",arguments:arguments})}catch(e){return n.apply(this,arguments)}},r.overrideMimeType=function(){if(1!==this._vc_status)return o.apply(this,arguments);this._vc_actionList.push({origin:o,fnName:"overrideMimeType",arguments:arguments})},r.setRequestHeader=function(){if(1!==this._vc_status)return i.apply(this,arguments);this._vc_actionList.push({origin:i,fnName:"setRequestHeader",arguments:arguments})},r.addEventListener=function(){if(1!==this._vc_status)return a.apply(this,arguments);this._vc_actionList.push({origin:a,fnName:"addEventListener",arguments:arguments})},r.removeEventListener=function(){if(1!==this._vc_status)return u.apply(this,arguments);this._vc_actionList.push({origin:u,fnName:"removeEventListener",arguments:arguments})},r.send=function(){var e=this;if(1!==this._vc_status)return s.apply(this,arguments);this._vc_actionList.push({origin:s,fnName:"send",arguments:arguments});var r=function(){a8(e,e._vc_actionList,t)};t.xhrAsyncSend?Promise.resolve().then(r).catch(function(){return null}):r()})},a9=function(e,t){if(!window._vc_intercepted_fetch){window._vc_intercepted_fetch=!0;var r=window.fetch;window.fetch=function(){for(var n,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var s=i[0];return(s instanceof a1?n=s.toString():s instanceof Request?n=s.url:n=s,e(n))?new Promise(function(e,o){var s=t.getFp(),a=n.indexOf("?")>=0,u="verifyFp=".concat(s,"&fp=").concat(s);n=a?"".concat(n,"&").concat(u):"".concat(n,"?").concat(u);var c=em([],i,!0);c[0]instanceof a1?c[0].search=new a1(n).search:c[0]instanceof Request||(c[0]=n),r.apply(void 0,c).then(function(r){var n=function(){e(r)};if(r.ok)try{var o=null;r.headers.forEach(function(e,t){"bdturing-verify"===t?o=e:"x-vc-bdturing-parameters"===t&&(o=e&&a2(e)?atob(e):e)}),o?a5(t,o,function(){e(window.fetch.apply(window,i))},n):n()}catch(e){n()}else n()}).catch(o)}):r.apply(void 0,i)}}},ue=function(e,t){a3(e),a7(a6,t),a9(a6,t)},ut=function(e,t){(t||ox).set({executor:e.executor,static_domain:e.static_domain,setting_host:e.settingHost})},ur=function(e,t,r,n){var i,o,s=(null==n?void 0:n.slardar)||oT,a=(null==n?void 0:n.loader)||ox,u=null==n?void 0:n.options;s.init(oE,ob,e),s.start(e.isPrefetch);var c=(null===(i=e.captchaOptions)||void 0===i?void 0:i.hostConfig)||{},l=c.setting,h=c.static_domain,d=c.rmc_version,f=(null===(o=window.verifySDK)||void 0===o?void 0:o.initVerifyOptions)&&!e.isPrefetch?ol.resolve(window.verifySDK):a.load({commonOptions:e.commonOptions||{},setting_host:l,static_domain:h,rmc_version:d,isPrefetch:e.isPrefetch,slardar:s});if(e.isPrefetch)return f.then(function(){return{}});B=f,!u&&(k=new oR(e));var p=e.interceptPathList,v=e.xhrAsyncSend;return p&&ue(p,{getFp:ui,render:un,xhrAsyncSend:v}),B.then(function(e){var r=(u||k).get();return(r.commonOptions&&a.scene_level&&(!r.commonOptions.pageId&&r.commonOptions.repoId,r.commonOptions.scene_level=a.scene_level,s.setContext("scene_level",a.scene_level)),r.captchaOptions&&!r.captchaOptions.fp&&(r.captchaOptions.fp=oS()),u)?(t&&t(e),e.init(r)):((null==n?void 0:n.isInstance)?e=e.initVerifyCenter(r):e.initVerifyOptions(r),t)?void t(e):e}).catch(function(e){return r&&(null==r||r(e)),ol.reject(e)})},un=function(e){B.then(function(t){t.autoRender(e)}).catch(function(){})},ui=function(){return(null==k?void 0:k.getFp())||oS()},uo=function(){function e(e,t){this.verifyOptions=e,this.callBackObj=t,this.slardar=new oC,this.loader=new oA({slardar:this.slardar})}return e.prototype.config=function(e){return ut(e,this.loader),this},e.prototype.getVersion=function(){var e,t,r,n,i=this;return this.loader.loadSetting({setting_host:null===(r=null===(t=null===(e=this.verifyOptions)||void 0===e?void 0:e.captchaOptions)||void 0===t?void 0:t.hostConfig)||void 0===r?void 0:r.setting,commonOptions:(null===(n=this.verifyOptions)||void 0===n?void 0:n.commonOptions)||{}}).then(function(e){var t,r,n,o=null===(r=null===(t=null==e?void 0:e.verify)||void 0===t?void 0:t.js_v2)||void 0===r?void 0:r.cn;return{sec_sdk_build_version:"4.0.17",rmc_version:(null===(n=null==o?void 0:o.match(/\/([\d.]+)\//))||void 0===n?void 0:n[1])||"",captcha_version:i.loader.captcha_version}})},e.prototype.init=function(e,t){if(!(e=e||this.verifyOptions))throw Error("[sec_sdk_build] 请先执行参数初始化操作");var r=t||this.callBackObj||{},n=r.errorCb,i=r.successCb;return this.options=new oR(e),this.instancePromise=ur(e,i,n,{slardar:this.slardar,loader:this.loader,options:this.options}).catch(function(e){return ol.reject(e)}),this},e.prototype.getFp=function(){var e=ui();return ol.resolve(e)},e.prototype.getFpSync=function(){var e;return(null===(e=this.options)||void 0===e?void 0:e.getFp())||oS()},e.prototype.render=function(e){return!this.instancePromise&&this.init(this.verifyOptions,this.callBackObj),this.instancePromise.then(function(t){t.autoRender(e)}).catch(function(e){return ol.reject(e)})},e.prototype.prefetch=function(e,t){(function(e,t,r){var n=(null==r?void 0:r.loader)||ox,i=(null==r?void 0:r.slardar)||oT;function o(e){i.reportJsError({filename:e.filename,message:e.message,stack:""},"prefetch-error"),"function"==typeof(null==t?void 0:t.errorCb)&&t.errorCb(e)}ur(ev(ev({},e),{isPrefetch:!0}),void 0,void 0,r).then(function(){return n.prefetchCaptchaCdn().then(function(){"function"==typeof(null==t?void 0:t.successCb)&&t.successCb()}).catch(function(e){o({filename:e,name:"render_prefetch_err",message:"预加载验证码资源失败"})}),null}).catch(function(e){o({filename:e,name:"init_prefetch_err",message:"预加载初始化资源失败"})})})(e,t,{loader:this.loader,slardar:this.slardar})},e.config=function(e){ut(e)},e.init=function(e,t,r){return ur(e,t,r,{isInstance:!0})},e}(),us=r("695385");let ua=new uo,uu={aid:0,iid:"0",did:"0"},uc={sideSlide:!1,lang:"zh",showMode:"mask",region:"cn",app_name:""},ul=[98,111,101,45,118,101,114,105,102,121,46,98,121,116,101,100,97,110,99,101,46,110,101,116].map(e=>String.fromCharCode(e)).join(""),uh=e=>{let{isBoe:t=!1,captchaOptions:r={},secondVerifyWebOptions:n}=e,i=t?`//${ul}`:void 0,o={commonOptions:{repoId:579047,...uu,aid:e.aid,did:e.did?String(e.did):"0",iid:e.iid?String(e.iid):"0"},captchaOptions:{...uc,lang:e.language||"zh",showMode:e.captchaShowMode||"mask",app_name:e.appName||"",host:e.captchaHost||i||"",successCb:()=>{},...r},secondVerifyWebOptions:{callBack:()=>{},scene:(null==n?void 0:n.scene)||"",...n}};return e.captchaConfig&&"function"==typeof ua.config&&ua.config(e.captchaConfig),ua.init(o,{successCb:()=>{},errorCb:()=>{}}),ua.getVersion()},ud={hasInit:!1,initParams:void 0,init:async e=>{if(ud.hasInit)return ua.getVersion();let{request:t,...r}=e;return i=t,uh(r),ud.initParams=r,ud.hasInit=!0,ua.getVersion()},show:e=>{let{requestConfig:t,verifyData:r,requestData:n}=e,o={};try{o=JSON.parse(r)}catch(e){}return new Promise((e,r)=>{ua.render({verify_data:o,captchaOptions:{successCb:async()=>{let n=await ua.getFp();null==i||i({...t,params:{...t.params,isResend:!0,fp:n,verifyFp:n}}).then(t=>{e(t)}).catch(e=>{r(e)})},closeCb:()=>{let{closeCaptchaCallback:e}=ud.initParams||{};"function"==typeof e&&(null==e||e()),r({description:""})}},secondVerifyWebOptions:{scene:"4",callBack:async()=>{let o=t.data||"";if(n){let e=(0,us.x5)(o);o=(0,us.IC)({...e,...n})}null==i||i({...t,params:{...t.params,isResend:!0},data:o}).then(t=>{e(t)}).catch(e=>{r(e)})},closeCallBack:()=>{r({description:"SECOND_VALID",requestData:n})}}})})},getFp:()=>{if(o)return Promise.resolve(o);try{var e;let t=ud.initParams;if(null==t?void 0:null==(e=t.captchaOptions)?void 0:e.fp){let{fp:e}=t.captchaOptions;return e}}catch(e){}return Promise.race([new Promise(e=>{setTimeout(()=>e(""),1e3)}),ua.getFp()]).then(e=>(o=e,e))}};function uf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class up extends eu.Z{async init(){if(this.request.interceptors.response.use(e=>e,async e=>this.processPluginWithLog(this.processPlugin)(e)),!this.hasInit){this.hasInit=!0;let e=await ud.init({...this.initProps,request:this.request});this.sec_sdk_build_version=e.sec_sdk_build_version||"0",this.captcha_version=e.captcha_version||"0"}this.request.interceptors.request.use(async e=>{let t={p_ca:this.sec_sdk_build_version,p_ca_real:this.captcha_version};return e.params={...e.params||{},...t||{}},Promise.resolve(e)})}async processPlugin(e){var t,r,n,i;let{originConfig:o={}}=e;try{let t=(0,us.x5)(null==o?void 0:o.data);if((null==o?void 0:null==(n=o.params)?void 0:n.skip_sdk_error_handler)||(null==t?void 0:t.skip_sdk_error_handler)==="true")return Promise.reject(e)}catch(e){}let s=(null==e?void 0:e.verify_center_decision_conf)||(null==e?void 0:e.verify_center_secondary_decision_conf),a=null==e?void 0:e.error_code;if(2046===a&&"function"==typeof(null==(r=this.initProps)?void 0:null==(t=r.secondVerifyWebOptions)?void 0:t.onValid))return null==(i=this.initProps.secondVerifyWebOptions)||i.onValid(e),Promise.reject({description:"SECOND_VALID"});if(s){let t=null==e?void 0:e.sms_code_key;return Promise.resolve(ud.show({verifyData:s,requestConfig:o,requestData:2046===a&&t?{sms_code_key:t}:void 0})).then(e=>Promise.resolve(e)).catch(e=>Promise.reject(e))}return Promise.reject(e)}constructor(e){super(e),uf(this,"sec_sdk_build_version","0"),uf(this,"captcha_version","0"),this.processPlugin=this.processPlugin.bind(this),this.init=this.init.bind(this)}}let uv=(e,t,r)=>{let{plugins:n=[]}=e;Array.isArray(n)&&n.forEach(n=>{new n({init:e,request:t,type:r}).init()});[ec,eh,up,ep].forEach(n=>{new n({init:e,request:t,type:r}).init()})};var um=r("730788");function u_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class uy{constructor(e,t){u_(this,"request",void 0),u_(this,"startTrace",void 0),u_(this,"stopTrace",void 0),this.request=new um.Request(e);let r=this.request.trace;this.startTrace=r.start.bind(r),this.stopTrace=r.stop.bind(r),uv(e,this.request,t)}}},252823:function(e,t,r){"use strict";r.d(t,{Z:function(){return S}});var n=r("86024"),i=r("695385");function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class s{constructor(e){o(this,"request",void 0),o(this,"baseSendMobileCode",e=>{let{mobile:t,type:r,...o}=e,s=(0,i.J4)({mobile:t,type:r,...o},["mobile","type"]);return new Promise((e,t)=>{this.request({url:n.Cx.MOBILE_CODE_URL,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),o(this,"baseSendMobileCodeV2",e=>{let{mobile:t,type:r,...o}=e,s=(0,i.J4)({mobile:t,type:r,...o},["mobile","type"]);return new Promise((e,t)=>{this.request({url:n.Cx.MOBILE_CODE_URL_V2,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),o(this,"baseSendEmailLink",e=>{let{email:t,password:r,...o}=e,s=(0,i.J4)({email:t,password:r,...o},["email","password"]);return new Promise((e,t)=>{this.request({url:n.Cx.EMAIL_ACTIVATE_URL,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),o(this,"baseSendEmailLinkV2",e=>{let{email:t,password:r,...o}=e,s=(0,i.J4)({email:t,password:r,...o},["email","password"]);return new Promise((e,t)=>{this.request({url:n.Cx.EMAIL_ACTIVATE_URL_V2,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),o(this,"baseSendEmailCode",e=>{let{email:t,password:r,...o}=e,s=(0,i.J4)({email:t,password:r,...o},["email","password"]);return new Promise((e,t)=>{this.request({url:n.Cx.EMAIL_ACTIVATE_CODE_URL,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),o(this,"baseSendEmailCodeV2",e=>{let{email:t,password:r,...o}=e,s=(0,i.J4)({email:t,password:r,...o},["email","password"]);return new Promise((e,t)=>{this.request({url:n.Cx.EMAIL_ACTIVATE_CODE_URL_V2,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})});let{request:t}=e;this.request=t}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class u extends s{constructor(...e){super(...e),a(this,"sendMobileCode",e=>{let{extra_params:t={},...r}=e;return this.baseSendMobileCode({...r,type:8,...t})}),a(this,"sendMobileCodeV2",e=>{let{extra_params:t={},...r}=e;return this.baseSendMobileCodeV2({...r,type:8,...t})}),a(this,"mobileBind",e=>{let{mobile:t,code:r,extra_params:o={},...s}=e,a=(0,i.J4)({mobile:t,code:r,...s,type:8,...o},["mobile","type","code"]);return this.request({url:n.Cx.BIND_MOBILE,method:"POST",data:a})})}}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class l extends s{constructor(...e){super(...e),c(this,"sendMobileCode",e=>{let{extra_params:t={},...r}=e;return this.baseSendMobileCode({...r,type:20,...t})}),c(this,"sendMobileCodeV2",e=>{let{extra_params:t={},...r}=e;return this.baseSendMobileCodeV2({...r,type:20,...t})}),c(this,"mobileChange",e=>{let{mobile:t,code:r,extra_params:o={},...s}=e,a=(0,i.J4)({mobile:t,code:r,...s,...o},["mobile","code"]);return this.request({url:n.Cx.CHANGE_MOBILE,method:"POST",data:a})})}}var h=r("442159");function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class f extends s{constructor(e){super(e),d(this,"host",void 0),d(this,"originHost",void 0),d(this,"aid",void 0),d(this,"checkLogin",e=>{let{extra_params:t={},...r}=e;return this.request({url:n.Cx.CHECK_LOGIN,method:"GET",data:{...r,...t}})}),d(this,"sendMobileCodeV2",e=>{let{extra_params:t={},...r}=e;return this.baseSendMobileCodeV2({...r,type:24,...t})}),d(this,"quickAuthV2",e=>{let{mobile:t,code:r,service:o,extra_params:s={}}=e,a=(0,i.J4)({mobile:t,code:r,service:o,...s},["mobile","code","password"]);return this.request({url:n.Cx.MOBILE_CODE_LOGIN_URL_V2,method:"POST",data:a})}),d(this,"quickAuthLoginOnly",e=>{let{mobile:t,code:r,service:o,extra_params:s={}}=e,a=(0,i.J4)({mobile:t,code:r,service:o,...s},["mobile","code"]);return this.request({url:n.Cx.MOBILE_CODE_LOGIN_ONLY_URL,method:"POST",data:a})}),d(this,"accountLoginV2",e=>{let{account:t,password:r,service:o,account_type:s=0,extra_params:a={}}=e,u=(0,i.J4)({account:t,password:r,account_type:s,service:o,...a},["account","password"]);return this.request({url:n.Cx.ACCOUNT_LOGIN_URL_V2,method:"POST",data:u})}),d(this,"logout",e=>{let{service:t,not_redirect:r=!1,extra_params:o={}}=e,s={aid:this.aid,service:t,passport_jssdk_version:h.Z,...o};if(r)return new Promise((e,t)=>{this.request({url:"/csrf_token/",method:"POST"}).then(r=>{let{passport_csrf_token:i=""}=r;this.request({url:n.Cx.LOGOUT,method:"GET",data:{sso_not_redirect:1,...s},headers:{"x-tt-passport-csrf-token":i}}).then(t=>{e(t)}).catch(e=>{t(e)})}).catch(e=>{t(e)})});let a=(0,i.IC)(s);window.location.href=`${this.host}${n.Cx.LOGOUT}?${a}`}),d(this,"wapLogin",e=>{let{origin:t="",type:r="sso",use_local_host:i,scopes:o="user_info",next:s,url_params:a="",platform_app_id:u,platform:c="",replace:l=!1}=e,d=encodeURIComponent(s),f=encodeURIComponent(`${this.host}/auth/login_success/?service=${d}`),p={aid:this.aid,type:r,use_local_host:i,scopes:o,next:f,url_params:a,platform_app_id:u,platform:c,passport_jssdk_version:h.Z},v="",m=Object.keys(p).length;Object.keys(p).forEach((e,t)=>{m===t+1?v+=`${e}=${p[e]}`:v+=`${e}=${p[e]}&`});let _=`${t}${n.Cx.AUTH_LOGIN_URL}?${v}`;l&&(window.location.href=_)}),d(this,"sendEmailLink",e=>{let{extra_params:t={},...r}=e;return this.baseSendEmailLink({...r,ect_type:13,...t})}),d(this,"sendEmailLinkV2",e=>{let{extra_params:t={},...r}=e;return this.baseSendEmailLinkV2({...r,ect_type:13,...t})}),d(this,"sendEmailCode",e=>{let{extra_params:t={},...r}=e;return this.baseSendEmailCode({...r,ect_type:13,...t})}),d(this,"sendEmailCodeV2",e=>{let{extra_params:t={},...r}=e;return this.baseSendEmailCodeV2({...r,ect_type:13,...t})}),d(this,"bindWithMobileLogin",e=>{let{code:t,platform_app_id:r,service:i,profile_key:o,change_bind:s=0,extra_params:a={}}=e;return this.request({url:n.Cx.BIND_WITH_MOBILE_LOGIN,method:"POST",data:{code:t,platform_app_id:r,service:i,profile_key:o,change_bind:s,...a}})}),d(this,"authLogin",e=>{let{code:t,platform_app_id:r,service:i,profile_key:o,login_only:s=!1,extra_params:a={}}=e;return this.request({url:s?n.Cx.AUTH_LOGIN_ONLY:n.Cx.AUTH_LOGIN,method:"POST",data:{code:t,platform_app_id:r,service:i,profile_key:o,...a}})}),d(this,"mobileEmailRegister",e=>{let{mobile:t,sms_code:r,email:o,email_code:s,password:a,verify_ticket:u,service:c,extra_params:l={}}=e,h=(0,i.J4)({mobile:t,sms_code:r,email:o,email_code:s,password:a,verify_ticket:u,service:c,sms_type:16,ect_type:1,...l},["mobile","sms_code","sms_type","email","email_code","ect_type","password"]);return this.request({url:n.Cx.MOBILE_EMAIL_REGISTER,method:"POST",data:h})}),d(this,"memberSwitch",e=>{let{to_sec_member_id:t,extra_params:r={}}=e;return this.request({url:n.jp.MEMBER_SWITCH,method:"POST",data:{to_sec_member_id:t,...r}})}),d(this,"authOneLogin",e=>{let{extra_params:t={},...r}=e,o=(0,i.J4)({req_type:"h5",...r,...t},["mobile"]);return this.request({url:n.Cx.AUTH_ONE_LOGIN,method:"POST",data:o})});let{host:t,originHost:r,aid:o}=e;this.aid=o,this.host=t,this.originHost=r}}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class v extends s{constructor(...e){var t;super(...e),t=this,p(this,"sendMobileCodeV2",e=>{let{mobile:t,check_register:r=!1,extra_params:n={}}=e;return this.baseSendMobileCodeV2({mobile:t,type:r?4:6,...n})}),p(this,"sendEmailCodeV2",e=>{let{extra_params:t={},...r}=e;return this.baseSendEmailCodeV2({...r,ect_type:4,...t})}),p(this,"resetPassword",e=>{let{account:t,code:r,password:o,extra_params:s={}}=e,a=(0,i.J4)({account:t,code:r,password:o},["account","code","password"]);return new Promise((e,t)=>{this.request({url:n.Cx.RESET_PASSWORD,method:"POST",data:{...a,...s}}).then(t=>{e(t)}).catch(e=>{t(e)})})}),p(this,"resetPasswordByEmailCode",e=>{let{email:t,code:r,password:o,extra_params:s={}}=e,a=(0,i.J4)({email:t,code:r,password:o},["email","code","password"]);return this.request({url:n.Cx.RESET_PASSWORD_BY_EMAIL,method:"POST",data:{...a,ect_type:4,...s}})}),p(this,"sendEmailCodeModifyPassword",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={},...n}=e;return t.baseSendEmailCodeV2({...n,ect_type:11,...r})}),p(this,"modifyPasswordByEmailCode",e=>{let{email:t,code:r,password:o,extra_params:s={}}=e,a=(0,i.J4)({email:t,code:r,password:o},["email","code","password"]);return this.request({url:n.Cx.RESET_PASSWORD_BY_EMAIL,method:"POST",data:{...a,ect_type:11,...s}})})}}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class _ extends s{constructor(...e){super(...e),m(this,"getQrcode",e=>{let{service:t,extra_params:r={}}=e;return this.request({url:`${n.Cx.GET_QRCODE}?service=${encodeURIComponent(t)}`,method:"GET",data:r})}),m(this,"checkQrconnect",e=>{let{service:t,token:r,extra_params:i={}}=e;return this.request({url:`${n.Cx.CHECK_QRCONNECT}?service=${encodeURIComponent(t)}`,method:"GET",data:{token:r,...i}})})}}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class g extends s{constructor(...e){super(...e),y(this,"sendMobileCode",e=>{let{extra_params:t={},...r}=e;return this.baseSendMobileCode({...r,type:22,...t})}),y(this,"sendMobileCodeV2",e=>{let{extra_params:t={},...r}=e;return this.baseSendMobileCodeV2({...r,type:22,...t})}),y(this,"quickAuth",e=>{let{code:t,extra_params:r={},...o}=e,s=(0,i.J4)({code:t,...o,...r},["code"]);return this.request({url:n.Cx.QUICK_AUTH,method:"POST",data:s})})}}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class E extends s{constructor(...e){super(...e),b(this,"emailRegister",e=>{let{email:t,extra_params:r={},...n}=e,o=(0,i.J4)({email:t,...n,ect_type:1,...r},["email","code","password"]);return this.emailRegisterXhr(o)}),b(this,"emailRegisterAndBindMoblieV2",e=>{let{email:t,code:r,mobile:o,password:s,extra_params:a={},...u}=e,c=(0,i.J4)({email:t,code:r,mobile:o,password:s,...u,...a},["email","code","mobile","password"]);return this.request({url:n.Cx.EMAIL_REGISTER_V2,method:"POST",data:c})}),b(this,"mobileRegisterAndBindEmailV2",e=>{let{email:t,code:r,mobile:o,password:s,extra_params:a={},...u}=e,c=(0,i.J4)({email:t,code:r,mobile:o,password:s,...u,...a},["email","code","mobile","password"]);return this.request({url:n.Cx.MOBILE_REGISTER_WITH_EMAIL,method:"POST",data:c})}),b(this,"emailActivateCodeLogin",e=>{let{email:t,code:r,extra_params:o={},...s}=e,a=(0,i.J4)({email:t,code:r,...s,ect_type:13,...o},["email","code"]);return this.request({url:n.Cx.EMAIL_ACTIVATE_CODE_LOGIN,method:"POST",data:a})}),b(this,"sendMobileCode",e=>{let{extra_params:t={},...r}=e;return this.baseSendMobileCode({...r,type:16,...t})}),b(this,"sendMobileCodeV2",e=>{let{extra_params:t={},...r}=e;return this.baseSendMobileCodeV2({...r,type:16,...t})}),b(this,"sendEmailLink",e=>{let{extra_params:t={},...r}=e;return this.baseSendEmailLink({...r,ect_type:1,...t})}),b(this,"sendEmailLinkV2",e=>{let{extra_params:t={},...r}=e;return this.baseSendEmailLinkV2({...r,ect_type:1,...t})}),b(this,"sendEmailCode",e=>{let{extra_params:t={},...r}=e;return this.baseSendEmailCode({...r,ect_type:1,...t})}),b(this,"sendEmailCodeV2",e=>{let{extra_params:t={},...r}=e;return this.baseSendEmailCodeV2({...r,ect_type:1,...t})}),b(this,"emailRegisterXhr",e=>this.request({url:n.Cx.EMAIL_REGISTER,method:"POST",data:e}))}}var w=r("817388");function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class S extends w.Z{constructor(e){super(e,"sso"),O(this,"host",void 0),O(this,"originHost",void 0),O(this,"bindMobile",void 0),O(this,"changeMobile",void 0),O(this,"login",void 0),O(this,"password",void 0),O(this,"qrcodeLogin",void 0),O(this,"quickAuth",void 0),O(this,"register",void 0);let{host:t,printLog:r}=e;this.host=t||"",this.originHost=window.location.origin;let n={...e,request:this.request};this.bindMobile=new u(n),this.changeMobile=new l(n),this.login=new f({...n,originHost:this.originHost}),this.password=new v(n),this.qrcodeLogin=new _(n),this.quickAuth=new g(n),this.register=new E(n)}}},940586:function(e,t,r){"use strict";r.d(t,{Z:function(){return Y}});var n=r("817388"),i=r("695385"),o=r("86024"),s=r("442159");function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class u{constructor(e){var t=this;a(this,"request",void 0),a(this,"aid",void 0),a(this,"subjectAid",void 0),a(this,"sendCode",e=>{let{mobile:t,extra_params:r={}}=e,n=(0,i.J4)({mobile:t,type:7,...r},["mobile","type"]);return this.request({url:o.vu.SEND_MOBILE_CODE,method:"POST",data:n})}),a(this,"smsLogin",e=>{let{mobile:t,code:r,need_frozen_user:n=0,extra_params:s={}}=e,a=(0,i.J4)({mobile:t,code:r,need_frozen_user:n,type:7,...s},["mobile","type","code"]);return this.request({url:o.vu.SMS_LOGIN,method:"POST",data:a})}),a(this,"sendEmailCode",e=>{let{email:t,extra_params:r={}}=e,n=(0,i.J4)({email:t,type:13,...r},["email","type"]);return this.request({url:o.vu.SEND_EMAIL_CODE,method:"POST",data:n})}),a(this,"emailLogin",e=>{let{email:t,code:r,need_frozen_user:n=0,extra_params:s={}}=e,a=(0,i.J4)({email:t,code:r,need_frozen_user:n,type:13,...s},["email","type","code"]);return this.request({url:o.vu.EMAIL_LOGIN,method:"POST",data:a})}),a(this,"pwdLogin",e=>{let{password:t,need_frozen_user:r=0,extra_params:n={}}=e,s=["email","username","mobile","account"].find(t=>!!e[t]);if(!s)return Promise.reject();let a=(0,i.J4)({password:t,[s]:e[s],need_frozen_user:r,...n},["password",s]);return this.request({url:o.vu.PWD_LOGIN,method:"POST",data:a})}),a(this,"oauthLoginCall",e=>{let{platform_app_id:t,next:r,extra_params:n={}}=e,a=(0,i.IC)({platform_app_id:t,next:r,aid:this.aid,subject_aid:this.subjectAid,account_sdk_source:"web",passport_jssdk_version:s.Z,...n});window.location.href=`${o.vu.OAUTH_LOGIN_CALL}?${a}`}),a(this,"oauthLogin",e=>{let{platform_app_id:t,redirect_uri:r,code:n,need_frozen_user:i=0,login_only:s=!0,extra_params:a={}}=e;return this.request({url:s?o.vu.OAUTH_LOGIN_ONLY:o.vu.OAUTH_LOGIN,method:"POST",data:{platform_app_id:t,redirect_uri:r,code:n,need_frozen_user:i,...a}})}),a(this,"subjectLoginList",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={}}=e;return t.request({url:o.vu.SUBJECT_LOGIN_LIST,method:"GET",data:r})}),a(this,"subjectLogin",e=>{let{login_subject_uid:t,user_identity_id:r="0",extra_params:n={}}=e,s=(0,i.J4)({login_subject_uid:t,user_identity_id:r,...n},["login_subject_uid","user_identity_id"]);return this.request({url:o.vu.SUBJECT_LOGIN,method:"POST",data:s})}),a(this,"logout",e=>{let{next:t="",not_redirect:r=!1,extra_params:n={}}=e,a={account_sdk_source:"web",aid:this.aid,passport_jssdk_version:s.Z,subject_aid:this.subjectAid,next:t,not_redirect:r,...n};if(r)return this.request({url:o.vu.LOGOUT,method:"GET",data:{...a,next:encodeURIComponent(a.next)}});window.location.href=`${o.vu.LOGOUT}?${(0,i.IC)(a)}`}),a(this,"memberSwitch",e=>{let{to_sec_member_id:t,extra_params:r={}}=e;return this.request({url:o.vu.MEMBER_SWITCH,method:"POST",data:{to_sec_member_id:t,...r}})});let{request:r,aid:n,subjectAid:u}=e;this.request=r,this.aid=n,this.subjectAid=u}}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class l{constructor(e){c(this,"request",void 0),c(this,"sendEmailCode",e=>{let{email:t,extra_params:r={}}=e,n=(0,i.J4)({email:t,type:1,...r},["email","type"]);return new Promise((e,t)=>{this.request({url:o.vu.SEND_EMAIL_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),c(this,"verifyEmail",e=>{let{email:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,code:r,type:1,...n},["email","code","type"]);return new Promise((e,t)=>{this.request({url:o.vu.CHECK_EMAIL_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),c(this,"registerByEmail",e=>{let{extra_params:t={},only_user:r=!1,...n}=e,s=(0,i.J4)({...n,...t},["base_infos","subject_name","password","identity_card","real_name"]),a=r?o.vu.REGISTER_EMAIL_USER_ONLY:o.vu.REGISTER_EMAIL;return new Promise((e,t)=>{this.request({url:a,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),c(this,"sendMobileCode",e=>{let{mobile:t,extra_params:r={}}=e,n=(0,i.J4)({mobile:t,type:1,...r},["mobile","type"]);return new Promise((e,t)=>{this.request({url:o.vu.SEND_MOBILE_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),c(this,"verifyMobile",e=>{let{mobile:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,code:r,type:1,...n},["mobile","code","type"]);return new Promise((e,t)=>{this.request({url:o.vu.CHECK_MOBILE_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),c(this,"registerByMobile",e=>{let{extra_params:t={},only_user:r=!1,...n}=e,s=(0,i.J4)({...n,...t},["base_infos","subject_name","password","identity_card","real_name"]),a=r?o.vu.REGISTER_MOBILE_USER_ONLY:o.vu.REGISTER_MOBILE;return new Promise((e,t)=>{this.request({url:a,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})});let{request:t}=e;this.request=t}}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class d{constructor(e){h(this,"request",void 0),h(this,"mobileInvite",e=>{let{extra_params:t={},...r}=e,n=(0,i.J4)({...r,...t},["mobile"]);return this.request({url:o.vu.MOBILE_INVITE,method:"POST",data:n})}),h(this,"emailInvite",e=>{let{extra_params:t={},...r}=e,n=(0,i.J4)({...r,...t},["email"]);return this.request({url:o.vu.EMAIL_INVITE,method:"POST",data:n})}),h(this,"larkInvite",e=>{let{extra_params:t={},...r}=e,n=(0,i.J4)({...r,...t},["email"]);return this.request({url:o.vu.LARK_INVITE,method:"POST",data:n})}),h(this,"getInvitationList",e=>{let{page:t=1,page_size:r=10,extra_params:n={}}=e;return new Promise((e,i)=>{this.request({url:`${o.vu.INVITE_LIST}${t}/`,method:"GET",data:{page_size:r,...n}}).then(t=>{e(t)}).catch(e=>{i(e)})})}),h(this,"cancelInvitation",e=>{let{invite_id:t=0,extra_params:r={}}=e;return new Promise((e,n)=>{this.request({url:o.vu.CANCEL_INVITE,method:"POST",data:{invite_id:t,...r}}).then(t=>{e(t)}).catch(e=>{n(e)})})}),h(this,"resendInvitation",e=>{let{invite_id:t=0,next_url:r="",link:n="",extra_params:i={}}=e;return new Promise((e,s)=>{this.request({url:o.vu.RESEND_INVITE,method:"POST",data:{invite_id:t,next_url:r,link:n,...i}}).then(t=>{e(t)}).catch(e=>{s(e)})})}),h(this,"updateInvitation",e=>{let{invite_id:t=0,deputy_identity_id:r,deputy_name:n,extra_params:s={}}=e,a=(0,i.J4)({invite_id:t,deputy_identity_id:r,deputy_name:n,...s},["deputy_name"]);return new Promise((e,t)=>{this.request({url:o.vu.UPDATE_INVITE,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),h(this,"checkRegisterStatus",e=>{let{invite_ticket:t,extra_params:r={}}=e;return new Promise((e,n)=>{this.request({url:o.vu.CHECK_INVITE_VALID,method:"POST",data:{invite_ticket:t,...r}}).then(t=>{e(t)}).catch(e=>{n(e)})})}),h(this,"acceptInvitation",e=>{let{invite_ticket:t,password:r,extra:n,extra_params:s={}}=e,a=(0,i.J4)({invite_ticket:t,password:r,extra:n,...s},["password","extra"]);return this.request({url:o.vu.ACCEPT_INVITE,method:"POST",data:a})});let{request:t}=e;this.request=t}}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class p{constructor(e){f(this,"request",void 0),f(this,"createByUsername",e=>{let{extra_params:t={},...r}=e,n=(0,i.J4)({...r,...t},["subject_name","deputy_name","password","username","base_infos","detail_infos"]);return new Promise((e,t)=>{this.request({url:o.vu.CREATE_BY_USERNAME,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),f(this,"createByMobile",e=>{let{extra_params:t={},...r}=e,n=(0,i.J4)({...r,...t},["subject_name","deputy_name","password","mobile","base_infos","detail_infos"]);return new Promise((e,t)=>{this.request({url:o.vu.CREATE_BY_MOBILE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),f(this,"createByEmail",e=>{let{extra_params:t={},...r}=e,n=(0,i.J4)({...r,...t},["subject_name","deputy_name","password","email","base_infos","detail_infos"]);return new Promise((e,t)=>{this.request({url:o.vu.CREATE_BY_EMAIL,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),f(this,"getSubjectList",e=>{let{page:t=1,page_size:r=10,deputy_identity_id:n,extra_params:i={}}=e;return new Promise((e,s)=>{this.request({url:`${o.vu.SUBJECT_LIST}${t}/`,method:"GET",data:{page_size:r,deputy_identity_id:n,...i}}).then(t=>{e(t)}).catch(e=>{s(e)})})}),f(this,"getSubjectDeputyList",e=>{let{page:t=1,page_size:r=10,extra_params:n={}}=e;return new Promise((e,i)=>{this.request({url:`${o.vu.SUBJECT_DEPUTY_LIST}${t}/`,method:"GET",data:{page_size:r,...n}}).then(t=>{e(t)}).catch(e=>{i(e)})})}),f(this,"getSubjectIdentityList",e=>{let{page:t=1,page_size:r=10,extra_params:n={}}=e;return new Promise((e,i)=>{this.request({url:`${o.vu.SUBJECT_IDENTITY_LIST}${t}/`,method:"GET",data:{page_size:r,...n}}).then(t=>{e(t)}).catch(e=>{i(e)})})}),f(this,"updateDeputyInfo",e=>{let{sec_user_id:t,deputy_identity_id:r,deputy_name:n,user_identity_id:s,extra_params:a={}}=e,u=(0,i.J4)({sec_user_id:t,deputy_identity_id:r,deputy_name:n,user_identity_id:s,...a},["deputy_name","user_identity_id"]);return new Promise((e,t)=>{this.request({url:o.vu.UPDATE_DEPUTY_INFO,method:"POST",data:u}).then(t=>{e(t)}).catch(e=>{t(e)})})}),f(this,"freezeDeputy",e=>{let{sec_user_id:t,user_identity_id:r,is_frozen:n=0,extra_params:s={}}=e,a=(0,i.J4)({sec_user_id:t,user_identity_id:r,is_frozen:n,...s},["sec_user_id","user_identity_id"]);return new Promise((e,t)=>{this.request({url:o.vu.FREEZE_DEPUTY,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),f(this,"deleteDeputy",e=>{let{sec_user_id:t,user_identity_id:r,extra_params:n={}}=e,s=(0,i.J4)({sec_user_id:t,user_identity_id:r,...n},["user_identity_id"]);return new Promise((e,t)=>{this.request({url:o.vu.DELETE_DEPUTY,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),f(this,"updateSubjectInfo",e=>{let{sec_subject_uid:t,subject_name:r,base_infos:n,detail_infos:s,extra_params:a={}}=e,u=(0,i.J4)({sec_subject_uid:t,subject_name:r,base_infos:n,detail_infos:s,...a},["sec_subject_uid","subject_name","base_infos","detail_infos"]);return new Promise((e,t)=>{this.request({url:o.vu.UPDATE_SUBJECT_INFO,method:"POST",data:u}).then(t=>{e(t)}).catch(e=>{t(e)})})}),f(this,"freezeSubject",e=>{let{sec_subject_uid:t,is_frozen:r=0,extra_params:n={}}=e,s=(0,i.J4)({sec_subject_uid:t,is_frozen:r,...n},["sec_subject_uid"]);return new Promise((e,t)=>{this.request({url:o.vu.FREEZE_SUBJECT,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})});let{request:t}=e;this.request=t}}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class m{constructor(e){v(this,"request",void 0),v(this,"sendEmailCode",e=>{let{email:t,extra_params:r={}}=e,n=(0,i.J4)({email:t,type:4,...r},["email","type"]);return this.request({url:o.vu.SEND_EMAIL_CODE,method:"POST",data:n})}),v(this,"sendMobileCode",e=>{let{mobile:t,extra_params:r={}}=e,n=(0,i.J4)({mobile:t,type:6,...r},["mobile","type"]);return this.request({url:o.vu.SEND_MOBILE_CODE,method:"POST",data:n})}),v(this,"mobileReset",e=>{let{mobile:t,code:r,password:n,extra_params:s={}}=e,a=(0,i.J4)({mobile:t,code:r,password:n,...s},["mobile","code","password"]);return this.request({url:o.vu.RESET_BY_MOBILE,method:"POST",data:a})}),v(this,"emailReset",e=>{let{email:t,code:r,password:n,extra_params:s={}}=e,a=(0,i.J4)({email:t,code:r,password:n,...s},["email","code","password"]);return this.request({url:o.vu.RESET_BY_EMAIL,method:"POST",data:a})});let{request:t}=e;this.request=t}}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class y{constructor(e){_(this,"request",void 0),_(this,"getResourceList",e=>{let{page:t=1,page_size:r=10,subject_uid:n,extra_params:i={}}=e;return new Promise((e,s)=>{this.request({url:`${o.vu.RESOURCE_LIST}${t}/`,method:"GET",data:{page_size:r,subject_uid:n,...i}}).then(t=>{e(t)}).catch(e=>{s(e)})})});let{request:t}=e;this.request=t}}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class b{constructor(e){g(this,"request",void 0),g(this,"createRole",e=>{let{role_name:t,permissions:r,subject_uid:n,extra_params:i={}}=e;return new Promise((e,s)=>{this.request({url:o.vu.CREATE_ROLE,method:"POST",data:{role_name:t,permissions:r,subject_uid:n,...i}}).then(t=>{e(t)}).catch(e=>{s(e)})})}),g(this,"updateRole",e=>{let{role_key:t,role_name:r,permissions:n,description:i,subject_uid:s,extra_params:a={}}=e;return new Promise((e,u)=>{this.request({url:o.vu.UPDATE_ROLE,method:"POST",data:{role_key:t,role_name:r,permissions:n,description:i,subject_uid:s,...a}}).then(t=>{e(t)}).catch(e=>{u(e)})})}),g(this,"banRole",e=>{let{role_key:t,subject_uid:r,extra_params:n={}}=e;return new Promise((e,i)=>{this.request({url:o.vu.BAN_ROLE,method:"POST",data:{role_key:t,subject_uid:r,...n}}).then(t=>{e(t)}).catch(e=>{i(e)})})}),g(this,"getRoleList",e=>{let{subject_uid:t,extra_params:r={}}=e;return new Promise((e,n)=>{this.request({url:o.vu.ROLE_LIST,method:"GET",data:{subject_uid:t,...r}}).then(t=>{e(t)}).catch(e=>{n(e)})})}),g(this,"getRoleInfo",e=>{let{role_key:t,subject_uid:r,extra_params:n={}}=e;return new Promise((e,i)=>{this.request({url:o.vu.ROLE_INFO,method:"GET",data:{role_key:t,subject_uid:r,...n}}).then(t=>{e(t)}).catch(e=>{i(e)})})});let{request:t}=e;this.request=t}}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class w{constructor(e){E(this,"request",void 0),E(this,"createUserWithRole",e=>{let{role_key:t,sec_user_id:r,name:n,identity_id:i,subject_uid:s,extra_params:a={}}=e;return new Promise((e,u)=>{this.request({url:o.vu.CREATE_USER_WITH_ROLE,method:"POST",data:{role_key:t,sec_user_id:r,name:n,identity_id:i,subject_uid:s,...a}}).then(t=>{e(t)}).catch(e=>{u(e)})})}),E(this,"addUserRole",e=>{let{role_key:t,sec_user_identity_ids:r,subject_uid:n,extra_params:i={}}=e;return new Promise((e,s)=>{this.request({url:o.vu.ADD_USER_ROLE,method:"POST",data:{role_key:t,sec_user_identity_ids:r,subject_uid:n,...i}}).then(t=>{e(t)}).catch(e=>{s(e)})})}),E(this,"deleteUserRole",e=>{let{role_key:t,sec_user_identity_ids:r,subject_uid:n,extra_params:i={}}=e;return new Promise((e,s)=>{this.request({url:o.vu.DELETE_USER_ROLE,method:"POST",data:{role_key:t,sec_user_identity_ids:r,subject_uid:n,...i}}).then(t=>{e(t)}).catch(e=>{s(e)})})}),E(this,"getUserRoleList",e=>{let{subject_uid:t,extra_params:r={}}=e;return new Promise((e,n)=>{this.request({url:o.vu.USER_ROLE_LIST,method:"GET",data:{subject_uid:t,...r}}).then(t=>{e(t)}).catch(e=>{n(e)})})}),E(this,"getAllUserRoleList",e=>{let{subject_uid:t,identity_id:r,page:n=1,page_size:i=10,extra_params:s={}}=e;return new Promise((e,a)=>{this.request({url:`${o.vu.ALL_USER_ROLE_LIST}${n}/`,method:"GET",data:{subject_uid:t,identity_id:r,page_size:i,...s}}).then(t=>{e(t)}).catch(e=>{a(e)})})}),E(this,"getUserPermissions",e=>{let{subject_uid:t,extra_params:r={}}=e;return new Promise((e,n)=>{this.request({url:o.vu.USER_PERMISSIONS,method:"GET",data:{subject_uid:t,...r}}).then(t=>{e(t)}).catch(e=>{n(e)})})});let{request:t}=e;this.request=t}}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class S{constructor(e){var t=this;O(this,"request",void 0),O(this,"sendCodeToOldManager",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={}}=e,n=(0,i.J4)({type:22,...r},["type"]);return new Promise((e,r)=>{t.request({url:o.vu.SEND_MOBILE_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{r(e)})})}),O(this,"sendEmailCodeToOldManager",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={}}=e,n=(0,i.J4)({type:6,...r},["type"]);return new Promise((e,r)=>{t.request({url:o.vu.SEND_EMAIL_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{r(e)})})}),O(this,"verifyOldManagerMobile",e=>{let{code:t,extra_params:r={}}=e,n=(0,i.J4)({code:t,type:22,...r},["code","type"]);return new Promise((e,t)=>{this.request({url:o.vu.VERIFY_MOBILE_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),O(this,"verifyOldManagerEmail",e=>{let{code:t,extra_params:r={}}=e,n=(0,i.J4)({code:t,type:6,...r},["code","type"]);return new Promise((e,t)=>{this.request({url:o.vu.VERIFY_EMAIL_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),O(this,"sendCodeToNewManager",e=>{let{mobile:t,verify_ticket:r,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,verify_ticket:r,type:101,...n},["mobile","type"]);return new Promise((e,t)=>{this.request({url:o.vu.SEND_MOBILE_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),O(this,"sendEmailCodeToNewManager",e=>{let{email:t,verify_ticket:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,verify_ticket:r,type:101,...n},["email","type"]);return new Promise((e,t)=>{this.request({url:o.vu.SEND_EMAIL_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),O(this,"verifyNewManagerMobile",e=>{let{mobile:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,code:r,type:101,...n},["mobile","code","type"]);return new Promise((e,t)=>{this.request({url:o.vu.CHECK_MOBILE_CODE,method:"GET",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),O(this,"verifyNewManagerEmail",e=>{let{email:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,code:r,type:101,...n},["email","code","type"]);return new Promise((e,t)=>{this.request({url:o.vu.CHECK_EMAIL_CODE,method:"GET",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),O(this,"transferManager",e=>{let{extra_params:t={},...r}=e;return this.request({url:o.vu.TRANSFER_MANAGER,method:"POST",data:{...r,...t}})});let{request:r}=e;this.request=r}}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class C{constructor(e){var t=this;P(this,"request",void 0),P(this,"host",void 0),P(this,"aid",void 0),P(this,"sendCode",e=>{let{mobile:t,registerOnly:r=!1,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,type:r?16:24,...n},["mobile","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SEND_MOBILE_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),P(this,"smsLogin",e=>{let{mobile:t,code:r,login_only:n=!1,extra_params:s={}}=e,a=(0,i.J4)({mobile:t,code:r,login_only:n,...s},["mobile","code"]);return new Promise((e,t)=>{this.request({url:o.h$.SMS_LOGIN,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),P(this,"smsRegister",e=>{let{mobile:t,code:r,passport:n,extra_params:s={}}=e,a=(0,i.J4)({mobile:t,type:16,code:r,passport:n,...s},["mobile","type","code","passport"]);return new Promise((e,t)=>{this.request({url:o.h$.SMS_REGISTER,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),P(this,"smsLoginContinue",e=>{let{mobile:t,sms_code_key:r,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,sms_code_key:r,...n},["mobile","sms_code_key"]);return new Promise((e,t)=>{this.request({url:o.h$.SMS_LOGIN_CONTINUE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),P(this,"webLogin",e=>{let{platform_app_id:t,next:r,extra_params:n={}}=e;return new Promise((e,i)=>{this.request({url:o.h$.SMS_LOGIN_CONTINUE,method:"POST",data:{platform_app_id:t,next:r,...n}}).then(t=>{e(t)}).catch(e=>{i(e)})})}),P(this,"emailLogin",e=>{let{email:t,password:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,password:r,...n},["email","password"]);return new Promise((e,t)=>{this.request({url:o.h$.EMAIL_LOGIN,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),P(this,"emailCodeLogin",e=>{let{email:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,code:r,ect_type:13,...n},["email","code"]);return this.request({url:o.h$.EMAIL_CODE_LOGIN,method:"POST",data:s})}),P(this,"emailCodeQuickLogin",e=>{let{email:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,code:r,...n},["email","code"]);return this.request({url:o.h$.EMAIL_CODE_QUICK_LOGIN,method:"POST",data:s})}),P(this,"pwdLogin",e=>{let{username:t,mobile:r,email:n,account:s,password:a,extra_params:u={}}=e,c=(0,i.J4)({username:t,mobile:r,email:n,account:s,password:a,...u},["username","mobile","email","account","password"]);return this.request({url:o.h$.PWD_LOGIN,method:"POST",data:c})}),P(this,"authLogin",e=>{let{platform_app_id:t,code:r,access_token:n,access_token_secret:i,openid:s,profile_key:a,login_only:u=!1,extra_params:c={}}=e;return new Promise((e,l)=>{this.request({url:u?o.h$.AUTH_LOGIN_ONLY:o.h$.AUTH_LOGIN,method:"POST",data:{platform_app_id:t,code:r,access_token:n,access_token_secret:i,openid:s,profile_key:a,...c}}).then(t=>{e(t)}).catch(e=>{l(e)})})}),P(this,"webShareLogin",e=>{let{extra_params:t={},...r}=e;return this.request({url:o.h$.WEB_SHARE_LOGIN,method:"POST",data:{...t,...r}})}),P(this,"getOauthMobile",e=>{let{access_token:t,access_token_secret:r,code:n,expires_in:i,openid:s,platform_app_id:a,platform:u,need_plaintext:c=!1,profile_key:l,extra_params:h={}}=e;return new Promise((e,d)=>{this.request({url:o.h$.MOBILE_OAUTH,method:"POST",data:{access_token:t,access_token_secret:r,code:n,expires_in:i,openid:s,platform_app_id:a,platform:u,need_plaintext:c,profile_key:l,...h}}).then(t=>{e(t)}).catch(e=>{d(e)})})}),P(this,"authBindLogin",e=>{let{platform_app_id:t,code:r,mobile:n,sms_code:s,sms_code_key:a,profile_key:u,state:c,extra_params:l={}}=e,h=(0,i.J4)({platform_app_id:t,code:r,mobile:n,sms_code:s,sms_code_key:a,profile_key:u,state:c,...l},["mobile","sms_code"]);return new Promise((e,t)=>{this.request({url:o.h$.AUTH_BIND_ONLY,method:"POST",data:h}).then(t=>{e(t)}).catch(e=>{t(e)})})}),P(this,"mobileBindLogin",e=>{let{code:t,mobile:r,profile_key:n,state:s,extra_params:a={}}=e,u=(0,i.J4)({code:t,mobile:r,profile_key:n,state:s,...a},["mobile","code"]);return new Promise((e,t)=>{this.request({url:o.h$.MOBILE_BIND_ONLY,method:"POST",data:u}).then(t=>{e(t)}).catch(e=>{t(e)})})}),P(this,"logout",e=>{let{next:t="/",need_redirect:r=1,extra_params:n={}}=e,a={account_sdk_source:"web",aid:this.aid||"",next:t,passport_jssdk_version:s.Z,is_from_ttaccountsdk:1,...n};if(r){window.location.href=`${this.host||""}${o.h$.LOGOUT}?${(0,i.IC)(a)}`;return}return this.request({url:o.h$.LOGOUT,data:{need_redirect:r,...a,next:encodeURIComponent(a.next)}})}),P(this,"sendEmailCode",e=>{let{email:t,next:r,password:n,extra_params:s={}}=e,a=(0,i.J4)({email:t,next:r,password:n,type:1,...s},["email","password","type"]);return this.request({url:o.h$.SEND_EMAIL_CODE,method:"POST",data:a})}),P(this,"sendEmailLoginCode",e=>{let{email:t,next:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,next:r,type:13,...n},["email","type"]);return this.request({url:o.h$.SEND_EMAIL_CODE,method:"POST",data:s})}),P(this,"sendEmailQuickLoginCode",e=>{let{email:t,next:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,next:r,type:16,...n},["email","type"]);return this.request({url:o.h$.SEND_EMAIL_CODE,method:"POST",data:s})}),P(this,"emailRegister",e=>{let{email:t,code:r,password:n,ifLogin:s=!1,extra_params:a={}}=e,u=(0,i.J4)({email:t,code:r,password:n,type:1,...a},["email","password","type","code"]);return this.request({url:s?o.h$.EMAIL_REGISTER_LOGIN:o.h$.EMAIL_REGISTER,method:"POST",data:u})}),P(this,"mobileRegister",e=>{let{mobile:t,code:r,password:n,extra_params:s={}}=e,a=(0,i.J4)({mobile:t,code:r,password:n,type:16,...s},["mobile","code","password","type"]);return new Promise((e,t)=>{this.request({url:o.h$.MOBILE_REGISTER,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),P(this,"mobileEmailRegister",e=>{let{mobile:t,sms_code:r,email:n,email_code:s,password:a,verify_ticket:u,extra_params:c={}}=e,l=(0,i.J4)({mobile:t,sms_code:r,email:n,email_code:s,password:a,verify_ticket:u,sms_type:16,ect_type:1,...c},["mobile","sms_code","sms_type","email","email_code","ect_type","password"]);return new Promise((e,t)=>{this.request({url:o.h$.MOBILE_EMAIL_REGISTER,method:"POST",data:l}).then(t=>{e(t)}).catch(e=>{t(e)})})}),P(this,"checkLogin",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={}}=e;return t.request({url:o.h$.CHECK_LOGIN,method:"GET",data:r})}),P(this,"bindWithMobileLogin",e=>{let{extra_params:t={},...r}=e;return this.request({url:o.h$.BIND_WITH_MOBILE_LOGIN,method:"POST",data:{...t,...r}})}),P(this,"bindWithEmailLogin",e=>{let{extra_params:t={},...r}=e;return this.request({url:o.h$.BIND_WITH_EMAIL_LOGIN,method:"POST",data:{...t,...r}})}),P(this,"thirdAuth",e=>{let{platform_app_id:t,next:r="/",use_local_host:n=0,action:i,extra_params:a={}}=e,u=this.aid||"",c=encodeURIComponent(r),l=`account_sdk_source=web&aid=${u}&next=${c}&platform_app_id=${t}&use_local_host=${n}&action=${i}&passport_jssdk_version=${s.Z}`;for(let e in a)e&&(l="string"==typeof a[e]?`${l}&${e}=${encodeURIComponent(a[e])}`:`${l}&${e}=${a[e]}`);let h=`${o.h$.THIRD_AUTH}?${l}`;window.location.href=h}),P(this,"emailRegisterNoVerifyV2",e=>{let{email:t,password:r,next_url:n,recaptcha_token:s,extra_params:a={}}=e,u=(0,i.J4)({email:t,password:r,next_url:n,recaptcha_token:s,...a},["email","password","recaptcha_token"]);return this.request({url:o.h$.EMAIL_REGISTER_NO_VERIFY_V2,method:"POST",data:u})}),P(this,"wapLogin",e=>{let{origin:t="",type:r="web",use_local_host:n,scopes:i="user_info",next:a,url_params:u="",platform_app_id:c,platform:l="",replace:h=!1}=e,d=encodeURIComponent(a),f=encodeURIComponent(`${this.host}/auth/login_success/?service=${d}`),p={aid:this.aid,type:r,use_local_host:n,scopes:i,next:f,url_params:u,platform_app_id:c,platform:l,passport_jssdk_version:s.Z},v="",m=Object.keys(p).length;Object.keys(p).forEach((e,t)=>{m===t+1?v+=`${e}=${p[e]}`:v+=`${e}=${p[e]}&`});let _=`${t}${o.h$.AUTH_LOGIN_URL}?${v}`;h&&(window.location.href=_)}),P(this,"bindVerifyInfo",e=>{let{auth_ticket:t,verify_ticket:r,token:n,scene:i,user_type:s,extra_params:a={}}=e;return this.request({url:o.yx.BIND_VERIFY_INFO,method:"GET",data:{auth_ticket:t,verify_ticket:r,token:n,scene:i,user_type:s,...a}})}),P(this,"authToken",e=>{let{token:t,state:r,response_format_type:n="app",extra_params:i={}}=e;return this.request({url:o.h$.AUTH_TOKEN,method:"POST",data:{token:t,state:r,response_format_type:n,...i}})});let{request:r,host:n,aid:a}=e;this.request=r,this.host=n,this.aid=a}}class T{getQrcode(e){let{next:t,extra_params:r={}}=e;return this.request({url:`${o.h$.GET_QRCODE}?next=${encodeURIComponent(t)}`,method:"GET",data:r})}checkQrconnect(e){let{next:t,token:r,extra_params:n}=e;return this.request({url:`${o.h$.CHECK_QRCONNECT}?next=${encodeURIComponent(t)}`,method:"GET",data:{token:r,...n}})}getQrcodeFromWechat(e){let{extra_params:t={},...r}=e;return this.request({url:o.h$.GET_QRCODE_FROM_WECHAT,method:"POST",data:{...t,...r}})}checkQrcodeFromWechat(e){let{extra_params:t={},...r}=e;return this.request({url:o.h$.CHECK_QRCODE_FROM_WECHAT,method:"POST",data:{...t,...r}})}constructor(e){var t,r,n;t=this,n=void 0,(r="request")in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n;let{request:i}=e;this.request=i}}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class L{constructor(e){var t=this;I(this,"request",void 0),I(this,"sendCode",e=>{let{mobile:t,unbind_exist:r=0,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,type:8,unbind_exist:r,...n},["mobile","type","unbind_exist"]);return this.request({url:o.h$.SEND_MOBILE_CODE,method:"POST",data:s})}),I(this,"bindMobile",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mobile:r,code:n,password:s,verify_ticket:a,unbind_exist:u=0,extra_params:c={}}=e,l=(0,i.J4)({mobile:r,code:n,password:s,verify_ticket:a,unbind_exist:u,type:8,...c},["mobile","code","password","unbind_exist","type"]);return t.request({url:o.h$.MOBILE_BIND,method:"POST",data:l})}),I(this,"sendEmailCode",e=>{let{email:t,extra_params:r={}}=e,n=(0,i.J4)({email:t,type:8,...r},["email","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SEND_EMAIL_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),I(this,"bindEmail",e=>{let{email:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,code:r,...n},["email","code"]);return new Promise((e,t)=>{this.request({url:o.h$.EMAIL_BIND,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),I(this,"bindAuth",e=>{let{platform_app_id:t,code:r,access_token:n,access_token_secret:i,openid:s,profile_key:a,state:u,extra_params:c={}}=e;return new Promise((e,l)=>{this.request({url:o.h$.AUTH_BIND,method:"POST",data:{platform_app_id:t,code:r,access_token:n,access_token_secret:i,openid:s,profile_key:a,state:u,...c}}).then(t=>{e(t)}).catch(e=>{l(e)})})}),I(this,"unbindAuth",e=>{let{platform:t,extra_params:r={}}=e;return new Promise((e,n)=>{this.request({url:o.h$.AUTH_UNBIND,method:"POST",data:{platform:t,...r}}).then(t=>{e(t)}).catch(e=>{n(e)})})}),I(this,"switchBindAuth",e=>{let{platform_app_id:t,profile_key:r,extra_params:n={}}=e;return new Promise((e,i)=>{this.request({url:o.h$.AUTH_SWITCH_BIND,method:"POST",data:{platform_app_id:t,profile_key:r,...n}}).then(t=>{e(t)}).catch(e=>{i(e)})})}),I(this,"changeQrcodeSuccess",e=>{let{token:t,extra_params:r={}}=e;return this.request({url:o.h$.CHANGE_QRCODE_SUCCESS,method:"POST",data:{token:t,...r}})}),I(this,"changeQrcodeComfirm",e=>{let{token:t,verify_ticket:r,extra_params:n={}}=e;return this.request({url:o.h$.CHANGE_QRCODE_CONFIRM,method:"POST",data:{token:t,verify_ticket:r,...n}})});let{request:r}=e;this.request=r}}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class x{constructor(e){A(this,"request",void 0),A(this,"checkMobileRegistered",e=>{let{mobile:t,extra_params:r={}}=e,n=(0,i.J4)({mobile:t,...r},["mobile"]);return new Promise((e,t)=>{this.request({url:o.h$.CHECK_MOBILE_REGISTER,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),A(this,"checkEmailRegistered",e=>{let{email:t,extra_params:r={}}=e,n=(0,i.J4)({email:t,...r},["email"]);return this.request({url:o.h$.CHECK_EMAIL_REGISTER,method:"POST",data:n})});let{request:t}=e;this.request=t}}class R{constructor(e){var t,r,n;t=this,n=void 0,(r="request")in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n;let{request:i}=e;this.request=i}}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class B{constructor(e){k(this,"request",void 0),k(this,"sendCode",e=>{let{mobile:t,extra_params:r={}}=e,n=(0,i.J4)({mobile:t,type:6,...r},["mobile","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SEND_MOBILE_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),k(this,"validateCode",e=>{let{mobile:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,code:r,type:6,...n},["mobile","code","type"]);return new Promise((e,t)=>{this.request({url:o.h$.CHECK_MOBILE_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),k(this,"resetPwdByMobile",e=>{let{password:t,mobile:r,code:n,extra_params:s={}}=e,a=(0,i.J4)({password:t,mobile:r,code:n,...s},["password","mobile","code"]);return new Promise((e,t)=>{this.request({url:o.h$.RESET_PWD_BY_MOBILE,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),k(this,"sendEmailCode",e=>{let{email:t,extra_params:r={}}=e,n=(0,i.J4)({email:t,type:4,...r},["email","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SEND_EMAIL_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),k(this,"validateEmail",e=>{let{email:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,code:r,type:4,...n},["email","code","type"]);return this.request({url:o.h$.CHECK_EMAIL_CODE,method:"POST",data:s})}),k(this,"resetPwdByEmail",e=>{let{password:t,email:r,code:n,extra_params:s={}}=e,a=(0,i.J4)({password:t,email:r,code:n,...s},["password","email","code"]);return new Promise((e,t)=>{this.request({url:o.h$.RESET_PWD_BY_EMAIL,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),k(this,"resetPwdByMobileTicket",e=>{let{password:t,ticket:r,extra_params:n={}}=e,s=(0,i.J4)({password:t,ticket:r,...n},["password"]);return new Promise((e,t)=>{this.request({url:o.h$.RESET_PWD_BY_MOBILE_TICKET,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),k(this,"resetPwdByEmailTicket",e=>{let{password:t,ticket:r,extra_params:n={}}=e,s=(0,i.J4)({password:t,ticket:r,...n},["password"]);return new Promise((e,t)=>{this.request({url:o.h$.RESET_PWD_BY_EMAIL_TICKET,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})});let{request:t}=e;this.request=t}}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class M{constructor(e){var t=this;D(this,"request",void 0),D(this,"sendCodeToOldMobile",e=>{let{mobile:t,use_bind_mobile:r=!0,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,type:r?22:28,...n},["mobile","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SEND_MOBILE_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),D(this,"validateOldMobile",e=>{let{code:t,use_bind_mobile:r=!0,extra_params:n={}}=e,s=(0,i.J4)({code:t,type:r?22:28,...n},["code","type"]);return new Promise((e,t)=>{this.request({url:o.h$.VERIFY_MOBILE_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),D(this,"sendCodeToNewMobile",e=>{let{mobile:t,old_mobile:r,ticket:n,extra_params:s={}}=e,a=(0,i.J4)({mobile:t,old_mobile:r,type:20,ticket:n,...s},["mobile","old_mobile","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SEND_MOBILE_CODE,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),D(this,"rebindMobile",e=>{let{mobile:t,code:r,ticket:n,kick_other:s=0,extra_params:a={}}=e,u=(0,i.J4)({mobile:t,code:r,ticket:n,kick_other:s,...a},["mobile","code"]);return new Promise((e,t)=>{this.request({url:o.h$.MOBILE_REBIND,method:"POST",data:u}).then(t=>{e(t)}).catch(e=>{t(e)})})}),D(this,"sendCodeToOldEmail",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{email:r,extra_params:n={}}=e,s=(0,i.J4)({email:r,type:6,...n},["email","type"]);return new Promise((e,r)=>{t.request({url:o.h$.SEND_EMAIL_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{r(e)})})}),D(this,"validateOldEmail",e=>{let{email:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,code:r,type:6,...n},["email","code","type"]);return new Promise((e,t)=>{this.request({url:o.h$.VERIFY_EMAIL_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),D(this,"sendCodeToNewEmail",e=>{let{email:t,ticket:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,ticket:r,type:7,...n},["email","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SEND_EMAIL_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),D(this,"rebindEmail",e=>{let{email:t,code:r,ticket:n,extra_params:s={}}=e,a=(0,i.J4)({email:t,code:r,type:7,ticket:n,...s},["email","code","type"]);return new Promise((e,t)=>{this.request({url:o.h$.EMAIL_REBIND,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})});let{request:r}=e;this.request=r}}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class q{constructor(e){var t=this;N(this,"request",void 0),N(this,"sendCode",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{verify_mobile_seperate:r=!1,extra_params:n={}}=e,s=(0,i.J4)({type:r?22:13,...n},["type"]);return t.request({url:o.h$.SEND_MOBILE_CODE,method:"POST",data:s})}),N(this,"validateMobile",e=>{let{code:t,extra_params:r={}}=e,n=(0,i.J4)({code:t,type:22,...r},["code","type"]);return new Promise((e,t)=>{this.request({url:o.h$.VERIFY_MOBILE_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),N(this,"changePwdByMobile",e=>{let{password:t,code:r,ticket:n,extra_params:s={}}=e,a=(0,i.J4)({password:t,code:r,ticket:n,...s},["password","code"]);return new Promise((e,t)=>{this.request({url:o.h$.PWD_CHANGE_BY_MOBILE,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),N(this,"updatePwd",e=>{let{password:t,current_password:r,extra_params:n={}}=e,s=(0,i.J4)({password:t,current_password:r,...n},["password","current_password"]);return new Promise((e,t)=>{this.request({url:o.h$.PWD_UPDATE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),N(this,"sendEmailCode",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={}}=e,n=(0,i.J4)({type:11,...r},["type"]);return new Promise((e,r)=>{t.request({url:o.h$.SEND_EMAIL_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{r(e)})})}),N(this,"validateEmail",e=>{let{code:t,extra_params:r={}}=e,n=(0,i.J4)({code:t,type:11,...r},["code","type"]);return new Promise((e,t)=>{this.request({url:o.h$.VERIFY_EMAIL_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),N(this,"changePwdByEmail",e=>{let{password:t,code:r,ticket:n,extra_params:s={}}=e,a=(0,i.J4)({password:t,code:r,ticket:n,...s},["password","code"]);return new Promise((e,t)=>{this.request({url:o.h$.PWD_CHANGE_BY_EMAIL,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),N(this,"setPassword",e=>{let{password:t,extra_params:r={}}=e,n=(0,i.J4)({password:t,...r},["password"]);return new Promise((e,t)=>{this.request({url:o.h$.PWD_SET,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),N(this,"checkHasSetPwd",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={}}=e;return new Promise((e,n)=>{t.request({url:o.h$.PWD_HAS_SET,method:"POST",data:r}).then(t=>{e(t)}).catch(e=>{n(e)})})}),N(this,"checkWebHasSetPwd",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={}}=e;return t.request({url:o.h$.PWD_HAS_SET_V2,method:"GET",data:r})}),N(this,"changePwdByEmailAndLogin",e=>{let{password:t,code:r,email:n,extra_params:s={}}=e,a=(0,i.J4)({password:t,code:r,email:n,...s},["password","code"]);return this.request({url:o.h$.PWD_SET_BY_EAMIL_AND_LOGIN,method:"POST",data:a})});let{request:r}=e;this.request=r}}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class ${constructor(e){var t=this;U(this,"request",void 0),U(this,"notLoginSendCode",e=>{let{mobile:t,extra_params:r={}}=e,n=(0,i.J4)({mobile:t,type:34,...r},["mobile","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SEND_MOBILE_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),U(this,"notLoginValidateMobile",e=>{let{mobile:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,code:r,type:34,...n},["mobile","code","type"]);return new Promise((e,t)=>{this.request({url:o.h$.CHECK_MOBILE_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),U(this,"notLoginSendEmailCode",e=>{let{email:t,extra_params:r={}}=e,n=(0,i.J4)({email:t,type:15,...r},["email","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SEND_EMAIL_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),U(this,"notLoginValidateEmail",e=>{let{email:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({email:t,code:r,type:15,...n},["email","code","type"]);return new Promise((e,t)=>{this.request({url:o.h$.CHECK_EMAIL_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),U(this,"sendCode",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={},encrypt_uid:n=""}=e,s=(0,i.J4)({type:22,encrypt_uid:n,...r},["type"]);return new Promise((e,r)=>{t.request({url:o.h$.SEND_MOBILE_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{r(e)})})}),U(this,"sendVoiceCode",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={},encrypt_uid:n=""}=e,s=(0,i.J4)({type:22,encrypt_uid:n,...r},["type"]);return new Promise((e,r)=>{t.request({url:o.h$.SEND_VOICE_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{r(e)})})}),U(this,"validateMobile",e=>{let{code:t,extra_params:r={},encrypt_uid:n=""}=e,s=(0,i.J4)({code:t,encrypt_uid:n,type:22,...r},["code","type"]);return new Promise((e,t)=>{this.request({url:o.h$.VERIFY_MOBILE_CODE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})}),U(this,"sendEmailCode",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={},encrypt_uid:n=""}=e,s=(0,i.J4)({type:6,encrypt_uid:n,...r},["type"]);return t.request({url:o.h$.SEND_EMAIL_CODE,method:"POST",data:s})}),U(this,"validateEmail",e=>{let{code:t,encrypt_uid:r="",extra_params:n={}}=e,s=(0,i.J4)({code:t,encrypt_uid:r,type:6,...n},["code","type"]);return this.request({url:o.h$.VERIFY_EMAIL_CODE,method:"POST",data:s})}),U(this,"accountVerify",e=>{let{account:t="",password:r="",encrypt_uid:n="",extra_params:s={}}=e,a=(0,i.J4)({account:t,password:r,encrypt_uid:n,user_login_version:1,...s},["account","password"]);return new Promise((e,t)=>{this.request({url:o.h$.ACCOUNT_VERIFY,method:"POST",data:a}).then(t=>{e(t)}).catch(e=>{t(e)})})}),U(this,"upsmsVerify",e=>{let{encrypt_uid:t="",extra_params:r={}}=e,n={encrypt_uid:t,...r};return new Promise((e,t)=>{this.request({url:o.h$.CHECK_UPSMS,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),U(this,"authVerify",e=>{let{platform_app_id:t,code:r,access_token:n,access_token_secret:i,openid:s,profile_key:a,extra_params:u={}}=e;return new Promise((e,c)=>{this.request({url:o.h$.AUTH_VERIFY,method:"POST",data:{platform_app_id:t,code:r,access_token:n,access_token_secret:i,openid:s,profile_key:a,...u}}).then(t=>{e(t)}).catch(e=>{c(e)})})}),U(this,"smsAuthorizeSendCode",e=>{let{mobile:t,extra_params:r={}}=e,n=(0,i.J4)({mobile:t,type:26,...r},["mobile","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SEND_MOBILE_CODE,method:"POST",data:n}).then(t=>{e(t)}).catch(e=>{t(e)})})}),U(this,"smsAuthorize",e=>{let{mobile:t,code:r,extra_params:n={}}=e,s=(0,i.J4)({mobile:t,code:r,type:26,...n},["mobile","code","type"]);return new Promise((e,t)=>{this.request({url:o.h$.SMS_AUTHORIZE,method:"POST",data:s}).then(t=>{e(t)}).catch(e=>{t(e)})})});let{request:r}=e;this.request=r}}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class H{constructor(e){j(this,"request",void 0),j(this,"verifyWay",e=>{let{cancel_ticket:t,extra_params:r={}}=e;return this.request({url:o.h$.CANCEL_VERIFY_WAY,method:"GET",data:{cancel_ticket:t,...r}})}),j(this,"checkIfPass",e=>{let{value_ticket:t,extra_params:r}=e;return this.request({url:o.h$.CANCEL_CHECK,method:"GET",data:{value_ticket:t,...r}})}),j(this,"confirm",e=>{let{value_ticket:t,token:r,cancel_ticket:n,abandon:i,extra_params:s={}}=e;return this.request({url:o.h$.CANCEL_CONFIRM,method:"POST",data:{value_ticket:t,token:r,cancel_ticket:n,abandon:i,...s}})}),j(this,"cancel",e=>{let{type:t,token:r,extra_params:n}=e;return this.request({url:o.h$.CANCEL_REQUEST_CANCEL,method:"POST",data:{type:t,token:r,...n}})});let{request:t}=e;this.request=t}}function G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class F{getAuthInfo(e){let{client_key:t,scope:r,extra_params:n={}}=e;return this.request({url:o.h$.GET_OPEN_AUTH_INFO,method:"GET",data:{client_key:t,scope:r,...n}})}sendCode(e){let{mobile:t,extra_params:r={}}=e,n=(0,i.J4)({mobile:t,type:27,...r},["mobile","type"]);return this.request({url:o.h$.OPEN_SEND_CODE,method:"GET",data:n})}smsAuth(e){let{client_key:t,scope:r,source:n,redirect_uri:s,state:a,mobile:u,code:c,extra_params:l={}}=e,h=(0,i.J4)({client_key:t,scope:r,source:n,redirect_uri:s,state:a,mobile:u,code:c,...l},["mobile","code"]);return this.request({url:o.h$.OPEN_SMS_AUTH,method:"POST",data:h})}accountAuth(e){let{client_key:t,scope:r,source:n,redirect_uri:s,state:a,password:u,account:c,extra_params:l={}}=e,h=(0,i.J4)({client_key:t,scope:r,source:n,redirect_uri:s,state:a,password:u,account:c,...l},["password","account"]);return this.request({url:o.h$.OPEN_ACCOUNT_AUTH,method:"POST",data:h})}thirdAuth(e){let{extra_params:t={},...r}=e;return this.request({url:o.h$.OPEN_THIRD_AUTH,method:"POST",data:{...r,...t}})}getQRCode(e){let{client_key:t,scope:r,state:n,next:i,extra_params:s={}}=e;return this.request({url:o.h$.OPEN_GET_QRCODE,method:"POST",data:{client_key:t,scope:r,state:n,next:i,...s}})}checkQRCode(e){let{token:t,next:r,scope:n,client_key:i,extra_params:s={}}=e;return this.request({url:o.h$.OPEN_CHECK_QRCODE,method:"POST",data:{token:t,next:r,scope:n,client_key:i,...s}})}toScanQRCode(e){let{extra_params:t={}}=e;return this.request({url:o.h$.OPEN_TO_SCAN_QRCODE,method:"POST",data:{...t}})}scanQRCode(e){let{token:t,extra_params:r={}}=e;return this.request({url:o.h$.OPEN_SCAN_QRCODE,method:"POST",data:{token:t,...r}})}confirmQRCode(e){let{token:t,scopes:r,extra_params:n={}}=e;return this.request({url:o.h$.OPEN_CONFIRM_QRCODE,method:"POST",data:{token:t,scopes:r,...n}})}webAuth(e){let{extra_params:t={},...r}=e;return this.request({url:o.h$.OPEN_WEB_AUTH,method:"POST",data:{...r,...t}})}getOauthToken(e){let{extra_params:t={},...r}=e;return this.request({url:o.h$.GET_OPEN_OAUTH_TOKEN,method:"GET",data:{...r,...t}})}updateAuthorizeInfo(e){let{extra_params:t={},...r}=e;return this.request({url:o.h$.OPEN_UPDATE_AUTHORIZE_INFO,method:"POST",data:{...r,...t}})}douyinOauthConnect(e){let t=`${(0,i.O1)(8)}-${(0,i.O1)(4)}-${(0,i.O1)(4)}-${(0,i.O1)(4)}-${(0,i.O1)(12)}`,{client_key:r,scope:n,optionalScope:a="",state:u=t,response_type:c="code",redirect_uri:l,host:h="https://open.douyin.com"}=e,d={client_key:r,scope:n,optionalScope:a,state:u,response_type:c,redirect_uri:l,passport_jssdk_version:s.Z},f=o.h$.PLATFORM_OAUTH_CONNECT,p=Object.entries(d).map(e=>{let[t,r]=e;return`${t}=${encodeURIComponent(r)}`}).join("&"),v=`${h}${f}?${p}`,m=new Date;m.setTime(m.getTime()+5184e6),document.cookie=`passport_open_state=${u}; Domain=${window.location.host}; Path=/; SameSite=None; Secure; expires=${m.toUTCString()}`,window.location.href=v}providerOneAuth(e){let{extra_params:t={},...r}=e,n=(0,i.J4)({...r,...t},["mobile"]);return this.request({url:o.h$.OPEN_PROVIDER_ONE_AUTH,method:"POST",data:n})}constructor(e){G(this,"request",void 0),G(this,"isBoe",void 0);let{request:t,isBoe:r=!1}=e;this.request=t,this.isBoe=r}}function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class V{constructor(e){var t=this;J(this,"request",void 0),J(this,"getAccountInfo",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extra_params:r={}}=e;return t.request({url:o.h$.ACCOUNT_INFO,method:"GET",data:r})}),J(this,"setAccount",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{password:r,username:n,extra_params:s={}}=e,a=(0,i.J4)({password:r,username:n,...s},["password","username"]);return t.request({url:o.h$.ACCOUNT_SET,method:"POST",data:a})});let{request:r}=e;this.request=r}}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class W{constructor(e){z(this,"request",void 0),z(this,"props",void 0),z(this,"getOauthProfile",e=>{var t;let{access_token:r,access_token_secret:n,code:i,expires_in:s,openid:a,platform_app_id:u,platform:c,extra_params:l={}}=e;return this.request({url:o.h$.OAUTH_PROFILE,method:"GET",data:{aid:null==(t=this.props)?void 0:t.aid,access_token:r,access_token_secret:n,code:i,expires_in:s,openid:a,platform_app_id:u,platform:c,...l}})}),z(this,"uploadAvatar",e=>{let{avatar:t,extra_params:r}=e,n=new FormData,i=new Blob([t],{type:t.type});n.append("avatar",i);let s=o.h$.UPLOAD_AVATAR;return this.request({url:s,method:"POST",data:n,params:{...r},headers:{"Content-Type":"multipart/form-data"}})}),z(this,"updateUserInfo",e=>{let{extra_params:t={},...r}=e,n={...r,...t};return this.request({url:o.h$.UPDATE_USERINFO,method:"POST",data:n})}),z(this,"checkDefaultInfo",e=>{let{scene:t,extra_params:r={}}=e;return this.request({url:o.h$.CHECK_DEFAULT_INFO,method:"GET",params:{scene:t,...r}})}),z(this,"getDefaultImageList",e=>{let{aid:t}=this.props,{extra_params:r={}}=e,n=o.h$.GET_BACKGROUND_LIST.replace("{aid}",String(t));return this.request({url:n,method:"GET",params:{...r}})}),z(this,"getDefaultAvatarList",e=>{let{aid:t}=this.props,{extra_params:r={}}=e,n=o.h$.GET_DEFAULT_AVATAR_LIST.replace("{aid}",String(t));return this.request({url:n,method:"GET",params:{...r}})}),z(this,"getRecommendName",e=>{let{extra_params:t={}}=e;return this.request({url:o.h$.GET_RECOMMEND_NAME,method:"GET",params:{...t}})}),z(this,"checkRemainTimes",e=>{let{field:t,field_namespace:r="",extra_params:n={}}=e;return this.request({url:o.h$.CHECK_REMAIN_TIMES,method:"GET",params:{field:t,field_namespace:r,...n}})}),z(this,"uploadPicture",e=>{let{pic:t,is_sensitive:r,extra_params:n={}}=e,i=new FormData,s=new Blob([t],{type:t.type});return i.append("pic",s),this.request({url:o.h$.UPLOAD_PICTURE,method:"POST",data:i,params:{is_sensitive:r,...n}})}),z(this,"downloadImage",e=>{let{key:t,extra_params:r={}}=e;return this.request({url:o.h$.DOWNLOAD_IMAGE,method:"GET",params:{key:t,...r}})});let{request:t}=e;this.request=t,this.props=e}}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Y extends n.Z{constructor(e){super(e,"web"),K(this,"login",void 0),K(this,"qrcodeLogin",void 0),K(this,"affLogin",void 0),K(this,"register",void 0),K(this,"affRegister",void 0),K(this,"forgetPwd",void 0),K(this,"affForgetPwd",void 0),K(this,"password",void 0),K(this,"bind",void 0),K(this,"rebind",void 0),K(this,"verify",void 0),K(this,"extra",void 0),K(this,"affInvite",void 0),K(this,"affSubject",void 0),K(this,"affResource",void 0),K(this,"affRole",void 0),K(this,"affUser",void 0),K(this,"affSuper",void 0),K(this,"cancel",void 0),K(this,"open",void 0),K(this,"account",void 0),K(this,"user",void 0);let{printLog:t=!1}=e;let r={...e,request:this.request};this.login=new C(r),this.qrcodeLogin=new T(r),this.register=new R(r),this.forgetPwd=new B(r),this.bind=new L(r),this.rebind=new M(r),this.password=new q(r),this.extra=new x(r),this.verify=new $(r),this.cancel=new H(r),this.open=new F(r),this.account=new V(r),this.user=new W(r),this.affLogin=new u(r),this.affRegister=new l(r),this.affInvite=new d(r),this.affSubject=new p(r),this.affForgetPwd=new m(r),this.affResource=new y(r),this.affRole=new b(r),this.affUser=new w(r),this.affSuper=new S(r)}}},86024:function(e,t,r){"use strict";r.d(t,{Cx:function(){return d},FX:function(){return f},Te:function(){return m},Zv:function(){return p},h$:function(){return l},jp:function(){return v},vu:function(){return h},yx:function(){return _}});let n="/user_info",i="/passport/web",o="/passport/mobile",s="/aff",a="/passport/aff/web",u="/passport/aff/mobile",c="/passport/common",l={SEND_MOBILE_CODE:`${i}/send_code/`,SEND_VOICE_CODE:`${i}/send_voice_code/`,SEND_EMAIL_CODE:`${i}/email/send_code/`,VERIFY_MOBILE_CODE:`${i}/validate_code/`,VERIFY_EMAIL_CODE:`${i}/email/verify/`,CHECK_MOBILE_CODE:`${i}/mobile/check_code/`,CHECK_EMAIL_CODE:`${i}/email/check_code/`,CHECK_UPSMS:`${i}/upsms/verify/`,SMS_LOGIN:`${i}/sms_login/`,SMS_LOGIN_ONLY:`${i}/sms_login_only/`,SMS_REGISTER:`${i}/mobile/register`,SMS_LOGIN_CONTINUE:`${i}/sms_login_continue/`,EMAIL_LOGIN:`${i}/email/login/`,EMAIL_CODE_LOGIN:`${i}/email/code_login/`,EMAIL_CODE_QUICK_LOGIN:`${i}/email/quick_login/`,EMAIL_REGISTER_LOGIN:`${i}/email/register_verify_login/`,EMAIL_REGISTER:`${i}/email/register_verify/`,PWD_LOGIN:`${i}/user/login/`,AUTH_LOGIN:`${i}/auth/login/`,AUTH_LOGIN_ONLY:`${i}/auth/login_only/`,AUTH_BIND_ONLY:`${i}/auth/bind_login/`,MOBILE_BIND_ONLY:`${i}/mobile/bind_login/`,MOBILE_EMAIL_REGISTER:`${i}/mobile_email_register/`,MOBILE_REGISTER:"/passport/mobile/register/",MOBILE_OAUTH:"/passport/auth/show_oauth_mobile/",LOGOUT:`${i}/logout/`,CHECK_LOGIN:"/passport/account/info/v2/",BIND_WITH_MOBILE_LOGIN:`${i}/auth/bind_with_mobile_login/`,BIND_WITH_EMAIL_LOGIN:`${i}/auth/bind_with_email_login/`,GET_QRCODE:`${i}/get_qrcode/`,CHECK_QRCONNECT:`${i}/check_qrconnect/`,SCAN_QRCODE:`${i}/scan_qrcode/`,CONFIRM_QRCODE:`${i}/confirm_qrcode/`,THIRD_AUTH:`${i}/web_login/`,WEB_SHARE_LOGIN:`${i}/auth/share_login/`,AUTH_LOGIN_URL:"/passport/auth/wap_login/",EMAIL_REGISTER_NO_VERIFY:`${i}/email/register/`,EMAIL_REGISTER_NO_VERIFY_V2:`${i}/email/register/v2/`,GET_QRCODE_FROM_WECHAT:`${i}/wechat/get_qrcode/`,CHECK_QRCODE_FROM_WECHAT:`${i}/wechat/check_qrcode_status/`,MOBILE_BIND:`${i}/mobile/bind/`,EMAIL_BIND:`${i}/email/bind/`,AUTH_BIND:`${i}/auth/bind/`,AUTH_UNBIND:`${i}/auth/unbind/`,AUTH_SWITCH_BIND:`${i}/auth/switch_bind/`,MOBILE_REBIND:`${i}/mobile/change/`,EMAIL_REBIND:`${i}/email/change/`,RESET_PWD_BY_MOBILE:`${i}/password/reset/`,RESET_PWD_BY_EMAIL:`${i}/email/password/reset/`,RESET_PWD_BY_MOBILE_TICKET:`${i}/password/reset_by_ticket/`,RESET_PWD_BY_EMAIL_TICKET:`${i}/password/reset_by_email_ticket/`,PWD_CHANGE_BY_MOBILE:`${i}/password/change/`,PWD_UPDATE:`${i}/password/update/`,PWD_CHANGE_BY_EMAIL:`${i}/email/change_password/`,PWD_SET:`${i}/password/set/`,PWD_HAS_SET:"/passport/password/has_set/",PWD_HAS_SET_V2:`${i}/password/has_set/`,PWD_SET_BY_EAMIL_AND_LOGIN:`${i}/email/password/reset_and_login/`,ACCOUNT_VERIFY:`${i}/account/verify/`,AUTH_VERIFY:`${i}/auth/verify/`,SMS_AUTHORIZE:`${i}/sms/authorize/`,CANCEL_VERIFY_WAY:"/passport/auth/cancel_verify_way/",CANCEL_CHECK:`${i}/cancel/check/`,CANCEL_CONFIRM:`${i}/cancel/confirm/`,CANCEL_REQUEST_CANCEL:`${i}/cancel/login/`,CHECK_MOBILE_REGISTER:`${i}/user/check_mobile_registered/`,CHECK_EMAIL_REGISTER:`${i}/user/check_email_registered`,CHANGE_QRCODE_SUCCESS:"/passport/qrcode_twostep_verify/scan_qrcode/",CHANGE_QRCODE_CONFIRM:"/passport/qrcode_twostep_verify/confirm_by_ticket/",GET_OPEN_AUTH_INFO:"/passport/open/auth_info/v2/",OPEN_SEND_CODE:"/passport/open/send_code/",OPEN_SMS_AUTH:"/passport/open/web/sms/auth/",OPEN_ACCOUNT_AUTH:"/passport/open/web/account/auth/",OPEN_THIRD_AUTH:"/passport/open/web/third_party/auth/",OPEN_GET_QRCODE:"/passport/open/get_qrcode/",OPEN_CHECK_QRCODE:"/passport/open/check_qrcode/",OPEN_TO_SCAN_QRCODE:"/passport/open/to_scan_qrcode/",OPEN_SCAN_QRCODE:"/passport/open/scan_qrcode/",OPEN_CONFIRM_QRCODE:"/passport/open/confirm_qrcode/",OPEN_WEB_AUTH:"/passport/open/web/auth/",OPEN_PROVIDER_ONE_AUTH:"/passport/open/provider_one_auth/",GET_OPEN_OAUTH_TOKEN:"/passport/web/auth/get_oauth_token/",OPEN_UPDATE_AUTHORIZE_INFO:"/passport/web/auth/update_authorize_info/",PLATFORM_OAUTH_CONNECT:"/platform/oauth/connect/",ACCOUNT_INFO:`${i}/account/info/`,ACCOUNT_SET:`${i}/account/set/`,OAUTH_PROFILE:"/web/user/get/oauth_profile/",UPLOAD_AVATAR:"/web/user/update/upload_avatar/",UPDATE_USERINFO:"/web/user/update/user_info/",CHECK_DEFAULT_INFO:"/web/user/check/default_info/",GET_BACKGROUND_LIST:"/web/user/settings/{aid}/default_background_image_list/",GET_DEFAULT_AVATAR_LIST:"/web/user/settings/{aid}/default_avatar_list/",GET_RECOMMEND_NAME:"/web/user/settings/recommend_name/",UPLOAD_PICTURE:"/web/user/upload/pic/",CHECK_REMAIN_TIMES:"/web/user/get/remain_update_times/",DOWNLOAD_IMAGE:"/user/web/download/image/",DOWNLOAD_IMAGE_V2:"/user/web/download/image/v2/",AUTH_TOKEN:"/passport/auth/token_auth/"},h={SEND_MOBILE_CODE:`${a}/mobile/send_code/`,SEND_EMAIL_CODE:`${a}/email/send_code/`,VERIFY_MOBILE_CODE:`${a}/mobile/validate_code/`,VERIFY_EMAIL_CODE:`${a}/email/verify/`,CHECK_MOBILE_CODE:`${a}/mobile/check_code/`,CHECK_EMAIL_CODE:`${a}/email/check_code/`,SMS_LOGIN:`${a}/mobile/sms_login/`,EMAIL_LOGIN:`${a}/email/code_login/`,PWD_LOGIN:`${a}/user/login/`,OAUTH_LOGIN_CALL:`${a}/oauth/login/call/`,OAUTH_LOGIN_ONLY:`${a}/oauth/login_only/`,OAUTH_LOGIN:`${a}/oauth/login/`,SUBJECT_LOGIN_LIST:`${a}/subject/login_list/`,SUBJECT_LOGIN:`${a}/subject/login/`,LOGOUT:`${a}/logout/`,REGISTER_EMAIL_USER_ONLY:`${a}/email/register/only_user/`,REGISTER_EMAIL:`${a}/email/register/`,REGISTER_MOBILE_USER_ONLY:`${a}/mobile/register/only_user/`,REGISTER_MOBILE:`${a}/mobile/register/`,RESET_BY_MOBILE:`${a}/mobile/password/reset/`,RESET_BY_EMAIL:`${a}/email/password/reset/`,MOBILE_INVITE:`${a}/invitation/mobile/invite/`,EMAIL_INVITE:`${a}/invitation/email/invite/`,LARK_INVITE:`${a}/invitation/lark/invite/`,INVITE_LIST:`${a}/invitation/list/`,CANCEL_INVITE:`${a}/invitation/cancel/`,RESEND_INVITE:`${a}/invitation/resend/`,UPDATE_INVITE:`${a}/invitation/update/`,CHECK_INVITE_VALID:`${a}/invitation/check/`,ACCEPT_INVITE:`${a}/invitation/accept/`,CREATE_BY_USERNAME:`${a}/subject/username/create/`,CREATE_BY_MOBILE:`${a}/subject/mobile/create/`,CREATE_BY_EMAIL:`${a}/subject/email/create/`,SUBJECT_LIST:`${a}/subject/all/list/`,SUBJECT_DEPUTY_LIST:`${a}/subject/deputy/list/`,SUBJECT_IDENTITY_LIST:`${a}/subject/identity/list/`,UPDATE_DEPUTY_INFO:`${a}/deputy/update/`,FREEZE_DEPUTY:`${a}/deputy/freeze/`,DELETE_DEPUTY:`${a}/deputy/delete/`,UPDATE_SUBJECT_INFO:`${a}/subject/update/`,FREEZE_SUBJECT:`${a}/subject/freeze/`,RESOURCE_LIST:`${a}/resource/list/`,CREATE_ROLE:`${a}/role/create/`,UPDATE_ROLE:`${a}/role/update/`,BAN_ROLE:`${a}/role/ban/`,ROLE_LIST:`${a}/role/list/`,ROLE_INFO:`${a}/role/info/`,CREATE_USER_WITH_ROLE:`${a}/user/create_with_role/`,ADD_USER_ROLE:`${a}/user_role/add/`,DELETE_USER_ROLE:`${a}/user_role/del/`,USER_ROLE_LIST:`${a}/user_role/list/`,ALL_USER_ROLE_LIST:`${a}/user_role/all/list/`,USER_PERMISSIONS:`${a}/user/permissions/`,SUCCESSOR_SEND_CODE:`${a}/admin/successor/send_code/`,TRANSFER_MANAGER:`${a}/admin/transfer/`,MEMBER_SWITCH:`${a}/member/switch/`},d={MOBILE_CODE_URL:"/send_activation_code/",MOBILE_CODE_URL_V2:"/send_activation_code/v2/",EMAIL_ACTIVATE_URL:"/send_email_activate_link/",EMAIL_ACTIVATE_URL_V2:"/send_email_activate_link/v2/",EMAIL_ACTIVATE_CODE_URL:"/send_email_activate_code/",EMAIL_ACTIVATE_CODE_URL_V2:"/send_email_activate_code/v2/",CHECK_LOGIN:"/check_login/",MOBILE_CODE_LOGIN_URL:"/quick_login/",MOBILE_CODE_LOGIN_URL_V2:"/quick_login/v2/",MOBILE_CODE_LOGIN_ONLY_URL:"/quick_login_only/",ACCOUNT_LOGIN_URL:"/account_login/",ACCOUNT_LOGIN_URL_V2:"/account_login/v2/",AUTH_LOGIN_URL:"/passport/auth/wap_login/",BIND_WITH_MOBILE_LOGIN:"/bind_with_mobile_login/",AUTH_LOGIN:"/auth/login/",AUTH_LOGIN_ONLY:"/auth/login_only/",LOGOUT:"/logout/",EMAIL_ACTIVATE_CODE_LOGIN:"/activate_email/code_login/",EMAIL_REGISTER:"/activate_email/register/",EMAIL_REGISTER_V2:"/activate_email/register/v2/",MOBILE_REGISTER_WITH_EMAIL:"/register/",MOBILE_REGISTER_WITH_EMAIL_V2:"/register/v2/",SSO_EMAIL_ACTIVATE_CODE_URL:"/sso/send_email_activate_code/",RESET_PASSWORD:"/reset_password/",RESET_PASSWORD_BY_EMAIL:"/activate_email/reset_password/",BIND_MOBILE:"/bind_mobile/",CHANGE_MOBILE:"/change_mobile/",QUICK_AUTH:"/quick_auth/",GET_QRCODE:"/get_qrcode/",CHECK_QRCONNECT:"/check_qrconnect/",SCAN_QRCODE:"/scan_qrcode/",CONFIRM_QRCODE:"/confirm_qrcode/",MOBILE_EMAIL_REGISTER:"/mobile_email_register/",AUTH_ONE_LOGIN:"/auth/one_login/"},f={SEND_MOBILE_CODE:`${o}/send_code/`,CHECK_MOBILE_CODE:`${o}/check_code/`,UNBIND_UNUSABLE_MOBILE:`${o}/unbind_limited_unusable_mobile/`,BIND_WITH_MOBILE_LOGIN:"/passport/auth/bind_with_mobile_login/",AUTH_LOGIN:"/passport/auth/login/",OAUTH_PROFILE:"/user/get/oauth_profile/"},p={WEB_SDK_INIT:`${n}/common/v1/web_sdk_init/`},v={MEMBER_SWITCH:`${s}/member/switch/`},m={MEMBER_SWITCH:`${u}/member/switch/`},_={BIND_VERIFY_INFO:`${c}/register/web/bind_verify_info/`}},442159:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n="4.1.3"},642440:function(e,t,r){"use strict";var n=r(630272),i={Uri:{createUriRegex:function(e){if("object"!=typeof(e=e||{})||Array.isArray(e))throw Error("options must be an object");var t="";if(e.scheme){if(!Array.isArray(e.scheme)&&(e.scheme=[e.scheme]),e.scheme.length<=0)throw Error("scheme must have at least 1 scheme specified");for(var r=0;r<e.scheme.length;++r){var i=e.scheme[r];if(!(i instanceof RegExp||"string"==typeof i))throw Error("scheme must only contain Regular Expressions or Strings");if(t+=t?"|":"",i instanceof RegExp)t+=i.source;else{if(!/[a-zA-Z][a-zA-Z0-9+-\.]*/.test(i))throw Error("scheme at position "+r+" must be a valid scheme");t+=i.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}}}return RegExp("^(?:"+("(?:"+(t||n.scheme)+")")+":"+n.hierPart+")(?:\\?"+n.query+")?(?:#"+n.fragment+")?$")},uriRegex:new RegExp(n.uri)}};i.Uri.isValid=function(e){return i.Uri.uriRegex.test(e)},e.exports={createUriRegex:i.Uri.createUriRegex,uriRegex:i.Uri.uriRegex,isValid:i.Uri.isValid}},164943:function(e,t,r){var n=r(777296);!function(){"use strict";var t="input is invalid type",i="object"==typeof window,o=i?window:{};o.JS_SHA256_NO_WINDOW&&(i=!1);var s=!i&&"object"==typeof self,a=!o.JS_SHA256_NO_NODE_JS&&"object"==typeof n&&n.versions&&n.versions.node;a?o=window:s&&(o=self);var u=!o.JS_SHA256_NO_COMMON_JS&&e.exports,c="function"==typeof define&&define.amd,l=!o.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,h="0123456789abcdef".split(""),d=[-2147483648,8388608,32768,128],f=[24,16,8,0],p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],v=["hex","array","digest","arrayBuffer"],m=[];(o.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),l&&(o.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var _=function(e,t){return function(r){return new w(t,!0).update(r)[e]()}},y=function(e){var t=_("hex",e);a&&(t=g(t,e)),t.create=function(){return new w(e)},t.update=function(e){return t.create().update(e)};for(var r=0;r<v.length;++r){var n=v[r];t[n]=_(n,e)}return t},g=function(e,n){var i,s=r(89855),a=r(687841).Buffer,u=n?"sha224":"sha256";return i=a.from&&!o.JS_SHA256_NO_BUFFER_FROM?a.from:function(e){return new a(e)},function(r){if("string"==typeof r)return s.createHash(u).update(r,"utf8").digest("hex");if(null==r)throw Error(t);r.constructor===ArrayBuffer&&(r=new Uint8Array(r));return Array.isArray(r)||ArrayBuffer.isView(r)||r.constructor===a?s.createHash(u).update(i(r)).digest("hex"):e(r)}},b=function(e,t){return function(r,n){return new O(r,t,!0).update(n)[e]()}},E=function(e){var t=b("hex",e);t.create=function(t){return new O(t,e)},t.update=function(e,r){return t.create(e).update(r)};for(var r=0;r<v.length;++r){var n=v[r];t[n]=b(n,e)}return t};function w(e,t){t?(m[0]=m[16]=m[1]=m[2]=m[3]=m[4]=m[5]=m[6]=m[7]=m[8]=m[9]=m[10]=m[11]=m[12]=m[13]=m[14]=m[15]=0,this.blocks=m):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function O(e,r,n){var i,o=typeof e;if("string"===o){var s,a=[],u=e.length,c=0;for(i=0;i<u;++i)(s=e.charCodeAt(i))<128?a[c++]=s:(s<2048?a[c++]=192|s>>>6:(s<55296||s>=57344?a[c++]=224|s>>>12:(s=65536+((1023&s)<<10|1023&e.charCodeAt(++i)),a[c++]=240|s>>>18,a[c++]=128|s>>>12&63),a[c++]=128|s>>>6&63),a[c++]=128|63&s);e=a}else if("object"===o){if(null===e)throw Error(t);if(l&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!l||!ArrayBuffer.isView(e)))throw Error(t)}else throw Error(t);e.length>64&&(e=new w(r,!0).update(e).array());var h=[],d=[];for(i=0;i<64;++i){var f=e[i]||0;h[i]=92^f,d[i]=54^f}w.call(this,r,n),this.update(d),this.oKeyPad=h,this.inner=!0,this.sharedMemory=n}w.prototype.update=function(e){if(!this.finalized){var r,n=typeof e;if("string"!==n){if("object"===n){if(null===e)throw Error(t);if(l&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!l||!ArrayBuffer.isView(e)))throw Error(t)}else throw Error(t);r=!0}for(var i,o,s=0,a=e.length,u=this.blocks;s<a;){if(this.hashed&&(this.hashed=!1,u[0]=this.block,this.block=u[16]=u[1]=u[2]=u[3]=u[4]=u[5]=u[6]=u[7]=u[8]=u[9]=u[10]=u[11]=u[12]=u[13]=u[14]=u[15]=0),r)for(o=this.start;s<a&&o<64;++s)u[o>>>2]|=e[s]<<f[3&o++];else for(o=this.start;s<a&&o<64;++s)(i=e.charCodeAt(s))<128?u[o>>>2]|=i<<f[3&o++]:(i<2048?u[o>>>2]|=(192|i>>>6)<<f[3&o++]:(i<55296||i>=57344?u[o>>>2]|=(224|i>>>12)<<f[3&o++]:(i=65536+((1023&i)<<10|1023&e.charCodeAt(++s)),u[o>>>2]|=(240|i>>>18)<<f[3&o++],u[o>>>2]|=(128|i>>>12&63)<<f[3&o++]),u[o>>>2]|=(128|i>>>6&63)<<f[3&o++]),u[o>>>2]|=(128|63&i)<<f[3&o++]);this.lastByteIndex=o,this.bytes+=o-this.start,o>=64?(this.block=u[16],this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},w.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>>2]|=d[3&t],this.block=e[16],t>=56&&(!this.hashed&&this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},w.prototype.hash=function(){var e,t,r,n,i,o,s,a,u,c,l,h=this.h0,d=this.h1,f=this.h2,v=this.h3,m=this.h4,_=this.h5,y=this.h6,g=this.h7,b=this.blocks;for(e=16;e<64;++e)t=((i=b[e-15])>>>7|i<<25)^(i>>>18|i<<14)^i>>>3,r=((i=b[e-2])>>>17|i<<15)^(i>>>19|i<<13)^i>>>10,b[e]=b[e-16]+t+b[e-7]+r<<0;for(e=0,l=d&f;e<64;e+=4)this.first?(this.is224?(a=300032,g=(i=b[0]-1413257819)-150054599<<0,v=i+24177077<<0):(a=704751109,g=(i=b[0]-210244248)-1521486534<<0,v=i+143694565<<0),this.first=!1):(t=(h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10),r=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7),n=(a=h&d)^h&f^l,i=g+r+(s=m&_^~m&y)+p[e]+b[e],o=t+n,g=v+i<<0,v=i+o<<0),t=(v>>>2|v<<30)^(v>>>13|v<<19)^(v>>>22|v<<10),r=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7),n=(u=v&h)^v&d^a,i=y+r+(s=g&m^~g&_)+p[e+1]+b[e+1],o=t+n,y=f+i<<0,t=((f=i+o<<0)>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10),r=(y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7),n=(c=f&v)^f&h^u,i=_+r+(s=y&g^~y&m)+p[e+2]+b[e+2],o=t+n,_=d+i<<0,t=((d=i+o<<0)>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),r=(_>>>6|_<<26)^(_>>>11|_<<21)^(_>>>25|_<<7),n=(l=d&f)^d&v^c,i=m+r+(s=_&y^~_&g)+p[e+3]+b[e+3],o=t+n,m=h+i<<0,h=i+o<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+h<<0,this.h1=this.h1+d<<0,this.h2=this.h2+f<<0,this.h3=this.h3+v<<0,this.h4=this.h4+m<<0,this.h5=this.h5+_<<0,this.h6=this.h6+y<<0,this.h7=this.h7+g<<0},w.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,i=this.h4,o=this.h5,s=this.h6,a=this.h7,u=h[e>>>28&15]+h[e>>>24&15]+h[e>>>20&15]+h[e>>>16&15]+h[e>>>12&15]+h[e>>>8&15]+h[e>>>4&15]+h[15&e]+h[t>>>28&15]+h[t>>>24&15]+h[t>>>20&15]+h[t>>>16&15]+h[t>>>12&15]+h[t>>>8&15]+h[t>>>4&15]+h[15&t]+h[r>>>28&15]+h[r>>>24&15]+h[r>>>20&15]+h[r>>>16&15]+h[r>>>12&15]+h[r>>>8&15]+h[r>>>4&15]+h[15&r]+h[n>>>28&15]+h[n>>>24&15]+h[n>>>20&15]+h[n>>>16&15]+h[n>>>12&15]+h[n>>>8&15]+h[n>>>4&15]+h[15&n]+h[i>>>28&15]+h[i>>>24&15]+h[i>>>20&15]+h[i>>>16&15]+h[i>>>12&15]+h[i>>>8&15]+h[i>>>4&15]+h[15&i]+h[o>>>28&15]+h[o>>>24&15]+h[o>>>20&15]+h[o>>>16&15]+h[o>>>12&15]+h[o>>>8&15]+h[o>>>4&15]+h[15&o]+h[s>>>28&15]+h[s>>>24&15]+h[s>>>20&15]+h[s>>>16&15]+h[s>>>12&15]+h[s>>>8&15]+h[s>>>4&15]+h[15&s];return!this.is224&&(u+=h[a>>>28&15]+h[a>>>24&15]+h[a>>>20&15]+h[a>>>16&15]+h[a>>>12&15]+h[a>>>8&15]+h[a>>>4&15]+h[15&a]),u},w.prototype.toString=w.prototype.hex,w.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,i=this.h4,o=this.h5,s=this.h6,a=this.h7,u=[e>>>24&255,e>>>16&255,e>>>8&255,255&e,t>>>24&255,t>>>16&255,t>>>8&255,255&t,r>>>24&255,r>>>16&255,r>>>8&255,255&r,n>>>24&255,n>>>16&255,n>>>8&255,255&n,i>>>24&255,i>>>16&255,i>>>8&255,255&i,o>>>24&255,o>>>16&255,o>>>8&255,255&o,s>>>24&255,s>>>16&255,s>>>8&255,255&s];return!this.is224&&u.push(a>>>24&255,a>>>16&255,a>>>8&255,255&a),u},w.prototype.array=w.prototype.digest,w.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),!this.is224&&t.setUint32(28,this.h7),e},O.prototype=new w,O.prototype.finalize=function(){if(w.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();w.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),w.prototype.finalize.call(this)}};var S=y();S.sha256=S,S.sha224=y(!0),S.sha256.hmac=E(),S.sha224.hmac=E(!0),u?e.exports=S:(o.sha256=S.sha256,o.sha224=S.sha224,c&&define(function(){return S}))}()},630272:function(e){"use strict";var t={rfc3986:{}};t.generate=function(){var e="[0-9]",r="a-zA-Z";t.rfc3986.cidr=e+"|[1-2]"+e+"|3[0-2]";var n="0-9A-Fa-f",i="["+n+"]",o=r+"0-9-\\._~",s="!\\$&'\\(\\)\\*\\+,;=",a="%"+n,u=o+a+s+":@",c="["+u+"]",l="(?:0?0?"+e+"|0?[1-9]"+e+"|1"+e+e+"|2[0-4]"+e+"|25[0-5])";t.rfc3986.IPv4address="(?:"+l+"\\.){3}"+l;var h=i+"{1,4}",d="(?:"+h+":"+h+"|"+t.rfc3986.IPv4address+")";t.rfc3986.IPv6address="(?:"+("(?:"+h+":){6}")+d+"|"+("::(?:"+h+":){5}")+d+"|"+("(?:"+h+")?::(?:"+h+":){4}")+d+"|"+("(?:(?:"+h+":){0,1}"+h+")?::(?:"+h+":){3}")+d+"|"+("(?:(?:"+h+":){0,2}"+h+")?::(?:"+h+":){2}")+d+"|"+("(?:(?:"+h+":){0,3}"+h+")?::"+h+":")+d+"|"+("(?:(?:"+h+":){0,4}"+h+")?::")+d+"|"+("(?:(?:"+h+":){0,5}"+h+")?::")+h+"|"+("(?:(?:"+h+":){0,6}"+h)+")?::)",t.rfc3986.IPvFuture="v"+i+"+\\.["+o+s+":]+",t.rfc3986.scheme="["+r+"]["+r+"0-9+-\\.]*";t.rfc3986.IPLiteral="\\[(?:"+t.rfc3986.IPv6address+"|"+t.rfc3986.IPvFuture+")\\]";var f="(?:"+t.rfc3986.IPLiteral+"|"+t.rfc3986.IPv4address+"|"+("["+o+a+s)+"]{0,255})",p=c+"+",v="(?:\\/"+c+"*)*";t.rfc3986.hierPart="(?:(?:\\/\\/"+("(?:"+("["+o+a+s)+":]*@)?"+f+"(?::"+e+"*")+")?"+v+")|"+("\\/(?:"+p+v)+")?|"+(p+v)+")",t.rfc3986.query="["+u+"\\/\\?]*(?=#|$)",t.rfc3986.fragment="["+u+"\\/\\?]*",t.rfc3986.uri="^(?:"+t.rfc3986.scheme+":"+t.rfc3986.hierPart+")(?:\\?"+t.rfc3986.query+")?(?:#"+t.rfc3986.fragment+")?$"},t.generate(),e.exports=t.rfc3986},852011:function(e,t,r){"use strict";r.r(t),r.d(t,{AppInterfaceSdk:function(){return E},AuthInterfaceSdk:function(){return O},SsoInterfaceSdk:function(){return w},WebInterfaceSdk:function(){return b},clearVerifyPortraitId:function(){return v.Cy},encrypt:function(){return o.encrypt},encryptParams:function(){return o.encryptParams},generateVerifyPortraitId:function(){return v.iO},getChTime:function(){return f.P},loadScript:function(){return o.loadScript}});var n=r(629686),i=r(402748);r(706056),r(374954);var o=r(469109),s=r(940586),a=r(794298),u=r(252823),c=r(608115),l=r(381330),h=r(1315),d=r(948573),f=r(861234),p=r(744651),v=r(252969),m=r(212418),_=r(60238),y={};for(var g in _)0>["default","encryptParams","SsoInterfaceSdk","encrypt","AppInterfaceSdk","WebInterfaceSdk","clearVerifyPortraitId","getChTime","loadScript","AuthInterfaceSdk","generateVerifyPortraitId"].indexOf(g)&&(y[g]=(function(e){return _[e]}).bind(0,g));r.d(t,y);class b extends s.Z{constructor(e){let t=!![2906,10006,6383].includes(e.aid),{ztsdk:r=!1,hcSwitch:o=t,ttwid:s=!0}=e,a=[];o&&a.push(f.Z),a.push(d.Z),r&&a.push(l.Z),a.push(h.Z),a.push(p.Z),a.push(v.ZP),s&&a.push(m.Z),super((0,i._)((0,n._)({browserInfo:{useBitReport:!0}},e),{plugins:a}))}}class E extends a.Z{constructor(e){let{ztsdk:t=!1}=e,r=[];r.push(d.Z),t&&r.push(l.Z),super((0,i._)((0,n._)({},e),{plugins:r}))}}class w extends u.Z{constructor(e){let{ztsdk:t=!1,hcSwitch:r=!1,ttwid:o=!0}=e,s=[];s.push(d.Z),t&&s.push(l.Z),s.push(h.Z),s.push(p.Z),o&&s.push(m.Z),super((0,i._)((0,n._)({},e),{plugins:s}))}}class O extends c.Z{constructor(e){let{ztsdk:t=!1}=e,r=[];r.push(d.Z),t&&r.push(l.Z),r.push(h.Z),super((0,i._)((0,n._)({},e),{plugins:r}))}}},744651:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(629686),i=r(402748);r(679308),r(706056);var o=r(129182),s=r(695385);let a=[6];class u extends o.Z{init(){this.request.interceptors.response.use(e=>e,async e=>this.processPluginWithLog(this.processPlugin)(e))}async processPlugin(e){let{originConfig:t={},is_network_error:r=!1}=e,{enableAutoRetry:o=!1}=this.initProps;try{var u,c;let r=(0,s.x5)(null==t?void 0:t.data),n="true"==`${null==t?void 0:null==(u=t.params)?void 0:u.enable_sdk_auto_retry}`,i="true"==`${null==r?void 0:r.enable_sdk_auto_retry}`,a=null==t?void 0:null==(c=t.params)?void 0:c.auto_retry_req;if(!(o||n||i)||a)return Promise.reject(e)}catch(e){}let l=null==e?void 0:e.error_code;return a.includes(l)||r?this.request((0,i._)((0,n._)({},t),{params:(0,i._)((0,n._)({},t.params||{}),{auto_retry_req:1})})):Promise.reject(e)}constructor(e){super(e),this.processPlugin=this.processPlugin.bind(this),this.init=this.init.bind(this)}}let c=u},861234:function(e,t,r){"use strict";r.d(t,{P:function(){return n.getTimeMonitor},Z:function(){return o}});var n=r(809315),i=r.n(n);let o=(null==i()?void 0:i().default)||i()},948573:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r("629686");r("683656"),r("759943"),r("679308");var i=r("129182"),o=r("222716"),s=r("164943");let a="3.1.3";var u=r("645302");class c extends i.Z{init(){this.request.interceptors.request.use(async e=>{var t,r,i;let c=window,l=e.params.p_ca||"0",h={passport_jssdk_version:a||"0",p_js_v:a||"0",p_js_t:"pro",p_zt:(null==c?void 0:c.$SECURE_VERSION)||"0",p_ver:o.default||"0",p_ver_real:(null==c?void 0:null==(t=c.$$secondVerificationVersion)?void 0:t.replace("-web",""))||"0",request_host:encodeURIComponent(null==(r=location)?void 0:r.origin),p_bd:(null==c?void 0:null==(i=c._sdkGlueVersionMap)?void 0:i.bdmsVersion)||"0",p_ts:Date.now(),p_no:""},{passport_jssdk_version:d,p_bd:f,p_ts:p,p_ver:v,p_zt:m}=h;try{let e=(0,u.G6)({passport_jssdk_version:d,p_bd:f,p_ca:l,p_ts:p,p_ver:v,p_zt:m});h.p_no=(0,s.sha256)(e)}catch(e){}return e.params=(0,n._)({},e.params||{},h||{}),Promise.resolve(e)})}constructor(e){super(e),this.init=this.init.bind(this)}}let l=c},212418:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(629686);r(683656),r(759943),r(76375);var i=r(129182),o=r(183652),s=r.n(o),a=r(645302);let u={timeout:1e4,withCredentials:!0,headers:{}};class c extends i.Z{init(){let{aid:e,ttwidOptions:t,host:r=""}=this.initProps;if(!e)return;let{service:i=location.hostname,union:o=!1,unionHost:c="https://ttwid.bytedance.com",cbUrlProtocol:l=""}=t||{},h=(0,n._)({aid:e,service:location.hostname},t||{}),d=async(e,t)=>{try{let{data:r=null}=await (0,a.$D)(()=>s().post(`${c}/ttwid/union/register/`,(0,n._)({},h,e),u));if(r&&r.redirect_url)try{let e=r.redirect_url;l&&e&&(e=e.replace(/^https?/,l));let n=await s().get(e,u);if(t)return t(null,n.data||{});return n.data||{}}catch(e){if(t)return t(e,r||{});return r}if(t)return t(Error("ttwid union register error"));throw Error("ttwid union register error")}catch(e){if(t)return t(e);throw e}},f=async e=>{try{return(await (0,a.$D)(()=>s().post(`${r||(null==t?void 0:t.host)||""}/ttwid/register/`,(0,n._)({},h,e),u))).data}catch(e){throw e}};(async()=>{try{let n=await (0,a.$D)(()=>s().post(`${r||(null==t?void 0:t.host)||""}/ttwid/check/`,{aid:e,service:i},u)),{data:c=null}=n,l=c||n;if(c&&c.status_code>1001)try{l=o?await d({}):await f({})}catch(e){return c||n}return l}catch(e){throw e}})()}constructor(e){super(e),this.init=this.init.bind(this)}}let l=c},1315:function(e,t,r){"use strict";let n;r.d(t,{Z:function(){return p}});var i=r("629686"),o=r("402748");r("679308");var s=r("129182"),a=r("695385"),u=r("811603");r("76375");let c=null,l=null,h=async()=>c?c:(!l&&(l=r.e("99309").then(r.bind(r,125446)).then(e=>e.default||e).catch(e=>{throw Error("Failed to load second verification module")})),c=await l),d={init:async e=>{let{request:t}=e,r=(0,u._)(e,["request"]);n=t,(await h()).init(r)},verify:async(e,t)=>{let{requestConfig:r,verifyDecision:s}=e,{biz_params:u={}}=s,{data:c="",params:l={}}=r,d=await h(),f=await d.verify(s,t);if(null==f?void 0:f.status){let e=(0,a.N4)(c,u);return null==n?void 0:n((0,o._)((0,i._)({},r),{params:(0,o._)((0,i._)({},l),{isResend:!0}),data:e}))}throw s}};class f extends s.Z{init(){this.request.interceptors.response.use(e=>e,async e=>this.processPluginWithLog(this.processPlugin)(e))}async processPlugin(e){var t,r,n,s,u,c,l,h;let{originConfig:f={}}=e;try{let t=(0,a.x5)(null==f?void 0:f.data);if((null==f?void 0:null==(u=f.params)?void 0:u.skip_sdk_error_handler)||(null==t?void 0:t.skip_sdk_error_handler)==="true")return Promise.reject(e)}catch(e){}let p=null==e?void 0:e.error_code,v=null==e?void 0:e.url;if(2046===p&&"function"==typeof(null==(r=this.initProps)?void 0:null==(t=r.secondVerifyWebOptions)?void 0:t.onValid))return null==(c=this.initProps.secondVerifyWebOptions)||c.onValid(e),Promise.reject({description:"SECOND_VALID"});let m=null==e?void 0:null==(s=e.originConfig)?void 0:null==(n=s.headers)?void 0:n["x-tt-passport-verify-portrait"];if(2046===p&&v){!this.hasInit&&(d.init((0,o._)((0,i._)({},this.initProps),{request:this.request})),this.hasInit=!0);let t=null==(h=this.initProps)?void 0:null==(l=h.verificationOptions)?void 0:l.customComponent;return d.verify({requestConfig:f,verifyDecision:(0,o._)((0,i._)({},e||{}),{verify_portrait_id:m})},t)}return Promise.reject(e)}constructor(e){super(e),this.processPlugin=this.processPlugin.bind(this),this.init=this.init.bind(this)}}let p=f},381330:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(629686),i=r(402748),o=r(811603);r(679308),r(76375),r(490629);var s=r(129182),a=r(695385);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let c=!1,l=null,h=null,d=async()=>{var e;return l?l:(null==(e=window)?void 0:e.secureSdk)?l=window.secureSdk:(!h&&(h=Promise.all([r.e("19511"),r.e("88481")]).then(r.bind(r,763218)).then(e=>e.SecureSDK).catch(e=>{throw Error("Failed to load SecureSDK module")})),l=await h)};class f extends s.Z{async init(){if(this.hasInit||c)return;let{aid:e,ztsdkOptions:t={},ssoZtsdkOptions:r={},dtrait:s=!0}=this.initProps,{agid:u=1,initCallback:l,enableHeaderOptions:h=!0,enableCookieOptions:f=!0}=t,p=(0,o._)(t,["agid","initCallback","enableHeaderOptions","enableCookieOptions"]),{enable:v=!0}=r,m=(0,o._)(r,["enable"]),{consumerPathList:_=[],providerPathList:y=[],onlyProviderPathList:g=[],urlRewriteRules:b=[],disableCrossStorage:E=!1}=p,w=(0,o._)(p,["consumerPathList","providerPathList","onlyProviderPathList","urlRewriteRules","disableCrossStorage"]),{consumerPathList:O=[],providerPathList:S=[],urlRewriteRules:P=[]}=m,C=(0,o._)(m,["consumerPathList","providerPathList","urlRewriteRules"]);try{let r=await d();f&&r.setConfig((0,n._)((0,i._)((0,n._)({aid:e,certType:"cookie"},this.defaultConfig),{consumerPathList:[..._||[],...this.defaultWebConsumerPathList]}),t)),h&&r.setConfig((0,n._)({aid:e,certType:"header",scene:"web_protect",namespace:"web",signVersion:2,providerPathList:["/passport/web/sms_login/","/passport/web/sms_login_only/","/passport/web/email/login/","/passport/web/email/code_login/","/passport/web/email/quick_login/","/passport/web/web_login/","/passport/web/check_qrconnect/","/passport/web/user/login/",...y||[]],onlyProviderPathList:["/passport/web/one_login/",...g||[]],consumerPathList:[..._||[],...this.defaultWebConsumerPathList],urlRewriteRules:[...b||[]]},w)),v&&r.setConfig((0,n._)({aid:e,certType:"header",scene:"sso",namespace:"sso",consumerPathList:["sso.douyin.com/check_login/",...O||[]],providerPathList:["sso.douyin.com/quick_login/v2/","sso.douyin.com/check_qrconnect/","sso.douyin.com/account_login/v2/","sso.douyin.com/one_login/","sso.douyin.com/quick_login_only/",...S||[]],urlRewriteRules:[["sso.douyin.com/check_login/","/passport/sso/check_login/"],...P||[]],signVersion:2},C)),E&&r.setDisableCrossStorage(!0),r.setAgidAndHost(u);let o=(0,a.ej)("passport_csrf_token")||(0,a.ej)("passport_csrf_token_default")||"";r.setWebId(o),r.start(),s&&r.startDTrait({aid:e,webId:o}),c=!0,null==l||l(),this.hasInit=!0}catch(e){throw e}}constructor(...e){super(...e),u(this,"defaultConfig",{scene:"web_protect",signVersion:2}),u(this,"defaultWebConsumerPathList",["/passport/token/beat/web","/passport/account/info/v2"])}}let p=f},60238:function(){}}]);