UNPKG

@generic-ui/jquery-grid

Version:

Generic UI - jQuery Grid

3 lines 866 kB
(()=>{"use strict";var e,_={},i={};function n(e){var a=i[e];if(void 0!==a)return a.exports;var r=i[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,t,f)=>{if(!r){var o=1/0;for(l=0;l<e.length;l++){for(var[r,t,f]=e[l],s=!0,u=0;u<r.length;u++)(!1&f||o>=f)&&Object.keys(n.O).every(h=>n.O[h](r[u]))?r.splice(u--,1):(s=!1,f<o&&(o=f));if(s){e.splice(l--,1);var c=t();void 0!==c&&(a=c)}}return a}f=f||0;for(var l=e.length;l>0&&e[l-1][2]>f;l--)e[l]=e[l-1];e[l]=[r,t,f]},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),(()=>{var e={666:0};n.O.j=t=>0===e[t];var a=(t,f)=>{var u,c,[l,o,s]=f,v=0;if(l.some(d=>0!==e[d])){for(u in o)n.o(o,u)&&(n.m[u]=o[u]);if(s)var b=s(n)}for(t&&t(f);v<l.length;v++)n.o(e,c=l[v])&&e[c]&&e[c][0](),e[c]=0;return n.O(b)},r=self.webpackChunkbuild_cli=self.webpackChunkbuild_cli||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})(); (self.webpackChunkbuild_cli=self.webpackChunkbuild_cli||[]).push([[429],{321:(W,ge,Me)=>{"use strict";Me(332),Me(894),Me(187)},187:()=>{!function(){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const W=HTMLElement;window.HTMLElement=function(){return Reflect.construct(W,[],this.constructor)},HTMLElement.prototype=W.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,W)}()}()},894:()=>{!function(W,ge){"use strict";function Me(){var n=Je.splice(0,Je.length);for(N=0;n.length;)n.shift().call(null,n.shift())}function xe(n,s){for(var u=0,f=n.length;u<f;u++)Ze(n[u],s)}function Ue(n){return function(s){Pe(s)&&(Ze(s,n),r.length&&xe(s.querySelectorAll(r),n))}}function Ge(n){var s=o.call(n,"is"),u=n.nodeName.toUpperCase(),f=i.call(Be,s?Ie+s.toUpperCase():Ve+u);return s&&-1<f&&!We(u,s)?-1:f}function We(n,s){return-1<r.indexOf(n+'[is="'+s+'"]')}function Xe(n){var s=n.currentTarget,u=n.attrChange,f=n.attrName,T=n.target,L=n[tt]||2,O=n[at]||3;!$||T&&T!==s||!s[He]||"style"===f||n.prevValue===n.newValue&&(""!==n.newValue||u!==L&&u!==O)||s[He](f,u===L?null:n.prevValue,u===O?null:n.newValue)}function Oe(n){var s=Ue(n);return function(u){Je.push(s,u.target),N&&clearTimeout(N),N=setTimeout(Me,1)}}function Le(n){J&&(J=!1,n.currentTarget.removeEventListener(_t,Le)),r.length&&xe((n.target||U).querySelectorAll(r),n.detail===Ce?Ce:Se),re&&function Y(){for(var n,s=0,u=Te.length;s<u;s++)c.contains(n=Te[s])||(u--,Te.splice(s--,1),Ze(n,Ce))}()}function ze(n,s){var u=this;me.call(u,n,s),it.call(u,{target:u})}function nt(n,s,u){var f=s.apply(n,u),T=Ge(f);return-1<T&&be(f,e[T]),u.pop()&&r.length&&function ft(n){for(var s,u=0,f=n.length;u<f;u++)be(s=n[u],e[Ge(s)])}(f.querySelectorAll(r)),f}function Ye(n,s){B(n,s),je?je.observe(n,E):(S&&(n.setAttribute=ze,n[Re]=ke(n),n[ve](gt,it)),n[ve](Ae,Xe)),n[et]&&$&&(n.created=!0,n[et](),n.created=!1)}function Ke(n){throw new Error("A "+n+" type is already registered")}function Ze(n,s){var u,f,T=Ge(n);-1<T&&!k.call(n,"TEMPLATE")&&(ct(n,e[T]),T=0,s!==Se||n[Se]?s!==Ce||n[Ce]||(n[Se]=!1,n[Ce]=!0,f="disconnected",T=1):(n[Ce]=!1,n[Se]=!0,f="connected",T=1,re&&i.call(Te,n)<0&&Te.push(n)),T&&(u=n[s+de]||n[f+de])&&u.call(n))}function ue(){}function ht(n,s,u){var f=u&&u[qe]||"",T=s.prototype,L=_(T),O=s.observedAttributes||D,Q={prototype:L};oe(L,et,{value:function(){if(z)z=!1;else if(!this[X]){this[X]=!0,new s(this),T[et]&&T[et].call(this);var x=ce[g.get(s)];(!ne||x.create.length>1)&&lt(this)}}}),oe(L,He,{value:function(x){-1<i.call(O,x)&&T[He]&&T[He].apply(this,arguments)}}),T[Tt]&&oe(L,Et,{value:T[Tt]}),T[ut]&&oe(L,pt,{value:T[ut]}),f&&(Q[qe]=f),n=n.toUpperCase(),ce[n]={constructor:s,create:f?[f,K(n)]:[n]},g.set(s,n),U[Fe](n.toLowerCase(),Q),ot(n),V[n].r()}function rt(n){var s=ce[n.toUpperCase()];return s&&s.constructor}function dt(n){return"string"==typeof n?n:n&&n.is||""}function lt(n){for(var s,u=n[He],f=u?n.attributes:D,T=f.length;T--;)u.call(n,(s=f[T]).name||s.nodeName,null,s.value||s.nodeValue)}function ot(n){return(n=n.toUpperCase())in V||(V[n]={},V[n].p=new Ee(function(s){V[n].r=s})),V[n].p}function $e(){ie&&delete W.customElements,p(W,"customElements",{configurable:!0,value:new ue}),p(W,"CustomElementRegistry",{configurable:!0,value:ue});for(var n=st.get(/^HTML[A-Z]*[a-z]/),s=n.length;s--;function(u){var f=W[u];if(f){W[u]=function(T){var L,O;return T||(T=this),T[X]||(z=!0,L=ce[g.get(T.constructor)],(T=(O=ne&&1===L.create.length)?Reflect.construct(f,D,L.constructor):U.createElement.apply(U,L.create))[X]=!0,z=!1,O||lt(T)),T},W[u].prototype=f.prototype;try{f.prototype.constructor=W[u]}catch{p(f,X,{value:W[u]})}}}(n[s]));U.createElement=function(u,f){var T=dt(f);return T?a.call(this,u,K(T)):a.call(this,u)},M||(Z=!0,U[Fe](""))}var U=W.document,ye=W.Object,st=function(n){var s,u,f,T,L=/^[A-Z]+[a-z]/,Q=function(fe,le){(le=le.toLowerCase())in x||(x[fe]=(x[fe]||[]).concat(le),x[le]=x[le.toUpperCase()]=fe)},x=(ye.create||ye)(null),te={};for(u in n)for(T in n[u])for(x[T]=f=n[u][T],s=0;s<f.length;s++)x[f[s].toLowerCase()]=x[f[s].toUpperCase()]=T;return te.get=function(fe){return"string"==typeof fe?x[fe]||(L.test(fe)?[]:""):function(fe){var le,he=[];for(le in x)fe.test(le)&&he.push(le);return he}(fe)},te.set=function(fe,le){return L.test(fe)?Q(fe,le):Q(le,fe),te},te}({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 ge&&(ge={type:ge||"auto"});var Je,it,Qe,ke,je,we,ct,be,Ne,n,s,u,f,T,Fe="registerElement",mt=1e5*W.Math.random()>>0,Re="__"+Fe+mt,ve="addEventListener",Se="attached",de="Callback",Ce="detached",qe="extends",He="attributeChanged"+de,Et=Se+de,Tt="connected"+de,ut="disconnected"+de,et="created"+de,pt=Ce+de,tt="ADDITION",at="REMOVAL",Ae="DOMAttrModified",_t="DOMContentLoaded",gt="DOMSubtreeModified",Ve="<",Ie="=",yt=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,vt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],Be=[],e=[],r="",c=U.documentElement,i=Be.indexOf||function(n){for(var s=this.length;s--&&this[s]!==n;);return s},l=ye.prototype,h=l.hasOwnProperty,y=l.isPrototypeOf,p=ye.defineProperty,D=[],C=ye.getOwnPropertyDescriptor,b=ye.getOwnPropertyNames,q=ye.getPrototypeOf,j=ye.setPrototypeOf,F=!!ye.__proto__,X="__dreCEv1",ie=W.customElements,ne=!/^force/.test(ge.type)&&!!(ie&&ie.define&&ie.get&&ie.whenDefined),R=ye.create||ye,v=W.Map||function(){var n,s=[],u=[];return{get:function(f){return u[i.call(s,f)]},set:function(f,T){(n=i.call(s,f))<0?u[s.push(f)-1]=T:u[n]=T}}},Ee=W.Promise||function(n){function s(L){for(f=!0;u.length;)u.shift()(L)}var u=[],f=!1,T={catch:function(){return T},then:function(L){return u.push(L),f&&setTimeout(s,1),T}};return n(s),T},z=!1,ce=R(null),V=R(null),g=new v,K=function(n){return n.toLowerCase()},_=ye.create||function n(s){return s?(n.prototype=s,new n):this},B=j||(F?function(n,s){return n.__proto__=s,n}:b&&C?function(){function n(s,u){for(var f,T=b(u),L=0,O=T.length;L<O;L++)h.call(s,f=T[L])||p(s,f,C(u,f))}return function(s,u){do{n(s,u)}while((u=q(u))&&!y.call(u,s));return s}}():function(n,s){for(var u in s)n[u]=s[u];return n}),P=W.MutationObserver||W.WebKitMutationObserver,pe=W.HTMLAnchorElement,ee=(W.HTMLElement||W.Element||W.Node).prototype,re=!y.call(ee,c),oe=re?function(n,s,u){return n[s]=u.value,n}:p,Pe=re?function(n){return 1===n.nodeType}:function(n){return y.call(ee,n)},Te=re&&[],ae=ee.attachShadow,G=ee.cloneNode,k=ee.closest||function(n){for(var s=this;s&&s.nodeName!==n;)s=s.parentNode;return s},t=ee.dispatchEvent,o=ee.getAttribute,H=ee.hasAttribute,A=ee.removeAttribute,me=ee.setAttribute,d=U.createElement,m=U.importNode,a=d,E=P&&{attributes:!0,characterData:!0,attributeOldValue:!0},w=P||function(n){S=!1,c.removeEventListener(Ae,w)},N=0,M=Fe in U&&!/^force-all/.test(ge.type),I=!0,Z=!1,S=!0,J=!0,$=!0;if(P&&((Ne=U.createElement("div")).innerHTML="<div><div></div></div>",new P(function(n,s){if(n[0]&&"childList"==n[0].type&&!n[0].removedNodes[0].childNodes.length){var u=(Ne=C(ee,"innerHTML"))&&Ne.set;u&&p(ee,"innerHTML",{set:function(f){for(;this.lastChild;)this.removeChild(this.lastChild);u.call(this,f)}})}s.disconnect(),Ne=null}).observe(Ne,{childList:!0,subtree:!0}),Ne.innerHTML=""),M||(j||F?(ct=function(n,s){y.call(s,n)||Ye(n,s)},be=Ye):(ct=function(n,s){n[Re]||(n[Re]=ye(!0),Ye(n,s))},be=ct),re?(S=!1,n=C(ee,ve),s=n.value,u=function(L){var O=new CustomEvent(Ae,{bubbles:!0});O.attrName=L,O.prevValue=o.call(this,L),O.newValue=null,O[at]=O.attrChange=2,A.call(this,L),t.call(this,O)},f=function(L,O){var Q=H.call(this,L),x=Q&&o.call(this,L),te=new CustomEvent(Ae,{bubbles:!0});me.call(this,L,O),te.attrName=L,te.prevValue=Q?x:null,te.newValue=O,Q?te.MODIFICATION=te.attrChange=1:te[tt]=te.attrChange=0,t.call(this,te)},T=function(L){var O,Q=L.currentTarget,x=Q[Re],te=L.propertyName;x.hasOwnProperty(te)&&(x=x[te],(O=new CustomEvent(Ae,{bubbles:!0})).attrName=x.name,O.prevValue=x.value||null,O.newValue=x.value=Q[te]||null,null==O.prevValue?O[tt]=O.attrChange=0:O.MODIFICATION=O.attrChange=1,t.call(Q,O))},n.value=function(L,O,Q){L===Ae&&this[He]&&this.setAttribute!==f&&(this[Re]={className:{name:"class",value:this.className}},this.setAttribute=f,this.removeAttribute=u,s.call(this,"propertychange",T)),s.call(this,L,O,Q)},p(ee,ve,n)):P||(c[ve](Ae,w),c.setAttribute(Re,1),c.removeAttribute(Re),S&&(it=function(n){var s,u,f,T=this;if(T===n.target){for(f in s=T[Re],T[Re]=u=ke(T),u){if(!(f in s))return Qe(0,T,f,s[f],u[f],tt);if(u[f]!==s[f])return Qe(1,T,f,s[f],u[f],"MODIFICATION")}for(f in s)if(!(f in u))return Qe(2,T,f,s[f],u[f],at)}},Qe=function(n,s,u,f,T,L){var O={attrChange:n,currentTarget:s,attrName:u,prevValue:f,newValue:T};O[L]=n,Xe(O)},ke=function(n){for(var s,u,f={},T=n.attributes,L=0,O=T.length;L<O;L++)"setAttribute"!==(u=(s=T[L]).name)&&(f[u]=s.value);return f})),U[Fe]=function(n,s){if(u=n.toUpperCase(),I&&(I=!1,P?(je=function(x,te){function fe(le,he){for(var _e=0,De=le.length;_e<De;he(le[_e++]));}return new P(function(le){for(var he,_e,De,kt=0,bt=le.length;kt<bt;kt++)"childList"===(he=le[kt]).type?(fe(he.addedNodes,x),fe(he.removedNodes,te)):(_e=he.target,$&&_e[He]&&"style"!==he.attributeName&&(De=o.call(_e,he.attributeName))!==he.oldValue&&_e[He](he.attributeName,he.oldValue,De))})}(Ue(Se),Ue(Ce)),(we=function(x){return je.observe(x,{childList:!0,subtree:!0}),x})(U),ae&&(ee.attachShadow=function(){return we(ae.apply(this,arguments))})):(Je=[],U[ve]("DOMNodeInserted",Oe(Se)),U[ve]("DOMNodeRemoved",Oe(Ce))),U[ve](_t,Le),U[ve]("readystatechange",Le),U.importNode=function(x,te){switch(x.nodeType){case 1:return nt(U,m,[x,!!te]);case 11:for(var fe=U.createDocumentFragment(),le=x.childNodes,he=le.length,_e=0;_e<he;_e++)fe.appendChild(U.importNode(le[_e],!!te));return fe;default:return G.call(x,!!te)}},ee.cloneNode=function(x){return nt(this,G,[!!x])}),Z)return Z=!1;if(-2<i.call(Be,Ie+u)+i.call(Be,Ve+u)&&Ke(n),!yt.test(u)||-1<i.call(vt,u))throw new Error("The type "+n+" is invalid");var u,f,T=function(){return O?U.createElement(Q,u):U.createElement(Q)},L=s||l,O=h.call(L,qe),Q=O?s[qe].toUpperCase():u;return O&&-1<i.call(Be,Ve+Q)&&Ke(Q),f=Be.push((O?Ie:Ve)+u)-1,r=r.concat(r.length?",":"",O?Q+'[is="'+n.toLowerCase()+'"]':Q),T.prototype=e[f]=h.call(L,"prototype")?L.prototype:_(ee),r.length&&xe(U.querySelectorAll(r),Se),T},U.createElement=a=function(n,s){var u=dt(s),f=u?d.call(U,n,K(u)):d.call(U,n),T=""+n,L=i.call(Be,(u?Ie:Ve)+(u||T).toUpperCase()),O=-1<L;return u&&(f.setAttribute("is",u=u.toLowerCase()),O&&(O=We(T.toUpperCase(),u))),$=!U.createElement.innerHTMLHelper,O&&be(f,e[L]),f}),addEventListener("beforeunload",function(){delete U.createElement,delete U.importNode,delete U[Fe]},!1),ue.prototype={constructor:ue,define:ne?function(n,s,u){if(u)ht(n,s,u);else{var f=n.toUpperCase();ce[f]={constructor:s,create:[f]},g.set(s,f),ie.define(n,s)}}:ht,get:ne?function(n){return ie.get(n)||rt(n)}:rt,whenDefined:ne?function(n){return Ee.race([ie.whenDefined(n),ot(n)])}:ot},!ie||/^force/.test(ge.type))$e();else if(!ge.noBuiltIn)try{!function(n,s,u){var f=new RegExp("^<a\\s+is=('|\")"+u+"\\1></a>$");if(s[qe]="a",(n.prototype=_(pe.prototype)).constructor=n,W.customElements.define(u,n,s),!f.test(U.createElement("a",{is:u}).outerHTML)||!f.test((new n).outerHTML))throw s}(function n(){return Reflect.construct(pe,[],n)},{},"document-register-element-a"+mt)}catch{$e()}if(!ge.noBuiltIn)try{if(d.call(U,"a","a").outerHTML.indexOf("is")<0)throw{}}catch{K=function(s){return{is:s.toLowerCase()}}}}(window)},332:()=>{"use strict";!function(e){const r=e.performance;function c(G){r&&r.mark&&r.mark(G)}function i(G,k){r&&r.measure&&r.measure(G,k)}c("Zone");const l=e.__Zone_symbol_prefix||"__zone_symbol__";function h(G){return l+G}const y=!0===e[h("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let p=(()=>{class G{static#e=this.__symbol__=h;static assertZonePatched(){if(e.Promise!==ee.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=G.current;for(;t.parent;)t=t.parent;return t}static get current(){return oe.zone}static get currentTask(){return Pe}static __load_patch(t,o,H=!1){if(ee.hasOwnProperty(t)){if(!H&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const A="Zone:"+t;c(A),ee[t]=o(e,G,re),i(A,A)}}get parent(){return this._parent}get name(){return this._name}constructor(t,o){this._parent=t,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new C(this,this._parent&&this._parent._zoneDelegate,o)}get(t){const o=this.getZoneWith(t);if(o)return o._properties[t]}getZoneWith(t){let o=this;for(;o;){if(o._properties.hasOwnProperty(t))return o;o=o._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,o){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const H=this._zoneDelegate.intercept(this,t,o),A=this;return function(){return A.runGuarded(H,this,arguments,o)}}run(t,o,H,A){oe={parent:oe,zone:this};try{return this._zoneDelegate.invoke(this,t,o,H,A)}finally{oe=oe.parent}}runGuarded(t,o=null,H,A){oe={parent:oe,zone:this};try{try{return this._zoneDelegate.invoke(this,t,o,H,A)}catch(me){if(this._zoneDelegate.handleError(this,me))throw me}}finally{oe=oe.parent}}runTask(t,o,H){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||Ee).name+"; Execution: "+this.name+")");if(t.state===z&&(t.type===pe||t.type===P))return;const A=t.state!=g;A&&t._transitionTo(g,V),t.runCount++;const me=Pe;Pe=t,oe={parent:oe,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,o,H)}catch(d){if(this._zoneDelegate.handleError(this,d))throw d}}finally{t.state!==z&&t.state!==_&&(t.type==pe||t.data&&t.data.isPeriodic?A&&t._transitionTo(V,g):(t.runCount=0,this._updateTaskCount(t,-1),A&&t._transitionTo(z,g,z))),oe=oe.parent,Pe=me}}scheduleTask(t){if(t.zone&&t.zone!==this){let H=this;for(;H;){if(H===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);H=H.parent}}t._transitionTo(ce,z);const o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(H){throw t._transitionTo(_,ce,z),this._zoneDelegate.handleError(this,H),H}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==ce&&t._transitionTo(V,ce),t}scheduleMicroTask(t,o,H,A){return this.scheduleTask(new b(B,t,o,H,A,void 0))}scheduleMacroTask(t,o,H,A,me){return this.scheduleTask(new b(P,t,o,H,A,me))}scheduleEventTask(t,o,H,A,me){return this.scheduleTask(new b(pe,t,o,H,A,me))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||Ee).name+"; Execution: "+this.name+")");if(t.state===V||t.state===g){t._transitionTo(K,V,g);try{this._zoneDelegate.cancelTask(this,t)}catch(o){throw t._transitionTo(_,K),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(t,-1),t._transitionTo(z,K),t.runCount=0,t}}_updateTaskCount(t,o){const H=t._zoneDelegates;-1==o&&(t._zoneDelegates=null);for(let A=0;A<H.length;A++)H[A]._updateTaskCount(t.type,o)}}return G})();const D={name:"",onHasTask:(G,k,t,o)=>G.hasTask(t,o),onScheduleTask:(G,k,t,o)=>G.scheduleTask(t,o),onInvokeTask:(G,k,t,o,H,A)=>G.invokeTask(t,o,H,A),onCancelTask:(G,k,t,o)=>G.cancelTask(t,o)};class C{constructor(k,t,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=k,this._parentDelegate=t,this._forkZS=o&&(o&&o.onFork?o:t._forkZS),this._forkDlgt=o&&(o.onFork?t:t._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:t._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:t._interceptZS),this._interceptDlgt=o&&(o.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:t._invokeZS),this._invokeDlgt=o&&(o.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:t._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:t._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:t._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:t._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const H=o&&o.onHasTask;(H||t&&t._hasTaskZS)&&(this._hasTaskZS=H?o:D,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=k,o.onScheduleTask||(this._scheduleTaskZS=D,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=D,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=D,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(k,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,k,t):new p(k,t)}intercept(k,t,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,k,t,o):t}invoke(k,t,o,H,A){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,k,t,o,H,A):t.apply(o,H)}handleError(k,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,k,t)}scheduleTask(k,t){let o=t;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,k,t),o||(o=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=B)throw new Error("Task is missing scheduleFn.");R(t)}return o}invokeTask(k,t,o,H){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,k,t,o,H):t.callback.apply(o,H)}cancelTask(k,t){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,k,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");o=t.cancelFn(t)}return o}hasTask(k,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,k,t)}catch(o){this.handleError(k,o)}}_updateTaskCount(k,t){const o=this._taskCounts,H=o[k],A=o[k]=H+t;if(A<0)throw new Error("More tasks executed then were scheduled.");0!=H&&0!=A||this.hasTask(this.zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:k})}}class b{constructor(k,t,o,H,A,me){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=k,this.source=t,this.data=H,this.scheduleFn=A,this.cancelFn=me,!o)throw new Error("callback is not defined");this.callback=o;const d=this;this.invoke=k===pe&&H&&H.useG?b.invokeTask:function(){return b.invokeTask.call(e,d,this,arguments)}}static invokeTask(k,t,o){k||(k=this),Te++;try{return k.runCount++,k.zone.runTask(k,t,o)}finally{1==Te&&v(),Te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(z,ce)}_transitionTo(k,t,o){if(this._state!==t&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${k}', expecting state '${t}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=k,k==z&&(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 q=h("setTimeout"),j=h("Promise"),F=h("then");let ie,se=[],X=!1;function ne(G){if(ie||e[j]&&(ie=e[j].resolve(0)),ie){let k=ie[F];k||(k=ie.then),k.call(ie,G)}else e[q](G,0)}function R(G){0===Te&&0===se.length&&ne(v),G&&se.push(G)}function v(){if(!X){for(X=!0;se.length;){const G=se;se=[];for(let k=0;k<G.length;k++){const t=G[k];try{t.zone.runTask(t,null,null)}catch(o){re.onUnhandledError(o)}}}re.microtaskDrainDone(),X=!1}}const Ee={name:"NO ZONE"},z="notScheduled",ce="scheduling",V="scheduled",g="running",K="canceling",_="unknown",B="microTask",P="macroTask",pe="eventTask",ee={},re={symbol:h,currentZoneFrame:()=>oe,onUnhandledError:ae,microtaskDrainDone:ae,scheduleMicroTask:R,showUncaughtError:()=>!p[h("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ae,patchMethod:()=>ae,bindArguments:()=>[],patchThen:()=>ae,patchMacroTask:()=>ae,patchEventPrototype:()=>ae,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ae,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ae,wrapWithCurrentZone:()=>ae,filterProperties:()=>[],attachOriginToPatched:()=>ae,_redefineProperty:()=>ae,patchCallbacks:()=>ae,nativeScheduleMicroTask:ne};let oe={parent:null,zone:new p(null,null)},Pe=null,Te=0;function ae(){}i("Zone","Zone"),e.Zone=p}(globalThis);const W=Object.getOwnPropertyDescriptor,ge=Object.defineProperty,Me=Object.getPrototypeOf,xe=Object.create,ft=Array.prototype.slice,Ue="addEventListener",Ge="removeEventListener",We=Zone.__symbol__(Ue),Xe=Zone.__symbol__(Ge),Oe="true",Le="false",ze=Zone.__symbol__("");function nt(e,r){return Zone.current.wrap(e,r)}function Ye(e,r,c,i,l){return Zone.current.scheduleMacroTask(e,r,c,i,l)}const Y=Zone.__symbol__,Ke=typeof window<"u",Ze=Ke?window:void 0,ue=Ke&&Ze||globalThis,ht="removeAttribute";function rt(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=nt(e[c],r+"_"+c));return e}function lt(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const ot=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,$e=!("nw"in ue)&&typeof ue.process<"u"&&"[object process]"==={}.toString.call(ue.process),U=!$e&&!ot&&!(!Ke||!Ze.HTMLElement),ye=typeof ue.process<"u"&&"[object process]"==={}.toString.call(ue.process)&&!ot&&!(!Ke||!Ze.HTMLElement),st={},Je=function(e){if(!(e=e||ue.event))return;let r=st[e.type];r||(r=st[e.type]=Y("ON_PROPERTY"+e.type));const c=this||e.target||ue,i=c[r];let l;return U&&c===Ze&&"error"===e.type?(l=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===l&&e.preventDefault()):(l=i&&i.apply(this,arguments),null!=l&&!l&&e.preventDefault()),l};function it(e,r,c){let i=W(e,r);if(!i&&c&&W(c,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const l=Y("on"+r+"patched");if(e.hasOwnProperty(l)&&e[l])return;delete i.writable,delete i.value;const h=i.get,y=i.set,p=r.slice(2);let D=st[p];D||(D=st[p]=Y("ON_PROPERTY"+p)),i.set=function(C){let b=this;!b&&e===ue&&(b=ue),b&&("function"==typeof b[D]&&b.removeEventListener(p,Je),y&&y.call(b,null),b[D]=C,"function"==typeof C&&b.addEventListener(p,Je,!1))},i.get=function(){let C=this;if(!C&&e===ue&&(C=ue),!C)return null;const b=C[D];if(b)return b;if(h){let q=h.call(this);if(q)return i.set.call(this,q),"function"==typeof C[ht]&&C.removeAttribute(r),q}return null},ge(e,r,i),e[l]=!0}function Qe(e,r,c){if(r)for(let i=0;i<r.length;i++)it(e,"on"+r[i],c);else{const i=[];for(const l in e)"on"==l.slice(0,2)&&i.push(l);for(let l=0;l<i.length;l++)it(e,i[l],c)}}const ke=Y("originalInstance");function je(e){const r=ue[e];if(!r)return;ue[Y(e)]=r,ue[e]=function(){const l=rt(arguments,e);switch(l.length){case 0:this[ke]=new r;break;case 1:this[ke]=new r(l[0]);break;case 2:this[ke]=new r(l[0],l[1]);break;case 3:this[ke]=new r(l[0],l[1],l[2]);break;case 4:this[ke]=new r(l[0],l[1],l[2],l[3]);break;default:throw new Error("Arg list too long.")}},be(ue[e],r);const c=new r(function(){});let i;for(i in c)"XMLHttpRequest"===e&&"responseBlob"===i||function(l){"function"==typeof c[l]?ue[e].prototype[l]=function(){return this[ke][l].apply(this[ke],arguments)}:ge(ue[e].prototype,l,{set:function(h){"function"==typeof h?(this[ke][l]=nt(h,e+"."+l),be(this[ke][l],h)):this[ke][l]=h},get:function(){return this[ke][l]}})}(i);for(i in r)"prototype"!==i&&r.hasOwnProperty(i)&&(ue[e][i]=r[i])}function we(e,r,c){let i=e;for(;i&&!i.hasOwnProperty(r);)i=Me(i);!i&&e[r]&&(i=e);const l=Y(r);let h=null;if(i&&(!(h=i[l])||!i.hasOwnProperty(l))&&(h=i[l]=i[r],lt(i&&W(i,r)))){const p=c(h,l,r);i[r]=function(){return p(this,arguments)},be(i[r],h)}return h}function ct(e,r,c){let i=null;function l(h){const y=h.data;return y.args[y.cbIdx]=function(){h.invoke.apply(this,arguments)},i.apply(y.target,y.args),h}i=we(e,r,h=>function(y,p){const D=c(y,p);return D.cbIdx>=0&&"function"==typeof p[D.cbIdx]?Ye(D.name,p[D.cbIdx],D,l):h.apply(y,p)})}function be(e,r){e[Y("OriginalDelegate")]=r}let Ne=!1,Fe=!1;function Re(){if(Ne)return Fe;Ne=!0;try{const e=Ze.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Fe=!0)}catch{}return Fe}Zone.__load_patch("ZoneAwarePromise",(e,r,c)=>{const i=Object.getOwnPropertyDescriptor,l=Object.defineProperty,y=c.symbol,p=[],D=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],C=y("Promise"),b=y("then"),q="__creationTrace__";c.onUnhandledError=d=>{if(c.showUncaughtError()){const m=d&&d.rejection;m?console.error("Unhandled Promise rejection:",m instanceof Error?m.message:m,"; Zone:",d.zone.name,"; Task:",d.task&&d.task.source,"; Value:",m,m instanceof Error?m.stack:void 0):console.error(d)}},c.microtaskDrainDone=()=>{for(;p.length;){const d=p.shift();try{d.zone.runGuarded(()=>{throw d.throwOriginal?d.rejection:d})}catch(m){F(m)}}};const j=y("unhandledPromiseRejectionHandler");function F(d){c.onUnhandledError(d);try{const m=r[j];"function"==typeof m&&m.call(this,d)}catch{}}function se(d){return d&&d.then}function X(d){return d}function ie(d){return t.reject(d)}const ne=y("state"),R=y("value"),v=y("finally"),Ee=y("parentPromiseValue"),z=y("parentPromiseState"),ce="Promise.then",V=null,g=!0,K=!1,_=0;function B(d,m){return a=>{try{re(d,m,a)}catch(E){re(d,!1,E)}}}const P=function(){let d=!1;return function(a){return function(){d||(d=!0,a.apply(null,arguments))}}},pe="Promise resolved with itself",ee=y("currentTaskTrace");function re(d,m,a){const E=P();if(d===a)throw new TypeError(pe);if(d[ne]===V){let w=null;try{("object"==typeof a||"function"==typeof a)&&(w=a&&a.then)}catch(N){return E(()=>{re(d,!1,N)})(),d}if(m!==K&&a instanceof t&&a.hasOwnProperty(ne)&&a.hasOwnProperty(R)&&a[ne]!==V)Pe(a),re(d,a[ne],a[R]);else if(m!==K&&"function"==typeof w)try{w.call(a,E(B(d,m)),E(B(d,!1)))}catch(N){E(()=>{re(d,!1,N)})()}else{d[ne]=m;const N=d[R];if(d[R]=a,d[v]===v&&m===g&&(d[ne]=d[z],d[R]=d[Ee]),m===K&&a instanceof Error){const M=r.currentTask&&r.currentTask.data&&r.currentTask.data[q];M&&l(a,ee,{configurable:!0,enumerable:!1,writable:!0,value:M})}for(let M=0;M<N.length;)Te(d,N[M++],N[M++],N[M++],N[M++]);if(0==N.length&&m==K){d[ne]=_;let M=a;try{throw new Error("Uncaught (in promise): "+function h(d){return d&&d.toString===Object.prototype.toString?(d.constructor&&d.constructor.name||"")+": "+JSON.stringify(d):d?d.toString():Object.prototype.toString.call(d)}(a)+(a&&a.stack?"\n"+a.stack:""))}catch(I){M=I}D&&(M.throwOriginal=!0),M.rejection=a,M.promise=d,M.zone=r.current,M.task=r.currentTask,p.push(M),c.scheduleMicroTask()}}}return d}const oe=y("rejectionHandledHandler");function Pe(d){if(d[ne]===_){try{const m=r[oe];m&&"function"==typeof m&&m.call(this,{rejection:d[R],promise:d})}catch{}d[ne]=K;for(let m=0;m<p.length;m++)d===p[m].promise&&p.splice(m,1)}}function Te(d,m,a,E,w){Pe(d);const N=d[ne],M=N?"function"==typeof E?E:X:"function"==typeof w?w:ie;m.scheduleMicroTask(ce,()=>{try{const I=d[R],Z=!!a&&v===a[v];Z&&(a[Ee]=I,a[z]=N);const S=m.run(M,void 0,Z&&M!==ie&&M!==X?[]:[I]);re(a,!0,S)}catch(I){re(a,!1,I)}},a)}const G=function(){},k=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(m){return re(new this(null),g,m)}static reject(m){return re(new this(null),K,m)}static any(m){if(!m||"function"!=typeof m[Symbol.iterator])return Promise.reject(new k([],"All promises were rejected"));const a=[];let E=0;try{for(let M of m)E++,a.push(t.resolve(M))}catch{return Promise.reject(new k([],"All promises were rejected"))}if(0===E)return Promise.reject(new k([],"All promises were rejected"));let w=!1;const N=[];return new t((M,I)=>{for(let Z=0;Z<a.length;Z++)a[Z].then(S=>{w||(w=!0,M(S))},S=>{N.push(S),E--,0===E&&(w=!0,I(new k(N,"All promises were rejected")))})})}static race(m){let a,E,w=new this((I,Z)=>{a=I,E=Z});function N(I){a(I)}function M(I){E(I)}for(let I of m)se(I)||(I=this.resolve(I)),I.then(N,M);return w}static all(m){return t.allWithCallback(m)}static allSettled(m){return(this&&this.prototype instanceof t?this:t).allWithCallback(m,{thenCallback:E=>({status:"fulfilled",value:E}),errorCallback:E=>({status:"rejected",reason:E})})}static allWithCallback(m,a){let E,w,N=new this((S,J)=>{E=S,w=J}),M=2,I=0;const Z=[];for(let S of m){se(S)||(S=this.resolve(S));const J=I;try{S.then($=>{Z[J]=a?a.thenCallback($):$,M--,0===M&&E(Z)},$=>{a?(Z[J]=a.errorCallback($),M--,0===M&&E(Z)):w($)})}catch($){w($)}M++,I++}return M-=2,0===M&&E(Z),N}constructor(m){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[ne]=V,a[R]=[];try{const E=P();m&&m(E(B(a,g)),E(B(a,K)))}catch(E){re(a,!1,E)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(m,a){let E=this.constructor?.[Symbol.species];(!E||"function"!=typeof E)&&(E=this.constructor||t);const w=new E(G),N=r.current;return this[ne]==V?this[R].push(N,w,m,a):Te(this,N,w,m,a),w}catch(m){return this.then(null,m)}finally(m){let a=this.constructor?.[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const E=new a(G);E[v]=v;const w=r.current;return this[ne]==V?this[R].push(w,E,m,m):Te(this,w,E,m,m),E}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const o=e[C]=e.Promise;e.Promise=t;const H=y("thenPatched");function A(d){const m=d.prototype,a=i(m,"then");if(a&&(!1===a.writable||!a.configurable))return;const E=m.then;m[b]=E,d.prototype.then=function(w,N){return new t((I,Z)=>{E.call(this,I,Z)}).then(w,N)},d[H]=!0}return c.patchThen=A,o&&(A(o),we(e,"fetch",d=>function me(d){return function(m,a){let E=d.apply(m,a);if(E instanceof t)return E;let w=E.constructor;return w[H]||A(w),E}}(d))),Promise[r.__symbol__("uncaughtPromiseErrors")]=p,t}),Zone.__load_patch("toString",e=>{const r=Function.prototype.toString,c=Y("OriginalDelegate"),i=Y("Promise"),l=Y("Error"),h=function(){if("function"==typeof this){const C=this[c];if(C)return"function"==typeof C?r.call(C):Object.prototype.toString.call(C);if(this===Promise){const b=e[i];if(b)return r.call(b)}if(this===Error){const b=e[l];if(b)return r.call(b)}}return r.call(this)};h[c]=r,Function.prototype.toString=h;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ve=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ve=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ve=!1}const Se={useG:!0},de={},Ce={},qe=new RegExp("^"+ze+"(\\w+)(true|false)$"),He=Y("propagationStopped");function Et(e,r){const c=(r?r(e):e)+Le,i=(r?r(e):e)+Oe,l=ze+c,h=ze+i;de[e]={},de[e][Le]=l,de[e][Oe]=h}function Tt(e,r,c,i){const l=i&&i.add||Ue,h=i&&i.rm||Ge,y=i&&i.listeners||"eventListeners",p=i&&i.rmAll||"removeAllListeners",D=Y(l),C="."+l+":",b="prependListener",q="."+b+":",j=function(R,v,Ee){if(R.isRemoved)return;const z=R.callback;let ce;"object"==typeof z&&z.handleEvent&&(R.callback=g=>z.handleEvent(g),R.originalDelegate=z);try{R.invoke(R,v,[Ee])}catch(g){ce=g}const V=R.options;return V&&"object"==typeof V&&V.once&&v[h].call(v,Ee.type,R.originalDelegate?R.originalDelegate:R.callback,V),ce};function F(R,v,Ee){if(!(v=v||e.event))return;const z=R||v.target||e,ce=z[de[v.type][Ee?Oe:Le]];if(ce){const V=[];if(1===ce.length){const g=j(ce[0],z,v);g&&V.push(g)}else{const g=ce.slice();for(let K=0;K<g.length&&(!v||!0!==v[He]);K++){const _=j(g[K],z,v);_&&V.push(_)}}if(1===V.length)throw V[0];for(let g=0;g<V.length;g++){const K=V[g];r.nativeScheduleMicroTask(()=>{throw K})}}}const se=function(R){return F(this,R,!1)},X=function(R){return F(this,R,!0)};function ie(R,v){if(!R)return!1;let Ee=!0;v&&void 0!==v.useG&&(Ee=v.useG);const z=v&&v.vh;let ce=!0;v&&void 0!==v.chkDup&&(ce=v.chkDup);let V=!1;v&&void 0!==v.rt&&(V=v.rt);let g=R;for(;g&&!g.hasOwnProperty(l);)g=Me(g);if(!g&&R[l]&&(g=R),!g||g[D])return!1;const K=v&&v.eventNameToString,_={},B=g[D]=g[l],P=g[Y(h)]=g[h],pe=g[Y(y)]=g[y],ee=g[Y(p)]=g[p];let re;v&&v.prepend&&(re=g[Y(v.prepend)]=g[v.prepend]);const t=Ee?function(a){if(!_.isExisting)return B.call(_.target,_.eventName,_.capture?X:se,_.options)}:function(a){return B.call(_.target,_.eventName,a.invoke,_.options)},o=Ee?function(a){if(!a.isRemoved){const E=de[a.eventName];let w;E&&(w=E[a.capture?Oe:Le]);const N=w&&a.target[w];if(N)for(let M=0;M<N.length;M++)if(N[M]===a){N.splice(M,1),a.isRemoved=!0,0===N.length&&(a.allRemoved=!0,a.target[w]=null);break}}if(a.allRemoved)return P.call(a.target,a.eventName,a.capture?X:se,a.options)}:function(a){return P.call(a.target,a.eventName,a.invoke,a.options)},A=v&&v.diff?v.diff:function(a,E){const w=typeof E;return"function"===w&&a.callback===E||"object"===w&&a.originalDelegate===E},me=Zone[Y("UNPATCHED_EVENTS")],d=e[Y("PASSIVE_EVENTS")],m=function(a,E,w,N,M=!1,I=!1){return function(){const Z=this||e;let S=arguments[0];v&&v.transferEventName&&(S=v.transferEventName(S));let J=arguments[1];if(!J)return a.apply(this,arguments);if($e&&"uncaughtException"===S)return a.apply(this,arguments);let $=!1;if("function"!=typeof J){if(!J.handleEvent)return a.apply(this,arguments);$=!0}if(z&&!z(a,J,Z,arguments))return;const n=ve&&!!d&&-1!==d.indexOf(S),s=function oe(a,E){return!ve&&"object"==typeof a&&a?!!a.capture:ve&&E?"boolean"==typeof a?{capture:a,passive:!0}:a?"object"==typeof a&&!1!==a.passive?{...a,passive:!0}:a:{passive:!0}:a}(arguments[2],n);if(me)for(let De=0;De<me.length;De++)if(S===me[De])return n?a.call(Z,S,J,s):a.apply(this,arguments);const u=!!s&&("boolean"==typeof s||s.capture),f=!(!s||"object"!=typeof s)&&s.once,T=Zone.current;let L=de[S];L||(Et(S,K),L=de[S]);const O=L[u?Oe:Le];let te,Q=Z[O],x=!1;if(Q){if(x=!0,ce)for(let De=0;De<Q.length;De++)if(A(Q[De],J))return}else Q=Z[O]=[];const fe=Z.constructor.name,le=Ce[fe];le&&(te=le[S]),te||(te=fe+E+(K?K(S):S)),_.options=s,f&&(_.options.once=!1),_.target=Z,_.capture=u,_.eventName=S,_.isExisting=x;const he=Ee?Se:void 0;he&&(he.taskData=_);const _e=T.scheduleEventTask(te,J,he,w,N);return _.target=null,he&&(he.taskData=null),f&&(s.once=!0),!ve&&"boolean"==typeof _e.options||(_e.options=s),_e.target=Z,_e.capture=u,_e.eventName=S,$&&(_e.originalDelegate=J),I?Q.unshift(_e):Q.push(_e),M?Z:void 0}};return g[l]=m(B,C,t,o,V),re&&(g[b]=m(re,q,function(a){return re.call(_.target,_.eventName,a.invoke,_.options)},o,V,!0)),g[h]=function(){const a=this||e;let E=arguments[0];v&&v.transferEventName&&(E=v.transferEventName(E));const w=arguments[2],N=!!w&&("boolean"==typeof w||w.capture),M=arguments[1];if(!M)return P.apply(this,arguments);if(z&&!z(P,M,a,arguments))return;const I=de[E];let Z;I&&(Z=I[N?Oe:Le]);const S=Z&&a[Z];if(S)for(let J=0;J<S.length;J++){const $=S[J];if(A($,M))return S.splice(J,1),$.isRemoved=!0,0===S.length&&($.allRemoved=!0,a[Z]=null,"string"==typeof E)&&(a[ze+"ON_PROPERTY"+E]=null),$.zone.cancelTask($),V?a:void 0}return P.apply(this,arguments)},g[y]=function(){const a=this||e;let E=arguments[0];v&&v.transferEventName&&(E=v.transferEventName(E));const w=[],N=ut(a,K?K(E):E);for(let M=0;M<N.length;M++){const I=N[M];w.push(I.originalDelegate?I.originalDelegate:I.callback)}return w},g[p]=function(){const a=this||e;let E=arguments[0];if(E){v&&v.transferEventName&&(E=v.transferEventName(E));const w=de[E];if(w){const I=a[w[Le]],Z=a[w[Oe]];if(I){const S=I.slice();for(let J=0;J<S.length;J++){const $=S[J];this[h].call(this,E,$.originalDelegate?$.originalDelegate:$.callback,$.options)}}if(Z){const S=Z.slice();for(let J=0;J<S.length;J++){const $=S[J];this[h].call(this,E,$.originalDelegate?$.originalDelegate:$.callback,$.options)}}}}else{const w=Object.keys(a);for(let N=0;N<w.length;N++){const I=qe.exec(w[N]);let Z=I&&I[1];Z&&"removeListener"!==Z&&this[p].call(this,Z)}this[p].call(this,"removeListener")}if(V)return this},be(g[l],B),be(g[h],P),ee&&be(g[p],ee),pe&&be(g[y],pe),!0}let ne=[];for(let R=0;R<c.length;R++)ne[R]=ie(c[R],i);return ne}function ut(e,r){if(!r){const h=[];for(let y in e){const p=qe.exec(y);let D=p&&p[1];if(D&&(!r||D===r)){const C=e[y];if(C)for(let b=0;b<C.length;b++)h.push(C[b])}}return h}let c=de[r];c||(Et(r),c=de[r]);const i=e[c[Le]],l=e[c[Oe]];return i?l?i.concat(l):i.slice():l?l.slice():[]}function et(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",i=>function(l,h){l[He]=!0,i&&i.apply(l,h)})}function pt(e,r,c,i,l){const h=Zone.__symbol__(i);if(r[h])return;const y=r[h]=r[i];r[i]=function(p,D,C){return D&&D.prototype&&l.forEach(function(b){const q=`${c}.${i}::`+b,j=D.prototype;try{if(j.hasOwnProperty(b)){const F=e.ObjectGetOwnPropertyDescriptor(j,b);F&&F.value?(F.value=e.wrapWithCurrentZone(F.value,q),e._redefineProperty(D.prototype,b,F)):j[b]&&(j[b]=e.wrapWithCurrentZone(j[b],q))}else j[b]&&(j[b]=e.wrapWithCurrentZone(j[b],q))}catch{}}),y.call(r,p,D,C)},e.attachOriginToPatched(r[i],y)}function tt(e,r,c){if(!c||0===c.length)return r;const i=c.filter(h=>h.target===e);if(!i||0===i.length)return r;const l=i[0].ignoreProperties;return r.filter(h=>-1===l.indexOf(h))}function at(e,r,c,i){e&&Qe(e,tt(e,r,c),i)}function Ae(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}Zone.__load_patch("util",(e,r,c)=>{const i=Ae(e);c.patchOnProperties=Qe,c.patchMethod=we,c.bindArguments=rt,c.patchMacroTask=ct;const l=r.__symbol__("BLACK_LISTED_EVENTS"),h=r.__symbol__("UNPATCHED_EVENTS");e[h]&&(e[l]=e[h]),e[l]&&(r[l]=r[h]=e[l]),c.patchEventPrototype=et,c.patchEventTarget=Tt,c.isIEOrEdge=Re,c.ObjectDefineProperty=ge,c.ObjectGetOwnPropertyDescriptor=W,c.ObjectCreate=xe,c.ArraySlice=ft,c.patchClass=je,c.wrapWithCurrentZone=nt,c.filterProperties=tt,c.attachOriginToPatched=be,c._redefineProperty=Object.defineProperty,c.patchCallbacks=pt,c.getGlobalObjects=()=>({globalSources:Ce,zoneSymbolEventNames:de,eventNames:i,isBrowser:U,isMix:ye,isNode:$e,TRUE_STR:Oe,FALSE_STR:Le,ZONE_SYMBOL_PREFIX:ze,ADD_EVENT_LISTENER_STR:Ue,REMOVE_EVENT_LISTENER_STR:Ge})});const Ve=Y("zoneTask");function Ie(e,r,c,i){let l=null,h=null;c+=i;const y={};function p(C){const b=C.data;return b.args[0]=function(){return C.invoke.apply(this,arguments)},b.handleId=l.apply(e,b.args),C}function D(C){return h.call(e,C.data.handleId)}l=we(e,r+=i,C=>function(b,q){if("function"==typeof q[0]){const j={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?q[1]||0:void 0,args:q},F=q[0];q[0]=function(){try{return F.apply(this,arguments)}finally{j.isPeriodic||("number"==typeof j.handleId?delete y[j.handleId]:j.handleId&&(j.handleId[Ve]=null))}};const se=Ye(r,q[0],j,p,D);if(!se)return se;const X=se.data.handleId;return"number"==typeof X?y[X]=se:X&&(X[Ve]=se),X&&X.ref&&X.unref&&"function"==typeof X.ref&&"function"==typeof X.unref&&(se.ref=X.ref.bind(X),se.unref=X.unref.bind(X)),"number"==typeof X||X?X:se}return C.apply(e,q)}),h=we(e,c,C=>function(b,q){const j=q[0];let F;"number"==typeof j?F=y[j]:(F=j&&j[Ve],F||(F=j)),F&&"string"==typeof F.type?"notScheduled"!==F.state&&(F.cancelFn&&F.data.isPeriodic||0===F.runCount)&&("number"==typeof j?delete y[j]:j&&(j[Ve]=null),F.zone.cancelTask(F)):C.apply(e,q)})}Zone.__load_patch("legacy",e=>{const r=e[Zone.__symbol__("legacyPatch")];r&&r()}),Zone.__load_patch("timers",e=>{const r="set",c="clear";Ie(e,r,c,"Timeout"),Ie(e,r,c,"Interval"),Ie(e,r,c,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Ie(e,"request","cancel","AnimationFrame"),Ie(e,"mozRequest","mozCancel","AnimationFrame"),Ie(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,r)=>{const c=["alert","prompt","confirm"];for(let i=0;i<c.length;i++)we(e,c[i],(h,y,p)=>function(D,C){return r.current.run(h,e,C,p)})}),Zone.__load_patch("EventTarget",(e,r,c)=>{(function Be(e,r){r.patchEventPrototype(e,r)})(e,c),function vt(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:i,TRUE_STR:l,FALSE_STR:h,ZONE_SYMBOL_PREFIX:y}=r.getGlobalObjects();for(let D=0;D<c.length;D++){const C=c[D],j=y+(C+h),F=y+(C+l);i[C]={},i[C][h]=j,i[C][l]=F}const p=e.EventTarget;p&&p.prototype&&r.patchEventTarget(e,r,[p&&p.prototype])}(e,c);const i=e.XMLHttpRequestEventTarget;i&&i.prototype&&c.patchEventTarget(e,c,[i.prototype])}),Zone.__load_patch("MutationObserver",(e,r,c)=>{je("MutationObserver"),je("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,r,c)=>{je("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,r,c)=>{je("FileReader")}),Zone.__load_patch("on_property",(e,r,c)=>{!function _t(e,r){if($e&&!ye||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let i=[];if(U){const l=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const h=function mt(){try{const e=Ze.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:l,ignoreProperties:["error"]}]:[];at(l,Ae(l),c&&c.concat(h),Me(l))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let l=0;l<i.length;l++){const h=r[i[l]];h&&h.prototype&&at(h.prototype,Ae(h.prototype),c)}}(c,e)}),Zone.__load_patch("customElements",(e,r,c)=>{!function yt(e,r){const{isBrowser:c,isMix:i}=r.getGlobalObjects();(c||i)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,c)}),Zone.__load_patch("XHR",(e,r)=>{!function D(C){const b=C.XMLHttpRequest;if(!b)return;const q=b.prototype;let F=q[We],se=q[Xe];if(!F){const _=C.XMLHttpRequestEventTarget;if(_){const B=_.prototype;F=B[We],se=B[Xe]}}const X="readystatechange",ie="scheduled";function ne(_){const B=_.data,P=B.target;P[h]=!1,P[p]=!1;const pe=P[l];F||(F=P[We],se=P[Xe]),pe&&se.call(P,X,pe);const ee=P[l]=()=>{if(P.readyState===P.DONE)if(!B.aborted&&P[h]&&_.state===ie){const oe=P[r.__symbol__("loadfalse")];if(0!==P.status&&oe&&oe.length>0){const Pe=_.invoke;_.invoke=function(){const Te=P[r.__symbol__("loadfalse")];for(let ae=0;ae<Te.length;ae++)Te[ae]===_&&Te.splice(ae,1);!B.aborted&&_.state===ie&&Pe.call(_)},oe.push(_)}else _.invoke()}else!B.aborted&&!1===P[h]&&(P[p]=!0)};return F.call(P,X,ee),P[c]||(P[c]=_),g.apply(P,B.args),P[h]=!0,_}function R(){}function v(_){const B=_.data;return B.aborted=!0,K.apply(B.target,B.args)}const Ee=we(q,"open",()=>function(_,B){return _[i]=0==B[2],_[y]=B[1],Ee.apply(_,B)}),ce=Y("fetchTaskAborting"),V=Y("fetchTaskScheduling"),g=we(q,"send",()=>function(_,B){if(!0===r.current[V]||_[i])return g.apply(_,B);{const P={target:_,url:_[y],isPeriodic:!1,args:B,aborted:!1},pe=Ye("XMLHttpRequest.send",R,P,ne,v);_&&!0===_[p]&&!P.aborted&&pe.state===ie&&pe.invoke()}}),K=we(q,"abort",()=>function(_,B){const P=function j(_){return _[c]}(_);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===r.current[ce])return K.apply(_,B)})}(e);const c=Y("xhrTask"),i=Y("xhrSync"),l=Y("xhrListener"),h=Y("xhrScheduled"),y=Y("xhrURL"),p=Y("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function dt(e,r){const c=e.constructor.name;for(let i=0;i<r.length;i++){const l=r[i],h=e[l];if(h){if(!lt(W(e,l)))continue;e[l]=(p=>{const D=function(){return p.apply(this,rt(arguments,c+"."+l))};return be(D,p),D})(h)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,r)=>{function c(i){return function(l){ut(e,i).forEach(y=>{const p=e.PromiseRejectionEvent;if(p){const D=new p(i,{promise:l.promise,reason:l.rejection});y.invoke(D)}})}}e.PromiseRejectionEvent&&(r[Y("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),r[Y("rejectionHandledHandler")]=c("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,r,c)=>{!function gt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(i,l){Zone.current.scheduleMicroTask("queueMicrotask",l[0])})}(e,c)})}},W=>{W(W.s=321)}]); "use strict";(self.webpackChunkbuild_cli=self.webpackChunkbuild_cli||[]).push([[179],{141:()=>{let vt=null,Js=1;function ht(t){const n=vt;return vt=t,n}function QC(t){if((!Aa(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==Js)){if(!t.producerMustRecompute(t)&&!op(t))return t.dirty=!1,void(t.lastCleanEpoch=Js);t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Js}}function op(t){eo(t);for(let n=0;n<t.producerNode.length;n++){const e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(QC(e),i!==e.version))return!0}return!1}function il(t,n){if(function i_(t){t.