PageSourceSearch

https://www.mtcxx.com/build/assets/OauthApp-BRNnYtQv.js

js mtcxx.com collected 2026-10-03 00:57:54 UTC 73,155 bytes, 20 lines download raw bytes

1import{_ as zs}from"./MyHeadApp-C2d6iV99.js";import{r as aa,s as Qs,d as na,b as Ws,a as Pn,u as Ys,e as $s,F as qs,o as oa}from"./app-BXvF3HYt.js";(function(k,I){typeof exports=="object"&&typeof module<"u"?I(exports):typeof define=="function"&&define.amd?define(["exports"],I):I((k=k||self).DouyinOpenJSBridge={})})(void 0,function(k){typeof window<"u"&&(window.douyin_open=k);var I=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function F(e,t){return e(t={exports:{}},t.exports),t.exports}var U=function(e){return e&&e.Math==Math&&e},m=U(typeof globalThis=="object"&&globalThis)||U(typeof window=="object"&&window)||U(typeof self=="object"&&self)||U(typeof I=="object"&&I)||function(){return this}()||Function("return this")(),j=function(e){try{return!!e()}catch(t){return!0}},N=!j(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Nn={}.propertyIsEnumerable,Tn=Object.getOwnPropertyDescriptor,kt={f:Tn&&!Nn.call({1:2},1)?function(e){var t=Tn(this,e);return!!t&&t.enumerable}:Nn},_e=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},sa={}.toString,X=function(e){return sa.call(e).slice(8,-1)},ua="".split,cr=j(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return X(e)=="String"?ua.call(e,""):Object(e)}:Object,Oe=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},Z=function(e){return cr(Oe(e))},L=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Ee=function(e,t){if(!L(e))return e;var r,n;if(t&&typeof(r=e.toString)=="function"&&!L(n=r.call(e))||typeof(r=e.valueOf)=="function"&&!L(n=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!L(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")},la={}.hasOwnProperty,O=function(e,t){return la.call(e,t)},sr=m.document,fa=L(sr)&&L(sr.createElement),jt=function(e){return fa?sr.createElement(e):{}},Rn=!N&&!j(function(){return Object.defineProperty(jt("div"),"a",{get:function(){return 7}}).a!=7}),Ln=Object.getOwnPropertyDescriptor,xe={f:N?Ln:function(e,t){if(e=Z(e),t=Ee(t,!0),Rn)try{return Ln(e,t)}catch(r){}if(O(e,t))return _e(!kt.f.call(e,t),e[t])}},J=function(e){if(!L(e))throw TypeError(String(e)+" is not an object");return e},Cn=Object.defineProperty,D={f:N?Cn:function(e,t,r){if(J(e),t=Ee(t,!0),J(r),Rn)try{return Cn(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},G=N?function(e,t,r){return D.f(e,t,_e(1,r))}:function(e,t,r){return e[t]=r,e},ur=function(e,t){try{G(m,e,t)}catch(r){m[e]=t}return t},ke=m["__core-js_shared__"]||ur("__core-js_shared__",{}),pa=Function.toString;typeof ke.inspectSource!="function"&&(ke.inspectSource=function(e){return pa.call(e)});var It,He,At,lr=ke.inspectSource,Fn=m.WeakMap,ha=typeof Fn=="function"&&/native code/.test(lr(Fn)),ve=F(function(e){(e.exports=function(t,r){return ke[t]||(ke[t]=r!==void 0?r:{})})("versions",[]).push({version:"3.10.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),da=0,ga=Math.random(),Xe=function(e){return"Symbol("+String(e===void 0?"":e)+")_"+(++da+ga).toString(36)},Jn=ve("keys"),Pt=function(e){return Jn[e]||(Jn[e]=Xe(e))},Re={},va=m.WeakMap;if(ha){var je=ke.state||(ke.state=new va),ya=je.get,Bn=je.has,ma=je.set;It=function(e,t){if(Bn.call(je,e))throw new TypeError("Object already initialized");return t.facade=e,ma.call(je,e,t),t},He=function(e){return ya.call(je,e)||{}},At=function(e){return Bn.call(je,e)}}else{var Le=Pt("state");Re[Le]=!0,It=function(e,t){if(O(e,Le))throw new TypeError("Object already initialized");return t.facade=e,G(e,Le,t),t},He=function(e){return O(e,Le)?e[Le]:{}},At=function(e){return O(e,Le)}}var Ce,Mt,Y={set:It,get:He,has:At,enforce:function(e){return At(e)?He(e):It(e,{})},getterFor:function(e){return function(t){var r;if(!L(t)||(r=He(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}},K=F(function(e){var t=Y.get,r=Y.enforce,n=String(String).split("String");(e.exports=function(o,i,c,a){var s,u=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;
1typeof c=="function"&&(typeof i!="string"||O(c,"name")||G(c,"name",i),(s=r(c)).source||(s.source=n.join(typeof i=="string"?i:""))),o!==m?(u?!f&&o[i]&&(l=!0):delete o[i],l?o[i]=c:G(o,i,c)):l?o[i]=c:ur(i,c)})(Function.prototype,"toString",function(){return typeof this=="function"&&t(this).source||lr(this)})}),Ze=m,Dn=function(e){return typeof e=="function"?e:void 0},ee=function(e,t){return arguments.length<2?Dn(Ze[e])||Dn(m[e]):Ze[e]&&Ze[e][t]||m[e]&&m[e][t]},ba=Math.ceil,wa=Math.floor,Nt=function(e){return isNaN(e=+e)?0:(e>0?wa:ba)(e)},Sa=Math.min,Ie=function(e){return e>0?Sa(Nt(e),9007199254740991):0},_a=Math.max,Oa=Math.min,Tt=function(e,t){var r=Nt(e);return r<0?_a(r+t,0):Oa(r,t)},Un=function(e){return function(t,r,n){var o,i=Z(t),c=Ie(i.length),a=Tt(n,c);if(e&&r!=r){for(;c>a;)if((o=i[a++])!=o)return!0}else for(;c>a;a++)if((e||a in i)&&i[a]===r)return e||a||0;return!e&&-1}},Gn={includes:Un(!0),indexOf:Un(!1)},Ea=Gn.indexOf,Kn=function(e,t){var r,n=Z(e),o=0,i=[];for(r in n)!O(Re,r)&&O(n,r)&&i.push(r);for(;t.length>o;)O(n,r=t[o++])&&(~Ea(i,r)||i.push(r));return i},Rt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xa=Rt.concat("length","prototype"),et={f:Object.getOwnPropertyNames||function(e){return Kn(e,xa)}},tt={f:Object.getOwnPropertySymbols},ka=ee("Reflect","ownKeys")||function(e){var t=et.f(J(e)),r=tt.f;return r?t.concat(r(e)):t},Vn=function(e,t){for(var r=ka(t),n=D.f,o=xe.f,i=0;i<r.length;i++){var c=r[i];O(e,c)||n(e,c,o(t,c))}},ja=/#|\.prototype\./,rt=function(e,t){var r=Aa[Ia(e)];return r==Ma||r!=Pa&&(typeof t=="function"?j(t):!!t)},Ia=rt.normalize=function(e){return String(e).replace(ja,".").toLowerCase()},Aa=rt.data={},Pa=rt.NATIVE="N",Ma=rt.POLYFILL="P",Lt=rt,Na=xe.f,E=function(e,t){var r,n,o,i,c,a=e.target,s=e.global,u=e.stat;if(r=s?m:u?m[a]||ur(a,{}):(m[a]||{}).prototype)for(n in t){if(i=t[n],o=e.noTargetGet?(c=Na(r,n))&&c.value:r[n],!Lt(s?n:a+(u?".":"#")+n,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;Vn(i,o)}(e.sham||o&&o.sham)&&G(i,"sham",!0),K(r,n,i,e)}},te=function(e){if(typeof e!="function")throw TypeError(String(e)+" is not a function");return e},Ta=function(e){var t,r;this.promise=new e(function(n,o){if(t!==void 0||r!==void 0)throw TypeError("Bad Promise constructor");t=n,r=o}),this.resolve=te(t),this.reject=te(r)},nt={f:function(e){return new Ta(e)}},ot=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},oe=X(m.process)=="process",it=ee("navigator","userAgent")||"",zn=m.process,Qn=zn&&zn.versions,Wn=Qn&&Qn.v8;Wn?Mt=(Ce=Wn.split("."))[0]+Ce[1]:it&&(!(Ce=it.match(/Edge\/(\d+)/))||Ce[1]>=74)&&(Ce=it.match(/Chrome\/(\d+)/))&&(Mt=Ce[1]);var Fe=Mt&&+Mt,ie=!!Object.getOwnPropertySymbols&&!j(function(){return!Symbol.sham&&(oe?Fe===38:Fe>37&&Fe<41)}),Yn=ie&&!Symbol.sham&&typeof Symbol.iterator=="symbol",at=ve("wks"),ct=m.Symbol,Ra=Yn?ct:ct&&ct.withoutSetter||Xe,T=function(e){return O(at,e)&&(ie||typeof at[e]=="string")||(ie&&O(ct,e)?at[e]=ct[e]:at[e]=Ra("Symbol."+e)),at[e]},Je={},La=T("iterator"),Ca=Array.prototype,fr=function(e,t,r){if(te(e),t===void 0)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,i){return e.call(t,n,o,i)}}return function(){return e.apply(t,arguments)}},$n={};$n[T("toStringTag")]="z";var pr=String($n)==="[object z]",Fa=T("toStringTag"),Ja=X(function(){return arguments}())=="Arguments",qn=pr?X:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=function(o,i){try{return o[i]}catch(c){}}(t=Object(e),Fa))=="string"?r:Ja?X(t):(n=X(t))=="Object"&&typeof t.callee=="function"?"Arguments":n},Ba=T("iterator"),Da=function(e){var t=e.return;if(t!==void 0)return J(t.call(e)).value},Ct=function(e,t){this.stopped=e,this.result=t},Ft=function(e,t,r){var n,o,i,c,a,s,u,l,f=r,d=!!r,g=!!r,y=fr(t,f,1+d+g),b=function(w){return y(w)};{if(typeof(o=function(w){if(w!=null)return w[Ba]||w["@@iterator"]||Je[qn(w)]}(e))!="function")throw TypeError("Target is not iterable");
1if((l=o)!==void 0&&(Je.Array===l||Ca[La]===l)){for(i=0,c=Ie(e.length);c>i;i++)if((a=b(e[i]))&&a instanceof Ct)return a;return new Ct(!1)}n=o.call(e)}for(s=n.next;!(u=s.call(n)).done;){try{a=b(u.value)}catch(w){throw Da(n),w}if(typeof a=="object"&&a&&a instanceof Ct)return a}return new Ct(!1)};E({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=nt.f(t),n=r.resolve,o=r.reject,i=ot(function(){var c=te(t.resolve),a=[],s=0,u=1;Ft(e,function(l){var f=s++,d=!1;a.push(void 0),u++,c.call(t,l).then(function(g){d||(d=!0,a[f]={status:"fulfilled",value:g},--u||n(a))},function(g){d||(d=!0,a[f]={status:"rejected",reason:g},--u||n(a))})}),--u||n(a)});return i.error&&o(i.value),r.promise}}),E({target:"Promise",stat:!0},{any:function(e){var t=this,r=nt.f(t),n=r.resolve,o=r.reject,i=ot(function(){var c=te(t.resolve),a=[],s=0,u=1,l=!1;Ft(e,function(f){var d=s++,g=!1;a.push(void 0),u++,c.call(t,f).then(function(y){g||l||(l=!0,n(y))},function(y){g||l||(g=!0,a[d]=y,--u||o(new(ee("AggregateError"))(a,"No one promise resolved")))})}),--u||o(new(ee("AggregateError"))(a,"No one promise resolved"))});return i.error&&o(i.value),r.promise}});var st=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(n){}return function(n,o){return J(n),function(i){if(!L(i)&&i!==null)throw TypeError("Can't set "+String(i)+" as a prototype")}(o),t?e.call(n,o):n.__proto__=o,n}}():void 0);E({target:"Object",stat:!0},{setPrototypeOf:st});var hr,ye=Object.keys||function(e){return Kn(e,Rt)},Hn=N?Object.defineProperties:function(e,t){J(e);for(var r,n=ye(t),o=n.length,i=0;o>i;)D.f(e,r=n[i++],t[r]);return e},dr=ee("document","documentElement"),Xn=Pt("IE_PROTO"),gr=function(){},Zn=function(e){return"<script>"+e+"<\/script>"},Jt=function(){try{hr=document.domain&&new ActiveXObject("htmlfile")}catch(n){}var e,t;Jt=hr?function(n){n.write(Zn("")),n.close();var o=n.parentWindow.Object;return n=null,o}(hr):((t=jt("iframe")).style.display="none",dr.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(Zn("document.F=Object")),e.close(),e.F);for(var r=Rt.length;r--;)delete Jt.prototype[Rt[r]];return Jt()};Re[Xn]=!0;var ue=Object.create||function(e,t){var r;return e!==null?(gr.prototype=J(e),r=new gr,gr.prototype=null,r[Xn]=e):r=Jt(),t===void 0?r:Hn(r,t)};E({target:"Object",stat:!0,sham:!N},{create:ue});var le=function(e){return Object(Oe(e))},Be=Object.assign,eo=Object.defineProperty,to=!Be||j(function(){if(N&&Be({b:1},Be(eo({},"a",{enumerable:!0,get:function(){eo(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol();return e[r]=7,"abcdefghijklmnopqrst".split("").forEach(function(n){t[n]=n}),Be({},e)[r]!=7||ye(Be({},t)).join("")!="abcdefghijklmnopqrst"})?function(e,t){for(var r=le(e),n=arguments.length,o=1,i=tt.f,c=kt.f;n>o;)for(var a,s=cr(arguments[o++]),u=i?ye(s).concat(i(s)):ye(s),l=u.length,f=0;l>f;)a=u[f++],N&&!c.call(s,a)||(r[a]=s[a]);return r}:Be;E({target:"Object",stat:!0,forced:Object.assign!==to},{assign:to});var Ae=Array.isArray||function(e){return X(e)=="Array"},Ua=T("species"),ro=function(e,t){var r;return Ae(e)&&(typeof(r=e.constructor)!="function"||r!==Array&&!Ae(r.prototype)?L(r)&&(r=r[Ua])===null&&(r=void 0):r=void 0),new(r===void 0?Array:r)(t===0?0:t)},no=[].push,me=function(e){var t=e==1,r=e==2,n=e==3,o=e==4,i=e==6,c=e==7,a=e==5||i;return function(s,u,l,f){for(var d,g,y=le(s),b=cr(y),w=fr(u,l,3),C=Ie(b.length),R=0,M=f||ro,A=t?M(s,C):r||c?M(s,0):void 0;C>R;R++)if((a||R in b)&&(g=w(d=b[R],R,y),e))if(t)A[R]=g;else if(g)switch(e){case 3:return!0;case 5:return d;case 6:return R;case 2:no.call(A,d)}else switch(e){case 4:return!1;case 7:no.call(A,d)}return i?-1:n||o?o:A}},De={forEach:me(0),map:me(1),filter:me(2),some:me(3),every:me(4),find:me(5),findIndex:me(6),filterOut:me(7)},Bt=function(e,t){var r=[][e];return!!r&&j(function(){r.call(null,t||function(){throw 1},1)})},Ga=De.forEach,ut=Bt("forEach")?[].forEach:function(e){return Ga(this,e,arguments.length>1?arguments[1]:void 0)};E({target:"Array",proto:!0,forced:[].forEach!=ut},{forEach:ut});var vr={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};for(var Ka in vr){var oo=m[Ka],Dt=oo&&oo.prototype;if(Dt&&Dt.forEach!==ut)try{G(Dt,"forEach",ut)}catch(e){Dt.forEach=ut}}var Va=j(function(){ye(1)});E({target:"Object",stat:!0,forced:Va},{keys:function(e){return ye(le(e))}});var io=function(e,t,r){var n=Ee(t);n in e?D.f(e,n,_e(0,r)):e[n]=r},za=T("species"),Ut=function(e){return Fe>=51||!j(function(){var t=[];return(t.constructor={})[za]=function(){return{foo:1}
1},t[e](Boolean).foo!==1})},Qa=Ut("splice"),Wa=Math.max,Ya=Math.min;E({target:"Array",proto:!0,forced:!Qa},{splice:function(e,t){var r,n,o,i,c,a,s=le(this),u=Ie(s.length),l=Tt(e,u),f=arguments.length;if(f===0?r=n=0:f===1?(r=0,n=u-l):(r=f-2,n=Ya(Wa(Nt(t),0),u-l)),u+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=ro(s,n),i=0;i<n;i++)(c=l+i)in s&&io(o,i,s[c]);if(o.length=n,r<n){for(i=l;i<u-n;i++)a=i+r,(c=i+n)in s?s[a]=s[c]:delete s[a];for(i=u;i>u-n+r;i--)delete s[i-1]}else if(r>n)for(i=u-n;i>l;i--)a=i+r-1,(c=i+n-1)in s?s[a]=s[c]:delete s[a];for(i=0;i<r;i++)s[i+l]=arguments[i+2];return s.length=u-n+r,o}});var yr=function(){var e=J(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function ao(e,t){return RegExp(e,t)}var Gt={UNSUPPORTED_Y:j(function(){var e=ao("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),BROKEN_CARET:j(function(){var e=ao("^r","gy");return e.lastIndex=2,e.exec("str")!=null})},Kt=RegExp.prototype.exec,$a=ve("native-string-replace",String.prototype.replace),co=Kt,mr=function(){var e=/a/,t=/b*/g;return Kt.call(e,"a"),Kt.call(t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),so=Gt.UNSUPPORTED_Y||Gt.BROKEN_CARET,br=/()??/.exec("")[1]!==void 0;(mr||br||so)&&(co=function(e){var t,r,n,o,i=this,c=so&&i.sticky,a=yr.call(i),s=i.source,u=0,l=e;return c&&((a=a.replace("y","")).indexOf("g")===-1&&(a+="g"),l=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&e[i.lastIndex-1]!=="\n")&&(s="(?: "+s+")",l=" "+l,u++),r=new RegExp("^(?:"+s+")",a)),br&&(r=new RegExp("^"+s+"$(?!\\s)",a)),mr&&(t=i.lastIndex),n=Kt.call(c?r:i,l),c?n?(n.input=n.input.slice(u),n[0]=n[0].slice(u),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:mr&&n&&(i.lastIndex=i.global?n.index+n[0].length:t),br&&n&&n.length>1&&$a.call(n[0],r,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(n[o]=void 0)}),n});var Vt=co;E({target:"RegExp",proto:!0,forced:/./.exec!==Vt},{exec:Vt});var qa=T("species"),Ha=!j(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"}),uo="a".replace(/./,"$0")==="$0",lo=T("replace"),fo=!!/./[lo]&&/./[lo]("a","$0")==="",Xa=!j(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),po=function(e,t,r,n){var o=T(e),i=!j(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),c=i&&!j(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[qa]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!i||!c||e==="replace"&&(!Ha||!uo||fo)||e==="split"&&!Xa){var a=/./[o],s=r(o,""[e],function(f,d,g,y,b){return d.exec===RegExp.prototype.exec?i&&!b?{done:!0,value:a.call(d,g,y)}:{done:!0,value:f.call(g,d,y)}:{done:!1}},{REPLACE_KEEPS_$0:uo,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:fo}),u=s[0],l=s[1];K(String.prototype,e,u),K(RegExp.prototype,o,t==2?function(f,d){return l.call(f,this,d)}:function(f){return l.call(f,this)})}n&&G(RegExp.prototype[o],"sham",!0)},ho=function(e){return function(t,r){var n,o,i=String(Oe(t)),c=Nt(r),a=i.length;return c<0||c>=a?e?"":void 0:(n=i.charCodeAt(c))<55296||n>56319||c+1===a||(o=i.charCodeAt(c+1))<56320||o>57343?e?i.charAt(c):n:e?i.slice(c,c+2):o-56320+(n-55296<<10)+65536}},go={codeAt:ho(!1),charAt:ho(!0)},Za=go.charAt,vo=function(e,t,r){return t+(r?Za(e,t).length:1)},zt=function(e,t){var r=e.exec;if(typeof r=="function"){var n=r.call(e,t);if(typeof n!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return n}if(X(e)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return Vt.call(e,t)};po("match",1,function(e,t,r){return[function(n){var o=Oe(this),i=n==null?void 0:n[e];return i!==void 0?i.call(n,o):new RegExp(n)[e](String(o))},function(n){var o=r(t,n,this);if(o.done)return o.value;var i=J(n),c=String(this);if(!i.global)return zt(i,c);var a=i.unicode;i.lastIndex=0;for(var s,u=[],l=0;(s=zt(i,c))!==null;){var f=String(s[0]);u[l]=f,f===""&&(i.lastIndex=vo(c,Ie(i.lastIndex),a)),l++}return l===0?null:u}]});var yo=[].slice,wr={},ec=function(e,t,r){if(!(t in wr)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";wr[t]=Function("C,a","return new C("+n.join(",")+")")}return wr[t](e,r)},tc=Function.bind||function(e){var t=te(this),r=yo.call(arguments,1
1),n=function(){var o=r.concat(yo.call(arguments));return this instanceof n?ec(t,o.length,o):t.apply(e,o)};return L(t.prototype)&&(n.prototype=t.prototype),n};E({target:"Function",proto:!0},{bind:tc}),E({target:"Object",stat:!0,forced:!N,sham:!N},{defineProperties:Hn});var mo=!j(function(){return Object.isExtensible(Object.preventExtensions({}))}),lt=F(function(e){var t=D.f,r=Xe("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(a){t(a,r,{value:{objectID:"O"+ ++n,weakData:{}}})},c=e.exports={REQUIRED:!1,fastKey:function(a,s){if(!L(a))return typeof a=="symbol"?a:(typeof a=="string"?"S":"P")+a;if(!O(a,r)){if(!o(a))return"F";if(!s)return"E";i(a)}return a[r].objectID},getWeakData:function(a,s){if(!O(a,r)){if(!o(a))return!0;if(!s)return!1;i(a)}return a[r].weakData},onFreeze:function(a){return mo&&c.REQUIRED&&o(a)&&!O(a,r)&&i(a),a}};Re[r]=!0}),rc=(lt.REQUIRED,lt.fastKey,lt.getWeakData,lt.onFreeze,lt.onFreeze),Sr=Object.freeze,nc=j(function(){Sr(1)});E({target:"Object",stat:!0,forced:nc,sham:!mo},{freeze:function(e){return Sr&&L(e)?Sr(rc(e)):e}});
1var oc=Gn.indexOf,bo=[].indexOf,wo=!!bo&&1/[1].indexOf(1,-0)<0,ic=Bt("indexOf");E({target:"Array",proto:!0,forced:wo||!ic},{indexOf:function(e){return wo?bo.apply(this,arguments)||0:oc(this,e,arguments.length>1?arguments[1]:void 0)}});var So=xe.f,ac=j(function(){So(1)});E({target:"Object",stat:!0,forced:!N||ac,sham:!N},{getOwnPropertyDescriptor:function(e,t){return So(Z(e),t)}}),E({target:"Object",stat:!0,forced:!N,sham:!N},{defineProperty:D.f});/*!
2	* @bridge/bytedance v2.3.0
3	* (c) 2022 
4	*//*! *****************************************************************************
5	Copyright (c) Microsoft Corporation.
6
7	Permission to use, copy, modify, and/or distribute this software for any
8	purpose with or without fee is hereby granted.
9
10	THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
11	REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12	AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
13	INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14	LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
15	OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16	PERFORMANCE OF THIS SOFTWARE.
17	***************************************************************************** */var _o=function(e,t){return(_o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])})(e,t)};function Oo(e,t){function r(){this.constructor=e}_o(e,t),e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Eo,xo=function(){return(xo=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};/*!
18	* @bridge/base v2.1.1
19	* (c) 2022 
20	*/(function(e){e[e.Failure=0]="Failure",e[e.Success=1]="Success",e[e.Unauthorized=-1]="Unauthorized",e[e.NotExist=-2]="NotExist"})(Eo||(Eo={}));var cc=typeof __PIA_WORKER__>"u"?1023:1023e5,ko=function(){function e(t){this.version=t.version||"2.1.1",this.nativeMethodInvoker=t.nativeMethodInvoker,this.nativeEventListener=t.nativeEventListener,this.scheme=t.scheme||"nativeapp://",this.dispatchMessagePath=t.dispatchMessagePath||"dispatch_message/",this.setResultPath=t.setResultPath||"private/setresult/SCENE_FETCHQUEUE",this.dispatchMessageIFrameId=t.dispatchMessageIFrameId||"__JSBridgeIframe__",this.setResultIFrameId=t.setResultIFrameId||"__JSBridgeIframe_SetResult__",this.listenNativeEvent=t.listenNativeEvent===!0,this.callbackId=cc,this.callbackMap={},this.eventMap={},this.javascriptMessageQueue=[],this.callbackProcessor=t.callbackProcessor}return e.prototype.setAppID=function(t){this.appID=t},e.prototype.call=function(t,r,n,o){o===void 0&&(o=this.version);var i,c=this.version,a=this.appID;if(t&&typeof t=="string"){typeof r!="object"&&(r={}),typeof o=="string"?c=o||this.version:typeof o=="object"&&(i=o.namespace,c=o.sdkVersion||this.version,a=o.appID||this.appID);var s={func:t,params:r,JSSDK:c,__msg_type:"call",namespace:i,appID:a};if(typeof n=="function"||n===void 0){var u=this.registerCallback(t,n);s.__callback_id=u}typeof __PIA_WORKER__>"u"&&window.parent!==window&&(s.__iframe_url=window.location.href),this.sendMessageToNative(s)}},e.prototype.on=function(t,r,n){if(n===void 0&&(n=!1),t&&typeof t=="string"&&typeof r=="function"){var o=this.registerCallback(t,r);return this.eventMap[t]=this.eventMap[t]||{},this.eventMap[t][o]={once:n},this.listenNativeEvent&&(this.nativeEventListener?this.nativeEventListener(t):this.call("addEventListener",{name:t},null,{sdkVersion:1})),o}},e.prototype.once=function(t,r){return this.on(t,r,!0)},e.prototype.off=function(t,r){if(!t||typeof t!="string")return!0;var n=this.eventMap[t];return!n||typeof n!="object"||!n.hasOwnProperty(r)||(this.deregisterCallback(r),delete n[r],!0)},e.prototype.trigger=function(t,r){return this.handleMessageFromNative({__msg_type:"event",__params:r,__event_id:t})},e.prototype.handleMessageFromNative=function(t){var r=this,n=t,o=String(n.__callback_id);if(this.callbackProcessor&&typeof this.callbackProcessor=="function"){var i=(this.callbackMap&&this.callbackMap[o]||{}).method;this.callbackProcessor(n,i)}var c=n.__params,a=String(n.__event_id||""),s=n.__msg_type;this.callbackMap[o]?s="callback":this.eventMap[o]&&(s="event",a=a||o);var u={__err_code:"cb404"};switch(s){case"callback":var l=(this.callbackMap&&this.callbackMap[o]||{}).callback;typeof l=="function"&&(u=l(c)),this.deregisterCallback(o);break;case"event":var f=this.eventMap[a];f&&typeof f=="object"&&Object.keys(f).forEach(function(d){var g=(r.callbackMap&&r.callbackMap[d]||{}).callback,y=f[d];typeof g=="function"&&(u=g(c)),y&&y.once&&(r.deregisterCallback(d),delete f[d])})}return u},e.prototype.fetchJavaScriptMessageQueue=function(){var t=JSON.stringify(this.javascriptMessageQueue),r=btoa(unescape(encodeURIComponent(t)));return this.setResultIFrame&&this.javascriptMessageQueue.length>0&&(this.setResultIFrame.src=""+this.scheme+this.setResultPath+"&"+r),this.javascriptMessageQueue.splice(0,this.javascriptMessageQueue.length),t},e.prototype.sendMessageToNative=function(t){if(String(t.JSSDK)!=="1"&&this.nativeMethodInvoker){var r=this.nativeMethodInvoker(t);if(r){var n=JSON.parse(r);this.handleMessageFromNative(n)}}else this.javascriptMessageQueue.push(t),this.dispatchMessageIFrame||this.tryCreateIFrames(),this.dispatchMessageIFrame.src=""+this.scheme+this.dispatchMessagePath},e.prototype.registerCallback=function(t,r){var n=String(this.callbackId++);return this.callbackMap[n]={method:t,callback:r},n},e.prototype.deregisterCallback=function(t){delete this.callbackMap[t]},e.prototype.tryCreateIFrames=function(){this.dispatchMessageIFrame=this.createIFrame(this.dispatchMessageIFrameId),this.setResultIFrame=this.createIFrame(this.setResultIFrameId)}
20,e.prototype.createIFrame=function(t){var r=document.getElementById(t);return r&&r.tagName==="IFRAME"||((r=document.createElement("iframe")).style.display="none",r.id=t,document.documentElement.appendChild(r)),r},e}(),S=typeof __PIA_WORKER__<"u"?new Function("return this")():typeof window<"u"?window:{},V=S!==void 0&&S.navigator?S.navigator.userAgent:"",ft=(!!V.match(/(newsarticle|videoarticle|lv|faceu|ulike|beauty_me_|faceu-os|ulike-os|beauty_me_oversea_|retouch)\/([\d.]+)/i)||/super|automobile/gi.test(V))&&!/webcast/gi.test(V)&&!/luckycatversion/gi.test(V),sc=!!V.match(/(faceu)\/([\d.]+)/i)||/gsdk/gi.test(V)||/PIANativeWorker/gi.test(V),jo=!!V.match(/ttad\/0/i),uc=!!V.match(/aweme|trill|musical_ly|phoenix_\d+|TikTokNow_\d+|alligatortiktok/i),lc=!!V.match(/live_stream/i),fc=!!V.match(/Webcast/i),pc=!!V.match(/super/i),hc=!!V.match(/life_service_merchant/i),_r=/super/gi.test(V);function Io(){var e;if(ft)return S.JSBridge&&S.JSBridge.on?e=S.JSBridge.on:S.JS2NativeBridge&&S.JS2NativeBridge.on?e=function(t){var r={JSSDK:"2.3.0",__msg_type:"event",__callback_id:t,func:t};S.JS2NativeBridge.on(t,JSON.stringify(r))}:S.webkit&&S.webkit.messageHandlers&&S.webkit.messageHandlers.onMethodParams?e=function(t){var r={JSSDK:"2.3.0",__msg_type:"event",__callback_id:t,func:t};S.webkit.messageHandlers.onMethodParams.postMessage(r)}:S.onMethodParams&&(e=function(t){var r={JSSDK:"2.3.0",__msg_type:"event",__callback_id:t,func:t};return S.onMethodParams(t,r)}
20),e}function Ao(e,t){if((typeof t!="string"||/^(x|tc)\./.test(t)!==!0)&&(uc||lc||fc||hc)){var r=e.__params;S.JS2NativeBridge&&S.JS2NativeBridge._invokeMethod&&(e.__params=xo({code:r.code},r.data))}}var dc=function(e){function t(){var r=e.call(this,{version:"2.3.0",scheme:"bytedance://",listenNativeEvent:!0,dispatchMessageIFrameId:"__JSBridgeIframe_1.0__",setResultIFrameId:"__JSBridgeIframe_SetResult_1.0__",nativeEventListener:Io(),callbackProcessor:Ao})||this;return r.publicApi={call:r.call.bind(r),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),trigger:r.trigger.bind(r),setAppID:r.setAppID.bind(r),_fetchQueue:r.fetchJavaScriptMessageQueue.bind(r),_handleMessageFromToutiao:r.handleMessageFromNative.bind(r)},r}return Oo(t,e),t.prototype.exposePublicApiToGlobal=function(){S.ToutiaoJSBridge=Object.assign(S.ToutiaoJSBridge||{},this.publicApi)},t}(ko),gc=function(e){function t(r){var n,o=e.call(this,{version:"2.3.0",nativeMethodInvoker:(S.JS2NativeBridge&&S.JS2NativeBridge._invokeMethod?n=function(i){return S.JS2NativeBridge._invokeMethod(JSON.stringify(i))}:S.ToutiaoJSBridge&&S.ToutiaoJSBridge.invokeMethod?n=function(i){return S.ToutiaoJSBridge.invokeMethod(JSON.stringify(i))}:S.JS2NativeBridge&&S.JS2NativeBridge.call?n=function(i){return S.JS2NativeBridge.call(i.func,JSON.stringify(i))}:S.webkit&&S.webkit.messageHandlers&&S.webkit.messageHandlers.callMethodParams?n=function(i){S.webkit.messageHandlers.callMethodParams.postMessage(i)}:S.callMethodParams&&(n=function(i){return S.callMethodParams(i.func,i)}),n),nativeEventListener:Io(),scheme:pc?"bds://":_r?"bytedance://":ft||S.JSBridge&&S.JSBridge._invokeMethod?"nativeapp://":"bytedance://",listenNativeEvent:ft,callbackProcessor:Ao})||this;return o.toutiaoLegacyJSB=r,o.publicApi={call:o.call.bind(o),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),trigger:o.trigger.bind(o),setAppID:o.setAppID.bind(o),_fetchQueue:o.fetchJavaScriptMessageQueue.bind(o),_handleMessageFromApp:o.handleMessageFromNative.bind(o),_handleMessageFromToutiao:o.handleMessageFromNative.bind(o)},o}return Oo(t,e),t.prototype.call=function(r,n,o,i){i===void 0&&(i="2.3.0"),this.isLegacyCall(r)?this.toutiaoLegacyJSB.call(r,n,o,i):e.prototype.call.call(this,r,n,o,i)},t.prototype.on=function(r,n,o,i){return o===void 0&&(o=!1),(i||{}).useLegacy||this.isLegacyCall(r)?this.toutiaoLegacyJSB.on(r,n,o):e.prototype.on.call(this,r,n,o)},t.prototype.once=function(r,n){return this.isLegacyCall(r)?this.toutiaoLegacyJSB.once(r,n):e.prototype.once.call(this,r,n)},t.prototype.off=function(r,n){return this.isLegacyCall(r)?this.toutiaoLegacyJSB.off(r,n):e.prototype.off.call(this,r,n)},t.prototype.trigger=function(r,n){return this.isLegacyCall(r)?this.toutiaoLegacyJSB.trigger(r,n):e.prototype.trigger.call(this,r,n)},t.prototype.setAppID=function(r){this.toutiaoLegacyJSB&&this.toutiaoLegacyJSB.setAppID(r),e.prototype.setAppID.call(this,r)},t.prototype.exposePublicApiToGlobal=function(){var r=this;S.JSBridge=Object.assign(S.JSBridge||{},this.publicApi),S.__DISABLE_JSB_PROTOCAL2__||(S.Native2JSBridge=Object.assign(S.Native2JSBridge||{},this.publicApi)),_r?S.ToutiaoJSBridge=Object.assign(S.ToutiaoJSBridge||{},this.publicApi):(ft||jo)&&this.toutiaoLegacyJSB?this.toutiaoLegacyJSB.exposePublicApiToGlobal():S.ToutiaoJSBridge=Object.assign(S.ToutiaoJSBridge||{},this.publicApi),S.parent!==S&&S.addEventListener&&S.addEventListener("message",function(n){n&&n.data&&n.data.__callback_id&&r.handleMessageFromNative(n.data)},!1),Object.defineProperties(S,{JSBridge:{writable:!1},Native2JSBridge:{writable:!1},ToutiaoJSBridge:{writable:!1}}),Object.freeze(S.JSBridge),Object.freeze(S.Native2JSBridge),Object.freeze(S.ToutiaoJSBridge)},t.prototype.isLegacyCall=function(r){return!(!r||typeof r!="string"||!this.toutiaoLegacyJSB)&&(!!jo||!sc&&!_r&&ft&&r.indexOf(".")<0)},t}(ko);function Po(e,t){if(e==null)throw new TypeError("Cannot convert first argument to object");for(var r=Object(e),n=1;n<arguments.length;n++){var o=arguments[n];if(o!=null)for(var i=Object.keys(Object(o)),c=0,a=i.length;c<a;c++){var s=i[c],u=Object.getOwnPropertyDescriptor(o,s);u!==void 0&&u.enumerable&&(r[s]=o[s])}}return r}({assign:Po,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,
20configurable:!0,writable:!0,value:Po})}}).polyfill();var vc=new gc(new dc);try{console.warn("[Bridge] This version has Break Change, please pay attention to compatibility, more details: https://zjsms.com/JXKorkC/"),vc.exposePublicApiToGlobal()}catch(e){console.warn(e.message)}var Mo=function(e,t,r){var n,o;return st&&typeof(n=t.constructor)=="function"&&n!==r&&L(o=n.prototype)&&o!==r.prototype&&st(e,o),e},yc=T("match"),No=function(e){var t;return L(e)&&((t=e[yc])!==void 0?!!t:X(e)=="RegExp")},To=T("species"),Ro=function(e){var t=ee(e),r=D.f;N&&t&&!t[To]&&r(t,To,{configurable:!0,get:function(){return this}})},mc=D.f,bc=et.f,wc=Y.set,Sc=T("match"),ae=m.RegExp,Or=ae.prototype,pt=/a/g,Er=/a/g,xr=new ae(pt)!==pt,kr=Gt.UNSUPPORTED_Y;if(N&&Lt("RegExp",!xr||kr||j(function(){return Er[Sc]=!1,ae(pt)!=pt||ae(Er)==Er||ae(pt,"i")!="/a/i"}))){for(var fe=function(e,t){var r,n=this instanceof fe,o=No(e),i=t===void 0;if(!n&&o&&e.constructor===fe&&i)return e;xr?o&&!i&&(e=e.source):e instanceof fe&&(i&&(t=yr.call(e)),e=e.source),kr&&(r=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var c=Mo(xr?new ae(e,t):ae(e,t),n?this:Or,fe);return kr&&r&&wc(c,{sticky:r}),c},_c=function(e){e in fe||mc(fe,e,{configurable:!0,get:function(){return ae[e]},set:function(t){ae[e]=t}})},Lo=bc(ae),Co=0;Lo.length>Co;)_c(Lo[Co++]);Or.constructor=fe,fe.prototype=Or,K(m,"RegExp",fe)}Ro("RegExp");var Fo=RegExp.prototype,Jo=Fo.toString,Oc=j(function(){return Jo.call({source:"a",flags:"b"})!="/a/b"}),Ec=Jo.name!="toString";(Oc||Ec)&&K(RegExp.prototype,"toString",function(){var e=J(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(r===void 0&&e instanceof RegExp&&!("flags"in Fo)?yr.call(e):r)},{unsafe:!0});var xc=T("species"),jr=function(e,t){var r,n=J(e).constructor;return n===void 0||(r=J(n)[xc])==null?t:te(r)},Ue=Gt.UNSUPPORTED_Y,kc=[].push,jc=Math.min;po("split",2,function(e,t,r){var n;return n="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(o,i){var c=String(Oe(this)),a=i===void 0?4294967295:i>>>0;if(a===0)return[];if(o===void 0)return[c];if(!No(o))return t.call(c,o,a);for(var s,u,l,f=[],d=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),g=0,y=new RegExp(o.source,d+"g");(s=Vt.call(y,c))&&!((u=y.lastIndex)>g&&(f.push(c.slice(g,s.index)),s.length>1&&s.index<c.length&&kc.apply(f,s.slice(1)),l=s[0].length,g=u,f.length>=a));)y.lastIndex===s.index&&y.lastIndex++;return g===c.length?!l&&y.test("")||f.push(""):f.push(c.slice(g)),f.length>a?f.slice(0,a):f}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:t.call(this,o,i)}:t,[function(o,i){var c=Oe(this),a=o==null?void 0:o[e];return a!==void 0?a.call(o,c,i):n.call(String(c),o,i)},function(o,i){var c=r(n,o,this,i,n!==t);if(c.done)return c.value;var a=J(o),s=String(this),u=jr(a,RegExp),l=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Ue?"g":"y"),d=new u(Ue?"^(?:"+a.source+")":a,f),g=i===void 0?4294967295:i>>>0;if(g===0)return[];if(s.length===0)return zt(d,s)===null?[s]:[];for(var y=0,b=0,w=[];b<s.length;){d.lastIndex=Ue?0:b;var C,R=zt(d,Ue?s.slice(b):s);if(R===null||(C=jc(Ie(d.lastIndex+(Ue?b:0)),s.length))===y)b=vo(s,b,l);else{if(w.push(s.slice(y,b)),w.length===g)return w;for(var M=1;M<=R.length-1;M++)if(w.push(R[M]),w.length===g)return w;b=y=C}}return w.push(s.slice(y)),w}]},Ue);var Ic=pr?{}.toString:function(){return"[object "+qn(this)+"]"};pr||K(Object.prototype,"toString",Ic,{unsafe:!0});var pe=m.Promise,Ac=D.f,Bo=T("toStringTag"),Ge=function(e,t,r){e&&!O(e=r?e:e.prototype,Bo)&&Ac(e,Bo,{configurable:!0,value:t})},Do=T("iterator"),Uo=!1;try{var Pc=0,Go={next:function(){return{done:!!Pc++}},return:function(){Uo=!0}};Go[Do]=function(){return this},Array.from(Go,function(){throw 2})}catch(e){}var Ke,Ko,Ir,Vo=/(?:iphone|ipod|ipad).*applewebkit/i.test(it),Qt=m.location,Ar=m.setImmediate,Pr=m.clearImmediate,Mc=m.process,zo=m.MessageChannel,Mr=m.Dispatch,Nr=0,ht={},Tr=function(e){if(ht.hasOwnProperty(e)){var t=ht[e];delete ht[e],t()}},Rr=function(e){return function(){Tr(e)}},Qo=function(e){Tr(e.data)},Wo=function(e){m.postMessage(e+"",Qt.protocol+"//"+Qt.host)};Ar&&Pr||(Ar=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return ht[++Nr]=function(){(typeof e=="function"?e:Function(e)).apply(void 0,t)},Ke(Nr),Nr},Pr=function(e){delete ht[e]},oe?Ke=function(e){Mc.nextTick(Rr(e))}:Mr&&Mr.now?Ke=function(e){Mr.now(Rr(e))}:zo&&!Vo?(Ir=(Ko=new zo).port2,Ko.port1.onmessage=Qo,Ke=fr(Ir.postMessage,Ir,1)
20):m.addEventListener&&typeof postMessage=="function"&&!m.importScripts&&Qt&&Qt.protocol!=="file:"&&!j(Wo)?(Ke=Wo,m.addEventListener("message",Qo,!1)):Ke="onreadystatechange"in jt("script")?function(e){dr.appendChild(jt("script")).onreadystatechange=function(){dr.removeChild(this),Tr(e)}}:function(e){setTimeout(Rr(e),0)});var dt,Pe,gt,vt,Lr,Cr,Fr,Yo,$o={set:Ar,clear:Pr},Nc=/web0s(?!.*chrome)/i.test(it),Tc=xe.f,Rc=$o.set,qo=m.MutationObserver||m.WebKitMutationObserver,Ho=m.document,Xo=m.process,Jr=m.Promise,Zo=Tc(m,"queueMicrotask"),ei=Zo&&Zo.value;ei||(dt=function(){var e,t;for(oe&&(e=Xo.domain)&&e.exit();Pe;){t=Pe.fn,Pe=Pe.next;try{t()}catch(r){throw Pe?vt():gt=void 0,r}}gt=void 0,e&&e.enter()},Vo||oe||Nc||!qo||!Ho?Jr&&Jr.resolve?(Fr=Jr.resolve(void 0),Yo=Fr.then,vt=function(){Yo.call(Fr,dt)}):vt=oe?function(){Xo.nextTick(dt)}:function(){Rc.call(m,dt)}:(Lr=!0,Cr=Ho.createTextNode(""),new qo(dt).observe(Cr,{characterData:!0}),vt=function(){Cr.data=Lr=!Lr}));var Br,ti,ri,ni,oi=ei||function(e){var t={fn:e,next:void 0};gt&&(gt.next=t),Pe||(Pe=t,vt()),gt=t},Wt=function(e,t){if(J(e),L(t)&&t.constructor===e)return t;var r=nt.f(e);return(0,r.resolve)(t),r.promise},ii=$o.set,Lc=T("species"),ce="Promise",ai=Y.get,Cc=Y.set,Fc=Y.getterFor(ce),z=pe,ci=m.TypeError,Dr=m.document,Ur=m.process,si=ee("fetch"),Ve=nt.f,Jc=Ve,Bc=!!(Dr&&Dr.createEvent&&m.dispatchEvent),ui=typeof PromiseRejectionEvent=="function",yt=Lt(ce,function(){if(lr(z)===String(z)&&(Fe===66||!oe&&!ui))return!0;if(Fe>=51&&/native code/.test(z))return!1;var e=z.resolve(1),t=function(r){r(function(){},function(){})};return(e.constructor={})[Lc]=t,!(e.then(function(){})instanceof t)}),Dc=yt||!function(e,t){if(!Uo)return!1;var r=!1;try{var n={};n[Do]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(o){}return r}(function(e){z.all(e).catch(function(){})}),li=function(e){var t;return!(!L(e)||typeof(t=e.then)!="function")&&t},Gr=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;oi(function(){for(var n=e.value,o=e.state==1,i=0;r.length>i;){var c,a,s,u=r[i++],l=o?u.ok:u.fail,f=u.resolve,d=u.reject,g=u.domain;try{l?(o||(e.rejection===2&&Gc(e),e.rejection=1),l===!0?c=n:(g&&g.enter(),c=l(n),g&&(g.exit(),s=!0)),c===u.promise?d(ci("Promise-chain cycle")):(a=li(c))?a.call(c,f,d):f(c)):d(n)}catch(y){g&&!s&&g.exit(),d(y)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Uc(e)})}},fi=function(e,t,r){var n,o;Bc?((n=Dr.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),m.dispatchEvent(n)):n={promise:t,reason:r},!ui&&(o=m["on"+e])?o(n):e==="unhandledrejection"&&function(i,c){var a=m.console;a&&a.error&&(arguments.length===1?a.error(i):a.error(i,c))}("Unhandled promise rejection",r)},Uc=function(e){ii.call(m,function(){var t,r=e.facade,n=e.value;if(pi(e)&&(t=ot(function(){oe?Ur.emit("unhandledRejection",n,r):fi("unhandledrejection",r,n)}),e.rejection=oe||pi(e)?2:1,t.error))throw t.value})},pi=function(e){return e.rejection!==1&&!e.parent},Gc=function(e){ii.call(m,function(){var t=e.facade;oe?Ur.emit("rejectionHandled",t):fi("rejectionhandled",t,e.value)})},ze=function(e,t,r){return function(n){e(t,n,r)}},Qe=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,Gr(e,!0))},Kr=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw ci("Promise can't be resolved itself");var n=li(t);n?oi(function(){var o={done:!1};try{n.call(t,ze(Kr,o,e),ze(Qe,o,e))}catch(i){Qe(o,i,e)}}):(e.value=t,e.state=1,Gr(e,!1))}catch(o){Qe({done:!1},o,e)}}};yt&&(z=function(e){(function(r,n,o){if(!(r instanceof n))throw TypeError("Incorrect "+(o+" ")+"invocation")})(this,z,ce),te(e),Br.call(this);var t=ai(this);try{e(ze(Kr,t),ze(Qe,t))}catch(r){Qe(t,r)}},(Br=function(e){Cc(this,{type:ce,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(e,t,r){for(var n in t)K(e,n,t[n],r);return e}(z.prototype,{then:function(e,t){var r=Fc(this),n=Ve(jr(this,z));return n.ok=typeof e!="function"||e,n.fail=typeof t=="function"&&t,n.domain=oe?Ur.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=0&&Gr(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),ti=function(){var e=new Br,t=ai(e);this.promise=e,this.resolve=ze(Kr,t),this.reject=ze(Qe,t)},nt.f=Ve=function(e){return e===z||e===ri?new ti(e):Jc(e)}
20,typeof pe=="function"&&(ni=pe.prototype.then,K(pe.prototype,"then",function(e,t){var r=this;return new z(function(n,o){ni.call(r,n,o)}).then(e,t)},{unsafe:!0}),typeof si=="function"&&E({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return Wt(z,si.apply(m,arguments))}}))),E({global:!0,wrap:!0,forced:yt},{Promise:z}),Ge(z,ce,!1),Ro(ce),ri=ee(ce),E({target:ce,stat:!0,forced:yt},{reject:function(e){var t=Ve(this);return t.reject.call(void 0,e),t.promise}}),E({target:ce,stat:!0,forced:yt},{resolve:function(e){return Wt(this,e)}}),E({target:ce,stat:!0,forced:Dc},{all:function(e){var t=this,r=Ve(t),n=r.resolve,o=r.reject,i=ot(function(){var c=te(t.resolve),a=[],s=0,u=1;Ft(e,function(l){var f=s++,d=!1;a.push(void 0),u++,c.call(t,l).then(function(g){d||(d=!0,a[f]=g,--u||n(a))},o)}),--u||n(a)});return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=Ve(t),n=r.reject,o=ot(function(){var i=te(t.resolve);Ft(e,function(c){i.call(t,c).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}});var mt,Kc=F(function(e){function t(r,n,o,i,c,a,s){try{var u=r[a](s),l=u.value}catch(f){return void o(f)}u.done?n(l):Promise.resolve(l).then(i,c)}e.exports=function(r){return function(){var n=this,o=arguments;return new Promise(function(i,c){var a=r.apply(n,o);function s(l){t(a,i,c,s,u,"next",l)}function u(l){t(a,i,c,s,u,"throw",l)}s(void 0)})}},e.exports.default=e.exports,e.exports.__esModule=!0}),Vr=(mt=Kc)&&mt.__esModule&&Object.prototype.hasOwnProperty.call(mt,"default")?mt.default:mt,hi=et.f,Vc={}.toString,di=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],gi={f:function(e){return di&&Vc.call(e)=="[object Window]"?function(t){try{return hi(t)}catch(r){return di.slice()}}(e):hi(Z(e))}},vi={f:T},zc=D.f,Yt=function(e){var t=Ze.Symbol||(Ze.Symbol={});O(t,e)||zc(t,e,{value:vi.f(e)})},$t=De.forEach,Q=Pt("hidden"),yi=T("toPrimitive"),Qc=Y.set,mi=Y.getterFor("Symbol"),$=Object.prototype,W=m.Symbol,bt=ee("JSON","stringify"),bi=xe.f,be=D.f,wi=gi.f,Wc=kt.f,he=ve("symbols"),wt=ve("op-symbol
20s"),zr=ve("string-to-symbol-registry"),Qr=ve("symbol-to-string-registry"),Yc=ve("wks"),Wr=m.QObject,Yr=!Wr||!Wr.prototype||!Wr.prototype.findChild,$r=N&&j(function(){return ue(be({},"a",{get:function(){return be(this,"a",{value:7}).a}})).a!=7})?function(e,t,r){var n=bi($,t);n&&delete $[t],be(e,t,r),n&&e!==$&&be($,t,n)}:be,qr=function(e,t){var r=he[e]=ue(W.prototype);return Qc(r,{type:"Symbol",tag:e,description:t}),N||(r.description=t),r},Hr=Yn?function(e){return typeof e=="symbol"}:function(e){return Object(e)instanceof W},qt=function(e,t,r){e===$&&qt(wt,t,r),J(e);var n=Ee(t,!0);return J(r),O(he,n)?(r.enumerable?(O(e,Q)&&e[Q][n]&&(e[Q][n]=!1),r=ue(r,{enumerable:_e(0,!1)})):(O(e,Q)||be(e,Q,_e(1,{})),e[Q][n]=!0),$r(e,n,r)):be(e,n,r)},Si=function(e,t){J(e);var r=Z(t),n=ye(r).concat(Zr(r));return $t(n,function(o){N&&!Xr.call(r,o)||qt(e,o,r[o])}),e},Xr=function(e){var t=Ee(e,!0),r=Wc.call(this,t);return!(this===$&&O(he,t)&&!O(wt,t))&&(!(r||!O(this,t)||!O(he,t)||O(this,Q)&&this[Q][t])||r)},_i=function(e,t){var r=Z(e),n=Ee(t,!0);if(r!==$||!O(he,n)||O(wt,n)){var o=bi(r,n);return!o||!O(he,n)||O(r,Q)&&r[Q][n]||(o.enumerable=!0),o}},Oi=function(e){var t=wi(Z(e)),r=[];return $t(t,function(n){O(he,n)||O(Re,n)||r.push(n)}),r},Zr=function(e){var t=e===$,r=wi(t?wt:Z(e)),n=[];return $t(r,function(o){!O(he,o)||t&&!O($,o)||n.push(he[o])}),n};if(ie||(K((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,t=Xe(e),r=function(n){this===$&&r.call(wt,n),O(this,Q)&&O(this[Q],t)&&(this[Q][t]=!1),$r(this,t,_e(1,n))};return N&&Yr&&$r($,t,{configurable:!0,set:r}),qr(t,e)}).prototype,"toString",function(){return mi(this).tag}),K(W,"withoutSetter",function(e){return qr(Xe(e),e)}),kt.f=Xr,D.f=qt,xe.f=_i,et.f=gi.f=Oi,tt.f=Zr,vi.f=function(e){return qr(T(e),e)},N&&(be(W.prototype,"description",{configurable:!0,get:function(){return mi(this).description}}),K($,"propertyIsEnumerable",Xr,{unsafe:!0}))),E({global:!0,wrap:!0,forced:!ie,sham:!ie},{Symbol:W}),$t(ye(Yc),function(e){Yt(e)}),E({target:"Symbol",stat:!0,forced:!ie},{for:function(e){var t=String(e);if(O(zr,t))return zr[t];var r=W(t);return zr[t]=r,Qr[r]=t,r},keyFor:function(e){if(!Hr(e))throw TypeError(e+" is not a symbol");if(O(Qr,e))return Qr[e]},useSetter:function(){Yr=!0},useSimple:function(){Yr=!1}}),E({target:"Object",stat:!0,forced:!ie,sham:!N},{create:function(e,t){return t===void 0?ue(e):Si(ue(e),t)},defineProperty:qt,defineProperties:Si,getOwnPropertyDescriptor:_i}),E({target:"Object",stat:!0,forced:!ie},{getOwnPropertyNames:Oi,getOwnPropertySymbols:Zr}),E({target:"Object",stat:!0,forced:j(function(){tt.f(1)})},{getOwnPropertySymbols:function(e){return tt.f(le(e))}}),bt){var $c=!ie||j(function(){var e=W();return bt([e])!="[null]"||bt({a:e})!="{}"||bt(Object(e))!="{}"});E({target:"JSON",stat:!0,forced:$c},{stringify:function(e,t,r){for(var n,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=t,(L(t)||e!==void 0)&&!Hr(e))return Ae(t)||(t=function(c,a){if(typeof n=="function"&&(a=n.call(this,c,a)),!Hr(a))return a}),o[1]=t,bt.apply(null,o)}})}W.prototype[yi]||G(W.prototype,yi,W.prototype.valueOf),Ge(W,"Symbol"),Re[Q]=!0;var qc=D.f,de=m.Symbol;if(N&&typeof de=="function"&&(!("description"in de.prototype)||de().description!==void 0)){var Ei={},St=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),t=this instanceof St?new de(e):e===void 0?de():de(e);return e===""&&(Ei[t]=!0),t};Vn(St,de);var en=St.prototype=de.prototype;en.constructor=St;var Hc=en.toString,Xc=String(de("test"))=="Symbol(test)",Zc=/^Symbol\((.*)\)[^)]+$/;qc(en,"description",{configurable:!0,get:function(){var e=L(this)?this.valueOf():this,t=Hc.call(e);if(O(Ei,e))return"";var r=Xc?t.slice(7,-1):t.replace(Zc,"$1");return r===""?void 0:r}}),E({global:!0,forced:!0},{Symbol:St})}Yt("iterator");var tn=T("unscopables"),rn=Array.prototype;rn[tn]==null&&D.f(rn,tn,{configurable:!0,value:ue(null)});var Me,xi,ki,Ht=function(e){rn[tn][e]=!0},ji=!j(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Ii=Pt("IE_PROTO"),es=Object.prototype,We=ji?Object.getPrototypeOf:function(e){return e=le(e),O(e,Ii)?e[Ii]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?es:null},nn=T("iterator"),Ai=!1;[].keys&&("next"in(ki=[].keys())?(xi=We(We(ki)))!==Object.prototype&&(Me=xi):Ai=!0),(Me==null||j(function(){var e={};return Me[nn].call(e)!==e}))&&(Me={}),O(Me,nn)||G(Me,nn,function(){return this});var on={IteratorPrototype:Me,BUGGY_SAFARI_ITERATORS:Ai},ts=on.IteratorPrototype,rs=function(){return this},an=on.IteratorPrototype,cn=on.BUGGY_SAFARI_ITERATORS,_t=T("iterator"),ns=function(){return this},Pi=function(e,t,r,n,o,i,c){(function(w,C,R){var M=C+" Iterator";w.prototype=ue(ts,{next:_e(1,R)}),Ge(w,M,!1),Je[M]=rs})(r,t,n);var a,s,u=function(w){if(w===o&&y)return y;if(!cn&&w in d)return d[w];switch(w){case"keys":case"values":case"entries":return function(){return new r(this,w)}}return function(){return new r(this)}},l=t+" Iterator",f=!1,d=e.prototype,g=d[_t]||d["@@iterator"]||o&&d[o],y=!cn&&g||u(o),b=t=="Array"&&d.entries||g;return b&&(a=We(b.call(new e)),an!==Object.prototype&&a.next&&(We(a)!==an&&(st?st(a,an):typeof a[_t]!="function"&&G(a,_t,ns)),Ge(a,l,!0))),o=="values"&&g&&g.name!=="values"&&(f=!0,y=function(){return g.call(this)}),d[_t]!==y&&G(d,_t,y),Je[t]=y,o&&(s={values:u("values"),keys:u("keys"),entries:u("entries")},c||E({target:t,proto:!0,forced:cn||f},s)),s},os=Y.set,is=Y.getterFor("Array Iterator"),Ot=Pi(Array,"Array",function(e,t){os(this,{type:"Array Iterator",target:Z(e),index:0,kind:t})},function(){var e=is(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values");Je.Arguments=Je.Array,Ht("keys"),Ht("values"),Ht("entries");var as=go.charAt,cs=Y.set,ss=Y.getterFor("String Iterator");
20Pi(String,"String",function(e){cs(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=ss(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=as(r,n),t.index+=e.length,{value:e,done:!1})});var sn=T("iterator"),Mi=T("toStringTag"),un=Ot.values;for(var ln in vr){var Ni=m[ln],ge=Ni&&Ni.prototype;if(ge){if(ge[sn]!==un)try{G(ge,sn,un)}catch(e){ge[sn]=un}if(ge[Mi]||G(ge,Mi,ln),vr[ln]){for(var Ye in Ot)if(ge[Ye]!==Ot[Ye])try{G(ge,Ye,Ot[Ye])}catch(e){ge[Ye]=Ot[Ye]}}}}Yt("asyncIterator"),Yt("toStringTag"),Ge(m.JSON,"JSON",!0),Ge(Math,"Math",!0);var us=j(function(){We(1)});E({target:"Object",stat:!0,forced:us,sham:!ji},{getPrototypeOf:function(e){return We(le(e))}});var ls=D.f,fn=Function.prototype,fs=fn.toString,ps=/^\s*function ([^ (]*)/;N&&!("name"in fn)&&ls(fn,"name",{configurable:!0,get:function(){try{return fs.call(this).match(ps)[1]}catch(e){return""}}});var hs=[].reverse,Ti=[1,2];E({target:"Array",proto:!0,forced:String(Ti)===String(Ti.reverse())},{reverse:function(){return Ae(this)&&(this.length=this.length),hs.call(this)}});var ds=Ut("slice"),gs=T("species"),vs=[].slice,ys=Math.max;E({target:"Array",proto:!0,forced:!ds},{slice:function(e,t){var r,n,o,i=Z(this),c=Ie(i.length),a=Tt(e,c),s=Tt(t===void 0?c:t,c);if(Ae(i)&&(typeof(r=i.constructor)!="function"||r!==Array&&!Ae(r.prototype)?L(r)&&(r=r[gs])===null&&(r=void 0):r=void 0,r===Array||r===void 0))return vs.call(i,a,s);for(n=new(r===void 0?Array:r)(ys(s-a,0)),o=0;a<s;a++,o++)a in i&&io(n,o,i[a]);return n.length=o,n}}),E({global:!0},{globalThis:m});var $e=F(function(e){var t=function(r){var n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(h,p,v){h[p]=v.value},c=typeof Symbol=="function"?Symbol:{},a=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function l(h,p,v){return Object.defineProperty(h,p,{value:v,enumerable:!0,configurable:!0,writable:!0}),h[p]}try{l({},"")}catch(h){l=function(p,v,x){return p[v]=x}}function f(h,p,v,x){var _=p&&p.prototype instanceof y?p:y,P=Object.create(_.prototype),H=new kn(x||[]);return i(P,"_invoke",{value:rr(h,v,H)}),P}function d(h,p,v){try{return{type:"normal",arg:h.call(p,v)}}catch(x){return{type:"throw",arg:x}}}r.wrap=f;var g={};function y(){}function b(){}function w(){}var C={};l(C,a,function(){return this});var R=Object.getPrototypeOf,M=R&&R(R(jn([])));M&&M!==n&&o.call(M,a)&&(C=M);var A=w.prototype=y.prototype=Object.create(C);function se(h){["next","throw","return"].forEach(function(p){l(h,p,function(v){return this._invoke(p,v)})})}function re(h,p){var v;i(this,"_invoke",{value:function(x,_){function P(){return new p(function(H,Se){(function ne(nr,Vs,or,ir){var In=d(h[nr],h,Vs);if(In.type!=="throw"){var An=In.arg,xt=An.value;return xt&&typeof xt=="object"&&o.call(xt,"__await")?p.resolve(xt.__await).then(function(Te){ne("next",Te,or,ir)},function(Te){ne("throw",Te,or,ir)}):p.resolve(xt).then(function(Te){An.value=Te,or(An)},function(Te){return ne("throw",Te,or,ir)})}ir(In.arg)})(x,_,H,Se)})}return v=v?v.then(P,P):P()}})}function rr(h,p,v){var x="suspendedStart";return function(_,P){if(x==="executing")throw new Error("Generator is already running");if(x==="completed"){if(_==="throw")throw P;return ra()}for(v.method=_,v.arg=P;;){var H=v.delegate;if(H){var Se=q(H,v);if(Se){if(Se===g)continue;return Se}}if(v.method==="next")v.sent=v._sent=v.arg;else if(v.method==="throw"){if(x==="suspendedStart")throw x="completed",v.arg;v.dispatchException(v.arg)}else v.method==="return"&&v.abrupt("return",v.arg);x="executing";var ne=d(h,p,v);if(ne.type==="normal"){if(x=v.done?"completed":"suspendedYield",ne.arg===g)continue;return{value:ne.arg,done:v.done}}ne.type==="throw"&&(x="completed",v.method="throw",v.arg=ne.arg)}}}function q(h,p){var v=p.method,x=h.iterator[v];if(x===void 0)return p.delegate=null,v==="throw"&&h.iterator.return&&(p.method="return",p.arg=void 0,q(h,p),p.method==="throw")||v!=="return"&&(p.method="throw",p.arg=new TypeError("The iterator does not provide a '"+v+"' method")),g;var _=d(x,h.iterator,p.arg);if(_.type==="throw")return p.method="throw",p.arg=_.arg,p.delegate=null,g;var P=_.arg;return P?P.done?(p[h.resultName]=P.value,p.next=h.nextLoc,p.method!=="return"&&(p.method="next",p.arg=void 0),p.delegate=null,g):P:(p.method="throw",p.arg=new TypeError("iterator result is not an object"),p.delegate=null,g)}function En(h){var p={tryLoc:h[0]};1 in h&&(p.catchLoc=h[1]),2 in h&&(p.finallyLoc=h[2],p.afterLoc=h[3]),this.tryEntries.push(p)}function xn(h){var p=h.completion||{};p.type="normal",delete p.arg,h.completion=p}
20function kn(h){this.tryEntries=[{tryLoc:"root"}],h.forEach(En,this),this.reset(!0)}function jn(h){if(h){var p=h[a];if(p)return p.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var v=-1,x=function _(){for(;++v<h.length;)if(o.call(h,v))return _.value=h[v],_.done=!1,_;return _.value=void 0,_.done=!0,_};return x.next=x}}return{next:ra}}function ra(){return{value:void 0,done:!0}}return b.prototype=w,i(A,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,u,"GeneratorFunction"),r.isGeneratorFunction=function(h){var p=typeof h=="function"&&h.constructor;return!!p&&(p===b||(p.displayName||p.name)==="GeneratorFunction")},r.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,w):(h.__proto__=w,l(h,u,"GeneratorFunction")),h.prototype=Object.create(A),h},r.awrap=function(h){return{__await:h}},se(re.prototype),l(re.prototype,s,function(){return this}),r.AsyncIterator=re,r.async=function(h,p,v,x,_){_===void 0&&(_=Promise);var P=new re(f(h,p,v,x),_);return r.isGeneratorFunction(p)?P:P.next().then(function(H){return H.done?H.value:P.next()})},se(A),l(A,u,"Generator"),l(A,a,function(){return this}),l(A,"toString",function(){return"[object Generator]"}),r.keys=function(h){var p=Object(h),v=[];for(var x in p)v.push(x);return v.reverse(),function _(){for(;v.length;){var P=v.pop();if(P in p)return _.value=P,_.done=!1,_}return _.done=!0,_}},r.values=jn,kn.prototype={constructor:kn,reset:function(h){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(xn),!h)for(var p in this)p.charAt(0)==="t"&&o.call(this,p)&&!isNaN(+p.slice(1))&&(this[p]=void 0)},stop:function(){this.done=!0;var h=this.tryEntries[0].completion;if(h.type==="throw")throw h.arg;return this.rval},dispatchException:function(h){if(this.done)throw h;var p=this;function v(ne,nr){return P.type="throw",P.arg=h,p.next=ne,nr&&(p.method="next",p.arg=void 0),!!nr}for(var x=this.tryEntries.length-1;x>=0;--x){var _=this.tryEntries[x],P=_.completion;if(_.tryLoc==="root")return v("end");if(_.tryLoc<=this.prev){var H=o.call(_,"catchLoc"),Se=o.call(_,"finallyLoc");if(H&&Se){if(this.prev<_.catchLoc)return v(_.catchLoc,!0);if(this.prev<_.finallyLoc)return v(_.finallyLoc)}else if(H){if(this.prev<_.catchLoc)return v(_.catchLoc,!0)}else{if(!Se)throw new Error("try statement without catch or finally");if(this.prev<_.finallyLoc)return v(_.finallyLoc)}}}},abrupt:function(h,p){for(var v=this.tryEntries.length-1;v>=0;--v){var x=this.tryEntries[v];if(x.tryLoc<=this.prev&&o.call(x,"finallyLoc")&&this.prev<x.finallyLoc){var _=x;break}}_&&(h==="break"||h==="continue")&&_.tryLoc<=p&&p<=_.finallyLoc&&(_=null);var P=_?_.completion:{};return P.type=h,P.arg=p,_?(this.method="next",this.next=_.finallyLoc,g):this.complete(P)},complete:function(h,p){if(h.type==="throw")throw h.arg;return h.type==="break"||h.type==="continue"?this.next=h.arg:h.type==="return"?(this.rval=this.arg=h.arg,this.method="return",this.next="end"):h.type==="normal"&&p&&(this.next=p),g},finish:function(h){for(var p=this.tryEntries.length-1;p>=0;--p){var v=this.tryEntries[p];if(v.finallyLoc===h)return this.complete(v.completion,v.afterLoc),xn(v),g}},catch:function(h){for(var p=this.tryEntries.length-1;p>=0;--p){var v=this.tryEntries[p];if(v.tryLoc===h){var x=v.completion;if(x.type==="throw"){var _=x.arg;xn(v)}return _}}throw new Error("illegal catch attempt")},delegateYield:function(h,p,v){return this.delegate={iterator:jn(h),resultName:p,nextLoc:v},this.method==="next"&&(this.arg=void 0),g}},r}(e.exports);try{regeneratorRuntime=t}catch(r){typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}),ms=!!pe&&j(function(){pe.prototype.finally.call({then:function(){}},function(){})});E({target:"Promise",proto:!0,real:!0,forced:ms},{finally:function(e){var t=jr(this,ee("Promise")),r=typeof e=="function";return this.then(r?function(n){return Wt(t,e()).then(function(){return n})}:e,r?function(n){return Wt(t,e()).then(function(){throw n})}:e)}}),typeof pe!="function"||pe.prototype.finally||K(pe.prototype,"finally",ee("Promise").prototype.finally);var bs=De.find,Ri=!0;"find"in[]&&Array(1).find(function(){Ri=!1}),E({target:"Array",proto:!0,forced:Ri},{find:function(e){return bs(this,e,arguments.length>1?arguments[1]:void 0)}}),Ht("find");var pn=[],Li=pn.sort,ws=j(function(){pn.sort(void 0)}),Ss=j(function(){pn.sort(null)}
20),_s=Bt("sort");E({target:"Array",proto:!0,forced:ws||!Ss||!_s},{sort:function(e){return e===void 0?Li.call(le(this)):Li.call(le(this),te(e))}});var Os=De.map,Es=Ut("map");E({target:"Array",proto:!0,forced:!Es},{map:function(e){return Os(this,e,arguments.length>1?arguments[1]:void 0)}});var hn=Date.prototype,xs=hn.toString,ks=hn.getTime;function Xt(e,t){return e}new Date(NaN)+""!="Invalid Date"&&K(hn,"toString",function(){var e=ks.call(this);return e==e?xs.call(this):"Invalid Date"});var Zt="[	\n\v\f\r                 \u2028\u2029\uFEFF]",js=RegExp("^"+Zt+Zt+"*"),Is=RegExp(Zt+Zt+"*$"),dn=function(e){return function(t){var r=String(Oe(t));return 1&e&&(r=r.replace(js,"")),2&e&&(r=r.replace(Is,"")),r}},As={start:dn(1),end:dn(2),trim:dn(3)},Ps=et.f,Ms=xe.f,Ns=D.f,Ts=As.trim,we=m.Number,er=we.prototype,Rs=X(ue(er))=="Number",Ci=function(e){var t,r,n,o,i,c,a,s,u=Ee(e,!1);if(typeof u=="string"&&u.length>2){if((t=(u=Ts(u)).charCodeAt(0))===43||t===45){if((r=u.charCodeAt(2))===88||r===120)return NaN}else if(t===48){switch(u.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+u}for(c=(i=u.slice(2)).length,a=0;a<c;a++)if((s=i.charCodeAt(a))<48||s>o)return NaN;return parseInt(i,n)}}return+u};if(Lt("Number",!we(" 0o1")||!we("0b1")||we("+0x1"))){for(var tr,Ne=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof Ne&&(Rs?j(function(){er.valueOf.call(r)}):X(r)!="Number")?Mo(new we(Ci(t)),r,Ne):Ci(t)},Fi=N?Ps(we):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),gn=0;Fi.length>gn;gn++)O(we,tr=Fi[gn])&&!O(Ne,tr)&&Ns(Ne,tr,Ms(we,tr));Ne.prototype=er,er.constructor=Ne,K(m,"Number",Ne)}var Ls=De.filter,Cs=Ut("filter");E({target:"Array",proto:!0,forced:!Cs},{filter:function(e){return Ls(this,e,arguments.length>1?arguments[1]:void 0)}});var Fs=De.some,Js=Bt("some");E({target:"Array",proto:!0,forced:!Js},{some:function(e){return Fs(this,e,arguments.length>1?arguments[1]:void 0)}}),E({target:"Array",stat:!0},{isArray:Ae});var qe={info:function(e){console.info(e)},warn:function(e){console.warn(e)},log:function(e){console.log(e)}},Ji=Object.prototype,Bs=Ji.hasOwnProperty,Bi=Ji.toString,Et={hasOwnProp:function(e,t){return!!this.isObject(e)&&Bs.call(e,t)},isEmpty:function(e){return e==null||this.getProLen(e)===0},getType:function(e){return Bi.call(e).match(/\[object (\w+)\]/)[1]},getProLen:function(e){var t=0;return this.isObject(e)&&(t=Object.keys(e).length),t},verCompare:function(e,t){if(e===t)return 0;for(var r=e.toString().split("."),n=t.toString().split(".");r.length<n.length;)r.push("0");for(;n.length<r.length;)n.push("0");for(var o=0;o<r.length;){var i=Number(r[o]),c=Number(n[o]);if(c>i)return-1;if(c<i)return 1;o+=1}return 0},warn:function(e){qe.warn("[via]: "+e)},error:function(e){qe.warn("[via]: "+e)}};function Di(e,t){return t===void 0||t==="*"||String(t).split("|").map(function(r){var n=r.split("-"),o="";switch(n.length){case 1:o=n[0];break;case 2:o={min:n[0],max:n[1]}}return o}).filter(function(r){return r}).some(function(r){if(Et.isString(r))return r===e;if(Et.isObject(r)){var n=r.min,o=r.max,i=!0;return n&&(i=i&&Et.verCompare(e,n)!==-1),o&&(i=i&&Et.verCompare(e,o)!==1),i}return!1})}function Ui(e,t,r){if(Array.isArray(t))return t.some(function(b){return Ui(e,b,r)});var n=function(b){var w=b.appid,C=b.appId,R=b.container,M=b.os,A=b.version,se=b.sdkId,re=b.sdkVersion;return{s_aid:Number(w)||Number(C),s_sid:se,s_container:R,s_os:M,s_version:A,s_sversion:re}}(e),o=n.s_aid,i=n.s_sid,c=n.s_os,a=n.s_container,s=n.s_version,u=n.s_sversion,l=function(b){var w=b.appid,C=b.container,R=b.os,M=b.version,A=b.hostId;return{t_hid:w||A,t_container:C,t_os:R,t_version:M}}(t),f=l.t_hid,d=l.t_os,g=l.t_container,y=l.t_version;if(r==="sdk"&&!i)return!1;if(r==="sdk"){if(f&&f!=="*"&&f!==i)return!1}else if(f&&f!=="*"&&f!==o)return!1;if(g!=="*"&&g!==a||d!=="*"&&d!==c)return!1;if(r==="sdk"){if(y&&y!=="*"&&!Di(u,y))return!1}else if(y&&y!=="*"&&!Di(s,y))return!1;return!0}["Number","Date","Object","String","Function","Boolean","Null","Undefined","Array"].forEach(function(e){Et["is"+e]=function(t){return Bi.call(t)==="[object "+e+"]"}});var Gi=typeof window<"u",Ds=function(){function e(r){this.bridge=r.bridge,this.container=r.container||"web",this.os=r.os,this.options={},this.env=null,this.context=null,this.monitor=r.monitor,this.onInvokeStart=null,this.onInvokeEnd=null,this.logDisabled=!1}var t=e.prototype;return t.init=function(r){var n=this,o=r.getRuntimeEnv;this.getEnv=new Promise(function(i,c){o({jsb:n.bridge,bridge:n.bridge,container:n.container,os:n.os},function(a,s){a?c(a):i(Object.assign({container:n.container,os:n.os},s))})}).finally(function(){})},t.on=function(r,n){var o=this;this.container==="lynx"&&(this.bridge.on=this.bridge.on.bind(this.context));var i=this.bridge.on(r,function(c){n.length<2?n(c):n(null,c)});return{remove:function(){return o.bridge.off(r,i)}}},t.getRuleForMethod=function(r,n){return n===void 0&&(n=[]),n.sort(function(o,i){return o.type==="sdk"?-1:1}).find(function(o){return Ui(r,o.target,o.type)})},t.transformConfig=function(){var r=Vr($e.mark(function n(o,i,c,a){var s,u,l,f,d,g;return $e.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(a===void 0&&(a="call"),y.t0=this.env,y.t0){y.next=6;break}return y.next=5,this.getEnv;case 5:y.t0=y.sent;case 6:return s=y.t0,u=this.getRuleForMethod(s,c)||{},l=u.map&&u.map.method||o,u.map&&u.map.module&&a!=="on"?l=u.map:u.map&&u.map.method&&(l=u.map.method),f=u.preprocess?u.preprocess(i,{env:s,bridge:this.bridge,logger:qe}):i,this.logDisabled===!1&&(d="[Queqiao Call Log: "+o+"]",g={hitRule:u.map||u.interceptor?u:'Rule not found, please check value of "appId, appVersion" in the parameter "env" or hook "getRuntimeEnv" in the Queqiao platform; ',rules:c,env:s,sdkInfo:{method:o,params:i},jsbInfo:u.map?{method:l,params:f}:null,type:a},u.map||u.interceptor?console.log(d,g):console.warn(d,g)),y.abrupt("return",{realMethod:l,realParams:f,rule:u,env:s});case 13:case"end":return y.stop()}},n,this)}));return function(n,o,i,c){return r.apply(this,arguments)}}(),t.addInternalBridge=function(r){for(var n in r)this[n]=r[n]},t.globalConfig=function(r){var n=this;r===void 0&&(r={});var o=r,i=o.env,c=o.context,a=o.monitor,s=o.onInvokeStart,u=o.onInvokeEnd,l=o.disableLog,f=o.options;this.logDisabled=!!l;var d={container:this.container,os:this.os};this.container==="lynx"&&c&&(this.bridge.on=this.bridge.on.bind(c),this.bridge.off=this.bridge.off.bind(c)),i&&(this.env=Object.assign({},d,i));var g={context:c,monitor:a,onInvokeStart:s,onInvokeEnd:u,options:f};Object.keys(g).forEach(function(y){r[y]!==void 0&&(n[y]=r[y])})},t.flattenResponse=function(r,n){return n.os==="ios"&&n.container==="web"&&window.JS2NativeBridge&&window.JS2NativeBridge._invokeMethod?Object.assign({code:r.code},r.data):r},t.caniuse=function(r,n){return!!this.getRuleForMethod(Object.assign({container:this.container,os:this.os},n),r.rules)},t.pipeCall=function(){var r=Vr($e.mark(function n(o,i){var c,a,s,u,l,f,d,g,y,b,w,C,R,M=this;return $e.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(c=o.method,a=o.params,s=o.callback,u=o.rules,l=o.options,i===void 0&&(i=!0),Gi||this.container!=="web"){A.next=4;break}return A.abrupt("return",Promise.resolve());case 4:return f={method:c,params:a},this.onInvokeStart&&(f=this.onInvokeStart(f)),A.next=8,this.transformConfig(c,a,u);case 8:if(d=A.sent,g=d.realMethod,y=d.realParams,b=d.rule,w=d.env,C=b.interceptor,R=new Date().getTime(),!C||typeof C!="function"){A.next=17;break}return A.abrupt("return",new Promise(function(se){C(Object.assign({params:a,bridge:M.bridge},w),function(re){se(re),typeof s=="function"&&s(re)})}
20));case 17:if(!i){A.next=21;break}return A.abrupt("return",new Promise(function(se,re){M.bridge.call(g,y,function(rr){var q=rr;try{Xt&&(q=Xt(q)),b.postprocess&&typeof b.postprocess=="function"&&(q=b.postprocess(q,{method:c,params:a,env:w,logger:qe,type:"call"}))}catch(En){re(En)}typeof s=="function"&&(s.length<2?s(q):s(null,q)),se(q),M.onInvokeEnd&&M.onInvokeEnd({response:q,config:f}),typeof M.monitor=="function"&&M.monitor(Object.assign({bridge:M.bridge},w),{method:c,realMethod:g,params:a,realParams:y,res:q,realRes:rr,rules:u,rule:b,startTimestamp:R})},Object.assign(M.options,l))}));case 21:return A.abrupt("return",this.bridge.call(g,y,function(se){b.postprocess&&typeof b.postprocess=="function"&&b.postprocess(se,{params:a,env:w,logger:qe,type:"call"})},Object.assign(this.options,l)));case 22:case"end":return A.stop()}},n,this)}));return function(n,o){return r.apply(this,arguments)}}(),t.pipeEvent=function(r){var n=this,o=r.event,i=r.callback,c=r.rules,a=r.once;if(!Gi&&this.container==="web")return{remove:function(){},listener:i};var s=this.transformConfig(o,null,c,"on").then(function(u){var l=u.realMethod,f=u.rule,d=u.env,g=f.interceptor;if(g&&typeof g=="function")return g(Object.assign({bridge:n.bridge},d),function(b){typeof i=="function"&&i(b)});var y=n.bridge.on(l,function(b){var w=b;Xt&&(w=Xt(w)),f.postprocess&&typeof f.postprocess=="function"&&(w=f.postprocess(w,{event:o,realMethod:l,env:d,logger:qe,type:"on"})),f.postprocess?w!==null&&i(w):i(w)},a);return[l,y]});return{remove:function(){s.then(function(u){var l=u[0],f=u[1];n.bridge.off(l,f)})},listener:i}},e}(),vn=typeof window<"u",Us=vn?window.navigator.userAgent:"",Gs=/(Android);?\s+([\d.]+)?/i.test(Us),B=new Ds({bridge:vn?window.JSBridge:{},container:"web",os:Gs?"android":"ios",monitor:function(e,t){console.log("[鹊桥 SDK Monitor]: ",t)}});B.init({getRuntimeEnv:vn?function(e,t){if(console.log("getRuntimeEnv"),console.log("window",window),typeof window>"u")return{};var r=navigator.userAgent.toLowerCase(),n=e.os,o={android:new RegExp("app_version/","i"),ios:new RegExp("aweme_","i")};try{var i=r.split(o[n])[1];console.log("version",i),i&&typeof i=="string"?(console.log("UA识别成功"),i=i.split(" ")[0],i=i.match(/[0-9\.]+/)[0],console.log("version is",i),t(null,{appid:990003,version:i})):(console.log("UA识别失败"),e.bridge.call("x.getAppInfo",{},function(c){c.code===1?(console.log("data",c),t(null,{appid:990003,version:c.data.appVersion})):t(new Error("JSB调用失败 x.getAppInfo"))}))}catch(c){console.log("未获取到抖音客户端信息")}}:function(e,t){t(null,{})}});var Ki=[{target:[{hostId:990003,os:"*",version:"10.4.0-",container:"web"}],map:{method:"openConfig"},preprocess:function(e,t){var r=t||{},n=r.bridge;if(function(i,c){if(i===c)return 0;for(var a=i.toString().split("."),s=c.toString().split(".");a.length<s.length;)a.push("0");for(;s.length<a.length;)s.push("0");for(var u=0;u<a.length;){var l=Number(a[u]),f=Number(s[u]);if(f>l)return-1;if(f<l)return 1;if(f<l)return 0;u+=1}return 0}(r.env.version,"10.4.0")<0)return n.trigger("openConfigError",{status_code:-1,status_msg:"不支持的抖音客户端版本"}),{};var o="{}";try{o=JSON.stringify(e.params)}catch(i){}return{config_json:o}}}];function yn(e,t,r){return B.pipeCall({method:"config",params:e,callback:t,rules:Ki,options:r},!1)}yn.rules=Ki;var Vi=[{target:[{hostId:990003,os:"*",version:"0.0.0-",container:"web"}],map:{method:"openConfigError"}}];function mn(e,t){return B.pipeEvent({event:"error",callback:e,rules:Vi,once:t})}mn.rules=Vi;var zi=[{target:[{hostId:990003,os:"*",version:"0.0.0-",container:"web"}],map:{method:"openConfigSuccess"}}];function bn(e,t){return B.pipeEvent({event:"ready",callback:e,rules:zi,once:t})}bn.rules=zi;var Qi=[{target:[{hostId:990003,os:"*",version:"10.8.0-",container:"web"}],map:{method:"showOpenAuth"},preprocess:function(e,t){return e.params},postprocess:function(e,t){e=e.data||e;var r=t.params,n=r.success,o=r.error,i=e,c=i.response,a=i.errorCode,s=i.errorMsg,u=(c||{}).ticket;u?typeof n=="function"&&n({code:0,msg:"success",ticket:u,response:c}):typeof o=="function"&&o({code:a,msg:s,res:e})}}];function wn(e,t,r){return B.pipeCall({method:"showOpenAuth",params:e,callback:t,rules:Qi,options:r},!1)}wn.rules=Qi;var Wi,Yi=[{target:[{hostId:990003,os:"*",version:"0.0.0-",container:"web"},{hostId:990003,os:"*",version:"0.0.0-",container:"lynx"}],map:{method:"chooseAvatar"}}];function Sn(e,t,r){return B.pipeCall({method:"chooseAvatar",params:e,callback:t,rules:Yi,options:r},!1)}(function(e){e[e.Success=1]="Success",e[e.Failed=0]="Failed"})(Wi||(Wi={})),Sn.rules=Yi;var $i=[{target:[{hostId:990003,os:"ios",version:"21.4.0-",container:"web"},{hostId:990003,os:"android",version:"21.1.0-",container:"web"},{hostId:990003,os:"ios",version:"21.4.0-",container:"lynx"},{hostId:990003,os:"android",version:"21.1.0-",container:"lynx"}],map:{method:"uploadAvatar"}}];function _n(e,t,r){return B.pipeCall({method:"uploadAvatar",params:e,callback:t,rules:$i,options:r},!1)}_n.rules=$i;var qi=[{target:[{hostId:990003,os:"*",version:"0.0.0-",container:"web"}],map:{method:"relationshipAuthCallback"}}];function On(e,t,r){return B.pipeCall({method:"relationshipAuthCallback",params:e,callback:t,rules:qi,options:r},!1)}On.rules=qi;var Hi=B.bridge,Xi=B.on.bind(B),Zi={caniuse:B.caniuse.bind(B)},ea=B.globalConfig.bind(B),ta={config:yn,error:mn,ready:bn,showOpenAuth:wn,chooseAvatar:Sn,uploadAvatar:_n,relationshipAuthCallback:On,bridge:Hi,on:Xi,util:Zi,globalConfig:ea},Ks=(function(e,t){var r=String(e).match(/^(\w+)\.(\w+)$/);
20if(!r)throw new Error("[bridge]: invalid method id '"+e+"'");var n=r[1],o=r[2];this[n]=this[n]||{};var i=t.rules,c=i===void 0?[]:i,a=t.type,s=a===void 0?"call":a;this[n][o]=s==="call"?function(u,l){return B.pipeCall({method:o,params:u,callback:l,rules:c})}:function(){var u=Vr($e.mark(function l(f,d){return $e.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.abrupt("return",B.pipeEvent({event:o,callback:f,rules:c,once:d}));case 1:case"end":return g.stop()}},l)}));return function(l,f){return u.apply(this,arguments)}}()}).bind(ta);k.bridge=Hi,k.chooseAvatar=Sn,k.config=yn,k.default=ta,k.error=mn,k.globalConfig=ea,k.on=Xi,k.ready=bn,k.register=Ks,k.relationshipAuthCallback=On,k.showOpenAuth=wn,k.uploadAvatar=_n,k.util=Zi,Object.defineProperty(k,"__esModule",{value:!0})});const ar=window.douyin_open,ca=aa(!1),Mn=aa(),Hs=()=>{let k={android:new RegExp("app_version/","i"),ios:new RegExp("aweme_","i")},I=navigator.userAgent,F=/(Android);?\s+([\d.]+)?/i.test(I)?"android":"ios";return parseFloat(I.split(k[F])[1])>10.4},Xs=async k=>{var I=axios({method:"post",url:"/api/douyin/developer/jssdk",data:{url:encodeURIComponent(k)}}).then(function(F){return F.data}).catch(function(F){return console.log(F),!1});return I},Zs=(k,I,F)=>{axios({method:"post",url:"/api/douyin/developer/storeSdkOauth",data:{code:k,state:I},headers:{Authorization:"Bearer fvuwGBYPkLSSKNyvqIrPx2jX2Cgw2Dr6QNMvvtdP"}}).then(function(U){var m=U.data.code;m==1?location.href=F:location.href=route("mobile")}).catch(function(U){console.log(U),location.href=route("mobile")})},eu=async k=>{var I=await Xs(k);Mn.value=I.client_key,ar.config({params:{client_key:Mn.value,signature:I.signature,timestamp:String(I.timestamp),nonce_str:I.nonce_str,url:k}}),ar.ready(()=>{ca.value=!0,console.log("SDK Config Ready")}),ar.error(F=>{console.log("SDK Config Error"),console.log(JSON.stringify(F))})},ia=(k,I,F)=>{ca.value&&ar.showOpenAuth({params:{client_key:Mn.value,scopes:JSON.parse(k),response_type:"code"},success:U=>{console.log("Auth Success"),Zs(U.ticket,I,F)},error:U=>{console.log("Auth Error"),console.log(JSON.stringify(U))}})},tu={key:0,class:"w-auto px-10 h-screen flex flex-row justify-center items-center content-center"},ru={class:"w-full pb-10"},nu=["src"],au={__name:"OauthApp",props:{title:String,description:String,url:String,scope:String,curUrl:String,imageUrl:String,redirectUrl:String,state:String,oauthType:{type:String,default:"web"}},setup(k){const I=k,F=async()=>{await eu(I.curUrl),setTimeout(()=>{ia(I.scope,I.state,I.redirectUrl)},1e3)};return Qs(()=>{I.oauthType=="dysdk"?Hs()?F():alert("您的抖音版本太低,请升级后再试,谢谢!"):location.href=I.url}),(U,m)=>(oa(),na(qs,null,[Ws(zs,{title:k.title,description:k.description},null,8,["title","description"]),I.oauthType=="dysdk"?(oa(),na("div",tu,[Pn("div",ru,[Pn("img",{class:"w-full",src:k.imageUrl},null,8,nu),Pn("button",{onClick:m[0]||(m[0]=j=>Ys(ia)(I.scope,I.state,I.redirectUrl)),class:"w-full mt-4 h-[60px] leading-[60px] text-center align-middle text-white text-lg bg-red-500 rounded-2xl"}," 授权 ")])])):$s("",!0)],64))}};export{au as default};

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