diff --git a/404.html b/404.html index dd7e2fc..24c3a30 100644 --- a/404.html +++ b/404.html @@ -9,5 +9,5 @@ - + diff --git a/index.html b/index.html index dd7e2fc..24c3a30 100644 --- a/index.html +++ b/index.html @@ -9,5 +9,5 @@ - + diff --git a/main.76194734ec83ae18.js b/main.76194734ec83ae18.js new file mode 100644 index 0000000..495865b --- /dev/null +++ b/main.76194734ec83ae18.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkngx_scanner_qrcode=self.webpackChunkngx_scanner_qrcode||[]).push([[179],{37:()=>{function ce(e){return"function"==typeof e}function Xo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Jo=Xo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Lr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Mt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ce(r))try{r()}catch(i){t=i instanceof Jo?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Jc(i)}catch(s){t=t??[],s instanceof Jo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Jo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Jc(t);else{if(t instanceof Mt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Lr(n,t)}remove(t){const{_finalizers:n}=this;n&&Lr(n,t),t instanceof Mt&&t._removeParent(this)}}Mt.EMPTY=(()=>{const e=new Mt;return e.closed=!0,e})();const Kc=Mt.EMPTY;function Xc(e){return e instanceof Mt||e&&"closed"in e&&ce(e.remove)&&ce(e.add)&&ce(e.unsubscribe)}function Jc(e){ce(e)?e():e.unsubscribe()}const In={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ei={setTimeout(e,t,...n){const{delegate:r}=ei;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ei;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ed(e){ei.setTimeout(()=>{const{onUnhandledError:t}=In;if(!t)throw e;t(e)})}function td(){}const l_=ea("C",void 0,void 0);function ea(e,t,n){return{kind:e,value:t,error:n}}let Tn=null;function ti(e){if(In.useDeprecatedSynchronousErrorHandling){const t=!Tn;if(t&&(Tn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Tn;if(Tn=null,n)throw r}}else e()}class ta extends Mt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Xc(t)&&t.add(this)):this.destination=g_}static create(t,n,r){return new Br(t,n,r)}next(t){this.isStopped?ra(function c_(e){return ea("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ra(function u_(e){return ea("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ra(l_,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()}}}const f_=Function.prototype.bind;function na(e,t){return f_.call(e,t)}class h_{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ni(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ni(r)}else ni(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ni(n)}}}class Br extends ta{constructor(t,n,r){let o;if(super(),ce(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&In.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&na(t.next,i),error:t.error&&na(t.error,i),complete:t.complete&&na(t.complete,i)}):o=t}this.destination=new h_(o)}}function ni(e){In.useDeprecatedSynchronousErrorHandling?function d_(e){In.useDeprecatedSynchronousErrorHandling&&Tn&&(Tn.errorThrown=!0,Tn.error=e)}(e):ed(e)}function ra(e,t){const{onStoppedNotification:n}=In;n&&ei.setTimeout(()=>n(e,t))}const g_={closed:!0,next:td,error:function p_(e){throw e},complete:td},oa="function"==typeof Symbol&&Symbol.observable||"@@observable";function ia(e){return e}let Le=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function y_(e){return e&&e instanceof ta||function m_(e){return e&&ce(e.next)&&ce(e.error)&&ce(e.complete)}(e)&&Xc(e)}(n)?n:new Br(n,r,o);return ti(()=>{const{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 new(r=rd(r))((o,i)=>{const s=new Br({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[oa](){return this}pipe(...n){return function nd(e){return 0===e.length?ia:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=rd(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function rd(e){var t;return null!==(t=e??In.Promise)&&void 0!==t?t:Promise}const D_=Xo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Hr=(()=>{class e extends Le{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new od(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new D_}next(n){ti(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ti(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ti(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{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(null===(n=this.observers)||void 0===n?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){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Kc:(this.currentObservers=null,i.push(n),new Mt(()=>{this.currentObservers=null,Lr(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Le;return n.source=this,n}}return e.create=(t,n)=>new od(t,n),e})();class od extends Hr{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Kc}}class sa extends Hr{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Nn(e){return t=>{if(function v_(e){return ce(e?.lift)}(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 un(e,t,n,r,o){return new __(e,t,n,r,o)}class __ extends ta{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}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()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function cn(e){return this instanceof cn?(this.v=e,this):new cn(e)}function ld(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function da(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)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.")}(e),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,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const ud=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function cd(e){return ce(e?.then)}function dd(e){return ce(e[oa])}function fd(e){return Symbol.asyncIterator&&ce(e?.[Symbol.asyncIterator])}function hd(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const pd=function $_(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function gd(e){return ce(e?.[pd])}function md(e){return function ad(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof cn?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield cn(n.read());if(o)return yield cn(void 0);yield yield cn(r)}}finally{n.releaseLock()}})}function yd(e){return ce(e?.getReader)}function At(e){if(e instanceof Le)return e;if(null!=e){if(dd(e))return function U_(e){return new Le(t=>{const n=e[oa]();if(ce(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(ud(e))return function G_(e){return new Le(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ed)})}(e);if(fd(e))return Dd(e);if(gd(e))return function z_(e){return new Le(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(yd(e))return function q_(e){return Dd(md(e))}(e)}throw hd(e)}function Dd(e){return new Le(t=>{(function W_(e,t){var n,r,o,i;return function id(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=ld(e);!(r=yield n.next()).done;)if(t.next(r.value),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()})})(e,t).catch(n=>t.error(n))})}function dn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function vd(e,t,n=1/0){return ce(t)?vd((r,o)=>function aa(e,t){return Nn((n,r)=>{let o=0;n.subscribe(un(r,i=>{r.next(e.call(t,i,o++))}))})}((i,s)=>t(r,i,o,s))(At(e(r,o))),n):("number"==typeof t&&(n=t),Nn((r,o)=>function Z_(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=m=>u{i&&t.next(m),u++;let y=!1;At(n(m,c++)).subscribe(un(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;l.length&&up(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(un(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const _d=new Le(e=>e.complete());function fa(e){return e[e.length-1]}function Cd(e){return function X_(e){return e&&ce(e.schedule)}(fa(e))?e.pop():void 0}function wd(e,t=0){return Nn((n,r)=>{n.subscribe(un(r,o=>dn(r,e,()=>r.next(o),t),()=>dn(r,e,()=>r.complete(),t),o=>dn(r,e,()=>r.error(o),t)))})}function Ed(e,t=0){return Nn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Sd(e,t){if(!e)throw new Error("Iterable cannot be null");return new Le(n=>{dn(n,t,()=>{const r=e[Symbol.asyncIterator]();dn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ha(e,t){return t?function sC(e,t){if(null!=e){if(dd(e))return function tC(e,t){return At(e).pipe(Ed(t),wd(t))}(e,t);if(ud(e))return function rC(e,t){return new Le(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(cd(e))return function nC(e,t){return At(e).pipe(Ed(t),wd(t))}(e,t);if(fd(e))return Sd(e,t);if(gd(e))return function oC(e,t){return new Le(n=>{let r;return dn(n,t,()=>{r=e[pd](),dn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>ce(r?.return)&&r.return()})}(e,t);if(yd(e))return function iC(e,t){return Sd(md(e),t)}(e,t)}throw hd(e)}(e,t):At(e)}function bd(e={}){const{connector:t=(()=>new Hr),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return Nn((m,y)=>{u++,!d&&!c&&f();const v=l=l??t();y.add(()=>{u--,0===u&&!d&&!c&&(a=pa(p,o))}),v.subscribe(y),!s&&u>0&&(s=new Br({next:g=>v.next(g),error:g=>{d=!0,f(),a=pa(h,n,g),v.error(g)},complete:()=>{c=!0,f(),a=pa(h,r),v.complete()}}),At(m).subscribe(s))})(i)}}function pa(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Br({next:()=>{r.unsubscribe(),e()}});return At(t(...n)).subscribe(r)}function dC(e,t){return e===t}function Y(e){for(let t in e)if(e[t]===Y)return t;throw Error("Could not find renamed property on target object.")}function ri(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function we(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(we).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ga(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const fC=Y({__forward_ref__:Y});function ee(e){return e.__forward_ref__=ee,e.toString=function(){return we(this())},e}function F(e){return ma(e)?e():e}function ma(e){return"function"==typeof e&&e.hasOwnProperty(fC)&&e.__forward_ref__===ee}function ya(e){return e&&!!e.\u0275providers}const Md="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function oi(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function x(e){return"string"==typeof e?e:null==e?"":String(e)}function ii(e,t){throw new C(-201,!1)}function lt(e,t){null==e&&function q(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function It(e){return{providers:e.providers||[],imports:e.imports||[]}}function si(e){return Ad(e,ai)||Ad(e,Td)}function Ad(e,t){return e.hasOwnProperty(t)?e[t]:null}function Id(e){return e&&(e.hasOwnProperty(Da)||e.hasOwnProperty(vC))?e[Da]:null}const ai=Y({\u0275prov:Y}),Da=Y({\u0275inj:Y}),Td=Y({ngInjectableDef:Y}),vC=Y({ngInjectorDef:Y});var N=(()=>((N=N||{})[N.Default=0]="Default",N[N.Host=1]="Host",N[N.Self=2]="Self",N[N.SkipSelf=4]="SkipSelf",N[N.Optional=8]="Optional",N))();let va;function ze(e){const t=va;return va=e,t}function Fd(e,t,n){const r=si(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&N.Optional?null:void 0!==t?t:void ii(we(e))}const J=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),jr={},_a="__NG_DI_FLAG__",li="ngTempTokenPath",CC=/\n/gm,Rd="__source";let Wn;function hn(e){const t=Wn;return Wn=e,t}function SC(e,t=N.Default){if(void 0===Wn)throw new C(-203,!1);return null===Wn?Fd(e,void 0,t):Wn.get(e,t&N.Optional?null:void 0,t)}function B(e,t=N.Default){return(function Nd(){return va}()||SC)(F(e),t)}function oe(e,t=N.Default){return B(e,ui(t))}function ui(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ca(e){const t=[];for(let n=0;n((Tt=Tt||{})[Tt.OnPush=0]="OnPush",Tt[Tt.Default=1]="Default",Tt))(),tt=(()=>{return(e=tt||(tt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",tt;var e})();const Nt={},U=[],ci=Y({\u0275cmp:Y}),wa=Y({\u0275dir:Y}),Ea=Y({\u0275pipe:Y}),Od=Y({\u0275mod:Y}),zt=Y({\u0275fac:Y}),Ur=Y({__NG_ELEMENT_ID__:Y}),Pd=Y({__NG_ENV_ID__:Y});function Vd(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Sa(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Vd(h,u,0)||2&r&&u!==f){if(yt(r))return!1;s=!0}}}}else{if(!s&&!yt(r)&&!yt(l))return!1;if(s&&yt(l))continue;s=!1,r=l|1&r}}return yt(r)||s}function yt(e){return 0==(1&e)}function FC(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!yt(s)&&(t+=Ud(i,o),o=""),r=s,i=i||!yt(r);n++}return""!==o&&(t+=Ud(i,o)),t}function ba(e){return Qt(()=>{const t=Qd(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Tt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||tt.Emulated,styles:e.styles||U,_:null,schemas:e.schemas||null,tView:null,id:""};zd(n);const r=e.dependencies;return n.directiveDefs=di(r,!1),n.pipeDefs=di(r,!0),n.id=function GC(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function HC(e){return Q(e)||Fe(e)}function jC(e){return null!==e}function qt(e){return Qt(()=>({type:e.type,bootstrap:e.bootstrap||U,declarations:e.declarations||U,imports:e.imports||U,exports:e.exports||U,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Gd(e,t){if(null==e)return Nt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function O(e){return Qt(()=>{const t=Qd(e);return zd(t),t})}function Be(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Q(e){return e[ci]||null}function Fe(e){return e[wa]||null}function qe(e){return e[Ea]||null}function Qd(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Nt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||U,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gd(e.inputs,t),outputs:Gd(e.outputs)}}function zd(e){e.features?.forEach(t=>t(e))}function di(e,t){if(!e)return null;const n=t?qe:HC;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(jC)}const Ee=0,S=1,P=2,de=3,Dt=4,zr=5,Re=6,Zn=7,ye=8,Yn=9,Fn=10,V=11,qr=12,qd=13,Kn=14,De=15,Wr=16,Xn=17,Ft=18,Zr=19,Wd=20,pn=21,Wt=22,fi=23,hi=24,j=25,Ma=1,Zd=2,Rt=7,Jn=9,xe=11;function rt(e){return Array.isArray(e)&&"object"==typeof e[Ma]}function We(e){return Array.isArray(e)&&!0===e[Ma]}function Aa(e){return 0!=(4&e.flags)}function Rn(e){return e.componentOffset>-1}function gi(e){return 1==(1&e.flags)}function vt(e){return!!e.template}function Ia(e){return 0!=(512&e[P])}function xn(e,t){return e.hasOwnProperty(zt)?e[zt]:null}let YC=J.WeakRef??class ZC{constructor(t){this.ref=t}deref(){return this.ref}},XC=0,xt=null,mi=!1;function Ie(e){const t=xt;return xt=e,t}class ef{constructor(){this.id=XC++,this.ref=function KC(e){return new YC(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(void 0!==r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=mi;mi=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();void 0!==o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{mi=t}}producerAccessed(){if(mi)throw new Error("");if(null===xt)return;let t=xt.producers.get(this.id);void 0===t?(t={consumerNode:xt.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:xt.trackingVersion},xt.producers.set(this.id,t),this.consumers.set(xt.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=xt.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==xt?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let tf=null;const rf=()=>{};class nw extends ef{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=rf,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Ie(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rf,this.watch(this.registerOnCleanup)}finally{Ie(t)}}cleanup(){this.cleanupFn()}}class rw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function of(e){return e.type.prototype.ngOnChanges&&(e.setInput=iw),ow}function ow(){const e=af(this),t=e?.current;if(t){const n=e.previous;if(n===Nt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function iw(e,t,n,r){const o=this.declaredInputs[n],i=af(e)||function sw(e,t){return e[sf]=t}(e,{previous:Nt,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new rw(l&&l.currentValue,t,a===Nt),e[r]=t}const sf="__ngSimpleChanges__";function af(e){return e[sf]||null}const Ot=function(e,t,n){};function ie(e){for(;Array.isArray(e);)e=e[Ee];return e}function vi(e,t){return ie(t[e])}function Ze(e,t){return ie(t[e.index])}function cf(e,t){return e.data[t]}function er(e,t){return e[t]}function ot(e,t){const n=t[e];return rt(n)?n:n[Ee]}function gn(e,t){return null==t?null:e[t]}function df(e){e[Xn]=0}function hw(e){1024&e[P]||(e[P]|=1024,hf(e,1))}function ff(e){1024&e[P]&&(e[P]&=-1025,hf(e,-1))}function hf(e,t){let n=e[de];if(null===n)return;n[zr]+=t;let r=n;for(n=n[de];null!==n&&(1===t&&1===r[zr]||-1===t&&0===r[zr]);)n[zr]+=t,r=n,n=n[de]}const T={lFrame:Sf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function mf(){return T.bindingsEnabled}function D(){return T.lFrame.lView}function $(){return T.lFrame.tView}function ut(e){return T.lFrame.contextLView=e,e[ye]}function ct(e){return T.lFrame.contextLView=null,e}function Te(){let e=yf();for(;null!==e&&64===e.type;)e=e.parent;return e}function yf(){return T.lFrame.currentTNode}function Pt(e,t){const n=T.lFrame;n.currentTNode=e,n.isParent=t}function Oa(){return T.lFrame.isParent}function nr(){return T.lFrame.bindingIndex++}function bw(e,t){const n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,Va(t)}function Va(e){T.lFrame.currentDirectiveIndex=e}function Cf(){return T.lFrame.currentQueryIndex}function La(e){T.lFrame.currentQueryIndex=e}function Aw(e){const t=e[S];return 2===t.type?t.declTNode:1===t.type?e[Re]:null}function wf(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&N.Host||(o=Aw(i),null===o||(i=i[Kn],10&o.type))););if(null===o)return!1;t=o,e=i}const r=T.lFrame=Ef();return r.currentTNode=t,r.lView=e,!0}function Ba(e){const t=Ef(),n=e[S];T.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ef(){const e=T.lFrame,t=null===e?null:e.child;return null===t?Sf(e):t}function Sf(e){const 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 null!==e&&(e.child=t),t}function bf(){const e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Mf=bf;function Ha(){const e=bf();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 je(){return T.lFrame.selectedIndex}function On(e){T.lFrame.selectedIndex=e}let If=!0;function _i(){return If}function mn(e){If=e}function Ci(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[Xn]+=65536),(a>13>16&&(3&e[P])===t&&(e[P]+=8192,Nf(a,i)):Nf(a,i)}const rr=-1;class Xr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ff(e){return e!==rr}function Si(e){return 32767&e}function bi(e,t){let n=function Bw(e){return e>>16}(e),r=t;for(;n>0;)r=r[Kn],n--;return r}let Ua=!0;function Mi(e){const t=Ua;return Ua=e,t}const Rf=255,xf=5;let Hw=0;const Vt={};function Ai(e,t){const n=Of(e,t);if(-1!==n)return n;const r=t[S];r.firstCreatePass&&(e.injectorIndex=t.length,Ga(r.data,e),Ga(t,null),Ga(r.blueprint,null));const o=Qa(e,t),i=e.injectorIndex;if(Ff(o)){const s=Si(o),a=bi(o,t),l=a[S].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function Ga(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Of(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Qa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=jf(o),null===r)return rr;if(n++,o=o[Kn],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return rr}function za(e,t,n){!function jw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ur)&&(r=n[Ur]),null==r&&(r=n[Ur]=Hw++);const o=r&Rf;t.data[e+(o>>xf)]|=1<=0?t&Rf:Qw:t}(n);if("function"==typeof i){if(!wf(t,e,r))return r&N.Host?Pf(o,0,r):Vf(t,n,r,o);try{const s=i(r);if(null!=s||r&N.Optional)return s;ii()}finally{Mf()}}else if("number"==typeof i){let s=null,a=Of(e,t),l=rr,u=r&N.Host?t[De][Re]:null;for((-1===a||r&N.SkipSelf)&&(l=-1===a?Qa(e,t):t[a+8],l!==rr&&Hf(r,!1)?(s=t[S],a=Si(l),t=bi(l,t)):a=-1);-1!==a;){const c=t[S];if(Bf(i,a,c.data)){const d=Uw(a,t,n,s,r,u);if(d!==Vt)return d}l=t[a+8],l!==rr&&Hf(r,t[S].data[a+8]===u)&&Bf(i,a,t)?(s=c,a=Si(l),t=bi(l,t)):a=-1}}return o}function Uw(e,t,n,r,o,i){const s=t[S],a=s.data[e+8],c=Ii(a,s,n,null==r?Rn(a)&&Ua:r!=s&&0!=(3&a.type),o&N.Host&&i===a);return null!==c?Pn(t,s,c,a):Vt}function Ii(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=l&&p.type===n)return h}if(o){const h=s[l];if(h&&vt(h)&&h.type===n)return l}return null}function Pn(e,t,n,r){let o=e[n];const i=t.data;if(function Vw(e){return e instanceof Xr}(o)){const s=o;s.resolving&&function hC(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function z(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():x(e)}(i[n]));const a=Mi(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ze(s.injectImpl):null;wf(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Ow(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=of(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))}(n,i[n],t)}finally{null!==l&&ze(l),Mi(a),s.resolving=!1,Mf()}}return o}function Bf(e,t,n){return!!(n[t+(e>>xf)]&1<{const t=e.prototype.constructor,n=t[zt]||qa(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[zt]||qa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function qa(e){return ma(e)?()=>{const t=qa(F(e));return t&&t()}:xn(e)}function jf(e){const t=e[S],n=t.type;return 2===n?t.declTNode:1===n?e[Re]:null}const sr="__parameters__";function lr(e,t,n){return Qt(()=>{const r=function Za(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(sr)?l[sr]:Object.defineProperty(l,sr,{value:[]})[sr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function to(e,t){e.forEach(n=>Array.isArray(n)?to(n,t):t(n))}function Uf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ti(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function it(e,t,n){let r=ur(e,t);return r>=0?e[1|r]=n:(r=~r,function Kw(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ya(e,t){const n=ur(e,t);if(n>=0)return e[1|n]}function ur(e,t){return function Gf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((Ye=Ye||{})[Ye.Important=1]="Important",Ye[Ye.DashCase=2]="DashCase",Ye))();const ol=new Map;let CE=0;const sl="__ngContext__";function Pe(e,t){rt(t)?(e[sl]=t[Zr],function EE(e){ol.set(e[Zr],e)}(t)):e[sl]=t}let al;function ll(e,t){return al(e,t)}function io(e){const t=e[de];return We(t)?t[de]:t}function ch(e){return fh(e[qr])}function dh(e){return fh(e[Dt])}function fh(e){for(;null!==e&&!We(e);)e=e[Dt];return e}function fr(e,t,n,r,o){if(null!=r){let i,s=!1;We(r)?i=r:rt(r)&&(s=!0,r=r[Ee]);const a=ie(r);0===e&&null!==n?null==o?yh(t,n,a):Vn(t,n,a,o||null,!0):1===e&&null!==n?Vn(t,n,a,o||null,!0):2===e?function Hi(e,t,n){const r=Li(e,t);r&&function $E(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function QE(e,t,n,r,o){const i=n[Rt];i!==ie(n)&&fr(t,e,r,i,o);for(let a=xe;a0&&(e[n-1][Dt]=r[Dt]);const i=Ti(e,xe+t);!function OE(e,t){ao(e,t,t[V],2,null,null),t[Ee]=null,t[Re]=null}(r[S],r);const s=i[Ft];null!==s&&s.detachView(i[S]),r[de]=null,r[Dt]=null,r[P]&=-129}return r}function gh(e,t){if(!(256&t[P])){const n=t[V];t[fi]?.destroy(),t[hi]?.destroy(),n.destroyNode&&ao(e,t,n,3,null,null),function kE(e){let t=e[qr];if(!t)return dl(e[S],e);for(;t;){let n=null;if(rt(t))n=t[qr];else{const r=t[xe];r&&(n=r)}if(!n){for(;t&&!t[Dt]&&t!==e;)rt(t)&&dl(t[S],t),t=t[de];null===t&&(t=e),rt(t)&&dl(t[S],t),n=t&&t[Dt]}t=n}}(t)}}function dl(e,t){if(!(256&t[P])){t[P]&=-129,t[P]|=256,function jE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Zn]=null);const o=t[pn];if(null!==o){t[pn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===tt.None||i===tt.Emulated)return null}return Ze(r,n)}}(e,t.parent,n)}function Vn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function yh(e,t,n){e.appendChild(t,n)}function Dh(e,t,n,r,o){null!==r?Vn(e,t,n,r,o):yh(e,t,n)}function Li(e,t){return e.parentNode(t)}let hl,ji,yl,Ch=function _h(e,t,n){return 40&e.type?Ze(e,n):null};function Bi(e,t,n,r){const o=fl(e,r,t),i=t[V],a=function vh(e,t,n){return Ch(e,t,n)}(r.parent||t[Re],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return ji}()?.createHTML(e)||e}class kn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Md})`}}class XE extends kn{getTypeName(){return"HTML"}}class JE extends kn{getTypeName(){return"Style"}}class eS extends kn{getTypeName(){return"Script"}}class tS extends kn{getTypeName(){return"URL"}}class nS extends kn{getTypeName(){return"ResourceURL"}}function st(e){return e instanceof kn?e.changingThisBreaksApplicationSecurity:e}function kt(e,t){const n=function rS(e){return e instanceof kn&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Md})`)}return n===t}class uS{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(hr(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class cS{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=hr(t),n}}const fS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ui(e){return(e=String(e)).match(fS)?e:"unsafe:"+e}function Xt(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function uo(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Rh=Xt("area,br,col,hr,img,wbr"),xh=Xt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Oh=Xt("rp,rt"),vl=uo(Rh,uo(xh,Xt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),uo(Oh,Xt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),uo(Oh,xh)),_l=Xt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ph=uo(_l,Xt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Xt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),hS=Xt("script,style,template");class pS{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!vl.hasOwnProperty(n))return this.sanitizedSomething=!0,!hS.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o"),!0}endElement(t){const n=t.nodeName.toLowerCase();vl.hasOwnProperty(n)&&!Rh.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Vh(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const gS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mS=/([^\#-~ |!])/g;function Vh(e){return e.replace(/&/g,"&").replace(gS,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(mS,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Gi;function kh(e,t){let n=null;try{Gi=Gi||function Fh(e){const t=new cS(e);return function dS(){try{return!!(new window.DOMParser).parseFromString(hr(""),"text/html")}catch{return!1}}()?new uS(t):t}(e);let r=t?String(t):"";n=Gi.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Gi.getInertBodyElement(r)}while(r!==i);return hr((new pS).sanitizeChildren(Cl(n)||n))}finally{if(n){const r=Cl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Cl(e){return"content"in e&&function yS(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var te=(()=>((te=te||{})[te.NONE=0]="NONE",te[te.HTML=1]="HTML",te[te.STYLE=2]="STYLE",te[te.SCRIPT=3]="SCRIPT",te[te.URL=4]="URL",te[te.RESOURCE_URL=5]="RESOURCE_URL",te))();function co(e){const t=function fo(){const e=D();return e&&e[Fn].sanitizer}();return t?t.sanitize(te.URL,e)||"":kt(e,"URL")?st(e):Ui(x(e))}class A{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=W({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Qi=new A("ENVIRONMENT_INITIALIZER"),Bh=new A("INJECTOR",-1),Hh=new A("INJECTOR_DEF_TYPES");class jh{get(t,n=jr){if(n===jr){const r=new Error(`NullInjectorError: No provider for ${we(t)}!`);throw r.name="NullInjectorError",r}return n}}function bS(...e){return{\u0275providers:Uh(0,e),\u0275fromNgModule:!0}}function Uh(e,...t){const n=[],r=new Set;let o;return to(t,i=>{const s=i;wl(s,n,[],r)&&(o||=[],o.push(s))}),void 0!==o&&Gh(o,n),n}function Gh(e,t){for(let n=0;n{t.push(i)})}}function wl(e,t,n,r){if(!(e=F(e)))return!1;let o=null,i=Id(e);const s=!i&&Q(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Id(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)wl(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{to(i.imports,c=>{wl(c,t,n,r)&&(u||=[],u.push(c))})}finally{}void 0!==u&&Gh(u,t)}if(!a){const u=xn(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:U},{provide:Hh,useValue:o,multi:!0},{provide:Qi,useValue:()=>B(o),multi:!0})}const l=i.providers;null==l||a||El(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function El(e,t){for(let n of e)ya(n)&&(n=n.\u0275providers),Array.isArray(n)?El(n,t):t(n)}const MS=Y({provide:String,useValue:Y});function Sl(e){return null!==e&&"object"==typeof e&&MS in e}function Ln(e){return"function"==typeof e}const bl=new A("Set Injector scope."),zi={},IS={};let Ml;function qi(){return void 0===Ml&&(Ml=new jh),Ml}class pr{}class Al extends pr{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Tl(t,s=>this.processProvider(s)),this.records.set(Bh,gr(void 0,this)),o.has("environment")&&this.records.set(pr,gr(void 0,this));const i=this.records.get(bl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Hh.multi,U,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=hn(this),r=ze(void 0);try{return t()}finally{hn(n),ze(r)}}get(t,n=jr,r=N.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Pd))return t[Pd](this);r=ui(r);const o=hn(this),i=ze(void 0);try{if(!(r&N.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function xS(e){return"function"==typeof e||"object"==typeof e&&e instanceof A}(t)&&si(t);a=l&&this.injectableDefInScope(l)?gr(Il(t),zi):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&N.Self?qi():this.parent).get(t,n=r&N.Optional&&n===jr?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[li]=s[li]||[]).unshift(we(t)),o)throw s;return function MC(e,t,n,r){const o=e[li];throw t[Rd]&&o.unshift(t[Rd]),e.message=function AC(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=we(t);if(Array.isArray(t))o=t.map(we).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):we(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(CC,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[li]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{ze(i),hn(o)}}resolveInjectorInitializers(){const t=hn(this),n=ze(void 0);try{const r=this.get(Qi.multi,U,N.Self);for(const o of r)o()}finally{hn(t),ze(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(we(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=Ln(t=F(t))?t:F(t&&t.provide);const r=function NS(e){return Sl(e)?gr(void 0,e.useValue):gr(qh(e),zi)}(t);if(Ln(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=gr(void 0,zi,!0),o.factory=()=>Ca(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===zi&&(n.value=IS,n.value=n.factory()),"object"==typeof n.value&&n.value&&function RS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=F(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Il(e){const t=si(e),n=null!==t?t.factory:xn(e);if(null!==n)return n;if(e instanceof A)throw new C(204,!1);if(e instanceof Function)return function TS(e){const t=e.length;if(t>0)throw function no(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new C(204,!1)}function qh(e,t,n){let r;if(Ln(e)){const o=F(e);return xn(o)||Il(o)}if(Sl(e))r=()=>F(e.useValue);else if(function zh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ca(e.deps||[]));else if(function Qh(e){return!(!e||!e.useExisting)}(e))r=()=>B(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(!function FS(e){return!!e.deps}(e))return xn(o)||Il(o);r=()=>new o(...Ca(e.deps))}return r}function gr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Tl(e,t){for(const n of e)Array.isArray(n)?Tl(n,t):n&&ya(n)?Tl(n.\u0275providers,t):t(n)}const Wi=new A("AppId",{providedIn:"root",factory:()=>OS}),OS="ng",Wh=new A("Platform Initializer"),mr=new A("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Zh=new A("CSP nonce",{providedIn:"root",factory:()=>function lo(){if(void 0!==yl)return yl;if(typeof document<"u")return document;throw new C(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Kh=(e,t)=>null;function Xh(e,t){return Kh(e,t)}class US{}class tp{}class QS{resolveComponentFactory(t){throw function GS(e){const t=Error(`No component factory found for ${we(e)}.`);return t.ngComponent=e,t}(t)}}let Ji=(()=>{class e{}return e.NULL=new QS,e})();function zS(){return yr(Te(),D())}function yr(e,t){return new ft(Ze(e,t))}let ft=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=zS,e})();function qS(e){return e instanceof ft?e.nativeElement:e}class rp{}let yn=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function WS(){const e=D(),n=ot(Te().index,e);return(rt(n)?n:e)[V]}(),e})(),ZS=(()=>{class e{}return e.\u0275prov=W({token:e,providedIn:"root",factory:()=>null}),e})();class es{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const YS=new es("16.1.4"),Hl={};function mo(e){for(;e;){e[P]|=64;const t=io(e);if(Ia(e)&&!t)return e;e=t}return null}function jl(e){return e.ngOriginalError}class Bn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&jl(t);for(;n&&jl(n);)n=jl(n);return n||null}}const sp=new A("",{providedIn:"root",factory:()=>!1});class dp extends ef{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){mo(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=Ie(this);this.trackingVersion++;try{t(n,r)}finally{Ie(o)}}destroy(){this.trackingVersion++}}let ns=null;function fp(){return ns??=new dp,ns}function hp(e,t){return e[t]??fp()}function pp(e,t){const n=fp();n.hasReadASignal&&(e[t]=ns,n.lView=e,ns=new dp)}const k={};function se(e){gp($(),D(),je()+e,!1)}function gp(e,t,n,r){if(!r)if(3==(3&t[P])){const i=e.preOrderCheckHooks;null!==i&&wi(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ei(t,i,0,n)}On(n)}function vp(e,t=null,n=null,r){const o=_p(e,t,n,r);return o.resolveInjectorInitializers(),o}function _p(e,t=null,n=null,r,o=new Set){const i=[n||U,bS(e)];return r=r||("object"==typeof e?void 0:we(e)),new Al(i,t||qi(),r||null,o)}let en=(()=>{class e{static create(n,r){if(Array.isArray(n))return vp({name:""},r,n,"");{const o=n.name??"";return vp({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=jr,e.NULL=new jh,e.\u0275prov=W({token:e,providedIn:"any",factory:()=>B(Bh)}),e.__NG_ELEMENT_ID__=-1,e})();function _(e,t=N.Default){const n=D();return null===n?B(e,t):kf(Te(),n,F(e),t)}function rs(e,t,n,r,o,i,s,a,l,u,c){const d=t.blueprint.slice();return d[Ee]=o,d[P]=140|r,(null!==u||e&&2048&e[P])&&(d[P]|=2048),df(d),d[de]=d[Kn]=e,d[ye]=n,d[Fn]=s||e&&e[Fn],d[V]=a||e&&e[V],d[Yn]=l||e&&e[Yn]||null,d[Re]=i,d[Zr]=function wE(){return CE++}(),d[Wt]=c,d[Wd]=u,d[De]=2==t.type?e[De]:d,d}function vr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function $l(e,t,n,r,o){const i=yf(),s=Oa(),l=e.data[t]=function Db(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function tr(){return null!==T.skipHydrationRootTNode}()&&(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}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function Sw(){return T.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Kr(){const e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Pt(i,!0),i}function yo(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;ij&&gp(e,t,j,!1),Ot(a?2:0,o),a)i.runInContext(n,r,o);else{const u=Ie(null);try{n(r,o)}finally{Ie(u)}}}finally{a&&null===t[fi]&&pp(t,fi),On(s),Ot(a?3:1,o)}}function Ul(e,t,n){if(Aa(t)){const r=Ie(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Sp(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?bp(n,t,o,i):r.hasOwnProperty(o)&&bp(n,t,r[o],i)}return n}function bp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ql(e,t,n,r){if(mf()){const o=null===r?null:{"":-1},i=function Ab(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,yo(e,n,o.hostVars,k),o)}function xb(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=new nw(n,u=>{this.all.has(u)&&this.queue.set(u,i)},o);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=W({token:e,providedIn:"root",factory:()=>new e}),e})();function is(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){kp(e,1);const o=e[S].components;null!==o&&Bp(e,o,1)}}function Bp(e,t,n){for(let r=0;r-1&&(cl(t,r),Ti(n,r))}this._attachedToViewContainer=!1}gh(this._lView[S],this._lView)}onDestroy(t){!function pf(e,t){if(256==(256&e[P]))throw new C(911,!1);null===e[pn]&&(e[pn]=[]),e[pn].push(t)}(this._lView,t)}markForCheck(){mo(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){this._lView[P]|=128}detectChanges(){ss(this._lView[S],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function VE(e,t){ao(e,t,t[V],2,null,null)}(this._lView[S],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class Gb extends vo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ss(t[S],t,t[ye],!1)}checkNoChanges(){}get context(){return null}}class Hp extends Ji{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Q(t);return new _o(n,this.ngModule)}}function jp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class zb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ui(r);const o=this.injector.get(t,Hl,r);return o!==Hl||n===Hl?o:this.parentInjector.get(t,n,r)}}class _o extends tp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=jp(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return jp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function kC(e){return e.map(VC).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof pr?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new zb(t,i):t,a=s.get(rp,null);if(null===a)throw new C(407,!1);const c={rendererFactory:a,sanitizer:s.get(ZS,null),effectManager:s.get(Pp,null)},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function hb(e,t,n,r){const i=r.get(sp,!1)||n===tt.ShadowDom,s=e.selectRootElement(t,i);return function pb(e){Ep(e)}(s),s}(d,r,this.componentDef.encapsulation,s):ki(d,f,function Qb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(f)),y=this.componentDef.signals?4608:this.componentDef.onPush?576:528,v=zl(0,null,null,1,0,null,null,null,null,null,null),g=rs(null,v,null,y,null,null,c,d,s,null,null);let w,b;Ba(g);try{const R=this.componentDef;let Ce,bn=null;R.findHostDirectiveDefs?(Ce=[],bn=new Map,R.findHostDirectiveDefs(R,Ce,bn),Ce.push(R)):Ce=[R];const Gt=function Wb(e,t){const n=e[S],r=j;return e[r]=t,vr(n,r,2,"#host",null)}(g,h),Yo=function Zb(e,t,n,r,o,i,s){const a=o[S];!function Yb(e,t,n,r){for(const o of e)t.mergedAttrs=Gr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(is(t,t.mergedAttrs,!0),null!==n&&Ah(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=Xh(t,o[Yn]));const u=i.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=rs(o,wp(n),null,c,o[e.index],e,i,u,null,null,l);return a.firstCreatePass&&Wl(a,e,r.length-1),os(o,d),o[e.index]=d}(Gt,h,R,Ce,g,c,d);b=cf(v,j),h&&function Xb(e,t,n,r){if(r)Sa(e,n,["ng-version",YS.full]);else{const{attrs:o,classes:i}=function LC(e){const t=[],n=[];let r=1,o=2;for(;r0&&Mh(e,n,i.join(" "))}}(d,R,h,r),void 0!==n&&function Jb(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Gr(o.hostAttrs,n=Gr(n,o.hostAttrs))}}(r)}function as(e){return e===Nt?{}:e===U?[]:e}function nM(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function rM(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function oM(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function ls(e){return!!function Jl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ve(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function jn(e,t,n,r,o,i,s,a){const l=D(),u=$(),c=e+j,d=u.firstCreatePass?function NM(e,t,n,r,o,i,s,a,l){const u=t.consts,c=vr(t,e,4,s||null,gn(u,a));ql(t,n,c,gn(u,l)),Ci(t,c);const d=c.tView=zl(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,r,o,i,s):u.data[c];Pt(d,!1);const f=og(u,l,d,e);_i()&&Bi(u,l,f,d),Pe(f,l),os(l,l[c]=Tp(f,l,f,d)),gi(d)&&Gl(u,l,d),null!=s&&Ql(l,d,a)}let og=function ig(e,t,n,r){return mn(!0),t[V].createComment("")};function $e(e){return er(function Ew(){return T.lFrame.contextLView}(),j+e)}function ne(e,t,n){const r=D();return Ve(r,nr(),t)&&function at(e,t,n,r,o,i,s,a){const l=Ze(t,n);let c,u=t.inputs;!a&&null!=u&&(c=u[r])?(Kl(e,n,c,r,o),Rn(t)&&function Cb(e,t){const n=ot(t,e);16&n[P]||(n[P]|=64)}(n,t.index)):3&t.type&&(r=function _b(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}($(),function fe(){const e=T.lFrame;return cf(e.tView,e.selectedIndex)}(),r,e,t,r[V],n,!1),ne}function iu(e,t,n,r,o){const s=o?"class":"style";Kl(e,n,t.inputs[s],s,r)}function Z(e,t,n,r){const o=D(),i=$(),s=j+e,a=o[V],l=i.firstCreatePass?function OM(e,t,n,r,o,i){const s=t.consts,l=vr(t,e,2,r,gn(s,o));return ql(t,n,l,gn(s,i)),null!==l.attrs&&is(l,l.attrs,!1),null!==l.mergedAttrs&&is(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],u=sg(i,o,l,a,t,e);o[s]=u;const c=gi(l);return Pt(l,!0),Ah(a,u,l),32!=(32&l.flags)&&_i()&&Bi(i,o,u,l),0===function gw(){return T.lFrame.elementDepthCount}()&&Pe(u,o),function mw(){T.lFrame.elementDepthCount++}(),c&&(Gl(i,o,l),Ul(i,l,o)),null!==r&&Ql(o,l),Z}function X(){let e=Te();Oa()?function Pa(){T.lFrame.isParent=!1}():(e=e.parent,Pt(e,!1));const t=e;(function Dw(e){return T.skipHydrationRootTNode===e})(t)&&function ww(){T.skipHydrationRootTNode=null}(),function yw(){T.lFrame.elementDepthCount--}();const n=$();return n.firstCreatePass&&(Ci(n,e),Aa(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function kw(e){return 0!=(8&e.flags)}(t)&&iu(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Lw(e){return 0!=(16&e.flags)}(t)&&iu(n,t,D(),t.stylesWithoutHost,!1),X}function _t(e,t,n,r){return Z(e,t,n,r),X(),_t}let sg=(e,t,n,r,o,i)=>(mn(!0),ki(r,o,function Af(){return T.lFrame.currentNamespace}()));function bo(){return D()}function hs(e){return!!e&&"function"==typeof e.then}function ug(e){return!!e&&"function"==typeof e.subscribe}function ae(e,t,n,r){const o=D(),i=$(),s=Te();return function dg(e,t,n,r,o,i,s){const a=gi(r),u=e.firstCreatePass&&Rp(e),c=t[ye],d=Fp(t);let f=!0;if(3&r.type||s){const m=Ze(r,t),y=s?s(m):m,v=d.length,g=s?b=>s(ie(b[r.index])):r.index;let w=null;if(!s&&a&&(w=function HM(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==w)(w.__ngLastListenerFn__||w).__ngNextListenerFn__=i,w.__ngLastListenerFn__=i,f=!1;else{i=hg(r,t,c,i,!1);const b=n.listen(y,o,i);d.push(i,b),u&&u.push(o,g,v,v+1)}}else i=hg(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const m=p.length;if(m)for(let y=0;y-1?ot(e.index,t):t);let l=fg(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)l=fg(t,n,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function Tr(e=1){return function Iw(e){return(T.lFrame.contextLView=function Tw(e,t){for(;e>0;)t=t[Kn],e--;return t}(e,T.lFrame.contextLView))[ye]}(e)}function ps(e,t){return e<<17|t<<2}function Dn(e){return e>>17&32767}function uu(e){return 2|e}function $n(e){return(131068&e)>>2}function cu(e,t){return-131069&e|t<<2}function du(e){return 1|e}function Eg(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Dn(i):$n(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];ZM(e[a],t)&&(l=!0,e[a+1]=r?du(c):uu(c)),a=r?Dn(c):$n(c)}l&&(e[n+1]=r?uu(i):du(i))}function ZM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ur(e,t)>=0}function vn(e,t){return function Ct(e,t,n,r){const o=D(),i=$(),s=function Kt(e){const t=T.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Rg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[je()],s=function Fg(e,t){return t>=e.expandoStartIndex}(e,n);(function Vg(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function oA(e,t,n,r){const o=function ka(e){const t=T.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Mo(n=fu(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=fu(o,e,t,n,r),null===i){let l=function iA(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==$n(r))return e[Dn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=fu(null,e,t,l[1],r),l=Mo(l,t.attrs,r),function sA(e,t,n,r){e[Dn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function aA(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)):c=n,o)if(0!==l){const f=Dn(e[a+1]);e[r+1]=ps(f,a),0!==f&&(e[f+1]=cu(e[f+1],r)),e[a+1]=function QM(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=ps(a,0),0!==a&&(e[a+1]=cu(e[a+1],r)),a=r;else e[r+1]=ps(l,0),0===a?a=r:e[l+1]=cu(e[l+1],r),l=r;u&&(e[r+1]=uu(e[r+1])),Eg(e,c,r,!0),Eg(e,c,r,!1),function WM(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&ur(i,t)>=0&&(n[r+1]=du(n[r+1]))}(t,c,e,r,i),s=ps(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==k&&Ve(o,s,t)&&function Og(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1],c=function zM(e){return 1==(1&e)}(u)?Pg(l,t,n,o,$n(u),s):void 0;gs(c)||(gs(i)||function GM(e){return 2==(2&e)}(u)&&(i=Pg(l,null,n,o,a,s)),function zE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Ye.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ye.Important),e.setStyle(n,r,o,i))}}(r,s,vi(je(),n),o,i))}(i,i.data[je()],o,o[V],e,o[s+1]=function dA(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=we(st(e)))),e}(t,n),r,s)}(e,t,null,!0),vn}function fu(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===k&&(f=d?U:void 0);let h=d?Ya(f,r):c===r?f:void 0;if(u&&!gs(h)&&(h=Ya(l,r)),gs(h)&&(a=h,s))return a;const p=e[o+1];o=s?Dn(p):$n(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Ya(l,r))}return a}function gs(e){return void 0!==e}function Xe(e,t=""){const n=D(),r=$(),o=e+j,i=r.firstCreatePass?vr(r,o,1,t,null):r.data[o],s=kg(r,n,i,t,e);n[o]=s,_i()&&Bi(r,n,s,i),Pt(i,!1)}let kg=(e,t,n,r,o)=>(mn(!0),function Vi(e,t){return e.createText(t)}(t[V],r));function hu(e){return pu("",e,""),hu}function pu(e,t,n){const r=D(),o=function Cr(e,t,n,r){return Ve(e,nr(),n)?t+x(n)+r:k}(r,e,t,n);return o!==k&&function tn(e,t,n){const r=vi(t,e);!function hh(e,t,n){e.setValue(t,n)}(e[V],r,n)}(r,je(),o),pu}const Rr="en-US";let im=Rr;function yu(e,t,n,r,o){if(e=F(e),Array.isArray(e))for(let i=0;i>20;if(Ln(e)||!e.multi){const h=new Xr(l,o,_),p=vu(a,t,o?c:c+f,d);-1===p?(za(Ai(u,s),i,a),Du(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=vu(a,t,c+f,d),p=vu(a,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){za(Ai(u,s),i,a);const v=function FI(e,t,n,r,o){const i=new Xr(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,Nm(i,o,r&&!n),i}(o?NI:TI,n.length,o,r,l);!o&&y&&(n[p].providerFactory=v),Du(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(v),s.push(v)}else Du(i,e,h>-1?h:p,Nm(n[o?p:h],l,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function Du(e,t,n,r){const o=Ln(t),i=function AS(e){return!!e.useClass}(t);if(o||i){const l=(i?F(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Nm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vu(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function II(e,t,n){const r=$();if(r.firstCreatePass){const o=vt(e);yu(n,r.data,r.blueprint,o,!0),yu(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class xr{}class RI{}class Cu extends xr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Hp(this);const o=function nt(e,t){const n=e[Od]||null;if(!n&&!0===t)throw new Error(`Type ${we(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Jt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=_p(t,n,[{provide:xr,useValue:this},{provide:Ji,useValue:this.componentFactoryResolver},...r],we(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class wu extends RI{constructor(t){super(),this.moduleType=t}create(t){return new Cu(this.moduleType,t,[])}}function Bm(e,t,n,r,o,i,s){const a=t+n;return function Hn(e,t,n,r){const o=Ve(e,t,n);return Ve(e,t+1,r)||o}(e,a,o,i)?function Bt(e,t,n){return e[t]=n}(e,a+2,s?r.call(s,o,i):r(o,i)):function Ro(e,t){const n=e[t];return n===k?void 0:n}(e,a+2)}function Gm(e,t,n,r){const o=e+j,i=D(),s=er(i,o);return function xo(e,t){return e[S].data[t].pure}(i,o)?Bm(i,function He(){const e=T.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,s.transform,n,r,s):s.transform(n,r)}function Su(e){return t=>{setTimeout(e,void 0,t)}}const Ne=class l0 extends Hr{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Su(i),o&&(o=Su(o)),s&&(s=Su(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Mt&&t.add(a),a}};function u0(){return this._results[Symbol.iterator]()}class bu{get changes(){return this._changes||(this._changes=new Ne)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=bu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=u0)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=function dt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Zw(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=f0,e})();const c0=rn,d0=class extends c0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,r){const s=this._declarationTContainer.tView,a=rs(this._declarationLView,s,t,4096&this._declarationLView[P]?4096:16,null,s.declTNode,null,null,null,n||null,r||null);a[Wr]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[Ft];return null!==u&&(a[Ft]=u.createEmbeddedView(s)),Xl(s,a,t),new vo(a)}};function f0(){return _s(Te(),D())}function _s(e,t){return 4&e.type?new d0(t,e,yr(e,t)):null}let $t=(()=>{class e{}return e.__NG_ELEMENT_ID__=v0,e})();function v0(){return Ym(Te(),D())}const _0=$t,Wm=class extends _0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return yr(this._hostTNode,this._hostLView)}get injector(){return new or(this._hostTNode,this._hostLView)}get parentInjector(){const t=Qa(this._hostTNode,this._hostLView);if(Ff(t)){const n=bi(t,this._hostLView),r=Si(t);return new or(n[S].data[r+8],n)}return new or(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Zm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-xe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function eo(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const m=n||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}const l=s?t:new _o(Q(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const y=(s?u:this.parentInjector).get(pr,null);y&&(i=y)}Q(l.componentType??{});const h=l.create(u,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView,i=o[S];if(function fw(e){return We(e[de])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const u=o[de],c=new Wm(u,u[Re],u[de]);c.detach(c.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;if(function LE(e,t,n,r){const o=xe+r,i=n.length;r>0&&(n[o-1][Dt]=t),r0)r.push(s[a/2]);else{const u=i[a+1],c=t[-l];for(let d=xe;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=oe(X0,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(hs(i))n.push(i);else if(ug(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const on=new A("LocaleId",{providedIn:"root",factory:()=>oe(on,N.Optional|N.SkipSelf)||function eT(){return typeof $localize<"u"&&$localize.locale||Rr}()});let nT=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new sa(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ey(...e){}class Me{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ne(!1),this.onMicrotaskEmpty=new Ne(!1),this.onStable=new Ne(!1),this.onError=new Ne(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function sT(){const e="function"==typeof J.requestAnimationFrame;let t=J[e?"requestAnimationFrame":"setTimeout"],n=J[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function uT(e){const t=()=>{!function lT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(J,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Bu(e),e.isCheckStableRunning=!0,Lu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Bu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Sy(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),by(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Sy(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),by(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Bu(e),Lu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Me.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(Me.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,aT,Ey,Ey);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)}}const aT={};function Lu(e){if(0==e._nesting&&!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 Bu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Sy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function by(e){e._nesting--,Lu(e)}class cT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ne,this.onMicrotaskEmpty=new Ne,this.onStable=new Ne,this.onError=new Ne}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)}}const My=new A("",{providedIn:"root",factory:Ay});function Ay(){const e=oe(Me);let t=!0;return function aC(...e){const t=Cd(e),n=function eC(e,t){return"number"==typeof fa(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?At(r[0]):function Y_(e=1/0){return vd(ia,e)}(n)(ha(r,t)):_d}(new Le(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Le(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Me.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Me.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(bd()))}const Iy=new A(""),ws=new A("");let $u,Hu=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,$u||(function dT(e){$u=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Me.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(B(Me),B(ju),B(ws))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})(),ju=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return $u?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),_n=null;const Ty=new A("AllowMultipleToken"),Uu=new A("PlatformDestroyListeners"),Ny=new A("appBootstrapListener");function xy(e,t,n=[]){const r=`Platform: ${t}`,o=new A(r);return(i=[])=>{let s=Gu();if(!s||s.injector.get(Ty,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function pT(e){if(_n&&!_n.get(Ty,!1))throw new C(400,!1);(function Fy(){!function ew(e){tf=e}(()=>{throw new C(600,!1)})})(),_n=e;const t=e.get(Py);(function Ry(e){e.get(Wh,null)?.forEach(n=>n())})(e)}(function Oy(e=[],t){return en.create({name:t,providers:[{provide:bl,useValue:"platform"},{provide:Uu,useValue:new Set([()=>_n=null])},...e]})}(a,r))}return function mT(e){const t=Gu();if(!t)throw new C(401,!1);return t}()}}function Gu(){return _n?.get(Py)??null}let Py=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function yT(e="zone.js",t){return"noop"===e?new cT:"zone.js"===e?new Me(t):e}(r?.ngZone,function Vy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function OI(e,t,n){return new Cu(e,t,n)}(n.moduleType,this.injector,function jy(e){return[{provide:Me,useFactory:e},{provide:Qi,multi:!0,useFactory:()=>{const t=oe(vT,{optional:!0});return()=>t.initialize()}},{provide:Hy,useFactory:DT},{provide:My,useFactory:Ay}]}(()=>o)),s=i.injector.get(Bn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{Es(this._modules,i),a.unsubscribe()})}),function ky(e,t,n){try{const r=n();return hs(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(ku);return a.runInitializers(),a.donePromise.then(()=>(function sm(e){lt(e,"Expected localeId to be defined"),"string"==typeof e&&(im=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(on,Rr)||Rr),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=Ly({},r);return function fT(e,t,n){const r=new wu(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Lo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Uu,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(B(en))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Ly(e,t){return Array.isArray(t)?t.reduce(Ly,e):{...e,...t}}let Lo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=oe(Hy),this.zoneIsStable=oe(My),this.componentTypes=[],this.components=[],this.isStable=oe(nT).hasPendingTasks.pipe(function uC(e,t){return Nn((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(un(r,l=>{o?.unsubscribe();let u=0;const c=i++;At(e(l,c)).subscribe(o=un(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(n=>n?function lC(...e){return ha(e,Cd(e))}(!1):this.zoneIsStable),function cC(e,t=ia){return e=e??dC,Nn((n,r)=>{let o,i=!0;n.subscribe(un(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),bd()),this._injector=oe(pr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof tp;if(!this._injector.get(ku).done)throw!o&&function Qr(e){const t=Q(e)||Fe(e)||qe(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(Ji).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function hT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(xr),u=s.create(en.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(Iy,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),Es(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Es(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Ny,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Es(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Es(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Hy=new A("",{providedIn:"root",factory:()=>oe(Bn).handleError.bind(void 0)});function DT(){const e=oe(Me),t=oe(Bn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let vT=(()=>{class e{constructor(){this.zone=oe(Me),this.applicationRef=oe(Lo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class zy{constructor(){}supports(t){return ls(t)}create(t){return new IT(t)}}const AT=(e,t)=>t;class IT{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||AT}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new TT(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new qy),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new qy),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class TT{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class NT{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class qy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new NT,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Wy(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Yy()),deps:[[e,new Ja,new Xa]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new C(901,!1)}}return e.\u0275prov=W({token:e,providedIn:"root",factory:Yy}),e})();const PT=xy(null,"core",[]);let VT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(B(Lo))},e.\u0275mod=qt({type:e}),e.\u0275inj=It({}),e})(),Xu=null;function Ho(){return Xu}class qT{}const sn=new A("DocumentToken");class PN{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let pD=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new PN(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),gD(a,o)}});for(let o=0,i=r.length;o{gD(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(_($t),_(rn),_(Ms))},e.\u0275dir=O({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function gD(e,t){e.context.$implicit=t.item}let mD=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new VN,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){yD("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){yD("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(_($t),_(rn))},e.\u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class VN{constructor(){this.$implicit=null,this.ngIf=null}}function yD(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${we(t)}'.`)}let aF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=qt({type:e}),e.\u0275inj=It({}),e})();function CD(e){return"server"===e}class PF extends qT{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class gc extends PF{static makeCurrent(){!function zT(e){Xu||(Xu=e)}(new gc)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).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"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function VF(){return Go=Go||document.querySelector("base"),Go?Go.getAttribute("href"):null}();return null==n?null:function kF(e){Bs=Bs||document.createElement("a"),Bs.setAttribute("href",e);const t=Bs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Go=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function RN(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Bs,Go=null,BF=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();const mc=new A("EventManagerPlugins");let AD=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}}return e.\u0275fac=function(n){return new(n||e)(B(mc),B(Me))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();class ID{constructor(t){this._doc=t}}const yc="ng-app-id";let TD=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=CD(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${yc}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(yc),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(yc,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return e.\u0275fac=function(n){return new(n||e)(B(sn),B(Wi),B(Zh,8),B(mr))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();const Dc={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/MathML/"},vc=/%COMP%/g,UF=new A("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function FD(e,t){return t.map(n=>n.replace(vc,e))}let RD=(()=>{class e{constructor(n,r,o,i,s,a,l,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=CD(a),this.defaultRenderer=new _c(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===tt.ShadowDom&&(r={...r,encapsulation:tt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof OD?o.applyToHost(n):o instanceof Cc&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case tt.Emulated:i=new OD(l,u,r,this.appId,c,s,a,d);break;case tt.ShadowDom:return new qF(l,u,n,r,s,a,this.nonce,d);default:i=new Cc(l,u,r,c,s,a,d)}i.onDestroy=()=>o.delete(r.id),o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}}return e.\u0275fac=function(n){return new(n||e)(B(AD),B(TD),B(Wi),B(UF),B(sn),B(mr),B(Me),B(Zh))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();class _c{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Dc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(xD(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(xD(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Dc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Dc[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&(Ye.DashCase|Ye.Important)?t.style.setProperty(n,r,o&Ye.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ye.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Ho().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function xD(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class qF extends _c{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=FD(o.id,o.styles);for(const c of u){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,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(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Cc extends _c{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.rendererUsageCount=0,this.styles=l?FD(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestroy&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class OD extends Cc{constructor(t,n,r,o,i,s,a,l){const u=o+"-"+r.id;super(t,n,r,i,s,a,l,u),this.contentAttr=function GF(e){return"_ngcontent-%COMP%".replace(vc,e)}(u),this.hostAttr=function QF(e){return"_nghost-%COMP%".replace(vc,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let WF=(()=>{class e extends ID{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(B(sn))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();const PD=["alt","control","meta","shift"],ZF={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},YF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let KF=(()=>{class e extends ID{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ho().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),PD.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=ZF[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),PD.forEach(s=>{s!==o&&(0,YF[s])(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"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(B(sn))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();const tR=xy(PT,"browser",[{provide:mr,useValue:"browser"},{provide:Wh,useValue:function XF(){gc.makeCurrent()},multi:!0},{provide:sn,useFactory:function eR(){return function KE(e){yl=e}(document),document},deps:[]}]),nR=new A(""),LD=[{provide:ws,useClass:class LF{addToWindow(t){J.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new C(5103,!1);return i},J.getAllAngularTestabilities=()=>t.getAllTestabilities(),J.getAllAngularRootElements=()=>t.getAllRootElements(),J.frameworkStabilizers||(J.frameworkStabilizers=[]),J.frameworkStabilizers.push(r=>{const o=J.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Ho().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Iy,useClass:Hu,deps:[Me,ju,ws]},{provide:Hu,useClass:Hu,deps:[Me,ju,ws]}],BD=[{provide:bl,useValue:"root"},{provide:Bn,useFactory:function JF(){return new Bn},deps:[]},{provide:mc,useClass:WF,multi:!0,deps:[sn,Me,mr]},{provide:mc,useClass:KF,multi:!0,deps:[sn]},RD,TD,AD,{provide:rp,useExisting:RD},{provide:class fF{},useClass:BF,deps:[]},[]];let rR=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Wi,useValue:n.appId}]}}}return e.\u0275fac=function(n){return new(n||e)(B(nR,12))},e.\u0275mod=qt({type:e}),e.\u0275inj=It({providers:[...BD,...LD],imports:[aF,VT]}),e})();typeof window<"u"&&window;let $D=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=W({token:e,factory:function(n){let r=null;return r=n?new(n||e):B(UD),r},providedIn:"root"}),e})(),UD=(()=>{class e extends $D{constructor(n){super(),this._doc=n}sanitize(n,r){if(null==r)return null;switch(n){case te.NONE:return r;case te.HTML:return kt(r,"HTML")?st(r):kh(this._doc,String(r)).toString();case te.STYLE:return kt(r,"Style")?st(r):r;case te.SCRIPT:if(kt(r,"Script"))return st(r);throw new C(5200,!1);case te.URL:return kt(r,"URL")?st(r):Ui(String(r));case te.RESOURCE_URL:if(kt(r,"ResourceURL"))return st(r);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(n){return function oS(e){return new XE(e)}(n)}bypassSecurityTrustStyle(n){return function iS(e){return new JE(e)}(n)}bypassSecurityTrustScript(n){return function sS(e){return new eS(e)}(n)}bypassSecurityTrustUrl(n){return function aS(e){return new tS(e)}(n)}bypassSecurityTrustResourceUrl(n){return function lS(e){return new nS(e)}(n)}}return e.\u0275fac=function(n){return new(n||e)(B(sn))},e.\u0275prov=W({token:e,factory:function(n){let r=null;return r=n?new n:function uR(e){return new UD(e.get(sn))}(B(en)),r},providedIn:"root"}),e})();function QD(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(u){return void n(u)}a.done?t(l):Promise.resolve(l).then(r,o)}function Hs(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(l){QD(i,r,o,s,a,"next",l)}function a(l){QD(i,r,o,s,a,"throw",l)}s(void 0)})}}class mt extends Hr{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(t){const{hasError:n,_hasValue:r,_value:o,thrownError:i,isStopped:s,_isComplete:a}=this;n?t.error(i):(s||a)&&(r&&t.next(o),t.complete())}next(t){this.isStopped||(this._value=t,this._hasValue=!0)}complete(){const{_hasValue:t,_value:n,_isComplete:r}=this;r||(this._isComplete=!0,t&&super.next(n),super.complete())}}const cR=["video"],dR=["canvas"],fR=["resultsPanel"],Ec="assets/wasm/index.js",Qo="https://cdn.jsdelivr.net/npm/ngx-scanner-qrcode@1.6.7/wasm/index.js",zD={audio:!1,video:!0},Sc={lineWidth:1,strokeStyle:"green",fillStyle:"#55f02880"},bc={font:"15px serif",strokeStyle:"#fff0",fillStyle:"#ff0000"},ln={src:"",fps:30,vibrate:300,decode:"utf-8",isBeep:!0,constraints:zD,canvasStyles:[Sc,bc]};var js=()=>"zbarWasm"in window;const G=(e,t,n)=>{n?e.error(n):e.next(t),e.complete()},Mc=(e=!1)=>{if(!1===e)return;const t=new Audio("data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjI5LjEwMAAAAAAAAAAAAAAA/+M4wAAAAAAAAAAAAEluZm8AAAAPAAAABQAAAkAAgICAgICAgICAgICAgICAgICAgKCgoKCgoKCgoKCgoKCgoKCgoKCgwMDAwMDAwMDAwMDAwMDAwMDAwMDg4ODg4ODg4ODg4ODg4ODg4ODg4P//////////////////////////AAAAAExhdmM1OC41NAAAAAAAAAAAAAAAACQEUQAAAAAAAAJAk0uXRQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYxAANQAbGeUEQAAHZYZ3fASqD4P5TKBgocg+Bw/8+CAYBA4XB9/4EBAEP4nB9+UOf/6gfUCAIKyjgQ/Kf//wfswAAAwQA/+MYxAYOqrbdkZGQAMA7DJLCsQxNOij///////////+tv///3RWiZGBEhsf/FO/+LoCSFs1dFVS/g8f/4Mhv0nhqAieHleLy/+MYxAYOOrbMAY2gABf/////////////////usPJ66R0wI4boY9/8jQYg//g2SPx1M0N3Z0kVJLIs///Uw4aMyvHJJYmPBYG/+MYxAgPMALBucAQAoGgaBoFQVBUFQWDv6gZBUFQVBUGgaBr5YSgqCoKhIGg7+IQVBUFQVBoGga//SsFSoKnf/iVTEFNRTMu/+MYxAYAAANIAAAAADEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV");t.oncanplaythrough=()=>{const n=t.play();n&&n.catch(r=>{})}},qD=(e,t,n,r)=>{let o,i,s=t.width,a=t.height,l=s/a,u=parseInt(getComputedStyle(t).width),c=parseInt(getComputedStyle(t).height),d=u/c;n.innerHTML="",l>d?(o=u/s,i=u/l/a):(i=c/a,o=c*l/s);for(let f=0;fd?(p.style.top=Mn*i+.5*(c-u/l)+"px",p.style.left=Gt*o+"px",p.width=(bn-Gt)*o,p.height=(Yo-Mn)*o):(p.style.top=Mn*i+"px",p.style.left=Gt*o+.5*(u-c*l)+"px",p.width=(bn-Gt)*i,p.height=(Yo-Mn)*i);for(const le in r[0])m[le]=r[0][le];const Zc=[];for(let le=0;lewindow.innerWidth?.9*window.innerWidth:s)+"px",le.style.borderRadius=`clamp(1px, ${o*w-10}px, 3px)`,le.style.paddingBlock=`clamp(1px, ${o*w-10}px, 3px)`,le.style.paddingInline=`clamp(2.5px, ${o*w-6}px, 10px)`;const Xs=``,Js=(new DOMParser).parseFromString(Xs,"application/xml"),Yc=le.ownerDocument.importNode(Js.documentElement,!0);Yc.style.marginLeft=`clamp(1px, ${o*w-10}px, 3px)`,le.appendChild(Yc),Yc.addEventListener("click",()=>window.navigator.clipboard.writeText(h.value)),le.addEventListener("click",()=>window.navigator.clipboard.writeText(h.value));const An=document.createElement("div");An.setAttribute("class","qrcode-tooltip"),An.appendChild(le),i=c/a,o=c*l/s,An.style.fontSize=o*w+"px",An.style.top=Mn*i+"px",An.style.left=Gt*o+.5*(u-c*l)+"px",An.style.width=(bn-Gt)*i+"px",An.style.height=(Yo-Mn)*i+"px";const qn=document.createElement("span");qn.innerText=h.value,qn.style.top=Mn*i+-20*i+"px",qn.style.left=Gt*o+.5*(u-c*l)+"px";const Gx=r[1]?.font?.split(" ")?.[1];qn.style.fontFamily=Gx,qn.style.fontSize=o*w+"px",qn.style.color=r?.[1]?.fillStyle,n?.appendChild(An),n?.appendChild(qn)}n?.appendChild(p)}},WD=(e,t)=>new Promise((n,r)=>e.toBlob(o=>n(o),t)),ZD=(e=[],t,n,r,o=new mt)=>(YD(e,n,r).then(i=>{Promise.all(Object.assign([],i).map(s=>((e,t)=>{let n=t?.decode??ln.decode,r=2===t?.canvasStyles?.length?t?.canvasStyles:[Sc,bc],o=t?.isBeep??ln.isBeep;return new Promise((i,s)=>{const a=new FileReader;a.onload=()=>{const l={name:e.name,file:e,url:URL.createObjectURL(e)},u=new Image;u.setAttribute("crossOrigin","anonymous"),u.onload=Hs(function*(){const c=document.createElement("canvas");c.width=u.naturalWidth||u.width,c.height=u.naturalHeight||u.height;const d=c.getContext("2d");d.drawImage(u,0,0,c.width,c.height);const f=d.getImageData(0,0,c.width,c.height);if(js()){const h=yield zbarWasm.scanImageData(f);if(h?.length){h.forEach(v=>v.value=v.decode(n?.toLocaleLowerCase())),((e,t,n)=>{let r=t.getContext("2d",{willReadFrequently:!0});for(let o=0;o{for(const b in n[0])r[b]=n[0][b];const g=[];for(let b=0;b{const g=n[1]?.font?.split(" ")?.[1];y.height=t.height,y.width=t.width;let w=y.getContext("2d",{willReadFrequently:!0});w.font=u+"px "+g;for(const b in n[1])w[b]=n[1][b];vR(w,i.value,h,p-5)};m(),v(),r.drawImage(y,0,0)}})(h,c,r);const p=yield WD(c),m=URL.createObjectURL(p);i(Object.assign({},l,{data:h,url:m,canvas:c,file:(v=p,g=l.name,new File([v],g,{lastModified:(new Date).getTime(),type:v.type}))})),Mc(o)}else i(Object.assign({},l,{data:h,canvas:c}))}var v,g}),u.src=l.url},a.onerror=l=>s(l),a.readAsDataURL(e)})})(s,t))).then(s=>{G(o,s)}).catch(s=>G(o,null,s))}),o),vR=(e,t,n,r)=>{let o=1.2*e.measureText("M").width,i=t.split("\n");for(var s=0;s{if(e.length&&(t<100||n<100)){const r=[];return new Promise((o,i)=>{for(const s of e){const a=new Image,l=new FileReader;l.onload=function(u){a.onload=function(){const c=document.createElement("canvas"),d=c.getContext("2d"),f=Math.round(a.width*(t/100)),h=Math.round(a.height*(t/100));c.width=f,c.height=h,d.drawImage(a,0,0,f,h),c.toBlob(p=>{const m=new File([p],s.name,{type:s.type});r.push(m),e.length===r.length&&o(r)},s.type,n/100)},a.src=u.target.result},l.onerror=u=>i(u),l.readAsDataURL(s)}})}return Promise.resolve(e)},KD=e=>{Object.assign([],e.childNodes).forEach(t=>e.removeChild(t))},Ac=(e,t)=>{e.style.width=t.offsetWidth+"px",e.style.height=t.offsetHeight+"px"},XD=(e=300)=>{e&&CR()&&window?.navigator?.vibrate(e)},CR=()=>{const e=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.substr(0,4))||/^((?!chrome|android).)*safari/i.test(e))};let JD=(()=>{class e{loadFiles(n=[],r,o){const i=new mt;return YD(n,r,o).then(s=>{Promise.all(Object.assign([],s).map(a=>this.readAsDataURL(a))).then(a=>G(i,a)).catch(a=>G(i,null,a))}),i}loadFilesToScan(n=[],r,o,i){return ZD(n,r,o,i)}readAsDataURL(n){return new Promise((r,o)=>{const i=new FileReader;i.onload=()=>{const s={name:n.name,file:n,url:URL.createObjectURL(n)};r(s)},i.onerror=s=>o(s),i.readAsDataURL(n)})}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ev=(e=new mt,t)=>{let n=0;const r=(o=!1)=>{const i=()=>{let l;try{const u=()=>{clearTimeout(l),js()?setTimeout(()=>G(e,!0)):l=setTimeout(()=>u())};setTimeout(()=>u()),setTimeout(()=>clearTimeout(l),3e3)}catch{clearTimeout(l)}},s=document.querySelectorAll(`script[src="${Qo}"]`),a=document.querySelectorAll('script[src="https://cdn.jsdelivr.net/npm/ngx-scanner-qrcode@latest/wasm/index.js"]');if(s.length||a.length)i();else{const l=document.querySelectorAll(`script[src="${Ec}"]`);if(1===l.length)i();else if(l.forEach(u=>u.remove()),t){const u=t.createElement("script");t.setAttribute(u,"src",o?Qo:Ec),t.setAttribute(u,"type","text/javascript"),t.setAttribute(u,"async",""),t.appendChild(document.head,u),u.onload=()=>i(),u.onerror=()=>{n<2?(document.head.removeChild(u),r(!0)):G(e,!1,Qo)},n+=1}else{const u=document.createElement("script");u.setAttribute("src",o?Qo:Ec),u.setAttribute("type","text/javascript"),u.setAttribute("async",""),document.head.appendChild(u),u.onload=()=>i(),u.onerror=()=>{n<2?(document.head.removeChild(u),r(!0)):G(e,!1,Qo)},n+=1}}};return r(),e};let wR=(()=>{class e{constructor(n,r){this.renderer=n,this.elementRef=r,this.event=new Ne,this.src=ln.src,this.fps=ln.fps,this.vibrate=ln.vibrate,this.decode=ln.decode,this.isBeep=ln.isBeep,this.config=ln,this.constraints=ln.constraints,this.canvasStyles=[Sc,bc],this.isStart=!1,this.isPause=!1,this.isLoading=!1,this.isTorch=!1,this.data=new sa([]),this.devices=new sa([]),this.deviceIndexActive=0,this.dataForResize=[],this.ready=new mt,this.STATUS={startON:()=>this.isStart=!0,pauseON:()=>this.isPause=!0,loadingON:()=>this.isLoading=!0,startOFF:()=>this.isStart=!1,pauseOFF:()=>this.isPause=!1,loadingOFF:()=>this.isLoading=!1,torchOFF:()=>this.isTorch=!1}}ngOnInit(){this.overrideConfig(),ev(this.ready,this.renderer).subscribe(()=>{this.src&&this.loadImage(this.src),this.resize()})}start(n){const r=new mt;return this.isStart?G(r,!1):this.safariWebRTC(r,n),r}stop(){this.STATUS.pauseOFF(),this.STATUS.startOFF(),this.STATUS.torchOFF(),this.STATUS.loadingOFF();const n=new mt;try{clearTimeout(this.rAF_ID),this.video.nativeElement.srcObject.getTracks().forEach(r=>{r.stop(),G(n,!0)}),this.dataForResize=[],(e=>{e.getContext("2d",{willReadFrequently:!0}).clearRect(0,0,e.width,e.height)})(this.canvas.nativeElement),KD(this.resultsPanel.nativeElement)}catch(r){G(n,!1,r)}return n}play(){const n=new mt;return this.isPause?(this.video.nativeElement.play(),this.STATUS.pauseOFF(),this.requestAnimationFrame(),G(n,!0)):G(n,!1),n}pause(){const n=new mt;return this.isStart?(clearTimeout(this.rAF_ID),this.video.nativeElement.pause(),this.STATUS.pauseON(),G(n,!0)):G(n,!1),n}playDevice(n,r=new mt){const o=this.getConstraints();switch(!0){case"null"===n||"undefined"===n||!n:stop(),this.stop(),G(r,!1);break;case n&&(!this.isStart||!o||o.deviceId!==n):stop(),this.stop(),this.STATUS.loadingON(),this.deviceIndexActive=this.devices.value.findIndex(a=>a.deviceId===n);const s={...this.constraints,audio:!1,video:{deviceId:n,...this.constraints.video}};navigator.mediaDevices.getUserMedia(s).then(a=>{this.video.nativeElement.srcObject=a,this.video.nativeElement.onloadedmetadata=()=>{this.video.nativeElement.play(),this.requestAnimationFrame(),G(r,!0),this.STATUS.startON(),this.STATUS.loadingOFF()}}).catch(a=>{this.eventEmit(!1),G(r,!1,a),this.STATUS.startOFF(),this.STATUS.loadingOFF()});break;default:G(r,!1),this.STATUS.loadingOFF()}return r}loadImage(n){const r=new mt;this.STATUS.startOFF(),this.STATUS.loadingON();const o=new Image;return o.setAttribute("crossOrigin","anonymous"),o.onload=()=>{js()&&this.drawImage(o,i=>{G(r,i),this.STATUS.startOFF(),this.STATUS.loadingOFF()})},o.src=n,r}torcher(){const n=this.applyConstraints({advanced:[{torch:this.isTorch}]});return n.subscribe(()=>!1,()=>this.isTorch=!this.isTorch),n}applyConstraints(n,r=0){var o=this;const i=new mt;if(this.isStart){const s=this.video.nativeElement.srcObject;if(null===r&&void 0===r&&Number.isNaN(r))G(i,!1,"Please check again deviceIndex");else{const a=s.getVideoTracks()[r];new window.ImageCapture(a).getPhotoCapabilities().then(Hs(function*(){yield a.applyConstraints(n),Ac(o.video.nativeElement,o.canvas.nativeElement),G(i,!0)})).catch(u=>{switch(u?.name){case"NotFoundError":case"DevicesNotFoundError":G(i,!1,"Required track is missing");break;case"NotReadableError":case"TrackStartError":G(i,!1,"Webcam or mic are already in use");break;case"OverconstrainedError":case"ConstraintNotSatisfiedError":G(i,!1,"Constraints can not be satisfied by avb. devices");break;case"NotAllowedError":case"PermissionDeniedError":G(i,!1,"Permission denied in browser");break;case"TypeError":G(i,!1,"Empty constraints object");break;default:G(i,!1,u)}})}}else G(i,!1,"Please start the scanner");return i}getConstraints(n=0){return this.video.nativeElement.srcObject?.getVideoTracks()[n]?.getConstraints()}download(n=`ngx_scanner_qrcode_${Date.now()}.png`,r,o){var i=this;const s=new mt;return Hs(function*(){const l=((e,t)=>new File([e],t,{lastModified:(new Date).getTime(),type:e.type}))(yield WD(i.canvas.nativeElement),n);ZD([l],i.config,r,o,s).subscribe(u=>{u.forEach(c=>{if(c?.data?.length){const d=document.createElement("a");d.href=c.url,d.download=c.name,d.click(),d.remove()}})})})(),s}resize(){window.addEventListener("resize",()=>{qD(this.dataForResize,this.canvas.nativeElement,this.resultsPanel.nativeElement,this.canvasStyles),Ac(this.video.nativeElement,this.canvas.nativeElement)})}overrideConfig(){"src"in this.config&&(this.src=this.config.src),"fps"in this.config&&(this.fps=this.config.fps),"vibrate"in this.config&&(this.vibrate=this.config.vibrate),"decode"in this.config&&(this.decode=this.config.decode),"isBeep"in this.config&&(this.isBeep=this.config.isBeep),"constraints"in this.config&&(this.constraints=((e,t,n)=>{if(t&&Object.keys(t[e]).length){for(const r in n){const o=JSON.parse(JSON.stringify({...t[e],[r]:n[r]}));t[e]=t[e].hasOwnProperty(r)?t[e]:o}return t[e]}return n})("constraints",this.config,zD)),"canvasStyles"in this.config&&2===this.config?.canvasStyles?.length&&(this.canvasStyles=this.config.canvasStyles)}safariWebRTC(n,r){this.STATUS.startOFF(),this.STATUS.loadingON(),navigator.mediaDevices.getUserMedia(this.constraints).then(o=>{o.getTracks().forEach(i=>i.stop()),this.loadAllDevices(n,r)}).catch(o=>{G(n,!1,o),this.STATUS.startOFF(),this.STATUS.loadingOFF()})}loadAllDevices(n,r){navigator.mediaDevices.enumerateDevices().then(o=>{let i=o.filter(s=>"videoinput"==s.kind);this.devices.next(i),i?.length>0?(G(n,i),r?r(i):this.playDevice(i[0].deviceId)):(G(n,!1,"No camera detected."),this.STATUS.startOFF(),this.STATUS.loadingOFF())}).catch(o=>{G(n,!1,o),this.STATUS.startOFF(),this.STATUS.loadingOFF()})}drawImage(n,r=(()=>{})){var o=this;return Hs(function*(){const i=o.canvas.nativeElement,s=i.getContext("2d",{willReadFrequently:!0});n instanceof HTMLImageElement&&(i.width=n.naturalWidth,i.height=n.naturalHeight,n.style.visibility="",o.video.nativeElement.style.visibility="hidden",o.renderer.setStyle(o.elementRef.nativeElement,"width",i.width+"px"),o.renderer.setStyle(o.elementRef.nativeElement,"maxWidth","100%"),o.renderer.setStyle(o.elementRef.nativeElement,"display","inline-block")),n instanceof HTMLVideoElement&&(i.width=n.videoWidth,i.height=n.videoHeight,n.style.visibility="",o.canvas.nativeElement.style.visibility="hidden"),Ac(o.video.nativeElement,i),s.clearRect(0,0,i.width,i.height),s.drawImage(n,0,0,i.width,i.height);const a=s.getImageData(0,0,i.width,i.height),l=yield zbarWasm.scanImageData(a);if(l?.length){l.forEach(c=>c.value=c.decode(o.decode?.toLocaleLowerCase())),qD(l,Object.freeze(o.canvas.nativeElement),o.resultsPanel.nativeElement,o.canvasStyles);const u=()=>{o.eventEmit(l),o.dataForResize=l};n instanceof HTMLImageElement&&(r(!0),u(),XD(o.vibrate),Mc(o.isBeep)),n instanceof HTMLVideoElement&&(u(),XD(o.vibrate),Mc(o.isBeep))}else r(!1),KD(o.resultsPanel.nativeElement),o.dataForResize=[]})()}eventEmit(n=!1){!1!==n&&this.data.next(n||[]),!1!==n&&this.event.emit(n||[])}requestAnimationFrame(n=100){try{clearTimeout(this.rAF_ID),this.rAF_ID=setTimeout(()=>{this.video.nativeElement.readyState===this.video.nativeElement.HAVE_ENOUGH_DATA&&(n=0,js()&&this.drawImage(this.video.nativeElement),this.isStart&&!this.isPause&&this.requestAnimationFrame(n))},n||this.fps)}catch{clearTimeout(this.rAF_ID)}}get isReady(){return this.ready}ngOnDestroy(){this.pause()}}return e.\u0275fac=function(n){return new(n||e)(_(yn),_(ft))},e.\u0275cmp=ba({type:e,selectors:[["ngx-scanner-qrcode"]],viewQuery:function(n,r){if(1&n&&(Po(cR,5),Po(dR,5),Po(fR,5)),2&n){let o;Oo(o=Vo())&&(r.video=o.first),Oo(o=Vo())&&(r.canvas=o.first),Oo(o=Vo())&&(r.resultsPanel=o.first)}},hostAttrs:[1,"ngx-scanner-qrcode"],inputs:{src:"src",fps:"fps",vibrate:"vibrate",decode:"decode",isBeep:"isBeep",config:"config",constraints:"constraints",canvasStyles:"canvasStyles"},outputs:{event:"event"},exportAs:["scanner"],decls:6,vars:0,consts:[[1,"origin-overlay"],["resultsPanel",""],[1,"origin-canvas"],["canvas",""],["playsinline","",1,"origin-video"],["video",""]],template:function(n,r){1&n&&_t(0,"div",0,1)(2,"canvas",2,3)(4,"video",4,5)},styles:[".ngx-scanner-qrcode{display:block;position:relative}.origin-overlay{width:100%;position:absolute}.origin-overlay span{z-index:2;text-align:left;position:absolute}.origin-overlay .qrcode-polygon{z-index:1;position:absolute}.origin-canvas{width:100%;position:absolute}.origin-video{width:100%;background-color:#262626}.qrcode-tooltip{z-index:3;position:absolute}.qrcode-tooltip:hover .qrcode-tooltip-temp{display:block;position:absolute;cursor:copy}.qrcode-tooltip:hover .qrcode-tooltip-temp:active{color:#afafaf}.qrcode-tooltip .qrcode-tooltip-temp{bottom:0;left:50%;color:#fff;text-align:left;display:none;width:max-content;word-wrap:break-word;transform:translate(-50%);transform-style:preserve-3d;background-color:#000000d0;box-shadow:1px 1px 20px #000000e0}.qrcode-tooltip .qrcode-tooltip-temp svg{cursor:pointer}.qrcode-tooltip .qrcode-tooltip-temp svg rect{fill:none;stroke:#fff;stroke-linejoin:round;stroke-width:32px}.qrcode-tooltip .qrcode-tooltip-temp svg path{fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px}.qrcode-tooltip .qrcode-tooltip-temp svg:active rect{stroke:#afafaf}.qrcode-tooltip .qrcode-tooltip-temp svg:active path{stroke:#afafaf}\n"],encapsulation:2}),e})(),bR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=qt({type:e}),e.\u0275inj=It({providers:[JD]}),e})();let nv=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(_(yn),_(ft))},e.\u0275dir=O({type:e}),e})(),Qn=(()=>{class e extends nv{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Oe(e)))(r||e)}}(),e.\u0275dir=O({type:e,features:[K]}),e})();const Ut=new A("NgValueAccessor"),kr=new A("CallSetDisabledState",{providedIn:"root",factory:()=>qs}),qs="always";let $v=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=qt({type:e}),e.\u0275inj=It({}),e})();const vx={provide:Ut,useExisting:ee(()=>zc),multi:!0};function Zv(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let zc=(()=>{class e extends Qn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=Zv(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function _x(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Oe(e)))(r||e)}}(),e.\u0275dir=O({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,r){1&n&&ae("change",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[ue([vx]),K]}),e})(),Yv=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(Zv(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(n){return new(n||e)(_(ft),_(yn),_(zc,9))},e.\u0275dir=O({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const Cx={provide:Ut,useExisting:ee(()=>qc),multi:!0};function Kv(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let qc=(()=>{class e extends Qn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(Kv(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(Kv(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(n){return new(n||e)(_(ft),_(yn),_(qc,9))},e.\u0275dir=O({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),Fx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=qt({type:e}),e.\u0275inj=It({imports:[$v]}),e})(),xx=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:kr,useValue:n.callSetDisabledState??qs}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=qt({type:e}),e.\u0275inj=It({imports:[Fx]}),e})(),Ox=(()=>{class e{constructor(n){this._sanitizer=n}transform(n,r){switch(r){case"html":default:return this._sanitizer.bypassSecurityTrustHtml(n);case"style":return this._sanitizer.bypassSecurityTrustStyle(n);case"script":return this._sanitizer.bypassSecurityTrustScript(n);case"url":return this._sanitizer.bypassSecurityTrustUrl(n);case"resourceUrl":return this._sanitizer.bypassSecurityTrustResourceUrl(n)}}}return e.\u0275fac=function(n){return new(n||e)(_($D,16))},e.\u0275pipe=Be({name:"safe",type:e,pure:!0}),e})();const Px=["action"];function Vx(e,t){if(1&e&&(Z(0,"option",30),Xe(1),X()),2&e){const n=t.$implicit,r=t.index;Tr();const o=$e(22);ne("value",n.deviceId)("selected",r==o.deviceIndexActive),se(1),hu(n.label)}}function kx(e,t){1&e&&(Z(0,"p"),Xe(1,"\u231b Loading..."),X())}function Lx(e,t){if(1&e){const n=bo();Z(0,"img",31),ae("click",function(){ut(n);const o=Tr(),i=$e(22);return ct(o.handle(i,"start"))}),X()}}function Bx(e,t){if(1&e){const n=bo();Z(0,"img",32),ae("click",function(){ut(n);const o=Tr(),i=$e(22);return ct(o.handle(i,"stop"))}),X()}}function Hx(e,t){if(1&e){const n=bo();Z(0,"div")(1,"ngx-scanner-qrcode",26,27),ae("event",function(o){return ut(n),ct(Tr().onEvent(o))}),X()()}if(2&e){const n=t.$implicit,r=Tr();se(1),ne("src",n.url)("config",r.config)}}function jx(e,t){if(1&e&&(Z(0,"div"),_t(1,"img",33),function Um(e,t){const n=$();let r;const o=e+j;n.firstCreatePass?(r=function n0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=xn(r.type)),s=ze(_);try{const a=Mi(!1),l=i();return Mi(a),function xM(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,D(),o,l),l}finally{ze(s)}}(2,"safe"),X()),2&e){const n=t.$implicit;se(1),ne("src",Gm(2,1,n.url,"url"),co)}}let $x=(()=>{class e{constructor(n){this.qrcode=n,this.config={constraints:{video:{width:window.innerWidth}}},this.qrCodeResult=[],this.qrCodeResult2=[]}ngAfterViewInit(){this.action.isReady.subscribe(n=>{})}onEvent(n,r){console.log(n)}handle(n,r){"start"===r?n[r](i=>{const s=i.find(a=>/back|rear|environment/gi.test(a.label));n.playDevice(s?s.deviceId:i[0].deviceId)}).subscribe(i=>console.log(r,i),alert):n[r]().subscribe(i=>console.log(r,i),alert)}onDowload(n){n.download().subscribe(console.log,alert)}onSelects(n){this.qrcode.loadFiles(n,50,90).subscribe(r=>{this.qrCodeResult=r})}onSelects2(n){this.qrcode.loadFilesToScan(n,this.config,50,90).subscribe(r=>{console.log(r),this.qrCodeResult2=r})}onGetConstraints(){const n=this.action.getConstraints();console.log(n)}applyConstraints(){const n=this.action.applyConstraints({...this.action.getConstraints(),width:510});console.log(n)}}return e.\u0275fac=function(n){return new(n||e)(_(JD))},e.\u0275cmp=ba({type:e,selectors:[["app-root"]],viewQuery:function(n,r){if(1&n&&Po(Px,5),2&n){let o;Oo(o=Vo())&&(r.action=o.first)}},decls:56,vars:40,consts:[[1,"container"],[1,"row"],[1,"col-xs-12","col-md-6","col-lg-4","col-xl-3","my-1"],[1,"form-select","form-select-sm",3,"change"],["select1",""],["selected","",3,"value"],[3,"value","selected",4,"ngFor","ngForOf"],["select2",""],["value","utf-8",3,"selected"],["value","iso-8859-15",3,"selected"],["value","windows-1252",3,"selected"],["value","macintosh",3,"selected"],[3,"config","event"],["action","scanner"],[4,"ngIf"],[1,"btn",3,"disabled"],["src","assets/images/camera-on.svg","width","30px",3,"click",4,"ngIf"],["src","assets/images/camera-off.svg","width","30px",3,"click",4,"ngIf"],[1,"btn",3,"disabled","click"],["width","30px",3,"src"],["src","assets/images/capture.svg","width","30px"],["type","file",1,"btn","btn-success","my-2",3,"multiple","accept","change"],["file",""],["file2",""],[1,"btn","btn-success",3,"click"],[4,"ngFor","ngForOf"],[3,"src","config","event"],["actionFile","scanner"],[1,"center"],["href","https://github.com/id1945/ngx-scanner-qrcode/blob/master/LICENSE"],[3,"value","selected"],["src","assets/images/camera-on.svg","width","30px",3,"click"],["src","assets/images/camera-off.svg","width","30px",3,"click"],["alt","",2,"max-width","100%",3,"src"]],template:function(n,r){if(1&n){const o=bo();Z(0,"div",0)(1,"h1"),Xe(2," ngx-scanner-qrcode "),X(),Z(3,"div",1)(4,"div",2)(5,"select",3,4),ae("change",function(){ut(o);const s=$e(6);return ct($e(22).playDevice(s.value))}),Z(7,"option",5),Xe(8,"Select device"),X(),jn(9,Vx,2,3,"option",6),X()(),Z(10,"div",2)(11,"select",3,7),ae("change",function(){ut(o);const s=$e(22),a=$e(12);return ct(s.decode=a.value)}),Z(13,"option",8),Xe(14,"UTF-8"),X(),Z(15,"option",9),Xe(16,"ISO-8859-15"),X(),Z(17,"option",10),Xe(18,"Windows-1252"),X(),Z(19,"option",11),Xe(20,"Macintosh"),X()()()(),Z(21,"ngx-scanner-qrcode",12,13),ae("event",function(s){ut(o);const a=$e(22);return ct(r.onEvent(s,a))}),X(),_t(23,"br"),jn(24,kx,2,0,"p",14),Z(25,"button",15),jn(26,Lx,1,0,"img",16),jn(27,Bx,1,0,"img",17),X(),Z(28,"button",18),ae("click",function(){ut(o);const s=$e(22);return ct(r.handle(s,s.isPause?"play":"pause"))}),_t(29,"img",19),X(),Z(30,"button",18),ae("click",function(){ut(o);const s=$e(22);return s.isTorch=!s.isTorch,ct(r.handle(s,"torcher"))}),_t(31,"img",19),X(),Z(32,"button",18),ae("click",function(){ut(o);const s=$e(22);return ct(r.onDowload(s))}),_t(33,"img",20),X(),_t(34,"br"),Z(35,"input",21,22),ae("change",function(){ut(o);const s=$e(36);return ct(r.onSelects(s.files))}),X(),_t(37,"br"),Z(38,"input",21,23),ae("change",function(){ut(o);const s=$e(39);return ct(r.onSelects2(s.files))}),X(),_t(40,"br"),Z(41,"button",24),ae("click",function(){return r.onGetConstraints()}),Xe(42,"Get"),X(),Z(43,"button",24),ae("click",function(){return r.applyConstraints()}),Xe(44,"App"),X(),jn(45,Hx,3,2,"div",25),jn(46,jx,3,4,"div",25),Z(47,"ngx-scanner-qrcode",26,27),ae("event",function(s){return r.onEvent(s)}),X(),Z(49,"p",28)(50,"a",29),Xe(51,"LGPL-2.1+ License"),X()(),Z(52,"p",28),Xe(53,"Author: DaiDH"),X(),Z(54,"p",28),Xe(55,"Copyright (C) 1991, 1999 Free Software Foundation, Inc."),X()()}if(2&n){const o=$e(22);se(7),ne("value",null),se(2),ne("ngForOf",o.devices.value),se(4),ne("selected","utf-8"==o.decode),se(2),ne("selected","iso-8859-15"==o.decode),se(2),ne("selected","windows-1252"==o.decode),se(2),ne("selected","macintosh"==o.decode),se(2),ne("config",r.config),se(3),ne("ngIf",o.isLoading),se(1),vn("btn-info",!o.isStart)("btn-warning",o.isStart),ne("disabled",o.isLoading),se(1),ne("ngIf",!o.isStart),se(1),ne("ngIf",o.isStart),se(1),vn("btn-info",!o.isStart)("btn-warning",o.isStart),ne("disabled",!o.isStart),se(1),ne("src",o.isPause?"assets/images/play.svg ":"assets/images/pause.svg",co),se(1),vn("btn-info",!o.isStart)("btn-warning",o.isStart),ne("disabled",!o.isStart),se(1),ne("src",o.isTorch?"assets/images/flash-off.svg":"assets/images/flash-on.svg",co),se(1),vn("btn-info",!o.isStart)("btn-warning",o.isStart),ne("disabled",!o.isStart),se(3),ne("multiple","multiple")("accept",".jpg, .png, .gif, .jpeg"),se(3),ne("multiple","multiple")("accept",".jpg, .png, .gif, .jpeg"),se(7),ne("ngForOf",r.qrCodeResult),se(1),ne("ngForOf",r.qrCodeResult2),se(1),ne("src","https://raw.githubusercontent.com/id1945/ngx-scanner-qrcode/master/supported-barcode-types.png")("config",r.config)}},dependencies:[pD,mD,Yv,Xv,wR,Ox],styles:["h1[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{font-weight:600;word-break:break-all;font-family:Courier New,Courier,monospace}div[_ngcontent-%COMP%]{text-align:center;background:#fdfdfd}div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border-radius:50%;height:60px;width:60px;margin:4px}div[_ngcontent-%COMP%] buttondisabled[_ngcontent-%COMP%]{cursor:no-drop}div[_ngcontent-%COMP%] .data[_ngcontent-%COMP%]{background:antiquewhite;border-radius:5px}"]}),e})();ev().subscribe(e=>{console.log("LOAD_WASM",e)});let Ux=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=qt({type:e,bootstrap:[$x]}),e.\u0275inj=It({imports:[rR,xx,bR]}),e})();tR().bootstrapModule(Ux).catch(e=>console.error(e))}},ce=>{ce(ce.s=37)}]); \ No newline at end of file