-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.9fa21586dcf067fe.js
More file actions
1 lines (1 loc) · 230 KB
/
Copy pathmain.9fa21586dcf067fe.js
File metadata and controls
1 lines (1 loc) · 230 KB
1
"use strict";(self.webpackChunkpatience_app=self.webpackChunkpatience_app||[]).push([[179],{789:()=>{function r2(e){return"function"==typeof e}function i6(e){const n=e(c=>{Error.call(c),c.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const s6=i6(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((c,r)=>`${r+1}) ${c.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function j4(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class M1{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 a of n)a.remove(this);else n.remove(this);const{initialTeardown:c}=this;if(r2(c))try{c()}catch(a){t=a instanceof s6?a.errors:[a]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const a of r)try{Dr(a)}catch(i){t=t??[],i instanceof s6?t=[...t,...i.errors]:t.push(i)}}if(t)throw new s6(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Dr(t);else{if(t instanceof M1){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)&&j4(n,t)}remove(t){const{_finalizers:n}=this;n&&j4(n,t),t instanceof M1&&t._removeParent(this)}}M1.EMPTY=(()=>{const e=new M1;return e.closed=!0,e})();const wr=M1.EMPTY;function br(e){return e instanceof M1||e&&"closed"in e&&r2(e.remove)&&r2(e.add)&&r2(e.unsubscribe)}function Dr(e){r2(e)?e():e.unsubscribe()}const m3={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},o6={setTimeout(e,t,...n){const{delegate:c}=o6;return c?.setTimeout?c.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=o6;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function xr(e){o6.setTimeout(()=>{const{onUnhandledError:t}=m3;if(!t)throw e;t(e)})}function Sr(){}const cC=P8("C",void 0,void 0);function P8(e,t,n){return{kind:e,value:t,error:n}}let v3=null;function l6(e){if(m3.useDeprecatedSynchronousErrorHandling){const t=!v3;if(t&&(v3={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:c}=v3;if(v3=null,n)throw c}}else e()}class F8 extends M1{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,br(t)&&t.add(this)):this.destination=fC}static create(t,n,c){return new $4(t,n,c)}next(t){this.isStopped?O8(function aC(e){return P8("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?O8(function rC(e){return P8("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?O8(cC,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 sC=Function.prototype.bind;function R8(e,t){return sC.call(e,t)}class oC{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(c){f6(c)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(c){f6(c)}else f6(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){f6(n)}}}class $4 extends F8{constructor(t,n,c){let r;if(super(),r2(t)||!t)r={next:t??void 0,error:n??void 0,complete:c??void 0};else{let a;this&&m3.useDeprecatedNextContext?(a=Object.create(t),a.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&R8(t.next,a),error:t.error&&R8(t.error,a),complete:t.complete&&R8(t.complete,a)}):r=t}this.destination=new oC(r)}}function f6(e){m3.useDeprecatedSynchronousErrorHandling?function iC(e){m3.useDeprecatedSynchronousErrorHandling&&v3&&(v3.errorThrown=!0,v3.error=e)}(e):xr(e)}function O8(e,t){const{onStoppedNotification:n}=m3;n&&o6.setTimeout(()=>n(e,t))}const fC={closed:!0,next:Sr,error:function lC(e){throw e},complete:Sr},B8="function"==typeof Symbol&&Symbol.observable||"@@observable";function U8(e){return e}let I2=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const c=new e;return c.source=this,c.operator=n,c}subscribe(n,c,r){const a=function dC(e){return e&&e instanceof F8||function uC(e){return e&&r2(e.next)&&r2(e.error)&&r2(e.complete)}(e)&&br(e)}(n)?n:new $4(n,c,r);return l6(()=>{const{operator:i,source:s}=this;a.add(i?i.call(a,s):s?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(n){try{return this._subscribe(n)}catch(c){n.error(c)}}forEach(n,c){return new(c=Er(c))((r,a)=>{const i=new $4({next:s=>{try{n(s)}catch(o){a(o),i.unsubscribe()}},error:a,complete:r});this.subscribe(i)})}_subscribe(n){var c;return null===(c=this.source)||void 0===c?void 0:c.subscribe(n)}[B8](){return this}pipe(...n){return function Nr(e){return 0===e.length?U8:1===e.length?e[0]:function(n){return e.reduce((c,r)=>r(c),n)}}(n)(this)}toPromise(n){return new(n=Er(n))((c,r)=>{let a;this.subscribe(i=>a=i,i=>r(i),()=>c(a))})}}return e.create=t=>new e(t),e})();function Er(e){var t;return null!==(t=e??m3.Promise)&&void 0!==t?t:Promise}const hC=i6(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let u6=(()=>{class e extends I2{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const c=new Ar(this,this);return c.operator=n,c}_throwIfClosed(){if(this.closed)throw new hC}next(n){l6(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const c of this.currentObservers)c.next(n)}})}error(n){l6(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:c}=this;for(;c.length;)c.shift().error(n)}})}complete(){l6(()=>{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:c,isStopped:r,observers:a}=this;return c||r?wr:(this.currentObservers=null,a.push(n),new M1(()=>{this.currentObservers=null,j4(a,n)}))}_checkFinalizedStatuses(n){const{hasError:c,thrownError:r,isStopped:a}=this;c?n.error(r):a&&n.complete()}asObservable(){const n=new I2;return n.source=this,n}}return e.create=(t,n)=>new Ar(t,n),e})();class Ar extends u6{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,c;null===(c=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===c||c.call(n,t)}error(t){var n,c;null===(c=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===c||c.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,c;return null!==(c=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==c?c:wr}}class pC extends u6{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:c}=this;if(t)throw n;return this._throwIfClosed(),c}next(t){super.next(this._value=t)}}function g3(e){return t=>{if(function mC(e){return r2(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(c){this.error(c)}});throw new TypeError("Unable to lift unknown Observable type")}}function M3(e,t,n,c,r){return new vC(e,t,n,c,r)}class vC extends F8{constructor(t,n,c,r,a,i){super(t),this.onFinalize=a,this.shouldUnsubscribe=i,this._next=n?function(s){try{n(s)}catch(o){t.error(o)}}:super._next,this._error=r?function(s){try{r(s)}catch(o){t.error(o)}finally{this.unsubscribe()}}:super._error,this._complete=c?function(){try{c()}catch(s){t.error(s)}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 J1(e){return this instanceof J1?(this.v=e,this):new J1(e)}function Ir(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 q8(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],c=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&c>=e.length&&(e=void 0),{value:e&&e[c++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},c("next"),c("throw"),c("return"),n[Symbol.asyncIterator]=function(){return this},n);function c(a){n[a]=e[a]&&function(i){return new Promise(function(s,o){!function r(a,i,s,o){Promise.resolve(o).then(function(l){a({value:l,done:s})},i)}(s,o,(i=e[a](i)).done,i.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Pr=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Fr(e){return r2(e?.then)}function Rr(e){return r2(e[B8])}function Or(e){return Symbol.asyncIterator&&r2(e?.[Symbol.asyncIterator])}function Br(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 Ur=function RC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function jr(e){return r2(e?.[Ur])}function $r(e){return function Tr(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,c=n.apply(e,t||[]),a=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(d){c[d]&&(r[d]=function(h){return new Promise(function(p,v){a.push([d,h,p,v])>1||s(d,h)})})}function s(d,h){try{!function o(d){d.value instanceof J1?Promise.resolve(d.value.v).then(l,f):u(a[0][2],d)}(c[d](h))}catch(p){u(a[0][3],p)}}function l(d){s("next",d)}function f(d){s("throw",d)}function u(d,h){d(h),a.shift(),a.length&&s(a[0][0],a[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:c,done:r}=yield J1(n.read());if(r)return yield J1(void 0);yield yield J1(c)}}finally{n.releaseLock()}})}function Gr(e){return r2(e?.getReader)}function k1(e){if(e instanceof I2)return e;if(null!=e){if(Rr(e))return function OC(e){return new I2(t=>{const n=e[B8]();if(r2(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Pr(e))return function BC(e){return new I2(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Fr(e))return function UC(e){return new I2(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,xr)})}(e);if(Or(e))return qr(e);if(jr(e))return function jC(e){return new I2(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Gr(e))return function $C(e){return qr($r(e))}(e)}throw Br(e)}function qr(e){return new I2(t=>{(function GC(e,t){var n,c,r,a;return function _r(e,t,n,c){return new(n||(n=Promise))(function(a,i){function s(f){try{l(c.next(f))}catch(u){i(u)}}function o(f){try{l(c.throw(f))}catch(u){i(u)}}function l(f){f.done?a(f.value):function r(a){return a instanceof n?a:new n(function(i){i(a)})}(f.value).then(s,o)}l((c=c.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Ir(e);!(c=yield n.next()).done;)if(t.next(c.value),t.closed)return}catch(i){r={error:i}}finally{try{c&&!c.done&&(a=n.return)&&(yield a.call(n))}finally{if(r)throw r.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function e3(e,t,n,c=0,r=!1){const a=t.schedule(function(){n(),r?e.add(this.schedule(null,c)):this.unsubscribe()},c);if(e.add(a),!r)return a}function Wr(e,t,n=1/0){return r2(t)?Wr((c,r)=>function gC(e,t){return g3((n,c)=>{let r=0;n.subscribe(M3(c,a=>{c.next(e.call(t,a,r++))}))})}((a,i)=>t(c,a,r,i))(k1(e(c,r))),n):("number"==typeof t&&(n=t),g3((c,r)=>function qC(e,t,n,c,r,a,i,s){const o=[];let l=0,f=0,u=!1;const d=()=>{u&&!o.length&&!l&&t.complete()},h=v=>l<c?p(v):o.push(v),p=v=>{a&&t.next(v),l++;let g=!1;k1(n(v,f++)).subscribe(M3(t,C=>{r?.(C),a?h(C):t.next(C)},()=>{g=!0},void 0,()=>{if(g)try{for(l--;o.length&&l<c;){const C=o.shift();i?e3(t,i,()=>p(C)):p(C)}d()}catch(C){t.error(C)}}))};return e.subscribe(M3(t,h,()=>{u=!0,d()})),()=>{s?.()}}(c,r,e,n)))}const Yr=new I2(e=>e.complete());function W8(e){return e[e.length-1]}function Qr(e){return function QC(e){return e&&r2(e.schedule)}(W8(e))?e.pop():void 0}function Zr(e,t=0){return g3((n,c)=>{n.subscribe(M3(c,r=>e3(c,e,()=>c.next(r),t),()=>e3(c,e,()=>c.complete(),t),r=>e3(c,e,()=>c.error(r),t)))})}function Kr(e,t=0){return g3((n,c)=>{c.add(e.schedule(()=>n.subscribe(c),t))})}function Xr(e,t){if(!e)throw new Error("Iterable cannot be null");return new I2(n=>{e3(n,t,()=>{const c=e[Symbol.asyncIterator]();e3(n,t,()=>{c.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Jr(e,t){return t?function nH(e,t){if(null!=e){if(Rr(e))return function KC(e,t){return k1(e).pipe(Kr(t),Zr(t))}(e,t);if(Pr(e))return function JC(e,t){return new I2(n=>{let c=0;return t.schedule(function(){c===e.length?n.complete():(n.next(e[c++]),n.closed||this.schedule())})})}(e,t);if(Fr(e))return function XC(e,t){return k1(e).pipe(Kr(t),Zr(t))}(e,t);if(Or(e))return Xr(e,t);if(jr(e))return function eH(e,t){return new I2(n=>{let c;return e3(n,t,()=>{c=e[Ur](),e3(n,t,()=>{let r,a;try{({value:r,done:a}=c.next())}catch(i){return void n.error(i)}a?n.complete():n.next(r)},0,!0)}),()=>r2(c?.return)&&c.return()})}(e,t);if(Gr(e))return function tH(e,t){return Xr($r(e),t)}(e,t)}throw Br(e)}(e,t):k1(e)}function cH(...e){const t=Qr(e),n=function ZC(e,t){return"number"==typeof W8(e)?e.pop():t}(e,1/0),c=e;return c.length?1===c.length?k1(c[0]):function WC(e=1/0){return Wr(U8,e)}(n)(Jr(c,t)):Yr}function ea(e={}){const{connector:t=(()=>new u6),resetOnError:n=!0,resetOnComplete:c=!0,resetOnRefCountZero:r=!0}=e;return a=>{let i,s,o,l=0,f=!1,u=!1;const d=()=>{s?.unsubscribe(),s=void 0},h=()=>{d(),i=o=void 0,f=u=!1},p=()=>{const v=i;h(),v?.unsubscribe()};return g3((v,g)=>{l++,!u&&!f&&d();const C=o=o??t();g.add(()=>{l--,0===l&&!u&&!f&&(s=Y8(p,r))}),C.subscribe(g),!i&&l>0&&(i=new $4({next:m=>C.next(m),error:m=>{u=!0,d(),s=Y8(h,n,m),C.error(m)},complete:()=>{f=!0,d(),s=Y8(h,c),C.complete()}}),k1(v).subscribe(i))})(a)}}function Y8(e,t,...n){if(!0===t)return void e();if(!1===t)return;const c=new $4({next:()=>{c.unsubscribe(),e()}});return k1(t(...n)).subscribe(c)}function sH(e,t){return e===t}function q(e){for(let t in e)if(e[t]===q)return t;throw Error("Could not find renamed property on target object.")}function h2(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(h2).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 Q8(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const oH=q({__forward_ref__:q});function Z8(e){return e.__forward_ref__=Z8,e.toString=function(){return h2(this())},e}function S(e){return function K8(e){return"function"==typeof e&&e.hasOwnProperty(oH)&&e.__forward_ref__===Z8}(e)?e():e}function X8(e){return e&&!!e.\u0275providers}const ta="https://g.co/ng/security#xss";class V extends Error{constructor(t,n){super(function h6(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function N(e){return"string"==typeof e?e:null==e?"":String(e)}function p6(e,t){throw new V(-201,!1)}function t1(e,t){null==e&&function B(e,t,n,c){throw new Error(`ASSERTION ERROR: ${e}`+(null==c?"":` [Expected=> ${n} ${c} ${t} <=Actual]`))}(t,e,null,"!=")}function R(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function H3(e){return{providers:e.providers||[],imports:e.imports||[]}}function m6(e){return na(e,v6)||na(e,ra)}function na(e,t){return e.hasOwnProperty(t)?e[t]:null}function ca(e){return e&&(e.hasOwnProperty(J8)||e.hasOwnProperty(mH))?e[J8]:null}const v6=q({\u0275prov:q}),J8=q({\u0275inj:q}),ra=q({ngInjectableDef:q}),mH=q({ngInjectorDef:q});var P=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(P||{});let et;function P2(e){const t=et;return et=e,t}function ia(e,t,n){const c=m6(e);return c&&"root"==c.providedIn?void 0===c.value?c.value=c.factory():c.value:n&P.Optional?null:void 0!==t?t:void p6(h2(e))}const W=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),G4={},tt="__NG_DI_FLAG__",g6="ngTempTokenPath",gH=/\n/gm,sa="__source";let G3;function t3(e){const t=G3;return G3=e,t}function HH(e,t=P.Default){if(void 0===G3)throw new V(-203,!1);return null===G3?ia(e,void 0,t):G3.get(e,t&P.Optional?null:void 0,t)}function T(e,t=P.Default){return(function aa(){return et}()||HH)(S(e),t)}function e2(e,t=P.Default){return T(e,M6(t))}function M6(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function nt(e){const t=[];for(let n=0;n<e.length;n++){const c=S(e[n]);if(Array.isArray(c)){if(0===c.length)throw new V(900,!1);let r,a=P.Default;for(let i=0;i<c.length;i++){const s=c[i],o=zH(s);"number"==typeof o?-1===o?r=s.token:a|=o:r=s}t.push(T(r,a))}else t.push(T(c))}return t}function q4(e,t){return e[tt]=t,e.prototype[tt]=t,e}function zH(e){return e[tt]}function T1(e){return{toString:e}.toString()}var C6=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(C6||{}),o1=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(o1||{});const C1={},O=[],H6=q({\u0275cmp:q}),ct=q({\u0275dir:q}),rt=q({\u0275pipe:q}),la=q({\u0275mod:q}),I1=q({\u0275fac:q}),W4=q({__NG_ELEMENT_ID__:q}),fa=q({__NG_ENV_ID__:q});function ua(e,t,n){let c=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const a=t.length;if(r+a===c||e.charCodeAt(r+a)<=32)return r}n=r+1}}function at(e,t,n){let c=0;for(;c<n.length;){const r=n[c];if("number"==typeof r){if(0!==r)break;c++;const a=n[c++],i=n[c++],s=n[c++];e.setAttribute(t,i,s,a)}else{const a=r,i=n[++c];ha(a)?e.setProperty(t,a,i):e.setAttribute(t,a,i),c++}}return c}function da(e){return 3===e||4===e||6===e}function ha(e){return 64===e.charCodeAt(0)}function Y4(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let c=0;c<t.length;c++){const r=t[c];"number"==typeof r?n=r:0===n||pa(e,n,r,null,-1===n||2===n?t[++c]:null)}}return e}function pa(e,t,n,c,r){let a=0,i=e.length;if(-1===t)i=-1;else for(;a<e.length;){const s=e[a++];if("number"==typeof s){if(s===t){i=-1;break}if(s>t){i=a-1;break}}}for(;a<e.length;){const s=e[a];if("number"==typeof s)break;if(s===n){if(null===c)return void(null!==r&&(e[a+1]=r));if(c===e[a+1])return void(e[a+2]=r)}a++,null!==c&&a++,null!==r&&a++}-1!==i&&(e.splice(i,0,t),a=i+1),e.splice(a++,0,n),null!==c&&e.splice(a++,0,c),null!==r&&e.splice(a++,0,r)}const ma="ng-template";function LH(e,t,n){let c=0,r=!0;for(;c<e.length;){let a=e[c++];if("string"==typeof a&&r){const i=e[c++];if(n&&"class"===a&&-1!==ua(i.toLowerCase(),t,0))return!0}else{if(1===a){for(;c<e.length&&"string"==typeof(a=e[c++]);)if(a.toLowerCase()===t)return!0;return!1}"number"==typeof a&&(r=!1)}}return!1}function va(e){return 4===e.type&&e.value!==ma}function wH(e,t,n){return t===(4!==e.type||n?e.value:ma)}function bH(e,t,n){let c=4;const r=e.attrs||[],a=function SH(e){for(let t=0;t<e.length;t++)if(da(e[t]))return t;return e.length}(r);let i=!1;for(let s=0;s<t.length;s++){const o=t[s];if("number"!=typeof o){if(!i)if(4&c){if(c=2|1&c,""!==o&&!wH(e,o,n)||""===o&&1===t.length){if(l1(c))return!1;i=!0}}else{const l=8&c?o:t[++s];if(8&c&&null!==e.attrs){if(!LH(e.attrs,l,n)){if(l1(c))return!1;i=!0}continue}const u=DH(8&c?"class":o,r,va(e),n);if(-1===u){if(l1(c))return!1;i=!0;continue}if(""!==l){let d;d=u>a?"":r[u+1].toLowerCase();const h=8&c?d:null;if(h&&-1!==ua(h,l,0)||2&c&&l!==d){if(l1(c))return!1;i=!0}}}}else{if(!i&&!l1(c)&&!l1(o))return!1;if(i&&l1(o))continue;i=!1,c=o|1&c}}return l1(c)||i}function l1(e){return 0==(1&e)}function DH(e,t,n,c){if(null===t)return-1;let r=0;if(c||!n){let a=!1;for(;r<t.length;){const i=t[r];if(i===e)return r;if(3===i||6===i)a=!0;else{if(1===i||2===i){let s=t[++r];for(;"string"==typeof s;)s=t[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=a?1:2}return-1}return function NH(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const c=e[n];if("number"==typeof c)return-1;if(c===t)return n;n++}return-1}(t,e)}function ga(e,t,n=!1){for(let c=0;c<t.length;c++)if(bH(e,t[c],n))return!0;return!1}function EH(e,t){e:for(let n=0;n<t.length;n++){const c=t[n];if(e.length===c.length){for(let r=0;r<e.length;r++)if(e[r]!==c[r])continue e;return!0}}return!1}function Ma(e,t){return e?":not("+t.trim()+")":t}function AH(e){let t=e[0],n=1,c=2,r="",a=!1;for(;n<e.length;){let i=e[n];if("string"==typeof i)if(2&c){const s=e[++n];r+="["+i+(s.length>0?'="'+s+'"':"")+"]"}else 8&c?r+="."+i:4&c&&(r+=" "+i);else""!==r&&!l1(i)&&(t+=Ma(a,r),r=""),c=i,a=a||!l1(c);n++}return""!==r&&(t+=Ma(a,r)),t}function q3(e){return T1(()=>{const t=Ha(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===C6.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||o1.Emulated,styles:e.styles||O,_:null,schemas:e.schemas||null,tView:null,id:""};za(n);const c=e.dependencies;return n.directiveDefs=z6(c,!1),n.pipeDefs=z6(c,!0),n.id=function OH(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 r of n)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function IH(e){return U(e)||V2(e)}function PH(e){return null!==e}function W3(e){return T1(()=>({type:e.type,bootstrap:e.bootstrap||O,declarations:e.declarations||O,imports:e.imports||O,exports:e.exports||O,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ca(e,t){if(null==e)return C1;const n={};for(const c in e)if(e.hasOwnProperty(c)){let r=e[c],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=c,t&&(t[r]=a)}return n}function G2(e){return T1(()=>{const t=Ha(e);return za(t),t})}function F2(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 U(e){return e[H6]||null}function V2(e){return e[ct]||null}function R2(e){return e[rt]||null}function Ha(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||C1,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||O,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ca(e.inputs,t),outputs:Ca(e.outputs)}}function za(e){e.features?.forEach(t=>t(e))}function z6(e,t){if(!e)return null;const n=t?R2:IH;return()=>("function"==typeof e?e():e).map(c=>n(c)).filter(PH)}const p2=0,H=1,E=2,n2=3,f1=4,Z4=5,y2=6,Y3=7,s2=8,Q3=9,z3=10,A=11,K4=12,Va=13,Z3=14,o2=15,X4=16,K3=17,H1=18,J4=19,ya=20,n3=21,P1=22,V6=23,y6=24,I=25,it=1,La=2,z1=7,X3=9,L2=11;function W2(e){return Array.isArray(e)&&"object"==typeof e[it]}function O2(e){return Array.isArray(e)&&!0===e[it]}function st(e){return 0!=(4&e.flags)}function V3(e){return e.componentOffset>-1}function w6(e){return 1==(1&e.flags)}function u1(e){return!!e.template}function ot(e){return 0!=(512&e[E])}function y3(e,t){return e.hasOwnProperty(I1)?e[I1]:null}let qH=W.WeakRef??class GH{constructor(t){this.ref=t}deref(){return this.ref}},YH=0,V1=null,b6=!1;function C2(e){const t=V1;return V1=e,t}class Sa{constructor(){this.id=YH++,this.ref=function WH(e){return new qH(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 c=n.producerNode.deref();if(null!=c&&n.atTrackingVersion===this.trackingVersion){if(c.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),c?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=b6;b6=!0;try{for(const[n,c]of this.consumers){const r=c.consumerNode.deref();null!=r&&r.trackingVersion===c.atTrackingVersion?r.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),r?.producers.delete(this.id))}}finally{b6=t}}producerAccessed(){if(b6)throw new Error("");if(null===V1)return;let t=V1.producers.get(this.id);void 0===t?(t={consumerNode:V1.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:V1.trackingVersion},V1.producers.set(this.id,t),this.consumers.set(V1.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=V1.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==V1?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let Na=null;const Aa=()=>{};class XH extends Sa{constructor(t,n,c){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=Aa,this.registerOnCleanup=r=>{this.cleanupFn=r},this.consumerAllowSignalWrites=c}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=C2(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Aa,this.watch(this.registerOnCleanup)}finally{C2(t)}}cleanup(){this.cleanupFn()}}class JH{constructor(t,n,c){this.previousValue=t,this.currentValue=n,this.firstChange=c}isFirstChange(){return this.firstChange}}function L3(){return _a}function _a(e){return e.type.prototype.ngOnChanges&&(e.setInput=tz),ez}function ez(){const e=Ta(this),t=e?.current;if(t){const n=e.previous;if(n===C1)e.previous=t;else for(let c in t)n[c]=t[c];e.current=null,this.ngOnChanges(t)}}function tz(e,t,n,c){const r=this.declaredInputs[n],a=Ta(e)||function nz(e,t){return e[ka]=t}(e,{previous:C1,current:null}),i=a.current||(a.current={}),s=a.previous,o=s[r];i[r]=new JH(o&&o.currentValue,t,s===C1),e[c]=t}L3.ngInherit=!0;const ka="__ngSimpleChanges__";function Ta(e){return e[ka]||null}const y1=function(e,t,n){};function K(e){for(;Array.isArray(e);)e=e[p2];return e}function B2(e,t){return K(t[e.index])}function Fa(e,t){return e.data[t]}function J3(e,t){return e[t]}function Y2(e,t){const n=t[e];return W2(n)?n:n[p2]}function c3(e,t){return null==t?null:e[t]}function Ra(e){e[K3]=0}function lz(e){1024&e[E]||(e[E]|=1024,Ba(e,1))}function Oa(e){1024&e[E]&&(e[E]&=-1025,Ba(e,-1))}function Ba(e,t){let n=e[n2];if(null===n)return;n[Z4]+=t;let c=n;for(n=n[n2];null!==n&&(1===t&&1===c[Z4]||-1===t&&0===c[Z4]);)n[Z4]+=t,c=n,n=n[n2]}const x={lFrame:Xa(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function $a(){return x.bindingsEnabled}function e4(){return null!==x.skipHydrationRootTNode}function M(){return x.lFrame.lView}function F(){return x.lFrame.tView}function N6(e){return x.lFrame.contextLView=e,e[s2]}function E6(e){return x.lFrame.contextLView=null,e}function z2(){let e=Ga();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ga(){return x.lFrame.currentTNode}function L1(e,t){const n=x.lFrame;n.currentTNode=e,n.isParent=t}function pt(){return x.lFrame.isParent}function mt(){x.lFrame.isParent=!1}function x2(){const e=x.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function t4(){return x.lFrame.bindingIndex++}function zz(e,t){const n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,vt(t)}function vt(e){x.lFrame.currentDirectiveIndex=e}function Mt(e){x.lFrame.currentQueryIndex=e}function yz(e){const t=e[H];return 2===t.type?t.declTNode:1===t.type?e[y2]:null}function Za(e,t,n){if(n&P.SkipSelf){let r=t,a=e;for(;!(r=r.parent,null!==r||n&P.Host||(r=yz(a),null===r||(a=a[Z3],10&r.type))););if(null===r)return!1;t=r,e=a}const c=x.lFrame=Ka();return c.currentTNode=t,c.lView=e,!0}function Ct(e){const t=Ka(),n=e[H];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ka(){const e=x.lFrame,t=null===e?null:e.child;return null===t?Xa(e):t}function Xa(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 Ja(){const e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const e7=Ja;function Ht(){const e=Ja();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 S2(){return x.lFrame.selectedIndex}function w3(e){x.lFrame.selectedIndex=e}function c2(){const e=x.lFrame;return Fa(e.tView,e.selectedIndex)}let n7=!0;function A6(){return n7}function r3(e){n7=e}function _6(e,t){for(let n=t.directiveStart,c=t.directiveEnd;n<c;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:l,ngOnDestroy:f}=a;i&&(e.contentHooks??=[]).push(-n,i),s&&((e.contentHooks??=[]).push(n,s),(e.contentCheckHooks??=[]).push(n,s)),o&&(e.viewHooks??=[]).push(-n,o),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=f&&(e.destroyHooks??=[]).push(n,f)}}function k6(e,t,n){c7(e,t,3,n)}function T6(e,t,n,c){(3&e[E])===n&&c7(e,t,n,c)}function zt(e,t){let n=e[E];(3&n)===t&&(n&=8191,n+=1,e[E]=n)}function c7(e,t,n,c){const a=c??-1,i=t.length-1;let s=0;for(let o=void 0!==c?65535&e[K3]:0;o<i;o++)if("number"==typeof t[o+1]){if(s=t[o],null!=c&&s>=c)break}else t[o]<0&&(e[K3]+=65536),(s<a||-1==a)&&(Ez(e,n,t,o),e[K3]=(4294901760&e[K3])+o+2),o++}function r7(e,t){y1(4,e,t);const n=C2(null);try{t.call(e)}finally{C2(n),y1(5,e,t)}}function Ez(e,t,n,c){const r=n[c]<0,a=n[c+1],s=e[r?-n[c]:n[c]];r?e[E]>>13<e[K3]>>16&&(3&e[E])===t&&(e[E]+=8192,r7(s,a)):r7(s,a)}const n4=-1;class ne{constructor(t,n,c){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=c}}function a7(e){return e!==n4}function I6(e){return 32767&e}function P6(e,t){let n=function Tz(e){return e>>16}(e),c=t;for(;n>0;)c=c[Z3],n--;return c}let yt=!0;function F6(e){const t=yt;return yt=e,t}const i7=255,s7=5;let Iz=0;const w1={};function R6(e,t){const n=o7(e,t);if(-1!==n)return n;const c=t[H];c.firstCreatePass&&(e.injectorIndex=t.length,Lt(c.data,e),Lt(t,null),Lt(c.blueprint,null));const r=wt(e,t),a=e.injectorIndex;if(a7(r)){const i=I6(r),s=P6(r,t),o=s[H].data;for(let l=0;l<8;l++)t[a+l]=s[i+l]|o[i+l]}return t[a+8]=r,a}function Lt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function o7(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function wt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,c=null,r=t;for(;null!==r;){if(c=m7(r),null===c)return n4;if(n++,r=r[Z3],-1!==c.injectorIndex)return c.injectorIndex|n<<16}return n4}function bt(e,t,n){!function Pz(e,t,n){let c;"string"==typeof n?c=n.charCodeAt(0)||0:n.hasOwnProperty(W4)&&(c=n[W4]),null==c&&(c=n[W4]=Iz++);const r=c&i7;t.data[e+(r>>s7)]|=1<<r}(e,t,n)}function l7(e,t,n){if(n&P.Optional||void 0!==e)return e;p6()}function f7(e,t,n,c){if(n&P.Optional&&void 0===c&&(c=null),!(n&(P.Self|P.Host))){const r=e[Q3],a=P2(void 0);try{return r?r.get(t,c,n&P.Optional):ia(t,c,n&P.Optional)}finally{P2(a)}}return l7(c,0,n)}function u7(e,t,n,c=P.Default,r){if(null!==e){if(2048&t[E]&&!(c&P.Self)){const i=function jz(e,t,n,c,r){let a=e,i=t;for(;null!==a&&null!==i&&2048&i[E]&&!(512&i[E]);){const s=d7(a,i,n,c|P.Self,w1);if(s!==w1)return s;let o=a.parent;if(!o){const l=i[ya];if(l){const f=l.get(n,w1,c);if(f!==w1)return f}o=m7(i),i=i[Z3]}a=o}return r}(e,t,n,c,w1);if(i!==w1)return i}const a=d7(e,t,n,c,w1);if(a!==w1)return a}return f7(t,n,c,r)}function d7(e,t,n,c,r){const a=function Oz(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(W4)?e[W4]:void 0;return"number"==typeof t?t>=0?t&i7:Bz:t}(n);if("function"==typeof a){if(!Za(t,e,c))return c&P.Host?l7(r,0,c):f7(t,n,c,r);try{const i=a(c);if(null!=i||c&P.Optional)return i;p6()}finally{e7()}}else if("number"==typeof a){let i=null,s=o7(e,t),o=n4,l=c&P.Host?t[o2][y2]:null;for((-1===s||c&P.SkipSelf)&&(o=-1===s?wt(e,t):t[s+8],o!==n4&&p7(c,!1)?(i=t[H],s=I6(o),t=P6(o,t)):s=-1);-1!==s;){const f=t[H];if(h7(a,s,f.data)){const u=Rz(s,t,n,i,c,l);if(u!==w1)return u}o=t[s+8],o!==n4&&p7(c,t[H].data[s+8]===l)&&h7(a,s,t)?(i=f,s=I6(o),t=P6(o,t)):s=-1}}return r}function Rz(e,t,n,c,r,a){const i=t[H],s=i.data[e+8],f=function O6(e,t,n,c,r){const a=e.providerIndexes,i=t.data,s=1048575&a,o=e.directiveStart,f=a>>20,d=r?s+f:e.directiveEnd;for(let h=c?s:s+f;h<d;h++){const p=i[h];if(h<o&&n===p||h>=o&&p.type===n)return h}if(r){const h=i[o];if(h&&u1(h)&&h.type===n)return o}return null}(s,i,n,null==c?V3(s)&&yt:c!=i&&0!=(3&s.type),r&P.Host&&a===s);return null!==f?b3(t,i,f,s):w1}function b3(e,t,n,c){let r=e[n];const a=t.data;if(function Az(e){return e instanceof ne}(r)){const i=r;i.resolving&&function lH(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new V(-200,`Circular dependency in DI detected for ${e}${n}`)}(function G(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():N(e)}(a[n]));const s=F6(i.canSeeViewProviders);i.resolving=!0;const o=i.injectImpl?P2(i.injectImpl):null;Za(e,c,P.Default);try{r=e[n]=i.factory(void 0,a,e,c),t.firstCreatePass&&n>=c.directiveStart&&function Nz(e,t,n){const{ngOnChanges:c,ngOnInit:r,ngDoCheck:a}=t.type.prototype;if(c){const i=_a(t);(n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i)}r&&(n.preOrderHooks??=[]).push(0-e,r),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==o&&P2(o),F6(s),i.resolving=!1,e7()}}return r}function h7(e,t,n){return!!(n[t+(e>>s7)]&1<<e)}function p7(e,t){return!(e&P.Self||e&P.Host&&t)}class c4{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,c){return u7(this._tNode,this._lView,t,M6(c),n)}}function Bz(){return new c4(z2(),M())}function m7(e){const t=e[H],n=t.type;return 2===n?t.declTNode:1===n?e[y2]:null}const a4="__parameters__";function s4(e,t,n){return T1(()=>{const c=function St(e){return function(...n){if(e){const c=e(...n);for(const r in c)this[r]=c[r]}}}(t);function r(...a){if(this instanceof r)return c.apply(this,a),this;const i=new r(...a);return s.annotation=i,s;function s(o,l,f){const u=o.hasOwnProperty(a4)?o[a4]:Object.defineProperty(o,a4,{value:[]})[a4];for(;u.length<=f;)u.push(null);return(u[f]=u[f]||[]).push(i),o}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function re(e,t){e.forEach(n=>Array.isArray(n)?re(n,t):t(n))}function g7(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function B6(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ae(e,t){const n=[];for(let c=0;c<e;c++)n.push(t);return n}const At=q4(s4("Optional"),8),_t=q4(s4("SkipSelf"),4);function W6(e){return 128==(128&e.flags)}var a3=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(a3||{});const gV=/^>|^->|<!--|-->|--!>|<!-$/g,MV=/(<|>)/,CV="\u200b$1\u200b";const Pt=new Map;let HV=0;const Rt="__ngContext__";function w2(e,t){W2(t)?(e[Rt]=t[J4],function VV(e){Pt.set(e[J4],e)}(t)):e[Rt]=t}let Ot;function Bt(e,t){return Ot(e,t)}function oe(e){const t=e[n2];return O2(t)?t[n2]:t}function F7(e){return O7(e[K4])}function R7(e){return O7(e[f1])}function O7(e){for(;null!==e&&!O2(e);)e=e[f1];return e}function d4(e,t,n,c,r){if(null!=c){let a,i=!1;O2(c)?a=c:W2(c)&&(i=!0,c=c[p2]);const s=K(c);0===e&&null!==n?null==r?G7(t,n,s):D3(t,n,s,r||null,!0):1===e&&null!==n?D3(t,n,s,r||null,!0):2===e?function J6(e,t,n){const c=K6(e,t);c&&function BV(e,t,n,c){e.removeChild(t,n,c)}(e,c,t,n)}(t,s,i):3===e&&t.destroyNode(s),null!=a&&function $V(e,t,n,c,r){const a=n[z1];a!==K(n)&&d4(t,e,c,a,r);for(let s=L2;s<n.length;s++){const o=n[s];fe(o[H],o,e,t,c,a)}}(t,e,a,n,r)}}function Ut(e,t){return e.createComment(function N7(e){return e.replace(gV,t=>t.replace(MV,CV))}(t))}function Z6(e,t,n){return e.createElement(t,n)}function U7(e,t){const n=e[X3],c=n.indexOf(t);Oa(t),n.splice(c,1)}function jt(e,t){if(e.length<=L2)return;const n=L2+t,c=e[n];if(c){const r=c[X4];null!==r&&r!==e&&U7(r,c),t>0&&(e[n-1][f1]=c[f1]);const a=B6(e,L2+t);!function _V(e,t){fe(e,t,t[A],2,null,null),t[p2]=null,t[y2]=null}(c[H],c);const i=a[H1];null!==i&&i.detachView(a[H]),c[n2]=null,c[f1]=null,c[E]&=-129}return c}function j7(e,t){if(!(256&t[E])){const n=t[A];t[V6]?.destroy(),t[y6]?.destroy(),n.destroyNode&&fe(e,t,n,3,null,null),function IV(e){let t=e[K4];if(!t)return $t(e[H],e);for(;t;){let n=null;if(W2(t))n=t[K4];else{const c=t[L2];c&&(n=c)}if(!n){for(;t&&!t[f1]&&t!==e;)W2(t)&&$t(t[H],t),t=t[n2];null===t&&(t=e),W2(t)&&$t(t[H],t),n=t&&t[f1]}t=n}}(t)}}function $t(e,t){if(!(256&t[E])){t[E]&=-129,t[E]|=256,function OV(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let c=0;c<n.length;c+=2){const r=t[n[c]];if(!(r instanceof ne)){const a=n[c+1];if(Array.isArray(a))for(let i=0;i<a.length;i+=2){const s=r[a[i]],o=a[i+1];y1(4,s,o);try{o.call(s)}finally{y1(5,s,o)}}else{y1(4,r,a);try{a.call(r)}finally{y1(5,r,a)}}}}}(e,t),function RV(e,t){const n=e.cleanup,c=t[Y3];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const i=n[a+3];i>=0?c[i]():c[-i].unsubscribe(),a+=2}else n[a].call(c[n[a+1]]);null!==c&&(t[Y3]=null);const r=t[n3];if(null!==r){t[n3]=null;for(let a=0;a<r.length;a++)(0,r[a])()}}(e,t),1===t[H].type&&t[A].destroy();const n=t[X4];if(null!==n&&O2(t[n2])){n!==t[n2]&&U7(n,t);const c=t[H1];null!==c&&c.detachView(e)}!function yV(e){Pt.delete(e[J4])}(t)}}function Gt(e,t,n){return function $7(e,t,n){let c=t;for(;null!==c&&40&c.type;)c=(t=c).parent;if(null===c)return n[p2];{const{componentOffset:r}=c;if(r>-1){const{encapsulation:a}=e.data[c.directiveStart+r];if(a===o1.None||a===o1.Emulated)return null}return B2(c,n)}}(e,t.parent,n)}function D3(e,t,n,c,r){e.insertBefore(t,n,c,r)}function G7(e,t,n){e.appendChild(t,n)}function q7(e,t,n,c,r){null!==c?D3(e,t,n,c,r):G7(e,t,n)}function K6(e,t){return e.parentNode(t)}function W7(e,t,n){return Q7(e,t,n)}let qt,e0,Zt,t0,Q7=function Y7(e,t,n){return 40&e.type?B2(e,n):null};function X6(e,t,n,c){const r=Gt(e,c,t),a=t[A],s=W7(c.parent||t[y2],c,t);if(null!=r)if(Array.isArray(n))for(let o=0;o<n.length;o++)q7(a,r,n[o],s,!1);else q7(a,r,n,s,!1);void 0!==qt&&qt(a,c,t,n,r)}function le(e,t){if(null!==t){const n=t.type;if(3&n)return B2(t,e);if(4&n)return Wt(-1,e[t.index]);if(8&n){const c=t.child;if(null!==c)return le(e,c);{const r=e[t.index];return O2(r)?Wt(-1,r):K(r)}}if(32&n)return Bt(t,e)()||K(e[t.index]);{const c=K7(e,t);return null!==c?Array.isArray(c)?c[0]:le(oe(e[o2]),c):le(e,t.next)}}return null}function K7(e,t){return null!==t?e[o2][y2].projection[t.projection]:null}function Wt(e,t){const n=L2+e+1;if(n<t.length){const c=t[n],r=c[H].firstChild;if(null!==r)return le(c,r)}return t[z1]}function Yt(e,t,n,c,r,a,i){for(;null!=n;){const s=c[n.index],o=n.type;if(i&&0===t&&(s&&w2(K(s),c),n.flags|=2),32!=(32&n.flags))if(8&o)Yt(e,t,n.child,c,r,a,!1),d4(t,e,r,s,a);else if(32&o){const l=Bt(n,c);let f;for(;f=l();)d4(t,e,r,f,a);d4(t,e,r,s,a)}else 16&o?J7(e,t,c,n,r,a):d4(t,e,r,s,a);n=i?n.projectionNext:n.next}}function fe(e,t,n,c,r,a){Yt(n,c,e.firstChild,t,r,a,!1)}function J7(e,t,n,c,r,a){const i=n[o2],o=i[y2].projection[c.projection];if(Array.isArray(o))for(let l=0;l<o.length;l++)d4(t,e,r,o[l],a);else{let l=o;const f=i[n2];W6(c)&&(l.flags|=128),Yt(e,t,l,f,r,a,!0)}}function ei(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ti(e,t,n){const{mergedAttrs:c,classes:r,styles:a}=n;null!==c&&at(e,t,c),null!==r&&ei(e,t,r),null!==a&&function qV(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}function h4(e){return function Qt(){if(void 0===e0&&(e0=null,W.trustedTypes))try{e0=W.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return e0}()?.createHTML(e)||e}function ue(){if(void 0!==Zt)return Zt;if(typeof document<"u")return document;throw new V(210,!1)}function ni(e){return function Kt(){if(void 0===t0&&(t0=null,W.trustedTypes))try{t0=W.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return t0}()?.createHTML(e)||e}class x3{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ta})`}}class KV extends x3{getTypeName(){return"HTML"}}class XV extends x3{getTypeName(){return"Style"}}class JV extends x3{getTypeName(){return"Script"}}class ey extends x3{getTypeName(){return"URL"}}class ty extends x3{getTypeName(){return"ResourceURL"}}function Z2(e){return e instanceof x3?e.changingThisBreaksApplicationSecurity:e}function b1(e,t){const n=function ny(e){return e instanceof x3&&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 ${ta})`)}return n===t}class oy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(h4(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class ly{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=h4(t),n}}const uy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function n0(e){return(e=String(e)).match(uy)?e:"unsafe:"+e}function O1(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function de(...e){const t={};for(const n of e)for(const c in n)n.hasOwnProperty(c)&&(t[c]=!0);return t}const ii=O1("area,br,col,hr,img,wbr"),si=O1("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),oi=O1("rp,rt"),Xt=de(ii,de(si,O1("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")),de(oi,O1("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")),de(oi,si)),Jt=O1("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),li=de(Jt,O1("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"),O1("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")),dy=O1("script,style,template");class hy{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,c=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?c=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,c&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Xt.hasOwnProperty(n))return this.sanitizedSomething=!0,!dy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const c=t.attributes;for(let r=0;r<c.length;r++){const a=c.item(r),i=a.name,s=i.toLowerCase();if(!li.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let o=a.value;Jt[s]&&(o=n0(o)),this.buf.push(" ",i,'="',fi(o),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Xt.hasOwnProperty(n)&&!ii.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(fi(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 py=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,my=/([^\#-~ |!])/g;function fi(e){return e.replace(/&/g,"&").replace(py,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(my,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let c0;function ui(e,t){let n=null;try{c0=c0||function ai(e){const t=new ly(e);return function fy(){try{return!!(new window.DOMParser).parseFromString(h4(""),"text/html")}catch{return!1}}()?new oy(t):t}(e);let c=t?String(t):"";n=c0.getInertBodyElement(c);let r=5,a=c;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,c=a,a=n.innerHTML,n=c0.getInertBodyElement(c)}while(c!==a);return h4((new hy).sanitizeChildren(en(n)||n))}finally{if(n){const c=en(n)||n;for(;c.firstChild;)c.removeChild(c.firstChild)}}}function en(e){return"content"in e&&function vy(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var c1=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(c1||{});function di(e){const t=he();return t?ni(t.sanitize(c1.HTML,e)||""):b1(e,"HTML")?ni(Z2(e)):ui(ue(),N(e))}function r0(e){const t=he();return t?t.sanitize(c1.URL,e)||"":b1(e,"URL")?Z2(e):n0(N(e))}function he(){const e=M();return e&&e[z3].sanitizer}class _{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=R({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const a0=new _("ENVIRONMENT_INITIALIZER"),pi=new _("INJECTOR",-1),mi=new _("INJECTOR_DEF_TYPES");class vi{get(t,n=G4){if(n===G4){const c=new Error(`NullInjectorError: No provider for ${h2(t)}!`);throw c.name="NullInjectorError",c}return n}}function yy(...e){return{\u0275providers:Mi(0,e),\u0275fromNgModule:!0}}function Mi(e,...t){const n=[],c=new Set;let r;return re(t,a=>{const i=a;tn(i,n,[],c)&&(r||=[],r.push(i))}),void 0!==r&&Ci(r,n),n}function Ci(e,t){for(let n=0;n<e.length;n++){const{providers:r}=e[n];nn(r,a=>{t.push(a)})}}function tn(e,t,n,c){if(!(e=S(e)))return!1;let r=null,a=ca(e);const i=!a&&U(e);if(a||i){if(i&&!i.standalone)return!1;r=e}else{const o=e.ngModule;if(a=ca(o),!a)return!1;r=o}const s=c.has(r);if(i){if(s)return!1;if(c.add(r),i.dependencies){const o="function"==typeof i.dependencies?i.dependencies():i.dependencies;for(const l of o)tn(l,t,n,c)}}else{if(!a)return!1;{if(null!=a.imports&&!s){let l;c.add(r);try{re(a.imports,f=>{tn(f,t,n,c)&&(l||=[],l.push(f))})}finally{}void 0!==l&&Ci(l,t)}if(!s){const l=y3(r)||(()=>new r);t.push({provide:r,useFactory:l,deps:O},{provide:mi,useValue:r,multi:!0},{provide:a0,useValue:()=>T(r),multi:!0})}const o=a.providers;null==o||s||nn(o,f=>{t.push(f)})}}return r!==e&&void 0!==e.providers}function nn(e,t){for(let n of e)X8(n)&&(n=n.\u0275providers),Array.isArray(n)?nn(n,t):t(n)}const Ly=q({provide:String,useValue:q});function cn(e){return null!==e&&"object"==typeof e&&Ly in e}function S3(e){return"function"==typeof e}const rn=new _("Set Injector scope."),s0={},by={};let an;function o0(){return void 0===an&&(an=new vi),an}class p4{}class sn extends p4{get destroyed(){return this._destroyed}constructor(t,n,c,r){super(),this.parent=n,this.source=c,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ln(t,i=>this.processProvider(i)),this.records.set(pi,m4(void 0,this)),r.has("environment")&&this.records.set(p4,m4(void 0,this));const a=this.records.get(rn);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(mi.multi,O,P.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=t3(this),c=P2(void 0);try{return t()}finally{t3(n),P2(c)}}get(t,n=G4,c=P.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(fa))return t[fa](this);c=M6(c);const r=t3(this),a=P2(void 0);try{if(!(c&P.SkipSelf)){let s=this.records.get(t);if(void 0===s){const o=function Ey(e){return"function"==typeof e||"object"==typeof e&&e instanceof _}(t)&&m6(t);s=o&&this.injectableDefInScope(o)?m4(on(t),s0):null,this.records.set(t,s)}if(null!=s)return this.hydrate(t,s)}return(c&P.Self?o0():this.parent).get(t,n=c&P.Optional&&n===G4?null:n)}catch(i){if("NullInjectorError"===i.name){if((i[g6]=i[g6]||[]).unshift(h2(t)),r)throw i;return function VH(e,t,n,c){const r=e[g6];throw t[sa]&&r.unshift(t[sa]),e.message=function yH(e,t,n,c=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=h2(t);if(Array.isArray(t))r=t.map(h2).join(" -> ");else if("object"==typeof t){let a=[];for(let i in t)if(t.hasOwnProperty(i)){let s=t[i];a.push(i+":"+("string"==typeof s?JSON.stringify(s):h2(s)))}r=`{${a.join(", ")}}`}return`${n}${c?"("+c+")":""}[${r}]: ${e.replace(gH,"\n ")}`}("\n"+e.message,r,n,c),e.ngTokenPath=r,e[g6]=null,e}(i,t,"R3InjectorError",this.source)}throw i}finally{P2(a),t3(r)}}resolveInjectorInitializers(){const t=t3(this),n=P2(void 0);try{const c=this.get(a0.multi,O,P.Self);for(const r of c)r()}finally{t3(t),P2(n)}}toString(){const t=[],n=this.records;for(const c of n.keys())t.push(h2(c));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new V(205,!1)}processProvider(t){let n=S3(t=S(t))?t:S(t&&t.provide);const c=function xy(e){return cn(e)?m4(void 0,e.useValue):m4(function Vi(e,t,n){let c;if(S3(e)){const r=S(e);return y3(r)||on(r)}if(cn(e))c=()=>S(e.useValue);else if(function zi(e){return!(!e||!e.useFactory)}(e))c=()=>e.useFactory(...nt(e.deps||[]));else if(function Hi(e){return!(!e||!e.useExisting)}(e))c=()=>T(S(e.useExisting));else{const r=S(e&&(e.useClass||e.provide));if(!function Sy(e){return!!e.deps}(e))return y3(r)||on(r);c=()=>new r(...nt(e.deps))}return c}(e),s0)}(t);if(S3(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=m4(void 0,s0,!0),r.factory=()=>nt(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,c)}hydrate(t,n){return n.value===s0&&(n.value=by,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Ny(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=S(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 on(e){const t=m6(e),n=null!==t?t.factory:y3(e);if(null!==n)return n;if(e instanceof _)throw new V(204,!1);if(e instanceof Function)return function Dy(e){const t=e.length;if(t>0)throw ae(t,"?"),new V(204,!1);const n=function pH(e){return e&&(e[v6]||e[ra])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new V(204,!1)}function m4(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ln(e,t){for(const n of e)Array.isArray(n)?ln(n,t):n&&X8(n)?ln(n.\u0275providers,t):t(n)}const l0=new _("AppId",{providedIn:"root",factory:()=>Ay}),Ay="ng",yi=new _("Platform Initializer"),v4=new _("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Li=new _("CSP nonce",{providedIn:"root",factory:()=>ue().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let bi=(e,t)=>null;function Di(e,t){return bi(e,t)}class By{}class Ni{}class jy{resolveComponentFactory(t){throw function Uy(e){const t=Error(`No component factory found for ${h2(e)}.`);return t.ngComponent=e,t}(t)}}let p0=(()=>{class e{}return e.NULL=new jy,e})();function $y(){return M4(z2(),M())}function M4(e,t){return new N3(B2(e,t))}let N3=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=$y,e})();class Ai{}let Hn=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function qy(){const e=M(),n=Y2(z2().index,e);return(W2(n)?n:e)[A]}(),e})(),Wy=(()=>{class e{}return e.\u0275prov=R({token:e,providedIn:"root",factory:()=>null}),e})();class zn{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Yy=new zn("16.1.7"),Vn={};function ve(e){for(;e;){e[E]|=64;const t=oe(e);if(ot(e)&&!t)return e;e=t}return null}function yn(e){return e.ngOriginalError}class E3{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&&yn(t);for(;n&&yn(n);)n=yn(n);return n||null}}const Ti=new _("",{providedIn:"root",factory:()=>!1});class Oi extends Sa{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){ve(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,c){const r=C2(this);this.trackingVersion++;try{t(n,c)}finally{C2(r)}}destroy(){this.trackingVersion++}}let v0=null;function Bi(){return v0??=new Oi,v0}function Ui(e,t){return e[t]??Bi()}function ji(e,t){const n=Bi();n.hasReadASignal&&(e[t]=v0,n.lView=e,v0=new Oi)}const k={};function H2(e){$i(F(),M(),S2()+e,!1)}function $i(e,t,n,c){if(!c)if(3==(3&t[E])){const a=e.preOrderCheckHooks;null!==a&&k6(t,a,n)}else{const a=e.preOrderHooks;null!==a&&T6(t,a,0,n)}w3(n)}function Yi(e,t=null,n=null,c){const r=Qi(e,t,n,c);return r.resolveInjectorInitializers(),r}function Qi(e,t=null,n=null,c,r=new Set){const a=[n||O,yy(e)];return c=c||("object"==typeof e?void 0:h2(e)),new sn(a,t||o0(),c||null,r)}let i3=(()=>{class e{static create(n,c){if(Array.isArray(n))return Yi({name:""},c,n,"");{const r=n.name??"";return Yi({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=G4,e.NULL=new vi,e.\u0275prov=R({token:e,providedIn:"any",factory:()=>T(pi)}),e.__NG_ELEMENT_ID__=-1,e})();function D(e,t=P.Default){const n=M();return null===n?T(e,t):u7(z2(),n,S(e),t)}function g0(e,t,n,c,r,a,i,s,o,l,f){const u=t.blueprint.slice();return u[p2]=r,u[E]=140|c,(null!==l||e&&2048&e[E])&&(u[E]|=2048),Ra(u),u[n2]=u[Z3]=e,u[s2]=n,u[z3]=i||e&&e[z3],u[A]=s||e&&e[A],u[Q3]=o||e&&e[Q3]||null,u[y2]=a,u[J4]=function zV(){return HV++}(),u[P1]=f,u[ya]=l,u[o2]=2==t.type?e[o2]:u,u}function H4(e,t,n,c,r){let a=e.data[t];if(null===a)a=function Ln(e,t,n,c,r){const a=Ga(),i=pt(),o=e.data[t]=function vL(e,t,n,c,r,a){let i=t?t.injectorIndex:-1,s=0;return e4()&&(s|=128),{type:n,index:c,insertBeforeIndex:null,injectorIndex:i,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:a,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,i?a:a&&a.parent,n,t,c,r);return null===e.firstChild&&(e.firstChild=o),null!==a&&(i?null==a.child&&null!==o.parent&&(a.child=o):null===a.next&&(a.next=o,o.prev=a)),o}(e,t,n,c,r),function Hz(){return x.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=c,a.attrs=r;const i=function te(){const e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===i?-1:i.injectorIndex}return L1(a,!0),a}function ge(e,t,n,c){if(0===n)return-1;const r=t.length;for(let a=0;a<n;a++)t.push(c),e.blueprint.push(c),e.data.push(null);return r}function Zi(e,t,n,c,r){const a=Ui(t,V6),i=S2(),s=2&c;try{if(w3(-1),s&&t.length>I&&$i(e,t,I,!1),y1(s?2:0,r),s)a.runInContext(n,c,r);else{const l=C2(null);try{n(c,r)}finally{C2(l)}}}finally{s&&null===t[V6]&&ji(t,V6),w3(i),y1(s?3:1,r)}}function wn(e,t,n){if(st(t)){const c=C2(null);try{const a=t.directiveEnd;for(let i=t.directiveStart;i<a;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}finally{C2(c)}}}function bn(e,t,n){$a()&&(function yL(e,t,n,c){const r=n.directiveStart,a=n.directiveEnd;V3(n)&&function NL(e,t,n){const c=B2(t,e),r=Ki(n);let i=16;n.signals?i=4096:n.onPush&&(i=64);const s=M0(e,g0(e,r,null,i,c,t,null,e[z3].rendererFactory.createRenderer(c,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||R6(n,t),w2(c,t);const i=n.initialInputs;for(let s=r;s<a;s++){const o=e.data[s],l=b3(t,e,s,n);w2(l,t),null!==i&&EL(0,s-r,l,o,0,i),u1(o)&&(Y2(n.index,t)[s2]=b3(t,e,s,n))}}(e,t,n,B2(n,t)),64==(64&n.flags)&&ns(e,t,n))}function Dn(e,t,n=B2){const c=t.localNames;if(null!==c){let r=t.index+1;for(let a=0;a<c.length;a+=2){const i=c[a+1],s=-1===i?n(t,e):e[i];e[r++]=s}}}function Ki(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=xn(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function xn(e,t,n,c,r,a,i,s,o,l,f){const u=I+c,d=u+r,h=function fL(e,t){const n=[];for(let c=0;c<t;c++)n.push(c<e?null:k);return n}(u,d),p="function"==typeof l?l():l;return h[H]={type:e,blueprint:h,template:n,queries:null,viewQuery:s,declTNode:t,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:o,consts:p,incompleteFirstPass:!1,ssrId:f}}let Xi=e=>null;function Ji(e,t,n,c){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const a=e[r];null===c?es(n,t,r,a):c.hasOwnProperty(r)&&es(n,t,c[r],a)}return n}function es(e,t,n,c){e.hasOwnProperty(n)?e[n].push(t,c):e[n]=[t,c]}function K2(e,t,n,c,r,a,i,s){const o=B2(t,n);let f,l=t.inputs;!s&&null!=l&&(f=l[c])?(_n(e,n,f,c,r),V3(t)&&function CL(e,t){const n=Y2(t,e);16&n[E]||(n[E]|=64)}(n,t.index)):3&t.type&&(c=function ML(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(c),r=null!=i?i(r,t.value||"",c):r,a.setProperty(o,c,r))}function Sn(e,t,n,c){if($a()){const r=null===c?null:{"":-1},a=function wL(e,t){const n=e.directiveRegistry;let c=null,r=null;if(n)for(let a=0;a<n.length;a++){const i=n[a];if(ga(t,i.selectors,!1))if(c||(c=[]),u1(i))if(null!==i.findHostDirectiveDefs){const s=[];r=r||new Map,i.findHostDirectiveDefs(i,s,r),c.unshift(...s,i),Nn(e,t,s.length)}else c.unshift(i),Nn(e,t,0);else r=r||new Map,i.findHostDirectiveDefs?.(i,c,r),c.push(i)}return null===c?null:[c,r]}(e,n);let i,s;null===a?i=s=null:[i,s]=a,null!==i&&ts(e,t,n,i,r,s),r&&function bL(e,t,n){if(t){const c=e.localNames=[];for(let r=0;r<t.length;r+=2){const a=n[t[r+1]];if(null==a)throw new V(-301,!1);c.push(t[r],a)}}}(n,c,r)}n.mergedAttrs=Y4(n.mergedAttrs,n.attrs)}function ts(e,t,n,c,r,a){for(let l=0;l<c.length;l++)bt(R6(n,t),e,c[l].type);!function xL(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,c.length);for(let l=0;l<c.length;l++){const f=c[l];f.providersResolver&&f.providersResolver(f)}let i=!1,s=!1,o=ge(e,t,c.length,null);for(let l=0;l<c.length;l++){const f=c[l];n.mergedAttrs=Y4(n.mergedAttrs,f.hostAttrs),SL(e,n,t,o,f),DL(o,f,r),null!==f.contentQueries&&(n.flags|=4),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(n.flags|=64);const u=f.type.prototype;!i&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),i=!0),!s&&(u.ngOnChanges||u.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),s=!0),o++}!function gL(e,t,n){const r=t.directiveEnd,a=e.data,i=t.attrs,s=[];let o=null,l=null;for(let f=t.directiveStart;f<r;f++){const u=a[f],d=n?n.get(u):null,p=d?d.outputs:null;o=Ji(u.inputs,f,o,d?d.inputs:null),l=Ji(u.outputs,f,l,p);const v=null===o||null===i||va(t)?null:AL(o,f,i);s.push(v)}null!==o&&(o.hasOwnProperty("class")&&(t.flags|=8),o.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=s,t.inputs=o,t.outputs=l}(e,n,a)}function ns(e,t,n){const c=n.directiveStart,r=n.directiveEnd,a=n.index,i=function Vz(){return x.lFrame.currentDirectiveIndex}();try{w3(a);for(let s=c;s<r;s++){const o=e.data[s],l=t[s];vt(s),(null!==o.hostBindings||0!==o.hostVars||null!==o.hostAttrs)&&LL(o,l)}}finally{w3(-1),vt(i)}}function LL(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Nn(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function DL(e,t,n){if(n){if(t.exportAs)for(let c=0;c<t.exportAs.length;c++)n[t.exportAs[c]]=e;u1(t)&&(n[""]=e)}}function SL(e,t,n,c,r){e.data[c]=r;const a=r.factory||(r.factory=y3(r.type)),i=new ne(a,u1(r),D);e.blueprint[c]=i,n[c]=i,function zL(e,t,n,c,r){const a=r.hostBindings;if(a){let i=e.hostBindingOpCodes;null===i&&(i=e.hostBindingOpCodes=[]);const s=~t.index;(function VL(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(i)!=s&&i.push(s),i.push(n,c,a)}}(e,t,c,ge(e,n,r.hostVars,k),r)}function D1(e,t,n,c,r,a){const i=B2(e,t);!function En(e,t,n,c,r,a,i){if(null==a)e.removeAttribute(t,r,n);else{const s=null==i?N(a):i(a,c||"",r);e.setAttribute(t,r,s,n)}}(t[A],i,a,e.value,n,c,r)}function EL(e,t,n,c,r,a){const i=a[t];if(null!==i)for(let s=0;s<i.length;)cs(c,n,i[s++],i[s++],i[s++])}function cs(e,t,n,c,r){const a=C2(null);try{const i=e.inputTransforms;null!==i&&i.hasOwnProperty(c)&&(r=i[c].call(t,r)),null!==e.setInput?e.setInput(t,r,n,c):t[c]=r}finally{C2(a)}}function AL(e,t,n){let c=null,r=0;for(;r<n.length;){const a=n[r];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===c&&(c=[]);const i=e[a];for(let s=0;s<i.length;s+=2)if(i[s]===t){c.push(a,i[s+1],n[r+1]);break}}r+=2}else r+=2;else r+=4}return c}function rs(e,t,n,c){return[e,!0,!1,t,null,0,c,n,null,null,null]}function as(e,t){const n=e.contentQueries;if(null!==n)for(let c=0;c<n.length;c+=2){const a=n[c+1];if(-1!==a){const i=e.data[a];Mt(n[c]),i.contentQueries(2,t[a],a)}}}function M0(e,t){return e[K4]?e[Va][f1]=t:e[K4]=t,e[Va]=t,t}function An(e,t,n){Mt(0);const c=C2(null);try{t(e,n)}finally{C2(c)}}function ls(e,t){const n=e[Q3],c=n?n.get(E3,null):null;c&&c.handleError(t)}function _n(e,t,n,c,r){for(let a=0;a<n.length;){const i=n[a++],s=n[a++];cs(e.data[i],t[i],c,s,r)}}function U1(e,t,n){const c=function S6(e,t){return K(t[e])}(t,e);!function B7(e,t,n){e.setValue(t,n)}(e[A],c,n)}function _L(e,t){const n=Y2(t,e),c=n[H];!function kL(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(c,n);const r=n[p2];null!==r&&null===n[P1]&&(n[P1]=Di(r,n[Q3])),kn(c,n,n[s2])}function kn(e,t,n){Ct(t);try{const c=e.viewQuery;null!==c&&An(1,c,n);const r=e.template;null!==r&&Zi(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&as(e,t),e.staticViewQueries&&An(2,e.viewQuery,n);const a=e.components;null!==a&&function TL(e,t){for(let n=0;n<t.length;n++)_L(e,t[n])}(t,a)}catch(c){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),c}finally{t[E]&=-5,Ht()}}let fs=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,c,r){const a=typeof Zone>"u"?null:Zone.current,i=new XH(n,l=>{this.all.has(l)&&this.queue.set(l,a)},r);let s;this.all.add(i),i.notify();const o=()=>{i.cleanup(),s?.(),this.all.delete(i),this.queue.delete(i)};return s=c?.onDestroy(o),{destroy:o}}flush(){if(0!==this.queue.size)for(const[n,c]of this.queue)this.queue.delete(n),c?c.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e}),e})();function C0(e,t,n){let c=n?e.styles:null,r=n?e.classes:null,a=0;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?a=s:1==a?r=Q8(r,s):2==a&&(c=Q8(c,s+": "+t[++i]+";"))}n?e.styles=c:e.stylesWithoutHost=c,n?e.classes=r:e.classesWithoutHost=r}function Me(e,t,n,c,r=!1){for(;null!==n;){const a=t[n.index];if(null!==a&&c.push(K(a)),O2(a)){for(let s=L2;s<a.length;s++){const o=a[s],l=o[H].firstChild;null!==l&&Me(o[H],o,l,c)}a[z1]!==a[p2]&&c.push(a[z1])}const i=n.type;if(8&i)Me(e,t,n.child,c);else if(32&i){const s=Bt(n,t);let o;for(;o=s();)c.push(o)}else if(16&i){const s=K7(t,n);if(Array.isArray(s))c.push(...s);else{const o=oe(t[o2]);Me(o[H],o,s,c,!0)}}n=r?n.projectionNext:n.next}return c}function H0(e,t,n,c=!0){const r=t[z3].rendererFactory;r.begin&&r.begin();try{us(e,t,e.template,n)}catch(i){throw c&&ls(t,i),i}finally{r.end&&r.end(),t[z3].effectManager?.flush()}}function us(e,t,n,c){const r=t[E];if(256!=(256&r)){t[z3].effectManager?.flush(),Ct(t);try{Ra(t),function Wa(e){return x.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Zi(e,t,n,2,c);const i=3==(3&r);if(i){const l=e.preOrderCheckHooks;null!==l&&k6(t,l,null)}else{const l=e.preOrderHooks;null!==l&&T6(t,l,0,null),zt(t,0)}if(function OL(e){for(let t=F7(e);null!==t;t=R7(t)){if(!t[La])continue;const n=t[X3];for(let c=0;c<n.length;c++){lz(n[c])}}}(t),ds(t,2),null!==e.contentQueries&&as(e,t),i){const l=e.contentCheckHooks;null!==l&&k6(t,l)}else{const l=e.contentHooks;null!==l&&T6(t,l,1),zt(t,1)}!function lL(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const c=Ui(t,y6);try{for(let r=0;r<n.length;r++){const a=n[r];if(a<0)w3(~a);else{const i=a,s=n[++r],o=n[++r];zz(s,i),c.runInContext(o,2,t[i])}}}finally{null===t[y6]&&ji(t,y6),w3(-1)}}(e,t);const s=e.components;null!==s&&ps(t,s,0);const o=e.viewQuery;if(null!==o&&An(2,o,c),i){const l=e.viewCheckHooks;null!==l&&k6(t,l)}else{const l=e.viewHooks;null!==l&&T6(t,l,2),zt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[E]&=-73,Oa(t)}finally{Ht()}}}function ds(e,t){for(let n=F7(e);null!==n;n=R7(n))for(let c=L2;c<n.length;c++)hs(n[c],t)}function BL(e,t,n){hs(Y2(t,e),n)}function hs(e,t){if(!function sz(e){return 128==(128&e[E])}(e))return;const n=e[H];if(80&e[E]&&0===t||1024&e[E]||2===t)us(n,e,n.template,e[s2]);else if(e[Z4]>0){ds(e,1);const r=e[H].components;null!==r&&ps(e,r,1)}}function ps(e,t,n){for(let c=0;c<t.length;c++)BL(e,t[c],n)}class Ce{get rootNodes(){const t=this._lView,n=t[H];return Me(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[s2]}set context(t){this._lView[s2]=t}get destroyed(){return 256==(256&this._lView[E])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[n2];if(O2(t)){const n=t[8],c=n?n.indexOf(this):-1;c>-1&&(jt(t,c),B6(n,c))}this._attachedToViewContainer=!1}j7(this._lView[H],this._lView)}onDestroy(t){!function Ua(e,t){if(256==(256&e[E]))throw new V(911,!1);null===e[n3]&&(e[n3]=[]),e[n3].push(t)}(this._lView,t)}markForCheck(){ve(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){this._lView[E]|=128}detectChanges(){H0(this._lView[H],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function TV(e,t){fe(e,t,t[A],2,null,null)}(this._lView[H],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=t}}class UL extends Ce{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;H0(t[H],t,t[s2],!1)}checkNoChanges(){}get context(){return null}}class ms extends p0{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=U(t);return new He(n,this.ngModule)}}function vs(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class $L{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,c){c=M6(c);const r=this.injector.get(t,Vn,c);return r!==Vn||n===Vn?r:this.parentInjector.get(t,n,c)}}class He extends Ni{get inputs(){const t=this.componentDef,n=t.inputTransforms,c=vs(t.inputs);if(null!==n)for(const r of c)n.hasOwnProperty(r.propName)&&(r.transform=n[r.propName]);return c}get outputs(){return vs(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function _H(e){return e.map(AH).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,c,r){let a=(r=r||this.ngModule)instanceof p4?r:r?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const i=a?new $L(t,a):t,s=i.get(Ai,null);if(null===s)throw new V(407,!1);const f={rendererFactory:s,sanitizer:i.get(Wy,null),effectManager:i.get(fs,null)},u=s.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",h=c?function uL(e,t,n,c){const a=c.get(Ti,!1)||n===o1.ShadowDom,i=e.selectRootElement(t,a);return function dL(e){Xi(e)}(i),i}(u,c,this.componentDef.encapsulation,i):Z6(u,d,function jL(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(d)),g=this.componentDef.signals?4608:this.componentDef.onPush?576:528,C=xn(0,null,null,1,0,null,null,null,null,null,null),m=g0(null,C,null,g,null,null,f,u,i,null,null);let z,w;Ct(m);try{const b=this.componentDef;let t2,s1=null;b.findHostDirectiveDefs?(t2=[],s1=new Map,b.findHostDirectiveDefs(b,t2,s1),t2.push(b)):t2=[b];const a6=function qL(e,t){const n=e[H],c=I;return e[c]=t,H4(n,c,2,"#host",null)}(m,h),_1=function WL(e,t,n,c,r,a,i){const s=r[H];!function YL(e,t,n,c){for(const r of e)t.mergedAttrs=Y4(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(C0(t,t.mergedAttrs,!0),null!==n&&ti(c,n,t))}(c,e,t,i);let o=null;null!==t&&(o=Di(t,r[Q3]));const l=a.rendererFactory.createRenderer(t,n);let f=16;n.signals?f=4096:n.onPush&&(f=64);const u=g0(r,Ki(n),null,f,r[e.index],e,a,l,null,null,o);return s.firstCreatePass&&Nn(s,e,c.length-1),M0(r,u),r[e.index]=u}(a6,h,b,t2,m,f,u);w=Fa(C,I),h&&function ZL(e,t,n,c){if(c)at(e,n,["ng-version",Yy.full]);else{const{attrs:r,classes:a}=function kH(e){const t=[],n=[];let c=1,r=2;for(;c<e.length;){let a=e[c];if("string"==typeof a)2===r?""!==a&&t.push(a,e[++c]):8===r&&n.push(a);else{if(!l1(r))break;r=a}c++}return{attrs:t,classes:n}}(t.selectors[0]);r&&at(e,n,r),a&&a.length>0&&ei(e,n,a.join(" "))}}(u,b,h,c),void 0!==n&&function KL(e,t,n){const c=e.projection=[];for(let r=0;r<t.length;r++){const a=n[r];c.push(null!=a?Array.from(a):null)}}(w,this.ngContentSelectors,n),z=function QL(e,t,n,c,r,a){const i=z2(),s=r[H],o=B2(i,r);ts(s,r,i,n,null,c);for(let f=0;f<n.length;f++)w2(b3(r,s,i.directiveStart+f,i),r);ns(s,r,i),o&&w2(o,r);const l=b3(r,s,i.directiveStart+i.componentOffset,i);if(e[s2]=r[s2]=l,null!==a)for(const f of a)f(l,t);return wn(s,i,e),l}(_1,b,t2,s1,m,[XL]),kn(C,m,null)}finally{Ht()}return new GL(this.componentType,z,M4(w,m),m,w)}}class GL extends By{constructor(t,n,c,r,a){super(),this.location=c,this._rootLView=r,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new UL(r),this.componentType=t}setInput(t,n){const c=this._tNode.inputs;let r;if(null!==c&&(r=c[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;_n(a[H],a,r,t,n),this.previousInputValues.set(t,n),ve(Y2(this._tNode.index,a))}}get injector(){return new c4(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function XL(){const e=z2();_6(M()[H],e)}function V0(e){return!!Tn(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Tn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function x1(e,t,n){return e[t]=n}function b2(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function In(e,t,n,c){const r=M();return b2(r,t4(),t)&&(F(),D1(c2(),r,e,t,n,c)),In}function V4(e,t,n,c){return b2(e,t4(),n)?t+N(n)+c:k}function _3(e,t,n,c,r,a,i,s){const o=M(),l=F(),f=e+I,u=l.firstCreatePass?function xw(e,t,n,c,r,a,i,s,o){const l=t.consts,f=H4(t,e,4,i||null,c3(l,s));Sn(t,n,f,c3(l,o)),_6(t,f);const u=f.tView=xn(2,f,c,r,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,f),u.queries=t.queries.embeddedTView(f)),f}(f,l,o,t,n,c,r,a,i):l.data[f];L1(u,!1);const d=ks(l,o,u,e);A6()&&X6(l,o,d,u),w2(d,o),M0(o,o[f]=rs(d,o,d,u)),w6(u)&&bn(l,o,u),null!=i&&Dn(o,u,s)}let ks=function Ts(e,t,n,c){return r3(!0),t[A].createComment("")};function N2(e,t,n){const c=M();return b2(c,t4(),t)&&K2(F(),c2(),c,e,t,c[A],n,!1),N2}function Un(e,t,n,c,r){const i=r?"class":"style";_n(e,n,t.inputs[i],i,c)}function D2(e,t,n,c){const r=M(),a=F(),i=I+e,s=r[A],o=a.firstCreatePass?function Aw(e,t,n,c,r,a){const i=t.consts,o=H4(t,e,2,c,c3(i,r));return Sn(t,n,o,c3(i,a)),null!==o.attrs&&C0(o,o.attrs,!1),null!==o.mergedAttrs&&C0(o,o.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,o),o}(i,a,r,t,n,c):a.data[i],l=Ps(a,r,o,s,t,e);r[i]=l;const f=w6(o);return L1(o,!0),ti(s,l,o),32!=(32&o.flags)&&A6()&&X6(a,r,l,o),0===function uz(){return x.lFrame.elementDepthCount}()&&w2(l,r),function dz(){x.lFrame.elementDepthCount++}(),f&&(bn(a,r,o),wn(a,o,r)),null!==c&&Dn(r,o),D2}function E2(){let e=z2();pt()?mt():(e=e.parent,L1(e,!1));const t=e;(function pz(e){return x.skipHydrationRootTNode===e})(t)&&function Mz(){x.skipHydrationRootTNode=null}(),function hz(){x.lFrame.elementDepthCount--}();const n=F();return n.firstCreatePass&&(_6(n,e),st(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _z(e){return 0!=(8&e.flags)}(t)&&Un(n,t,M(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function kz(e){return 0!=(16&e.flags)}(t)&&Un(n,t,M(),t.stylesWithoutHost,!1),E2}function A2(e,t,n,c){return D2(e,t,n,c),E2(),A2}let Ps=(e,t,n,c,r,a)=>(r3(!0),Z6(c,r,function t7(){return x.lFrame.currentNamespace}()));function k3(e,t,n){const c=M(),r=F(),a=e+I,i=r.firstCreatePass?function Tw(e,t,n,c,r){const a=t.consts,i=c3(a,c),s=H4(t,e,8,"ng-container",i);return null!==i&&C0(s,i,!0),Sn(t,n,s,c3(a,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(a,r,c,t,n):r.data[a];L1(i,!0);const s=Rs(r,c,i,e);return c[a]=s,A6()&&X6(r,c,s,i),w2(s,c),w6(i)&&(bn(r,c,i),wn(r,i,c)),null!=n&&Dn(c,i),k3}function T3(){let e=z2();const t=F();return pt()?mt():(e=e.parent,L1(e,!1)),t.firstCreatePass&&(_6(t,e),st(e)&&t.queries.elementEnd(e)),T3}let Rs=(e,t,n,c)=>(r3(!0),Ut(t[A],""));function D0(){return M()}function jn(e){return!!e&&"function"==typeof e.then}function Os(e){return!!e&&"function"==typeof e.subscribe}function s3(e,t,n,c){const r=M(),a=F(),i=z2();return function Us(e,t,n,c,r,a,i){const s=w6(c),l=e.firstCreatePass&&function ss(e){return e.cleanup||(e.cleanup=[])}(e),f=t[s2],u=function is(e){return e[Y3]||(e[Y3]=[])}(t);let d=!0;if(3&c.type||i){const v=B2(c,t),g=i?i(v):v,C=u.length,m=i?w=>i(K(w[c.index])):c.index;let z=null;if(!i&&s&&(z=function Fw(e,t,n,c){const r=e.cleanup;if(null!=r)for(let a=0;a<r.length-1;a+=2){const i=r[a];if(i===n&&r[a+1]===c){const s=t[Y3],o=r[a+2];return s.length>o?s[o]:null}"string"==typeof i&&(a+=2)}return null}(e,t,r,c.index)),null!==z)(z.__ngLastListenerFn__||z).__ngNextListenerFn__=a,z.__ngLastListenerFn__=a,d=!1;else{a=$s(c,t,f,a,!1);const w=n.listen(g,r,a);u.push(a,w),l&&l.push(r,m,C,C+1)}}else a=$s(c,t,f,a,!1);const h=c.outputs;let p;if(d&&null!==h&&(p=h[r])){const v=p.length;if(v)for(let g=0;g<v;g+=2){const b=t[p[g]][p[g+1]].subscribe(a),t2=u.length;u.push(a,b),l&&l.push(r,c.index,t2,-(t2+1))}}}(a,r,r[A],i,e,t,c),s3}function js(e,t,n,c){try{return y1(6,t,n),!1!==n(c)}catch(r){return ls(e,r),!1}finally{y1(7,t,n)}}function $s(e,t,n,c,r){return function a(i){if(i===Function)return c;ve(e.componentOffset>-1?Y2(e.index,t):t);let o=js(t,n,c,i),l=a.__ngNextListenerFn__;for(;l;)o=js(t,n,l,i)&&o,l=l.__ngNextListenerFn__;return r&&!1===o&&i.preventDefault(),o}}function we(e=1){return function Lz(e){return(x.lFrame.contextLView=function wz(e,t){for(;e>0;)t=t[Z3],e--;return t}(e,x.lFrame.contextLView))[s2]}(e)}function Rw(e,t){let n=null;const c=function xH(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let r=0;r<t.length;r++){const a=t[r];if("*"!==a){if(null===c?ga(e,a,!0):EH(c,a))return r}else n=r}return n}function be(e,t,n,c,r){const a=M(),i=V4(a,t,n,c);return i!==k&&K2(F(),c2(),a,e,i,a[A],r,!1),be}function P3(e,t=""){const n=M(),c=F(),r=e+I,a=c.firstCreatePass?H4(c,r,1,t,null):c.data[r],i=Mo(c,n,a,t,e);n[r]=i,A6()&&X6(c,n,i,a),L1(a,!1)}let Mo=(e,t,n,c,r)=>(r3(!0),function Q6(e,t){return e.createText(t)}(t[A],c));function E4(e,t,n){const c=M(),r=V4(c,e,t,n);return r!==k&&U1(c,S2(),r),E4}function Yn(e,t,n){const c=M();return b2(c,t4(),t)&&K2(F(),c2(),c,e,t,c[A],n,!0),Yn}const F3=void 0;var Sb=["en",[["a","p"],["AM","PM"],F3],[["AM","PM"],F3,F3],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],F3,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],F3,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",F3,"{1} 'at' {0}",F3],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function xb(e){const n=Math.floor(Math.abs(e)),c=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===c?1:5}];let A4={};function _2(e){const t=function Nb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ro(t);if(n)return n;const c=t.split("-")[0];if(n=Ro(c),n)return n;if("en"===c)return Sb;throw new V(701,!1)}function Ro(e){return e in A4||(A4[e]=W.ng&&W.ng.common&&W.ng.common.locales&&W.ng.common.locales[e]),A4[e]}var Q=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Q||{});const _4="en-US";let Oo=_4;class k4{}class SD{}class tc extends k4{constructor(t,n,c){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ms(this);const r=function q2(e,t){const n=e[la]||null;if(!n&&!0===t)throw new Error(`Type ${h2(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function B1(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Qi(t,n,[{provide:k4,useValue:this},{provide:p0,useValue:this.componentFactoryResolver},...c],h2(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 nc extends SD{constructor(t){super(),this.moduleType=t}create(t){return new tc(this.moduleType,t,[])}}function k0(e,t,n,c){return function C9(e,t,n,c,r,a){const i=t+n;return b2(e,i,r)?x1(e,i+1,a?c.call(a,r):c(r)):_e(e,i+1)}(M(),x2(),e,t,n,c)}function _e(e,t){const n=e[t];return n===k?void 0:n}function H9(e,t,n,c,r,a,i){const s=t+n;return function A3(e,t,n,c){const r=b2(e,t,n);return b2(e,t+1,c)||r}(e,s,r,a)?x1(e,s+2,i?c.call(i,r,a):c(r,a)):_e(e,s+2)}function w9(e,t,n,c){const r=e+I,a=M(),i=J3(a,r);return function ke(e,t){return e[H].data[t].pure}(a,r)?H9(a,x2(),t,i.transform,n,c,i):i.transform(n,c)}function rc(e){return t=>{setTimeout(e,void 0,t)}}const j1=class cx extends u6{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,c){let r=t,a=n||(()=>null),i=c;if(t&&"object"==typeof t){const o=t;r=o.next?.bind(o),a=o.error?.bind(o),i=o.complete?.bind(o)}this.__isAsync&&(a=rc(a),r&&(r=rc(r)),i&&(i=rc(i)));const s=super.subscribe({next:r,error:a,complete:i});return t instanceof M1&&t.add(s),s}};let $1=(()=>{class e{}return e.__NG_ELEMENT_ID__=sx,e})();const ax=$1,ix=class extends ax{constructor(t,n,c){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=c}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,c){const i=this._declarationTContainer.tView,s=g0(this._declarationLView,i,t,4096&this._declarationLView[E]?4096:16,null,i.declTNode,null,null,null,n||null,c||null);s[X4]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[H1];return null!==l&&(s[H1]=l.createEmbeddedView(i)),kn(i,s,t),new Ce(s)}};function sx(){return T0(z2(),M())}function T0(e,t){return 4&e.type?new ix(t,e,M4(e,t)):null}let E1=(()=>{class e{}return e.__NG_ELEMENT_ID__=px,e})();function px(){return function E9(e,t){let n;const c=t[e.index];return O2(c)?n=c:(n=rs(c,t,null,e),t[e.index]=n,M0(t,n)),A9(n,t,e,c),new S9(n,e,t)}(z2(),M())}const mx=E1,S9=class extends mx{constructor(t,n,c){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=c}get element(){return M4(this._hostTNode,this._hostLView)}get injector(){return new c4(this._hostTNode,this._hostLView)}get parentInjector(){const t=wt(this._hostTNode,this._hostLView);if(a7(t)){const n=P6(t,this._hostLView),c=I6(t);return new c4(n[H].data[c+8],n)}return new c4(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=N9(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-L2}createEmbeddedView(t,n,c){let r,a;"number"==typeof c?r=c:null!=c&&(r=c.index,a=c.injector);const s=t.createEmbeddedViewImpl(n||{},a,null);return this.insertImpl(s,r,false),s}createComponent(t,n,c,r,a){const i=t&&!function ce(e){return"function"==typeof e}(t);let s;if(i)s=n;else{const v=n||{};s=v.index,c=v.injector,r=v.projectableNodes,a=v.environmentInjector||v.ngModuleRef}const o=i?t:new He(U(t)),l=c||this.parentInjector;if(!a&&null==o.ngModule){const g=(i?l:this.parentInjector).get(p4,null);g&&(a=g)}U(o.componentType??{});const h=o.create(l,r,null,a);return this.insertImpl(h.hostView,s,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,c){const r=t._lView,a=r[H];if(function oz(e){return O2(e[n2])}(r)){const o=this.indexOf(t);if(-1!==o)this.detach(o);else{const l=r[n2],f=new S9(l,l[y2],l[n2]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;if(function PV(e,t,n,c){const r=L2+c,a=n.length;c>0&&(n[r-1][f1]=t),c<a-L2?(t[f1]=n[r],g7(n,L2+c,t)):(n.push(t),t[f1]=null),t[n2]=n;const i=t[X4];null!==i&&n!==i&&function FV(e,t){const n=e[X3];t[o2]!==t[n2][n2][o2]&&(e[La]=!0),null===n?e[X3]=[t]:n.push(t)}(i,t);const s=t[H1];null!==s&&s.insertView(e),t[E]|=128}(a,r,s,i),!c){const o=Wt(i,s),l=r[A],f=K6(l,s[z1]);null!==f&&function kV(e,t,n,c,r,a){c[p2]=r,c[y2]=t,fe(e,c,n,1,r,a)}(a,s[y2],l,r,f,o)}return t.attachToViewContainerRef(),g7(sc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=N9(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),c=jt(this._lContainer,n);c&&(B6(sc(this._lContainer),n),j7(c[H],c))}detach(t){const n=this._adjustIndex(t,-1),c=jt(this._lContainer,n);return c&&null!=B6(sc(this._lContainer),n)?new Ce(c):null}_adjustIndex(t,n=0){return t??this.length+n}};function N9(e){return e[8]}function sc(e){return e[8]||(e[8]=[])}let A9=function _9(e,t,n,c){if(e[z1])return;let r;r=8&n.type?K(c):function vx(e,t){const n=e[A],c=n.createComment(""),r=B2(t,e);return D3(n,K6(n,r),c,function UV(e,t){return e.nextSibling(t)}(n,r),!1),c}(t,n),e[z1]=r};function R9(e,t){return T0(e,t)}const Qx=new _("Application Initializer");let gc=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,c)=>{this.resolve=n,this.reject=c}),this.appInits=e2(Qx,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const r of this.appInits){const a=r();if(jn(a))n.push(a);else if(Os(a)){const i=new Promise((s,o)=>{a.subscribe({complete:s,error:o})});n.push(i)}}const c=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{c()}).catch(r=>{this.reject(r)}),0===n.length&&c(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const G1=new _("LocaleId",{providedIn:"root",factory:()=>e2(G1,P.Optional|P.SkipSelf)||function Kx(){return typeof $localize<"u"&&$localize.locale||_4}()});let eS=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new pC(!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=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function al(...e){}class g2{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:c=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new j1(!1),this.onMicrotaskEmpty=new j1(!1),this.onStable=new j1(!1),this.onError=new j1(!1),typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!c&&n,r.shouldCoalesceRunChangeDetection=c,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function rS(){const e="function"==typeof W.requestAnimationFrame;let t=W[e?"requestAnimationFrame":"setTimeout"],n=W[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const c=t[Zone.__symbol__("OriginalDelegate")];c&&(t=c);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function sS(e){const t=()=>{!function iS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(W,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Cc(e),e.isCheckStableRunning=!0,Mc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Cc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,c,r,a,i,s)=>{try{return il(e),n.invokeTask(r,a,i,s)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),sl(e)}},onInvoke:(n,c,r,a,i,s,o)=>{try{return il(e),n.invoke(r,a,i,s,o)}finally{e.shouldCoalesceRunChangeDetection&&t(),sl(e)}},onHasTask:(n,c,r,a)=>{n.hasTask(r,a),c===r&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Cc(e),Mc(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,c,r,a)=>(n.handleError(r,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!g2.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(g2.isInAngularZone())throw new V(909,!1)}run(t,n,c){return this._inner.run(t,n,c)}runTask(t,n,c,r){const a=this._inner,i=a.scheduleEventTask("NgZoneEvent: "+r,t,aS,al,al);try{return a.runTask(i,n,c)}finally{a.cancelTask(i)}}runGuarded(t,n,c){return this._inner.runGuarded(t,n,c)}runOutsideAngular(t){return this._outer.run(t)}}const aS={};function Mc(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 Cc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function il(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sl(e){e._nesting--,Mc(e)}class oS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new j1,this.onMicrotaskEmpty=new j1,this.onStable=new j1,this.onError=new j1}run(t,n,c){return t.apply(n,c)}runGuarded(t,n,c){return t.apply(n,c)}runOutsideAngular(t){return t()}runTask(t,n,c,r){return t.apply(n,c)}}const ol=new _("",{providedIn:"root",factory:ll});function ll(){const e=e2(g2);let t=!0;return cH(new I2(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),new I2(r=>{let a;e.runOutsideAngular(()=>{a=e.onStable.subscribe(()=>{g2.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const i=e.onUnstable.subscribe(()=>{g2.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{a.unsubscribe(),i.unsubscribe()}}).pipe(ea()))}const fl=new _(""),P0=new _("");let Vc,Hc=(()=>{class e{constructor(n,c,r){this._ngZone=n,this.registry=c,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Vc||(function lS(e){Vc=e}(r),r.addToWindow(c)),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:()=>{g2.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(c=>!c.updateCb||!c.updateCb(n)||(clearTimeout(c.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,c,r){let a=-1;c&&c>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(i=>i.timeoutId!==a),n(this._didWork,this.getPendingTasks())},c)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:r})}whenStable(n,c,r){if(r&&!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,c,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,c,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(T(g2),T(zc),T(P0))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})(),zc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,c){this._applications.set(n,c)}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,c=!0){return Vc?.findTestabilityInTree(this,n,c)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),l3=null;const ul=new _("AllowMultipleToken"),yc=new _("PlatformDestroyListeners"),dl=new _("appBootstrapListener");function ml(e,t,n=[]){const c=`Platform: ${t}`,r=new _(c);return(a=[])=>{let i=Lc();if(!i||i.injector.get(ul,!1)){const s=[...n,...a,{provide:r,useValue:!0}];e?e(s):function dS(e){if(l3&&!l3.get(ul,!1))throw new V(400,!1);(function hl(){!function ZH(e){Na=e}(()=>{throw new V(600,!1)})})(),l3=e;const t=e.get(gl);(function pl(e){e.get(yi,null)?.forEach(n=>n())})(e)}(function vl(e=[],t){return i3.create({name:t,providers:[{provide:rn,useValue:"platform"},{provide:yc,useValue:new Set([()=>l3=null])},...e]})}(s,c))}return function pS(e){const t=Lc();if(!t)throw new V(401,!1);return t}()}}function Lc(){return l3?.get(gl)??null}let gl=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,c){const r=function mS(e="zone.js",t){return"noop"===e?new oS:"zone.js"===e?new g2(t):e}(c?.ngZone,function Ml(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:c?.ngZoneEventCoalescing,runCoalescing:c?.ngZoneRunCoalescing}));return r.run(()=>{const a=function ED(e,t,n){return new tc(e,t,n)}(n.moduleType,this.injector,function yl(e){return[{provide:g2,useFactory:e},{provide:a0,multi:!0,useFactory:()=>{const t=e2(gS,{optional:!0});return()=>t.initialize()}},{provide:Vl,useFactory:vS},{provide:ol,useFactory:ll}]}(()=>r)),i=a.injector.get(E3,null);return r.runOutsideAngular(()=>{const s=r.onError.subscribe({next:o=>{i.handleError(o)}});a.onDestroy(()=>{F0(this._modules,a),s.unsubscribe()})}),function Cl(e,t,n){try{const c=n();return jn(c)?c.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):c}catch(c){throw t.runOutsideAngular(()=>e.handleError(c)),c}}(i,r,()=>{const s=a.injector.get(gc);return s.runInitializers(),s.donePromise.then(()=>(function Bo(e){t1(e,"Expected localeId to be defined"),"string"==typeof e&&(Oo=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(G1,_4)||_4),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,c=[]){const r=Hl({},c);return function fS(e,t,n){const c=new nc(n);return Promise.resolve(c)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,r))}_moduleDoBootstrap(n){const c=n.injector.get(Ie);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>c.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new V(-403,!1);n.instance.ngDoBootstrap(c)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new V(404,!1);this._modules.slice().forEach(c=>c.destroy()),this._destroyListeners.forEach(c=>c());const n=this._injector.get(yc,null);n&&(n.forEach(c=>c()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(T(i3))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Hl(e,t){return Array.isArray(t)?t.reduce(Hl,e):{...e,...t}}let Ie=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=e2(Vl),this.zoneIsStable=e2(ol),this.componentTypes=[],this.components=[],this.isStable=e2(eS).hasPendingTasks.pipe(function aH(e,t){return g3((n,c)=>{let r=null,a=0,i=!1;const s=()=>i&&!r&&c.complete();n.subscribe(M3(c,o=>{r?.unsubscribe();let l=0;const f=a++;k1(e(o,f)).subscribe(r=M3(c,u=>c.next(t?t(o,u,f,l++):u),()=>{r=null,s()}))},()=>{i=!0,s()}))})}(n=>n?function rH(...e){return Jr(e,Qr(e))}(!1):this.zoneIsStable),function iH(e,t=U8){return e=e??sH,g3((n,c)=>{let r,a=!0;n.subscribe(M3(c,i=>{const s=t(i);(a||!e(r,s))&&(a=!1,r=s,c.next(i))}))})}(),ea()),this._injector=e2(p4)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,c){const r=n instanceof Ni;if(!this._injector.get(gc).done)throw!r&&function Q4(e){const t=U(e)||V2(e)||R2(e);return null!==t&&t.standalone}(n),new V(405,!1);let i;i=r?n:this._injector.get(p0).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=function uS(e){return e.isBoundToModule}(i)?void 0:this._injector.get(k4),l=i.create(i3.NULL,[],c||i.selector,s),f=l.location.nativeElement,u=l.injector.get(fl,null);return u?.registerApplication(f),l.onDestroy(()=>{this.detachView(l.hostView),F0(this.components,l),u?.unregisterApplication(f)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new V(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 c=n;this._views.push(c),c.attachToAppRef(this)}detachView(n){const c=n;F0(this._views,c),c.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const c=this._injector.get(dl,[]);c.push(...this._bootstrapListeners),c.forEach(r=>r(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),()=>F0(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new V(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=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function F0(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Vl=new _("",{providedIn:"root",factory:()=>e2(E3).handleError.bind(void 0)});function vS(){const e=e2(g2),t=e2(E3);return n=>e.runOutsideAngular(()=>t.handleError(n))}let gS=(()=>{class e{constructor(){this.zone=e2(g2),this.applicationRef=e2(Ie)}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=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Dl{constructor(){}supports(t){return V0(t)}create(t){return new DS(t)}}const bS=(e,t)=>t;class DS{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||bS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,c=this._removalsHead,r=0,a=null;for(;n||c;){const i=!c||n&&n.currentIndex<Sl(c,r,a)?n:c,s=Sl(i,r,a),o=i.currentIndex;if(i===c)r--,c=c._nextRemoved;else if(n=n._next,null==i.previousIndex)r++;else{a||(a=[]);const l=s-r,f=o-r;if(l!=f){for(let d=0;d<l;d++){const h=d<a.length?a[d]:a[d]=0,p=h+d;f<=p&&p<l&&(a[d]=h+1)}a[i.previousIndex]=f-l}}s!==o&&t(i,s,o)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!V0(t))throw new V(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,a,i,n=this._itHead,c=!1;if(Array.isArray(t)){this.length=t.length;for(let s=0;s<this.length;s++)a=t[s],i=this._trackByFn(s,a),null!==n&&Object.is(n.trackById,i)?(c&&(n=this._verifyReinsertion(n,a,i,s)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,i,s),c=!0),n=n._next}else r=0,function fw(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let c;for(;!(c=n.next()).done;)t(c.value)}}(t,s=>{i=this._trackByFn(r,s),null!==n&&Object.is(n.trackById,i)?(c&&(n=this._verifyReinsertion(n,s,i,r)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,i,r),c=!0),n=n._next,r++}),this.length=r;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,c,r){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(c,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,r)):t=this._addAfter(new xS(n,c),a,r),t}_verifyReinsertion(t,n,c,r){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);return null!==a?t=this._reinsertAfter(a,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),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,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,a=t._nextRemoved;return null===r?this._removalsHead=a:r._nextRemoved=a,null===a?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(t,n,c),this._addToMoves(t,c),t}_moveAfter(t,n,c){return this._unlink(t),this._insertAfter(t,n,c),this._addToMoves(t,c),t}_addAfter(t,n,c){return this._insertAfter(t,n,c),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,c){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new xl),this._linkedRecords.put(t),t.currentIndex=c,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,c=t._next;return null===n?this._itHead=c:n._next=c,null===c?this._itTail=n:c._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 xl),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 xS{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 SS{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 c;for(c=this._head;null!==c;c=c._nextDup)if((null===n||n<=c.currentIndex)&&Object.is(c.trackById,t))return c;return null}remove(t){const n=t._prevDup,c=t._nextDup;return null===n?this._head=c:n._nextDup=c,null===c?this._tail=n:c._prevDup=n,null===this._head}}class xl{constructor(){this.map=new Map}put(t){const n=t.trackById;let c=this.map.get(n);c||(c=new SS,this.map.set(n,c)),c.add(t)}get(t,n){const r=this.map.get(t);return r?r.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 Sl(e,t,n){const c=e.previousIndex;if(null===c)return c;let r=0;return n&&c<n.length&&(r=n[c]),c+t+r}class Nl{constructor(){}supports(t){return t instanceof Map||Tn(t)}create(){return new NS}}class NS{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Tn(t)))throw new V(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(c,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,c),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(r,c);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let c=n;null!==c;c=c._nextRemoved)c===this._mapHead&&(this._mapHead=null),this._records.delete(c.key),c._nextRemoved=c._next,c.previousValue=c.currentValue,c.currentValue=null,c._prev=null,c._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const c=t._prev;return n._next=t,n._prev=c,t._prev=n,c&&(c._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const a=r._prev,i=r._next;return a&&(a._next=i),i&&(i._prev=a),r._next=null,r._prev=null,r}const c=new ES(t);return this._records.set(t,c),c.currentValue=n,this._addToAdditions(c),c}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(c=>n(t[c],c))}}class ES{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function El(){return new B0([new Dl])}let B0=(()=>{class e{constructor(n){this.factories=n}static create(n,c){if(null!=c){const r=c.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:c=>e.create(n,c||El()),deps:[[e,new _t,new At]]}}find(n){const c=this.factories.find(r=>r.supports(n));if(null!=c)return c;throw new V(901,!1)}}return e.\u0275prov=R({token:e,providedIn:"root",factory:El}),e})();function Al(){return new Pe([new Nl])}let Pe=(()=>{class e{constructor(n){this.factories=n}static create(n,c){if(c){const r=c.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:c=>e.create(n,c||Al()),deps:[[e,new _t,new At]]}}find(n){const c=this.factories.find(r=>r.supports(n));if(c)return c;throw new V(901,!1)}}return e.\u0275prov=R({token:e,providedIn:"root",factory:Al}),e})();const kS=ml(null,"core",[]);let TS=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(T(Ie))},e.\u0275mod=W3({type:e}),e.\u0275inj=H3({}),e})(),Ec=null;function Ac(){return Ec}class qS{}const q1=new _("DocumentToken");var j0=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(j0||{}),l2=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(l2||{});function a1(e,t){const n=_2(e),c=n[Q.NumberSymbols][t];if(typeof c>"u"){if(t===l2.CurrencyDecimal)return n[Q.NumberSymbols][l2.Decimal];if(t===l2.CurrencyGroup)return n[Q.NumberSymbols][l2.Group]}return c}const zN=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Oc(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}const Uc=/\s+/,Wl=[];let Yl=(()=>{class e{constructor(n,c,r,a){this._iterableDiffers=n,this._keyValueDiffers=c,this._ngEl=r,this._renderer=a,this.initialClasses=Wl,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(Uc):Wl}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Uc):n}ngDoCheck(){for(const c of this.initialClasses)this._updateState(c,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const c of n)this._updateState(c,!0);else if(null!=n)for(const c of Object.keys(n))this._updateState(c,!!n[c]);this._applyStateDiff()}_updateState(n,c){const r=this.stateMap.get(n);void 0!==r?(r.enabled!==c&&(r.changed=!0,r.enabled=c),r.touched=!0):this.stateMap.set(n,{enabled:c,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const c=n[0],r=n[1];r.changed?(this._toggleClass(c,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(c,!1),this.stateMap.delete(c)),r.touched=!1}}_toggleClass(n,c){(n=n.trim()).length>0&&n.split(Uc).forEach(r=>{c?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return e.\u0275fac=function(n){return new(n||e)(D(B0),D(Pe),D(N3),D(Hn))},e.\u0275dir=G2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class kN{constructor(t,n,c,r){this.$implicit=t,this.ngForOf=n,this.index=c,this.count=r}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 Zl=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,c,r){this._viewContainer=n,this._template=c,this._differs=r,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 c=this._viewContainer;n.forEachOperation((r,a,i)=>{if(null==r.previousIndex)c.createEmbeddedView(this._template,new kN(r.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)c.remove(null===a?void 0:a);else if(null!==a){const s=c.get(a);c.move(s,i),Kl(s,r)}});for(let r=0,a=c.length;r<a;r++){const s=c.get(r).context;s.index=r,s.count=a,s.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{Kl(c.get(r.currentIndex),r)})}static ngTemplateContextGuard(n,c){return!0}}return e.\u0275fac=function(n){return new(n||e)(D(E1),D($1),D(B0))},e.\u0275dir=G2({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function Kl(e,t){e.context.$implicit=t.item}let Xl=(()=>{class e{constructor(n,c){this._viewContainer=n,this._context=new TN,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=c}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Jl("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Jl("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,c){return!0}}return e.\u0275fac=function(n){return new(n||e)(D(E1),D($1))},e.\u0275dir=G2({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class TN{constructor(){this.$implicit=null,this.ngIf=null}}function Jl(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${h2(t)}'.`)}let nf=(()=>{class e{constructor(n){this._locale=n}transform(n,c,r){if(!function Gc(e){return!(null==e||""===e||e!=e)}(n))return null;r=r||this._locale;try{return function DN(e,t,n){return function Fc(e,t,n,c,r,a,i=!1){let s="",o=!1;if(isFinite(e)){let l=function SN(e){let c,r,a,i,s,t=Math.abs(e)+"",n=0;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(a=t.search(/e/i))>0?(r<0&&(r=a),r+=+t.slice(a+1),t=t.substring(0,a)):r<0&&(r=t.length),a=0;"0"===t.charAt(a);a++);if(a===(s=t.length))c=[0],r=1;else{for(s--;"0"===t.charAt(s);)s--;for(r-=a,c=[],i=0;a<=s;a++,i++)c[i]=Number(t.charAt(a))}return r>22&&(c=c.splice(0,21),n=r-1,r=1),{digits:c,exponent:n,integerLen:r}}(e);i&&(l=function xN(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));let f=t.minInt,u=t.minFrac,d=t.maxFrac;if(a){const m=a.match(zN);if(null===m)throw new Error(`${a} is not a valid digit info`);const z=m[1],w=m[3],b=m[5];null!=z&&(f=Oc(z)),null!=w&&(u=Oc(w)),null!=b?d=Oc(b):null!=w&&u>d&&(d=u)}!function NN(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let c=e.digits,r=c.length-e.integerLen;const a=Math.min(Math.max(t,r),n);let i=a+e.integerLen,s=c[i];if(i>0){c.splice(Math.max(e.integerLen,i));for(let u=i;u<c.length;u++)c[u]=0}else{r=Math.max(0,r),e.integerLen=1,c.length=Math.max(1,i=a+1),c[0]=0;for(let u=1;u<i;u++)c[u]=0}if(s>=5)if(i-1<0){for(let u=0;u>i;u--)c.unshift(0),e.integerLen++;c.unshift(1),e.integerLen++}else c[i-1]++;for(;r<Math.max(0,a);r++)c.push(0);let o=0!==a;const l=t+e.integerLen,f=c.reduceRight(function(u,d,h,p){return p[h]=(d+=u)<10?d:d-10,o&&(0===p[h]&&h>=l?p.pop():o=!1),d>=10?1:0},0);f&&(c.unshift(f),e.integerLen++)}(l,u,d);let h=l.digits,p=l.integerLen;const v=l.exponent;let g=[];for(o=h.every(m=>!m);p<f;p++)h.unshift(0);for(;p<0;p++)h.unshift(0);p>0?g=h.splice(p,h.length):(g=h,h=[0]);const C=[];for(h.length>=t.lgSize&&C.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)C.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&C.unshift(h.join("")),s=C.join(a1(n,c)),g.length&&(s+=a1(n,r)+g.join("")),v&&(s+=a1(n,l2.Exponential)+"+"+v)}else s=a1(n,l2.Infinity);return s=e<0&&!o?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf,s}(e,function Rc(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},c=e.split(";"),r=c[0],a=c[1],i=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],s=i[0],o=i[1]||"";n.posPre=s.substring(0,s.indexOf("#"));for(let f=0;f<o.length;f++){const u=o.charAt(f);"0"===u?n.minFrac=n.maxFrac=f+1:"#"===u?n.maxFrac=f+1:n.posSuf+=u}const l=s.split(",");if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,a){const f=r.length-n.posPre.length-n.posSuf.length,u=a.indexOf("#");n.negPre=a.substring(0,u).replace(/'/g,""),n.negSuf=a.slice(u+f).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function _c(e,t){return _2(e)[Q.NumberFormats][t]}(t,j0.Decimal),a1(t,l2.MinusSign)),t,l2.Group,l2.Decimal,n)}(function qc(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(n),r,c)}catch(a){throw function v1(e,t){return new V(2100,!1)}()}}}return e.\u0275fac=function(n){return new(n||e)(D(G1,16))},e.\u0275pipe=F2({name:"number",type:e,pure:!0,standalone:!0}),e})();let aE=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W3({type:e}),e.\u0275inj=H3({}),e})();function rf(e){return"server"===e}class _E extends qS{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Qc extends _E{static makeCurrent(){!function GS(e){Ec||(Ec=e)}(new Qc)}onAndCancel(t,n,c){return t.addEventListener(n,c),()=>{t.removeEventListener(n,c)}}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 kE(){return Be=Be||document.querySelector("base"),Be?Be.getAttribute("href"):null}();return null==n?null:function TE(e){t8=t8||document.createElement("a"),t8.setAttribute("href",e);const t=t8.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Be=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function AN(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const c=n.indexOf("="),[r,a]=-1==c?[n,""]:[n.slice(0,c),n.slice(c+1)];if(r.trim()===t)return decodeURIComponent(a)}return null}(document.cookie,t)}}let t8,Be=null,PE=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();const Zc=new _("EventManagerPlugins");let uf=(()=>{class e{constructor(n,c){this._zone=c,this._eventNameToPlugin=new Map,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,c,r){return this._findPluginFor(c).addEventListener(n,c,r)}getZone(){return this._zone}_findPluginFor(n){let c=this._eventNameToPlugin.get(n);if(c)return c;if(c=this._plugins.find(a=>a.supports(n)),!c)throw new V(5101,!1);return this._eventNameToPlugin.set(n,c),c}}return e.\u0275fac=function(n){return new(n||e)(T(Zc),T(g2))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();class df{constructor(t){this._doc=t}}const Kc="ng-app-id";let hf=(()=>{class e{constructor(n,c,r,a={}){this.doc=n,this.appId=c,this.nonce=r,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=rf(a),this.resetHostNodes()}addStyles(n){for(const c of n)1===this.changeUsageCount(c,1)&&this.onStyleAdded(c)}removeStyles(n){for(const c of n)this.changeUsageCount(c,-1)<=0&&this.onStyleRemoved(c)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(c=>c.remove()),n.clear());for(const c of this.getAllStyles())this.onStyleRemoved(c);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const c of this.getAllStyles())this.addStyleToHost(n,c)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const c of this.hostNodes)this.addStyleToHost(c,n)}onStyleRemoved(n){const c=this.styleRef;c.get(n)?.elements?.forEach(r=>r.remove()),c.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Kc}="${this.appId}"]`);if(n?.length){const c=new Map;return n.forEach(r=>{null!=r.textContent&&c.set(r.textContent,r)}),c}return null}changeUsageCount(n,c){const r=this.styleRef;if(r.has(n)){const a=r.get(n);return a.usage+=c,a.usage}return r.set(n,{usage:c,elements:[]}),c}getStyleElement(n,c){const r=this.styleNodesInDOM,a=r?.get(c);if(a?.parentNode===n)return r.delete(c),a.removeAttribute(Kc),a;{const i=this.doc.createElement("style");return this.nonce&&i.setAttribute("nonce",this.nonce),i.textContent=c,this.platformIsServer&&i.setAttribute(Kc,this.appId),i}}addStyleToHost(n,c){const r=this.getStyleElement(n,c);n.appendChild(r);const a=this.styleRef,i=a.get(c)?.elements;i?i.push(r):a.set(c,{elements:[r],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return e.\u0275fac=function(n){return new(n||e)(T(q1),T(l0),T(Li,8),T(v4))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();const Xc={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/"},Jc=/%COMP%/g,BE=new _("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function mf(e,t){return t.map(n=>n.replace(Jc,e))}let vf=(()=>{class e{constructor(n,c,r,a,i,s,o,l=null){this.eventManager=n,this.sharedStylesHost=c,this.appId=r,this.removeStylesOnCompDestroy=a,this.doc=i,this.platformId=s,this.ngZone=o,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=rf(s),this.defaultRenderer=new e5(n,i,o,this.platformIsServer)}createRenderer(n,c){if(!n||!c)return this.defaultRenderer;this.platformIsServer&&c.encapsulation===o1.ShadowDom&&(c={...c,encapsulation:o1.Emulated});const r=this.getOrCreateRenderer(n,c);return r instanceof Mf?r.applyToHost(n):r instanceof t5&&r.applyStyles(),r}getOrCreateRenderer(n,c){const r=this.rendererByCompId;let a=r.get(c.id);if(!a){const i=this.doc,s=this.ngZone,o=this.eventManager,l=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(c.encapsulation){case o1.Emulated:a=new Mf(o,l,c,this.appId,f,i,s,u);break;case o1.ShadowDom:return new GE(o,l,n,c,i,s,this.nonce,u);default:a=new t5(o,l,c,f,i,s,u)}r.set(c.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}}return e.\u0275fac=function(n){return new(n||e)(T(uf),T(hf),T(l0),T(BE),T(q1),T(v4),T(g2),T(Li))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();class e5{constructor(t,n,c,r){this.eventManager=t,this.doc=n,this.ngZone=c,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Xc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(gf(t)?t.content:t).appendChild(n)}insertBefore(t,n,c){t&&(gf(t)?t.content:t).insertBefore(n,c)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let c="string"==typeof t?this.doc.querySelector(t):t;if(!c)throw new V(-5104,!1);return n||(c.textContent=""),c}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,c,r){if(r){n=r+":"+n;const a=Xc[r];a?t.setAttributeNS(a,n,c):t.setAttribute(n,c)}else t.setAttribute(n,c)}removeAttribute(t,n,c){if(c){const r=Xc[c];r?t.removeAttributeNS(r,n):t.removeAttribute(`${c}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,c,r){r&(a3.DashCase|a3.Important)?t.style.setProperty(n,c,r&a3.Important?"important":""):t.style[n]=c}removeStyle(t,n,c){c&a3.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,c){t[n]=c}setValue(t,n){t.nodeValue=n}listen(t,n,c){if("string"==typeof t&&!(t=Ac().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(c))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function gf(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class GE extends e5{constructor(t,n,c,r,a,i,s,o){super(t,a,i,o),this.sharedStylesHost=n,this.hostEl=c,this.shadowRoot=c.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=mf(r.id,r.styles);for(const f of l){const u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=f,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,c){return super.insertBefore(this.nodeOrShadowRoot(t),n,c)}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 t5 extends e5{constructor(t,n,c,r,a,i,s,o){super(t,a,i,s),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r,this.styles=o?mf(o,c.styles):c.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Mf extends t5{constructor(t,n,c,r,a,i,s,o){const l=r+"-"+c.id;super(t,n,c,a,i,s,o,l),this.contentAttr=function UE(e){return"_ngcontent-%COMP%".replace(Jc,e)}(l),this.hostAttr=function jE(e){return"_nghost-%COMP%".replace(Jc,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const c=super.createElement(t,n);return super.setAttribute(c,this.contentAttr,""),c}}let qE=(()=>{class e extends df{constructor(n){super(n)}supports(n){return!0}addEventListener(n,c,r){return n.addEventListener(c,r,!1),()=>this.removeEventListener(n,c,r)}removeEventListener(n,c,r){return n.removeEventListener(c,r)}}return e.\u0275fac=function(n){return new(n||e)(T(q1))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();const Cf=["alt","control","meta","shift"],WE={"\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"},YE={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let QE=(()=>{class e extends df{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,c,r){const a=e.parseEventName(c),i=e.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ac().onAndCancel(n,a.domEventName,i))}static parseEventName(n){const c=n.toLowerCase().split("."),r=c.shift();if(0===c.length||"keydown"!==r&&"keyup"!==r)return null;const a=e._normalizeKey(c.pop());let i="",s=c.indexOf("code");if(s>-1&&(c.splice(s,1),i="code."),Cf.forEach(l=>{const f=c.indexOf(l);f>-1&&(c.splice(f,1),i+=l+".")}),i+=a,0!=c.length||0===a.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static matchEventFullKeyCode(n,c){let r=WE[n.key]||n.key,a="";return c.indexOf("code.")>-1&&(r=n.code,a="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Cf.forEach(i=>{i!==r&&(0,YE[i])(n)&&(a+=i+".")}),a+=r,a===c)}static eventCallback(n,c,r){return a=>{e.matchEventFullKeyCode(a,n)&&r.runGuarded(()=>c(a))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(T(q1))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();const JE=ml(kS,"browser",[{provide:v4,useValue:"browser"},{provide:yi,useValue:function ZE(){Qc.makeCurrent()},multi:!0},{provide:q1,useFactory:function XE(){return function ZV(e){Zt=e}(document),document},deps:[]}]),eA=new _(""),Vf=[{provide:P0,useClass:class IE{addToWindow(t){W.getAngularTestability=(c,r=!0)=>{const a=t.findTestabilityInTree(c,r);if(null==a)throw new V(5103,!1);return a},W.getAllAngularTestabilities=()=>t.getAllTestabilities(),W.getAllAngularRootElements=()=>t.getAllRootElements(),W.frameworkStabilizers||(W.frameworkStabilizers=[]),W.frameworkStabilizers.push(c=>{const r=W.getAllAngularTestabilities();let a=r.length,i=!1;const s=function(o){i=i||o,a--,0==a&&c(i)};r.forEach(o=>{o.whenStable(s)})})}findTestabilityInTree(t,n,c){return null==n?null:t.getTestability(n)??(c?Ac().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:fl,useClass:Hc,deps:[g2,zc,P0]},{provide:Hc,useClass:Hc,deps:[g2,zc,P0]}],yf=[{provide:rn,useValue:"root"},{provide:E3,useFactory:function KE(){return new E3},deps:[]},{provide:Zc,useClass:qE,multi:!0,deps:[q1,g2,v4]},{provide:Zc,useClass:QE,multi:!0,deps:[q1]},vf,hf,uf,{provide:Ai,useExisting:vf},{provide:class fE{},useClass:PE,deps:[]},[]];let tA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:l0,useValue:n.appId}]}}}return e.\u0275fac=function(n){return new(n||e)(T(eA,12))},e.\u0275mod=W3({type:e}),e.\u0275inj=H3({providers:[...yf,...Vf],imports:[aE,TS]}),e})();typeof window<"u"&&window;let bf=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:function(n){let c=null;return c=n?new(n||e):T(Df),c},providedIn:"root"}),e})(),Df=(()=>{class e extends bf{constructor(n){super(),this._doc=n}sanitize(n,c){if(null==c)return null;switch(n){case c1.NONE:return c;case c1.HTML:return b1(c,"HTML")?Z2(c):ui(this._doc,String(c)).toString();case c1.STYLE:return b1(c,"Style")?Z2(c):c;case c1.SCRIPT:if(b1(c,"Script"))return Z2(c);throw new V(5200,!1);case c1.URL:return b1(c,"URL")?Z2(c):n0(String(c));case c1.RESOURCE_URL:if(b1(c,"ResourceURL"))return Z2(c);throw new V(5201,!1);default:throw new V(5202,!1)}}bypassSecurityTrustHtml(n){return function cy(e){return new KV(e)}(n)}bypassSecurityTrustStyle(n){return function ry(e){return new XV(e)}(n)}bypassSecurityTrustScript(n){return function ay(e){return new JV(e)}(n)}bypassSecurityTrustUrl(n){return function iy(e){return new ey(e)}(n)}bypassSecurityTrustResourceUrl(n){return function sy(e){return new ty(e)}(n)}}return e.\u0275fac=function(n){return new(n||e)(T(q1))},e.\u0275prov=R({token:e,factory:function(n){let c=null;return c=n?new n:function sA(e){return new Df(e.get(q1))}(T(i3)),c},providedIn:"root"}),e})();var l5={prefix:"fas",iconName:"square-caret-up",icon:[448,512,["caret-square-up"],"f151","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM224 160c6.7 0 13 2.8 17.6 7.7l104 112c6.5 7 8.2 17.2 4.4 25.9s-12.5 14.4-22 14.4H120c-9.5 0-18.2-5.7-22-14.4s-2.1-18.9 4.4-25.9l104-112c4.5-4.9 10.9-7.7 17.6-7.7z"]},rm={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160H176c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32s32 14.3 32 32v51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]},B5={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]};class O3 extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(O3.template.content.cloneNode(!0)),this.mouseDragStart=null,this.mouseUpEventRef=null,this.cardStyleEventListenerRemover=null}connectedCallback(){this.flippable&&this._addFlippableListeners(),this.peekable&&this._addPeekableListeners()}_addFlippableListeners(){this.addEventListener("click",this.flip),this.cardStyleEventListenerRemover=()=>{this.removeEventListener("click",this.flip)}}flip(){this.setHidden(!this.hasAttribute("hidden"))}peek(t){this.mouseDragStart=t.y,this.mouseUpEventRef=this._handleDragEnd.bind(this),this.addEventListener("mousemove",this._handlePeekableDrag),document.addEventListener("mouseup",this.mouseUpEventRef)}_addPeekableListeners(){this.setHidden(!0),this.addEventListener("mousedown",this.peek),this.cardStyleEventListenerRemover=()=>this.removeEventListener("mousedown",this.peek)}_handleDragEnd(){this.removeEventListener("mousemove",this._handlePeekableDrag),document.removeEventListener("mouseup",this.mouseUpEventRef),this.mouseDragStart=null,this.style.borderRadius=this.originalBorderRadius,this.removeAttribute("style")}_handlePeekableDrag(t){this.style.borderRadius=`var(--card-border-radius) var(--card-border-radius) ${(this.mouseDragStart-t.y)/2}% var(--card-border-radius)`}setHidden(t){t?this.setAttribute("hidden",""):this.removeAttribute("hidden")}set peekable(t){this.cardStyleEventListenerRemover&&this.cardStyleEventListenerRemover.call(this),t?this._addPeekableListeners():this._addFlippableListeners()}attributeChangedCallback(t,n,c){n!==c&&(this[t]=""===c||c,this.render())}render(){this.shadowRoot.querySelectorAll(".card-rank").forEach(r=>r.innerText=this.rank);const t=this.shadowRoot.querySelector(".card-legend"),n=document.createDocumentFragment(),c=this._getRankValue(this.rank);if(c<=10)for(let r=0;r<c;r++){const a=document.createElement("span");a.innerHTML=O3.icon,n.appendChild(a)}else{const r=document.createElement("span"),a=document.createElement("p");a.innerText=this.rank,r.appendChild(a),n.appendChild(r)}t.innerHTML="",t.appendChild(n)}_getRankValue(t){return{A:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,10:10,J:11,Q:12,K:13}[t]}static get icon(){return'\n <svg viewBox="0 0 525 475">\n <path></path>\n </svg>\n '}static get observedAttributes(){return["rank","suit","flippable","peekable","hidden"]}static get template(){const t=document.createElement("template");return t.innerHTML=`\n ${O3.styles}\n\n <div class="card-face">\n <div class="corner-marker top-left">\n <p class="card-rank">5</p>\n ${O3.icon}\n </div>\n <div class="corner-marker bottom-right">\n <p class="card-rank">5</p>\n ${O3.icon}\n </div>\n <div class="card-legend">\n </div>\n </div>\n `,t}static get styles(){return'\n<style>\n :host {\n --card-size: 4rem;\n\n --red-color: #e31b23;\n --black-color: #000;\n\n --card-font-size: 0.55;\n --corner-suit-size: 0.45;\n --legend-suit-size: 0.5;\n --card-border-radius: 4px;\n\n display: block;\n width: calc(var(--card-size) * 2.5);\n height: calc(var(--card-size) * 3.5);\n border-radius: var(--card-border-radius);\n position: relative;\n box-shadow: 0px 0px 4px 1px #484848;\n cursor: pointer;\n\n transition: transform 300ms ease-in-out;\n transform-style: preserve-3d;\n will-change: transform;\n\n user-select: none;\n\n }\n\n :host([hidden]) {\n transform: rotateY(180deg);\n }\n\n :host::after {\n content: \'\';\n height: 100%;\n width: 100%;\n box-shadow: 0px 0px 8px 1px #484848;\n border-radius: var(--card-border-radius);\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n transition: 100ms ease-in-out;\n opacity: 0;\n }\n\n :host(:hover):after,\n :host(:active):after\n {\n opacity: 1;\n }\n\n .card-face {\n width: 100%;\n height: 100%;\n backface-visibility: hidden;\n background: #FFF;\n border-radius: var(--card-border-radius);\n }\n\n :host([hidden][peekable]) .card-face::after {\n content: \'\';\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n background: #FFF;\n border-radius: var(--card-border-radius);\n transform: translateZ(2px); // Wow this is hacky\n }\n\n :host([hidden][peekable]) .bottom-right {\n transform: rotateY(180deg) translateZ(-1px);// Just below the cover, just above the bottom\n }\n\n .corner-marker {\n display: flex;\n flex-direction: column;\n align-items: center;\n position:absolute;\n padding: 0.25rem;\n backface-visibility: visible;\n z-index: 1;\n }\n\n .corner-marker p {\n color: inherit;\n }\n\n .corner-marker svg {\n fill: inherit;\n width: calc(var(--corner-suit-size) * var(--card-size));\n height: calc(var(--corner-suit-size) * var(--card-size));\n }\n\n .card-rank {\n font-size: calc(var(--card-font-size) * var(--card-size));\n margin: 0;\n }\n\n .card-legend {\n width: 100%;\n height: 100%;\n padding: calc(var(--card-font-size) * var(--card-size) * 0.8);\n box-sizing: border-box;\n\n display: flex;\n align-items: center;\n justify-content: space-around;\n flex-wrap: wrap;\n }\n\n .card-legend * {\n text-align: center;\n }\n \n .card-legend svg {\n width: calc(var(--legend-suit-size) * var(--card-size));\n height: calc(var(--legend-suit-size) * var(--card-size));\n }\n\n .card-legend span {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-basis: 50%;\n }\n\n .top-left {\n top: 0;\n left: 0;\n }\n\n .bottom-left {\n bottom: 0;\n left: 0;\n transform: rotate(180deg);\n }\n\n .top-right {\n top: 0;\n right: 0;\n }\n\n .bottom-right {\n bottom: 0;\n right: 0;\n transform: rotate(180deg);\n }\n\n :host([rank="2"]) .card-legend *,\n :host([rank="3"]) .card-legend *\n {\n flex: 1 1 100%;\n text-align: center;\n }\n\n :host([rank="5"]) .card-legend *:nth-child(3),\n :host([rank="7"]) .card-legend *:nth-child(3),\n :host([rank="9"]) .card-legend *:nth-child(3),\n :host([rank="10"]) .card-legend *:nth-child(3),\n :host([rank="10"]) .card-legend *:nth-child(8)\n {\n flex-basis: 100%;\n height: calc(var(--legend-suit-size) * var(--card-size) / 2);\n margin-top: calc(var(--legend-suit-size) * var(--card-size) / 2 * -1);\n }\n\n :host([rank="J"]) .card-legend p,\n :host([rank="Q"]) .card-legend p,\n :host([rank="K"]) .card-legend p {\n font-size: calc(var(--card-font-size) * var(--card-size) * 2.5);\n margin: 0;\n }\n\n :host([rank="A"]) .card-legend svg {\n width: calc(var(--legend-suit-size) * var(--card-size) * 2);\n }\n\n :host([suit="D"]) .card-legend,\n :host([suit="H"]) .card-legend,\n :host([suit="D"]) .corner-marker,\n :host([suit="H"]) .corner-marker {\n color: var(--red-color);\n fill: var(--red-color);\n }\n\n :host([suit="C"]) .card-legend,\n :host([suit="S"]) .card-legend,\n :host([suit="C"]) .corner-marker,\n :host([suit="S"]) .corner-marker {\n color: var(--black-color);\n fill: var(--black-color);\n }\n\n :host([suit="D"]) path {\n d: path("M 255.00,43.00 C 261.63,46.15 262.47,49.61 267.01,54.72 267.01,54.72 288.80,80.00 288.80,80.00 288.80,80.00 294.12,86.72 294.12,86.72 294.12,86.72 339.28,139.83 339.28,139.83 339.28,139.83 353.54,156.09 353.54,156.09 353.54,156.09 379.83,187.00 379.83,187.00 379.83,187.00 395.33,205.72 395.33,205.72 395.33,205.72 427.34,243.04 427.34,243.04 429.65,245.84 437.42,253.71 436.68,257.00 436.09,259.62 425.47,271.28 423.05,274.00 423.05,274.00 389.31,313.00 389.31,313.00 389.31,313.00 311.85,405.00 311.85,405.00 311.85,405.00 270.19,454.00 270.19,454.00 270.19,454.00 257.00,470.00 257.00,470.00 257.00,470.00 255.00,470.00 255.00,470.00 252.57,465.66 243.85,456.30 240.17,452.00 240.17,452.00 211.26,418.00 211.26,418.00 211.26,418.00 166.20,365.00 166.20,365.00 166.20,365.00 122.95,314.00 122.95,314.00 122.95,314.00 87.72,272.28 87.72,272.28 87.72,272.28 78.43,261.28 78.43,261.28 77.22,259.81 75.19,258.01 75.19,255.96 75.19,252.89 84.70,242.85 87.08,240.00 87.08,240.00 122.72,199.00 122.72,199.00 122.72,199.00 158.42,156.00 158.42,156.00 158.42,156.00 209.42,96.00 209.42,96.00 209.42,96.00 255.00,43.00 255.00,43.00 Z");\n color: var(--red-color);\n }\n\n :host([suit="H"]) path {\n d: path("M 94.00,279.00 C 87.77,275.57 82.62,265.34 78.37,259.28 78.37,259.28 67.10,240.00 67.10,240.00 67.10,240.00 63.29,234.00 63.29,234.00 58.85,225.29 55.51,216.19 52.36,207.00 49.74,199.35 46.10,189.04 46.00,181.00 46.00,181.00 46.00,146.00 46.00,146.00 46.02,135.32 47.29,136.21 49.78,127.00 54.52,109.46 58.00,105.50 68.63,91.00 71.01,87.75 73.35,83.91 76.10,81.04 79.57,77.44 83.99,75.05 88.00,72.12 97.50,65.17 102.74,60.78 114.00,56.47 114.00,56.47 122.00,54.23 122.00,54.23 122.00,54.23 130.00,51.53 130.00,51.53 137.03,49.93 152.39,49.91 160.00,50.00 187.20,50.32 218.04,66.41 234.71,87.54 234.71,87.54 238.88,92.11 238.88,92.11 243.88,98.65 251.55,110.80 252.00,119.00 252.00,119.00 262.18,99.00 262.18,99.00 272.01,83.83 288.35,68.10 305.00,60.64 305.00,60.64 313.00,58.03 313.00,58.03 319.30,55.55 321.63,53.66 329.00,51.90 337.73,49.81 349.94,49.96 359.00,50.00 369.30,50.05 380.39,51.97 390.00,55.68 390.00,55.68 396.00,58.63 396.00,58.63 411.80,65.46 420.72,71.94 432.36,84.54 436.15,88.63 439.78,92.44 442.88,97.17 442.88,97.17 445.81,102.83 445.81,102.83 448.99,108.47 452.20,113.88 454.50,120.00 461.60,138.89 460.23,159.18 460.00,179.00 459.93,184.34 457.59,197.00 455.90,202.00 455.90,202.00 452.42,210.00 452.42,210.00 452.42,210.00 450.91,216.00 450.91,216.00 450.91,216.00 446.34,227.00 446.34,227.00 446.34,227.00 437.52,242.00 437.52,242.00 437.52,242.00 434.46,249.00 434.46,249.00 425.28,266.73 412.11,280.47 400.01,296.00 400.01,296.00 389.56,310.00 389.56,310.00 371.27,331.72 332.37,369.96 310.00,386.90 310.00,386.90 269.00,421.47 269.00,421.47 265.49,424.12 257.20,431.65 253.09,431.73 250.50,431.78 247.99,429.62 245.98,428.16 245.98,428.16 230.26,415.67 230.26,415.67 230.26,415.67 208.32,398.17 208.32,398.17 208.32,398.17 186.26,378.70 186.26,378.70 186.26,378.70 182.05,375.65 182.05,375.65 182.05,375.65 170.49,364.19 170.49,364.19 170.49,364.19 164.28,358.81 164.28,358.81 164.28,358.81 148.37,343.49 148.37,343.49 148.37,343.49 118.32,311.72 118.32,311.72 118.32,311.72 113.70,305.73 113.70,305.73 113.70,305.73 99.41,288.47 99.41,288.47 96.29,284.59 94.55,284.54 94.00,279.00 Z");\n color: var(--red-color);\n }\n\n :host([suit="C"]) path {\n d: path("M 192.00,197.00 C 187.58,189.42 185.23,188.95 179.48,178.00 174.31,168.14 172.07,157.90 170.58,147.00 169.16,136.63 170.92,122.99 174.02,113.00 176.94,103.63 183.94,90.43 190.30,83.00 218.47,50.09 269.15,42.97 305.00,67.77 318.81,77.33 328.30,89.70 334.85,105.00 338.85,114.34 341.90,126.81 341.62,137.00 341.62,137.00 341.62,144.00 341.62,144.00 341.43,153.97 336.78,170.20 332.11,179.00 327.59,187.52 324.04,190.73 319.00,198.00 328.05,194.98 335.18,192.12 345.00,192.00 362.53,191.80 372.65,191.93 389.00,199.78 397.17,203.71 407.66,210.48 413.79,217.09 446.69,252.55 445.77,307.74 410.00,340.91 401.50,348.79 394.64,352.69 384.00,356.81 372.51,361.26 365.37,362.91 353.00,363.00 340.11,363.09 326.73,360.63 315.00,355.09 315.00,355.09 307.00,350.45 307.00,350.45 290.37,341.16 282.05,327.88 273.00,312.00 273.74,320.80 279.37,338.19 282.33,347.00 290.91,372.50 302.49,397.36 315.31,421.00 315.31,421.00 331.00,448.00 331.00,448.00 331.00,448.00 181.00,448.00 181.00,448.00 181.00,448.00 195.74,423.00 195.74,423.00 195.74,423.00 215.69,383.00 215.69,383.00 215.69,383.00 226.42,356.00 226.42,356.00 226.42,356.00 235.19,329.00 235.19,329.00 236.96,323.34 239.21,317.98 238.00,312.00 235.61,320.38 230.84,326.50 225.27,333.00 206.53,354.86 184.27,363.33 156.00,363.00 145.30,362.87 134.74,359.88 125.00,355.70 93.53,342.18 73.24,309.15 74.01,275.00 74.32,261.63 78.52,246.43 85.40,235.00 95.14,218.81 99.83,213.70 116.00,203.81 134.16,192.71 146.32,191.76 167.00,192.00 176.67,192.12 182.94,195.17 192.00,197.00 Z M 193.00,197.00 C 193.00,197.00 192.00,197.00 192.00,197.00 192.00,197.00 193.00,198.00 193.00,198.00 193.00,198.00 193.00,197.00 193.00,197.00 Z M 241.00,307.00 C 241.00,307.00 240.00,307.00 240.00,307.00 240.00,307.00 241.00,308.00 241.00,308.00 241.00,308.00 241.00,307.00 241.00,307.00 Z");\n }\n\n :host([suit="S"]) path {\n d: path("M 235.00,330.00C 218.14,342.34 209.73,348.30 189.00,352.45 183.55,353.54 174.45,354.83 169.00,354.49 153.11,353.48 140.48,351.42 126.00,344.17 96.63,329.47 77.18,299.49 74.91,267.00 74.52,261.43 73.57,259.23 74.17,253.00 75.00,244.36 77.22,231.99 80.45,224.00 90.96,198.07 109.75,181.25 129.00,162.00 129.00,162.00 185.00,106.00 185.00,106.00 185.00,106.00 238.00,53.00 238.00,53.00 238.00,53.00 250.00,41.06 250.00,41.06 251.84,39.39 254.01,37.17 256.72,38.15 259.74,39.26 268.24,48.91 271.09,51.58 271.09,51.58 309.28,89.83 309.28,89.83 309.28,89.83 354.91,135.09 354.91,135.09 354.91,135.09 390.17,170.72 390.17,170.72 412.97,192.96 431.39,209.92 436.27,243.00 436.94,247.51 438.16,252.49 437.91,257.00 437.02,272.75 434.90,287.66 427.73,302.00 418.71,320.04 403.31,335.98 385.00,344.68 379.04,347.51 375.96,348.16 370.00,350.09 358.91,353.67 358.30,353.36 347.00,354.29 347.00,354.29 340.00,354.29 340.00,354.29 326.75,353.65 314.17,351.81 302.00,346.11 290.94,340.93 286.44,336.71 277.00,330.00 284.44,352.90 292.15,375.37 302.97,397.00 302.97,397.00 316.43,423.00 316.43,423.00 316.43,423.00 331.00,448.00 331.00,448.00 331.00,448.00 181.00,448.00 181.00,448.00 181.00,448.00 194.69,425.00 194.69,425.00 194.69,425.00 215.22,384.00 215.22,384.00 215.22,384.00 229.25,349.00 229.25,349.00 229.25,349.00 235.00,330.00 235.00,330.00 Z");\n }\n \n</style>\n '}}function eM(e,t,n,c,r,a,i){try{var s=e[a](i),o=s.value}catch(l){return void n(l)}s.done?t(o):Promise.resolve(o).then(c,r)}customElements.get("playing-card")||customElements.define("playing-card",O3);var d2=function(e){return e[e.King=13]="King",e[e.Queen=12]="Queen",e[e.Jack=11]="Jack",e[e.Ten=10]="Ten",e[e.Nine=9]="Nine",e[e.Eight=8]="Eight",e[e.Seven=7]="Seven",e[e.Six=6]="Six",e[e.Five=5]="Five",e[e.Four=4]="Four",e[e.Three=3]="Three",e[e.Two=2]="Two",e[e.Ace=1]="Ace",e}(d2||{});class tM{constructor(){this.draw=[],this.headerColumnCards=[[],[],[],[],[],[],[],[]],this.columnCards=[[],[],[],[],[],[],[],[]]}}var J2=function(e){return e[e.Spade=0]="Spade",e[e.Club=1]="Club",e[e.Heart=2]="Heart",e[e.Diamond=3]="Diamond",e}(J2||{});class P62{constructor(){this.suit=J2.Club,this.rank=d2.Ace,this.flipped=!1}}let nM=(()=>{class e{constructor(){}get52Cards(){const n=[];for(const c in J2)if(isNaN(Number(c)))for(const r in d2)if(isNaN(Number(r))){const a=new P62;a.suit=J2[c],a.rank=d2[r],n.push(a)}return n}shuffleCards(n){let c=this.createGroupsOfCards(n),r=c.length,a=0;for(;r>0;)a=Math.floor(Math.random()*r),r--,[c[r],c[a]]=[c[a],c[r]];return c.flat()}createGroupsOfCards(n){const c=[];let r=[],a=Math.floor(4*Math.random())+2;for(let i=0;i<n.length;i++)r.push(n[i]),r.length===a&&(c.push([...r]),r=[],a=Math.floor(4*Math.random())+2);return r.length>0&&c.push([...r]),c}getRankText(n){switch(n){case d2.Ace:return"A";case d2.Two:return"2";case d2.Three:return"3";case d2.Four:return"4";case d2.Five:return"5";case d2.Six:return"6";case d2.Seven:return"7";case d2.Eight:return"8";case d2.Nine:return"9";case d2.Ten:return"10";case d2.Jack:return"V";case d2.Queen:return"D";case d2.King:return"R";default:return""}}getSuitText(n){switch(n){case J2.Club:return"club";case J2.Diamond:return"diamond";case J2.Heart:return"heart";case J2.Spade:return"spade";default:return""}}getSuitColor(n){switch(n){case J2.Club:return"black";case J2.Diamond:case J2.Heart:return"red";case J2.Spade:return"black";default:return""}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),F62=(()=>{class e{constructor(){this.stateKey="states",this.history=[]}save(n){const c=JSON.stringify(n);this.history.push(JSON.parse(c)),localStorage.setItem(this.stateKey,JSON.stringify(this.history))}restore(){const n=localStorage.getItem(this.stateKey);if(n)return this.history=JSON.parse(n),this.history[this.history.length-1]}clear(){this.history=[],localStorage.removeItem(this.stateKey)}undo(){if(this.history.pop(),localStorage.setItem(this.stateKey,JSON.stringify(this.history)),this.history.length>0)return this.history[this.history.length-1]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),cM=(()=>{class e{constructor(n,c){this.cardService=n,this.historyService=c,this.state=new tM;const r=this.historyService.restore();r?this.state=r:this.startGame()}startGame(){this.historyService.clear(),this.state.columnCards.flat().length>0||this.state.headerColumnCards.flat().length>0?(this.state.draw.push(...this.state.headerColumnCards.flat(),...this.state.columnCards.flat()),this.state.columnCards=[[],[],[],[],[],[],[],[]],this.state.headerColumnCards=[[],[],[],[],[],[],[],[]]):(this.state=new tM,this.createCards()),this.selectedCard=void 0,this.shuffleCards(),this.shuffleCards(),this.dealCards()}sleep(){return new Promise(n=>setTimeout(n,200))}dealCards(){var n=this;return function I62(e){return function(){var t=this,n=arguments;return new Promise(function(c,r){var a=e.apply(t,n);function i(o){eM(a,c,r,i,s,"next",o)}function s(o){eM(a,c,r,i,s,"throw",o)}i(void 0)})}}(function*(){n.selectedCard=void 0;for(let c=0;c<8;c++){const r=n.state.draw.pop();if(void 0===r)break;r.flipped=!1,yield n.sleep(),n.state.columnCards[c].push(r)}n.historyService.save(n.state)})()}createCards(){this.state.draw.push(...this.cardService.get52Cards(),...this.cardService.get52Cards())}shuffleCards(){this.state.draw=this.cardService.shuffleCards(this.state.draw).map(n=>(n.flipped=!0,n))}selectOrDeselectCard(n){if(this.selectedCard&&this.selectedCard===n)return this.selectedCard=void 0,!0;if(void 0===this.selectedCard&&void 0!==n){for(const c of this.state.columnCards){const r=c.indexOf(n);if(-1!==r)return r===c.length-1?(this.selectedCard=n,!0):(c.slice(r).every((i,s)=>{const o=c[r+s+1];return void 0===o||this.checkColumnRule(i,o)})&&(this.selectedCard=n),!0)}for(const c of this.state.headerColumnCards)if(c[c.length-1]===n)return this.selectedCard=n,!0}return!1}checkColumnRule(n,c){return!(this.cardService.getSuitColor(n.suit)===this.cardService.getSuitColor(c.suit)||n.rank-1!==c.rank)}moveSelectedCardToColumn(n){if(void 0===this.selectedCard)return;if(this.state.columnCards[n].length>0){const r=this.state.columnCards[n][this.state.columnCards[n].length-1];if(this.cardService.getSuitColor(r.suit)===this.cardService.getSuitColor(this.selectedCard.suit)||r.rank-1!==this.selectedCard.rank)return}else if(this.selectedCard.rank!==d2.King)return;let c=[];for(const r of this.state.columnCards){const a=r.indexOf(this.selectedCard);if(a>-1){c.push(...r.splice(a,r.length));break}}if(0===c.length)for(const r of this.state.headerColumnCards)if(r[r.length-1]===this.selectedCard){c.push(...r.splice(r.length-1,r.length));break}this.state.columnCards[n].push(...c),this.selectedCard=void 0,this.historyService.save(this.state)}moveSelectedCardToHeaderColumn(n){if(void 0===this.selectedCard)return;let c,r;for(let a=0;a<this.state.columnCards.length;a++){const i=this.state.columnCards[a];if(i[i.length-1]===this.selectedCard){c=a;break}}this.state.headerColumnCards[n].length>0&&(r=this.state.headerColumnCards[n][this.state.headerColumnCards[n].length-1]),this.checkHeaderColumnRule(r,this.selectedCard)&&(this.state.headerColumnCards[n].push(this.state.columnCards[c].pop()),this.selectedCard=void 0,this.historyService.save(this.state))}checkHeaderColumnRule(n,c){return void 0===n&&c.rank===d2.Ace||void 0!==n&&n.suit===c.suit&&n.rank===c.rank-1}undo(){const n=this.historyService.undo();n&&(console.log(n),this.state=n)}}return e.\u0275fac=function(n){return new(n||e)(T(nM),T(F62))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function rM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,c)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rM(Object(n),!0).forEach(function(c){M2(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rM(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function M8(e){return(M8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function aM(e,t){for(var n=0;n<t.length;n++){var c=t[n];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function M2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K5(e,t){return function j62(e){if(Array.isArray(e))return e}(e)||function G62(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,s,c=[],r=!0,a=!1;try{for(n=n.call(e);!(r=(i=n.next()).done)&&(c.push(i.value),!t||c.length!==t);r=!0);}catch(o){a=!0,s=o}finally{try{!r&&null!=n.return&&n.return()}finally{if(a)throw s}}return c}}(e,t)||iM(e,t)||function W62(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ye(e){return function U62(e){if(Array.isArray(e))return X5(e)}(e)||function $62(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||iM(e)||function q62(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iM(e,t){if(e){if("string"==typeof e)return X5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X5(e,t)}}function X5(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var sM=function(){},J5={},oM={},lM=null,fM={mark:sM,measure:sM};try{typeof window<"u"&&(J5=window),typeof document<"u"&&(oM=document),typeof MutationObserver<"u"&&(lM=MutationObserver),typeof performance<"u"&&(fM=performance)}catch{}var z8,V8,y8,L8,w8,uM=(J5.navigator||{}).userAgent,dM=void 0===uM?"":uM,u3=J5,X=oM,hM=lM,H8=fM,Q1=!!X.documentElement&&!!X.head&&"function"==typeof X.addEventListener&&"function"==typeof X.createElement,pM=~dM.indexOf("MSIE")||~dM.indexOf("Trident/"),Z1="___FONT_AWESOME___",mM="fa",vM="svg-inline--fa",B3="data-fa-i2svg",tr="data-fa-pseudo-element",Q62="data-fa-pseudo-element-pending",nr="data-prefix",cr="data-icon",gM="fontawesome-i2svg",Z62="async",K62=["HTML","HEAD","STYLE","SCRIPT"],MM=function(){try{return!0}catch{return!1}}(),J="classic",a2="sharp",rr=[J,a2];function Qe(e){return new Proxy(e,{get:function(n,c){return c in n?n[c]:n[J]}})}var Ze=Qe((M2(z8={},J,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),M2(z8,a2,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),z8)),Ke=Qe((M2(V8={},J,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),M2(V8,a2,{solid:"fass",regular:"fasr",light:"fasl"}),V8)),Xe=Qe((M2(y8={},J,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),M2(y8,a2,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),y8)),X62=Qe((M2(L8={},J,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),M2(L8,a2,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),L8)),J62=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,CM="fa-layers-text",e02=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,t02=Qe((M2(w8={},J,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),M2(w8,a2,{900:"fass",400:"fasr",300:"fasl"}),w8)),HM=[1,2,3,4,5,6,7,8,9,10],n02=HM.concat([11,12,13,14,15,16,17,18,19,20]),c02=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],U3={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Je=new Set;Object.keys(Ke[J]).map(Je.add.bind(Je)),Object.keys(Ke[a2]).map(Je.add.bind(Je));var r02=[].concat(rr,Ye(Je),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",U3.GROUP,U3.SWAP_OPACITY,U3.PRIMARY,U3.SECONDARY]).concat(HM.map(function(e){return"".concat(e,"x")})).concat(n02.map(function(e){return"w-".concat(e)})),e6=u3.FontAwesomeConfig||{};X&&"function"==typeof X.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t=K5(e,2),c=t[1],r=function i02(e){return""===e||"false"!==e&&("true"===e||e)}(function a02(e){var t=X.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t[0]));null!=r&&(e6[c]=r)});var zM={styleDefault:"solid",familyDefault:"classic",cssPrefix:mM,replacementClass:vM,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};e6.familyPrefix&&(e6.cssPrefix=e6.familyPrefix);var F4=y(y({},zM),e6);F4.autoReplaceSvg||(F4.observeMutations=!1);var L={};Object.keys(zM).forEach(function(e){Object.defineProperty(L,e,{enumerable:!0,set:function(n){F4[e]=n,t6.forEach(function(c){return c(L)})},get:function(){return F4[e]}})}),Object.defineProperty(L,"familyPrefix",{enumerable:!0,set:function(t){F4.cssPrefix=t,t6.forEach(function(n){return n(L)})},get:function(){return F4.cssPrefix}}),u3.FontAwesomeConfig=L;var t6=[],A1={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},f02="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function n6(){for(var e=12,t="";e-- >0;)t+=f02[62*Math.random()|0];return t}function R4(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ar(e){return e.classList?R4(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function VM(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function b8(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function ir(e){return e.size!==A1.size||e.x!==A1.x||e.y!==A1.y||e.rotate!==A1.rotate||e.flipX||e.flipY}var p02=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function yM(){var e=mM,t=vM,n=L.cssPrefix,c=L.replacementClass,r=p02;if(n!==e||c!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");r=r.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(c))}return r}var LM=!1;function sr(){L.autoAddCss&&!LM&&(function l02(e){if(e&&Q1){var t=X.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=X.head.childNodes,c=null,r=n.length-1;r>-1;r--){var a=n[r],i=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(c=a)}X.head.insertBefore(t,c)}}(yM()),LM=!0)}var m02={mixout:function(){return{dom:{css:yM,insertCss:sr}}},hooks:function(){return{beforeDOMElementCreation:function(){sr()},beforeI2svg:function(){sr()}}}},K1=u3||{};K1[Z1]||(K1[Z1]={}),K1[Z1].styles||(K1[Z1].styles={}),K1[Z1].hooks||(K1[Z1].hooks={}),K1[Z1].shims||(K1[Z1].shims=[]);var g1=K1[Z1],wM=[],D8=!1;function c6(e){var t=e.tag,n=e.attributes,c=void 0===n?{}:n,r=e.children,a=void 0===r?[]:r;return"string"==typeof e?VM(e):"<".concat(t," ").concat(function u02(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(VM(e[n]),'" ')},"").trim()}(c),">").concat(a.map(c6).join(""),"</").concat(t,">")}function bM(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Q1&&((D8=(X.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(X.readyState))||X.addEventListener("DOMContentLoaded",function e(){X.removeEventListener("DOMContentLoaded",e),D8=1,wM.map(function(t){return t()})}));var or=function(t,n,c,r){var o,l,f,a=Object.keys(t),i=a.length,s=void 0!==r?function(t,n){return function(c,r,a,i){return t.call(n,c,r,a,i)}}(n,r):n;for(void 0===c?(o=1,f=t[a[0]]):(o=0,f=c);o<i;o++)f=s(f,t[l=a[o]],l,t);return f};function lr(e){var t=function C02(e){for(var t=[],n=0,c=e.length;n<c;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<c){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&r)<<10)+(1023&a)+65536):(t.push(r),n--)}else t.push(r)}return t}(e);return 1===t.length?t[0].toString(16):null}function DM(e){return Object.keys(e).reduce(function(t,n){var c=e[n];return c.icon?t[c.iconName]=c.icon:t[n]=c,t},{})}function fr(e,t){var c=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==c&&c,a=DM(t);"function"!=typeof g1.hooks.addPack||r?g1.styles[e]=y(y({},g1.styles[e]||{}),a):g1.hooks.addPack(e,DM(t)),"fas"===e&&fr("fa",t)}var x8,S8,N8,O4=g1.styles,z02=g1.shims,V02=(M2(x8={},J,Object.values(Xe[J])),M2(x8,a2,Object.values(Xe[a2])),x8),ur=null,xM={},SM={},NM={},EM={},AM={},y02=(M2(S8={},J,Object.keys(Ze[J])),M2(S8,a2,Object.keys(Ze[a2])),S8);var _M=function(){var t=function(a){return or(O4,function(i,s,o){return i[o]=or(s,a,{}),i},{})};xM=t(function(r,a,i){return a[3]&&(r[a[3]]=i),a[2]&&a[2].filter(function(o){return"number"==typeof o}).forEach(function(o){r[o.toString(16)]=i}),r}),SM=t(function(r,a,i){return r[i]=i,a[2]&&a[2].filter(function(o){return"string"==typeof o}).forEach(function(o){r[o]=i}),r}),AM=t(function(r,a,i){var s=a[2];return r[i]=i,s.forEach(function(o){r[o]=i}),r});var n="far"in O4||L.autoFetchSvg,c=or(z02,function(r,a){var i=a[0],s=a[1],o=a[2];return"far"===s&&!n&&(s="fas"),"string"==typeof i&&(r.names[i]={prefix:s,iconName:o}),"number"==typeof i&&(r.unicodes[i.toString(16)]={prefix:s,iconName:o}),r},{names:{},unicodes:{}});NM=c.names,EM=c.unicodes,ur=E8(L.styleDefault,{family:L.familyDefault})};function dr(e,t){return(xM[e]||{})[t]}function j3(e,t){return(AM[e]||{})[t]}function kM(e){return NM[e]||{prefix:null,iconName:null}}function h3(){return ur}(function o02(e){t6.push(e)})(function(e){ur=E8(e.styleDefault,{family:L.familyDefault})}),_M();var hr=function(){return{prefix:null,iconName:null,rest:[]}};function E8(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,c=void 0===n?J:n;return Ke[c][e]||Ke[c][Ze[c][e]]||(e in g1.styles?e:null)||null}var TM=(M2(N8={},J,Object.keys(Xe[J])),M2(N8,a2,Object.keys(Xe[a2])),N8);function A8(e){var t,c=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==c&&c,a=(M2(t={},J,"".concat(L.cssPrefix,"-").concat(J)),M2(t,a2,"".concat(L.cssPrefix,"-").concat(a2)),t),i=null,s=J;(e.includes(a[J])||e.some(function(l){return TM[J].includes(l)}))&&(s=J),(e.includes(a[a2])||e.some(function(l){return TM[a2].includes(l)}))&&(s=a2);var o=e.reduce(function(l,f){var u=function w02(e,t){var n=t.split("-"),c=n[0],r=n.slice(1).join("-");return c!==e||""===r||function L02(e){return~r02.indexOf(e)}(r)?null:r}(L.cssPrefix,f);if(O4[f]?(f=V02[s].includes(f)?X62[s][f]:f,i=f,l.prefix=f):y02[s].indexOf(f)>-1?(i=f,l.prefix=E8(f,{family:s})):u?l.iconName=u:f!==L.replacementClass&&f!==a[J]&&f!==a[a2]&&l.rest.push(f),!r&&l.prefix&&l.iconName){var d="fa"===i?kM(l.iconName):{},h=j3(l.prefix,l.iconName);d.prefix&&(i=null),l.iconName=d.iconName||h||l.iconName,l.prefix=d.prefix||l.prefix,"far"===l.prefix&&!O4.far&&O4.fas&&!L.autoFetchSvg&&(l.prefix="fas")}return l},hr());return(e.includes("fa-brands")||e.includes("fab"))&&(o.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(o.prefix="fad"),!o.prefix&&s===a2&&(O4.fass||L.autoFetchSvg)&&(o.prefix="fass",o.iconName=j3(o.prefix,o.iconName)||o.iconName),("fa"===o.prefix||"fa"===i)&&(o.prefix=h3()||"fas"),o}var x02=function(){function e(){(function R62(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.definitions={}}return function O62(e,t,n){t&&aM(e.prototype,t),n&&aM(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(e,[{key:"add",value:function(){for(var n=this,c=arguments.length,r=new Array(c),a=0;a<c;a++)r[a]=arguments[a];var i=r.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(s){n.definitions[s]=y(y({},n.definitions[s]||{}),i[s]),fr(s,i[s]);var o=Xe[J][s];o&&fr(o,i[s]),_M()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,c){var r=c.prefix&&c.iconName&&c.icon?{0:c}:c;return Object.keys(r).map(function(a){var i=r[a],s=i.prefix,o=i.iconName,l=i.icon,f=l[2];n[s]||(n[s]={}),f.length>0&&f.forEach(function(u){"string"==typeof u&&(n[s][u]=l)}),n[s][o]=l}),n}}]),e}(),IM=[],B4={},U4={},S02=Object.keys(U4);function pr(e,t){for(var n=arguments.length,c=new Array(n>2?n-2:0),r=2;r<n;r++)c[r-2]=arguments[r];return(B4[e]||[]).forEach(function(i){t=i.apply(null,[t].concat(c))}),t}function $3(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),c=1;c<t;c++)n[c-1]=arguments[c];(B4[e]||[]).forEach(function(a){a.apply(null,n)})}function X1(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return U4[e]?U4[e].apply(null,t):void 0}function mr(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||h3();if(t)return t=j3(n,t)||t,bM(PM.definitions,n,t)||bM(g1.styles,n,t)}var PM=new x02,A02={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Q1?($3("beforeI2svg",t),X1("pseudoElements2svg",t),X1("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===L.autoReplaceSvg&&(L.autoReplaceSvg=!0),L.observeMutations=!0,function g02(e){Q1&&(D8?setTimeout(e,0):wM.push(e))}(function(){k02({autoReplaceSvgRoot:n}),$3("watch",t)})}},e1={noAuto:function(){L.autoReplaceSvg=!1,L.observeMutations=!1,$3("noAuto")},config:L,dom:A02,parse:{icon:function(t){if(null===t)return null;if("object"===M8(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:j3(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var n=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],c=E8(t[0]);return{prefix:c,iconName:j3(c,n)||n}}if("string"==typeof t&&(t.indexOf("".concat(L.cssPrefix,"-"))>-1||t.match(J62))){var r=A8(t.split(" "),{skipLookups:!0});return{prefix:r.prefix||h3(),iconName:j3(r.prefix,r.iconName)||r.iconName}}if("string"==typeof t){var a=h3();return{prefix:a,iconName:j3(a,t)||t}}}},library:PM,findIconDefinition:mr,toHtml:c6},k02=function(){var n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,c=void 0===n?X:n;(Object.keys(g1.styles).length>0||L.autoFetchSvg)&&Q1&&L.autoReplaceSvg&&e1.dom.i2svg({node:c})};function _8(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(c){return c6(c)})}}),Object.defineProperty(e,"node",{get:function(){if(Q1){var c=X.createElement("div");return c.innerHTML=e.html,c.children}}}),e}function vr(e){var t=e.icons,n=t.main,c=t.mask,r=e.prefix,a=e.iconName,i=e.transform,s=e.symbol,o=e.title,l=e.maskId,f=e.titleId,u=e.extra,d=e.watchable,h=void 0!==d&&d,p=c.found?c:n,v=p.width,g=p.height,C="fak"===r,m=[L.replacementClass,a?"".concat(L.cssPrefix,"-").concat(a):""].filter(function(_1){return-1===u.classes.indexOf(_1)}).filter(function(_1){return""!==_1||!!_1}).concat(u.classes).join(" "),z={children:[],attributes:y(y({},u.attributes),{},{"data-prefix":r,"data-icon":a,class:m,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(g)})},w=C&&!~u.classes.indexOf("fa-fw")?{width:"".concat(v/g*16*.0625,"em")}:{};h&&(z.attributes[B3]=""),o&&(z.children.push({tag:"title",attributes:{id:z.attributes["aria-labelledby"]||"title-".concat(f||n6())},children:[o]}),delete z.attributes.title);var b=y(y({},z),{},{prefix:r,iconName:a,main:n,mask:c,maskId:l,transform:i,symbol:s,styles:y(y({},w),u.styles)}),t2=c.found&&n.found?X1("generateAbstractMask",b)||{children:[],attributes:{}}:X1("generateAbstractIcon",b)||{children:[],attributes:{}},a6=t2.attributes;return b.children=t2.children,b.attributes=a6,s?function I02(e){var n=e.iconName,c=e.children,r=e.attributes,a=e.symbol,i=!0===a?"".concat(e.prefix,"-").concat(L.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:y(y({},r),{},{id:i}),children:c}]}]}(b):function T02(e){var t=e.children,n=e.main,c=e.mask,r=e.attributes,a=e.styles,i=e.transform;if(ir(i)&&n.found&&!c.found){var l={x:n.width/n.height/2,y:.5};r.style=b8(y(y({},a),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}(b)}function FM(e){var t=e.content,n=e.width,c=e.height,r=e.transform,a=e.title,i=e.extra,s=e.watchable,o=void 0!==s&&s,l=y(y(y({},i.attributes),a?{title:a}:{}),{},{class:i.classes.join(" ")});o&&(l[B3]="");var f=y({},i.styles);ir(r)&&(f.transform=function h02(e){var t=e.transform,n=e.width,r=e.height,a=void 0===r?16:r,i=e.startCentered,s=void 0!==i&&i,o="";return o+=s&&pM?"translate(".concat(t.x/16-(void 0===n?16:n)/2,"em, ").concat(t.y/16-a/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/16,"em), calc(-50% + ").concat(t.y/16,"em)) "):"translate(".concat(t.x/16,"em, ").concat(t.y/16,"em) "),(o+="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:r,startCentered:!0,width:n,height:c}),f["-webkit-transform"]=f.transform);var u=b8(f);u.length>0&&(l.style=u);var d=[];return d.push({tag:"span",attributes:l,children:[t]}),a&&d.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),d}var gr=g1.styles;function Mr(e){var t=e[0],n=e[1],a=K5(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(a)?{tag:"g",attributes:{class:"".concat(L.cssPrefix,"-").concat(U3.GROUP)},children:[{tag:"path",attributes:{class:"".concat(L.cssPrefix,"-").concat(U3.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(L.cssPrefix,"-").concat(U3.PRIMARY),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}}}}var F02={found:!1,width:512,height:512};function Cr(e,t){var n=t;return"fa"===t&&null!==L.styleDefault&&(t=h3()),new Promise(function(c,r){if(X1("missingIconAbstract"),"fa"===n){var i=kM(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&gr[t]&&gr[t][e])return c(Mr(gr[t][e]));(function R02(e,t){!MM&&!L.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))})(e,t),c(y(y({},F02),{},{icon:L.showMissingIcons&&e&&X1("missingIconAbstract")||{}}))})}var RM=function(){},Hr=L.measurePerformance&&H8&&H8.mark&&H8.measure?H8:{mark:RM,measure:RM},r6='FA "6.4.2"',OM=function(t){Hr.mark("".concat(r6," ").concat(t," ends")),Hr.measure("".concat(r6," ").concat(t),"".concat(r6," ").concat(t," begins"),"".concat(r6," ").concat(t," ends"))},zr={begin:function(t){return Hr.mark("".concat(r6," ").concat(t," begins")),function(){return OM(t)}},end:OM},k8=function(){};function BM(e){return"string"==typeof(e.getAttribute?e.getAttribute(B3):null)}function $02(e){return X.createElementNS("http://www.w3.org/2000/svg",e)}function G02(e){return X.createElement(e)}function UM(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,c=void 0===n?"svg"===e.tag?$02:G02:n;if("string"==typeof e)return X.createTextNode(e);var r=c(e.tag);return Object.keys(e.attributes||[]).forEach(function(i){r.setAttribute(i,e.attributes[i])}),(e.children||[]).forEach(function(i){r.appendChild(UM(i,{ceFn:c}))}),r}var T8={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(r){n.parentNode.insertBefore(UM(r),n)}),null===n.getAttribute(B3)&&L.keepOriginalSource){var c=X.createComment(function q02(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(n));n.parentNode.replaceChild(c,n)}else n.remove()},nest:function(t){var n=t[0],c=t[1];if(~ar(n).indexOf(L.replacementClass))return T8.replace(t);var r=new RegExp("".concat(L.cssPrefix,"-.*"));if(delete c[0].attributes.id,c[0].attributes.class){var a=c[0].attributes.class.split(" ").reduce(function(s,o){return o===L.replacementClass||o.match(r)?s.toSvg.push(o):s.toNode.push(o),s},{toNode:[],toSvg:[]});c[0].attributes.class=a.toSvg.join(" "),0===a.toNode.length?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}var i=c.map(function(s){return c6(s)}).join("\n");n.setAttribute(B3,""),n.innerHTML=i}};function jM(e){e()}function $M(e,t){var n="function"==typeof t?t:k8;if(0===e.length)n();else{var c=jM;L.mutateApproach===Z62&&(c=u3.requestAnimationFrame||jM),c(function(){var r=function j02(){return!0===L.autoReplaceSvg?T8.replace:T8[L.autoReplaceSvg]||T8.replace}(),a=zr.begin("mutate");e.map(r),a(),n()})}}var Vr=!1;function GM(){Vr=!0}function yr(){Vr=!1}var I8=null;function qM(e){if(hM&&L.observeMutations){var t=e.treeCallback,n=void 0===t?k8:t,c=e.nodeCallback,r=void 0===c?k8:c,a=e.pseudoElementsCallback,i=void 0===a?k8:a,s=e.observeMutationsRoot,o=void 0===s?X:s;I8=new hM(function(l){if(!Vr){var f=h3();R4(l).forEach(function(u){if("childList"===u.type&&u.addedNodes.length>0&&!BM(u.addedNodes[0])&&(L.searchPseudoElements&&i(u.target),n(u.target)),"attributes"===u.type&&u.target.parentNode&&L.searchPseudoElements&&i(u.target.parentNode),"attributes"===u.type&&BM(u.target)&&~c02.indexOf(u.attributeName))if("class"===u.attributeName&&function B02(e){var t=e.getAttribute?e.getAttribute(nr):null,n=e.getAttribute?e.getAttribute(cr):null;return t&&n}(u.target)){var d=A8(ar(u.target)),p=d.iconName;u.target.setAttribute(nr,d.prefix||f),p&&u.target.setAttribute(cr,p)}else(function U02(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(L.replacementClass)})(u.target)&&r(u.target)})}}),Q1&&I8.observe(o,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function WM(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function Q02(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),c=void 0!==e.innerText?e.innerText.trim():"",r=A8(ar(e));return r.prefix||(r.prefix=h3()),t&&n&&(r.prefix=t,r.iconName=n),r.iconName&&r.prefix||(r.prefix&&c.length>0&&(r.iconName=function b02(e,t){return(SM[e]||{})[t]}(r.prefix,e.innerText)||dr(r.prefix,lr(e.innerText))),!r.iconName&&L.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=e.firstChild.data)),r}(e),c=n.iconName,r=n.prefix,a=n.rest,i=function Z02(e){var t=R4(e.attributes).reduce(function(r,a){return"class"!==r.name&&"style"!==r.name&&(r[a.name]=a.value),r},{}),n=e.getAttribute("title"),c=e.getAttribute("data-fa-title-id");return L.autoA11y&&(n?t["aria-labelledby"]="".concat(L.replacementClass,"-title-").concat(c||n6()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),s=pr("parseNodeAttributes",{},e),o=t.styleParser?function Y02(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(c,r){var a=r.split(":"),i=a[0],s=a.slice(1);return i&&s.length>0&&(c[i]=s.join(":").trim()),c},{})),n}(e):[];return y({iconName:c,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:A1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:o,attributes:i}},s)}var X02=g1.styles;function YM(e){var t="nest"===L.autoReplaceSvg?WM(e,{styleParser:!1}):WM(e);return~t.extra.classes.indexOf(CM)?X1("generateLayersText",e,t):X1("generateSvgReplacementMutation",e,t)}var p3=new Set;function QM(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Q1)return Promise.resolve();var n=X.documentElement.classList,c=function(u){return n.add("".concat(gM,"-").concat(u))},r=function(u){return n.remove("".concat(gM,"-").concat(u))},a=L.autoFetchSvg?p3:rr.map(function(f){return"fa-".concat(f)}).concat(Object.keys(X02));a.includes("fa")||a.push("fa");var i=[".".concat(CM,":not([").concat(B3,"])")].concat(a.map(function(f){return".".concat(f,":not([").concat(B3,"])")})).join(", ");if(0===i.length)return Promise.resolve();var s=[];try{s=R4(e.querySelectorAll(i))}catch{}if(!(s.length>0))return Promise.resolve();c("pending"),r("complete");var o=zr.begin("onTree"),l=s.reduce(function(f,u){try{var d=YM(u);d&&f.push(d)}catch(h){MM||"MissingIcon"===h.name&&console.error(h)}return f},[]);return new Promise(function(f,u){Promise.all(l).then(function(d){$M(d,function(){c("active"),c("complete"),r("pending"),"function"==typeof t&&t(),o(),f()})}).catch(function(d){o(),u(d)})})}function J02(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;YM(e).then(function(n){n&&$M([n],t)})}rr.map(function(e){p3.add("fa-".concat(e))}),Object.keys(Ze[J]).map(p3.add.bind(p3)),Object.keys(Ze[a2]).map(p3.add.bind(p3)),p3=Ye(p3);var t82=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=n.transform,r=void 0===c?A1:c,a=n.symbol,i=void 0!==a&&a,s=n.mask,o=void 0===s?null:s,l=n.maskId,f=void 0===l?null:l,u=n.title,d=void 0===u?null:u,h=n.titleId,p=void 0===h?null:h,v=n.classes,g=void 0===v?[]:v,C=n.attributes,m=void 0===C?{}:C,z=n.styles,w=void 0===z?{}:z;if(t){var b=t.prefix,t2=t.iconName,s1=t.icon;return _8(y({type:"icon"},t),function(){return $3("beforeDOMElementCreation",{iconDefinition:t,params:n}),L.autoA11y&&(d?m["aria-labelledby"]="".concat(L.replacementClass,"-title-").concat(p||n6()):(m["aria-hidden"]="true",m.focusable="false")),vr({icons:{main:Mr(s1),mask:o?Mr(o.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:t2,transform:y(y({},A1),r),symbol:i,title:d,maskId:f,titleId:p,extra:{attributes:m,styles:w,classes:g}})})}},n82={mixout:function(){return{icon:(e=t82,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=(t||{}).icon?t:mr(t||{}),r=n.mask;return r&&(r=(r||{}).icon?r:mr(r||{})),e(c,y(y({},n),{},{mask:r}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=QM,n.nodeCallback=J02,n}}},provides:function(t){t.i2svg=function(n){var c=n.node,a=n.callback;return QM(void 0===c?X:c,void 0===a?function(){}:a)},t.generateSvgReplacementMutation=function(n,c){var r=c.iconName,a=c.title,i=c.titleId,s=c.prefix,o=c.transform,l=c.symbol,f=c.mask,u=c.maskId,d=c.extra;return new Promise(function(h,p){Promise.all([Cr(r,s),f.iconName?Cr(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(v){var g=K5(v,2);h([n,vr({icons:{main:g[0],mask:g[1]},prefix:s,iconName:r,transform:o,symbol:l,maskId:u,title:a,titleId:i,extra:d,watchable:!0})])}).catch(p)})},t.generateAbstractIcon=function(n){var l,c=n.children,r=n.attributes,a=n.main,i=n.transform,o=b8(n.styles);return o.length>0&&(r.style=o),ir(i)&&(l=X1("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),c.push(l||a.icon),{children:c,attributes:r}}}},c82={mixout:function(){return{layer:function(n){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=c.classes,a=void 0===r?[]:r;return _8({type:"layer"},function(){$3("beforeDOMElementCreation",{assembler:n,params:c});var i=[];return n(function(s){Array.isArray(s)?s.map(function(o){i=i.concat(o.abstract)}):i=i.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(L.cssPrefix,"-layers")].concat(Ye(a)).join(" ")},children:i}]})}}}},r82={mixout:function(){return{counter:function(n){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=c.title,a=void 0===r?null:r,i=c.classes,s=void 0===i?[]:i,o=c.attributes,l=void 0===o?{}:o,f=c.styles,u=void 0===f?{}:f;return _8({type:"counter",content:n},function(){return $3("beforeDOMElementCreation",{content:n,params:c}),function P02(e){var t=e.content,n=e.title,c=e.extra,r=y(y(y({},c.attributes),n?{title:n}:{}),{},{class:c.classes.join(" ")}),a=b8(c.styles);a.length>0&&(r.style=a);var i=[];return i.push({tag:"span",attributes:r,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}({content:n.toString(),title:a,extra:{attributes:l,styles:u,classes:["".concat(L.cssPrefix,"-layers-counter")].concat(Ye(s))}})})}}}},a82={mixout:function(){return{text:function(n){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=c.transform,a=void 0===r?A1:r,i=c.title,s=void 0===i?null:i,o=c.classes,l=void 0===o?[]:o,f=c.attributes,u=void 0===f?{}:f,d=c.styles,h=void 0===d?{}:d;return _8({type:"text",content:n},function(){return $3("beforeDOMElementCreation",{content:n,params:c}),FM({content:n,transform:y(y({},A1),a),title:s,extra:{attributes:u,styles:h,classes:["".concat(L.cssPrefix,"-layers-text")].concat(Ye(l))}})})}}},provides:function(t){t.generateLayersText=function(n,c){var r=c.title,a=c.transform,i=c.extra,s=null,o=null;if(pM){var l=parseInt(getComputedStyle(n).fontSize,10),f=n.getBoundingClientRect();s=f.width/l,o=f.height/l}return L.autoA11y&&!r&&(i.attributes["aria-hidden"]="true"),Promise.resolve([n,FM({content:n.innerHTML,width:s,height:o,transform:a,title:r,extra:i,watchable:!0})])}}},i82=new RegExp('"',"ug"),ZM=[1105920,1112319];function KM(e,t){var n="".concat(Q62).concat(t.replace(":","-"));return new Promise(function(c,r){if(null!==e.getAttribute(n))return c();var i=R4(e.children).filter(function(s1){return s1.getAttribute(tr)===t})[0],s=u3.getComputedStyle(e,t),o=s.getPropertyValue("font-family").match(e02),l=s.getPropertyValue("font-weight"),f=s.getPropertyValue("content");if(i&&!o)return e.removeChild(i),c();if(o&&"none"!==f&&""!==f){var u=s.getPropertyValue("content"),d=~["Sharp"].indexOf(o[2])?a2:J,h=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(o[2])?Ke[d][o[2].toLowerCase()]:t02[d][l],p=function s82(e){var t=e.replace(i82,""),n=function H02(e,t){var r,n=e.length,c=e.charCodeAt(t);return c>=55296&&c<=56319&&n>t+1&&(r=e.charCodeAt(t+1))>=56320&&r<=57343?1024*(c-55296)+r-56320+65536:c}(t,0),c=n>=ZM[0]&&n<=ZM[1],r=2===t.length&&t[0]===t[1];return{value:lr(r?t[0]:t),isSecondary:c||r}}(u),v=p.value,g=p.isSecondary,C=o[0].startsWith("FontAwesome"),m=dr(h,v),z=m;if(C){var w=function D02(e){var t=EM[e],n=dr("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}(v);w.iconName&&w.prefix&&(m=w.iconName,h=w.prefix)}if(!m||g||i&&i.getAttribute(nr)===h&&i.getAttribute(cr)===z)c();else{e.setAttribute(n,z),i&&e.removeChild(i);var b=function K02(){return{iconName:null,title:null,titleId:null,prefix:null,transform:A1,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),t2=b.extra;t2.attributes[tr]=t,Cr(m,h).then(function(s1){var a6=vr(y(y({},b),{},{icons:{main:s1,mask:hr()},prefix:h,iconName:z,extra:t2,watchable:!0})),_1=X.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(_1,e.firstChild):e.appendChild(_1),_1.outerHTML=a6.map(function(j82){return c6(j82)}).join("\n"),e.removeAttribute(n),c()}).catch(r)}}else c()})}function o82(e){return Promise.all([KM(e,"::before"),KM(e,"::after")])}function l82(e){return!(e.parentNode===document.head||~K62.indexOf(e.tagName.toUpperCase())||e.getAttribute(tr)||e.parentNode&&"svg"===e.parentNode.tagName)}function XM(e){if(Q1)return new Promise(function(t,n){var c=R4(e.querySelectorAll("*")).filter(l82).map(o82),r=zr.begin("searchPseudoElements");GM(),Promise.all(c).then(function(){r(),yr(),t()}).catch(function(){r(),yr(),n()})})}var JM=!1,eC=function(t){return t.toLowerCase().split(" ").reduce(function(c,r){var a=r.toLowerCase().split("-"),i=a[0],s=a.slice(1).join("-");if(i&&"h"===s)return c.flipX=!0,c;if(i&&"v"===s)return c.flipY=!0,c;if(s=parseFloat(s),isNaN(s))return c;switch(i){case"grow":c.size=c.size+s;break;case"shrink":c.size=c.size-s;break;case"left":c.x=c.x-s;break;case"right":c.x=c.x+s;break;case"up":c.y=c.y-s;break;case"down":c.y=c.y+s;break;case"rotate":c.rotate=c.rotate+s}return c},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Lr={x:0,y:0,width:"100%",height:"100%"};function tC(e){return e.attributes&&(e.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(e.attributes.fill="black"),e}!function N02(e,t){var n=t.mixoutsTo;IM=e,B4={},Object.keys(U4).forEach(function(c){-1===S02.indexOf(c)&&delete U4[c]}),IM.forEach(function(c){var r=c.mixout?c.mixout():{};if(Object.keys(r).forEach(function(i){"function"==typeof r[i]&&(n[i]=r[i]),"object"===M8(r[i])&&Object.keys(r[i]).forEach(function(s){n[i]||(n[i]={}),n[i][s]=r[i][s]})}),c.hooks){var a=c.hooks();Object.keys(a).forEach(function(i){B4[i]||(B4[i]=[]),B4[i].push(a[i])})}c.provides&&c.provides(U4)})}([m02,n82,c82,r82,a82,{hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=XM,n}}},provides:function(t){t.pseudoElements2svg=function(n){var c=n.node;L.searchPseudoElements&&XM(void 0===c?X:c)}}},{mixout:function(){return{dom:{unwatch:function(){GM(),JM=!0}}}},hooks:function(){return{bootstrap:function(){qM(pr("mutationObserverCallbacks",{}))},noAuto:function(){!function W02(){I8&&I8.disconnect()}()},watch:function(n){var c=n.observeMutationsRoot;JM?yr():qM(pr("mutationObserverCallbacks",{observeMutationsRoot:c}))}}}},{mixout:function(){return{parse:{transform:function(n){return eC(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,c){var r=c.getAttribute("data-fa-transform");return r&&(n.transform=eC(r)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var c=n.main,r=n.transform,i=n.iconWidth,s={transform:"translate(".concat(n.containerWidth/2," 256)")},o="translate(".concat(32*r.x,", ").concat(32*r.y,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),f="rotate(".concat(r.rotate," 0 0)"),h={outer:s,inner:{transform:"".concat(o," ").concat(l," ").concat(f)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:y({},h.outer),children:[{tag:"g",attributes:y({},h.inner),children:[{tag:c.icon.tag,children:c.icon.children,attributes:y(y({},c.icon.attributes),h.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(n,c){var r=c.getAttribute("data-fa-mask"),a=r?A8(r.split(" ").map(function(i){return i.trim()})):hr();return a.prefix||(a.prefix=h3()),n.mask=a,n.maskId=c.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var e,c=n.children,r=n.attributes,a=n.main,i=n.mask,s=n.maskId,f=a.icon,d=i.icon,h=function d02(e){var t=e.transform,c=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(a," ").concat(i," ").concat(s)},path:{transform:"translate(".concat(c/2*-1," -256)")}}}({transform:n.transform,containerWidth:i.width,iconWidth:a.width}),p={tag:"rect",attributes:y(y({},Lr),{},{fill:"white"})},v=f.children?{children:f.children.map(tC)}:{},g={tag:"g",attributes:y({},h.inner),children:[tC(y({tag:f.tag,attributes:y(y({},f.attributes),h.path)},v))]},C={tag:"g",attributes:y({},h.outer),children:[g]},m="mask-".concat(s||n6()),z="clip-".concat(s||n6()),w={tag:"mask",attributes:y(y({},Lr),{},{id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,C]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:z},children:(e=d,"g"===e.tag?e.children:[e])},w]};return c.push(b,{tag:"rect",attributes:y({fill:"currentColor","clip-path":"url(#".concat(z,")"),mask:"url(#".concat(m,")")},Lr)}),{children:c,attributes:r}}}},{provides:function(t){var n=!1;u3.matchMedia&&(n=u3.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var c=[],r={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};c.push({tag:"path",attributes:y(y({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=y(y({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:y(y({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||s.children.push({tag:"animate",attributes:y(y({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:y(y({},i),{},{values:"1;0;1;1;0;1;"})}),c.push(s),c.push({tag:"path",attributes:y(y({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:y(y({},i),{},{values:"1;0;0;0;0;1;"})}]}),n||c.push({tag:"path",attributes:y(y({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:y(y({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:c}}}},{hooks:function(){return{parseNodeAttributes:function(n,c){var r=c.getAttribute("data-fa-symbol");return n.symbol=null!==r&&(""===r||r),n}}}}],{mixoutsTo:e1});var M82=e1.parse,C82=e1.icon;const H82=["*"],y82=e=>{const t={[`fa-${e.animation}`]:null!=e.animation&&!e.animation.startsWith("spin"),"fa-spin":"spin"===e.animation||"spin-reverse"===e.animation,"fa-spin-pulse":"spin-pulse"===e.animation||"spin-pulse-reverse"===e.animation,"fa-spin-reverse":"spin-reverse"===e.animation||"spin-pulse-reverse"===e.animation,"fa-pulse":"spin-pulse"===e.animation||"spin-pulse-reverse"===e.animation,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-inverse":e.inverse,"fa-layers-counter":e.counter,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip,[`fa-${e.size}`]:null!==e.size,[`fa-rotate-${e.rotate}`]:null!==e.rotate,[`fa-pull-${e.pull}`]:null!==e.pull,[`fa-stack-${e.stackItemSize}`]:null!=e.stackItemSize};return Object.keys(t).map(n=>t[n]?n:null).filter(n=>n)};let b82=(()=>{class e{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),D82=(()=>{class e{constructor(){this.definitions={}}addIcons(...n){for(const c of n){c.prefix in this.definitions||(this.definitions[c.prefix]={}),this.definitions[c.prefix][c.iconName]=c;for(const r of c.icon[2])"string"==typeof r&&(this.definitions[c.prefix][r]=c)}}addIconPacks(...n){for(const c of n){const r=Object.keys(c).map(a=>c[a]);this.addIcons(...r)}}getIconDefinition(n,c){return n in this.definitions&&c in this.definitions[n]?this.definitions[n][c]:null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),x82=(()=>{class e{constructor(){this.stackItemSize="1x"}ngOnChanges(n){if("size"in n)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=G2({type:e,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[L3]}),e})(),S82=(()=>{class e{constructor(n,c){this.renderer=n,this.elementRef=c}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(n){"size"in n&&(null!=n.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${n.size.currentValue}`),null!=n.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${n.size.previousValue}`))}}return e.\u0275fac=function(n){return new(n||e)(D(Hn),D(N3))},e.\u0275cmp=q3({type:e,selectors:[["fa-stack"]],inputs:{size:"size"},features:[L3],ngContentSelectors:H82,decls:1,vars:0,template:function(n,c){1&n&&(function Gs(e){const t=M()[o2][y2];if(!t.projection){const c=t.projection=ae(e?e.length:1,null),r=c.slice();let a=t.child;for(;null!==a;){const i=e?Rw(a,e):0;null!==i&&(r[i]?r[i].projectionNext=a:c[i]=a,r[i]=a),a=a.next}}}(),function qs(e,t=0,n){const c=M(),r=F(),a=H4(r,I+e,16,null,n||null);null===a.projection&&(a.projection=t),mt(),(!c[P1]||e4())&&32!=(32&a.flags)&&function jV(e,t,n){J7(t[A],0,t,n,Gt(e,n,t),W7(n.parent||t[y2],n,t))}(r,c,a)}(0))},encapsulation:2}),e})(),N82=(()=>{class e{set spin(n){this.animation=n?"spin":void 0}set pulse(n){this.animation=n?"spin-pulse":void 0}constructor(n,c,r,a,i){this.sanitizer=n,this.config=c,this.iconLibrary=r,this.stackItem=a,this.classes=[],null!=i&&null==a&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(n){if(null!=this.icon||null!=this.config.fallbackIcon){if(n){const r=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=r){const a=this.buildParams();this.renderIcon(r,a)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(n){const c=((e,t)=>(e=>void 0!==e.prefix&&void 0!==e.iconName)(e)?e:"string"==typeof e?{prefix:t,iconName:e}:{prefix:e[0],iconName:e[1]})(n,this.config.defaultPrefix);return"icon"in c?c:this.iconLibrary.getIconDefinition(c.prefix,c.iconName)??((e=>{throw new Error(`Could not find icon with iconName=${e.iconName} and prefix=${e.prefix} in the icon library.`)})(c),null)}buildParams(){const n={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},c="string"==typeof this.transform?M82.transform(this.transform):this.transform;return{title:this.title,transform:c,classes:[...y82(n),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(n,c){const r=C82(n,c);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(r.html.join("\n"))}}return e.\u0275fac=function(n){return new(n||e)(D(bf),D(b82),D(D82),D(x82,8),D(S82,8))},e.\u0275cmp=q3({type:e,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(n,c){2&n&&(Yn("innerHTML",c.renderedIconHTML,di),In("title",c.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},features:[L3],decls:0,vars:0,template:function(n,c){},encapsulation:2}),e})(),E82=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W3({type:e}),e.\u0275inj=H3({}),e})(),A82=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=q3({type:e,selectors:[["app-card-place"]],decls:1,vars:0,consts:[[1,"placeholder"]],template:function(n,c){1&n&&A2(0,"div",0)},styles:[".placeholder[_ngcontent-%COMP%]{border:var(--border-width) solid var(--fore-color);background-color:var(--fore-color);border-radius:var(--card-radius);width:calc(var(--card-width));height:calc(var(--card-height) - 2 * var(--border-width))}"]}),e})();const _82=function(e){return{selected:e}},nC=function(e){return{red:e}};function k82(e,t){if(1&e){const n=D0();D2(0,"div",2),s3("click",function(r){return N6(n),E6(we().select(r))}),D2(1,"div",3)(2,"div",4)(3,"div"),P3(4),E2(),D2(5,"div"),A2(6,"img",5),E2()(),D2(7,"div",6)(8,"div"),P3(9),E2(),D2(10,"div"),A2(11,"img",5),E2()(),A2(12,"div",7),E2()()}if(2&e){const n=we();H2(1),N2("ngClass",k0(7,_82,n.card===n.gameService.selectedCard)),H2(1),N2("ngClass",k0(9,nC,(null==n.card?null:n.card.suit)===n.cardSuit.Diamond||(null==n.card?null:n.card.suit)===n.cardSuit.Heart)),H2(2),E4(" ",n.cardService.getRankText(null==n.card?null:n.card.rank)," "),H2(2),be("src","/assets/",n.cardService.getSuitText(null==n.card?null:n.card.suit),".svg",r0),H2(1),N2("ngClass",k0(11,nC,(null==n.card?null:n.card.suit)===n.cardSuit.Diamond||(null==n.card?null:n.card.suit)===n.cardSuit.Heart)),H2(2),E4(" ",n.cardService.getRankText(null==n.card?null:n.card.rank)," "),H2(2),be("src","/assets/",n.cardService.getSuitText(null==n.card?null:n.card.suit),".svg",r0)}}function T82(e,t){1&e&&A2(0,"div",8)}let I82=(()=>{class e{constructor(n,c){this.cardService=n,this.gameService=c,this.selectable=!1,this.cardSuit=J2,this.cardRank=d2}select(n){this.selectable&&this.card&&this.gameService.selectOrDeselectCard(this.card)&&n.stopPropagation()}}return e.\u0275fac=function(n){return new(n||e)(D(nM),D(cM))},e.\u0275cmp=q3({type:e,selectors:[["app-card"]],inputs:{card:"card",selectable:"selectable"},decls:3,vars:2,consts:[["class","card",3,"click",4,"ngIf","ngIfElse"],["flipped",""],[1,"card",3,"click"],[1,"card-content",3,"ngClass"],[1,"card-header",3,"ngClass"],[3,"src"],[1,"card-body",3,"ngClass"],[1,"card-footer"],[1,"back"]],template:function(n,c){if(1&n&&(_3(0,k82,13,13,"div",0),_3(1,T82,1,0,"ng-template",null,1,R9)),2&n){const r=function Is(e){return J3(function Cz(){return x.lFrame.contextLView}(),I+e)}(2);N2("ngIf",!(null!=c.card&&c.card.flipped))("ngIfElse",r)}},dependencies:[Yl,Xl],styles:["[_nghost-%COMP%]{--card-border-color: rgb(158, 158, 158);width:var(--card-width);height:var(--card-height);border-radius:var(--card-radius);background-color:#fff;-webkit-user-select:none;user-select:none;border:var(--border-width) solid #eee}.card[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;font-size:calc(var(--card-height) * .1)}.card-content[_ngcontent-%COMP%]{padding:calc(var(--card-height) * .04);height:100%;display:flex;flex-direction:column}.card-header[_ngcontent-%COMP%]{height:calc(var(--card-height) * .1);width:calc(var(--card-height) * .1);display:flex;flex-direction:row;justify-items:center;align-items:center}.card-body[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center;flex-direction:column;font-size:calc(var(--card-height) * .2)}.card-footer[_ngcontent-%COMP%]{height:calc(var(--card-height) * .1)}.card-body[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:calc(var(--card-width) * .2);height:calc(var(--card-width) * .2)}.red[_ngcontent-%COMP%]{color:red}.card-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:calc(var(--card-height) * .08);height:calc(var(--card-height) * .08)}.back[_ngcontent-%COMP%]{background-image:url(/assets/back.svg);background-size:20%;height:100%;border-radius:var(--card-radius);margin:calc(var(--card-height) * .05);border:1px solid var(--card-border-color)}.selected[_ngcontent-%COMP%]{border:2px solid rgb(0,91,219);border-radius:var(--card-radius);margin:-2px}"]}),e})();function P82(e,t){if(1&e&&(k3(0),A2(1,"app-card",11),T3()),2&e){const n=t.$implicit;H2(1),N2("card",n)("selectable",!0)}}function F82(e,t){if(1&e){const n=D0();k3(0),D2(1,"div",10),s3("click",function(){const a=N6(n).index;return E6(we().gameService.moveSelectedCardToHeaderColumn(a))}),A2(2,"app-card-place"),_3(3,P82,2,2,"ng-container",2),E2(),T3()}if(2&e){const n=t.$implicit;H2(3),N2("ngForOf",n)}}function R82(e,t){if(1&e&&(k3(0),A2(1,"app-card",11),T3()),2&e){const n=t.$implicit;H2(1),N2("card",n)("selectable",!0)}}function O82(e,t){if(1&e){const n=D0();k3(0),D2(1,"div",10),s3("click",function(){const a=N6(n).index;return E6(we().gameService.moveSelectedCardToColumn(a))}),A2(2,"app-card-place"),_3(3,R82,2,2,"ng-container",2),E2(),T3()}if(2&e){const n=t.$implicit;H2(3),N2("ngForOf",n)}}let B82=(()=>{class e{constructor(n){this.gameService=n,this.faPlus=B5,this.faUndo=rm,this.faSquareCaretUp=l5}startNewGame(){confirm("E\u0302tes-vous su\u0302r de vouloir commencer une nouvelle partie ?")&&this.gameService.startGame()}undo(){confirm("E\u0302tes-vous su\u0302r de vouloir annuler votre dernier coup ?")&&this.gameService.undo()}}return e.\u0275fac=function(n){return new(n||e)(D(cM))},e.\u0275cmp=q3({type:e,selectors:[["app-root"]],decls:21,vars:9,consts:[[1,"playmat"],[1,"playmat-header"],[4,"ngFor","ngForOf"],[1,"playmat-body"],[1,"playmat-footer"],[1,"actions-column"],[1,"action",3,"click"],[3,"icon"],[1,"fill-space"],[1,"action","end",3,"click"],[1,"column","clickable",3,"click"],[3,"card","selectable"]],template:function(n,c){1&n&&(D2(0,"div",0)(1,"div",1),_3(2,F82,4,1,"ng-container",2),E2(),D2(3,"div",3),_3(4,O82,4,1,"ng-container",2),E2(),D2(5,"div",4)(6,"div",5)(7,"div",6),s3("click",function(){return c.startNewGame()}),A2(8,"fa-icon",7),P3(9," Nouvelle partie "),E2(),D2(10,"div",6),s3("click",function(){return c.undo()}),A2(11,"fa-icon",7),P3(12," Annuler "),E2(),A2(13,"div",8),D2(14,"div",9),s3("click",function(){return c.gameService.dealCards()}),A2(15,"fa-icon",7),P3(16," Distribuer "),D2(17,"div")(18,"small"),P3(19),function L9(e,t){const n=F();let c;const r=e+I;n.firstCreatePass?(c=function XD(e,t){if(t)for(let n=t.length-1;n>=0;n--){const c=t[n];if(e===c.name)return c}}(t,n.pipeRegistry),n.data[r]=c,c.onDestroy&&(n.destroyHooks??=[]).push(r,c.onDestroy)):c=n.data[r];const a=c.factory||(c.factory=y3(c.type)),i=P2(D);try{const s=F6(!1),o=a();return F6(s),function Ew(e,t,n,c){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=c}(n,M(),r,o),o}finally{P2(i)}}(20,"number"),E2()()()()()()),2&n&&(H2(2),N2("ngForOf",c.gameService.state.headerColumnCards),H2(2),N2("ngForOf",c.gameService.state.columnCards),H2(4),N2("icon",c.faPlus),H2(3),N2("icon",c.faUndo),H2(4),N2("icon",c.faSquareCaretUp),H2(4),E4("",w9(20,6,13-c.gameService.state.draw.length/8,"1.0-0")," sur 13"))},dependencies:[Zl,N82,A82,I82,nf],styles:[".playmat[_ngcontent-%COMP%]{background-color:#228b22;height:100dvh;display:flex;flex-direction:column;padding:0 calc(var(--card-space))}.playmat-header[_ngcontent-%COMP%]{display:flex;align-items:flex-end;height:calc(var(--card-height) * .15)}.playmat-header[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]{overflow:hidden}.playmat-header[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > app-card[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_rotateup;animation-duration:.2s;animation-timing-function:ease-out;transform:rotate(180deg);margin-top:calc(var(--card-height) * -1)}.playmat-body[_ngcontent-%COMP%]{display:flex;flex-grow:1;overflow-y:hidden;margin-top:calc(var(--card-height) * .05)}.playmat-body.column[_ngcontent-%COMP%]{margin:var(--card-space)}.playmat-footer[_ngcontent-%COMP%]{display:flex;height:calc(var(--card-height) * .5);padding:calc(var(--card-space))}.column[_ngcontent-%COMP%]{margin-top:var(--card-space);margin-left:var(--card-space);margin-right:var(--card-space);display:flex;flex-direction:column;overflow-y:hidden}.playmat-body[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > app-card-place[_ngcontent-%COMP%], .playmat-footer[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > app-card-place[_ngcontent-%COMP%]{margin-bottom:calc(var(--card-height) * -1)}.playmat-body[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > app-card[_ngcontent-%COMP%]{margin-bottom:calc(var(--card-height) * -1 + var(--card-height) * .15);animation-name:_ngcontent-%COMP%_slideup;animation-duration:.2s;animation-timing-function:ease-out}@keyframes _ngcontent-%COMP%_slideup{0%{transform:translateY(50px)}to{transform:translate(0)}}@keyframes _ngcontent-%COMP%_rotateup{0%{transform:rotate(120deg)}to{transform:rotate(180deg)}}.playmat-footer[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > app-card[_ngcontent-%COMP%]{margin-bottom:calc(var(--card-height) * -1 - .8px)}.actions-column[_ngcontent-%COMP%]{flex-grow:1;align-self:flex-end;align-items:flex-start;display:flex;gap:10px}.action[_ngcontent-%COMP%]{color:#fff;border:var(--border-width) solid var(--fore-color);border-radius:var(--card-radius);padding:calc(var(--card-height) * .1);cursor:pointer;font-size:calc(var(--card-height) * .1)}.action[_ngcontent-%COMP%]:hover{background-color:var(--fore-color)}.action[_ngcontent-%COMP%]:active{color:#fff}.clickable[_ngcontent-%COMP%]{cursor:pointer}.fill-space[_ngcontent-%COMP%]{flex-grow:1}"]}),e})(),U82=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W3({type:e,bootstrap:[B82]}),e.\u0275inj=H3({imports:[tA,E82]}),e})();JE().bootstrapModule(U82).catch(e=>console.error(e))}},r2=>{r2(r2.s=789)}]);