UNPKG

quarantiner

Version:

A script isolator that runs scripts inside a sandbox iframe

1 lines 58.5 kB
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).quarantiner={})}(this,(function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=function(t){return t&&t.Math===Math&&t},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")(),o={},i=function(t){try{return!!t()}catch(e){return!0}},u=!i((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),a=c,f=Function.prototype.call,s=a?f.bind(f):function(){return f.apply(f,arguments)},l={},p={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,v=d&&!p.call({1:2},1);l.f=v?function(t){var e=d(this,t);return!!e&&e.enumerable}:p;var h,y,g=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},b=c,m=Function.prototype,w=m.call,S=b&&m.bind.bind(w,w),O=b?S:function(t){return function(){return w.apply(t,arguments)}},x=O,E=x({}.toString),j=x("".slice),P=function(t){return j(E(t),8,-1)},R=i,T=P,A=Object,I=O("".split),C=R((function(){return!A("z").propertyIsEnumerable(0)}))?function(t){return"String"===T(t)?I(t,""):A(t)}:A,k=function(t){return null==t},N=k,L=TypeError,D=function(t){if(N(t))throw new L("Can't call method on "+t);return t},M=C,F=D,_=function(t){return M(F(t))},z="object"==typeof document&&document.all,W=void 0===z&&void 0!==z?function(t){return"function"==typeof t||t===z}:function(t){return"function"==typeof t},B=W,G=function(t){return"object"==typeof t?null!==t:B(t)},U=r,V=W,K=function(t,e){return arguments.length<2?(n=U[t],V(n)?n:void 0):U[t]&&U[t][e];var n},q=O({}.isPrototypeOf),H=r.navigator,$=H&&H.userAgent,Q=$?String($):"",X=r,Y=Q,J=X.process,Z=X.Deno,tt=J&&J.versions||Z&&Z.version,et=tt&&tt.v8;et&&(y=(h=et.split("."))[0]>0&&h[0]<4?1:+(h[0]+h[1])),!y&&Y&&(!(h=Y.match(/Edge\/(\d+)/))||h[1]>=74)&&(h=Y.match(/Chrome\/(\d+)/))&&(y=+h[1]);var nt=y,rt=nt,ot=i,it=r.String,ut=!!Object.getOwnPropertySymbols&&!ot((function(){var t=Symbol("symbol detection");return!it(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&rt&&rt<41})),ct=ut&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,at=K,ft=W,st=q,lt=Object,pt=ct?function(t){return"symbol"==typeof t}:function(t){var e=at("Symbol");return ft(e)&&st(e.prototype,lt(t))},dt=String,vt=function(t){try{return dt(t)}catch(e){return"Object"}},ht=W,yt=vt,gt=TypeError,bt=function(t){if(ht(t))return t;throw new gt(yt(t)+" is not a function")},mt=bt,wt=k,St=function(t,e){var n=t[e];return wt(n)?void 0:mt(n)},Ot=s,xt=W,Et=G,jt=TypeError,Pt={exports:{}},Rt=r,Tt=Object.defineProperty,At=function(t,e){try{Tt(Rt,t,{value:e,configurable:!0,writable:!0})}catch(n){Rt[t]=e}return e},It=r,Ct=At,kt="__core-js_shared__",Nt=Pt.exports=It[kt]||Ct(kt,{});(Nt.versions||(Nt.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Lt=Pt.exports,Dt=Lt,Mt=function(t,e){return Dt[t]||(Dt[t]=e||{})},Ft=D,_t=Object,zt=function(t){return _t(Ft(t))},Wt=zt,Bt=O({}.hasOwnProperty),Gt=Object.hasOwn||function(t,e){return Bt(Wt(t),e)},Ut=O,Vt=0,Kt=Math.random(),qt=Ut(1..toString),Ht=function(t){return"Symbol("+(void 0===t?"":t)+")_"+qt(++Vt+Kt,36)},$t=Mt,Qt=Gt,Xt=Ht,Yt=ut,Jt=ct,Zt=r.Symbol,te=$t("wks"),ee=Jt?Zt.for||Zt:Zt&&Zt.withoutSetter||Xt,ne=function(t){return Qt(te,t)||(te[t]=Yt&&Qt(Zt,t)?Zt[t]:ee("Symbol."+t)),te[t]},re=s,oe=G,ie=pt,ue=St,ce=function(t,e){var n,r;if("string"===e&&xt(n=t.toString)&&!Et(r=Ot(n,t)))return r;if(xt(n=t.valueOf)&&!Et(r=Ot(n,t)))return r;if("string"!==e&&xt(n=t.toString)&&!Et(r=Ot(n,t)))return r;throw new jt("Can't convert object to primitive value")},ae=TypeError,fe=ne("toPrimitive"),se=function(t,e){if(!oe(t)||ie(t))return t;var n,r=ue(t,fe);if(r){if(void 0===e&&(e="default"),n=re(r,t,e),!oe(n)||ie(n))return n;throw new ae("Can't convert object to primitive value")}return void 0===e&&(e="number"),ce(t,e)},le=pt,pe=function(t){var e=se(t,"string");return le(e)?e:e+""},de=G,ve=r.document,he=de(ve)&&de(ve.createElement),ye=function(t){return he?ve.createElement(t):{}},ge=ye,be=!u&&!i((function(){return 7!==Object.defineProperty(ge("div"),"a",{get:function(){return 7}}).a})),me=u,we=s,Se=l,Oe=g,xe=_,Ee=pe,je=Gt,Pe=be,Re=Object.getOwnPropertyDescriptor;o.f=me?Re:function(t,e){if(t=xe(t),e=Ee(e),Pe)try{return Re(t,e)}catch(n){}if(je(t,e))return Oe(!we(Se.f,t,e),t[e])};var Te={},Ae=u&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ie=G,Ce=String,ke=TypeError,Ne=function(t){if(Ie(t))return t;throw new ke(Ce(t)+" is not an object")},Le=u,De=be,Me=Ae,Fe=Ne,_e=pe,ze=TypeError,We=Object.defineProperty,Be=Object.getOwnPropertyDescriptor,Ge="enumerable",Ue="configurable",Ve="writable";Te.f=Le?Me?function(t,e,n){if(Fe(t),e=_e(e),Fe(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ve in n&&!n[Ve]){var r=Be(t,e);r&&r[Ve]&&(t[e]=n.value,n={configurable:Ue in n?n[Ue]:r[Ue],enumerable:Ge in n?n[Ge]:r[Ge],writable:!1})}return We(t,e,n)}:We:function(t,e,n){if(Fe(t),e=_e(e),Fe(n),De)try{return We(t,e,n)}catch(r){}if("get"in n||"set"in n)throw new ze("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Ke=Te,qe=g,He=u?function(t,e,n){return Ke.f(t,e,qe(1,n))}:function(t,e,n){return t[e]=n,t},$e={exports:{}},Qe=u,Xe=Gt,Ye=Function.prototype,Je=Qe&&Object.getOwnPropertyDescriptor,Ze=Xe(Ye,"name"),tn={EXISTS:Ze,PROPER:Ze&&"something"===function(){}.name,CONFIGURABLE:Ze&&(!Qe||Qe&&Je(Ye,"name").configurable)},en=W,nn=Lt,rn=O(Function.toString);en(nn.inspectSource)||(nn.inspectSource=function(t){return rn(t)});var on,un,cn,an=nn.inspectSource,fn=W,sn=r.WeakMap,ln=fn(sn)&&/native code/.test(String(sn)),pn=Ht,dn=Mt("keys"),vn=function(t){return dn[t]||(dn[t]=pn(t))},hn={},yn=ln,gn=r,bn=G,mn=He,wn=Gt,Sn=Lt,On=vn,xn=hn,En="Object already initialized",jn=gn.TypeError,Pn=gn.WeakMap;if(yn||Sn.state){var Rn=Sn.state||(Sn.state=new Pn);Rn.get=Rn.get,Rn.has=Rn.has,Rn.set=Rn.set,on=function(t,e){if(Rn.has(t))throw new jn(En);return e.facade=t,Rn.set(t,e),e},un=function(t){return Rn.get(t)||{}},cn=function(t){return Rn.has(t)}}else{var Tn=On("state");xn[Tn]=!0,on=function(t,e){if(wn(t,Tn))throw new jn(En);return e.facade=t,mn(t,Tn,e),e},un=function(t){return wn(t,Tn)?t[Tn]:{}},cn=function(t){return wn(t,Tn)}}var An={set:on,get:un,has:cn,enforce:function(t){return cn(t)?un(t):on(t,{})},getterFor:function(t){return function(e){var n;if(!bn(e)||(n=un(e)).type!==t)throw new jn("Incompatible receiver, "+t+" required");return n}}},In=O,Cn=i,kn=W,Nn=Gt,Ln=u,Dn=tn.CONFIGURABLE,Mn=an,Fn=An.enforce,_n=An.get,zn=String,Wn=Object.defineProperty,Bn=In("".slice),Gn=In("".replace),Un=In([].join),Vn=Ln&&!Cn((function(){return 8!==Wn((function(){}),"length",{value:8}).length})),Kn=String(String).split("String"),qn=$e.exports=function(t,e,n){"Symbol("===Bn(zn(e),0,7)&&(e="["+Gn(zn(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!Nn(t,"name")||Dn&&t.name!==e)&&(Ln?Wn(t,"name",{value:e,configurable:!0}):t.name=e),Vn&&n&&Nn(n,"arity")&&t.length!==n.arity&&Wn(t,"length",{value:n.arity});try{n&&Nn(n,"constructor")&&n.constructor?Ln&&Wn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=Fn(t);return Nn(r,"source")||(r.source=Un(Kn,"string"==typeof e?e:"")),t};Function.prototype.toString=qn((function(){return kn(this)&&_n(this).source||Mn(this)}),"toString");var Hn=$e.exports,$n=W,Qn=Te,Xn=Hn,Yn=At,Jn=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if($n(n)&&Xn(n,i,r),r.global)o?t[e]=n:Yn(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(u){}o?t[e]=n:Qn.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},Zn={},tr=Math.ceil,er=Math.floor,nr=Math.trunc||function(t){var e=+t;return(e>0?er:tr)(e)},rr=function(t){var e=+t;return e!=e||0===e?0:nr(e)},or=rr,ir=Math.max,ur=Math.min,cr=rr,ar=Math.min,fr=function(t){var e=cr(t);return e>0?ar(e,9007199254740991):0},sr=function(t){return fr(t.length)},lr=_,pr=function(t,e){var n=or(t);return n<0?ir(n+e,0):ur(n,e)},dr=sr,vr=function(t){return function(e,n,r){var o=lr(e),i=dr(o);if(0===i)return!t&&-1;var u,c=pr(r,i);if(t&&n!=n){for(;i>c;)if((u=o[c++])!=u)return!0}else for(;i>c;c++)if((t||c in o)&&o[c]===n)return t||c||0;return!t&&-1}},hr={includes:vr(!0),indexOf:vr(!1)},yr=Gt,gr=_,br=hr.indexOf,mr=hn,wr=O([].push),Sr=function(t,e){var n,r=gr(t),o=0,i=[];for(n in r)!yr(mr,n)&&yr(r,n)&&wr(i,n);for(;e.length>o;)yr(r,n=e[o++])&&(~br(i,n)||wr(i,n));return i},Or=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xr=Sr,Er=Or.concat("length","prototype");Zn.f=Object.getOwnPropertyNames||function(t){return xr(t,Er)};var jr={};jr.f=Object.getOwnPropertySymbols;var Pr=K,Rr=Zn,Tr=jr,Ar=Ne,Ir=O([].concat),Cr=Pr("Reflect","ownKeys")||function(t){var e=Rr.f(Ar(t)),n=Tr.f;return n?Ir(e,n(t)):e},kr=Gt,Nr=Cr,Lr=o,Dr=Te,Mr=function(t,e,n){for(var r=Nr(e),o=Dr.f,i=Lr.f,u=0;u<r.length;u++){var c=r[u];kr(t,c)||n&&kr(n,c)||o(t,c,i(e,c))}},Fr=i,_r=W,zr=/#|\.prototype\./,Wr=function(t,e){var n=Gr[Br(t)];return n===Vr||n!==Ur&&(_r(e)?Fr(e):!!e)},Br=Wr.normalize=function(t){return String(t).replace(zr,".").toLowerCase()},Gr=Wr.data={},Ur=Wr.NATIVE="N",Vr=Wr.POLYFILL="P",Kr=Wr,qr=r,Hr=o.f,$r=He,Qr=Jn,Xr=At,Yr=Mr,Jr=Kr,Zr=function(t,e){var n,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(n=a?qr:f?qr[c]||Xr(c,{}):qr[c]&&qr[c].prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=Hr(n,r))&&u.value:n[r],!Jr(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Yr(i,o)}(t.sham||o&&o.sham)&&$r(i,"sham",!0),Qr(n,r,i,t)}},to=Zr,eo=u,no=Te.f;to({target:"Object",stat:!0,forced:Object.defineProperty!==no,sham:!eo},{defineProperty:no});var ro=Sr,oo=Or,io=Object.keys||function(t){return ro(t,oo)},uo=zt,co=io;Zr({target:"Object",stat:!0,forced:i((function(){co(1)}))},{keys:function(t){return co(uo(t))}});var ao={};ao[ne("toStringTag")]="z";var fo="[object z]"===String(ao),so=fo,lo=W,po=P,vo=ne("toStringTag"),ho=Object,yo="Arguments"===po(function(){return arguments}()),go=so?po:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=ho(t),vo))?n:yo?po(e):"Object"===(r=po(e))&&lo(e.callee)?"Arguments":r},bo=go,mo=fo?{}.toString:function(){return"[object "+bo(this)+"]"};fo||Jn(Object.prototype,"toString",mo,{unsafe:!0});var wo=r,So=Q,Oo=P,xo=function(t){return So.slice(0,t.length)===t},Eo=xo("Bun/")?"BUN":xo("Cloudflare-Workers")?"CLOUDFLARE":xo("Deno/")?"DENO":xo("Node.js/")?"NODE":wo.Bun&&"string"==typeof Bun.version?"BUN":wo.Deno&&"object"==typeof Deno.version?"DENO":"process"===Oo(wo.process)?"NODE":wo.window&&wo.document?"BROWSER":"REST",jo="NODE"===Eo,Po=O,Ro=bt,To=G,Ao=function(t){return To(t)||null===t},Io=String,Co=TypeError,ko=function(t){if(Ao(t))return t;throw new Co("Can't set "+Io(t)+" as a prototype")},No=function(t,e,n){try{return Po(Ro(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(r){}},Lo=G,Do=D,Mo=ko,Fo=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=No(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(r){}return function(n,r){return Do(n),Mo(r),Lo(n)?(e?t(n,r):n.__proto__=r,n):n}}():void 0),_o=Te.f,zo=Gt,Wo=ne("toStringTag"),Bo=function(t,e,n){t&&!n&&(t=t.prototype),t&&!zo(t,Wo)&&_o(t,Wo,{configurable:!0,value:e})},Go=Hn,Uo=Te,Vo=function(t,e,n){return n.get&&Go(n.get,e,{getter:!0}),n.set&&Go(n.set,e,{setter:!0}),Uo.f(t,e,n)},Ko=K,qo=Vo,Ho=u,$o=ne("species"),Qo=function(t){var e=Ko(t);Ho&&e&&!e[$o]&&qo(e,$o,{configurable:!0,get:function(){return this}})},Xo=q,Yo=TypeError,Jo=function(t,e){if(Xo(e,t))return t;throw new Yo("Incorrect invocation")},Zo=O,ti=i,ei=W,ni=go,ri=an,oi=function(){},ii=K("Reflect","construct"),ui=/^\s*(?:class|function)\b/,ci=Zo(ui.exec),ai=!ui.test(oi),fi=function(t){if(!ei(t))return!1;try{return ii(oi,[],t),!0}catch(e){return!1}},si=function(t){if(!ei(t))return!1;switch(ni(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ai||!!ci(ui,ri(t))}catch(e){return!0}};si.sham=!0;var li,pi,di,vi,hi=!ii||ti((function(){var t;return fi(fi.call)||!fi(Object)||!fi((function(){t=!0}))||t}))?si:fi,yi=hi,gi=vt,bi=TypeError,mi=function(t){if(yi(t))return t;throw new bi(gi(t)+" is not a constructor")},wi=Ne,Si=mi,Oi=k,xi=ne("species"),Ei=c,ji=Function.prototype,Pi=ji.apply,Ri=ji.call,Ti="object"==typeof Reflect&&Reflect.apply||(Ei?Ri.bind(Pi):function(){return Ri.apply(Pi,arguments)}),Ai=P,Ii=O,Ci=function(t){if("Function"===Ai(t))return Ii(t)},ki=bt,Ni=c,Li=Ci(Ci.bind),Di=function(t,e){return ki(t),void 0===e?t:Ni?Li(t,e):function(){return t.apply(e,arguments)}},Mi=K("document","documentElement"),Fi=O([].slice),_i=TypeError,zi=/(?:ipad|iphone|ipod).*applewebkit/i.test(Q),Wi=r,Bi=Ti,Gi=Di,Ui=W,Vi=Gt,Ki=i,qi=Mi,Hi=Fi,$i=ye,Qi=function(t,e){if(t<e)throw new _i("Not enough arguments");return t},Xi=zi,Yi=jo,Ji=Wi.setImmediate,Zi=Wi.clearImmediate,tu=Wi.process,eu=Wi.Dispatch,nu=Wi.Function,ru=Wi.MessageChannel,ou=Wi.String,iu=0,uu={},cu="onreadystatechange";Ki((function(){li=Wi.location}));var au=function(t){if(Vi(uu,t)){var e=uu[t];delete uu[t],e()}},fu=function(t){return function(){au(t)}},su=function(t){au(t.data)},lu=function(t){Wi.postMessage(ou(t),li.protocol+"//"+li.host)};Ji&&Zi||(Ji=function(t){Qi(arguments.length,1);var e=Ui(t)?t:nu(t),n=Hi(arguments,1);return uu[++iu]=function(){Bi(e,void 0,n)},pi(iu),iu},Zi=function(t){delete uu[t]},Yi?pi=function(t){tu.nextTick(fu(t))}:eu&&eu.now?pi=function(t){eu.now(fu(t))}:ru&&!Xi?(vi=(di=new ru).port2,di.port1.onmessage=su,pi=Gi(vi.postMessage,vi)):Wi.addEventListener&&Ui(Wi.postMessage)&&!Wi.importScripts&&li&&"file:"!==li.protocol&&!Ki(lu)?(pi=lu,Wi.addEventListener("message",su,!1)):pi=cu in $i("script")?function(t){qi.appendChild($i("script"))[cu]=function(){qi.removeChild(this),au(t)}}:function(t){setTimeout(fu(t),0)});var pu={set:Ji,clear:Zi},du=r,vu=u,hu=Object.getOwnPropertyDescriptor,yu=function(){this.head=null,this.tail=null};yu.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var gu,bu,mu,wu,Su,Ou=yu,xu=/ipad|iphone|ipod/i.test(Q)&&"undefined"!=typeof Pebble,Eu=/web0s(?!.*chrome)/i.test(Q),ju=r,Pu=function(t){if(!vu)return du[t];var e=hu(du,t);return e&&e.value},Ru=Di,Tu=pu.set,Au=Ou,Iu=zi,Cu=xu,ku=Eu,Nu=jo,Lu=ju.MutationObserver||ju.WebKitMutationObserver,Du=ju.document,Mu=ju.process,Fu=ju.Promise,_u=Pu("queueMicrotask");if(!_u){var zu=new Au,Wu=function(){var t,e;for(Nu&&(t=Mu.domain)&&t.exit();e=zu.get();)try{e()}catch(n){throw zu.head&&gu(),n}t&&t.enter()};Iu||Nu||ku||!Lu||!Du?!Cu&&Fu&&Fu.resolve?((wu=Fu.resolve(void 0)).constructor=Fu,Su=Ru(wu.then,wu),gu=function(){Su(Wu)}):Nu?gu=function(){Mu.nextTick(Wu)}:(Tu=Ru(Tu,ju),gu=function(){Tu(Wu)}):(bu=!0,mu=Du.createTextNode(""),new Lu(Wu).observe(mu,{characterData:!0}),gu=function(){mu.data=bu=!bu}),_u=function(t){zu.head||gu(),zu.add(t)}}var Bu=_u,Gu=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},Uu=r.Promise,Vu=r,Ku=Uu,qu=W,Hu=Kr,$u=an,Qu=ne,Xu=Eo,Yu=nt;Ku&&Ku.prototype;var Ju=Qu("species"),Zu=!1,tc=qu(Vu.PromiseRejectionEvent),ec={CONSTRUCTOR:Hu("Promise",(function(){var t=$u(Ku),e=t!==String(Ku);if(!e&&66===Yu)return!0;if(!Yu||Yu<51||!/native code/.test(t)){var n=new Ku((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[Ju]=r,!(Zu=n.then((function(){}))instanceof r))return!0}return!(e||"BROWSER"!==Xu&&"DENO"!==Xu||tc)})),REJECTION_EVENT:tc,SUBCLASSING:Zu},nc={},rc=bt,oc=TypeError,ic=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw new oc("Bad Promise constructor");e=t,n=r})),this.resolve=rc(e),this.reject=rc(n)};nc.f=function(t){return new ic(t)};var uc,cc,ac,fc=Zr,sc=jo,lc=r,pc=s,dc=Jn,vc=Fo,hc=Bo,yc=Qo,gc=bt,bc=W,mc=G,wc=Jo,Sc=function(t,e){var n,r=wi(t).constructor;return void 0===r||Oi(n=wi(r)[xi])?e:Si(n)},Oc=pu.set,xc=Bu,Ec=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(n){}},jc=Gu,Pc=Ou,Rc=An,Tc=Uu,Ac=nc,Ic="Promise",Cc=ec.CONSTRUCTOR,kc=ec.REJECTION_EVENT,Nc=ec.SUBCLASSING,Lc=Rc.getterFor(Ic),Dc=Rc.set,Mc=Tc&&Tc.prototype,Fc=Tc,_c=Mc,zc=lc.TypeError,Wc=lc.document,Bc=lc.process,Gc=Ac.f,Uc=Gc,Vc=!!(Wc&&Wc.createEvent&&lc.dispatchEvent),Kc="unhandledrejection",qc=function(t){var e;return!(!mc(t)||!bc(e=t.then))&&e},Hc=function(t,e){var n,r,o,i=e.value,u=1===e.state,c=u?t.ok:t.fail,a=t.resolve,f=t.reject,s=t.domain;try{c?(u||(2===e.rejection&&Jc(e),e.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===t.promise?f(new zc("Promise-chain cycle")):(r=qc(n))?pc(r,n,a,f):a(n)):f(i)}catch(l){s&&!o&&s.exit(),f(l)}},$c=function(t,e){t.notified||(t.notified=!0,xc((function(){for(var n,r=t.reactions;n=r.get();)Hc(n,t);t.notified=!1,e&&!t.rejection&&Xc(t)})))},Qc=function(t,e,n){var r,o;Vc?((r=Wc.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),lc.dispatchEvent(r)):r={promise:e,reason:n},!kc&&(o=lc["on"+t])?o(r):t===Kc&&Ec("Unhandled promise rejection",n)},Xc=function(t){pc(Oc,lc,(function(){var e,n=t.facade,r=t.value;if(Yc(t)&&(e=jc((function(){sc?Bc.emit("unhandledRejection",r,n):Qc(Kc,n,r)})),t.rejection=sc||Yc(t)?2:1,e.error))throw e.value}))},Yc=function(t){return 1!==t.rejection&&!t.parent},Jc=function(t){pc(Oc,lc,(function(){var e=t.facade;sc?Bc.emit("rejectionHandled",e):Qc("rejectionhandled",e,t.value)}))},Zc=function(t,e,n){return function(r){t(e,r,n)}},ta=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,$c(t,!0))},ea=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new zc("Promise can't be resolved itself");var r=qc(e);r?xc((function(){var n={done:!1};try{pc(r,e,Zc(ea,n,t),Zc(ta,n,t))}catch(o){ta(n,o,t)}})):(t.value=e,t.state=1,$c(t,!1))}catch(o){ta({done:!1},o,t)}}};if(Cc&&(_c=(Fc=function(t){wc(this,_c),gc(t),pc(uc,this);var e=Lc(this);try{t(Zc(ea,e),Zc(ta,e))}catch(n){ta(e,n)}}).prototype,(uc=function(t){Dc(this,{type:Ic,done:!1,notified:!1,parent:!1,reactions:new Pc,rejection:!1,state:0,value:null})}).prototype=dc(_c,"then",(function(t,e){var n=Lc(this),r=Gc(Sc(this,Fc));return n.parent=!0,r.ok=!bc(t)||t,r.fail=bc(e)&&e,r.domain=sc?Bc.domain:void 0,0===n.state?n.reactions.add(r):xc((function(){Hc(r,n)})),r.promise})),cc=function(){var t=new uc,e=Lc(t);this.promise=t,this.resolve=Zc(ea,e),this.reject=Zc(ta,e)},Ac.f=Gc=function(t){return t===Fc||undefined===t?new cc(t):Uc(t)},bc(Tc)&&Mc!==Object.prototype)){ac=Mc.then,Nc||dc(Mc,"then",(function(t,e){var n=this;return new Fc((function(t,e){pc(ac,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete Mc.constructor}catch(im){}vc&&vc(Mc,_c)}fc({global:!0,constructor:!0,wrap:!0,forced:Cc},{Promise:Fc}),hc(Fc,Ic,!1),yc(Ic);var na={},ra=na,oa=ne("iterator"),ia=Array.prototype,ua=go,ca=St,aa=k,fa=na,sa=ne("iterator"),la=function(t){if(!aa(t))return ca(t,sa)||ca(t,"@@iterator")||fa[ua(t)]},pa=s,da=bt,va=Ne,ha=vt,ya=la,ga=TypeError,ba=s,ma=Ne,wa=St,Sa=Di,Oa=s,xa=Ne,Ea=vt,ja=function(t){return void 0!==t&&(ra.Array===t||ia[oa]===t)},Pa=sr,Ra=q,Ta=function(t,e){var n=arguments.length<2?ya(t):e;if(da(n))return va(pa(n,t));throw new ga(ha(t)+" is not iterable")},Aa=la,Ia=function(t,e,n){var r,o;ma(t);try{if(!(r=wa(t,"return"))){if("throw"===e)throw n;return n}r=ba(r,t)}catch(im){o=!0,r=im}if("throw"===e)throw n;if(o)throw r;return ma(r),n},Ca=TypeError,ka=function(t,e){this.stopped=t,this.result=e},Na=ka.prototype,La=function(t,e,n){var r,o,i,u,c,a,f,s=n&&n.that,l=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),v=!(!n||!n.INTERRUPTED),h=Sa(e,s),y=function(t){return r&&Ia(r,"normal",t),new ka(!0,t)},g=function(t){return l?(xa(t),v?h(t[0],t[1],y):h(t[0],t[1])):v?h(t,y):h(t)};if(p)r=t.iterator;else if(d)r=t;else{if(!(o=Aa(t)))throw new Ca(Ea(t)+" is not iterable");if(ja(o)){for(i=0,u=Pa(t);u>i;i++)if((c=g(t[i]))&&Ra(Na,c))return c;return new ka(!1)}r=Ta(t,o)}for(a=p?t.next:r.next;!(f=Oa(a,r)).done;){try{c=g(f.value)}catch(im){Ia(r,"throw",im)}if("object"==typeof c&&c&&Ra(Na,c))return c}return new ka(!1)},Da=ne("iterator"),Ma=!1;try{var Fa=0,_a={next:function(){return{done:!!Fa++}},return:function(){Ma=!0}};_a[Da]=function(){return this},Array.from(_a,(function(){throw 2}))}catch(im){}var za=function(t,e){try{if(!e&&!Ma)return!1}catch(im){return!1}var n=!1;try{var r={};r[Da]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(im){}return n},Wa=Uu,Ba=ec.CONSTRUCTOR||!za((function(t){Wa.all(t).then(void 0,(function(){}))})),Ga=s,Ua=bt,Va=nc,Ka=Gu,qa=La;Zr({target:"Promise",stat:!0,forced:Ba},{all:function(t){var e=this,n=Va.f(e),r=n.resolve,o=n.reject,i=Ka((function(){var n=Ua(e.resolve),i=[],u=0,c=1;qa(t,(function(t){var a=u++,f=!1;c++,Ga(n,e,t).then((function(t){f||(f=!0,i[a]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var Ha=Zr,$a=ec.CONSTRUCTOR,Qa=Uu,Xa=K,Ya=W,Ja=Jn,Za=Qa&&Qa.prototype;if(Ha({target:"Promise",proto:!0,forced:$a,real:!0},{catch:function(t){return this.then(void 0,t)}}),Ya(Qa)){var tf=Xa("Promise").prototype.catch;Za.catch!==tf&&Ja(Za,"catch",tf,{unsafe:!0})}var ef=s,nf=bt,rf=nc,of=Gu,uf=La;Zr({target:"Promise",stat:!0,forced:Ba},{race:function(t){var e=this,n=rf.f(e),r=n.reject,o=of((function(){var o=nf(e.resolve);uf(t,(function(t){ef(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var cf=nc;Zr({target:"Promise",stat:!0,forced:ec.CONSTRUCTOR},{reject:function(t){var e=cf.f(this);return(0,e.reject)(t),e.promise}});var af=Ne,ff=G,sf=nc,lf=Zr,pf=ec.CONSTRUCTOR,df=function(t,e){if(af(t),ff(e)&&e.constructor===t)return e;var n=sf.f(t);return(0,n.resolve)(e),n.promise};K("Promise"),lf({target:"Promise",stat:!0,forced:pf},{resolve:function(t){return df(this,t)}});var vf=function(){return vf=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},vf.apply(this,arguments)};function hf(t,e,n,r){return new(n||(n=Promise))((function(o,i){function u(t){try{a(r.next(t))}catch(e){i(e)}}function c(t){try{a(r.throw(t))}catch(e){i(e)}}function a(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(u,c)}a((r=r.apply(t,e||[])).next())}))}function yf(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function c(c){return function(a){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=e.call(t,i)}catch(a){c=[6,a],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,a])}}}"function"==typeof SuppressedError&&SuppressedError;var gf=u,bf=tn.EXISTS,mf=O,wf=Vo,Sf=Function.prototype,Of=mf(Sf.toString),xf=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Ef=mf(xf.exec);gf&&!bf&&wf(Sf,"name",{configurable:!0,get:function(){try{return Ef(xf,Of(this))[1]}catch(im){return""}}});var jf=function(){function t(t,e){this.iframe=t,this.name=e,this.pendingSandboxeeSpecs=[],this.globalObject=t.contentWindow,this.pendingSandboxeesPromise=Promise.resolve(this)}return t.prototype.getContentDocument=function(){return this.iframe.contentDocument},t.prototype.getContentWindow=function(){return this.iframe.contentWindow},t.prototype.getGlobal=function(t){return this.globalObject[t]},t.prototype.getIframe=function(){return this.iframe},t.prototype.getName=function(){return this.name},t.prototype.getPendingSandboxeePromise=function(){return this.pendingSandboxeesPromise},t.prototype.loadScript=function(t){return hf(this,void 0,void 0,(function(){var e,n,r,o,i=this;return yf(this,(function(u){return e=this.pendingSandboxeeSpecs.length>0,n=this.getContentDocument(),r=new Promise((function(e,n){i.pendingSandboxeeSpecs.push({src:t,onload:function(){e(i)},onerror:function(t){n(t)}})})),this.pendingSandboxeesPromise=this.pendingSandboxeesPromise.then((function(){return r})),e||(o=function(){var t=i.pendingSandboxeeSpecs.shift(),e=n.createElement("script");e.addEventListener("load",(function(){t.onload(),i.pendingSandboxeeSpecs.length>0&&o()})),e.addEventListener("error",(function(e){t.onerror(e.error),i.pendingSandboxeeSpecs.length>0&&o()})),e.src=t.src,n.body.appendChild(e)})(),[2,r]}))}))},t}(),Pf=function(){function t(){}return t.prototype.create=function(t){return hf(this,void 0,void 0,(function(){return yf(this,(function(e){return[2,new Promise((function(e){var n=function(){var n=document.createElement("iframe");n.style.display="none",n.addEventListener("load",(function(){e(new jf(n,t))})),document.body.appendChild(n)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function(){n()})):n()}))]}))}))},t}();function Rf(t){return(Rf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Tf=go,Af=String,If=function(t){if("Symbol"===Tf(t))throw new TypeError("Cannot convert a Symbol value to a string");return Af(t)},Cf={},kf=u,Nf=Ae,Lf=Te,Df=Ne,Mf=_,Ff=io;Cf.f=kf&&!Nf?Object.defineProperties:function(t,e){Df(t);for(var n,r=Mf(e),o=Ff(e),i=o.length,u=0;i>u;)Lf.f(t,n=o[u++],r[n]);return t};var _f,zf=Ne,Wf=Cf,Bf=Or,Gf=hn,Uf=Mi,Vf=ye,Kf="prototype",qf="script",Hf=vn("IE_PROTO"),$f=function(){},Qf=function(t){return"<"+qf+">"+t+"</"+qf+">"},Xf=function(t){t.write(Qf("")),t.close();var e=t.parentWindow.Object;return t=null,e},Yf=function(){try{_f=new ActiveXObject("htmlfile")}catch(im){}var t,e,n;Yf="undefined"!=typeof document?document.domain&&_f?Xf(_f):(e=Vf("iframe"),n="java"+qf+":",e.style.display="none",Uf.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Qf("document.F=Object")),t.close(),t.F):Xf(_f);for(var r=Bf.length;r--;)delete Yf[Kf][Bf[r]];return Yf()};Gf[Hf]=!0;var Jf=Object.create||function(t,e){var n;return null!==t?($f[Kf]=zf(t),n=new $f,$f[Kf]=null,n[Hf]=t):n=Yf(),void 0===e?n:Wf.f(n,e)},Zf={},ts=P,es=_,ns=Zn.f,rs=Fi,os="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Zf.f=function(t){return os&&"Window"===ts(t)?function(t){try{return ns(t)}catch(im){return rs(os)}}(t):ns(es(t))};var is={},us=ne;is.f=us;var cs=r,as=Gt,fs=is,ss=Te.f,ls=s,ps=K,ds=ne,vs=Jn,hs=P,ys=Array.isArray||function(t){return"Array"===hs(t)},gs=ys,bs=hi,ms=G,ws=ne("species"),Ss=Array,Os=function(t){var e;return gs(t)&&(e=t.constructor,(bs(e)&&(e===Ss||gs(e.prototype))||ms(e)&&null===(e=e[ws]))&&(e=void 0)),void 0===e?Ss:e},xs=Di,Es=C,js=zt,Ps=sr,Rs=function(t,e){return new(Os(t))(0===e?0:e)},Ts=O([].push),As=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,u=7===t,c=5===t||i;return function(a,f,s,l){for(var p,d,v=js(a),h=Es(v),y=Ps(h),g=xs(f,s),b=0,m=l||Rs,w=e?m(a,y):n||u?m(a,0):void 0;y>b;b++)if((c||b in h)&&(d=g(p=h[b],b,v),t))if(e)w[b]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return b;case 2:Ts(w,p)}else switch(t){case 4:return!1;case 7:Ts(w,p)}return i?-1:r||o?o:w}},Is={forEach:As(0),map:As(1),filter:As(2),some:As(3),every:As(4),find:As(5),findIndex:As(6),filterReject:As(7)},Cs=Zr,ks=r,Ns=s,Ls=O,Ds=u,Ms=ut,Fs=i,_s=Gt,zs=q,Ws=Ne,Bs=_,Gs=pe,Us=If,Vs=g,Ks=Jf,qs=io,Hs=Zn,$s=Zf,Qs=jr,Xs=o,Ys=Te,Js=Cf,Zs=l,tl=Jn,el=Vo,nl=Mt,rl=hn,ol=Ht,il=ne,ul=is,cl=function(t){var e=cs.Symbol||(cs.Symbol={});as(e,t)||ss(e,t,{value:fs.f(t)})},al=function(){var t=ps("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,r=ds("toPrimitive");e&&!e[r]&&vs(e,r,(function(t){return ls(n,this)}),{arity:1})},fl=Bo,sl=An,ll=Is.forEach,pl=vn("hidden"),dl="Symbol",vl="prototype",hl=sl.set,yl=sl.getterFor(dl),gl=Object[vl],bl=ks.Symbol,ml=bl&&bl[vl],wl=ks.RangeError,Sl=ks.TypeError,Ol=ks.QObject,xl=Xs.f,El=Ys.f,jl=$s.f,Pl=Zs.f,Rl=Ls([].push),Tl=nl("symbols"),Al=nl("op-symbols"),Il=nl("wks"),Cl=!Ol||!Ol[vl]||!Ol[vl].findChild,kl=function(t,e,n){var r=xl(gl,e);r&&delete gl[e],El(t,e,n),r&&t!==gl&&El(gl,e,r)},Nl=Ds&&Fs((function(){return 7!==Ks(El({},"a",{get:function(){return El(this,"a",{value:7}).a}})).a}))?kl:El,Ll=function(t,e){var n=Tl[t]=Ks(ml);return hl(n,{type:dl,tag:t,description:e}),Ds||(n.description=e),n},Dl=function(t,e,n){t===gl&&Dl(Al,e,n),Ws(t);var r=Gs(e);return Ws(n),_s(Tl,r)?(n.enumerable?(_s(t,pl)&&t[pl][r]&&(t[pl][r]=!1),n=Ks(n,{enumerable:Vs(0,!1)})):(_s(t,pl)||El(t,pl,Vs(1,Ks(null))),t[pl][r]=!0),Nl(t,r,n)):El(t,r,n)},Ml=function(t,e){Ws(t);var n=Bs(e),r=qs(n).concat(Wl(n));return ll(r,(function(e){Ds&&!Ns(Fl,n,e)||Dl(t,e,n[e])})),t},Fl=function(t){var e=Gs(t),n=Ns(Pl,this,e);return!(this===gl&&_s(Tl,e)&&!_s(Al,e))&&(!(n||!_s(this,e)||!_s(Tl,e)||_s(this,pl)&&this[pl][e])||n)},_l=function(t,e){var n=Bs(t),r=Gs(e);if(n!==gl||!_s(Tl,r)||_s(Al,r)){var o=xl(n,r);return!o||!_s(Tl,r)||_s(n,pl)&&n[pl][r]||(o.enumerable=!0),o}},zl=function(t){var e=jl(Bs(t)),n=[];return ll(e,(function(t){_s(Tl,t)||_s(rl,t)||Rl(n,t)})),n},Wl=function(t){var e=t===gl,n=jl(e?Al:Bs(t)),r=[];return ll(n,(function(t){!_s(Tl,t)||e&&!_s(gl,t)||Rl(r,Tl[t])})),r};Ms||(bl=function(){if(zs(ml,this))throw new Sl("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Us(arguments[0]):void 0,e=ol(t),n=function(t){var r=void 0===this?ks:this;r===gl&&Ns(n,Al,t),_s(r,pl)&&_s(r[pl],e)&&(r[pl][e]=!1);var o=Vs(1,t);try{Nl(r,e,o)}catch(im){if(!(im instanceof wl))throw im;kl(r,e,o)}};return Ds&&Cl&&Nl(gl,e,{configurable:!0,set:n}),Ll(e,t)},tl(ml=bl[vl],"toString",(function(){return yl(this).tag})),tl(bl,"withoutSetter",(function(t){return Ll(ol(t),t)})),Zs.f=Fl,Ys.f=Dl,Js.f=Ml,Xs.f=_l,Hs.f=$s.f=zl,Qs.f=Wl,ul.f=function(t){return Ll(il(t),t)},Ds&&(el(ml,"description",{configurable:!0,get:function(){return yl(this).description}}),tl(gl,"propertyIsEnumerable",Fl,{unsafe:!0}))),Cs({global:!0,constructor:!0,wrap:!0,forced:!Ms,sham:!Ms},{Symbol:bl}),ll(qs(Il),(function(t){cl(t)})),Cs({target:dl,stat:!0,forced:!Ms},{useSetter:function(){Cl=!0},useSimple:function(){Cl=!1}}),Cs({target:"Object",stat:!0,forced:!Ms,sham:!Ds},{create:function(t,e){return void 0===e?Ks(t):Ml(Ks(t),e)},defineProperty:Dl,defineProperties:Ml,getOwnPropertyDescriptor:_l}),Cs({target:"Object",stat:!0,forced:!Ms},{getOwnPropertyNames:zl}),al(),fl(bl,dl),rl[pl]=!0;var Bl=ut&&!!Symbol.for&&!!Symbol.keyFor,Gl=Zr,Ul=K,Vl=Gt,Kl=If,ql=Mt,Hl=Bl,$l=ql("string-to-symbol-registry"),Ql=ql("symbol-to-string-registry");Gl({target:"Symbol",stat:!0,forced:!Hl},{for:function(t){var e=Kl(t);if(Vl($l,e))return $l[e];var n=Ul("Symbol")(e);return $l[e]=n,Ql[n]=e,n}});var Xl=Zr,Yl=Gt,Jl=pt,Zl=vt,tp=Bl,ep=Mt("symbol-to-string-registry");Xl({target:"Symbol",stat:!0,forced:!tp},{keyFor:function(t){if(!Jl(t))throw new TypeError(Zl(t)+" is not a symbol");if(Yl(ep,t))return ep[t]}});var np=ys,rp=W,op=P,ip=If,up=O([].push),cp=Zr,ap=K,fp=Ti,sp=s,lp=O,pp=i,dp=W,vp=pt,hp=Fi,yp=function(t){if(rp(t))return t;if(np(t)){for(var e=t.length,n=[],r=0;r<e;r++){var o=t[r];"string"==typeof o?up(n,o):"number"!=typeof o&&"Number"!==op(o)&&"String"!==op(o)||up(n,ip(o))}var i=n.length,u=!0;return function(t,e){if(u)return u=!1,e;if(np(this))return e;for(var r=0;r<i;r++)if(n[r]===t)return e}}},gp=ut,bp=String,mp=ap("JSON","stringify"),wp=lp(/./.exec),Sp=lp("".charAt),Op=lp("".charCodeAt),xp=lp("".replace),Ep=lp(1..toString),jp=/[\uD800-\uDFFF]/g,Pp=/^[\uD800-\uDBFF]$/,Rp=/^[\uDC00-\uDFFF]$/,Tp=!gp||pp((function(){var t=ap("Symbol")("stringify detection");return"[null]"!==mp([t])||"{}"!==mp({a:t})||"{}"!==mp(Object(t))})),Ap=pp((function(){return'"\\udf06\\ud834"'!==mp("\udf06\ud834")||'"\\udead"'!==mp("\udead")})),Ip=function(t,e){var n=hp(arguments),r=yp(e);if(dp(r)||void 0!==t&&!vp(t))return n[1]=function(t,e){if(dp(r)&&(e=sp(r,this,bp(t),e)),!vp(e))return e},fp(mp,null,n)},Cp=function(t,e,n){var r=Sp(n,e-1),o=Sp(n,e+1);return wp(Pp,t)&&!wp(Rp,o)||wp(Rp,t)&&!wp(Pp,r)?"\\u"+Ep(Op(t,0),16):t};mp&&cp({target:"JSON",stat:!0,arity:3,forced:Tp||Ap},{stringify:function(t,e,n){var r=hp(arguments),o=fp(Tp?Ip:mp,null,r);return Ap&&"string"==typeof o?xp(o,jp,Cp):o}});var kp=jr,Np=zt;Zr({target:"Object",stat:!0,forced:!ut||i((function(){kp.f(1)}))},{getOwnPropertySymbols:function(t){var e=kp.f;return e?e(Np(t)):[]}});var Lp=Zr,Dp=u,Mp=O,Fp=Gt,_p=W,zp=q,Wp=If,Bp=Vo,Gp=Mr,Up=r.Symbol,Vp=Up&&Up.prototype;if(Dp&&_p(Up)&&(!("description"in Vp)||void 0!==Up().description)){var Kp={},qp=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:Wp(arguments[0]),e=zp(Vp,this)?new Up(t):void 0===t?Up():Up(t);return""===t&&(Kp[e]=!0),e};Gp(qp,Up),qp.prototype=Vp,Vp.constructor=qp;var Hp="Symbol(description detection)"===String(Up("description detection")),$p=Mp(Vp.valueOf),Qp=Mp(Vp.toString),Xp=/^Symbol\((.*)\)[^)]+$/,Yp=Mp("".replace),Jp=Mp("".slice);Bp(Vp,"description",{configurable:!0,get:function(){var t=$p(this);if(Fp(Kp,t))return"";var e=Qp(t),n=Hp?Jp(e,7,-1):Yp(e,Xp,"$1");return""===n?void 0:n}}),Lp({global:!0,constructor:!0,forced:!0},{Symbol:qp})}var Zp=ne,td=Jf,ed=Te.f,nd=Zp("unscopables"),rd=Array.prototype;void 0===rd[nd]&&ed(rd,nd,{configurable:!0,value:td(null)});var od=function(t){rd[nd][t]=!0},id=hr.includes,ud=od;Zr({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return id(this,t,arguments.length>1?arguments[1]:void 0)}}),ud("includes"),Zr({target:"Array",stat:!0},{isArray:ys});var cd,ad,fd,sd=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ld=Gt,pd=W,dd=zt,vd=sd,hd=vn("IE_PROTO"),yd=Object,gd=yd.prototype,bd=vd?yd.getPrototypeOf:function(t){var e=dd(t);if(ld(e,hd))return e[hd];var n=e.constructor;return pd(n)&&e instanceof n?n.prototype:e instanceof yd?gd:null},md=i,wd=W,Sd=G,Od=bd,xd=Jn,Ed=ne("iterator"),jd=!1;[].keys&&("next"in(fd=[].keys())?(ad=Od(Od(fd)))!==Object.prototype&&(cd=ad):jd=!0),(!Sd(cd)||md((function(){var t={};return cd[Ed].call(t)!==t})))&&(cd={}),wd(cd[Ed])||xd(cd,Ed,(function(){return this}));var Pd={IteratorPrototype:cd,BUGGY_SAFARI_ITERATORS:jd},Rd=Pd.IteratorPrototype,Td=Jf,Ad=g,Id=Bo,Cd=na,kd=function(){return this},Nd=Zr,Ld=s,Dd=W,Md=function(t,e,n,r){var o=e+" Iterator";return t.prototype=Td(Rd,{next:Ad(+!r,n)}),Id(t,o,!1),Cd[o]=kd,t},Fd=bd,_d=Fo,zd=Bo,Wd=He,Bd=Jn,Gd=na,Ud=tn.PROPER,Vd=tn.CONFIGURABLE,Kd=Pd.IteratorPrototype,qd=Pd.BUGGY_SAFARI_ITERATORS,Hd=ne("iterator"),$d="keys",Qd="values",Xd="entries",Yd=function(){return this},Jd=function(t,e,n,r,o,i,u){Md(n,e,r);var c,a,f,s=function(t){if(t===o&&h)return h;if(!qd&&t&&t in d)return d[t];switch(t){case $d:case Qd:case Xd:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",p=!1,d=t.prototype,v=d[Hd]||d["@@iterator"]||o&&d[o],h=!qd&&v||s(o),y="Array"===e&&d.entries||v;if(y&&(c=Fd(y.call(new t)))!==Object.prototype&&c.next&&(Fd(c)!==Kd&&(_d?_d(c,Kd):Dd(c[Hd])||Bd(c,Hd,Yd)),zd(c,l,!0)),Ud&&o===Qd&&v&&v.name!==Qd&&(Vd?Wd(d,"name",Qd):(p=!0,h=function(){return Ld(v,this)})),o)if(a={values:s(Qd),keys:i?h:s($d),entries:s(Xd)},u)for(f in a)(qd||p||!(f in d))&&Bd(d,f,a[f]);else Nd({target:e,proto:!0,forced:qd||p},a);return d[Hd]!==h&&Bd(d,Hd,h,{name:o}),Gd[e]=h,a},Zd=function(t,e){return{value:t,done:e}},tv=_,ev=od,nv=na,rv=An,ov=Te.f,iv=Jd,uv=Zd,cv=u,av="Array Iterator",fv=rv.set,sv=rv.getterFor(av),lv=iv(Array,"Array",(function(t,e){fv(this,{type:av,target:tv(t),index:0,kind:e})}),(function(){var t=sv(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,uv(void 0,!0);switch(t.kind){case"keys":return uv(n,!1);case"values":return uv(e[n],!1)}return uv([n,e[n]],!1)}),"values"),pv=nv.Arguments=nv.Array;if(ev("keys"),ev("values"),ev("entries"),cv&&"values"!==pv.name)try{ov(pv,"name",{value:"values"})}catch(im){}var dv=i,vv=nt,hv=ne("species"),yv=Is.map;Zr({target:"Array",proto:!0,forced:!function(t){return vv>=51||!dv((function(){var e=[];return(e.constructor={})[hv]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}("map")},{map:function(t){return yv(this,t,arguments.length>1?arguments[1]:void 0)}});var gv=O,bv=Jn,mv=Date.prototype,wv="Invalid Date",Sv="toString",Ov=gv(mv[Sv]),xv=gv(mv.getTime);String(new Date(NaN))!==wv&&bv(mv,Sv,(function(){var t=xv(this);return t==t?Ov(this):wv}));var Ev={exports:{}},jv=i((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})),Pv=i,Rv=G,Tv=P,Av=jv,Iv=Object.isExtensible,Cv=Pv((function(){Iv(1)}))||Av?function(t){return!!Rv(t)&&((!Av||"ArrayBuffer"!==Tv(t))&&(!Iv||Iv(t)))}:Iv,kv=!i((function(){return Object.isExtensible(Object.preventExtensions({}))})),Nv=Zr,Lv=O,Dv=hn,Mv=G,Fv=Gt,_v=Te.f,zv=Zn,Wv=Zf,Bv=Cv,Gv=kv,Uv=!1,Vv=Ht("meta"),Kv=0,qv=function(t){_v(t,Vv,{value:{objectID:"O"+Kv++,weakData:{}}})},Hv=Ev.exports={enable:function(){Hv.enable=function(){},Uv=!0;var t=zv.f,e=Lv([].splice),n={};n[Vv]=1,t(n).length&&(zv.f=function(n){for(var r=t(n),o=0,i=r.length;o<i;o++)if(r[o]===Vv){e(r,o,1);break}return r},Nv({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Wv.f}))},fastKey:function(t,e){if(!Mv(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!Fv(t,Vv)){if(!Bv(t))return"F";if(!e)return"E";qv(t)}return t[Vv].objectID},getWeakData:function(t,e){if(!Fv(t,Vv)){if(!Bv(t))return!0;if(!e)return!1;qv(t)}return t[Vv].weakData},onFreeze:function(t){return Gv&&Uv&&Bv(t)&&!Fv(t,Vv)&&qv(t),t}};Dv[Vv]=!0;var $v=Ev.exports,Qv=W,Xv=G,Yv=Fo,Jv=Zr,Zv=r,th=O,eh=Kr,nh=Jn,rh=$v,oh=La,ih=Jo,uh=W,ch=k,ah=G,fh=i,sh=za,lh=Bo,ph=function(t,e,n){var r,o;return Yv&&Qv(r=e.constructor)&&r!==n&&Xv(o=r.prototype)&&o!==n.prototype&&Yv(t,o),t},dh=function(t,e,n){var r=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=r?"set":"add",u=Zv[t],c=u&&u.prototype,a=u,f={},s=function(t){var e=th(c[t]);nh(c,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(o&&!ah(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!ah(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(o&&!ah(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(eh(t,!uh(u)||!(o||c.forEach&&!fh((function(){(new u).entries().next()})))))a=n.getConstructor(e,t,r,i),rh.enable();else if(eh(t,!0)){var l=new a,p=l[i](o?{}:-0,1)!==l,d=fh((function(){l.has(1)})),v=sh((function(t){new u(t)})),h=!o&&fh((function(){for(var t=new u,e=5;e--;)t[i](e,e);return!t.has(-0)}));v||((a=e((function(t,e){ih(t,c);var n=ph(new u,t,a);return ch(e)||oh(e,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=c,c.constructor=a),(d||h)&&(s("delete"),s("has"),r&&s("get")),(h||p)&&s(i),o&&c.clear&&delete c.clear}return f[t]=a,Jv({global:!0,constructor:!0,forced:a!==u},f),lh(a,t),o||n.setStrong(a,t,r),a},vh=Jn,hh=function(t,e,n){for(var r in e)vh(t,r,e[r],n);return t},yh=Jf,gh=Vo,bh=hh,mh=Di,wh=Jo,Sh=k,Oh=La,xh=Jd,Eh=Zd,jh=Qo,Ph=u,Rh=$v.fastKey,Th=An.set,Ah=An.getterFor,Ih={getConstructor:function(t,e,n,r){var o=t((function(t,o){wh(t,i),Th(t,{type:e,index:yh(null),first:null,last:null,size:0}),Ph||(t.size=0),Sh(o)||Oh(o,t[r],{that:t,AS_ENTRIES:n})})),i=o.prototype,u=Ah(e),c=function(t,e,n){var r,o,i=u(t),c=a(t,e);return c?c.value=n:(i.last=c={index:o=Rh(e,!0),key:e,value:n,previous:r=i.last,next:null,removed:!1},i.first||(i.first=c),r&&(r.next=c),Ph?i.size++:t.size++,"F"!==o&&(i.index[o]=c)),t},a=function(t,e){var n,r=u(t),o=Rh(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===e)return n};return bh(i,{clear:function(){for(var t=u(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=yh(null),Ph?t.size=0:this.size=0},delete:function(t){var e=this,n=u(e),r=a(e,t);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first===r&&(n.first=o),n.last===r&&(n.last=i),Ph?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=u(this),r=mh(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!a(this,t)}}),bh(i,n?{get:function(t){var e=a(this,t);return e&&e.value},set:function(t,e){return c(this,0===t?0:t,e)}}:{add:function(t){return c(this,t=0===t?0:t,t)}}),Ph&&gh(i,"size",{configurable:!0,get:function(){return u(this).size}}),o},setStrong:function(t,e,n){var r=e+" Iterator",o=Ah(e),i=Ah(r);xh(t,e,(function(t,e){Th(this,{type:r,target:t,state:o(t),kind:e,last:null})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?Eh("keys"===e?n.key:"values"===e?n.value:[n.key,n.value],!1):(t.target=null,Eh(void 0,!0))}),n?"entries":"values",!n,!0),jh(e)}};dh("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Ih);var Ch=u,kh=O,Nh=s,Lh=i,Dh=io,Mh=jr,Fh=l,_h=zt,zh=C,Wh=Object.assign,Bh=Object.defineProperty,Gh=kh([].concat),Uh=!Wh||Lh((function(){if(Ch&&1!==Wh({b:1},Wh(Bh({},"a",{enumerable:!0,get:function(){Bh(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!==Wh({},t)[n]||Dh(Wh({},e)).join("")!==r}))?function(t,e){for(var n=_h(t),r=arguments.length,o=1,i=Mh.f,u=Fh.f;r>o;)for(var c,a=zh(arguments[o++]),f=i?Gh(Dh(a),i(a)):Dh(a),s=f.length,l=0;s>l;)c=f[l++],Ch&&!Nh(u,a,c)||(n[c]=a[c]);return n}:Wh,Vh=Uh;Zr({target:"Object",stat:!0,arity:2,forced:Object.assign!==Vh},{assign:Vh}),Zr({target:"Object",stat:!0,sham:!u},{create:Jf});var Kh=O,qh=bt,Hh=G,$h=Gt,Qh=Fi,Xh=c,Yh=Function,Jh=Kh([].concat),Zh=Kh([].join),ty={},ey=Xh?Yh.bind:function(t){var e=qh(this),n=e.prototype,r=Qh(arguments,1),o=function(){var n=Jh(r,Qh(arguments));return this instanceof o?function(t,e,n){if(!$h(ty,e)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";ty[e]=Yh("C,a","return new C("+Zh(r,",")+")")}return ty[e](t,n)}(e,n.length,n):e.apply(t,n)};return Hh(n)&&(o.prototype=n),o},ny=Zr,ry=Ti,oy=ey,iy=mi,uy=Ne,cy=G,ay=Jf,fy=i,sy=K("Reflect","construct"),ly=Object.prototype,py=[].push,dy=fy((function(){function t(){}return!(sy((function(){}),[],t)instanceof t)})),vy=!fy((function(){sy((function(){}))})),hy=dy||vy;ny({target:"Reflect",stat:!0,forced:hy,sham:hy},{construct:function(t,e){iy(t),uy(e);var n=arguments.length<3?t:iy(arguments[2]);if(vy&&!dy)return sy(t,e,n);if(t===n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return ry(py,r,e),new(ry(oy,t,r))}var o=n.prototype,i=ay(cy(o)?o:ly),u=ry(t,i,e);return cy(u)?u:i}});var yy=u,gy=Ne,by=pe,my=Te;Zr({target:"Reflect",stat:!0,forced:i((function(){Reflect.defineProperty(my.f({},1,{value:1}),1,{value:2})})),sham:!yy},{defineProperty:function(t,e,n){gy(t);var r=by(e);gy(n);try{return my.f(t,r,n),!0}catch(im){return!1}}});var wy=Zr,Sy=Ne,Oy=o.f;wy({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=Oy(Sy(t),e);return!(n&&!n.configurable)&&delete t[e]}});var xy=Ne,Ey=o;Zr({target:"Reflect",stat:!0,sham:!u},{getOwnPropertyDescriptor:function(t,e){return Ey.f(xy(t),e)}});var jy=Ne,Py=bd;Zr({target:"Reflect",stat:!0,sham:!sd},{getPrototypeOf:function(t){return Py(jy(t))}}),Zr({target:"Reflect",stat:!0},{has:function(t,e){return e in t}});var Ry=Ne,Ty=Cv;Zr({target:"Reflect",stat:!0},{isExtensible:function(t){return Ry(t),Ty(t)}}),Zr({target:"Reflect",stat:!0},{ownKeys:Cr});var Ay=K,Iy=Ne;Zr({target:"Reflect",stat:!0,sham:!kv},{preventExtensions:function(t){Iy(t);try{var e=Ay("Object","preventExtensions");return e&&e(t),!0}catch(im){return!1}}});var Cy=Ne,ky=ko,Ny=Fo;Ny&&Zr({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){Cy(t),ky(e);try{return Ny(t,e),!0}catch(im){return!1}}});var Ly,Dy,My=Ne,Fy=function(){var t=My(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},_y=i,zy=r.RegExp,Wy=_y((function(){var t=zy("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),By=Wy||_y((function(){return!zy("a","y").sticky})),Gy={BROKEN_CARET:Wy||_y((function(){var t=zy("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:By,UNSUPPORTED_Y:Wy},Uy=i,Vy=r.RegExp,Ky=Uy((function(){var t=Vy(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),qy=i,Hy=r.RegExp,$y=qy((function(){var t=Hy("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Qy=s,Xy=O,Yy=If,Jy=Fy,Zy=Gy,tg=Jf,eg=An.get,ng=Ky,rg=$y,og=Mt("native-string-replace",String.prototype.replace),ig=RegExp.prototype.exec,ug=ig,cg=Xy("".charAt),ag=Xy("".indexOf),fg=Xy("".replace),sg=Xy("".slice),lg=(Dy=/b*/g,Qy(ig,Ly=/a/,"a"),Qy(ig,Dy,"a"),0!==Ly.lastIndex||0!==Dy.lastIndex),pg=Zy.BROKEN_CARET,dg=void 0!==/()??/.exec("")[1];(lg||dg||pg||ng||rg)&&(ug=function(t){var e,n,r,o,i,u,c,a=this,f=eg(a),s=Yy(t),l=f.raw;if(l)return l.lastIndex=a.lastIndex,e=Qy(ug,l,s),a.lastIndex=l.lastIndex,e;var p=f.groups,d=pg&&a.sticky,v=Qy(Jy,a),h=a.source,y=0,g=s;if(d&&(v=fg(v,"y",""),-1===ag(v,"g")&&(v+="g"),g=sg(s,a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==cg(s,a.lastIndex-1))&&(h="(?: "+h+")",g=" "+g,y++),n=new RegExp("^(?:"+h+")",v)),dg&&(n=new RegExp("^"+h+"$(?!\\s)",v)),lg&&(r=a.lastIndex),o=Qy(ig,d?n:a,g),d?o?(o.input=sg(o.input,y),o[0]=sg(o[0],y),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:lg&&o&&(a.lastIndex=a.global?o.index+o[0].length:r),dg&&o&&o.length>1&&Qy(og,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=u=tg(null),i=0;i<p.length;i++)u[(c=p[i])[0]]=o[c[1]];return o});Zr({target:"RegExp",proto:!0,forced:/./.exec!==ug},{exec:ug});var vg=s,hg=Gt,yg=q,gg=Fy,bg=RegExp.prototype,mg=tn.PROPER,wg=Jn,Sg=Ne,Og=If,xg=i,Eg=function(t){var e=t.flags;return void 0!==e||"flags"in bg||hg(t,"flags")||!yg(bg,t)?e:vg(gg,t)},jg="toString",Pg=RegExp.prototype,Rg=Pg[jg],Tg=xg((function(){return"/a/b"!==Rg.call({source:"a",flags:"b"})})),Ag=mg&&Rg.name!==jg;(Tg||Ag)&&wg(Pg,jg,(function(){var t=Sg(this);return"/"+Og(t.source)+"/"+Og(Eg(t))}),{unsafe:!0});var Ig=O,Cg=rr,kg=If,Ng=D,Lg=Ig("".charAt),Dg=Ig("".charCodeAt),Mg=Ig("".slice),Fg=function(t){return function(e,n){var r,o,i=kg(Ng(e)),u=Cg(n),c=i.length;return u<0||u>=c?t?"":void 0:(r=Dg(i,u))<55296||r>56319||u+1===c||(o=Dg(i,u+1))<56320||o>57343?t?Lg(i,u):r:t?Mg(i,u,u+2):o-56320+(r-55296<<10)+65536}},_g={codeAt:Fg(!1),charAt:Fg(!0)}.charAt,zg=If,Wg=An,Bg=Jd,Gg=Zd,Ug="String Iterator",Vg=Wg.set,Kg=Wg.getterFor(Ug);Bg(String,"String",(function(t){Vg(this,{type:Ug,string:zg(t),index:0})}),(function(){var t,e=Kg(this),n=e.string,r=e.index;return r>=n.length?Gg(void 0,!0):(t=_g(n,r),e.index+=t.length,Gg(t,!1))}));var qg=O,Hg=hh,$g=$v.getWeakData,Qg=Jo,Xg=Ne,Yg=k,Jg=G,Zg=La,tb=Gt,eb=An.set,nb=An.getterFor,rb=Is.find,ob=Is.findIndex,ib=qg([].splice),ub=0,cb=function(t){return t.frozen||(t.frozen=new ab)},ab=function(){this.entries=[]},fb=function(t,e){return rb(t.entries,(function(t){return t[0]===e}))};ab.prototype={get:function(t){var e=fb(this,t);if(e)return e[1]},has:function(t){return!!fb(this,t)},set:function(t,e){var n=fb(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=ob(this.entries,(function(e){return e[0]===t}));return~e&&ib(this.entries,e,1),!!~e}};var sb,lb=kv,pb=r,db=O,vb=hh,hb=$v,yb=dh,gb={getConstructor:function(t,e,n,r){var o=t((function(t,o){Qg(t,i),eb(t,{type:e,id:ub++,frozen:null}),Yg(o)||Zg(o,t[r],{that:t,AS_ENTRIES:n})})),i=o.prototype,u=nb(e),c=function(t,e,n){var r=u(t),o=$g(Xg(e),!0);return!0===o?cb(r).set(e,n):o[r.id]=n,t};return Hg(i,{delete:function(t){var e=u(this);if(!Jg(t))return!1;var n=$g(t);return!0===n?cb(e).delete(t):n&&tb(n,e.id)&&delete n[e.id]},has:function(t){var e=u(this);if(!Jg(t))return!1;var n=$g(t);return!0===n?cb(e).has(t):n&&tb(n,e.id)}}),Hg(i,n?{get:function(t){var e=u(this);if(Jg(t)){var n=$g(t);if(!0===n)return cb(e).get(t);if(n)return n[e.id]}},set:function(t,e){return c(this,t,e)}}:{add:function(t){return c(this,t,!0)}}),o}},bb=G,mb=An.enforce,wb=i,Sb=ln,Ob=Object,xb=Array.isArray,Eb=Ob.isExtensible,jb=Ob.isFrozen,Pb=Ob.isSealed,Rb=Ob.freeze,Tb=Ob.seal,Ab=!pb.ActiveXObject&&"ActiveXObject"in pb,Ib=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Cb=yb("WeakMap",Ib,gb),kb=Cb.prototype,Nb=db(kb.set);if(Sb)if(Ab){sb=gb.getConstructor(Ib,"WeakMap",!0),hb.enable();var Lb=db(kb.delete),Db=db(kb.has),Mb=db(kb.get);vb(kb,{delete:function(t){if(bb(t)&&!Eb(t)){var e=mb(this);return e.frozen||(e.frozen