marketplacepos 3.13.3 → 3.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/chunk-2LGY3VGP.js +1 -0
- package/Marketplace/{chunk-2HWKPGG2.js → chunk-2V6KLDRW.js} +1 -1
- package/Marketplace/{chunk-FX43R2N5.js → chunk-2YXHLXID.js} +1 -1
- package/Marketplace/{chunk-YOU5DY2R.js → chunk-3E32TXFL.js} +1 -1
- package/Marketplace/chunk-3IYAATQI.js +35 -0
- package/Marketplace/chunk-4R22UO7N.js +2 -0
- package/Marketplace/chunk-56OKLP66.js +3 -0
- package/Marketplace/{chunk-NNPT3RN6.js → chunk-5WXM6HSA.js} +1 -1
- package/Marketplace/{chunk-6NUQBHVK.js → chunk-6BYODQW7.js} +1 -1
- package/Marketplace/{chunk-OFRBPREK.js → chunk-6U6JR5K6.js} +1 -1
- package/Marketplace/{chunk-WQ26K26X.js → chunk-74C3CXV4.js} +1 -1
- package/Marketplace/{chunk-ZVNVZRA7.js → chunk-7V7R7T2V.js} +1 -1
- package/Marketplace/chunk-A2TGQ4MU.js +1 -0
- package/Marketplace/chunk-B3LBEB32.js +1 -0
- package/Marketplace/chunk-C3YE27TZ.js +8 -0
- package/Marketplace/{chunk-3LRKHZJF.js → chunk-D7X76LHU.js} +1 -1
- package/Marketplace/{chunk-IPX66YIX.js → chunk-DSF55IXM.js} +1 -1
- package/Marketplace/chunk-DUHXHNDB.js +2 -0
- package/Marketplace/{chunk-O6SPNQMQ.js → chunk-E2QD6KYS.js} +1 -1
- package/Marketplace/{chunk-ZHBHYT7I.js → chunk-EEAB43LH.js} +1 -1
- package/Marketplace/chunk-EKCNJX26.js +1 -0
- package/Marketplace/chunk-F4WIW6HA.js +1 -0
- package/Marketplace/{chunk-F2CKDRNC.js → chunk-F63GNFZE.js} +1 -1
- package/Marketplace/{chunk-FCVAME75.js → chunk-FZ7LVL4C.js} +1 -1
- package/Marketplace/{chunk-L536HOP7.js → chunk-G6HY2OKZ.js} +1 -1
- package/Marketplace/{chunk-MQFYT7UC.js → chunk-HH5OTDOQ.js} +1 -1
- package/Marketplace/{chunk-TX43EE6N.js → chunk-HXDXTE2F.js} +1 -1
- package/Marketplace/{chunk-M4VGME5L.js → chunk-IPYNDMGQ.js} +1 -1
- package/Marketplace/{chunk-VPYKYYBH.js → chunk-IYV3772A.js} +1 -1
- package/Marketplace/{chunk-AHK65AO6.js → chunk-JCWZSFSB.js} +1 -1
- package/Marketplace/chunk-JTJLVSTV.js +1 -0
- package/Marketplace/{chunk-BMPACBBM.js → chunk-K7EHVRIN.js} +1 -1
- package/Marketplace/{chunk-HBHGO2RV.js → chunk-KCDL7SWP.js} +1 -1
- package/Marketplace/{chunk-GP3CFNYA.js → chunk-KCFS3M2K.js} +1 -1
- package/Marketplace/{chunk-EVSENZKK.js → chunk-KEW3SGQJ.js} +1 -1
- package/Marketplace/chunk-KWFES5F7.js +4 -0
- package/Marketplace/{chunk-Y2XXDDNX.js → chunk-LYF2MCUF.js} +1 -1
- package/Marketplace/{chunk-YERME2YY.js → chunk-MIZ2DGVO.js} +2 -2
- package/Marketplace/{chunk-CP7VAKTQ.js → chunk-MLGEX4PW.js} +1 -1
- package/Marketplace/{chunk-IP2WADIR.js → chunk-MSVZKMTY.js} +1 -1
- package/Marketplace/chunk-MVPTQRFO.js +1 -0
- package/Marketplace/{chunk-QCFKCDKM.js → chunk-NSKF7OXH.js} +1 -1
- package/Marketplace/{chunk-6OWGDOJP.js → chunk-NZ5YWVLF.js} +1 -1
- package/Marketplace/{chunk-QPAHUI3H.js → chunk-O44GD7BQ.js} +1 -1
- package/Marketplace/{chunk-JBAG4TSB.js → chunk-ON2NN4QX.js} +1 -1
- package/Marketplace/{chunk-7CEWM7GE.js → chunk-PIIJRFHM.js} +1 -1
- package/Marketplace/{chunk-2UXFUEON.js → chunk-QPRFFPO5.js} +1 -1
- package/Marketplace/{chunk-VD46BM3E.js → chunk-QW3M4EZ2.js} +1 -1
- package/Marketplace/chunk-QZKWUCMY.js +1 -0
- package/Marketplace/chunk-R7MYFLXJ.js +3 -0
- package/Marketplace/{chunk-F3ASIPCS.js → chunk-R7NUZJ6Z.js} +1 -1
- package/Marketplace/{chunk-5WVUQE43.js → chunk-RMD2ZXUN.js} +1 -1
- package/Marketplace/{chunk-Y4SOX2BE.js → chunk-RXRML6X2.js} +1 -1
- package/Marketplace/chunk-RZ7FKABW.js +1 -0
- package/Marketplace/chunk-S5GA4AVB.js +2 -0
- package/Marketplace/{chunk-P7KW5VRW.js → chunk-TSN4V54G.js} +1 -1
- package/Marketplace/{chunk-4QAG4XV5.js → chunk-U3LBIFGI.js} +1 -1
- package/Marketplace/{chunk-CVLA5R75.js → chunk-V4UFHWKE.js} +1 -1
- package/Marketplace/chunk-V6L3NRY3.js +1 -0
- package/Marketplace/{chunk-WJI6JIBR.js → chunk-VOWLO2M7.js} +1 -1
- package/Marketplace/{chunk-DZHNXVSW.js → chunk-VQUUMT5F.js} +1 -1
- package/Marketplace/{chunk-7NHG2S26.js → chunk-WXUKZFAH.js} +1 -1
- package/Marketplace/{chunk-2GZOVNPU.js → chunk-YG3KQ63T.js} +1 -1
- package/Marketplace/{chunk-E5ZXRZGR.js → chunk-YJSTLOLP.js} +1 -1
- package/Marketplace/{chunk-N23ZYP7G.js → chunk-YZ42FKNJ.js} +1 -1
- package/Marketplace/index.html +2 -2
- package/Marketplace/{main-PVT3FMFE.js → main-CKEU3YNI.js} +1 -1
- package/Marketplace/polyfills-MH5IBZ74.js +2 -0
- package/Marketplace/styles-BHJH7JG5.css +1 -0
- package/package.json +1 -1
- package/Marketplace/chunk-2Y4N4NSS.js +0 -2
- package/Marketplace/chunk-43TMSPFC.js +0 -1
- package/Marketplace/chunk-4QGD62JF.js +0 -2
- package/Marketplace/chunk-4TYJR476.js +0 -1
- package/Marketplace/chunk-77JORVC2.js +0 -8
- package/Marketplace/chunk-7GNI4BOW.js +0 -3
- package/Marketplace/chunk-7NWB2VB2.js +0 -1
- package/Marketplace/chunk-AAIK6JQ3.js +0 -4
- package/Marketplace/chunk-DXJFMERC.js +0 -1
- package/Marketplace/chunk-F5YRASNU.js +0 -1
- package/Marketplace/chunk-G6CZHXQI.js +0 -1
- package/Marketplace/chunk-HYSXRUQ5.js +0 -1
- package/Marketplace/chunk-IIUTIA47.js +0 -1
- package/Marketplace/chunk-LIS3LB3F.js +0 -1
- package/Marketplace/chunk-MEGPKKGI.js +0 -1
- package/Marketplace/chunk-PIDUM6XT.js +0 -2
- package/Marketplace/chunk-RGIPA4RC.js +0 -3
- package/Marketplace/chunk-XKP2LBOB.js +0 -47
- package/Marketplace/polyfills-KTKZVV2N.js +0 -2
- package/Marketplace/styles-4NMVKKKY.css +0 -1
- /package/Marketplace/{chunk-CRRJCY55.js → chunk-GNOSNGXM.js} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var ie=globalThis;function Q(t){return(ie.__Zone_symbol_prefix||"__zone_symbol__")+t}function ft(){let t=ie.performance;function r(L){t&&t.mark&&t.mark(L)}function i(L,_){t&&t.measure&&t.measure(L,_)}r("Zone");let n=(()=>{let _=class _{static assertZonePatched(){if(ie.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=_.current;for(;e.parent;)e=e.parent;return e}static get current(){return v.zone}static get currentTask(){return S}static __load_patch(e,h,D=!1){if(O.hasOwnProperty(e)){let j=ie[Q("forceDuplicateZoneCheck")]===!0;if(!D&&j)throw Error("Already loaded patch: "+e)}else if(!ie["__Zone_disable_"+e]){let j="Zone:"+e;r(j),O[e]=h(ie,_,w),i(j,j)}}get parent(){return this._parent}get name(){return this._name}constructor(e,h){this._parent=e,this._name=h?h.name||"unnamed":"<root>",this._properties=h&&h.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,h)}get(e){let h=this.getZoneWith(e);if(h)return h._properties[e]}getZoneWith(e){let h=this;for(;h;){if(h._properties.hasOwnProperty(e))return h;h=h._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,h){if(typeof e!="function")throw new Error("Expecting function got: "+e);let D=this._zoneDelegate.intercept(this,e,h),j=this;return function(){return j.runGuarded(D,this,arguments,h)}}run(e,h,D,j){v={parent:v,zone:this};try{return this._zoneDelegate.invoke(this,e,h,D,j)}finally{v=v.parent}}runGuarded(e,h=null,D,j){v={parent:v,zone:this};try{try{return this._zoneDelegate.invoke(this,e,h,D,j)}catch(N){if(this._zoneDelegate.handleError(this,N))throw N}}finally{v=v.parent}}runTask(e,h,D){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||te).name+"; Execution: "+this.name+")");if(e.state===Y&&(e.type===W||e.type===y))return;let j=e.state!=B;j&&e._transitionTo(B,d),e.runCount++;let N=S;S=e,v={parent:v,zone:this};try{e.type==y&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,h,D)}catch(he){if(this._zoneDelegate.handleError(this,he))throw he}}finally{e.state!==Y&&e.state!==$&&(e.type==W||e.data&&e.data.isPeriodic?j&&e._transitionTo(d,B):(e.runCount=0,this._updateTaskCount(e,-1),j&&e._transitionTo(Y,B,Y))),v=v.parent,S=N}}scheduleTask(e){if(e.zone&&e.zone!==this){let D=this;for(;D;){if(D===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);D=D.parent}}e._transitionTo(b,Y);let h=[];e._zoneDelegates=h,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(D){throw e._transitionTo($,b,Y),this._zoneDelegate.handleError(this,D),D}return e._zoneDelegates===h&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(d,b),e}scheduleMicroTask(e,h,D,j){return this.scheduleTask(new E(U,e,h,D,j,void 0))}scheduleMacroTask(e,h,D,j,N){return this.scheduleTask(new E(y,e,h,D,j,N))}scheduleEventTask(e,h,D,j,N){return this.scheduleTask(new E(W,e,h,D,j,N))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||te).name+"; Execution: "+this.name+")");if(!(e.state!==d&&e.state!==B)){e._transitionTo(z,d,B);try{this._zoneDelegate.cancelTask(this,e)}catch(h){throw e._transitionTo($,z),this._zoneDelegate.handleError(this,h),h}return this._updateTaskCount(e,-1),e._transitionTo(Y,z),e.runCount=0,e}}_updateTaskCount(e,h){let D=e._zoneDelegates;h==-1&&(e._zoneDelegates=null);for(let j=0;j<D.length;j++)D[j]._updateTaskCount(e.type,h)}};_.__symbol__=Q;let L=_;return L})(),s={name:"",onHasTask:(L,_,c,e)=>L.hasTask(c,e),onScheduleTask:(L,_,c,e)=>L.scheduleTask(c,e),onInvokeTask:(L,_,c,e,h,D)=>L.invokeTask(c,e,h,D),onCancelTask:(L,_,c,e)=>L.cancelTask(c,e)};class u{get zone(){return this._zone}constructor(_,c,e){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=c,this._forkZS=e&&(e&&e.onFork?e:c._forkZS),this._forkDlgt=e&&(e.onFork?c:c._forkDlgt),this._forkCurrZone=e&&(e.onFork?this._zone:c._forkCurrZone),this._interceptZS=e&&(e.onIntercept?e:c._interceptZS),this._interceptDlgt=e&&(e.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=e&&(e.onIntercept?this._zone:c._interceptCurrZone),this._invokeZS=e&&(e.onInvoke?e:c._invokeZS),this._invokeDlgt=e&&(e.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=e&&(e.onInvoke?this._zone:c._invokeCurrZone),this._handleErrorZS=e&&(e.onHandleError?e:c._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=e&&(e.onHandleError?this._zone:c._handleErrorCurrZone),this._scheduleTaskZS=e&&(e.onScheduleTask?e:c._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=e&&(e.onScheduleTask?this._zone:c._scheduleTaskCurrZone),this._invokeTaskZS=e&&(e.onInvokeTask?e:c._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=e&&(e.onInvokeTask?this._zone:c._invokeTaskCurrZone),this._cancelTaskZS=e&&(e.onCancelTask?e:c._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=e&&(e.onCancelTask?this._zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let h=e&&e.onHasTask,D=c&&c._hasTaskZS;(h||D)&&(this._hasTaskZS=h?e:s,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,e.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this._zone),e.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this._zone),e.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this._zone))}fork(_,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,c):new n(_,c)}intercept(_,c,e){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,c,e):c}invoke(_,c,e,h,D){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,c,e,h,D):c.apply(e,h)}handleError(_,c){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,c):!0}scheduleTask(_,c){let e=c;if(this._scheduleTaskZS)this._hasTaskZS&&e._zoneDelegates.push(this._hasTaskDlgtOwner),e=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,c),e||(e=c);else if(c.scheduleFn)c.scheduleFn(c);else if(c.type==U)q(c);else throw new Error("Task is missing scheduleFn.");return e}invokeTask(_,c,e,h){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,c,e,h):c.callback.apply(e,h)}cancelTask(_,c){let e;if(this._cancelTaskZS)e=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");e=c.cancelFn(c)}return e}hasTask(_,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,c)}catch(e){this.handleError(_,e)}}_updateTaskCount(_,c){let e=this._taskCounts,h=e[_],D=e[_]=h+c;if(D<0)throw new Error("More tasks executed then were scheduled.");if(h==0||D==0){let j={microTask:e.microTask>0,macroTask:e.macroTask>0,eventTask:e.eventTask>0,change:_};this.hasTask(this._zone,j)}}}class E{constructor(_,c,e,h,D,j){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=c,this.data=h,this.scheduleFn=D,this.cancelFn=j,!e)throw new Error("callback is not defined");this.callback=e;let N=this;_===W&&h&&h.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ie,N,this,arguments)}}static invokeTask(_,c,e){_||(_=this),K++;try{return _.runCount++,_.zone.runTask(_,c,e)}finally{K==1&&x(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Y,b)}_transitionTo(_,c,e){if(this._state===c||this._state===e)this._state=_,_==Y&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${c}'${e?" or '"+e+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=Q("setTimeout"),p=Q("Promise"),C=Q("then"),g=[],A=!1,P;function H(L){if(P||ie[p]&&(P=ie[p].resolve(0)),P){let _=P[C];_||(_=P.then),_.call(P,L)}else ie[T](L,0)}function q(L){K===0&&g.length===0&&H(x),L&&g.push(L)}function x(){if(!A){for(A=!0;g.length;){let L=g;g=[];for(let _=0;_<L.length;_++){let c=L[_];try{c.zone.runTask(c,null,null)}catch(e){w.onUnhandledError(e)}}}w.microtaskDrainDone(),A=!1}}let te={name:"NO ZONE"},Y="notScheduled",b="scheduling",d="scheduled",B="running",z="canceling",$="unknown",U="microTask",y="macroTask",W="eventTask",O={},w={symbol:Q,currentZoneFrame:()=>v,onUnhandledError:X,microtaskDrainDone:X,scheduleMicroTask:q,showUncaughtError:()=>!n[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:X,patchMethod:()=>X,bindArguments:()=>[],patchThen:()=>X,patchMacroTask:()=>X,patchEventPrototype:()=>X,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>X,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>X,wrapWithCurrentZone:()=>X,filterProperties:()=>[],attachOriginToPatched:()=>X,_redefineProperty:()=>X,patchCallbacks:()=>X,nativeScheduleMicroTask:H},v={parent:null,zone:new n(null,null)},S=null,K=0;function X(){}return i("Zone","Zone"),n}function ht(){let t=globalThis,r=t[Q("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(r||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ft(),t.Zone}var ve=Object.getOwnPropertyDescriptor,Ae=Object.defineProperty,je=Object.getPrototypeOf,dt=Object.create,_t=Array.prototype.slice,He="addEventListener",xe="removeEventListener",Ie=Q(He),Le=Q(xe),ce="true",ae="false",be=Q("");function Ge(t,r){return Zone.current.wrap(t,r)}function Ve(t,r,i,n,s){return Zone.current.scheduleMacroTask(t,r,i,n,s)}var G=Q,Se=typeof window<"u",ye=Se?window:void 0,J=Se&&ye||globalThis,Et="removeAttribute";function Fe(t,r){for(let i=t.length-1;i>=0;i--)typeof t[i]=="function"&&(t[i]=Ge(t[i],r+"_"+i));return t}function Tt(t,r){let i=t.constructor.name;for(let n=0;n<r.length;n++){let s=r[n],u=t[s];if(u){let E=ve(t,s);if(!Qe(E))continue;t[s]=(T=>{let p=function(){return T.apply(this,Fe(arguments,i+"."+s))};return ue(p,T),p})(u)}}}function Qe(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var et=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in J)&&typeof J.process<"u"&&J.process.toString()==="[object process]",Be=!De&&!et&&!!(Se&&ye.HTMLElement),tt=typeof J.process<"u"&&J.process.toString()==="[object process]"&&!et&&!!(Se&&ye.HTMLElement),Ce={},Ye=function(t){if(t=t||J.event,!t)return;let r=Ce[t.type];r||(r=Ce[t.type]=G("ON_PROPERTY"+t.type));let i=this||t.target||J,n=i[r],s;if(Be&&i===ye&&t.type==="error"){let u=t;s=n&&n.call(this,u.message,u.filename,u.lineno,u.colno,u.error),s===!0&&t.preventDefault()}else s=n&&n.apply(this,arguments),s!=null&&!s&&t.preventDefault();return s};function $e(t,r,i){let n=ve(t,r);if(!n&&i&&ve(i,r)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let s=G("on"+r+"patched");if(t.hasOwnProperty(s)&&t[s])return;delete n.writable,delete n.value;let u=n.get,E=n.set,T=r.slice(2),p=Ce[T];p||(p=Ce[T]=G("ON_PROPERTY"+T)),n.set=function(C){let g=this;if(!g&&t===J&&(g=J),!g)return;typeof g[p]=="function"&&g.removeEventListener(T,Ye),E&&E.call(g,null),g[p]=C,typeof C=="function"&&g.addEventListener(T,Ye,!1)},n.get=function(){let C=this;if(!C&&t===J&&(C=J),!C)return null;let g=C[p];if(g)return g;if(u){let A=u.call(this);if(A)return n.set.call(this,A),typeof C[Et]=="function"&&C.removeAttribute(r),A}return null},Ae(t,r,n),t[s]=!0}function nt(t,r,i){if(r)for(let n=0;n<r.length;n++)$e(t,"on"+r[n],i);else{let n=[];for(let s in t)s.slice(0,2)=="on"&&n.push(s);for(let s=0;s<n.length;s++)$e(t,n[s],i)}}var re=G("originalInstance");function ke(t){let r=J[t];if(!r)return;J[G(t)]=r,J[t]=function(){let s=Fe(arguments,t);switch(s.length){case 0:this[re]=new r;break;case 1:this[re]=new r(s[0]);break;case 2:this[re]=new r(s[0],s[1]);break;case 3:this[re]=new r(s[0],s[1],s[2]);break;case 4:this[re]=new r(s[0],s[1],s[2],s[3]);break;default:throw new Error("Arg list too long.")}},ue(J[t],r);let i=new r(function(){}),n;for(n in i)t==="XMLHttpRequest"&&n==="responseBlob"||function(s){typeof i[s]=="function"?J[t].prototype[s]=function(){return this[re][s].apply(this[re],arguments)}:Ae(J[t].prototype,s,{set:function(u){typeof u=="function"?(this[re][s]=Ge(u,t+"."+s),ue(this[re][s],u)):this[re][s]=u},get:function(){return this[re][s]}})}(n);for(n in r)n!=="prototype"&&r.hasOwnProperty(n)&&(J[t][n]=r[n])}function le(t,r,i){let n=t;for(;n&&!n.hasOwnProperty(r);)n=je(n);!n&&t[r]&&(n=t);let s=G(r),u=null;if(n&&(!(u=n[s])||!n.hasOwnProperty(s))){u=n[s]=n[r];let E=n&&ve(n,r);if(Qe(E)){let T=i(u,s,r);n[r]=function(){return T(this,arguments)},ue(n[r],u)}}return u}function gt(t,r,i){let n=null;function s(u){let E=u.data;return E.args[E.cbIdx]=function(){u.invoke.apply(this,arguments)},n.apply(E.target,E.args),u}n=le(t,r,u=>function(E,T){let p=i(E,T);return p.cbIdx>=0&&typeof T[p.cbIdx]=="function"?Ve(p.name,T[p.cbIdx],p,s):u.apply(E,T)})}function ue(t,r){t[G("OriginalDelegate")]=r}var Je=!1,Me=!1;function yt(){try{let t=ye.navigator.userAgent;if(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1)return!0}catch{}return!1}function mt(){if(Je)return Me;Je=!0;try{let t=ye.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Me=!0)}catch{}return Me}var ge=!1;if(typeof window<"u")try{let t=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ge=!1}var pt={useG:!0},ee={},rt={},ot=new RegExp("^"+be+"(\\w+)(true|false)$"),st=G("propagationStopped");function it(t,r){let i=(r?r(t):t)+ae,n=(r?r(t):t)+ce,s=be+i,u=be+n;ee[t]={},ee[t][ae]=s,ee[t][ce]=u}function kt(t,r,i,n){let s=n&&n.add||He,u=n&&n.rm||xe,E=n&&n.listeners||"eventListeners",T=n&&n.rmAll||"removeAllListeners",p=G(s),C="."+s+":",g="prependListener",A="."+g+":",P=function(b,d,B){if(b.isRemoved)return;let z=b.callback;typeof z=="object"&&z.handleEvent&&(b.callback=y=>z.handleEvent(y),b.originalDelegate=z);let $;try{b.invoke(b,d,[B])}catch(y){$=y}let U=b.options;if(U&&typeof U=="object"&&U.once){let y=b.originalDelegate?b.originalDelegate:b.callback;d[u].call(d,B.type,y,U)}return $};function H(b,d,B){if(d=d||t.event,!d)return;let z=b||d.target||t,$=z[ee[d.type][B?ce:ae]];if($){let U=[];if($.length===1){let y=P($[0],z,d);y&&U.push(y)}else{let y=$.slice();for(let W=0;W<y.length&&!(d&&d[st]===!0);W++){let O=P(y[W],z,d);O&&U.push(O)}}if(U.length===1)throw U[0];for(let y=0;y<U.length;y++){let W=U[y];r.nativeScheduleMicroTask(()=>{throw W})}}}let q=function(b){return H(this,b,!1)},x=function(b){return H(this,b,!0)};function te(b,d){if(!b)return!1;let B=!0;d&&d.useG!==void 0&&(B=d.useG);let z=d&&d.vh,$=!0;d&&d.chkDup!==void 0&&($=d.chkDup);let U=!1;d&&d.rt!==void 0&&(U=d.rt);let y=b;for(;y&&!y.hasOwnProperty(s);)y=je(y);if(!y&&b[s]&&(y=b),!y||y[p])return!1;let W=d&&d.eventNameToString,O={},w=y[p]=y[s],v=y[G(u)]=y[u],S=y[G(E)]=y[E],K=y[G(T)]=y[T],X;d&&d.prepend&&(X=y[G(d.prepend)]=y[d.prepend]);function L(o,l){return!ge&&typeof o=="object"&&o?!!o.capture:!ge||!l?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let _=function(o){if(!O.isExisting)return w.call(O.target,O.eventName,O.capture?x:q,O.options)},c=function(o){if(!o.isRemoved){let l=ee[o.eventName],k;l&&(k=l[o.capture?ce:ae]);let R=k&&o.target[k];if(R){for(let m=0;m<R.length;m++)if(R[m]===o){R.splice(m,1),o.isRemoved=!0,o.removeAbortListener&&(o.removeAbortListener(),o.removeAbortListener=null),R.length===0&&(o.allRemoved=!0,o.target[k]=null);break}}}if(o.allRemoved)return v.call(o.target,o.eventName,o.capture?x:q,o.options)},e=function(o){return w.call(O.target,O.eventName,o.invoke,O.options)},h=function(o){return X.call(O.target,O.eventName,o.invoke,O.options)},D=function(o){return v.call(o.target,o.eventName,o.invoke,o.options)},j=B?_:e,N=B?c:D,he=function(o,l){let k=typeof l;return k==="function"&&o.callback===l||k==="object"&&o.originalDelegate===l},me=d&&d.diff?d.diff:he,de=Zone[G("UNPATCHED_EVENTS")],Pe=t[G("PASSIVE_EVENTS")];function f(o){if(typeof o=="object"&&o!==null){let l={...o};return o.signal&&(l.signal=o.signal),l}return o}let a=function(o,l,k,R,m=!1,I=!1){return function(){let M=this||t,Z=arguments[0];d&&d.transferEventName&&(Z=d.transferEventName(Z));let V=arguments[1];if(!V)return o.apply(this,arguments);if(De&&Z==="uncaughtException")return o.apply(this,arguments);let F=!1;if(typeof V!="function"){if(!V.handleEvent)return o.apply(this,arguments);F=!0}if(z&&!z(o,V,M,arguments))return;let fe=ge&&!!Pe&&Pe.indexOf(Z)!==-1,oe=f(L(arguments[2],fe)),_e=oe?.signal;if(_e?.aborted)return;if(de){for(let se=0;se<de.length;se++)if(Z===de[se])return fe?o.call(M,Z,V,oe):o.apply(this,arguments)}let Oe=oe?typeof oe=="boolean"?!0:oe.capture:!1,Ue=oe&&typeof oe=="object"?oe.once:!1,ut=Zone.current,Ne=ee[Z];Ne||(it(Z,W),Ne=ee[Z]);let We=Ne[Oe?ce:ae],Ee=M[We],qe=!1;if(Ee){if(qe=!0,$){for(let se=0;se<Ee.length;se++)if(me(Ee[se],V))return}}else Ee=M[We]=[];let we,ze=M.constructor.name,Xe=rt[ze];Xe&&(we=Xe[Z]),we||(we=ze+l+(W?W(Z):Z)),O.options=oe,Ue&&(O.options.once=!1),O.target=M,O.capture=Oe,O.eventName=Z,O.isExisting=qe;let pe=B?pt:void 0;pe&&(pe.taskData=O),_e&&(O.options.signal=void 0);let ne=ut.scheduleEventTask(we,V,pe,k,R);if(_e){O.options.signal=_e;let se=()=>ne.zone.cancelTask(ne);o.call(_e,"abort",se,{once:!0}),ne.removeAbortListener=()=>_e.removeEventListener("abort",se)}if(O.target=null,pe&&(pe.taskData=null),Ue&&(O.options.once=!0),!ge&&typeof ne.options=="boolean"||(ne.options=oe),ne.target=M,ne.capture=Oe,ne.eventName=Z,F&&(ne.originalDelegate=V),I?Ee.unshift(ne):Ee.push(ne),m)return M}};return y[s]=a(w,C,j,N,U),X&&(y[g]=a(X,A,h,N,U,!0)),y[u]=function(){let o=this||t,l=arguments[0];d&&d.transferEventName&&(l=d.transferEventName(l));let k=arguments[2],R=k?typeof k=="boolean"?!0:k.capture:!1,m=arguments[1];if(!m)return v.apply(this,arguments);if(z&&!z(v,m,o,arguments))return;let I=ee[l],M;I&&(M=I[R?ce:ae]);let Z=M&&o[M];if(Z)for(let V=0;V<Z.length;V++){let F=Z[V];if(me(F,m)){if(Z.splice(V,1),F.isRemoved=!0,Z.length===0&&(F.allRemoved=!0,o[M]=null,!R&&typeof l=="string")){let fe=be+"ON_PROPERTY"+l;o[fe]=null}return F.zone.cancelTask(F),U?o:void 0}}return v.apply(this,arguments)},y[E]=function(){let o=this||t,l=arguments[0];d&&d.transferEventName&&(l=d.transferEventName(l));let k=[],R=ct(o,W?W(l):l);for(let m=0;m<R.length;m++){let I=R[m],M=I.originalDelegate?I.originalDelegate:I.callback;k.push(M)}return k},y[T]=function(){let o=this||t,l=arguments[0];if(l){d&&d.transferEventName&&(l=d.transferEventName(l));let k=ee[l];if(k){let R=k[ae],m=k[ce],I=o[R],M=o[m];if(I){let Z=I.slice();for(let V=0;V<Z.length;V++){let F=Z[V],fe=F.originalDelegate?F.originalDelegate:F.callback;this[u].call(this,l,fe,F.options)}}if(M){let Z=M.slice();for(let V=0;V<Z.length;V++){let F=Z[V],fe=F.originalDelegate?F.originalDelegate:F.callback;this[u].call(this,l,fe,F.options)}}}}else{let k=Object.keys(o);for(let R=0;R<k.length;R++){let m=k[R],I=ot.exec(m),M=I&&I[1];M&&M!=="removeListener"&&this[T].call(this,M)}this[T].call(this,"removeListener")}if(U)return this},ue(y[s],w),ue(y[u],v),K&&ue(y[T],K),S&&ue(y[E],S),!0}let Y=[];for(let b=0;b<i.length;b++)Y[b]=te(i[b],n);return Y}function ct(t,r){if(!r){let u=[];for(let E in t){let T=ot.exec(E),p=T&&T[1];if(p&&(!r||p===r)){let C=t[E];if(C)for(let g=0;g<C.length;g++)u.push(C[g])}}return u}let i=ee[r];i||(it(r),i=ee[r]);let n=t[i[ae]],s=t[i[ce]];return n?s?n.concat(s):n.slice():s?s.slice():[]}function vt(t,r){let i=t.Event;i&&i.prototype&&r.patchMethod(i.prototype,"stopImmediatePropagation",n=>function(s,u){s[st]=!0,n&&n.apply(s,u)})}function bt(t,r){r.patchMethod(t,"queueMicrotask",i=>function(n,s){Zone.current.scheduleMicroTask("queueMicrotask",s[0])})}var Re=G("zoneTask");function Te(t,r,i,n){let s=null,u=null;r+=n,i+=n;let E={};function T(C){let g=C.data;return g.args[0]=function(){return C.invoke.apply(this,arguments)},g.handleId=s.apply(t,g.args),C}function p(C){return u.call(t,C.data.handleId)}s=le(t,r,C=>function(g,A){if(typeof A[0]=="function"){let P={isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?A[1]||0:void 0,args:A},H=A[0];A[0]=function(){try{return H.apply(this,arguments)}finally{P.isPeriodic||(typeof P.handleId=="number"?delete E[P.handleId]:P.handleId&&(P.handleId[Re]=null))}};let q=Ve(r,A[0],P,T,p);if(!q)return q;let x=q.data.handleId;return typeof x=="number"?E[x]=q:x&&(x[Re]=q),x&&x.ref&&x.unref&&typeof x.ref=="function"&&typeof x.unref=="function"&&(q.ref=x.ref.bind(x),q.unref=x.unref.bind(x)),typeof x=="number"||x?x:q}else return C.apply(t,A)}),u=le(t,i,C=>function(g,A){let P=A[0],H;typeof P=="number"?H=E[P]:(H=P&&P[Re],H||(H=P)),H&&typeof H.type=="string"?H.state!=="notScheduled"&&(H.cancelFn&&H.data.isPeriodic||H.runCount===0)&&(typeof P=="number"?delete E[P]:P&&(P[Re]=null),H.zone.cancelTask(H)):C.apply(t,A)})}function Pt(t,r){let{isBrowser:i,isMix:n}=r.getGlobalObjects();if(!i&&!n||!t.customElements||!("customElements"in t))return;let s=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];r.patchCallbacks(r,t.customElements,"customElements","define",s)}function wt(t,r){if(Zone[r.symbol("patchEventTarget")])return;let{eventNames:i,zoneSymbolEventNames:n,TRUE_STR:s,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let p=0;p<i.length;p++){let C=i[p],g=C+u,A=C+s,P=E+g,H=E+A;n[C]={},n[C][u]=P,n[C][s]=H}let T=t.EventTarget;if(!(!T||!T.prototype))return r.patchEventTarget(t,r,[T&&T.prototype]),!0}function Rt(t,r){r.patchEventPrototype(t,r)}function at(t,r,i){if(!i||i.length===0)return r;let n=i.filter(u=>u.target===t);if(!n||n.length===0)return r;let s=n[0].ignoreProperties;return r.filter(u=>s.indexOf(u)===-1)}function Ke(t,r,i,n){if(!t)return;let s=at(t,r,i);nt(t,s,n)}function Ze(t){return Object.getOwnPropertyNames(t).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Ct(t,r){if(De&&!tt||Zone[t.symbol("patchEvents")])return;let i=r.__Zone_ignore_on_properties,n=[];if(Be){let s=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let u=yt()?[{target:s,ignoreProperties:["error"]}]:[];Ke(s,Ze(s),i&&i.concat(u),je(s))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let s=0;s<n.length;s++){let u=r[n[s]];u&&u.prototype&&Ke(u.prototype,Ze(u.prototype),i)}}function St(t){t.__load_patch("legacy",r=>{let i=r[t.__symbol__("legacyPatch")];i&&i()}),t.__load_patch("timers",r=>{let i="set",n="clear";Te(r,i,n,"Timeout"),Te(r,i,n,"Interval"),Te(r,i,n,"Immediate")}),t.__load_patch("requestAnimationFrame",r=>{Te(r,"request","cancel","AnimationFrame"),Te(r,"mozRequest","mozCancel","AnimationFrame"),Te(r,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(r,i)=>{let n=["alert","prompt","confirm"];for(let s=0;s<n.length;s++){let u=n[s];le(r,u,(E,T,p)=>function(C,g){return i.current.run(E,r,g,p)})}}),t.__load_patch("EventTarget",(r,i,n)=>{Rt(r,n),wt(r,n);let s=r.XMLHttpRequestEventTarget;s&&s.prototype&&n.patchEventTarget(r,n,[s.prototype])}),t.__load_patch("MutationObserver",(r,i,n)=>{ke("MutationObserver"),ke("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(r,i,n)=>{ke("IntersectionObserver")}),t.__load_patch("FileReader",(r,i,n)=>{ke("FileReader")}),t.__load_patch("on_property",(r,i,n)=>{Ct(n,r)}),t.__load_patch("customElements",(r,i,n)=>{Pt(r,n)}),t.__load_patch("XHR",(r,i)=>{C(r);let n=G("xhrTask"),s=G("xhrSync"),u=G("xhrListener"),E=G("xhrScheduled"),T=G("xhrURL"),p=G("xhrErrorBeforeScheduled");function C(g){let A=g.XMLHttpRequest;if(!A)return;let P=A.prototype;function H(w){return w[n]}let q=P[Ie],x=P[Le];if(!q){let w=g.XMLHttpRequestEventTarget;if(w){let v=w.prototype;q=v[Ie],x=v[Le]}}let te="readystatechange",Y="scheduled";function b(w){let v=w.data,S=v.target;S[E]=!1,S[p]=!1;let K=S[u];q||(q=S[Ie],x=S[Le]),K&&x.call(S,te,K);let X=S[u]=()=>{if(S.readyState===S.DONE)if(!v.aborted&&S[E]&&w.state===Y){let _=S[i.__symbol__("loadfalse")];if(S.status!==0&&_&&_.length>0){let c=w.invoke;w.invoke=function(){let e=S[i.__symbol__("loadfalse")];for(let h=0;h<e.length;h++)e[h]===w&&e.splice(h,1);!v.aborted&&w.state===Y&&c.call(w)},_.push(w)}else w.invoke()}else!v.aborted&&S[E]===!1&&(S[p]=!0)};return q.call(S,te,X),S[n]||(S[n]=w),W.apply(S,v.args),S[E]=!0,w}function d(){}function B(w){let v=w.data;return v.aborted=!0,O.apply(v.target,v.args)}let z=le(P,"open",()=>function(w,v){return w[s]=v[2]==!1,w[T]=v[1],z.apply(w,v)}),$="XMLHttpRequest.send",U=G("fetchTaskAborting"),y=G("fetchTaskScheduling"),W=le(P,"send",()=>function(w,v){if(i.current[y]===!0||w[s])return W.apply(w,v);{let S={target:w,url:w[T],isPeriodic:!1,args:v,aborted:!1},K=Ve($,d,S,b,B);w&&w[p]===!0&&!S.aborted&&K.state===Y&&K.invoke()}}),O=le(P,"abort",()=>function(w,v){let S=H(w);if(S&&typeof S.type=="string"){if(S.cancelFn==null||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(i.current[U]===!0)return O.apply(w,v)})}}),t.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&Tt(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(r,i)=>{function n(s){return function(u){ct(r,s).forEach(T=>{let p=r.PromiseRejectionEvent;if(p){let C=new p(s,{promise:u.promise,reason:u.rejection});T.invoke(C)}})}}r.PromiseRejectionEvent&&(i[G("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),i[G("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(r,i,n)=>{bt(r,n)})}function Dt(t){t.__load_patch("ZoneAwarePromise",(r,i,n)=>{let s=Object.getOwnPropertyDescriptor,u=Object.defineProperty;function E(f){if(f&&f.toString===Object.prototype.toString){let a=f.constructor&&f.constructor.name;return(a||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let T=n.symbol,p=[],C=r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,g=T("Promise"),A=T("then"),P="__creationTrace__";n.onUnhandledError=f=>{if(n.showUncaughtError()){let a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},n.microtaskDrainDone=()=>{for(;p.length;){let f=p.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){q(a)}}};let H=T("unhandledPromiseRejectionHandler");function q(f){n.onUnhandledError(f);try{let a=i[H];typeof a=="function"&&a.call(this,f)}catch{}}function x(f){return f&&f.then}function te(f){return f}function Y(f){return N.reject(f)}let b=T("state"),d=T("value"),B=T("finally"),z=T("parentPromiseValue"),$=T("parentPromiseState"),U="Promise.then",y=null,W=!0,O=!1,w=0;function v(f,a){return o=>{try{L(f,a,o)}catch(l){L(f,!1,l)}}}let S=function(){let f=!1;return function(o){return function(){f||(f=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",X=T("currentTaskTrace");function L(f,a,o){let l=S();if(f===o)throw new TypeError(K);if(f[b]===y){let k=null;try{(typeof o=="object"||typeof o=="function")&&(k=o&&o.then)}catch(R){return l(()=>{L(f,!1,R)})(),f}if(a!==O&&o instanceof N&&o.hasOwnProperty(b)&&o.hasOwnProperty(d)&&o[b]!==y)c(o),L(f,o[b],o[d]);else if(a!==O&&typeof k=="function")try{k.call(o,l(v(f,a)),l(v(f,!1)))}catch(R){l(()=>{L(f,!1,R)})()}else{f[b]=a;let R=f[d];if(f[d]=o,f[B]===B&&a===W&&(f[b]=f[$],f[d]=f[z]),a===O&&o instanceof Error){let m=i.currentTask&&i.currentTask.data&&i.currentTask.data[P];m&&u(o,X,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m<R.length;)e(f,R[m++],R[m++],R[m++],R[m++]);if(R.length==0&&a==O){f[b]=w;let m=o;try{throw new Error("Uncaught (in promise): "+E(o)+(o&&o.stack?`
|
|
2
|
-
`+o.stack:""))}catch(I){m=I}C&&(m.throwOriginal=!0),m.rejection=o,m.promise=f,m.zone=i.current,m.task=i.currentTask,p.push(m),n.scheduleMicroTask()}}}return f}let _=T("rejectionHandledHandler");function c(f){if(f[b]===w){try{let a=i[_];a&&typeof a=="function"&&a.call(this,{rejection:f[d],promise:f})}catch{}f[b]=O;for(let a=0;a<p.length;a++)f===p[a].promise&&p.splice(a,1)}}function e(f,a,o,l,k){c(f);let R=f[b],m=R?typeof l=="function"?l:te:typeof k=="function"?k:Y;a.scheduleMicroTask(U,()=>{try{let I=f[d],M=!!o&&B===o[B];M&&(o[z]=I,o[$]=R);let Z=a.run(m,void 0,M&&m!==Y&&m!==te?[]:[I]);L(o,!0,Z)}catch(I){L(o,!1,I)}},o)}let h="function ZoneAwarePromise() { [native code] }",D=function(){},j=r.AggregateError;class N{static toString(){return h}static resolve(a){return a instanceof N?a:L(new this(null),W,a)}static reject(a){return L(new this(null),O,a)}static withResolvers(){let a={};return a.promise=new N((o,l)=>{a.resolve=o,a.reject=l}),a}static any(a){if(!a||typeof a[Symbol.iterator]!="function")return Promise.reject(new j([],"All promises were rejected"));let o=[],l=0;try{for(let m of a)l++,o.push(N.resolve(m))}catch{return Promise.reject(new j([],"All promises were rejected"))}if(l===0)return Promise.reject(new j([],"All promises were rejected"));let k=!1,R=[];return new N((m,I)=>{for(let M=0;M<o.length;M++)o[M].then(Z=>{k||(k=!0,m(Z))},Z=>{R.push(Z),l--,l===0&&(k=!0,I(new j(R,"All promises were rejected")))})})}static race(a){let o,l,k=new this((I,M)=>{o=I,l=M});function R(I){o(I)}function m(I){l(I)}for(let I of a)x(I)||(I=this.resolve(I)),I.then(R,m);return k}static all(a){return N.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof N?this:N).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,o){let l,k,R=new this((Z,V)=>{l=Z,k=V}),m=2,I=0,M=[];for(let Z of a){x(Z)||(Z=this.resolve(Z));let V=I;try{Z.then(F=>{M[V]=o?o.thenCallback(F):F,m--,m===0&&l(M)},F=>{o?(M[V]=o.errorCallback(F),m--,m===0&&l(M)):k(F)})}catch(F){k(F)}m++,I++}return m-=2,m===0&&l(M),R}constructor(a){let o=this;if(!(o instanceof N))throw new Error("Must be an instanceof Promise.");o[b]=y,o[d]=[];try{let l=S();a&&a(l(v(o,W)),l(v(o,O)))}catch(l){L(o,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return N}then(a,o){let l=this.constructor?.[Symbol.species];(!l||typeof l!="function")&&(l=this.constructor||N);let k=new l(D),R=i.current;return this[b]==y?this[d].push(R,k,a,o):e(this,R,k,a,o),k}catch(a){return this.then(null,a)}finally(a){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=N);let l=new o(D);l[B]=B;let k=i.current;return this[b]==y?this[d].push(k,l,a,a):e(this,k,l,a,a),l}}N.resolve=N.resolve,N.reject=N.reject,N.race=N.race,N.all=N.all;let he=r[g]=r.Promise;r.Promise=N;let me=T("thenPatched");function de(f){let a=f.prototype,o=s(a,"then");if(o&&(o.writable===!1||!o.configurable))return;let l=a.then;a[A]=l,f.prototype.then=function(k,R){return new N((I,M)=>{l.call(this,I,M)}).then(k,R)},f[me]=!0}n.patchThen=de;function Pe(f){return function(a,o){let l=f.apply(a,o);if(l instanceof N)return l;let k=l.constructor;return k[me]||de(k),l}}return he&&(de(he),le(r,"fetch",f=>Pe(f))),Promise[i.__symbol__("uncaughtPromiseErrors")]=p,N})}function Ot(t){t.__load_patch("toString",r=>{let i=Function.prototype.toString,n=G("OriginalDelegate"),s=G("Promise"),u=G("Error"),E=function(){if(typeof this=="function"){let g=this[n];if(g)return typeof g=="function"?i.call(g):Object.prototype.toString.call(g);if(this===Promise){let A=r[s];if(A)return i.call(A)}if(this===Error){let A=r[u];if(A)return i.call(A)}}return i.call(this)};E[n]=i,Function.prototype.toString=E;let T=Object.prototype.toString,p="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?p:T.call(this)}})}function Nt(t,r,i,n,s){let u=Zone.__symbol__(n);if(r[u])return;let E=r[u]=r[n];r[n]=function(T,p,C){return p&&p.prototype&&s.forEach(function(g){let A=`${i}.${n}::`+g,P=p.prototype;try{if(P.hasOwnProperty(g)){let H=t.ObjectGetOwnPropertyDescriptor(P,g);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,A),t._redefineProperty(p.prototype,g,H)):P[g]&&(P[g]=t.wrapWithCurrentZone(P[g],A))}else P[g]&&(P[g]=t.wrapWithCurrentZone(P[g],A))}catch{}}),E.call(r,T,p,C)},t.attachOriginToPatched(r[n],E)}function It(t){t.__load_patch("util",(r,i,n)=>{let s=Ze(r);n.patchOnProperties=nt,n.patchMethod=le,n.bindArguments=Fe,n.patchMacroTask=gt;let u=i.__symbol__("BLACK_LISTED_EVENTS"),E=i.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(i[u]=i[E]=r[u]),n.patchEventPrototype=vt,n.patchEventTarget=kt,n.isIEOrEdge=mt,n.ObjectDefineProperty=Ae,n.ObjectGetOwnPropertyDescriptor=ve,n.ObjectCreate=dt,n.ArraySlice=_t,n.patchClass=ke,n.wrapWithCurrentZone=Ge,n.filterProperties=at,n.attachOriginToPatched=ue,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Nt,n.getGlobalObjects=()=>({globalSources:rt,zoneSymbolEventNames:ee,eventNames:s,isBrowser:Be,isMix:tt,isNode:De,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:be,ADD_EVENT_LISTENER_STR:He,REMOVE_EVENT_LISTENER_STR:xe})})}function Lt(t){Dt(t),Ot(t),It(t)}var lt=ht();Lt(lt);St(lt);
|