@bimplus/navigation-web 0.0.205 → 0.0.206
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,11 +7,11 @@ ${n.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
|
|
|
7
7
|
`);return i>=0?n.slice(0,i):n}function pa(e,t){return e?t?`${e} ${t}`:e:t||""}var m4=Ie({__forward_ref__:Ie});function fa(e){return e.__forward_ref__=fa,e.toString=function(){return vt(this())},e}function qe(e){return mu(e)?e():e}function mu(e){return typeof e=="function"&&e.hasOwnProperty(m4)&&e.__forward_ref__===fa}function n1(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(i==null?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function On(e){return{providers:e.providers||[],imports:e.imports||[]}}function ma(e){return h4(e,ha)}function h4(e,t){return e.hasOwnProperty(t)&&e[t]||null}function g4(e){let t=e?.[ha]??null;return t||null}function iu(e){return e&&e.hasOwnProperty(aa)?e[aa]:null}var ha=Ie({\u0275prov:Ie}),aa=Ie({\u0275inj:Ie}),z=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=W({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function hu(e){return e&&!!e.\u0275providers}var gu=Ie({\u0275cmp:Ie}),bu=Ie({\u0275dir:Ie}),vu=Ie({\u0275pipe:Ie});var io=Ie({\u0275fac:Ie}),di=Ie({__NG_ELEMENT_ID__:Ie}),Km=Ie({__NG_ENV_ID__:Ie});function nr(e){return typeof e=="string"?e:e==null?"":String(e)}function i1(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():nr(e)}function yu(e,t){throw new j(-200,e)}function ga(e,t){throw new j(-201,!1)}var ru;function r1(){return ru}function ot(e){let t=ru;return ru=e,t}function _u(e,t,n){let i=ma(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&8)return null;if(t!==void 0)return t;ga(e,"Injector")}var b4={},ai=b4,ou="__NG_DI_FLAG__",su=class{injector;constructor(t){this.injector=t}retrieve(t,n){let i=li(n)||0;try{return this.injector.get(t,i&8?null:ai,i)}catch(r){if(Wi(r))return r;throw r}}},la="ngTempTokenPath",v4="ngTokenPath",y4=/\n/gm,_4="\u0275",Jm="__source";function C4(e,t=0){let n=kc();if(n===void 0)throw new j(-203,!1);if(n===null)return _u(e,void 0,t);{let i=w4(t),r=n.retrieve(e,i);if(Wi(r)){if(i.optional)return null;throw r}return r}}function V(e,t=0){return(r1()||C4)(qe(e),t)}function F(e,t){return V(e,li(t))}function li(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function w4(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function au(e){let t=[];for(let n=0;n<e.length;n++){let i=qe(e[n]);if(Array.isArray(i)){if(i.length===0)throw new j(900,!1);let r,o=0;for(let a=0;a<i.length;a++){let c=i[a],d=D4(c);typeof d=="number"?d===-1?r=c.token:o|=d:r=c}t.push(V(r,o))}else t.push(V(i))}return t}function Cu(e,t){return e[ou]=t,e.prototype[ou]=t,e}function D4(e){return e[ou]}function E4(e,t,n,i){let r=e[la];throw t[Jm]&&r.unshift(t[Jm]),e.message=x4(`
|
|
8
8
|
`+e.message,r,n,i),e[v4]=r,e[la]=null,e}function x4(e,t,n,i=null){e=e&&e.charAt(0)===`
|
|
9
9
|
`&&e.charAt(1)==_4?e.slice(2):e;let r=vt(t);if(Array.isArray(t))r=t.map(vt).join(" -> ");else if(typeof t=="object"){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let c=t[a];o.push(a+":"+(typeof c=="string"?JSON.stringify(c):vt(c)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(y4,`
|
|
10
|
-
`)}`}function Ln(e,t){let n=e.hasOwnProperty(io);return n?e[io]:null}function ba(e,t){e.forEach(n=>Array.isArray(n)?ba(n,t):t(n))}function wu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function o1(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function s1(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(r===1)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;){let o=r-2;e[r]=e[o],r--}e[t]=n,e[t+1]=i}}function va(e,t,n){let i=ir(e,t);return i>=0?e[i|1]=n:(i=~i,s1(e,i,t,n)),i}function ya(e,t){let n=ir(e,t);if(n>=0)return e[n|1]}function ir(e,t){return M4(e,t,1)}function M4(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){let o=i+(r-i>>1),a=e[o<<n];if(t===a)return o<<n;a>t?r=o:i=o+1}return~(r<<n)}var Rn={},st=[],pi=new z(""),Du=new z("",-1),Eu=new z(""),ro=class{get(t,n=ai){if(n===ai)throw new Is(`NullInjectorError: No provider for ${vt(t)}!`);return n}};function fi(e){return e[gu]||null}function xu(e){return e[bu]||null}function a1(e){return e[vu]||null}function so(e){return{\u0275providers:e}}function _a(...e){return{\u0275providers:Mu(!0,e),\u0275fromNgModule:!0}}function Mu(e,...t){let n=[],i=new Set,r,o=a=>{n.push(a)};return ba(t,a=>{let c=a;ca(c,o,[],i)&&(r||=[],r.push(c))}),r!==void 0&&l1(r,o),n}function l1(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:r}=e[n];Iu(r,o=>{t(o,i)})}}function ca(e,t,n,i){if(e=qe(e),!e)return!1;let r=null,o=iu(e),a=!o&&fi(e);if(!o&&!a){let d=e.ngModule;if(o=iu(d),o)r=d;else return!1}else{if(a&&!a.standalone)return!1;r=e}let c=i.has(r);if(a){if(c)return!1;if(i.add(r),a.dependencies){let d=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let f of d)ca(f,t,n,i)}}else if(o){if(o.imports!=null&&!c){i.add(r);let f;try{ba(o.imports,h=>{ca(h,t,n,i)&&(f||=[],f.push(h))})}finally{}f!==void 0&&l1(f,t)}if(!c){let f=Ln(r)||(()=>new r);t({provide:r,useFactory:f,deps:st},r),t({provide:Eu,useValue:r,multi:!0},r),t({provide:pi,useValue:()=>V(r),multi:!0},r)}let d=o.providers;if(d!=null&&!c){let f=e;Iu(d,h=>{t(h,f)})}}else return!1;return r!==e&&e.providers!==void 0}function Iu(e,t){for(let n of e)hu(n)&&(n=n.\u0275providers),Array.isArray(n)?Iu(n,t):t(n)}var I4=Ie({provide:String,useValue:Ie});function c1(e){return e!==null&&typeof e=="object"&&I4 in e}function S4(e){return!!(e&&e.useExisting)}function T4(e){return!!(e&&e.useFactory)}function ci(e){return typeof e=="function"}function u1(e){return!!e.useClass}var ao=new z(""),sa={},e1={},nu;function lo(){return nu===void 0&&(nu=new ro),nu}var dt=class{},ui=class extends dt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,cu(t,a=>this.processProvider(a)),this.records.set(Du,tr(void 0,this)),r.has("environment")&&this.records.set(dt,tr(void 0,this));let o=this.records.get(ao);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Eu,st,{self:!0}))}retrieve(t,n){let i=li(n)||0;try{return this.get(t,ai,i)}catch(r){if(Wi(r))return r;throw r}}destroy(){no(this),this._destroyed=!0;let t=Z(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(t)}}onDestroy(t){return no(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){no(this);let n=fn(this),i=ot(void 0),r;try{return t()}finally{fn(n),ot(i)}}get(t,n=ai,i){if(no(this),t.hasOwnProperty(Km))return t[Km](this);let r=li(i),o,a=fn(this),c=ot(void 0);try{if(!(r&4)){let f=this.records.get(t);if(f===void 0){let h=O4(t)&&ma(t);h&&this.injectableDefInScope(h)?f=tr(lu(t),sa):f=null,this.records.set(t,f)}if(f!=null)return this.hydrate(t,f)}let d=r&2?lo():this.parent;return n=r&8&&n===ai?null:n,d.get(t,n)}catch(d){if(Wi(d)){if((d[la]=d[la]||[]).unshift(vt(t)),a)throw d;return E4(d,t,"R3InjectorError",this.source)}else throw d}finally{ot(c),fn(a)}}resolveInjectorInitializers(){let t=Z(null),n=fn(this),i=ot(void 0),r;try{let o=this.get(pi,st,{self:!0});for(let a of o)a()}finally{fn(n),ot(i),Z(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(vt(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=qe(t);let n=ci(t)?t:qe(t&&t.provide),i=A4(t);if(!ci(t)&&t.multi===!0){let r=this.records.get(n);r||(r=tr(void 0,sa,!0),r.factory=()=>au(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){let i=Z(null);try{return n.value===e1?yu(vt(t)):n.value===sa&&(n.value=e1,n.value=n.factory()),typeof n.value=="object"&&n.value&&N4(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Z(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=qe(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function lu(e){let t=ma(e),n=t!==null?t.factory:Ln(e);if(n!==null)return n;if(e instanceof z)throw new j(204,!1);if(e instanceof Function)return k4(e);throw new j(204,!1)}function k4(e){if(e.length>0)throw new j(204,!1);let n=g4(e);return n!==null?()=>n.factory(e):()=>new e}function A4(e){if(c1(e))return tr(void 0,e.useValue);{let t=Su(e);return tr(t,sa)}}function Su(e,t,n){let i;if(ci(e)){let r=qe(e);return Ln(r)||lu(r)}else if(c1(e))i=()=>qe(e.useValue);else if(T4(e))i=()=>e.useFactory(...au(e.deps||[]));else if(S4(e))i=()=>V(qe(e.useExisting));else{let r=qe(e&&(e.useClass||e.provide));if(L4(e))i=()=>new r(...au(e.deps));else return Ln(r)||lu(r)}return i}function no(e){if(e.destroyed)throw new j(205,!1)}function tr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function L4(e){return!!e.deps}function N4(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function O4(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function cu(e,t){for(let n of e)Array.isArray(n)?cu(n,t):n&&hu(n)?cu(n.\u0275providers,t):t(n)}function rr(e,t){let n;e instanceof ui?(no(e),n=e):n=new su(e);let i,r=fn(n),o=ot(void 0);try{return t()}finally{fn(r),ot(o)}}function d1(){return r1()!==void 0||kc()!=null}var Rt=0,G=1,$=2,We=3,Mt=4,at=5,mi=6,or=7,Ne=8,hi=9,Qt=10,Me=11,sr=12,Tu=13,gi=14,lt=15,bi=16,vi=17,yi=18,co=19,ku=20,bn=21,Ca=22,uo=23,yt=24,wa=25,Ve=26,p1=1,Au=6,Pn=7,po=8,fo=9,Qe=10;function Xt(e){return Array.isArray(e)&&typeof e[p1]=="object"}function Pt(e){return Array.isArray(e)&&e[p1]===!0}function Da(e){return(e.flags&4)!==0}function Fn(e){return e.componentOffset>-1}function mo(e){return(e.flags&1)===1}function Kt(e){return!!e.template}function ar(e){return(e[$]&512)!==0}function _i(e){return(e[$]&256)===256}var f1="svg",m1="math";function It(e){for(;Array.isArray(e);)e=e[Rt];return e}function Lu(e,t){return It(t[e])}function Ft(e,t){return It(t[e.index])}function ho(e,t){return e.data[t]}function Nu(e,t){return e[t]}function Ou(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function St(e,t){let n=t[e];return Xt(n)?n:n[Rt]}function Ea(e){return(e[$]&128)===128}function h1(e){return Pt(e[We])}function Vt(e,t){return t==null?null:e[t]}function Ru(e){e[vi]=0}function xa(e){e[$]&1024||(e[$]|=1024,Ea(e)&&go(e))}function g1(e,t){for(;e>0;)t=t[gi],e--;return t}function lr(e){return!!(e[$]&9216||e[yt]?.dirty)}function Ma(e){e[Qt].changeDetectionScheduler?.notify(8),e[$]&64&&(e[$]|=1024),lr(e)&&go(e)}function go(e){e[Qt].changeDetectionScheduler?.notify(0);let t=Nn(e);for(;t!==null&&!(t[$]&8192||(t[$]|=8192,!Ea(t)));)t=Nn(t)}function Pu(e,t){if(_i(e))throw new j(911,!1);e[bn]===null&&(e[bn]=[]),e[bn].push(t)}function b1(e,t){if(e[bn]===null)return;let n=e[bn].indexOf(t);n!==-1&&e[bn].splice(n,1)}function Nn(e){let t=e[We];return Pt(t)?t[We]:t}function v1(e){return e[or]??=[]}function y1(e){return e.cleanup??=[]}var X={lFrame:N1(null),bindingsEnabled:!0,skipHydrationRootTNode:null},bo=function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e}(bo||{}),R4=0,uu=!1;function _1(){return X.lFrame.elementDepthCount}function C1(){X.lFrame.elementDepthCount++}function w1(){X.lFrame.elementDepthCount--}function Ia(){return X.bindingsEnabled}function Fu(){return X.skipHydrationRootTNode!==null}function D1(e){return X.skipHydrationRootTNode===e}function E1(){X.skipHydrationRootTNode=null}function Y(){return X.lFrame.lView}function je(){return X.lFrame.tView}function H(e){return X.lFrame.contextLView=e,e[Ne]}function B(e){return X.lFrame.contextLView=null,e}function pt(){let e=Vu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Vu(){return X.lFrame.currentTNode}function x1(){let e=X.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Vn(e,t){let n=X.lFrame;n.currentTNode=e,n.isParent=t}function Sa(){return X.lFrame.isParent}function Ta(){X.lFrame.isParent=!1}function M1(){return X.lFrame.contextLView}function ju(e){n1("Must never be called in production mode"),R4=e}function Hu(){return uu}function Bu(e){let t=uu;return uu=e,t}function cr(){let e=X.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function I1(e){return X.lFrame.bindingIndex=e}function Ci(){return X.lFrame.bindingIndex++}function Uu(e){let t=X.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function S1(){return X.lFrame.inI18n}function T1(e,t){let n=X.lFrame;n.bindingIndex=n.bindingRootIndex=e,ka(t)}function k1(){return X.lFrame.currentDirectiveIndex}function ka(e){X.lFrame.currentDirectiveIndex=e}function A1(e){let t=X.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function zu(e){X.lFrame.currentQueryIndex=e}function P4(e){let t=e[G];return t.type===2?t.declTNode:t.type===1?e[at]:null}function $u(e,t,n){if(n&4){let r=t,o=e;for(;r=r.parent,r===null&&!(n&1);)if(r=P4(o),r===null||(o=o[gi],r.type&10))break;if(r===null)return!1;t=r,e=o}let i=X.lFrame=L1();return i.currentTNode=t,i.lView=e,!0}function Aa(e){let t=L1(),n=e[G];X.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function L1(){let e=X.lFrame,t=e===null?null:e.child;return t===null?N1(e):t}function N1(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function O1(){let e=X.lFrame;return X.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Zu=O1;function La(){let e=O1();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 R1(e){return(X.lFrame.contextLView=g1(e,X.lFrame.contextLView))[Ne]}function vn(){return X.lFrame.selectedIndex}function jn(e){X.lFrame.selectedIndex=e}function Wu(){let e=X.lFrame;return ho(e.tView,e.selectedIndex)}function P1(){return X.lFrame.currentNamespace}var F1=!0;function vo(){return F1}function yo(e){F1=e}function du(e,t=null,n=null,i){let r=V1(e,t,n,i);return r.resolveInjectorInitializers(),r}function V1(e,t=null,n=null,i,r=new Set){let o=[n||st,_a(e)];return i=i||(typeof e=="object"?void 0:vt(e)),new ui(o,t||lo(),i||null,r)}var Gt=class e{static THROW_IF_NOT_FOUND=ai;static NULL=new ro;static create(t,n){if(Array.isArray(t))return du({name:""},n,t,"");{let i=t.name??"";return du({name:i},t.parent,t.providers,i)}}static \u0275prov=W({token:e,providedIn:"any",factory:()=>V(Du)});static __NG_ELEMENT_ID__=-1},_t=new z(""),wi=(()=>{class e{static __NG_ELEMENT_ID__=F4;static __NG_ENV_ID__=n=>n}return e})(),pu=class extends wi{_lView;constructor(t){super(),this._lView=t}get destroyed(){return _i(this._lView)}onDestroy(t){let n=this._lView;return Pu(n,t),()=>b1(n,t)}};function F4(){return new pu(Y())}var Yt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Jt=new z("",{providedIn:"root",factory:()=>{let e=F(dt),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Yt),t.handleError(n))}}}),j1={provide:pi,useValue:()=>void F(Yt),multi:!0};function Hn(e,t){let[n,i,r]=Bc(e,t?.equal),o=n,a=o[ut];return o.set=i,o.update=r,o.asReadonly=H1.bind(o),o}function H1(){let e=this[ut];if(e.readonlyFn===void 0){let t=()=>this();t[ut]=e,e.readonlyFn=t}return e.readonlyFn}var qt=class{},Na=new z("",{providedIn:"root",factory:()=>!1});var Gu=new z(""),Yu=new z("");var Di=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Tn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new oe(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})(),_o=(()=>{class e{internalPendingTasks=F(Di);scheduler=F(qt);errorHandler=F(Jt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let i=this.add();n().catch(this.errorHandler).finally(i)}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();function Co(...e){}var qu=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>new fu})}return e})(),fu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,i=this.queues.get(n);i.has(t)&&(i.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let i=this.queues.get(n);i.has(t)||i.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,i]of this.queues)n===null?t||=this.flushQueue(i):t||=n.run(()=>this.flushQueue(i));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let i of t)i.dirty&&(this.dirtyEffectCount--,n=!0,i.run());return n}};function gr(e){return{toString:e}.toString()}var Oa="__parameters__";function q4(e){return function(...n){if(e){let i=e(...n);for(let r in i)this[r]=i[r]}}}function mh(e,t,n){return gr(()=>{let i=q4(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;let a=new r(...o);return c.annotation=a,c;function c(d,f,h){let g=d.hasOwnProperty(Oa)?d[Oa]:Object.defineProperty(d,Oa,{value:[]})[Oa];for(;g.length<=h;)g.push(null);return(g[h]=g[h]||[]).push(a),d}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}var Od=Cu(mh("Optional"),8);var Rd=Cu(mh("SkipSelf"),4);function Q4(e){return typeof e=="function"}var ja=class{previousValue;currentValue;firstChange;constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}};function hh(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var Ut=(()=>{let e=()=>gh;return e.ngInherit=!0,e})();function gh(e){return e.type.prototype.ngOnChanges&&(e.setInput=K4),X4}function X4(){let e=vh(this),t=e?.current;if(t){let n=e.previous;if(n===Rn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function K4(e,t,n,i,r){let o=this.declaredInputs[i],a=vh(e)||J4(e,{previous:Rn,current:null}),c=a.current||(a.current={}),d=a.previous,f=d[o];c[o]=new ja(f&&f.currentValue,n,d===Rn),hh(e,t,r,n)}var bh="__ngSimpleChanges__";function vh(e){return e[bh]||null}function J4(e,t){return e[bh]=t}var B1=[];var me=function(e,t=null,n){for(let i=0;i<B1.length;i++){let r=B1[i];r(e,t,n)}};function e5(e,t,n){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){let a=gh(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}r&&(n.preOrderHooks??=[]).push(0-e,r),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function Pd(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:d,ngAfterViewChecked:f,ngOnDestroy:h}=o;a&&(e.contentHooks??=[]).push(-n,a),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),d&&(e.viewHooks??=[]).push(-n,d),f&&((e.viewHooks??=[]).push(n,f),(e.viewCheckHooks??=[]).push(n,f)),h!=null&&(e.destroyHooks??=[]).push(n,h)}}function Pa(e,t,n){yh(e,t,3,n)}function Fa(e,t,n,i){(e[$]&3)===n&&yh(e,t,n,i)}function Qu(e,t){let n=e[$];(n&3)===t&&(n&=16383,n+=1,e[$]=n)}function yh(e,t,n,i){let r=i!==void 0?e[vi]&65535:0,o=i??-1,a=t.length-1,c=0;for(let d=r;d<a;d++)if(typeof t[d+1]=="number"){if(c=t[d],i!=null&&c>=i)break}else t[d]<0&&(e[vi]+=65536),(c<o||o==-1)&&(t5(e,n,t,d),e[vi]=(e[vi]&4294901760)+d+2),d++}function U1(e,t){me(4,e,t);let n=Z(null);try{t.call(e)}finally{Z(n),me(5,e,t)}}function t5(e,t,n,i){let r=n[i]<0,o=n[i+1],a=r?-n[i]:n[i],c=e[a];r?e[$]>>14<e[vi]>>16&&(e[$]&3)===t&&(e[$]+=16384,U1(c,o)):U1(c,o)}var dr=-1,xi=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,i){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=i}};function n5(e){return(e.flags&8)!==0}function i5(e){return(e.flags&16)!==0}function r5(e,t,n){let i=0;for(;i<n.length;){let r=n[i];if(typeof r=="number"){if(r!==0)break;i++;let o=n[i++],a=n[i++],c=n[i++];e.setAttribute(t,a,c,o)}else{let o=r,a=n[++i];s5(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),i++}}return i}function o5(e){return e===3||e===4||e===6}function s5(e){return e.charCodeAt(0)===64}function pr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let r=t[i];typeof r=="number"?n=r:n===0||(n===-1||n===2?z1(e,n,r,null,t[++i]):z1(e,n,r,null,null))}}return e}function z1(e,t,n,i,r){let o=0,a=e.length;if(t===-1)a=-1;else for(;o<e.length;){let c=e[o++];if(typeof c=="number"){if(c===t){a=-1;break}else if(c>t){a=o-1;break}}}for(;o<e.length;){let c=e[o];if(typeof c=="number")break;if(c===n){r!==null&&(e[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),r!==null&&e.splice(o++,0,r)}function _h(e){return e!==dr}function Ha(e){return e&32767}function a5(e){return e>>16}function Ba(e,t){let n=a5(e),i=t;for(;n>0;)i=i[gi],n--;return i}var ad=!0;function Ua(e){let t=ad;return ad=e,t}var l5=256,Ch=l5-1,wh=5,c5=0,en={};function u5(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(di)&&(i=n[di]),i==null&&(i=n[di]=c5++);let r=i&Ch,o=1<<r;t.data[e+(r>>wh)]|=o}function za(e,t){let n=Dh(e,t);if(n!==-1)return n;let i=t[G];i.firstCreatePass&&(e.injectorIndex=t.length,Xu(i.data,e),Xu(t,null),Xu(i.blueprint,null));let r=Fd(e,t),o=e.injectorIndex;if(_h(r)){let a=Ha(r),c=Ba(r,t),d=c[G].data;for(let f=0;f<8;f++)t[o+f]=c[a+f]|d[a+f]}return t[o+8]=r,o}function Xu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Dh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Fd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;r!==null;){if(i=Sh(r),i===null)return dr;if(n++,r=r[gi],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return dr}function ld(e,t,n){u5(e,t,n)}function Eh(e,t,n){if(n&8||e!==void 0)return e;ga(t,"NodeInjector")}function xh(e,t,n,i){if(n&8&&i===void 0&&(i=null),(n&3)===0){let r=e[hi],o=ot(void 0);try{return r?r.get(t,i,n&8):_u(t,i,n&8)}finally{ot(o)}}return Eh(i,t,n)}function Mh(e,t,n,i=0,r){if(e!==null){if(t[$]&2048&&!(i&2)){let a=h5(e,t,n,i,en);if(a!==en)return a}let o=Ih(e,t,n,i,en);if(o!==en)return o}return xh(t,n,i,r)}function Ih(e,t,n,i,r){let o=f5(n);if(typeof o=="function"){if(!$u(t,e,i))return i&1?Eh(r,n,i):xh(t,n,i,r);try{let a;if(a=o(i),a==null&&!(i&8))ga(n);else return a}finally{Zu()}}else if(typeof o=="number"){let a=null,c=Dh(e,t),d=dr,f=i&1?t[lt][at]:null;for((c===-1||i&4)&&(d=c===-1?Fd(e,t):t[c+8],d===dr||!Z1(i,!1)?c=-1:(a=t[G],c=Ha(d),t=Ba(d,t)));c!==-1;){let h=t[G];if($1(o,c,h.data)){let g=d5(c,t,n,a,i,f);if(g!==en)return g}d=t[c+8],d!==dr&&Z1(i,t[G].data[c+8]===f)&&$1(o,c,t)?(a=h,c=Ha(d),t=Ba(d,t)):c=-1}}return r}function d5(e,t,n,i,r,o){let a=t[G],c=a.data[e+8],d=i==null?Fn(c)&&ad:i!=a&&(c.type&3)!==0,f=r&1&&o===c,h=p5(c,a,n,d,f);return h!==null?$a(t,a,h,c):en}function p5(e,t,n,i,r){let o=e.providerIndexes,a=t.data,c=o&1048575,d=e.directiveStart,f=e.directiveEnd,h=o>>20,g=i?c:c+h,y=r?c+h:f;for(let v=g;v<y;v++){let _=a[v];if(v<d&&n===_||v>=d&&_.type===n)return v}if(r){let v=a[d];if(v&&Kt(v)&&v.type===n)return d}return null}function $a(e,t,n,i){let r=e[n],o=t.data;if(r instanceof xi){let a=r;a.resolving&&yu(i1(o[n]));let c=Ua(a.canSeeViewProviders);a.resolving=!0;let d=o[n].type||o[n],f,h=a.injectImpl?ot(a.injectImpl):null,g=$u(e,i,0);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&e5(n,o[n],t)}finally{h!==null&&ot(h),Ua(c),a.resolving=!1,Zu()}}return r}function f5(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(di)?e[di]:void 0;return typeof t=="number"?t>=0?t&Ch:m5:t}function $1(e,t,n){let i=1<<e;return!!(n[t+(e>>wh)]&i)}function Z1(e,t){return!(e&2)&&!(e&1&&t)}var Ei=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Mh(this._tNode,this._lView,t,li(i),n)}};function m5(){return new Ei(pt(),Y())}function ko(e){return gr(()=>{let t=e.prototype.constructor,n=t[io]||cd(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){let o=r[io]||cd(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function cd(e){return mu(e)?()=>{let t=cd(qe(e));return t&&t()}:Ln(e)}function h5(e,t,n,i,r){let o=e,a=t;for(;o!==null&&a!==null&&a[$]&2048&&!ar(a);){let c=Ih(o,a,n,i|2,en);if(c!==en)return c;let d=o.parent;if(!d){let f=a[ku];if(f){let h=f.get(n,en,i);if(h!==en)return h}d=Sh(a),a=a[gi]}o=d}return r}function Sh(e){let t=e[G],n=t.type;return n===2?t.declTNode:n===1?e[at]:null}function g5(){return tl(pt(),Y())}function tl(e,t){return new Un(Ft(e,t))}var Un=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=g5}return e})();function Th(e){return(e.flags&128)===128}var Vd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Vd||{}),kh=new Map,b5=0;function v5(){return b5++}function y5(e){kh.set(e[co],e)}function ud(e){kh.delete(e[co])}var W1="__ngContext__";function br(e,t){Xt(t)?(e[W1]=t[co],y5(t)):e[W1]=t}function Ah(e){return Nh(e[sr])}function Lh(e){return Nh(e[Mt])}function Nh(e){for(;e!==null&&!Pt(e);)e=e[Mt];return e}var dd;function jd(e){dd=e}function Oh(){if(dd!==void 0)return dd;if(typeof document<"u")return document;throw new j(210,!1)}var nl=new z("",{providedIn:"root",factory:()=>_5}),_5="ng",il=new z(""),vr=new z("",{providedIn:"platform",factory:()=>"unknown"});var rl=new z("",{providedIn:"root",factory:()=>Oh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var C5="h",w5="b";var Rh="r";var Ph="di";var Fh=!1,Vh=new z("",{providedIn:"root",factory:()=>Fh});var D5=(e,t,n,i)=>{};function E5(e,t,n,i){D5(e,t,n,i)}var x5=()=>null;function jh(e,t,n=!1){return x5(e,t,n)}function Hh(e,t){let n=e.contentQueries;if(n!==null){let i=Z(null);try{for(let r=0;r<n.length;r+=2){let o=n[r],a=n[r+1];if(a!==-1){let c=e.data[a];zu(o),c.contentQueries(2,t[a],a)}}}finally{Z(i)}}}function pd(e,t,n){zu(0);let i=Z(null);try{t(e,n)}finally{Z(i)}}function Hd(e,t,n){if(Da(t)){let i=Z(null);try{let r=t.directiveStart,o=t.directiveEnd;for(let a=r;a<o;a++){let c=e.data[a];if(c.contentQueries){let d=n[a];c.contentQueries(1,d,a)}}}finally{Z(i)}}}var yn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(yn||{});var Za=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ua})`}};function ol(e){return e instanceof Za?e.changingThisBreaksApplicationSecurity:e}function Bh(e,t){let n=Uh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ua})`)}return n===t}function Uh(e){return e instanceof Za&&e.getTypeName()||null}var M5=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function zh(e){return e=String(e),e.match(M5)?e:"unsafe:"+e}var Bd=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}(Bd||{});function yr(e){let t=I5();return t?t.sanitize(Bd.URL,e)||"":Bh(e,"URL")?ol(e):zh(nr(e))}function I5(){let e=Y();return e&&e[Qt].sanitizer}var S5=/^>|^->|<!--|-->|--!>|<!-$/g,T5=/(<|>)/g,k5="\u200B$1\u200B";function A5(e){return e.replace(S5,t=>t.replace(T5,k5))}function L5(e,t,n){let i=e.length;for(;;){let r=e.indexOf(t,n);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}var $h="ng-template";function N5(e,t,n,i){let r=0;if(i){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&L5(t[r+1].toLowerCase(),n,0)!==-1)return!0}else if(Ud(e))return!1;if(r=t.indexOf(1,r),r>-1){let o;for(;++r<t.length&&typeof(o=t[r])=="string";)if(o.toLowerCase()===n)return!0}return!1}function Ud(e){return e.type===4&&e.value!==$h}function O5(e,t,n){let i=e.type===4&&!n?$h:e.value;return t===i}function R5(e,t,n){let i=4,r=e.attrs,o=r!==null?V5(r):0,a=!1;for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="number"){if(!a&&!jt(i)&&!jt(d))return!1;if(a&&jt(d))continue;a=!1,i=d|i&1;continue}if(!a)if(i&4){if(i=2|i&1,d!==""&&!O5(e,d,n)||d===""&&t.length===1){if(jt(i))return!1;a=!0}}else if(i&8){if(r===null||!N5(e,r,d,n)){if(jt(i))return!1;a=!0}}else{let f=t[++c],h=P5(d,r,Ud(e),n);if(h===-1){if(jt(i))return!1;a=!0;continue}if(f!==""){let g;if(h>o?g="":g=r[h+1].toLowerCase(),i&2&&f!==g){if(jt(i))return!1;a=!0}}}}return jt(i)||a}function jt(e){return(e&1)===0}function P5(e,t,n,i){if(t===null)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){let a=t[r];if(a===e)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let c=t[++r];for(;typeof c=="string";)c=t[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return j5(t,e)}function Zh(e,t,n=!1){for(let i=0;i<t.length;i++)if(R5(e,t[i],n))return!0;return!1}function F5(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function V5(e){for(let t=0;t<e.length;t++){let n=e[t];if(o5(n))return t}return e.length}function j5(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function H5(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function G1(e,t){return e?":not("+t.trim()+")":t}function B5(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let a=e[n];if(typeof a=="string")if(i&2){let c=e[++n];r+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!jt(a)&&(t+=G1(o,r),r=""),i=a,o=o||!jt(i);n++}return r!==""&&(t+=G1(o,r)),t}function U5(e){return e.map(B5).join(",")}function z5(e){let t=[],n=[],i=1,r=2;for(;i<e.length;){let o=e[i];if(typeof o=="string")r===2?o!==""&&t.push(o,e[++i]):r===8&&n.push(o);else{if(!jt(r))break;r=o}i++}return n.length&&t.push(1,...n),t}var wt={};function $5(e,t){return e.createText(t)}function Z5(e,t,n){e.setValue(t,n)}function W5(e,t){return e.createComment(A5(t))}function Wh(e,t,n){return e.createElement(t,n)}function Wa(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Gh(e,t,n){e.appendChild(t,n)}function Y1(e,t,n,i,r){i!==null?Wa(e,t,n,i,r):Gh(e,t,n)}function Yh(e,t,n){e.removeChild(null,t,n)}function G5(e,t,n){e.setAttribute(t,"style",n)}function Y5(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function qh(e,t,n){let{mergedAttrs:i,classes:r,styles:o}=n;i!==null&&r5(e,t,i),r!==null&&Y5(e,t,r),o!==null&&G5(e,t,o)}function zd(e,t,n,i,r,o,a,c,d,f,h){let g=Ve+i,y=g+r,v=q5(g,y),_=typeof f=="function"?f():f;return v[G]={type:e,blueprint:v,template:n,queries:null,viewQuery:c,declTNode:t,data:v.slice().fill(null,g),bindingStartIndex:g,expandoStartIndex:y,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:d,consts:_,incompleteFirstPass:!1,ssrId:h}}function q5(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:wt);return n}function Q5(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=zd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function $d(e,t,n,i,r,o,a,c,d,f,h){let g=t.blueprint.slice();return g[Rt]=r,g[$]=i|4|128|8|64|1024,(f!==null||e&&e[$]&2048)&&(g[$]|=2048),Ru(g),g[We]=g[gi]=e,g[Ne]=n,g[Qt]=a||e&&e[Qt],g[Me]=c||e&&e[Me],g[hi]=d||e&&e[hi]||null,g[at]=o,g[co]=v5(),g[mi]=h,g[ku]=f,g[lt]=t.type==2?e[lt]:g,g}function X5(e,t,n){let i=Ft(t,e),r=Q5(n),o=e[Qt].rendererFactory,a=Zd(e,$d(e,r,null,Qh(n),i,t,null,o.createRenderer(i,n),null,null,null));return e[t.index]=a}function Qh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Xh(e,t,n,i){if(n===0)return-1;let r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Zd(e,t){return e[sr]?e[Tu][Mt]=t:e[sr]=t,e[Tu]=t,t}function w(e=1){Kh(je(),Y(),vn()+e,!1)}function Kh(e,t,n,i){if(!i)if((t[$]&3)===3){let o=e.preOrderCheckHooks;o!==null&&Pa(t,o,n)}else{let o=e.preOrderHooks;o!==null&&Fa(t,o,0,n)}jn(n)}var sl=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(sl||{});function fd(e,t,n,i){let r=Z(null);try{let[o,a,c]=e.inputs[n],d=null;(a&sl.SignalBased)!==0&&(d=t[o][ut]),d!==null&&d.transformFn!==void 0?i=d.transformFn(i):c!==null&&(i=c.call(t,i)),e.setInput!==null?e.setInput(t,d,i,n,o):hh(t,d,o,i)}finally{Z(r)}}function Jh(e,t,n,i,r){let o=vn(),a=i&2;try{jn(-1),a&&t.length>Ve&&Kh(e,t,Ve,!1),me(a?2:0,r,n),n(i,r)}finally{jn(o),me(a?3:1,r,n)}}function al(e,t,n){o8(e,t,n),(n.flags&64)===64&&s8(e,t,n)}function Wd(e,t,n=Ft){let i=t.localNames;if(i!==null){let r=t.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],c=a===-1?n(t,e):e[a];e[r++]=c}}}function K5(e,t,n,i){let o=i.get(Vh,Fh)||n===yn.ShadowDom,a=e.selectRootElement(t,o);return J5(a),a}function J5(e){e8(e)}var e8=()=>null;function t8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function n8(e,t,n,i,r,o){let a=t[G];if(Yd(e,a,t,n,i)){Fn(e)&&r8(t,e.index);return}i8(e,t,n,i,r,o)}function i8(e,t,n,i,r,o){if(e.type&3){let a=Ft(e,t);n=t8(n),i=o!=null?o(i,e.value||"",n):i,r.setProperty(a,n,i)}else e.type&12}function r8(e,t){let n=St(t,e);n[$]&16||(n[$]|=64)}function o8(e,t,n){let i=n.directiveStart,r=n.directiveEnd;Fn(n)&&X5(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||za(n,t);let o=n.initialInputs;for(let a=i;a<r;a++){let c=e.data[a],d=$a(t,e,a,n);if(br(d,t),o!==null&&u8(t,a-i,d,c,n,o),Kt(c)){let f=St(n.index,t);f[Ne]=$a(t,e,a,n)}}}function s8(e,t,n){let i=n.directiveStart,r=n.directiveEnd,o=n.index,a=k1();try{jn(o);for(let c=i;c<r;c++){let d=e.data[c],f=t[c];ka(c),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&a8(d,f)}}finally{jn(-1),ka(a)}}function a8(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Gd(e,t){let n=e.directiveRegistry,i=null;if(n)for(let r=0;r<n.length;r++){let o=n[r];Zh(t,o.selectors,!1)&&(i??=[],Kt(o)?i.unshift(o):i.push(o))}return i}function l8(e,t,n,i,r,o){let a=Ft(e,t);c8(t[Me],a,o,e.value,n,i,r)}function c8(e,t,n,i,r,o,a){if(o==null)e.removeAttribute(t,r,n);else{let c=a==null?nr(o):a(o,i||"",r);e.setAttribute(t,r,c,n)}}function u8(e,t,n,i,r,o){let a=o[t];if(a!==null)for(let c=0;c<a.length;c+=2){let d=a[c],f=a[c+1];fd(i,n,d,f)}}function d8(e,t){let n=e[hi];if(!n)return;n.get(Jt,null)?.(t)}function Yd(e,t,n,i,r){let o=e.inputs?.[i],a=e.hostDirectiveInputs?.[i],c=!1;if(a)for(let d=0;d<a.length;d+=2){let f=a[d],h=a[d+1],g=t.data[f];fd(g,n[f],h,r),c=!0}if(o)for(let d of o){let f=n[d],h=t.data[d];fd(h,f,i,r),c=!0}return c}function p8(e,t){let n=St(t,e),i=n[G];f8(i,n);let r=n[Rt];r!==null&&n[mi]===null&&(n[mi]=jh(r,n[hi])),me(18),qd(i,n,n[Ne]),me(19,n[Ne])}function f8(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function qd(e,t,n){Aa(t);try{let i=e.viewQuery;i!==null&&pd(1,i,n);let r=e.template;r!==null&&Jh(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[yi]?.finishViewCreation(e),e.staticContentQueries&&Hh(e,t),e.staticViewQueries&&pd(2,e.viewQuery,n);let o=e.components;o!==null&&m8(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[$]&=-5,La()}}function m8(e,t){for(let n=0;n<t.length;n++)p8(e,t[n])}function Ao(e,t,n,i){let r=Z(null);try{let o=t.tView,c=e[$]&4096?4096:16,d=$d(e,o,n,c,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),f=e[t.index];d[bi]=f;let h=e[yi];return h!==null&&(d[yi]=h.createEmbeddedView(o)),qd(o,d,n),d}finally{Z(r)}}function fr(e,t){return!t||t.firstChild===null||Th(e)}var q1=!1,h8=new z(""),g8;function Qd(e,t){return g8(e,t)}var Bt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Bt||{});function ll(e){return(e.flags&32)===32}function ur(e,t,n,i,r){if(i!=null){let o,a=!1;Pt(i)?o=i:Xt(i)&&(a=!0,i=i[Rt]);let c=It(i);e===0&&n!==null?r==null?Gh(t,n,c):Wa(t,n,c,r||null,!0):e===1&&n!==null?Wa(t,n,c,r||null,!0):e===2?Yh(t,c,a):e===3&&t.destroyNode(c),o!=null&&M8(t,e,o,n,r)}}function b8(e,t){e0(e,t),t[Rt]=null,t[at]=null}function v8(e,t,n,i,r,o){i[Rt]=r,i[at]=t,dl(e,i,n,1,r,o)}function e0(e,t){t[Qt].changeDetectionScheduler?.notify(9),dl(e,t,t[Me],2,null,null)}function y8(e){let t=e[sr];if(!t)return Ku(e[G],e);for(;t;){let n=null;if(Xt(t))n=t[sr];else{let i=t[Qe];i&&(n=i)}if(!n){for(;t&&!t[Mt]&&t!==e;)Xt(t)&&Ku(t[G],t),t=t[We];t===null&&(t=e),Xt(t)&&Ku(t[G],t),n=t&&t[Mt]}t=n}}function Xd(e,t){let n=e[fo],i=n.indexOf(t);n.splice(i,1)}function cl(e,t){if(_i(t))return;let n=t[Me];n.destroyNode&&dl(e,t,n,3,null,null),y8(t)}function Ku(e,t){if(_i(t))return;let n=Z(null);try{t[$]&=-129,t[$]|=256,t[yt]&&As(t[yt]),C8(e,t),_8(e,t),t[G].type===1&&t[Me].destroy();let i=t[bi];if(i!==null&&Pt(t[We])){i!==t[We]&&Xd(i,t);let r=t[yi];r!==null&&r.detachView(e)}ud(t)}finally{Z(n)}}function _8(e,t){let n=e.cleanup,i=t[or];if(n!==null)for(let a=0;a<n.length-1;a+=2)if(typeof n[a]=="string"){let c=n[a+3];c>=0?i[c]():i[-c].unsubscribe(),a+=2}else{let c=i[n[a+1]];n[a].call(c)}i!==null&&(t[or]=null);let r=t[bn];if(r!==null){t[bn]=null;for(let a=0;a<r.length;a++){let c=r[a];c()}}let o=t[uo];if(o!==null){t[uo]=null;for(let a of o)a.destroy()}}function C8(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let r=t[n[i]];if(!(r instanceof xi)){let o=n[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let c=r[o[a]],d=o[a+1];me(4,c,d);try{d.call(c)}finally{me(5,c,d)}}else{me(4,r,o);try{o.call(r)}finally{me(5,r,o)}}}}}function t0(e,t,n){return w8(e,t.parent,n)}function w8(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[Rt];if(Fn(i)){let{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===yn.None||r===yn.Emulated)return null}return Ft(i,n)}function n0(e,t,n){return E8(e,t,n)}function D8(e,t,n){return e.type&40?Ft(e,n):null}var E8=D8,Q1;function ul(e,t,n,i){let r=t0(e,i,t),o=t[Me],a=i.parent||t[at],c=n0(a,i,t);if(r!=null)if(Array.isArray(n))for(let d=0;d<n.length;d++)Y1(o,r,n[d],c,!1);else Y1(o,r,n,c,!1);Q1!==void 0&&Q1(o,i,t,n,r)}function wo(e,t){if(t!==null){let n=t.type;if(n&3)return Ft(t,e);if(n&4)return md(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return wo(e,i);{let r=e[t.index];return Pt(r)?md(-1,r):It(r)}}else{if(n&128)return wo(e,t.next);if(n&32)return Qd(t,e)()||It(e[t.index]);{let i=i0(e,t);if(i!==null){if(Array.isArray(i))return i[0];let r=Nn(e[lt]);return wo(r,i)}else return wo(e,t.next)}}}return null}function i0(e,t){if(t!==null){let i=e[lt][at],r=t.projection;return i.projection[r]}return null}function md(e,t){let n=Qe+e+1;if(n<t.length){let i=t[n],r=i[G].firstChild;if(r!==null)return wo(i,r)}return t[Pn]}function Kd(e,t,n,i,r,o,a){for(;n!=null;){if(n.type===128){n=n.next;continue}let c=i[n.index],d=n.type;if(a&&t===0&&(c&&br(It(c),i),n.flags|=2),!ll(n))if(d&8)Kd(e,t,n.child,i,r,o,!1),ur(t,e,r,c,o);else if(d&32){let f=Qd(n,i),h;for(;h=f();)ur(t,e,r,h,o);ur(t,e,r,c,o)}else d&16?r0(e,t,i,n,r,o):ur(t,e,r,c,o);n=a?n.projectionNext:n.next}}function dl(e,t,n,i,r,o){Kd(n,i,e.firstChild,t,r,o,!1)}function x8(e,t,n){let i=t[Me],r=t0(e,n,t),o=n.parent||t[at],a=n0(o,n,t);r0(i,0,t,n,r,a)}function r0(e,t,n,i,r,o){let a=n[lt],d=a[at].projection[i.projection];if(Array.isArray(d))for(let f=0;f<d.length;f++){let h=d[f];ur(t,e,r,h,o)}else{let f=d,h=a[We];Th(i)&&(f.flags|=128),Kd(e,t,f,h,r,o,!0)}}function M8(e,t,n,i,r){let o=n[Pn],a=It(n);o!==a&&ur(t,e,i,o,r);for(let c=Qe;c<n.length;c++){let d=n[c];dl(d[G],d,e,t,i,o)}}function I8(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=i.indexOf("-")===-1?void 0:Bt.DashCase;r==null?e.removeStyle(n,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Bt.Important),e.setStyle(n,i,r,o))}}function Eo(e,t,n,i,r=!1){for(;n!==null;){if(n.type===128){n=r?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&i.push(It(o)),Pt(o)&&o0(o,i);let a=n.type;if(a&8)Eo(e,t,n.child,i);else if(a&32){let c=Qd(n,t),d;for(;d=c();)i.push(d)}else if(a&16){let c=i0(t,n);if(Array.isArray(c))i.push(...c);else{let d=Nn(t[lt]);Eo(d[G],d,c,i,!0)}}n=r?n.projectionNext:n.next}return i}function o0(e,t){for(let n=Qe;n<e.length;n++){let i=e[n],r=i[G].firstChild;r!==null&&Eo(i[G],i,r,t)}e[Pn]!==e[Rt]&&t.push(e[Pn])}function s0(e){if(e[wa]!==null){for(let t of e[wa])t.impl.addSequence(t);e[wa].length=0}}var a0=[];function S8(e){return e[yt]??T8(e)}function T8(e){let t=a0.pop()??Object.create(A8);return t.lView=e,t}function k8(e){e.lView[yt]!==e&&(e.lView=null,a0.push(e))}var A8=nt(Le({},Gi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{go(e.lView)},consumerOnSignalRead(){this.lView[yt]=this}});function L8(e){let t=e[yt]??Object.create(N8);return t.lView=e,t}var N8=nt(Le({},Gi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Nn(e.lView);for(;t&&!l0(t[G]);)t=Nn(t);t&&xa(t)},consumerOnSignalRead(){this.lView[yt]=this}});function l0(e){return e.type!==2}function c0(e){if(e[uo]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[uo])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[$]&8192)}}var O8=100;function Jd(e,t=0){let i=e[Qt].rendererFactory,r=!1;r||i.begin?.();try{R8(e,t)}finally{r||i.end?.()}}function R8(e,t){let n=Hu();try{Bu(!0),hd(e,t);let i=0;for(;lr(e);){if(i===O8)throw new j(103,!1);i++,hd(e,1)}}finally{Bu(n)}}function u0(e,t){ju(t?bo.Exhaustive:bo.OnlyDirtyViews);try{Jd(e)}finally{ju(bo.Off)}}function P8(e,t,n,i){if(_i(t))return;let r=t[$],o=!1,a=!1;Aa(t);let c=!0,d=null,f=null;o||(l0(e)?(f=S8(t),d=Yi(f)):ks()===null?(c=!1,f=L8(t),d=Yi(f)):t[yt]&&(As(t[yt]),t[yt]=null));try{Ru(t),I1(e.bindingStartIndex),n!==null&&Jh(e,t,n,2,i);let h=(r&3)===3;if(!o)if(h){let v=e.preOrderCheckHooks;v!==null&&Pa(t,v,null)}else{let v=e.preOrderHooks;v!==null&&Fa(t,v,0,null),Qu(t,0)}if(a||F8(t),c0(t),d0(t,0),e.contentQueries!==null&&Hh(e,t),!o)if(h){let v=e.contentCheckHooks;v!==null&&Pa(t,v)}else{let v=e.contentHooks;v!==null&&Fa(t,v,1),Qu(t,1)}j8(e,t);let g=e.components;g!==null&&f0(t,g,0);let y=e.viewQuery;if(y!==null&&pd(2,y,i),!o)if(h){let v=e.viewCheckHooks;v!==null&&Pa(t,v)}else{let v=e.viewHooks;v!==null&&Fa(t,v,2),Qu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ca]){for(let v of t[Ca])v();t[Ca]=null}o||(s0(t),t[$]&=-73)}catch(h){throw o||go(t),h}finally{f!==null&&(Qr(f,d),c&&k8(f)),La()}}function d0(e,t){for(let n=Ah(e);n!==null;n=Lh(n))for(let i=Qe;i<n.length;i++){let r=n[i];p0(r,t)}}function F8(e){for(let t=Ah(e);t!==null;t=Lh(t)){if(!(t[$]&2))continue;let n=t[fo];for(let i=0;i<n.length;i++){let r=n[i];xa(r)}}}function V8(e,t,n){me(18);let i=St(t,e);p0(i,n),me(19,i[Ne])}function p0(e,t){Ea(e)&&hd(e,t)}function hd(e,t){let i=e[G],r=e[$],o=e[yt],a=!!(t===0&&r&16);if(a||=!!(r&64&&t===0),a||=!!(r&1024),a||=!!(o?.dirty&&Xr(o)),a||=!1,o&&(o.dirty=!1),e[$]&=-9217,a)P8(i,e,i.template,e[Ne]);else if(r&8192){let c=Z(null);try{c0(e),d0(e,1);let d=i.components;d!==null&&f0(e,d,1),s0(e)}finally{Z(c)}}}function f0(e,t,n){for(let i=0;i<t.length;i++)V8(e,t[i],n)}function j8(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let r=n[i];if(r<0)jn(~r);else{let o=r,a=n[++i],c=n[++i];T1(a,o);let d=t[o];me(24,d),c(2,d),me(25,d)}}}finally{jn(-1)}}function ep(e,t){let n=Hu()?64:1088;for(e[Qt].changeDetectionScheduler?.notify(t);e;){e[$]|=n;let i=Nn(e);if(ar(e)&&!i)return e;e=i}return null}function m0(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function h0(e,t){let n=Qe+t;if(n<e.length)return e[n]}function Lo(e,t,n,i=!0){let r=t[G];if(H8(r,t,e,n),i){let a=md(n,e),c=t[Me],d=c.parentNode(e[Pn]);d!==null&&v8(r,e[at],c,t,d,a)}let o=t[mi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function g0(e,t){let n=xo(e,t);return n!==void 0&&cl(n[G],n),n}function xo(e,t){if(e.length<=Qe)return;let n=Qe+t,i=e[n];if(i){let r=i[bi];r!==null&&r!==e&&Xd(r,i),t>0&&(e[n-1][Mt]=i[Mt]);let o=oo(e,Qe+t);b8(i[G],i);let a=o[yi];a!==null&&a.detachView(o[G]),i[We]=null,i[Mt]=null,i[$]&=-129}return i}function H8(e,t,n,i){let r=Qe+i,o=n.length;i>0&&(n[r-1][Mt]=t),i<o-Qe?(t[Mt]=n[r],wu(n,Qe+i,t)):(n.push(t),t[Mt]=null),t[We]=n;let a=t[bi];a!==null&&n!==a&&b0(a,t);let c=t[yi];c!==null&&c.insertView(e),Ma(t),t[$]|=128}function b0(e,t){let n=e[fo],i=t[We];if(Xt(i))e[$]|=2;else{let r=i[We][lt];t[lt]!==r&&(e[$]|=2)}n===null?e[fo]=[t]:n.push(t)}var Bn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[G];return Eo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Ne]}set context(t){this._lView[Ne]=t}get destroyed(){return _i(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[We];if(Pt(t)){let n=t[po],i=n?n.indexOf(this):-1;i>-1&&(xo(t,i),oo(n,i))}this._attachedToViewContainer=!1}cl(this._lView[G],this._lView)}onDestroy(t){Pu(this._lView,t)}markForCheck(){ep(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[$]&=-129}reattach(){Ma(this._lView),this._lView[$]|=128}detectChanges(){this._lView[$]|=1024,Jd(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[hi].get(h8,q1)}catch{this.exhaustive=q1}}attachToViewContainerRef(){if(this._appRef)throw new j(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ar(this._lView),n=this._lView[bi];n!==null&&!t&&Xd(n,this._lView),e0(this._lView[G],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new j(902,!1);this._appRef=t;let n=ar(this._lView),i=this._lView[bi];i!==null&&!n&&b0(i,this._lView),Ma(this._lView)}};function tp(e){return lr(e._lView)||!!(e._lView[$]&64)}function np(e){xa(e._lView)}var No=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=B8;constructor(n,i,r){this._declarationLView=n,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,i){return this.createEmbeddedViewImpl(n,i)}createEmbeddedViewImpl(n,i,r){let o=Ao(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:i,dehydratedView:r});return new Bn(o)}}return e})();function B8(){return v0(pt(),Y())}function v0(e,t){return e.type&4?new No(t,e,tl(e,t)):null}function Oo(e,t,n,i,r){let o=e.data[t];if(o===null)o=U8(e,t,n,i,r),S1()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=i,o.attrs=r;let a=x1();o.injectorIndex=a===null?-1:a.injectorIndex}return Vn(o,!0),o}function U8(e,t,n,i,r){let o=Vu(),a=Sa(),c=a?o:o&&o.parent,d=e.data[t]=$8(e,c,n,t,i,r);return z8(e,d,o,a),d}function z8(e,t,n,i){e.firstChild===null&&(e.firstChild=t),n!==null&&(i?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function $8(e,t,n,i,r,o){let a=t?t.injectorIndex:-1,c=0;return Fu()&&(c|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var LS=new RegExp(`^(\\d+)*(${w5}|${C5})*(.*)`);function Z8(e){let t=e[Au]??[],i=e[We][Me],r=[];for(let o of t)o.data[Ph]!==void 0?r.push(o):W8(o,i);e[Au]=r}function W8(e,t){let n=0,i=e.firstChild;if(i){let r=e.data[Rh];for(;n<r;){let o=i.nextSibling;Yh(t,i,!1),i=o,n++}}}var G8=()=>null,Y8=()=>null;function Ga(e,t){return G8(e,t)}function y0(e,t,n){return Y8(e,t,n)}var _0=class{},pl=class{},gd=class{resolveComponentFactory(t){throw new j(917,!1)}},Si=class{static NULL=new gd},Mi=class{},fl=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>q8()}return e})();function q8(){let e=Y(),t=pt(),n=St(t.index,e);return(Xt(n)?n:e)[Me]}var C0=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>null})}return e})();var Va={},bd=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){let r=this.injector.get(t,Va,i);return r!==Va||n===Va?r:this.parentInjector.get(t,n,i)}};function vd(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(t!==null)for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number")o=c;else if(o==1)r=pa(r,c);else if(o==2){let d=c,f=t[++a];i=pa(i,d+": "+f+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function Be(e,t=0){let n=Y();if(n===null)return V(e,t);let i=pt();return Mh(i,n,qe(e),t)}function ip(e,t,n,i,r){let o=i===null?null:{"":-1},a=r(e,n);if(a!==null){let c=a,d=null,f=null;for(let h of a)if(h.resolveHostDirectives!==null){[c,d,f]=h.resolveHostDirectives(a);break}K8(e,t,n,c,o,d,f)}o!==null&&i!==null&&Q8(n,i,o)}function Q8(e,t,n){let i=e.localNames=[];for(let r=0;r<t.length;r+=2){let o=n[t[r+1]];if(o==null)throw new j(-301,!1);i.push(t[r],o)}}function X8(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function K8(e,t,n,i,r,o,a){let c=i.length,d=!1;for(let y=0;y<c;y++){let v=i[y];!d&&Kt(v)&&(d=!0,X8(e,n,y)),ld(za(n,t),e,v.type)}r_(n,e.data.length,c);for(let y=0;y<c;y++){let v=i[y];v.providersResolver&&v.providersResolver(v)}let f=!1,h=!1,g=Xh(e,t,c,null);c>0&&(n.directiveToIndex=new Map);for(let y=0;y<c;y++){let v=i[y];if(n.mergedAttrs=pr(n.mergedAttrs,v.hostAttrs),e_(e,n,t,g,v),i_(g,v,r),a!==null&&a.has(v)){let[I,A]=a.get(v);n.directiveToIndex.set(v.type,[g,I+n.directiveStart,A+n.directiveStart])}else(o===null||!o.has(v))&&n.directiveToIndex.set(v.type,g);v.contentQueries!==null&&(n.flags|=4),(v.hostBindings!==null||v.hostAttrs!==null||v.hostVars!==0)&&(n.flags|=64);let _=v.type.prototype;!f&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),f=!0),!h&&(_.ngOnChanges||_.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}J8(e,n,o)}function J8(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let r=e.data[i];if(n===null||!n.has(r))X1(0,t,r,i),X1(1,t,r,i),J1(t,i,!1);else{let o=n.get(r);K1(0,t,o,i),K1(1,t,o,i),J1(t,i,!0)}}}function X1(e,t,n,i){let r=e===0?n.inputs:n.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;e===0?a=t.inputs??={}:a=t.outputs??={},a[o]??=[],a[o].push(i),w0(t,o)}}function K1(e,t,n,i){let r=e===0?n.inputs:n.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],c;e===0?c=t.hostDirectiveInputs??={}:c=t.hostDirectiveOutputs??={},c[a]??=[],c[a].push(i,o),w0(t,a)}}function w0(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function J1(e,t,n){let{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(i===null||!n&&r===null||n&&o===null||Ud(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let a=null,c=0;for(;c<i.length;){let d=i[c];if(d===0){c+=4;continue}else if(d===5){c+=2;continue}else if(typeof d=="number")break;if(!n&&r.hasOwnProperty(d)){let f=r[d];for(let h of f)if(h===t){a??=[],a.push(d,i[c+1]);break}}else if(n&&o.hasOwnProperty(d)){let f=o[d];for(let h=0;h<f.length;h+=2)if(f[h]===t){a??=[],a.push(f[h+1],i[c+1]);break}}c+=2}e.initialInputs??=[],e.initialInputs.push(a)}function e_(e,t,n,i,r){e.data[i]=r;let o=r.factory||(r.factory=Ln(r.type,!0)),a=new xi(o,Kt(r),Be);e.blueprint[i]=a,n[i]=a,t_(e,t,i,Xh(e,n,r.hostVars,wt),r)}function t_(e,t,n,i,r){let o=r.hostBindings;if(o){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let c=~t.index;n_(a)!=c&&a.push(c),a.push(n,i,o)}}function n_(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function i_(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Kt(t)&&(n[""]=e)}}function r_(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function D0(e,t,n,i,r,o,a,c){let d=t.consts,f=Vt(d,a),h=Oo(t,e,2,i,f);return o&&ip(t,n,h,Vt(d,c),r),h.mergedAttrs=pr(h.mergedAttrs,h.attrs),h.attrs!==null&&vd(h,h.attrs,!1),h.mergedAttrs!==null&&vd(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function E0(e,t){Pd(e,t),Da(t)&&e.queries.elementEnd(t)}function rp(e){return ml(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function x0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),i;for(;!(i=n.next()).done;)t(i.value)}}function ml(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function hl(e,t,n){return e[t]=n}function o_(e,t){return e[t]}function Ct(e,t,n){if(n===wt)return!1;let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function Ya(e,t,n,i){let r=Ct(e,t,n);return Ct(e,t+1,i)||r}function s_(e,t,n,i,r){let o=Ya(e,t,n,i);return Ct(e,t+2,r)||o}function a_(e,t,n,i,r,o){let a=Ya(e,t,n,i);return Ya(e,t+2,r,o)||a}function Ju(e,t,n){return function i(r){let o=Fn(e)?St(e.index,t):t;ep(o,5);let a=t[Ne],c=eh(t,a,n,r),d=i.__ngNextListenerFn__;for(;d;)c=eh(t,a,d,r)&&c,d=d.__ngNextListenerFn__;return c}}function eh(e,t,n,i){let r=Z(null);try{return me(6,t,n),n(i)!==!1}catch(o){return d8(e,o),!1}finally{me(7,t,n),Z(r)}}function l_(e,t,n,i,r,o,a,c){let d=mo(e),f=!1,h=null;if(!i&&d&&(h=c_(t,n,o,e.index)),h!==null){let g=h.__ngLastListenerFn__||h;g.__ngNextListenerFn__=a,h.__ngLastListenerFn__=a,f=!0}else{let g=Ft(e,n),y=i?i(g):g;E5(n,y,o,c);let v=r.listen(y,o,c),_=i?I=>i(It(I[e.index])):e.index;M0(_,t,n,o,c,v,!1)}return f}function c_(e,t,n,i){let r=e.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===n&&r[o+1]===i){let c=t[or],d=r[o+2];return c&&c.length>d?c[d]:null}typeof a=="string"&&(o+=2)}return null}function M0(e,t,n,i,r,o,a){let c=t.firstCreatePass?y1(t):null,d=v1(n),f=d.length;d.push(r,o),c&&c.push(i,e,f,(f+1)*(a?-1:1))}function th(e,t,n,i,r,o){let a=t[n],c=t[G],f=c.data[n].outputs[i],g=a[f].subscribe(o);M0(e.index,c,t,r,o,g,!0)}var yd=Symbol("BINDING");var _d=class extends Si{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=fi(t);return new Mo(n,this.ngModule)}};function u_(e){return Object.keys(e).map(t=>{let[n,i,r]=e[t],o={propName:n,templateName:t,isSignal:(i&sl.SignalBased)!==0};return r&&(o.transform=r),o})}function d_(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function p_(e,t,n){let i=t instanceof dt?t:t?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new bd(n,i):n}function f_(e){let t=e.get(Mi,null);if(t===null)throw new j(407,!1);let n=e.get(C0,null),i=e.get(qt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i,ngReflect:!1}}function m_(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Wh(t,n,n==="svg"?f1:n==="math"?m1:null)}var Mo=class extends pl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=u_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=d_(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=U5(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,i,r,o,a){me(22);let c=Z(null);try{let d=this.componentDef,f=h_(i,d,a,o),h=p_(d,r||this.ngModule,t),g=f_(h),y=g.rendererFactory.createRenderer(null,d),v=i?K5(y,i,d.encapsulation,h):m_(d,y),_=a?.some(nh)||o?.some(k=>typeof k!="function"&&k.bindings.some(nh)),I=$d(null,f,null,512|Qh(d),null,null,g,y,h,null,jh(v,h,!0));I[Ve]=v,Aa(I);let A=null;try{let k=D0(Ve,f,I,"#host",()=>f.directiveRegistry,!0,0);v&&(qh(y,v,k),br(v,I)),al(f,I,k),Hd(f,k,I),E0(f,k),n!==void 0&&b_(k,this.ngContentSelectors,n),A=St(k.index,I),I[Ne]=A[Ne],qd(f,I,null)}catch(k){throw A!==null&&ud(A),ud(I),k}finally{me(23),La()}return new qa(this.componentType,I,!!_)}finally{Z(c)}}};function h_(e,t,n,i){let r=e?["ng-version","20.0.5"]:z5(t.selectors[0]),o=null,a=null,c=0;if(n)for(let h of n)c+=h[yd].requiredVars,h.create&&(h.targetIdx=0,(o??=[]).push(h)),h.update&&(h.targetIdx=0,(a??=[]).push(h));if(i)for(let h=0;h<i.length;h++){let g=i[h];if(typeof g!="function")for(let y of g.bindings){c+=y[yd].requiredVars;let v=h+1;y.create&&(y.targetIdx=v,(o??=[]).push(y)),y.update&&(y.targetIdx=v,(a??=[]).push(y))}}let d=[t];if(i)for(let h of i){let g=typeof h=="function"?h:h.type,y=xu(g);d.push(y)}return zd(0,null,g_(o,a),1,c,d,null,null,null,[r],null)}function g_(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let i of e)i.create();if(n&2&&t)for(let i of t)i.update()}}function nh(e){let t=e[yd].kind;return t==="input"||t==="twoWay"}var qa=class extends _0{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,i){super(),this._rootLView=n,this._hasInputBindings=i,this._tNode=ho(n[G],Ve),this.location=tl(this._tNode,n),this.instance=St(this._tNode.index,n)[Ne],this.hostView=this.changeDetectorRef=new Bn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let r=this._rootLView,o=Yd(i,r[G],r,t,n);this.previousInputValues.set(t,n);let a=St(i.index,r);ep(a,1)}get injector(){return new Ei(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function b_(e,t,n){let i=e.projection=[];for(let r=0;r<t.length;r++){let o=n[r];i.push(o!=null&&o.length?Array.from(o):null)}}var _r=(()=>{class e{static __NG_ELEMENT_ID__=v_}return e})();function v_(){let e=pt();return __(e,Y())}var y_=_r,I0=class extends y_{_lContainer;_hostTNode;_hostLView;constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return tl(this._hostTNode,this._hostLView)}get injector(){return new Ei(this._hostTNode,this._hostLView)}get parentInjector(){let t=Fd(this._hostTNode,this._hostLView);if(_h(t)){let n=Ba(t,this._hostLView),i=Ha(t),r=n[G].data[i+8];return new Ei(r,n)}else return new Ei(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ih(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Qe}createEmbeddedView(t,n,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=Ga(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(c,r,fr(this._hostTNode,a)),c}createComponent(t,n,i,r,o,a,c){let d=t&&!Q4(t),f;if(d)f=n;else{let A=n||{};f=A.index,i=A.injector,r=A.projectableNodes,o=A.environmentInjector||A.ngModuleRef,a=A.directives,c=A.bindings}let h=d?t:new Mo(fi(t)),g=i||this.parentInjector;if(!o&&h.ngModule==null){let k=(d?g:this.parentInjector).get(dt,null);k&&(o=k)}let y=fi(h.componentType??{}),v=Ga(this._lContainer,y?.id??null),_=v?.firstChild??null,I=h.create(g,r,_,o,a,c);return this.insertImpl(I.hostView,f,fr(this._hostTNode,v)),I}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let r=t._lView;if(h1(r)){let c=this.indexOf(t);if(c!==-1)this.detach(c);else{let d=r[We],f=new I0(d,d[at],d[We]);f.detach(f.indexOf(t))}}let o=this._adjustIndex(n),a=this._lContainer;return Lo(a,r,o,i),t.attachToViewContainerRef(),wu(ed(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ih(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=xo(this._lContainer,n);i&&(oo(ed(this._lContainer),n),cl(i[G],i))}detach(t){let n=this._adjustIndex(t,-1),i=xo(this._lContainer,n);return i&&oo(ed(this._lContainer),n)!=null?new Bn(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function ih(e){return e[po]}function ed(e){return e[po]||(e[po]=[])}function __(e,t){let n,i=t[e.index];return Pt(i)?n=i:(n=m0(i,t,null,e),t[e.index]=n,Zd(t,n)),w_(n,t,e,i),new I0(n,e,t)}function C_(e,t){let n=e[Me],i=n.createComment(""),r=Ft(t,e),o=n.parentNode(r);return Wa(n,o,i,n.nextSibling(r),!1),i}var w_=x_,D_=()=>!1;function E_(e,t,n){return D_(e,t,n)}function x_(e,t,n,i){if(e[Pn])return;let r;n.type&8?r=It(i):r=C_(t,n),e[Pn]=r}var rh=new Set;function Cr(e){rh.has(e)||(rh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Io=class{};var So=class extends Io{injector;componentFactoryResolver=new _d(this);instance=null;constructor(t){super();let n=new ui([...t.providers,{provide:Io,useValue:this},{provide:Si,useValue:this.componentFactoryResolver}],t.parent||lo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function S0(e,t,n=null){return new So({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var M_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Mu(!1,n.type),r=i.length>0?S0([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=W({token:e,providedIn:"environment",factory:()=>new e(V(dt))})}return e})();function le(e){return gr(()=>{let t=T0(e),n=nt(Le({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(M_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yn.Emulated,styles:e.styles||st,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Cr("NgStandalone"),k0(n);let i=e.dependencies;return n.directiveDefs=oh(i,!1),n.pipeDefs=oh(i,!0),n.id=A_(n),n})}function I_(e){return fi(e)||xu(e)}function S_(e){return e!==null}function Ti(e){return gr(()=>({type:e.type,bootstrap:e.bootstrap||st,declarations:e.declarations||st,imports:e.imports||st,exports:e.exports||st,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function T_(e,t){if(e==null)return Rn;let n={};for(let i in e)if(e.hasOwnProperty(i)){let r=e[i],o,a,c,d;Array.isArray(r)?(c=r[0],o=r[1],a=r[2]??o,d=r[3]||null):(o=r,a=r,c=sl.None,d=null),n[o]=[i,c,d],t[o]=a}return n}function k_(e){if(e==null)return Rn;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function zn(e){return gr(()=>{let t=T0(e);return k0(t),t})}function gl(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function T0(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Rn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||st,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:T_(e.inputs,t),outputs:k_(e.outputs),debugInfo:null}}function k0(e){e.features?.forEach(t=>t(e))}function oh(e,t){if(!e)return null;let n=t?a1:I_;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(S_)}function A_(e){let t=0,n=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let o of i.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function L_(e){return Object.getPrototypeOf(e.prototype).constructor}function Ge(e){let t=L_(e.type),n=!0,i=[e];for(;t;){let r;if(Kt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new j(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);let a=e;a.inputs=td(e.inputs),a.declaredInputs=td(e.declaredInputs),a.outputs=td(e.outputs);let c=r.hostBindings;c&&F_(e,c);let d=r.viewQuery,f=r.contentQueries;if(d&&R_(e,d),f&&P_(e,f),N_(e,r),t1(e.outputs,r.outputs),Kt(r)&&r.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let c=o[a];c&&c.ngInherit&&c(e),c===Ge&&(n=!1)}}t=Object.getPrototypeOf(t)}O_(i)}function N_(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function O_(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=pr(r.hostAttrs,n=pr(n,r.hostAttrs))}}function td(e){return e===Rn?{}:e===st?[]:e}function R_(e,t){let n=e.viewQuery;n?e.viewQuery=(i,r)=>{t(i,r),n(i,r)}:e.viewQuery=t}function P_(e,t){let n=e.contentQueries;n?e.contentQueries=(i,r,o)=>{t(i,r,o),n(i,r,o)}:e.contentQueries=t}function F_(e,t){let n=e.hostBindings;n?e.hostBindings=(i,r)=>{t(i,r),n(i,r)}:e.hostBindings=t}function V_(e,t,n,i,r,o,a,c,d){let f=t.consts,h=Oo(t,e,4,a||null,c||null);Ia()&&ip(t,n,h,Vt(f,d),Gd),h.mergedAttrs=pr(h.mergedAttrs,h.attrs),Pd(t,h);let g=h.tView=zd(2,h,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,f,null);return t.queries!==null&&(t.queries.template(t,h),g.queries=t.queries.embeddedTView(h)),h}function mr(e,t,n,i,r,o,a,c,d,f,h){let g=n+Ve,y=t.firstCreatePass?V_(g,t,e,i,r,o,a,c,f):t.data[g];d&&(y.flags|=d),Vn(y,!1);let v=j_(t,e,y,n);vo()&&ul(t,e,v,y),br(v,e);let _=m0(v,e,v,y);return e[g]=_,Zd(e,_),E_(_,y,e),mo(y)&&al(t,e,y),f!=null&&Wd(e,y,h),y}function ae(e,t,n,i,r,o,a,c){let d=Y(),f=je(),h=Vt(f.consts,o);return mr(d,f,e,t,n,i,r,h,void 0,a,c),ae}var j_=H_;function H_(e,t,n,i){return yo(!0),t[Me].createComment("")}var op=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(op||{}),Ro=new z(""),A0=!1,Cd=class extends Ot{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,d1()&&(this.destroyRef=F(wi,{optional:!0})??void 0,this.pendingTasks=F(Di,{optional:!0})??void 0)}emit(t){let n=Z(null);try{super.next(t)}finally{Z(n)}}subscribe(t,n,i){let r=t,o=n||(()=>null),a=i;if(t&&typeof t=="object"){let d=t;r=d.next?.bind(d),o=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let c=super.subscribe({next:r,error:o,complete:a});return t instanceof it&&t.add(c),c}wrapInTimeout(t){return n=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},K=Cd;function L0(e){let t,n;function i(){e=Co;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function sh(e){return queueMicrotask(()=>e()),()=>{e=Co}}var sp="isAngularZone",Qa=sp+"_ID",B_=0,He=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new K(!1);onMicrotaskEmpty=new K(!1);onStable=new K(!1);onError=new K(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=A0}=t;if(typeof Zone>"u")throw new j(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,$_(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(sp)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new j(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new j(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,U_,Co,Co);try{return o.runTask(a,n,i)}finally{o.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},U_={};function ap(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function z_(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){L0(()=>{e.callbackScheduled=!1,wd(e),e.isCheckStableRunning=!0,ap(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),wd(e)}function $_(e){let t=()=>{z_(e)},n=B_++;e._inner=e._inner.fork({name:"angular",properties:{[sp]:!0,[Qa]:n,[Qa+n]:!0},onInvokeTask:(i,r,o,a,c,d)=>{if(Z_(d))return i.invokeTask(o,a,c,d);try{return ah(e),i.invokeTask(o,a,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),lh(e)}},onInvoke:(i,r,o,a,c,d,f)=>{try{return ah(e),i.invoke(o,a,c,d,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!W_(d)&&t(),lh(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,wd(e),ap(e)):a.change=="macroTask"&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}function wd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ah(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function lh(e){e._nesting--,ap(e)}var Xa=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new K;onMicrotaskEmpty=new K;onStable=new K;onError=new K;run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}};function Z_(e){return N0(e,"__ignore_ng_zone__")}function W_(e){return N0(e,"__scheduler_tick__")}function N0(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var O0=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();var lp=new z("");function bl(e){return!!e&&typeof e.then=="function"}function cp(e){return!!e&&typeof e.subscribe=="function"}var R0=new z("");var up=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i});appInits=F(R0,{optional:!0})??[];injector=F(Gt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=rr(this.injector,r);if(bl(o))n.push(o);else if(cp(o)){let a=new Promise((c,d)=>{o.subscribe({complete:c,error:d})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),n.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),P0=new z("");function F0(){Hc(()=>{let e="";throw new j(600,e)})}function V0(e){return e.isBoundToModule}var G_=10;var ki=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=F(Jt);afterRenderManager=F(O0);zonelessEnabled=F(Na);rootEffectScheduler=F(qu);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ot;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=F(Di);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(rt(n=>!n))}constructor(){F(Ro,{optional:!0})}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{n.unsubscribe()})}_injector=F(dt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,i){return this.bootstrapImpl(n,i)}bootstrapImpl(n,i,r=Gt.NULL){return this._injector.get(He).run(()=>{me(10);let a=n instanceof pl;if(!this._injector.get(up).done){let _="";throw new j(405,_)}let d;a?d=n:d=this._injector.get(Si).resolveComponentFactory(n),this.componentTypes.push(d.componentType);let f=V0(d)?void 0:this._injector.get(Io),h=i||d.selector,g=d.create(r,[],h,f),y=g.location.nativeElement,v=g.injector.get(lp,null);return v?.registerApplication(y),g.onDestroy(()=>{this.detachView(g.hostView),Do(this.components,g),v?.unregisterApplication(y)}),this._loadComponent(g),me(11,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){me(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(op.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new j(101,!1);let n=Z(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Z(n),this.afterTick.next(),me(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Mi,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<G_;)me(14),this.synchronizeOnce(),me(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!lr(r))continue;let o=i&&!this.zonelessEnabled?0:1;Jd(r,o),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>lr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;Do(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(n),this._injector.get(P0,[]).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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Do(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new j(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Do(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function _n(e,t,n,i){let r=Y(),o=Ci();if(Ct(r,o,t)){let a=je(),c=Wu();l8(c,r,e,t,n,i)}return _n}var Dd=class{destroy(t){}updateValue(t,n){}swap(t,n){let i=Math.min(t,n),r=Math.max(t,n),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(t,n){this.attach(n,this.detach(t))}};function nd(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function Y_(e,t,n){let i,r,o=0,a=e.length-1,c=void 0;if(Array.isArray(t)){let d=t.length-1;for(;o<=a&&o<=d;){let f=e.at(o),h=t[o],g=nd(o,f,o,h,n);if(g!==0){g<0&&e.updateValue(o,h),o++;continue}let y=e.at(a),v=t[d],_=nd(a,y,d,v,n);if(_!==0){_<0&&e.updateValue(a,v),a--,d--;continue}let I=n(o,f),A=n(a,y),k=n(o,h);if(Object.is(k,A)){let ne=n(d,v);Object.is(ne,I)?(e.swap(o,a),e.updateValue(a,v),d--,a--):e.move(a,o),e.updateValue(o,h),o++;continue}if(i??=new Ka,r??=uh(e,o,a,n),Ed(e,i,o,k))e.updateValue(o,h),o++,a++;else if(r.has(k))i.set(I,e.detach(o)),a--;else{let ne=e.create(o,t[o]);e.attach(o,ne),o++,a++}}for(;o<=d;)ch(e,i,n,o,t[o]),o++}else if(t!=null){let d=t[Symbol.iterator](),f=d.next();for(;!f.done&&o<=a;){let h=e.at(o),g=f.value,y=nd(o,h,o,g,n);if(y!==0)y<0&&e.updateValue(o,g),o++,f=d.next();else{i??=new Ka,r??=uh(e,o,a,n);let v=n(o,g);if(Ed(e,i,o,v))e.updateValue(o,g),o++,a++,f=d.next();else if(!r.has(v))e.attach(o,e.create(o,g)),o++,a++,f=d.next();else{let _=n(o,h);i.set(_,e.detach(o)),a--}}}for(;!f.done;)ch(e,i,n,e.length,f.value),f=d.next()}for(;o<=a;)e.destroy(e.detach(a--));i?.forEach(d=>{e.destroy(d)})}function Ed(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function ch(e,t,n,i,r){if(Ed(e,t,i,n(i,r)))e.updateValue(i,r);else{let o=e.create(i,r);e.attach(i,o)}}function uh(e,t,n,i){let r=new Set;for(let o=t;o<=n;o++)r.add(i(o,e.at(o)));return r}var Ka=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let i=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,i]of this.kvMap)if(t(i,n),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,n)}}};function Se(e,t,n,i,r,o,a,c){Cr("NgControlFlow");let d=Y(),f=je(),h=Vt(f.consts,o);return mr(d,f,e,t,n,i,r,h,256,a,c),dp}function dp(e,t,n,i,r,o,a,c){Cr("NgControlFlow");let d=Y(),f=je(),h=Vt(f.consts,o);return mr(d,f,e,t,n,i,r,h,512,a,c),dp}function Te(e,t){Cr("NgControlFlow");let n=Y(),i=Ci(),r=n[i]!==wt?n[i]:-1,o=r!==-1?Ja(n,Ve+r):void 0,a=0;if(Ct(n,i,e)){let c=Z(null);try{if(o!==void 0&&g0(o,a),e!==-1){let d=Ve+e,f=Ja(n,d),h=Sd(n[G],d),g=y0(f,h,n),y=Ao(n,h,t,{dehydratedView:g});Lo(f,y,a,fr(h,g))}}finally{Z(c)}}else if(o!==void 0){let c=h0(o,a);c!==void 0&&(c[Ne]=t)}}var xd=class{lContainer;$implicit;$index;constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-Qe}};var Md=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,i){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=i}};function vl(e,t,n,i,r,o,a,c,d,f,h,g,y){Cr("NgControlFlow");let v=Y(),_=je(),I=d!==void 0,A=Y(),k=c?a.bind(A[lt][Ne]):a,ne=new Md(I,k);A[Ve+e]=ne,mr(v,_,e+1,t,n,i,r,Vt(_.consts,o),256),I&&mr(v,_,e+2,d,f,h,g,Vt(_.consts,y),512)}var Id=class extends Dd{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,i){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-Qe}at(t){return this.getLView(t)[Ne].$implicit}attach(t,n){let i=n[mi];this.needsIndexUpdate||=t!==this.length,Lo(this.lContainer,n,t,fr(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,q_(this.lContainer,t)}create(t,n){let i=Ga(this.lContainer,this.templateTNode.tView.ssrId),r=Ao(this.hostLView,this.templateTNode,new xd(this.lContainer,n,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(t){cl(t[G],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Ne].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Ne].$index=t}getLView(t){return Q_(this.lContainer,t)}};function yl(e){let t=Z(null),n=vn();try{let i=Y(),r=i[G],o=i[n],a=n+1,c=Ja(i,a);if(o.liveCollection===void 0){let f=Sd(r,a);o.liveCollection=new Id(c,i,f)}else o.liveCollection.reset();let d=o.liveCollection;if(Y_(d,e,o.trackByFn),d.updateIndexes(),o.hasEmptyBlock){let f=Ci(),h=d.length===0;if(Ct(i,f,h)){let g=n+2,y=Ja(i,g);if(h){let v=Sd(r,g),_=y0(y,v,i),I=Ao(i,v,void 0,{dehydratedView:_});Lo(y,I,0,fr(v,_))}else r.firstUpdatePass&&Z8(y),g0(y,0)}}}finally{Z(t)}}function Ja(e,t){return e[t]}function q_(e,t){return xo(e,t)}function Q_(e,t){return h0(e,t)}function Sd(e,t){return ho(e,t)}function E(e,t,n){let i=Y(),r=Ci();if(Ct(i,r,t)){let o=je(),a=Wu();n8(a,i,e,t,i[Me],n)}return E}function Td(e,t,n,i,r){Yd(t,e,n,r?"class":"style",i)}function D(e,t,n,i){let r=Y(),o=je(),a=Ve+e,c=r[Me],d=o.firstCreatePass?D0(a,o,r,t,Gd,Ia(),n,i):o.data[a],f=X_(o,r,d,c,t,e);r[a]=f;let h=mo(d);return Vn(d,!0),qh(c,f,d),!ll(d)&&vo()&&ul(o,r,f,d),(_1()===0||h)&&br(f,r),C1(),h&&(al(o,r,d),Hd(o,d,r)),i!==null&&Wd(r,d),D}function S(){let e=pt();Sa()?Ta():(e=e.parent,Vn(e,!1));let t=e;D1(t)&&E1(),w1();let n=je();return n.firstCreatePass&&E0(n,t),t.classesWithoutHost!=null&&n5(t)&&Td(n,t,Y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&i5(t)&&Td(n,t,Y(),t.stylesWithoutHost,!1),S}function ee(e,t,n,i){return D(e,t,n,i),S(),ee}var X_=(e,t,n,i,r,o)=>(yo(!0),Wh(i,r,P1()));function K_(e,t,n,i,r){let o=t.consts,a=Vt(o,i),c=Oo(t,e,8,"ng-container",a);a!==null&&vd(c,a,!0);let d=Vt(o,r);return Ia()&&ip(t,n,c,d,Gd),c.mergedAttrs=pr(c.mergedAttrs,c.attrs),t.queries!==null&&t.queries.elementStart(t,c),c}function Po(e,t,n){let i=Y(),r=je(),o=e+Ve,a=r.firstCreatePass?K_(o,r,i,t,n):r.data[o];Vn(a,!0);let c=J_(r,i,a,e);return i[o]=c,vo()&&ul(r,i,c,a),br(c,i),mo(a)&&(al(r,i,a),Hd(r,a,i)),n!=null&&Wd(i,a),Po}function Fo(){let e=pt(),t=je();return Sa()?Ta():(e=e.parent,Vn(e,!1)),t.firstCreatePass&&(Pd(t,e),Da(e)&&t.queries.elementEnd(e)),Fo}function tn(e,t,n){return Po(e,t,n),Fo(),tn}var J_=(e,t,n,i)=>(yo(!0),W5(t[Me],""));function _e(){return Y()}var Vo="en-US";var e9=Vo;function j0(e){typeof e=="string"&&(e9=e.toLowerCase().replace(/_/g,"-"))}function R(e,t,n){let i=Y(),r=je(),o=pt();return t9(r,i,i[Me],o,e,t,n),R}function t9(e,t,n,i,r,o,a){let c=!0,d=null;if((i.type&3||a)&&(d??=Ju(i,t,o),l_(i,e,t,a,n,r,o,d)&&(c=!1)),c){let f=i.outputs?.[r],h=i.hostDirectiveOutputs?.[r];if(h&&h.length)for(let g=0;g<h.length;g+=2){let y=h[g],v=h[g+1];d??=Ju(i,t,o),th(i,t,y,v,r,d)}if(f&&f.length)for(let g of f)d??=Ju(i,t,o),th(i,t,g,r,r,d)}}function x(e=1){return R1(e)}function n9(e,t){let n=null,i=F5(e);for(let r=0;r<t.length;r++){let o=t[r];if(o==="*"){n=r;continue}if(i===null?Zh(e,o,!0):H5(i,o))return r}return n}function pp(e){let t=Y()[lt][at];if(!t.projection){let n=e?e.length:1,i=t.projection=o1(n,null),r=i.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let a=e?n9(o,e):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function fp(e,t=0,n,i,r,o){let a=Y(),c=je(),d=i?e+1:null;d!==null&&mr(a,c,d,i,r,o,null,n);let f=Oo(c,Ve+e,16,null,n||null);f.projection===null&&(f.projection=t),Ta();let g=!a[mi]||Fu();a[lt][at].projection[f.projection]===null&&d!==null?i9(a,c,d):g&&!ll(f)&&x8(c,a,f)}function i9(e,t,n){let i=Ve+n,r=t.data[i],o=e[i],a=Ga(o,r.tView.ssrId),c=Ao(e,r,void 0,{dehydratedView:a});Lo(o,c,0,fr(r,a))}function Cn(e){let t=M1();return Nu(t,Ve+e)}function Ra(e,t){return e<<17|t<<2}function Ii(e){return e>>17&32767}function r9(e){return(e&2)==2}function o9(e,t){return e&131071|t<<17}function kd(e){return e|2}function hr(e){return(e&131068)>>2}function id(e,t){return e&-131069|t<<2}function s9(e){return(e&1)===1}function Ad(e){return e|1}function a9(e,t,n,i,r,o){let a=o?t.classBindings:t.styleBindings,c=Ii(a),d=hr(a);e[i]=n;let f=!1,h;if(Array.isArray(n)){let g=n;h=g[1],(h===null||ir(g,h)>0)&&(f=!0)}else h=n;if(r)if(d!==0){let y=Ii(e[c+1]);e[i+1]=Ra(y,c),y!==0&&(e[y+1]=id(e[y+1],i)),e[c+1]=o9(e[c+1],i)}else e[i+1]=Ra(c,0),c!==0&&(e[c+1]=id(e[c+1],i)),c=i;else e[i+1]=Ra(d,0),c===0?c=i:e[d+1]=id(e[d+1],i),d=i;f&&(e[i+1]=kd(e[i+1])),dh(e,h,i,!0),dh(e,h,i,!1),l9(t,h,e,i,o),a=Ra(c,d),o?t.classBindings=a:t.styleBindings=a}function l9(e,t,n,i,r){let o=r?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&ir(o,t)>=0&&(n[i+1]=Ad(n[i+1]))}function dh(e,t,n,i){let r=e[n+1],o=t===null,a=i?Ii(r):hr(r),c=!1;for(;a!==0&&(c===!1||o);){let d=e[a],f=e[a+1];c9(d,t)&&(c=!0,e[a+1]=i?Ad(f):kd(f)),a=i?Ii(f):hr(f)}c&&(e[n+1]=i?kd(r):Ad(r))}function c9(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?ir(e,t)>=0:!1}var Ht={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function u9(e){return e.substring(Ht.key,Ht.keyEnd)}function d9(e){return p9(e),H0(e,B0(e,0,Ht.textEnd))}function H0(e,t){let n=Ht.textEnd;return n===t?-1:(t=Ht.keyEnd=f9(e,Ht.key=t,n),B0(e,t,n))}function p9(e){Ht.key=0,Ht.keyEnd=0,Ht.value=0,Ht.valueEnd=0,Ht.textEnd=e.length}function B0(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function f9(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function $n(e,t,n){return U0(e,t,n,!1),$n}function _l(e,t){return U0(e,t,null,!0),_l}function mp(e){h9(C9,m9,e,!0)}function m9(e,t){for(let n=d9(t);n>=0;n=H0(t,n))va(e,u9(t),!0)}function U0(e,t,n,i){let r=Y(),o=je(),a=Uu(2);if(o.firstUpdatePass&&$0(o,e,a,i),t!==wt&&Ct(r,a,t)){let c=o.data[vn()];Z0(o,c,r,r[Me],e,r[a+1]=D9(t,n),i,a)}}function h9(e,t,n,i){let r=je(),o=Uu(2);r.firstUpdatePass&&$0(r,null,o,i);let a=Y();if(n!==wt&&Ct(a,o,n)){let c=r.data[vn()];if(W0(c,i)&&!z0(r,o)){let d=i?c.classesWithoutHost:c.stylesWithoutHost;d!==null&&(n=pa(d,n||"")),Td(r,c,a,n,i)}else w9(r,c,a,a[Me],a[o+1],a[o+1]=_9(e,t,n),i,o)}}function z0(e,t){return t>=e.expandoStartIndex}function $0(e,t,n,i){let r=e.data;if(r[n+1]===null){let o=r[vn()],a=z0(e,n);W0(o,i)&&t===null&&!a&&(t=!1),t=g9(r,o,t,i),a9(r,o,t,n,a,i)}}function g9(e,t,n,i){let r=A1(e),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(n=rd(null,e,t,n,i),n=To(n,t.attrs,i),o=null);else{let a=t.directiveStylingLast;if(a===-1||e[a]!==r)if(n=rd(r,e,t,n,i),o===null){let d=b9(e,t,i);d!==void 0&&Array.isArray(d)&&(d=rd(null,e,t,d[1],i),d=To(d,t.attrs,i),v9(e,t,i,d))}else o=y9(e,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),n}function b9(e,t,n){let i=n?t.classBindings:t.styleBindings;if(hr(i)!==0)return e[Ii(i)]}function v9(e,t,n,i){let r=n?t.classBindings:t.styleBindings;e[Ii(r)]=i}function y9(e,t,n){let i,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++){let a=e[o].hostAttrs;i=To(i,a,n)}return To(i,t.attrs,n)}function rd(e,t,n,i,r){let o=null,a=n.directiveEnd,c=n.directiveStylingLast;for(c===-1?c=n.directiveStart:c++;c<a&&(o=t[c],i=To(i,o.hostAttrs,r),o!==e);)c++;return e!==null&&(n.directiveStylingLast=c),i}function To(e,t,n){let i=n?1:2,r=-1;if(t!==null)for(let o=0;o<t.length;o++){let a=t[o];typeof a=="number"?r=a:r===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),va(e,a,n?!0:t[++o]))}return e===void 0?null:e}function _9(e,t,n){if(n==null||n==="")return st;let i=[],r=ol(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else typeof r=="string"&&t(i,r);return i}function C9(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&va(e,i,n)}function w9(e,t,n,i,r,o,a,c){r===wt&&(r=st);let d=0,f=0,h=0<r.length?r[0]:null,g=0<o.length?o[0]:null;for(;h!==null||g!==null;){let y=d<r.length?r[d+1]:void 0,v=f<o.length?o[f+1]:void 0,_=null,I;h===g?(d+=2,f+=2,y!==v&&(_=g,I=v)):g===null||h!==null&&h<g?(d+=2,_=h):(f+=2,_=g,I=v),_!==null&&Z0(e,t,n,i,_,I,a,c),h=d<r.length?r[d]:null,g=f<o.length?o[f]:null}}function Z0(e,t,n,i,r,o,a,c){if(!(t.type&3))return;let d=e.data,f=d[c+1],h=s9(f)?ph(d,t,n,r,hr(f),a):void 0;if(!el(h)){el(o)||r9(f)&&(o=ph(d,null,n,r,c,a));let g=Lu(vn(),n);I8(i,a,g,r,o)}}function ph(e,t,n,i,r,o){let a=t===null,c;for(;r>0;){let d=e[r],f=Array.isArray(d),h=f?d[1]:d,g=h===null,y=n[r+1];y===wt&&(y=g?st:void 0);let v=g?ya(y,i):h===i?y:void 0;if(f&&!el(v)&&(v=ya(d,i)),el(v)&&(c=v,a))return c;let _=e[r+1];r=a?Ii(_):hr(_)}if(t!==null){let d=o?t.residualClasses:t.residualStyles;d!=null&&(c=ya(d,i))}return c}function el(e){return e!==void 0}function D9(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=vt(ol(e)))),e}function W0(e,t){return(e.flags&(t?8:16))!==0}function Q(e,t=""){let n=Y(),i=je(),r=e+Ve,o=i.firstCreatePass?Oo(i,r,1,t,null):i.data[r],a=E9(i,n,o,t,e);n[r]=a,vo()&&ul(i,n,a,o),Vn(o,!1)}var E9=(e,t,n,i,r)=>(yo(!0),$5(t[Me],i));function x9(e,t,n,i=""){return Ct(e,Ci(),n)?t+nr(n)+i:wt}function Xe(e){return Ce("",e),Xe}function Ce(e,t,n){let i=Y(),r=x9(i,e,t,n);return r!==wt&&M9(i,vn(),r),Ce}function M9(e,t,n){let i=Lu(t,e);Z5(e[Me],i,n)}function de(e){return Ct(Y(),Ci(),e)?nr(e):wt}function I9(e,t,n){let i=je();if(i.firstCreatePass){let r=Kt(e);Ld(n,i.data,i.blueprint,r,!0),Ld(t,i.data,i.blueprint,r,!1)}}function Ld(e,t,n,i,r){if(e=qe(e),Array.isArray(e))for(let o=0;o<e.length;o++)Ld(e[o],t,n,i,r);else{let o=je(),a=Y(),c=pt(),d=ci(e)?e:qe(e.provide),f=Su(e),h=c.providerIndexes&1048575,g=c.directiveStart,y=c.providerIndexes>>20;if(ci(e)||!e.multi){let v=new xi(f,r,Be),_=sd(d,t,r?h:h+y,g);_===-1?(ld(za(c,a),o,d),od(o,e,t.length),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(v),a.push(v)):(n[_]=v,a[_]=v)}else{let v=sd(d,t,h+y,g),_=sd(d,t,h,h+y),I=v>=0&&n[v],A=_>=0&&n[_];if(r&&!A||!r&&!I){ld(za(c,a),o,d);let k=k9(r?T9:S9,n.length,r,i,f);!r&&A&&(n[_].providerFactory=k),od(o,e,t.length,0),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(k),a.push(k)}else{let k=G0(n[r?_:v],f,!r&&i);od(o,e,v>-1?v:_,k)}!r&&i&&A&&n[_].componentProviders++}}}function od(e,t,n,i){let r=ci(t),o=u1(t);if(r||o){let d=(o?qe(t.useClass):t).prototype.ngOnDestroy;if(d){let f=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let h=f.indexOf(n);h===-1?f.push(n,[i,d]):f[h+1].push(i,d)}else f.push(n,d)}}}function G0(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function sd(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function S9(e,t,n,i){return Nd(this.multi,[])}function T9(e,t,n,i){let r=this.multi,o;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=$a(n,n[G],this.providerFactory.index,i);o=c.slice(0,a),Nd(r,o);for(let d=a;d<c.length;d++)o.push(c[d])}else o=[],Nd(r,o);return o}function Nd(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function k9(e,t,n,i,r){let o=new xi(e,n,Be);return o.multi=[],o.index=t,o.componentProviders=0,G0(o,r,i&&!n),o}function Oe(e,t=[]){return n=>{n.providersResolver=(i,r)=>I9(i,r?r(e):e,t)}}function ct(e,t,n,i){return Y0(Y(),cr(),e,t,n,i)}function Ai(e,t,n,i,r){return A9(Y(),cr(),e,t,n,i,r)}function wn(e,t,n,i,r,o){return L9(Y(),cr(),e,t,n,i,r,o)}function hp(e,t,n,i,r,o,a,c){let d=cr()+e,f=Y(),h=a_(f,d,n,i,r,o);return Ct(f,d+4,a)||h?hl(f,d+5,c?t.call(c,n,i,r,o,a):t(n,i,r,o,a)):o_(f,d+5)}function gp(e,t){let n=e[t];return n===wt?void 0:n}function Y0(e,t,n,i,r,o){let a=t+n;return Ct(e,a,r)?hl(e,a+1,o?i.call(o,r):i(r)):gp(e,a+1)}function A9(e,t,n,i,r,o,a){let c=t+n;return Ya(e,c,r,o)?hl(e,c+2,a?i.call(a,r,o):i(r,o)):gp(e,c+2)}function L9(e,t,n,i,r,o,a,c){let d=t+n;return s_(e,d,r,o,a)?hl(e,d+3,c?i.call(c,r,o,a):i(r,o,a)):gp(e,d+3)}function ge(e,t){let n=je(),i,r=e+Ve;n.firstCreatePass?(i=N9(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];let o=i.factory||(i.factory=Ln(i.type,!0)),a,c=ot(Be);try{let d=Ua(!1),f=o();return Ua(d),Ou(n,Y(),r,f),f}finally{ot(c)}}function N9(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function be(e,t,n){let i=e+Ve,r=Y(),o=Nu(r,i);return O9(r,i)?Y0(r,cr(),t,o.transform,n,o):o.transform(n)}function O9(e,t){return e[G].data[t].pure}function wr(e,t){return v0(e,t)}var R9=(()=>{class e{zone=F(He);changeDetectionScheduler=F(qt);applicationRef=F(ki);applicationErrorHandler=F(Jt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function q0({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new He(nt(Le({},Q0()),{scheduleInRootZone:n})),[{provide:He,useFactory:e},{provide:pi,multi:!0,useFactory:()=>{let i=F(R9,{optional:!0});return()=>i.initialize()}},{provide:pi,multi:!0,useFactory:()=>{let i=F(P9);return()=>{i.initialize()}}},t===!0?{provide:Gu,useValue:!0}:[],{provide:Yu,useValue:n??A0},{provide:Jt,useFactory:()=>{let i=F(He),r=F(dt),o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(Yt),o.handleError(a))})}}}]}function Q0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var P9=(()=>{class e{subscription=new it;initialized=!1;zone=F(He);pendingTasks=F(Di);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{He.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{He.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var X0=(()=>{class e{applicationErrorHandler=F(Jt);appRef=F(ki);taskService=F(Di);ngZone=F(He);zonelessEnabled=F(Na);tracing=F(Ro,{optional:!0});disableScheduling=F(Gu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new it;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qa):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(F(Yu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Xa||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let i=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?sh:L0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Qa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(n),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,sh(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function F9(){return typeof $localize<"u"&&$localize.locale||Vo}var Cl=new z("",{providedIn:"root",factory:()=>F(Cl,{optional:!0,skipSelf:!0})||F9()});function bp(e,t){return Os(e,t?.equal)}var K0=class{[ut];constructor(t){this[ut]=t}destroy(){this[ut].destroy()}};var ig=Symbol("InputSignalNode#UNSET"),X9=nt(Le({},Rs),{transformFn:void 0,applyValueToInputSignal(e,t){Kr(e,t)}});function rg(e,t){let n=Object.create(X9);n.value=e,n.transformFn=t?.transform;function i(){if(qr(n),n.value===ig){let r=null;throw new j(-950,r)}return n.value}return i[ut]=n,i}var K9=new z("");K9.__NG_ELEMENT_ID__=e=>{let t=pt();if(t===null)throw new j(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new j(204,!1)};function J0(e,t){return rg(e,t)}function J9(e){return rg(ig,e)}var Ho=(J0.required=J9,J0);var vp=new z(""),e6=new z("");function jo(e){return!e.moduleRef}function t6(e){let t=jo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(He);return n.run(()=>{jo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(Jt),r;if(n.runOutsideAngular(()=>{r=n.onError.subscribe({next:i})}),jo(e)){let o=()=>t.destroy(),a=e.platformInjector.get(vp);a.add(o),t.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>e.moduleRef.destroy(),a=e.platformInjector.get(vp);a.add(o),e.moduleRef.onDestroy(()=>{Do(e.allPlatformModules,e.moduleRef),r.unsubscribe(),a.delete(o)})}return i6(i,n,()=>{let o=t.get(up);return o.runInitializers(),o.donePromise.then(()=>{let a=t.get(Cl,Vo);if(j0(a||Vo),!t.get(e6,!0))return jo(e)?t.get(ki):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(jo(e)){let d=t.get(ki);return e.rootComponent!==void 0&&d.bootstrap(e.rootComponent),d}else return n6?.(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}var n6;function i6(e,t,n){try{let i=n();return bl(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e(i)),i}}var wl=null;function r6(e=[],t){return Gt.create({name:t,providers:[{provide:ao,useValue:"platform"},{provide:vp,useValue:new Set([()=>wl=null])},...e]})}function o6(e=[]){if(wl)return wl;let t=r6(e);return wl=t,F0(),s6(t),t}function s6(e){let t=e.get(il,null);rr(e,()=>{t?.forEach(n=>n())})}var Mp=(()=>{class e{static __NG_ELEMENT_ID__=a6}return e})();function a6(e){return l6(pt(),Y(),(e&16)===16)}function l6(e,t,n){if(Fn(e)&&!n){let i=St(e.index,t);return new Bn(i,i)}else if(e.type&175){let i=t[lt];return new Bn(i,t)}return null}var yp=class{constructor(){}supports(t){return rp(t)}create(t){return new _p(t)}},c6=(e,t)=>t,_p=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||c6}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){let a=!i||n&&n.currentIndex<eg(i,r,o)?n:i,c=eg(a,r,o),d=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(n=n._next,a.previousIndex==null)r++;else{o||(o=[]);let f=c-r,h=d-r;if(f!=h){for(let y=0;y<f;y++){let v=y<o.length?o[y]:o[y]=0,_=v+y;h<=_&&_<f&&(o[y]=v+1)}let g=a.previousIndex;o[g]=h-f}}c!==d&&t(a,c,d)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!rp(t))throw new j(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,i=!1,r,o,a;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)o=t[c],a=this._trackByFn(c,o),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,o,a,c),i=!0):(i&&(n=this._verifyReinsertion(n,o,a,c)),Object.is(n.item,o)||this._addIdentityChange(n,o)),n=n._next}else r=0,x0(t,c=>{a=this._trackByFn(r,c),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,c,a,r),i=!0):(i&&(n=this._verifyReinsertion(n,c,a,r)),Object.is(n.item,c)||this._addIdentityChange(n,c)),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;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,i,r){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):(t=this._linkedRecords===null?null:this._linkedRecords.get(i,r),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new Cp(n,i),o,r)),t}_verifyReinsertion(t,n,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let r=t._prevRemoved,o=t._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){let r=n===null?this._itHead:n._next;return t._next=r,t._prev=n,r===null?this._itTail=t:r._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Dl),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,i=t._next;return n===null?this._itHead=i:n._next=i,i===null?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Dl),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(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=this._identityChangesTail._nextIdentityChange=t,t}},Cp=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},wp=class{_head=null;_tail=null;add(t){this._head===null?(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 i;for(i=this._head;i!==null;i=i._nextDup)if((n===null||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){let n=t._prevDup,i=t._nextDup;return n===null?this._head=i:n._nextDup=i,i===null?this._tail=n:i._prevDup=n,this._head===null}},Dl=class{map=new Map;put(t){let n=t.trackById,i=this.map.get(n);i||(i=new wp,this.map.set(n,i)),i.add(t)}get(t,n){let i=t,r=this.map.get(i);return r?r.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function eg(e,t,n){let i=e.previousIndex;if(i===null)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}var Dp=class{constructor(){}supports(t){return t instanceof Map||ml(t)}create(){return new Ep}},Ep=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||ml(t)))throw new j(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{let o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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)){let r=this._records.get(t);this._maybeAddToChanges(r,n);let o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}let i=new xp(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;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){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?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(i=>n(t[i],i))}},xp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function tg(){return new Ip([new yp])}var Ip=(()=>{class e{factories;static \u0275prov=W({token:e,providedIn:"root",factory:tg});constructor(n){this.factories=n}static create(n,i){if(i!=null){let r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||tg()),deps:[[e,new Rd,new Od]]}}find(n){let i=this.factories.find(r=>r.supports(n));if(i!=null)return i;throw new j(901,!1)}}return e})();function ng(){return new Sp([new Dp])}var Sp=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:ng});factories;constructor(n){this.factories=n}static create(n,i){if(i){let r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||ng()),deps:[[e,new Rd,new Od]]}}find(n){let i=this.factories.find(r=>r.supports(n));if(i)return i;throw new j(901,!1)}}return e})();function og(e){me(8);try{let{rootComponent:t,appProviders:n,platformProviders:i}=e,r=o6(i),o=[q0({}),{provide:qt,useExisting:X0},j1,...n||[]],a=new So({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return t6({r3Injector:a.injector,platformInjector:r,rootComponent:t})}catch(t){return Promise.reject(t)}finally{me(9)}}function M(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var u6={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function d6(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function p6(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Tp;function f6(e,t){if(!Tp){let n=Element.prototype;Tp=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Tp.call(e,t):!1}function m6(e){let t={};return e.forEach(({propName:n,templateName:i,transform:r})=>{t[d6(i)]=[n,r]}),t}function h6(e,t){return t.get(Si).resolveComponentFactory(e).inputs}function g6(e,t){let n=e.childNodes,i=t.map(()=>[]),r=-1;t.some((o,a)=>o==="*"?(r=a,!0):!1);for(let o=0,a=n.length;o<a;++o){let c=n[o],d=b6(c,t,r);d!==-1&&i[d].push(c)}return i}function b6(e,t,n){let i=n;return p6(e)&&t.some((r,o)=>r!=="*"&&f6(e,r)?(i=o,!0):!1),i}var v6=10,kp=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Si).resolveComponentFactory(t);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(t){return new Ap(this.componentFactory,t,this.inputMap)}},Ap=class{componentFactory;injector;inputMap;eventEmitters=new kn(1);events=this.eventEmitters.pipe(An(t=>Xc(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,i){this.componentFactory=t,this.injector=n,this.inputMap=i,this.ngZone=this.injector.get(He),this.appRef=this.injector.get(ki),this.cdScheduler=n.get(qt),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=u6.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},v6))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),tp(this.componentRef.hostView)&&(np(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let n=Gt.create({providers:[],parent:this.injector}),i=g6(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,i,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=t.instance[i];return new oe(a=>{let c=o.subscribe(d=>a.next({name:r,value:d}));return()=>c.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Lp=class extends HTMLElement{ngElementEventsSubscription=null};function ft(e,t){let n=h6(e,t.injector),i=t.strategyFactory||new kp(e,t.injector),r=m6(n);class o extends Lp{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:d,transform:f})=>{if(!this.hasOwnProperty(d))return;let h=this[d];delete this[d],c.setInputValue(d,h,f)})}return this._ngElementStrategy}_ngElementStrategy;constructor(c){super(),this.injector=c}attributeChangedCallback(c,d,f,h){let[g,y]=r[c];this.ngElementStrategy.setInputValue(g,f,y)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return n.forEach(({propName:a,transform:c})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(d){this.ngElementStrategy.setInputValue(a,d,c)},configurable:!0,enumerable:!0})}),o}var sg=null;function Uo(){return sg}function Np(e){sg??=e}var Bo=class{};var Op=/\s+/,ag=[],Pe=(()=>{class e{_ngEl;_renderer;initialClasses=ag;rawClass;stateMap=new Map;constructor(n,i){this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=n!=null?n.trim().split(Op):ag}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Op):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(Op).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)(Be(Un),Be(fl))};static \u0275dir=zn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var El=class{$implicit;ngForOf;index;count;constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},mt=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((r,o,a)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new El(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(o===null?void 0:o);else if(o!==null){let c=i.get(o);i.move(c,a),lg(c,r)}});for(let r=0,o=i.length;r<o;r++){let c=i.get(r).context;c.index=r,c.count=o,c.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);lg(o,r)})}static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)(Be(_r),Be(No),Be(Ip))};static \u0275dir=zn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function lg(e,t){e.context.$implicit=t.item}var zo=(()=>{class e{_viewContainer;_context=new xl;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,i){this._viewContainer=n,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){cg(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){cg(n,!1),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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)(Be(_r),Be(No))};static \u0275dir=zn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),xl=class{$implicit=null;ngIf=null};function cg(e,t){if(e&&!e.createEmbeddedView)throw new j(2020,!1)}var Rp=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,i,r){this._ngEl=n,this._differs=i,this._renderer=r}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[r,o]=n.split("."),a=r.indexOf("-")===-1?void 0:Bt.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||e)(Be(Un),Be(Sp),Be(fl))};static \u0275dir=zn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),$o=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(n,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||e)(Be(_r))};static \u0275dir=zn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ut]})}return e})();var pe=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ti({type:e});static \u0275inj=On({})}return e})();function Zo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[r,o]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}var Li=class{};var ug="browser",y6="server";function dg(e){return e===y6}var Sl=new z(""),jp=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,i){this._zone=i,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,r,o){return this._findPluginFor(i).addEventListener(n,i,r,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(o=>o.supports(n)),!i)throw new j(5101,!1);return this._eventNameToPlugin.set(n,i),i}static \u0275fac=function(i){return new(i||e)(V(Sl),V(He))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Wo=class{_doc;constructor(t){this._doc=t}manager},Ml="ng-app-id";function pg(e){for(let t of e)t.remove()}function fg(e,t){let n=t.createElement("style");return n.textContent=e,n}function _6(e,t,n,i){let r=e.head?.querySelectorAll(`style[${Ml}="${t}"],link[${Ml}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Ml),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function Fp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Hp=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,i,r,o={}){this.doc=n,this.appId=i,this.nonce=r,this.isServer=dg(o),_6(n,i,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,i){for(let r of n)this.addUsage(r,this.inline,fg);i?.forEach(r=>this.addUsage(r,this.external,Fp))}removeStyles(n,i){for(let r of n)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(n,i,r){let o=i.get(n);o?o.usage++:i.set(n,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(n,this.doc)))})}removeUsage(n,i){let r=i.get(n);r&&(r.usage--,r.usage<=0&&(pg(r.elements),i.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])pg(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(n,fg(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(n,Fp(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(Ml,this.appId),n.appendChild(i)}static \u0275fac=function(i){return new(i||e)(V(_t),V(nl),V(rl,8),V(vr))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Pp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Bp=/%COMP%/g;var hg="%COMP%",C6=`_nghost-${hg}`,w6=`_ngcontent-${hg}`,D6=!0,E6=new z("",{providedIn:"root",factory:()=>D6});function x6(e){return w6.replace(Bp,e)}function M6(e){return C6.replace(Bp,e)}function gg(e,t){return t.map(n=>n.replace(Bp,e))}var Up=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,i,r,o,a,c,d,f=null,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=c,this.ngZone=d,this.nonce=f,this.tracingService=h,this.platformIsServer=!1,this.defaultRenderer=new Go(n,a,d,this.platformIsServer,this.tracingService)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(n,i);return r instanceof Il?r.applyToHost(n):r instanceof Yo&&r.applyStyles(),r}getOrCreateRenderer(n,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,c=this.ngZone,d=this.eventManager,f=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,g=this.platformIsServer,y=this.tracingService;switch(i.encapsulation){case yn.Emulated:o=new Il(d,f,i,this.appId,h,a,c,g,y);break;case yn.ShadowDom:return new Vp(d,f,n,i,a,c,this.nonce,g,y);default:o=new Yo(d,f,i,h,a,c,g,y);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(i){return new(i||e)(V(jp),V(Hp),V(nl),V(E6),V(_t),V(vr),V(He),V(rl),V(Ro,8))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Go=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,i,r,o){this.eventManager=t,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Pp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(mg(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(mg(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){n.remove()}selectRootElement(t,n){let i=typeof t=="string"?this.doc.querySelector(t):t;if(!i)throw new j(-5104,!1);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;let o=Pp[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){let r=Pp[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(Bt.DashCase|Bt.Important)?t.style.setProperty(n,i,r&Bt.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Bt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t!=null&&(t[n]=i)}setValue(t,n){t.nodeValue=n}listen(t,n,i,r){if(typeof t=="string"&&(t=Uo().getGlobalEventTarget(this.doc,t),!t))throw new j(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,n,o)),this.eventManager.addEventListener(t,n,o,r)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function mg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Vp=class extends Go{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,i,r,o,a,c,d,f){super(t,o,a,d,f),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=gg(r.id,h);for(let y of h){let v=document.createElement("style");c&&v.setAttribute("nonce",c),v.textContent=y,this.shadowRoot.appendChild(v)}let g=r.getExternalStyles?.();if(g)for(let y of g){let v=Fp(y,o);c&&v.setAttribute("nonce",c),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Yo=class extends Go{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,i,r,o,a,c,d,f){super(t,o,a,c,d),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r;let h=i.styles;this.styles=f?gg(f,h):h,this.styleUrls=i.getExternalStyles?.(f)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Il=class extends Yo{contentAttr;hostAttr;constructor(t,n,i,r,o,a,c,d,f){let h=r+"-"+i.id;super(t,n,i,o,a,c,d,f,h),this.contentAttr=x6(h),this.hostAttr=M6(h)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}};var Tl=class e extends Bo{supportsDOMEvents=!0;static makeCurrent(){Np(new e)}onAndCancel(t,n,i,r){return t.addEventListener(n,i,r),()=>{t.removeEventListener(n,i,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=I6();return n==null?null:S6(n)}resetBaseElement(){qo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Zo(document.cookie,t)}},qo=null;function I6(){return qo=qo||document.head.querySelector("base"),qo?qo.getAttribute("href"):null}function S6(e){return new URL(e,document.baseURI).pathname}var T6=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),vg=(()=>{class e extends Wo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r,o){return n.addEventListener(i,r,o),()=>this.removeEventListener(n,i,r,o)}removeEventListener(n,i,r,o){return n.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||e)(V(_t))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),bg=["alt","control","meta","shift"],k6={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},A6={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},yg=(()=>{class e extends Wo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,r,o){let a=e.parseEventName(i),c=e.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Uo().onAndCancel(n,a.domEventName,c,o))}static parseEventName(n){let i=n.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),bg.forEach(f=>{let h=i.indexOf(f);h>-1&&(i.splice(h,1),a+=f+".")}),a+=o,i.length!=0||o.length===0)return null;let d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let r=k6[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),bg.forEach(a=>{if(a!==r){let c=A6[a];c(n)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{e.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(i){return new(i||e)(V(_t))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();function zp(e){return og(L6(e))}function L6(e){return{appProviders:[...F6,...e?.providers??[]],platformProviders:P6}}function N6(){Tl.makeCurrent()}function O6(){return new Yt}function R6(){return jd(document),document}var P6=[{provide:vr,useValue:ug},{provide:il,useValue:N6,multi:!0},{provide:_t,useFactory:R6}];var F6=[{provide:ao,useValue:"root"},{provide:Yt,useFactory:O6},{provide:Sl,useClass:vg,multi:!0,deps:[_t]},{provide:Sl,useClass:yg,multi:!0,deps:[_t]},Up,Hp,jp,{provide:Mi,useExisting:Up},{provide:Li,useClass:T6},[]];var Er=class{},Qo=class{},Zn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
10
|
+
`)}`}function Ln(e,t){let n=e.hasOwnProperty(io);return n?e[io]:null}function ba(e,t){e.forEach(n=>Array.isArray(n)?ba(n,t):t(n))}function wu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function o1(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function s1(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(r===1)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;){let o=r-2;e[r]=e[o],r--}e[t]=n,e[t+1]=i}}function va(e,t,n){let i=ir(e,t);return i>=0?e[i|1]=n:(i=~i,s1(e,i,t,n)),i}function ya(e,t){let n=ir(e,t);if(n>=0)return e[n|1]}function ir(e,t){return M4(e,t,1)}function M4(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){let o=i+(r-i>>1),a=e[o<<n];if(t===a)return o<<n;a>t?r=o:i=o+1}return~(r<<n)}var Rn={},st=[],pi=new z(""),Du=new z("",-1),Eu=new z(""),ro=class{get(t,n=ai){if(n===ai)throw new Is(`NullInjectorError: No provider for ${vt(t)}!`);return n}};function fi(e){return e[gu]||null}function xu(e){return e[bu]||null}function a1(e){return e[vu]||null}function so(e){return{\u0275providers:e}}function _a(...e){return{\u0275providers:Mu(!0,e),\u0275fromNgModule:!0}}function Mu(e,...t){let n=[],i=new Set,r,o=a=>{n.push(a)};return ba(t,a=>{let c=a;ca(c,o,[],i)&&(r||=[],r.push(c))}),r!==void 0&&l1(r,o),n}function l1(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:r}=e[n];Iu(r,o=>{t(o,i)})}}function ca(e,t,n,i){if(e=qe(e),!e)return!1;let r=null,o=iu(e),a=!o&&fi(e);if(!o&&!a){let d=e.ngModule;if(o=iu(d),o)r=d;else return!1}else{if(a&&!a.standalone)return!1;r=e}let c=i.has(r);if(a){if(c)return!1;if(i.add(r),a.dependencies){let d=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let f of d)ca(f,t,n,i)}}else if(o){if(o.imports!=null&&!c){i.add(r);let f;try{ba(o.imports,h=>{ca(h,t,n,i)&&(f||=[],f.push(h))})}finally{}f!==void 0&&l1(f,t)}if(!c){let f=Ln(r)||(()=>new r);t({provide:r,useFactory:f,deps:st},r),t({provide:Eu,useValue:r,multi:!0},r),t({provide:pi,useValue:()=>V(r),multi:!0},r)}let d=o.providers;if(d!=null&&!c){let f=e;Iu(d,h=>{t(h,f)})}}else return!1;return r!==e&&e.providers!==void 0}function Iu(e,t){for(let n of e)hu(n)&&(n=n.\u0275providers),Array.isArray(n)?Iu(n,t):t(n)}var I4=Ie({provide:String,useValue:Ie});function c1(e){return e!==null&&typeof e=="object"&&I4 in e}function S4(e){return!!(e&&e.useExisting)}function T4(e){return!!(e&&e.useFactory)}function ci(e){return typeof e=="function"}function u1(e){return!!e.useClass}var ao=new z(""),sa={},e1={},nu;function lo(){return nu===void 0&&(nu=new ro),nu}var dt=class{},ui=class extends dt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,cu(t,a=>this.processProvider(a)),this.records.set(Du,tr(void 0,this)),r.has("environment")&&this.records.set(dt,tr(void 0,this));let o=this.records.get(ao);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Eu,st,{self:!0}))}retrieve(t,n){let i=li(n)||0;try{return this.get(t,ai,i)}catch(r){if(Wi(r))return r;throw r}}destroy(){no(this),this._destroyed=!0;let t=Z(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(t)}}onDestroy(t){return no(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){no(this);let n=fn(this),i=ot(void 0),r;try{return t()}finally{fn(n),ot(i)}}get(t,n=ai,i){if(no(this),t.hasOwnProperty(Km))return t[Km](this);let r=li(i),o,a=fn(this),c=ot(void 0);try{if(!(r&4)){let f=this.records.get(t);if(f===void 0){let h=O4(t)&&ma(t);h&&this.injectableDefInScope(h)?f=tr(lu(t),sa):f=null,this.records.set(t,f)}if(f!=null)return this.hydrate(t,f)}let d=r&2?lo():this.parent;return n=r&8&&n===ai?null:n,d.get(t,n)}catch(d){if(Wi(d)){if((d[la]=d[la]||[]).unshift(vt(t)),a)throw d;return E4(d,t,"R3InjectorError",this.source)}else throw d}finally{ot(c),fn(a)}}resolveInjectorInitializers(){let t=Z(null),n=fn(this),i=ot(void 0),r;try{let o=this.get(pi,st,{self:!0});for(let a of o)a()}finally{fn(n),ot(i),Z(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(vt(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=qe(t);let n=ci(t)?t:qe(t&&t.provide),i=A4(t);if(!ci(t)&&t.multi===!0){let r=this.records.get(n);r||(r=tr(void 0,sa,!0),r.factory=()=>au(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){let i=Z(null);try{return n.value===e1?yu(vt(t)):n.value===sa&&(n.value=e1,n.value=n.factory()),typeof n.value=="object"&&n.value&&N4(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Z(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=qe(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function lu(e){let t=ma(e),n=t!==null?t.factory:Ln(e);if(n!==null)return n;if(e instanceof z)throw new j(204,!1);if(e instanceof Function)return k4(e);throw new j(204,!1)}function k4(e){if(e.length>0)throw new j(204,!1);let n=g4(e);return n!==null?()=>n.factory(e):()=>new e}function A4(e){if(c1(e))return tr(void 0,e.useValue);{let t=Su(e);return tr(t,sa)}}function Su(e,t,n){let i;if(ci(e)){let r=qe(e);return Ln(r)||lu(r)}else if(c1(e))i=()=>qe(e.useValue);else if(T4(e))i=()=>e.useFactory(...au(e.deps||[]));else if(S4(e))i=()=>V(qe(e.useExisting));else{let r=qe(e&&(e.useClass||e.provide));if(L4(e))i=()=>new r(...au(e.deps));else return Ln(r)||lu(r)}return i}function no(e){if(e.destroyed)throw new j(205,!1)}function tr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function L4(e){return!!e.deps}function N4(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function O4(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function cu(e,t){for(let n of e)Array.isArray(n)?cu(n,t):n&&hu(n)?cu(n.\u0275providers,t):t(n)}function rr(e,t){let n;e instanceof ui?(no(e),n=e):n=new su(e);let i,r=fn(n),o=ot(void 0);try{return t()}finally{fn(r),ot(o)}}function d1(){return r1()!==void 0||kc()!=null}var Rt=0,G=1,$=2,We=3,Mt=4,at=5,mi=6,or=7,Ne=8,hi=9,Qt=10,Me=11,sr=12,Tu=13,gi=14,lt=15,bi=16,vi=17,yi=18,co=19,ku=20,bn=21,Ca=22,uo=23,yt=24,wa=25,Ve=26,p1=1,Au=6,Pn=7,po=8,fo=9,Qe=10;function Xt(e){return Array.isArray(e)&&typeof e[p1]=="object"}function Pt(e){return Array.isArray(e)&&e[p1]===!0}function Da(e){return(e.flags&4)!==0}function Fn(e){return e.componentOffset>-1}function mo(e){return(e.flags&1)===1}function Kt(e){return!!e.template}function ar(e){return(e[$]&512)!==0}function _i(e){return(e[$]&256)===256}var f1="svg",m1="math";function It(e){for(;Array.isArray(e);)e=e[Rt];return e}function Lu(e,t){return It(t[e])}function Ft(e,t){return It(t[e.index])}function ho(e,t){return e.data[t]}function Nu(e,t){return e[t]}function Ou(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function St(e,t){let n=t[e];return Xt(n)?n:n[Rt]}function Ea(e){return(e[$]&128)===128}function h1(e){return Pt(e[We])}function Vt(e,t){return t==null?null:e[t]}function Ru(e){e[vi]=0}function xa(e){e[$]&1024||(e[$]|=1024,Ea(e)&&go(e))}function g1(e,t){for(;e>0;)t=t[gi],e--;return t}function lr(e){return!!(e[$]&9216||e[yt]?.dirty)}function Ma(e){e[Qt].changeDetectionScheduler?.notify(8),e[$]&64&&(e[$]|=1024),lr(e)&&go(e)}function go(e){e[Qt].changeDetectionScheduler?.notify(0);let t=Nn(e);for(;t!==null&&!(t[$]&8192||(t[$]|=8192,!Ea(t)));)t=Nn(t)}function Pu(e,t){if(_i(e))throw new j(911,!1);e[bn]===null&&(e[bn]=[]),e[bn].push(t)}function b1(e,t){if(e[bn]===null)return;let n=e[bn].indexOf(t);n!==-1&&e[bn].splice(n,1)}function Nn(e){let t=e[We];return Pt(t)?t[We]:t}function v1(e){return e[or]??=[]}function y1(e){return e.cleanup??=[]}var X={lFrame:N1(null),bindingsEnabled:!0,skipHydrationRootTNode:null},bo=function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e}(bo||{}),R4=0,uu=!1;function _1(){return X.lFrame.elementDepthCount}function C1(){X.lFrame.elementDepthCount++}function w1(){X.lFrame.elementDepthCount--}function Ia(){return X.bindingsEnabled}function Fu(){return X.skipHydrationRootTNode!==null}function D1(e){return X.skipHydrationRootTNode===e}function E1(){X.skipHydrationRootTNode=null}function Y(){return X.lFrame.lView}function je(){return X.lFrame.tView}function H(e){return X.lFrame.contextLView=e,e[Ne]}function B(e){return X.lFrame.contextLView=null,e}function pt(){let e=Vu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Vu(){return X.lFrame.currentTNode}function x1(){let e=X.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Vn(e,t){let n=X.lFrame;n.currentTNode=e,n.isParent=t}function Sa(){return X.lFrame.isParent}function Ta(){X.lFrame.isParent=!1}function M1(){return X.lFrame.contextLView}function ju(e){n1("Must never be called in production mode"),R4=e}function Hu(){return uu}function Bu(e){let t=uu;return uu=e,t}function cr(){let e=X.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function I1(e){return X.lFrame.bindingIndex=e}function Ci(){return X.lFrame.bindingIndex++}function Uu(e){let t=X.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function S1(){return X.lFrame.inI18n}function T1(e,t){let n=X.lFrame;n.bindingIndex=n.bindingRootIndex=e,ka(t)}function k1(){return X.lFrame.currentDirectiveIndex}function ka(e){X.lFrame.currentDirectiveIndex=e}function A1(e){let t=X.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function zu(e){X.lFrame.currentQueryIndex=e}function P4(e){let t=e[G];return t.type===2?t.declTNode:t.type===1?e[at]:null}function $u(e,t,n){if(n&4){let r=t,o=e;for(;r=r.parent,r===null&&!(n&1);)if(r=P4(o),r===null||(o=o[gi],r.type&10))break;if(r===null)return!1;t=r,e=o}let i=X.lFrame=L1();return i.currentTNode=t,i.lView=e,!0}function Aa(e){let t=L1(),n=e[G];X.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function L1(){let e=X.lFrame,t=e===null?null:e.child;return t===null?N1(e):t}function N1(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function O1(){let e=X.lFrame;return X.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Zu=O1;function La(){let e=O1();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 R1(e){return(X.lFrame.contextLView=g1(e,X.lFrame.contextLView))[Ne]}function vn(){return X.lFrame.selectedIndex}function jn(e){X.lFrame.selectedIndex=e}function Wu(){let e=X.lFrame;return ho(e.tView,e.selectedIndex)}function P1(){return X.lFrame.currentNamespace}var F1=!0;function vo(){return F1}function yo(e){F1=e}function du(e,t=null,n=null,i){let r=V1(e,t,n,i);return r.resolveInjectorInitializers(),r}function V1(e,t=null,n=null,i,r=new Set){let o=[n||st,_a(e)];return i=i||(typeof e=="object"?void 0:vt(e)),new ui(o,t||lo(),i||null,r)}var Gt=class e{static THROW_IF_NOT_FOUND=ai;static NULL=new ro;static create(t,n){if(Array.isArray(t))return du({name:""},n,t,"");{let i=t.name??"";return du({name:i},t.parent,t.providers,i)}}static \u0275prov=W({token:e,providedIn:"any",factory:()=>V(Du)});static __NG_ELEMENT_ID__=-1},_t=new z(""),wi=(()=>{class e{static __NG_ELEMENT_ID__=F4;static __NG_ENV_ID__=n=>n}return e})(),pu=class extends wi{_lView;constructor(t){super(),this._lView=t}get destroyed(){return _i(this._lView)}onDestroy(t){let n=this._lView;return Pu(n,t),()=>b1(n,t)}};function F4(){return new pu(Y())}var Yt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Jt=new z("",{providedIn:"root",factory:()=>{let e=F(dt),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Yt),t.handleError(n))}}}),j1={provide:pi,useValue:()=>void F(Yt),multi:!0};function Hn(e,t){let[n,i,r]=Bc(e,t?.equal),o=n,a=o[ut];return o.set=i,o.update=r,o.asReadonly=H1.bind(o),o}function H1(){let e=this[ut];if(e.readonlyFn===void 0){let t=()=>this();t[ut]=e,e.readonlyFn=t}return e.readonlyFn}var qt=class{},Na=new z("",{providedIn:"root",factory:()=>!1});var Gu=new z(""),Yu=new z("");var Di=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Tn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new oe(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})(),_o=(()=>{class e{internalPendingTasks=F(Di);scheduler=F(qt);errorHandler=F(Jt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let i=this.add();n().catch(this.errorHandler).finally(i)}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();function Co(...e){}var qu=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>new fu})}return e})(),fu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,i=this.queues.get(n);i.has(t)&&(i.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let i=this.queues.get(n);i.has(t)||i.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,i]of this.queues)n===null?t||=this.flushQueue(i):t||=n.run(()=>this.flushQueue(i));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let i of t)i.dirty&&(this.dirtyEffectCount--,n=!0,i.run());return n}};function gr(e){return{toString:e}.toString()}var Oa="__parameters__";function q4(e){return function(...n){if(e){let i=e(...n);for(let r in i)this[r]=i[r]}}}function mh(e,t,n){return gr(()=>{let i=q4(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;let a=new r(...o);return c.annotation=a,c;function c(d,f,h){let g=d.hasOwnProperty(Oa)?d[Oa]:Object.defineProperty(d,Oa,{value:[]})[Oa];for(;g.length<=h;)g.push(null);return(g[h]=g[h]||[]).push(a),d}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}var Od=Cu(mh("Optional"),8);var Rd=Cu(mh("SkipSelf"),4);function Q4(e){return typeof e=="function"}var ja=class{previousValue;currentValue;firstChange;constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}};function hh(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var Ut=(()=>{let e=()=>gh;return e.ngInherit=!0,e})();function gh(e){return e.type.prototype.ngOnChanges&&(e.setInput=K4),X4}function X4(){let e=vh(this),t=e?.current;if(t){let n=e.previous;if(n===Rn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function K4(e,t,n,i,r){let o=this.declaredInputs[i],a=vh(e)||J4(e,{previous:Rn,current:null}),c=a.current||(a.current={}),d=a.previous,f=d[o];c[o]=new ja(f&&f.currentValue,n,d===Rn),hh(e,t,r,n)}var bh="__ngSimpleChanges__";function vh(e){return e[bh]||null}function J4(e,t){return e[bh]=t}var B1=[];var he=function(e,t=null,n){for(let i=0;i<B1.length;i++){let r=B1[i];r(e,t,n)}};function e5(e,t,n){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){let a=gh(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}r&&(n.preOrderHooks??=[]).push(0-e,r),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function Pd(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:d,ngAfterViewChecked:f,ngOnDestroy:h}=o;a&&(e.contentHooks??=[]).push(-n,a),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),d&&(e.viewHooks??=[]).push(-n,d),f&&((e.viewHooks??=[]).push(n,f),(e.viewCheckHooks??=[]).push(n,f)),h!=null&&(e.destroyHooks??=[]).push(n,h)}}function Pa(e,t,n){yh(e,t,3,n)}function Fa(e,t,n,i){(e[$]&3)===n&&yh(e,t,n,i)}function Qu(e,t){let n=e[$];(n&3)===t&&(n&=16383,n+=1,e[$]=n)}function yh(e,t,n,i){let r=i!==void 0?e[vi]&65535:0,o=i??-1,a=t.length-1,c=0;for(let d=r;d<a;d++)if(typeof t[d+1]=="number"){if(c=t[d],i!=null&&c>=i)break}else t[d]<0&&(e[vi]+=65536),(c<o||o==-1)&&(t5(e,n,t,d),e[vi]=(e[vi]&4294901760)+d+2),d++}function U1(e,t){he(4,e,t);let n=Z(null);try{t.call(e)}finally{Z(n),he(5,e,t)}}function t5(e,t,n,i){let r=n[i]<0,o=n[i+1],a=r?-n[i]:n[i],c=e[a];r?e[$]>>14<e[vi]>>16&&(e[$]&3)===t&&(e[$]+=16384,U1(c,o)):U1(c,o)}var dr=-1,xi=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,i){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=i}};function n5(e){return(e.flags&8)!==0}function i5(e){return(e.flags&16)!==0}function r5(e,t,n){let i=0;for(;i<n.length;){let r=n[i];if(typeof r=="number"){if(r!==0)break;i++;let o=n[i++],a=n[i++],c=n[i++];e.setAttribute(t,a,c,o)}else{let o=r,a=n[++i];s5(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),i++}}return i}function o5(e){return e===3||e===4||e===6}function s5(e){return e.charCodeAt(0)===64}function pr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let r=t[i];typeof r=="number"?n=r:n===0||(n===-1||n===2?z1(e,n,r,null,t[++i]):z1(e,n,r,null,null))}}return e}function z1(e,t,n,i,r){let o=0,a=e.length;if(t===-1)a=-1;else for(;o<e.length;){let c=e[o++];if(typeof c=="number"){if(c===t){a=-1;break}else if(c>t){a=o-1;break}}}for(;o<e.length;){let c=e[o];if(typeof c=="number")break;if(c===n){r!==null&&(e[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),r!==null&&e.splice(o++,0,r)}function _h(e){return e!==dr}function Ha(e){return e&32767}function a5(e){return e>>16}function Ba(e,t){let n=a5(e),i=t;for(;n>0;)i=i[gi],n--;return i}var ad=!0;function Ua(e){let t=ad;return ad=e,t}var l5=256,Ch=l5-1,wh=5,c5=0,en={};function u5(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(di)&&(i=n[di]),i==null&&(i=n[di]=c5++);let r=i&Ch,o=1<<r;t.data[e+(r>>wh)]|=o}function za(e,t){let n=Dh(e,t);if(n!==-1)return n;let i=t[G];i.firstCreatePass&&(e.injectorIndex=t.length,Xu(i.data,e),Xu(t,null),Xu(i.blueprint,null));let r=Fd(e,t),o=e.injectorIndex;if(_h(r)){let a=Ha(r),c=Ba(r,t),d=c[G].data;for(let f=0;f<8;f++)t[o+f]=c[a+f]|d[a+f]}return t[o+8]=r,o}function Xu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Dh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Fd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;r!==null;){if(i=Sh(r),i===null)return dr;if(n++,r=r[gi],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return dr}function ld(e,t,n){u5(e,t,n)}function Eh(e,t,n){if(n&8||e!==void 0)return e;ga(t,"NodeInjector")}function xh(e,t,n,i){if(n&8&&i===void 0&&(i=null),(n&3)===0){let r=e[hi],o=ot(void 0);try{return r?r.get(t,i,n&8):_u(t,i,n&8)}finally{ot(o)}}return Eh(i,t,n)}function Mh(e,t,n,i=0,r){if(e!==null){if(t[$]&2048&&!(i&2)){let a=h5(e,t,n,i,en);if(a!==en)return a}let o=Ih(e,t,n,i,en);if(o!==en)return o}return xh(t,n,i,r)}function Ih(e,t,n,i,r){let o=f5(n);if(typeof o=="function"){if(!$u(t,e,i))return i&1?Eh(r,n,i):xh(t,n,i,r);try{let a;if(a=o(i),a==null&&!(i&8))ga(n);else return a}finally{Zu()}}else if(typeof o=="number"){let a=null,c=Dh(e,t),d=dr,f=i&1?t[lt][at]:null;for((c===-1||i&4)&&(d=c===-1?Fd(e,t):t[c+8],d===dr||!Z1(i,!1)?c=-1:(a=t[G],c=Ha(d),t=Ba(d,t)));c!==-1;){let h=t[G];if($1(o,c,h.data)){let g=d5(c,t,n,a,i,f);if(g!==en)return g}d=t[c+8],d!==dr&&Z1(i,t[G].data[c+8]===f)&&$1(o,c,t)?(a=h,c=Ha(d),t=Ba(d,t)):c=-1}}return r}function d5(e,t,n,i,r,o){let a=t[G],c=a.data[e+8],d=i==null?Fn(c)&&ad:i!=a&&(c.type&3)!==0,f=r&1&&o===c,h=p5(c,a,n,d,f);return h!==null?$a(t,a,h,c):en}function p5(e,t,n,i,r){let o=e.providerIndexes,a=t.data,c=o&1048575,d=e.directiveStart,f=e.directiveEnd,h=o>>20,g=i?c:c+h,y=r?c+h:f;for(let v=g;v<y;v++){let _=a[v];if(v<d&&n===_||v>=d&&_.type===n)return v}if(r){let v=a[d];if(v&&Kt(v)&&v.type===n)return d}return null}function $a(e,t,n,i){let r=e[n],o=t.data;if(r instanceof xi){let a=r;a.resolving&&yu(i1(o[n]));let c=Ua(a.canSeeViewProviders);a.resolving=!0;let d=o[n].type||o[n],f,h=a.injectImpl?ot(a.injectImpl):null,g=$u(e,i,0);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&e5(n,o[n],t)}finally{h!==null&&ot(h),Ua(c),a.resolving=!1,Zu()}}return r}function f5(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(di)?e[di]:void 0;return typeof t=="number"?t>=0?t&Ch:m5:t}function $1(e,t,n){let i=1<<e;return!!(n[t+(e>>wh)]&i)}function Z1(e,t){return!(e&2)&&!(e&1&&t)}var Ei=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Mh(this._tNode,this._lView,t,li(i),n)}};function m5(){return new Ei(pt(),Y())}function ko(e){return gr(()=>{let t=e.prototype.constructor,n=t[io]||cd(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){let o=r[io]||cd(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function cd(e){return mu(e)?()=>{let t=cd(qe(e));return t&&t()}:Ln(e)}function h5(e,t,n,i,r){let o=e,a=t;for(;o!==null&&a!==null&&a[$]&2048&&!ar(a);){let c=Ih(o,a,n,i|2,en);if(c!==en)return c;let d=o.parent;if(!d){let f=a[ku];if(f){let h=f.get(n,en,i);if(h!==en)return h}d=Sh(a),a=a[gi]}o=d}return r}function Sh(e){let t=e[G],n=t.type;return n===2?t.declTNode:n===1?e[at]:null}function g5(){return tl(pt(),Y())}function tl(e,t){return new Un(Ft(e,t))}var Un=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=g5}return e})();function Th(e){return(e.flags&128)===128}var Vd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Vd||{}),kh=new Map,b5=0;function v5(){return b5++}function y5(e){kh.set(e[co],e)}function ud(e){kh.delete(e[co])}var W1="__ngContext__";function br(e,t){Xt(t)?(e[W1]=t[co],y5(t)):e[W1]=t}function Ah(e){return Nh(e[sr])}function Lh(e){return Nh(e[Mt])}function Nh(e){for(;e!==null&&!Pt(e);)e=e[Mt];return e}var dd;function jd(e){dd=e}function Oh(){if(dd!==void 0)return dd;if(typeof document<"u")return document;throw new j(210,!1)}var nl=new z("",{providedIn:"root",factory:()=>_5}),_5="ng",il=new z(""),vr=new z("",{providedIn:"platform",factory:()=>"unknown"});var rl=new z("",{providedIn:"root",factory:()=>Oh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var C5="h",w5="b";var Rh="r";var Ph="di";var Fh=!1,Vh=new z("",{providedIn:"root",factory:()=>Fh});var D5=(e,t,n,i)=>{};function E5(e,t,n,i){D5(e,t,n,i)}var x5=()=>null;function jh(e,t,n=!1){return x5(e,t,n)}function Hh(e,t){let n=e.contentQueries;if(n!==null){let i=Z(null);try{for(let r=0;r<n.length;r+=2){let o=n[r],a=n[r+1];if(a!==-1){let c=e.data[a];zu(o),c.contentQueries(2,t[a],a)}}}finally{Z(i)}}}function pd(e,t,n){zu(0);let i=Z(null);try{t(e,n)}finally{Z(i)}}function Hd(e,t,n){if(Da(t)){let i=Z(null);try{let r=t.directiveStart,o=t.directiveEnd;for(let a=r;a<o;a++){let c=e.data[a];if(c.contentQueries){let d=n[a];c.contentQueries(1,d,a)}}}finally{Z(i)}}}var yn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(yn||{});var Za=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ua})`}};function ol(e){return e instanceof Za?e.changingThisBreaksApplicationSecurity:e}function Bh(e,t){let n=Uh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ua})`)}return n===t}function Uh(e){return e instanceof Za&&e.getTypeName()||null}var M5=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function zh(e){return e=String(e),e.match(M5)?e:"unsafe:"+e}var Bd=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}(Bd||{});function yr(e){let t=I5();return t?t.sanitize(Bd.URL,e)||"":Bh(e,"URL")?ol(e):zh(nr(e))}function I5(){let e=Y();return e&&e[Qt].sanitizer}var S5=/^>|^->|<!--|-->|--!>|<!-$/g,T5=/(<|>)/g,k5="\u200B$1\u200B";function A5(e){return e.replace(S5,t=>t.replace(T5,k5))}function L5(e,t,n){let i=e.length;for(;;){let r=e.indexOf(t,n);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}var $h="ng-template";function N5(e,t,n,i){let r=0;if(i){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&L5(t[r+1].toLowerCase(),n,0)!==-1)return!0}else if(Ud(e))return!1;if(r=t.indexOf(1,r),r>-1){let o;for(;++r<t.length&&typeof(o=t[r])=="string";)if(o.toLowerCase()===n)return!0}return!1}function Ud(e){return e.type===4&&e.value!==$h}function O5(e,t,n){let i=e.type===4&&!n?$h:e.value;return t===i}function R5(e,t,n){let i=4,r=e.attrs,o=r!==null?V5(r):0,a=!1;for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="number"){if(!a&&!jt(i)&&!jt(d))return!1;if(a&&jt(d))continue;a=!1,i=d|i&1;continue}if(!a)if(i&4){if(i=2|i&1,d!==""&&!O5(e,d,n)||d===""&&t.length===1){if(jt(i))return!1;a=!0}}else if(i&8){if(r===null||!N5(e,r,d,n)){if(jt(i))return!1;a=!0}}else{let f=t[++c],h=P5(d,r,Ud(e),n);if(h===-1){if(jt(i))return!1;a=!0;continue}if(f!==""){let g;if(h>o?g="":g=r[h+1].toLowerCase(),i&2&&f!==g){if(jt(i))return!1;a=!0}}}}return jt(i)||a}function jt(e){return(e&1)===0}function P5(e,t,n,i){if(t===null)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){let a=t[r];if(a===e)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let c=t[++r];for(;typeof c=="string";)c=t[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return j5(t,e)}function Zh(e,t,n=!1){for(let i=0;i<t.length;i++)if(R5(e,t[i],n))return!0;return!1}function F5(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function V5(e){for(let t=0;t<e.length;t++){let n=e[t];if(o5(n))return t}return e.length}function j5(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function H5(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function G1(e,t){return e?":not("+t.trim()+")":t}function B5(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let a=e[n];if(typeof a=="string")if(i&2){let c=e[++n];r+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!jt(a)&&(t+=G1(o,r),r=""),i=a,o=o||!jt(i);n++}return r!==""&&(t+=G1(o,r)),t}function U5(e){return e.map(B5).join(",")}function z5(e){let t=[],n=[],i=1,r=2;for(;i<e.length;){let o=e[i];if(typeof o=="string")r===2?o!==""&&t.push(o,e[++i]):r===8&&n.push(o);else{if(!jt(r))break;r=o}i++}return n.length&&t.push(1,...n),t}var wt={};function $5(e,t){return e.createText(t)}function Z5(e,t,n){e.setValue(t,n)}function W5(e,t){return e.createComment(A5(t))}function Wh(e,t,n){return e.createElement(t,n)}function Wa(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Gh(e,t,n){e.appendChild(t,n)}function Y1(e,t,n,i,r){i!==null?Wa(e,t,n,i,r):Gh(e,t,n)}function Yh(e,t,n){e.removeChild(null,t,n)}function G5(e,t,n){e.setAttribute(t,"style",n)}function Y5(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function qh(e,t,n){let{mergedAttrs:i,classes:r,styles:o}=n;i!==null&&r5(e,t,i),r!==null&&Y5(e,t,r),o!==null&&G5(e,t,o)}function zd(e,t,n,i,r,o,a,c,d,f,h){let g=Ve+i,y=g+r,v=q5(g,y),_=typeof f=="function"?f():f;return v[G]={type:e,blueprint:v,template:n,queries:null,viewQuery:c,declTNode:t,data:v.slice().fill(null,g),bindingStartIndex:g,expandoStartIndex:y,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:d,consts:_,incompleteFirstPass:!1,ssrId:h}}function q5(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:wt);return n}function Q5(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=zd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function $d(e,t,n,i,r,o,a,c,d,f,h){let g=t.blueprint.slice();return g[Rt]=r,g[$]=i|4|128|8|64|1024,(f!==null||e&&e[$]&2048)&&(g[$]|=2048),Ru(g),g[We]=g[gi]=e,g[Ne]=n,g[Qt]=a||e&&e[Qt],g[Me]=c||e&&e[Me],g[hi]=d||e&&e[hi]||null,g[at]=o,g[co]=v5(),g[mi]=h,g[ku]=f,g[lt]=t.type==2?e[lt]:g,g}function X5(e,t,n){let i=Ft(t,e),r=Q5(n),o=e[Qt].rendererFactory,a=Zd(e,$d(e,r,null,Qh(n),i,t,null,o.createRenderer(i,n),null,null,null));return e[t.index]=a}function Qh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Xh(e,t,n,i){if(n===0)return-1;let r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Zd(e,t){return e[sr]?e[Tu][Mt]=t:e[sr]=t,e[Tu]=t,t}function w(e=1){Kh(je(),Y(),vn()+e,!1)}function Kh(e,t,n,i){if(!i)if((t[$]&3)===3){let o=e.preOrderCheckHooks;o!==null&&Pa(t,o,n)}else{let o=e.preOrderHooks;o!==null&&Fa(t,o,0,n)}jn(n)}var sl=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(sl||{});function fd(e,t,n,i){let r=Z(null);try{let[o,a,c]=e.inputs[n],d=null;(a&sl.SignalBased)!==0&&(d=t[o][ut]),d!==null&&d.transformFn!==void 0?i=d.transformFn(i):c!==null&&(i=c.call(t,i)),e.setInput!==null?e.setInput(t,d,i,n,o):hh(t,d,o,i)}finally{Z(r)}}function Jh(e,t,n,i,r){let o=vn(),a=i&2;try{jn(-1),a&&t.length>Ve&&Kh(e,t,Ve,!1),he(a?2:0,r,n),n(i,r)}finally{jn(o),he(a?3:1,r,n)}}function al(e,t,n){o8(e,t,n),(n.flags&64)===64&&s8(e,t,n)}function Wd(e,t,n=Ft){let i=t.localNames;if(i!==null){let r=t.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],c=a===-1?n(t,e):e[a];e[r++]=c}}}function K5(e,t,n,i){let o=i.get(Vh,Fh)||n===yn.ShadowDom,a=e.selectRootElement(t,o);return J5(a),a}function J5(e){e8(e)}var e8=()=>null;function t8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function n8(e,t,n,i,r,o){let a=t[G];if(Yd(e,a,t,n,i)){Fn(e)&&r8(t,e.index);return}i8(e,t,n,i,r,o)}function i8(e,t,n,i,r,o){if(e.type&3){let a=Ft(e,t);n=t8(n),i=o!=null?o(i,e.value||"",n):i,r.setProperty(a,n,i)}else e.type&12}function r8(e,t){let n=St(t,e);n[$]&16||(n[$]|=64)}function o8(e,t,n){let i=n.directiveStart,r=n.directiveEnd;Fn(n)&&X5(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||za(n,t);let o=n.initialInputs;for(let a=i;a<r;a++){let c=e.data[a],d=$a(t,e,a,n);if(br(d,t),o!==null&&u8(t,a-i,d,c,n,o),Kt(c)){let f=St(n.index,t);f[Ne]=$a(t,e,a,n)}}}function s8(e,t,n){let i=n.directiveStart,r=n.directiveEnd,o=n.index,a=k1();try{jn(o);for(let c=i;c<r;c++){let d=e.data[c],f=t[c];ka(c),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&a8(d,f)}}finally{jn(-1),ka(a)}}function a8(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Gd(e,t){let n=e.directiveRegistry,i=null;if(n)for(let r=0;r<n.length;r++){let o=n[r];Zh(t,o.selectors,!1)&&(i??=[],Kt(o)?i.unshift(o):i.push(o))}return i}function l8(e,t,n,i,r,o){let a=Ft(e,t);c8(t[Me],a,o,e.value,n,i,r)}function c8(e,t,n,i,r,o,a){if(o==null)e.removeAttribute(t,r,n);else{let c=a==null?nr(o):a(o,i||"",r);e.setAttribute(t,r,c,n)}}function u8(e,t,n,i,r,o){let a=o[t];if(a!==null)for(let c=0;c<a.length;c+=2){let d=a[c],f=a[c+1];fd(i,n,d,f)}}function d8(e,t){let n=e[hi];if(!n)return;n.get(Jt,null)?.(t)}function Yd(e,t,n,i,r){let o=e.inputs?.[i],a=e.hostDirectiveInputs?.[i],c=!1;if(a)for(let d=0;d<a.length;d+=2){let f=a[d],h=a[d+1],g=t.data[f];fd(g,n[f],h,r),c=!0}if(o)for(let d of o){let f=n[d],h=t.data[d];fd(h,f,i,r),c=!0}return c}function p8(e,t){let n=St(t,e),i=n[G];f8(i,n);let r=n[Rt];r!==null&&n[mi]===null&&(n[mi]=jh(r,n[hi])),he(18),qd(i,n,n[Ne]),he(19,n[Ne])}function f8(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function qd(e,t,n){Aa(t);try{let i=e.viewQuery;i!==null&&pd(1,i,n);let r=e.template;r!==null&&Jh(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[yi]?.finishViewCreation(e),e.staticContentQueries&&Hh(e,t),e.staticViewQueries&&pd(2,e.viewQuery,n);let o=e.components;o!==null&&m8(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[$]&=-5,La()}}function m8(e,t){for(let n=0;n<t.length;n++)p8(e,t[n])}function Ao(e,t,n,i){let r=Z(null);try{let o=t.tView,c=e[$]&4096?4096:16,d=$d(e,o,n,c,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),f=e[t.index];d[bi]=f;let h=e[yi];return h!==null&&(d[yi]=h.createEmbeddedView(o)),qd(o,d,n),d}finally{Z(r)}}function fr(e,t){return!t||t.firstChild===null||Th(e)}var q1=!1,h8=new z(""),g8;function Qd(e,t){return g8(e,t)}var Bt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Bt||{});function ll(e){return(e.flags&32)===32}function ur(e,t,n,i,r){if(i!=null){let o,a=!1;Pt(i)?o=i:Xt(i)&&(a=!0,i=i[Rt]);let c=It(i);e===0&&n!==null?r==null?Gh(t,n,c):Wa(t,n,c,r||null,!0):e===1&&n!==null?Wa(t,n,c,r||null,!0):e===2?Yh(t,c,a):e===3&&t.destroyNode(c),o!=null&&M8(t,e,o,n,r)}}function b8(e,t){e0(e,t),t[Rt]=null,t[at]=null}function v8(e,t,n,i,r,o){i[Rt]=r,i[at]=t,dl(e,i,n,1,r,o)}function e0(e,t){t[Qt].changeDetectionScheduler?.notify(9),dl(e,t,t[Me],2,null,null)}function y8(e){let t=e[sr];if(!t)return Ku(e[G],e);for(;t;){let n=null;if(Xt(t))n=t[sr];else{let i=t[Qe];i&&(n=i)}if(!n){for(;t&&!t[Mt]&&t!==e;)Xt(t)&&Ku(t[G],t),t=t[We];t===null&&(t=e),Xt(t)&&Ku(t[G],t),n=t&&t[Mt]}t=n}}function Xd(e,t){let n=e[fo],i=n.indexOf(t);n.splice(i,1)}function cl(e,t){if(_i(t))return;let n=t[Me];n.destroyNode&&dl(e,t,n,3,null,null),y8(t)}function Ku(e,t){if(_i(t))return;let n=Z(null);try{t[$]&=-129,t[$]|=256,t[yt]&&As(t[yt]),C8(e,t),_8(e,t),t[G].type===1&&t[Me].destroy();let i=t[bi];if(i!==null&&Pt(t[We])){i!==t[We]&&Xd(i,t);let r=t[yi];r!==null&&r.detachView(e)}ud(t)}finally{Z(n)}}function _8(e,t){let n=e.cleanup,i=t[or];if(n!==null)for(let a=0;a<n.length-1;a+=2)if(typeof n[a]=="string"){let c=n[a+3];c>=0?i[c]():i[-c].unsubscribe(),a+=2}else{let c=i[n[a+1]];n[a].call(c)}i!==null&&(t[or]=null);let r=t[bn];if(r!==null){t[bn]=null;for(let a=0;a<r.length;a++){let c=r[a];c()}}let o=t[uo];if(o!==null){t[uo]=null;for(let a of o)a.destroy()}}function C8(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let r=t[n[i]];if(!(r instanceof xi)){let o=n[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let c=r[o[a]],d=o[a+1];he(4,c,d);try{d.call(c)}finally{he(5,c,d)}}else{he(4,r,o);try{o.call(r)}finally{he(5,r,o)}}}}}function t0(e,t,n){return w8(e,t.parent,n)}function w8(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[Rt];if(Fn(i)){let{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===yn.None||r===yn.Emulated)return null}return Ft(i,n)}function n0(e,t,n){return E8(e,t,n)}function D8(e,t,n){return e.type&40?Ft(e,n):null}var E8=D8,Q1;function ul(e,t,n,i){let r=t0(e,i,t),o=t[Me],a=i.parent||t[at],c=n0(a,i,t);if(r!=null)if(Array.isArray(n))for(let d=0;d<n.length;d++)Y1(o,r,n[d],c,!1);else Y1(o,r,n,c,!1);Q1!==void 0&&Q1(o,i,t,n,r)}function wo(e,t){if(t!==null){let n=t.type;if(n&3)return Ft(t,e);if(n&4)return md(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return wo(e,i);{let r=e[t.index];return Pt(r)?md(-1,r):It(r)}}else{if(n&128)return wo(e,t.next);if(n&32)return Qd(t,e)()||It(e[t.index]);{let i=i0(e,t);if(i!==null){if(Array.isArray(i))return i[0];let r=Nn(e[lt]);return wo(r,i)}else return wo(e,t.next)}}}return null}function i0(e,t){if(t!==null){let i=e[lt][at],r=t.projection;return i.projection[r]}return null}function md(e,t){let n=Qe+e+1;if(n<t.length){let i=t[n],r=i[G].firstChild;if(r!==null)return wo(i,r)}return t[Pn]}function Kd(e,t,n,i,r,o,a){for(;n!=null;){if(n.type===128){n=n.next;continue}let c=i[n.index],d=n.type;if(a&&t===0&&(c&&br(It(c),i),n.flags|=2),!ll(n))if(d&8)Kd(e,t,n.child,i,r,o,!1),ur(t,e,r,c,o);else if(d&32){let f=Qd(n,i),h;for(;h=f();)ur(t,e,r,h,o);ur(t,e,r,c,o)}else d&16?r0(e,t,i,n,r,o):ur(t,e,r,c,o);n=a?n.projectionNext:n.next}}function dl(e,t,n,i,r,o){Kd(n,i,e.firstChild,t,r,o,!1)}function x8(e,t,n){let i=t[Me],r=t0(e,n,t),o=n.parent||t[at],a=n0(o,n,t);r0(i,0,t,n,r,a)}function r0(e,t,n,i,r,o){let a=n[lt],d=a[at].projection[i.projection];if(Array.isArray(d))for(let f=0;f<d.length;f++){let h=d[f];ur(t,e,r,h,o)}else{let f=d,h=a[We];Th(i)&&(f.flags|=128),Kd(e,t,f,h,r,o,!0)}}function M8(e,t,n,i,r){let o=n[Pn],a=It(n);o!==a&&ur(t,e,i,o,r);for(let c=Qe;c<n.length;c++){let d=n[c];dl(d[G],d,e,t,i,o)}}function I8(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=i.indexOf("-")===-1?void 0:Bt.DashCase;r==null?e.removeStyle(n,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Bt.Important),e.setStyle(n,i,r,o))}}function Eo(e,t,n,i,r=!1){for(;n!==null;){if(n.type===128){n=r?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&i.push(It(o)),Pt(o)&&o0(o,i);let a=n.type;if(a&8)Eo(e,t,n.child,i);else if(a&32){let c=Qd(n,t),d;for(;d=c();)i.push(d)}else if(a&16){let c=i0(t,n);if(Array.isArray(c))i.push(...c);else{let d=Nn(t[lt]);Eo(d[G],d,c,i,!0)}}n=r?n.projectionNext:n.next}return i}function o0(e,t){for(let n=Qe;n<e.length;n++){let i=e[n],r=i[G].firstChild;r!==null&&Eo(i[G],i,r,t)}e[Pn]!==e[Rt]&&t.push(e[Pn])}function s0(e){if(e[wa]!==null){for(let t of e[wa])t.impl.addSequence(t);e[wa].length=0}}var a0=[];function S8(e){return e[yt]??T8(e)}function T8(e){let t=a0.pop()??Object.create(A8);return t.lView=e,t}function k8(e){e.lView[yt]!==e&&(e.lView=null,a0.push(e))}var A8=nt(Le({},Gi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{go(e.lView)},consumerOnSignalRead(){this.lView[yt]=this}});function L8(e){let t=e[yt]??Object.create(N8);return t.lView=e,t}var N8=nt(Le({},Gi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Nn(e.lView);for(;t&&!l0(t[G]);)t=Nn(t);t&&xa(t)},consumerOnSignalRead(){this.lView[yt]=this}});function l0(e){return e.type!==2}function c0(e){if(e[uo]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[uo])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[$]&8192)}}var O8=100;function Jd(e,t=0){let i=e[Qt].rendererFactory,r=!1;r||i.begin?.();try{R8(e,t)}finally{r||i.end?.()}}function R8(e,t){let n=Hu();try{Bu(!0),hd(e,t);let i=0;for(;lr(e);){if(i===O8)throw new j(103,!1);i++,hd(e,1)}}finally{Bu(n)}}function u0(e,t){ju(t?bo.Exhaustive:bo.OnlyDirtyViews);try{Jd(e)}finally{ju(bo.Off)}}function P8(e,t,n,i){if(_i(t))return;let r=t[$],o=!1,a=!1;Aa(t);let c=!0,d=null,f=null;o||(l0(e)?(f=S8(t),d=Yi(f)):ks()===null?(c=!1,f=L8(t),d=Yi(f)):t[yt]&&(As(t[yt]),t[yt]=null));try{Ru(t),I1(e.bindingStartIndex),n!==null&&Jh(e,t,n,2,i);let h=(r&3)===3;if(!o)if(h){let v=e.preOrderCheckHooks;v!==null&&Pa(t,v,null)}else{let v=e.preOrderHooks;v!==null&&Fa(t,v,0,null),Qu(t,0)}if(a||F8(t),c0(t),d0(t,0),e.contentQueries!==null&&Hh(e,t),!o)if(h){let v=e.contentCheckHooks;v!==null&&Pa(t,v)}else{let v=e.contentHooks;v!==null&&Fa(t,v,1),Qu(t,1)}j8(e,t);let g=e.components;g!==null&&f0(t,g,0);let y=e.viewQuery;if(y!==null&&pd(2,y,i),!o)if(h){let v=e.viewCheckHooks;v!==null&&Pa(t,v)}else{let v=e.viewHooks;v!==null&&Fa(t,v,2),Qu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ca]){for(let v of t[Ca])v();t[Ca]=null}o||(s0(t),t[$]&=-73)}catch(h){throw o||go(t),h}finally{f!==null&&(Qr(f,d),c&&k8(f)),La()}}function d0(e,t){for(let n=Ah(e);n!==null;n=Lh(n))for(let i=Qe;i<n.length;i++){let r=n[i];p0(r,t)}}function F8(e){for(let t=Ah(e);t!==null;t=Lh(t)){if(!(t[$]&2))continue;let n=t[fo];for(let i=0;i<n.length;i++){let r=n[i];xa(r)}}}function V8(e,t,n){he(18);let i=St(t,e);p0(i,n),he(19,i[Ne])}function p0(e,t){Ea(e)&&hd(e,t)}function hd(e,t){let i=e[G],r=e[$],o=e[yt],a=!!(t===0&&r&16);if(a||=!!(r&64&&t===0),a||=!!(r&1024),a||=!!(o?.dirty&&Xr(o)),a||=!1,o&&(o.dirty=!1),e[$]&=-9217,a)P8(i,e,i.template,e[Ne]);else if(r&8192){let c=Z(null);try{c0(e),d0(e,1);let d=i.components;d!==null&&f0(e,d,1),s0(e)}finally{Z(c)}}}function f0(e,t,n){for(let i=0;i<t.length;i++)V8(e,t[i],n)}function j8(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let r=n[i];if(r<0)jn(~r);else{let o=r,a=n[++i],c=n[++i];T1(a,o);let d=t[o];he(24,d),c(2,d),he(25,d)}}}finally{jn(-1)}}function ep(e,t){let n=Hu()?64:1088;for(e[Qt].changeDetectionScheduler?.notify(t);e;){e[$]|=n;let i=Nn(e);if(ar(e)&&!i)return e;e=i}return null}function m0(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function h0(e,t){let n=Qe+t;if(n<e.length)return e[n]}function Lo(e,t,n,i=!0){let r=t[G];if(H8(r,t,e,n),i){let a=md(n,e),c=t[Me],d=c.parentNode(e[Pn]);d!==null&&v8(r,e[at],c,t,d,a)}let o=t[mi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function g0(e,t){let n=xo(e,t);return n!==void 0&&cl(n[G],n),n}function xo(e,t){if(e.length<=Qe)return;let n=Qe+t,i=e[n];if(i){let r=i[bi];r!==null&&r!==e&&Xd(r,i),t>0&&(e[n-1][Mt]=i[Mt]);let o=oo(e,Qe+t);b8(i[G],i);let a=o[yi];a!==null&&a.detachView(o[G]),i[We]=null,i[Mt]=null,i[$]&=-129}return i}function H8(e,t,n,i){let r=Qe+i,o=n.length;i>0&&(n[r-1][Mt]=t),i<o-Qe?(t[Mt]=n[r],wu(n,Qe+i,t)):(n.push(t),t[Mt]=null),t[We]=n;let a=t[bi];a!==null&&n!==a&&b0(a,t);let c=t[yi];c!==null&&c.insertView(e),Ma(t),t[$]|=128}function b0(e,t){let n=e[fo],i=t[We];if(Xt(i))e[$]|=2;else{let r=i[We][lt];t[lt]!==r&&(e[$]|=2)}n===null?e[fo]=[t]:n.push(t)}var Bn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[G];return Eo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Ne]}set context(t){this._lView[Ne]=t}get destroyed(){return _i(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[We];if(Pt(t)){let n=t[po],i=n?n.indexOf(this):-1;i>-1&&(xo(t,i),oo(n,i))}this._attachedToViewContainer=!1}cl(this._lView[G],this._lView)}onDestroy(t){Pu(this._lView,t)}markForCheck(){ep(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[$]&=-129}reattach(){Ma(this._lView),this._lView[$]|=128}detectChanges(){this._lView[$]|=1024,Jd(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[hi].get(h8,q1)}catch{this.exhaustive=q1}}attachToViewContainerRef(){if(this._appRef)throw new j(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ar(this._lView),n=this._lView[bi];n!==null&&!t&&Xd(n,this._lView),e0(this._lView[G],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new j(902,!1);this._appRef=t;let n=ar(this._lView),i=this._lView[bi];i!==null&&!n&&b0(i,this._lView),Ma(this._lView)}};function tp(e){return lr(e._lView)||!!(e._lView[$]&64)}function np(e){xa(e._lView)}var No=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=B8;constructor(n,i,r){this._declarationLView=n,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,i){return this.createEmbeddedViewImpl(n,i)}createEmbeddedViewImpl(n,i,r){let o=Ao(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:i,dehydratedView:r});return new Bn(o)}}return e})();function B8(){return v0(pt(),Y())}function v0(e,t){return e.type&4?new No(t,e,tl(e,t)):null}function Oo(e,t,n,i,r){let o=e.data[t];if(o===null)o=U8(e,t,n,i,r),S1()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=i,o.attrs=r;let a=x1();o.injectorIndex=a===null?-1:a.injectorIndex}return Vn(o,!0),o}function U8(e,t,n,i,r){let o=Vu(),a=Sa(),c=a?o:o&&o.parent,d=e.data[t]=$8(e,c,n,t,i,r);return z8(e,d,o,a),d}function z8(e,t,n,i){e.firstChild===null&&(e.firstChild=t),n!==null&&(i?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function $8(e,t,n,i,r,o){let a=t?t.injectorIndex:-1,c=0;return Fu()&&(c|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var LS=new RegExp(`^(\\d+)*(${w5}|${C5})*(.*)`);function Z8(e){let t=e[Au]??[],i=e[We][Me],r=[];for(let o of t)o.data[Ph]!==void 0?r.push(o):W8(o,i);e[Au]=r}function W8(e,t){let n=0,i=e.firstChild;if(i){let r=e.data[Rh];for(;n<r;){let o=i.nextSibling;Yh(t,i,!1),i=o,n++}}}var G8=()=>null,Y8=()=>null;function Ga(e,t){return G8(e,t)}function y0(e,t,n){return Y8(e,t,n)}var _0=class{},pl=class{},gd=class{resolveComponentFactory(t){throw new j(917,!1)}},Si=class{static NULL=new gd},Mi=class{},fl=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>q8()}return e})();function q8(){let e=Y(),t=pt(),n=St(t.index,e);return(Xt(n)?n:e)[Me]}var C0=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>null})}return e})();var Va={},bd=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){let r=this.injector.get(t,Va,i);return r!==Va||n===Va?r:this.parentInjector.get(t,n,i)}};function vd(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(t!==null)for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number")o=c;else if(o==1)r=pa(r,c);else if(o==2){let d=c,f=t[++a];i=pa(i,d+": "+f+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function Be(e,t=0){let n=Y();if(n===null)return V(e,t);let i=pt();return Mh(i,n,qe(e),t)}function ip(e,t,n,i,r){let o=i===null?null:{"":-1},a=r(e,n);if(a!==null){let c=a,d=null,f=null;for(let h of a)if(h.resolveHostDirectives!==null){[c,d,f]=h.resolveHostDirectives(a);break}K8(e,t,n,c,o,d,f)}o!==null&&i!==null&&Q8(n,i,o)}function Q8(e,t,n){let i=e.localNames=[];for(let r=0;r<t.length;r+=2){let o=n[t[r+1]];if(o==null)throw new j(-301,!1);i.push(t[r],o)}}function X8(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function K8(e,t,n,i,r,o,a){let c=i.length,d=!1;for(let y=0;y<c;y++){let v=i[y];!d&&Kt(v)&&(d=!0,X8(e,n,y)),ld(za(n,t),e,v.type)}r_(n,e.data.length,c);for(let y=0;y<c;y++){let v=i[y];v.providersResolver&&v.providersResolver(v)}let f=!1,h=!1,g=Xh(e,t,c,null);c>0&&(n.directiveToIndex=new Map);for(let y=0;y<c;y++){let v=i[y];if(n.mergedAttrs=pr(n.mergedAttrs,v.hostAttrs),e_(e,n,t,g,v),i_(g,v,r),a!==null&&a.has(v)){let[I,A]=a.get(v);n.directiveToIndex.set(v.type,[g,I+n.directiveStart,A+n.directiveStart])}else(o===null||!o.has(v))&&n.directiveToIndex.set(v.type,g);v.contentQueries!==null&&(n.flags|=4),(v.hostBindings!==null||v.hostAttrs!==null||v.hostVars!==0)&&(n.flags|=64);let _=v.type.prototype;!f&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),f=!0),!h&&(_.ngOnChanges||_.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}J8(e,n,o)}function J8(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let r=e.data[i];if(n===null||!n.has(r))X1(0,t,r,i),X1(1,t,r,i),J1(t,i,!1);else{let o=n.get(r);K1(0,t,o,i),K1(1,t,o,i),J1(t,i,!0)}}}function X1(e,t,n,i){let r=e===0?n.inputs:n.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;e===0?a=t.inputs??={}:a=t.outputs??={},a[o]??=[],a[o].push(i),w0(t,o)}}function K1(e,t,n,i){let r=e===0?n.inputs:n.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],c;e===0?c=t.hostDirectiveInputs??={}:c=t.hostDirectiveOutputs??={},c[a]??=[],c[a].push(i,o),w0(t,a)}}function w0(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function J1(e,t,n){let{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(i===null||!n&&r===null||n&&o===null||Ud(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let a=null,c=0;for(;c<i.length;){let d=i[c];if(d===0){c+=4;continue}else if(d===5){c+=2;continue}else if(typeof d=="number")break;if(!n&&r.hasOwnProperty(d)){let f=r[d];for(let h of f)if(h===t){a??=[],a.push(d,i[c+1]);break}}else if(n&&o.hasOwnProperty(d)){let f=o[d];for(let h=0;h<f.length;h+=2)if(f[h]===t){a??=[],a.push(f[h+1],i[c+1]);break}}c+=2}e.initialInputs??=[],e.initialInputs.push(a)}function e_(e,t,n,i,r){e.data[i]=r;let o=r.factory||(r.factory=Ln(r.type,!0)),a=new xi(o,Kt(r),Be);e.blueprint[i]=a,n[i]=a,t_(e,t,i,Xh(e,n,r.hostVars,wt),r)}function t_(e,t,n,i,r){let o=r.hostBindings;if(o){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let c=~t.index;n_(a)!=c&&a.push(c),a.push(n,i,o)}}function n_(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function i_(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Kt(t)&&(n[""]=e)}}function r_(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function D0(e,t,n,i,r,o,a,c){let d=t.consts,f=Vt(d,a),h=Oo(t,e,2,i,f);return o&&ip(t,n,h,Vt(d,c),r),h.mergedAttrs=pr(h.mergedAttrs,h.attrs),h.attrs!==null&&vd(h,h.attrs,!1),h.mergedAttrs!==null&&vd(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function E0(e,t){Pd(e,t),Da(t)&&e.queries.elementEnd(t)}function rp(e){return ml(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function x0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),i;for(;!(i=n.next()).done;)t(i.value)}}function ml(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function hl(e,t,n){return e[t]=n}function o_(e,t){return e[t]}function Ct(e,t,n){if(n===wt)return!1;let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function Ya(e,t,n,i){let r=Ct(e,t,n);return Ct(e,t+1,i)||r}function s_(e,t,n,i,r){let o=Ya(e,t,n,i);return Ct(e,t+2,r)||o}function a_(e,t,n,i,r,o){let a=Ya(e,t,n,i);return Ya(e,t+2,r,o)||a}function Ju(e,t,n){return function i(r){let o=Fn(e)?St(e.index,t):t;ep(o,5);let a=t[Ne],c=eh(t,a,n,r),d=i.__ngNextListenerFn__;for(;d;)c=eh(t,a,d,r)&&c,d=d.__ngNextListenerFn__;return c}}function eh(e,t,n,i){let r=Z(null);try{return he(6,t,n),n(i)!==!1}catch(o){return d8(e,o),!1}finally{he(7,t,n),Z(r)}}function l_(e,t,n,i,r,o,a,c){let d=mo(e),f=!1,h=null;if(!i&&d&&(h=c_(t,n,o,e.index)),h!==null){let g=h.__ngLastListenerFn__||h;g.__ngNextListenerFn__=a,h.__ngLastListenerFn__=a,f=!0}else{let g=Ft(e,n),y=i?i(g):g;E5(n,y,o,c);let v=r.listen(y,o,c),_=i?I=>i(It(I[e.index])):e.index;M0(_,t,n,o,c,v,!1)}return f}function c_(e,t,n,i){let r=e.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===n&&r[o+1]===i){let c=t[or],d=r[o+2];return c&&c.length>d?c[d]:null}typeof a=="string"&&(o+=2)}return null}function M0(e,t,n,i,r,o,a){let c=t.firstCreatePass?y1(t):null,d=v1(n),f=d.length;d.push(r,o),c&&c.push(i,e,f,(f+1)*(a?-1:1))}function th(e,t,n,i,r,o){let a=t[n],c=t[G],f=c.data[n].outputs[i],g=a[f].subscribe(o);M0(e.index,c,t,r,o,g,!0)}var yd=Symbol("BINDING");var _d=class extends Si{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=fi(t);return new Mo(n,this.ngModule)}};function u_(e){return Object.keys(e).map(t=>{let[n,i,r]=e[t],o={propName:n,templateName:t,isSignal:(i&sl.SignalBased)!==0};return r&&(o.transform=r),o})}function d_(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function p_(e,t,n){let i=t instanceof dt?t:t?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new bd(n,i):n}function f_(e){let t=e.get(Mi,null);if(t===null)throw new j(407,!1);let n=e.get(C0,null),i=e.get(qt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i,ngReflect:!1}}function m_(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Wh(t,n,n==="svg"?f1:n==="math"?m1:null)}var Mo=class extends pl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=u_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=d_(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=U5(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,i,r,o,a){he(22);let c=Z(null);try{let d=this.componentDef,f=h_(i,d,a,o),h=p_(d,r||this.ngModule,t),g=f_(h),y=g.rendererFactory.createRenderer(null,d),v=i?K5(y,i,d.encapsulation,h):m_(d,y),_=a?.some(nh)||o?.some(k=>typeof k!="function"&&k.bindings.some(nh)),I=$d(null,f,null,512|Qh(d),null,null,g,y,h,null,jh(v,h,!0));I[Ve]=v,Aa(I);let A=null;try{let k=D0(Ve,f,I,"#host",()=>f.directiveRegistry,!0,0);v&&(qh(y,v,k),br(v,I)),al(f,I,k),Hd(f,k,I),E0(f,k),n!==void 0&&b_(k,this.ngContentSelectors,n),A=St(k.index,I),I[Ne]=A[Ne],qd(f,I,null)}catch(k){throw A!==null&&ud(A),ud(I),k}finally{he(23),La()}return new qa(this.componentType,I,!!_)}finally{Z(c)}}};function h_(e,t,n,i){let r=e?["ng-version","20.0.5"]:z5(t.selectors[0]),o=null,a=null,c=0;if(n)for(let h of n)c+=h[yd].requiredVars,h.create&&(h.targetIdx=0,(o??=[]).push(h)),h.update&&(h.targetIdx=0,(a??=[]).push(h));if(i)for(let h=0;h<i.length;h++){let g=i[h];if(typeof g!="function")for(let y of g.bindings){c+=y[yd].requiredVars;let v=h+1;y.create&&(y.targetIdx=v,(o??=[]).push(y)),y.update&&(y.targetIdx=v,(a??=[]).push(y))}}let d=[t];if(i)for(let h of i){let g=typeof h=="function"?h:h.type,y=xu(g);d.push(y)}return zd(0,null,g_(o,a),1,c,d,null,null,null,[r],null)}function g_(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let i of e)i.create();if(n&2&&t)for(let i of t)i.update()}}function nh(e){let t=e[yd].kind;return t==="input"||t==="twoWay"}var qa=class extends _0{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,i){super(),this._rootLView=n,this._hasInputBindings=i,this._tNode=ho(n[G],Ve),this.location=tl(this._tNode,n),this.instance=St(this._tNode.index,n)[Ne],this.hostView=this.changeDetectorRef=new Bn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let r=this._rootLView,o=Yd(i,r[G],r,t,n);this.previousInputValues.set(t,n);let a=St(i.index,r);ep(a,1)}get injector(){return new Ei(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function b_(e,t,n){let i=e.projection=[];for(let r=0;r<t.length;r++){let o=n[r];i.push(o!=null&&o.length?Array.from(o):null)}}var _r=(()=>{class e{static __NG_ELEMENT_ID__=v_}return e})();function v_(){let e=pt();return __(e,Y())}var y_=_r,I0=class extends y_{_lContainer;_hostTNode;_hostLView;constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return tl(this._hostTNode,this._hostLView)}get injector(){return new Ei(this._hostTNode,this._hostLView)}get parentInjector(){let t=Fd(this._hostTNode,this._hostLView);if(_h(t)){let n=Ba(t,this._hostLView),i=Ha(t),r=n[G].data[i+8];return new Ei(r,n)}else return new Ei(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ih(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Qe}createEmbeddedView(t,n,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=Ga(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(c,r,fr(this._hostTNode,a)),c}createComponent(t,n,i,r,o,a,c){let d=t&&!Q4(t),f;if(d)f=n;else{let A=n||{};f=A.index,i=A.injector,r=A.projectableNodes,o=A.environmentInjector||A.ngModuleRef,a=A.directives,c=A.bindings}let h=d?t:new Mo(fi(t)),g=i||this.parentInjector;if(!o&&h.ngModule==null){let k=(d?g:this.parentInjector).get(dt,null);k&&(o=k)}let y=fi(h.componentType??{}),v=Ga(this._lContainer,y?.id??null),_=v?.firstChild??null,I=h.create(g,r,_,o,a,c);return this.insertImpl(I.hostView,f,fr(this._hostTNode,v)),I}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let r=t._lView;if(h1(r)){let c=this.indexOf(t);if(c!==-1)this.detach(c);else{let d=r[We],f=new I0(d,d[at],d[We]);f.detach(f.indexOf(t))}}let o=this._adjustIndex(n),a=this._lContainer;return Lo(a,r,o,i),t.attachToViewContainerRef(),wu(ed(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ih(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=xo(this._lContainer,n);i&&(oo(ed(this._lContainer),n),cl(i[G],i))}detach(t){let n=this._adjustIndex(t,-1),i=xo(this._lContainer,n);return i&&oo(ed(this._lContainer),n)!=null?new Bn(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function ih(e){return e[po]}function ed(e){return e[po]||(e[po]=[])}function __(e,t){let n,i=t[e.index];return Pt(i)?n=i:(n=m0(i,t,null,e),t[e.index]=n,Zd(t,n)),w_(n,t,e,i),new I0(n,e,t)}function C_(e,t){let n=e[Me],i=n.createComment(""),r=Ft(t,e),o=n.parentNode(r);return Wa(n,o,i,n.nextSibling(r),!1),i}var w_=x_,D_=()=>!1;function E_(e,t,n){return D_(e,t,n)}function x_(e,t,n,i){if(e[Pn])return;let r;n.type&8?r=It(i):r=C_(t,n),e[Pn]=r}var rh=new Set;function Cr(e){rh.has(e)||(rh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Io=class{};var So=class extends Io{injector;componentFactoryResolver=new _d(this);instance=null;constructor(t){super();let n=new ui([...t.providers,{provide:Io,useValue:this},{provide:Si,useValue:this.componentFactoryResolver}],t.parent||lo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function S0(e,t,n=null){return new So({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var M_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Mu(!1,n.type),r=i.length>0?S0([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=W({token:e,providedIn:"environment",factory:()=>new e(V(dt))})}return e})();function le(e){return gr(()=>{let t=T0(e),n=nt(Le({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(M_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yn.Emulated,styles:e.styles||st,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Cr("NgStandalone"),k0(n);let i=e.dependencies;return n.directiveDefs=oh(i,!1),n.pipeDefs=oh(i,!0),n.id=A_(n),n})}function I_(e){return fi(e)||xu(e)}function S_(e){return e!==null}function Ti(e){return gr(()=>({type:e.type,bootstrap:e.bootstrap||st,declarations:e.declarations||st,imports:e.imports||st,exports:e.exports||st,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function T_(e,t){if(e==null)return Rn;let n={};for(let i in e)if(e.hasOwnProperty(i)){let r=e[i],o,a,c,d;Array.isArray(r)?(c=r[0],o=r[1],a=r[2]??o,d=r[3]||null):(o=r,a=r,c=sl.None,d=null),n[o]=[i,c,d],t[o]=a}return n}function k_(e){if(e==null)return Rn;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function zn(e){return gr(()=>{let t=T0(e);return k0(t),t})}function gl(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function T0(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Rn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||st,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:T_(e.inputs,t),outputs:k_(e.outputs),debugInfo:null}}function k0(e){e.features?.forEach(t=>t(e))}function oh(e,t){if(!e)return null;let n=t?a1:I_;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(S_)}function A_(e){let t=0,n=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let o of i.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function L_(e){return Object.getPrototypeOf(e.prototype).constructor}function Ge(e){let t=L_(e.type),n=!0,i=[e];for(;t;){let r;if(Kt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new j(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);let a=e;a.inputs=td(e.inputs),a.declaredInputs=td(e.declaredInputs),a.outputs=td(e.outputs);let c=r.hostBindings;c&&F_(e,c);let d=r.viewQuery,f=r.contentQueries;if(d&&R_(e,d),f&&P_(e,f),N_(e,r),t1(e.outputs,r.outputs),Kt(r)&&r.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let c=o[a];c&&c.ngInherit&&c(e),c===Ge&&(n=!1)}}t=Object.getPrototypeOf(t)}O_(i)}function N_(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function O_(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=pr(r.hostAttrs,n=pr(n,r.hostAttrs))}}function td(e){return e===Rn?{}:e===st?[]:e}function R_(e,t){let n=e.viewQuery;n?e.viewQuery=(i,r)=>{t(i,r),n(i,r)}:e.viewQuery=t}function P_(e,t){let n=e.contentQueries;n?e.contentQueries=(i,r,o)=>{t(i,r,o),n(i,r,o)}:e.contentQueries=t}function F_(e,t){let n=e.hostBindings;n?e.hostBindings=(i,r)=>{t(i,r),n(i,r)}:e.hostBindings=t}function V_(e,t,n,i,r,o,a,c,d){let f=t.consts,h=Oo(t,e,4,a||null,c||null);Ia()&&ip(t,n,h,Vt(f,d),Gd),h.mergedAttrs=pr(h.mergedAttrs,h.attrs),Pd(t,h);let g=h.tView=zd(2,h,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,f,null);return t.queries!==null&&(t.queries.template(t,h),g.queries=t.queries.embeddedTView(h)),h}function mr(e,t,n,i,r,o,a,c,d,f,h){let g=n+Ve,y=t.firstCreatePass?V_(g,t,e,i,r,o,a,c,f):t.data[g];d&&(y.flags|=d),Vn(y,!1);let v=j_(t,e,y,n);vo()&&ul(t,e,v,y),br(v,e);let _=m0(v,e,v,y);return e[g]=_,Zd(e,_),E_(_,y,e),mo(y)&&al(t,e,y),f!=null&&Wd(e,y,h),y}function ae(e,t,n,i,r,o,a,c){let d=Y(),f=je(),h=Vt(f.consts,o);return mr(d,f,e,t,n,i,r,h,void 0,a,c),ae}var j_=H_;function H_(e,t,n,i){return yo(!0),t[Me].createComment("")}var op=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(op||{}),Ro=new z(""),A0=!1,Cd=class extends Ot{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,d1()&&(this.destroyRef=F(wi,{optional:!0})??void 0,this.pendingTasks=F(Di,{optional:!0})??void 0)}emit(t){let n=Z(null);try{super.next(t)}finally{Z(n)}}subscribe(t,n,i){let r=t,o=n||(()=>null),a=i;if(t&&typeof t=="object"){let d=t;r=d.next?.bind(d),o=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let c=super.subscribe({next:r,error:o,complete:a});return t instanceof it&&t.add(c),c}wrapInTimeout(t){return n=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},K=Cd;function L0(e){let t,n;function i(){e=Co;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function sh(e){return queueMicrotask(()=>e()),()=>{e=Co}}var sp="isAngularZone",Qa=sp+"_ID",B_=0,He=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new K(!1);onMicrotaskEmpty=new K(!1);onStable=new K(!1);onError=new K(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=A0}=t;if(typeof Zone>"u")throw new j(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,$_(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(sp)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new j(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new j(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,U_,Co,Co);try{return o.runTask(a,n,i)}finally{o.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},U_={};function ap(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function z_(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){L0(()=>{e.callbackScheduled=!1,wd(e),e.isCheckStableRunning=!0,ap(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),wd(e)}function $_(e){let t=()=>{z_(e)},n=B_++;e._inner=e._inner.fork({name:"angular",properties:{[sp]:!0,[Qa]:n,[Qa+n]:!0},onInvokeTask:(i,r,o,a,c,d)=>{if(Z_(d))return i.invokeTask(o,a,c,d);try{return ah(e),i.invokeTask(o,a,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),lh(e)}},onInvoke:(i,r,o,a,c,d,f)=>{try{return ah(e),i.invoke(o,a,c,d,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!W_(d)&&t(),lh(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,wd(e),ap(e)):a.change=="macroTask"&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}function wd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ah(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function lh(e){e._nesting--,ap(e)}var Xa=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new K;onMicrotaskEmpty=new K;onStable=new K;onError=new K;run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}};function Z_(e){return N0(e,"__ignore_ng_zone__")}function W_(e){return N0(e,"__scheduler_tick__")}function N0(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var O0=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();var lp=new z("");function bl(e){return!!e&&typeof e.then=="function"}function cp(e){return!!e&&typeof e.subscribe=="function"}var R0=new z("");var up=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i});appInits=F(R0,{optional:!0})??[];injector=F(Gt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=rr(this.injector,r);if(bl(o))n.push(o);else if(cp(o)){let a=new Promise((c,d)=>{o.subscribe({complete:c,error:d})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),n.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),P0=new z("");function F0(){Hc(()=>{let e="";throw new j(600,e)})}function V0(e){return e.isBoundToModule}var G_=10;var ki=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=F(Jt);afterRenderManager=F(O0);zonelessEnabled=F(Na);rootEffectScheduler=F(qu);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ot;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=F(Di);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(rt(n=>!n))}constructor(){F(Ro,{optional:!0})}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{n.unsubscribe()})}_injector=F(dt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,i){return this.bootstrapImpl(n,i)}bootstrapImpl(n,i,r=Gt.NULL){return this._injector.get(He).run(()=>{he(10);let a=n instanceof pl;if(!this._injector.get(up).done){let _="";throw new j(405,_)}let d;a?d=n:d=this._injector.get(Si).resolveComponentFactory(n),this.componentTypes.push(d.componentType);let f=V0(d)?void 0:this._injector.get(Io),h=i||d.selector,g=d.create(r,[],h,f),y=g.location.nativeElement,v=g.injector.get(lp,null);return v?.registerApplication(y),g.onDestroy(()=>{this.detachView(g.hostView),Do(this.components,g),v?.unregisterApplication(y)}),this._loadComponent(g),he(11,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){he(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(op.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new j(101,!1);let n=Z(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Z(n),this.afterTick.next(),he(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Mi,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<G_;)he(14),this.synchronizeOnce(),he(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!lr(r))continue;let o=i&&!this.zonelessEnabled?0:1;Jd(r,o),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>lr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;Do(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(n),this._injector.get(P0,[]).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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Do(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new j(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Do(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function _n(e,t,n,i){let r=Y(),o=Ci();if(Ct(r,o,t)){let a=je(),c=Wu();l8(c,r,e,t,n,i)}return _n}var Dd=class{destroy(t){}updateValue(t,n){}swap(t,n){let i=Math.min(t,n),r=Math.max(t,n),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(t,n){this.attach(n,this.detach(t))}};function nd(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function Y_(e,t,n){let i,r,o=0,a=e.length-1,c=void 0;if(Array.isArray(t)){let d=t.length-1;for(;o<=a&&o<=d;){let f=e.at(o),h=t[o],g=nd(o,f,o,h,n);if(g!==0){g<0&&e.updateValue(o,h),o++;continue}let y=e.at(a),v=t[d],_=nd(a,y,d,v,n);if(_!==0){_<0&&e.updateValue(a,v),a--,d--;continue}let I=n(o,f),A=n(a,y),k=n(o,h);if(Object.is(k,A)){let ne=n(d,v);Object.is(ne,I)?(e.swap(o,a),e.updateValue(a,v),d--,a--):e.move(a,o),e.updateValue(o,h),o++;continue}if(i??=new Ka,r??=uh(e,o,a,n),Ed(e,i,o,k))e.updateValue(o,h),o++,a++;else if(r.has(k))i.set(I,e.detach(o)),a--;else{let ne=e.create(o,t[o]);e.attach(o,ne),o++,a++}}for(;o<=d;)ch(e,i,n,o,t[o]),o++}else if(t!=null){let d=t[Symbol.iterator](),f=d.next();for(;!f.done&&o<=a;){let h=e.at(o),g=f.value,y=nd(o,h,o,g,n);if(y!==0)y<0&&e.updateValue(o,g),o++,f=d.next();else{i??=new Ka,r??=uh(e,o,a,n);let v=n(o,g);if(Ed(e,i,o,v))e.updateValue(o,g),o++,a++,f=d.next();else if(!r.has(v))e.attach(o,e.create(o,g)),o++,a++,f=d.next();else{let _=n(o,h);i.set(_,e.detach(o)),a--}}}for(;!f.done;)ch(e,i,n,e.length,f.value),f=d.next()}for(;o<=a;)e.destroy(e.detach(a--));i?.forEach(d=>{e.destroy(d)})}function Ed(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function ch(e,t,n,i,r){if(Ed(e,t,i,n(i,r)))e.updateValue(i,r);else{let o=e.create(i,r);e.attach(i,o)}}function uh(e,t,n,i){let r=new Set;for(let o=t;o<=n;o++)r.add(i(o,e.at(o)));return r}var Ka=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let i=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,i]of this.kvMap)if(t(i,n),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,n)}}};function Se(e,t,n,i,r,o,a,c){Cr("NgControlFlow");let d=Y(),f=je(),h=Vt(f.consts,o);return mr(d,f,e,t,n,i,r,h,256,a,c),dp}function dp(e,t,n,i,r,o,a,c){Cr("NgControlFlow");let d=Y(),f=je(),h=Vt(f.consts,o);return mr(d,f,e,t,n,i,r,h,512,a,c),dp}function Te(e,t){Cr("NgControlFlow");let n=Y(),i=Ci(),r=n[i]!==wt?n[i]:-1,o=r!==-1?Ja(n,Ve+r):void 0,a=0;if(Ct(n,i,e)){let c=Z(null);try{if(o!==void 0&&g0(o,a),e!==-1){let d=Ve+e,f=Ja(n,d),h=Sd(n[G],d),g=y0(f,h,n),y=Ao(n,h,t,{dehydratedView:g});Lo(f,y,a,fr(h,g))}}finally{Z(c)}}else if(o!==void 0){let c=h0(o,a);c!==void 0&&(c[Ne]=t)}}var xd=class{lContainer;$implicit;$index;constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-Qe}};var Md=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,i){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=i}};function vl(e,t,n,i,r,o,a,c,d,f,h,g,y){Cr("NgControlFlow");let v=Y(),_=je(),I=d!==void 0,A=Y(),k=c?a.bind(A[lt][Ne]):a,ne=new Md(I,k);A[Ve+e]=ne,mr(v,_,e+1,t,n,i,r,Vt(_.consts,o),256),I&&mr(v,_,e+2,d,f,h,g,Vt(_.consts,y),512)}var Id=class extends Dd{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,i){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-Qe}at(t){return this.getLView(t)[Ne].$implicit}attach(t,n){let i=n[mi];this.needsIndexUpdate||=t!==this.length,Lo(this.lContainer,n,t,fr(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,q_(this.lContainer,t)}create(t,n){let i=Ga(this.lContainer,this.templateTNode.tView.ssrId),r=Ao(this.hostLView,this.templateTNode,new xd(this.lContainer,n,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(t){cl(t[G],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Ne].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Ne].$index=t}getLView(t){return Q_(this.lContainer,t)}};function yl(e){let t=Z(null),n=vn();try{let i=Y(),r=i[G],o=i[n],a=n+1,c=Ja(i,a);if(o.liveCollection===void 0){let f=Sd(r,a);o.liveCollection=new Id(c,i,f)}else o.liveCollection.reset();let d=o.liveCollection;if(Y_(d,e,o.trackByFn),d.updateIndexes(),o.hasEmptyBlock){let f=Ci(),h=d.length===0;if(Ct(i,f,h)){let g=n+2,y=Ja(i,g);if(h){let v=Sd(r,g),_=y0(y,v,i),I=Ao(i,v,void 0,{dehydratedView:_});Lo(y,I,0,fr(v,_))}else r.firstUpdatePass&&Z8(y),g0(y,0)}}}finally{Z(t)}}function Ja(e,t){return e[t]}function q_(e,t){return xo(e,t)}function Q_(e,t){return h0(e,t)}function Sd(e,t){return ho(e,t)}function E(e,t,n){let i=Y(),r=Ci();if(Ct(i,r,t)){let o=je(),a=Wu();n8(a,i,e,t,i[Me],n)}return E}function Td(e,t,n,i,r){Yd(t,e,n,r?"class":"style",i)}function D(e,t,n,i){let r=Y(),o=je(),a=Ve+e,c=r[Me],d=o.firstCreatePass?D0(a,o,r,t,Gd,Ia(),n,i):o.data[a],f=X_(o,r,d,c,t,e);r[a]=f;let h=mo(d);return Vn(d,!0),qh(c,f,d),!ll(d)&&vo()&&ul(o,r,f,d),(_1()===0||h)&&br(f,r),C1(),h&&(al(o,r,d),Hd(o,d,r)),i!==null&&Wd(r,d),D}function S(){let e=pt();Sa()?Ta():(e=e.parent,Vn(e,!1));let t=e;D1(t)&&E1(),w1();let n=je();return n.firstCreatePass&&E0(n,t),t.classesWithoutHost!=null&&n5(t)&&Td(n,t,Y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&i5(t)&&Td(n,t,Y(),t.stylesWithoutHost,!1),S}function ee(e,t,n,i){return D(e,t,n,i),S(),ee}var X_=(e,t,n,i,r,o)=>(yo(!0),Wh(i,r,P1()));function K_(e,t,n,i,r){let o=t.consts,a=Vt(o,i),c=Oo(t,e,8,"ng-container",a);a!==null&&vd(c,a,!0);let d=Vt(o,r);return Ia()&&ip(t,n,c,d,Gd),c.mergedAttrs=pr(c.mergedAttrs,c.attrs),t.queries!==null&&t.queries.elementStart(t,c),c}function Po(e,t,n){let i=Y(),r=je(),o=e+Ve,a=r.firstCreatePass?K_(o,r,i,t,n):r.data[o];Vn(a,!0);let c=J_(r,i,a,e);return i[o]=c,vo()&&ul(r,i,c,a),br(c,i),mo(a)&&(al(r,i,a),Hd(r,a,i)),n!=null&&Wd(i,a),Po}function Fo(){let e=pt(),t=je();return Sa()?Ta():(e=e.parent,Vn(e,!1)),t.firstCreatePass&&(Pd(t,e),Da(e)&&t.queries.elementEnd(e)),Fo}function tn(e,t,n){return Po(e,t,n),Fo(),tn}var J_=(e,t,n,i)=>(yo(!0),W5(t[Me],""));function _e(){return Y()}var Vo="en-US";var e9=Vo;function j0(e){typeof e=="string"&&(e9=e.toLowerCase().replace(/_/g,"-"))}function R(e,t,n){let i=Y(),r=je(),o=pt();return t9(r,i,i[Me],o,e,t,n),R}function t9(e,t,n,i,r,o,a){let c=!0,d=null;if((i.type&3||a)&&(d??=Ju(i,t,o),l_(i,e,t,a,n,r,o,d)&&(c=!1)),c){let f=i.outputs?.[r],h=i.hostDirectiveOutputs?.[r];if(h&&h.length)for(let g=0;g<h.length;g+=2){let y=h[g],v=h[g+1];d??=Ju(i,t,o),th(i,t,y,v,r,d)}if(f&&f.length)for(let g of f)d??=Ju(i,t,o),th(i,t,g,r,r,d)}}function x(e=1){return R1(e)}function n9(e,t){let n=null,i=F5(e);for(let r=0;r<t.length;r++){let o=t[r];if(o==="*"){n=r;continue}if(i===null?Zh(e,o,!0):H5(i,o))return r}return n}function pp(e){let t=Y()[lt][at];if(!t.projection){let n=e?e.length:1,i=t.projection=o1(n,null),r=i.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let a=e?n9(o,e):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function fp(e,t=0,n,i,r,o){let a=Y(),c=je(),d=i?e+1:null;d!==null&&mr(a,c,d,i,r,o,null,n);let f=Oo(c,Ve+e,16,null,n||null);f.projection===null&&(f.projection=t),Ta();let g=!a[mi]||Fu();a[lt][at].projection[f.projection]===null&&d!==null?i9(a,c,d):g&&!ll(f)&&x8(c,a,f)}function i9(e,t,n){let i=Ve+n,r=t.data[i],o=e[i],a=Ga(o,r.tView.ssrId),c=Ao(e,r,void 0,{dehydratedView:a});Lo(o,c,0,fr(r,a))}function Cn(e){let t=M1();return Nu(t,Ve+e)}function Ra(e,t){return e<<17|t<<2}function Ii(e){return e>>17&32767}function r9(e){return(e&2)==2}function o9(e,t){return e&131071|t<<17}function kd(e){return e|2}function hr(e){return(e&131068)>>2}function id(e,t){return e&-131069|t<<2}function s9(e){return(e&1)===1}function Ad(e){return e|1}function a9(e,t,n,i,r,o){let a=o?t.classBindings:t.styleBindings,c=Ii(a),d=hr(a);e[i]=n;let f=!1,h;if(Array.isArray(n)){let g=n;h=g[1],(h===null||ir(g,h)>0)&&(f=!0)}else h=n;if(r)if(d!==0){let y=Ii(e[c+1]);e[i+1]=Ra(y,c),y!==0&&(e[y+1]=id(e[y+1],i)),e[c+1]=o9(e[c+1],i)}else e[i+1]=Ra(c,0),c!==0&&(e[c+1]=id(e[c+1],i)),c=i;else e[i+1]=Ra(d,0),c===0?c=i:e[d+1]=id(e[d+1],i),d=i;f&&(e[i+1]=kd(e[i+1])),dh(e,h,i,!0),dh(e,h,i,!1),l9(t,h,e,i,o),a=Ra(c,d),o?t.classBindings=a:t.styleBindings=a}function l9(e,t,n,i,r){let o=r?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&ir(o,t)>=0&&(n[i+1]=Ad(n[i+1]))}function dh(e,t,n,i){let r=e[n+1],o=t===null,a=i?Ii(r):hr(r),c=!1;for(;a!==0&&(c===!1||o);){let d=e[a],f=e[a+1];c9(d,t)&&(c=!0,e[a+1]=i?Ad(f):kd(f)),a=i?Ii(f):hr(f)}c&&(e[n+1]=i?kd(r):Ad(r))}function c9(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?ir(e,t)>=0:!1}var Ht={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function u9(e){return e.substring(Ht.key,Ht.keyEnd)}function d9(e){return p9(e),H0(e,B0(e,0,Ht.textEnd))}function H0(e,t){let n=Ht.textEnd;return n===t?-1:(t=Ht.keyEnd=f9(e,Ht.key=t,n),B0(e,t,n))}function p9(e){Ht.key=0,Ht.keyEnd=0,Ht.value=0,Ht.valueEnd=0,Ht.textEnd=e.length}function B0(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function f9(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function $n(e,t,n){return U0(e,t,n,!1),$n}function _l(e,t){return U0(e,t,null,!0),_l}function mp(e){h9(C9,m9,e,!0)}function m9(e,t){for(let n=d9(t);n>=0;n=H0(t,n))va(e,u9(t),!0)}function U0(e,t,n,i){let r=Y(),o=je(),a=Uu(2);if(o.firstUpdatePass&&$0(o,e,a,i),t!==wt&&Ct(r,a,t)){let c=o.data[vn()];Z0(o,c,r,r[Me],e,r[a+1]=D9(t,n),i,a)}}function h9(e,t,n,i){let r=je(),o=Uu(2);r.firstUpdatePass&&$0(r,null,o,i);let a=Y();if(n!==wt&&Ct(a,o,n)){let c=r.data[vn()];if(W0(c,i)&&!z0(r,o)){let d=i?c.classesWithoutHost:c.stylesWithoutHost;d!==null&&(n=pa(d,n||"")),Td(r,c,a,n,i)}else w9(r,c,a,a[Me],a[o+1],a[o+1]=_9(e,t,n),i,o)}}function z0(e,t){return t>=e.expandoStartIndex}function $0(e,t,n,i){let r=e.data;if(r[n+1]===null){let o=r[vn()],a=z0(e,n);W0(o,i)&&t===null&&!a&&(t=!1),t=g9(r,o,t,i),a9(r,o,t,n,a,i)}}function g9(e,t,n,i){let r=A1(e),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(n=rd(null,e,t,n,i),n=To(n,t.attrs,i),o=null);else{let a=t.directiveStylingLast;if(a===-1||e[a]!==r)if(n=rd(r,e,t,n,i),o===null){let d=b9(e,t,i);d!==void 0&&Array.isArray(d)&&(d=rd(null,e,t,d[1],i),d=To(d,t.attrs,i),v9(e,t,i,d))}else o=y9(e,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),n}function b9(e,t,n){let i=n?t.classBindings:t.styleBindings;if(hr(i)!==0)return e[Ii(i)]}function v9(e,t,n,i){let r=n?t.classBindings:t.styleBindings;e[Ii(r)]=i}function y9(e,t,n){let i,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++){let a=e[o].hostAttrs;i=To(i,a,n)}return To(i,t.attrs,n)}function rd(e,t,n,i,r){let o=null,a=n.directiveEnd,c=n.directiveStylingLast;for(c===-1?c=n.directiveStart:c++;c<a&&(o=t[c],i=To(i,o.hostAttrs,r),o!==e);)c++;return e!==null&&(n.directiveStylingLast=c),i}function To(e,t,n){let i=n?1:2,r=-1;if(t!==null)for(let o=0;o<t.length;o++){let a=t[o];typeof a=="number"?r=a:r===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),va(e,a,n?!0:t[++o]))}return e===void 0?null:e}function _9(e,t,n){if(n==null||n==="")return st;let i=[],r=ol(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else typeof r=="string"&&t(i,r);return i}function C9(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&va(e,i,n)}function w9(e,t,n,i,r,o,a,c){r===wt&&(r=st);let d=0,f=0,h=0<r.length?r[0]:null,g=0<o.length?o[0]:null;for(;h!==null||g!==null;){let y=d<r.length?r[d+1]:void 0,v=f<o.length?o[f+1]:void 0,_=null,I;h===g?(d+=2,f+=2,y!==v&&(_=g,I=v)):g===null||h!==null&&h<g?(d+=2,_=h):(f+=2,_=g,I=v),_!==null&&Z0(e,t,n,i,_,I,a,c),h=d<r.length?r[d]:null,g=f<o.length?o[f]:null}}function Z0(e,t,n,i,r,o,a,c){if(!(t.type&3))return;let d=e.data,f=d[c+1],h=s9(f)?ph(d,t,n,r,hr(f),a):void 0;if(!el(h)){el(o)||r9(f)&&(o=ph(d,null,n,r,c,a));let g=Lu(vn(),n);I8(i,a,g,r,o)}}function ph(e,t,n,i,r,o){let a=t===null,c;for(;r>0;){let d=e[r],f=Array.isArray(d),h=f?d[1]:d,g=h===null,y=n[r+1];y===wt&&(y=g?st:void 0);let v=g?ya(y,i):h===i?y:void 0;if(f&&!el(v)&&(v=ya(d,i)),el(v)&&(c=v,a))return c;let _=e[r+1];r=a?Ii(_):hr(_)}if(t!==null){let d=o?t.residualClasses:t.residualStyles;d!=null&&(c=ya(d,i))}return c}function el(e){return e!==void 0}function D9(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=vt(ol(e)))),e}function W0(e,t){return(e.flags&(t?8:16))!==0}function Q(e,t=""){let n=Y(),i=je(),r=e+Ve,o=i.firstCreatePass?Oo(i,r,1,t,null):i.data[r],a=E9(i,n,o,t,e);n[r]=a,vo()&&ul(i,n,a,o),Vn(o,!1)}var E9=(e,t,n,i,r)=>(yo(!0),$5(t[Me],i));function x9(e,t,n,i=""){return Ct(e,Ci(),n)?t+nr(n)+i:wt}function Xe(e){return Ce("",e),Xe}function Ce(e,t,n){let i=Y(),r=x9(i,e,t,n);return r!==wt&&M9(i,vn(),r),Ce}function M9(e,t,n){let i=Lu(t,e);Z5(e[Me],i,n)}function de(e){return Ct(Y(),Ci(),e)?nr(e):wt}function I9(e,t,n){let i=je();if(i.firstCreatePass){let r=Kt(e);Ld(n,i.data,i.blueprint,r,!0),Ld(t,i.data,i.blueprint,r,!1)}}function Ld(e,t,n,i,r){if(e=qe(e),Array.isArray(e))for(let o=0;o<e.length;o++)Ld(e[o],t,n,i,r);else{let o=je(),a=Y(),c=pt(),d=ci(e)?e:qe(e.provide),f=Su(e),h=c.providerIndexes&1048575,g=c.directiveStart,y=c.providerIndexes>>20;if(ci(e)||!e.multi){let v=new xi(f,r,Be),_=sd(d,t,r?h:h+y,g);_===-1?(ld(za(c,a),o,d),od(o,e,t.length),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(v),a.push(v)):(n[_]=v,a[_]=v)}else{let v=sd(d,t,h+y,g),_=sd(d,t,h,h+y),I=v>=0&&n[v],A=_>=0&&n[_];if(r&&!A||!r&&!I){ld(za(c,a),o,d);let k=k9(r?T9:S9,n.length,r,i,f);!r&&A&&(n[_].providerFactory=k),od(o,e,t.length,0),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(k),a.push(k)}else{let k=G0(n[r?_:v],f,!r&&i);od(o,e,v>-1?v:_,k)}!r&&i&&A&&n[_].componentProviders++}}}function od(e,t,n,i){let r=ci(t),o=u1(t);if(r||o){let d=(o?qe(t.useClass):t).prototype.ngOnDestroy;if(d){let f=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let h=f.indexOf(n);h===-1?f.push(n,[i,d]):f[h+1].push(i,d)}else f.push(n,d)}}}function G0(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function sd(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function S9(e,t,n,i){return Nd(this.multi,[])}function T9(e,t,n,i){let r=this.multi,o;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=$a(n,n[G],this.providerFactory.index,i);o=c.slice(0,a),Nd(r,o);for(let d=a;d<c.length;d++)o.push(c[d])}else o=[],Nd(r,o);return o}function Nd(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function k9(e,t,n,i,r){let o=new xi(e,n,Be);return o.multi=[],o.index=t,o.componentProviders=0,G0(o,r,i&&!n),o}function Oe(e,t=[]){return n=>{n.providersResolver=(i,r)=>I9(i,r?r(e):e,t)}}function ct(e,t,n,i){return Y0(Y(),cr(),e,t,n,i)}function Ai(e,t,n,i,r){return A9(Y(),cr(),e,t,n,i,r)}function wn(e,t,n,i,r,o){return L9(Y(),cr(),e,t,n,i,r,o)}function hp(e,t,n,i,r,o,a,c){let d=cr()+e,f=Y(),h=a_(f,d,n,i,r,o);return Ct(f,d+4,a)||h?hl(f,d+5,c?t.call(c,n,i,r,o,a):t(n,i,r,o,a)):o_(f,d+5)}function gp(e,t){let n=e[t];return n===wt?void 0:n}function Y0(e,t,n,i,r,o){let a=t+n;return Ct(e,a,r)?hl(e,a+1,o?i.call(o,r):i(r)):gp(e,a+1)}function A9(e,t,n,i,r,o,a){let c=t+n;return Ya(e,c,r,o)?hl(e,c+2,a?i.call(a,r,o):i(r,o)):gp(e,c+2)}function L9(e,t,n,i,r,o,a,c){let d=t+n;return s_(e,d,r,o,a)?hl(e,d+3,c?i.call(c,r,o,a):i(r,o,a)):gp(e,d+3)}function ge(e,t){let n=je(),i,r=e+Ve;n.firstCreatePass?(i=N9(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];let o=i.factory||(i.factory=Ln(i.type,!0)),a,c=ot(Be);try{let d=Ua(!1),f=o();return Ua(d),Ou(n,Y(),r,f),f}finally{ot(c)}}function N9(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function be(e,t,n){let i=e+Ve,r=Y(),o=Nu(r,i);return O9(r,i)?Y0(r,cr(),t,o.transform,n,o):o.transform(n)}function O9(e,t){return e[G].data[t].pure}function wr(e,t){return v0(e,t)}var R9=(()=>{class e{zone=F(He);changeDetectionScheduler=F(qt);applicationRef=F(ki);applicationErrorHandler=F(Jt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function q0({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new He(nt(Le({},Q0()),{scheduleInRootZone:n})),[{provide:He,useFactory:e},{provide:pi,multi:!0,useFactory:()=>{let i=F(R9,{optional:!0});return()=>i.initialize()}},{provide:pi,multi:!0,useFactory:()=>{let i=F(P9);return()=>{i.initialize()}}},t===!0?{provide:Gu,useValue:!0}:[],{provide:Yu,useValue:n??A0},{provide:Jt,useFactory:()=>{let i=F(He),r=F(dt),o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(Yt),o.handleError(a))})}}}]}function Q0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var P9=(()=>{class e{subscription=new it;initialized=!1;zone=F(He);pendingTasks=F(Di);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{He.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{He.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var X0=(()=>{class e{applicationErrorHandler=F(Jt);appRef=F(ki);taskService=F(Di);ngZone=F(He);zonelessEnabled=F(Na);tracing=F(Ro,{optional:!0});disableScheduling=F(Gu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new it;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qa):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(F(Yu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Xa||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let i=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?sh:L0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Qa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(n),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,sh(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function F9(){return typeof $localize<"u"&&$localize.locale||Vo}var Cl=new z("",{providedIn:"root",factory:()=>F(Cl,{optional:!0,skipSelf:!0})||F9()});function bp(e,t){return Os(e,t?.equal)}var K0=class{[ut];constructor(t){this[ut]=t}destroy(){this[ut].destroy()}};var ig=Symbol("InputSignalNode#UNSET"),X9=nt(Le({},Rs),{transformFn:void 0,applyValueToInputSignal(e,t){Kr(e,t)}});function rg(e,t){let n=Object.create(X9);n.value=e,n.transformFn=t?.transform;function i(){if(qr(n),n.value===ig){let r=null;throw new j(-950,r)}return n.value}return i[ut]=n,i}var K9=new z("");K9.__NG_ELEMENT_ID__=e=>{let t=pt();if(t===null)throw new j(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new j(204,!1)};function J0(e,t){return rg(e,t)}function J9(e){return rg(ig,e)}var Ho=(J0.required=J9,J0);var vp=new z(""),e6=new z("");function jo(e){return!e.moduleRef}function t6(e){let t=jo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(He);return n.run(()=>{jo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(Jt),r;if(n.runOutsideAngular(()=>{r=n.onError.subscribe({next:i})}),jo(e)){let o=()=>t.destroy(),a=e.platformInjector.get(vp);a.add(o),t.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>e.moduleRef.destroy(),a=e.platformInjector.get(vp);a.add(o),e.moduleRef.onDestroy(()=>{Do(e.allPlatformModules,e.moduleRef),r.unsubscribe(),a.delete(o)})}return i6(i,n,()=>{let o=t.get(up);return o.runInitializers(),o.donePromise.then(()=>{let a=t.get(Cl,Vo);if(j0(a||Vo),!t.get(e6,!0))return jo(e)?t.get(ki):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(jo(e)){let d=t.get(ki);return e.rootComponent!==void 0&&d.bootstrap(e.rootComponent),d}else return n6?.(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}var n6;function i6(e,t,n){try{let i=n();return bl(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e(i)),i}}var wl=null;function r6(e=[],t){return Gt.create({name:t,providers:[{provide:ao,useValue:"platform"},{provide:vp,useValue:new Set([()=>wl=null])},...e]})}function o6(e=[]){if(wl)return wl;let t=r6(e);return wl=t,F0(),s6(t),t}function s6(e){let t=e.get(il,null);rr(e,()=>{t?.forEach(n=>n())})}var Mp=(()=>{class e{static __NG_ELEMENT_ID__=a6}return e})();function a6(e){return l6(pt(),Y(),(e&16)===16)}function l6(e,t,n){if(Fn(e)&&!n){let i=St(e.index,t);return new Bn(i,i)}else if(e.type&175){let i=t[lt];return new Bn(i,t)}return null}var yp=class{constructor(){}supports(t){return rp(t)}create(t){return new _p(t)}},c6=(e,t)=>t,_p=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||c6}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){let a=!i||n&&n.currentIndex<eg(i,r,o)?n:i,c=eg(a,r,o),d=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(n=n._next,a.previousIndex==null)r++;else{o||(o=[]);let f=c-r,h=d-r;if(f!=h){for(let y=0;y<f;y++){let v=y<o.length?o[y]:o[y]=0,_=v+y;h<=_&&_<f&&(o[y]=v+1)}let g=a.previousIndex;o[g]=h-f}}c!==d&&t(a,c,d)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!rp(t))throw new j(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,i=!1,r,o,a;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)o=t[c],a=this._trackByFn(c,o),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,o,a,c),i=!0):(i&&(n=this._verifyReinsertion(n,o,a,c)),Object.is(n.item,o)||this._addIdentityChange(n,o)),n=n._next}else r=0,x0(t,c=>{a=this._trackByFn(r,c),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,c,a,r),i=!0):(i&&(n=this._verifyReinsertion(n,c,a,r)),Object.is(n.item,c)||this._addIdentityChange(n,c)),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;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,i,r){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):(t=this._linkedRecords===null?null:this._linkedRecords.get(i,r),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new Cp(n,i),o,r)),t}_verifyReinsertion(t,n,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let r=t._prevRemoved,o=t._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){let r=n===null?this._itHead:n._next;return t._next=r,t._prev=n,r===null?this._itTail=t:r._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Dl),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,i=t._next;return n===null?this._itHead=i:n._next=i,i===null?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Dl),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(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=this._identityChangesTail._nextIdentityChange=t,t}},Cp=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},wp=class{_head=null;_tail=null;add(t){this._head===null?(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 i;for(i=this._head;i!==null;i=i._nextDup)if((n===null||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){let n=t._prevDup,i=t._nextDup;return n===null?this._head=i:n._nextDup=i,i===null?this._tail=n:i._prevDup=n,this._head===null}},Dl=class{map=new Map;put(t){let n=t.trackById,i=this.map.get(n);i||(i=new wp,this.map.set(n,i)),i.add(t)}get(t,n){let i=t,r=this.map.get(i);return r?r.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function eg(e,t,n){let i=e.previousIndex;if(i===null)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}var Dp=class{constructor(){}supports(t){return t instanceof Map||ml(t)}create(){return new Ep}},Ep=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||ml(t)))throw new j(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{let o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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)){let r=this._records.get(t);this._maybeAddToChanges(r,n);let o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}let i=new xp(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;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){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?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(i=>n(t[i],i))}},xp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function tg(){return new Ip([new yp])}var Ip=(()=>{class e{factories;static \u0275prov=W({token:e,providedIn:"root",factory:tg});constructor(n){this.factories=n}static create(n,i){if(i!=null){let r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||tg()),deps:[[e,new Rd,new Od]]}}find(n){let i=this.factories.find(r=>r.supports(n));if(i!=null)return i;throw new j(901,!1)}}return e})();function ng(){return new Sp([new Dp])}var Sp=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:ng});factories;constructor(n){this.factories=n}static create(n,i){if(i){let r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||ng()),deps:[[e,new Rd,new Od]]}}find(n){let i=this.factories.find(r=>r.supports(n));if(i)return i;throw new j(901,!1)}}return e})();function og(e){he(8);try{let{rootComponent:t,appProviders:n,platformProviders:i}=e,r=o6(i),o=[q0({}),{provide:qt,useExisting:X0},j1,...n||[]],a=new So({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return t6({r3Injector:a.injector,platformInjector:r,rootComponent:t})}catch(t){return Promise.reject(t)}finally{he(9)}}function M(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var u6={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function d6(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function p6(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Tp;function f6(e,t){if(!Tp){let n=Element.prototype;Tp=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Tp.call(e,t):!1}function m6(e){let t={};return e.forEach(({propName:n,templateName:i,transform:r})=>{t[d6(i)]=[n,r]}),t}function h6(e,t){return t.get(Si).resolveComponentFactory(e).inputs}function g6(e,t){let n=e.childNodes,i=t.map(()=>[]),r=-1;t.some((o,a)=>o==="*"?(r=a,!0):!1);for(let o=0,a=n.length;o<a;++o){let c=n[o],d=b6(c,t,r);d!==-1&&i[d].push(c)}return i}function b6(e,t,n){let i=n;return p6(e)&&t.some((r,o)=>r!=="*"&&f6(e,r)?(i=o,!0):!1),i}var v6=10,kp=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Si).resolveComponentFactory(t);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(t){return new Ap(this.componentFactory,t,this.inputMap)}},Ap=class{componentFactory;injector;inputMap;eventEmitters=new kn(1);events=this.eventEmitters.pipe(An(t=>Xc(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,i){this.componentFactory=t,this.injector=n,this.inputMap=i,this.ngZone=this.injector.get(He),this.appRef=this.injector.get(ki),this.cdScheduler=n.get(qt),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=u6.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},v6))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),tp(this.componentRef.hostView)&&(np(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let n=Gt.create({providers:[],parent:this.injector}),i=g6(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,i,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=t.instance[i];return new oe(a=>{let c=o.subscribe(d=>a.next({name:r,value:d}));return()=>c.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Lp=class extends HTMLElement{ngElementEventsSubscription=null};function ft(e,t){let n=h6(e,t.injector),i=t.strategyFactory||new kp(e,t.injector),r=m6(n);class o extends Lp{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:d,transform:f})=>{if(!this.hasOwnProperty(d))return;let h=this[d];delete this[d],c.setInputValue(d,h,f)})}return this._ngElementStrategy}_ngElementStrategy;constructor(c){super(),this.injector=c}attributeChangedCallback(c,d,f,h){let[g,y]=r[c];this.ngElementStrategy.setInputValue(g,f,y)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return n.forEach(({propName:a,transform:c})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(d){this.ngElementStrategy.setInputValue(a,d,c)},configurable:!0,enumerable:!0})}),o}var sg=null;function Uo(){return sg}function Np(e){sg??=e}var Bo=class{};var Op=/\s+/,ag=[],Pe=(()=>{class e{_ngEl;_renderer;initialClasses=ag;rawClass;stateMap=new Map;constructor(n,i){this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=n!=null?n.trim().split(Op):ag}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Op):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(Op).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)(Be(Un),Be(fl))};static \u0275dir=zn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var El=class{$implicit;ngForOf;index;count;constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},mt=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((r,o,a)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new El(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(o===null?void 0:o);else if(o!==null){let c=i.get(o);i.move(c,a),lg(c,r)}});for(let r=0,o=i.length;r<o;r++){let c=i.get(r).context;c.index=r,c.count=o,c.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);lg(o,r)})}static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)(Be(_r),Be(No),Be(Ip))};static \u0275dir=zn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function lg(e,t){e.context.$implicit=t.item}var zo=(()=>{class e{_viewContainer;_context=new xl;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,i){this._viewContainer=n,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){cg(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){cg(n,!1),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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)(Be(_r),Be(No))};static \u0275dir=zn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),xl=class{$implicit=null;ngIf=null};function cg(e,t){if(e&&!e.createEmbeddedView)throw new j(2020,!1)}var Rp=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,i,r){this._ngEl=n,this._differs=i,this._renderer=r}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[r,o]=n.split("."),a=r.indexOf("-")===-1?void 0:Bt.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||e)(Be(Un),Be(Sp),Be(fl))};static \u0275dir=zn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),$o=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(n,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||e)(Be(_r))};static \u0275dir=zn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ut]})}return e})();var pe=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ti({type:e});static \u0275inj=On({})}return e})();function Zo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[r,o]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}var Li=class{};var ug="browser",y6="server";function dg(e){return e===y6}var Sl=new z(""),jp=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,i){this._zone=i,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,r,o){return this._findPluginFor(i).addEventListener(n,i,r,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(o=>o.supports(n)),!i)throw new j(5101,!1);return this._eventNameToPlugin.set(n,i),i}static \u0275fac=function(i){return new(i||e)(V(Sl),V(He))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Wo=class{_doc;constructor(t){this._doc=t}manager},Ml="ng-app-id";function pg(e){for(let t of e)t.remove()}function fg(e,t){let n=t.createElement("style");return n.textContent=e,n}function _6(e,t,n,i){let r=e.head?.querySelectorAll(`style[${Ml}="${t}"],link[${Ml}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Ml),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function Fp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Hp=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,i,r,o={}){this.doc=n,this.appId=i,this.nonce=r,this.isServer=dg(o),_6(n,i,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,i){for(let r of n)this.addUsage(r,this.inline,fg);i?.forEach(r=>this.addUsage(r,this.external,Fp))}removeStyles(n,i){for(let r of n)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(n,i,r){let o=i.get(n);o?o.usage++:i.set(n,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(n,this.doc)))})}removeUsage(n,i){let r=i.get(n);r&&(r.usage--,r.usage<=0&&(pg(r.elements),i.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])pg(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(n,fg(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(n,Fp(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(Ml,this.appId),n.appendChild(i)}static \u0275fac=function(i){return new(i||e)(V(_t),V(nl),V(rl,8),V(vr))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Pp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Bp=/%COMP%/g;var hg="%COMP%",C6=`_nghost-${hg}`,w6=`_ngcontent-${hg}`,D6=!0,E6=new z("",{providedIn:"root",factory:()=>D6});function x6(e){return w6.replace(Bp,e)}function M6(e){return C6.replace(Bp,e)}function gg(e,t){return t.map(n=>n.replace(Bp,e))}var Up=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,i,r,o,a,c,d,f=null,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=c,this.ngZone=d,this.nonce=f,this.tracingService=h,this.platformIsServer=!1,this.defaultRenderer=new Go(n,a,d,this.platformIsServer,this.tracingService)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(n,i);return r instanceof Il?r.applyToHost(n):r instanceof Yo&&r.applyStyles(),r}getOrCreateRenderer(n,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,c=this.ngZone,d=this.eventManager,f=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,g=this.platformIsServer,y=this.tracingService;switch(i.encapsulation){case yn.Emulated:o=new Il(d,f,i,this.appId,h,a,c,g,y);break;case yn.ShadowDom:return new Vp(d,f,n,i,a,c,this.nonce,g,y);default:o=new Yo(d,f,i,h,a,c,g,y);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(i){return new(i||e)(V(jp),V(Hp),V(nl),V(E6),V(_t),V(vr),V(He),V(rl),V(Ro,8))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Go=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,i,r,o){this.eventManager=t,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Pp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(mg(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(mg(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){n.remove()}selectRootElement(t,n){let i=typeof t=="string"?this.doc.querySelector(t):t;if(!i)throw new j(-5104,!1);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;let o=Pp[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){let r=Pp[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(Bt.DashCase|Bt.Important)?t.style.setProperty(n,i,r&Bt.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Bt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t!=null&&(t[n]=i)}setValue(t,n){t.nodeValue=n}listen(t,n,i,r){if(typeof t=="string"&&(t=Uo().getGlobalEventTarget(this.doc,t),!t))throw new j(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,n,o)),this.eventManager.addEventListener(t,n,o,r)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function mg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Vp=class extends Go{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,i,r,o,a,c,d,f){super(t,o,a,d,f),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=gg(r.id,h);for(let y of h){let v=document.createElement("style");c&&v.setAttribute("nonce",c),v.textContent=y,this.shadowRoot.appendChild(v)}let g=r.getExternalStyles?.();if(g)for(let y of g){let v=Fp(y,o);c&&v.setAttribute("nonce",c),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Yo=class extends Go{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,i,r,o,a,c,d,f){super(t,o,a,c,d),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r;let h=i.styles;this.styles=f?gg(f,h):h,this.styleUrls=i.getExternalStyles?.(f)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Il=class extends Yo{contentAttr;hostAttr;constructor(t,n,i,r,o,a,c,d,f){let h=r+"-"+i.id;super(t,n,i,o,a,c,d,f,h),this.contentAttr=x6(h),this.hostAttr=M6(h)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}};var Tl=class e extends Bo{supportsDOMEvents=!0;static makeCurrent(){Np(new e)}onAndCancel(t,n,i,r){return t.addEventListener(n,i,r),()=>{t.removeEventListener(n,i,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=I6();return n==null?null:S6(n)}resetBaseElement(){qo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Zo(document.cookie,t)}},qo=null;function I6(){return qo=qo||document.head.querySelector("base"),qo?qo.getAttribute("href"):null}function S6(e){return new URL(e,document.baseURI).pathname}var T6=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),vg=(()=>{class e extends Wo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r,o){return n.addEventListener(i,r,o),()=>this.removeEventListener(n,i,r,o)}removeEventListener(n,i,r,o){return n.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||e)(V(_t))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),bg=["alt","control","meta","shift"],k6={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},A6={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},yg=(()=>{class e extends Wo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,r,o){let a=e.parseEventName(i),c=e.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Uo().onAndCancel(n,a.domEventName,c,o))}static parseEventName(n){let i=n.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),bg.forEach(f=>{let h=i.indexOf(f);h>-1&&(i.splice(h,1),a+=f+".")}),a+=o,i.length!=0||o.length===0)return null;let d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let r=k6[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),bg.forEach(a=>{if(a!==r){let c=A6[a];c(n)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{e.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(i){return new(i||e)(V(_t))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();function zp(e){return og(L6(e))}function L6(e){return{appProviders:[...F6,...e?.providers??[]],platformProviders:P6}}function N6(){Tl.makeCurrent()}function O6(){return new Yt}function R6(){return jd(document),document}var P6=[{provide:vr,useValue:ug},{provide:il,useValue:N6,multi:!0},{provide:_t,useFactory:R6}];var F6=[{provide:ao,useValue:"root"},{provide:Yt,useFactory:O6},{provide:Sl,useClass:vg,multi:!0,deps:[_t]},{provide:Sl,useClass:yg,multi:!0,deps:[_t]},Up,Hp,jp,{provide:Mi,useExisting:Up},{provide:Li,useClass:T6},[]];var Er=class{},Qo=class{},Zn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
11
11
|
`).forEach(n=>{let i=n.indexOf(":");if(i>0){let r=n.slice(0,i),o=n.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,i)=>{this.addHeaderEntry(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,n);let r=(t.op==="a"?this.headers.get(n):void 0)||[];r.push(...i),this.headers.set(n,r);break;case"d":let o=t.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let a=this.headers.get(n);if(!a)return;a=a.filter(c=>o.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}addHeaderEntry(t,n){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(n):this.headers.set(i,[n])}setHeaderEntries(t,n){let i=(Array.isArray(n)?n:[n]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Al=class{encodeKey(t){return _g(t)}encodeValue(t){return _g(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function V6(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,c]=o==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],d=n.get(a)||[];d.push(c),n.set(a,d)}),n}var j6=/%(\d[a-f0-9])/gi,H6={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _g(e){return encodeURIComponent(e).replace(j6,(t,n)=>H6[n]??t)}function kl(e){return`${e}`}var Dn=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Al,t.fromString){if(t.fromObject)throw new j(2805,!1);this.map=V6(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let i=t.fromObject[n],r=Array.isArray(i)?i.map(kl):[kl(i)];this.map.set(n,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(i=>{let r=t[i];Array.isArray(r)?r.forEach(o=>{n.push({param:i,value:o,op:"a"})}):n.push({param:i,value:r,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(kl(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],r=i.indexOf(kl(t.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Ll=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function B6(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Cg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function wg(e){return typeof Blob<"u"&&e instanceof Blob}function Dg(e){return typeof FormData<"u"&&e instanceof FormData}function U6(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Eg="Content-Type",xg="Accept",Mg="X-Request-URL",Ig="text/plain",Sg="application/json",z6=`${Sg}, ${Ig}, */*`,Dr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;keepalive=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(t,n,i,r){this.url=n,this.method=t.toUpperCase();let o;if(B6(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Zn,this.context??=new Ll,!this.params)this.params=new Dn,this.urlWithParams=n;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=n;else{let c=n.indexOf("?"),d=c===-1?"?":c<n.length-1?"&":"";this.urlWithParams=n+d+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Cg(this.body)||wg(this.body)||Dg(this.body)||U6(this.body)?this.body:this.body instanceof Dn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Dg(this.body)?null:wg(this.body)?this.body.type||null:Cg(this.body)?null:typeof this.body=="string"?Ig:this.body instanceof Dn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Sg:null}clone(t={}){let n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,o=t.keepalive??this.keepalive,a=t.transferCache??this.transferCache,c=t.body!==void 0?t.body:this.body,d=t.withCredentials??this.withCredentials,f=t.reportProgress??this.reportProgress,h=t.headers||this.headers,g=t.params||this.params,y=t.context??this.context;return t.setHeaders!==void 0&&(h=Object.keys(t.setHeaders).reduce((v,_)=>v.set(_,t.setHeaders[_]),h)),t.setParams&&(g=Object.keys(t.setParams).reduce((v,_)=>v.set(_,t.setParams[_]),g)),new e(n,i,c,{params:g,headers:h,context:y,reportProgress:f,responseType:r,withCredentials:d,transferCache:a,keepalive:o})}},Ni=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ni||{}),xr=class{headers;status;statusText;url;ok;type;constructor(t,n=200,i="OK"){this.headers=t.headers||new Zn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Nl=class e extends xr{constructor(t={}){super(t)}type=Ni.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Xo=class e extends xr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Ni.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Ko=class extends xr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},$6=200,Z6=204;function $p(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache,keepalive:e.keepalive}}var Mr=(()=>{class e{handler;constructor(n){this.handler=n}request(n,i,r={}){let o;if(n instanceof Dr)o=n;else{let d;r.headers instanceof Zn?d=r.headers:d=new Zn(r.headers);let f;r.params&&(r.params instanceof Dn?f=r.params:f=new Dn({fromObject:r.params})),o=new Dr(n,i,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:f,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive})}let a=gn(o).pipe(to(d=>this.handler.handle(d)));if(n instanceof Dr||r.observe==="events")return a;let c=a.pipe(Kc(d=>d instanceof Xo));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(rt(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new j(2806,!1);return d.body}));case"blob":return c.pipe(rt(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new j(2807,!1);return d.body}));case"text":return c.pipe(rt(d=>{if(d.body!==null&&typeof d.body!="string")throw new j(2808,!1);return d.body}));case"json":default:return c.pipe(rt(d=>d.body))}case"response":return c;default:throw new j(2809,!1)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new Dn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,r={}){return this.request("PATCH",n,$p(r,i))}post(n,i,r={}){return this.request("POST",n,$p(r,i))}put(n,i,r={}){return this.request("PUT",n,$p(r,i))}static \u0275fac=function(i){return new(i||e)(V(Er))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var W6=new z("");function G6(e,t){return t(e)}function Y6(e,t,n){return(i,r)=>rr(n,()=>t(i,o=>e(o,r)))}var Tg=new z(""),kg=new z(""),Ag=new z("",{providedIn:"root",factory:()=>!0});var Ol=(()=>{class e extends Er{backend;injector;chain=null;pendingTasks=F(_o);contributeToStability=F(Ag);constructor(n,i){super(),this.backend=n,this.injector=i}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Tg),...this.injector.get(kg,[])]));this.chain=i.reduceRight((r,o)=>Y6(r,o,this.injector),G6)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,r=>this.backend.handle(r)).pipe(Jc(i))}else return this.chain(n,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(V(Qo),V(dt))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var q6=/^\)\]\}',?\n/,Q6=RegExp(`^${Mg}:`,"m");function X6(e){return"responseURL"in e&&e.responseURL?e.responseURL:Q6.test(e.getAllResponseHeaders())?e.getResponseHeader(Mg):null}var Zp=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new j(-2800,!1);n.keepalive;let i=this.xhrFactory;return(i.\u0275loadImpl?hn(i.\u0275loadImpl()):gn(null)).pipe(An(()=>new oe(o=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((I,A)=>a.setRequestHeader(I,A.join(","))),n.headers.has(xg)||a.setRequestHeader(xg,z6),!n.headers.has(Eg)){let I=n.detectContentTypeHeader();I!==null&&a.setRequestHeader(Eg,I)}if(n.responseType){let I=n.responseType.toLowerCase();a.responseType=I!=="json"?I:"text"}let c=n.serializeBody(),d=null,f=()=>{if(d!==null)return d;let I=a.statusText||"OK",A=new Zn(a.getAllResponseHeaders()),k=X6(a)||n.url;return d=new Nl({headers:A,status:a.status,statusText:I,url:k}),d},h=()=>{let{headers:I,status:A,statusText:k,url:ne}=f(),ce=null;A!==Z6&&(ce=typeof a.response>"u"?a.responseText:a.response),A===0&&(A=ce?$6:0);let et=A>=200&&A<300;if(n.responseType==="json"&&typeof ce=="string"){let Ue=ce;ce=ce.replace(q6,"");try{ce=ce!==""?JSON.parse(ce):null}catch(O){ce=Ue,et&&(et=!1,ce={error:O,text:ce})}}et?(o.next(new Xo({body:ce,headers:I,status:A,statusText:k,url:ne||void 0})),o.complete()):o.error(new Ko({error:ce,headers:I,status:A,statusText:k,url:ne||void 0}))},g=I=>{let{url:A}=f(),k=new Ko({error:I,status:a.status||0,statusText:a.statusText||"Unknown Error",url:A||void 0});o.error(k)},y=!1,v=I=>{y||(o.next(f()),y=!0);let A={type:Ni.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(A.total=I.total),n.responseType==="text"&&a.responseText&&(A.partialText=a.responseText),o.next(A)},_=I=>{let A={type:Ni.UploadProgress,loaded:I.loaded};I.lengthComputable&&(A.total=I.total),o.next(A)};return a.addEventListener("load",h),a.addEventListener("error",g),a.addEventListener("timeout",g),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",v),c!==null&&a.upload&&a.upload.addEventListener("progress",_)),a.send(c),o.next({type:Ni.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",h),a.removeEventListener("timeout",g),n.reportProgress&&(a.removeEventListener("progress",v),c!==null&&a.upload&&a.upload.removeEventListener("progress",_)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||e)(V(Li))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Lg=new z(""),K6="XSRF-TOKEN",J6=new z("",{providedIn:"root",factory:()=>K6}),eC="X-XSRF-TOKEN",tC=new z("",{providedIn:"root",factory:()=>eC}),Jo=class{},nC=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,i){this.doc=n,this.cookieName=i}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Zo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(i){return new(i||e)(V(_t),V(J6))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();function iC(e,t){let n=e.url.toLowerCase();if(!F(Lg)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let i=F(Jo).getToken(),r=F(tC);return i!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),t(e)}function Wp(...e){let t=[Mr,Zp,Ol,{provide:Er,useExisting:Ol},{provide:Qo,useFactory:()=>F(W6,{optional:!0})??F(Zp)},{provide:Tg,useValue:iC,multi:!0},{provide:Lg,useValue:!0},{provide:Jo,useClass:nC}];for(let n of e)t.push(...n.\u0275providers);return so(t)}var Gn=class{},Ng=(()=>{class e extends Gn{getTranslation(n){return gn({})}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ko(e)))(r||e)}})();static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Oi=class{},Og=(()=>{class e{handle(n){return n.key}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();function Pl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let n=typeof e,i=typeof t,r,o,a;if(n==i&&n=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((r=e.length)==t.length){for(o=0;o<r;o++)if(!Pl(e[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;a=Object.create(null);for(o in e){if(!Pl(e[o],t[o]))return!1;a[o]=!0}for(o in t)if(!(o in a)&&typeof t[o]<"u")return!1;return!0}return!1}function Wn(e){return typeof e<"u"&&e!==null}function ns(e){return Rl(e)&&!Jp(e)&&e!==null}function Rl(e){return typeof e=="object"}function Jp(e){return Array.isArray(e)}function ef(e){return typeof e=="string"}function oC(e){return typeof e=="function"}function Gp(e,t){let n=Object.assign({},e);return Rl(e)?(Rl(e)&&Rl(t)&&Object.keys(t).forEach(i=>{ns(t[i])?i in e?n[i]=Gp(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):Gp({},t)}function Yp(e,t){let n=t.split(".");t="";do t+=n.shift(),Wn(e)&&Wn(e[t])&&(ns(e[t])||Jp(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function sC(e,t,n){let i=t.split("."),r=e;for(let o=0;o<i.length;o++){let a=i[o];o===i.length-1?r[a]=n:((!r[a]||!ns(r[a]))&&(r[a]={}),r=r[a])}}var Ir=class{},Rg=(()=>{class e extends Ir{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,i){if(ef(n))return this.interpolateString(n,i);if(oC(n))return this.interpolateFunction(n,i)}interpolateFunction(n,i){return n(i)}interpolateString(n,i){return i?n.replace(this.templateMatcher,(r,o)=>{let a=Yp(i,o);return Wn(a)?a:r}):n}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ko(e)))(r||e)}})();static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Sr=class{},Pg=(()=>{class e extends Sr{compile(n,i){return n}compileTranslations(n,i){return n}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ko(e)))(r||e)}})();static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),ts=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new K;onLangChange=new K;onDefaultLangChange=new K},qp=new z("ISOLATE_TRANSLATE_SERVICE"),Qp=new z("USE_DEFAULT_LANG"),Xp=new z("DEFAULT_LANGUAGE"),Kp=new z("USE_EXTEND"),es=e=>si(e)?e:gn(e),Ee=(()=>{class e{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}constructor(n,i,r,o,a,c=!0,d=!1,f=!1,h){this.store=n,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=c,this.extend=f,d&&(this.store=new ts),h&&this.setDefaultLang(h)}setDefaultLang(n){if(n===this.defaultLang)return;let i=this.retrieveTranslations(n);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=n),i.pipe(er(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return gn(this.translations[n]);this.currentLang||(this.currentLang=n);let i=this.retrieveTranslations(n);return si(i)?(i.pipe(er(1)).subscribe(()=>{this.changeLang(n)}),i):(this.changeLang(n),gn(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let i=this.currentLoader.getTranslation(n).pipe(oa(1),er(1));return this.loadingTranslations=i.pipe(rt(r=>this.compiler.compileTranslations(r,n)),oa(1),er(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?Le(Le({},r),this.translations[n]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(n,i,r=!1){let o=this.compiler.compileTranslations(i,n);(r||this.extend)&&this.translations[n]?this.translations[n]=Gp(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let i=n.filter(r=>!this.langs.includes(r));i.length>0&&(this.langs=[...this.langs,...i])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,i,r){let o;if(n&&(o=this.runInterpolation(Yp(n,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Yp(this.translations[this.defaultLang],i),r)),o===void 0){let a={key:i,translateService:this};typeof r<"u"&&(a.interpolateParams=r),o=this.missingTranslationHandler.handle(a)}return o!==void 0?o:i}runInterpolation(n,i){if(Jp(n))return n.map(r=>this.runInterpolation(r,i));if(ns(n)){let r={};for(let o in n){let a=this.runInterpolation(n[o],i);a!==void 0&&(r[o]=a)}return r}else return this.parser.interpolate(n,i)}getParsedResult(n,i,r){if(i instanceof Array){let o={},a=!1;for(let d of i)o[d]=this.getParsedResultForKey(n,d,r),a=a||si(o[d]);if(!a)return o;let c=i.map(d=>es(o[d]));return Qc(c).pipe(rt(d=>{let f={};return d.forEach((h,g)=>{f[i[g]]=h}),f}))}return this.getParsedResultForKey(n,i,r)}get(n,i){if(!Wn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(to(r=>es(this.getParsedResult(r,n,i)))):es(this.getParsedResult(this.translations[this.currentLang],n,i))}getStreamOnTranslationChange(n,i){if(!Wn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return ia(ra(()=>this.get(n,i)),this.onTranslationChange.pipe(An(r=>{let o=this.getParsedResult(r.translations,n,i);return es(o)})))}stream(n,i){if(!Wn(n)||!n.length)throw new Error('Parameter "key" required');return ia(ra(()=>this.get(n,i)),this.onLangChange.pipe(An(r=>{let o=this.getParsedResult(r.translations,n,i);return es(o)})))}instant(n,i){if(!Wn(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],n,i);return si(r)?Array.isArray(n)?n.reduce((o,a)=>(o[a]=a,o),{}):n:r}set(n,i,r=this.currentLang){sC(this.translations[r],n,ef(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(i){return new(i||e)(V(ts),V(Gn),V(Sr),V(Ir),V(Oi),V(Qp),V(qp),V(Kp),V(Xp))};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ye=(()=>{class e{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(n,i){this.translate=n,this._ref=i}updateValue(n,i,r){let o=a=>{this.value=a!==void 0?a:n,this.lastKey=n,this._ref.markForCheck()};if(r){let a=this.translate.getParsedResult(r,n,i);si(a)?a.subscribe(o):o(a)}this.translate.get(n,i).subscribe(o)}transform(n,...i){if(!n||!n.length)return n;if(Pl(n,this.lastKey)&&Pl(i,this.lastParams))return this.value;let r;if(Wn(i[0])&&i.length)if(ef(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(a){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else ns(i[0])&&(r=i[0]);return this.lastKey=n,this.lastParams=i,this.updateValue(n,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||e)(Be(Ee,16),Be(Mp,16))};static \u0275pipe=gl({name:"translate",type:e,pure:!1});static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var ke=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:Gn,useClass:Ng},n.compiler||{provide:Sr,useClass:Pg},n.parser||{provide:Ir,useClass:Rg},n.missingTranslationHandler||{provide:Oi,useClass:Og},ts,{provide:qp,useValue:n.isolate},{provide:Qp,useValue:n.useDefaultLang},{provide:Kp,useValue:n.extend},{provide:Xp,useValue:n.defaultLanguage},Ee]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:Gn,useClass:Ng},n.compiler||{provide:Sr,useClass:Pg},n.parser||{provide:Ir,useClass:Rg},n.missingTranslationHandler||{provide:Oi,useClass:Og},{provide:qp,useValue:n.isolate},{provide:Qp,useValue:n.useDefaultLang},{provide:Kp,useValue:n.extend},{provide:Xp,useValue:n.defaultLanguage},Ee]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ti({type:e});static \u0275inj=On({})}return e})();var Je=(()=>{let t=class t{constructor(){this.translateService=F(Ee),this._selectedLanguage=Hn("en"),this._localizedStrings=Hn({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(i){this._selectedLanguage.set(i),this.translateService.use(i);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(r){console.error(r)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(i){this._localizedStrings.set(i),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,i)}catch(r){console.error(r)}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[Oe([Ee])],decls:2,vars:0,template:function(r,o){r&1&&(D(0,"p"),Q(1," localized widget works! "),S())},dependencies:[pe,ke],encapsulation:3});let e=t;return e})();function fe(e,t,n=null){if(!t){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let i="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;i&&typeof i[t]=="function"&&i[t]({detail:n});let r=e;t in r&&r[t].emit(n)}var Fl=(()=>{let t=class t extends Je{constructor(){super(),this.bimplusContactClicked=new K}_contactClicked(){fe(this,"bimplusContactClicked","contact")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},features:[Oe([Ee]),Ge],decls:3,vars:3,consts:[["href","https://connect.allplan.com/support/contact.ct?SSO=1&autolang","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(r,o){r&1&&(D(0,"a",0),ge(1,"translate"),R("click",function(){return o._contactClicked()}),ee(2,"div",1),S()),r&2&&E("title",be(1,1,"_BimplusContactTitle"))},dependencies:[pe,ke,Ye],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact.svg") no-repeat;background-size:1.375em;background-repeat:no-repeat;background-position:center;cursor:pointer}.bimplus-contact a{width:100%;height:100%}
|
|
12
12
|
`],encapsulation:3});let e=t;return e})();var aC=(e,t)=>({open:e,"expand-up":t});function lC(e,t){if(e&1){let n=_e();D(0,"li",7),R("click",function(){let r=H(n).$implicit,o=x();return B(o._switchLanguage(r.symbol))})("keypress",function(){let r=H(n).$implicit,o=x();return B(o._switchLanguage(r.symbol))}),D(1,"span"),Q(2),S()()}if(e&2){let n=t.$implicit,i=x();E("ngClass",i.selectedLanguage===n.symbol?"selected":""),_n("data-test","langmenu_item_"+n.text),w(2),Xe(n.text)}}var Vl=(()=>{let t=class t{constructor(){this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina"},{symbol:"de",text:"Deutsch"},{symbol:"en",text:"English (UK)"},{symbol:"us",text:"English (US)"},{symbol:"es",text:"Espa\xF1ol"},{symbol:"fr",text:"Fran\xE7ais"},{symbol:"it",text:"Italiano"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{symbol:"ro",text:"Romana"},{symbol:"tr",text:"T\xFCrk\xE7e"}],this.isTouch=!1,this.selectedLanguage="en",this.expandUp=!1,this._menuOpened=!1,this.bimplusLanguageSelected=new K}_switchLanguage(i){fe(this,"bimplusLanguageSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-language-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",M],selectedLanguage:"selectedLanguage",expandUp:[2,"expandUp","expandUp",M]},outputs:{bimplusLanguageSelected:"bimplusLanguageSelected"},decls:7,vars:8,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],["data-test","language-menu-dropdown",1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-languages"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(r,o){r&1&&(D(0,"div",0),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),S(),D(1,"div",1),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),D(2,"div",2),ee(3,"div",3)(4,"span",4),S(),D(5,"ul",5),ae(6,lC,3,3,"li",6),S()()),r&2&&(E("ngClass",o._menuOpened?"open":""),w(),E("ngClass",o._menuOpened?"open":"")("ngClass",o.isTouch?"is-touch":""),w(4),E("ngClass",Ai(5,aC,o._menuOpened,o.expandUp)),w(),E("ngForOf",o._languagesList))},dependencies:[pe,Pe,mt],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--language-menu-dropdown-open-text-color-enabled);background-color:var(--language-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--language-menu-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--language-menu-dropdown-menu-background-color-enabled);border:thin solid var(--language-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--language-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.4em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:0 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--language-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.expand-up{top:-24rem;right:-13.5rem}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}
|
|
13
13
|
`],encapsulation:3});let e=t;return e})();var cC=(e,t,n)=>({collapsed:e,"mini-mode":t,"is-touch":n}),Fg=(e,t)=>t.id;function uC(e,t){if(e&1){let n=_e();D(0,"div",4),ge(1,"translate"),R("dblclick",function(r){H(n);let o=x(3);return B(o._menuItemIgnoreAction(r))})("click",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"normal",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"normal",r))}),ee(2,"div",5),D(3,"div",6),R("click",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"info",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"info",r))}),S()()}if(e&2){let n=x().$implicit,i=x(2);E("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",be(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),E("ngClass",i._getPrjIconClassAttributes(n))}}function dC(e,t){if(e&1&&Se(0,uC,4,5,"div",3),e&2){let n=t.$implicit,i=x(2);Te(i._isHidden(n)?-1:0)}}function pC(e,t){if(e&1&&vl(0,dC,1,1,null,null,Fg),e&2){let n=x();yl(n.menuItems)}}function fC(e,t){if(e&1){let n=_e();D(0,"div",4),ge(1,"translate"),R("dblclick",function(r){H(n);let o=x(3);return B(o._menuItemIgnoreAction(r))})("click",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"normal",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"normal",r))}),ee(2,"div",5),D(3,"div",6),R("click",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"info",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"info",r))}),S()()}if(e&2){let n=x().$implicit,i=x(2);E("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",be(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),E("ngClass",i._getPrjIconClassAttributes(n))}}function mC(e,t){if(e&1&&Se(0,fC,4,5,"div",3),e&2){let n=t.$implicit,i=x(2);Te(!i._isHidden(n)&&(i.isCollapsed||n.action!=="processes")?0:-1)}}function hC(e,t){if(e&1&&vl(0,mC,1,1,null,null,Fg),e&2){let n=x();yl(n.menuItems)}}function gC(e,t){e&1&&tn(0)}function bC(e,t){if(e&1&&ae(0,gC,1,0,"ng-container",13),e&2){x(2);let n=Cn(1);E("ngTemplateOutlet",n)}}function vC(e,t){if(e&1&&(D(0,"div",7)(1,"div",8),ee(2,"div",9),S(),D(3,"div",10),Q(4),S()(),D(5,"div",11)(6,"div",12),Se(7,bC,1,1,"ng-container"),S()()),e&2){let n=x();w(),E("ngStyle",n.prjImageOverlayStyle),w(),E("ngStyle",n.prjImageStyle),w(2),Ce(" ",n.projectName," "),w(),E("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Te(n.showHorizontalMenuIcons?7:-1)}}function yC(e,t){e&1&&tn(0)}function _C(e,t){if(e&1&&ae(0,yC,1,0,"ng-container",13),e&2){x(2);let n=Cn(3);E("ngTemplateOutlet",n)}}function CC(e,t){e&1&&tn(0)}function wC(e,t){if(e&1&&ae(0,CC,1,0,"ng-container",13),e&2){x(2);let n=Cn(1);E("ngTemplateOutlet",n)}}function DC(e,t){if(e&1){let n=_e();D(0,"a",14),ge(1,"translate"),R("dblclick",function(){H(n);let r=x();return B(r._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){H(n);let r=x();return B(r._projectMenuItemClicked("prjimageclick","normal"))}),D(2,"div",15),ee(3,"div",16),D(4,"div",17),Se(5,_C,1,1,"ng-container"),S(),D(6,"div",18),Q(7),S()()(),D(8,"div",11)(9,"div",12),Se(10,wC,1,1,"ng-container"),S()()}if(e&2){let n=x();E("href",de(n.projectExplorerUrl),yr)("ngStyle",n.prjImageOverlayStyle)("title",be(1,11,"_ModelThumbnailTooltip")),w(2),E("ngStyle",n.prjImageStyle),w(),E("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),E("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),Te(!n.hideMenuIcons&&!n.showHorizontalMenuIcons?5:-1),w(2),Ce(" ",n.projectName," "),w(),E("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Te(n.showHorizontalMenuIcons?10:-1)}}var jl=(()=>{let t=class t extends Je{constructor(){super(),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.menuItemsOrder=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}get menuItems(){return this._menuPrjList.sort((i,r)=>this.menuItemsOrder.indexOf(i.id)-this.menuItemsOrder.indexOf(r.id))}_isHidden(i){if(i){let r=`${i.action?i.action:i.id}Visible`;return!this[r]}return!1}_isDisabled(i){if(i){let r=`${i.action?i.action:i.id}Disabled`;return!!this[r]}return!1}_projectMenuItemClicked(i,r){console.log(i,r)}_menuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),console.log(i,r,o),r!="info"&&this._isDisabled(i))return;let a=i.action;fe(this,"bimplusProjectMenuClicked",{action:a,type:r})}_menuItemIgnoreAction(i){i&&(i.stopPropagation(),i.preventDefault())}_getPrjItemClassAttributes(i,r){return`${this._isDisabled(i)?"disabled":""} ${r?"":"hover-show-info"}`}_getPrjIconClassAttributes(i){return`${i.class} ${i.action===this.projectActiveItem?"active":""} ${this._isDisabled(i)?"disabled":""}`}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",M],modelsDisabled:[2,"modelsDisabled","modelsDisabled",M],documentsDisabled:[2,"documentsDisabled","documentsDisabled",M],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",M],processesDisabled:[2,"processesDisabled","processesDisabled",M],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",M],modelsVisible:[2,"modelsVisible","modelsVisible",M],documentsVisible:[2,"documentsVisible","documentsVisible",M],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",M],processesVisible:[2,"processesVisible","processesVisible",M],isCollapsed:[2,"isCollapsed","isCollapsed",M],isMiniMode:[2,"isMiniMode","isMiniMode",M],isTouch:[2,"isTouch","isTouch",M],hideMenuIcons:[2,"hideMenuIcons","hideMenuIcons",M],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",M],menuItemsOrder:"menuItemsOrder"},features:[Oe([Ee]),Ge],decls:7,vars:6,consts:[["navigationPrjList",""],["navigationPrjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","keypress","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click","keypress"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(r,o){r&1&&(ae(0,pC,2,0,"ng-template",null,0,wr)(2,hC,2,0,"ng-template",null,1,wr),D(4,"div",2),Se(5,vC,8,5)(6,DC,11,13),S()),r&2&&(w(4),E("ngClass",wn(2,cC,o.isCollapsed,o.isMiniMode,o.isTouch)),w(),Te(o.isMiniMode&&!o.isCollapsed?5:6))},dependencies:[pe,Pe,$o,Rp,ke,Ye],styles:[`.bim-pm-prj-container{display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--project-menu-project-container-background-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode{border-bottom:thin solid var(--project-menu-project-container-mini-mode-border-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-horizontal{padding-left:.5em;padding-bottom:.5em}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-list{height:2.3em}.bim-pm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em}div:not(.collapsed) .bim-pm-prj-details{height:10em}div:not(.collapsed) .bim-pm-prj-details .bim-pm-prj-image{height:10em}.bim-pm-prj-details{color:inherit;background-size:100% auto!important;background-color:var(--project-menu-project-details-background-color-enabled);background-repeat:no-repeat!important;overflow:hidden}.bim-pm-prj-details .bim-pm-prj-image{background-size:auto 10em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;display:flex;flex-direction:column;position:relative;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list{width:4.6875em;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex:1 0 auto;position:absolute}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item{padding-top:.88em;width:100%;display:flex;justify-content:space-around;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item:first-child{padding-top:.43em}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin-left:.875em;margin-right:auto}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-details .bim-pm-prj-items-list .hover-show-info:hover .bim-pm-app-item-info{display:block}.bim-pm-prj-details .bim-pm-prj-name{color:var(--project-menu-project-name-text-color);background-color:var(--project-menu-project-name-background-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:1em;font-weight:400;padding-left:.875em;padding-top:.375em;padding-right:1rem;height:1.625em;box-sizing:content-box;position:absolute;bottom:0;left:0;right:0}.bim-pm-prj-details .bim-pm-prj-items-overlay{position:absolute;background-color:var(--project-menu-item-overlay-background-color-enabled);width:2.8125em;height:calc(100% - 2em)}.bim-pm-prj-details .bim-pm-prj-items-overlay.hidden{display:none}.bim-pm-prj-items-horizontal{border-bottom:1px solid var(--project-menu-project-items-horizontal-border-color-enabled)}.bim-pm-prj-items-horizontal.hidden{display:none}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list{width:auto;height:3.44em;position:relative;display:inline-flex;flex-direction:row;justify-content:center;align-items:center}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin:auto}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item{margin-left:.875em;margin-right:auto;cursor:pointer}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item~.bim-pm-prj-item{margin-left:1.13em}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-container.collapsed .bim-pm-prj-details,.bim-pm-prj-container.collapsed .bim-pm-prj-image{background:none transparent!important;min-height:7.589em}.bim-pm-prj-container.collapsed .bim-pm-prj-items-list{position:static}.bim-pm-prj-container.collapsed .bim-pm-prj-items-overlay,.bim-pm-prj-container.collapsed .bim-pm-prj-name,.bim-pm-prj-container.collapsed .bim-pm-app-item-details span{display:none}.bim-pm-prj-details-mini{display:grid;grid-template-columns:2.25em auto;grid-template-rows:min-content;row-gap:.4em;grid-gap:.8em;margin:.5em .9em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini{grid-column:1;grid-row:1;width:2.25em;height:2.25em;background-size:auto 2.25em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini .bim-pm-prj-image-thumbnail{width:2.25em;height:2.25em;background-size:auto 2.25em!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-name-mini{font-weight:700;grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.bim-pm-prj-items-list.hidden{display:none}.bim-pm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center}
|
|
14
|
-
`],encapsulation:3});let e=t;return e})();var tf=e=>({$implicit:e});function EC(e,t){if(e&1&&ee(0,"div",10),e&2){let n=x().$implicit;mp(n.item.class),E("id",n.item.id)}}function xC(e,t){if(e&1){let n=_e();D(0,"div",14),R("click",function(r){H(n);let o=x(2).$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"info",r))})("keypress",function(r){H(n);let o=x(2).$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"info",r))}),S()}}function MC(e,t){if(e&1){let n=_e();D(0,"div",9),ge(1,"translate"),D(2,"div",11),R("click",function(r){H(n);let o=x().$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"normal",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"normal",r))}),ee(3,"div",12),D(4,"span"),Q(5),ge(6,"translate"),S()(),Se(7,xC,1,0,"div",13),S()}if(e&2){let n=x().$implicit,i=x();E("id",n.item.id)("ngClass",i.isTouch?"":"hover-show-info "+(n.active?"active ":" ")+(n.disabled?"disabled ":" ")+(n.clickable?" ":"not-clickable ")+(n.selected?"selected ":" "))("title",n.disabled?be(1,7,n.item.disabledTitle):""),w(2),E("ngClass",n.clickable?"":"not-clickable"),w(),E("ngClass",n.item.class+(n.active?" active":"")+(n.disabled?" disabled ":"")),w(2),Xe(be(6,9,n.isDisabled&&n.item.textIdDisabled!==""?n.item.textIdDisabled:n.item.textId)),w(2),Te(n.showInfoIcon?7:-1)}}function IC(e,t){if(e&1&&Se(0,EC,1,3,"div",8)(1,MC,8,11,"div",9),e&2){let n=t.$implicit;Te(n.item.type==="divider"?0:1)}}function SC(e,t){e&1&&tn(0)}function TC(e,t){if(e&1&&ae(0,SC,1,0,"ng-container",15),e&2){let n=x(),i=Cn(1);E("ngTemplateOutlet",i)("ngTemplateOutletContext",ct(2,tf,n._getContextData(n._openPrjBtn,n.projectActiveItem==="projectlist",n._isDisabled(n._openPrjBtn),!0,n.projectActiveItem==="projectlist")))}}function kC(e,t){if(e&1&&ee(0,"lib-bimplus-project-menu",3),e&2){let n=x();E("projectName",de(n.projectName))("projectImageUrl",de(n.projectImageUrl))("projectExplorerUrl",de(n.projectExplorerUrl))("projectActiveItem",de(n.projectActiveItem))("projectmembersDisabled",de(n.projectmembersDisabled))("modelsDisabled",de(n.modelsDisabled))("documentsDisabled",de(n.documentsDisabled))("projectsettingsDisabled",de(n.projectsettingsDisabled))("processesDisabled",de(n.processesDisabled))("projectmembersVisible",de(n.projectmembersVisible))("modelsVisible",de(n.modelsVisible))("documentsVisible",de(n.documentsVisible))("projectsettingsVisible",de(n.projectsettingsVisible))("processesVisible",de(n.processesVisible))("isCollapsed",de(n.isCollapsed))("isMiniMode",de(n.isTouch))("isTouch",de(n.isTouch))("hideMenuIcons",de(n.hideProjectMenuIcons))("showHorizontalMenuIcons",de(n.showHorizontalMenuIcons))("menuItemsOrder",n.menuItemsOrder)}}function AC(e,t){e&1&&tn(0)}function LC(e,t){if(e&1&&(D(0,"div"),ae(1,AC,1,0,"ng-container",15),S()),e&2){let n=t.$implicit,i=x(),r=Cn(1);w(),E("ngTemplateOutlet",r)("ngTemplateOutletContext",ct(2,tf,i._getContextData(n,!i._isSubscribed(n),i._isDisabled(n),i._isClickable(n),i.menuActiveItem===n.action)))}}function NC(e,t){e&1&&tn(0)}function OC(e,t){if(e&1&&(D(0,"div"),ae(1,NC,1,0,"ng-container",15),S()),e&2){let n=t.$implicit,i=x(),r=Cn(1);w(),E("ngTemplateOutlet",r)("ngTemplateOutletContext",ct(2,tf,i._getContextData(n,i.footerActiveItem===n.action,i._isDisabled(n),!0,!1)))}}var he={PORTAL_TEAM_MANAGEMENT_BTN:"portalTeamManagementBtn",PORTAL_PROPERTY_MANAGER_BTN:"portalPropertyManagerBtn",PORTAL_BIM_USERS:"portalBimUsers",PORTAL_BIM_MODELS:"portalBimModels",PORTAL_BIM_DOCUMENTS:"portalBimDocuments",PORTAL_BIM_PROJECT_SETTINGS:"portalBimProjectSettings",PORTAL_BIM_PROCESSES:"portalBimProcesses",DIVIDER_PROJECT_MANAGEMENT:"dividerprojectmanagement",PORTAL_BIM_VIEWER_BTN:"portalBimViewerBtn",PORTAL_CLOUD_VIEWER_BTN:"portalCloudViewerBtn",PORTAL_CONNEXIS_BTN:"portalConnexisBtn",PORTAL_BIM_AUTOCONVERTER_BTN:"portalBimAutoconverterBtn",DIVIDERAPPS:"dividerapps",PORTAL_ADD_INS_BTN:"portalAddInsBtn",PORTAL_SHOP_BTN:"portalShopBtn",PORTAL_GET_YOUR_TEAM_BTN:"portalGetYourTeamBtn",PORTAL_TRY_BIMPLUS_PRO_BTN:"portalTryBimplusProBtn"},Hl=(()=>{let t=class t extends Je{constructor(){super(),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.autoconverterSubscribed=!1,this.connexisSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.autoconverterDisabled=!1,this.connexisDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.addinsDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.autoconverterVisible=!0,this.connexisVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.addinsVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.getYourTeamVisible=!1,this.tryBimplusProVisible=!1,this.appsWithInfo=[],this.appsOrder=[],this.menuItemsOrder=[],this.bimplusMainMenuClicked=new K,this.bimplusMainMenuOverlayClicked=new K,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:he.PORTAL_BIM_USERS,type:"",class:"bim-mm-icon-users",textId:"_projectStatisticsMembers",textIdDisabled:"_projectStatisticsMembers",disabledTitle:"_Insufficient rights title",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:he.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:he.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:he.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:he.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:he.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:he.PORTAL_BIM_VIEWER_BTN,type:"",class:"bim-mm-icon-bim-explorer",textId:"BIM Explorer",textIdDisabled:"BIM Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:he.PORTAL_CLOUD_VIEWER_BTN,type:"",class:"bim-mm-icon-cloud-viewer",textId:"Model Viewer",textIdDisabled:"Model Viewer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"connexis",id:he.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"Connexis",textIdDisabled:"Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:he.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"Autoconverter",textIdDisabled:"Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:he.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:he.PORTAL_TEAM_MANAGEMENT_BTN,type:"",class:"bim-mm-icon-team-members",textId:"_Portal_Menu_Team_Members",textIdDisabled:"_Portal_Menu_Team_Members",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},{action:"propertymanager",id:he.PORTAL_PROPERTY_MANAGER_BTN,type:"",class:"bim-mm-icon-property-manager",textId:"_Portal_Menu_Properties",textIdDisabled:"_Portal_Menu_Properties",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""}],this._menuFooterList=[{action:"",id:he.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:he.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:he.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:he.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:he.PORTAL_SHOP_BTN,type:"",class:"bim-mm-icon-shop",textId:"_Get_More",textIdDisabled:"_Get_More",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}get apps(){let i=this.appsList.slice().sort((r,o)=>this.appsOrder.indexOf(r.id)-this.appsOrder.indexOf(o.id));return this.connexisVisible||(i=i.filter(({id:r})=>r!==he.PORTAL_CONNEXIS_BTN)),this.autoconverterVisible||(i=i.filter(({id:r})=>r!==he.PORTAL_BIM_AUTOCONVERTER_BTN)),this.teammembersDisabled&&(i=i.filter(({id:r})=>r!==he.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(i=i.filter(({id:r})=>r!==he.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(i=i.filter(({id:r})=>r!==he.PORTAL_PROPERTY_MANAGER_BTN&&r!==he.PORTAL_BIM_PROCESSES)),i}get footerList(){let i=this._menuFooterList.filter(r=>this._isSubscribed(r)&&!this._isHidden(r));return(this.teammembersDisabled||!this.isTouch)&&(i=i.filter(({id:r})=>r!==he.DIVIDERAPPS)),this.getYourTeamVisible?i.filter(({id:r})=>r!==he.DIVIDERAPPS):i.filter(({id:r})=>r!==he.PORTAL_GET_YOUR_TEAM_BTN)}_isSubscribed(i){if(i.checkSubscription){let r=`${i.action}Subscribed`;return!!this[r]}return!0}_isClickable(i){return i.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(i){if(i){let r=`${i.action?i.action:i.id}Visible`;return!this[r]}return!1}_isDisabled(i){let r=`${i.action}Disabled`;return!!this[r]}_getContextData(i,r,o,a,c){return{item:i,active:r,disabled:o,clickable:a,selected:c,showInfoIcon:this.appsWithInfo.includes(i.id)}}_overlayClicked(){fe(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),r!="info"&&this._isDisabled(i))return;let a=i.action;fe(this,"bimplusMainMenuClicked",{action:a,type:r})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",M],isTouch:[2,"isTouch","isTouch",M],isIpadApp:[2,"isIpadApp","isIpadApp",M],isDev:[2,"isDev","isDev",M],isStage:[2,"isStage","isStage",M],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",M],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",M],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",M],modelsDisabled:[2,"modelsDisabled","modelsDisabled",M],documentsDisabled:[2,"documentsDisabled","documentsDisabled",M],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",M],processesDisabled:[2,"processesDisabled","processesDisabled",M],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",M],showOverlay:[2,"showOverlay","showOverlay",M],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",M],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",M],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",M],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",M],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",M],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",M],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",M],connexisDisabled:[2,"connexisDisabled","connexisDisabled",M],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",M],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",M],shopDisabled:[2,"shopDisabled","shopDisabled",M],addinsDisabled:[2,"addinsDisabled","addinsDisabled",M],openProjectVisible:[2,"openProjectVisible","openProjectVisible",M],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",M],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",M],modelsVisible:[2,"modelsVisible","modelsVisible",M],documentsVisible:[2,"documentsVisible","documentsVisible",M],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",M],processesVisible:[2,"processesVisible","processesVisible",M],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",M],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",M],connexisVisible:[2,"connexisVisible","connexisVisible",M],teammembersVisible:[2,"teammembersVisible","teammembersVisible",M],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",M],shopVisible:[2,"shopVisible","shopVisible",M],addinsVisible:[2,"addinsVisible","addinsVisible",M],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",M],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",M],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",M],tryBimplusProVisible:[2,"tryBimplusProVisible","tryBimplusProVisible",M],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},features:[Oe([Ee]),Ge,Ut],decls:11,vars:6,consts:[["appNavigationItemContent",""],[1,"bim-mm-wrapper",3,"click","keypress","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons","menuItemsOrder"],[3,"ngClass"],[1,"bim-mm-apps-list"],[4,"ngFor","ngForOf"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item-details",3,"click","keypress","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click","keypress"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(r,o){if(r&1){let a=_e();ae(0,IC,2,1,"ng-template",null,0,wr),D(2,"div",1),R("click",function(){return H(a),B(o._overlayClicked())})("keypress",function(){return H(a),B(o._overlayClicked())}),D(3,"div",2),Se(4,TC,1,4,"ng-container"),Se(5,kC,1,39,"lib-bimplus-project-menu",3),D(6,"div",4)(7,"div",5),ae(8,LC,2,4,"div",6),S(),D(9,"div",7),ae(10,OC,2,4,"div",6),S()()()()}r&2&&(w(2),E("ngClass",o.showOverlay?"bim-mm-overlay":""),w(2),Te(o._isHidden(o._openPrjBtn)?-1:4),w(),Te(o.bimplusProjectMenuVisible?5:-1),w(),E("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),w(2),E("ngForOf",o.apps),w(2),E("ngForOf",o.footerList))},dependencies:[pe,Pe,mt,$o,ke,Ye,jl],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:var(--main-menu-overlay-background-color-enabled)}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:var(--main-menu-app-item-details-text-color-disabled)}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:3px solid var(--item-divider-border-color-enabled);margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:var(--main-menu-app-item-background-color-hovered)}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:var(--main-menu-app-item-text-color-selected)}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-cloud-viewer,.bim-mm-app-item.selected .bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-autoconverter,.bim-mm-app-item.selected .bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-connexis,.bim-mm-app-item.selected .bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:var(--main-menu-app-item-background-color-selected)}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:var(--main-menu-select-project-button-background-color-enabled)}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-enabled);text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-disabled)}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-selected)}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info,#portalCloudViewerBtn .bim-mm-app-item-info,#portalConnexisBtn .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:var(--main-menu-container-background-color-enabled);width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:var(--main-menu-apps-container-background-color-enabled);flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Disabled.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}.bim-mm-icon-add-ins{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Add_Ins.svg") no-repeat center}.bim-mm-icon-get-your-team{background:url("./assets/@bimplus/navigation/assets/GetTeam.svg") no-repeat center}.bim-mm-icon-try-bimplus-pro{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}
|
|
14
|
+
`],encapsulation:3});let e=t;return e})();var tf=e=>({$implicit:e});function EC(e,t){if(e&1&&ee(0,"div",10),e&2){let n=x().$implicit;mp(n.item.class),E("id",n.item.id)}}function xC(e,t){if(e&1){let n=_e();D(0,"div",14),R("click",function(r){H(n);let o=x(2).$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"info",r))})("keypress",function(r){H(n);let o=x(2).$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"info",r))}),S()}}function MC(e,t){if(e&1){let n=_e();D(0,"div",9),ge(1,"translate"),D(2,"div",11),R("click",function(r){H(n);let o=x().$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"normal",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"normal",r))}),ee(3,"div",12),D(4,"span"),Q(5),ge(6,"translate"),S()(),Se(7,xC,1,0,"div",13),S()}if(e&2){let n=x().$implicit,i=x();E("id",n.item.id)("ngClass",i.isTouch?"":"hover-show-info "+(n.active?"active ":" ")+(n.disabled?"disabled ":" ")+(n.clickable?" ":"not-clickable ")+(n.selected?"selected ":" "))("title",n.disabled?be(1,7,n.item.disabledTitle):""),w(2),E("ngClass",n.clickable?"":"not-clickable"),w(),E("ngClass",n.item.class+(n.active?" active":"")+(n.disabled?" disabled ":"")),w(2),Xe(be(6,9,n.isDisabled&&n.item.textIdDisabled!==""?n.item.textIdDisabled:n.item.textId)),w(2),Te(n.showInfoIcon?7:-1)}}function IC(e,t){if(e&1&&Se(0,EC,1,3,"div",8)(1,MC,8,11,"div",9),e&2){let n=t.$implicit;Te(n.item.type==="divider"?0:1)}}function SC(e,t){e&1&&tn(0)}function TC(e,t){if(e&1&&ae(0,SC,1,0,"ng-container",15),e&2){let n=x(),i=Cn(1);E("ngTemplateOutlet",i)("ngTemplateOutletContext",ct(2,tf,n._getContextData(n._openPrjBtn,n.projectActiveItem==="projectlist",n._isDisabled(n._openPrjBtn),!0,n.projectActiveItem==="projectlist")))}}function kC(e,t){if(e&1&&ee(0,"lib-bimplus-project-menu",3),e&2){let n=x();E("projectName",de(n.projectName))("projectImageUrl",de(n.projectImageUrl))("projectExplorerUrl",de(n.projectExplorerUrl))("projectActiveItem",de(n.projectActiveItem))("projectmembersDisabled",de(n.projectmembersDisabled))("modelsDisabled",de(n.modelsDisabled))("documentsDisabled",de(n.documentsDisabled))("projectsettingsDisabled",de(n.projectsettingsDisabled))("processesDisabled",de(n.processesDisabled))("projectmembersVisible",de(n.projectmembersVisible))("modelsVisible",de(n.modelsVisible))("documentsVisible",de(n.documentsVisible))("projectsettingsVisible",de(n.projectsettingsVisible))("processesVisible",de(n.processesVisible))("isCollapsed",de(n.isCollapsed))("isMiniMode",de(n.isTouch))("isTouch",de(n.isTouch))("hideMenuIcons",de(n.hideProjectMenuIcons))("showHorizontalMenuIcons",de(n.showHorizontalMenuIcons))("menuItemsOrder",n.menuItemsOrder)}}function AC(e,t){e&1&&tn(0)}function LC(e,t){if(e&1&&(D(0,"div"),ae(1,AC,1,0,"ng-container",15),S()),e&2){let n=t.$implicit,i=x(),r=Cn(1);w(),E("ngTemplateOutlet",r)("ngTemplateOutletContext",ct(2,tf,i._getContextData(n,!i._isSubscribed(n),i._isDisabled(n),i._isClickable(n),i.menuActiveItem===n.action)))}}function NC(e,t){e&1&&tn(0)}function OC(e,t){if(e&1&&(D(0,"div"),ae(1,NC,1,0,"ng-container",15),S()),e&2){let n=t.$implicit,i=x(),r=Cn(1);w(),E("ngTemplateOutlet",r)("ngTemplateOutletContext",ct(2,tf,i._getContextData(n,i.footerActiveItem===n.action,i._isDisabled(n),!0,!1)))}}var me={PORTAL_TEAM_MANAGEMENT_BTN:"portalTeamManagementBtn",PORTAL_PROPERTY_MANAGER_BTN:"portalPropertyManagerBtn",PORTAL_BIM_USERS:"portalBimUsers",PORTAL_BIM_MODELS:"portalBimModels",PORTAL_BIM_DOCUMENTS:"portalBimDocuments",PORTAL_BIM_PROJECT_SETTINGS:"portalBimProjectSettings",PORTAL_BIM_PROCESSES:"portalBimProcesses",DIVIDER_PROJECT_MANAGEMENT:"dividerprojectmanagement",PORTAL_BIM_VIEWER_BTN:"portalBimViewerBtn",PORTAL_CLOUD_VIEWER_BTN:"portalCloudViewerBtn",PORTAL_CONNEXIS_BTN:"portalConnexisBtn",PORTAL_BIM_AUTOCONVERTER_BTN:"portalBimAutoconverterBtn",DIVIDERAPPS:"dividerapps",PORTAL_ADD_INS_BTN:"portalAddInsBtn",PORTAL_SHOP_BTN:"portalShopBtn",PORTAL_GET_YOUR_TEAM_BTN:"portalGetYourTeamBtn",PORTAL_TRY_BIMPLUS_PRO_BTN:"portalTryBimplusProBtn"},Hl=(()=>{let t=class t extends Je{constructor(){super(),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.autoconverterSubscribed=!1,this.connexisSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.autoconverterDisabled=!1,this.connexisDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.addinsDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.autoconverterVisible=!0,this.connexisVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.addinsVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.getYourTeamVisible=!1,this.tryBimplusProVisible=!1,this.cloudviewerVisible=!0,this.appsWithInfo=[],this.appsOrder=[],this.menuItemsOrder=[],this.bimplusMainMenuClicked=new K,this.bimplusMainMenuOverlayClicked=new K,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:me.PORTAL_BIM_USERS,type:"",class:"bim-mm-icon-users",textId:"_projectStatisticsMembers",textIdDisabled:"_projectStatisticsMembers",disabledTitle:"_Insufficient rights title",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:me.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:me.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:me.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:me.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:me.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:me.PORTAL_BIM_VIEWER_BTN,type:"",class:"bim-mm-icon-bim-explorer",textId:"BIM Explorer",textIdDisabled:"BIM Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:me.PORTAL_CLOUD_VIEWER_BTN,type:"",class:"bim-mm-icon-cloud-viewer",textId:"Model Viewer",textIdDisabled:"Model Viewer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"connexis",id:me.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"Connexis",textIdDisabled:"Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:me.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"Autoconverter",textIdDisabled:"Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:me.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:me.PORTAL_TEAM_MANAGEMENT_BTN,type:"",class:"bim-mm-icon-team-members",textId:"_Portal_Menu_Team_Members",textIdDisabled:"_Portal_Menu_Team_Members",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},{action:"propertymanager",id:me.PORTAL_PROPERTY_MANAGER_BTN,type:"",class:"bim-mm-icon-property-manager",textId:"_Portal_Menu_Properties",textIdDisabled:"_Portal_Menu_Properties",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""}],this._menuFooterList=[{action:"",id:me.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:me.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:me.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:me.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:me.PORTAL_SHOP_BTN,type:"",class:"bim-mm-icon-shop",textId:"_Get_More",textIdDisabled:"_Get_More",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}get apps(){let i=this.appsList.slice().sort((r,o)=>this.appsOrder.indexOf(r.id)-this.appsOrder.indexOf(o.id));return this.connexisVisible||(i=i.filter(({id:r})=>r!==me.PORTAL_CONNEXIS_BTN)),this.cloudviewerVisible||(i=i.filter(({id:r})=>r!==me.PORTAL_CLOUD_VIEWER_BTN)),this.autoconverterVisible||(i=i.filter(({id:r})=>r!==me.PORTAL_BIM_AUTOCONVERTER_BTN)),this.teammembersDisabled&&(i=i.filter(({id:r})=>r!==me.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(i=i.filter(({id:r})=>r!==me.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(i=i.filter(({id:r})=>r!==me.PORTAL_PROPERTY_MANAGER_BTN&&r!==me.PORTAL_BIM_PROCESSES)),i}get footerList(){let i=this._menuFooterList.filter(r=>this._isSubscribed(r)&&!this._isHidden(r));return(this.teammembersDisabled||!this.isTouch)&&(i=i.filter(({id:r})=>r!==me.DIVIDERAPPS)),this.getYourTeamVisible?i.filter(({id:r})=>r!==me.DIVIDERAPPS):i.filter(({id:r})=>r!==me.PORTAL_GET_YOUR_TEAM_BTN)}_isSubscribed(i){if(i.checkSubscription){let r=`${i.action}Subscribed`;return!!this[r]}return!0}_isClickable(i){return i.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(i){if(i){let r=`${i.action?i.action:i.id}Visible`;return!this[r]}return!1}_isDisabled(i){let r=`${i.action}Disabled`;return!!this[r]}_getContextData(i,r,o,a,c){return{item:i,active:r,disabled:o,clickable:a,selected:c,showInfoIcon:this.appsWithInfo.includes(i.id)}}_overlayClicked(){fe(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),r!="info"&&this._isDisabled(i))return;let a=i.action;fe(this,"bimplusMainMenuClicked",{action:a,type:r})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",M],isTouch:[2,"isTouch","isTouch",M],isIpadApp:[2,"isIpadApp","isIpadApp",M],isDev:[2,"isDev","isDev",M],isStage:[2,"isStage","isStage",M],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",M],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",M],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",M],modelsDisabled:[2,"modelsDisabled","modelsDisabled",M],documentsDisabled:[2,"documentsDisabled","documentsDisabled",M],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",M],processesDisabled:[2,"processesDisabled","processesDisabled",M],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",M],showOverlay:[2,"showOverlay","showOverlay",M],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",M],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",M],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",M],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",M],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",M],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",M],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",M],connexisDisabled:[2,"connexisDisabled","connexisDisabled",M],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",M],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",M],shopDisabled:[2,"shopDisabled","shopDisabled",M],addinsDisabled:[2,"addinsDisabled","addinsDisabled",M],openProjectVisible:[2,"openProjectVisible","openProjectVisible",M],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",M],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",M],modelsVisible:[2,"modelsVisible","modelsVisible",M],documentsVisible:[2,"documentsVisible","documentsVisible",M],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",M],processesVisible:[2,"processesVisible","processesVisible",M],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",M],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",M],connexisVisible:[2,"connexisVisible","connexisVisible",M],teammembersVisible:[2,"teammembersVisible","teammembersVisible",M],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",M],shopVisible:[2,"shopVisible","shopVisible",M],addinsVisible:[2,"addinsVisible","addinsVisible",M],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",M],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",M],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",M],tryBimplusProVisible:[2,"tryBimplusProVisible","tryBimplusProVisible",M],cloudviewerVisible:[2,"cloudviewerVisible","cloudviewerVisible",M],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},features:[Oe([Ee]),Ge,Ut],decls:11,vars:6,consts:[["appNavigationItemContent",""],[1,"bim-mm-wrapper",3,"click","keypress","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons","menuItemsOrder"],[3,"ngClass"],[1,"bim-mm-apps-list"],[4,"ngFor","ngForOf"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item-details",3,"click","keypress","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click","keypress"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(r,o){if(r&1){let a=_e();ae(0,IC,2,1,"ng-template",null,0,wr),D(2,"div",1),R("click",function(){return H(a),B(o._overlayClicked())})("keypress",function(){return H(a),B(o._overlayClicked())}),D(3,"div",2),Se(4,TC,1,4,"ng-container"),Se(5,kC,1,39,"lib-bimplus-project-menu",3),D(6,"div",4)(7,"div",5),ae(8,LC,2,4,"div",6),S(),D(9,"div",7),ae(10,OC,2,4,"div",6),S()()()()}r&2&&(w(2),E("ngClass",o.showOverlay?"bim-mm-overlay":""),w(2),Te(o._isHidden(o._openPrjBtn)?-1:4),w(),Te(o.bimplusProjectMenuVisible?5:-1),w(),E("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),w(2),E("ngForOf",o.apps),w(2),E("ngForOf",o.footerList))},dependencies:[pe,Pe,mt,$o,ke,Ye,jl],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:var(--main-menu-overlay-background-color-enabled)}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:var(--main-menu-app-item-details-text-color-disabled)}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:3px solid var(--item-divider-border-color-enabled);margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:var(--main-menu-app-item-background-color-hovered)}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:var(--main-menu-app-item-text-color-selected)}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-cloud-viewer,.bim-mm-app-item.selected .bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-autoconverter,.bim-mm-app-item.selected .bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-connexis,.bim-mm-app-item.selected .bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:var(--main-menu-app-item-background-color-selected)}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:var(--main-menu-select-project-button-background-color-enabled)}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-enabled);text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-disabled)}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-selected)}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info,#portalCloudViewerBtn .bim-mm-app-item-info,#portalConnexisBtn .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:var(--main-menu-container-background-color-enabled);width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:var(--main-menu-apps-container-background-color-enabled);flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Disabled.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}.bim-mm-icon-add-ins{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Add_Ins.svg") no-repeat center}.bim-mm-icon-get-your-team{background:url("./assets/@bimplus/navigation/assets/GetTeam.svg") no-repeat center}.bim-mm-icon-try-bimplus-pro{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}
|
|
15
15
|
`],encapsulation:3});let e=t;return e})();var Tr=function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e}(Tr||{});var RC=(e,t,n,i,r)=>({"model-viewer":e,"model-viewer-black":t,"connexis-viewer":n,"connexis-viewer-black":i,"burger-menu-not-visible":r}),PC=(e,t,n)=>({active:e,hidden:t,disabled:n}),FC=e=>({hidden:e});function VC(e,t){e&1&&(D(0,"span"),Q(1,"\xA0\xA0 -\xA0\xA0"),S())}var Bl=(()=>{let t=class t{constructor(){this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.isNavbarInfoVisible=!1,this.logoState=Ho(Tr.BimplusViewer),this.isModelViewerActive=Ho(!1,{transform:M}),this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.isDashboardTooltipEnabled=!0,this.selectedLanguage="en",this.bimplusNavbarClicked=new K,this.LogoState=Tr,this.logoStateSignal=bp(()=>this.isModelViewerActive()?Tr.ModelViewerBlack:this.logoState())}_menuClicked(){this.isNavbarMenuEnabled&&fe(this,"bimplusNavbarClicked","menu")}_logoClicked(){this.logoStateSignal()===Tr.BimplusViewer&&fe(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&fe(this,"bimplusNavbarClicked","project")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[2,"isDev","isDev",M],isStage:[2,"isStage","isStage",M],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[2,"isNavbarMenuVisible","isNavbarMenuVisible",M],isNavbarInfoVisible:[2,"isNavbarInfoVisible","isNavbarInfoVisible",M],logoState:[1,"logoState"],isModelViewerActive:[1,"isModelViewerActive"],isNavbarMessageVisible:[2,"isNavbarMessageVisible","isNavbarMessageVisible",M],isNavbarMenuActive:[2,"isNavbarMenuActive","isNavbarMenuActive",M],isNavbarMenuEnabled:[2,"isNavbarMenuEnabled","isNavbarMenuEnabled",M],isTouch:[2,"isTouch","isTouch",M],isDashboardTooltipEnabled:[2,"isDashboardTooltipEnabled","isDashboardTooltipEnabled",M],selectedLanguage:"selectedLanguage"},outputs:{bimplusNavbarClicked:"bimplusNavbarClicked"},decls:14,vars:25,consts:[[1,"bimplus-navbar",3,"ngClass"],[1,"bimplus-navbar-logo-container"],[1,"bimplus-logo",3,"click","keypress","ngClass","title"],[1,"bimplus-navbar-menu","icon",3,"click","keypress","ngClass"],[1,"bimplus-navbar-container"],[1,"bimplus-navbar-info",3,"ngClass"],[1,"team"],[4,"ngIf"],[1,"project",3,"click","keypress","ngClass"],[1,"bimplus-navbar-slot"]],template:function(r,o){r&1&&(D(0,"div",0)(1,"div",1)(2,"div",2),ge(3,"translate"),R("click",function(){return o._logoClicked()})("keypress",function(){return o._logoClicked()}),S(),D(4,"div",3),R("click",function(){return o._menuClicked()})("keypress",function(){return o._menuClicked()}),S()(),D(5,"div",4)(6,"div",5)(7,"span",6),Q(8),S(),ae(9,VC,2,0,"span",7),D(10,"span",8),R("click",function(){return o._projectInfoClicked()})("keypress",function(){return o._projectInfoClicked()}),Q(11),S()(),D(12,"div",9),ee(13,"slot"),S()()()),r&2&&(E("ngClass",o.isTouch?"is-touch":""),w(2),E("ngClass",hp(13,RC,o.logoStateSignal()===o.LogoState.ModelViewer,o.logoStateSignal()===o.LogoState.ModelViewerBlack,o.logoStateSignal()===o.LogoState.ConnexisViewer,o.logoStateSignal()===o.LogoState.ConnexisViewerBlack,!o.isNavbarMenuVisible))("title",be(3,11,o.isDashboardTooltipEnabled?"_dashboard_tooltip":"")),w(2),E("ngClass",wn(19,PC,o.isNavbarMenuActive,!o.isNavbarMenuVisible,!o.isNavbarMenuEnabled)),w(2),$n("margin-left",o.teamInfoOffset),E("ngClass",ct(23,FC,!o.isNavbarInfoVisible)),w(2),Xe(o.teamInfo),w(),E("ngIf",o.projectInfo&&!o.isTouch),w(),E("ngClass",o.isDev?"clickable":""),w(),Ce(" ",o.projectInfo," "))},dependencies:[pe,Pe,zo,ke,Ye],styles:[`.bimplus-navbar{height:5.2rem;padding-left:0;padding-right:1em;background-color:var(--navbar-background-color-enabled);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-size:1.6rem;font-weight:600;color:var(--navbar-text-color-enabled)}.bimplus-navbar .bimplus-navbar-preview-mode{display:flex;justify-content:center;align-items:center;color:var(--navbar-preview-mode-text-color-enabled);font-size:.8125em;line-height:.8125em;height:2.308em;font-weight:700;text-transform:uppercase;padding-left:.99em;padding-right:.99em;background-color:var(--navbar-preview-mode-background-color-enabled);letter-spacing:.383em;margin:auto}.bimplus-navbar .bimplus-navbar-preview-mode__container{position:absolute;left:0;right:0;display:inline-flex;cursor:default}.bimplus-logo{height:100%;min-width:9em;margin-left:2.8em;margin-right:1.53em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Logo_Black.svg") no-repeat;background-position:center;background-size:9em 2.3em;cursor:pointer}.bimplus-logo.model-viewer{background:url("./assets/@bimplus/navigation/assets/Allplan-Cloud-Viewer-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer{background:url("./assets/@bimplus/navigation/assets/Allplan-Connexis-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer-black{background:url("./assets/@bimplus/navigation/assets/Allplan-Connexis-Logo_black.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.model-viewer-black{background:url("./assets/@bimplus/navigation/assets/Allplan-Cloud-Viewer-Logo_black.svg") center center / 14em no-repeat;background-position:center;margin-left:.4em;min-width:14em;cursor:default}.bimplus-logo.burger-menu-not-visible{margin-left:.4em;margin-right:6.8em}.icon{width:1.125em;height:1.125em;background-size:1.125em 1.125em!important;background-position:center;background-repeat:no-repeat}.bimplus-navbar-menu{height:100%;width:3.125em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu.svg") no-repeat center;background-size:1.125em 1.125em!important;cursor:pointer;margin-right:.4em}.bimplus-navbar-menu.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu_active.svg") no-repeat center}.bimplus-navbar-menu.hidden{visibility:hidden;width:1.2rem}.bimplus-navbar-menu.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu_disabled.svg") no-repeat center;cursor:default}.bimplus-navbar-logo-container{height:100%;display:flex;justify-content:flex-start;align-items:center;flex-direction:row-reverse;position:relative}.bimplus-navbar-container{display:flex;justify-content:space-between;align-items:center;flex:1 1 auto;position:relative}.bimplus-navbar-container .bimplus-navbar-info{display:inline-flex;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:4em;min-width:0}.bimplus-navbar-container .bimplus-navbar-info .clickable{cursor:pointer}.bimplus-navbar-container .bimplus-navbar-info.hidden{visibility:hidden}.bimplus-navbar-container .bimplus-navbar-slot{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;white-space:nowrap;text-overflow:ellipsis}.is-touch .bimplus-navbar-info{display:flex;flex-direction:column;line-height:normal}.is-touch .bimplus-navbar-info .team{font-size:1em;font-weight:400}.is-touch .bimplus-navbar-info .project{font-size:1em;font-weight:700}
|
|
16
16
|
`],encapsulation:3});let e=t;return e})();function jC(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ri=jC;var HC=typeof global=="object"&&global&&global.Object===Object&&global,Vg=HC;var BC=typeof self=="object"&&self&&self.Object===Object&&self,UC=Vg||BC||Function("return this")(),Ul=UC;var zC=function(){return Ul.Date.now()},zl=zC;var $C=/\s/;function ZC(e){for(var t=e.length;t--&&$C.test(e.charAt(t)););return t}var jg=ZC;var WC=/^\s+/;function GC(e){return e&&e.slice(0,jg(e)+1).replace(WC,"")}var Hg=GC;var YC=Ul.Symbol,kr=YC;var Bg=Object.prototype,qC=Bg.hasOwnProperty,QC=Bg.toString,is=kr?kr.toStringTag:void 0;function XC(e){var t=qC.call(e,is),n=e[is];try{e[is]=void 0;var i=!0}catch{}var r=QC.call(e);return i&&(t?e[is]=n:delete e[is]),r}var Ug=XC;var KC=Object.prototype,JC=KC.toString;function e7(e){return JC.call(e)}var zg=e7;var t7="[object Null]",n7="[object Undefined]",$g=kr?kr.toStringTag:void 0;function i7(e){return e==null?e===void 0?n7:t7:$g&&$g in Object(e)?Ug(e):zg(e)}var Zg=i7;function r7(e){return e!=null&&typeof e=="object"}var Wg=r7;var o7="[object Symbol]";function s7(e){return typeof e=="symbol"||Wg(e)&&Zg(e)==o7}var Gg=s7;var Yg=NaN,a7=/^[-+]0x[0-9a-f]+$/i,l7=/^0b[01]+$/i,c7=/^0o[0-7]+$/i,u7=parseInt;function d7(e){if(typeof e=="number")return e;if(Gg(e))return Yg;if(Ri(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ri(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Hg(e);var n=l7.test(e);return n||c7.test(e)?u7(e.slice(2),n?2:8):a7.test(e)?Yg:+e}var nf=d7;var p7="Expected a function",f7=Math.max,m7=Math.min;function h7(e,t,n){var i,r,o,a,c,d,f=0,h=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError(p7);t=nf(t)||0,Ri(n)&&(h=!!n.leading,g="maxWait"in n,o=g?f7(nf(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function v(O){var we=i,ie=r;return i=r=void 0,f=O,a=e.apply(ie,we),a}function _(O){return f=O,c=setTimeout(k,t),h?v(O):a}function I(O){var we=O-d,ie=O-f,xn=t-we;return g?m7(xn,o-ie):xn}function A(O){var we=O-d,ie=O-f;return d===void 0||we>=t||we<0||g&&ie>=o}function k(){var O=zl();if(A(O))return ne(O);c=setTimeout(k,I(O))}function ne(O){return c=void 0,y&&i?v(O):(i=r=void 0,a)}function ce(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function et(){return c===void 0?a:ne(zl())}function Ue(){var O=zl(),we=A(O);if(i=arguments,r=this,d=O,we){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(k,t),v(d)}return c===void 0&&(c=setTimeout(k,t)),a}return Ue.cancel=ce,Ue.flush=et,Ue}var Ar=h7;var g7="Expected a function";function b7(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(g7);return Ri(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Ar(e,t,{leading:i,maxWait:t,trailing:r})}var qg=b7;var Nr=function(){return Nr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Nr.apply(this,arguments)};function Kg(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function Jg(e){return!e||!e.ownerDocument?document:e.ownerDocument}var e2=function(e){var t={},n=Array.prototype.reduce.call(e,function(i,r){var o=r.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(c,d){return d.toUpperCase()});switch(r.value){case"true":i[a]=!0;break;case"false":i[a]=!1;break;case void 0:i[a]=!0;break;default:i[a]=r.value}}return i},t);return n};function t2(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function n2(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function i2(e){return".".concat(e.split(" ").join("."))}var of=!!(typeof window<"u"&&window.document&&window.document.createElement),v7=Object.freeze({__proto__:null,addClasses:t2,canUseDOM:of,classNamesToQuery:i2,getElementDocument:Jg,getElementWindow:Kg,getOptions:e2,removeClasses:n2}),Lr=null,Qg=null;of&&window.addEventListener("resize",function(){Qg!==window.devicePixelRatio&&(Qg=window.devicePixelRatio,Lr=null)});function Xg(){if(Lr===null){if(typeof document>"u")return Lr=0,Lr;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Lr=n}return Lr}var Yn=Kg,rf=Jg,y7=e2,qn=t2,Qn=n2,ht=i2,rs=function(){function e(t,n){n===void 0&&(n={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var r=Yn(i.el);i.scrollXTicking||(r.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(r.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,qn(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){Qn(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(qn(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){Qn(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(r){i.mouseX=r.clientX,i.mouseY=r.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var o,a;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(o=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(a=i.isWithinBounds(i.axis.y.track.rect)),(o||a)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(o&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(r,"x"):i.onTrackClick(r,"x")),a&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(r,"y"):i.onTrackClick(r,"y"))))}},this.drag=function(r){var o,a,c,d,f,h,g,y,v,_,I;if(!(!i.draggedAxis||!i.contentWrapperEl)){var A,k=i.axis[i.draggedAxis].track,ne=(a=(o=k.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,ce=i.axis[i.draggedAxis].scrollbar,et=(d=(c=i.contentWrapperEl)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Ue=parseInt((h=(f=i.elStyles)===null||f===void 0?void 0:f[i.axis[i.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);r.preventDefault(),r.stopPropagation(),i.draggedAxis==="y"?A=r.pageY:A=r.pageX;var O=A-((y=(g=k.rect)===null||g===void 0?void 0:g[i.axis[i.draggedAxis].offsetAttr])!==null&&y!==void 0?y:0)-i.axis[i.draggedAxis].dragOffset;O=i.draggedAxis==="x"&&i.isRtl?((_=(v=k.rect)===null||v===void 0?void 0:v[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-ce.size-O:O;var we=O/(ne-ce.size),ie=we*(et-Ue);i.draggedAxis==="x"&&i.isRtl&&(ie=!((I=e.getRtlHelpers())===null||I===void 0)&&I.isScrollingToNegative?-ie:ie),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ie}},this.onEndDrag=function(r){i.isDragging=!1;var o=rf(i.el),a=Yn(i.el);r.preventDefault(),r.stopPropagation(),Qn(i.el,i.classNames.dragging),i.onStopScrolling(),o.removeEventListener("mousemove",i.drag,!0),o.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",i.preventClick,!0),o.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=t,this.options=Nr(Nr({},e.defaultOptions),n),this.classNames=Nr(Nr({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=qg(this._onMouseMove,64),this.onWindowResize=Ar(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Ar(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Ar(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,i=n?.firstElementChild;if(!i)return null;document.body.appendChild(n),n.scrollLeft=0;var r=e.getOffset(n),o=e.getOffset(i);n.scrollLeft=-999;var a=e.getOffset(i);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:r.left!==o.left,isScrollingToNegative:o.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Xg()}catch{return Xg()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=rf(t),r=Yn(t);return{top:n.top+(r.pageYOffset||i.documentElement.scrollTop),left:n.left+(r.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){of&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(ht(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(ht(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(ht(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(ht(this.classNames.offset)),this.maskEl=this.el.querySelector(ht(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,ht(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(ht(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(ht(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(ht(this.classNames.track)).concat(ht(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(ht(this.classNames.track)).concat(ht(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(ht(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(ht(this.classNames.scrollbar)))||null,this.options.autoHide||(qn(this.axis.x.scrollbar.el,this.classNames.visible),qn(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,i=Yn(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,o=i.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){r&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Yn(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||n>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,f=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=r?"".concat(n||f,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&f>n,this.axis.y.isOverflowing=d>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,y=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&f>o-y,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>h-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[t].scrollSizeAttr],o=(i=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,a=o/r,c;return c=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,i,r;t===void 0&&(t="y");var o=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[t].sizeAttr],10),f=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];f=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-f:f,t==="x"&&this.isRtl&&(f=!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?f:-f);var h=f/(a-d),g=~~((c-o.size)*h);g=t==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!n||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(qn(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Qn(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),qn(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?qn(n.scrollbar.el,this.classNames.hover):Qn(n.scrollbar.el,this.classNames.hover)):(Qn(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Qn(this.axis[t].track.el,this.classNames.hover),Qn(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var i;n===void 0&&(n="y"),this.isDragging=!0;var r=rf(this.el),o=Yn(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((i=a.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])||0),this.draggedAxis=n,qn(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var i=this,r,o,a,c;n===void 0&&(n="y");var d=this.axis[n];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var f=Yn(this.el);this.axis[n].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(o=(r=h.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])!==null&&o!==void 0?o:0,y=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),v=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],_=n==="y"?this.mouseY-g:this.mouseX-g,I=_<0?-1:1,A=I===-1?v-y:v+y,k=40,ne=function(){i.contentWrapperEl&&(I===-1?v>A&&(v-=k,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=v,f.requestAnimationFrame(ne)):v<A&&(v+=k,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=v,f.requestAnimationFrame(ne)))};ne()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Yn(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(r){return i.call(r,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=y7,e.helpers=v7,e}();var af=function(e,t){return af=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},af(e,t)};function _7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");af(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var lf=rs.helpers,sf=lf.getOptions,Tt=lf.addClasses,C7=lf.canUseDOM,cf=function(e){_7(t,e);function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.apply(this,n)||this;return t.instances.set(n[0],r),r}return t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(n){n.getAttribute("data-simplebar")!=="init"&&!t.instances.has(n)&&new t(n,sf(n.attributes))})},t.removeObserver=function(){var n;(n=t.globalObserver)===null||n===void 0||n.disconnect()},t.prototype.initDOM=function(){var n=this,i,r,o;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(n.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Tt(this.wrapperEl,this.classNames.wrapper),Tt(this.contentWrapperEl,this.classNames.contentWrapper),Tt(this.offsetEl,this.classNames.offset),Tt(this.maskEl,this.classNames.mask),Tt(this.contentEl,this.classNames.contentEl),Tt(this.placeholderEl,this.classNames.placeholder),Tt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Tt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(i=this.contentWrapperEl)===null||i===void 0||i.setAttribute("tabindex",this.options.tabIndex.toString()),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("role","region"),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var a=document.createElement("div"),c=document.createElement("div");Tt(a,this.classNames.track),Tt(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),Tt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),Tt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}rs.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){rs.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(n){n.forEach(function(i){i.addedNodes.forEach(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!t.instances.has(r)&&document.documentElement.contains(r)&&new t(r,sf(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(o){o.getAttribute("data-simplebar")!=="init"&&!t.instances.has(o)&&document.documentElement.contains(o)&&new t(o,sf(o.attributes))}))}),i.removedNodes.forEach(function(r){var o;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((o=t.instances.get(r))===null||o===void 0||o.unMount()):Array.prototype.forEach.call(r.querySelectorAll('[data-simplebar="init"]'),function(a){var c;!document.documentElement.contains(a)&&((c=t.instances.get(a))===null||c===void 0||c.unMount())}))})})},t.instances=new WeakMap,t}(rs);C7&&cf.initHtmlApi();var w7=["*"],$l=(()=>{let t=class t{constructor(){this.elementRef=F(Un),this._scrollableContainerClassName=".scrollable-container",this._element=this.elementRef.nativeElement}_initializationSimpleScrollBar(){let i=this._element?.querySelector(this._scrollableContainerClassName);if(!i){console.error("No scrollable container found in the element.");return}this._simpleBar=new cf(i)}ngAfterViewInit(){this._initializationSimpleScrollBar()}_recalculateScrollbar(){if(!(!this._element||!this._element?.querySelector(this._scrollableContainerClassName))){if(!this._simpleBar){console.error("No scrollable container found in the element.");return}this._simpleBar.recalculate()}}ngAfterViewChecked(){this._recalculateScrollbar()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-scrollable-container"]],ngContentSelectors:w7,decls:2,vars:0,consts:[[1,"scrollable-container"]],template:function(r,o){r&1&&(pp(),D(0,"div",0),fp(1),S())},styles:[`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.scrollable-container{height:100%;max-height:100%;padding-right:var(--scrollable-container-paddin-right, .8rem)}
|
|
17
17
|
`],encapsulation:2});let e=t;return e})();var r2=e=>({capitalize:e}),o2=e=>[e];function D7(e,t){if(e&1){let n=_e();D(0,"div",22),R("click",function(){let r=H(n).index,o=x(2).$implicit,a=x(2);return B(a._messageAction(o,r))})("keypress",function(){let r=H(n).index,o=x(2).$implicit,a=x(2);return B(a._messageAction(o,r))}),Q(1),S()}if(e&2){let n=t.$implicit,i=t.index,r=x(2).$implicit,o=x(2);E("title",o._getItemLinkTitle(r,i)),w(),Xe(n)}}function E7(e,t){if(e&1&&ae(0,D7,2,2,"div",21),e&2){let n=x().$implicit,i=x(2);E("ngForOf",n.linkText.constructor===i.Array?n.linkText:ct(1,o2,n.linkText))}}function x7(e,t){if(e&1){let n=_e();D(0,"div",14)(1,"div",15),ee(2,"div",16),D(3,"div",17),Q(4),S(),D(5,"div",18),R("click",function(r){let o=H(n).$implicit,a=x(2);return B(a._closeMessage(o,!1,r))})("keypress",function(r){let o=H(n).$implicit,a=x(2);return B(a._closeMessage(o,!1,r))}),S()(),D(6,"div",19),Q(7),S(),Se(8,E7,1,3,"div",20),S()}if(e&2){let n=t.$implicit;w(2),E("ngClass","message-item-icon-"+n.type),w(),E("ngClass",ct(5,r2,n.capitalizedTitle)),w(),Ce(" ",n.title," "),w(3),Xe(n.text),w(),Te(n.linkText?8:-1)}}function M7(e,t){if(e&1&&(D(0,"lib-bimplus-scrollable-container"),ae(1,x7,9,7,"div",13),S()),e&2){let n=x();w(),E("ngForOf",n._messagesList)}}function I7(e,t){e&1&&(D(0,"div",9),ee(1,"div",23),D(2,"div",24),Q(3),ge(4,"translate"),S()()),e&2&&(w(3),Xe(be(4,1,"_Notify_No_Messages")))}function S7(e,t){if(e&1){let n=_e();D(0,"div",22),R("click",function(){let r=H(n).index,o=x(2).$implicit,a=x();return B(a._messageAction(o,r))})("keypress",function(){let r=H(n).index,o=x(2).$implicit,a=x();return B(a._messageAction(o,r))}),Q(1),S()}if(e&2){let n=t.$implicit,i=t.index,r=x(2).$implicit,o=x();E("title",o._getItemLinkTitle(r,i)),w(),Xe(n)}}function T7(e,t){if(e&1&&ae(0,S7,2,2,"div",21),e&2){let n=x().$implicit,i=x();E("ngForOf",n.linkText.constructor===i.Array?n.linkText:ct(1,o2,n.linkText))}}function k7(e,t){if(e&1){let n=_e();D(0,"div",14)(1,"div",15),ee(2,"div",16),D(3,"div",17),Q(4),S(),D(5,"div",18),R("click",function(r){let o=H(n).$implicit,a=x();return B(a._closeMessage(o,!0,r))})("keypress",function(r){let o=H(n).$implicit,a=x();return B(a._closeMessage(o,!0,r))}),S()(),D(6,"div",19),Q(7),S(),Se(8,T7,1,3,"div",20),S()}if(e&2){let n=t.$implicit;w(2),E("ngClass","message-item-icon-"+n.type),w(),E("ngClass",ct(5,r2,n.capitalizedTitle)),w(),Ce(" ",n.title," "),w(3),Ce(" ",n.text," "),w(),Te(n.linkText?8:-1)}}var Zl="bimplus-notify-messages",Wl=(()=>{let t=class t extends Je{constructor(){super(),this.Array=Array,this._messagesList=[],this.messagePreviewTime=3e3,this.showMessagePreview=!0,this.previewMessagesLimit=3,this.previewMessagesOffsetY="2.7em",this.messages="",this._menuOpened=!1,this._alertActive=!1,this._oldMessagesList=[],this._previewMessagesList=[],this.bimplusNotifyDeleteMessage=new K,this.bimplusNotifyDeleteAllMessages=new K,this.bimplusNotifyMessageAction=new K}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(i){if(i.messages){let r=i.messages.currentValue;this.updateMessages(r)}}updateMessages(i){if(!(i&&typeof i=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let o=JSON.parse(i);this._messagesList=o.messages;let a=this._messagesList.filter(c=>this._oldMessagesList.findIndex(d=>d.id===c.id)<0);a=a.filter(c=>this._messageNotReadYet(c)),a.slice().reverse().forEach(c=>{this._previewMessagesList.findIndex(d=>c.id===d.id)<0&&(this._previewMessagesList.unshift(c),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(c.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}_closeMessage(i,r,o){if(r)return this._closePreviewMessage(i.id);o&&(o.stopPropagation(),o.preventDefault()),fe(this,"bimplusNotifyDeleteMessage",JSON.stringify(i))}_closePreviewMessage(i,r=!0){i&&(this._previewMessagesList=this._previewMessagesList.filter(o=>o.id!==i),this.storeMessagesAsRead([i]),r&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){fe(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(i,r){i.actionId=r,fe(this,"bimplusNotifyMessageAction",JSON.stringify(i))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(i){if(!i?.id)return!0;let r=window.localStorage.getItem(Zl);return r?!r.includes(i.id):!0}storeMessagesAsRead(i){if(!i||i.length<1)return;let r=window.localStorage.getItem(Zl);r??="",i.forEach(o=>{r?.includes(o)||(r+=o+";")}),window.localStorage.setItem(Zl,r)}clearAllLocalStorageMessages(){window.localStorage.removeItem(Zl)}_getItemLinkTitle(i,r){let o=[];return i.linkText&&(i.links||i.link)&&(o=Array.isArray(i.links)?i.links:[i.link]),o[r]??""}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(r,o){r&2&&_l("new-messages",o.newMessages)("bim-notify",o.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[2,"showMessagePreview","showMessagePreview",M],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},features:[Oe([Ee]),Ge,Ut],decls:19,vars:16,consts:[[1,"dropdown",3,"click","keypress","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click","keypress"],[1,"messages-container"],[1,"message-item-empty"],[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],["class","message-item",4,"ngFor","ngForOf"],[1,"message-item"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click","keypress"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],["class","message-item-link",3,"title","click","keypress",4,"ngFor","ngForOf"],[1,"message-item-link",3,"click","keypress","title"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(r,o){r&1&&(D(0,"div",0),ge(1,"translate"),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),D(2,"div",1),ee(3,"div",2),S(),D(4,"div",3),ee(5,"div",4),D(6,"div",5)(7,"div",6),Q(8),S(),D(9,"div",7),R("click",function(){return o._deleteAllMessages()})("keypress",function(){return o._deleteAllMessages()}),Q(10),ge(11,"translate"),S()(),D(12,"div",8),Se(13,M7,2,1,"lib-bimplus-scrollable-container")(14,I7,5,3,"div",9),S()()(),D(15,"div",10),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),S(),D(16,"div",11)(17,"div",12),ae(18,k7,9,7,"div",13),S()()),r&2&&(E("ngClass",o._menuOpened?"open":"")("title",be(1,12,"_BimplusNotifyTitle")),w(3),E("ngClass","icon-notify"+(o._alertActive?"-alert notify":"")),w(),E("ngClass",o._menuOpened?"open":""),w(4),Ce(" (",o._messagesList.length,") "),w(2),Ce(" ",be(11,14,"_Notify_Mark_All")," "),w(3),Te(o._messagesList.length?13:14),w(2),E("ngClass",o._menuOpened?"open":""),w(),$n("top",o.previewMessagesOffsetY),E("ngClass",o.showMessagePreview&&!o._menuOpened&&o._previewMessagesList.length>0?"visible":""),w(2),E("ngForOf",o._previewMessagesList))},dependencies:[pe,Pe,mt,ke,Ye,$l],styles:[`.bim-notify{position:relative}.bim-notify .dropdown{position:relative;width:3.25em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.bim-notify .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;cursor:pointer}.bim-notify .bimcomp-dropdown-menu,.bim-notify .bimcomp-messages-preview{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:2;display:none;width:19em;margin:0;padding:.5em .65em .57em 0}.bim-notify .bimcomp-dropdown-menu .messages-title,.bim-notify .bimcomp-messages-preview .messages-title{height:2em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:var(--notify-message-title-text-color-enabled);background-color:var(--notify-message-title-background-color-enabled)}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-count,.bim-notify .bimcomp-messages-preview .messages-title .messages-count,.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{cursor:pointer;font-size:.8125em;font-weight:400;margin:0 .8125em}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{text-decoration:underline}.bim-notify .bimcomp-dropdown-menu div,.bim-notify .bimcomp-messages-preview div{font-size:1em}.bim-notify .bimcomp-dropdown-menu .noselect,.bim-notify .bimcomp-messages-preview .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{display:flex;flex-direction:row;align-items:center;box-sizing:content-box;padding:.21em 2.1em}.bim-notify .bimcomp-dropdown-menu li span,.bim-notify .bimcomp-messages-preview li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li:hover,.bim-notify .bimcomp-messages-preview li:hover{background-color:var(--notify-dropdown-menu-item-background-color-hovered)}.bim-notify .bimcomp-dropdown-menu ul,.bim-notify .bimcomp-messages-preview ul,.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{list-style:none}.bim-notify .bimcomp-dropdown-menu .notify-tick,.bim-notify .bimcomp-messages-preview .notify-tick{width:2em;height:1em;align-self:flex-end;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Tick_Up.svg");background-size:cover}.bim-notify .bimcomp-dropdown-menu.open,.bim-notify .bimcomp-messages-preview.visible{display:flex;flex-direction:column}.bim-notify .messages-container,.bim-notify .messages-container-preview{list-style:none;background-color:var(--notify-messages-container-background-color-enabled);border:thin solid var(--notify-messages-container-border-color-enabled);-webkit-box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);text-decoration-color:var(--notify-messages-container-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{width:19em;max-height:6em;padding:.6em .8125em 0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.bim-notify .messages-container .message-item-empty-icon,.bim-notify .messages-container-preview .message-item-empty-icon{width:2.5em;height:2.5em;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Empty.svg");background-size:cover}.bim-notify .messages-container .message-item-empty-text,.bim-notify .messages-container-preview .message-item-empty-text{font-size:.8125em;line-height:2.2em}.bim-notify .messages-container .message-item,.bim-notify .messages-container-preview .message-item{max-width:19em;border-bottom:1px solid var(--notify-message-item-border-color-enabled);padding:.6em .8125em;box-sizing:border-box}.bim-notify .messages-container .message-item-title,.bim-notify .messages-container-preview .message-item-title{display:flex;align-items:center;line-height:1.5em}.bim-notify .messages-container .message-item-title-text,.bim-notify .messages-container-preview .message-item-title-text{font-size:.8125em;font-weight:700;flex:1 1 auto;margin-left:.8125em}.bim-notify .messages-container .message-item-icon-info,.bim-notify .messages-container-preview .message-item-icon-info{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-failure,.bim-notify .messages-container-preview .message-item-icon-failure{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-close,.bim-notify .messages-container-preview .message-item-icon-close{cursor:pointer;width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Close.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-body-text,.bim-notify .messages-container-preview .message-item-body-text{font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal}.bim-notify .messages-container .message-item-link,.bim-notify .messages-container-preview .message-item-link{color:var(--text-link-color-default);text-decoration:underline;font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal;cursor:pointer}.bim-notify .messages-container .message-item:last-child,.bim-notify .messages-container-preview .message-item:last-child{border-bottom:none}.bim-notify .messages-container{position:relative;display:flex;flex:1 1 auto}.bim-notify .messages-container lib-bimplus-scrollable-container{max-height:100%;min-width:100%}.bim-notify .messages-container-preview{max-height:none;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.bim-notify .messages-container-preview .message-item{background-color:var(--notify-message-item-background-color-enabled);border:thin solid var(--notify-message-item-border-color-enabled);-webkit-box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);margin-bottom:.5em}.bim-notify .icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon.notify{transform-origin:center top}@keyframes ringbell{0%{transform:rotate(0)}5%{transform:rotate(35deg)}15%{transform:rotate(-30deg)}25%{transform:rotate(25deg)}35%{transform:rotate(-20deg)}45%{transform:rotate(15deg)}55%{transform:rotate(-10deg)}65%{transform:rotate(5deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}.bim-notify .bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bim-notify .bimcomp-overlay.open{display:block;z-index:1}.bim-notify .icon-notify{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Empty.svg")}
|