@letscooee/web-sdk 8.10.0 → 9.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,6 +43,11 @@
43
43
  * js-logger may be freely distributed under the MIT license.
44
44
  */
45
45
 
46
+ /*!
47
+ * mustache.js - Logic-less {{mustache}} templates with JavaScript
48
+ * http://github.com/janl/mustache.js
49
+ */
50
+
46
51
  /*! *****************************************************************************
47
52
  Copyright (c) Microsoft Corporation.
48
53
 
@@ -0,0 +1 @@
1
+ @layer base.base{.cooee-root *,.cooee-root :after,.cooee-root :before,.cooee-root ::backdrop,.cooee-root ::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}.cooee-root *{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}.cooee-root hr{height:0;color:inherit;border-top-width:1px}.cooee-root abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.cooee-root :is(h1,h2,h3,h4,h5,h6){font-size:inherit;font-weight:inherit}.cooee-root a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}.cooee-root :is(b,strong){font-weight:bolder}.cooee-root :is(code,kbd,samp,pre){font-family:var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}.cooee-root small{font-size:80%}.cooee-root :is(sub,sup){font-size:75%;line-height:0;position:relative;vertical-align:baseline}.cooee-root sub{bottom:-.25em}.cooee-root sup{top:-.5em}.cooee-root table{text-indent:0;border-color:inherit;border-collapse:collapse}.cooee-root :-moz-focusring{outline:auto}.cooee-root progress{vertical-align:baseline}.cooee-root summary{display:list-item}.cooee-root :is(ol,ul,menu){list-style:none}.cooee-root :is(img,svg,video,canvas,audio,iframe,embed,object){display:block;vertical-align:middle}.cooee-root :is(img,video){max-width:100%;height:auto}.cooee-root button,.cooee-root input,.cooee-root select,.cooee-root optgroup,.cooee-root textarea,.cooee-root ::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}.cooee-root :where(select:is([multiple],[size])) optgroup{font-weight:bolder}.cooee-root :where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}.cooee-root ::file-selector-button{margin-inline-end:4px}.cooee-root ::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}.cooee-root textarea{resize:vertical}.cooee-root ::-webkit-search-decoration{-webkit-appearance:none}.cooee-root ::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}.cooee-root ::-webkit-datetime-edit{display:inline-flex}.cooee-root ::-webkit-datetime-edit-fields-wrapper{padding:0}.cooee-root ::-webkit-datetime-edit,.cooee-root ::-webkit-datetime-edit-year-field,.cooee-root ::-webkit-datetime-edit-month-field,.cooee-root ::-webkit-datetime-edit-day-field,.cooee-root ::-webkit-datetime-edit-hour-field,.cooee-root ::-webkit-datetime-edit-minute-field,.cooee-root ::-webkit-datetime-edit-second-field,.cooee-root ::-webkit-datetime-edit-millisecond-field,.cooee-root ::-webkit-datetime-edit-meridiem-field{padding-block:0}.cooee-root :-moz-ui-invalid{box-shadow:none}.cooee-root button,.cooee-root input:where([type=button],[type=reset],[type=submit]),.cooee-root ::file-selector-button{appearance:button}.cooee-root ::-webkit-inner-spin-button,.cooee-root ::-webkit-outer-spin-button{height:auto}.cooee-root [hidden]:where(:not([hidden=until-found])){display:none!important}}@layer theme{:root,:host{--lc-color-green-700: oklch(.527 .154 150.069);--lc-color-gray-200: oklch(.928 .006 264.531);--lc-spacing: .25rem;--lc-font-weight-medium: 500}}@layer utilities{.lc\:absolute{position:absolute}.lc\:relative{position:relative}.lc\:mt-4{margin-top:calc(var(--lc-spacing) * 4)}.lc\:block\!{display:block!important}.lc\:flex{display:flex}.lc\:h-1{height:calc(var(--lc-spacing) * 1)}.lc\:h-\[75px\]{height:75px}.lc\:h-full{height:100%}.lc\:w-\[95\%\]{width:95%}.lc\:w-\[100px\]{width:100px}.lc\:w-full{width:100%}.lc\:flex-col{flex-direction:column}.lc\:items-center{align-items:center}.lc\:justify-between{justify-content:space-between}.lc\:bg-gray-200{background-color:var(--lc-color-gray-200)}.lc\:bg-green-700{background-color:var(--lc-color-green-700)}.lc\:text-center{text-align:center}.lc\:text-\[10px\]{font-size:10px}.lc\:text-\[12px\]{font-size:12px}.lc\:font-medium{--tw-font-weight: var(--lc-font-weight-medium);font-weight:var(--lc-font-weight-medium)}}@-webkit-keyframes cooeeFadein{0%{bottom:0;opacity:0}to{bottom:30px;opacity:1}}@keyframes cooeeFadein{0%{bottom:0;opacity:0}to{bottom:30px;opacity:1}}@-webkit-keyframes cooeeFadeout{0%{bottom:30px;opacity:1}to{bottom:0;opacity:0}}@keyframes cooeeFadeout{0%{bottom:30px;opacity:1}to{bottom:0;opacity:0}}#cooee-debugger{position:fixed;bottom:10px;left:10px;right:0;width:600px;max-width:100%;height:60px;background:#fff;z-index:111111111111;overflow-y:auto;font-size:13px;line-height:1.5;padding:5px 10px;font-family:Arial,"sans-serif";font-weight:500;border:2px solid rgb(245,28,143);border-radius:4px;resize:both;-webkit-user-select:auto;user-select:auto}.letscooee-engagement{z-index:0;position:relative}.letscooee-preview{border-radius:8px;overflow:hidden}.letscooee-preview:after{content:"";position:absolute;inset:0;border:2px dashed #f51c8f;z-index:1;border-radius:8px;pointer-events:none}.letscooee-preview-badge{position:absolute;top:4px;right:4px;padding:2px 8px;background:#f51c8f;color:#fff;border-radius:4px;font-size:12px;opacity:.8;line-height:1.2}#snackbar{visibility:hidden;color:#fff;background-color:#333;min-width:250px;margin-left:-125px;border-radius:2px;padding:16px;text-align:center;left:50%;bottom:30px;z-index:2147483647;position:fixed}#snackbar.show{visibility:visible;-webkit-animation:cooeeFadein .5s,cooeeFadeout .5s 2.5s;animation:cooeeFadein .5s,cooeeFadeout .5s 2.5s}@property --tw-font-weight{syntax: "*"; inherits: false;}
@@ -0,0 +1,8 @@
1
+ var Wa=Object.defineProperty,qa=Object.defineProperties;var Za=Object.getOwnPropertyDescriptors;var uo=Object.getOwnPropertySymbols;var Ya=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable;var lo=(e,t,n)=>t in e?Wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,z=(e,t)=>{for(var n in t||={})Ya.call(t,n)&&lo(e,n,t[n]);if(uo)for(var n of uo(t))Qa.call(t,n)&&lo(e,n,t[n]);return e},G=(e,t)=>qa(e,Za(t));function Ka(e,t){return Object.is(e,t)}var N=null,mt=!1,Mn=1,X=Symbol("SIGNAL");function w(e){let t=N;return N=e,t}function po(){return N}var yt={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,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ho(e){if(mt)throw new Error("");if(N===null)return;N.consumerOnSignalRead(e);let t=N.nextProducerIndex++;if(Dt(N),t<N.producerNode.length&&N.producerNode[t]!==e&&Ge(N)){let n=N.producerNode[t];vt(n,N.producerIndexOfThis[t])}N.producerNode[t]!==e&&(N.producerNode[t]=e,N.producerIndexOfThis[t]=Ge(N)?vo(e,N,t):0),N.producerLastReadVersion[t]=e.version}function Ja(){Mn++}function Xa(e){if(!(Ge(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Mn)){if(!e.producerMustRecompute(e)&&!Tn(e)){fo(e);return}e.producerRecomputeValue(e),fo(e)}}function go(e){if(e.liveConsumerNode===void 0)return;let t=mt;mt=!0;try{for(let n of e.liveConsumerNode)n.dirty||ec(n)}finally{mt=t}}function mo(){return N?.consumerAllowSignalWrites!==!1}function ec(e){e.dirty=!0,go(e),e.consumerMarkedDirty?.(e)}function fo(e){e.dirty=!1,e.lastCleanEpoch=Mn}function _n(e){return e&&(e.nextProducerIndex=0),w(e)}function yo(e,t){if(w(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Ge(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)vt(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Tn(e){Dt(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Xa(n),r!==n.version))return!0}return!1}function Sn(e){if(Dt(e),Ge(e))for(let t=0;t<e.producerNode.length;t++)vt(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function vo(e,t,n){if(Do(e),e.liveConsumerNode.length===0&&Eo(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=vo(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function vt(e,t){if(Do(e),e.liveConsumerNode.length===1&&Eo(e))for(let r=0;r<e.producerNode.length;r++)vt(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Dt(o),o.producerIndexOfThis[r]=t}}function Ge(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Dt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Do(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Eo(e){return e.producerNode!==void 0}function tc(){throw new Error}var Io=tc;function wo(){Io()}function Co(e){Io=e}var nc=null;function bo(e){let t=Object.create(_o);t.value=e;let n=()=>(ho(t),t.value);return n[X]=t,n}function Nn(e,t){mo()||wo(),e.equal(e.value,t)||(e.value=t,rc(e))}function Mo(e,t){mo()||wo(),Nn(e,t(e.value))}var _o=G(z({},yt),{equal:Ka,value:void 0,kind:"signal"});function rc(e){e.version++,Ja(),go(e),nc?.()}function m(e){return typeof e=="function"}function Et(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 It=Et(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function We(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var A=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(m(r))try{r()}catch(i){t=i instanceof It?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{To(i)}catch(s){t=t??[],s instanceof It?t=[...t,...s.errors]:t.push(s)}}if(t)throw new It(t)}}add(t){var n;if(t&&t!==this)if(this.closed)To(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)&&We(n,t)}remove(t){let{_finalizers:n}=this;n&&We(n,t),t instanceof e&&t._removeParent(this)}};A.EMPTY=(()=>{let e=new A;return e.closed=!0,e})();var xn=A.EMPTY;function wt(e){return e instanceof A||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function To(e){m(e)?e():e.unsubscribe()}var j={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Te={setTimeout(e,t,...n){let{delegate:r}=Te;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Te;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ct(e){Te.setTimeout(()=>{let{onUnhandledError:t}=j;if(t)t(e);else throw e})}function An(){}var So=Rn("C",void 0,void 0);function No(e){return Rn("E",void 0,e)}function xo(e){return Rn("N",e,void 0)}function Rn(e,t,n){return{kind:e,value:t,error:n}}var ve=null;function Se(e){if(j.useDeprecatedSynchronousErrorHandling){let t=!ve;if(t&&(ve={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ve;if(ve=null,n)throw r}}else e()}function Ao(e){j.useDeprecatedSynchronousErrorHandling&&ve&&(ve.errorThrown=!0,ve.error=e)}var De=class extends A{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,wt(t)&&t.add(this)):this.destination=sc}static create(t,n,r){return new Ne(t,n,r)}next(t){this.isStopped?Fn(xo(t),this):this._next(t)}error(t){this.isStopped?Fn(No(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Fn(So,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()}}},oc=Function.prototype.bind;function On(e,t){return oc.call(e,t)}var kn=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){bt(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){bt(r)}else bt(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){bt(n)}}},Ne=class extends De{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&j.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&On(t.next,i),error:t.error&&On(t.error,i),complete:t.complete&&On(t.complete,i)}):o=t}this.destination=new kn(o)}};function bt(e){j.useDeprecatedSynchronousErrorHandling?Ao(e):Ct(e)}function ic(e){throw e}function Fn(e,t){let{onStoppedNotification:n}=j;n&&Te.setTimeout(()=>n(e,t))}var sc={closed:!0,next:An,error:ic,complete:An};var xe=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Mt(e){return e}function Ro(e){return e.length===0?Mt:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{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=cc(n)?n:new Ne(n,r,o);return Se(()=>{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=Oo(r),new r((o,i)=>{let s=new Ne({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)}[xe](){return this}pipe(...n){return Ro(n)(this)}toPromise(n){return n=Oo(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 Oo(e){var t;return(t=e??j.Promise)!==null&&t!==void 0?t:Promise}function ac(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function cc(e){return e&&e instanceof De||ac(e)&&wt(e)}function uc(e){return m(e?.lift)}function W(e){return t=>{if(uc(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 Pn(e,t,n,r,o)}var Pn=class extends De{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 Fo=Et(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new _t(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Fo}next(n){Se(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Se(()=>{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(){Se(()=>{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?xn:(this.currentObservers=null,i.push(n),new A(()=>{this.currentObservers=null,We(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new _t(t,n),e})(),_t=class extends ee{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:xn}};var qe=class extends ee{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)}};var Ln={now(){return(Ln.delegate||Date).now()},delegate:void 0};var Ze=class extends ee{constructor(t=1/0,n=1/0,r=Ln){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var ko=new T(e=>e.complete());function Po(e){return e&&m(e.schedule)}function Lo(e){return e[e.length-1]}function jo(e){return Po(Lo(e))?e.pop():void 0}function Vo(e,t){return typeof Lo(e)=="number"?e.pop():t}function Ho(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(f){s(f)}}function c(l){try{u(r.throw(l))}catch(f){s(f)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Bo(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 Ee(e){return this instanceof Ee?(this.v=e,this):new Ee(e)}function $o(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(d){return function(M){return Promise.resolve(M).then(d,f)}}function a(d,M){r[d]&&(o[d]=function(_){return new Promise(function(gt,U){i.push([d,_,gt,U])>1||c(d,_)})},M&&(o[d]=M(o[d])))}function c(d,M){try{u(r[d](M))}catch(_){p(i[0][3],_)}}function u(d){d.value instanceof Ee?Promise.resolve(d.value.v).then(l,f):p(i[0][2],d)}function l(d){c("next",d)}function f(d){c("throw",d)}function p(d,M){d(M),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Uo(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 Bo=="function"?Bo(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 Tt=e=>e&&typeof e.length=="number"&&typeof e!="function";function St(e){return m(e?.then)}function Nt(e){return m(e[xe])}function xt(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function At(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 lc(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Rt=lc();function Ot(e){return m(e?.[Rt])}function Ft(e){return $o(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ee(n.read());if(o)return yield Ee(void 0);yield yield Ee(r)}}finally{n.releaseLock()}})}function kt(e){return m(e?.getReader)}function R(e){if(e instanceof T)return e;if(e!=null){if(Nt(e))return dc(e);if(Tt(e))return fc(e);if(St(e))return pc(e);if(xt(e))return zo(e);if(Ot(e))return hc(e);if(kt(e))return gc(e)}throw At(e)}function dc(e){return new T(t=>{let n=e[xe]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function fc(e){return new T(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function pc(e){return new T(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ct)})}function hc(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function zo(e){return new T(t=>{mc(e,t).catch(n=>t.error(n))})}function gc(e){return zo(Ft(e))}function mc(e,t){var n,r,o,i;return Ho(this,void 0,void 0,function*(){try{for(n=Uo(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 P(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 Pt(e,t=0){return W((n,r)=>{n.subscribe(q(r,o=>P(r,e,()=>r.next(o),t),()=>P(r,e,()=>r.complete(),t),o=>P(r,e,()=>r.error(o),t)))})}function Lt(e,t=0){return W((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Go(e,t){return R(e).pipe(Lt(t),Pt(t))}function Wo(e,t){return R(e).pipe(Lt(t),Pt(t))}function qo(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Zo(e,t){return new T(n=>{let r;return P(n,t,()=>{r=e[Rt](),P(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)}),()=>m(r?.return)&&r.return()})}function jt(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{P(n,t,()=>{let r=e[Symbol.asyncIterator]();P(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Yo(e,t){return jt(Ft(e),t)}function Qo(e,t){if(e!=null){if(Nt(e))return Go(e,t);if(Tt(e))return qo(e,t);if(St(e))return Wo(e,t);if(xt(e))return jt(e,t);if(Ot(e))return Zo(e,t);if(kt(e))return Yo(e,t)}throw At(e)}function Ko(e,t){return t?Qo(e,t):R(e)}function Ye(e,t){return W((n,r)=>{let o=0;n.subscribe(q(r,i=>{r.next(e.call(t,i,o++))}))})}function Jo(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,f=!1,p=()=>{f&&!c.length&&!u&&t.complete()},d=_=>u<r?M(_):c.push(_),M=_=>{i&&t.next(_),u++;let gt=!1;R(n(_,l++)).subscribe(q(t,U=>{o?.(U),i?d(U):t.next(U)},()=>{gt=!0},void 0,()=>{if(gt)try{for(u--;c.length&&u<r;){let U=c.shift();s?P(t,s,()=>M(U)):M(U)}p()}catch(U){t.error(U)}}))};return e.subscribe(q(t,d,()=>{f=!0,p()})),()=>{a?.()}}function jn(e,t,n=1/0){return m(t)?jn((r,o)=>Ye((i,s)=>t(r,i,o,s))(R(e(r,o))),n):(typeof t=="number"&&(n=t),W((r,o)=>Jo(r,o,e,n)))}function Xo(e=1/0){return jn(Mt,e)}function Vn(...e){let t=jo(e),n=Vo(e,1/0),r=e;return r.length?r.length===1?R(r[0]):Xo(n)(Ko(r,t)):ko}function Bn(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++;R(e(c,l)).subscribe(o=q(r,f=>r.next(t?t(c,f,l,u++):f),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var y=class extends Error{code;constructor(t,n){super(Mr(t,n)),this.code=t}};function Mr(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function yc(e){return{toString:e}.toString()}function b(e){for(let t in e)if(e[t]===b)return t;throw Error("Could not find renamed property on target object.")}function H(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(H).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function ei(e,t){return e?t?`${e} ${t}`:e:t||""}var vc=b({__forward_ref__:b});function Oi(e){return e.__forward_ref__=Oi,e.toString=function(){return H(this())},e}function B(e){return Dc(e)?e():e}function Dc(e){return typeof e=="function"&&e.hasOwnProperty(vc)&&e.__forward_ref__===Oi}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function _r(e){return ti(e,Fi)||ti(e,ki)}function ti(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ec(e){let t=e&&(e[Fi]||e[ki]);return t||null}function ni(e){return e&&(e.hasOwnProperty(ri)||e.hasOwnProperty(Ic))?e[ri]:null}var Fi=b({\u0275prov:b}),ri=b({\u0275inj:b}),ki=b({ngInjectableDef:b}),Ic=b({ngInjectorDef:b}),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 Pi(e){return e&&!!e.\u0275providers}var wc=b({\u0275cmp:b}),Cc=b({\u0275dir:b}),bc=b({\u0275pipe:b});var oi=b({\u0275fac:b}),Je=b({__NG_ELEMENT_ID__:b}),ii=b({__NG_ENV_ID__:b});function Mc(e){return typeof e=="string"?e:e==null?"":String(e)}function _c(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Mc(e)}function Tc(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new y(-200,e)}function Tr(e,t){throw new y(-201,!1)}var g=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}(g||{}),qn;function Li(){return qn}function L(e){let t=qn;return qn=e,t}function ji(e,t,n){let r=_r(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&g.Optional)return null;if(t!==void 0)return t;Tr(e,"Injector")}var Sc={},Xe=Sc,Nc="__NG_DI_FLAG__",zt="ngTempTokenPath",xc="ngTokenPath",Ac=/\n/gm,Rc="\u0275",si="__source",Fe;function Oc(){return Fe}function ne(e){let t=Fe;return Fe=e,t}function Fc(e,t=g.Default){if(Fe===void 0)throw new y(-203,!1);return Fe===null?ji(e,void 0,t):Fe.get(e,t&g.Optional?null:void 0,t)}function C(e,t=g.Default){return(Li()||Fc)(B(e),t)}function v(e,t=g.Default){return C(e,on(t))}function on(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Zn(e){let t=[];for(let n=0;n<e.length;n++){let r=B(e[n]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=g.Default;for(let s=0;s<r.length;s++){let a=r[s],c=kc(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(C(o,i))}else t.push(C(r))}return t}function kc(e){return e[Nc]}function Pc(e,t,n,r){let o=e[zt];throw t[si]&&o.unshift(t[si]),e.message=Lc(`
5
+ `+e.message,o,n,r),e[xc]=o,e[zt]=null,e}function Lc(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Rc?e.slice(2):e;let o=H(t);if(Array.isArray(t))o=t.map(H).join(" -> ");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):H(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ac,`
7
+ `)}`}function et(e,t){let n=e.hasOwnProperty(oi);return n?e[oi]:null}function Sr(e,t){e.forEach(n=>Array.isArray(n)?Sr(n,t):t(n))}function Vi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var Pe={},Le=[],tt=new D(""),Bi=new D("",-1),Hi=new D(""),Gt=class{get(t,n=Xe){if(n===Xe){let r=new Error(`NullInjectorError: No provider for ${H(t)}!`);throw r.name="NullInjectorError",r}return n}};function sn(e){return e[wc]||null}function $i(e){return e[Cc]||null}function Ui(e){return e[bc]||null}function jc(e){let t=sn(e)||$i(e)||Ui(e);return t!==null&&t.standalone}function zi(e){return{\u0275providers:e}}function Vc(...e){return{\u0275providers:Gi(!0,e),\u0275fromNgModule:!0}}function Gi(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Sr(t,s=>{let a=s;Yn(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Wi(o,i),n}function Wi(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Nr(o,i=>{t(i,r)})}}function Yn(e,t,n,r){if(e=B(e),!e)return!1;let o=null,i=ni(e),s=!i&&sn(e);if(!i&&!s){let c=e.ngModule;if(i=ni(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)Yn(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Sr(i.imports,l=>{Yn(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Wi(u,t)}if(!a){let u=et(o)||(()=>new o);t({provide:o,useFactory:u,deps:Le},o),t({provide:Hi,useValue:o,multi:!0},o),t({provide:tt,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Nr(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Nr(e,t){for(let n of e)Pi(n)&&(n=n.\u0275providers),Array.isArray(n)?Nr(n,t):t(n)}var Bc=b({provide:String,useValue:b});function qi(e){return e!==null&&typeof e=="object"&&Bc in e}function Hc(e){return!!(e&&e.useExisting)}function $c(e){return!!(e&&e.useFactory)}function Qn(e){return typeof e=="function"}var an=new D(""),Vt={},Uc={},Hn;function xr(){return Hn===void 0&&(Hn=new Gt),Hn}var Ce=class{},nt=class extends Ce{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,Jn(t,s=>this.processProvider(s)),this.records.set(Bi,Ae(void 0,this)),o.has("environment")&&this.records.set(Ce,Ae(void 0,this));let i=this.records.get(an);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Hi,Le,g.Self))}destroy(){Ke(this),this._destroyed=!0;let t=w(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(),w(t)}}onDestroy(t){return Ke(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ke(this);let n=ne(this),r=L(void 0),o;try{return t()}finally{ne(n),L(r)}}get(t,n=Xe,r=g.Default){if(Ke(this),t.hasOwnProperty(ii))return t[ii](this);r=on(r);let o,i=ne(this),s=L(void 0);try{if(!(r&g.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Yc(t)&&_r(t);u&&this.injectableDefInScope(u)?c=Ae(Kn(t),Vt):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&g.Self?xr():this.parent;return n=r&g.Optional&&n===Xe?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[zt]=a[zt]||[]).unshift(H(t)),i)throw a;return Pc(a,t,"R3InjectorError",this.source)}else throw a}finally{L(s),ne(i)}}resolveInjectorInitializers(){let t=w(null),n=ne(this),r=L(void 0),o;try{let i=this.get(tt,Le,g.Self);for(let s of i)s()}finally{ne(n),L(r),w(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(H(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=B(t);let n=Qn(t)?t:B(t&&t.provide),r=Gc(t);if(!Qn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ae(void 0,Vt,!0),o.factory=()=>Zn(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=w(null);try{return n.value===Vt&&(n.value=Uc,n.value=n.factory()),typeof n.value=="object"&&n.value&&Zc(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{w(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=B(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 Kn(e){let t=_r(e),n=t!==null?t.factory:et(e);if(n!==null)return n;if(e instanceof D)throw new y(204,!1);if(e instanceof Function)return zc(e);throw new y(204,!1)}function zc(e){if(e.length>0)throw new y(204,!1);let n=Ec(e);return n!==null?()=>n.factory(e):()=>new e}function Gc(e){if(qi(e))return Ae(void 0,e.useValue);{let t=Wc(e);return Ae(t,Vt)}}function Wc(e,t,n){let r;if(Qn(e)){let o=B(e);return et(o)||Kn(o)}else if(qi(e))r=()=>B(e.useValue);else if($c(e))r=()=>e.useFactory(...Zn(e.deps||[]));else if(Hc(e))r=()=>C(B(e.useExisting));else{let o=B(e&&(e.useClass||e.provide));if(qc(e))r=()=>new o(...Zn(e.deps));else return et(o)||Kn(o)}return r}function Ke(e){if(e.destroyed)throw new y(205,!1)}function Ae(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qc(e){return!!e.deps}function Zc(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Yc(e){return typeof e=="function"||typeof e=="object"&&e instanceof D}function Jn(e,t){for(let n of e)Array.isArray(n)?Jn(n,t):n&&Pi(n)?Jn(n.\u0275providers,t):t(n)}function Zi(e,t){e instanceof nt&&Ke(e);let n,r=ne(e),o=L(void 0);try{return t()}finally{ne(r),L(o)}}function Qc(){return Li()!==void 0||Oc()!=null}var ge=0,E=1,h=2,$=3,oe=4,me=5,Xn=6,ai=7,te=8,rt=9,se=10,ae=11,ot=12,ci=13,st=14,ce=15,Wt=16,Re=17,Ar=18,cn=19,Yi=20,ie=21,$n=22,qt=23,O=24,ue=25,Qi=1;var er=7,Kc=8,Zt=9,Ie=10;function we(e){return Array.isArray(e)&&typeof e[Qi]=="object"}function $e(e){return Array.isArray(e)&&e[Qi]===!0}function Ki(e){return(e.flags&4)!==0}function un(e){return e.componentOffset>-1}function Jc(e){return(e.flags&1)===1}function Ue(e){return!!e.template}function Yt(e){return(e[h]&512)!==0}function at(e){return(e[h]&256)===256}var tr=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ji(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Xc(e){return e.type.prototype.ngOnChanges&&(e.setInput=tu),eu}function eu(){let e=es(this),t=e?.current;if(t){let n=e.previous;if(n===Pe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function tu(e,t,n,r,o){let i=this.declaredInputs[r],s=es(e)||nu(e,{previous:Pe,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new tr(u&&u.currentValue,n,c===Pe),Ji(e,t,o,n)}var Xi="__ngSimpleChanges__";function es(e){return e[Xi]||null}function nu(e,t){return e[Xi]=t}var ui=null;var Z=function(e,t,n){ui?.(e,t,n)},ru="svg",ou="math";function ct(e){for(;Array.isArray(e);)e=e[ge];return e}function ze(e,t){return ct(t[e.index])}function iu(e,t){return e.data[t]}function je(e,t){let n=t[e];return we(n)?n:n[ge]}function Rr(e){return(e[h]&128)===128}function li(e,t){return t==null?null:e[t]}function ts(e){e[Re]=0}function Or(e){e[h]&1024||(e[h]|=1024,Rr(e)&&dn(e))}function ln(e){return!!(e[h]&9216||e[O]?.dirty)}function di(e){e[se].changeDetectionScheduler?.notify(9),e[h]&64&&(e[h]|=1024),ln(e)&&dn(e)}function dn(e){e[se].changeDetectionScheduler?.notify(0);let t=Ve(e);for(;t!==null&&!(t[h]&8192||(t[h]|=8192,!Rr(t)));)t=Ve(t)}function ns(e,t){if(at(e))throw new y(911,!1);e[ie]===null&&(e[ie]=[]),e[ie].push(t)}function su(e,t){if(e[ie]===null)return;let n=e[ie].indexOf(t);n!==-1&&e[ie].splice(n,1)}function Ve(e){let t=e[$];return $e(t)?t[$]:t}var I={lFrame:ls(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var nr=!1;function au(){return I.lFrame.elementDepthCount}function cu(){I.lFrame.elementDepthCount++}function uu(){I.lFrame.elementDepthCount--}function rs(){return I.bindingsEnabled}function lu(){return I.skipHydrationRootTNode!==null}function du(e){return I.skipHydrationRootTNode===e}function fu(){I.skipHydrationRootTNode=null}function le(){return I.lFrame.lView}function Fr(){return I.lFrame.tView}function ut(){let e=os();for(;e!==null&&e.type===64;)e=e.parent;return e}function os(){return I.lFrame.currentTNode}function pu(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function fn(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function is(){return I.lFrame.isParent}function hu(){I.lFrame.isParent=!1}function ss(){return nr}function fi(e){let t=nr;return nr=e,t}function gu(e){return I.lFrame.bindingIndex=e}function mu(){return I.lFrame.inI18n}function yu(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,rr(t)}function vu(){return I.lFrame.currentDirectiveIndex}function rr(e){I.lFrame.currentDirectiveIndex=e}function as(e){I.lFrame.currentQueryIndex=e}function Du(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[me]:null}function cs(e,t,n){if(n&g.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&g.Host);)if(o=Du(i),o===null||(i=i[st],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=us();return r.currentTNode=t,r.lView=e,!0}function kr(e){let t=us(),n=e[E];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function us(){let e=I.lFrame,t=e===null?null:e.child;return t===null?ls(e):t}function ls(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 ds(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var fs=ds;function Pr(){let e=ds();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 Eu(){return I.lFrame.selectedIndex}function be(e){I.lFrame.selectedIndex=e}function Iu(){return I.lFrame.currentNamespace}var ps=!0;function hs(){return ps}function gs(e){ps=e}function wu(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Xc(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 Cu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Bt(e,t,n){ms(e,t,3,n)}function Ht(e,t,n,r){(e[h]&3)===n&&ms(e,t,n,r)}function Un(e,t){let n=e[h];(n&3)===t&&(n&=16383,n+=1,e[h]=n)}function ms(e,t,n,r){let o=r!==void 0?e[Re]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Re]+=65536),(a<i||i==-1)&&(bu(e,n,t,c),e[Re]=(e[Re]&4294901760)+c+2),c++}function pi(e,t){Z(4,e,t);let n=w(null);try{t.call(e)}finally{w(n),Z(5,e,t)}}function bu(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[h]>>14<e[Re]>>16&&(e[h]&3)===t&&(e[h]+=16384,pi(a,i)):pi(a,i)}var ke=-1,it=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Mu(e){return e instanceof it}function _u(e){return(e.flags&8)!==0}function Tu(e){return(e.flags&16)!==0}function Su(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];xu(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Nu(e){return e===3||e===4||e===6}function xu(e){return e.charCodeAt(0)===64}function ys(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?hi(e,n,o,null,t[++r]):hi(e,n,o,null,null))}}return e}function hi(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var zn={},or=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=on(r);let o=this.injector.get(t,zn,r);return o!==zn||n===zn?o:this.parentInjector.get(t,n,r)}};function Au(e){return e!==ke}function ir(e){return e&32767}function Ru(e){return e>>16}function sr(e,t){let n=Ru(e),r=t;for(;n>0;)r=r[st],n--;return r}var ar=!0;function gi(e){let t=ar;return ar=e,t}var Ou=256,vs=Ou-1,Ds=5,Fu=0,Y={};function ku(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Je)&&(r=n[Je]),r==null&&(r=n[Je]=Fu++);let o=r&vs,i=1<<o;t.data[e+(o>>Ds)]|=i}function Es(e,t){let n=Is(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Gn(r.data,e),Gn(t,null),Gn(r.blueprint,null));let o=ws(e,t),i=e.injectorIndex;if(Au(o)){let s=ir(o),a=sr(o,t),c=a[E].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Gn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Is(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ws(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=Ts(o),r===null)return ke;if(n++,o=o[st],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ke}function Pu(e,t,n){ku(e,t,n)}function Cs(e,t,n){if(n&g.Optional||e!==void 0)return e;Tr(t,"NodeInjector")}function bs(e,t,n,r){if(n&g.Optional&&r===void 0&&(r=null),!(n&(g.Self|g.Host))){let o=e[rt],i=L(void 0);try{return o?o.get(t,r,n&g.Optional):ji(t,r,n&g.Optional)}finally{L(i)}}return Cs(r,t,n)}function Ms(e,t,n,r=g.Default,o){if(e!==null){if(t[h]&2048&&!(r&g.Self)){let s=Hu(e,t,n,r,Y);if(s!==Y)return s}let i=_s(e,t,n,r,Y);if(i!==Y)return i}return bs(t,n,r,o)}function _s(e,t,n,r,o){let i=Vu(n);if(typeof i=="function"){if(!cs(t,e,r))return r&g.Host?Cs(o,n,r):bs(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&g.Optional))Tr(n);else return s}finally{fs()}}else if(typeof i=="number"){let s=null,a=Is(e,t),c=ke,u=r&g.Host?t[ce][me]:null;for((a===-1||r&g.SkipSelf)&&(c=a===-1?ws(e,t):t[a+8],c===ke||!yi(r,!1)?a=-1:(s=t[E],a=ir(c),t=sr(c,t)));a!==-1;){let l=t[E];if(mi(i,a,l.data)){let f=Lu(a,t,n,s,r,u);if(f!==Y)return f}c=t[a+8],c!==ke&&yi(r,t[E].data[a+8]===u)&&mi(i,a,t)?(s=l,a=ir(c),t=sr(c,t)):a=-1}}return o}function Lu(e,t,n,r,o,i){let s=t[E],a=s.data[e+8],c=r==null?un(a)&&ar:r!=s&&(a.type&3)!==0,u=o&g.Host&&i===a,l=ju(a,s,n,c,u);return l!==null?cr(t,s,l,a):Y}function ju(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,f=r?a:a+l,p=o?a+l:u;for(let d=f;d<p;d++){let M=s[d];if(d<c&&n===M||d>=c&&M.type===n)return d}if(o){let d=s[c];if(d&&Ue(d)&&d.type===n)return c}return null}function cr(e,t,n,r){let o=e[n],i=t.data;if(Mu(o)){let s=o;s.resolving&&Tc(_c(i[n]));let a=gi(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?L(s.injectImpl):null,l=cs(e,r,g.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&wu(n,i[n],t)}finally{u!==null&&L(u),gi(a),s.resolving=!1,fs()}}return o}function Vu(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Je)?e[Je]:void 0;return typeof t=="number"?t>=0?t&vs:Bu:t}function mi(e,t,n){let r=1<<e;return!!(n[t+(e>>Ds)]&r)}function yi(e,t){return!(e&g.Self)&&!(e&g.Host&&t)}var Qt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ms(this._tNode,this._lView,t,on(r),n)}};function Bu(){return new Qt(ut(),le())}function Hu(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[h]&2048&&!Yt(s);){let a=_s(i,s,n,r|g.Self,Y);if(a!==Y)return a;let c=i.parent;if(!c){let u=s[Yi];if(u){let l=u.get(n,Y,r);if(l!==Y)return l}c=Ts(s),s=s[st]}i=c}return o}function Ts(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[me]:null}function vi(e,t=null,n=null,r){let o=$u(e,t,n,r);return o.resolveInjectorInitializers(),o}function $u(e,t=null,n=null,r,o=new Set){let i=[n||Le,Vc(e)];return r=r||(typeof e=="object"?void 0:H(e)),new nt(i,t||xr(),r||null,o)}var Q=class e{static THROW_IF_NOT_FOUND=Xe;static NULL=new Gt;static create(t,n){if(Array.isArray(t))return vi({name:""},n,t,"");{let r=t.name??"";return vi({name:r},t.parent,t.providers,r)}}static \u0275prov=S({token:e,providedIn:"any",factory:()=>C(Bi)});static __NG_ELEMENT_ID__=-1};var Uu=new D("");Uu.__NG_ELEMENT_ID__=e=>{let t=ut();if(t===null)throw new y(204,!1);if(t.type&2)return t.value;if(e&g.Optional)return null;throw new y(204,!1)};var Ss=!1,Ns=(()=>{class e{static __NG_ELEMENT_ID__=zu;static __NG_ENV_ID__=n=>n}return e})(),ur=class extends Ns{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return ns(this._lView,t),()=>su(this._lView,t)}};function zu(){return new ur(le())}var de=class{},pn=new D("",{providedIn:"root",factory:()=>!1});var xs=new D(""),Lr=new D(""),hn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new qe(!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 lr=class extends ee{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Qc()&&(this.destroyRef=v(Ns,{optional:!0})??void 0,this.pendingTasks=v(hn,{optional:!0})??void 0)}emit(t){let n=w(null);try{super.next(t)}finally{w(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 A&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},re=lr;function Kt(...e){}function As(e){let t,n;function r(){e=Kt;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 Di(e){return queueMicrotask(()=>e()),()=>{e=Kt}}var jr="isAngularZone",Jt=jr+"_ID",Gu=0,x=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new re(!1);onMicrotaskEmpty=new re(!1);onStable=new re(!1);onError=new re(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ss}=t;if(typeof Zone>"u")throw new y(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,Zu(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(jr)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(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,Wu,Kt,Kt);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)}},Wu={};function Vr(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 qu(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){As(()=>{e.callbackScheduled=!1,dr(e),e.isCheckStableRunning=!0,Vr(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),dr(e)}function Zu(e){let t=()=>{qu(e)},n=Gu++;e._inner=e._inner.fork({name:"angular",properties:{[jr]:!0,[Jt]:n,[Jt+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Yu(c))return r.invokeTask(i,s,a,c);try{return Ei(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ii(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Ei(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Qu(c)&&t(),Ii(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,dr(e),Vr(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 dr(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ei(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ii(e){e._nesting--,Vr(e)}var Xt=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new re;onMicrotaskEmpty=new re;onStable=new re;onError=new re;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 Yu(e){return Rs(e,"__ignore_ng_zone__")}function Qu(e){return Rs(e,"__scheduler_tick__")}function Rs(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var fe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ku=new D("",{providedIn:"root",factory:()=>{let e=v(x),t=v(fe);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Ju(){return Os(ut(),le())}function Os(e,t){return new gn(ze(e,t))}var gn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ju}return e})();var wi=new Set;function mn(e){wi.has(e)||(wi.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Fs(e,t){mn("NgSignals");let n=bo(e),r=n[X];return t?.equal&&(r.equal=t.equal),n.set=o=>Nn(r,o),n.update=o=>Mo(r,o),n.asReadonly=Xu.bind(n),n}function Xu(){let e=this[X];if(e.readonlyFn===void 0){let t=()=>this();t[X]=e,e.readonlyFn=t}return e.readonlyFn}function el(e){return(e.flags&128)===128}var ks=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ks||{}),Ps=new Map,tl=0;function nl(){return tl++}function rl(e){Ps.set(e[cn],e)}function fr(e){Ps.delete(e[cn])}var Ci="__ngContext__";function lt(e,t){we(t)?(e[Ci]=t[cn],rl(t)):e[Ci]=t}function Ls(e){return Vs(e[ot])}function js(e){return Vs(e[oe])}function Vs(e){for(;e!==null&&!$e(e);)e=e[oe];return e}var pr;function Bs(e){pr=e}function ol(){if(pr!==void 0)return pr;if(typeof document<"u")return document;throw new y(210,!1)}var Br=new D("",{providedIn:"root",factory:()=>il}),il="ng",Hr=new D(""),dt=new D("",{providedIn:"platform",factory:()=>"unknown"});var $r=new D("",{providedIn:"root",factory:()=>ol().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var sl="h",al="b";var Hs=!1,cl=new D("",{providedIn:"root",factory:()=>Hs});var $s=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}($s||{}),yn=new D("");var ul=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();var ll=()=>null;function Us(e,t,n=!1){return ll(e,t,n)}function zs(e,t){let n=e.contentQueries;if(n!==null){let r=w(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];as(i),a.contentQueries(2,t[s],s)}}}finally{w(r)}}}function hr(e,t,n){as(0);let r=w(null);try{t(e,n)}finally{w(r)}}function Gs(e,t,n){if(Ki(t)){let r=w(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{w(r)}}}var K=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(K||{});function dl(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Ws="ng-template";function fl(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&dl(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ur(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Ur(e){return e.type===4&&e.value!==Ws}function pl(e,t,n){let r=e.type===4&&!n?Ws:e.value;return t===r}function hl(e,t,n){let r=4,o=e.attrs,i=o!==null?yl(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!V(r)&&!V(c))return!1;if(s&&V(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!pl(e,c,n)||c===""&&t.length===1){if(V(r))return!1;s=!0}}else if(r&8){if(o===null||!fl(e,o,c,n)){if(V(r))return!1;s=!0}}else{let u=t[++a],l=gl(c,o,Ur(e),n);if(l===-1){if(V(r))return!1;s=!0;continue}if(u!==""){let f;if(l>i?f="":f=o[l+1].toLowerCase(),r&2&&u!==f){if(V(r))return!1;s=!0}}}}return V(r)||s}function V(e){return(e&1)===0}function gl(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return vl(t,e)}function ml(e,t,n=!1){for(let r=0;r<t.length;r++)if(hl(e,t[r],n))return!0;return!1}function yl(e){for(let t=0;t<e.length;t++){let n=e[t];if(Nu(n))return t}return e.length}function vl(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function bi(e,t){return e?":not("+t.trim()+")":t}function Dl(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!V(s)&&(t+=bi(i,o),o=""),r=s,i=i||!V(r);n++}return o!==""&&(t+=bi(i,o)),t}function El(e){return e.map(Dl).join(",")}function Il(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!V(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var qs={};function wl(e,t){return e.createText(t)}function Zs(e,t,n){return e.createElement(t,n)}function gr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ys(e,t,n){e.appendChild(t,n)}function Mi(e,t,n,r,o){r!==null?gr(e,t,n,r,o):Ys(e,t,n)}function Cl(e,t,n){e.removeChild(null,t,n)}function bl(e,t,n){e.setAttribute(t,"style",n)}function Ml(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Qs(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Su(e,t,r),o!==null&&Ml(e,t,o),i!==null&&bl(e,t,i)}function Ks(e,t,n,r,o,i,s,a,c,u,l){let f=ue+r,p=f+o,d=_l(f,p),M=typeof u=="function"?u():u;return d[E]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:M,incompleteFirstPass:!1,ssrId:l}}function _l(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:qs);return n}function Tl(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ks(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Js(e,t,n,r,o,i,s,a,c,u,l){let f=t.blueprint.slice();return f[ge]=o,f[h]=r|4|128|8|64|1024,(u!==null||e&&e[h]&2048)&&(f[h]|=2048),ts(f),f[$]=f[st]=e,f[te]=n,f[se]=s||e&&e[se],f[ae]=a||e&&e[ae],f[rt]=c||e&&e[rt]||null,f[me]=i,f[cn]=nl(),f[Xn]=l,f[Yi]=u,f[ce]=t.type==2?e[ce]:f,f}function Sl(e,t,n){let r=ze(t,e),o=Tl(n),i=e[se].rendererFactory,s=Nl(e,Js(e,o,null,Xs(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Xs(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ea(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Nl(e,t){return e[ot]?e[ci][oe]=t:e[ot]=t,e[ci]=t,t}function xl(e,t,n,r){if(!r)if((t[h]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Bt(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ht(t,i,0,n)}be(n)}var vn=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(vn||{});function ta(e,t,n,r){let o=w(null);try{let[i,s,a]=e.inputs[n],c=null;s&vn.SignalBased&&(c=t[i][X]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Ji(t,c,i,r)}finally{w(o)}}function na(e,t,n,r,o){let i=Eu(),s=r&2;try{be(-1),s&&t.length>ue&&xl(e,t,ue,!1),Z(s?2:0,o),n(r,o)}finally{be(i),Z(s?3:1,o)}}function Al(e,t,n){rs()&&(lt(ze(n,t),t),ra(e,t,n))}function ra(e,t,n){Pl(e,t,n),(n.flags&64)===64&&Ll(e,t,n)}function Rl(e,t,n=ze){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Ol(e,t,n,r){let i=r.get(cl,Hs)||n===K.ShadowDom,s=e.selectRootElement(t,i);return Fl(s),s}function Fl(e){kl(e)}var kl=()=>null;function Pl(e,t,n){let r=n.directiveStart,o=n.directiveEnd;un(n)&&Sl(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Es(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=cr(t,e,s,n);if(lt(c,t),i!==null&&Bl(t,s-r,c,a,n,i),Ue(a)){let u=je(n.index,t);u[te]=cr(t,e,s,n)}}}function Ll(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=vu();try{be(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];rr(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&jl(c,u)}}finally{be(-1),rr(s)}}function jl(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Vl(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];ml(t,i.selectors,!1)&&(r??=[],Ue(i)?r.unshift(i):r.push(i))}return r}function Bl(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];ta(r,n,c,u)}}function Hl(e,t){let n=e[rt],r=n?n.get(fe,null):null;r&&r.handleError(t)}function oa(e,t,n,r,o){for(let i=0;i<n.length;i+=2){let s=n[i],a=n[i+1],c=t[s],u=e.data[s];ta(u,c,a,o)}}function $l(e,t){let n=je(t,e),r=n[E];Ul(r,n);let o=n[ge];o!==null&&n[Xn]===null&&(n[Xn]=Us(o,n[rt])),ia(r,n,n[te])}function Ul(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ia(e,t,n){kr(t);try{let r=e.viewQuery;r!==null&&hr(1,r,n);let o=e.template;o!==null&&na(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ar]?.finishViewCreation(e),e.staticContentQueries&&zs(e,t),e.staticViewQueries&&hr(2,e.viewQuery,n);let i=e.components;i!==null&&zl(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[h]&=-5,Pr()}}function zl(e,t){for(let n=0;n<t.length;n++)$l(e,t[n])}var Gl;function sa(e,t){return Gl(e,t)}var Me=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Me||{});function aa(e){return(e.flags&32)===32}function Oe(e,t,n,r,o){if(r!=null){let i,s=!1;$e(r)?i=r:we(r)&&(s=!0,r=r[ge]);let a=ct(r);e===0&&n!==null?o==null?Ys(t,n,a):gr(t,n,a,o||null,!0):e===1&&n!==null?gr(t,n,a,o||null,!0):e===2?Cl(t,a,s):e===3&&t.destroyNode(a),i!=null&&od(t,e,i,n,o)}}function Wl(e,t){ca(e,t),t[ge]=null,t[me]=null}function ca(e,t){t[se].changeDetectionScheduler?.notify(10),Wr(e,t,t[ae],2,null,null)}function ql(e){let t=e[ot];if(!t)return Wn(e[E],e);for(;t;){let n=null;if(we(t))n=t[ot];else{let r=t[Ie];r&&(n=r)}if(!n){for(;t&&!t[oe]&&t!==e;)we(t)&&Wn(t[E],t),t=t[$];t===null&&(t=e),we(t)&&Wn(t[E],t),n=t&&t[oe]}t=n}}function zr(e,t){let n=e[Zt],r=n.indexOf(t);n.splice(r,1)}function Zl(e,t){if(at(t))return;let n=t[ae];n.destroyNode&&Wr(e,t,n,3,null,null),ql(t)}function Wn(e,t){if(at(t))return;let n=w(null);try{t[h]&=-129,t[h]|=256,t[O]&&Sn(t[O]),Ql(e,t),Yl(e,t),t[E].type===1&&t[ae].destroy();let r=t[Wt];if(r!==null&&$e(t[$])){r!==t[$]&&zr(r,t);let o=t[Ar];o!==null&&o.detachView(e)}fr(t)}finally{w(n)}}function Yl(e,t){let n=e.cleanup,r=t[ai];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[ai]=null);let o=t[ie];if(o!==null){t[ie]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[qt];if(i!==null){t[qt]=null;for(let s of i)s.destroy()}}function Ql(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof it)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Z(4,a,c);try{c.call(a)}finally{Z(5,a,c)}}else{Z(4,o,i);try{i.call(o)}finally{Z(5,o,i)}}}}}function Kl(e,t,n){return Jl(e,t.parent,n)}function Jl(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ge];if(un(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===K.None||o===K.Emulated)return null}return ze(r,n)}function Xl(e,t,n){return td(e,t,n)}function ed(e,t,n){return e.type&40?ze(e,n):null}var td=ed,_i;function ua(e,t,n,r){let o=Kl(e,r,t),i=t[ae],s=r.parent||t[me],a=Xl(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Mi(i,o,n[c],a,!1);else Mi(i,o,n,a,!1);_i!==void 0&&_i(i,r,t,n,o)}function nd(e,t){if(t!==null){let r=e[ce][me],o=t.projection;return r.projection[o]}return null}function Gr(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&lt(ct(a),r),n.flags|=2),!aa(n))if(c&8)Gr(e,t,n.child,r,o,i,!1),Oe(t,e,o,a,i);else if(c&32){let u=sa(n,r),l;for(;l=u();)Oe(t,e,o,l,i);Oe(t,e,o,a,i)}else c&16?rd(e,t,r,n,o,i):Oe(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Wr(e,t,n,r,o,i){Gr(n,r,e.firstChild,t,o,i,!1)}function rd(e,t,n,r,o,i){let s=n[ce],c=s[me].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Oe(t,e,o,l,i)}else{let u=c,l=s[$];el(r)&&(u.flags|=128),Gr(e,t,u,l,o,i,!0)}}function od(e,t,n,r,o){let i=n[er],s=ct(n);i!==s&&Oe(t,e,r,i,o);for(let a=Ie;a<n.length;a++){let c=n[a];Wr(c[E],c,e,t,r,i)}}function en(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ct(i)),$e(i)&&id(i,r);let s=n.type;if(s&8)en(e,t,n.child,r);else if(s&32){let a=sa(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=nd(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ve(t[ce]);en(c[E],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function id(e,t){for(let n=Ie;n<e.length;n++){let r=e[n],o=r[E].firstChild;o!==null&&en(r[E],r,o,t)}e[er]!==e[ge]&&t.push(e[er])}var la=[];function sd(e){return e[O]??ad(e)}function ad(e){let t=la.pop()??Object.create(ud);return t.lView=e,t}function cd(e){e.lView[O]!==e&&(e.lView=null,la.push(e))}var ud=G(z({},yt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{dn(e.lView)},consumerOnSignalRead(){this.lView[O]=this}});function ld(e){let t=e[O]??Object.create(dd);return t.lView=e,t}var dd=G(z({},yt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ve(e.lView);for(;t&&!da(t[E]);)t=Ve(t);t&&Or(t)},consumerOnSignalRead(){this.lView[O]=this}});function da(e){return e.type!==2}function fa(e){if(e[qt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[qt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[h]&8192)}}var fd=100;function pa(e,t=!0,n=0){let o=e[se].rendererFactory,i=!1;i||o.begin?.();try{pd(e,n)}catch(s){throw t&&Hl(e,s),s}finally{i||o.end?.()}}function pd(e,t){let n=ss();try{fi(!0),mr(e,t);let r=0;for(;ln(e);){if(r===fd)throw new y(103,!1);r++,mr(e,1)}}finally{fi(n)}}function hd(e,t,n,r){if(at(t))return;let o=t[h],i=!1,s=!1;kr(t);let a=!0,c=null,u=null;i||(da(e)?(u=sd(t),c=_n(u)):po()===null?(a=!1,u=ld(t),c=_n(u)):t[O]&&(Sn(t[O]),t[O]=null));try{ts(t),gu(e.bindingStartIndex),n!==null&&na(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let d=e.preOrderCheckHooks;d!==null&&Bt(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Ht(t,d,0,null),Un(t,0)}if(s||gd(t),fa(t),ha(t,0),e.contentQueries!==null&&zs(e,t),!i)if(l){let d=e.contentCheckHooks;d!==null&&Bt(t,d)}else{let d=e.contentHooks;d!==null&&Ht(t,d,1),Un(t,1)}yd(e,t);let f=e.components;f!==null&&ma(t,f,0);let p=e.viewQuery;if(p!==null&&hr(2,p,r),!i)if(l){let d=e.viewCheckHooks;d!==null&&Bt(t,d)}else{let d=e.viewHooks;d!==null&&Ht(t,d,2),Un(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[$n]){for(let d of t[$n])d();t[$n]=null}i||(t[h]&=-73)}catch(l){throw i||dn(t),l}finally{u!==null&&(yo(u,c),a&&cd(u)),Pr()}}function ha(e,t){for(let n=Ls(e);n!==null;n=js(n))for(let r=Ie;r<n.length;r++){let o=n[r];ga(o,t)}}function gd(e){for(let t=Ls(e);t!==null;t=js(t)){if(!(t[h]&2))continue;let n=t[Zt];for(let r=0;r<n.length;r++){let o=n[r];Or(o)}}}function md(e,t,n){let r=je(t,e);ga(r,n)}function ga(e,t){Rr(e)&&mr(e,t)}function mr(e,t){let r=e[E],o=e[h],i=e[O],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Tn(i)),s||=!1,i&&(i.dirty=!1),e[h]&=-9217,s)hd(r,e,r.template,e[te]);else if(o&8192){fa(e),ha(e,1);let a=r.components;a!==null&&ma(e,a,1)}}function ma(e,t,n){for(let r=0;r<t.length;r++)md(e,t[r],n)}function yd(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)be(~o);else{let i=o,s=n[++r],a=n[++r];yu(s,i);let c=t[i];Z(24,c),a(2,c),Z(25,c)}}}finally{be(-1)}}function ya(e,t){let n=ss()?64:1088;for(e[se].changeDetectionScheduler?.notify(t);e;){e[h]|=n;let r=Ve(e);if(Yt(e)&&!r)return e;e=r}return null}function vd(e,t){if(e.length<=Ie)return;let n=Ie+t,r=e[n];if(r){let o=r[Wt];o!==null&&o!==e&&zr(o,r),t>0&&(e[n-1][oe]=r[oe]);let i=Vi(e,Ie+t);Wl(r[E],r);let s=i[Ar];s!==null&&s.detachView(i[E]),r[$]=null,r[oe]=null,r[h]&=-129}return r}function Dd(e,t){let n=e[Zt],r=t[$];if(we(r))e[h]|=2;else{let o=r[$][ce];t[ce]!==o&&(e[h]|=2)}n===null?e[Zt]=[t]:n.push(t)}var yr=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[E];return en(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[te]}get dirty(){return!!(this._lView[h]&9280)||!!this._lView[O]?.dirty}set context(t){this._lView[te]=t}get destroyed(){return at(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if($e(t)){let n=t[Kc],r=n?n.indexOf(this):-1;r>-1&&(vd(t,r),Vi(n,r))}this._attachedToViewContainer=!1}Zl(this._lView[E],this._lView)}onDestroy(t){ns(this._lView,t)}markForCheck(){ya(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Or(this._cdRefInjectingView||this._lView)}detach(){this._lView[h]&=-129}reattach(){di(this._lView),this._lView[h]|=128}detectChanges(){this._lView[h]|=1024,pa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Yt(this._lView),n=this._lView[Wt];n!==null&&!t&&zr(n,this._lView),ca(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t;let n=Yt(this._lView),r=this._lView[Wt];r!==null&&!n&&Dd(r,this._lView),di(this._lView)}};function va(e,t,n,r,o){let i=e.data[t];if(i===null)i=Ed(e,t,n,r,o),mu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=pu();i.injectorIndex=s===null?-1:s.injectorIndex}return fn(i,!0),i}function Ed(e,t,n,r,o){let i=os(),s=is(),a=s?i:i&&i.parent,c=e.data[t]=wd(e,a,n,t,r,o);return Id(e,c,i,s),c}function Id(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function wd(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return lu()&&(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}}var Mm=new RegExp(`^(\\d+)*(${al}|${sl})*(.*)`);var vr=class{},tn=class{},Dr=class{resolveComponentFactory(t){throw Error(`No component factory found for ${H(t)}.`)}},pe=class{static NULL=new Dr},Be=class{};var Cd=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();function Ti(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=ei(o,a);else if(i==2){let c=a,u=t[++s];r=ei(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function qr(e,t=g.Default){let n=le();if(n===null)return C(e,t);let r=ut();return Ms(r,n,B(e),t)}function bd(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let[a,c]=_d(e,n,s);Sd(e,t,n,a,i,c)}i!==null&&r!==null&&Md(n,r,i)}function Md(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new y(-301,!1);r.push(t[o],i)}}function _d(e,t,n){let r=[],o=null;for(let i of n)i.findHostDirectiveDefs!==null&&(o??=new Map,i.findHostDirectiveDefs(i,r,o)),Ue(i)&&(r.push(i),Td(e,t,r.length-1));return un(t)?r.push(...n.slice(1)):r.push(...n),[r,o]}function Td(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Sd(e,t,n,r,o,i){for(let u=0;u<r.length;u++)Pu(Es(n,t),e,r[u].type);kd(n,e.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=ea(e,t,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=ys(n.mergedAttrs,l.hostAttrs),Ad(e,n,t,c,l),Fd(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let f=l.type.prototype;!s&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}Nd(e,n,i)}function Nd(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;l<o;l++){let f=i[l],p=n?n.get(f):null,d=p?p.inputs:null,M=p?p.outputs:null;c=Si(0,f.inputs,l,c,d),u=Si(1,f.outputs,l,u,M);let _=c!==null&&s!==null&&!Ur(t)?xd(c,l,s):null;a.push(_)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=u}function Si(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=i;if(o!==null){if(!o.hasOwnProperty(i))continue;a=o[i]}e===0?Ni(r,n,a,i):Ni(r,n,a,s)}return r}function Ni(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function xd(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){let s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r??=[],r.push(s[a+1],n[o+1]);break}}o+=2}return r}function Ad(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=et(o.type,!0)),s=new it(i,Ue(o),qr);e.blueprint[r]=s,n[r]=s,Rd(e,t,r,ea(e,n,o.hostVars,qs),o)}function Rd(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Od(s)!=a&&s.push(a),s.push(n,r,i)}}function Od(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Fd(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ue(t)&&(n[""]=e)}}function kd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Da(e,t,n,r,o,i,s,a){let c=t.consts,u=li(c,s),l=va(t,e,2,r,u);return i&&bd(t,n,l,li(c,a),o),l.mergedAttrs=ys(l.mergedAttrs,l.attrs),l.attrs!==null&&Ti(l,l.attrs,!1),l.mergedAttrs!==null&&Ti(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function Ea(e,t){Cu(e,t),Ki(t)&&e.queries.elementEnd(t)}var Er=class extends pe{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=sn(t);return new Ir(n,this.ngModule)}};function Pd(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&vn.SignalBased)!==0};return o&&(i.transform=o),i})}function Ld(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function jd(e,t,n){let r=t instanceof Ce?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new or(n,r):n}function Vd(e){let t=e.get(Be,null);if(t===null)throw new y(407,!1);let n=e.get(Cd,null),r=e.get(de,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Bd(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Zs(t,n,n==="svg"?ru:n==="math"?ou:null)}var Ir=class extends tn{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return Pd(this.componentDef.inputs)}get outputs(){return Ld(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=El(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){let i=w(null);try{let s=this.componentDef,a=r?["ng-version","19.1.7"]:Il(this.componentDef.selectors[0]),c=Ks(0,null,null,1,0,null,null,null,null,[a],null),u=jd(s,o||this.ngModule,t),l=Vd(u),f=l.rendererFactory.createRenderer(null,s),p=r?Ol(f,r,s.encapsulation,u):Bd(s,f),d=Js(null,c,null,512|Xs(s),null,null,l,f,u,null,Us(p,u,!0));d[ue]=p,kr(d);let M=null;try{let _=Da(ue,c,d,"#host",()=>[this.componentDef],!0,0);p&&(Qs(f,p,_),lt(p,d)),ra(c,d,_),Gs(c,_,d),Ea(c,_),n!==void 0&&Hd(_,this.ngContentSelectors,n),M=je(_.index,d),d[te]=M[te],ia(c,d,null)}catch(_){throw M!==null&&fr(M),fr(d),_}finally{Pr()}return new wr(this.componentType,d)}finally{w(i)}}},wr=class extends vr{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=iu(n[E],ue),this.location=Os(this._tNode,n),this.instance=je(this._tNode.index,n)[te],this.hostView=this.changeDetectorRef=new yr(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;oa(i[E],i,o,t,n),this.previousInputValues.set(t,n);let s=je(this._tNode.index,i);ya(s,1)}}get injector(){return new Qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Hd(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var He=class{};var nn=class extends He{injector;componentFactoryResolver=new Er(this);instance=null;constructor(t){super();let n=new nt([...t.providers,{provide:He,useValue:this},{provide:pe,useValue:this.componentFactoryResolver}],t.parent||xr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function $d(e,t,n=null){return new nn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Ud=(()=>{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=Gi(!1,n.type),o=r.length>0?$d([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(C(Ce))})}return e})();function Ia(e){return yc(()=>{let t=Zd(e),n=G(z({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ks.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Ud).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||K.Emulated,styles:e.styles||Le,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&mn("NgStandalone"),Yd(n);let r=e.dependencies;return n.directiveDefs=xi(r,!1),n.pipeDefs=xi(r,!0),n.id=Qd(n),n})}function zd(e){return sn(e)||$i(e)}function Gd(e){return e!==null}function Wd(e,t){if(e==null)return Pe;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=vn.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function qd(e){if(e==null)return Pe;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Zd(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,inputConfig:e.inputs||Pe,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Le,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Wd(e.inputs,t),outputs:qd(e.outputs),debugInfo:null}}function Yd(e){e.features?.forEach(t=>t(e))}function xi(e,t){if(!e)return null;let n=t?Ui:zd;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Gd)}function Qd(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var wa=new D("");function Zr(e){return!!e&&typeof e.then=="function"}function Ca(e){return!!e&&typeof e.subscribe=="function"}var Kd=new D("");var ba=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=v(Kd,{optional:!0})??[];injector=v(Q);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Zi(this.injector,o);if(Zr(i))n.push(i);else if(Ca(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})(),Jd=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new Cr})}return e})(),Cr=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}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()}},Xd=new D("");function ef(){Co(()=>{throw new y(600,!1)})}function tf(e){return e.isBoundToModule}var nf=10;var he=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=v(Ku);afterRenderManager=v(ul);zonelessEnabled=v(pn);rootEffectScheduler=v(Jd);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ee;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=v(hn).hasPendingTasks.pipe(Ye(n=>!n));constructor(){v(yn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=v(Ce);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof tn;if(!this._injector.get(ba).done){let p=!o&&jc(n),d=!1;throw new y(405,d)}let s;o?s=n:s=this._injector.get(pe).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=tf(s)?void 0:this._injector.get(He),c=r||s.selector,u=s.create(Q.NULL,[],c,a),l=u.location.nativeElement,f=u.injector.get(wa,null);return f?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),$t(this.components,u),f?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run($s.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new y(101,!1);let n=w(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,w(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Be,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<nf;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)rf(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ln(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;$t(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Xd,[]).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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>$t(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $t(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function rf(e,t,n,r){if(!n&&!ln(e))return;pa(e,t,n&&!r?0:1)}function Ai(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";oa(e,n,i[s],s,r)}function F(e,t,n,r){let o=le(),i=Fr(),s=ue+e,a=o[ae],c=i.firstCreatePass?Da(s,i,o,t,Vl,rs(),n,r):i.data[s],u=of(i,o,c,a,t,e);o[s]=u;let l=Jc(c);return fn(c,!0),Qs(a,u,c),!aa(c)&&hs()&&ua(i,o,u,c),au()===0&&lt(u,o),cu(),l&&(Al(i,o,c),Gs(i,c,o)),r!==null&&Rl(o,c),F}function k(){let e=ut();is()?hu():(e=e.parent,fn(e,!1));let t=e;du(t)&&fu(),uu();let n=Fr();return n.firstCreatePass&&Ea(n,t),t.classesWithoutHost!=null&&_u(t)&&Ai(n,t,le(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Tu(t)&&Ai(n,t,le(),t.stylesWithoutHost,!1),k}function _e(e,t,n,r){return F(e,t,n,r),k(),_e}var of=(e,t,n,r,o,i)=>(gs(!0),Zs(r,o,Iu()));var rn="en-US";var sf=rn;function af(e){typeof e=="string"&&(sf=e.toLowerCase().replace(/_/g,"-"))}function J(e,t=""){let n=le(),r=Fr(),o=e+ue,i=r.firstCreatePass?va(r,o,1,t,null):r.data[o],s=cf(r,n,i,t,e);n[o]=s,hs()&&ua(r,n,s,i),fn(i,!1)}var cf=(e,t,n,r,o)=>(gs(!0),wl(t[ae],r));var uf=(()=>{class e{zone=v(x);changeDetectionScheduler=v(de);applicationRef=v(he);_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 lf({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new x(G(z({},df()),{scheduleInRootZone:n})),[{provide:x,useFactory:e},{provide:tt,multi:!0,useFactory:()=>{let r=v(uf,{optional:!0});return()=>r.initialize()}},{provide:tt,multi:!0,useFactory:()=>{let r=v(ff);return()=>{r.initialize()}}},t===!0?{provide:xs,useValue:!0}:[],{provide:Lr,useValue:n??Ss}]}function df(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ff=(()=>{class e{subscription=new A;initialized=!1;zone=v(x);pendingTasks=v(hn);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(()=>{x.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{x.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 Ma=(()=>{class e{appRef=v(he);taskService=v(hn);ngZone=v(x);zonelessEnabled=v(pn);tracing=v(yn,{optional:!0});disableScheduling=v(xs,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new A;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Jt):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(v(Lr,{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 Xt||!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.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Di:As;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(Jt+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,Di(()=>{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 _a(){return mn("NgZoneless"),zi([{provide:de,useExisting:Ma},{provide:x,useClass:Xt},{provide:pn,useValue:!0},{provide:Lr,useValue:!1},[]])}function pf(){return typeof $localize<"u"&&$localize.locale||rn}var Yr=new D("",{providedIn:"root",factory:()=>v(Yr,g.Optional|g.SkipSelf)||pf()});var br=new D(""),hf=new D("");function Qe(e){return!e.moduleRef}function gf(e){let t=Qe(e)?e.r3Injector:e.moduleRef.injector,n=t.get(x);return n.run(()=>{Qe(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(fe,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Qe(e)){let i=()=>t.destroy(),s=e.platformInjector.get(br);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(br);s.add(i),e.moduleRef.onDestroy(()=>{$t(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return yf(r,n,()=>{let i=t.get(ba);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Yr,rn);if(af(s||rn),!t.get(hf,!0))return Qe(e)?t.get(he):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Qe(e)){let c=t.get(he);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return mf(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function mf(e,t){let n=e.injector.get(he);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new y(-403,!1);t.push(e)}function yf(e,t,n){try{let r=n();return Zr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ut=null;function vf(e=[],t){return Q.create({name:t,providers:[{provide:an,useValue:"platform"},{provide:br,useValue:new Set([()=>Ut=null])},...e]})}function Df(e=[]){if(Ut)return Ut;let t=vf(e);return Ut=t,ef(),Ef(t),t}function Ef(e){let t=e.get(Hr,null);Zi(e,()=>{t?.forEach(n=>n())})}function Ta(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Df(r),i=[lf({}),{provide:de,useExisting:Ma},...n||[]],s=new nn({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return gf({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}var Ri=class{[X];constructor(t){this[X]=t}destroy(){this[X].destroy()}};var If={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function wf(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Cf(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Qr;function bf(e,t){if(!Qr){let n=Element.prototype;Qr=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Qr.call(e,t):!1}function Mf(e){let t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[wf(r)]=[n,o]}),t}function _f(e,t){return t.get(pe).resolveComponentFactory(e).inputs}function Tf(e,t){let n=e.childNodes,r=t.map(()=>[]),o=-1;t.some((i,s)=>i==="*"?(o=s,!0):!1);for(let i=0,s=n.length;i<s;++i){let a=n[i],c=Sf(a,t,o);c!==-1&&r[c].push(a)}return r}function Sf(e,t,n){let r=n;return Cf(e)&&t.some((o,i)=>o!=="*"&&bf(e,o)?(r=i,!0):!1),r}var Nf=10,Kr=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(pe).resolveComponentFactory(t);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new Jr(this.componentFactory,t,this.inputMap)}},Jr=class{componentFactory;injector;inputMap;eventEmitters=new Ze(1);events=this.eventEmitters.pipe(Bn(t=>Vn(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,r){this.componentFactory=t,this.injector=n,this.inputMap=r,this.ngZone=this.injector.get(x),this.appRef=this.injector.get(he),this.cdScheduler=n.get(de),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=If.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},Nf))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(t){let n=Q.create({providers:[],parent:this.injector}),r=Tf(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>{let i=t.instance[r];return new T(s=>{let a=i.subscribe(c=>s.next({name:o,value:c}));return()=>a.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Xr=class extends HTMLElement{ngElementEventsSubscription=null};function xa(e,t){let n=_f(e,t.injector),r=t.strategyFactory||new Kr(e,t.injector),o=Mf(n);class i extends Xr{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:c,transform:u})=>{if(!this.hasOwnProperty(c))return;let l=this[c];delete this[c],a.setInputValue(c,l,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,u,l){let[f,p]=o[a];this.ngElementStrategy.setInputValue(f,u,p)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),i}var Aa=null;function eo(){return Aa}function Ra(e){Aa??=e}var Dn=class{};var ye=new D("");function Oa(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 Fa="browser",Af="server";function to(e){return e===Af}var En=class{};var ro=class extends Dn{supportsDOMEvents=!0},oo=class e extends ro{static makeCurrent(){Ra(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}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=Rf();return n==null?null:Of(n)}resetBaseElement(){ft=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Oa(document.cookie,t)}},ft=null;function Rf(){return ft=ft||document.querySelector("base"),ft?ft.getAttribute("href"):null}function Of(e){return new URL(e,document.baseURI).pathname}var Ff=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),io=new D(""),Ba=(()=>{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,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}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 y(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(C(io),C(x))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),wn=class{_doc;constructor(t){this._doc=t}manager},In="ng-app-id";function ka(e){for(let t of e)t.remove()}function Pa(e,t){let n=t.createElement("style");return n.textContent=e,n}function kf(e,t,n,r){let o=e.head?.querySelectorAll(`style[${In}="${t}"],link[${In}="${t}"]`);if(o)for(let i of o)i.removeAttribute(In),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function so(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Ha=(()=>{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=to(i),kf(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Pa);r?.forEach(o=>this.addUsage(o,this.external,so))}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&&(ka(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])ka(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Pa(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,so(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(In,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(ye),C(Br),C($r,8),C(dt))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),no={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"},co=/%COMP%/g;var $a="%COMP%",Pf=`_nghost-${$a}`,Lf=`_ngcontent-${$a}`,jf=!0,Vf=new D("",{providedIn:"root",factory:()=>jf});function Bf(e){return Lf.replace(co,e)}function Hf(e){return Pf.replace(co,e)}function Ua(e,t){return t.map(n=>n.replace(co,e))}var La=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=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.tracingService=l,this.platformIsServer=to(a),this.defaultRenderer=new pt(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===K.ShadowDom&&(r=G(z({},r),{encapsulation:K.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Cn?o.applyToHost(n):o instanceof ht&&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,f=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case K.Emulated:i=new Cn(c,u,r,this.appId,l,s,a,f,p);break;case K.ShadowDom:return new ao(c,u,n,r,s,a,this.nonce,f,p);default:i=new ht(c,u,r,l,s,a,f,p);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(C(Ba),C(Ha),C(Br),C(Vf),C(ye),C(dt),C(x),C($r),C(yn,8))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),pt=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(no[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(ja(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(ja(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 y(-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=no[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=no[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&(Me.DashCase|Me.Important)?t.style.setProperty(n,r,o&Me.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Me.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,o){if(typeof t=="string"&&(t=eo().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);let i=this.decoratePreventDefault(r);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function ja(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ao=class extends pt{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=Ua(o.id,l);for(let p of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=p,this.shadowRoot.appendChild(d)}let f=o.getExternalStyles?.();if(f)for(let p of f){let d=so(p,i);a&&d.setAttribute("nonce",a),this.shadowRoot.appendChild(d)}}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)}},ht=class extends pt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?Ua(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Cn=class extends ht{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=Bf(l),this.hostAttr=Hf(l)}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}},$f=(()=>{class e extends wn{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(ye))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Va=["alt","control","meta","shift"],Uf={"\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"},zf={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Gf=(()=>{class e extends wn{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>eo().onAndCancel(n,s.domEventName,a,i))}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."),Va.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=Uf[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"),Va.forEach(s=>{if(s!==o){let a=zf[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)(C(ye))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function za(e){return Ta(Wf(e))}function Wf(e){return{appProviders:[...Kf,...e?.providers??[]],platformProviders:Qf}}function qf(){oo.makeCurrent()}function Zf(){return new fe}function Yf(){return Bs(document),document}var Qf=[{provide:dt,useValue:Fa},{provide:Hr,useValue:qf,multi:!0},{provide:ye,useFactory:Yf,deps:[]}];var Kf=[{provide:an,useValue:"root"},{provide:fe,useFactory:Zf,deps:[]},{provide:io,useClass:$f,multi:!0,deps:[ye]},{provide:io,useClass:Gf,multi:!0,deps:[ye]},La,Ha,Ba,{provide:Be,useExisting:La},{provide:En,useClass:Ff,deps:[]},[]];var Ga={providers:[_a()]};var bn=class e{constructor(t){this.elementRef=t;this.elementRef.nativeElement.update=this.update.bind(this)}_engagementTrigger=Fs(null);set engagementTrigger(t){this._engagementTrigger.set(t)}ngOnInit(){console.log("ngOnInit:35")}ngOnDestroy(){console.log("ngOnDestroy:38")}update(){}static \u0275fac=function(n){return new(n||e)(qr(gn))};static \u0275cmp=Ia({type:e,selectors:[["cooee-progressbar"]],inputs:{engagementTrigger:"engagementTrigger"},decls:34,vars:0,consts:[[1,"lc:font-medium","lc:text-center","lc:text-[12px]"],[1,"lc:mt-4","lc:w-[95%]"],[1,"lc:flex","lc:items-center","lc:relative","lc:text-[10px]","lc:font-medium"],[1,"lc:w-full","lc:bg-gray-200","lc:h-1","lc:absolute"],[1,"lc:bg-green-700","lc:h-full","lc:block!",2,"width","45%"],[1,"lc:relative","lc:flex","lc:flex-col","lc:items-center","lc:h-[75px]",2,"left","10%"],[1,"lc:flex","lc:flex-col","lc:items-center","lc:justify-between","lc:absolute","lc:h-full","lc:w-[100px]"],[1,""],["width","20","height","20","src","https://img.icons8.com/ios-filled/50/FFFFFF/free-shipping.png","alt","free-shipping",1,"milestone-icon","lc:bg-green-700"],[1,"lc:relative","lc:flex","lc:flex-col","lc:items-center","lc:h-[75px]",2,"left","35%"],[1,"lc:flex","lc:flex-col","lc:items-center","lc:justify-between","lc:absolute","lc:h-[75px]","lc:w-[100px]"],["width","20","height","20","src","https://img.icons8.com/ios-glyphs/30/FFFFFF/sale-price-tag.png","alt","sale-price-tag",1,"milestone-icon","lc:bg-green-700"],[1,"lc:relative","lc:flex","lc:flex-col","lc:items-center","lc:h-[75px]",2,"left","55%"],[1,"lc:relative","lc:flex","lc:flex-col","lc:items-center","lc:h-[75px]",2,"left","80%"]],template:function(n,r){n&1&&(F(0,"div",0),J(1,` Add \u20B9305 more to get FLAT 20% OFF
8
+ `),k(),F(2,"div",1)(3,"ul",2)(4,"div",3),_e(5,"div",4),k(),F(6,"li",5)(7,"div",6)(8,"div",7),J(9,"\u20B9399"),k(),_e(10,"img",8),F(11,"div",7),J(12,"Free Shipping"),k()()(),F(13,"li",9)(14,"div",10)(15,"div",7),J(16,"\u20B9599"),k(),_e(17,"img",11),F(18,"div",7),J(19,"10% OFF"),k()()(),F(20,"li",12)(21,"div",10)(22,"div",7),J(23,"\u20B91099"),k(),_e(24,"img",11),F(25,"div",7),J(26,"15% OFF"),k()()(),F(27,"li",13)(28,"div",10)(29,"div",7),J(30,"\u20B91599"),k(),_e(31,"img",11),F(32,"div",7),J(33,"20% OFF"),k()()()()())},styles:["[_nghost-%COMP%]{display:block;padding:10px;margin:10px 0;background:linear-gradient(0deg,rgba(44,135,74,.1) 0%,transparent 100%)}.milestone-icon[_ngcontent-%COMP%]{padding:5px;border-radius:1000px}"]})};var Jf=await za(Ga),Xf=xa(bn,{injector:Jf.injector});customElements.define("cooee-progressbar",Xf);
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@letscooee/web-sdk",
3
3
  "description": "Engage uniquely and boost conversions with AI-powered customer journeys driven by real-time intent",
4
- "version": "8.10.0",
4
+ "version": "9.0.1",
5
5
  "scripts": {
6
- "lint": "eslint \"**/**/*.ts\" --max-warnings=0",
6
+ "lint": "ng lint",
7
7
  "integrity": "./scripts/validate-integrity.sh",
8
8
  "prepack": "npm run build:production",
9
9
  "clean": "rm -rf dist/",
10
10
  "build": "tsc",
11
11
  "build:main": "webpack",
12
12
  "build:production": "./scripts/build-production.sh",
13
- "update-changelog": "rm -rf dist && npm run build:production && node scripts/update-changelog.js",
13
+ "update-changelog": "rm -rf dist && npm run build:production && node scripts/update-changelog.js --",
14
14
  "serve": "webpack serve",
15
- "preversion": "git add CHANGELOG.md src/constants.ts",
15
+ "preversion": "git add CHANGELOG.md projects/core-lib/src/lib/constants.ts",
16
16
  "version": "npm run build:production",
17
17
  "postversion": "git push && git push --tags",
18
18
  "test": "karma start --no-auto-watch",
@@ -35,17 +35,23 @@
35
35
  },
36
36
  "homepage": "https://github.com/letscooee/cooee-web-sdk#readme",
37
37
  "devDependencies": {
38
+ "@angular-devkit/build-angular": "^19.1.8",
39
+ "@angular-eslint/builder": "19.1.0",
40
+ "@angular-eslint/eslint-plugin": "19.1.0",
41
+ "@angular-eslint/eslint-plugin-template": "19.1.0",
42
+ "@angular-eslint/schematics": "19.1.0",
43
+ "@angular-eslint/template-parser": "19.1.0",
38
44
  "@angular/cli": "^19.1.5",
39
45
  "@angular/compiler-cli": "^19.1.0",
40
- "@letscooee/ts-common": "1.0.38",
46
+ "@letscooee/ts-common": "1.1.0",
41
47
  "@preact/signals": "^1.2.3",
42
48
  "@types/jasmine": "~5.1.0",
43
49
  "@types/mustache": "^4.2.5",
44
50
  "@types/ua-parser-js": "^0.7.36",
45
- "@typescript-eslint/eslint-plugin": "^7.1.1",
46
- "@typescript-eslint/parser": "^7.1.1",
47
- "css-loader": "^7.1.2",
48
- "eslint": "^8.56.0",
51
+ "@typescript-eslint/eslint-plugin": "7.11.0",
52
+ "@typescript-eslint/parser": "7.11.0",
53
+ "angular-eslint": "^19.1.0",
54
+ "eslint": "8.57.0",
49
55
  "eslint-config-google": "^0.14.0",
50
56
  "file-replace-loader": "^1.4.0",
51
57
  "jasmine-core": "~5.5.0",
@@ -56,11 +62,9 @@
56
62
  "karma-jasmine-html-reporter": "~2.1.0",
57
63
  "karma-junit-reporter": "^2.0.1",
58
64
  "karma-webpack": "^5.0.0",
59
- "raw-loader": "^4.0.2",
60
- "sass": "^1.84.0",
61
- "sass-loader": "^16.0.4",
62
- "style-loader": "^4.0.0",
65
+ "ng-packagr": "^19.1.0",
63
66
  "ts-loader": "^9.2.4",
67
+ "tsconfig-paths-webpack-plugin": "^4.2.0",
64
68
  "typescript": "^5.7.2",
65
69
  "webpack": "5.94.0",
66
70
  "webpack-cli": "^4.7.2",
@@ -71,12 +75,14 @@
71
75
  "@angular/common": "^19.1.0",
72
76
  "@angular/compiler": "^19.1.0",
73
77
  "@angular/core": "^19.1.0",
78
+ "@angular/elements": "^19.1.7",
74
79
  "@angular/forms": "^19.1.0",
75
80
  "@angular/platform-browser": "^19.1.0",
76
81
  "@angular/platform-browser-dynamic": "^19.1.0",
77
82
  "@angular/router": "^19.1.0",
78
83
  "@letscooee/url-builder": "^0.0.5",
79
84
  "@sentry/browser": "8.18.0",
85
+ "@tailwindcss/postcss": "^4.0.8",
80
86
  "bson": "^4.6.5",
81
87
  "crypto-browserify": "^3.12.0",
82
88
  "detectincognitojs": "^1.3.5",
@@ -87,9 +93,11 @@
87
93
  "js-logger": "^1.6.1",
88
94
  "localforage": "^1.10.0",
89
95
  "mustache": "^4.2.0",
96
+ "postcss": "^8.5.3",
90
97
  "preact": "^10.19.6",
91
98
  "rxjs": "^7.8.0",
92
99
  "stream-browserify": "^3.0.0",
100
+ "tailwindcss": "^4.0.8",
93
101
  "tslib": "^2.3.0",
94
102
  "ua-parser-js": "^1.0.32",
95
103
  "util": "^0.12.4"
@@ -0,0 +1,37 @@
1
+ {
2
+ "extends": "../../.eslintrc.json",
3
+ "ignorePatterns": [
4
+ "!**/*"
5
+ ],
6
+ "overrides": [
7
+ {
8
+ "files": [
9
+ "*.ts"
10
+ ],
11
+ "rules": {
12
+ "@angular-eslint/directive-selector": [
13
+ "error",
14
+ {
15
+ "type": "attribute",
16
+ "prefix": "cooee",
17
+ "style": "camelCase"
18
+ }
19
+ ],
20
+ "@angular-eslint/component-selector": [
21
+ "error",
22
+ {
23
+ "type": "element",
24
+ "prefix": "cooee",
25
+ "style": "kebab-case"
26
+ }
27
+ ]
28
+ }
29
+ },
30
+ {
31
+ "files": [
32
+ "*.html"
33
+ ],
34
+ "rules": {}
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,15 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "extends": "../../tsconfig.json",
5
+ "compilerOptions": {
6
+ "outDir": "../../out-tsc/app",
7
+ "types": []
8
+ },
9
+ "files": [
10
+ "src/main.ts"
11
+ ],
12
+ "include": [
13
+ "src/**/*.d.ts"
14
+ ]
15
+ }
@@ -0,0 +1,15 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "extends": "../../tsconfig.json",
5
+ "compilerOptions": {
6
+ "outDir": "../../out-tsc/spec",
7
+ "types": [
8
+ "jasmine"
9
+ ]
10
+ },
11
+ "include": [
12
+ "src/**/*.spec.ts",
13
+ "src/**/*.d.ts"
14
+ ]
15
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "extends": "../../.eslintrc.json",
3
+ "ignorePatterns": [
4
+ "!**/*"
5
+ ],
6
+ "overrides": [
7
+ {
8
+ "files": [
9
+ "*.ts"
10
+ ],
11
+ "rules": {
12
+ "@angular-eslint/directive-selector": [
13
+ "error",
14
+ {
15
+ "type": "attribute",
16
+ "prefix": "lib",
17
+ "style": "camelCase"
18
+ }
19
+ ],
20
+ "@angular-eslint/component-selector": [
21
+ "error",
22
+ {
23
+ "type": "element",
24
+ "prefix": "lib",
25
+ "style": "kebab-case"
26
+ }
27
+ ]
28
+ }
29
+ },
30
+ {
31
+ "files": [
32
+ "*.html"
33
+ ],
34
+ "rules": {}
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,5 @@
1
+ # Core library
2
+
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.1.0.
4
+
5
+ This library contains some common code to be used in another libraries too.
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "../../dist/core-lib",
4
+ "lib": {
5
+ "entryFile": "src/public-api.ts"
6
+ }
7
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "core-lib",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^19.1.0",
6
+ "@angular/core": "^19.1.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "sideEffects": false
12
+ }
@@ -0,0 +1,15 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "extends": "../../tsconfig.json",
5
+ "compilerOptions": {
6
+ "outDir": "../../out-tsc/lib",
7
+ "declaration": true,
8
+ "declarationMap": true,
9
+ "inlineSources": true,
10
+ "types": []
11
+ },
12
+ "exclude": [
13
+ "**/*.spec.ts"
14
+ ]
15
+ }
@@ -0,0 +1,11 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "extends": "./tsconfig.lib.json",
5
+ "compilerOptions": {
6
+ "declarationMap": false
7
+ },
8
+ "angularCompilerOptions": {
9
+ "compilationMode": "partial"
10
+ }
11
+ }
@@ -0,0 +1,15 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "extends": "../../tsconfig.json",
5
+ "compilerOptions": {
6
+ "outDir": "../../out-tsc/spec",
7
+ "types": [
8
+ "jasmine"
9
+ ]
10
+ },
11
+ "include": [
12
+ "**/*.spec.ts",
13
+ "**/*.d.ts"
14
+ ]
15
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "extends": "../../.eslintrc.json",
3
+ "ignorePatterns": [
4
+ "!**/*"
5
+ ],
6
+ "overrides": [
7
+ {
8
+ "files": [
9
+ "*.ts"
10
+ ],
11
+ "rules": {
12
+ "@angular-eslint/directive-selector": [
13
+ "error",
14
+ {
15
+ "type": "attribute",
16
+ "prefix": "cooee",
17
+ "style": "camelCase"
18
+ }
19
+ ],
20
+ "@angular-eslint/component-selector": [
21
+ "error",
22
+ {
23
+ "type": "element",
24
+ "prefix": "cooee",
25
+ "style": "kebab-case"
26
+ }
27
+ ]
28
+ }
29
+ },
30
+ {
31
+ "files": [
32
+ "*.html"
33
+ ],
34
+ "rules": {}
35
+ }
36
+ ]
37
+ }