sunbird-questionset-editor-web-component
Version:
The web component package for the sunbird questionset editor
13 lines • 6.29 MB
JavaScript
(()=>{"use strict";var e,s={},_={};function n(e){var a=_[e];if(void 0!==a)return a.exports;var r=_[e]={id:e,loaded:!1,exports:{}};return s[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=s,n.amdD=function(){throw new Error("define cannot be used indirect")},e=[],n.O=(a,r,f,o)=>{if(!r){var u=1/0;for(t=0;t<e.length;t++){for(var[r,f,o]=e[t],c=!0,l=0;l<r.length;l++)(!1&o||u>=o)&&Object.keys(n.O).every(h=>n.O[h](r[l]))?r.splice(l--,1):(c=!1,o<u&&(u=o));if(c){e.splice(t--,1);var i=f();void 0!==i&&(a=i)}}return a}o=o||0;for(var t=e.length;t>0&&e[t-1][2]>o;t--)e[t]=e[t-1];e[t]=[r,f,o]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),n.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0};n.O.j=f=>0===e[f];var a=(f,o)=>{var l,i,[t,u,c]=o,d=0;if(t.some(v=>0!==e[v])){for(l in u)n.o(u,l)&&(n.m[l]=u[l]);if(c)var b=c(n)}for(f&&f(o);d<t.length;d++)n.o(e,i=t[d])&&e[i]&&e[i][0](),e[i]=0;return n.O(b)},r=self.webpackChunkquestionset_editor_library_wc=self.webpackChunkquestionset_editor_library_wc||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
"use strict";(self.webpackChunkquestionset_editor_library_wc=self.webpackChunkquestionset_editor_library_wc||[]).push([[429],{8583:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,E){n&&n.measure&&n.measure(L,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.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 t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return L.__symbol__=a,L})();const w={name:"",onHasTask:(L,E,t,r)=>L.hasTask(t,r),onScheduleTask:(L,E,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,E,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,E,t,r)=>L.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:w,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=w,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=w,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=w,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}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}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||e[Z]&&(K=e[Z].resolve(0)),K){let E=K[N];E||(E=K.then),E.call(K,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let E=0;E<L.length;E++){const t=L[E];try{t.zone.runTask(t,null,null)}catch(r){z.onUnhandledError(r)}}}z.microtaskDrainDone(),H=!1}}const J={name:"NO ZONE"},x="notScheduled",X="scheduling",j="scheduled",p="running",G="canceling",h="unknown",I="microTask",P="macroTask",Q="eventTask",oe={},z={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,De="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(De),Ne=Zone.__symbol__(Oe),ie="true",ce="false",me=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Le(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||"object"==typeof self&&self||global,ct="removeAttribute";function Me(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Ve(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),Pe={},Ue=function(e){if(!(e=e||Y.event))return;let n=Pe[e.type];n||(n=Pe[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return je&&i===_e&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function We(e,n,i){let o=ue(e,n);if(!o&&i&&ue(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let w=Pe[d];w||(w=Pe[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[w]&&m.removeEventListener(d,Ue),y&&y.call(m,null),m[w]=v,"function"==typeof v&&m.addEventListener(d,Ue,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[w];if(m)return m;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},pe(e,n,o),e[c]=!0}function qe(e,n,i){if(n)for(let o=0;o<n.length;o++)We(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)We(e,o[c],i)}}const ne=A("originalInstance");function ge(e){const n=Y[e];if(!n)return;Y[A(e)]=n,Y[e]=function(){const c=Me(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},le(Y[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:pe(Y[e].prototype,c,{set:function(a){"function"==typeof a?(this[ne][c]=Ie(a,e+"."+c),le(this[ne][c],a)):this[ne][c]=a},get:function(){return this[ne][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[e][o]=n[o])}function ae(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=ve(o);!o&&e[n]&&(o=e);const c=A(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Ve(o&&ue(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},le(o[n],a)}return a}function lt(e,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=ae(e,n,a=>function(y,d){const w=i(y,d);return w.cbIdx>=0&&"function"==typeof d[w.cbIdx]?Le(w.name,d[w.cbIdx],w,c):a.apply(y,d)})}function le(e,n){e[A("OriginalDelegate")]=n}let Xe=!1,Ae=!1;function ft(){if(Xe)return Ae;Xe=!0;try{const e=_e.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],w=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",j=null,p=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[J]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T<b.length;)ee(l,b[T++],b[T++],b[T++],b[T++]);if(0==b.length&&u==G){l[q]=h;let T=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(S){T=S}w&&(T.throwOriginal=!0),T.rejection=s,T.promise=l,T.zone=n.current,T.task=n.currentTask,d.push(T),i.scheduleMicroTask()}}}return l}const U=y("rejectionHandledHandler");function re(l){if(l[q]===h){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch{}l[q]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){re(l);const b=l[q],T=b?"function"==typeof f?f:H:"function"==typeof g?g:K;u.scheduleMicroTask(X,()=>{try{const S=l[R],D=!!s&&_===s[_];D&&(s[J]=S,s[x]=b);const O=u.run(T,void 0,D&&T!==K&&T!==H?[]:[S]);z(s,!0,O)}catch(S){z(s,!1,S)}},s)}const L=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,S)=>{for(let D=0;D<s.length;D++)s[D].then(O=>{g||(g=!0,T(O))},O=>{b.push(O),f--,0===f&&(g=!0,S(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,D)=>{s=S,f=D});function b(S){s(S)}function T(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((O,V)=>{f=O,g=V}),T=2,S=0;const D=[];for(let O of u){B(O)||(O=this.resolve(O));const V=S;try{O.then(F=>{D[V]=s?s.thenCallback(F):F,T--,0===T&&f(D)},F=>{s?(D[V]=s.errorCallback(F),T--,0===T&&f(D)):g(F)})}catch(F){g(F)}T++,S++}return T-=2,0===T&&f(D),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(L),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(L);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((S,D)=>{f.call(this,S,D)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+me+"(\\w+)(true|false)$"),$e=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ce,o=(n?n(e):e)+ie,c=me+i,a=me+o;te[e]={},te[e][ce]=c,te[e][ie]=a}function dt(e,n,i,o){const c=o&&o.add||De,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",w=A(c),v="."+c+":",m="prependListener",M="."+m+":",Z=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,J){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][J?ie:ce]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.slice();for(let G=0;G<p.length&&(!_||!0!==_[$e]);G++){const h=Z(p[G],x,_);h&&j.push(h)}}if(1===j.length)throw j[0];for(let p=0;p<j.length;p++){const G=j[p];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=ve(p);if(!p&&R[c]&&(p=R),!p||p[w])return!1;const G=_&&_.eventNameToString,h={},I=p[w]=p[c],P=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ie:ce]);const b=g&&s.target[g];if(b)for(let T=0;T<b.length;T++)if(b[T]===s){b.splice(T,1),s.isRemoved=!0,0===b.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return P.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return P.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[A("UNPATCHED_EVENTS")],l=e[A("PASSIVE_EVENTS")],u=function(s,f,g,b,T=!1,S=!1){return function(){const D=this||e;let O=arguments[0];_&&_.transferEventName&&(O=_.transferEventName(O));let V=arguments[1];if(!V)return s.apply(this,arguments);if(we&&"uncaughtException"===O)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,D,arguments))return;const fe=Ee&&!!l&&-1!==l.indexOf(O),se=function U(s,f){return!Ee&&"object"==typeof s&&s?!!s.capture:Ee&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}(arguments[2],fe);if($)for(let de=0;de<$.length;de++)if(O===$[de])return fe?s.call(D,O,V,se):s.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),tt=!(!se||"object"!=typeof se)&&se.once,gt=Zone.current;let Ge=te[O];Ge||(Je(O,G),Ge=te[O]);const nt=Ge[xe?ie:ce];let Ce,ye=D[nt],rt=!1;if(ye){if(rt=!0,X)for(let de=0;de<ye.length;de++)if(C(ye[de],V))return}else ye=D[nt]=[];const ot=D.constructor.name,st=ze[ot];st&&(Ce=st[O]),Ce||(Ce=ot+f+(G?G(O):O)),h.options=se,tt&&(h.options.once=!1),h.target=D,h.capture=xe,h.eventName=O,h.isExisting=rt;const ke=J?ht:void 0;ke&&(ke.taskData=h);const he=gt.scheduleEventTask(Ce,V,ke,g,b);return h.target=null,ke&&(ke.taskData=null),tt&&(se.once=!0),!Ee&&"boolean"==typeof he.options||(he.options=se),he.target=D,he.capture=xe,he.eventName=O,F&&(he.originalDelegate=V),S?ye.unshift(he):ye.push(he),T?D:void 0}};return p[c]=u(I,v,t,r,j),z&&(p[m]=u(z,M,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),p[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],b=!!g&&("boolean"==typeof g||g.capture),T=arguments[1];if(!T)return P.apply(this,arguments);if(x&&!x(P,T,s,arguments))return;const S=te[f];let D;S&&(D=S[b?ie:ce]);const O=D&&s[D];if(O)for(let V=0;V<O.length;V++){const F=O[V];if(C(F,T))return O.splice(V,1),F.isRemoved=!0,0===O.length&&(F.allRemoved=!0,s[D]=null,"string"==typeof f)&&(s[me+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),j?s:void 0}return P.apply(this,arguments)},p[y]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],b=Ke(s,G?G(f):f);for(let T=0;T<b.length;T++){const S=b[T];g.push(S.originalDelegate?S.originalDelegate:S.callback)}return g},p[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=te[f];if(g){const S=s[g[ce]],D=s[g[ie]];if(S){const O=S.slice();for(let V=0;V<O.length;V++){const F=O[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(D){const O=D.slice();for(let V=0;V<O.length;V++){const F=O[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let b=0;b<g.length;b++){const S=Ye.exec(g[b]);let D=S&&S[1];D&&"removeListener"!==D&&this[d].call(this,D)}this[d].call(this,"removeListener")}if(j)return this},le(p[c],I),le(p[a],P),oe&&le(p[d],oe),Q&&le(p[y],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=K(i[R],o);return q}function Ke(e,n){if(!n){const a=[];for(let y in e){const d=Ye.exec(y);let w=d&&d[1];if(w&&(!n||w===n)){const v=e[y];if(v)for(let m=0;m<v.length;m++)a.push(v[m])}}return a}let i=te[n];i||(Je(n),i=te[n]);const o=e[i[ce]],c=e[i[ie]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[$e]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,w,v){return w&&w.prototype&&c.forEach(function(m){const M=`${i}.${o}::`+m,Z=w.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(w.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}catch{}}),y.call(n,d,w,v)},e.attachOriginToPatched(n[o],y)}function Qe(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function et(e,n,i,o){e&&qe(e,Qe(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=qe,i.patchMethod=ae,i.bindArguments=Me,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=pe,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Se,i.ArraySlice=it,i.patchClass=ge,i.wrapWithCurrentZone=Ie,i.filterProperties=Qe,i.attachOriginToPatched=le,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Be,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:De,REMOVE_EVENT_LISTENER_STR:Oe})});const Re=A("zoneTask");function Te(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function w(v){return a.call(e,v.data.handleId)}c=ae(e,n+=o,v=>function(m,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Re]=null))}};const B=Le(n,M[0],Z,d,w);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Re]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=ae(e,i,v=>function(m,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Re],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Re]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";Te(e,n,i,"Timeout"),Te(e,n,i,"Interval"),Te(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)ae(e,i[o],(a,y,d)=>function(w,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let w=0;w<i.length;w++){const v=i[w],Z=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Be||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=_e.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];et(c,He(c),i&&i.concat(a),ve(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&et(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function w(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===K){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!I.aborted&&h.state===K&&re.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===P[a]&&(P[d]=!0)};return N.call(P,H,oe),P[i]||(P[i]=h),p.apply(P,I.args),P[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const J=ae(M,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=ae(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=ae(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Ve(ue(e,c)))continue;e[c]=(d=>{const w=function(){return d.apply(this,Me(arguments,i+"."+c))};return le(w,d),w})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Ke(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const w=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(w)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ue=>{ue(ue.s=8583)}]);
(()=>{"use strict";var e,L={},C={};function t(e){var r=C[e];if(void 0!==r)return r.exports;var u=C[e]={id:e,loaded:!1,exports:{}};return L[e].call(u.exports,u,u.exports,t),u.loaded=!0,u.exports}t.m=L,e=[],t.O=(r,u,n,o)=>{if(!u){var a=1/0;for(i=0;i<e.length;i++){for(var[u,n,o]=e[i],p=!0,c=0;c<u.length;c++)(!1&o||a>=o)&&Object.keys(t.O).every(b=>t.O[b](u[c]))?u.splice(c--,1):(p=!1,o<a&&(a=o));if(p){e.splice(i--,1);var f=n();void 0!==f&&(r=f)}}return r}o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[u,n,o]},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var u in r)t.o(r,u)&&!t.o(e,u)&&Object.defineProperty(e,u,{enumerable:!0,get:r[u]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={runtime:0};t.O.j=n=>0===e[n];var r=(n,o)=>{var c,f,[i,a,p]=o,d=0;if(i.some(y=>0!==e[y])){for(c in a)t.o(a,c)&&(t.m[c]=a[c]);if(p)var m=p(t)}for(n&&n(o);d<i.length;d++)t.o(e,f=i[d])&&e[f]&&e[f][0](),e[f]=0;return t.O(m)},u=self.webpackChunkquml_player_wc=self.webpackChunkquml_player_wc||[];u.forEach(r.bind(null,0)),u.push=r.bind(null,u.push.bind(u))})()})(),(self.webpackChunkquml_player_wc=self.webpackChunkquml_player_wc||[]).push([["polyfills"],{9297:
/*!**************************************************!*\
!*** ./projects/quml-player-wc/src/polyfills.ts ***!
\**************************************************/(L,C,t)=>{"use strict";t.r(C),t(
/*! zone.js */
4924),t(
/*! document-register-element */
7586)},7586:
/*!***********************************************************************************!*\
!*** ./node_modules/document-register-element/build/document-register-element.js ***!
\***********************************************************************************/()=>{!function(L,C){"use strict";function t(){var Bt=x.splice(0,x.length);for(Pn=0;Bt.length;)Bt.shift().call(null,Bt.shift())}function e(Bt,Vt){for(var rn=0,En=Bt.length;rn<En;rn++)v(Bt[rn],Vt)}function u(Bt){return function(Vt){le(Vt)&&(v(Vt,Bt),be.length&&e(Vt.querySelectorAll(be),Bt))}}function n(Bt){var Vt=bt.call(Bt,"is"),rn=Bt.nodeName.toUpperCase(),En=Qe.call(X,Vt?pe+Vt.toUpperCase():Re+rn);return Vt&&-1<En&&!o(rn,Vt)?-1:En}function o(Bt,Vt){return-1<be.indexOf(Bt+'[is="'+Vt+'"]')}function i(Bt){var Vt=Bt.currentTarget,rn=Bt.attrChange,En=Bt.attrName,Ln=Bt.target,Xe=Bt[k]||2,it=Bt[se]||3;!Tr||Ln&&Ln!==Vt||!Vt[he]||"style"===En||Bt.prevValue===Bt.newValue&&(""!==Bt.newValue||rn!==Xe&&rn!==it)||Vt[he](En,rn===Xe?null:Bt.prevValue,rn===it?null:Bt.newValue)}function a(Bt){var Vt=u(Bt);return function(rn){x.push(Vt,rn.target),Pn&&clearTimeout(Pn),Pn=setTimeout(t,1)}}function p(Bt){yr&&(yr=!1,Bt.currentTarget.removeEventListener(Se,p)),be.length&&e((Bt.target||I).querySelectorAll(be),Bt.detail===ge?ge:F),Gt&&function m(){for(var Bt,Vt=0,rn=Ue.length;Vt<rn;Vt++)ke.contains(Bt=Ue[Vt])||(rn--,Ue.splice(Vt--,1),v(Bt,ge))}()}function c(Bt,Vt){en.call(this,Bt,Vt),A.call(this,{target:this})}function f(Bt,Vt,rn){var En=Vt.apply(Bt,rn),Ln=n(En);return-1<Ln&&ee(En,re[Ln]),rn.pop()&&be.length&&function r(Bt){for(var Vt,rn=0,En=Bt.length;rn<En;rn++)ee(Vt=Bt[rn],re[n(Vt)])}(En.querySelectorAll(be)),En}function d(Bt,Vt){Xt(Bt,Vt),N?N.observe(Bt,Sn):(or&&(Bt.setAttribute=c,Bt[Q]=B(Bt),Bt[j](tt,A)),Bt[j](ne,i)),Bt[$e]&&Tr&&(Bt.created=!0,Bt[$e](),Bt.created=!1)}function y(Bt){throw new Error("A "+Bt+" type is already registered")}function v(Bt,Vt){var rn,En,Ln=n(Bt);-1<Ln&&!lt.call(Bt,"TEMPLATE")&&(Z(Bt,re[Ln]),Ln=0,Vt!==F||Bt[F]?Vt!==ge||Bt[ge]||(Bt[F]=!1,Bt[ge]=!0,En="disconnected",Ln=1):(Bt[ge]=!1,Bt[F]=!0,En="connected",Ln=1,Gt&&Qe.call(Ue,Bt)<0&&Ue.push(Bt)),Ln&&(rn=Bt[Vt+q]||Bt[En+q])&&rn.call(Bt))}function b(){}function T(Bt,Vt,rn){var En=rn&&rn[we]||"",Ln=Vt.prototype,Xe=on(Ln),it=Vt.observedAttributes||Te,_t={prototype:Xe};et(Xe,$e,{value:function(){if(Ze)Ze=!1;else if(!this[te]){this[te]=!0,new Vt(this),Ln[$e]&&Ln[$e].call(this);var St=yt[Ht.get(Vt)];(!We||St.create.length>1)&&w(this)}}}),et(Xe,he,{value:function(St){-1<Qe.call(it,St)&&Ln[he]&&Ln[he].apply(this,arguments)}}),Ln[Ke]&&et(Xe,xe,{value:Ln[Ke]}),Ln[Ne]&&et(Xe,G,{value:Ln[Ne]}),En&&(_t[we]=En),Bt=Bt.toUpperCase(),yt[Bt]={constructor:Vt,create:En?[En,Tt(Bt)]:[Bt]},Ht.set(Vt,Bt),I[K](Bt.toLowerCase(),_t),g(Bt),wt[Bt].r()}function M(Bt){var Vt=yt[Bt.toUpperCase()];return Vt&&Vt.constructor}function O(Bt){return"string"==typeof Bt?Bt:Bt&&Bt.is||""}function w(Bt){for(var Vt,rn=Bt[he],En=rn?Bt.attributes:Te,Ln=En.length;Ln--;)rn.call(Bt,(Vt=En[Ln]).name||Vt.nodeName,null,Vt.value||Vt.nodeValue)}function g(Bt){return(Bt=Bt.toUpperCase())in wt||(wt[Bt]={},wt[Bt].p=new gt(function(Vt){wt[Bt].r=Vt})),wt[Bt].p}function S(){je&&delete L.customElements,_e(L,"customElements",{configurable:!0,value:new b}),_e(L,"CustomElementRegistry",{configurable:!0,value:b});for(var Bt=E.get(/^HTML[A-Z]*[a-z]/),Vt=Bt.length;Vt--;function(rn){var En=L[rn];if(En){L[rn]=function(Ln){var Xe,it;return Ln||(Ln=this),Ln[te]||(Ze=!0,Xe=yt[Ht.get(Ln.constructor)],(Ln=(it=We&&1===Xe.create.length)?Reflect.construct(En,Te,Xe.constructor):I.createElement.apply(I,Xe.create))[te]=!0,Ze=!1,it||w(Ln)),Ln},L[rn].prototype=En.prototype;try{En.prototype.constructor=L[rn]}catch{_e(En,te,{value:L[rn]})}}}(Bt[Vt]));I.createElement=function(rn,En){var Ln=O(En);return Ln?nn.call(this,rn,Tt(Ln)):nn.call(this,rn)},Bn||(Gn=!0,I[K](""))}var I=L.document,h=L.Object,E=function(Bt){var Vt,rn,En,Ln,Xe=/^[A-Z]+[a-z]/,_t=function(mn,Ft){(Ft=Ft.toLowerCase())in St||(St[mn]=(St[mn]||[]).concat(Ft),St[Ft]=St[Ft.toUpperCase()]=mn)},St=(h.create||h)(null),un={};for(rn in Bt)for(Ln in Bt[rn])for(St[Ln]=En=Bt[rn][Ln],Vt=0;Vt<En.length;Vt++)St[En[Vt].toLowerCase()]=St[En[Vt].toUpperCase()]=Ln;return un.get=function(mn){return"string"==typeof mn?St[mn]||(Xe.test(mn)?[]:""):function(mn){var Ft,In=[];for(Ft in St)mn.test(Ft)&&In.push(Ft);return In}(mn)},un.set=function(mn,Ft){return Xe.test(mn)?_t(mn,Ft):_t(Ft,mn),un},un}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof C&&(C={type:C||"auto"});var x,A,D,B,N,U,Z,ee,Ee,Bt,Vt,rn,En,Ln,K="registerElement",Le=1e5*L.Math.random()>>0,Q="__"+K+Le,j="addEventListener",F="attached",q="Callback",ge="detached",we="extends",he="attributeChanged"+q,xe=F+q,Ke="connected"+q,Ne="disconnected"+q,$e="created"+q,G=ge+q,k="ADDITION",se="REMOVAL",ne="DOMAttrModified",Se="DOMContentLoaded",tt="DOMSubtreeModified",Re="<",pe="=",ve=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,Y=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],X=[],re=[],be="",ke=I.documentElement,Qe=X.indexOf||function(Bt){for(var Vt=this.length;Vt--&&this[Vt]!==Bt;);return Vt},ie=h.prototype,Ce=ie.hasOwnProperty,me=ie.isPrototypeOf,_e=h.defineProperty,Te=[],Ge=h.getOwnPropertyDescriptor,ft=h.getOwnPropertyNames,At=h.getPrototypeOf,kt=h.setPrototypeOf,ht=!!h.__proto__,te="__dreCEv1",je=L.customElements,We=!/^force/.test(C.type)&&!!(je&&je.define&&je.get&&je.whenDefined),Ye=h.create||h,xt=L.Map||function(){var Bt,Vt=[],rn=[];return{get:function(En){return rn[Qe.call(Vt,En)]},set:function(En,Ln){(Bt=Qe.call(Vt,En))<0?rn[Vt.push(En)-1]=Ln:rn[Bt]=Ln}}},gt=L.Promise||function(Bt){function Vt(Xe){for(En=!0;rn.length;)rn.shift()(Xe)}var rn=[],En=!1,Ln={catch:function(){return Ln},then:function(Xe){return rn.push(Xe),En&&setTimeout(Vt,1),Ln}};return Bt(Vt),Ln},Ze=!1,yt=Ye(null),wt=Ye(null),Ht=new xt,Tt=function(Bt){return Bt.toLowerCase()},on=h.create||function Bt(Vt){return Vt?(Bt.prototype=Vt,new Bt):this},Xt=kt||(ht?function(Bt,Vt){return Bt.__proto__=Vt,Bt}:ft&&Ge?function(){function Bt(Vt,rn){for(var En,Ln=ft(rn),Xe=0,it=Ln.length;Xe<it;Xe++)Ce.call(Vt,En=Ln[Xe])||_e(Vt,En,Ge(rn,En))}return function(Vt,rn){do{Bt(Vt,rn)}while((rn=At(rn))&&!me.call(rn,Vt));return Vt}}():function(Bt,Vt){for(var rn in Vt)Bt[rn]=Vt[rn];return Bt}),wn=L.MutationObserver||L.WebKitMutationObserver,Zt=L.HTMLAnchorElement,gn=(L.HTMLElement||L.Element||L.Node).prototype,Gt=!me.call(gn,ke),et=Gt?function(Bt,Vt,rn){return Bt[Vt]=rn.value,Bt}:_e,le=Gt?function(Bt){return 1===Bt.nodeType}:function(Bt){return me.call(gn,Bt)},Ue=Gt&&[],ot=gn.attachShadow,Je=gn.cloneNode,lt=gn.closest||function(Bt){for(var Vt=this;Vt&&Vt.nodeName!==Bt;)Vt=Vt.parentNode;return Vt},vt=gn.dispatchEvent,bt=gn.getAttribute,an=gn.hasAttribute,ln=gn.removeAttribute,en=gn.setAttribute,sn=I.createElement,Yt=I.importNode,nn=sn,Sn=wn&&{attributes:!0,characterData:!0,attributeOldValue:!0},Jt=wn||function(Bt){or=!1,ke.removeEventListener(ne,Jt)},Pn=0,Bn=K in I&&!/^force-all/.test(C.type),Un=!0,Gn=!1,or=!0,yr=!0,Tr=!0;if(wn&&((Ee=I.createElement("div")).innerHTML="<div><div></div></div>",new wn(function(Bt,Vt){if(Bt[0]&&"childList"==Bt[0].type&&!Bt[0].removedNodes[0].childNodes.length){var rn=(Ee=Ge(gn,"innerHTML"))&&Ee.set;rn&&_e(gn,"innerHTML",{set:function(En){for(;this.lastChild;)this.removeChild(this.lastChild);rn.call(this,En)}})}Vt.disconnect(),Ee=null}).observe(Ee,{childList:!0,subtree:!0}),Ee.innerHTML=""),Bn||(kt||ht?(Z=function(Bt,Vt){me.call(Vt,Bt)||d(Bt,Vt)},ee=d):(Z=function(Bt,Vt){Bt[Q]||(Bt[Q]=h(!0),d(Bt,Vt))},ee=Z),Gt?(or=!1,Bt=Ge(gn,j),Vt=Bt.value,rn=function(Xe){var it=new CustomEvent(ne,{bubbles:!0});it.attrName=Xe,it.prevValue=bt.call(this,Xe),it.newValue=null,it[se]=it.attrChange=2,ln.call(this,Xe),vt.call(this,it)},En=function(Xe,it){var _t=an.call(this,Xe),St=_t&&bt.call(this,Xe),un=new CustomEvent(ne,{bubbles:!0});en.call(this,Xe,it),un.attrName=Xe,un.prevValue=_t?St:null,un.newValue=it,_t?un.MODIFICATION=un.attrChange=1:un[k]=un.attrChange=0,vt.call(this,un)},Ln=function(Xe){var it,_t=Xe.currentTarget,St=_t[Q],un=Xe.propertyName;St.hasOwnProperty(un)&&(St=St[un],(it=new CustomEvent(ne,{bubbles:!0})).attrName=St.name,it.prevValue=St.value||null,it.newValue=St.value=_t[un]||null,null==it.prevValue?it[k]=it.attrChange=0:it.MODIFICATION=it.attrChange=1,vt.call(_t,it))},Bt.value=function(Xe,it,_t){Xe===ne&&this[he]&&this.setAttribute!==En&&(this[Q]={className:{name:"class",value:this.className}},this.setAttribute=En,this.removeAttribute=rn,Vt.call(this,"propertychange",Ln)),Vt.call(this,Xe,it,_t)},_e(gn,j,Bt)):wn||(ke[j](ne,Jt),ke.setAttribute(Q,1),ke.removeAttribute(Q),or&&(A=function(Bt){var Vt,rn,En,Ln=this;if(Ln===Bt.target){for(En in Vt=Ln[Q],Ln[Q]=rn=B(Ln),rn){if(!(En in Vt))return D(0,Ln,En,Vt[En],rn[En],k);if(rn[En]!==Vt[En])return D(1,Ln,En,Vt[En],rn[En],"MODIFICATION")}for(En in Vt)if(!(En in rn))return D(2,Ln,En,Vt[En],rn[En],se)}},D=function(Bt,Vt,rn,En,Ln,Xe){var it={attrChange:Bt,currentTarget:Vt,attrName:rn,prevValue:En,newValue:Ln};it[Xe]=Bt,i(it)},B=function(Bt){for(var Vt,rn,En={},Ln=Bt.attributes,Xe=0,it=Ln.length;Xe<it;Xe++)"setAttribute"!==(rn=(Vt=Ln[Xe]).name)&&(En[rn]=Vt.value);return En})),I[K]=function(Bt,Vt){if(rn=Bt.toUpperCase(),Un&&(Un=!1,wn?(N=function(St,un){function mn(Ft,In){for(var Yn=0,cr=Ft.length;Yn<cr;In(Ft[Yn++]));}return new wn(function(Ft){for(var In,Yn,cr,ar=0,er=Ft.length;ar<er;ar++)"childList"===(In=Ft[ar]).type?(mn(In.addedNodes,St),mn(In.removedNodes,un)):(Yn=In.target,Tr&&Yn[he]&&"style"!==In.attributeName&&(cr=bt.call(Yn,In.attributeName))!==In.oldValue&&Yn[he](In.attributeName,In.oldValue,cr))})}(u(F),u(ge)),(U=function(St){return N.observe(St,{childList:!0,subtree:!0}),St})(I),ot&&(gn.attachShadow=function(){return U(ot.apply(this,arguments))})):(x=[],I[j]("DOMNodeInserted",a(F)),I[j]("DOMNodeRemoved",a(ge))),I[j](Se,p),I[j]("readystatechange",p),I.impo