@bimplus/navigation-web 0.0.200 → 0.0.201
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.
|
@@ -2414,5 +2414,5 @@
|
|
|
2414
2414
|
"_Invitation_license_note_1": "An appropriate license is required for full access. Without it, the invited user may have limited functionality. Contact your License Administrator to assign a license if needed.",
|
|
2415
2415
|
"_Invitation_license_note_2": "Members are not added to the projects by default. They must be manually added to each project where needed. Admins are added automatically to all projects.",
|
|
2416
2416
|
"_Note": "Note:",
|
|
2417
|
-
"_Contact_form": "Contact
|
|
2417
|
+
"_Contact_form": "Contact form"
|
|
2418
2418
|
}
|
|
@@ -8,7 +8,7 @@ ${n.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
|
|
|
8
8
|
`+e.message,r,n,i),e[b4]=r,e[la]=null,e}function x4(e,t,n,i=null){e=e&&e.charAt(0)===`
|
|
9
9
|
`&&e.charAt(1)==y4?e.slice(2):e;let r=bt(t);if(Array.isArray(t))r=t.map(bt).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):bt(c)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(v4,`
|
|
10
10
|
`)}`}function An(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 Cu(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 r1(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function o1(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,o1(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 E4(e,t,1)}function E4(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 On={},ot=[],pi=new z(""),wu=new z("",-1),Du=new z(""),ro=class{get(t,n=ai){if(n===ai)throw new Is(`NullInjectorError: No provider for ${bt(t)}!`);return n}};function fi(e){return e[hu]||null}function xu(e){return e[gu]||null}function s1(e){return e[bu]||null}function so(e){return{\u0275providers:e}}function _a(...e){return{\u0275providers:Eu(!0,e),\u0275fromNgModule:!0}}function Eu(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&&a1(r,o),n}function a1(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:r}=e[n];Mu(r,o=>{t(o,i)})}}function ca(e,t,n,i){if(e=Ge(e),!e)return!1;let r=null,o=nu(e),a=!o&&fi(e);if(!o&&!a){let d=e.ngModule;if(o=nu(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&&a1(f,t)}if(!c){let f=An(r)||(()=>new r);t({provide:r,useFactory:f,deps:ot},r),t({provide:Du,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;Mu(d,h=>{t(h,f)})}}else return!1;return r!==e&&e.providers!==void 0}function Mu(e,t){for(let n of e)mu(n)&&(n=n.\u0275providers),Array.isArray(n)?Mu(n,t):t(n)}var M4=Me({provide:String,useValue:Me});function l1(e){return e!==null&&typeof e=="object"&&M4 in e}function I4(e){return!!(e&&e.useExisting)}function S4(e){return!!(e&&e.useFactory)}function ci(e){return typeof e=="function"}function c1(e){return!!e.useClass}var ao=new z(""),sa={},Jm={},tu;function lo(){return tu===void 0&&(tu=new ro),tu}var ut=class{},ui=class extends ut{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,lu(t,a=>this.processProvider(a)),this.records.set(wu,tr(void 0,this)),r.has("environment")&&this.records.set(ut,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(Du,ot,{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=pn(this),i=rt(void 0),r;try{return t()}finally{pn(n),rt(i)}}get(t,n=ai,i){if(no(this),t.hasOwnProperty(Xm))return t[Xm](this);let r=li(i),o,a=pn(this),c=rt(void 0);try{if(!(r&4)){let f=this.records.get(t);if(f===void 0){let h=L4(t)&&ma(t);h&&this.injectableDefInScope(h)?f=tr(au(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(bt(t)),a)throw d;return D4(d,t,"R3InjectorError",this.source)}else throw d}finally{rt(c),pn(a)}}resolveInjectorInitializers(){let t=Z(null),n=pn(this),i=rt(void 0),r;try{let o=this.get(pi,ot,{self:!0});for(let a of o)a()}finally{pn(n),rt(i),Z(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(bt(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Ge(t);let n=ci(t)?t:Ge(t&&t.provide),i=k4(t);if(!ci(t)&&t.multi===!0){let r=this.records.get(n);r||(r=tr(void 0,sa,!0),r.factory=()=>su(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===Jm?vu(bt(t)):n.value===sa&&(n.value=Jm,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=Ge(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 au(e){let t=ma(e),n=t!==null?t.factory:An(e);if(n!==null)return n;if(e instanceof z)throw new j(204,!1);if(e instanceof Function)return T4(e);throw new j(204,!1)}function T4(e){if(e.length>0)throw new j(204,!1);let n=h4(e);return n!==null?()=>n.factory(e):()=>new e}function k4(e){if(l1(e))return tr(void 0,e.useValue);{let t=Iu(e);return tr(t,sa)}}function Iu(e,t,n){let i;if(ci(e)){let r=Ge(e);return An(r)||au(r)}else if(l1(e))i=()=>Ge(e.useValue);else if(S4(e))i=()=>e.useFactory(...su(e.deps||[]));else if(I4(e))i=()=>V(Ge(e.useExisting));else{let r=Ge(e&&(e.useClass||e.provide));if(A4(e))i=()=>new r(...su(e.deps));else return An(r)||au(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 A4(e){return!!e.deps}function N4(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function L4(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function lu(e,t){for(let n of e)Array.isArray(n)?lu(n,t):n&&mu(n)?lu(n.\u0275providers,t):t(n)}function rr(e,t){let n;e instanceof ui?(no(e),n=e):n=new ou(e);let i,r=pn(n),o=rt(void 0);try{return t()}finally{pn(r),rt(o)}}function u1(){return i1()!==void 0||Tc()!=null}var Rt=0,G=1,$=2,We=3,Mt=4,st=5,mi=6,or=7,Ne=8,hi=9,Qt=10,xe=11,sr=12,Su=13,gi=14,at=15,bi=16,vi=17,yi=18,co=19,Tu=20,gn=21,Ca=22,uo=23,vt=24,wa=25,Oe=26,d1=1,ku=6,Rn=7,po=8,fo=9,Ye=10;function Xt(e){return Array.isArray(e)&&typeof e[d1]=="object"}function Pt(e){return Array.isArray(e)&&e[d1]===!0}function Da(e){return(e.flags&4)!==0}function Pn(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 p1="svg",f1="math";function It(e){for(;Array.isArray(e);)e=e[Rt];return e}function Au(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 Lu(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 xa(e){return(e[$]&128)===128}function m1(e){return Pt(e[We])}function Vt(e,t){return t==null?null:e[t]}function Ou(e){e[vi]=0}function Ea(e){e[$]&1024||(e[$]|=1024,xa(e)&&go(e))}function h1(e,t){for(;e>0;)t=t[gi],e--;return t}function lr(e){return!!(e[$]&9216||e[vt]?.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,!xa(t)));)t=Nn(t)}function Ru(e,t){if(_i(e))throw new j(911,!1);e[gn]===null&&(e[gn]=[]),e[gn].push(t)}function g1(e,t){if(e[gn]===null)return;let n=e[gn].indexOf(t);n!==-1&&e[gn].splice(n,1)}function Nn(e){let t=e[We];return Pt(t)?t[We]:t}function b1(e){return e[or]??=[]}function v1(e){return e.cleanup??=[]}var Q={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||{}),O4=0,cu=!1;function y1(){return Q.lFrame.elementDepthCount}function _1(){Q.lFrame.elementDepthCount++}function C1(){Q.lFrame.elementDepthCount--}function Ia(){return Q.bindingsEnabled}function Pu(){return Q.skipHydrationRootTNode!==null}function w1(e){return Q.skipHydrationRootTNode===e}function D1(){Q.skipHydrationRootTNode=null}function Y(){return Q.lFrame.lView}function Re(){return Q.lFrame.tView}function H(e){return Q.lFrame.contextLView=e,e[Ne]}function B(e){return Q.lFrame.contextLView=null,e}function dt(){let e=Fu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Fu(){return Q.lFrame.currentTNode}function x1(){let e=Q.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Fn(e,t){let n=Q.lFrame;n.currentTNode=e,n.isParent=t}function Sa(){return Q.lFrame.isParent}function Ta(){Q.lFrame.isParent=!1}function E1(){return Q.lFrame.contextLView}function Vu(e){t1("Must never be called in production mode"),O4=e}function ju(){return cu}function Hu(e){let t=cu;return cu=e,t}function cr(){let e=Q.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function M1(e){return Q.lFrame.bindingIndex=e}function Ci(){return Q.lFrame.bindingIndex++}function Bu(e){let t=Q.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function I1(){return Q.lFrame.inI18n}function S1(e,t){let n=Q.lFrame;n.bindingIndex=n.bindingRootIndex=e,ka(t)}function T1(){return Q.lFrame.currentDirectiveIndex}function ka(e){Q.lFrame.currentDirectiveIndex=e}function k1(e){let t=Q.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Uu(e){Q.lFrame.currentQueryIndex=e}function R4(e){let t=e[G];return t.type===2?t.declTNode:t.type===1?e[st]:null}function zu(e,t,n){if(n&4){let r=t,o=e;for(;r=r.parent,r===null&&!(n&1);)if(r=R4(o),r===null||(o=o[gi],r.type&10))break;if(r===null)return!1;t=r,e=o}let i=Q.lFrame=A1();return i.currentTNode=t,i.lView=e,!0}function Aa(e){let t=A1(),n=e[G];Q.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function A1(){let e=Q.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 L1(){let e=Q.lFrame;return Q.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var $u=L1;function Na(){let e=L1();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 O1(e){return(Q.lFrame.contextLView=h1(e,Q.lFrame.contextLView))[Ne]}function bn(){return Q.lFrame.selectedIndex}function Vn(e){Q.lFrame.selectedIndex=e}function Zu(){let e=Q.lFrame;return ho(e.tView,e.selectedIndex)}function R1(){return Q.lFrame.currentNamespace}var P1=!0;function vo(){return P1}function yo(e){P1=e}function uu(e,t=null,n=null,i){let r=F1(e,t,n,i);return r.resolveInjectorInitializers(),r}function F1(e,t=null,n=null,i,r=new Set){let o=[n||ot,_a(e)];return i=i||(typeof e=="object"?void 0:bt(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 uu({name:""},n,t,"");{let i=t.name??"";return uu({name:i},t.parent,t.providers,i)}}static \u0275prov=W({token:e,providedIn:"any",factory:()=>V(wu)});static __NG_ELEMENT_ID__=-1},yt=new z(""),wi=(()=>{class e{static __NG_ELEMENT_ID__=P4;static __NG_ENV_ID__=n=>n}return e})(),du=class extends wi{_lView;constructor(t){super(),this._lView=t}get destroyed(){return _i(this._lView)}onDestroy(t){let n=this._lView;return Ru(n,t),()=>g1(n,t)}};function P4(){return new du(Y())}var Yt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Jt=new z("",{providedIn:"root",factory:()=>{let e=P(ut),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Yt),t.handleError(n))}}}),V1={provide:pi,useValue:()=>void P(Yt),multi:!0};function jn(e,t){let[n,i,r]=Hc(e,t?.equal),o=n,a=o[ct];return o.set=i,o.update=r,o.asReadonly=j1.bind(o),o}function j1(){let e=this[ct];if(e.readonlyFn===void 0){let t=()=>this();t[ct]=e,e.readonlyFn=t}return e.readonlyFn}var qt=class{},La=new z("",{providedIn:"root",factory:()=>!1});var Wu=new z(""),Gu=new z("");var Di=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Sn(!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=P(Di);scheduler=P(qt);errorHandler=P(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 Yu=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>new pu})}return e})(),pu=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 Y4(e){return function(...n){if(e){let i=e(...n);for(let r in i)this[r]=i[r]}}}function f0(e,t,n){return gr(()=>{let i=Y4(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 Ld=_u(f0("Optional"),8);var Od=_u(f0("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 m0(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var Ut=(()=>{let e=()=>h0;return e.ngInherit=!0,e})();function h0(e){return e.type.prototype.ngOnChanges&&(e.setInput=X4),Q4}function Q4(){let e=b0(this),t=e?.current;if(t){let n=e.previous;if(n===On)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function X4(e,t,n,i,r){let o=this.declaredInputs[i],a=b0(e)||K4(e,{previous:On,current:null}),c=a.current||(a.current={}),d=a.previous,f=d[o];c[o]=new ja(f&&f.currentValue,n,d===On),m0(e,t,r,n)}var g0="__ngSimpleChanges__";function b0(e){return e[g0]||null}function K4(e,t){return e[g0]=t}var H1=[];var de=function(e,t=null,n){for(let i=0;i<H1.length;i++){let r=H1[i];r(e,t,n)}};function J4(e,t,n){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){let a=h0(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 Rd(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){v0(e,t,3,n)}function Fa(e,t,n,i){(e[$]&3)===n&&v0(e,t,n,i)}function qu(e,t){let n=e[$];(n&3)===t&&(n&=16383,n+=1,e[$]=n)}function v0(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)&&(e5(e,n,t,d),e[vi]=(e[vi]&4294901760)+d+2),d++}function B1(e,t){de(4,e,t);let n=Z(null);try{t.call(e)}finally{Z(n),de(5,e,t)}}function e5(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,B1(c,o)):B1(c,o)}var dr=-1,Ei=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,i){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=i}};function t5(e){return(e.flags&8)!==0}function n5(e){return(e.flags&16)!==0}function i5(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];o5(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),i++}}return i}function r5(e){return e===3||e===4||e===6}function o5(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?U1(e,n,r,null,t[++i]):U1(e,n,r,null,null))}}return e}function U1(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 y0(e){return e!==dr}function Ha(e){return e&32767}function s5(e){return e>>16}function Ba(e,t){let n=s5(e),i=t;for(;n>0;)i=i[gi],n--;return i}var sd=!0;function Ua(e){let t=sd;return sd=e,t}var a5=256,_0=a5-1,C0=5,l5=0,en={};function c5(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(di)&&(i=n[di]),i==null&&(i=n[di]=l5++);let r=i&_0,o=1<<r;t.data[e+(r>>C0)]|=o}function za(e,t){let n=w0(e,t);if(n!==-1)return n;let i=t[G];i.firstCreatePass&&(e.injectorIndex=t.length,Qu(i.data,e),Qu(t,null),Qu(i.blueprint,null));let r=Pd(e,t),o=e.injectorIndex;if(y0(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 Qu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function w0(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Pd(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=I0(r),i===null)return dr;if(n++,r=r[gi],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return dr}function ad(e,t,n){c5(e,t,n)}function D0(e,t,n){if(n&8||e!==void 0)return e;ga(t,"NodeInjector")}function x0(e,t,n,i){if(n&8&&i===void 0&&(i=null),(n&3)===0){let r=e[hi],o=rt(void 0);try{return r?r.get(t,i,n&8):yu(t,i,n&8)}finally{rt(o)}}return D0(i,t,n)}function E0(e,t,n,i=0,r){if(e!==null){if(t[$]&2048&&!(i&2)){let a=m5(e,t,n,i,en);if(a!==en)return a}let o=M0(e,t,n,i,en);if(o!==en)return o}return x0(t,n,i,r)}function M0(e,t,n,i,r){let o=p5(n);if(typeof o=="function"){if(!zu(t,e,i))return i&1?D0(r,n,i):x0(t,n,i,r);try{let a;if(a=o(i),a==null&&!(i&8))ga(n);else return a}finally{$u()}}else if(typeof o=="number"){let a=null,c=w0(e,t),d=dr,f=i&1?t[at][st]:null;for((c===-1||i&4)&&(d=c===-1?Pd(e,t):t[c+8],d===dr||!$1(i,!1)?c=-1:(a=t[G],c=Ha(d),t=Ba(d,t)));c!==-1;){let h=t[G];if(z1(o,c,h.data)){let g=u5(c,t,n,a,i,f);if(g!==en)return g}d=t[c+8],d!==dr&&$1(i,t[G].data[c+8]===f)&&z1(o,c,t)?(a=h,c=Ha(d),t=Ba(d,t)):c=-1}}return r}function u5(e,t,n,i,r,o){let a=t[G],c=a.data[e+8],d=i==null?Pn(c)&&sd:i!=a&&(c.type&3)!==0,f=r&1&&o===c,h=d5(c,a,n,d,f);return h!==null?$a(t,a,h,c):en}function d5(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 Ei){let a=r;a.resolving&&vu(n1(o[n]));let c=Ua(a.canSeeViewProviders);a.resolving=!0;let d=o[n].type||o[n],f,h=a.injectImpl?rt(a.injectImpl):null,g=zu(e,i,0);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&J4(n,o[n],t)}finally{h!==null&&rt(h),Ua(c),a.resolving=!1,$u()}}return r}function p5(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&_0:f5:t}function z1(e,t,n){let i=1<<e;return!!(n[t+(e>>C0)]&i)}function $1(e,t){return!(e&2)&&!(e&1&&t)}var xi=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return E0(this._tNode,this._lView,t,li(i),n)}};function f5(){return new xi(dt(),Y())}function ko(e){return gr(()=>{let t=e.prototype.constructor,n=t[io]||ld(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){let o=r[io]||ld(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function ld(e){return fu(e)?()=>{let t=ld(Ge(e));return t&&t()}:An(e)}function m5(e,t,n,i,r){let o=e,a=t;for(;o!==null&&a!==null&&a[$]&2048&&!ar(a);){let c=M0(o,a,n,i|2,en);if(c!==en)return c;let d=o.parent;if(!d){let f=a[Tu];if(f){let h=f.get(n,en,i);if(h!==en)return h}d=I0(a),a=a[gi]}o=d}return r}function I0(e){let t=e[G],n=t.type;return n===2?t.declTNode:n===1?e[st]:null}function h5(){return tl(dt(),Y())}function tl(e,t){return new Bn(Ft(e,t))}var Bn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=h5}return e})();function S0(e){return(e.flags&128)===128}var Fd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Fd||{}),T0=new Map,g5=0;function b5(){return g5++}function v5(e){T0.set(e[co],e)}function cd(e){T0.delete(e[co])}var Z1="__ngContext__";function br(e,t){Xt(t)?(e[Z1]=t[co],v5(t)):e[Z1]=t}function k0(e){return N0(e[sr])}function A0(e){return N0(e[Mt])}function N0(e){for(;e!==null&&!Pt(e);)e=e[Mt];return e}var ud;function Vd(e){ud=e}function L0(){if(ud!==void 0)return ud;if(typeof document<"u")return document;throw new j(210,!1)}var nl=new z("",{providedIn:"root",factory:()=>y5}),y5="ng",il=new z(""),vr=new z("",{providedIn:"platform",factory:()=>"unknown"});var rl=new z("",{providedIn:"root",factory:()=>L0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var _5="h",C5="b";var O0="r";var R0="di";var P0=!1,F0=new z("",{providedIn:"root",factory:()=>P0});var w5=(e,t,n,i)=>{};function D5(e,t,n,i){w5(e,t,n,i)}var x5=()=>null;function V0(e,t,n=!1){return x5(e,t,n)}function j0(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];Uu(o),c.contentQueries(2,t[a],a)}}}finally{Z(i)}}}function dd(e,t,n){Uu(0);let i=Z(null);try{t(e,n)}finally{Z(i)}}function jd(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 vn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(vn||{});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 H0(e,t){let n=B0(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 B0(e){return e instanceof Za&&e.getTypeName()||null}var E5=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function U0(e){return e=String(e),e.match(E5)?e:"unsafe:"+e}var Hd=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}(Hd||{});function yr(e){let t=M5();return t?t.sanitize(Hd.URL,e)||"":H0(e,"URL")?ol(e):U0(nr(e))}function M5(){let e=Y();return e&&e[Qt].sanitizer}var I5=/^>|^->|<!--|-->|--!>|<!-$/g,S5=/(<|>)/g,T5="\u200B$1\u200B";function k5(e){return e.replace(I5,t=>t.replace(S5,T5))}function A5(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 z0="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"&&A5(t[r+1].toLowerCase(),n,0)!==-1)return!0}else if(Bd(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 Bd(e){return e.type===4&&e.value!==z0}function L5(e,t,n){let i=e.type===4&&!n?z0:e.value;return t===i}function O5(e,t,n){let i=4,r=e.attrs,o=r!==null?F5(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!==""&&!L5(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=R5(d,r,Bd(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 R5(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 V5(t,e)}function $0(e,t,n=!1){for(let i=0;i<t.length;i++)if(O5(e,t[i],n))return!0;return!1}function P5(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function F5(e){for(let t=0;t<e.length;t++){let n=e[t];if(r5(n))return t}return e.length}function V5(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 j5(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 W1(e,t){return e?":not("+t.trim()+")":t}function H5(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+=W1(o,r),r=""),i=a,o=o||!jt(i);n++}return r!==""&&(t+=W1(o,r)),t}function B5(e){return e.map(H5).join(",")}function U5(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 Ct={};function z5(e,t){return e.createText(t)}function $5(e,t,n){e.setValue(t,n)}function Z5(e,t){return e.createComment(k5(t))}function Z0(e,t,n){return e.createElement(t,n)}function Wa(e,t,n,i,r){e.insertBefore(t,n,i,r)}function W0(e,t,n){e.appendChild(t,n)}function G1(e,t,n,i,r){i!==null?Wa(e,t,n,i,r):W0(e,t,n)}function G0(e,t,n){e.removeChild(null,t,n)}function W5(e,t,n){e.setAttribute(t,"style",n)}function G5(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Y0(e,t,n){let{mergedAttrs:i,classes:r,styles:o}=n;i!==null&&i5(e,t,i),r!==null&&G5(e,t,r),o!==null&&W5(e,t,o)}function Ud(e,t,n,i,r,o,a,c,d,f,h){let g=Oe+i,y=g+r,v=Y5(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 Y5(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:Ct);return n}function q5(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ud(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function zd(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),Ou(g),g[We]=g[gi]=e,g[Ne]=n,g[Qt]=a||e&&e[Qt],g[xe]=c||e&&e[xe],g[hi]=d||e&&e[hi]||null,g[st]=o,g[co]=b5(),g[mi]=h,g[Tu]=f,g[at]=t.type==2?e[at]:g,g}function Q5(e,t,n){let i=Ft(t,e),r=q5(n),o=e[Qt].rendererFactory,a=$d(e,zd(e,r,null,q0(n),i,t,null,o.createRenderer(i,n),null,null,null));return e[t.index]=a}function q0(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Q0(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 $d(e,t){return e[sr]?e[Su][Mt]=t:e[sr]=t,e[Su]=t,t}function w(e=1){X0(Re(),Y(),bn()+e,!1)}function X0(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)}Vn(n)}var sl=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(sl||{});function pd(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][ct]),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):m0(t,d,o,i)}finally{Z(r)}}function K0(e,t,n,i,r){let o=bn(),a=i&2;try{Vn(-1),a&&t.length>Oe&&X0(e,t,Oe,!1),de(a?2:0,r,n),n(i,r)}finally{Vn(o),de(a?3:1,r,n)}}function al(e,t,n){r_(e,t,n),(n.flags&64)===64&&o_(e,t,n)}function Zd(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 X5(e,t,n,i){let o=i.get(F0,P0)||n===vn.ShadowDom,a=e.selectRootElement(t,o);return K5(a),a}function K5(e){J5(e)}var J5=()=>null;function e_(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function t_(e,t,n,i,r,o){let a=t[G];if(Gd(e,a,t,n,i)){Pn(e)&&i_(t,e.index);return}n_(e,t,n,i,r,o)}function n_(e,t,n,i,r,o){if(e.type&3){let a=Ft(e,t);n=e_(n),i=o!=null?o(i,e.value||"",n):i,r.setProperty(a,n,i)}else e.type&12}function i_(e,t){let n=St(t,e);n[$]&16||(n[$]|=64)}function r_(e,t,n){let i=n.directiveStart,r=n.directiveEnd;Pn(n)&&Q5(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&&c_(t,a-i,d,c,n,o),Kt(c)){let f=St(n.index,t);f[Ne]=$a(t,e,a,n)}}}function o_(e,t,n){let i=n.directiveStart,r=n.directiveEnd,o=n.index,a=T1();try{Vn(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)&&s_(d,f)}}finally{Vn(-1),ka(a)}}function s_(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Wd(e,t){let n=e.directiveRegistry,i=null;if(n)for(let r=0;r<n.length;r++){let o=n[r];$0(t,o.selectors,!1)&&(i??=[],Kt(o)?i.unshift(o):i.push(o))}return i}function a_(e,t,n,i,r,o){let a=Ft(e,t);l_(t[xe],a,o,e.value,n,i,r)}function l_(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 c_(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];pd(i,n,d,f)}}function u_(e,t){let n=e[hi];if(!n)return;n.get(Jt,null)?.(t)}function Gd(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];pd(g,n[f],h,r),c=!0}if(o)for(let d of o){let f=n[d],h=t.data[d];pd(h,f,i,r),c=!0}return c}function d_(e,t){let n=St(t,e),i=n[G];p_(i,n);let r=n[Rt];r!==null&&n[mi]===null&&(n[mi]=V0(r,n[hi])),de(18),Yd(i,n,n[Ne]),de(19,n[Ne])}function p_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Yd(e,t,n){Aa(t);try{let i=e.viewQuery;i!==null&&dd(1,i,n);let r=e.template;r!==null&&K0(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[yi]?.finishViewCreation(e),e.staticContentQueries&&j0(e,t),e.staticViewQueries&&dd(2,e.viewQuery,n);let o=e.components;o!==null&&f_(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[$]&=-5,Na()}}function f_(e,t){for(let n=0;n<t.length;n++)d_(e,t[n])}function Ao(e,t,n,i){let r=Z(null);try{let o=t.tView,c=e[$]&4096?4096:16,d=zd(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)),Yd(o,d,n),d}finally{Z(r)}}function fr(e,t){return!t||t.firstChild===null||S0(e)}var Y1=!1,m_=new z(""),h_;function qd(e,t){return h_(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?W0(t,n,c):Wa(t,n,c,r||null,!0):e===1&&n!==null?Wa(t,n,c,r||null,!0):e===2?G0(t,c,a):e===3&&t.destroyNode(c),o!=null&&E_(t,e,o,n,r)}}function g_(e,t){J0(e,t),t[Rt]=null,t[st]=null}function b_(e,t,n,i,r,o){i[Rt]=r,i[st]=t,dl(e,i,n,1,r,o)}function J0(e,t){t[Qt].changeDetectionScheduler?.notify(9),dl(e,t,t[xe],2,null,null)}function v_(e){let t=e[sr];if(!t)return Xu(e[G],e);for(;t;){let n=null;if(Xt(t))n=t[sr];else{let i=t[Ye];i&&(n=i)}if(!n){for(;t&&!t[Mt]&&t!==e;)Xt(t)&&Xu(t[G],t),t=t[We];t===null&&(t=e),Xt(t)&&Xu(t[G],t),n=t&&t[Mt]}t=n}}function Qd(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[xe];n.destroyNode&&dl(e,t,n,3,null,null),v_(t)}function Xu(e,t){if(_i(t))return;let n=Z(null);try{t[$]&=-129,t[$]|=256,t[vt]&&As(t[vt]),__(e,t),y_(e,t),t[G].type===1&&t[xe].destroy();let i=t[bi];if(i!==null&&Pt(t[We])){i!==t[We]&&Qd(i,t);let r=t[yi];r!==null&&r.detachView(e)}cd(t)}finally{Z(n)}}function y_(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[gn];if(r!==null){t[gn]=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 __(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 Ei)){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];de(4,c,d);try{d.call(c)}finally{de(5,c,d)}}else{de(4,r,o);try{o.call(r)}finally{de(5,r,o)}}}}}function eh(e,t,n){return C_(e,t.parent,n)}function C_(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[Rt];if(Pn(i)){let{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===vn.None||r===vn.Emulated)return null}return Ft(i,n)}function th(e,t,n){return D_(e,t,n)}function w_(e,t,n){return e.type&40?Ft(e,n):null}var D_=w_,q1;function ul(e,t,n,i){let r=eh(e,i,t),o=t[xe],a=i.parent||t[st],c=th(a,i,t);if(r!=null)if(Array.isArray(n))for(let d=0;d<n.length;d++)G1(o,r,n[d],c,!1);else G1(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 fd(-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)?fd(-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=nh(e,t);if(i!==null){if(Array.isArray(i))return i[0];let r=Nn(e[at]);return wo(r,i)}else return wo(e,t.next)}}}return null}function nh(e,t){if(t!==null){let i=e[at][st],r=t.projection;return i.projection[r]}return null}function fd(e,t){let n=Ye+e+1;if(n<t.length){let i=t[n],r=i[G].firstChild;if(r!==null)return wo(i,r)}return t[Rn]}function Xd(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)Xd(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?ih(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){Xd(n,i,e.firstChild,t,r,o,!1)}function x_(e,t,n){let i=t[xe],r=eh(e,n,t),o=n.parent||t[st],a=th(o,n,t);ih(i,0,t,n,r,a)}function ih(e,t,n,i,r,o){let a=n[at],d=a[st].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];S0(i)&&(f.flags|=128),Xd(e,t,f,h,r,o,!0)}}function E_(e,t,n,i,r){let o=n[Rn],a=It(n);o!==a&&ur(t,e,i,o,r);for(let c=Ye;c<n.length;c++){let d=n[c];dl(d[G],d,e,t,i,o)}}function M_(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 xo(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)&&rh(o,i);let a=n.type;if(a&8)xo(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=nh(t,n);if(Array.isArray(c))i.push(...c);else{let d=Nn(t[at]);xo(d[G],d,c,i,!0)}}n=r?n.projectionNext:n.next}return i}function rh(e,t){for(let n=Ye;n<e.length;n++){let i=e[n],r=i[G].firstChild;r!==null&&xo(i[G],i,r,t)}e[Rn]!==e[Rt]&&t.push(e[Rn])}function oh(e){if(e[wa]!==null){for(let t of e[wa])t.impl.addSequence(t);e[wa].length=0}}var sh=[];function I_(e){return e[vt]??S_(e)}function S_(e){let t=sh.pop()??Object.create(k_);return t.lView=e,t}function T_(e){e.lView[vt]!==e&&(e.lView=null,sh.push(e))}var k_=tt(Ae({},Gi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{go(e.lView)},consumerOnSignalRead(){this.lView[vt]=this}});function A_(e){let t=e[vt]??Object.create(N_);return t.lView=e,t}var N_=tt(Ae({},Gi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Nn(e.lView);for(;t&&!ah(t[G]);)t=Nn(t);t&&Ea(t)},consumerOnSignalRead(){this.lView[vt]=this}});function ah(e){return e.type!==2}function lh(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 L_=100;function Kd(e,t=0){let i=e[Qt].rendererFactory,r=!1;r||i.begin?.();try{O_(e,t)}finally{r||i.end?.()}}function O_(e,t){let n=ju();try{Hu(!0),md(e,t);let i=0;for(;lr(e);){if(i===L_)throw new j(103,!1);i++,md(e,1)}}finally{Hu(n)}}function ch(e,t){Vu(t?bo.Exhaustive:bo.OnlyDirtyViews);try{Kd(e)}finally{Vu(bo.Off)}}function R_(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||(ah(e)?(f=I_(t),d=Yi(f)):ks()===null?(c=!1,f=A_(t),d=Yi(f)):t[vt]&&(As(t[vt]),t[vt]=null));try{Ou(t),M1(e.bindingStartIndex),n!==null&&K0(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||P_(t),lh(t),uh(t,0),e.contentQueries!==null&&j0(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)}V_(e,t);let g=e.components;g!==null&&ph(t,g,0);let y=e.viewQuery;if(y!==null&&dd(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||(oh(t),t[$]&=-73)}catch(h){throw o||go(t),h}finally{f!==null&&(Qr(f,d),c&&T_(f)),Na()}}function uh(e,t){for(let n=k0(e);n!==null;n=A0(n))for(let i=Ye;i<n.length;i++){let r=n[i];dh(r,t)}}function P_(e){for(let t=k0(e);t!==null;t=A0(t)){if(!(t[$]&2))continue;let n=t[fo];for(let i=0;i<n.length;i++){let r=n[i];Ea(r)}}}function F_(e,t,n){de(18);let i=St(t,e);dh(i,n),de(19,i[Ne])}function dh(e,t){xa(e)&&md(e,t)}function md(e,t){let i=e[G],r=e[$],o=e[vt],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)R_(i,e,i.template,e[Ne]);else if(r&8192){let c=Z(null);try{lh(e),uh(e,1);let d=i.components;d!==null&&ph(e,d,1),oh(e)}finally{Z(c)}}}function ph(e,t,n){for(let i=0;i<t.length;i++)F_(e,t[i],n)}function V_(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)Vn(~r);else{let o=r,a=n[++i],c=n[++i];S1(a,o);let d=t[o];de(24,d),c(2,d),de(25,d)}}}finally{Vn(-1)}}function Jd(e,t){let n=ju()?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 fh(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function mh(e,t){let n=Ye+t;if(n<e.length)return e[n]}function No(e,t,n,i=!0){let r=t[G];if(j_(r,t,e,n),i){let a=fd(n,e),c=t[xe],d=c.parentNode(e[Rn]);d!==null&&b_(r,e[st],c,t,d,a)}let o=t[mi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function hh(e,t){let n=Eo(e,t);return n!==void 0&&cl(n[G],n),n}function Eo(e,t){if(e.length<=Ye)return;let n=Ye+t,i=e[n];if(i){let r=i[bi];r!==null&&r!==e&&Qd(r,i),t>0&&(e[n-1][Mt]=i[Mt]);let o=oo(e,Ye+t);g_(i[G],i);let a=o[yi];a!==null&&a.detachView(o[G]),i[We]=null,i[Mt]=null,i[$]&=-129}return i}function j_(e,t,n,i){let r=Ye+i,o=n.length;i>0&&(n[r-1][Mt]=t),i<o-Ye?(t[Mt]=n[r],Cu(n,Ye+i,t)):(n.push(t),t[Mt]=null),t[We]=n;let a=t[bi];a!==null&&n!==a&&gh(a,t);let c=t[yi];c!==null&&c.insertView(e),Ma(t),t[$]|=128}function gh(e,t){let n=e[fo],i=t[We];if(Xt(i))e[$]|=2;else{let r=i[We][at];t[at]!==r&&(e[$]|=2)}n===null?e[fo]=[t]:n.push(t)}var Hn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[G];return xo(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&&(Eo(t,i),oo(n,i))}this._attachedToViewContainer=!1}cl(this._lView[G],this._lView)}onDestroy(t){Ru(this._lView,t)}markForCheck(){Jd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[$]&=-129}reattach(){Ma(this._lView),this._lView[$]|=128}detectChanges(){this._lView[$]|=1024,Kd(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[hi].get(m_,Y1)}catch{this.exhaustive=Y1}}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&&Qd(n,this._lView),J0(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&&gh(i,this._lView),Ma(this._lView)}};function ep(e){return lr(e._lView)||!!(e._lView[$]&64)}function tp(e){Ea(e._lView)}var Lo=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=H_;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 Hn(o)}}return e})();function H_(){return bh(dt(),Y())}function bh(e,t){return e.type&4?new Lo(t,e,tl(e,t)):null}function Oo(e,t,n,i,r){let o=e.data[t];if(o===null)o=B_(e,t,n,i,r),I1()&&(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 Fn(o,!0),o}function B_(e,t,n,i,r){let o=Fu(),a=Sa(),c=a?o:o&&o.parent,d=e.data[t]=z_(e,c,n,t,i,r);return U_(e,d,o,a),d}function U_(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 z_(e,t,n,i,r,o){let a=t?t.injectorIndex:-1,c=0;return Pu()&&(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 AS=new RegExp(`^(\\d+)*(${C5}|${_5})*(.*)`);function $_(e){let t=e[ku]??[],i=e[We][xe],r=[];for(let o of t)o.data[R0]!==void 0?r.push(o):Z_(o,i);e[ku]=r}function Z_(e,t){let n=0,i=e.firstChild;if(i){let r=e.data[O0];for(;n<r;){let o=i.nextSibling;G0(t,i,!1),i=o,n++}}}var W_=()=>null,G_=()=>null;function Ga(e,t){return W_(e,t)}function vh(e,t,n){return G_(e,t,n)}var yh=class{},pl=class{},hd=class{resolveComponentFactory(t){throw new j(917,!1)}},Si=class{static NULL=new hd},Mi=class{},fl=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Y_()}return e})();function Y_(){let e=Y(),t=dt(),n=St(t.index,e);return(Xt(n)?n:e)[xe]}var _h=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>null})}return e})();var Va={},gd=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 bd(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 Fe(e,t=0){let n=Y();if(n===null)return V(e,t);let i=dt();return E0(i,n,Ge(e),t)}function np(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}X_(e,t,n,c,o,d,f)}o!==null&&i!==null&&q_(n,i,o)}function q_(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 Q_(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function X_(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,Q_(e,n,y)),ad(za(n,t),e,v.type)}i8(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=Q0(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),J_(e,n,t,g,v),n8(g,v,r),a!==null&&a.has(v)){let[M,A]=a.get(v);n.directiveToIndex.set(v.type,[g,M+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++}K_(e,n,o)}function K_(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let r=e.data[i];if(n===null||!n.has(r))Q1(0,t,r,i),Q1(1,t,r,i),K1(t,i,!1);else{let o=n.get(r);X1(0,t,o,i),X1(1,t,o,i),K1(t,i,!0)}}}function Q1(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),Ch(t,o)}}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=r[o],c;e===0?c=t.hostDirectiveInputs??={}:c=t.hostDirectiveOutputs??={},c[a]??=[],c[a].push(i,o),Ch(t,a)}}function Ch(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function K1(e,t,n){let{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(i===null||!n&&r===null||n&&o===null||Bd(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 J_(e,t,n,i,r){e.data[i]=r;let o=r.factory||(r.factory=An(r.type,!0)),a=new Ei(o,Kt(r),Fe);e.blueprint[i]=a,n[i]=a,e8(e,t,i,Q0(e,n,r.hostVars,Ct),r)}function e8(e,t,n,i,r){let o=r.hostBindings;if(o){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let c=~t.index;t8(a)!=c&&a.push(c),a.push(n,i,o)}}function t8(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function n8(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 i8(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function wh(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&&np(t,n,h,Vt(d,c),r),h.mergedAttrs=pr(h.mergedAttrs,h.attrs),h.attrs!==null&&bd(h,h.attrs,!1),h.mergedAttrs!==null&&bd(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function Dh(e,t){Rd(e,t),Da(t)&&e.queries.elementEnd(t)}function ip(e){return ml(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function xh(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 r8(e,t){return e[t]}function _t(e,t,n){if(n===Ct)return!1;let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function Ya(e,t,n,i){let r=_t(e,t,n);return _t(e,t+1,i)||r}function o8(e,t,n,i,r){let o=Ya(e,t,n,i);return _t(e,t+2,r)||o}function s8(e,t,n,i,r,o){let a=Ya(e,t,n,i);return Ya(e,t+2,r,o)||a}function Ku(e,t,n){return function i(r){let o=Pn(e)?St(e.index,t):t;Jd(o,5);let a=t[Ne],c=J1(t,a,n,r),d=i.__ngNextListenerFn__;for(;d;)c=J1(t,a,d,r)&&c,d=d.__ngNextListenerFn__;return c}}function J1(e,t,n,i){let r=Z(null);try{return de(6,t,n),n(i)!==!1}catch(o){return u_(e,o),!1}finally{de(7,t,n),Z(r)}}function a8(e,t,n,i,r,o,a,c){let d=mo(e),f=!1,h=null;if(!i&&d&&(h=l8(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;D5(n,y,o,c);let v=r.listen(y,o,c),_=i?M=>i(It(M[e.index])):e.index;Eh(_,t,n,o,c,v,!1)}return f}function l8(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 Eh(e,t,n,i,r,o,a){let c=t.firstCreatePass?v1(t):null,d=b1(n),f=d.length;d.push(r,o),c&&c.push(i,e,f,(f+1)*(a?-1:1))}function e0(e,t,n,i,r,o){let a=t[n],c=t[G],f=c.data[n].outputs[i],g=a[f].subscribe(o);Eh(e.index,c,t,r,o,g,!0)}var vd=Symbol("BINDING");var yd=class extends Si{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=fi(t);return new Mo(n,this.ngModule)}};function c8(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 u8(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function d8(e,t,n){let i=t instanceof ut?t:t?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new gd(n,i):n}function p8(e){let t=e.get(Mi,null);if(t===null)throw new j(407,!1);let n=e.get(_h,null),i=e.get(qt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i,ngReflect:!1}}function f8(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Z0(t,n,n==="svg"?p1:n==="math"?f1:null)}var Mo=class extends pl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=c8(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=u8(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=B5(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,i,r,o,a){de(22);let c=Z(null);try{let d=this.componentDef,f=m8(i,d,a,o),h=d8(d,r||this.ngModule,t),g=p8(h),y=g.rendererFactory.createRenderer(null,d),v=i?X5(y,i,d.encapsulation,h):f8(d,y),_=a?.some(t0)||o?.some(k=>typeof k!="function"&&k.bindings.some(t0)),M=zd(null,f,null,512|q0(d),null,null,g,y,h,null,V0(v,h,!0));M[Oe]=v,Aa(M);let A=null;try{let k=wh(Oe,f,M,"#host",()=>f.directiveRegistry,!0,0);v&&(Y0(y,v,k),br(v,M)),al(f,M,k),jd(f,k,M),Dh(f,k),n!==void 0&&g8(k,this.ngContentSelectors,n),A=St(k.index,M),M[Ne]=A[Ne],Yd(f,M,null)}catch(k){throw A!==null&&cd(A),cd(M),k}finally{de(23),Na()}return new qa(this.componentType,M,!!_)}finally{Z(c)}}};function m8(e,t,n,i){let r=e?["ng-version","20.0.5"]:U5(t.selectors[0]),o=null,a=null,c=0;if(n)for(let h of n)c+=h[vd].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[vd].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 Ud(0,null,h8(o,a),1,c,d,null,null,null,[r],null)}function h8(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 t0(e){let t=e[vd].kind;return t==="input"||t==="twoWay"}var qa=class extends yh{_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],Oe),this.location=tl(this._tNode,n),this.instance=St(this._tNode.index,n)[Ne],this.hostView=this.changeDetectorRef=new Hn(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=Gd(i,r[G],r,t,n);this.previousInputValues.set(t,n);let a=St(i.index,r);Jd(a,1)}get injector(){return new xi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function g8(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__=b8}return e})();function b8(){let e=dt();return y8(e,Y())}var v8=_r,Mh=class extends v8{_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 xi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Pd(this._hostTNode,this._hostLView);if(y0(t)){let n=Ba(t,this._hostLView),i=Ha(t),r=n[G].data[i+8];return new xi(r,n)}else return new xi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=n0(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Ye}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(ut,null);k&&(o=k)}let y=fi(h.componentType??{}),v=Ga(this._lContainer,y?.id??null),_=v?.firstChild??null,M=h.create(g,r,_,o,a,c);return this.insertImpl(M.hostView,f,fr(this._hostTNode,v)),M}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let r=t._lView;if(m1(r)){let c=this.indexOf(t);if(c!==-1)this.detach(c);else{let d=r[We],f=new Mh(d,d[st],d[We]);f.detach(f.indexOf(t))}}let o=this._adjustIndex(n),a=this._lContainer;return No(a,r,o,i),t.attachToViewContainerRef(),Cu(Ju(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=n0(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=Eo(this._lContainer,n);i&&(oo(Ju(this._lContainer),n),cl(i[G],i))}detach(t){let n=this._adjustIndex(t,-1),i=Eo(this._lContainer,n);return i&&oo(Ju(this._lContainer),n)!=null?new Hn(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function n0(e){return e[po]}function Ju(e){return e[po]||(e[po]=[])}function y8(e,t){let n,i=t[e.index];return Pt(i)?n=i:(n=fh(i,t,null,e),t[e.index]=n,$d(t,n)),C8(n,t,e,i),new Mh(n,e,t)}function _8(e,t){let n=e[xe],i=n.createComment(""),r=Ft(t,e),o=n.parentNode(r);return Wa(n,o,i,n.nextSibling(r),!1),i}var C8=x8,w8=()=>!1;function D8(e,t,n){return w8(e,t,n)}function x8(e,t,n,i){if(e[Rn])return;let r;n.type&8?r=It(i):r=_8(t,n),e[Rn]=r}var i0=new Set;function Cr(e){i0.has(e)||(i0.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Io=class{};var So=class extends Io{injector;componentFactoryResolver=new yd(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 Ih(e,t,n=null){return new So({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var E8=(()=>{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=Eu(!1,n.type),r=i.length>0?Ih([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(ut))})}return e})();function pe(e){return gr(()=>{let t=Sh(e),n=tt(Ae({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(E8).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||vn.Emulated,styles:e.styles||ot,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Cr("NgStandalone"),Th(n);let i=e.dependencies;return n.directiveDefs=r0(i,!1),n.pipeDefs=r0(i,!0),n.id=k8(n),n})}function M8(e){return fi(e)||xu(e)}function I8(e){return e!==null}function Ti(e){return gr(()=>({type:e.type,bootstrap:e.bootstrap||ot,declarations:e.declarations||ot,imports:e.imports||ot,exports:e.exports||ot,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function S8(e,t){if(e==null)return On;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 T8(e){if(e==null)return On;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Un(e){return gr(()=>{let t=Sh(e);return Th(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 Sh(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||On,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ot,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:S8(e.inputs,t),outputs:T8(e.outputs),debugInfo:null}}function Th(e){e.features?.forEach(t=>t(e))}function r0(e,t){if(!e)return null;let n=t?s1:M8;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(I8)}function k8(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 A8(e){return Object.getPrototypeOf(e.prototype).constructor}function Xe(e){let t=A8(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=ed(e.inputs),a.declaredInputs=ed(e.declaredInputs),a.outputs=ed(e.outputs);let c=r.hostBindings;c&&P8(e,c);let d=r.viewQuery,f=r.contentQueries;if(d&&O8(e,d),f&&R8(e,f),N8(e,r),e1(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===Xe&&(n=!1)}}t=Object.getPrototypeOf(t)}L8(i)}function N8(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 L8(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 ed(e){return e===On?{}:e===ot?[]:e}function O8(e,t){let n=e.viewQuery;n?e.viewQuery=(i,r)=>{t(i,r),n(i,r)}:e.viewQuery=t}function R8(e,t){let n=e.contentQueries;n?e.contentQueries=(i,r,o)=>{t(i,r,o),n(i,r,o)}:e.contentQueries=t}function P8(e,t){let n=e.hostBindings;n?e.hostBindings=(i,r)=>{t(i,r),n(i,r)}:e.hostBindings=t}function F8(e,t,n,i,r,o,a,c,d){let f=t.consts,h=Oo(t,e,4,a||null,c||null);Ia()&&np(t,n,h,Vt(f,d),Wd),h.mergedAttrs=pr(h.mergedAttrs,h.attrs),Rd(t,h);let g=h.tView=Ud(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+Oe,y=t.firstCreatePass?F8(g,t,e,i,r,o,a,c,f):t.data[g];d&&(y.flags|=d),Fn(y,!1);let v=V8(t,e,y,n);vo()&&ul(t,e,v,y),br(v,e);let _=fh(v,e,v,y);return e[g]=_,$d(e,_),D8(_,y,e),mo(y)&&al(t,e,y),f!=null&&Zd(e,y,h),y}function ae(e,t,n,i,r,o,a,c){let d=Y(),f=Re(),h=Vt(f.consts,o);return mr(d,f,e,t,n,i,r,h,void 0,a,c),ae}var V8=j8;function j8(e,t,n,i){return yo(!0),t[xe].createComment("")}var rp=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(rp||{}),Ro=new z(""),kh=!1,_d=class extends Ot{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,u1()&&(this.destroyRef=P(wi,{optional:!0})??void 0,this.pendingTasks=P(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 nt&&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)}})}}},te=_d;function Ah(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 o0(e){return queueMicrotask(()=>e()),()=>{e=Co}}var op="isAngularZone",Qa=op+"_ID",H8=0,Pe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new te(!1);onMicrotaskEmpty=new te(!1);onStable=new te(!1);onError=new te(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=kh}=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,z8(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(op)===!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,B8,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)}},B8={};function sp(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 U8(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ah(()=>{e.callbackScheduled=!1,Cd(e),e.isCheckStableRunning=!0,sp(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Cd(e)}function z8(e){let t=()=>{U8(e)},n=H8++;e._inner=e._inner.fork({name:"angular",properties:{[op]:!0,[Qa]:n,[Qa+n]:!0},onInvokeTask:(i,r,o,a,c,d)=>{if($8(d))return i.invokeTask(o,a,c,d);try{return s0(e),i.invokeTask(o,a,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),a0(e)}},onInvoke:(i,r,o,a,c,d,f)=>{try{return s0(e),i.invoke(o,a,c,d,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Z8(d)&&t(),a0(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,Cd(e),sp(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 Cd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function s0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function a0(e){e._nesting--,sp(e)}var Xa=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new te;onMicrotaskEmpty=new te;onStable=new te;onError=new te;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 $8(e){return Nh(e,"__ignore_ng_zone__")}function Z8(e){return Nh(e,"__scheduler_tick__")}function Nh(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Lh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();var ap=new z("");function bl(e){return!!e&&typeof e.then=="function"}function lp(e){return!!e&&typeof e.subscribe=="function"}var Oh=new z("");var cp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i});appInits=P(Oh,{optional:!0})??[];injector=P(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(lp(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})(),Rh=new z("");function Ph(){jc(()=>{let e="";throw new j(600,e)})}function Fh(e){return e.isBoundToModule}var W8=10;var ki=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=P(Jt);afterRenderManager=P(Lh);zonelessEnabled=P(La);rootEffectScheduler=P(Yu);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=P(Di);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(it(n=>!n))}constructor(){P(Ro,{optional:!0})}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{n.unsubscribe()})}_injector=P(ut);_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(Pe).run(()=>{de(10);let a=n instanceof pl;if(!this._injector.get(cp).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=Fh(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(ap,null);return v?.registerApplication(y),g.onDestroy(()=>{this.detachView(g.hostView),Do(this.components,g),v?.unregisterApplication(y)}),this._loadComponent(g),de(11,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){de(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(rp.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(),de(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++<W8;)de(14),this.synchronizeOnce(),de(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;Kd(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(Rh,[]).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 yn(e,t,n,i){let r=Y(),o=Ci();if(_t(r,o,t)){let a=Re(),c=Zu();a_(c,r,e,t,n,i)}return yn}var wd=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 td(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function G8(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=td(o,f,o,h,n);if(g!==0){g<0&&e.updateValue(o,h),o++;continue}let y=e.at(a),v=t[d],_=td(a,y,d,v,n);if(_!==0){_<0&&e.updateValue(a,v),a--,d--;continue}let M=n(o,f),A=n(a,y),k=n(o,h);if(Object.is(k,A)){let ne=n(d,v);Object.is(ne,M)?(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??=c0(e,o,a,n),Dd(e,i,o,k))e.updateValue(o,h),o++,a++;else if(r.has(k))i.set(M,e.detach(o)),a--;else{let ne=e.create(o,t[o]);e.attach(o,ne),o++,a++}}for(;o<=d;)l0(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=td(o,h,o,g,n);if(y!==0)y<0&&e.updateValue(o,g),o++,f=d.next();else{i??=new Ka,r??=c0(e,o,a,n);let v=n(o,g);if(Dd(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;)l0(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 Dd(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function l0(e,t,n,i,r){if(Dd(e,t,i,n(i,r)))e.updateValue(i,r);else{let o=e.create(i,r);e.attach(i,o)}}function c0(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 Ie(e,t,n,i,r,o,a,c){Cr("NgControlFlow");let d=Y(),f=Re(),h=Vt(f.consts,o);return mr(d,f,e,t,n,i,r,h,256,a,c),up}function up(e,t,n,i,r,o,a,c){Cr("NgControlFlow");let d=Y(),f=Re(),h=Vt(f.consts,o);return mr(d,f,e,t,n,i,r,h,512,a,c),up}function Se(e,t){Cr("NgControlFlow");let n=Y(),i=Ci(),r=n[i]!==Ct?n[i]:-1,o=r!==-1?Ja(n,Oe+r):void 0,a=0;if(_t(n,i,e)){let c=Z(null);try{if(o!==void 0&&hh(o,a),e!==-1){let d=Oe+e,f=Ja(n,d),h=Id(n[G],d),g=vh(f,h,n),y=Ao(n,h,t,{dehydratedView:g});No(f,y,a,fr(h,g))}}finally{Z(c)}}else if(o!==void 0){let c=mh(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-Ye}};var Ed=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(),_=Re(),M=d!==void 0,A=Y(),k=c?a.bind(A[at][Ne]):a,ne=new Ed(M,k);A[Oe+e]=ne,mr(v,_,e+1,t,n,i,r,Vt(_.consts,o),256),M&&mr(v,_,e+2,d,f,h,g,Vt(_.consts,y),512)}var Md=class extends wd{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-Ye}at(t){return this.getLView(t)[Ne].$implicit}attach(t,n){let i=n[mi];this.needsIndexUpdate||=t!==this.length,No(this.lContainer,n,t,fr(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Y8(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 q8(this.lContainer,t)}};function yl(e){let t=Z(null),n=bn();try{let i=Y(),r=i[G],o=i[n],a=n+1,c=Ja(i,a);if(o.liveCollection===void 0){let f=Id(r,a);o.liveCollection=new Md(c,i,f)}else o.liveCollection.reset();let d=o.liveCollection;if(G8(d,e,o.trackByFn),d.updateIndexes(),o.hasEmptyBlock){let f=Ci(),h=d.length===0;if(_t(i,f,h)){let g=n+2,y=Ja(i,g);if(h){let v=Id(r,g),_=vh(y,v,i),M=Ao(i,v,void 0,{dehydratedView:_});No(y,M,0,fr(v,_))}else r.firstUpdatePass&&$_(y),hh(y,0)}}}finally{Z(t)}}function Ja(e,t){return e[t]}function Y8(e,t){return Eo(e,t)}function q8(e,t){return mh(e,t)}function Id(e,t){return ho(e,t)}function x(e,t,n){let i=Y(),r=Ci();if(_t(i,r,t)){let o=Re(),a=Zu();t_(a,i,e,t,i[xe],n)}return x}function Sd(e,t,n,i,r){Gd(t,e,n,r?"class":"style",i)}function D(e,t,n,i){let r=Y(),o=Re(),a=Oe+e,c=r[xe],d=o.firstCreatePass?wh(a,o,r,t,Wd,Ia(),n,i):o.data[a],f=Q8(o,r,d,c,t,e);r[a]=f;let h=mo(d);return Fn(d,!0),Y0(c,f,d),!ll(d)&&vo()&&ul(o,r,f,d),(y1()===0||h)&&br(f,r),_1(),h&&(al(o,r,d),jd(o,d,r)),i!==null&&Zd(r,d),D}function T(){let e=dt();Sa()?Ta():(e=e.parent,Fn(e,!1));let t=e;w1(t)&&D1(),C1();let n=Re();return n.firstCreatePass&&Dh(n,t),t.classesWithoutHost!=null&&t5(t)&&Sd(n,t,Y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&n5(t)&&Sd(n,t,Y(),t.stylesWithoutHost,!1),T}function J(e,t,n,i){return D(e,t,n,i),T(),J}var Q8=(e,t,n,i,r,o)=>(yo(!0),Z0(i,r,R1()));function X8(e,t,n,i,r){let o=t.consts,a=Vt(o,i),c=Oo(t,e,8,"ng-container",a);a!==null&&bd(c,a,!0);let d=Vt(o,r);return Ia()&&np(t,n,c,d,Wd),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=Re(),o=e+Oe,a=r.firstCreatePass?X8(o,r,i,t,n):r.data[o];Fn(a,!0);let c=K8(r,i,a,e);return i[o]=c,vo()&&ul(r,i,c,a),br(c,i),mo(a)&&(al(r,i,a),jd(r,a,i)),n!=null&&Zd(i,a),Po}function Fo(){let e=dt(),t=Re();return Sa()?Ta():(e=e.parent,Fn(e,!1)),t.firstCreatePass&&(Rd(t,e),Da(e)&&t.queries.elementEnd(e)),Fo}function tn(e,t,n){return Po(e,t,n),Fo(),tn}var K8=(e,t,n,i)=>(yo(!0),Z5(t[xe],""));function ve(){return Y()}var Vo="en-US";var J8=Vo;function Vh(e){typeof e=="string"&&(J8=e.toLowerCase().replace(/_/g,"-"))}function F(e,t,n){let i=Y(),r=Re(),o=dt();return e9(r,i,i[xe],o,e,t,n),F}function e9(e,t,n,i,r,o,a){let c=!0,d=null;if((i.type&3||a)&&(d??=Ku(i,t,o),a8(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??=Ku(i,t,o),e0(i,t,y,v,r,d)}if(f&&f.length)for(let g of f)d??=Ku(i,t,o),e0(i,t,g,r,r,d)}}function E(e=1){return O1(e)}function t9(e,t){let n=null,i=P5(e);for(let r=0;r<t.length;r++){let o=t[r];if(o==="*"){n=r;continue}if(i===null?$0(e,o,!0):j5(i,o))return r}return n}function dp(e){let t=Y()[at][st];if(!t.projection){let n=e?e.length:1,i=t.projection=r1(n,null),r=i.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let a=e?t9(o,e):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function pp(e,t=0,n,i,r,o){let a=Y(),c=Re(),d=i?e+1:null;d!==null&&mr(a,c,d,i,r,o,null,n);let f=Oo(c,Oe+e,16,null,n||null);f.projection===null&&(f.projection=t),Ta();let g=!a[mi]||Pu();a[at][st].projection[f.projection]===null&&d!==null?n9(a,c,d):g&&!ll(f)&&x_(c,a,f)}function n9(e,t,n){let i=Oe+n,r=t.data[i],o=e[i],a=Ga(o,r.tView.ssrId),c=Ao(e,r,void 0,{dehydratedView:a});No(o,c,0,fr(r,a))}function _n(e){let t=E1();return Nu(t,Oe+e)}function Ra(e,t){return e<<17|t<<2}function Ii(e){return e>>17&32767}function i9(e){return(e&2)==2}function r9(e,t){return e&131071|t<<17}function Td(e){return e|2}function hr(e){return(e&131068)>>2}function nd(e,t){return e&-131069|t<<2}function o9(e){return(e&1)===1}function kd(e){return e|1}function s9(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]=nd(e[y+1],i)),e[c+1]=r9(e[c+1],i)}else e[i+1]=Ra(c,0),c!==0&&(e[c+1]=nd(e[c+1],i)),c=i;else e[i+1]=Ra(d,0),c===0?c=i:e[d+1]=nd(e[d+1],i),d=i;f&&(e[i+1]=Td(e[i+1])),u0(e,h,i,!0),u0(e,h,i,!1),a9(t,h,e,i,o),a=Ra(c,d),o?t.classBindings=a:t.styleBindings=a}function a9(e,t,n,i,r){let o=r?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&ir(o,t)>=0&&(n[i+1]=kd(n[i+1]))}function u0(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];l9(d,t)&&(c=!0,e[a+1]=i?kd(f):Td(f)),a=i?Ii(f):hr(f)}c&&(e[n+1]=i?Td(r):kd(r))}function l9(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 c9(e){return e.substring(Ht.key,Ht.keyEnd)}function u9(e){return d9(e),jh(e,Hh(e,0,Ht.textEnd))}function jh(e,t){let n=Ht.textEnd;return n===t?-1:(t=Ht.keyEnd=p9(e,Ht.key=t,n),Hh(e,t,n))}function d9(e){Ht.key=0,Ht.keyEnd=0,Ht.value=0,Ht.valueEnd=0,Ht.textEnd=e.length}function Hh(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function p9(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function zn(e,t,n){return Bh(e,t,n,!1),zn}function _l(e,t){return Bh(e,t,null,!0),_l}function fp(e){m9(_9,f9,e,!0)}function f9(e,t){for(let n=u9(t);n>=0;n=jh(t,n))va(e,c9(t),!0)}function Bh(e,t,n,i){let r=Y(),o=Re(),a=Bu(2);if(o.firstUpdatePass&&zh(o,e,a,i),t!==Ct&&_t(r,a,t)){let c=o.data[bn()];$h(o,c,r,r[xe],e,r[a+1]=w9(t,n),i,a)}}function m9(e,t,n,i){let r=Re(),o=Bu(2);r.firstUpdatePass&&zh(r,null,o,i);let a=Y();if(n!==Ct&&_t(a,o,n)){let c=r.data[bn()];if(Zh(c,i)&&!Uh(r,o)){let d=i?c.classesWithoutHost:c.stylesWithoutHost;d!==null&&(n=pa(d,n||"")),Sd(r,c,a,n,i)}else C9(r,c,a,a[xe],a[o+1],a[o+1]=y9(e,t,n),i,o)}}function Uh(e,t){return t>=e.expandoStartIndex}function zh(e,t,n,i){let r=e.data;if(r[n+1]===null){let o=r[bn()],a=Uh(e,n);Zh(o,i)&&t===null&&!a&&(t=!1),t=h9(r,o,t,i),s9(r,o,t,n,a,i)}}function h9(e,t,n,i){let r=k1(e),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(n=id(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=id(r,e,t,n,i),o===null){let d=g9(e,t,i);d!==void 0&&Array.isArray(d)&&(d=id(null,e,t,d[1],i),d=To(d,t.attrs,i),b9(e,t,i,d))}else o=v9(e,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),n}function g9(e,t,n){let i=n?t.classBindings:t.styleBindings;if(hr(i)!==0)return e[Ii(i)]}function b9(e,t,n,i){let r=n?t.classBindings:t.styleBindings;e[Ii(r)]=i}function v9(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 id(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 y9(e,t,n){if(n==null||n==="")return ot;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 _9(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&va(e,i,n)}function C9(e,t,n,i,r,o,a,c){r===Ct&&(r=ot);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,M;h===g?(d+=2,f+=2,y!==v&&(_=g,M=v)):g===null||h!==null&&h<g?(d+=2,_=h):(f+=2,_=g,M=v),_!==null&&$h(e,t,n,i,_,M,a,c),h=d<r.length?r[d]:null,g=f<o.length?o[f]:null}}function $h(e,t,n,i,r,o,a,c){if(!(t.type&3))return;let d=e.data,f=d[c+1],h=o9(f)?d0(d,t,n,r,hr(f),a):void 0;if(!el(h)){el(o)||i9(f)&&(o=d0(d,null,n,r,c,a));let g=Au(bn(),n);M_(i,a,g,r,o)}}function d0(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===Ct&&(y=g?ot: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 w9(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=bt(ol(e)))),e}function Zh(e,t){return(e.flags&(t?8:16))!==0}function X(e,t=""){let n=Y(),i=Re(),r=e+Oe,o=i.firstCreatePass?Oo(i,r,1,t,null):i.data[r],a=D9(i,n,o,t,e);n[r]=a,vo()&&ul(i,n,a,o),Fn(o,!1)}var D9=(e,t,n,i,r)=>(yo(!0),z5(t[xe],i));function x9(e,t,n,i=""){return _t(e,Ci(),n)?t+nr(n)+i:Ct}function qe(e){return Ee("",e),qe}function Ee(e,t,n){let i=Y(),r=x9(i,e,t,n);return r!==Ct&&E9(i,bn(),r),Ee}function E9(e,t,n){let i=Au(t,e);$5(e[xe],i,n)}function ue(e){return _t(Y(),Ci(),e)?nr(e):Ct}function M9(e,t,n){let i=Re();if(i.firstCreatePass){let r=Kt(e);Ad(n,i.data,i.blueprint,r,!0),Ad(t,i.data,i.blueprint,r,!1)}}function Ad(e,t,n,i,r){if(e=Ge(e),Array.isArray(e))for(let o=0;o<e.length;o++)Ad(e[o],t,n,i,r);else{let o=Re(),a=Y(),c=dt(),d=ci(e)?e:Ge(e.provide),f=Iu(e),h=c.providerIndexes&1048575,g=c.directiveStart,y=c.providerIndexes>>20;if(ci(e)||!e.multi){let v=new Ei(f,r,Fe),_=od(d,t,r?h:h+y,g);_===-1?(ad(za(c,a),o,d),rd(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=od(d,t,h+y,g),_=od(d,t,h,h+y),M=v>=0&&n[v],A=_>=0&&n[_];if(r&&!A||!r&&!M){ad(za(c,a),o,d);let k=T9(r?S9:I9,n.length,r,i,f);!r&&A&&(n[_].providerFactory=k),rd(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=Wh(n[r?_:v],f,!r&&i);rd(o,e,v>-1?v:_,k)}!r&&i&&A&&n[_].componentProviders++}}}function rd(e,t,n,i){let r=ci(t),o=c1(t);if(r||o){let d=(o?Ge(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 Wh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function od(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function I9(e,t,n,i){return Nd(this.multi,[])}function S9(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 T9(e,t,n,i,r){let o=new Ei(e,n,Fe);return o.multi=[],o.index=t,o.componentProviders=0,Wh(o,r,i&&!n),o}function ze(e,t=[]){return n=>{n.providersResolver=(i,r)=>M9(i,r?r(e):e,t)}}function lt(e,t,n,i){return Gh(Y(),cr(),e,t,n,i)}function Ai(e,t,n,i,r){return k9(Y(),cr(),e,t,n,i,r)}function Cn(e,t,n,i,r,o){return A9(Y(),cr(),e,t,n,i,r,o)}function mp(e,t,n,i,r,o,a,c){let d=cr()+e,f=Y(),h=s8(f,d,n,i,r,o);return _t(f,d+4,a)||h?hl(f,d+5,c?t.call(c,n,i,r,o,a):t(n,i,r,o,a)):r8(f,d+5)}function hp(e,t){let n=e[t];return n===Ct?void 0:n}function Gh(e,t,n,i,r,o){let a=t+n;return _t(e,a,r)?hl(e,a+1,o?i.call(o,r):i(r)):hp(e,a+1)}function k9(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)):hp(e,c+2)}function A9(e,t,n,i,r,o,a,c){let d=t+n;return o8(e,d,r,o,a)?hl(e,d+3,c?i.call(c,r,o,a):i(r,o,a)):hp(e,d+3)}function Ce(e,t){let n=Re(),i,r=e+Oe;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=An(i.type,!0)),a,c=rt(Fe);try{let d=Ua(!1),f=o();return Ua(d),Lu(n,Y(),r,f),f}finally{rt(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 we(e,t,n){let i=e+Oe,r=Y(),o=Nu(r,i);return L9(r,i)?Gh(r,cr(),t,o.transform,n,o):o.transform(n)}function L9(e,t){return e[G].data[t].pure}function wr(e,t){return bh(e,t)}var O9=(()=>{class e{zone=P(Pe);changeDetectionScheduler=P(qt);applicationRef=P(ki);applicationErrorHandler=P(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 Yh({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Pe(tt(Ae({},qh()),{scheduleInRootZone:n})),[{provide:Pe,useFactory:e},{provide:pi,multi:!0,useFactory:()=>{let i=P(O9,{optional:!0});return()=>i.initialize()}},{provide:pi,multi:!0,useFactory:()=>{let i=P(R9);return()=>{i.initialize()}}},t===!0?{provide:Wu,useValue:!0}:[],{provide:Gu,useValue:n??kh},{provide:Jt,useFactory:()=>{let i=P(Pe),r=P(ut),o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(Yt),o.handleError(a))})}}}]}function qh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var R9=(()=>{class e{subscription=new nt;initialized=!1;zone=P(Pe);pendingTasks=P(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(()=>{Pe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Pe.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 Qh=(()=>{class e{applicationErrorHandler=P(Jt);appRef=P(ki);taskService=P(Di);ngZone=P(Pe);zonelessEnabled=P(La);tracing=P(Ro,{optional:!0});disableScheduling=P(Wu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new nt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qa):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(P(Gu,{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?o0:Ah;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,o0(()=>{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 P9(){return typeof $localize<"u"&&$localize.locale||Vo}var Cl=new z("",{providedIn:"root",factory:()=>P(Cl,{optional:!0,skipSelf:!0})||P9()});function gp(e,t){return Os(e,t?.equal)}var Xh=class{[ct];constructor(t){this[ct]=t}destroy(){this[ct].destroy()}};var ng=Symbol("InputSignalNode#UNSET"),Q9=tt(Ae({},Rs),{transformFn:void 0,applyValueToInputSignal(e,t){Kr(e,t)}});function ig(e,t){let n=Object.create(Q9);n.value=e,n.transformFn=t?.transform;function i(){if(qr(n),n.value===ng){let r=null;throw new j(-950,r)}return n.value}return i[ct]=n,i}var X9=new z("");X9.__NG_ELEMENT_ID__=e=>{let t=dt();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 Kh(e,t){return ig(e,t)}function K9(e){return ig(ng,e)}var Ho=(Kh.required=K9,Kh);var bp=new z(""),J9=new z("");function jo(e){return!e.moduleRef}function eC(e){let t=jo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Pe);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(bp);a.add(o),t.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>e.moduleRef.destroy(),a=e.platformInjector.get(bp);a.add(o),e.moduleRef.onDestroy(()=>{Do(e.allPlatformModules,e.moduleRef),r.unsubscribe(),a.delete(o)})}return nC(i,n,()=>{let o=t.get(cp);return o.runInitializers(),o.donePromise.then(()=>{let a=t.get(Cl,Vo);if(Vh(a||Vo),!t.get(J9,!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 tC?.(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}var tC;function nC(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 iC(e=[],t){return Gt.create({name:t,providers:[{provide:ao,useValue:"platform"},{provide:bp,useValue:new Set([()=>wl=null])},...e]})}function rC(e=[]){if(wl)return wl;let t=iC(e);return wl=t,Ph(),oC(t),t}function oC(e){let t=e.get(il,null);rr(e,()=>{t?.forEach(n=>n())})}var Ep=(()=>{class e{static __NG_ELEMENT_ID__=sC}return e})();function sC(e){return aC(dt(),Y(),(e&16)===16)}function aC(e,t,n){if(Pn(e)&&!n){let i=St(e.index,t);return new Hn(i,i)}else if(e.type&175){let i=t[at];return new Hn(i,t)}return null}var vp=class{constructor(){}supports(t){return ip(t)}create(t){return new yp(t)}},lC=(e,t)=>t,yp=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||lC}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<Jh(i,r,o)?n:i,c=Jh(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=[]),!ip(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,xh(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 _p(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}},_p=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}},Cp=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 Cp,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 Jh(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 wp=class{constructor(){}supports(t){return t instanceof Map||ml(t)}create(){return new Dp}},Dp=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 eg(){return new Mp([new vp])}var Mp=(()=>{class e{factories;static \u0275prov=W({token:e,providedIn:"root",factory:eg});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||eg()),deps:[[e,new Od,new Ld]]}}find(n){let i=this.factories.find(r=>r.supports(n));if(i!=null)return i;throw new j(901,!1)}}return e})();function tg(){return new Ip([new wp])}var Ip=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:tg});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||tg()),deps:[[e,new Od,new Ld]]}}find(n){let i=this.factories.find(r=>r.supports(n));if(i)return i;throw new j(901,!1)}}return e})();function rg(e){de(8);try{let{rootComponent:t,appProviders:n,platformProviders:i}=e,r=rC(i),o=[Yh({}),{provide:qt,useExisting:Qh},V1,...n||[]],a=new So({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return eC({r3Injector:a.injector,platformInjector:r,rootComponent:t})}catch(t){return Promise.reject(t)}finally{de(9)}}function I(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var cC={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function uC(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function dC(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Sp;function pC(e,t){if(!Sp){let n=Element.prototype;Sp=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Sp.call(e,t):!1}function fC(e){let t={};return e.forEach(({propName:n,templateName:i,transform:r})=>{t[uC(i)]=[n,r]}),t}function mC(e,t){return t.get(Si).resolveComponentFactory(e).inputs}function hC(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=gC(c,t,r);d!==-1&&i[d].push(c)}return i}function gC(e,t,n){let i=n;return dC(e)&&t.some((r,o)=>r!=="*"&&pC(e,r)?(i=o,!0):!1),i}var bC=10,Tp=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 kp(this.componentFactory,t,this.inputMap)}},kp=class{componentFactory;injector;inputMap;eventEmitters=new Tn(1);events=this.eventEmitters.pipe(kn(t=>Qc(...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(Pe),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=cC.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},bC))})}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),ep(this.componentRef.hostView)&&(tp(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let n=Gt.create({providers:[],parent:this.injector}),i=hC(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()}},Ap=class extends HTMLElement{ngElementEventsSubscription=null};function wt(e,t){let n=mC(e,t.injector),i=t.strategyFactory||new Tp(e,t.injector),r=fC(n);class o extends Ap{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 og=null;function Uo(){return og}function Np(e){og??=e}var Bo=class{};var Lp=/\s+/,sg=[],$e=(()=>{class e{_ngEl;_renderer;initialClasses=sg;rawClass;stateMap=new Map;constructor(n,i){this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=n!=null?n.trim().split(Lp):sg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Lp):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(Lp).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)(Fe(Bn),Fe(fl))};static \u0275dir=Un({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var xl=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}},pt=(()=>{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 xl(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),ag(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);ag(o,r)})}static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)(Fe(_r),Fe(Lo),Fe(Mp))};static \u0275dir=Un({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function ag(e,t){e.context.$implicit=t.item}var zo=(()=>{class e{_viewContainer;_context=new El;_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){lg(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){lg(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)(Fe(_r),Fe(Lo))};static \u0275dir=Un({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),El=class{$implicit=null;ngIf=null};function lg(e,t){if(e&&!e.createEmbeddedView)throw new j(2020,!1)}var Op=(()=>{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)(Fe(Bn),Fe(Ip),Fe(fl))};static \u0275dir=Un({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)(Fe(_r))};static \u0275dir=Un({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ut]})}return e})();var me=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ti({type:e});static \u0275inj=Ln({})}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 Ni=class{};var cg="browser",vC="server";function ug(e){return e===vC}var Sl=new z(""),Vp=(()=>{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(Pe))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Wo=class{_doc;constructor(t){this._doc=t}manager},Ml="ng-app-id";function dg(e){for(let t of e)t.remove()}function pg(e,t){let n=t.createElement("style");return n.textContent=e,n}function yC(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 Pp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var jp=(()=>{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=ug(o),yC(n,i,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,i){for(let r of n)this.addUsage(r,this.inline,pg);i?.forEach(r=>this.addUsage(r,this.external,Pp))}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&&(dg(r.elements),i.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])dg(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(n,pg(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(n,Pp(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(yt),V(nl),V(rl,8),V(vr))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Rp={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"},Hp=/%COMP%/g;var mg="%COMP%",_C=`_nghost-${mg}`,CC=`_ngcontent-${mg}`,wC=!0,DC=new z("",{providedIn:"root",factory:()=>wC});function xC(e){return CC.replace(Hp,e)}function EC(e){return _C.replace(Hp,e)}function hg(e,t){return t.map(n=>n.replace(Hp,e))}var Bp=(()=>{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 vn.Emulated:o=new Il(d,f,i,this.appId,h,a,c,g,y);break;case vn.ShadowDom:return new Fp(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(Vp),V(jp),V(nl),V(DC),V(yt),V(vr),V(Pe),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(Rp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(fg(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(fg(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=Rp[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){let r=Rp[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 fg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Fp=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=hg(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=Pp(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?hg(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=xC(h),this.hostAttr=EC(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=MC();return n==null?null:IC(n)}resetBaseElement(){qo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Zo(document.cookie,t)}},qo=null;function MC(){return qo=qo||document.head.querySelector("base"),qo?qo.getAttribute("href"):null}function IC(e){return new URL(e,document.baseURI).pathname}var SC=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),bg=(()=>{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(yt))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),gg=["alt","control","meta","shift"],TC={"\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"},kC={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},vg=(()=>{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."),gg.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=TC[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"),gg.forEach(a=>{if(a!==r){let c=kC[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(yt))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();function Up(e){return rg(AC(e))}function AC(e){return{appProviders:[...PC,...e?.providers??[]],platformProviders:RC}}function NC(){Tl.makeCurrent()}function LC(){return new Yt}function OC(){return Vd(document),document}var RC=[{provide:vr,useValue:cg},{provide:il,useValue:NC,multi:!0},{provide:yt,useFactory:OC}];var PC=[{provide:ao,useValue:"root"},{provide:Yt,useFactory:LC},{provide:Sl,useClass:bg,multi:!0,deps:[yt]},{provide:Sl,useClass:vg,multi:!0,deps:[yt]},Bp,jp,Vp,{provide:Mi,useExisting:Bp},{provide:Ni,useClass:SC},[]];var xr=class{},Qo=class{},$n=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
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 yg(t)}encodeValue(t){return yg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function FC(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 VC=/%(\d[a-f0-9])/gi,jC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function yg(e){return encodeURIComponent(e).replace(VC,(t,n)=>jC[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=FC(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 Nl=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 HC(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function _g(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Cg(e){return typeof Blob<"u"&&e instanceof Blob}function wg(e){return typeof FormData<"u"&&e instanceof FormData}function BC(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Dg="Content-Type",xg="Accept",Eg="X-Request-URL",Mg="text/plain",Ig="application/json",UC=`${Ig}, ${Mg}, */*`,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(HC(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 $n,this.context??=new Nl,!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"||_g(this.body)||Cg(this.body)||wg(this.body)||BC(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||wg(this.body)?null:Cg(this.body)?this.body.type||null:_g(this.body)?null:typeof this.body=="string"?Mg:this.body instanceof Dn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ig: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})}},Li=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}(Li||{}),Er=class{headers;status;statusText;url;ok;type;constructor(t,n=200,i="OK"){this.headers=t.headers||new $n,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}},Ll=class e extends Er{constructor(t={}){super(t)}type=Li.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 Er{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Li.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 Er{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}},zC=200,$C=204;function zp(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 $n?d=r.headers:d=new $n(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=hn(o).pipe(to(d=>this.handler.handle(d)));if(n instanceof Dr||r.observe==="events")return a;let c=a.pipe(Xc(d=>d instanceof Xo));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(it(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new j(2806,!1);return d.body}));case"blob":return c.pipe(it(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new j(2807,!1);return d.body}));case"text":return c.pipe(it(d=>{if(d.body!==null&&typeof d.body!="string")throw new j(2808,!1);return d.body}));case"json":default:return c.pipe(it(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,zp(r,i))}post(n,i,r={}){return this.request("POST",n,zp(r,i))}put(n,i,r={}){return this.request("PUT",n,zp(r,i))}static \u0275fac=function(i){return new(i||e)(V(xr))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var ZC=new z("");function WC(e,t){return t(e)}function GC(e,t,n){return(i,r)=>rr(n,()=>t(i,o=>e(o,r)))}var Sg=new z(""),Tg=new z(""),kg=new z("",{providedIn:"root",factory:()=>!0});var Ol=(()=>{class e extends xr{backend;injector;chain=null;pendingTasks=P(_o);contributeToStability=P(kg);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(Sg),...this.injector.get(Tg,[])]));this.chain=i.reduceRight((r,o)=>GC(r,o,this.injector),WC)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,r=>this.backend.handle(r)).pipe(Kc(i))}else return this.chain(n,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(V(Qo),V(ut))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var YC=/^\)\]\}',?\n/,qC=RegExp(`^${Eg}:`,"m");function QC(e){return"responseURL"in e&&e.responseURL?e.responseURL:qC.test(e.getAllResponseHeaders())?e.getResponseHeader(Eg):null}var $p=(()=>{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?mn(i.\u0275loadImpl()):hn(null)).pipe(kn(()=>new oe(o=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((M,A)=>a.setRequestHeader(M,A.join(","))),n.headers.has(xg)||a.setRequestHeader(xg,UC),!n.headers.has(Dg)){let M=n.detectContentTypeHeader();M!==null&&a.setRequestHeader(Dg,M)}if(n.responseType){let M=n.responseType.toLowerCase();a.responseType=M!=="json"?M:"text"}let c=n.serializeBody(),d=null,f=()=>{if(d!==null)return d;let M=a.statusText||"OK",A=new $n(a.getAllResponseHeaders()),k=QC(a)||n.url;return d=new Ll({headers:A,status:a.status,statusText:M,url:k}),d},h=()=>{let{headers:M,status:A,statusText:k,url:ne}=f(),le=null;A!==$C&&(le=typeof a.response>"u"?a.responseText:a.response),A===0&&(A=le?zC:0);let Je=A>=200&&A<300;if(n.responseType==="json"&&typeof le=="string"){let He=le;le=le.replace(YC,"");try{le=le!==""?JSON.parse(le):null}catch(O){le=He,Je&&(Je=!1,le={error:O,text:le})}}Je?(o.next(new Xo({body:le,headers:M,status:A,statusText:k,url:ne||void 0})),o.complete()):o.error(new Ko({error:le,headers:M,status:A,statusText:k,url:ne||void 0}))},g=M=>{let{url:A}=f(),k=new Ko({error:M,status:a.status||0,statusText:a.statusText||"Unknown Error",url:A||void 0});o.error(k)},y=!1,v=M=>{y||(o.next(f()),y=!0);let A={type:Li.DownloadProgress,loaded:M.loaded};M.lengthComputable&&(A.total=M.total),n.responseType==="text"&&a.responseText&&(A.partialText=a.responseText),o.next(A)},_=M=>{let A={type:Li.UploadProgress,loaded:M.loaded};M.lengthComputable&&(A.total=M.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:Li.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(Ni))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Ag=new z(""),XC="XSRF-TOKEN",KC=new z("",{providedIn:"root",factory:()=>XC}),JC="X-XSRF-TOKEN",e6=new z("",{providedIn:"root",factory:()=>JC}),Jo=class{},t6=(()=>{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(yt),V(KC))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();function n6(e,t){let n=e.url.toLowerCase();if(!P(Ag)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let i=P(Jo).getToken(),r=P(e6);return i!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),t(e)}function Zp(...e){let t=[Mr,$p,Ol,{provide:xr,useExisting:Ol},{provide:Qo,useFactory:()=>P(ZC,{optional:!0})??P($p)},{provide:Sg,useValue:n6,multi:!0},{provide:Ag,useValue:!0},{provide:Jo,useClass:t6}];for(let n of e)t.push(...n.\u0275providers);return so(t)}var Wn=class{},Ng=(()=>{class e extends Wn{getTranslation(n){return hn({})}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{},Lg=(()=>{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 Zn(e){return typeof e<"u"&&e!==null}function ns(e){return Rl(e)&&!Kp(e)&&e!==null}function Rl(e){return typeof e=="object"}function Kp(e){return Array.isArray(e)}function Jp(e){return typeof e=="string"}function r6(e){return typeof e=="function"}function Wp(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]=Wp(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):Wp({},t)}function Gp(e,t){let n=t.split(".");t="";do t+=n.shift(),Zn(e)&&Zn(e[t])&&(ns(e[t])||Kp(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function o6(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{},Og=(()=>{class e extends Ir{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,i){if(Jp(n))return this.interpolateString(n,i);if(r6(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=Gp(i,o);return Zn(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{},Rg=(()=>{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 te;onLangChange=new te;onDefaultLangChange=new te},Yp=new z("ISOLATE_TRANSLATE_SERVICE"),qp=new z("USE_DEFAULT_LANG"),Qp=new z("DEFAULT_LANGUAGE"),Xp=new z("USE_EXTEND"),es=e=>si(e)?e:hn(e),Te=(()=>{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 hn(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),hn(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(it(r=>this.compiler.compileTranslations(r,n)),oa(1),er(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?Ae(Ae({},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]=Wp(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(Gp(n,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Gp(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(Kp(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(it(d=>{let f={};return d.forEach((h,g)=>{f[i[g]]=h}),f}))}return this.getParsedResultForKey(n,i,r)}get(n,i){if(!Zn(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(!Zn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return ia(ra(()=>this.get(n,i)),this.onTranslationChange.pipe(kn(r=>{let o=this.getParsedResult(r.translations,n,i);return es(o)})))}stream(n,i){if(!Zn(n)||!n.length)throw new Error('Parameter "key" required');return ia(ra(()=>this.get(n,i)),this.onLangChange.pipe(kn(r=>{let o=this.getParsedResult(r.translations,n,i);return es(o)})))}instant(n,i){if(!Zn(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){o6(this.translations[r],n,Jp(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(Wn),V(Sr),V(Ir),V(Oi),V(qp),V(Yp),V(Xp),V(Qp))};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ke=(()=>{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(Zn(i[0])&&i.length)if(Jp(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)(Fe(Te,16),Fe(Ep,16))};static \u0275pipe=gl({name:"translate",type:e,pure:!1});static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var je=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:Wn,useClass:Ng},n.compiler||{provide:Sr,useClass:Rg},n.parser||{provide:Ir,useClass:Og},n.missingTranslationHandler||{provide:Oi,useClass:Lg},ts,{provide:Yp,useValue:n.isolate},{provide:qp,useValue:n.useDefaultLang},{provide:Xp,useValue:n.extend},{provide:Qp,useValue:n.defaultLanguage},Te]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:Wn,useClass:Ng},n.compiler||{provide:Sr,useClass:Rg},n.parser||{provide:Ir,useClass:Og},n.missingTranslationHandler||{provide:Oi,useClass:Lg},{provide:Yp,useValue:n.isolate},{provide:qp,useValue:n.useDefaultLang},{provide:Xp,useValue:n.extend},{provide:Qp,useValue:n.defaultLanguage},Te]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ti({type:e});static \u0275inj=Ln({})}return e})();var ft=(()=>{let t=class t{constructor(){this.translateService=P(Te),this._selectedLanguage=jn("en"),this._localizedStrings=jn({})}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=pe({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[ze([Te])],decls:2,vars:0,template:function(r,o){r&1&&(D(0,"p"),X(1," localized widget works! "),T())},dependencies:[me,je],encapsulation:3});let e=t;return e})();function he(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 ft{constructor(){super(),this.bimplusContactClicked=new te}_contactClicked(){he(this,"bimplusContactClicked","contact")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=pe({type:t,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},features:[ze([Te]),Xe],decls:3,vars:3,consts:[["href","https://www.allplan.com/info/contact","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(r,o){r&1&&(D(0,"a",0),Ce(1,"translate"),F("click",function(){return o._contactClicked()}),J(2,"div",1),T()),r&2&&x("title",we(1,1,"_BimplusContactTitle"))},dependencies:[me,je,Ke],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%}
|
|
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 yg(t)}encodeValue(t){return yg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function FC(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 VC=/%(\d[a-f0-9])/gi,jC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function yg(e){return encodeURIComponent(e).replace(VC,(t,n)=>jC[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=FC(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 Nl=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 HC(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function _g(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Cg(e){return typeof Blob<"u"&&e instanceof Blob}function wg(e){return typeof FormData<"u"&&e instanceof FormData}function BC(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Dg="Content-Type",xg="Accept",Eg="X-Request-URL",Mg="text/plain",Ig="application/json",UC=`${Ig}, ${Mg}, */*`,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(HC(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 $n,this.context??=new Nl,!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"||_g(this.body)||Cg(this.body)||wg(this.body)||BC(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||wg(this.body)?null:Cg(this.body)?this.body.type||null:_g(this.body)?null:typeof this.body=="string"?Mg:this.body instanceof Dn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ig: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})}},Li=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}(Li||{}),Er=class{headers;status;statusText;url;ok;type;constructor(t,n=200,i="OK"){this.headers=t.headers||new $n,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}},Ll=class e extends Er{constructor(t={}){super(t)}type=Li.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 Er{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Li.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 Er{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}},zC=200,$C=204;function zp(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 $n?d=r.headers:d=new $n(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=hn(o).pipe(to(d=>this.handler.handle(d)));if(n instanceof Dr||r.observe==="events")return a;let c=a.pipe(Xc(d=>d instanceof Xo));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(it(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new j(2806,!1);return d.body}));case"blob":return c.pipe(it(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new j(2807,!1);return d.body}));case"text":return c.pipe(it(d=>{if(d.body!==null&&typeof d.body!="string")throw new j(2808,!1);return d.body}));case"json":default:return c.pipe(it(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,zp(r,i))}post(n,i,r={}){return this.request("POST",n,zp(r,i))}put(n,i,r={}){return this.request("PUT",n,zp(r,i))}static \u0275fac=function(i){return new(i||e)(V(xr))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var ZC=new z("");function WC(e,t){return t(e)}function GC(e,t,n){return(i,r)=>rr(n,()=>t(i,o=>e(o,r)))}var Sg=new z(""),Tg=new z(""),kg=new z("",{providedIn:"root",factory:()=>!0});var Ol=(()=>{class e extends xr{backend;injector;chain=null;pendingTasks=P(_o);contributeToStability=P(kg);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(Sg),...this.injector.get(Tg,[])]));this.chain=i.reduceRight((r,o)=>GC(r,o,this.injector),WC)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,r=>this.backend.handle(r)).pipe(Kc(i))}else return this.chain(n,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(V(Qo),V(ut))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var YC=/^\)\]\}',?\n/,qC=RegExp(`^${Eg}:`,"m");function QC(e){return"responseURL"in e&&e.responseURL?e.responseURL:qC.test(e.getAllResponseHeaders())?e.getResponseHeader(Eg):null}var $p=(()=>{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?mn(i.\u0275loadImpl()):hn(null)).pipe(kn(()=>new oe(o=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((M,A)=>a.setRequestHeader(M,A.join(","))),n.headers.has(xg)||a.setRequestHeader(xg,UC),!n.headers.has(Dg)){let M=n.detectContentTypeHeader();M!==null&&a.setRequestHeader(Dg,M)}if(n.responseType){let M=n.responseType.toLowerCase();a.responseType=M!=="json"?M:"text"}let c=n.serializeBody(),d=null,f=()=>{if(d!==null)return d;let M=a.statusText||"OK",A=new $n(a.getAllResponseHeaders()),k=QC(a)||n.url;return d=new Ll({headers:A,status:a.status,statusText:M,url:k}),d},h=()=>{let{headers:M,status:A,statusText:k,url:ne}=f(),le=null;A!==$C&&(le=typeof a.response>"u"?a.responseText:a.response),A===0&&(A=le?zC:0);let Je=A>=200&&A<300;if(n.responseType==="json"&&typeof le=="string"){let He=le;le=le.replace(YC,"");try{le=le!==""?JSON.parse(le):null}catch(O){le=He,Je&&(Je=!1,le={error:O,text:le})}}Je?(o.next(new Xo({body:le,headers:M,status:A,statusText:k,url:ne||void 0})),o.complete()):o.error(new Ko({error:le,headers:M,status:A,statusText:k,url:ne||void 0}))},g=M=>{let{url:A}=f(),k=new Ko({error:M,status:a.status||0,statusText:a.statusText||"Unknown Error",url:A||void 0});o.error(k)},y=!1,v=M=>{y||(o.next(f()),y=!0);let A={type:Li.DownloadProgress,loaded:M.loaded};M.lengthComputable&&(A.total=M.total),n.responseType==="text"&&a.responseText&&(A.partialText=a.responseText),o.next(A)},_=M=>{let A={type:Li.UploadProgress,loaded:M.loaded};M.lengthComputable&&(A.total=M.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:Li.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(Ni))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Ag=new z(""),XC="XSRF-TOKEN",KC=new z("",{providedIn:"root",factory:()=>XC}),JC="X-XSRF-TOKEN",e6=new z("",{providedIn:"root",factory:()=>JC}),Jo=class{},t6=(()=>{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(yt),V(KC))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();function n6(e,t){let n=e.url.toLowerCase();if(!P(Ag)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let i=P(Jo).getToken(),r=P(e6);return i!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),t(e)}function Zp(...e){let t=[Mr,$p,Ol,{provide:xr,useExisting:Ol},{provide:Qo,useFactory:()=>P(ZC,{optional:!0})??P($p)},{provide:Sg,useValue:n6,multi:!0},{provide:Ag,useValue:!0},{provide:Jo,useClass:t6}];for(let n of e)t.push(...n.\u0275providers);return so(t)}var Wn=class{},Ng=(()=>{class e extends Wn{getTranslation(n){return hn({})}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{},Lg=(()=>{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 Zn(e){return typeof e<"u"&&e!==null}function ns(e){return Rl(e)&&!Kp(e)&&e!==null}function Rl(e){return typeof e=="object"}function Kp(e){return Array.isArray(e)}function Jp(e){return typeof e=="string"}function r6(e){return typeof e=="function"}function Wp(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]=Wp(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):Wp({},t)}function Gp(e,t){let n=t.split(".");t="";do t+=n.shift(),Zn(e)&&Zn(e[t])&&(ns(e[t])||Kp(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function o6(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{},Og=(()=>{class e extends Ir{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,i){if(Jp(n))return this.interpolateString(n,i);if(r6(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=Gp(i,o);return Zn(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{},Rg=(()=>{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 te;onLangChange=new te;onDefaultLangChange=new te},Yp=new z("ISOLATE_TRANSLATE_SERVICE"),qp=new z("USE_DEFAULT_LANG"),Qp=new z("DEFAULT_LANGUAGE"),Xp=new z("USE_EXTEND"),es=e=>si(e)?e:hn(e),Te=(()=>{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 hn(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),hn(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(it(r=>this.compiler.compileTranslations(r,n)),oa(1),er(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?Ae(Ae({},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]=Wp(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(Gp(n,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Gp(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(Kp(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(it(d=>{let f={};return d.forEach((h,g)=>{f[i[g]]=h}),f}))}return this.getParsedResultForKey(n,i,r)}get(n,i){if(!Zn(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(!Zn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return ia(ra(()=>this.get(n,i)),this.onTranslationChange.pipe(kn(r=>{let o=this.getParsedResult(r.translations,n,i);return es(o)})))}stream(n,i){if(!Zn(n)||!n.length)throw new Error('Parameter "key" required');return ia(ra(()=>this.get(n,i)),this.onLangChange.pipe(kn(r=>{let o=this.getParsedResult(r.translations,n,i);return es(o)})))}instant(n,i){if(!Zn(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){o6(this.translations[r],n,Jp(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(Wn),V(Sr),V(Ir),V(Oi),V(qp),V(Yp),V(Xp),V(Qp))};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ke=(()=>{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(Zn(i[0])&&i.length)if(Jp(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)(Fe(Te,16),Fe(Ep,16))};static \u0275pipe=gl({name:"translate",type:e,pure:!1});static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var je=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:Wn,useClass:Ng},n.compiler||{provide:Sr,useClass:Rg},n.parser||{provide:Ir,useClass:Og},n.missingTranslationHandler||{provide:Oi,useClass:Lg},ts,{provide:Yp,useValue:n.isolate},{provide:qp,useValue:n.useDefaultLang},{provide:Xp,useValue:n.extend},{provide:Qp,useValue:n.defaultLanguage},Te]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:Wn,useClass:Ng},n.compiler||{provide:Sr,useClass:Rg},n.parser||{provide:Ir,useClass:Og},n.missingTranslationHandler||{provide:Oi,useClass:Lg},{provide:Yp,useValue:n.isolate},{provide:qp,useValue:n.useDefaultLang},{provide:Xp,useValue:n.extend},{provide:Qp,useValue:n.defaultLanguage},Te]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ti({type:e});static \u0275inj=Ln({})}return e})();var ft=(()=>{let t=class t{constructor(){this.translateService=P(Te),this._selectedLanguage=jn("en"),this._localizedStrings=jn({})}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=pe({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[ze([Te])],decls:2,vars:0,template:function(r,o){r&1&&(D(0,"p"),X(1," localized widget works! "),T())},dependencies:[me,je],encapsulation:3});let e=t;return e})();function he(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 ft{constructor(){super(),this.bimplusContactClicked=new te}_contactClicked(){he(this,"bimplusContactClicked","contact")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=pe({type:t,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},features:[ze([Te]),Xe],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),Ce(1,"translate"),F("click",function(){return o._contactClicked()}),J(2,"div",1),T()),r&2&&x("title",we(1,1,"_BimplusContactTitle"))},dependencies:[me,je,Ke],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 s6=(e,t)=>({open:e,"expand-up":t});function a6(e,t){if(e&1){let n=ve();D(0,"li",7),F("click",function(){let r=H(n).$implicit,o=E();return B(o._switchLanguage(r.symbol))})("keypress",function(){let r=H(n).$implicit,o=E();return B(o._switchLanguage(r.symbol))}),D(1,"span"),X(2),T()()}if(e&2){let n=t.$implicit,i=E();x("ngClass",i.selectedLanguage===n.symbol?"selected":""),yn("data-test","langmenu_item_"+n.text),w(2),qe(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 te}_switchLanguage(i){he(this,"bimplusLanguageSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=pe({type:t,selectors:[["lib-bimplus-language-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",I],selectedLanguage:"selectedLanguage",expandUp:[2,"expandUp","expandUp",I]},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),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),D(1,"div",1),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),D(2,"div",2),J(3,"div",3)(4,"span",4),T(),D(5,"ul",5),ae(6,a6,3,3,"li",6),T()()),r&2&&(x("ngClass",o._menuOpened?"open":""),w(),x("ngClass",o._menuOpened?"open":"")("ngClass",o.isTouch?"is-touch":""),w(4),x("ngClass",Ai(5,s6,o._menuOpened,o.expandUp)),w(),x("ngForOf",o._languagesList))},dependencies:[me,$e,pt],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 l6=(e,t,n)=>({collapsed:e,"mini-mode":t,"is-touch":n}),Pg=(e,t)=>t.id;function c6(e,t){if(e&1){let n=ve();D(0,"div",4),Ce(1,"translate"),F("dblclick",function(r){H(n);let o=E(3);return B(o._menuItemIgnoreAction(r))})("click",function(r){H(n);let o=E().$implicit,a=E(2);return B(a._menuItemClicked(o,"normal",r))})("keypress",function(r){H(n);let o=E().$implicit,a=E(2);return B(a._menuItemClicked(o,"normal",r))}),J(2,"div",5),D(3,"div",6),F("click",function(r){H(n);let o=E().$implicit,a=E(2);return B(a._menuItemClicked(o,"info",r))})("keypress",function(r){H(n);let o=E().$implicit,a=E(2);return B(a._menuItemClicked(o,"info",r))}),T()()}if(e&2){let n=E().$implicit,i=E(2);x("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",we(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),x("ngClass",i._getPrjIconClassAttributes(n))}}function u6(e,t){if(e&1&&Ie(0,c6,4,5,"div",3),e&2){let n=t.$implicit,i=E(2);Se(i._isHidden(n)?-1:0)}}function d6(e,t){if(e&1&&vl(0,u6,1,1,null,null,Pg),e&2){let n=E();yl(n.menuItems)}}function p6(e,t){if(e&1){let n=ve();D(0,"div",4),Ce(1,"translate"),F("dblclick",function(r){H(n);let o=E(3);return B(o._menuItemIgnoreAction(r))})("click",function(r){H(n);let o=E().$implicit,a=E(2);return B(a._menuItemClicked(o,"normal",r))})("keypress",function(r){H(n);let o=E().$implicit,a=E(2);return B(a._menuItemClicked(o,"normal",r))}),J(2,"div",5),D(3,"div",6),F("click",function(r){H(n);let o=E().$implicit,a=E(2);return B(a._menuItemClicked(o,"info",r))})("keypress",function(r){H(n);let o=E().$implicit,a=E(2);return B(a._menuItemClicked(o,"info",r))}),T()()}if(e&2){let n=E().$implicit,i=E(2);x("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",we(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),x("ngClass",i._getPrjIconClassAttributes(n))}}function f6(e,t){if(e&1&&Ie(0,p6,4,5,"div",3),e&2){let n=t.$implicit,i=E(2);Se(!i._isHidden(n)&&(i.isCollapsed||n.action!=="processes")?0:-1)}}function m6(e,t){if(e&1&&vl(0,f6,1,1,null,null,Pg),e&2){let n=E();yl(n.menuItems)}}function h6(e,t){e&1&&tn(0)}function g6(e,t){if(e&1&&ae(0,h6,1,0,"ng-container",13),e&2){E(2);let n=_n(1);x("ngTemplateOutlet",n)}}function b6(e,t){if(e&1&&(D(0,"div",7)(1,"div",8),J(2,"div",9),T(),D(3,"div",10),X(4),T()(),D(5,"div",11)(6,"div",12),Ie(7,g6,1,1,"ng-container"),T()()),e&2){let n=E();w(),x("ngStyle",n.prjImageOverlayStyle),w(),x("ngStyle",n.prjImageStyle),w(2),Ee(" ",n.projectName," "),w(),x("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Se(n.showHorizontalMenuIcons?7:-1)}}function v6(e,t){e&1&&tn(0)}function y6(e,t){if(e&1&&ae(0,v6,1,0,"ng-container",13),e&2){E(2);let n=_n(3);x("ngTemplateOutlet",n)}}function _6(e,t){e&1&&tn(0)}function C6(e,t){if(e&1&&ae(0,_6,1,0,"ng-container",13),e&2){E(2);let n=_n(1);x("ngTemplateOutlet",n)}}function w6(e,t){if(e&1){let n=ve();D(0,"a",14),Ce(1,"translate"),F("dblclick",function(){H(n);let r=E();return B(r._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){H(n);let r=E();return B(r._projectMenuItemClicked("prjimageclick","normal"))}),D(2,"div",15),J(3,"div",16),D(4,"div",17),Ie(5,y6,1,1,"ng-container"),T(),D(6,"div",18),X(7),T()()(),D(8,"div",11)(9,"div",12),Ie(10,C6,1,1,"ng-container"),T()()}if(e&2){let n=E();x("href",ue(n.projectExplorerUrl),yr)("ngStyle",n.prjImageOverlayStyle)("title",we(1,11,"_ModelThumbnailTooltip")),w(2),x("ngStyle",n.prjImageStyle),w(),x("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),x("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),Se(!n.hideMenuIcons&&!n.showHorizontalMenuIcons?5:-1),w(2),Ee(" ",n.projectName," "),w(),x("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Se(n.showHorizontalMenuIcons?10:-1)}}var jl=(()=>{let t=class t extends ft{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;he(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=pe({type:t,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",I],modelsDisabled:[2,"modelsDisabled","modelsDisabled",I],documentsDisabled:[2,"documentsDisabled","documentsDisabled",I],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",I],processesDisabled:[2,"processesDisabled","processesDisabled",I],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",I],modelsVisible:[2,"modelsVisible","modelsVisible",I],documentsVisible:[2,"documentsVisible","documentsVisible",I],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",I],processesVisible:[2,"processesVisible","processesVisible",I],isCollapsed:[2,"isCollapsed","isCollapsed",I],isMiniMode:[2,"isMiniMode","isMiniMode",I],isTouch:[2,"isTouch","isTouch",I],hideMenuIcons:[2,"hideMenuIcons","hideMenuIcons",I],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",I],menuItemsOrder:"menuItemsOrder"},features:[ze([Te]),Xe],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,d6,2,0,"ng-template",null,0,wr)(2,m6,2,0,"ng-template",null,1,wr),D(4,"div",2),Ie(5,b6,8,5)(6,w6,11,13),T()),r&2&&(w(4),x("ngClass",Cn(2,l6,o.isCollapsed,o.isMiniMode,o.isTouch)),w(),Se(o.isMiniMode&&!o.isCollapsed?5:6))},dependencies:[me,$e,$o,Op,je,Ke],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
14
|
`],encapsulation:3});let e=t;return e})();var ef=e=>({$implicit:e});function D6(e,t){if(e&1&&J(0,"div",10),e&2){let n=E().$implicit;fp(n.item.class),x("id",n.item.id)}}function x6(e,t){if(e&1){let n=ve();D(0,"div",14),F("click",function(r){H(n);let o=E(2).$implicit,a=E();return B(a._mainMenuItemClicked(o.item,"info",r))})("keypress",function(r){H(n);let o=E(2).$implicit,a=E();return B(a._mainMenuItemClicked(o.item,"info",r))}),T()}}function E6(e,t){if(e&1){let n=ve();D(0,"div",9),Ce(1,"translate"),D(2,"div",11),F("click",function(r){H(n);let o=E().$implicit,a=E();return B(a._mainMenuItemClicked(o.item,"normal",r))})("keypress",function(r){H(n);let o=E().$implicit,a=E();return B(a._mainMenuItemClicked(o.item,"normal",r))}),J(3,"div",12),D(4,"span"),X(5),Ce(6,"translate"),T()(),Ie(7,x6,1,0,"div",13),T()}if(e&2){let n=E().$implicit,i=E();x("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?we(1,7,n.item.disabledTitle):""),w(2),x("ngClass",n.clickable?"":"not-clickable"),w(),x("ngClass",n.item.class+(n.active?" active":"")+(n.disabled?" disabled ":"")),w(2),qe(we(6,9,n.isDisabled&&n.item.textIdDisabled!==""?n.item.textIdDisabled:n.item.textId)),w(2),Se(n.showInfoIcon?7:-1)}}function M6(e,t){if(e&1&&Ie(0,D6,1,3,"div",8)(1,E6,8,11,"div",9),e&2){let n=t.$implicit;Se(n.item.type==="divider"?0:1)}}function I6(e,t){e&1&&tn(0)}function S6(e,t){if(e&1&&ae(0,I6,1,0,"ng-container",15),e&2){let n=E(),i=_n(1);x("ngTemplateOutlet",i)("ngTemplateOutletContext",lt(2,ef,n._getContextData(n._openPrjBtn,n.projectActiveItem==="projectlist",n._isDisabled(n._openPrjBtn),!0,n.projectActiveItem==="projectlist")))}}function T6(e,t){if(e&1&&J(0,"lib-bimplus-project-menu",3),e&2){let n=E();x("projectName",ue(n.projectName))("projectImageUrl",ue(n.projectImageUrl))("projectExplorerUrl",ue(n.projectExplorerUrl))("projectActiveItem",ue(n.projectActiveItem))("projectmembersDisabled",ue(n.projectmembersDisabled))("modelsDisabled",ue(n.modelsDisabled))("documentsDisabled",ue(n.documentsDisabled))("projectsettingsDisabled",ue(n.projectsettingsDisabled))("processesDisabled",ue(n.processesDisabled))("projectmembersVisible",ue(n.projectmembersVisible))("modelsVisible",ue(n.modelsVisible))("documentsVisible",ue(n.documentsVisible))("projectsettingsVisible",ue(n.projectsettingsVisible))("processesVisible",ue(n.processesVisible))("isCollapsed",ue(n.isCollapsed))("isMiniMode",ue(n.isTouch))("isTouch",ue(n.isTouch))("hideMenuIcons",ue(n.hideProjectMenuIcons))("showHorizontalMenuIcons",ue(n.showHorizontalMenuIcons))("menuItemsOrder",n.menuItemsOrder)}}function k6(e,t){e&1&&tn(0)}function A6(e,t){if(e&1&&(D(0,"div"),ae(1,k6,1,0,"ng-container",15),T()),e&2){let n=t.$implicit,i=E(),r=_n(1);w(),x("ngTemplateOutlet",r)("ngTemplateOutletContext",lt(2,ef,i._getContextData(n,!i._isSubscribed(n),i._isDisabled(n),i._isClickable(n),i.menuActiveItem===n.action)))}}function N6(e,t){e&1&&tn(0)}function L6(e,t){if(e&1&&(D(0,"div"),ae(1,N6,1,0,"ng-container",15),T()),e&2){let n=t.$implicit,i=E(),r=_n(1);w(),x("ngTemplateOutlet",r)("ngTemplateOutletContext",lt(2,ef,i._getContextData(n,i.footerActiveItem===n.action,i._isDisabled(n),!0,!1)))}}var fe={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 ft{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 te,this.bimplusMainMenuOverlayClicked=new te,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:fe.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:fe.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:fe.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:fe.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:fe.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:fe.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:fe.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:fe.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:fe.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"Connexis",textIdDisabled:"Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:fe.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"Autoconverter",textIdDisabled:"Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:fe.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:fe.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:fe.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:fe.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:fe.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:fe.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:fe.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:fe.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!==fe.PORTAL_CONNEXIS_BTN)),this.autoconverterVisible||(i=i.filter(({id:r})=>r!==fe.PORTAL_BIM_AUTOCONVERTER_BTN)),this.teammembersDisabled&&(i=i.filter(({id:r})=>r!==fe.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(i=i.filter(({id:r})=>r!==fe.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(i=i.filter(({id:r})=>r!==fe.PORTAL_PROPERTY_MANAGER_BTN&&r!==fe.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!==fe.DIVIDERAPPS)),this.getYourTeamVisible?i.filter(({id:r})=>r!==fe.DIVIDERAPPS):i.filter(({id:r})=>r!==fe.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(){he(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),r!="info"&&this._isDisabled(i))return;let a=i.action;he(this,"bimplusMainMenuClicked",{action:a,type:r})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=pe({type:t,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",I],isTouch:[2,"isTouch","isTouch",I],isIpadApp:[2,"isIpadApp","isIpadApp",I],isDev:[2,"isDev","isDev",I],isStage:[2,"isStage","isStage",I],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",I],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",I],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",I],modelsDisabled:[2,"modelsDisabled","modelsDisabled",I],documentsDisabled:[2,"documentsDisabled","documentsDisabled",I],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",I],processesDisabled:[2,"processesDisabled","processesDisabled",I],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",I],showOverlay:[2,"showOverlay","showOverlay",I],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",I],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",I],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",I],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",I],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",I],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",I],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",I],connexisDisabled:[2,"connexisDisabled","connexisDisabled",I],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",I],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",I],shopDisabled:[2,"shopDisabled","shopDisabled",I],addinsDisabled:[2,"addinsDisabled","addinsDisabled",I],openProjectVisible:[2,"openProjectVisible","openProjectVisible",I],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",I],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",I],modelsVisible:[2,"modelsVisible","modelsVisible",I],documentsVisible:[2,"documentsVisible","documentsVisible",I],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",I],processesVisible:[2,"processesVisible","processesVisible",I],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",I],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",I],connexisVisible:[2,"connexisVisible","connexisVisible",I],teammembersVisible:[2,"teammembersVisible","teammembersVisible",I],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",I],shopVisible:[2,"shopVisible","shopVisible",I],addinsVisible:[2,"addinsVisible","addinsVisible",I],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",I],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",I],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",I],tryBimplusProVisible:[2,"tryBimplusProVisible","tryBimplusProVisible",I],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},features:[ze([Te]),Xe,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=ve();ae(0,M6,2,1,"ng-template",null,0,wr),D(2,"div",1),F("click",function(){return H(a),B(o._overlayClicked())})("keypress",function(){return H(a),B(o._overlayClicked())}),D(3,"div",2),Ie(4,S6,1,4,"ng-container"),Ie(5,T6,1,39,"lib-bimplus-project-menu",3),D(6,"div",4)(7,"div",5),ae(8,A6,2,4,"div",6),T(),D(9,"div",7),ae(10,L6,2,4,"div",6),T()()()()}r&2&&(w(2),x("ngClass",o.showOverlay?"bim-mm-overlay":""),w(2),Se(o._isHidden(o._openPrjBtn)?-1:4),w(),Se(o.bimplusProjectMenuVisible?5:-1),w(),x("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),w(2),x("ngForOf",o.apps),w(2),x("ngForOf",o.footerList))},dependencies:[me,$e,pt,$o,je,Ke,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}
|
|
@@ -17,7 +17,7 @@ ${n.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
|
|
|
17
17
|
`],encapsulation:2});let e=t;return e})();var i2=e=>({capitalize:e}),r2=e=>[e];function w7(e,t){if(e&1){let n=ve();D(0,"div",22),F("click",function(){let r=H(n).index,o=E(2).$implicit,a=E(2);return B(a._messageAction(o,r))})("keypress",function(){let r=H(n).index,o=E(2).$implicit,a=E(2);return B(a._messageAction(o,r))}),X(1),T()}if(e&2){let n=t.$implicit,i=t.index,r=E(2).$implicit,o=E(2);x("title",o._getItemLinkTitle(r,i)),w(),qe(n)}}function D7(e,t){if(e&1&&ae(0,w7,2,2,"div",21),e&2){let n=E().$implicit,i=E(2);x("ngForOf",n.linkText.constructor===i.Array?n.linkText:lt(1,r2,n.linkText))}}function x7(e,t){if(e&1){let n=ve();D(0,"div",14)(1,"div",15),J(2,"div",16),D(3,"div",17),X(4),T(),D(5,"div",18),F("click",function(r){let o=H(n).$implicit,a=E(2);return B(a._closeMessage(o,!1,r))})("keypress",function(r){let o=H(n).$implicit,a=E(2);return B(a._closeMessage(o,!1,r))}),T()(),D(6,"div",19),X(7),T(),Ie(8,D7,1,3,"div",20),T()}if(e&2){let n=t.$implicit;w(2),x("ngClass","message-item-icon-"+n.type),w(),x("ngClass",lt(5,i2,n.capitalizedTitle)),w(),Ee(" ",n.title," "),w(3),qe(n.text),w(),Se(n.linkText?8:-1)}}function E7(e,t){if(e&1&&(D(0,"lib-bimplus-scrollable-container"),ae(1,x7,9,7,"div",13),T()),e&2){let n=E();w(),x("ngForOf",n._messagesList)}}function M7(e,t){e&1&&(D(0,"div",9),J(1,"div",23),D(2,"div",24),X(3),Ce(4,"translate"),T()()),e&2&&(w(3),qe(we(4,1,"_Notify_No_Messages")))}function I7(e,t){if(e&1){let n=ve();D(0,"div",22),F("click",function(){let r=H(n).index,o=E(2).$implicit,a=E();return B(a._messageAction(o,r))})("keypress",function(){let r=H(n).index,o=E(2).$implicit,a=E();return B(a._messageAction(o,r))}),X(1),T()}if(e&2){let n=t.$implicit,i=t.index,r=E(2).$implicit,o=E();x("title",o._getItemLinkTitle(r,i)),w(),qe(n)}}function S7(e,t){if(e&1&&ae(0,I7,2,2,"div",21),e&2){let n=E().$implicit,i=E();x("ngForOf",n.linkText.constructor===i.Array?n.linkText:lt(1,r2,n.linkText))}}function T7(e,t){if(e&1){let n=ve();D(0,"div",14)(1,"div",15),J(2,"div",16),D(3,"div",17),X(4),T(),D(5,"div",18),F("click",function(r){let o=H(n).$implicit,a=E();return B(a._closeMessage(o,!0,r))})("keypress",function(r){let o=H(n).$implicit,a=E();return B(a._closeMessage(o,!0,r))}),T()(),D(6,"div",19),X(7),T(),Ie(8,S7,1,3,"div",20),T()}if(e&2){let n=t.$implicit;w(2),x("ngClass","message-item-icon-"+n.type),w(),x("ngClass",lt(5,i2,n.capitalizedTitle)),w(),Ee(" ",n.title," "),w(3),Ee(" ",n.text," "),w(),Se(n.linkText?8:-1)}}var Zl="bimplus-notify-messages",Wl=(()=>{let t=class t extends ft{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 te,this.bimplusNotifyDeleteAllMessages=new te,this.bimplusNotifyMessageAction=new te}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()),he(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(){he(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(i,r){i.actionId=r,he(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=pe({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",I],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},features:[ze([Te]),Xe,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),Ce(1,"translate"),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),D(2,"div",1),J(3,"div",2),T(),D(4,"div",3),J(5,"div",4),D(6,"div",5)(7,"div",6),X(8),T(),D(9,"div",7),F("click",function(){return o._deleteAllMessages()})("keypress",function(){return o._deleteAllMessages()}),X(10),Ce(11,"translate"),T()(),D(12,"div",8),Ie(13,E7,2,1,"lib-bimplus-scrollable-container")(14,M7,5,3,"div",9),T()()(),D(15,"div",10),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),D(16,"div",11)(17,"div",12),ae(18,T7,9,7,"div",13),T()()),r&2&&(x("ngClass",o._menuOpened?"open":"")("title",we(1,12,"_BimplusNotifyTitle")),w(3),x("ngClass","icon-notify"+(o._alertActive?"-alert notify":"")),w(),x("ngClass",o._menuOpened?"open":""),w(4),Ee(" (",o._messagesList.length,") "),w(2),Ee(" ",we(11,14,"_Notify_Mark_All")," "),w(3),Se(o._messagesList.length?13:14),w(2),x("ngClass",o._menuOpened?"open":""),w(),zn("top",o.previewMessagesOffsetY),x("ngClass",o.showMessagePreview&&!o._menuOpened&&o._previewMessagesList.length>0?"visible":""),w(2),x("ngForOf",o._previewMessagesList))},dependencies:[me,$e,pt,je,Ke,$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")}
|
|
18
18
|
`],encapsulation:2});let e=t;return e})();var k7=(e,t,n)=>({red:e,yellow:t,green:n}),Gl=(()=>{let t=class t extends ft{constructor(){super(),this.usedStorage=Ho(0),this.bimplusStorageInfoClicked=new te}_infoClicked(i){he(this,"bimplusStorageInfoClicked",i)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=pe({type:t,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorage:[1,"usedStorage"]},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},features:[ze([Te]),Xe],decls:8,vars:13,consts:[[1,"storage-info",3,"click","keypress"],[1,"progress-title"],["data-test","used-storage",1,"progress-text"],[1,"storage-info-bar-container"],[1,"storage-info-bar",3,"ngClass"]],template:function(r,o){r&1&&(D(0,"div",0),F("click",function(){return o._infoClicked("storageInfo")})("keypress",function(){return o._infoClicked("storageInfo")}),D(1,"span",1),X(2),Ce(3,"translate"),D(4,"span",2),X(5),T()(),D(6,"div",3),J(7,"div",4),T()()),r&2&&(w(2),Ee(" ",we(3,7,"_Common_Data_Environment_Quota")," "),w(3),Ee(" ",o.usedStorage(),"% "),w(2),zn("width",o.usedStorage()+"%")("max-width",o.usedStorage()+"%"),x("ngClass",Cn(9,k7,o.usedStorage()>=90,o.usedStorage()>=80&&o.usedStorage()<90,o.usedStorage()<80)))},dependencies:[me,$e,je,Ke],styles:[`.storage-info{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:flex;cursor:pointer;color:var(--storage-info-placeholder-text-color-enabled);flex-direction:column}.storage-info.hovered,.storage-info:hover{color:var(--storage-info-text-color-hovered)}.storage-info.hovered .storage-info-bar .progress,.storage-info:hover .storage-info-bar .progress{border-color:var(--storage-info-bar-border-color-hovered)}.storage-info .progress-title{line-height:1em;text-align:center;margin:auto .5em .19em;font-weight:600}.storage-info .progress-text{margin-left:.31em}.storage-info .storage-info-bar-container{width:auto;margin:0 .5em auto;background-color:var(--storage-info-bar-container-background-color-enabled);padding:.125em;border:var(--storage-info-bar-container-border-color-enabled) solid thin}.storage-info .storage-info-bar-container .storage-info-bar{height:.31em}.storage-info .storage-info-bar-container .storage-info-bar.red{background-color:var(--storage-info-bar-background-color-low-enabled)}.storage-info .storage-info-bar-container .storage-info-bar.yellow{background-color:var(--storage-info-bar-background-color-medium-enabled)}.storage-info .storage-info-bar-container .storage-info-bar.green{background-color:var(--storage-info-bar-background-color-high-enabled)}
|
|
19
19
|
`],encapsulation:3});let e=t;return e})();var A7=(e,t)=>({open:e,"is-touch":t}),N7=e=>({open:e}),L7=e=>({selected:e});function O7(e,t){if(e&1){let n=ve();D(0,"li",7),F("click",function(){let r=H(n).$implicit,o=E();return B(o._menuItemClicked(r.mode))})("keypress",function(){let r=H(n).$implicit,o=E();return B(o._menuItemClicked(r.mode))}),J(1,"div",8),D(2,"span"),X(3),Ce(4,"translate"),T()()}if(e&2){let n=t.$implicit,i=E();x("ngClass",lt(5,L7,i.selectedMode===n.mode)),w(),x("ngClass",n.class),w(2),qe(we(4,3,n.textId))}}var Yl=(()=>{let t=class t extends ft{constructor(){super(),this._menuItemsList=[{mode:"touch",class:"icon-touch-mode-toolbar",textId:"_Touch_Mode"},{mode:"desktop",class:"icon-desktop-mode-toolbar",textId:"_Desktop_Mode"}],this._menuOpened=!1,this.isTouch=!1,this.selectedMode="desktop",this.bimplusTouchModeSelected=new te}get _selectedItem(){return this._menuItemsList.find(i=>i.mode==this.selectedMode)}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}_menuItemClicked(i){he(this,"bimplusTouchModeSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=pe({type:t,selectors:[["lib-bimplus-touch-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",I],selectedMode:"selectedMode"},outputs:{bimplusTouchModeSelected:"bimplusTouchModeSelected"},features:[ze([Te]),Xe,Ut],decls:7,vars:10,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[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"],[1,"icon",3,"ngClass"]],template:function(r,o){r&1&&(D(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),D(1,"div",1),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),D(2,"div",2),J(3,"div",3)(4,"span",4),T(),D(5,"ul",5),ae(6,O7,5,7,"li",6),T()()),r&2&&(x("ngClass",o._menuOpened?"open":""),w(),x("ngClass",Ai(5,A7,o._menuOpened,o.isTouch)),w(2),x("ngClass",o._selectedItem!=null&&o._selectedItem.class?o._selectedItem==null?null:o._selectedItem.class:""),w(2),x("ngClass",lt(8,N7,o._menuOpened)),w(),x("ngForOf",o._menuItemsList))},dependencies:[me,$e,pt,je,Ke],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;width:4em;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--touch-menu-dropdown-open-text-color-enabled);background-color:var(--touch-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:1em;margin-right:.3em;background-size:1.4em 1.4em;padding-top:.31em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--touch-menu-dropdown-toggle-text-color-enabled);min-width:2.8em;min-height:2.81em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .main-icon{padding-top:.1em}.dropdown-toggle .icon{margin:0}.is-touch .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;padding-bottom:.22em;min-width:0;min-height:0;padding-top:0;padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.dropdown-toggle:hover{color:var(--touch-menu-dropdown-toggle-text-color-hovered)}.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(--touch-menu-dropdown-menu-background-color-enabled);border:thin solid var(--touch-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--touch-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--touch-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--touch-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;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:.2em 2.2em .2em 2em;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-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(--touch-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--touch-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;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}.icon-touch-mode-toolbar{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Touch_Mode.svg") no-repeat center}.icon-desktop-mode-toolbar{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Desktop_Mode.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
|
|
20
|
-
`],encapsulation:3});let e=t;return e})();var R7=(e,t,n)=>({divider:e,languageMenuItem:t,"submenu-hidden":n});function P7(e,t){if(e&1&&X(0),e&2){let n=E();Ee(" ",n.userName," ")}}function F7(e,t){if(e&1){let n=ve();D(0,"div",17),F("click",function(){let r=H(n).$implicit,o=E(4);return B(o._switchLanguage(r.symbol))})("keypress",function(){let r=H(n).$implicit,o=E(4);return B(o._switchLanguage(r.symbol))}),X(1),T()}if(e&2){let n=t.$implicit,i=E(4);x("id",ue(i._getLangId(n)))("ngClass",n.symbol===i.selectedLanguage?"selected":""),yn("key",i._getLangId(n)),w(),Ee(" ",n.text," ")}}function V7(e,t){if(e&1&&(J(0,"div",11)(1,"div",12),D(2,"span",13),X(3),Ce(4,"translate"),T(),D(5,"div",14)(6,"div",15),ae(7,F7,2,5,"div",16),T()()),e&2){let n=E(2).$implicit,i=E();w(),x("ngClass",n.class),w(),x("ngClass",n.textClass?n.textClass:""),w(),Ee(" ",we(4,5,n.textId)," "),w(2),x("ngClass",i._languagesMenuOpened?"open":""),w(2),x("ngForOf",i._languagesList)}}function j7(e,t){if(e&1&&(J(0,"div",12),D(1,"span",13),X(2),Ce(3,"translate"),T()),e&2){let n=E(2).$implicit;x("ngClass",n.class),w(),x("ngClass",n.textClass?n.textClass:""),w(),Ee(" ",we(3,3,n.textId)," ")}}function H7(e,t){if(e&1&&(D(0,"a",10),J(1,"div",12),D(2,"span",13),X(3),Ce(4,"translate"),T()()),e&2){let n=E(2).$implicit,i=E();x("href",ue(i._buildUrl(n)),yr),w(),x("ngClass",n.class),w(),x("ngClass",n.textClass?n.textClass:""),w(),Ee(" ",we(4,5,n.textId)," ")}}function B7(e,t){if(e&1){let n=ve();D(0,"li",9),F("click",function(){H(n);let r=E(),o=r.$implicit,a=r.index,c=E();return B(c._menuItemClicked(o,a))})("keypress",function(){H(n);let r=E(),o=r.$implicit,a=r.index,c=E();return B(c._menuItemClicked(o,a))}),Ie(1,V7,8,7)(2,j7,4,5)(3,H7,5,7,"a",10),T()}if(e&2){let n=E().$implicit;x("ngClass",Cn(4,R7,n.type==="divider",n.action==="submenu",(!n.url||n.url.slice(0,2)==="#/")&&n.action!=="submenu")),yn("key",n.id)("role",n.type==="divider"?"separator":""),w(),Se(n.action==="submenu"?1:!n.url||n.url.slice(0,2)==="#/"?2:!n.type||n.type!=="divider"?3:-1)}}function U7(e,t){if(e&1&&(Po(0),ae(1,B7,4,8,"li",8),Fo()),e&2){let n=t.$implicit;w(),x("ngIf",n)}}var ql=(()=>{let t=class t extends ft{constructor(){super(),this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina",lCode:"3"},{symbol:"de",text:"Deutsch",lCode:"1"},{symbol:"en",text:"English (UK)",lCode:"0"},{symbol:"us",text:"English (US)",lCode:void 0},{symbol:"es",text:"Espa\xF1ol",lCode:"18"},{symbol:"fr",text:"Fran\xE7ais",lCode:"4"},{symbol:"it",text:"Italiano",lCode:"2"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",lCode:"14"},{symbol:"ro",text:"Romana",lCode:void 0},{symbol:"tr",text:"T\xFCrk\xE7e",lCode:void 0}],this._menuOpened=!1,this._languagesMenuOpened=!1,this.accountSettingsVisible=!0,this.removeConnectedAppsVisible=!1,this.userGuideVisible=!0,this.contactFormVisible=!0,this.forumVisible=!0,this.releaseNotesVisible=!0,this.submenuVisible=!0,this.clearCacheVisible=!0,this.dividerLoggedInVisible=!0,this.logoutVisible=!0,this.isEmbedded=!1,this.isTouch=!1,this.allowRcaItem=!1,this.buttonTitle="",this.userName="Unknown user",this.userPhotoUrl="",this.userGuideLinkUrl="https://doc.allplan.com/display/BIMPLUSMANUAL/Bimplus+Benutzerhandbuch",this.contactFormLinkUrl="https://www.allplan.com/info/contact",this.forumLinkUrl="https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",this.bimplusUserMenuClicked=new te,this.bimplusLanguageSelected=new te,this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"removeConnectedApps",action:"removeConnectedApps",checkState:"allowRcaItem",class:"icon-rca",textClass:"text-capitalized",textId:"_Remove_connected_apps",type:"",url:"",queryParams:""},{id:"userGuideLink",action:"userGuide",class:"icon-user-guide",textId:"_UserGuide",get url(){return this._url?.()??""},_url:()=>this.userGuideLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"contactFormLink",action:"contactForm",class:"icon-contact-form",textId:"_Contact_Form",get url(){return this._url?.()??""},_url:()=>this.contactFormLinkUrl,queryParams:"",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",get url(){return this._url?.()??""},_url:()=>this.forumLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"releaseNotesLink",action:"releaseNotes",class:"icon-release-notes",textId:"_Release_notes",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"languagesSubmenu",action:"submenu",class:"icon-languages",textId:"_Languages",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"clearCache",action:"clearCache",class:"icon-clear-cache",textId:"_Clear cache",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"dividerLoggedIn",type:"divider",action:"",class:"",textId:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"logout",action:"logout",class:"icon-log-out",textId:"_Logout",type:"",checkState:"",url:"",textClass:"",queryParams:""}]}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}_menuItemClicked(i,r){!i||i.type==="divider"||(i.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,he(this,"bimplusUserMenuClicked",{index:r,action:i.action?i.action:""})))}_switchLanguage(i){this._languagesMenuOpened=!1,this._menuOpened=!1,he(this,"bimplusLanguageSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(i){return i?!this[`${i.action?i.action:i.id}Visible`]:!1}_buildUrl(i){let r=i?.url,a=this._languagesList.find(d=>d.symbol===this.selectedLanguage)?.lCode,c=r?.endsWith?.(".ct")&&a;return(i?.queryParams||c)&&(r=r+"?",c&&(r=r+"L="+a,i?.queryParams&&(r=r+"&")),i?.queryParams&&(r=r+i.queryParams)),r}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(r=>{if(!(this._isHidden(r)||r.checkState&&!this[r.checkState]))return r})}_getLangId(i){return"portalLanguage"+i?.symbol.charAt(0).toUpperCase()+i?.symbol.slice(1)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=pe({type:t,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[2,"accountSettingsVisible","accountSettingsVisible",I],removeConnectedAppsVisible:[2,"removeConnectedAppsVisible","removeConnectedAppsVisible",I],userGuideVisible:[2,"userGuideVisible","userGuideVisible",I],contactFormVisible:[2,"contactFormVisible","contactFormVisible",I],forumVisible:[2,"forumVisible","forumVisible",I],releaseNotesVisible:[2,"releaseNotesVisible","releaseNotesVisible",I],submenuVisible:[2,"submenuVisible","submenuVisible",I],clearCacheVisible:[2,"clearCacheVisible","clearCacheVisible",I],dividerLoggedInVisible:[2,"dividerLoggedInVisible","dividerLoggedInVisible",I],logoutVisible:[2,"logoutVisible","logoutVisible",I],isEmbedded:[2,"isEmbedded","isEmbedded",I],isTouch:[2,"isTouch","isTouch",I],allowRcaItem:[2,"allowRcaItem","allowRcaItem",I],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl",userGuideLinkUrl:"userGuideLinkUrl",contactFormLinkUrl:"contactFormLinkUrl",forumLinkUrl:"forumLinkUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},features:[ze([Te]),Xe,Ut],decls:9,vars:12,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","keypress","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"ngClass","click","keypress",4,"ngIf"],[3,"click","keypress","ngClass"],["rel","noopener","target","_blank",1,"submenu-hidden",3,"href"],[1,"submenu","arrow"],[1,"icon",3,"ngClass"],[1,"menu-item-text",3,"ngClass"],[1,"languagesSubmenu",3,"ngClass"],[1,"languageSubmenuItems"],["class","languageSubmenuItem",3,"id","ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"languageSubmenuItem",3,"click","keypress","id","ngClass"]],template:function(r,o){r&1&&(D(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),D(1,"div",1)(2,"div",2),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),J(3,"img",3),D(4,"div",4),Ie(5,P7,1,1),T(),J(6,"span",5),T(),D(7,"ul",6),ae(8,U7,2,1,"ng-container",7),T()()),r&2&&(x("ngClass",o._menuOpened?"open":""),yn("key","bimcompOverlay"),w(),x("ngClass",o._menuOpened?"open":""),yn("key","userMenu"),w(),x("title",o.buttonTitle?o.buttonTitle:""),w(),x("src",ue(o.userPhotoUrl?o.userPhotoUrl:""),yr)("alt",ue(o.buttonTitle?o.buttonTitle:"")),w(2),Se(o.isTouch?-1:5),w(2),x("ngClass",o._menuOpened?"open":""),w(),x("ngForOf",o._getMenuItems()))},dependencies:[me,$e,pt,zo,je,Ke],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--user-menu-dropdown-open-text-color-enabled);background-color:var(--user-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-right:.2em;padding-left:.2em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--user-menu-dropdown-toggle-text-color-enabled)}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Pic_Default.webp") no-repeat center}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .user-name{margin-left:.2em}.dropdown-toggle:hover{color:var(--user-menu-dropdown-toggle-text-color-hovered)}.languageMenuItem{position:relative}.languageMenuItem .languagesSubmenu{position:absolute;display:none;transform-origin:left;transform:rotate(180deg) translateY(calc(-50% + 1.605em));border-radius:.29em;border:thin solid var(--user-menu-language-submenu-border-color-enabled);box-shadow:0 1px 2px var(--user-menu-language-submenu-box-shadow-color-enabled);background-color:var(--user-menu-language-submenu-background-color-enabled)}.languageMenuItem .languagesSubmenu .languageSubmenuItems{display:flex;flex-direction:column;transform-origin:center;transform:rotate(180deg);font-size:1em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem{border:none;background-color:var(--user-menu-language-submenu-item-background-color-enabled);padding-left:2em;padding-right:5em;line-height:2.4em;height:2.4em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:first-child,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:last-child{background-color:var(--language-submenu-item-background-color-selected)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:0 0 .29em .29em}.languageMenuItem .languagesSubmenu.open{display:block}.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(--user-menu-dropdown-menu-background-color-enabled);border:thin solid var(--user-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;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:.2em 0;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;padding-right:2.2em}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li.submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li .submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li:hover{background-color:var(--user-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--user-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu a:link,.bimcomp-dropdown-menu a:visited,.bimcomp-dropdown-menu a:hover,.bimcomp-dropdown-menu a:active{color:var(--user-menu-dropdown-menu-link-text-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-link-text-decoration-color-enabled);text-decoration-line:none;width:100%;padding-right:2.2em}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.text-capitalized{text-transform:capitalize}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;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}.icon-account-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./assets/@bimplus/navigation/assets/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Guide.svg") no-repeat center}.icon-contact-form{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact_From.svg") no-repeat center}.icon-forum{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Forum.svg") no-repeat center}.icon-release-notes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Release_Notes.svg") no-repeat center}.icon-clear-cache{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Logout.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
|
|
20
|
+
`],encapsulation:3});let e=t;return e})();var R7=(e,t,n)=>({divider:e,languageMenuItem:t,"submenu-hidden":n});function P7(e,t){if(e&1&&X(0),e&2){let n=E();Ee(" ",n.userName," ")}}function F7(e,t){if(e&1){let n=ve();D(0,"div",17),F("click",function(){let r=H(n).$implicit,o=E(4);return B(o._switchLanguage(r.symbol))})("keypress",function(){let r=H(n).$implicit,o=E(4);return B(o._switchLanguage(r.symbol))}),X(1),T()}if(e&2){let n=t.$implicit,i=E(4);x("id",ue(i._getLangId(n)))("ngClass",n.symbol===i.selectedLanguage?"selected":""),yn("key",i._getLangId(n)),w(),Ee(" ",n.text," ")}}function V7(e,t){if(e&1&&(J(0,"div",11)(1,"div",12),D(2,"span",13),X(3),Ce(4,"translate"),T(),D(5,"div",14)(6,"div",15),ae(7,F7,2,5,"div",16),T()()),e&2){let n=E(2).$implicit,i=E();w(),x("ngClass",n.class),w(),x("ngClass",n.textClass?n.textClass:""),w(),Ee(" ",we(4,5,n.textId)," "),w(2),x("ngClass",i._languagesMenuOpened?"open":""),w(2),x("ngForOf",i._languagesList)}}function j7(e,t){if(e&1&&(J(0,"div",12),D(1,"span",13),X(2),Ce(3,"translate"),T()),e&2){let n=E(2).$implicit;x("ngClass",n.class),w(),x("ngClass",n.textClass?n.textClass:""),w(),Ee(" ",we(3,3,n.textId)," ")}}function H7(e,t){if(e&1&&(D(0,"a",10),J(1,"div",12),D(2,"span",13),X(3),Ce(4,"translate"),T()()),e&2){let n=E(2).$implicit,i=E();x("href",ue(i._buildUrl(n)),yr),w(),x("ngClass",n.class),w(),x("ngClass",n.textClass?n.textClass:""),w(),Ee(" ",we(4,5,n.textId)," ")}}function B7(e,t){if(e&1){let n=ve();D(0,"li",9),F("click",function(){H(n);let r=E(),o=r.$implicit,a=r.index,c=E();return B(c._menuItemClicked(o,a))})("keypress",function(){H(n);let r=E(),o=r.$implicit,a=r.index,c=E();return B(c._menuItemClicked(o,a))}),Ie(1,V7,8,7)(2,j7,4,5)(3,H7,5,7,"a",10),T()}if(e&2){let n=E().$implicit;x("ngClass",Cn(4,R7,n.type==="divider",n.action==="submenu",(!n.url||n.url.slice(0,2)==="#/")&&n.action!=="submenu")),yn("key",n.id)("role",n.type==="divider"?"separator":""),w(),Se(n.action==="submenu"?1:!n.url||n.url.slice(0,2)==="#/"?2:!n.type||n.type!=="divider"?3:-1)}}function U7(e,t){if(e&1&&(Po(0),ae(1,B7,4,8,"li",8),Fo()),e&2){let n=t.$implicit;w(),x("ngIf",n)}}var ql=(()=>{let t=class t extends ft{constructor(){super(),this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina",lCode:"3"},{symbol:"de",text:"Deutsch",lCode:"1"},{symbol:"en",text:"English (UK)",lCode:"0"},{symbol:"us",text:"English (US)",lCode:void 0},{symbol:"es",text:"Espa\xF1ol",lCode:"18"},{symbol:"fr",text:"Fran\xE7ais",lCode:"4"},{symbol:"it",text:"Italiano",lCode:"2"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",lCode:"14"},{symbol:"ro",text:"Romana",lCode:void 0},{symbol:"tr",text:"T\xFCrk\xE7e",lCode:void 0}],this._menuOpened=!1,this._languagesMenuOpened=!1,this.accountSettingsVisible=!0,this.removeConnectedAppsVisible=!1,this.userGuideVisible=!0,this.contactFormVisible=!0,this.forumVisible=!0,this.releaseNotesVisible=!0,this.submenuVisible=!0,this.clearCacheVisible=!0,this.dividerLoggedInVisible=!0,this.logoutVisible=!0,this.isEmbedded=!1,this.isTouch=!1,this.allowRcaItem=!1,this.buttonTitle="",this.userName="Unknown user",this.userPhotoUrl="",this.userGuideLinkUrl="https://doc.allplan.com/display/BIMPLUSMANUAL/Bimplus+Benutzerhandbuch",this.contactFormLinkUrl="https://www.allplan.com/info/contact",this.forumLinkUrl="https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",this.bimplusUserMenuClicked=new te,this.bimplusLanguageSelected=new te,this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"removeConnectedApps",action:"removeConnectedApps",checkState:"allowRcaItem",class:"icon-rca",textClass:"text-capitalized",textId:"_Remove_connected_apps",type:"",url:"",queryParams:""},{id:"userGuideLink",action:"userGuide",class:"icon-user-guide",textId:"_UserGuide",get url(){return this._url?.()??""},_url:()=>this.userGuideLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"contactFormLink",action:"contactForm",class:"icon-contact-form",textId:"_Contact_form",get url(){return this._url?.()??""},_url:()=>this.contactFormLinkUrl,queryParams:"",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",get url(){return this._url?.()??""},_url:()=>this.forumLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"releaseNotesLink",action:"releaseNotes",class:"icon-release-notes",textId:"_Release_notes",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"languagesSubmenu",action:"submenu",class:"icon-languages",textId:"_Languages",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"clearCache",action:"clearCache",class:"icon-clear-cache",textId:"_Clear cache",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"dividerLoggedIn",type:"divider",action:"",class:"",textId:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"logout",action:"logout",class:"icon-log-out",textId:"_Logout",type:"",checkState:"",url:"",textClass:"",queryParams:""}]}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}_menuItemClicked(i,r){!i||i.type==="divider"||(i.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,he(this,"bimplusUserMenuClicked",{index:r,action:i.action?i.action:""})))}_switchLanguage(i){this._languagesMenuOpened=!1,this._menuOpened=!1,he(this,"bimplusLanguageSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(i){return i?!this[`${i.action?i.action:i.id}Visible`]:!1}_buildUrl(i){let r=i?.url,a=this._languagesList.find(d=>d.symbol===this.selectedLanguage)?.lCode,c=r?.endsWith?.(".ct")&&a;return(i?.queryParams||c)&&(r=r+"?",c&&(r=r+"L="+a,i?.queryParams&&(r=r+"&")),i?.queryParams&&(r=r+i.queryParams)),r}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(r=>{if(!(this._isHidden(r)||r.checkState&&!this[r.checkState]))return r})}_getLangId(i){return"portalLanguage"+i?.symbol.charAt(0).toUpperCase()+i?.symbol.slice(1)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=pe({type:t,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[2,"accountSettingsVisible","accountSettingsVisible",I],removeConnectedAppsVisible:[2,"removeConnectedAppsVisible","removeConnectedAppsVisible",I],userGuideVisible:[2,"userGuideVisible","userGuideVisible",I],contactFormVisible:[2,"contactFormVisible","contactFormVisible",I],forumVisible:[2,"forumVisible","forumVisible",I],releaseNotesVisible:[2,"releaseNotesVisible","releaseNotesVisible",I],submenuVisible:[2,"submenuVisible","submenuVisible",I],clearCacheVisible:[2,"clearCacheVisible","clearCacheVisible",I],dividerLoggedInVisible:[2,"dividerLoggedInVisible","dividerLoggedInVisible",I],logoutVisible:[2,"logoutVisible","logoutVisible",I],isEmbedded:[2,"isEmbedded","isEmbedded",I],isTouch:[2,"isTouch","isTouch",I],allowRcaItem:[2,"allowRcaItem","allowRcaItem",I],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl",userGuideLinkUrl:"userGuideLinkUrl",contactFormLinkUrl:"contactFormLinkUrl",forumLinkUrl:"forumLinkUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},features:[ze([Te]),Xe,Ut],decls:9,vars:12,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","keypress","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"ngClass","click","keypress",4,"ngIf"],[3,"click","keypress","ngClass"],["rel","noopener","target","_blank",1,"submenu-hidden",3,"href"],[1,"submenu","arrow"],[1,"icon",3,"ngClass"],[1,"menu-item-text",3,"ngClass"],[1,"languagesSubmenu",3,"ngClass"],[1,"languageSubmenuItems"],["class","languageSubmenuItem",3,"id","ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"languageSubmenuItem",3,"click","keypress","id","ngClass"]],template:function(r,o){r&1&&(D(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),D(1,"div",1)(2,"div",2),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),J(3,"img",3),D(4,"div",4),Ie(5,P7,1,1),T(),J(6,"span",5),T(),D(7,"ul",6),ae(8,U7,2,1,"ng-container",7),T()()),r&2&&(x("ngClass",o._menuOpened?"open":""),yn("key","bimcompOverlay"),w(),x("ngClass",o._menuOpened?"open":""),yn("key","userMenu"),w(),x("title",o.buttonTitle?o.buttonTitle:""),w(),x("src",ue(o.userPhotoUrl?o.userPhotoUrl:""),yr)("alt",ue(o.buttonTitle?o.buttonTitle:"")),w(2),Se(o.isTouch?-1:5),w(2),x("ngClass",o._menuOpened?"open":""),w(),x("ngForOf",o._getMenuItems()))},dependencies:[me,$e,pt,zo,je,Ke],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--user-menu-dropdown-open-text-color-enabled);background-color:var(--user-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-right:.2em;padding-left:.2em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--user-menu-dropdown-toggle-text-color-enabled)}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Pic_Default.webp") no-repeat center}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .user-name{margin-left:.2em}.dropdown-toggle:hover{color:var(--user-menu-dropdown-toggle-text-color-hovered)}.languageMenuItem{position:relative}.languageMenuItem .languagesSubmenu{position:absolute;display:none;transform-origin:left;transform:rotate(180deg) translateY(calc(-50% + 1.605em));border-radius:.29em;border:thin solid var(--user-menu-language-submenu-border-color-enabled);box-shadow:0 1px 2px var(--user-menu-language-submenu-box-shadow-color-enabled);background-color:var(--user-menu-language-submenu-background-color-enabled)}.languageMenuItem .languagesSubmenu .languageSubmenuItems{display:flex;flex-direction:column;transform-origin:center;transform:rotate(180deg);font-size:1em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem{border:none;background-color:var(--user-menu-language-submenu-item-background-color-enabled);padding-left:2em;padding-right:5em;line-height:2.4em;height:2.4em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:first-child,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:last-child{background-color:var(--language-submenu-item-background-color-selected)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:0 0 .29em .29em}.languageMenuItem .languagesSubmenu.open{display:block}.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(--user-menu-dropdown-menu-background-color-enabled);border:thin solid var(--user-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;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:.2em 0;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;padding-right:2.2em}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li.submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li .submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li:hover{background-color:var(--user-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--user-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu a:link,.bimcomp-dropdown-menu a:visited,.bimcomp-dropdown-menu a:hover,.bimcomp-dropdown-menu a:active{color:var(--user-menu-dropdown-menu-link-text-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-link-text-decoration-color-enabled);text-decoration-line:none;width:100%;padding-right:2.2em}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.text-capitalized{text-transform:capitalize}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;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}.icon-account-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./assets/@bimplus/navigation/assets/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Guide.svg") no-repeat center}.icon-contact-form{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact_From.svg") no-repeat center}.icon-forum{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Forum.svg") no-repeat center}.icon-release-notes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Release_Notes.svg") no-repeat center}.icon-clear-cache{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Logout.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
|
|
21
21
|
`],encapsulation:3});let e=t;return e})();var z7=(e,t)=>({open:e,"is-touch":t});function $7(e,t){if(e&1){let n=ve();D(0,"li",7),F("click",function(){let r=H(n).$implicit,o=E();return B(o._switchZoom(r.symbol))})("keypress",function(){let r=H(n).$implicit,o=E();return B(o._switchZoom(r.symbol))}),D(1,"span"),X(2),T()()}if(e&2){let n=t.$implicit,i=E();x("ngClass",i._getZoomClassObject(n.symbol)),w(2),qe(n.text)}}var Ql=(()=>{let t=class t{constructor(){this._zoomList=[{symbol:"100",text:"100%"},{symbol:"105",text:"105%"},{symbol:"110",text:"110%"},{symbol:"115",text:"115%"},{symbol:"120",text:"120%"},{symbol:"125",text:"125%"},{symbol:"130",text:"130%"},{symbol:"135",text:"135%"},{symbol:"140",text:"140%"},{symbol:"145",text:"145%"},{symbol:"150",text:"150%"}],this._menuOpened=!1,this.isTouch=!1,this.selectedZoom="125",this.bimplusZoomSelected=new te}_switchZoom(i){he(this,"bimplusZoomSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened}_getZoomClassObject(i){return{selected:this.selectedZoom===i,["bimzoom-"+i]:!0}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=pe({type:t,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[2,"isTouch","isTouch",I],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},decls:7,vars:7,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-zoom"],[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),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),D(1,"div",1),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),D(2,"div",2),J(3,"div",3)(4,"span",4),T(),D(5,"ul",5),ae(6,$7,3,2,"li",6),T()()),r&2&&(x("ngClass",o._menuOpened?"open":""),w(),x("ngClass",Ai(4,z7,o._menuOpened,o.isTouch)),w(4),x("ngClass",o._menuOpened?"open":""),w(),x("ngForOf",o._zoomList))},dependencies:[me,$e,pt],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(--zoom-dropdown-open-text-color-enabled);background-color:var(--zoom-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(--zoom-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:6.5em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--zoom-dropdown-menu-background-color-enabled);border:thin solid var(--zoom-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--zoom-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;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:.21em 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-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(--zoom-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.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-zoom{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Zoom.svg")}
|
|
22
22
|
`],encapsulation:3});let e=t;return e})();var o2=(()=>{class e{http;prefix;suffix;constructor(n,i="/assets/i18n/",r=".json"){this.http=n,this.prefix=i,this.suffix=r}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}static \u0275fac=function(i){return new(i||e)(V(Mr),V(String),V(String))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var s2=(()=>{let t=class t{constructor(){this.defaultLang="en",this.currentLanguage$=new Sn(this.defaultLang),this.currentLanguageStrings$=new Sn({}),this._languageFilesUri="/assets"}set languageFilesUri(i){this._languageFilesUri=i}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(i){this.currentLanguageStrings$.next(i)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(i){return Wt(this,null,function*(){this.currentLanguage$.next(i),yield this.fetchLanguageStrings(i)})}extractLocalizedStrings(i){let r={};for(let[o,a]of Object.entries(this.currentLanguageStrings))typeof a=="string"&&i.find(c=>c===o)&&(r[o]=a);return r}fetchLanguageStrings(i){return Wt(this,null,function*(){let r=yield fetch(`${this._languageFilesUri}/strings_${i}.json`);console.log(`Language strings loaded from: ${this._languageFilesUri}/strings_${i}.json`),console.log(r);let o=yield r.json();if(i!==this.defaultLang){let c=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),d=c&&Object.keys(c);if(d?.length)for(let f in d){let h=d[f];o[h]??=c[h]}}this.currentLanguageStrings$.next(o)})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function cf(e){e||(e=P(wi));let t=new oe(n=>{if(e.destroyed){n.next();return}return e.onDestroy(n.next.bind(n))});return n=>n.pipe(eu(t))}function Z7(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Pi=Z7;var W7=typeof global=="object"&&global&&global.Object===Object&&global,a2=W7;var G7=typeof self=="object"&&self&&self.Object===Object&&self,Y7=a2||G7||Function("return this")(),Xl=Y7;var q7=function(){return Xl.Date.now()},Kl=q7;var Q7=/\s/;function X7(e){for(var t=e.length;t--&&Q7.test(e.charAt(t)););return t}var l2=X7;var K7=/^\s+/;function J7(e){return e&&e.slice(0,l2(e)+1).replace(K7,"")}var c2=J7;var ew=Xl.Symbol,Or=ew;var u2=Object.prototype,tw=u2.hasOwnProperty,nw=u2.toString,os=Or?Or.toStringTag:void 0;function iw(e){var t=tw.call(e,os),n=e[os];try{e[os]=void 0;var i=!0}catch{}var r=nw.call(e);return i&&(t?e[os]=n:delete e[os]),r}var d2=iw;var rw=Object.prototype,ow=rw.toString;function sw(e){return ow.call(e)}var p2=sw;var aw="[object Null]",lw="[object Undefined]",f2=Or?Or.toStringTag:void 0;function cw(e){return e==null?e===void 0?lw:aw:f2&&f2 in Object(e)?d2(e):p2(e)}var m2=cw;function uw(e){return e!=null&&typeof e=="object"}var h2=uw;var dw="[object Symbol]";function pw(e){return typeof e=="symbol"||h2(e)&&m2(e)==dw}var g2=pw;var b2=NaN,fw=/^[-+]0x[0-9a-f]+$/i,mw=/^0b[01]+$/i,hw=/^0o[0-7]+$/i,gw=parseInt;function bw(e){if(typeof e=="number")return e;if(g2(e))return b2;if(Pi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Pi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=c2(e);var n=mw.test(e);return n||hw.test(e)?gw(e.slice(2),n?2:8):fw.test(e)?b2:+e}var uf=bw;var vw="Expected a function",yw=Math.max,_w=Math.min;function Cw(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(vw);t=uf(t)||0,Pi(n)&&(h=!!n.leading,g="maxWait"in n,o=g?yw(uf(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function v(O){var ye=i,ie=r;return i=r=void 0,f=O,a=e.apply(ie,ye),a}function _(O){return f=O,c=setTimeout(k,t),h?v(O):a}function M(O){var ye=O-d,ie=O-f,xn=t-ye;return g?_w(xn,o-ie):xn}function A(O){var ye=O-d,ie=O-f;return d===void 0||ye>=t||ye<0||g&&ie>=o}function k(){var O=Kl();if(A(O))return ne(O);c=setTimeout(k,M(O))}function ne(O){return c=void 0,y&&i?v(O):(i=r=void 0,a)}function le(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function Je(){return c===void 0?a:ne(Kl())}function He(){var O=Kl(),ye=A(O);if(i=arguments,r=this,d=O,ye){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 He.cancel=le,He.flush=Je,He}var Rr=Cw;var ww="Expected a function";function Dw(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(ww);return Pi(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Rr(e,t,{leading:i,maxWait:t,trailing:r})}var v2=Dw;var Fr=function(){return Fr=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},Fr.apply(this,arguments)};function C2(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function w2(e){return!e||!e.ownerDocument?document:e.ownerDocument}var D2=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 x2(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function E2(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function M2(e){return".".concat(e.split(" ").join("."))}var pf=!!(typeof window<"u"&&window.document&&window.document.createElement),xw=Object.freeze({__proto__:null,addClasses:x2,canUseDOM:pf,classNamesToQuery:M2,getElementDocument:w2,getElementWindow:C2,getOptions:D2,removeClasses:E2}),Pr=null,y2=null;pf&&window.addEventListener("resize",function(){y2!==window.devicePixelRatio&&(y2=window.devicePixelRatio,Pr=null)});function _2(){if(Pr===null){if(typeof document>"u")return Pr=0,Pr;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),Pr=n}return Pr}var Xn=C2,df=w2,Ew=D2,Kn=x2,Jn=E2,ht=M2,ss=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=Xn(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,Kn(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(){Jn(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(Kn(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){Jn(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,_,M;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,le=i.axis[i.draggedAxis].scrollbar,Je=(d=(c=i.contentWrapperEl)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,He=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)-le.size-O:O;var ye=O/(ne-le.size),ie=ye*(Je-He);i.draggedAxis==="x"&&i.isRtl&&(ie=!((M=e.getRtlHelpers())===null||M===void 0)&&M.isScrollingToNegative?-ie:ie),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ie}},this.onEndDrag=function(r){i.isDragging=!1;var o=df(i.el),a=Xn(i.el);r.preventDefault(),r.stopPropagation(),Jn(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=Fr(Fr({},e.defaultOptions),n),this.classNames=Fr(Fr({},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=v2(this._onMouseMove,64),this.onWindowResize=Rr(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Rr(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Rr(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:_2()}catch{return _2()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=df(t),r=Xn(t);return{top:n.top+(r.pageYOffset||i.documentElement.scrollTop),left:n.left+(r.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){pf&&(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||(Kn(this.axis.x.scrollbar.el,this.classNames.visible),Kn(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,i=Xn(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=Xn(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&&(Kn(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&&(Jn(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),Kn(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Kn(n.scrollbar.el,this.classNames.hover):Jn(n.scrollbar.el,this.classNames.hover)):(Jn(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Jn(this.axis[t].track.el,this.classNames.hover),Jn(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=df(this.el),o=Xn(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,Kn(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=Xn(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,M=_<0?-1:1,A=M===-1?v-y:v+y,k=40,ne=function(){i.contentWrapperEl&&(M===-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=Xn(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=Ew,e.helpers=xw,e}();var mf=function(e,t){return mf=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])},mf(e,t)};function Mw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");mf(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var hf=ss.helpers,ff=hf.getOptions,kt=hf.addClasses,Iw=hf.canUseDOM,I2=function(e){Mw(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,ff(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"),kt(this.wrapperEl,this.classNames.wrapper),kt(this.contentWrapperEl,this.classNames.contentWrapper),kt(this.offsetEl,this.classNames.offset),kt(this.maskEl,this.classNames.mask),kt(this.contentEl,this.classNames.contentEl),kt(this.placeholderEl,this.classNames.placeholder),kt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),kt(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");kt(a,this.classNames.track),kt(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),kt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),kt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}ss.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){ss.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,ff(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,ff(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}(ss);Iw&&I2.initHtmlApi();var gf=function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e}(gf||{});var T2=Vy(S2());function Sw(e,t){if(e&1){let n=ve();D(0,"lib-bimplus-main-menu",10),F("bimplusMainMenuClicked",function(r){H(n);let o=E();return B(o.bimplusMainMenuClicked(r))})("bimplusMainMenuOverlayClicked",function(){H(n);let r=E();return B(r.bimplusMainMenuOverlayClicked())}),T()}if(e&2){let n=E();x("selectedLanguage",n.languageStringsService.currentLanguage)("localizedStrings",n.languageStringsService.currentLanguageStrings)("isTouch",n.isTouch)("showHorizontalMenuIcons",n.isTouch)("appsWithInfo",n.appsWithInfo)("appsOrder",n.appsOrder)("menuItemsOrder",n.menuItemsOrder)}}var k2=(()=>{let t=class t{constructor(){this.translateService=P(Te),this.languageStringsService=P(s2),this.logoState=gf.BimplusViewer,this.isTouch=!1,this.isBimplusMainMenuVisible=!0,this.isNavbarMenuActive=!0,this.selectedZoom="100",this.messages="",this.contextMenuData=[],this.appsWithInfo=["portalSelectProjectBtn","portalBimUsers","portalBimModels"],this.appsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses","dividerprojectmanagement","portalBimViewerBtn","portalCloudViewerBtn","portalConnexisBtn","portalBimAutoconverterBtn","dividerapps","portalTeamManagementBtn","portalPropertyManagerBtn"],this.menuItemsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses"],this.showDialog=!1,this.activeTab=jn("object-properties"),this.languageStringsService.currentLanguage$.pipe(cf()).subscribe({next:i=>{this.translateService.use(i),T2.default.locale(i)}}),this.languageStringsService.currentLanguageStrings$.pipe(cf()).subscribe({next:i=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,i)}})}log(i,r,o,a){let c=typeof r?.detail=="object"?JSON.stringify(r?.detail):r?.detail,d=`EVENT : ${i}. `+(o?`INDEX: ${r?.detail?.index} ACTION: ${r?.detail?.action}`:`VALUE: ${c}`);(a?()=>window.alert(d):()=>console.log(d))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:i=>{this.log("Navbar clicked",i),i?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages()}bimplusLanguageSelected(i){this.log("bimplusLanguageSelected",{detail:i}),this._switchLanguage(i)}_switchLanguage(i){i&&this.languageStringsService.setCurrentLanguage(i)}bimplusUserMenuClicked(i){this.log("bimplusUserMenuClicked",i,!0)}bimplusTouchModeSelected(i){this.log("bimplusTouchModeSelected",{detail:i}),this.isTouch=i==="touch"}bimplusMainMenuClicked(i){this.log("bimplusUserMenuClicked",{detail:i},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(i){this.log("bimplusStorageInfoClicked",{detail:i},!1,!0)}bimplusContactClicked(i){this.log("bimplusContactClicked",{detail:i},!1,!0)}bimplusZoomSelected(i){this.log("bimplusZoomSelected",{detail:i}),this.selectedZoom=i;let r=62.5*(Number(i)/100),o=document.querySelector("html");o&&(o.style.fontSize=r+"%")}bimplusNotifyDeleteMessage(i){let r=JSON.parse(i),o=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(a=>a.id!==r.id);this.messages=o&&JSON.stringify({messages:o})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(i){this.log("This is notify message action handler",{detail:i},!1,!0)}initLanguage(){this.languageStringsService.languageFilesUri="/assets/@bimplus/navigation/languages",this._switchLanguage("en")}initMessages(){this.messages=JSON.stringify({messages:[{id:"ALFA",type:"info",title:"Import successful",text:"kolizia.ifc has been imported",linkText:"Click here to open the project",link:"#/"},{id:"BETA",type:"info",title:"Clash detection done",text:"Clash detection on the project House1 with preset has been done.",linkText:"Click here to open the project"},{id:"OMEGA",type:"info",title:"Model export finished",text:"",linkText:"Click here to download `00 EMPTY__revision_comparison1.ifc` model."},{id:"OMEGA1",type:"info",title:"Model export finished",text:"Structural model included. Reinforcement of Hospital.ifc has been imported.",linkText:["Click here to download `XXXX` model.","Click here to download `YYYYY` model."],links:["#/1","#/2"]},{id:"TEST3",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST4",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST5",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST6",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."}]})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=pe({type:t,selectors:[["app-root"]],features:[ze([])],decls:10,vars:19,consts:[[1,"bimplus-components-navbar","visible"],["isNavbarMessageVisible","false","teamInfo","test_team","projectInfo","00 Quickstart project and some very very long text","teamInfoOffset","0.9rem","isDev","true","isStage","true","isNavbarInfoVisible","true",3,"logoState","isNavbarMenuVisible","isNavbarMenuActive","isTouch"],[3,"bimplusNotifyMessageAction","bimplusNotifyDeleteMessage","bimplusNotifyDeleteAllMessages","selectedLanguage","localizedStrings","messages"],[3,"bimplusStorageInfoClicked","selectedLanguage","localizedStrings","usedStorage"],[3,"bimplusContactClicked"],[3,"bimplusZoomSelected","selectedZoom"],[3,"bimplusTouchModeSelected","selectedMode","selectedLanguage","localizedStrings"],[3,"bimplusLanguageSelected","selectedLanguage"],["userName","Test User","userPhotoUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","buttonTitle","testuser@allplan.com","allowRcaItem","true",3,"bimplusLanguageSelected","bimplusUserMenuClicked","selectedLanguage","localizedStrings","isTouch"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"bimplusMainMenuClicked","bimplusMainMenuOverlayClicked","selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"]],template:function(r,o){r&1&&(D(0,"div",0)(1,"lib-bimplus-navbar",1)(2,"lib-bimplus-notify",2),F("bimplusNotifyMessageAction",function(c){return o.bimplusNotifyMessageAction(c)})("bimplusNotifyDeleteMessage",function(c){return o.bimplusNotifyDeleteMessage(c)})("bimplusNotifyDeleteAllMessages",function(){return o.bimplusNotifyDeleteAllMessages()}),T(),D(3,"lib-bimplus-storage-info",3),F("bimplusStorageInfoClicked",function(c){return o.bimplusStorageInfoClicked(c)}),T(),D(4,"lib-bimplus-contact",4),F("bimplusContactClicked",function(c){return o.bimplusContactClicked(c)}),T(),D(5,"lib-bimplus-zoom",5),F("bimplusZoomSelected",function(c){return o.bimplusZoomSelected(c)}),T(),D(6,"lib-bimplus-touch-menu",6),F("bimplusTouchModeSelected",function(c){return o.bimplusTouchModeSelected(c)}),T(),D(7,"lib-bimplus-language-menu",7),F("bimplusLanguageSelected",function(c){return o.bimplusLanguageSelected(c)}),T(),D(8,"lib-bimplus-user-menu",8),F("bimplusLanguageSelected",function(c){return o.bimplusLanguageSelected(c)})("bimplusUserMenuClicked",function(c){return o.bimplusUserMenuClicked(c)}),T()()(),Ie(9,Sw,1,7,"lib-bimplus-main-menu",9)),r&2&&(w(),x("logoState",o.logoState)("isNavbarMenuVisible",o.isBimplusMainMenuVisible)("isNavbarMenuActive",o.isNavbarMenuActive)("isTouch",o.isTouch),w(),x("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("messages",o.messages),w(),x("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("usedStorage",90),w(2),x("selectedZoom",o.selectedZoom),w(),x("selectedMode",o.isTouch?"touch":"desktop")("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings),w(),x("selectedLanguage",o.languageStringsService.currentLanguage),w(),x("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),w(),Se(o.isNavbarMenuActive?9:-1))},dependencies:[Fl,Vl,Hl,Bl,Wl,Gl,ql,Ql,Yl,me],styles:[`*,html{font-size:100%;margin:0;padding:0}html{font-size:62.5%}body{background-color:gray}.hidden{display:none}bimplus-main-menu{height:50vh}lib-bimplus-floating-bar-project-navigator{position:absolute}.floating-panels-wrapper{position:relative}.tree-data{background-color:#fff;font-size:1.5rem;width:fit-content;padding:.5rem;border-style:solid;border-width:.2rem;border-radius:.5rem;margin:.5rem;cursor:pointer}.tree{width:20%;height:250px}
|
|
23
23
|
`],encapsulation:2});let e=t;return e})();var Tw=e=>new o2(e,"./assets/@bimplus/navigation/languages/strings_",".json"),vf=class{handle(t){return console.warn("Missing translation string "+t.key),t.key}};Wt(null,null,function*(){let e=yield Up({providers:[Zp(),_a(je.forRoot({missingTranslationHandler:{provide:Oi,useClass:vf},isolate:!0,defaultLanguage:"en",loader:{provide:Wn,useFactory:Tw,deps:[Mr]}}))]}),t=wt(Fl,{injector:e.injector});customElements.define("bimplus-navigation-contact",t);let n=wt(Vl,{injector:e.injector});customElements.define("bimplus-navigation-language-menu",n);let i=wt(Hl,{injector:e.injector});customElements.define("bimplus-navigation-main-menu",i);let r=wt(Bl,{injector:e.injector});customElements.define("bimplus-navigation-navbar",r);let o=wt(Wl,{injector:e.injector});customElements.define("bimplus-navigation-notify",o);let a=wt(jl,{injector:e.injector});customElements.define("bimplus-navigation-project-menu",a);let c=wt(Gl,{injector:e.injector});customElements.define("bimplus-navigation-storage-info",c);let d=wt(Yl,{injector:e.injector});customElements.define("bimplus-navigation-touch-menu",d);let f=wt(ql,{injector:e.injector});customElements.define("bimplus-navigation-user-menu",f);let h=wt(Ql,{injector:e.injector});customElements.define("bimplus-navigation-zoom",h);let g=wt($l,{injector:e.injector});customElements.define("bimplus-navigation-scrollable-container-element",g);let y=wt(k2,{injector:e.injector});customElements.define("bimplus-navigation-app-wrapper-internal-element",y)});export{vf as BimplusMissingTranslationHandler};
|