gth,ct=ot+8,Ot=(ct-ct%64)/64,It=16*(Ot+1),Ct=new Array(It-1),gn=0,Nt=0;ot>Nt;)$e=(Nt-Nt%4)/4,gn=Nt%4*8,Ct[$e]=Ct[$e]|qe.charCodeAt(Nt)<>>29,Ct}function pt(qe){var $e,ot,ct="",Ot="";for(ot=0;3>=ot;ot++)$e=qe>>>8*ot&255,Ot="0"+$e.toString(16),ct+=Ot.substr(Ot.length-2,2);return ct}function yt(qe){qe=qe.replace(/\r\n/g,` `);for(var $e="",ot=0;otct?$e+=String.fromCharCode(ct):ct>127&&2048>ct?($e+=String.fromCharCode(ct>>6|192),$e+=String.fromCharCode(63&ct|128)):($e+=String.fromCharCode(ct>>12|224),$e+=String.fromCharCode(ct>>6&63|128),$e+=String.fromCharCode(63&ct|128))}return $e}var De,ht,_t,Lt,xt,Ie,_e,Ae,Oe,Ve=[],mn=7,Sn=12,Je=17,$t=22,h=5,b=9,B=14,K=20,ie=4,Q=11,ue=16,de=23,be=6,Ke=10,it=15,Xe=21;for(W=yt(W),Ve=tt(W),Ie=1732584193,_e=4023233417,Ae=2562383102,Oe=271733878,De=0;DeM;M++){var ae=Number(z[M]),he=Number(q[M]);if(ae>he)return 1;if(he>ae)return-1;if(!isNaN(ae)&&isNaN(he))return 1;if(isNaN(ae)&&!isNaN(he))return-1}return 0}function w(){var W=u.location.hostname;if(!W){var V=u.parent.location.hostname;V&&~V.indexOf("zebra.alibaba-inc.com")&&(W=V)}var z=["taobao.net","taobao.com","tmall.com","tmall.hk","alibaba-inc.com"],q=new RegExp("([^.]*?)\\.?((?:"+z.join(")|(?:").replace(/\./g,"\\.")+"))","i"),C=W.match(q)||[],M=C[2]||"taobao.com",ae=C[1]||"m";M!=="taobao.net"||ae!=="x"&&ae!=="waptest"&&ae!=="daily"?M==="taobao.net"&&ae==="demo"?ae="demo":M==="alibaba-inc.com"&&ae==="zebra"?ae="zebra":ae!=="waptest"&&ae!=="wapa"&&ae!=="m"&&(ae="m"):ae="waptest";var he="h5api";M==="taobao.net"&&ae==="waptest"&&(he="acs"),L.mainDomain=M,L.subDomain=ae,L.prefix=he}function k(){var W=u.navigator.userAgent,V=W.match(/WindVane[\/\s]([\d\.\_]+)/);V&&(L.WindVaneVersion=V[1]);var z=W.match(/AliApp\(([^\/]+)\/([\d\.\_]+)\)/i);z&&(L.AliAppName=z[1],L.AliAppVersion=z[2]);var q=W.match(/AMapClient\/([\d\.\_]+)/i);q&&(L.AliAppName="AMAP",L.AliAppVersion=q[1])}function U(W){this.id=""+new Date().getTime()+ ++X,this.params=x(W||{},{v:"*",data:{},type:"get",dataType:"jsonp"}),this.params.type=this.params.type.toLowerCase(),typeof this.params.data=="object"&&(this.params.data=JSON.stringify(this.params.data)),this.middlewares=ye.slice(0)}var G=u.Promise,Y=(G||{resolve:function(){}}).resolve(),ee={},ve={DOWNGRADE_BY_WINDVANE:"DOWNGRADE_BY_WINDVANE",DOWNGRADE_BY_IFRAME:"DOWNGRADE_BY_IFRAME"};String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var L={useJsonpResultType:!1,safariGoLogin:!0,useAlipayJSBridge:!1},ye=[],Ee={ERROR:-1,SUCCESS:0,TOKEN_EXPIRED:1,SESSION_EXPIRED:2};w(),k();var Te=/[Android|Adr]/.test(u.navigator.userAgent),ce=L.AliAppName==="AP",P=ce&&d(L.AliAppVersion,"10.1.2")>=0||L.AliAppName==="KB"&&d(L.AliAppVersion,"7.1.62")>=0||Te&&L.AliAppName==="AMAP"&&d(L.AliAppVersion,"1.0.1")>=0,X=0,Ce="2.7.5";U.prototype.use=function(W){if(!W)throw new Error("middleware is undefined");return this.middlewares.push(W),this},U.prototype.__processRequestMethod=function(W){var V=this.params,z=this.options;V.type==="get"&&V.dataType==="jsonp"?z.getJSONP=!0:V.type==="get"&&V.dataType==="originaljsonp"?z.getOriginalJSONP=!0:V.type==="get"&&V.dataType==="json"?z.getJSON=!0:V.type==="post"&&(z.postJSON=!0),W()},U.prototype.__processRequestType=function(W){var V=this,z=this.params,q=this.options;if(L.H5Request===!0&&(q.H5Request=!0),L.WindVaneRequest===!0&&(q.WindVaneRequest=!0),q.H5Request===!1&&q.WindVaneRequest===!0){if(!P&&(!y.windvane||parseFloat(q.WindVaneVersion)<5.4))throw new Error("WINDVANE_NOT_FOUND::\u7F3A\u5C11WindVane\u73AF\u5883");if(P&&!u.AlipayJSBridge)throw new Error("ALIPAY_NOT_READY::\u652F\u4ED8\u5B9D\u901A\u9053\u672A\u51C6\u5907\u597D\uFF0C\u652F\u4ED8\u5B9D\u8BF7\u89C1 https://lark.alipay.com/mtbsdkdocs/mtopjssdkdocs/pucq6z")}else if(q.H5Request===!0)q.WindVaneRequest=!1;else if(typeof q.WindVaneRequest>"u"&&typeof q.H5Request>"u"){if(y.windvane&&parseFloat(q.WindVaneVersion)>=5.4?q.WindVaneRequest=!0:(E(ve.DOWNGRADE_BY_WINDVANE,"[@ali/lib-mtop] The current page does not have the lib.windvane variable, automatically downgraded to H5 request"),q.H5Request=!0),P){if(q.WindVaneRequest=q.H5Request=void 0,u.AlipayJSBridge)if(I(z.data))q.WindVaneRequest=!0;else try{I(JSON.parse(z.data))?q.WindVaneRequest=!0:q.H5Request=!0}catch{q.H5Request=!0}else q.H5Request=!0;L.AliAppName!=="AMAP"||z.useNebulaJSbridgeWithAMAP||(q.WindVaneRequest=q.H5Request=void 0,q.H5Request=!0)}window.self!==window.top&&(E(ve.DOWNGRADE_BY_IFRAME,"[@ali/lib-mtop] The current page is embedded in an iframe, cannot use WindVane request, automatically downgraded to H5 request"),q.H5Request=!0)}var C=u.navigator.userAgent.toLowerCase();return C.indexOf("youku")>-1&&q.mainDomain.indexOf("youku.com")<0&&(q.WindVaneRequest=!1,q.H5Request=!0),q.mainDomain.indexOf("youku.com")>-1&&C.indexOf("youku")<0&&(q.WindVaneRequest=!1,q.H5Request=!0),W?W().then(function(){var M=q.retJson.ret;if(M instanceof Array&&(M=M.join(",")),q.WindVaneRequest===!0&&P&&q.retJson.error||!M||M.indexOf("PARAM_PARSE_ERROR")>-1||M.indexOf("HY_FAILED")>-1||M.indexOf("HY_NO_HANDLER")>-1||M.indexOf("HY_CLOSED")>-1||M.indexOf("HY_EXCEPTION")>-1||M.indexOf("HY_NO_PERMISSION")>-1){if(!P||!isNaN(q.retJson.error)||q.retJson.error.indexOf("FAIL_SYS_ACCESS_DENIED")!==-1)return P&&I(z.data)&&(z.data=JSON.stringify(z.data)),L.H5Request=!0,V.__sequence([V.__processRequestType,V.__processToken,V.__processRequestUrl,V.middlewares,V.__processRequest]);typeof q.retJson.api>"u"&&typeof q.retJson.v>"u"&&(q.retJson.api=z.api,q.retJson.v=z.v,q.retJson.ret=[q.retJson.error+"::"+q.retJson.errorMessage],q.retJson.data={})}}):void 0};var J="_m_h5_c",Pe="_m_h5_tk",le="_m_h5_tk_enc";U.prototype.__getTokenFromAlipay=function(){var W=A(),V=this.options,z=(u.navigator.userAgent,!!location.protocol.match(/^https?\:$/));return V.useAlipayJSBridge===!0&&!z&&P&&u.AlipayJSBridge&&u.AlipayJSBridge.call?u.AlipayJSBridge.call("getMtopToken",function(q){q&&q.token&&(V.token=q.token),W.resolve()},function(){W.resolve()}):W.resolve(),W.promise},U.prototype.__getTokenFromCookie=function(){var W=this.options;return W.CDR&&g(J)?W.token=g(J).split(";")[0]:W.token=W.token||g(Pe),W.token&&(W.token=W.token.split("_")[0]),G.resolve()},U.prototype.__waitWKWebViewCookie=function(W){var V=this.options;V.waitWKWebViewCookieFn&&V.H5Request&&u.webkit&&u.webkit.messageHandlers?V.waitWKWebViewCookieFn(W):W()},U.prototype.__processToken=function(W){var V=this,z=this.options;return this.params,z.token&&delete z.token,z.WindVaneRequest!==!0?Y.then(function(){return V.__getTokenFromAlipay()}).then(function(){return V.__getTokenFromCookie()}).then(W).then(function(){var q=z.retJson,C=q.ret;if(C instanceof Array&&(C=C.join(",")),C.indexOf("TOKEN_EMPTY")>-1||(z.CDR===!0||z.syncCookieMode===!0)&&C.indexOf("ILLEGAL_ACCESS")>-1||C.indexOf("TOKEN_EXOIRED")>-1){if(z.maxRetryTimes=z.maxRetryTimes||5,z.failTimes=z.failTimes||0,z.H5Request&&++z.failTimes0&&(m(J,z.pageDomain,"*"),m(Pe,z.mainDomain,z.subDomain),m(le,z.mainDomain,z.subDomain)),q.retType=Ee.TOKEN_EXPIRED}}):void W()},U.prototype.__processRequestUrl=function(W){var V=this.params,z=this.options;if(z.hostSetting&&z.hostSetting[u.location.hostname]){var q=z.hostSetting[u.location.hostname];q.prefix&&(z.prefix=q.prefix),q.subDomain&&(z.subDomain=q.subDomain),q.mainDomain&&(z.mainDomain=q.mainDomain)}if(z.H5Request===!0){var C="//"+(z.prefix?z.prefix+".":"")+(z.subDomain?z.subDomain+".":"")+z.mainDomain+"/h5/"+V.api.toLowerCase()+"/"+V.v.toLowerCase()+"/",M=V.appKey||(z.subDomain==="waptest"?"4272":"12574478"),ae=new Date().getTime(),he=f(z.token+"&"+ae+"&"+M+"&"+V.data),fe={jsv:Ce,appKey:M,t:ae,sign:he};z.bxOption&&Object.keys(z.bxOption).forEach(function(Le){fe["_"+Le]=z.bxOption[Le]});var ge={data:V.data,ua:V.ua};Object.keys(V).forEach(function(Le){typeof fe[Le]>"u"&&typeof ge[Le]>"u"&&Le!=="headers"&&Le!=="ext_headers"&&Le!=="ext_querys"&&(fe[Le]=V[Le])}),V.ext_querys&&Object.keys(V.ext_querys).forEach(function(Le){fe[Le]=V.ext_querys[Le]}),z.getJSONP?fe.type="jsonp":z.getOriginalJSONP?fe.type="originaljsonp":(z.getJSON||z.postJSON)&&(fe.type="originaljson"),typeof V.valueType<"u"&&(V.valueType==="original"?z.getJSONP||z.getOriginalJSONP?fe.type="originaljsonp":(z.getJSON||z.postJSON)&&(fe.type="originaljson"):V.valueType==="string"&&(z.getJSONP||z.getOriginalJSONP?fe.type="jsonp":(z.getJSON||z.postJSON)&&(fe.type="json"))),z.useJsonpResultType===!0&&fe.type==="originaljson"&&delete fe.type,z.dangerouslySetProtocol&&(C=z.dangerouslySetProtocol+":"+C),V.SV==="5.0"&&(C+="5.0/",S()),z.querystring=fe,z.postdata=ge,z.path=C}W()},U.prototype.__processUnitPrefix=function(W){W()};var Be=0;U.prototype.__requestJSONP=function(W){function V(Le){if(he&&clearTimeout(he),fe.parentNode&&fe.parentNode.removeChild(fe),Le==="TIMEOUT")window[ae]=function(){window[ae]=void 0;try{delete window[ae]}catch{}};else{window[ae]=void 0;try{delete window[ae]}catch{}}}var z=A(),q=this.params,C=this.options,M=q.timeout||2e4,ae="mtopjsonp"+(q.jsonpIncPrefix||"")+ ++Be,he=setTimeout(function(){W(C.timeoutErrMsg||"TIMEOUT::\u63A5\u53E3\u8D85\u65F6"),V("TIMEOUT")},M);C.querystring.callback=ae;var fe=document.createElement("script"),ge=C.path+"?"+O(C.querystring)+"&"+O(C.postdata);return q.SV==="5.0"&&window.etSign&&(ge+="&bx_et="+window.etSign(ge)),fe.src=ge,fe.async=!0,fe.onerror=function(){V("ABORT"),W(C.abortErrMsg||"ABORT::\u63A5\u53E3\u5F02\u5E38\u9000\u51FA")},window[ae]=function(){C.results=Array.prototype.slice.call(arguments),V(),z.resolve()},D(fe),z.promise},U.prototype.__requestJSON=function(W){function V(yt){he&&clearTimeout(he),yt==="TIMEOUT"&&M.abort()}var z=A(),q=this.params,C=this.options,M=new u.XMLHttpRequest,ae=q.timeout||2e4,he=setTimeout(function(){W(C.timeoutErrMsg||"TIMEOUT::\u63A5\u53E3\u8D85\u65F6"),V("TIMEOUT")},ae);C.CDR&&g(J)&&(C.querystring.c=decodeURIComponent(g(J))),M.onreadystatechange=function(){if(M.readyState==4){var yt,De,ht=M.status;if(ht>=200&&300>ht||ht==304){V(),yt=M.responseText,De=M.getAllResponseHeaders()||"";try{yt=/^\s*$/.test(yt)?{}:JSON.parse(yt),yt.responseHeaders=De,C.results=[yt],z.resolve()}catch{W("PARSE_JSON_ERROR::\u89E3\u6790JSON\u5931\u8D25")}}else V("ABORT"),W(C.abortErrMsg||"ABORT::\u63A5\u53E3\u5F02\u5E38\u9000\u51FA")}};var fe,ge,Le=C.path+"?"+O(C.querystring);C.getJSON?(fe="GET",Le+="&"+O(C.postdata)):C.postJSON&&(fe="POST",ge=O(C.postdata)),q.SV==="5.0"&&window.etSign&&(Le+="&bx_et="+window.etSign(Le)),M.open(fe,Le,!0),M.withCredentials=!0,M.setRequestHeader("Accept","application/json"),M.setRequestHeader("Content-type","application/x-www-form-urlencoded");var tt=q.ext_headers||q.headers;if(tt)for(var pt in tt)M.setRequestHeader(pt,tt[pt]);return M.send(ge),z.promise},U.prototype.__requestWindVane=function(W){function V(Ae){if(C.results=[Ae],Ae&&Ae.stat&&Ae.stat.falcoId){var Oe=function(){},Ve={mtopStart:xt,mtopEnd:Date.now(),falcoId:Ae.stat.falcoId};y.windvane.call(_e,"falcoExtend",Ve,Oe,Oe)}z.resolve()}var z=A(),q=this.params,C=this.options,M=q.data,ae=q.api,he=q.v,fe=C.postJSON?1:0,ge=C.getJSON||C.postJSON||C.getOriginalJSONP?"originaljson":"";typeof q.valueType<"u"&&(q.valueType==="original"?ge="originaljson":q.valueType==="string"&&(ge="")),C.useJsonpResultType===!0&&(ge="");var Le,tt,pt=location.protocol==="https"?1:0,yt=q.isSec||0,De=q.sessionOption||"AutoLoginOnly",ht=q.ecode||0,_t=q.ext_headers||{},Lt=q.ext_querys||{};tt=typeof q.timer<"u"?parseInt(q.timer):typeof q.timeout<"u"?parseInt(q.timeout):2e4,Le=2*tt;var xt=Date.now();q.needLogin===!0&&typeof q.sessionOption>"u"&&(De="AutoLoginAndManualLogin"),typeof q.secType<"u"&&typeof q.isSec>"u"&&(yt=q.secType);var Ie={api:ae,v:he,post:String(fe),type:ge,isHttps:String(pt),ecode:String(ht),isSec:String(yt),param:JSON.parse(M),timer:tt,needLogin:!!q.needLogin,sessionOption:De,ext_headers:_t,ext_querys:Lt};q.ttid&&C.dangerouslySetWVTtid===!0&&(Ie.ttid=q.ttid),Object.assign&&q.dangerouslySetWindvaneParams&&Object.assign(Ie,q.dangerouslySetWindvaneParams);var _e="MtopWVPlugin";return typeof q.customWindVaneClassName=="string"&&(_e=q.customWindVaneClassName),y.windvane.call(_e,"send",Ie,V,V,Le),z.promise},U.prototype.__requestAlipay=function(W){function V(he){C.results=[he],z.resolve()}var z=A(),q=this.params,C=this.options,M={apiName:q.api,apiVersion:q.v,needEcodeSign:String(q.ecode)==="1",headers:q.ext_headers||{},usePost:!!C.postJSON};I(q.data)||(q.data=JSON.parse(q.data)),M.data=q.data,q.ttid&&C.dangerouslySetWVTtid===!0&&(M.ttid=q.ttid),(C.getJSON||C.postJSON||C.getOriginalJSONP)&&(M.type="originaljson"),typeof q.valueType<"u"&&(q.valueType==="original"?M.type="originaljson":q.valueType==="string"&&delete M.type),C.useJsonpResultType===!0&&delete M.type,Object.assign&&q.dangerouslySetAlipayParams&&Object.assign(M,q.dangerouslySetAlipayParams);var ae="mtop";return typeof q.customAlipayJSBridgeApi=="string"&&(ae=q.customAlipayJSBridgeApi),u.AlipayJSBridge.call(ae,M,V),z.promise},U.prototype.__processRequest=function(W,V){var z=this;return Y.then(function(){var q=z.options;if(q.H5Request&&(q.getJSONP||q.getOriginalJSONP))return z.__requestJSONP(V);if(q.H5Request&&(q.getJSON||q.postJSON))return z.__requestJSON(V);if(q.WindVaneRequest)return P?z.__requestAlipay(V):z.__requestWindVane(V);throw new Error("UNEXCEPT_REQUEST::\u9519\u8BEF\u7684\u8BF7\u6C42\u7C7B\u578B")}).then(W).then(function(){var q=z.options,C=(z.params,q.results[0]),M=C&&C.ret||[];C.ret=M,M instanceof Array&&(M=M.join(","));var ae=C.c;q.CDR&&ae&&p(J,ae,{domain:q.pageDomain,path:"/",secure:q.secure,sameSite:q.sameSite}),M.indexOf("SUCCESS")>-1?C.retType=Ee.SUCCESS:C.retType=Ee.ERROR,q.retJson=C})},U.prototype.__sequence=function(W){function V(he){if(he instanceof Array)he.forEach(V);else{var fe,ge=A(),Le=A();q.push(function(){return ge=A(),fe=he.call(z,function(tt){return ge.resolve(tt),Le.promise},function(tt){return ge.reject(tt),Le.promise}),fe&&(fe=fe.catch(function(tt){ge.reject(tt)})),ge.promise}),C.push(function(tt){return Le.resolve(tt),fe})}}var z=this,q=[],C=[];W.forEach(V);for(var M,ae=Y;M=q.shift();)ae=ae.then(M);for(;M=C.pop();)ae=ae.then(M);return ae};var Qe=function(W){if(!L.EtRequest)return void W();if(window.etSign)return window.__etReady=!0,void W();if(window.__etReady)W();else{S();var V,z,q=Number(L.EtLoadTimeout)||5e3,C=!1;window.etReady=function(){window.__etReady=!0,C||(C=!0,W())};var M=function(){V&&clearInterval(V),z&&clearTimeout(z),C||(C=!0,W())};V=setInterval(function(){try{window.etSign&&(window.__etReady=!0,M()),window.etReady&&!window.__etReady&&(window.etReady=function(){window.__etReady=!0,M()})}catch{M()}},100),z=setTimeout(function(){M()},q)}},et=function(W){W()};U.prototype.request=function(W){var V=this;if(this.options=x(W||{},L),!G){var z="\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301Promise\uFF0C\u8BF7\u5728windows\u5BF9\u8C61\u4E0A\u6302\u8F7DPromise\u5BF9\u8C61";throw y.mtop={ERROR:z},new Error(z)}var q=G.resolve([Qe,et]).then(function(C){var M=C[0],ae=C[1];return V.__sequence([M,V.__processRequestMethod,V.__processRequestType,V.__processToken,V.__processRequestUrl,V.middlewares,V.__processRequest,ae])}).then(function(){var C=V.options.retJson;return C.retType!==Ee.SUCCESS?G.reject(C):V.options.successCallback?void V.options.successCallback(C):G.resolve(C)}).catch(function(C){var M;return C instanceof Error?(console.error(C.stack),M={ret:[C.message],stack:[C.stack],retJson:Ee.ERROR}):M=typeof C=="string"?{ret:[C],retJson:Ee.ERROR}:C!==void 0?C:V.options.retJson,y.mtop.errorListener&&y.mtop.errorListener({api:V.params.api,data:V.params.data,v:V.params.v,retJson:M}),V.options.failureCallback?void V.options.failureCallback(M):G.reject(M)});return this.__processRequestType(),V.options.H5Request&&(V.constructor.__firstProcessor||(V.constructor.__firstProcessor=q),Qe=function(C){V.constructor.__firstProcessor.then(C).catch(C)}),(this.params.type==="get"&&this.params.dataType==="json"||this.params.type==="post")&&(W.pageDomain=W.pageDomain||$(u.location.hostname),W.mainDomain!==W.pageDomain&&(W.maxRetryTimes=4,W.CDR=!0)),this.__requestProcessor=q,q},y.mtop=function(W){return new U(W)},y.mtop.request=function(W,V,z){var q={H5Request:W.H5Request,WindVaneRequest:W.WindVaneRequest,LoginRequest:W.LoginRequest,AntiCreep:W.AntiCreep,AntiFlood:W.AntiFlood,successCallback:V,failureCallback:z||V};return new U(W).request(q)},y.mtop.H5Request=function(W,V,z){var q={H5Request:!0,successCallback:V,failureCallback:z||V};return new U(W).request(q)},y.mtop.middlewares=ye,y.mtop.config=L,y.mtop.RESPONSE_TYPE=Ee,y.mtop.CLASS=U}(window,window.lib||(window.lib={})),function(u,y){function E(g){return g.preventDefault(),!1}function A(g){var m=new RegExp("(?:^|;\\s*)"+g+"\\=([^;]+)(?:;\\s*|$)").exec(document.cookie);return m?m[1]:void 0}function x(g,m,d){var w=navigator.userAgent.match(/.*(iPhone|iPad|Android|ios|SymbianOS|Windows Phone).*/i),k=w&&m.h5url?m.h5url:m.url,U=m.dialogSize;d=d||m.attributes;var G=this,Y=u.dpr||1,ee=document.createElement("div"),ve=document.documentElement.getBoundingClientRect(),L=Math.max(ve.width,window.innerWidth)/Y,ye=window.innerHeight/Y;ee.style.cssText=["-webkit-transform:scale("+Y+") translateZ(0)","-ms-transform:scale("+Y+") translateZ(0)","transform:scale("+Y+") translateZ(0)","-webkit-transform-origin:0 0","-ms-transform-origin:0 0","transform-origin:0 0","width:"+L+"px","height:"+ye+"px","z-index:2147483647","position: fixed","left:0","top:0px","background:"+(L>800?"rgba(0,0,0,.5)":"#FFF"),"display:none"].join(";");var Ee=document.createElement("div");Ee.style.cssText=["width:100%","height:52px","background:transparent","line-height:52px","text-align:left","box-sizing:border-box","padding-left:20px","position:absolute","left:0","top:0","font-size:16px","font-weight:bold","color:#333"].join(";"),Ee.innerText=g;var Te=document.createElement("img");Te.style.cssText=["display:block","position:absolute","margin-top:15px","right:0","top:0","height:15px","line-height:52px","padding:0 20px","color:#999"].join(";"),Te.src="https://gw.alicdn.com/tfs/TB1QZN.CYj1gK0jSZFuXXcrHpXa-200-200.png";var ce=document.createElement("iframe");if(ce.style.cssText=["width:100%","height:100%","border:0","overflow:hidden"].join(";"),w)Ee.appendChild(Te),ee.appendChild(Ee);else{var P=U&&U.width||"420px",X=U&&U.height||"320px",Ce=50,J=50,Pe=24,le=-39;X.indexOf("px")>-1?Pe-=Number(X.replace("px",""))/2:X.indexOf("%")>-1&&(Ce-=Number(X.replace("%",""))/2),P.indexOf("px")>-1?le+=Number(P.replace("px",""))/2:P.indexOf("%")>-1&&(J+=Number(P.replace("%",""))/2),Te.style.cssText=["position:absolute","width:15px","height:15px","top:"+Ce+"%","left:"+J+"%","cursor: pointer","border:0","z-index:1","overflow:hidden","margin-top:"+Pe+"px","margin-left:"+le+"px"].join(";"),ee.appendChild(Te),ce.style.cssText=["position:absolute","top:0px","left:0px","bottom:0px","right:0px","margin:auto","width:"+P,"height:"+X,"border:0","background:#FFF","overflow:hidden","border-radius:18px"].join(";"),d&&d.style&&(ce.style.cssText+=d.style,delete d.style)}if(d)try{d.style&&delete d.style,Object.keys(d).forEach(function(Be){ce.setAttribute(Be,d[Be])})}catch{}ee.appendChild(ce),ee.className="J_MIDDLEWARE_FRAME_WIDGET",document.body.appendChild(ee),ce.src=k,Te.addEventListener("click",function(){G.hide();var Be=document.createEvent("HTMLEvents");Be.initEvent("close",!1,!1),ee.dispatchEvent(Be)},!1),this.addEventListener=function(){ee.addEventListener.apply(ee,arguments)},this.removeEventListener=function(){ee.removeEventListener.apply(ee,arguments)},this.show=function(){document.addEventListener("touchmove",E,!1),ee.style.display="block",window.scrollTo(0,0)},this.hide=function(){document.removeEventListener("touchmove",E),window.scrollTo(0,-ve.top),ee.parentNode&&ee.parentNode.removeChild(ee)}}function D(g){var m=this,d=this.options,w=this.params;return g().then(function(){var k=d.retJson,U=k.ret,G=navigator.userAgent.toLowerCase(),Y=G.indexOf("safari")>-1&&G.indexOf("chrome")<0&&G.indexOf("qqbrowser")<0;if(U instanceof Array&&(U=U.join(",")),(U.indexOf("SESSION_EXPIRED")>-1||U.indexOf("SID_INVALID")>-1||U.indexOf("AUTH_REJECT")>-1||U.indexOf("NEED_LOGIN")>-1)&&(k.retType=p.SESSION_EXPIRED,!d.WindVaneRequest&&(I.LoginRequest===!0||d.LoginRequest===!0||w.needLogin===!0))){if(!y.login)throw new Error("LOGIN_NOT_FOUND::\u7F3A\u5C11lib.login");var ee={apiReferer:w.api+":"+w.v};if(d.safariGoLogin!==!0||!Y||d.pageDomain==="taobao.com")return y.login.goLoginAsync(ee).then(function(ve){return m.__sequence([m.__processToken,m.__processRequestUrl,m.__processUnitPrefix,m.middlewares,m.__processRequest])}).catch(function(ve){throw ve==="CANCEL"?new Error("LOGIN_CANCEL::\u7528\u6237\u53D6\u6D88\u767B\u5F55"):new Error("LOGIN_FAILURE::\u7528\u6237\u767B\u5F55\u5931\u8D25")});y.login.goLogin(ee)}})}function S(g){var m=this.options;return this.params,m.H5Request!==!0||I.AntiFlood!==!0&&m.AntiFlood!==!0?void g():g().then(function(){var d=m.retJson,w=d.ret;w instanceof Array&&(w=w.join(",")),w.indexOf("FAIL_SYS_USER_VALIDATE")>-1&&d.data.url&&(m.AntiFloodReferer?location.href=d.data.url.replace(/(http_referer=).+/,"$1"+m.AntiFloodReferer):location.href=d.data.url)})}function O(g){var m=this,d=this.options,w=this.params;return d.AntiCreep!==!1&&(d.AntiCreep=!0),w.forceAntiCreep!==!0&&d.H5Request!==!0||I.AntiCreep!==!0&&d.AntiCreep!==!0?void g():g().then(function(){var k=d.retJson,U=k.ret;if(U instanceof Array&&(U=U.join(",")),U.indexOf("CHECKJS_FLAG")>-1&&k.uuid&&k.serid){try{var G=!!window.document._sufei_data2,Y=new Image,ee="https://fourier.taobao.com/ts?ext=200&uuid="+k.uuid+"&serid="+k.serid+"&sufei="+G;window.location&&location.href&&(ee+="&href=="+location.href.substr(0,128)),window.__fyModule&&(ee+="&fyModuleLoad="+window.__fyModule.load+"&fyModuleInit="+window.__fyModule.init),window.__umModule&&(ee+="&umModuleLoad="+window.__umModule.load+"&umModuleInit="+window.__umModule.init),window.__uabModule&&(ee+="&uabModuleLoad="+window.__uabModule.load+"&uabModuleInit="+window.__uabModule.init),window.__ncModule&&(ee+="&ncModuleLoad="+window.__ncModule.load+"&ncModuleInit="+window.__ncModule.init),window.__nsModule&&(ee+="&nsModuleLoad="+window.__nsModule.load+"&nsModuleInit="+window.__nsModule.init),window.__etModule&&(ee+="&etModuleLoad="+window.__etModule.load+"&etModuleInit="+window.__etModule.init),Y.src=ee,document.body.appendChild(Y)}catch(ce){console.log(ce,"\u4E0A\u62A5\u5F02\u5E38")}return m.__sequence([m.__processToken,m.__processRequestUrl,m.__processUnitPrefix,m.middlewares,m.__processRequest])}if(U.indexOf("RGV587_RUN_SCRIPT::SM")>-1)return new $(function(ce,P){try{var X=m;X.resend=function(){m.__sequence([m.__processToken,m.__processRequestUrl,m.__processUnitPrefix,m.middlewares,m.__processRequest]).then(ce)},X.resolve=ce,X.reject=P,X.timer=setTimeout(function(){clearTimeout(X.timer),X.timer=null,X.resend()},2e3);var Ce=document.createElement("script");Ce.src=k.data.url,Ce.crossOrigin=!0,Ce.async=!0,Ce.onerror=function(){X.resend()};var J=!1;Ce.onload=Ce.onreadystatechange=function(){J||Ce.readyState&&!/loaded|complete/.test(Ce.readyState)||(Ce.onload=Ce.onreadystatechange=null,J=!0,window._bxPunishFun&&typeof window._bxPunishFun=="function"&&window._bxPunishFun(X),k.data.async||(clearTimeout(X.timer),X.timer=null,X.resend()))};var Pe=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]||document.firstElementChild||document;Pe.appendChild(Ce)}catch{P("SCRIPT_RUN_ERROR::\u6267\u884C\u5931\u8D25")}});if((U.indexOf("RGV587_ERROR::SM")>-1||U.indexOf("ASSIST_FLAG")>-1)&&k.data.url){if(typeof d.bxOption=="object"&&d.bxOption["bx-"+k.action]==="new"){var ve=k.data.url+"&x5referer="+encodeURIComponent(location.href);return location.href=ve,new $(function(){})}var L="_m_h5_smt",ye=A(L),Ee=!1;if(d.saveAntiCreepToken===!0&&ye){ye=JSON.parse(ye);for(var Te in ye)w[Te]&&(Ee=!0)}if(d.saveAntiCreepToken===!0&&ye&&!Ee){for(var Te in ye)w[Te]=ye[Te];return m.__sequence([m.__processToken,m.__processRequestUrl,m.__processUnitPrefix,m.middlewares,m.__processRequest])}return new $(function(ce,P){function X(){J.removeEventListener("close",X),u.removeEventListener("message",Ce),P("USER_INPUT_CANCEL::\u7528\u6237\u53D6\u6D88\u8F93\u5165")}function Ce(Pe){var le;try{le=JSON.parse(Pe.data)||{}}catch{}if(le&&le.type==="child"){J.removeEventListener("close",X),u.removeEventListener("message",Ce),J.hide();var Be;try{Be=JSON.parse(decodeURIComponent(le.content)),typeof Be=="string"&&(Be=JSON.parse(Be));for(var Qe in Be)w[Qe]=Be[Qe];d.saveAntiCreepToken===!0?(document.cookie=L+"="+JSON.stringify(Be)+";",u.location.reload()):m.__sequence([m.__processToken,m.__processRequestUrl,m.__processUnitPrefix,m.middlewares,m.__processRequest]).then(ce)}catch{P("USER_INPUT_FAILURE::\u7528\u6237\u8F93\u5165\u5931\u8D25")}}}var J=new x("",k.data,k.attributes);J.addEventListener("close",X,!1),u.addEventListener("message",Ce,!1),k.data.dialogHide||J.show()})}})}if(!y||!y.mtop||y.mtop.ERROR)throw new Error("Mtop \u521D\u59CB\u5316\u5931\u8D25\uFF01");var $=u.Promise,f=y.mtop.CLASS,I=y.mtop.config,p=y.mtop.RESPONSE_TYPE;y.mtop.middlewares.push(D),y.mtop.loginRequest=function(g,m,d){var w={LoginRequest:!0,H5Request:!0,successCallback:m,failureCallback:d||m};return new f(g).request(w)},y.mtop.antiFloodRequest=function(g,m,d){var w={AntiFlood:!0,successCallback:m,failureCallback:d||m};return new f(g).request(w)},y.mtop.middlewares.push(S),y.mtop.antiCreepRequest=function(g,m,d){var w={AntiCreep:!0,successCallback:m,failureCallback:d||m};return new f(g).request(w)},y.mtop.middlewares.push(O)}(window,window.lib||(window.lib={})),Se.exports=window.lib.mtop},481:(Se,u,y)=>{y(671),Se.exports=self.fetch.bind(self)},527:Se=>{function u(){this.buffer=new Array,this.length=0}u.prototype={get:function(y){var E=Math.floor(y/8);return(this.buffer[E]>>>7-y%8&1)==1},put:function(y,E){for(var A=0;A>>E-A-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(y){var E=Math.floor(this.length/8);this.buffer.length<=E&&this.buffer.push(0),y&&(this.buffer[E]|=128>>>this.length%8),this.length++}},Se.exports=u},563:Se=>{/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */Se.exports=function(E){return E!=null&&(u(E)||y(E)||!!E._isBuffer)};function u(E){return!!E.constructor&&typeof E.constructor.isBuffer=="function"&&E.constructor.isBuffer(E)}function y(E){return typeof E.readFloatLE=="function"&&typeof E.slice=="function"&&u(E.slice(0,0))}},571:(Se,u,y)=>{"use strict";var E;E={value:!0},E=void 0;var A=Object.assign||function(G){for(var Y=1;Y=0||Object.prototype.hasOwnProperty.call(G,ve)&&(ee[ve]=G[ve]);return ee}var k={bgColor:D.default.oneOfType([D.default.object,D.default.string]),fgColor:D.default.oneOfType([D.default.object,D.default.string]),level:D.default.string,size:D.default.number,value:D.default.string.isRequired},U=(0,I.forwardRef)(function(G,Y){var ee=G.bgColor,ve=ee===void 0?"#FFFFFF":ee,L=G.fgColor,ye=L===void 0?"#000000":L,Ee=G.level,Te=Ee===void 0?"L":Ee,ce=G.size,P=ce===void 0?256:ce,X=G.value,Ce=w(G,["bgColor","fgColor","level","size","value"]),J=new f.default(-1,O.default[Te]);J.addData(X),J.make();var Pe=J.modules;return p.default.createElement(m.default,A({},Ce,{bgColor:ve,bgD:Pe.map(function(le,Be){return le.map(function(Qe,et){return Qe?"":"M "+et+" "+Be+" l 1 0 0 1 -1 0 Z"}).join(" ")}).join(" "),fgColor:ye,fgD:Pe.map(function(le,Be){return le.map(function(Qe,et){return Qe?"M "+et+" "+Be+" l 1 0 0 1 -1 0 Z":""}).join(" ")}).join(" "),ref:Y,size:P,viewBoxSize:Pe.length}))});E=U,U.displayName="QRCode",U.propTypes=k,u.Ay=U},574:Se=>{(function(){var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y={rotl:function(E,A){return E<>>32-A},rotr:function(E,A){return E<<32-A|E>>>A},endian:function(E){if(E.constructor==Number)return y.rotl(E,8)&16711935|y.rotl(E,24)&4278255360;for(var A=0;A0;E--)A.push(Math.floor(Math.random()*256));return A},bytesToWords:function(E){for(var A=[],x=0,D=0;x>>5]|=E[x]<<24-D%32;return A},wordsToBytes:function(E){for(var A=[],x=0;x>>5]>>>24-x%32&255);return A},bytesToHex:function(E){for(var A=[],x=0;x>>4).toString(16)),A.push((E[x]&15).toString(16));return A.join("")},hexToBytes:function(E){for(var A=[],x=0;x>>6*(3-S)&63)):A.push("=");return A.join("")},base64ToBytes:function(E){E=E.replace(/[^A-Z0-9+\/]/ig,"");for(var A=[],x=0,D=0;x>>6-D*2);return A}};Se.exports=y})()},581:(Se,u,y)=>{"use strict";var E=y(648),A={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},x={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},D={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},S={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},O={};O[E.ForwardRef]=D,O[E.Memo]=S;function $(k){return E.isMemo(k)?S:O[k.$$typeof]||A}var f=Object.defineProperty,I=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,d=Object.prototype;function w(k,U,G){if(typeof U!="string"){if(d){var Y=m(U);Y&&Y!==d&&w(k,Y,G)}var ee=I(U);p&&(ee=ee.concat(p(U)));for(var ve=$(k),L=$(U),ye=0;ye{"use strict";Se.exports=React},620:(Se,u)=>{"use strict";/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var y=typeof Symbol=="function"&&Symbol.for,E=y?Symbol.for("react.element"):60103,A=y?Symbol.for("react.portal"):60106,x=y?Symbol.for("react.fragment"):60107,D=y?Symbol.for("react.strict_mode"):60108,S=y?Symbol.for("react.profiler"):60114,O=y?Symbol.for("react.provider"):60109,$=y?Symbol.for("react.context"):60110,f=y?Symbol.for("react.async_mode"):60111,I=y?Symbol.for("react.concurrent_mode"):60111,p=y?Symbol.for("react.forward_ref"):60112,g=y?Symbol.for("react.suspense"):60113,m=y?Symbol.for("react.suspense_list"):60120,d=y?Symbol.for("react.memo"):60115,w=y?Symbol.for("react.lazy"):60116,k=y?Symbol.for("react.block"):60121,U=y?Symbol.for("react.fundamental"):60117,G=y?Symbol.for("react.responder"):60118,Y=y?Symbol.for("react.scope"):60119;function ee(L){if(typeof L=="object"&&L!==null){var ye=L.$$typeof;switch(ye){case E:switch(L=L.type,L){case f:case I:case x:case S:case D:case g:return L;default:switch(L=L&&L.$$typeof,L){case $:case p:case w:case d:case O:return L;default:return ye}}case A:return ye}}}function ve(L){return ee(L)===I}u.AsyncMode=f,u.ConcurrentMode=I,u.ContextConsumer=$,u.ContextProvider=O,u.Element=E,u.ForwardRef=p,u.Fragment=x,u.Lazy=w,u.Memo=d,u.Portal=A,u.Profiler=S,u.StrictMode=D,u.Suspense=g,u.isAsyncMode=function(L){return ve(L)||ee(L)===f},u.isConcurrentMode=ve,u.isContextConsumer=function(L){return ee(L)===$},u.isContextProvider=function(L){return ee(L)===O},u.isElement=function(L){return typeof L=="object"&&L!==null&&L.$$typeof===E},u.isForwardRef=function(L){return ee(L)===p},u.isFragment=function(L){return ee(L)===x},u.isLazy=function(L){return ee(L)===w},u.isMemo=function(L){return ee(L)===d},u.isPortal=function(L){return ee(L)===A},u.isProfiler=function(L){return ee(L)===S},u.isStrictMode=function(L){return ee(L)===D},u.isSuspense=function(L){return ee(L)===g},u.isValidElementType=function(L){return typeof L=="string"||typeof L=="function"||L===x||L===I||L===S||L===D||L===g||L===m||typeof L=="object"&&L!==null&&(L.$$typeof===w||L.$$typeof===d||L.$$typeof===O||L.$$typeof===$||L.$$typeof===p||L.$$typeof===U||L.$$typeof===G||L.$$typeof===Y||L.$$typeof===k)},u.typeOf=ee},648:(Se,u,y)=>{"use strict";Se.exports=y(620)},671:(Se,u,y)=>{"use strict";y.r(u),y.d(u,{DOMException:()=>Te,Headers:()=>I,Request:()=>ee,Response:()=>ye,fetch:()=>ce});var E=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof y.g<"u"&&y.g||{},A={searchParams:"URLSearchParams"in E,iterable:"Symbol"in E&&"iterator"in Symbol,blob:"FileReader"in E&&"Blob"in E&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in E,arrayBuffer:"ArrayBuffer"in E};function x(P){return P&&DataView.prototype.isPrototypeOf(P)}if(A.arrayBuffer)var D=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],S=ArrayBuffer.isView||function(P){return P&&D.indexOf(Object.prototype.toString.call(P))>-1};function O(P){if(typeof P!="string"&&(P=String(P)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(P)||P==="")throw new TypeError('Invalid character in header field name: "'+P+'"');return P.toLowerCase()}function $(P){return typeof P!="string"&&(P=String(P)),P}function f(P){var X={next:function(){var Ce=P.shift();return{done:Ce===void 0,value:Ce}}};return A.iterable&&(X[Symbol.iterator]=function(){return X}),X}function I(P){this.map={},P instanceof I?P.forEach(function(X,Ce){this.append(Ce,X)},this):Array.isArray(P)?P.forEach(function(X){if(X.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+X.length);this.append(X[0],X[1])},this):P&&Object.getOwnPropertyNames(P).forEach(function(X){this.append(X,P[X])},this)}I.prototype.append=function(P,X){P=O(P),X=$(X);var Ce=this.map[P];this.map[P]=Ce?Ce+", "+X:X},I.prototype.delete=function(P){delete this.map[O(P)]},I.prototype.get=function(P){return P=O(P),this.has(P)?this.map[P]:null},I.prototype.has=function(P){return this.map.hasOwnProperty(O(P))},I.prototype.set=function(P,X){this.map[O(P)]=$(X)},I.prototype.forEach=function(P,X){for(var Ce in this.map)this.map.hasOwnProperty(Ce)&&P.call(X,this.map[Ce],Ce,this)},I.prototype.keys=function(){var P=[];return this.forEach(function(X,Ce){P.push(Ce)}),f(P)},I.prototype.values=function(){var P=[];return this.forEach(function(X){P.push(X)}),f(P)},I.prototype.entries=function(){var P=[];return this.forEach(function(X,Ce){P.push([Ce,X])}),f(P)},A.iterable&&(I.prototype[Symbol.iterator]=I.prototype.entries);function p(P){if(!P._noBody){if(P.bodyUsed)return Promise.reject(new TypeError("Already read"));P.bodyUsed=!0}}function g(P){return new Promise(function(X,Ce){P.onload=function(){X(P.result)},P.onerror=function(){Ce(P.error)}})}function m(P){var X=new FileReader,Ce=g(X);return X.readAsArrayBuffer(P),Ce}function d(P){var X=new FileReader,Ce=g(X),J=/charset=([A-Za-z0-9_-]+)/.exec(P.type),Pe=J?J[1]:"utf-8";return X.readAsText(P,Pe),Ce}function w(P){for(var X=new Uint8Array(P),Ce=new Array(X.length),J=0;J-1?X:P}function ee(P,X){if(!(this instanceof ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');X=X||{};var Ce=X.body;if(P instanceof ee){if(P.bodyUsed)throw new TypeError("Already read");this.url=P.url,this.credentials=P.credentials,X.headers||(this.headers=new I(P.headers)),this.method=P.method,this.mode=P.mode,this.signal=P.signal,!Ce&&P._bodyInit!=null&&(Ce=P._bodyInit,P.bodyUsed=!0)}else this.url=String(P);if(this.credentials=X.credentials||this.credentials||"same-origin",(X.headers||!this.headers)&&(this.headers=new I(X.headers)),this.method=Y(X.method||this.method||"GET"),this.mode=X.mode||this.mode||null,this.signal=X.signal||this.signal||function(){if("AbortController"in E){var le=new AbortController;return le.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&Ce)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(Ce),(this.method==="GET"||this.method==="HEAD")&&(X.cache==="no-store"||X.cache==="no-cache")){var J=/([?&])_=[^&]*/;if(J.test(this.url))this.url=this.url.replace(J,"$1_="+new Date().getTime());else{var Pe=/\?/;this.url+=(Pe.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ee.prototype.clone=function(){return new ee(this,{body:this._bodyInit})};function ve(P){var X=new FormData;return P.trim().split("&").forEach(function(Ce){if(Ce){var J=Ce.split("="),Pe=J.shift().replace(/\+/g," "),le=J.join("=").replace(/\+/g," ");X.append(decodeURIComponent(Pe),decodeURIComponent(le))}}),X}function L(P){var X=new I,Ce=P.replace(/\r?\n[\t ]+/g," ");return Ce.split("\r").map(function(J){return J.indexOf(` `)===0?J.substr(1,J.length):J}).forEach(function(J){var Pe=J.split(":"),le=Pe.shift().trim();if(le){var Be=Pe.join(":").trim();try{X.append(le,Be)}catch(Qe){console.warn("Response "+Qe.message)}}}),X}U.call(ee.prototype);function ye(P,X){if(!(this instanceof ye))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(X||(X={}),this.type="default",this.status=X.status===void 0?200:X.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=X.statusText===void 0?"":""+X.statusText,this.headers=new I(X.headers),this.url=X.url||"",this._initBody(P)}U.call(ye.prototype),ye.prototype.clone=function(){return new ye(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new I(this.headers),url:this.url})},ye.error=function(){var P=new ye(null,{status:200,statusText:""});return P.ok=!1,P.status=0,P.type="error",P};var Ee=[301,302,303,307,308];ye.redirect=function(P,X){if(Ee.indexOf(X)===-1)throw new RangeError("Invalid status code");return new ye(null,{status:X,headers:{location:P}})};var Te=E.DOMException;try{new Te}catch{Te=function(X,Ce){this.message=X,this.name=Ce;var J=Error(X);this.stack=J.stack},Te.prototype=Object.create(Error.prototype),Te.prototype.constructor=Te}function ce(P,X){return new Promise(function(Ce,J){var Pe=new ee(P,X);if(Pe.signal&&Pe.signal.aborted)return J(new Te("Aborted","AbortError"));var le=new XMLHttpRequest;function Be(){le.abort()}le.onload=function(){var W={statusText:le.statusText,headers:L(le.getAllResponseHeaders()||"")};Pe.url.indexOf("file://")===0&&(le.status<200||le.status>599)?W.status=200:W.status=le.status,W.url="responseURL"in le?le.responseURL:W.headers.get("X-Request-URL");var V="response"in le?le.response:le.responseText;setTimeout(function(){Ce(new ye(V,W))},0)},le.onerror=function(){setTimeout(function(){J(new TypeError("Network request failed"))},0)},le.ontimeout=function(){setTimeout(function(){J(new TypeError("Network request timed out"))},0)},le.onabort=function(){setTimeout(function(){J(new Te("Aborted","AbortError"))},0)};function Qe(W){try{return W===""&&E.location.href?E.location.href:W}catch{return W}}if(le.open(Pe.method,Qe(Pe.url),!0),Pe.credentials==="include"?le.withCredentials=!0:Pe.credentials==="omit"&&(le.withCredentials=!1),"responseType"in le&&(A.blob?le.responseType="blob":A.arrayBuffer&&(le.responseType="arraybuffer")),X&&typeof X.headers=="object"&&!(X.headers instanceof I||E.Headers&&X.headers instanceof E.Headers)){var et=[];Object.getOwnPropertyNames(X.headers).forEach(function(W){et.push(O(W)),le.setRequestHeader(W,$(X.headers[W]))}),Pe.headers.forEach(function(W,V){et.indexOf(V)===-1&&le.setRequestHeader(V,W)})}else Pe.headers.forEach(function(W,V){le.setRequestHeader(V,W)});Pe.signal&&(Pe.signal.addEventListener("abort",Be),le.onreadystatechange=function(){le.readyState===4&&Pe.signal.removeEventListener("abort",Be)}),le.send(typeof Pe._bodyInit>"u"?null:Pe._bodyInit)})}ce.polyfill=!0,E.fetch||(E.fetch=ce,E.Headers=I,E.Request=ee,E.Response=ye)},687:(Se,u)=>{var y,E;/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(){"use strict";var A={}.hasOwnProperty;function x(){for(var O="",$=0;${var E=y(732);function A(x,D){this.totalCount=x,this.dataCount=D}A.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],A.getRSBlocks=function(x,D){var S=A.getRsBlockTable(x,D);if(S==null)throw new Error("bad rs block @ typeNumber:"+x+"/errorCorrectLevel:"+D);for(var O=S.length/3,$=new Array,f=0;f{var E=y(249),A=y(698),x=y(527),D=y(404),S=y(382);function O(f,I){this.typeNumber=f,this.errorCorrectLevel=I,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var $=O.prototype;$.addData=function(f){var I=new E(f);this.dataList.push(I),this.dataCache=null},$.isDark=function(f,I){if(f<0||this.moduleCount<=f||I<0||this.moduleCount<=I)throw new Error(f+","+I);return this.modules[f][I]},$.getModuleCount=function(){return this.moduleCount},$.make=function(){if(this.typeNumber<1){var f=1;for(f=1;f<40;f++){for(var I=A.getRSBlocks(f,this.errorCorrectLevel),p=new x,g=0,m=0;m=7&&this.setupTypeNumber(f),this.dataCache==null&&(this.dataCache=O.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,I)},$.setupPositionProbePattern=function(f,I){for(var p=-1;p<=7;p++)if(!(f+p<=-1||this.moduleCount<=f+p))for(var g=-1;g<=7;g++)I+g<=-1||this.moduleCount<=I+g||(0<=p&&p<=6&&(g==0||g==6)||0<=g&&g<=6&&(p==0||p==6)||2<=p&&p<=4&&2<=g&&g<=4?this.modules[f+p][I+g]=!0:this.modules[f+p][I+g]=!1)},$.getBestMaskPattern=function(){for(var f=0,I=0,p=0;p<8;p++){this.makeImpl(!0,p);var g=D.getLostPoint(this);(p==0||f>g)&&(f=g,I=p)}return I},$.createMovieClip=function(f,I,p){var g=f.createEmptyMovieClip(I,p),m=1;this.make();for(var d=0;d