From f5730ec3679257ad635fd0e78a74099cdf3bc763 Mon Sep 17 00:00:00 2001 From: cipchk Date: Sat, 23 Nov 2024 05:39:45 +0000 Subject: [PATCH] deploy: f3bd7a662664dcc853fd092a632073dc50ce2afa --- 404.html | 2 +- index.html | 2 +- main-JTPQVCP2.js | 8 ++++++++ main-YS5ZETAB.js | 8 -------- 4 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 main-JTPQVCP2.js delete mode 100644 main-YS5ZETAB.js diff --git a/404.html b/404.html index 9c48e8e..ac9f3ab 100644 --- a/404.html +++ b/404.html @@ -13,6 +13,6 @@ Fork me on GitHub
Loading...
- + diff --git a/index.html b/index.html index 9c48e8e..ac9f3ab 100644 --- a/index.html +++ b/index.html @@ -13,6 +13,6 @@ Fork me on GitHub
Loading...
- + diff --git a/main-JTPQVCP2.js b/main-JTPQVCP2.js new file mode 100644 index 0000000..f09e191 --- /dev/null +++ b/main-JTPQVCP2.js @@ -0,0 +1,8 @@ +var $l=Object.create;var Yr=Object.defineProperty,Gl=Object.defineProperties,zl=Object.getOwnPropertyDescriptor,Wl=Object.getOwnPropertyDescriptors,ql=Object.getOwnPropertyNames,Cs=Object.getOwnPropertySymbols,Zl=Object.getPrototypeOf,Is=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable;var _s=(e,t,n)=>t in e?Yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x=(e,t)=>{for(var n in t||={})Is.call(t,n)&&_s(e,n,t[n]);if(Cs)for(var n of Cs(t))Yl.call(t,n)&&_s(e,n,t[n]);return e},P=(e,t)=>Gl(e,Wl(t));var Ql=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Kl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ql(t))!Is.call(e,o)&&o!==n&&Yr(e,o,{get:()=>t[o],enumerable:!(r=zl(t,o))||r.enumerable});return e};var Jl=(e,t,n)=>(n=e!=null?$l(Zl(e)):{},Kl(t||!e||!e.__esModule?Yr(n,"default",{value:e,enumerable:!0}):n,e));var Ft=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var Vl=Ql((Ds,Es)=>{"use strict";(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof Ds<"u"?t():(t(),e.FileSaver={})})(Ds,function(){"use strict";function e(a,c){return typeof c>"u"?c={autoBom:!1}:typeof c!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function t(a,c,u){var l=new XMLHttpRequest;l.open("GET",a),l.responseType="blob",l.onload=function(){s(l.response,c,u)},l.onerror=function(){console.error("could not download file")},l.send()}function n(a){var c=new XMLHttpRequest;c.open("HEAD",a,!1);try{c.send()}catch{}return 200<=c.status&&299>=c.status}function r(a){try{a.dispatchEvent(new MouseEvent("click"))}catch{var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(c)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,i=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!i?function(a,c,u){var l=o.URL||o.webkitURL,d=document.createElement("a");c=c||a.name||"download",d.download=c,d.rel="noopener",typeof a=="string"?(d.href=a,d.origin===location.origin?r(d):n(d.href)?t(a,c,u):r(d,d.target="_blank")):(d.href=l.createObjectURL(a),setTimeout(function(){l.revokeObjectURL(d.href)},4e4),setTimeout(function(){r(d)},0))}:"msSaveOrOpenBlob"in navigator?function(a,c,u){if(c=c||a.name||"download",typeof a!="string")navigator.msSaveOrOpenBlob(e(a,u),c);else if(n(a))t(a,c,u);else{var l=document.createElement("a");l.href=a,l.target="_blank",setTimeout(function(){r(l)})}}:function(a,c,u,l){if(l=l||open("","_blank"),l&&(l.document.title=l.document.body.innerText="downloading..."),typeof a=="string")return t(a,c,u);var d=a.type==="application/octet-stream",h=/constructor/i.test(o.HTMLElement)||o.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||d&&h||i)&&typeof FileReader<"u"){var g=new FileReader;g.onloadend=function(){var w=g.result;w=f?w:w.replace(/^data:[^;]*;/,"data:attachment/file;"),l?l.location.href=w:location=w,l=null},g.readAsDataURL(a)}else{var p=o.URL||o.webkitURL,m=p.createObjectURL(a);l?l.location=m:location.href=m,l=null,setTimeout(function(){p.revokeObjectURL(m)},4e4)}});o.saveAs=s.saveAs=s,typeof Es<"u"&&(Es.exports=s)})});function Xr(e,t){return Object.is(e,t)}var H=null,En=!1,eo=1,te=Symbol("SIGNAL");function T(e){let t=H;return H=e,t}function bs(){return H}var Pt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function to(e){if(En)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(In(H),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function oo(e){In(e);for(let t=0;t0}function In(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ns(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function xs(e){return e.producerNode!==void 0}function As(e){let t=Object.create(td);t.computation=e;let n=()=>{if(no(t),to(t),t.value===wn)throw t.error;return t.value};return n[te]=t,n}var Qr=Symbol("UNSET"),Kr=Symbol("COMPUTING"),wn=Symbol("ERRORED"),td=P(x({},Pt),{value:Qr,dirty:!0,error:null,equal:Xr,producerMustRecompute(e){return e.value===Qr||e.value===Kr},producerRecomputeValue(e){if(e.value===Kr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Kr;let n=Cn(e),r;try{r=e.computation()}catch(o){r=wn,e.error=o}finally{ro(e,n)}if(t!==Qr&&t!==wn&&r!==wn&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function nd(){throw new Error}var Os=nd;function Rs(){Os()}function Fs(e){Os=e}var rd=null;function ks(e){let t=Object.create(Ls);t.value=e;let n=()=>(to(t),t.value);return n[te]=t,n}function so(e,t){Ts()||Rs(),e.equal(e.value,t)||(e.value=t,od(e))}function Ps(e,t){Ts()||Rs(),so(e,t(e.value))}var Ls=P(x({},Pt),{equal:Xr,value:void 0});function od(e){e.version++,Xl(),Ms(e),rd?.()}function v(e){return typeof e=="function"}function bn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Mn=bn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Lt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(v(r))try{r()}catch(i){t=i instanceof Mn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Vs(i)}catch(s){t=t??[],s instanceof Mn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Mn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vs(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Lt(n,t)}remove(t){let{_finalizers:n}=this;n&&Lt(n,t),t instanceof e&&t._removeParent(this)}};Z.EMPTY=(()=>{let e=new Z;return e.closed=!0,e})();var ao=Z.EMPTY;function Tn(e){return e instanceof Z||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Vs(e){v(e)?e():e.unsubscribe()}var ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var nt={setTimeout(e,t,...n){let{delegate:r}=nt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=nt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Sn(e){nt.setTimeout(()=>{let{onUnhandledError:t}=ae;if(t)t(e);else throw e})}function Vt(){}var js=co("C",void 0,void 0);function Bs(e){return co("E",void 0,e)}function Hs(e){return co("N",e,void 0)}function co(e,t,n){return{kind:e,value:t,error:n}}var Ue=null;function rt(e){if(ae.useDeprecatedSynchronousErrorHandling){let t=!Ue;if(t&&(Ue={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ue;if(Ue=null,n)throw r}}else e()}function Us(e){ae.useDeprecatedSynchronousErrorHandling&&Ue&&(Ue.errorThrown=!0,Ue.error=e)}var $e=class extends Z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Tn(t)&&t.add(this)):this.destination=ad}static create(t,n,r){return new ot(t,n,r)}next(t){this.isStopped?lo(Hs(t),this):this._next(t)}error(t){this.isStopped?lo(Bs(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?lo(js,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},id=Function.prototype.bind;function uo(e,t){return id.call(e,t)}var fo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Nn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Nn(r)}else Nn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Nn(n)}}},ot=class extends $e{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ae.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&uo(t.next,i),error:t.error&&uo(t.error,i),complete:t.complete&&uo(t.complete,i)}):o=t}this.destination=new fo(o)}};function Nn(e){ae.useDeprecatedSynchronousErrorHandling?Us(e):Sn(e)}function sd(e){throw e}function lo(e,t){let{onStoppedNotification:n}=ae;n&&nt.setTimeout(()=>n(e,t))}var ad={closed:!0,next:Vt,error:sd,complete:Vt};var it=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $s(e){return e}function Gs(e){return e.length===0?$s:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var A=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=ud(n)?n:new ot(n,r,o);return rt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=zs(r),new r((o,i)=>{let s=new ot({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[it](){return this}pipe(...n){return Gs(n)(this)}toPromise(n){return n=zs(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function zs(e){var t;return(t=e??ae.Promise)!==null&&t!==void 0?t:Promise}function cd(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function ud(e){return e&&e instanceof $e||cd(e)&&Tn(e)}function ld(e){return v(e?.lift)}function W(e){return t=>{if(ld(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function q(e,t,n,r,o){return new ho(e,t,n,r,o)}var ho=class extends $e{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Ws=bn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new xn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ws}next(n){rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ao:(this.currentObservers=null,i.push(n),new Z(()=>{this.currentObservers=null,Lt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new A;return n.source=this,n}}return e.create=(t,n)=>new xn(t,n),e})(),xn=class extends le{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ao}};var jt=class extends le{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function qs(e){return e&&v(e.schedule)}function Zs(e){return e[e.length-1]}function Ys(e){return v(Zs(e))?e.pop():void 0}function Qs(e){return qs(Zs(e))?e.pop():void 0}function Js(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Ks(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ge(e){return this instanceof Ge?(this.v=e,this):new Ge(e)}function Xs(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(f){return new Promise(function(g,p){i.push([h,f,g,p])>1||a(h,f)})})}function a(h,f){try{c(r[h](f))}catch(g){d(i[0][3],g)}}function c(h){h.value instanceof Ge?Promise.resolve(h.value.v).then(u,l):d(i[0][2],h)}function u(h){a("next",h)}function l(h){a("throw",h)}function d(h,f){h(f),i.shift(),i.length&&a(i[0][0],i[0][1])}}function ea(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ks=="function"?Ks(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var st=e=>e&&typeof e.length=="number"&&typeof e!="function";function An(e){return v(e?.then)}function On(e){return v(e[it])}function Rn(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Fn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function dd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var kn=dd();function Pn(e){return v(e?.[kn])}function Ln(e){return Xs(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ge(n.read());if(o)return yield Ge(void 0);yield yield Ge(r)}}finally{n.releaseLock()}})}function Vn(e){return v(e?.getReader)}function U(e){if(e instanceof A)return e;if(e!=null){if(On(e))return fd(e);if(st(e))return hd(e);if(An(e))return pd(e);if(Rn(e))return ta(e);if(Pn(e))return gd(e);if(Vn(e))return md(e)}throw Fn(e)}function fd(e){return new A(t=>{let n=e[it]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function hd(e){return new A(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Sn)})}function gd(e){return new A(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function ta(e){return new A(t=>{yd(e,t).catch(n=>t.error(n))})}function md(e){return ta(Ln(e))}function yd(e,t){var n,r,o,i;return Js(this,void 0,void 0,function*(){try{for(n=ea(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ne(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function jn(e,t=0){return W((n,r)=>{n.subscribe(q(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function Bn(e,t=0){return W((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function na(e,t){return U(e).pipe(Bn(t),jn(t))}function ra(e,t){return U(e).pipe(Bn(t),jn(t))}function oa(e,t){return new A(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ia(e,t){return new A(n=>{let r;return ne(n,t,()=>{r=e[kn](),ne(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>v(r?.return)&&r.return()})}function Hn(e,t){if(!e)throw new Error("Iterable cannot be null");return new A(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function sa(e,t){return Hn(Ln(e),t)}function aa(e,t){if(e!=null){if(On(e))return na(e,t);if(st(e))return oa(e,t);if(An(e))return ra(e,t);if(Rn(e))return Hn(e,t);if(Pn(e))return ia(e,t);if(Vn(e))return sa(e,t)}throw Fn(e)}function ze(e,t){return t?aa(e,t):U(e)}function Un(...e){let t=Qs(e);return ze(e,t)}function J(e,t){return W((n,r)=>{let o=0;n.subscribe(q(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:vd}=Array;function Dd(e,t){return vd(t)?e(...t):e(t)}function $n(e){return J(t=>Dd(e,t))}var{isArray:Ed}=Array,{getPrototypeOf:wd,prototype:Cd,keys:_d}=Object;function ca(e){if(e.length===1){let t=e[0];if(Ed(t))return{args:t,keys:null};if(Id(t)){let n=_d(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Id(e){return e&&typeof e=="object"&&wd(e)===Cd}function ua(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function la(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=p=>u{i&&t.next(p),u++;let m=!1;U(n(p,l++)).subscribe(q(t,w=>{o?.(w),i?f(w):t.next(w)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;c.length&&ug(w)):g(w)}h()}catch(w){t.error(w)}}))};return e.subscribe(q(t,f,()=>{d=!0,h()})),()=>{a?.()}}function at(e,t,n=1/0){return v(t)?at((r,o)=>J((i,s)=>t(r,i,o,s))(U(e(r,o))),n):(typeof t=="number"&&(n=t),W((r,o)=>la(r,o,e,n)))}function po(...e){let t=Ys(e),{args:n,keys:r}=ca(e),o=new A(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?ua(r,a):a),i.complete())}))}});return t?o.pipe($n(t)):o}var bd=["addListener","removeListener"],Md=["addEventListener","removeEventListener"],Td=["on","off"];function Bt(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return Bt(e,t,n).pipe($n(r));let[o,i]=xd(e)?Md.map(s=>a=>e[s](t,a,n)):Sd(e)?bd.map(da(e,t)):Nd(e)?Td.map(da(e,t)):[];if(!o&&st(e))return at(s=>Bt(s,t,n))(U(e));if(!o)throw new TypeError("Invalid event target");return new A(s=>{let a=(...c)=>s.next(1i(a)})}function da(e,t){return n=>r=>e[n](t,r)}function Sd(e){return v(e.addListener)&&v(e.removeListener)}function Nd(e){return v(e.on)&&v(e.off)}function xd(e){return v(e.addEventListener)&&v(e.removeEventListener)}function ct(e,t){return W((n,r)=>{let o=0;n.subscribe(q(r,i=>e.call(t,i,o++)&&r.next(i)))})}function go(e,t){return v(t)?at(e,t,1):at(e,1)}function mo(e){return W((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function yo(e,t){return W((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(q(r,c=>{o?.unsubscribe();let u=0,l=i++;U(e(c,l)).subscribe(o=q(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function vo(e){return W((t,n)=>{U(e).subscribe(q(n,()=>n.complete(),Vt)),!n.closed&&t.subscribe(n)})}var Ad="https://g.co/ng/security#xss",C=class extends Error{code;constructor(t,n){super(gr(t,n)),this.code=t}};function gr(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function mr(e){return{toString:e}.toString()}function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function Od(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ie(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ie).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function fa(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Rd=O({__forward_ref__:O});function It(e){return e.__forward_ref__=It,e.toString=function(){return ie(this())},e}function Y(e){return Za(e)?e():e}function Za(e){return typeof e=="function"&&e.hasOwnProperty(Rd)&&e.__forward_ref__===It}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function yi(e){return ha(e,Ya)||ha(e,Qa)}function ha(e,t){return e.hasOwnProperty(t)?e[t]:null}function Fd(e){let t=e&&(e[Ya]||e[Qa]);return t||null}function pa(e){return e&&(e.hasOwnProperty(ga)||e.hasOwnProperty(kd))?e[ga]:null}var Ya=O({\u0275prov:O}),ga=O({\u0275inj:O}),Qa=O({ngInjectableDef:O}),kd=O({ngInjectorDef:O}),E=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ka(e){return e&&!!e.\u0275providers}var Pd=O({\u0275cmp:O}),Ld=O({\u0275dir:O}),Vd=O({\u0275pipe:O});var Jn=O({\u0275fac:O}),Ut=O({__NG_ELEMENT_ID__:O}),ma=O({__NG_ENV_ID__:O});function jd(e){return typeof e=="string"?e:e==null?"":String(e)}function Bd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():jd(e)}function Hd(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,e)}function vi(e,t){throw new C(-201,!1)}var _=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_||{}),xo;function Ja(){return xo}function re(e){let t=xo;return xo=e,t}function Xa(e,t,n){let r=yi(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;vi(e,"Injector")}var Ud={},$t=Ud,$d="__NG_DI_FLAG__",Xn="ngTempTokenPath",Gd="ngTokenPath",zd=/\n/gm,Wd="\u0275",ya="__source",ft;function qd(){return ft}function Me(e){let t=ft;return ft=e,t}function Zd(e,t=_.Default){if(ft===void 0)throw new C(-203,!1);return ft===null?Xa(e,void 0,t):ft.get(e,t&_.Optional?null:void 0,t)}function I(e,t=_.Default){return(Ja()||Zd)(Y(e),t)}function D(e,t=_.Default){return I(e,yr(t))}function yr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ao(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ie(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(zd,` + `)}`}function pt(e,t){let n=e.hasOwnProperty(Jn);return n?e[Jn]:null}function Di(e,t){e.forEach(n=>Array.isArray(n)?Di(n,t):t(n))}function ec(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Jd(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Xd(e,t,n){let r=Jt(e,t);return r>=0?e[r|1]=n:(r=~r,Jd(e,r,t,n)),r}function Do(e,t){let n=Jt(e,t);if(n>=0)return e[n|1]}function Jt(e,t){return ef(e,t,1)}function ef(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return Di(t,s=>{let a=s;Oo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&sc(o,i),n}function sc(e,t){for(let n=0;n{t(i,r)})}}function Oo(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=pa(e),s=!i&&vr(e);if(!i&&!s){let c=e.ngModule;if(i=pa(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Oo(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Di(i.imports,l=>{Oo(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&sc(u,t)}if(!a){let u=pt(o)||(()=>new o);t({provide:o,useFactory:u,deps:oe},o),t({provide:nc,useValue:o,multi:!0},o),t({provide:Gt,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;wi(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function wi(e,t){for(let n of e)Ka(n)&&(n=n.\u0275providers),Array.isArray(n)?wi(n,t):t(n)}var rf=O({provide:String,useValue:O});function ac(e){return e!==null&&typeof e=="object"&&rf in e}function of(e){return!!(e&&e.useExisting)}function sf(e){return!!(e&&e.useFactory)}function mt(e){return typeof e=="function"}function af(e){return!!e.useClass}var Dr=new E(""),qn={},cf={},Eo;function Ci(){return Eo===void 0&&(Eo=new er),Eo}var De=class{},zt=class extends De{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Fo(t,s=>this.processProvider(s)),this.records.set(tc,ut(void 0,this)),o.has("environment")&&this.records.set(De,ut(void 0,this));let i=this.records.get(Dr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(nc,oe,_.Self))}destroy(){Ht(this),this._destroyed=!0;let t=T(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),T(t)}}onDestroy(t){return Ht(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ht(this);let n=Me(this),r=re(void 0),o;try{return t()}finally{Me(n),re(r)}}get(t,n=$t,r=_.Default){if(Ht(this),t.hasOwnProperty(ma))return t[ma](this);r=yr(r);let o,i=Me(this),s=re(void 0);try{if(!(r&_.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=hf(t)&&yi(t);u&&this.injectableDefInScope(u)?c=ut(Ro(t),qn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&_.Self?Ci():this.parent;return n=r&_.Optional&&n===$t?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Xn]=a[Xn]||[]).unshift(ie(t)),i)throw a;return Qd(a,t,"R3InjectorError",this.source)}else throw a}finally{re(s),Me(i)}}resolveInjectorInitializers(){let t=T(null),n=Me(this),r=re(void 0),o;try{let i=this.get(Gt,oe,_.Self);for(let s of i)s()}finally{Me(n),re(r),T(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ie(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=mt(t)?t:Y(t&&t.provide),r=lf(t);if(!mt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ut(void 0,qn,!0),o.factory=()=>Ao(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=T(null);try{return n.value===qn&&(n.value=cf,n.value=n.factory()),typeof n.value=="object"&&n.value&&ff(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{T(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ro(e){let t=yi(e),n=t!==null?t.factory:pt(e);if(n!==null)return n;if(e instanceof E)throw new C(204,!1);if(e instanceof Function)return uf(e);throw new C(204,!1)}function uf(e){if(e.length>0)throw new C(204,!1);let n=Fd(e);return n!==null?()=>n.factory(e):()=>new e}function lf(e){if(ac(e))return ut(void 0,e.useValue);{let t=cc(e);return ut(t,qn)}}function cc(e,t,n){let r;if(mt(e)){let o=Y(e);return pt(o)||Ro(o)}else if(ac(e))r=()=>Y(e.useValue);else if(sf(e))r=()=>e.useFactory(...Ao(e.deps||[]));else if(of(e))r=()=>I(Y(e.useExisting));else{let o=Y(e&&(e.useClass||e.provide));if(df(e))r=()=>new o(...Ao(e.deps));else return pt(o)||Ro(o)}return r}function Ht(e){if(e.destroyed)throw new C(205,!1)}function ut(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function df(e){return!!e.deps}function ff(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function hf(e){return typeof e=="function"||typeof e=="object"&&e instanceof E}function Fo(e,t){for(let n of e)Array.isArray(n)?Fo(n,t):n&&Ka(n)?Fo(n.\u0275providers,t):t(n)}function Er(e,t){e instanceof zt&&Ht(e);let n,r=Me(e),o=re(void 0);try{return t()}finally{Me(r),re(o)}}function uc(){return Ja()!==void 0||qd()!=null}function lc(e){if(!uc())throw new C(-203,!1)}var ke=0,b=1,y=2,ue=3,Te=4,Pe=5,ko=6,tr=7,Ee=8,yt=9,xe=10,ee=11,Wt=12,va=13,Xt=14,we=15,nr=16,lt=17,_i=18,wr=19,dc=20,Se=21,wo=22,rr=23,X=24,qe=25,fc=1;var Po=7,pf=8,or=9,We=10,ir=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ir||{});function Ne(e){return Array.isArray(e)&&typeof e[fc]=="object"}function bt(e){return Array.isArray(e)&&e[fc]===!0}function hc(e){return(e.flags&4)!==0}function Cr(e){return e.componentOffset>-1}function pc(e){return(e.flags&1)===1}function Ae(e){return!!e.template}function Lo(e){return(e[y]&512)!==0}var Vo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function gc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ii=(()=>{let e=()=>mc;return e.ngInherit=!0,e})();function mc(e){return e.type.prototype.ngOnChanges&&(e.setInput=mf),gf}function gf(){let e=vc(this),t=e?.current;if(t){let n=e.previous;if(n===gt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function mf(e,t,n,r,o){let i=this.declaredInputs[r],s=vc(e)||yf(e,{previous:gt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Vo(u&&u.currentValue,n,c===gt),gc(e,t,o,n)}var yc="__ngSimpleChanges__";function vc(e){return e[yc]||null}function yf(e,t){return e[yc]=t}var Da=null;var de=function(e,t,n){Da?.(e,t,n)},vf="svg",Df="math";function Je(e){for(;Array.isArray(e);)e=e[ke];return e}function Ef(e,t){return Je(t[e])}function _e(e,t){return Je(t[e.index])}function Dc(e,t){return e.data[t]}function Le(e,t){let n=t[e];return Ne(n)?n:n[ke]}function bi(e){return(e[y]&128)===128}function Ea(e,t){return t==null?null:e[t]}function Ec(e){e[lt]=0}function Mi(e){e[y]&1024||(e[y]|=1024,bi(e)&&Ir(e))}function _r(e){return!!(e[y]&9216||e[X]?.dirty)}function wa(e){e[xe].changeDetectionScheduler?.notify(9),e[y]&64&&(e[y]|=1024),_r(e)&&Ir(e)}function Ir(e){e[xe].changeDetectionScheduler?.notify(0);let t=vt(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!bi(t)));)t=vt(t)}function wc(e,t){if((e[y]&256)===256)throw new C(911,!1);e[Se]===null&&(e[Se]=[]),e[Se].push(t)}function wf(e,t){if(e[Se]===null)return;let n=e[Se].indexOf(t);n!==-1&&e[Se].splice(n,1)}function vt(e){let t=e[ue];return bt(t)?t[ue]:t}var M={lFrame:Nc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var jo=!1;function Cf(){return M.lFrame.elementDepthCount}function _f(){M.lFrame.elementDepthCount++}function If(){M.lFrame.elementDepthCount--}function Cc(){return M.bindingsEnabled}function bf(){return M.skipHydrationRootTNode!==null}function Mf(e){return M.skipHydrationRootTNode===e}function Tf(){M.skipHydrationRootTNode=null}function G(){return M.lFrame.lView}function pe(){return M.lFrame.tView}function se(){let e=_c();for(;e!==null&&e.type===64;)e=e.parent;return e}function _c(){return M.lFrame.currentTNode}function Sf(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function br(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function Ic(){return M.lFrame.isParent}function Nf(){M.lFrame.isParent=!1}function bc(){return jo}function Ca(e){let t=jo;return jo=e,t}function xf(e){return M.lFrame.bindingIndex=e}function Af(){return M.lFrame.bindingIndex++}function Of(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Rf(){return M.lFrame.inI18n}function Ff(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,Bo(t)}function kf(){return M.lFrame.currentDirectiveIndex}function Bo(e){M.lFrame.currentDirectiveIndex=e}function Pf(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Mc(e){M.lFrame.currentQueryIndex=e}function Lf(e){let t=e[b];return t.type===2?t.declTNode:t.type===1?e[Pe]:null}function Tc(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=Lf(i),o===null||(i=i[Xt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Sc();return r.currentTNode=t,r.lView=e,!0}function Ti(e){let t=Sc(),n=e[b];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Sc(){let e=M.lFrame,t=e===null?null:e.child;return t===null?Nc(e):t}function Nc(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function xc(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ac=xc;function Si(){let e=xc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function en(){return M.lFrame.selectedIndex}function Ze(e){M.lFrame.selectedIndex=e}function Vf(){let e=M.lFrame;return Dc(e.tView,e.selectedIndex)}function jf(){return M.lFrame.currentNamespace}var Oc=!0;function Rc(){return Oc}function Fc(e){Oc=e}function Bf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=mc(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function kc(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[lt]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,_a(a,i)):_a(a,i)}var ht=-1,Ye=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Uf(e){return e instanceof Ye}function $f(e){return(e.flags&8)!==0}function Gf(e){return(e.flags&16)!==0}function Ho(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Go(e,t){let n=Zf(e),r=t;for(;n>0;)r=r[Xt],n--;return r}var zo=!0;function ba(e){let t=zo;return zo=e,t}var Yf=256,Lc=Yf-1,Vc=5,Qf=0,fe={};function Kf(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ut)&&(r=n[Ut]),r==null&&(r=n[Ut]=Qf++);let o=r&Lc,i=1<>Vc)]|=i}function sr(e,t){let n=jc(e,t);if(n!==-1)return n;let r=t[b];r.firstCreatePass&&(e.injectorIndex=t.length,Io(r.data,e),Io(t,null),Io(r.blueprint,null));let o=Bc(e,t),i=e.injectorIndex;if(qf(o)){let s=$o(o),a=Go(o,t),c=a[b].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Io(e,t){e.push(0,0,0,0,0,0,0,0,t)}function jc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Bc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=zc(o),r===null)return ht;if(n++,o=o[Xt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ht}function Wo(e,t,n){Kf(e,t,n)}function Hc(e,t,n){if(n&_.Optional||e!==void 0)return e;vi(t,"NodeInjector")}function Uc(e,t,n,r){if(n&_.Optional&&r===void 0&&(r=null),!(n&(_.Self|_.Host))){let o=e[yt],i=re(void 0);try{return o?o.get(t,r,n&_.Optional):Xa(t,r,n&_.Optional)}finally{re(i)}}return Hc(r,t,n)}function $c(e,t,n,r=_.Default,o){if(e!==null){if(t[y]&2048&&!(r&_.Self)){let s=nh(e,t,n,r,fe);if(s!==fe)return s}let i=Gc(e,t,n,r,fe);if(i!==fe)return i}return Uc(t,n,r,o)}function Gc(e,t,n,r,o){let i=eh(n);if(typeof i=="function"){if(!Tc(t,e,r))return r&_.Host?Hc(o,n,r):Uc(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&_.Optional))vi(n);else return s}finally{Ac()}}else if(typeof i=="number"){let s=null,a=jc(e,t),c=ht,u=r&_.Host?t[we][Pe]:null;for((a===-1||r&_.SkipSelf)&&(c=a===-1?Bc(e,t):t[a+8],c===ht||!Ta(r,!1)?a=-1:(s=t[b],a=$o(c),t=Go(c,t)));a!==-1;){let l=t[b];if(Ma(i,a,l.data)){let d=Jf(a,t,n,s,r,u);if(d!==fe)return d}c=t[a+8],c!==ht&&Ta(r,t[b].data[a+8]===u)&&Ma(i,a,t)?(s=l,a=$o(c),t=Go(c,t)):a=-1}}return o}function Jf(e,t,n,r,o,i){let s=t[b],a=s.data[e+8],c=r==null?Cr(a)&&zo:r!=s&&(a.type&3)!==0,u=o&_.Host&&i===a,l=Xf(a,s,n,c,u);return l!==null?Dt(t,s,l,a):fe}function Xf(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f=c&&g.type===n)return f}if(o){let f=s[c];if(f&&Ae(f)&&f.type===n)return c}return null}function Dt(e,t,n,r){let o=e[n],i=t.data;if(Uf(o)){let s=o;s.resolving&&Hd(Bd(i[n]));let a=ba(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?re(s.injectImpl):null,l=Tc(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Bf(n,i[n],t)}finally{u!==null&&re(u),ba(a),s.resolving=!1,Ac()}}return o}function eh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ut)?e[Ut]:void 0;return typeof t=="number"?t>=0?t&Lc:th:t}function Ma(e,t,n){let r=1<>Vc)]&r)}function Ta(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var ar=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return $c(this._tNode,this._lView,t,yr(r),n)}};function th(){return new ar(se(),G())}function Ni(e){return mr(()=>{let t=e.prototype.constructor,n=t[Jn]||qo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Jn]||qo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function qo(e){return Za(e)?()=>{let t=qo(Y(e));return t&&t()}:pt(e)}function nh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Gc(i,s,n,r|_.Self,fe);if(a!==fe)return a;let c=i.parent;if(!c){let u=s[dc];if(u){let l=u.get(n,fe,r);if(l!==fe)return l}c=zc(s),s=s[Xt]}i=c}return o}function zc(e){let t=e[b],n=t.type;return n===2?t.declTNode:n===1?e[Pe]:null}function Sa(e,t=null,n=null,r){let o=rh(e,t,n,r);return o.resolveInjectorInitializers(),o}function rh(e,t=null,n=null,r,o=new Set){let i=[n||oe,nf(e)];return r=r||(typeof e=="object"?void 0:ie(e)),new zt(i,t||Ci(),r||null,o)}var Oe=class e{static THROW_IF_NOT_FOUND=$t;static NULL=new er;static create(t,n){if(Array.isArray(t))return Sa({name:""},n,t,"");{let r=t.name??"";return Sa({name:r},t.parent,t.providers,r)}}static \u0275prov=S({token:e,providedIn:"any",factory:()=>I(tc)});static __NG_ELEMENT_ID__=-1};var oh=new E("");oh.__NG_ELEMENT_ID__=e=>{let t=se();if(t===null)throw new C(204,!1);if(t.type&2)return t.value;if(e&_.Optional)return null;throw new C(204,!1)};var Wc=!1,Mt=(()=>{class e{static __NG_ELEMENT_ID__=ih;static __NG_ENV_ID__=n=>n}return e})(),Zo=class extends Mt{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return wc(this._lView,t),()=>wf(this._lView,t)}};function ih(){return new Zo(G())}var Zt=class{},xi=new E("",{providedIn:"root",factory:()=>!1});var qc=new E(""),Zc=new E(""),Tt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new jt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();var Yo=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,uc()&&(this.destroyRef=D(Mt,{optional:!0})??void 0,this.pendingTasks=D(Tt,{optional:!0})??void 0)}emit(t){let n=T(null);try{super.next(t)}finally{T(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Q=Yo;function cr(...e){}function Yc(e){let t,n;function r(){e=cr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Na(e){return queueMicrotask(()=>e()),()=>{e=cr}}var Ai="isAngularZone",ur=Ai+"_ID",sh=0,V=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Q(!1);onMicrotaskEmpty=new Q(!1);onStable=new Q(!1);onError=new Q(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Wc}=t;if(typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,uh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ai)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,ah,cr,cr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},ah={};function Oi(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function ch(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Yc(()=>{e.callbackScheduled=!1,Qo(e),e.isCheckStableRunning=!0,Oi(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Qo(e)}function uh(e){let t=()=>{ch(e)},n=sh++;e._inner=e._inner.fork({name:"angular",properties:{[Ai]:!0,[ur]:n,[ur+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(lh(c))return r.invokeTask(i,s,a,c);try{return xa(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Aa(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return xa(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!dh(c)&&t(),Aa(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Qo(e),Oi(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Qo(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function xa(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Aa(e){e._nesting--,Oi(e)}var Ko=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Q;onMicrotaskEmpty=new Q;onStable=new Q;onError=new Q;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function lh(e){return Qc(e,"__ignore_ng_zone__")}function dh(e){return Qc(e,"__scheduler_tick__")}function Qc(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Re=class{_console=console;handleError(t){this._console.error("ERROR",t)}},fh=new E("",{providedIn:"root",factory:()=>{let e=D(V),t=D(Re);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function hh(){return Kc(se(),G())}function Kc(e,t){return new Ve(_e(e,t))}var Ve=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=hh}return e})();function ph(e){return(e.flags&128)===128}var Jc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Jc||{}),Xc=new Map,gh=0;function mh(){return gh++}function yh(e){Xc.set(e[wr],e)}function Jo(e){Xc.delete(e[wr])}var Oa="__ngContext__";function Et(e,t){Ne(t)?(e[Oa]=t[wr],yh(t)):e[Oa]=t}function eu(e){return nu(e[Wt])}function tu(e){return nu(e[Te])}function nu(e){for(;e!==null&&!bt(e);)e=e[Te];return e}var Xo;function ru(e){Xo=e}function vh(){if(Xo!==void 0)return Xo;if(typeof document<"u")return document;throw new C(210,!1)}var Ri=new E("",{providedIn:"root",factory:()=>Dh}),Dh="ng",Fi=new E(""),je=new E("",{providedIn:"platform",factory:()=>"unknown"});var ki=new E("",{providedIn:"root",factory:()=>vh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Eh="h",wh="b";var ou=!1,Ch=new E("",{providedIn:"root",factory:()=>ou});var Ra=new Set;function tn(e){Ra.has(e)||(Ra.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var _h=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();var Ih=()=>null;function Pi(e,t,n=!1){return Ih(e,t,n)}var he=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(he||{});var ei=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ad})`}};function Li(e){return e instanceof ei?e.changingThisBreaksApplicationSecurity:e}var Fe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Fe||{}),Ce=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ce||{}),bh;function iu(e,t){return bh(e,t)}function dt(e,t,n,r,o){if(r!=null){let i,s=!1;bt(r)?i=r:Ne(r)&&(s=!0,r=r[ke]);let a=Je(r);e===0&&n!==null?o==null?cu(t,n,a):ti(t,n,a,o||null,!0):e===1&&n!==null?ti(t,n,a,o||null,!0):e===2?Bh(t,a,s):e===3&&t.destroyNode(a),i!=null&&Uh(t,e,i,n,o)}}function Mh(e,t){return e.createText(t)}function su(e,t,n){return e.createElement(t,n)}function Th(e,t){au(e,t),t[ke]=null,t[Pe]=null}function au(e,t){t[xe].changeDetectionScheduler?.notify(10),Bi(e,t,t[ee],2,null,null)}function Sh(e){let t=e[Wt];if(!t)return bo(e[b],e);for(;t;){let n=null;if(Ne(t))n=t[Wt];else{let r=t[We];r&&(n=r)}if(!n){for(;t&&!t[Te]&&t!==e;)Ne(t)&&bo(t[b],t),t=t[ue];t===null&&(t=e),Ne(t)&&bo(t[b],t),n=t&&t[Te]}t=n}}function Nh(e,t){let n=e[or],r=t[ue];if(Ne(r))e[y]|=ir.HasTransplantedViews;else{let o=r[ue][we];t[we]!==o&&(e[y]|=ir.HasTransplantedViews)}n===null?e[or]=[t]:n.push(t)}function Vi(e,t){let n=e[or],r=n.indexOf(t);n.splice(r,1)}function xh(e,t){if(e.length<=We)return;let n=We+t,r=e[n];if(r){let o=r[nr];o!==null&&o!==e&&Vi(o,r),t>0&&(e[n-1][Te]=r[Te]);let i=ec(e,We+t);Th(r[b],r);let s=i[_i];s!==null&&s.detachView(i[b]),r[ue]=null,r[Te]=null,r[y]&=-129}return r}function Ah(e,t){if(!(t[y]&256)){let n=t[ee];n.destroyNode&&Bi(e,t,n,3,null,null),Sh(t)}}function bo(e,t){if(t[y]&256)return;let n=T(null);try{t[y]&=-129,t[y]|=256,t[X]&&io(t[X]),Rh(e,t),Oh(e,t),t[b].type===1&&t[ee].destroy();let r=t[nr];if(r!==null&&bt(t[ue])){r!==t[ue]&&Vi(r,t);let o=t[_i];o!==null&&o.detachView(e)}Jo(t)}finally{T(n)}}function Oh(e,t){let n=e.cleanup,r=t[tr];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[tr]=null);let o=t[Se];if(o!==null){t[Se]=null;for(let s=0;s-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===he.None||i===he.Emulated)return null}return _e(r,n)}}function ti(e,t,n,r,o){e.insertBefore(t,n,r,o)}function cu(e,t,n){e.appendChild(t,n)}function Fa(e,t,n,r,o){r!==null?ti(e,t,n,r,o):cu(e,t,n)}function Ph(e,t,n){return Vh(e,t,n)}function Lh(e,t,n){return e.type&40?_e(e,n):null}var Vh=Lh,ka;function uu(e,t,n,r){let o=Fh(e,r,t),i=t[ee],s=r.parent||t[Pe],a=Ph(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ce(r))return!1;s=!0}}}}return ce(r)||s}function ce(e){return(e&1)===0}function Yh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ce(s)&&(t+=Pa(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(t+=Pa(i,o)),t}function ep(e){return e.map(Xh).join(",")}function tp(e){let t=[],n=[],r=1,o=2;for(;rqe&&hu(e,t,qe,!1),de(s?2:0,o),n(r,o)}finally{Ze(i),de(s?3:1,o)}}function yu(e,t,n){if(hc(t)){let r=T(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function lp(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return bf()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function La(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Fe.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?Va(r,n,u,a,c):Va(r,n,u,a)}return r}function Va(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function dp(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vp(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Cr(n)&&bp(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||sr(n,t),Et(r,t);let s=n.initialInputs;for(let a=o;a{Ir(e.lView)},consumerOnSignalRead(){this.lView[X]=this}});function Vp(e){let t=e[X]??Object.create(jp);return t.lView=e,t}var jp=P(x({},Pt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=vt(e.lView);for(;t&&!Su(t[b]);)t=vt(t);t&&Mi(t)},consumerOnSignalRead(){this.lView[X]=this}});function Su(e){return e.type!==2}function Nu(e){if(e[rr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[rr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[y]&8192)}}var Bp=100;function xu(e,t=!0,n=0){let o=e[xe].rendererFactory,i=!1;i||o.begin?.();try{Hp(e,n)}catch(s){throw t&&bu(e,s),s}finally{i||o.end?.()}}function Hp(e,t){let n=bc();try{Ca(!0),oi(e,t);let r=0;for(;_r(e);){if(r===Bp)throw new C(103,!1);r++,oi(e,1)}}finally{Ca(n)}}function Up(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1,s=!1;Ti(t);let a=!0,c=null,u=null;i||(Su(e)?(u=Fp(t),c=Cn(u)):bs()===null?(a=!1,u=Vp(t),c=Cn(u)):t[X]&&(io(t[X]),t[X]=null));try{Ec(t),xf(e.bindingStartIndex),n!==null&&mu(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Zn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Yn(t,f,0,null),Co(t,0)}if(s||$p(t),Nu(t),Au(t,0),e.contentQueries!==null&&_u(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Zn(t,f)}else{let f=e.contentHooks;f!==null&&Yn(t,f,1),Co(t,1)}np(e,t);let d=e.components;d!==null&&Ru(t,d,0);let h=e.viewQuery;if(h!==null&&ri(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Zn(t,f)}else{let f=e.viewHooks;f!==null&&Yn(t,f,2),Co(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[wo]){for(let f of t[wo])f();t[wo]=null}i||(t[y]&=-73)}catch(l){throw i||Ir(t),l}finally{u!==null&&(ro(u,c),a&&Pp(u)),Si()}}function Au(e,t){for(let n=eu(e);n!==null;n=tu(n))for(let r=We;r-1&&(xh(t,r),ec(n,r))}this._attachedToViewContainer=!1}Ah(this._lView[b],this._lView)}onDestroy(t){wc(this._lView,t)}markForCheck(){Wi(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Mi(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){wa(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,xu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Lo(this._lView),n=this._lView[nr];n!==null&&!t&&Vi(n,this._lView),au(this._lView[b],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=Lo(this._lView),r=this._lView[nr];r!==null&&!n&&Nh(r,this._lView),wa(this._lView)}};var ii=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ie(t)}.`)}},Qt=class{static NULL=new ii},wt=class{};var si=class{},dr=class{},Ct=class{},nn=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>zp()}return e})();function zp(){let e=G(),t=se(),n=Le(t.index,e);return(Ne(n)?n:e)[ee]}var Wp=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();function ai(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&lu(e,n,i.join(" "))}}function Xp(e,t,n){let r=e.projection=[];for(let o=0;o{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ic(!1,n.type),o=r.length>0?tg([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=S({token:e,providedIn:"environment",factory:()=>new e(I(De))})}return e})();function Fu(e){return mr(()=>{let t=ku(e),n=P(x({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Jc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(ng).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||he.Emulated,styles:e.styles||oe,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&tn("NgStandalone"),Pu(n);let r=e.dependencies;return n.directiveDefs=Ha(r,!1),n.pipeDefs=Ha(r,!0),n.id=ig(n),n})}function rg(e){return vr(e)||rc(e)}function og(e){return e!==null}function Xe(e){return mr(()=>({type:e.type,bootstrap:e.bootstrap||oe,declarations:e.declarations||oe,imports:e.imports||oe,exports:e.exports||oe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ba(e,t){if(e==null)return gt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Fe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Fe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function ge(e){return mr(()=>{let t=ku(e);return Pu(t),t})}function ku(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||gt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||oe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ba(e.inputs,t),outputs:Ba(e.outputs),debugInfo:null}}function Pu(e){e.features?.forEach(t=>t(e))}function Ha(e,t){if(!e)return null;let n=t?oc:rg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(og)}function ig(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function sg(e){return typeof e=="function"&&e[te]!==void 0}var Lu=new E("");function rn(e){return!!e&&typeof e.then=="function"}function Vu(e){return!!e&&typeof e.subscribe=="function"}var ag=new E("");var ju=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=D(ag,{optional:!0})??[];injector=D(Oe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Er(this.injector,o);if(rn(i))n.push(i);else if(Vu(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cg=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new di})}return e})(),di=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Bu=new E("");function ug(){Fs(()=>{throw new C(600,!1)})}function lg(e){return e.isBoundToModule}var dg=10;function fg(e,t,n){try{let r=n();return rn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var St=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=D(fh);afterRenderManager=D(_h);zonelessEnabled=D(xi);rootEffectScheduler=D(cg);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new le;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=D(Tt).hasPendingTasks.pipe(J(n=>!n));whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=D(De);get injector(){return this._injector}bootstrap(n,r){let o=n instanceof dr;if(!this._injector.get(ju).done){let h=!o&&tf(n),f=!1;throw new C(405,f)}let s;o?s=n:s=this._injector.get(Qt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=lg(s)?void 0:this._injector.get(wt),c=r||s.selector,u=s.create(Oe.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(Lu,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),Qn(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new C(101,!1);let n=T(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,T(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Ct,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++_r(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Qn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(Bu,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Qn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Qn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function hg(e,t,n,r){if(!n&&!_r(e))return;xu(e,t,n&&!r?0:1)}var Nw=new RegExp(`^(\\d+)*(${wh}|${Eh})*(.*)`);function on(e,t){tn("NgSignals");let n=ks(e),r=n[te];return t?.equal&&(r.equal=t.equal),n.set=o=>so(r,o),n.update=o=>Ps(r,o),n.asReadonly=pg.bind(n),n}function pg(){let e=this[te];if(e.readonlyFn===void 0){let t=()=>this();t[te]=e,e.readonlyFn=t}return e.readonlyFn}function Hu(e){return sg(e)&&typeof e.set=="function"}function gg(e){return Object.getPrototypeOf(e.prototype).constructor}function et(e){let t=gg(e.type),n=!0,r=[e];for(;t;){let o;if(Ae(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Gn(e.inputs),s.inputTransforms=Gn(e.inputTransforms),s.declaredInputs=Gn(e.declaredInputs),s.outputs=Gn(e.outputs);let a=o.hostBindings;a&&Eg(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&vg(e,c),u&&Dg(e,u),mg(e,o),Od(e.outputs,o.outputs),Ae(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=qt(o.hostAttrs,n=qt(n,o.hostAttrs))}}function Gn(e){return e===gt?{}:e===oe?[]:e}function vg(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Dg(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Eg(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Uu(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function wg(e){return(e.flags&32)===32}function zn(e,t){return e<<17|t<<2}function Qe(e){return e>>17&32767}function Cg(e){return(e&2)==2}function _g(e,t){return e&131071|t<<17}function fi(e){return e|2}function _t(e){return(e&131068)>>2}function Mo(e,t){return e&-131069|t<<2}function Ig(e){return(e&1)===1}function hi(e){return e|1}function bg(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Qe(s),c=_t(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Jt(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=Qe(e[a+1]);e[r+1]=zn(h,a),h!==0&&(e[h+1]=Mo(e[h+1],r)),e[a+1]=_g(e[a+1],r)}else e[r+1]=zn(a,0),a!==0&&(e[a+1]=Mo(e[a+1],r)),a=r;else e[r+1]=zn(c,0),a===0?a=r:e[c+1]=Mo(e[c+1],r),c=r;u&&(e[r+1]=fi(e[r+1])),Ua(e,l,r,!0),Ua(e,l,r,!1),Mg(t,l,e,r,i),s=zn(a,c),i?t.classBindings=s:t.styleBindings=s}function Mg(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Jt(i,t)>=0&&(n[r+1]=hi(n[r+1]))}function Ua(e,t,n,r){let o=e[n+1],i=t===null,s=r?Qe(o):_t(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Tg(c,t)&&(a=!0,e[s+1]=r?hi(u):fi(u)),s=r?Qe(u):_t(u)}a&&(e[n+1]=r?fi(o):hi(o))}function Tg(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Jt(e,t)>=0:!1}function $a(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";zi(e,n,i[s],s,r)}function qi(e,t){return Sg(e,t,null,!0),qi}function Sg(e,t,n,r){let o=G(),i=pe(),s=Of(2);if(i.firstUpdatePass&&xg(i,e,s,r),t!==Mr&&Uu(o,s,t)){let a=i.data[en()];kg(i,a,o,o[ee],e,o[s+1]=Pg(t,n),r,s)}}function Ng(e,t){return t>=e.expandoStartIndex}function xg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[en()],s=Ng(e,n);Lg(i,r)&&t===null&&!s&&(t=!1),t=Ag(o,i,t,r),bg(o,i,t,n,s,r)}}function Ag(e,t,n,r){let o=Pf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=To(null,e,t,n,r),n=Kt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=To(o,e,t,n,r),i===null){let c=Og(e,t,r);c!==void 0&&Array.isArray(c)&&(c=To(null,e,t,c[1],r),c=Kt(c,t.attrs,r),Rg(e,t,r,c))}else i=Fg(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Og(e,t,n){let r=n?t.classBindings:t.styleBindings;if(_t(r)!==0)return e[Qe(r)]}function Rg(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Qe(o)]=r}function Fg(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===Mr&&(h=d?oe:void 0);let f=d?Do(h,r):l===r?h:void 0;if(u&&!hr(f)&&(f=Do(c,r)),hr(f)&&(a=f,s))return a;let g=e[o+1];o=s?Qe(g):_t(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Do(c,r))}return a}function hr(e){return e!==void 0}function Pg(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ie(Li(e)))),e}function Lg(e,t){return(e.flags&(t?8:16))!==0}function Vg(e,t,n,r,o,i){let s=t.consts,a=Ea(s,o),c=Gi(t,e,2,r,a);return gp(t,n,c,Ea(s,i)),c.attrs!==null&&ai(c,c.attrs,!1),c.mergedAttrs!==null&&ai(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function F(e,t,n,r){let o=G(),i=pe(),s=qe+e,a=o[ee],c=i.firstCreatePass?Vg(s,i,o,t,n,r):i.data[s],u=jg(i,o,c,a,t,e);o[s]=u;let l=pc(c);return br(c,!0),du(a,u,c),!wg(c)&&Rc()&&uu(i,o,u,c),Cf()===0&&Et(u,o),_f(),l&&(op(i,o,c),yu(i,c,o)),r!==null&&ip(o,c),F}function k(){let e=se();Ic()?Nf():(e=e.parent,br(e,!1));let t=e;Mf(t)&&Tf(),If();let n=pe();return n.firstCreatePass&&(kc(n,e),hc(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&$f(t)&&$a(n,t,G(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Gf(t)&&$a(n,t,G(),t.stylesWithoutHost,!1),k}var jg=(e,t,n,r,o,i)=>(Fc(!0),su(r,o,jf()));var pr="en-US";var Bg=pr;function Hg(e){typeof e=="string"&&(Bg=e.toLowerCase().replace(/_/g,"-"))}var Ug=(e,t,n)=>{};function z(e,t,n,r){let o=G(),i=pe(),s=se();return $u(i,o,o[ee],s,e,t,r),z}function $g(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function $u(e,t,n,r,o,i,s){let a=pc(r),u=e.firstCreatePass&&Np(e),l=t[Ee],d=Sp(t),h=!0;if(r.type&3||s){let p=_e(r,t),m=s?s(p):p,w=d.length,j=s?$=>s(Je($[r.index])):r.index,N=null;if(!s&&a&&(N=$g(e,t,o,r.index)),N!==null){let $=N.__ngLastListenerFn__||N;$.__ngNextListenerFn__=i,N.__ngLastListenerFn__=i,h=!1}else{i=Wa(r,t,l,i),Ug(p,o,i);let $=n.listen(m,o,i);d.push(i,$),u&&u.push(o,j,w,w+1)}}else i=Wa(r,t,l,i);let f=r.outputs,g;if(h&&f!==null&&(g=f[o])){let p=g.length;if(p)for(let m=0;m-1?Le(e.index,t):t;Wi(s,5);let a=za(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=za(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function L(e,t=""){let n=G(),r=pe(),o=e+qe,i=r.firstCreatePass?Gi(r,o,1,t,null):r.data[o],s=Gg(r,n,i,t,e);n[o]=s,Rc()&&uu(r,n,s,i),br(i,!1)}var Gg=(e,t,n,r,o)=>(Fc(!0),Mh(t[ee],r));function Tr(e,t,n){Hu(t)&&(t=t());let r=G(),o=Af();if(Uu(r,o,t)){let i=pe(),s=Vf();hp(i,s,r,e,t,r[ee],n,!1)}return Tr}function Zi(e,t){let n=Hu(e);return n&&e.set(t),n}function Sr(e,t){let n=G(),r=pe(),o=se();return $u(r,n,n[ee],o,e,t),Sr}function zg(e,t,n){let r=pe();if(r.firstCreatePass){let o=Ae(e);pi(n,r.data,r.blueprint,o,!0),pi(t,r.data,r.blueprint,o,!1)}}function pi(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i>20;if(mt(e)||!e.multi){let f=new Ye(u,o,R),g=No(c,t,o?l:l+h,d);g===-1?(Wo(sr(a,s),i,c),So(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=No(c,t,l+h,d),g=No(c,t,l,l+h),p=f>=0&&n[f],m=g>=0&&n[g];if(o&&!m||!o&&!p){Wo(sr(a,s),i,c);let w=Zg(o?qg:Wg,n.length,o,r,u);!o&&m&&(n[g].providerFactory=w),So(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(w),s.push(w)}else{let w=Gu(n[o?g:f],u,!o&&r);So(i,e,f>-1?f:g,w)}!o&&r&&m&&n[g].componentProviders++}}}function So(e,t,n,r){let o=mt(t),i=af(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Gu(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function No(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>zg(r,o?o(e):e,t)}}var Yg=(()=>{class e{zone=D(V);changeDetectionScheduler=D(Zt);applicationRef=D(St);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Qg({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new V(P(x({},Kg()),{scheduleInRootZone:n})),[{provide:V,useFactory:e},{provide:Gt,multi:!0,useFactory:()=>{let r=D(Yg,{optional:!0});return()=>r.initialize()}},{provide:Gt,multi:!0,useFactory:()=>{let r=D(Jg);return()=>{r.initialize()}}},t===!0?{provide:qc,useValue:!0}:[],{provide:Zc,useValue:n??Wc}]}function Kg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Jg=(()=>{class e{subscription=new Z;initialized=!1;zone=D(V);pendingTasks=D(Tt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{V.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xg=(()=>{class e{appRef=D(St);taskService=D(Tt);ngZone=D(V);zonelessEnabled=D(xi);disableScheduling=D(qc,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ur):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(Zc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ko||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Na:Yc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ur+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Na(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function em(){return typeof $localize<"u"&&$localize.locale||pr}var Yi=new E("",{providedIn:"root",factory:()=>D(Yi,_.Optional|_.SkipSelf)||em()});var mi=new E("");function Wn(e){return!e.moduleRef}function tm(e){let t=Wn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(V);return n.run(()=>{Wn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Re,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Wn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(mi);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(mi);s.add(i),e.moduleRef.onDestroy(()=>{Qn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return fg(r,n,()=>{let i=t.get(ju);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Yi,pr);if(Hg(s||pr),Wn(e)){let a=t.get(St);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return nm(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function nm(e,t){let n=e.injector.get(St);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new C(-403,!1);t.push(e)}var Kn=null;function rm(e=[],t){return Oe.create({name:t,providers:[{provide:Dr,useValue:"platform"},{provide:mi,useValue:new Set([()=>Kn=null])},...e]})}function om(e=[]){if(Kn)return Kn;let t=rm(e);return Kn=t,ug(),im(t),t}function im(e){let t=e.get(Fi,null);Er(e,()=>{t?.forEach(n=>n())})}var xr=(()=>{class e{static __NG_ELEMENT_ID__=sm}return e})();function sm(e){return am(se(),G(),(e&16)===16)}function am(e,t,n){if(Cr(e)&&!n){let r=Le(e.index,t);return new Yt(r,r)}else if(e.type&175){let r=t[we];return new Yt(r,t)}return null}function zu(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=om(r),i=[Qg({}),{provide:Zt,useExisting:Xg},...n||[]],s=new fr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return tm({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function Qi(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function sn(e,t){tn("NgSignals");let n=As(e);return t?.equal&&(n[te].equal=t.equal),n}function Ie(e){let t=T(null);try{return e()}finally{T(t)}}var qa=class{[te];constructor(t){this[te]=t}destroy(){this[te].destroy()}};var qu=null;function xt(){return qu}function Zu(e){qu??=e}var Ar=class{};var me=new E("");function Or(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Ki=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Xe({type:e});static \u0275inj=Ke({})}return e})(),Yu="browser",um="server";function Rr(e){return e===um}var Nt=class{};var cn=class{},kr=class{},be=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Xi=class{encodeKey(t){return Qu(t)}encodeValue(t){return Qu(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function dm(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var fm=/%(\d[a-f0-9])/gi,hm={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qu(e){return encodeURIComponent(e).replace(fm,(t,n)=>hm[n]??t)}function Fr(e){return`${e}`}var ye=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Xi,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=dm(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Fr):[Fr(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Fr(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Fr(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var es=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function pm(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ku(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Ju(e){return typeof Blob<"u"&&e instanceof Blob}function Xu(e){return typeof FormData<"u"&&e instanceof FormData}function gm(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var an=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(pm(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new be,this.context??=new es,!this.params)this.params=new ye,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":ah.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},He=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(He||{}),un=class{headers;status;statusText;url;ok;type;constructor(t,n=200,r="OK"){this.headers=t.headers||new be,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Pr=class e extends un{constructor(t={}){super(t)}type=He.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},ln=class e extends un{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=He.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Be=class extends un{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},rl=200,mm=204;function Ji(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var dn=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof an)i=n;else{let c;o.headers instanceof be?c=o.headers:c=new be(o.headers);let u;o.params&&(o.params instanceof ye?u=o.params:u=new ye({fromObject:o.params})),i=new an(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=Un(i).pipe(go(c=>this.handler.handle(c)));if(n instanceof an||o.observe==="events")return s;let a=s.pipe(ct(c=>c instanceof ln));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(J(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(J(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(J(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(J(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new ye().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Ji(o,r))}post(n,r,o={}){return this.request("POST",n,Ji(o,r))}put(n,r,o={}){return this.request("PUT",n,Ji(o,r))}static \u0275fac=function(r){return new(r||e)(I(cn))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),ym=/^\)\]\}',?\n/,vm="X-Request-URL";function el(e){if(e.url)return e.url;let t=vm.toLocaleLowerCase();return e.headers.get(t)}var Dm=(()=>{class e{fetchImpl=D(ts,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=D(V);handle(n){return new A(r=>{let o=new AbortController;return this.doRequest(n,o.signal,r).then(ns,i=>r.error(new Be({error:i}))),()=>o.abort()})}doRequest(n,r,o){return Ft(this,null,function*(){let i=this.createRequestInit(n),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,x({signal:r},i)));Em(f),o.next({type:He.Sent}),s=yield f}catch(f){o.error(new Be({error:f,status:f.status??0,statusText:f.statusText,url:n.urlWithParams,headers:f.headers}));return}let a=new be(s.headers),c=s.statusText,u=el(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new Pr({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),g=[],p=s.body.getReader(),m=0,w,j,N=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Ft(this,null,function*(){for(;;){let{done:K,value:B}=yield p.read();if(K)break;if(g.push(B),m+=B.length,n.reportProgress){j=n.responseType==="text"?(j??"")+(w??=new TextDecoder).decode(B,{stream:!0}):void 0;let ve=()=>o.next({type:He.DownloadProgress,total:f?+f:void 0,loaded:m,partialText:j});N?N.run(ve):ve()}}}));let $=this.concatChunks(g,m);try{let K=s.headers.get("Content-Type")??"";d=this.parseBody(n,$,K)}catch(K){o.error(new Be({error:K,headers:new be(s.headers),status:s.status,statusText:s.statusText,url:el(s)??n.urlWithParams}));return}}l===0&&(l=d?rl:0),l>=200&&l<300?(o.next(new ln({body:d,headers:a,status:l,statusText:c,url:u})),o.complete()):o.error(new Be({error:d,headers:a,status:l,statusText:c,url:u}))})}parseBody(n,r,o){switch(n.responseType){case"json":let i=new TextDecoder().decode(r).replace(ym,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let i=n.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),ts=class{};function ns(){}function Em(e){e.then(ns,ns)}function wm(e,t){return t(e)}function Cm(e,t,n){return(r,o)=>Er(n,()=>t(r,i=>e(i,o)))}var ol=new E(""),_m=new E(""),Im=new E("",{providedIn:"root",factory:()=>!0});var tl=(()=>{class e extends cn{backend;injector;chain=null;pendingTasks=D(Tt);contributeToStability=D(Im);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(ol),...this.injector.get(_m,[])]));this.chain=r.reduceRight((o,i)=>Cm(o,i,this.injector),wm)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(mo(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(I(kr),I(De))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();var bm=/^\)\]\}',?\n/;function Mm(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var nl=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new C(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?ze(r.\u0275loadImpl()):Un(null)).pipe(yo(()=>new A(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((p,m)=>s.setRequestHeader(p,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let p=n.detectContentTypeHeader();p!==null&&s.setRequestHeader("Content-Type",p)}if(n.responseType){let p=n.responseType.toLowerCase();s.responseType=p!=="json"?p:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let p=s.statusText||"OK",m=new be(s.getAllResponseHeaders()),w=Mm(s)||n.url;return c=new Pr({headers:m,status:s.status,statusText:p,url:w}),c},l=()=>{let{headers:p,status:m,statusText:w,url:j}=u(),N=null;m!==mm&&(N=typeof s.response>"u"?s.responseText:s.response),m===0&&(m=N?rl:0);let $=m>=200&&m<300;if(n.responseType==="json"&&typeof N=="string"){let K=N;N=N.replace(bm,"");try{N=N!==""?JSON.parse(N):null}catch(B){N=K,$&&($=!1,N={error:B,text:N})}}$?(i.next(new ln({body:N,headers:p,status:m,statusText:w,url:j||void 0})),i.complete()):i.error(new Be({error:N,headers:p,status:m,statusText:w,url:j||void 0}))},d=p=>{let{url:m}=u(),w=new Be({error:p,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(w)},h=!1,f=p=>{h||(i.next(u()),h=!0);let m={type:He.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(m.total=p.total),n.responseType==="text"&&s.responseText&&(m.partialText=s.responseText),i.next(m)},g=p=>{let m={type:He.UploadProgress,loaded:p.loaded};p.lengthComputable&&(m.total=p.total),i.next(m)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",g)),s.send(a),i.next({type:He.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(I(Nt))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),il=new E(""),Tm="XSRF-TOKEN",Sm=new E("",{providedIn:"root",factory:()=>Tm}),Nm="X-XSRF-TOKEN",xm=new E("",{providedIn:"root",factory:()=>Nm}),Lr=class{},Am=(()=>{class e{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Or(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(I(me),I(je),I(Sm))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function Om(e,t){let n=e.url.toLowerCase();if(!D(il)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=D(Lr).getToken(),o=D(xm);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function sl(...e){let t=[dn,nl,tl,{provide:cn,useExisting:tl},{provide:kr,useFactory:()=>D(Dm,{optional:!0})??D(nl)},{provide:ol,useValue:Om,multi:!0},{provide:il,useValue:!0},{provide:Lr,useClass:Am}];for(let n of e)t.push(...n.\u0275providers);return Ei(t)}var os=class extends Ar{supportsDOMEvents=!0},is=class e extends os{static makeCurrent(){Zu(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Fm();return n==null?null:km(n)}resetBaseElement(){fn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Or(document.cookie,t)}},fn=null;function Fm(){return fn=fn||document.querySelector("base"),fn?fn.getAttribute("href"):null}function km(e){return new URL(e,document.baseURI).pathname}var Pm=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),ss=new E(""),hl=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(I(ss),I(V))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Vr=class{_doc;constructor(t){this._doc=t}manager},as="ng-app-id";function cl(e){for(let t of e)t.remove()}function ul(e,t){let n=t.createElement("style");return n.textContent=e,n}function Lm(e,t,n){let r=e.head?.querySelectorAll(`style[${as}="${t}"]`);if(r)for(let o of r)o.textContent&&(o.removeAttribute(as),n.set(o.textContent,{usage:0,elements:[o]}))}function cs(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var pl=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=Rr(i),Lm(n,r,this.inline),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,ul);r?.forEach(o=>this.addUsage(o,this.external,cs))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(cl(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])cl(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,ul(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,cs(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(as,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(I(me),I(Ri),I(ki,8),I(je))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),rs={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},ls=/%COMP%/g,gl="%COMP%",Vm=`_nghost-${gl}`,jm=`_ngcontent-${gl}`,Bm=!0,Hm=new E("",{providedIn:"root",factory:()=>Bm});function Um(e){return jm.replace(ls,e)}function $m(e){return Vm.replace(ls,e)}function ml(e,t){return t.map(n=>n.replace(ls,e))}var ll=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.platformIsServer=Rr(a),this.defaultRenderer=new hn(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===he.ShadowDom&&(r=P(x({},r),{encapsulation:he.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof jr?o.applyToHost(n):o instanceof pn&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case he.Emulated:i=new jr(c,u,r,this.appId,l,s,a,d);break;case he.ShadowDom:return new us(c,u,n,r,s,a,this.nonce,d);default:i=new pn(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||e)(I(hl),I(pl),I(Ri),I(Hm),I(me),I(je),I(V),I(ki))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),hn=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(rs[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(dl(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(dl(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=rs[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=rs[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Ce.DashCase|Ce.Important)?t.style.setProperty(n,r,o&Ce.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ce.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=xt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function dl(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var us=class extends hn{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=ml(o.id,o.styles);for(let d of u){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=d,this.shadowRoot.appendChild(h)}let l=o.getExternalStyles?.();if(l)for(let d of l){let h=cs(d,i);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},pn=class extends hn{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?ml(c,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},jr=class extends pn{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=Um(u),this.hostAttr=$m(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},Gm=(()=>{class e extends Vr{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static \u0275fac=function(r){return new(r||e)(I(me))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),fl=["alt","control","meta","shift"],zm={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Wm={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},qm=(()=>{class e extends Vr{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xt().onAndCancel(n,i.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),fl.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=zm[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),fl.forEach(s=>{if(s!==o){let a=Wm[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(I(me))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function yl(e,t){return zu(x({rootComponent:e},Zm(t)))}function Zm(e){return{appProviders:[...Xm,...e?.providers??[]],platformProviders:Jm}}function Ym(){is.makeCurrent()}function Qm(){return new Re}function Km(){return ru(document),document}var Jm=[{provide:je,useValue:Yu},{provide:Fi,useValue:Ym,multi:!0},{provide:me,useFactory:Km,deps:[]}];var Xm=[{provide:Dr,useValue:"root"},{provide:Re,useFactory:Qm,deps:[]},{provide:ss,useClass:Gm,multi:!0,deps:[me,V,je]},{provide:ss,useClass:qm,multi:!0,deps:[me]},ll,pl,hl,{provide:Ct,useExisting:ll},{provide:Nt,useClass:Pm,deps:[]},[]];var bl=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(R(nn),R(Ve))};static \u0275dir=ge({type:e})}return e})(),Ml=(()=>{class e extends bl{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ni(e)))(o||e)}})();static \u0275dir=ge({type:e,features:[et]})}return e})(),gs=new E(""),ey={provide:gs,useExisting:It(()=>ms),multi:!0},ms=(()=>{class e extends Ml{writeValue(n){this.setProperty("checked",n)}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ni(e)))(o||e)}})();static \u0275dir=ge({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){r&1&&z("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Nr([ey]),et]})}return e})(),ty={provide:gs,useExisting:It(()=>Gr),multi:!0};function ny(){let e=xt()?xt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var ry=new E(""),Gr=(()=>{class e extends bl{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!ny())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(R(nn),R(Ve),R(ry,8))};static \u0275dir=ge({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&z("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[Nr([ty]),et]})}return e})();var oy=new E(""),iy=new E("");function Tl(e){return e!=null}function Sl(e){return rn(e)?ze(e):e}function Nl(e){let t={};return e.forEach(n=>{t=n!=null?x(x({},t),n):t}),Object.keys(t).length===0?null:t}function xl(e,t){return t.map(n=>n(e))}function sy(e){return!e.validate}function Al(e){return e.map(t=>sy(t)?t:n=>t.validate(n))}function ay(e){if(!e)return null;let t=e.filter(Tl);return t.length==0?null:function(n){return Nl(xl(n,t))}}function Ol(e){return e!=null?ay(Al(e)):null}function cy(e){if(!e)return null;let t=e.filter(Tl);return t.length==0?null:function(n){let r=xl(n,t).map(Sl);return po(r).pipe(J(Nl))}}function Rl(e){return e!=null?cy(Al(e)):null}function vl(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function uy(e){return e._rawValidators}function ly(e){return e._rawAsyncValidators}function ds(e){return e?Array.isArray(e)?e:[e]:[]}function Hr(e,t){return Array.isArray(e)?e.includes(t):e===t}function Dl(e,t){let n=ds(t);return ds(e).forEach(o=>{Hr(n,o)||n.push(o)}),n}function El(e,t){return ds(t).filter(n=>!Hr(e,n))}var Ur=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Ol(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Rl(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return this.control?this.control.hasError(t,n):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},fs=class extends Ur{name;get formDirective(){return null}get path(){return null}},Dn=class extends Ur{_parent=null;name=null;valueAccessor=null},hs=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},dy={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},p_=P(x({},dy),{"[class.ng-submitted]":"isSubmitted"}),Fl=(()=>{class e extends hs{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(R(Dn,2))};static \u0275dir=ge({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&qi("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[et]})}return e})();var gn="VALID",Br="INVALID",At="PENDING",mn="DISABLED",Rt=class{},$r=class extends Rt{value;source;constructor(t,n){super(),this.value=t,this.source=n}},yn=class extends Rt{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},vn=class extends Rt{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},Ot=class extends Rt{status;source;constructor(t,n){super(),this.status=t,this.source=n}};function fy(e){return(zr(e)?e.validators:e)||null}function hy(e){return Array.isArray(e)?Ol(e):e||null}function py(e,t){return(zr(t)?t.asyncValidators:e)||null}function gy(e){return Array.isArray(e)?Rl(e):e||null}function zr(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var ps=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return Ie(this.statusReactive)}set status(t){Ie(()=>this.statusReactive.set(t))}_status=sn(()=>this.statusReactive());statusReactive=on(void 0);get valid(){return this.status===gn}get invalid(){return this.status===Br}get pending(){return this.status==At}get disabled(){return this.status===mn}get enabled(){return this.status!==mn}errors;get pristine(){return Ie(this.pristineReactive)}set pristine(t){Ie(()=>this.pristineReactive.set(t))}_pristine=sn(()=>this.pristineReactive());pristineReactive=on(!0);get dirty(){return!this.pristine}get touched(){return Ie(this.touchedReactive)}set touched(t){Ie(()=>this.touchedReactive.set(t))}_touched=sn(()=>this.touchedReactive());touchedReactive=on(!1);get untouched(){return!this.touched}_events=new le;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Dl(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Dl(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(El(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(El(t,this._rawAsyncValidators))}hasValidator(t){return Hr(this._rawValidators,t)}hasAsyncValidator(t){return Hr(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(P(x({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new vn(!0,r))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new vn(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(P(x({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new yn(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new yn(!0,r))}markAsPending(t={}){this.status=At;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Ot(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(P(x({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=mn,this.errors=null,this._forEachChild(o=>{o.disable(P(x({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new $r(this.value,r)),this._events.next(new Ot(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(P(x({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=gn,this._forEachChild(r=>{r.enable(P(x({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(P(x({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===gn||this.status===At)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new $r(this.value,n)),this._events.next(new Ot(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(P(x({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?mn:gn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=At,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=Sl(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new Ot(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new Q,this.statusChanges=new Q}_calculateStatus(){return this._allControlsDisabled()?mn:this.errors?Br:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(At)?At:this._anyControlsHaveStatus(Br)?Br:gn}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),o&&this._events.next(new yn(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new vn(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){zr(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=hy(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=gy(this._rawAsyncValidators)}};var kl=new E("CallSetDisabledState",{providedIn:"root",factory:()=>ys}),ys="always";function my(e,t){return[...t.path,e]}function yy(e,t,n=ys){Dy(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),Ey(e,t),Cy(e,t),wy(e,t),vy(e,t)}function wl(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function vy(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function Dy(e,t){let n=uy(e);t.validator!==null?e.setValidators(vl(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=ly(e);t.asyncValidator!==null?e.setAsyncValidators(vl(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();wl(t._rawValidators,o),wl(t._rawAsyncValidators,o)}function Ey(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Pl(e,t)})}function wy(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Pl(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function Pl(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Cy(e,t){let n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function _y(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function Iy(e){return Object.getPrototypeOf(e.constructor)===Ml}function by(e,t){if(!t)return null;Array.isArray(t);let n,r,o;return t.forEach(i=>{i.constructor===Gr?n=i:Iy(i)?r=i:o=i}),o||r||n||null}function Cl(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function _l(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var My=class extends ps{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(fy(n),py(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zr(n)&&(n.nonNullable||n.initialValueIsDefault)&&(_l(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Cl(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Cl(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){_l(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var Ty={provide:Dn,useExisting:It(()=>vs)},Il=Promise.resolve(),vs=(()=>{class e extends Dn{_changeDetectorRef;callSetDisabledState;control=new My;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new Q;constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=by(this,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),_y(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){yy(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Il.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&Qi(r);Il.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?my(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(R(fs,9),R(oy,10),R(iy,10),R(gs,10),R(xr,8),R(kl,8))};static \u0275dir=ge({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Nr([Ty]),et,Ii]})}return e})();var Sy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Xe({type:e});static \u0275inj=Ke({})}return e})();var Ll=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:kl,useValue:n.callSetDisabledState??ys}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Xe({type:e});static \u0275inj=Ke({imports:[Sy]})}return e})();var jl=Jl(Vl());var ws;try{ws=!!new Blob}catch{ws=!1}var Wr=(()=>{let t=class t{get isFileSaverSupported(){return ws}genType(r){if(!r||r.lastIndexOf(".")===-1)return"text/plain";let o=r.substring(r.lastIndexOf(".")+1);switch(o){case"txt":return"text/plain";case"xml":case"html":return`text/${o}`;case"json":return"octet/stream";default:return`application/${o}`}}save(r,o,i,s){if(!r)throw new Error("Data argument should be a blob instance");let a=new Blob([r],{type:i||r.type||this.genType(o)});(0,jl.saveAs)(a,decodeURI(o||"download"),s)}saveText(r,o,i){let s=new Blob([r]);this.save(s,o,void 0,i)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function qr(e){e||(lc(qr),e=D(Mt));let t=new A(n=>e.onDestroy(n.next.bind(n)));return n=>n.pipe(vo(t))}var Bl=(()=>{let t=class t{constructor(r,o,i,s){this.ngZone=r,this.el=o,this.fss=i,this.httpClient=s,this.method="GET",this.success=new Q,this.error=new Q,this.d$=D(Mt),i.isFileSaverSupported||o.nativeElement.classList.add("filesaver__not-support")}ngOnInit(){this.ngZone.runOutsideAngular(()=>this.setupClickListener())}getName(r){return decodeURI(this.fileName||r.headers.get("filename")||r.headers.get("x-filename")||"")}setDisabled(r){let o=this.el.nativeElement;o.disabled=r,o.classList[r?"add":"remove"]("filesaver__disabled")}setupClickListener(){Bt(this.el.nativeElement,"click").pipe(ct(()=>this.fss.isFileSaverSupported),qr(this.d$)).subscribe(()=>{let r=this.http;if(!r){let o=new ye,i=this.query||{};for(let s in i)o=o.set(s,i[s]);r=this.httpClient.request(this.method,this.url,{observe:"response",responseType:"blob",headers:this.header,params:o})}this.setDisabled(!0),r.pipe(qr(this.d$)).subscribe({next:o=>{if(o.status!==200||o.body.size<=0){this.emitIfHasObservers(this.error,o);return}this.fss.save(o.body,this.getName(o),void 0,this.fsOptions),this.emitIfHasObservers(this.success,o)},error:o=>this.emitIfHasObservers(this.error,o),complete:()=>this.setDisabled(!1)})})}emitIfHasObservers(r,o){Ay(r)&&this.ngZone.run(()=>r.emit(o))}};t.\u0275fac=function(o){return new(o||t)(R(V),R(Ve),R(Wr),R(dn))},t.\u0275dir=ge({type:t,selectors:[["","fileSaver",""]],inputs:{method:"method",http:"http",query:"query",header:"header",url:"url",fileName:"fileName",fsOptions:"fsOptions"},outputs:{success:"success",error:"error"},exportAs:["fileSaver"]});let e=t;return e})();function Ay(e){return e.observed??e.observers.length>0}var Hl=(()=>{let t=class t{constructor(r,o){this.httpClient=r,this.fileSaverService=o,this.text='{ "text": "This is text file!\u4E2D\u6587" }',this.options={autoBom:!1}}onDown(r,o){let i=`save.${r}`;if(o){this.httpClient.get(`files/demo.${r}`,{observe:"response",responseType:"blob"}).subscribe(c=>{this.fileSaverService.save(c.body,i)});return}let s=this.fileSaverService.genType(i),a=new Blob([this.text],{type:s});this.fileSaverService.save(a,i,void 0,this.options)}};t.\u0275fac=function(o){return new(o||t)(R(dn),R(Wr))},t.\u0275cmp=Fu({type:t,selectors:[["app-root"]],decls:44,vars:2,consts:[["href","https://github.com/cipchk/ngx-filesaver/blob/master/README.md","target","_blank"],["type","checkbox",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["type","button",3,"click"],["type","button","fileSaver","","url","assets/files/demo.docx"]],template:function(o,i){o&1&&(F(0,"h1"),L(1,"ngx-filesaver"),k(),F(2,"p"),L(3," Simple file save with FileSaver.js, pls refer "),F(4,"a",0),L(5,"README.md"),k()(),F(6,"h1"),L(7,"Filesaver option"),k(),F(8,"label")(9,"input",1),Sr("ngModelChange",function(a){return Zi(i.options.autoBom,a)||(i.options.autoBom=a),a}),k(),L(10," AutoBOM "),k(),F(11,"h1"),L(12,"Text Document"),k(),F(13,"textarea",2),Sr("ngModelChange",function(a){return Zi(i.text,a)||(i.text=a),a}),k(),F(14,"button",3),z("click",function(){return i.onDown("txt",!1)}),L(15,"Save Text"),k(),F(16,"button",3),z("click",function(){return i.onDown("json",!1)}),L(17,"Save JSON"),k(),F(18,"h1"),L(19,"Remote file download"),k(),F(20,"button",3),z("click",function(){return i.onDown("docx",!0)}),L(21,"Save Word"),k(),F(22,"button",3),z("click",function(){return i.onDown("xlsx",!0)}),L(23,"Save Excel"),k(),F(24,"button",3),z("click",function(){return i.onDown("csv",!0)}),L(25,"Save CSV"),k(),F(26,"button",3),z("click",function(){return i.onDown("pptx",!0)}),L(27,"Save PPT"),k(),F(28,"button",3),z("click",function(){return i.onDown("pdf",!0)}),L(29,"Save PDF"),k(),F(30,"button",3),z("click",function(){return i.onDown("zip",!0)}),L(31,"Save Zip"),k(),F(32,"button",3),z("click",function(){return i.onDown("7z",!0)}),L(33,"Save 7z"),k(),F(34,"button",3),z("click",function(){return i.onDown("jpg",!0)}),L(35,"Save JPG"),k(),F(36,"button",3),z("click",function(){return i.onDown("gif",!0)}),L(37,"Save Gif"),k(),F(38,"button",3),z("click",function(){return i.onDown("png",!0)}),L(39,"Save Png"),k(),F(40,"h1"),L(41,"fileSaver Directive"),k(),F(42,"button",4),L(43,"Save Word"),k()),o&2&&(Ui(9),Tr("ngModel",i.options.autoBom),Ui(4),Tr("ngModel",i.text))},dependencies:[Ki,Ll,Gr,ms,Fl,vs,Bl],encapsulation:2});let e=t;return e})();yl(Hl,{providers:[sl()]}).catch(e=>console.error(e)); diff --git a/main-YS5ZETAB.js b/main-YS5ZETAB.js deleted file mode 100644 index e2fd170..0000000 --- a/main-YS5ZETAB.js +++ /dev/null @@ -1,8 +0,0 @@ -var Bl=Object.create;var Zr=Object.defineProperty,Hl=Object.defineProperties,Ul=Object.getOwnPropertyDescriptor,$l=Object.getOwnPropertyDescriptors,Gl=Object.getOwnPropertyNames,Es=Object.getOwnPropertySymbols,zl=Object.getPrototypeOf,Cs=Object.prototype.hasOwnProperty,Wl=Object.prototype.propertyIsEnumerable;var ws=(e,t,n)=>t in e?Zr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A=(e,t)=>{for(var n in t||={})Cs.call(t,n)&&ws(e,n,t[n]);if(Es)for(var n of Es(t))Wl.call(t,n)&&ws(e,n,t[n]);return e},L=(e,t)=>Hl(e,$l(t));var ql=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Zl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Gl(t))!Cs.call(e,o)&&o!==n&&Zr(e,o,{get:()=>t[o],enumerable:!(r=Ul(t,o))||r.enumerable});return e};var Yl=(e,t,n)=>(n=e!=null?Bl(zl(e)):{},Zl(t||!e||!e.__esModule?Zr(n,"default",{value:e,enumerable:!0}):n,e));var Rt=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var Pl=ql((ys,vs)=>{"use strict";(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof ys<"u"?t():(t(),e.FileSaver={})})(ys,function(){"use strict";function e(a,c){return typeof c>"u"?c={autoBom:!1}:typeof c!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function t(a,c,u){var l=new XMLHttpRequest;l.open("GET",a),l.responseType="blob",l.onload=function(){s(l.response,c,u)},l.onerror=function(){console.error("could not download file")},l.send()}function n(a){var c=new XMLHttpRequest;c.open("HEAD",a,!1);try{c.send()}catch{}return 200<=c.status&&299>=c.status}function r(a){try{a.dispatchEvent(new MouseEvent("click"))}catch{var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(c)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,i=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!i?function(a,c,u){var l=o.URL||o.webkitURL,d=document.createElement("a");c=c||a.name||"download",d.download=c,d.rel="noopener",typeof a=="string"?(d.href=a,d.origin===location.origin?r(d):n(d.href)?t(a,c,u):r(d,d.target="_blank")):(d.href=l.createObjectURL(a),setTimeout(function(){l.revokeObjectURL(d.href)},4e4),setTimeout(function(){r(d)},0))}:"msSaveOrOpenBlob"in navigator?function(a,c,u){if(c=c||a.name||"download",typeof a!="string")navigator.msSaveOrOpenBlob(e(a,u),c);else if(n(a))t(a,c,u);else{var l=document.createElement("a");l.href=a,l.target="_blank",setTimeout(function(){r(l)})}}:function(a,c,u,l){if(l=l||open("","_blank"),l&&(l.document.title=l.document.body.innerText="downloading..."),typeof a=="string")return t(a,c,u);var d=a.type==="application/octet-stream",h=/constructor/i.test(o.HTMLElement)||o.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||d&&h||i)&&typeof FileReader<"u"){var g=new FileReader;g.onloadend=function(){var w=g.result;w=f?w:w.replace(/^data:[^;]*;/,"data:attachment/file;"),l?l.location.href=w:location=w,l=null},g.readAsDataURL(a)}else{var p=o.URL||o.webkitURL,m=p.createObjectURL(a);l?l.location=m:location.href=m,l=null,setTimeout(function(){p.revokeObjectURL(m)},4e4)}});o.saveAs=s.saveAs=s,typeof vs<"u"&&(vs.exports=s)})});function Jr(e,t){return Object.is(e,t)}var H=null,yn=!1,Xr=1,te=Symbol("SIGNAL");function T(e){let t=H;return H=e,t}function _s(){return H}var Pt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function eo(e){if(yn)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(wn(H),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ro(e){wn(e);for(let t=0;t0}function wn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ts(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ss(e){return e.producerNode!==void 0}function Ns(e){let t=Object.create(Jl);t.computation=e;let n=()=>{if(to(t),eo(t),t.value===vn)throw t.error;return t.value};return n[te]=t,n}var Yr=Symbol("UNSET"),Qr=Symbol("COMPUTING"),vn=Symbol("ERRORED"),Jl=L(A({},Pt),{value:Yr,dirty:!0,error:null,equal:Jr,producerMustRecompute(e){return e.value===Yr||e.value===Qr},producerRecomputeValue(e){if(e.value===Qr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Qr;let n=Dn(e),r;try{r=e.computation()}catch(o){r=vn,e.error=o}finally{no(e,n)}if(t!==Yr&&t!==vn&&r!==vn&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Xl(){throw new Error}var As=Xl;function xs(){As()}function Os(e){As=e}var ed=null;function Rs(e){let t=Object.create(Ps);t.value=e;let n=()=>(eo(t),t.value);return n[te]=t,n}function io(e,t){bs()||xs(),e.equal(e.value,t)||(e.value=t,td(e))}function Fs(e,t){bs()||xs(),io(e,t(e.value))}var Ps=L(A({},Pt),{equal:Jr,value:void 0});function td(e){e.version++,Ql(),Is(e),ed?.()}function v(e){return typeof e=="function"}function Cn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var _n=Cn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function kt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(v(r))try{r()}catch(i){t=i instanceof _n?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ks(i)}catch(s){t=t??[],s instanceof _n?t=[...t,...s.errors]:t.push(s)}}if(t)throw new _n(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ks(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&kt(n,t)}remove(t){let{_finalizers:n}=this;n&&kt(n,t),t instanceof e&&t._removeParent(this)}};Z.EMPTY=(()=>{let e=new Z;return e.closed=!0,e})();var so=Z.EMPTY;function In(e){return e instanceof Z||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function ks(e){v(e)?e():e.unsubscribe()}var ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var nt={setTimeout(e,t,...n){let{delegate:r}=nt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=nt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function bn(e){nt.setTimeout(()=>{let{onUnhandledError:t}=ae;if(t)t(e);else throw e})}function Lt(){}var Ls=ao("C",void 0,void 0);function Vs(e){return ao("E",void 0,e)}function js(e){return ao("N",e,void 0)}function ao(e,t,n){return{kind:e,value:t,error:n}}var He=null;function rt(e){if(ae.useDeprecatedSynchronousErrorHandling){let t=!He;if(t&&(He={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=He;if(He=null,n)throw r}}else e()}function Bs(e){ae.useDeprecatedSynchronousErrorHandling&&He&&(He.errorThrown=!0,He.error=e)}var Ue=class extends Z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,In(t)&&t.add(this)):this.destination=od}static create(t,n,r){return new ot(t,n,r)}next(t){this.isStopped?uo(js(t),this):this._next(t)}error(t){this.isStopped?uo(Vs(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?uo(Ls,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},nd=Function.prototype.bind;function co(e,t){return nd.call(e,t)}var lo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Mn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Mn(r)}else Mn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Mn(n)}}},ot=class extends Ue{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ae.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&co(t.next,i),error:t.error&&co(t.error,i),complete:t.complete&&co(t.complete,i)}):o=t}this.destination=new lo(o)}};function Mn(e){ae.useDeprecatedSynchronousErrorHandling?Bs(e):bn(e)}function rd(e){throw e}function uo(e,t){let{onStoppedNotification:n}=ae;n&&nt.setTimeout(()=>n(e,t))}var od={closed:!0,next:Lt,error:rd,complete:Lt};var it=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Hs(e){return e}function Us(e){return e.length===0?Hs:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var R=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=sd(n)?n:new ot(n,r,o);return rt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=$s(r),new r((o,i)=>{let s=new ot({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[it](){return this}pipe(...n){return Us(n)(this)}toPromise(n){return n=$s(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function $s(e){var t;return(t=e??ae.Promise)!==null&&t!==void 0?t:Promise}function id(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function sd(e){return e&&e instanceof Ue||id(e)&&In(e)}function ad(e){return v(e?.lift)}function W(e){return t=>{if(ad(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function q(e,t,n,r,o){return new fo(e,t,n,r,o)}var fo=class extends Ue{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Gs=Cn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Tn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Gs}next(n){rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?so:(this.currentObservers=null,i.push(n),new Z(()=>{this.currentObservers=null,kt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new R;return n.source=this,n}}return e.create=(t,n)=>new Tn(t,n),e})(),Tn=class extends ce{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:so}};var Vt=class extends ce{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function zs(e){return e&&v(e.schedule)}function Ws(e){return e[e.length-1]}function qs(e){return v(Ws(e))?e.pop():void 0}function Zs(e){return zs(Ws(e))?e.pop():void 0}function Qs(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Ys(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $e(e){return this instanceof $e?(this.v=e,this):new $e(e)}function Ks(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(f){return new Promise(function(g,p){i.push([h,f,g,p])>1||a(h,f)})})}function a(h,f){try{c(r[h](f))}catch(g){d(i[0][3],g)}}function c(h){h.value instanceof $e?Promise.resolve(h.value.v).then(u,l):d(i[0][2],h)}function u(h){a("next",h)}function l(h){a("throw",h)}function d(h,f){h(f),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Js(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ys=="function"?Ys(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var st=e=>e&&typeof e.length=="number"&&typeof e!="function";function Sn(e){return v(e?.then)}function Nn(e){return v(e[it])}function An(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function xn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function cd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var On=cd();function Rn(e){return v(e?.[On])}function Fn(e){return Ks(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield $e(n.read());if(o)return yield $e(void 0);yield yield $e(r)}}finally{n.releaseLock()}})}function Pn(e){return v(e?.getReader)}function U(e){if(e instanceof R)return e;if(e!=null){if(Nn(e))return ud(e);if(st(e))return ld(e);if(Sn(e))return dd(e);if(An(e))return Xs(e);if(Rn(e))return fd(e);if(Pn(e))return hd(e)}throw xn(e)}function ud(e){return new R(t=>{let n=e[it]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ld(e){return new R(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,bn)})}function fd(e){return new R(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xs(e){return new R(t=>{pd(e,t).catch(n=>t.error(n))})}function hd(e){return Xs(Fn(e))}function pd(e,t){var n,r,o,i;return Qs(this,void 0,void 0,function*(){try{for(n=Js(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ne(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function kn(e,t=0){return W((n,r)=>{n.subscribe(q(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function Ln(e,t=0){return W((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ea(e,t){return U(e).pipe(Ln(t),kn(t))}function ta(e,t){return U(e).pipe(Ln(t),kn(t))}function na(e,t){return new R(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ra(e,t){return new R(n=>{let r;return ne(n,t,()=>{r=e[On](),ne(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>v(r?.return)&&r.return()})}function Vn(e,t){if(!e)throw new Error("Iterable cannot be null");return new R(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function oa(e,t){return Vn(Fn(e),t)}function ia(e,t){if(e!=null){if(Nn(e))return ea(e,t);if(st(e))return na(e,t);if(Sn(e))return ta(e,t);if(An(e))return Vn(e,t);if(Rn(e))return ra(e,t);if(Pn(e))return oa(e,t)}throw xn(e)}function Ge(e,t){return t?ia(e,t):U(e)}function jn(...e){let t=Zs(e);return Ge(e,t)}function J(e,t){return W((n,r)=>{let o=0;n.subscribe(q(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:gd}=Array;function md(e,t){return gd(t)?e(...t):e(t)}function Bn(e){return J(t=>md(e,t))}var{isArray:yd}=Array,{getPrototypeOf:vd,prototype:Dd,keys:Ed}=Object;function sa(e){if(e.length===1){let t=e[0];if(yd(t))return{args:t,keys:null};if(wd(t)){let n=Ed(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function wd(e){return e&&typeof e=="object"&&vd(e)===Dd}function aa(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ca(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=p=>u{i&&t.next(p),u++;let m=!1;U(n(p,l++)).subscribe(q(t,w=>{o?.(w),i?f(w):t.next(w)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;c.length&&ug(w)):g(w)}h()}catch(w){t.error(w)}}))};return e.subscribe(q(t,f,()=>{d=!0,h()})),()=>{a?.()}}function at(e,t,n=1/0){return v(t)?at((r,o)=>J((i,s)=>t(r,i,o,s))(U(e(r,o))),n):(typeof t=="number"&&(n=t),W((r,o)=>ca(r,o,e,n)))}function ho(...e){let t=qs(e),{args:n,keys:r}=sa(e),o=new R(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?aa(r,a):a),i.complete())}))}});return t?o.pipe(Bn(t)):o}var Cd=["addListener","removeListener"],_d=["addEventListener","removeEventListener"],Id=["on","off"];function jt(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return jt(e,t,n).pipe(Bn(r));let[o,i]=Td(e)?_d.map(s=>a=>e[s](t,a,n)):bd(e)?Cd.map(ua(e,t)):Md(e)?Id.map(ua(e,t)):[];if(!o&&st(e))return at(s=>jt(s,t,n))(U(e));if(!o)throw new TypeError("Invalid event target");return new R(s=>{let a=(...c)=>s.next(1i(a)})}function ua(e,t){return n=>r=>e[n](t,r)}function bd(e){return v(e.addListener)&&v(e.removeListener)}function Md(e){return v(e.on)&&v(e.off)}function Td(e){return v(e.addEventListener)&&v(e.removeEventListener)}function ct(e,t){return W((n,r)=>{let o=0;n.subscribe(q(r,i=>e.call(t,i,o++)&&r.next(i)))})}function po(e,t){return v(t)?at(e,t,1):at(e,1)}function go(e){return W((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function mo(e,t){return W((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(q(r,c=>{o?.unsubscribe();let u=0,l=i++;U(e(c,l)).subscribe(o=q(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Hn(e){return W((t,n)=>{U(e).subscribe(q(n,()=>n.complete(),Lt)),!n.closed&&t.subscribe(n)})}var Sd="https://g.co/ng/security#xss",_=class extends Error{code;constructor(t,n){super(hr(t,n)),this.code=t}};function hr(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function pr(e){return{toString:e}.toString()}function x(e){for(let t in e)if(e[t]===x)return t;throw Error("Could not find renamed property on target object.")}function Nd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ie(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ie).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function la(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Ad=x({__forward_ref__:x});function It(e){return e.__forward_ref__=It,e.toString=function(){return ie(this())},e}function Y(e){return Wa(e)?e():e}function Wa(e){return typeof e=="function"&&e.hasOwnProperty(Ad)&&e.__forward_ref__===It}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function gi(e){return da(e,qa)||da(e,Za)}function da(e,t){return e.hasOwnProperty(t)?e[t]:null}function xd(e){let t=e&&(e[qa]||e[Za]);return t||null}function fa(e){return e&&(e.hasOwnProperty(ha)||e.hasOwnProperty(Od))?e[ha]:null}var qa=x({\u0275prov:x}),ha=x({\u0275inj:x}),Za=x({ngInjectableDef:x}),Od=x({ngInjectorDef:x}),D=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ya(e){return e&&!!e.\u0275providers}var Rd=x({\u0275cmp:x}),Fd=x({\u0275dir:x}),Pd=x({\u0275pipe:x});var Qn=x({\u0275fac:x}),Ht=x({__NG_ELEMENT_ID__:x}),pa=x({__NG_ENV_ID__:x});function kd(e){return typeof e=="string"?e:e==null?"":String(e)}function Ld(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():kd(e)}function Vd(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,e)}function mi(e,t){throw new _(-201,!1)}var C=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(C||{}),So;function Qa(){return So}function re(e){let t=So;return So=e,t}function Ka(e,t,n){let r=gi(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&C.Optional)return null;if(t!==void 0)return t;mi(e,"Injector")}var jd={},Ut=jd,Bd="__NG_DI_FLAG__",Kn="ngTempTokenPath",Hd="ngTokenPath",Ud=/\n/gm,$d="\u0275",ga="__source",ft;function Gd(){return ft}function be(e){let t=ft;return ft=e,t}function zd(e,t=C.Default){if(ft===void 0)throw new _(-203,!1);return ft===null?Ka(e,void 0,t):ft.get(e,t&C.Optional?null:void 0,t)}function I(e,t=C.Default){return(Qa()||zd)(Y(e),t)}function E(e,t=C.Default){return I(e,gr(t))}function gr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function No(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ie(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ud,` - `)}`}function pt(e,t){let n=e.hasOwnProperty(Qn);return n?e[Qn]:null}function yi(e,t){e.forEach(n=>Array.isArray(n)?yi(n,t):t(n))}function Ja(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Yd(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Qd(e,t,n){let r=Kt(e,t);return r>=0?e[r|1]=n:(r=~r,Yd(e,r,t,n)),r}function yo(e,t){let n=Kt(e,t);if(n>=0)return e[n|1]}function Kt(e,t){return Kd(e,t,1)}function Kd(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return yi(t,s=>{let a=s;Ao(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&oc(o,i),n}function oc(e,t){for(let n=0;n{t(i,r)})}}function Ao(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=fa(e),s=!i&&mr(e);if(!i&&!s){let c=e.ngModule;if(i=fa(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ao(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{yi(i.imports,l=>{Ao(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&oc(u,t)}if(!a){let u=pt(o)||(()=>new o);t({provide:o,useFactory:u,deps:oe},o),t({provide:ec,useValue:o,multi:!0},o),t({provide:$t,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Di(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Di(e,t){for(let n of e)Ya(n)&&(n=n.\u0275providers),Array.isArray(n)?Di(n,t):t(n)}var ef=x({provide:String,useValue:x});function ic(e){return e!==null&&typeof e=="object"&&ef in e}function tf(e){return!!(e&&e.useExisting)}function nf(e){return!!(e&&e.useFactory)}function mt(e){return typeof e=="function"}function rf(e){return!!e.useClass}var yr=new D(""),zn={},of={},vo;function Ei(){return vo===void 0&&(vo=new Jn),vo}var De=class{},Gt=class extends De{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Oo(t,s=>this.processProvider(s)),this.records.set(Xa,ut(void 0,this)),o.has("environment")&&this.records.set(De,ut(void 0,this));let i=this.records.get(yr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ec,oe,C.Self))}destroy(){Bt(this),this._destroyed=!0;let t=T(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),T(t)}}onDestroy(t){return Bt(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Bt(this);let n=be(this),r=re(void 0),o;try{return t()}finally{be(n),re(r)}}get(t,n=Ut,r=C.Default){if(Bt(this),t.hasOwnProperty(pa))return t[pa](this);r=gr(r);let o,i=be(this),s=re(void 0);try{if(!(r&C.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=lf(t)&&gi(t);u&&this.injectableDefInScope(u)?c=ut(xo(t),zn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&C.Self?Ei():this.parent;return n=r&C.Optional&&n===Ut?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Kn]=a[Kn]||[]).unshift(ie(t)),i)throw a;return qd(a,t,"R3InjectorError",this.source)}else throw a}finally{re(s),be(i)}}resolveInjectorInitializers(){let t=T(null),n=be(this),r=re(void 0),o;try{let i=this.get($t,oe,C.Self);for(let s of i)s()}finally{be(n),re(r),T(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ie(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=mt(t)?t:Y(t&&t.provide),r=af(t);if(!mt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ut(void 0,zn,!0),o.factory=()=>No(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=T(null);try{return n.value===zn&&(n.value=of,n.value=n.factory()),typeof n.value=="object"&&n.value&&uf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{T(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function xo(e){let t=gi(e),n=t!==null?t.factory:pt(e);if(n!==null)return n;if(e instanceof D)throw new _(204,!1);if(e instanceof Function)return sf(e);throw new _(204,!1)}function sf(e){if(e.length>0)throw new _(204,!1);let n=xd(e);return n!==null?()=>n.factory(e):()=>new e}function af(e){if(ic(e))return ut(void 0,e.useValue);{let t=sc(e);return ut(t,zn)}}function sc(e,t,n){let r;if(mt(e)){let o=Y(e);return pt(o)||xo(o)}else if(ic(e))r=()=>Y(e.useValue);else if(nf(e))r=()=>e.useFactory(...No(e.deps||[]));else if(tf(e))r=()=>I(Y(e.useExisting));else{let o=Y(e&&(e.useClass||e.provide));if(cf(e))r=()=>new o(...No(e.deps));else return pt(o)||xo(o)}return r}function Bt(e){if(e.destroyed)throw new _(205,!1)}function ut(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function cf(e){return!!e.deps}function uf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function lf(e){return typeof e=="function"||typeof e=="object"&&e instanceof D}function Oo(e,t){for(let n of e)Array.isArray(n)?Oo(n,t):n&&Ya(n)?Oo(n.\u0275providers,t):t(n)}function vr(e,t){e instanceof Gt&&Bt(e);let n,r=be(e),o=re(void 0);try{return t()}finally{be(r),re(o)}}function df(){return Qa()!==void 0||Gd()!=null}var Re=0,b=1,y=2,le=3,Me=4,Fe=5,Ro=6,Xn=7,Ee=8,yt=9,Ne=10,ee=11,zt=12,ma=13,Jt=14,we=15,er=16,lt=17,wi=18,Dr=19,ac=20,Te=21,Do=22,tr=23,X=24,We=25,cc=1;var Fo=7,ff=8,nr=9,ze=10,rr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(rr||{});function Se(e){return Array.isArray(e)&&typeof e[cc]=="object"}function bt(e){return Array.isArray(e)&&e[cc]===!0}function uc(e){return(e.flags&4)!==0}function Er(e){return e.componentOffset>-1}function lc(e){return(e.flags&1)===1}function Ae(e){return!!e.template}function Po(e){return(e[y]&512)!==0}var ko=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function dc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ci=(()=>{let e=()=>fc;return e.ngInherit=!0,e})();function fc(e){return e.type.prototype.ngOnChanges&&(e.setInput=pf),hf}function hf(){let e=pc(this),t=e?.current;if(t){let n=e.previous;if(n===gt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function pf(e,t,n,r,o){let i=this.declaredInputs[r],s=pc(e)||gf(e,{previous:gt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ko(u&&u.currentValue,n,c===gt),dc(e,t,o,n)}var hc="__ngSimpleChanges__";function pc(e){return e[hc]||null}function gf(e,t){return e[hc]=t}var ya=null;var de=function(e,t,n){ya?.(e,t,n)},mf="svg",yf="math";function Je(e){for(;Array.isArray(e);)e=e[Re];return e}function vf(e,t){return Je(t[e])}function _e(e,t){return Je(t[e.index])}function gc(e,t){return e.data[t]}function Pe(e,t){let n=t[e];return Se(n)?n:n[Re]}function _i(e){return(e[y]&128)===128}function va(e,t){return t==null?null:e[t]}function mc(e){e[lt]=0}function Ii(e){e[y]&1024||(e[y]|=1024,_i(e)&&Cr(e))}function wr(e){return!!(e[y]&9216||e[X]?.dirty)}function Da(e){e[Ne].changeDetectionScheduler?.notify(9),e[y]&64&&(e[y]|=1024),wr(e)&&Cr(e)}function Cr(e){e[Ne].changeDetectionScheduler?.notify(0);let t=vt(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!_i(t)));)t=vt(t)}function yc(e,t){if((e[y]&256)===256)throw new _(911,!1);e[Te]===null&&(e[Te]=[]),e[Te].push(t)}function Df(e,t){if(e[Te]===null)return;let n=e[Te].indexOf(t);n!==-1&&e[Te].splice(n,1)}function vt(e){let t=e[le];return bt(t)?t[le]:t}var M={lFrame:bc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Lo=!1;function Ef(){return M.lFrame.elementDepthCount}function wf(){M.lFrame.elementDepthCount++}function Cf(){M.lFrame.elementDepthCount--}function vc(){return M.bindingsEnabled}function _f(){return M.skipHydrationRootTNode!==null}function If(e){return M.skipHydrationRootTNode===e}function bf(){M.skipHydrationRootTNode=null}function G(){return M.lFrame.lView}function pe(){return M.lFrame.tView}function se(){let e=Dc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Dc(){return M.lFrame.currentTNode}function Mf(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function _r(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function Ec(){return M.lFrame.isParent}function Tf(){M.lFrame.isParent=!1}function wc(){return Lo}function Ea(e){let t=Lo;return Lo=e,t}function Sf(e){return M.lFrame.bindingIndex=e}function Nf(){return M.lFrame.bindingIndex++}function Af(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function xf(){return M.lFrame.inI18n}function Of(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vo(t)}function Rf(){return M.lFrame.currentDirectiveIndex}function Vo(e){M.lFrame.currentDirectiveIndex=e}function Ff(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Cc(e){M.lFrame.currentQueryIndex=e}function Pf(e){let t=e[b];return t.type===2?t.declTNode:t.type===1?e[Fe]:null}function _c(e,t,n){if(n&C.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&C.Host);)if(o=Pf(i),o===null||(i=i[Jt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Ic();return r.currentTNode=t,r.lView=e,!0}function bi(e){let t=Ic(),n=e[b];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ic(){let e=M.lFrame,t=e===null?null:e.child;return t===null?bc(e):t}function bc(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Mc(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Tc=Mc;function Mi(){let e=Mc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Xt(){return M.lFrame.selectedIndex}function qe(e){M.lFrame.selectedIndex=e}function kf(){let e=M.lFrame;return gc(e.tView,e.selectedIndex)}function Lf(){return M.lFrame.currentNamespace}var Sc=!0;function Nc(){return Sc}function Ac(e){Sc=e}function Vf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=fc(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function xc(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[lt]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,wa(a,i)):wa(a,i)}var ht=-1,Ze=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Bf(e){return e instanceof Ze}function Hf(e){return(e.flags&8)!==0}function Uf(e){return(e.flags&16)!==0}function jo(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Uo(e,t){let n=Wf(e),r=t;for(;n>0;)r=r[Jt],n--;return r}var $o=!0;function _a(e){let t=$o;return $o=e,t}var qf=256,Rc=qf-1,Fc=5,Zf=0,fe={};function Yf(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ht)&&(r=n[Ht]),r==null&&(r=n[Ht]=Zf++);let o=r&Rc,i=1<>Fc)]|=i}function or(e,t){let n=Pc(e,t);if(n!==-1)return n;let r=t[b];r.firstCreatePass&&(e.injectorIndex=t.length,Co(r.data,e),Co(t,null),Co(r.blueprint,null));let o=kc(e,t),i=e.injectorIndex;if(zf(o)){let s=Ho(o),a=Uo(o,t),c=a[b].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Co(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Pc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function kc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Hc(o),r===null)return ht;if(n++,o=o[Jt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ht}function Go(e,t,n){Yf(e,t,n)}function Lc(e,t,n){if(n&C.Optional||e!==void 0)return e;mi(t,"NodeInjector")}function Vc(e,t,n,r){if(n&C.Optional&&r===void 0&&(r=null),!(n&(C.Self|C.Host))){let o=e[yt],i=re(void 0);try{return o?o.get(t,r,n&C.Optional):Ka(t,r,n&C.Optional)}finally{re(i)}}return Lc(r,t,n)}function jc(e,t,n,r=C.Default,o){if(e!==null){if(t[y]&2048&&!(r&C.Self)){let s=eh(e,t,n,r,fe);if(s!==fe)return s}let i=Bc(e,t,n,r,fe);if(i!==fe)return i}return Vc(t,n,r,o)}function Bc(e,t,n,r,o){let i=Jf(n);if(typeof i=="function"){if(!_c(t,e,r))return r&C.Host?Lc(o,n,r):Vc(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&C.Optional))mi(n);else return s}finally{Tc()}}else if(typeof i=="number"){let s=null,a=Pc(e,t),c=ht,u=r&C.Host?t[we][Fe]:null;for((a===-1||r&C.SkipSelf)&&(c=a===-1?kc(e,t):t[a+8],c===ht||!ba(r,!1)?a=-1:(s=t[b],a=Ho(c),t=Uo(c,t)));a!==-1;){let l=t[b];if(Ia(i,a,l.data)){let d=Qf(a,t,n,s,r,u);if(d!==fe)return d}c=t[a+8],c!==ht&&ba(r,t[b].data[a+8]===u)&&Ia(i,a,t)?(s=l,a=Ho(c),t=Uo(c,t)):a=-1}}return o}function Qf(e,t,n,r,o,i){let s=t[b],a=s.data[e+8],c=r==null?Er(a)&&$o:r!=s&&(a.type&3)!==0,u=o&C.Host&&i===a,l=Kf(a,s,n,c,u);return l!==null?Dt(t,s,l,a):fe}function Kf(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f=c&&g.type===n)return f}if(o){let f=s[c];if(f&&Ae(f)&&f.type===n)return c}return null}function Dt(e,t,n,r){let o=e[n],i=t.data;if(Bf(o)){let s=o;s.resolving&&Vd(Ld(i[n]));let a=_a(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?re(s.injectImpl):null,l=_c(e,r,C.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Vf(n,i[n],t)}finally{u!==null&&re(u),_a(a),s.resolving=!1,Tc()}}return o}function Jf(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ht)?e[Ht]:void 0;return typeof t=="number"?t>=0?t&Rc:Xf:t}function Ia(e,t,n){let r=1<>Fc)]&r)}function ba(e,t){return!(e&C.Self)&&!(e&C.Host&&t)}var ir=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return jc(this._tNode,this._lView,t,gr(r),n)}};function Xf(){return new ir(se(),G())}function Ti(e){return pr(()=>{let t=e.prototype.constructor,n=t[Qn]||zo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Qn]||zo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function zo(e){return Wa(e)?()=>{let t=zo(Y(e));return t&&t()}:pt(e)}function eh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Bc(i,s,n,r|C.Self,fe);if(a!==fe)return a;let c=i.parent;if(!c){let u=s[ac];if(u){let l=u.get(n,fe,r);if(l!==fe)return l}c=Hc(s),s=s[Jt]}i=c}return o}function Hc(e){let t=e[b],n=t.type;return n===2?t.declTNode:n===1?e[Fe]:null}function Ma(e,t=null,n=null,r){let o=th(e,t,n,r);return o.resolveInjectorInitializers(),o}function th(e,t=null,n=null,r,o=new Set){let i=[n||oe,Xd(e)];return r=r||(typeof e=="object"?void 0:ie(e)),new Gt(i,t||Ei(),r||null,o)}var Ye=class e{static THROW_IF_NOT_FOUND=Ut;static NULL=new Jn;static create(t,n){if(Array.isArray(t))return Ma({name:""},n,t,"");{let r=t.name??"";return Ma({name:r},t.parent,t.providers,r)}}static \u0275prov=S({token:e,providedIn:"any",factory:()=>I(Xa)});static __NG_ELEMENT_ID__=-1};var nh=new D("");nh.__NG_ELEMENT_ID__=e=>{let t=se();if(t===null)throw new _(204,!1);if(t.type&2)return t.value;if(e&C.Optional)return null;throw new _(204,!1)};var Uc=!1,$c=(()=>{class e{static __NG_ELEMENT_ID__=rh;static __NG_ENV_ID__=n=>n}return e})(),Wo=class extends $c{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return yc(this._lView,t),()=>Df(this._lView,t)}};function rh(){return new Wo(G())}var qt=class{},Si=new D("",{providedIn:"root",factory:()=>!1});var Gc=new D(""),zc=new D(""),Mt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Vt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();var qo=class extends ce{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,df()&&(this.destroyRef=E($c,{optional:!0})??void 0,this.pendingTasks=E(Mt,{optional:!0})??void 0)}emit(t){let n=T(null);try{super.next(t)}finally{T(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Q=qo;function sr(...e){}function Wc(e){let t,n;function r(){e=sr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Ta(e){return queueMicrotask(()=>e()),()=>{e=sr}}var Ni="isAngularZone",ar=Ni+"_ID",oh=0,V=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Q(!1);onMicrotaskEmpty=new Q(!1);onStable=new Q(!1);onError=new Q(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Uc}=t;if(typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,ah(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ni)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,ih,sr,sr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},ih={};function Ai(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function sh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Wc(()=>{e.callbackScheduled=!1,Zo(e),e.isCheckStableRunning=!0,Ai(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Zo(e)}function ah(e){let t=()=>{sh(e)},n=oh++;e._inner=e._inner.fork({name:"angular",properties:{[Ni]:!0,[ar]:n,[ar+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(ch(c))return r.invokeTask(i,s,a,c);try{return Sa(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Na(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Sa(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!uh(c)&&t(),Na(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Zo(e),Ai(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Zo(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Sa(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Na(e){e._nesting--,Ai(e)}var Yo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Q;onMicrotaskEmpty=new Q;onStable=new Q;onError=new Q;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function ch(e){return qc(e,"__ignore_ng_zone__")}function uh(e){return qc(e,"__scheduler_tick__")}function qc(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var xe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},lh=new D("",{providedIn:"root",factory:()=>{let e=E(V),t=E(xe);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function dh(){return Zc(se(),G())}function Zc(e,t){return new ke(_e(e,t))}var ke=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=dh}return e})();function fh(e){return(e.flags&128)===128}var Yc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Yc||{}),Qc=new Map,hh=0;function ph(){return hh++}function gh(e){Qc.set(e[Dr],e)}function Qo(e){Qc.delete(e[Dr])}var Aa="__ngContext__";function Et(e,t){Se(t)?(e[Aa]=t[Dr],gh(t)):e[Aa]=t}function Kc(e){return Xc(e[zt])}function Jc(e){return Xc(e[Me])}function Xc(e){for(;e!==null&&!bt(e);)e=e[Me];return e}var Ko;function eu(e){Ko=e}function mh(){if(Ko!==void 0)return Ko;if(typeof document<"u")return document;throw new _(210,!1)}var xi=new D("",{providedIn:"root",factory:()=>yh}),yh="ng",Oi=new D(""),Le=new D("",{providedIn:"platform",factory:()=>"unknown"});var Ri=new D("",{providedIn:"root",factory:()=>mh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var vh="h",Dh="b";var tu=!1,Eh=new D("",{providedIn:"root",factory:()=>tu});var xa=new Set;function en(e){xa.has(e)||(xa.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var wh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();var Ch=()=>null;function Fi(e,t,n=!1){return Ch(e,t,n)}var he=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(he||{});var Jo=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Sd})`}};function Pi(e){return e instanceof Jo?e.changingThisBreaksApplicationSecurity:e}var Oe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Oe||{}),Ce=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ce||{}),_h;function nu(e,t){return _h(e,t)}function dt(e,t,n,r,o){if(r!=null){let i,s=!1;bt(r)?i=r:Se(r)&&(s=!0,r=r[Re]);let a=Je(r);e===0&&n!==null?o==null?iu(t,n,a):Xo(t,n,a,o||null,!0):e===1&&n!==null?Xo(t,n,a,o||null,!0):e===2?Vh(t,a,s):e===3&&t.destroyNode(a),i!=null&&Bh(t,e,i,n,o)}}function Ih(e,t){return e.createText(t)}function ru(e,t,n){return e.createElement(t,n)}function bh(e,t){ou(e,t),t[Re]=null,t[Fe]=null}function ou(e,t){t[Ne].changeDetectionScheduler?.notify(10),Vi(e,t,t[ee],2,null,null)}function Mh(e){let t=e[zt];if(!t)return _o(e[b],e);for(;t;){let n=null;if(Se(t))n=t[zt];else{let r=t[ze];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)Se(t)&&_o(t[b],t),t=t[le];t===null&&(t=e),Se(t)&&_o(t[b],t),n=t&&t[Me]}t=n}}function Th(e,t){let n=e[nr],r=t[le];if(Se(r))e[y]|=rr.HasTransplantedViews;else{let o=r[le][we];t[we]!==o&&(e[y]|=rr.HasTransplantedViews)}n===null?e[nr]=[t]:n.push(t)}function ki(e,t){let n=e[nr],r=n.indexOf(t);n.splice(r,1)}function Sh(e,t){if(e.length<=ze)return;let n=ze+t,r=e[n];if(r){let o=r[er];o!==null&&o!==e&&ki(o,r),t>0&&(e[n-1][Me]=r[Me]);let i=Ja(e,ze+t);bh(r[b],r);let s=i[wi];s!==null&&s.detachView(i[b]),r[le]=null,r[Me]=null,r[y]&=-129}return r}function Nh(e,t){if(!(t[y]&256)){let n=t[ee];n.destroyNode&&Vi(e,t,n,3,null,null),Mh(t)}}function _o(e,t){if(t[y]&256)return;let n=T(null);try{t[y]&=-129,t[y]|=256,t[X]&&oo(t[X]),xh(e,t),Ah(e,t),t[b].type===1&&t[ee].destroy();let r=t[er];if(r!==null&&bt(t[le])){r!==t[le]&&ki(r,t);let o=t[wi];o!==null&&o.detachView(e)}Qo(t)}finally{T(n)}}function Ah(e,t){let n=e.cleanup,r=t[Xn];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Xn]=null);let o=t[Te];if(o!==null){t[Te]=null;for(let s=0;s-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===he.None||i===he.Emulated)return null}return _e(r,n)}}function Xo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function iu(e,t,n){e.appendChild(t,n)}function Oa(e,t,n,r,o){r!==null?Xo(e,t,n,r,o):iu(e,t,n)}function Fh(e,t,n){return kh(e,t,n)}function Ph(e,t,n){return e.type&40?_e(e,n):null}var kh=Ph,Ra;function su(e,t,n,r){let o=Oh(e,r,t),i=t[ee],s=r.parent||t[Fe],a=Fh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ue(r))return!1;s=!0}}}}return ue(r)||s}function ue(e){return(e&1)===0}function qh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ue(s)&&(t+=Fa(i,o),o=""),r=s,i=i||!ue(r);n++}return o!==""&&(t+=Fa(i,o)),t}function Jh(e){return e.map(Kh).join(",")}function Xh(e){let t=[],n=[],r=1,o=2;for(;rWe&&lu(e,t,We,!1),de(s?2:0,o),n(r,o)}finally{qe(i),de(s?3:1,o)}}function pu(e,t,n){if(uc(t)){let r=T(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function cp(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return _f()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Pa(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Oe.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?ka(r,n,u,a,c):ka(r,n,u,a)}return r}function ka(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function up(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function mp(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Er(n)&&_p(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||or(n,t),Et(r,t);let s=n.initialInputs;for(let a=o;a{Cr(e.lView)},consumerOnSignalRead(){this.lView[X]=this}});function kp(e){let t=e[X]??Object.create(Lp);return t.lView=e,t}var Lp=L(A({},Pt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=vt(e.lView);for(;t&&!bu(t[b]);)t=vt(t);t&&Ii(t)},consumerOnSignalRead(){this.lView[X]=this}});function bu(e){return e.type!==2}function Mu(e){if(e[tr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[tr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[y]&8192)}}var Vp=100;function Tu(e,t=!0,n=0){let o=e[Ne].rendererFactory,i=!1;i||o.begin?.();try{jp(e,n)}catch(s){throw t&&Cu(e,s),s}finally{i||o.end?.()}}function jp(e,t){let n=wc();try{Ea(!0),ni(e,t);let r=0;for(;wr(e);){if(r===Vp)throw new _(103,!1);r++,ni(e,1)}}finally{Ea(n)}}function Bp(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1,s=!1;bi(t);let a=!0,c=null,u=null;i||(bu(e)?(u=Op(t),c=Dn(u)):_s()===null?(a=!1,u=kp(t),c=Dn(u)):t[X]&&(oo(t[X]),t[X]=null));try{mc(t),Sf(e.bindingStartIndex),n!==null&&hu(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Wn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&qn(t,f,0,null),Eo(t,0)}if(s||Hp(t),Mu(t),Su(t,0),e.contentQueries!==null&&Eu(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Wn(t,f)}else{let f=e.contentHooks;f!==null&&qn(t,f,1),Eo(t,1)}ep(e,t);let d=e.components;d!==null&&Au(t,d,0);let h=e.viewQuery;if(h!==null&&ti(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Wn(t,f)}else{let f=e.viewHooks;f!==null&&qn(t,f,2),Eo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Do]){for(let f of t[Do])f();t[Do]=null}i||(t[y]&=-73)}catch(l){throw i||Cr(t),l}finally{u!==null&&(no(u,c),a&&Fp(u)),Mi()}}function Su(e,t){for(let n=Kc(e);n!==null;n=Jc(n))for(let r=ze;r-1&&(Sh(t,r),Ja(n,r))}this._attachedToViewContainer=!1}Nh(this._lView[b],this._lView)}onDestroy(t){yc(this._lView,t)}markForCheck(){Gi(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ii(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){Da(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,Tu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Po(this._lView),n=this._lView[er];n!==null&&!t&&ki(n,this._lView),ou(this._lView[b],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;let n=Po(this._lView),r=this._lView[er];r!==null&&!n&&Th(r,this._lView),Da(this._lView)}};var ri=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ie(t)}.`)}},Yt=class{static NULL=new ri},wt=class{};var oi=class{},ur=class{},Ct=class{},tn=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>$p()}return e})();function $p(){let e=G(),t=se(),n=Pe(t.index,e);return(Se(n)?n:e)[ee]}var Gp=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();function ii(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&au(e,n,i.join(" "))}}function Kp(e,t,n){let r=e.projection=[];for(let o=0;o{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=rc(!1,n.type),o=r.length>0?Xp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=S({token:e,providedIn:"environment",factory:()=>new e(I(De))})}return e})();function xu(e){return pr(()=>{let t=Ou(e),n=L(A({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Yc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(eg).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||he.Emulated,styles:e.styles||oe,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&en("NgStandalone"),Ru(n);let r=e.dependencies;return n.directiveDefs=ja(r,!1),n.pipeDefs=ja(r,!0),n.id=rg(n),n})}function tg(e){return mr(e)||tc(e)}function ng(e){return e!==null}function Xe(e){return pr(()=>({type:e.type,bootstrap:e.bootstrap||oe,declarations:e.declarations||oe,imports:e.imports||oe,exports:e.exports||oe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Va(e,t){if(e==null)return gt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Oe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Oe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function ge(e){return pr(()=>{let t=Ou(e);return Ru(t),t})}function Ou(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||gt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||oe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Va(e.inputs,t),outputs:Va(e.outputs),debugInfo:null}}function Ru(e){e.features?.forEach(t=>t(e))}function ja(e,t){if(!e)return null;let n=t?nc:tg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(ng)}function rg(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function og(e){return typeof e=="function"&&e[te]!==void 0}var Fu=new D("");function nn(e){return!!e&&typeof e.then=="function"}function Pu(e){return!!e&&typeof e.subscribe=="function"}var ig=new D("");var ku=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(ig,{optional:!0})??[];injector=E(Ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=vr(this.injector,o);if(nn(i))n.push(i);else if(Pu(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sg=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new ui})}return e})(),ui=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Lu=new D("");function ag(){Os(()=>{throw new _(600,!1)})}function cg(e){return e.isBoundToModule}var ug=10;function lg(e,t,n){try{let r=n();return nn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Tt=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(lh);afterRenderManager=E(wh);zonelessEnabled=E(Si);rootEffectScheduler=E(sg);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new ce;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=E(Mt).hasPendingTasks.pipe(J(n=>!n));whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(De);get injector(){return this._injector}bootstrap(n,r){let o=n instanceof ur;if(!this._injector.get(ku).done){let h=!o&&Jd(n),f=!1;throw new _(405,f)}let s;o?s=n:s=this._injector.get(Yt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=cg(s)?void 0:this._injector.get(wt),c=r||s.selector,u=s.create(Ye.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(Fu,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),Zn(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new _(101,!1);let n=T(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,T(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Ct,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++wr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Zn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(Lu,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Zn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Zn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function dg(e,t,n,r){if(!n&&!wr(e))return;Tu(e,t,n&&!r?0:1)}var Tw=new RegExp(`^(\\d+)*(${Dh}|${vh})*(.*)`);function br(e,t){en("NgSignals");let n=Rs(e),r=n[te];return t?.equal&&(r.equal=t.equal),n.set=o=>io(r,o),n.update=o=>Fs(r,o),n.asReadonly=fg.bind(n),n}function fg(){let e=this[te];if(e.readonlyFn===void 0){let t=()=>this();t[te]=e,e.readonlyFn=t}return e.readonlyFn}function Vu(e){return og(e)&&typeof e.set=="function"}function hg(e){return Object.getPrototypeOf(e.prototype).constructor}function et(e){let t=hg(e.type),n=!0,r=[e];for(;t;){let o;if(Ae(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Un(e.inputs),s.inputTransforms=Un(e.inputTransforms),s.declaredInputs=Un(e.declaredInputs),s.outputs=Un(e.outputs);let a=o.hostBindings;a&&vg(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&mg(e,c),u&&yg(e,u),pg(e,o),Nd(e.outputs,o.outputs),Ae(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Wt(o.hostAttrs,n=Wt(n,o.hostAttrs))}}function Un(e){return e===gt?{}:e===oe?[]:e}function mg(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function yg(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function vg(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function ju(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Dg(e){return(e.flags&32)===32}function $n(e,t){return e<<17|t<<2}function Qe(e){return e>>17&32767}function Eg(e){return(e&2)==2}function wg(e,t){return e&131071|t<<17}function li(e){return e|2}function _t(e){return(e&131068)>>2}function Io(e,t){return e&-131069|t<<2}function Cg(e){return(e&1)===1}function di(e){return e|1}function _g(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Qe(s),c=_t(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Kt(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=Qe(e[a+1]);e[r+1]=$n(h,a),h!==0&&(e[h+1]=Io(e[h+1],r)),e[a+1]=wg(e[a+1],r)}else e[r+1]=$n(a,0),a!==0&&(e[a+1]=Io(e[a+1],r)),a=r;else e[r+1]=$n(c,0),a===0?a=r:e[c+1]=Io(e[c+1],r),c=r;u&&(e[r+1]=li(e[r+1])),Ba(e,l,r,!0),Ba(e,l,r,!1),Ig(t,l,e,r,i),s=$n(a,c),i?t.classBindings=s:t.styleBindings=s}function Ig(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Kt(i,t)>=0&&(n[r+1]=di(n[r+1]))}function Ba(e,t,n,r){let o=e[n+1],i=t===null,s=r?Qe(o):_t(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];bg(c,t)&&(a=!0,e[s+1]=r?di(u):li(u)),s=r?Qe(u):_t(u)}a&&(e[n+1]=r?li(o):di(o))}function bg(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Kt(e,t)>=0:!1}function Ha(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";$i(e,n,i[s],s,r)}function zi(e,t){return Mg(e,t,null,!0),zi}function Mg(e,t,n,r){let o=G(),i=pe(),s=Af(2);if(i.firstUpdatePass&&Sg(i,e,s,r),t!==Ir&&ju(o,s,t)){let a=i.data[Xt()];Rg(i,a,o,o[ee],e,o[s+1]=Fg(t,n),r,s)}}function Tg(e,t){return t>=e.expandoStartIndex}function Sg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Xt()],s=Tg(e,n);Pg(i,r)&&t===null&&!s&&(t=!1),t=Ng(o,i,t,r),_g(o,i,t,n,s,r)}}function Ng(e,t,n,r){let o=Ff(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=bo(null,e,t,n,r),n=Qt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=bo(o,e,t,n,r),i===null){let c=Ag(e,t,r);c!==void 0&&Array.isArray(c)&&(c=bo(null,e,t,c[1],r),c=Qt(c,t.attrs,r),xg(e,t,r,c))}else i=Og(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Ag(e,t,n){let r=n?t.classBindings:t.styleBindings;if(_t(r)!==0)return e[Qe(r)]}function xg(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Qe(o)]=r}function Og(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===Ir&&(h=d?oe:void 0);let f=d?yo(h,r):l===r?h:void 0;if(u&&!dr(f)&&(f=yo(c,r)),dr(f)&&(a=f,s))return a;let g=e[o+1];o=s?Qe(g):_t(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=yo(c,r))}return a}function dr(e){return e!==void 0}function Fg(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ie(Pi(e)))),e}function Pg(e,t){return(e.flags&(t?8:16))!==0}function kg(e,t,n,r,o,i){let s=t.consts,a=va(s,o),c=Ui(t,e,2,r,a);return hp(t,n,c,va(s,i)),c.attrs!==null&&ii(c,c.attrs,!1),c.mergedAttrs!==null&&ii(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function F(e,t,n,r){let o=G(),i=pe(),s=We+e,a=o[ee],c=i.firstCreatePass?kg(s,i,o,t,n,r):i.data[s],u=Lg(i,o,c,a,t,e);o[s]=u;let l=lc(c);return _r(c,!0),cu(a,u,c),!Dg(c)&&Nc()&&su(i,o,u,c),Ef()===0&&Et(u,o),wf(),l&&(np(i,o,c),pu(i,c,o)),r!==null&&rp(o,c),F}function P(){let e=se();Ec()?Tf():(e=e.parent,_r(e,!1));let t=e;If(t)&&bf(),Cf();let n=pe();return n.firstCreatePass&&(xc(n,e),uc(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Hf(t)&&Ha(n,t,G(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Uf(t)&&Ha(n,t,G(),t.stylesWithoutHost,!1),P}var Lg=(e,t,n,r,o,i)=>(Ac(!0),ru(r,o,Lf()));var fr="en-US";var Vg=fr;function jg(e){typeof e=="string"&&(Vg=e.toLowerCase().replace(/_/g,"-"))}var Bg=(e,t,n)=>{};function z(e,t,n,r){let o=G(),i=pe(),s=se();return Bu(i,o,o[ee],s,e,t,r),z}function Hg(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Bu(e,t,n,r,o,i,s){let a=lc(r),u=e.firstCreatePass&&Tp(e),l=t[Ee],d=Mp(t),h=!0;if(r.type&3||s){let p=_e(r,t),m=s?s(p):p,w=d.length,j=s?$=>s(Je($[r.index])):r.index,N=null;if(!s&&a&&(N=Hg(e,t,o,r.index)),N!==null){let $=N.__ngLastListenerFn__||N;$.__ngNextListenerFn__=i,N.__ngLastListenerFn__=i,h=!1}else{i=Ga(r,t,l,i),Bg(p,o,i);let $=n.listen(m,o,i);d.push(i,$),u&&u.push(o,j,w,w+1)}}else i=Ga(r,t,l,i);let f=r.outputs,g;if(h&&f!==null&&(g=f[o])){let p=g.length;if(p)for(let m=0;m-1?Pe(e.index,t):t;Gi(s,5);let a=$a(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=$a(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function k(e,t=""){let n=G(),r=pe(),o=e+We,i=r.firstCreatePass?Ui(r,o,1,t,null):r.data[o],s=Ug(r,n,i,t,e);n[o]=s,Nc()&&su(r,n,s,i),_r(i,!1)}var Ug=(e,t,n,r,o)=>(Ac(!0),Ih(t[ee],r));function Mr(e,t,n){Vu(t)&&(t=t());let r=G(),o=Nf();if(ju(r,o,t)){let i=pe(),s=kf();dp(i,s,r,e,t,r[ee],n,!1)}return Mr}function Wi(e,t){let n=Vu(e);return n&&e.set(t),n}function Tr(e,t){let n=G(),r=pe(),o=se();return Bu(r,n,n[ee],o,e,t),Tr}function $g(e,t,n){let r=pe();if(r.firstCreatePass){let o=Ae(e);fi(n,r.data,r.blueprint,o,!0),fi(t,r.data,r.blueprint,o,!1)}}function fi(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i>20;if(mt(e)||!e.multi){let f=new Ze(u,o,O),g=To(c,t,o?l:l+h,d);g===-1?(Go(or(a,s),i,c),Mo(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=To(c,t,l+h,d),g=To(c,t,l,l+h),p=f>=0&&n[f],m=g>=0&&n[g];if(o&&!m||!o&&!p){Go(or(a,s),i,c);let w=Wg(o?zg:Gg,n.length,o,r,u);!o&&m&&(n[g].providerFactory=w),Mo(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(w),s.push(w)}else{let w=Hu(n[o?g:f],u,!o&&r);Mo(i,e,f>-1?f:g,w)}!o&&r&&m&&n[g].componentProviders++}}}function Mo(e,t,n,r){let o=mt(t),i=rf(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Hu(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function To(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>$g(r,o?o(e):e,t)}}var qg=(()=>{class e{zone=E(V);changeDetectionScheduler=E(qt);applicationRef=E(Tt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Zg({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new V(L(A({},Yg()),{scheduleInRootZone:n})),[{provide:V,useFactory:e},{provide:$t,multi:!0,useFactory:()=>{let r=E(qg,{optional:!0});return()=>r.initialize()}},{provide:$t,multi:!0,useFactory:()=>{let r=E(Qg);return()=>{r.initialize()}}},t===!0?{provide:Gc,useValue:!0}:[],{provide:zc,useValue:n??Uc}]}function Yg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Qg=(()=>{class e{subscription=new Z;initialized=!1;zone=E(V);pendingTasks=E(Mt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{V.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Kg=(()=>{class e{appRef=E(Tt);taskService=E(Mt);ngZone=E(V);zonelessEnabled=E(Si);disableScheduling=E(Gc,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ar):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(zc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Yo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Ta:Wc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ar+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ta(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Jg(){return typeof $localize<"u"&&$localize.locale||fr}var qi=new D("",{providedIn:"root",factory:()=>E(qi,C.Optional|C.SkipSelf)||Jg()});var pi=new D("");function Gn(e){return!e.moduleRef}function Xg(e){let t=Gn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(V);return n.run(()=>{Gn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(xe,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Gn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(pi);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(pi);s.add(i),e.moduleRef.onDestroy(()=>{Zn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return lg(r,n,()=>{let i=t.get(ku);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(qi,fr);if(jg(s||fr),Gn(e)){let a=t.get(Tt);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return em(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function em(e,t){let n=e.injector.get(Tt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new _(-403,!1);t.push(e)}var Yn=null;function tm(e=[],t){return Ye.create({name:t,providers:[{provide:yr,useValue:"platform"},{provide:pi,useValue:new Set([()=>Yn=null])},...e]})}function nm(e=[]){if(Yn)return Yn;let t=tm(e);return Yn=t,ag(),rm(t),t}function rm(e){let t=e.get(Oi,null);vr(e,()=>{t?.forEach(n=>n())})}var Nr=(()=>{class e{static __NG_ELEMENT_ID__=om}return e})();function om(e){return im(se(),G(),(e&16)===16)}function im(e,t,n){if(Er(e)&&!n){let r=Pe(e.index,t);return new Zt(r,r)}else if(e.type&175){let r=t[we];return new Zt(r,t)}return null}function Uu(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=nm(r),i=[Zg({}),{provide:qt,useExisting:Kg},...n||[]],s=new lr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Xg({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function Zi(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Ar(e,t){en("NgSignals");let n=Ns(e);return t?.equal&&(n[te].equal=t.equal),n}function Ve(e){let t=T(null);try{return e()}finally{T(t)}}var za=class{[te];constructor(t){this[te]=t}destroy(){this[te].destroy()}};var Gu=null;function Nt(){return Gu}function zu(e){Gu??=e}var xr=class{};var me=new D("");function Or(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Yi=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Xe({type:e});static \u0275inj=Ke({})}return e})(),Wu="browser",am="server";function Rr(e){return e===am}var St=class{};var on=class{},Pr=class{},Ie=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` -`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Ki=class{encodeKey(t){return qu(t)}encodeValue(t){return qu(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function um(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var lm=/%(\d[a-f0-9])/gi,dm={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function qu(e){return encodeURIComponent(e).replace(lm,(t,n)=>dm[n]??t)}function Fr(e){return`${e}`}var ye=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ki,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=um(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Fr):[Fr(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Fr(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Fr(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Ji=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function fm(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Zu(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Yu(e){return typeof Blob<"u"&&e instanceof Blob}function Qu(e){return typeof FormData<"u"&&e instanceof FormData}function hm(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var rn=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(fm(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new Ie,this.context??=new Ji,!this.params)this.params=new ye,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":ah.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},Be=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Be||{}),sn=class{headers;status;statusText;url;ok;type;constructor(t,n=200,r="OK"){this.headers=t.headers||new Ie,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},kr=class e extends sn{constructor(t={}){super(t)}type=Be.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},an=class e extends sn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Be.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},je=class extends sn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},el=200,pm=204;function Qi(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var cn=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof rn)i=n;else{let c;o.headers instanceof Ie?c=o.headers:c=new Ie(o.headers);let u;o.params&&(o.params instanceof ye?u=o.params:u=new ye({fromObject:o.params})),i=new rn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=jn(i).pipe(po(c=>this.handler.handle(c)));if(n instanceof rn||o.observe==="events")return s;let a=s.pipe(ct(c=>c instanceof an));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(J(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(J(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(J(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(J(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new ye().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Qi(o,r))}post(n,r,o={}){return this.request("POST",n,Qi(o,r))}put(n,r,o={}){return this.request("PUT",n,Qi(o,r))}static \u0275fac=function(r){return new(r||e)(I(on))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),gm=/^\)\]\}',?\n/,mm="X-Request-URL";function Ku(e){if(e.url)return e.url;let t=mm.toLocaleLowerCase();return e.headers.get(t)}var ym=(()=>{class e{fetchImpl=E(Xi,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=E(V);handle(n){return new R(r=>{let o=new AbortController;return this.doRequest(n,o.signal,r).then(es,i=>r.error(new je({error:i}))),()=>o.abort()})}doRequest(n,r,o){return Rt(this,null,function*(){let i=this.createRequestInit(n),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,A({signal:r},i)));vm(f),o.next({type:Be.Sent}),s=yield f}catch(f){o.error(new je({error:f,status:f.status??0,statusText:f.statusText,url:n.urlWithParams,headers:f.headers}));return}let a=new Ie(s.headers),c=s.statusText,u=Ku(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new kr({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),g=[],p=s.body.getReader(),m=0,w,j,N=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Rt(this,null,function*(){for(;;){let{done:K,value:B}=yield p.read();if(K)break;if(g.push(B),m+=B.length,n.reportProgress){j=n.responseType==="text"?(j??"")+(w??=new TextDecoder).decode(B,{stream:!0}):void 0;let ve=()=>o.next({type:Be.DownloadProgress,total:f?+f:void 0,loaded:m,partialText:j});N?N.run(ve):ve()}}}));let $=this.concatChunks(g,m);try{let K=s.headers.get("Content-Type")??"";d=this.parseBody(n,$,K)}catch(K){o.error(new je({error:K,headers:new Ie(s.headers),status:s.status,statusText:s.statusText,url:Ku(s)??n.urlWithParams}));return}}l===0&&(l=d?el:0),l>=200&&l<300?(o.next(new an({body:d,headers:a,status:l,statusText:c,url:u})),o.complete()):o.error(new je({error:d,headers:a,status:l,statusText:c,url:u}))})}parseBody(n,r,o){switch(n.responseType){case"json":let i=new TextDecoder().decode(r).replace(gm,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let i=n.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Xi=class{};function es(){}function vm(e){e.then(es,es)}function Dm(e,t){return t(e)}function Em(e,t,n){return(r,o)=>vr(n,()=>t(r,i=>e(i,o)))}var tl=new D(""),wm=new D(""),Cm=new D("",{providedIn:"root",factory:()=>!0});var Ju=(()=>{class e extends on{backend;injector;chain=null;pendingTasks=E(Mt);contributeToStability=E(Cm);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(tl),...this.injector.get(wm,[])]));this.chain=r.reduceRight((o,i)=>Em(o,i,this.injector),Dm)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(go(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(I(Pr),I(De))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();var _m=/^\)\]\}',?\n/;function Im(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var Xu=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new _(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Ge(r.\u0275loadImpl()):jn(null)).pipe(mo(()=>new R(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((p,m)=>s.setRequestHeader(p,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let p=n.detectContentTypeHeader();p!==null&&s.setRequestHeader("Content-Type",p)}if(n.responseType){let p=n.responseType.toLowerCase();s.responseType=p!=="json"?p:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let p=s.statusText||"OK",m=new Ie(s.getAllResponseHeaders()),w=Im(s)||n.url;return c=new kr({headers:m,status:s.status,statusText:p,url:w}),c},l=()=>{let{headers:p,status:m,statusText:w,url:j}=u(),N=null;m!==pm&&(N=typeof s.response>"u"?s.responseText:s.response),m===0&&(m=N?el:0);let $=m>=200&&m<300;if(n.responseType==="json"&&typeof N=="string"){let K=N;N=N.replace(_m,"");try{N=N!==""?JSON.parse(N):null}catch(B){N=K,$&&($=!1,N={error:B,text:N})}}$?(i.next(new an({body:N,headers:p,status:m,statusText:w,url:j||void 0})),i.complete()):i.error(new je({error:N,headers:p,status:m,statusText:w,url:j||void 0}))},d=p=>{let{url:m}=u(),w=new je({error:p,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(w)},h=!1,f=p=>{h||(i.next(u()),h=!0);let m={type:Be.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(m.total=p.total),n.responseType==="text"&&s.responseText&&(m.partialText=s.responseText),i.next(m)},g=p=>{let m={type:Be.UploadProgress,loaded:p.loaded};p.lengthComputable&&(m.total=p.total),i.next(m)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",g)),s.send(a),i.next({type:Be.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(I(St))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),nl=new D(""),bm="XSRF-TOKEN",Mm=new D("",{providedIn:"root",factory:()=>bm}),Tm="X-XSRF-TOKEN",Sm=new D("",{providedIn:"root",factory:()=>Tm}),Lr=class{},Nm=(()=>{class e{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Or(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(I(me),I(Le),I(Mm))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function Am(e,t){let n=e.url.toLowerCase();if(!E(nl)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=E(Lr).getToken(),o=E(Sm);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function rl(...e){let t=[cn,Xu,Ju,{provide:on,useExisting:Ju},{provide:Pr,useFactory:()=>E(ym,{optional:!0})??E(Xu)},{provide:tl,useValue:Am,multi:!0},{provide:nl,useValue:!0},{provide:Lr,useClass:Nm}];for(let n of e)t.push(...n.\u0275providers);return vi(t)}var ns=class extends xr{supportsDOMEvents=!0},rs=class e extends ns{static makeCurrent(){zu(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Om();return n==null?null:Rm(n)}resetBaseElement(){un=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Or(document.cookie,t)}},un=null;function Om(){return un=un||document.querySelector("base"),un?un.getAttribute("href"):null}function Rm(e){return new URL(e,document.baseURI).pathname}var Fm=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),os=new D(""),ll=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(I(os),I(V))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Vr=class{_doc;constructor(t){this._doc=t}manager},is="ng-app-id";function il(e){for(let t of e)t.remove()}function sl(e,t){let n=t.createElement("style");return n.textContent=e,n}function Pm(e,t,n){let r=e.head?.querySelectorAll(`style[${is}="${t}"]`);if(r)for(let o of r)o.textContent&&(o.removeAttribute(is),n.set(o.textContent,{usage:0,elements:[o]}))}function ss(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var dl=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=Rr(i),Pm(n,r,this.inline),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,sl);r?.forEach(o=>this.addUsage(o,this.external,ss))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(il(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])il(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,sl(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,ss(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(is,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(I(me),I(xi),I(Ri,8),I(Le))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),ts={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},cs=/%COMP%/g,fl="%COMP%",km=`_nghost-${fl}`,Lm=`_ngcontent-${fl}`,Vm=!0,jm=new D("",{providedIn:"root",factory:()=>Vm});function Bm(e){return Lm.replace(cs,e)}function Hm(e){return km.replace(cs,e)}function hl(e,t){return t.map(n=>n.replace(cs,e))}var al=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.platformIsServer=Rr(a),this.defaultRenderer=new ln(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===he.ShadowDom&&(r=L(A({},r),{encapsulation:he.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof jr?o.applyToHost(n):o instanceof dn&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case he.Emulated:i=new jr(c,u,r,this.appId,l,s,a,d);break;case he.ShadowDom:return new as(c,u,n,r,s,a,this.nonce,d);default:i=new dn(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||e)(I(ll),I(dl),I(xi),I(jm),I(me),I(Le),I(V),I(Ri))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),ln=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(ts[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(cl(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(cl(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new _(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=ts[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=ts[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Ce.DashCase|Ce.Important)?t.style.setProperty(n,r,o&Ce.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ce.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=Nt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function cl(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var as=class extends ln{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=hl(o.id,o.styles);for(let d of u){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=d,this.shadowRoot.appendChild(h)}let l=o.getExternalStyles?.();if(l)for(let d of l){let h=ss(d,i);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},dn=class extends ln{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?hl(c,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},jr=class extends dn{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=Bm(u),this.hostAttr=Hm(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},Um=(()=>{class e extends Vr{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static \u0275fac=function(r){return new(r||e)(I(me))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),ul=["alt","control","meta","shift"],$m={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Gm={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},zm=(()=>{class e extends Vr{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Nt().onAndCancel(n,i.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),ul.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=$m[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),ul.forEach(s=>{if(s!==o){let a=Gm[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(I(me))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function pl(e,t){return Uu(A({rootComponent:e},Wm(t)))}function Wm(e){return{appProviders:[...Km,...e?.providers??[]],platformProviders:Qm}}function qm(){rs.makeCurrent()}function Zm(){return new xe}function Ym(){return eu(document),document}var Qm=[{provide:Le,useValue:Wu},{provide:Oi,useValue:qm,multi:!0},{provide:me,useFactory:Ym,deps:[]}];var Km=[{provide:yr,useValue:"root"},{provide:xe,useFactory:Zm,deps:[]},{provide:os,useClass:Um,multi:!0,deps:[me,V,Le]},{provide:os,useClass:zm,multi:!0,deps:[me]},al,dl,ll,{provide:Ct,useExisting:al},{provide:St,useClass:Fm,deps:[]},[]];var Cl=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(O(tn),O(ke))};static \u0275dir=ge({type:e})}return e})(),_l=(()=>{class e extends Cl{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ti(e)))(o||e)}})();static \u0275dir=ge({type:e,features:[et]})}return e})(),hs=new D(""),Jm={provide:hs,useExisting:It(()=>ps),multi:!0},ps=(()=>{class e extends _l{writeValue(n){this.setProperty("checked",n)}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ti(e)))(o||e)}})();static \u0275dir=ge({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){r&1&&z("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Sr([Jm]),et]})}return e})(),Xm={provide:hs,useExisting:It(()=>Gr),multi:!0};function ey(){let e=Nt()?Nt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var ty=new D(""),Gr=(()=>{class e extends Cl{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!ey())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(O(tn),O(ke),O(ty,8))};static \u0275dir=ge({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&z("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[Sr([Xm]),et]})}return e})();var ny=new D(""),ry=new D("");function Il(e){return e!=null}function bl(e){return nn(e)?Ge(e):e}function Ml(e){let t={};return e.forEach(n=>{t=n!=null?A(A({},t),n):t}),Object.keys(t).length===0?null:t}function Tl(e,t){return t.map(n=>n(e))}function oy(e){return!e.validate}function Sl(e){return e.map(t=>oy(t)?t:n=>t.validate(n))}function iy(e){if(!e)return null;let t=e.filter(Il);return t.length==0?null:function(n){return Ml(Tl(n,t))}}function Nl(e){return e!=null?iy(Sl(e)):null}function sy(e){if(!e)return null;let t=e.filter(Il);return t.length==0?null:function(n){let r=Tl(n,t).map(bl);return ho(r).pipe(J(Ml))}}function Al(e){return e!=null?sy(Sl(e)):null}function gl(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function ay(e){return e._rawValidators}function cy(e){return e._rawAsyncValidators}function us(e){return e?Array.isArray(e)?e:[e]:[]}function Hr(e,t){return Array.isArray(e)?e.includes(t):e===t}function ml(e,t){let n=us(t);return us(e).forEach(o=>{Hr(n,o)||n.push(o)}),n}function yl(e,t){return us(t).filter(n=>!Hr(e,n))}var Ur=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Nl(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Al(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return this.control?this.control.hasError(t,n):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},ls=class extends Ur{name;get formDirective(){return null}get path(){return null}},mn=class extends Ur{_parent=null;name=null;valueAccessor=null},ds=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},uy={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},f_=L(A({},uy),{"[class.ng-submitted]":"isSubmitted"}),xl=(()=>{class e extends ds{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(O(mn,2))};static \u0275dir=ge({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&zi("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[et]})}return e})();var fn="VALID",Br="INVALID",At="PENDING",hn="DISABLED",Ot=class{},$r=class extends Ot{value;source;constructor(t,n){super(),this.value=t,this.source=n}},pn=class extends Ot{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},gn=class extends Ot{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},xt=class extends Ot{status;source;constructor(t,n){super(),this.status=t,this.source=n}};function ly(e){return(zr(e)?e.validators:e)||null}function dy(e){return Array.isArray(e)?Nl(e):e||null}function fy(e,t){return(zr(t)?t.asyncValidators:e)||null}function hy(e){return Array.isArray(e)?Al(e):e||null}function zr(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var fs=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return Ve(this.statusReactive)}set status(t){Ve(()=>this.statusReactive.set(t))}_status=Ar(()=>this.statusReactive());statusReactive=br(void 0);get valid(){return this.status===fn}get invalid(){return this.status===Br}get pending(){return this.status==At}get disabled(){return this.status===hn}get enabled(){return this.status!==hn}errors;get pristine(){return Ve(this.pristineReactive)}set pristine(t){Ve(()=>this.pristineReactive.set(t))}_pristine=Ar(()=>this.pristineReactive());pristineReactive=br(!0);get dirty(){return!this.pristine}get touched(){return Ve(this.touchedReactive)}set touched(t){Ve(()=>this.touchedReactive.set(t))}_touched=Ar(()=>this.touchedReactive());touchedReactive=br(!1);get untouched(){return!this.touched}_events=new ce;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(ml(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ml(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(yl(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(yl(t,this._rawAsyncValidators))}hasValidator(t){return Hr(this._rawValidators,t)}hasAsyncValidator(t){return Hr(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(L(A({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new gn(!0,r))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new gn(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(L(A({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new pn(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new pn(!0,r))}markAsPending(t={}){this.status=At;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new xt(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(L(A({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=hn,this.errors=null,this._forEachChild(o=>{o.disable(L(A({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new $r(this.value,r)),this._events.next(new xt(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(L(A({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=fn,this._forEachChild(r=>{r.enable(L(A({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(L(A({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fn||this.status===At)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new $r(this.value,n)),this._events.next(new xt(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(L(A({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?hn:fn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=At,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=bl(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new xt(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new Q,this.statusChanges=new Q}_calculateStatus(){return this._allControlsDisabled()?hn:this.errors?Br:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(At)?At:this._anyControlsHaveStatus(Br)?Br:fn}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),o&&this._events.next(new pn(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new gn(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){zr(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=dy(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=hy(this._rawAsyncValidators)}};var Ol=new D("CallSetDisabledState",{providedIn:"root",factory:()=>gs}),gs="always";function py(e,t){return[...t.path,e]}function gy(e,t,n=gs){yy(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),vy(e,t),Ey(e,t),Dy(e,t),my(e,t)}function vl(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function my(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function yy(e,t){let n=ay(e);t.validator!==null?e.setValidators(gl(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=cy(e);t.asyncValidator!==null?e.setAsyncValidators(gl(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();vl(t._rawValidators,o),vl(t._rawAsyncValidators,o)}function vy(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Rl(e,t)})}function Dy(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Rl(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function Rl(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ey(e,t){let n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function wy(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function Cy(e){return Object.getPrototypeOf(e.constructor)===_l}function _y(e,t){if(!t)return null;Array.isArray(t);let n,r,o;return t.forEach(i=>{i.constructor===Gr?n=i:Cy(i)?r=i:o=i}),o||r||n||null}function Dl(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function El(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Iy=class extends fs{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(ly(n),fy(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zr(n)&&(n.nonNullable||n.initialValueIsDefault)&&(El(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Dl(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Dl(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){El(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var by={provide:mn,useExisting:It(()=>ms)},wl=Promise.resolve(),ms=(()=>{class e extends mn{_changeDetectorRef;callSetDisabledState;control=new Iy;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new Q;constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=_y(this,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),wy(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){gy(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){wl.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&Zi(r);wl.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?py(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(O(ls,9),O(ny,10),O(ry,10),O(hs,10),O(Nr,8),O(Ol,8))};static \u0275dir=ge({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Sr([by]),et,Ci]})}return e})();var My=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Xe({type:e});static \u0275inj=Ke({})}return e})();var Fl=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ol,useValue:n.callSetDisabledState??gs}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Xe({type:e});static \u0275inj=Ke({imports:[My]})}return e})();var kl=Yl(Pl());var Ds;try{Ds=!!new Blob}catch{Ds=!1}var Wr=(()=>{let t=class t{get isFileSaverSupported(){return Ds}genType(r){if(!r||r.lastIndexOf(".")===-1)return"text/plain";let o=r.substring(r.lastIndexOf(".")+1);switch(o){case"txt":return"text/plain";case"xml":case"html":return`text/${o}`;case"json":return"octet/stream";default:return`application/${o}`}}save(r,o,i,s){if(!r)throw new Error("Data argument should be a blob instance");let a=new Blob([r],{type:i||r.type||this.genType(o)});(0,kl.saveAs)(a,decodeURI(o||"download"),s)}saveText(r,o,i){let s=new Blob([r]);this.save(s,o,void 0,i)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ll=(()=>{let t=class t{constructor(r,o,i,s){this.ngZone=r,this.el=o,this.fss=i,this.httpClient=s,this.method="GET",this.success=new Q,this.error=new Q,this.destroy$=new ce,i.isFileSaverSupported||o.nativeElement.classList.add("filesaver__not-support")}ngOnInit(){this.ngZone.runOutsideAngular(()=>this.setupClickListener())}ngOnDestroy(){this.destroy$.next()}getName(r){return decodeURI(this.fileName||r.headers.get("filename")||r.headers.get("x-filename")||"")}setDisabled(r){let o=this.el.nativeElement;o.disabled=r,o.classList[r?"add":"remove"]("filesaver__disabled")}setupClickListener(){jt(this.el.nativeElement,"click").pipe(ct(()=>this.fss.isFileSaverSupported),Hn(this.destroy$)).subscribe(()=>{let r=this.http;if(!r){let o=new ye,i=this.query||{};for(let s in i)o=o.set(s,i[s]);r=this.httpClient.request(this.method,this.url,{observe:"response",responseType:"blob",headers:this.header,params:o})}this.setDisabled(!0),r.pipe(Hn(this.destroy$)).subscribe({next:o=>{if(o.status!==200||o.body.size<=0){this.emitIfHasObservers(this.error,o);return}this.fss.save(o.body,this.getName(o),void 0,this.fsOptions),this.emitIfHasObservers(this.success,o)},error:o=>this.emitIfHasObservers(this.error,o),complete:()=>this.setDisabled(!1)})})}emitIfHasObservers(r,o){Ny(r)&&this.ngZone.run(()=>r.emit(o))}};t.\u0275fac=function(o){return new(o||t)(O(V),O(ke),O(Wr),O(cn))},t.\u0275dir=ge({type:t,selectors:[["","fileSaver",""]],inputs:{method:"method",http:"http",query:"query",header:"header",url:"url",fileName:"fileName",fsOptions:"fsOptions"},outputs:{success:"success",error:"error"},exportAs:["fileSaver"]});let e=t;return e})();function Ny(e){return e.observed??e.observers.length>0}var Vl=(()=>{let t=class t{constructor(r,o){this.httpClient=r,this.fileSaverService=o,this.text='{ "text": "This is text file!\u4E2D\u6587" }',this.options={autoBom:!1}}onDown(r,o){let i=`save.${r}`;if(o){this.httpClient.get(`files/demo.${r}`,{observe:"response",responseType:"blob"}).subscribe(c=>{this.fileSaverService.save(c.body,i)});return}let s=this.fileSaverService.genType(i),a=new Blob([this.text],{type:s});this.fileSaverService.save(a,i,void 0,this.options)}};t.\u0275fac=function(o){return new(o||t)(O(cn),O(Wr))},t.\u0275cmp=xu({type:t,selectors:[["app-root"]],decls:44,vars:2,consts:[["href","https://github.com/cipchk/ngx-filesaver/blob/master/README.md","target","_blank"],["type","checkbox",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["type","button",3,"click"],["type","button","fileSaver","","url","assets/files/demo.docx"]],template:function(o,i){o&1&&(F(0,"h1"),k(1,"ngx-filesaver"),P(),F(2,"p"),k(3," Simple file save with FileSaver.js, pls refer "),F(4,"a",0),k(5,"README.md"),P()(),F(6,"h1"),k(7,"Filesaver option"),P(),F(8,"label")(9,"input",1),Tr("ngModelChange",function(a){return Wi(i.options.autoBom,a)||(i.options.autoBom=a),a}),P(),k(10," AutoBOM "),P(),F(11,"h1"),k(12,"Text Document"),P(),F(13,"textarea",2),Tr("ngModelChange",function(a){return Wi(i.text,a)||(i.text=a),a}),P(),F(14,"button",3),z("click",function(){return i.onDown("txt",!1)}),k(15,"Save Text"),P(),F(16,"button",3),z("click",function(){return i.onDown("json",!1)}),k(17,"Save JSON"),P(),F(18,"h1"),k(19,"Remote file download"),P(),F(20,"button",3),z("click",function(){return i.onDown("docx",!0)}),k(21,"Save Word"),P(),F(22,"button",3),z("click",function(){return i.onDown("xlsx",!0)}),k(23,"Save Excel"),P(),F(24,"button",3),z("click",function(){return i.onDown("csv",!0)}),k(25,"Save CSV"),P(),F(26,"button",3),z("click",function(){return i.onDown("pptx",!0)}),k(27,"Save PPT"),P(),F(28,"button",3),z("click",function(){return i.onDown("pdf",!0)}),k(29,"Save PDF"),P(),F(30,"button",3),z("click",function(){return i.onDown("zip",!0)}),k(31,"Save Zip"),P(),F(32,"button",3),z("click",function(){return i.onDown("7z",!0)}),k(33,"Save 7z"),P(),F(34,"button",3),z("click",function(){return i.onDown("jpg",!0)}),k(35,"Save JPG"),P(),F(36,"button",3),z("click",function(){return i.onDown("gif",!0)}),k(37,"Save Gif"),P(),F(38,"button",3),z("click",function(){return i.onDown("png",!0)}),k(39,"Save Png"),P(),F(40,"h1"),k(41,"fileSaver Directive"),P(),F(42,"button",4),k(43,"Save Word"),P()),o&2&&(Bi(9),Mr("ngModel",i.options.autoBom),Bi(4),Mr("ngModel",i.text))},dependencies:[Yi,Fl,Gr,ps,xl,ms,Ll],encapsulation:2});let e=t;return e})();pl(Vl,{providers:[rl()]}).catch(e=>console.error(e));