bimplus-webcomponents 0.0.35 → 0.0.36
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.
|
@@ -4,7 +4,7 @@ ${i.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
|
|
|
4
4
|
`);return i===-1?e:e.substring(0,i)}function cl(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var m_=Ne({__forward_ref__:Ne});function Zn(t){return t.__forward_ref__=Zn,t.toString=function(){return yt(this())},t}function dt(t){return ym(t)?t():t}function ym(t){return typeof t=="function"&&t.hasOwnProperty(m_)&&t.__forward_ref__===Zn}function q(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Te(t){return{providers:t.providers||[],imports:t.imports||[]}}function lc(t){return Ru(t,Cm)||Ru(t,wm)}function Ru(t,e){return t.hasOwnProperty(e)?t[e]:null}function p_(t){let e=t&&(t[Cm]||t[wm]);return e||null}function Lu(t){return t&&(t.hasOwnProperty(Vu)||t.hasOwnProperty(f_))?t[Vu]:null}var Cm=Ne({\u0275prov:Ne}),Vu=Ne({\u0275inj:Ne}),wm=Ne({ngInjectableDef:Ne}),f_=Ne({ngInjectorDef:Ne}),U=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=q({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function xm(t){return t&&!!t.\u0275providers}var g_=Ne({\u0275cmp:Ne}),h_=Ne({\u0275dir:Ne}),b_=Ne({\u0275pipe:Ne});var Yr=Ne({\u0275fac:Ne}),ho=Ne({__NG_ELEMENT_ID__:Ne}),Bu=Ne({__NG_ENV_ID__:Ne});function Ci(t){return typeof t=="string"?t:t==null?"":String(t)}function __(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Ci(t)}function v_(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new pe(-200,t)}function cc(t,e){throw new pe(-201,!1)}var me=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(me||{}),dl;function Dm(){return dl}function Et(t){let e=dl;return dl=t,e}function Mm(t,e,i){let n=lc(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&me.Optional)return null;if(e!==void 0)return e;cc(t,"Injector")}var y_={},bo=y_,ul="__NG_DI_FLAG__",Qr="ngTempTokenPath",C_="ngTokenPath",w_=/\n/gm,x_="\u0275",zu="__source",vi;function D_(){return vi}function gi(t){let e=vi;return vi=t,e}function M_(t,e=me.Default){if(vi===void 0)throw new pe(-203,!1);return vi===null?Mm(t,void 0,e):vi.get(t,e&me.Optional?null:void 0,e)}function j(t,e=me.Default){return(Dm()||M_)(dt(t),e)}function be(t,e=me.Default){return j(t,_s(e))}function _s(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ml(t){let e=[];for(let i=0;i<t.length;i++){let n=dt(t[i]);if(Array.isArray(n)){if(n.length===0)throw new pe(900,!1);let o,r=me.Default;for(let s=0;s<n.length;s++){let a=n[s],l=I_(a);typeof l=="number"?l===-1?o=a.token:r|=l:o=a}e.push(j(o,r))}else e.push(j(n))}return e}function Im(t,e){return t[ul]=e,t.prototype[ul]=e,t}function I_(t){return t[ul]}function E_(t,e,i,n){let o=t[Qr];throw e[zu]&&o.unshift(e[zu]),t.message=k_(`
|
|
5
5
|
`+t.message,o,i,n),t[C_]=o,t[Qr]=null,t}function k_(t,e,i,n=null){t=t&&t.charAt(0)===`
|
|
6
6
|
`&&t.charAt(1)==x_?t.slice(2):t;let o=yt(e);if(Array.isArray(e))o=e.map(yt).join(" -> ");else if(typeof e=="object"){let r=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];r.push(s+":"+(typeof a=="string"?JSON.stringify(a):yt(a)))}o=`{${r.join(", ")}}`}return`${i}${n?"("+n+")":""}[${o}]: ${t.replace(w_,`
|
|
7
|
-
`)}`}var dc=Im(vm("Optional"),8);var Em=Im(vm("SkipSelf"),4);function Bn(t,e){let i=t.hasOwnProperty(Yr);return i?t[Yr]:null}function S_(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],r=e[n];if(i&&(o=i(o),r=i(r)),r!==o)return!1}return!0}function O_(t){return t.flat(Number.POSITIVE_INFINITY)}function uc(t,e){t.forEach(i=>Array.isArray(i)?uc(i,e):e(i))}function km(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Kr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function T_(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function P_(t,e,i,n){let o=t.length;if(o==e)t.push(i,n);else if(o===1)t.push(n,t[0]),t[0]=i;else{for(o--,t.push(t[o-1],t[o]);o>e;){let r=o-2;t[o]=t[r],o--}t[e]=i,t[e+1]=n}}function mc(t,e,i){let n=Po(t,e);return n>=0?t[n|1]=i:(n=~n,P_(t,n,e,i)),n}function qa(t,e){let i=Po(t,e);if(i>=0)return t[i|1]}function Po(t,e){return A_(t,e,1)}function A_(t,e,i){let n=0,o=t.length>>i;for(;o!==n;){let r=n+(o-n>>1),s=t[r<<i];if(e===s)return r<<i;s>e?o=r:n=r+1}return~(o<<i)}var wi={},_t=[],_o=new U(""),Sm=new U("",-1),Om=new U(""),Xr=class{get(e,i=bo){if(i===bo){let n=new Error(`NullInjectorError: No provider for ${yt(e)}!`);throw n.name="NullInjectorError",n}return i}},Tm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Tm||{}),qt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(qt||{}),_=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(_||{});function F_(t,e,i){let n=t.length;for(;;){let o=t.indexOf(e,i);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=e.length;if(o+r===n||t.charCodeAt(o+r)<=32)return o}i=o+1}}function pl(t,e,i){let n=0;for(;n<i.length;){let o=i[n];if(typeof o=="number"){if(o!==0)break;n++;let r=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,r)}else{let r=o,s=i[++n];N_(r)?t.setProperty(e,r,s):t.setAttribute(e,r,s),n++}}return n}function Pm(t){return t===3||t===4||t===6}function N_(t){return t.charCodeAt(0)===64}function vo(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?i=o:i===0||(i===-1||i===2?Hu(t,i,o,null,e[++n]):Hu(t,i,o,null,null))}}return t}function Hu(t,e,i,n,o){let r=0,s=t.length;if(e===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===i){if(n===null){o!==null&&(t[r+1]=o);return}else if(n===t[r+1]){t[r+2]=o;return}}r++,n!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,e),r=s+1),t.splice(r++,0,i),n!==null&&t.splice(r++,0,n),o!==null&&t.splice(r++,0,o)}var Am="ng-template";function j_(t,e,i,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&F_(e[o+1].toLowerCase(),i,0)!==-1)return!0}else if(pc(t))return!1;if(o=e.indexOf(1,o),o>-1){let r;for(;++o<e.length&&typeof(r=e[o])=="string";)if(r.toLowerCase()===i)return!0}return!1}function pc(t){return t.type===4&&t.value!==Am}function R_(t,e,i){let n=t.type===4&&!i?Am:t.value;return e===n}function L_(t,e,i){let n=4,o=t.attrs,r=o!==null?z_(o):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!Rt(n)&&!Rt(l))return!1;if(s&&Rt(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!R_(t,l,i)||l===""&&e.length===1){if(Rt(n))return!1;s=!0}}else if(n&8){if(o===null||!j_(t,o,l,i)){if(Rt(n))return!1;s=!0}}else{let c=e[++a],u=V_(l,o,pc(t),i);if(u===-1){if(Rt(n))return!1;s=!0;continue}if(c!==""){let h;if(u>r?h="":h=o[u+1].toLowerCase(),n&2&&c!==h){if(Rt(n))return!1;s=!0}}}}return Rt(n)||s}function Rt(t){return(t&1)===0}function V_(t,e,i,n){if(e===null)return-1;let o=0;if(n||!i){let r=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return H_(e,t)}function Fm(t,e,i=!1){for(let n=0;n<e.length;n++)if(L_(t,e[n],i))return!0;return!1}function B_(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function z_(t){for(let e=0;e<t.length;e++){let i=t[e];if(Pm(i))return e}return t.length}function H_(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function $_(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function $u(t,e){return t?":not("+e.trim()+")":e}function U_(t){let e=t[0],i=1,n=2,o="",r=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Rt(s)&&(e+=$u(r,o),o=""),n=s,r=r||!Rt(n);i++}return o!==""&&(e+=$u(r,o)),e}function W_(t){return t.map(U_).join(",")}function G_(t){let e=[],i=[],n=1,o=2;for(;n<t.length;){let r=t[n];if(typeof r=="string")o===2?r!==""&&e.push(r,t[++n]):o===8&&i.push(r);else{if(!Rt(o))break;o=r}n++}return{attrs:e,classes:i}}function k(t){return To(()=>{let e=Rm(t),i=ht(ce({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Tm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||qt.Emulated,styles:t.styles||_t,_:null,schemas:t.schemas||null,tView:null,id:""});Lm(i);let n=t.dependencies;return i.directiveDefs=Wu(n,!1),i.pipeDefs=Wu(n,!0),i.id=Q_(i),i})}function q_(t){return xi(t)||Nm(t)}function Z_(t){return t!==null}function Pe(t){return To(()=>({type:t.type,bootstrap:t.bootstrap||_t,declarations:t.declarations||_t,imports:t.imports||_t,exports:t.exports||_t,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Uu(t,e){if(t==null)return wi;let i={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],r,s,a=_.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),e?(i[r]=a!==_.None?[n,a]:n,e[r]=s):i[r]=n}return i}function Z(t){return To(()=>{let e=Rm(t);return Lm(e),e})}function Ao(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function xi(t){return t[g_]||null}function Nm(t){return t[h_]||null}function jm(t){return t[b_]||null}function Y_(t){let e=xi(t)||Nm(t)||jm(t);return e!==null?e.standalone:!1}function Rm(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||wi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||_t,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Uu(t.inputs,e),outputs:Uu(t.outputs),debugInfo:null}}function Lm(t){t.features?.forEach(e=>e(t))}function Wu(t,e){if(!t)return null;let i=e?jm:q_;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(Z_)}function Q_(t){let e=0,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of i)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Vm(t){return{\u0275providers:t}}function fc(...t){return{\u0275providers:Bm(!0,t),\u0275fromNgModule:!0}}function Bm(t,...e){let i=[],n=new Set,o,r=s=>{i.push(s)};return uc(e,s=>{let a=s;fl(a,r,[],n)&&(o||=[],o.push(a))}),o!==void 0&&zm(o,r),i}function zm(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:o}=t[i];gc(o,r=>{e(r,n)})}}function fl(t,e,i,n){if(t=dt(t),!t)return!1;let o=null,r=Lu(t),s=!r&&xi(t);if(!r&&!s){let l=t.ngModule;if(r=Lu(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)fl(c,e,i,n)}}else if(r){if(r.imports!=null&&!a){n.add(o);let c;try{uc(r.imports,u=>{fl(u,e,i,n)&&(c||=[],c.push(u))})}finally{}c!==void 0&&zm(c,e)}if(!a){let c=Bn(o)||(()=>new o);e({provide:o,useFactory:c,deps:_t},o),e({provide:Om,useValue:o,multi:!0},o),e({provide:_o,useValue:()=>j(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;gc(l,u=>{e(u,c)})}}else return!1;return o!==t&&t.providers!==void 0}function gc(t,e){for(let i of t)xm(i)&&(i=i.\u0275providers),Array.isArray(i)?gc(i,e):e(i)}var K_=Ne({provide:String,useValue:Ne});function Hm(t){return t!==null&&typeof t=="object"&&K_ in t}function X_(t){return!!(t&&t.useExisting)}function J_(t){return!!(t&&t.useFactory)}function Di(t){return typeof t=="function"}function ev(t){return!!t.useClass}var vs=new U(""),$r={},tv={},Za;function hc(){return Za===void 0&&(Za=new Xr),Za}var gn=class{},Jr=class extends gn{get destroyed(){return this._destroyed}constructor(e,i,n,o){super(),this.parent=i,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hl(e,s=>this.processProvider(s)),this.records.set(Sm,hi(void 0,this)),o.has("environment")&&this.records.set(gn,hi(void 0,this));let r=this.records.get(vs);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Om,_t,me.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=de(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),de(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=gi(this),n=Et(void 0),o;try{return e()}finally{gi(i),Et(n)}}get(e,i=bo,n=me.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Bu))return e[Bu](this);n=_s(n);let o,r=gi(this),s=Et(void 0);try{if(!(n&me.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=sv(e)&&lc(e);c&&this.injectableDefInScope(c)?l=hi(gl(e),$r):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&me.Self?hc():this.parent;return i=n&me.Optional&&i===bo?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[Qr]=a[Qr]||[]).unshift(yt(e)),r)throw a;return E_(a,e,"R3InjectorError",this.source)}else throw a}finally{Et(s),gi(r)}}resolveInjectorInitializers(){let e=de(null),i=gi(this),n=Et(void 0),o;try{let r=this.get(_o,_t,me.Self);for(let s of r)s()}finally{gi(i),Et(n),de(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(yt(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new pe(205,!1)}processProvider(e){e=dt(e);let i=Di(e)?e:dt(e&&e.provide),n=iv(e);if(!Di(e)&&e.multi===!0){let o=this.records.get(i);o||(o=hi(void 0,$r,!0),o.factory=()=>ml(o.multi),this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=de(null);try{return i.value===$r&&(i.value=tv,i.value=i.factory()),typeof i.value=="object"&&i.value&&rv(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{de(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=dt(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};function gl(t){let e=lc(t),i=e!==null?e.factory:Bn(t);if(i!==null)return i;if(t instanceof U)throw new pe(204,!1);if(t instanceof Function)return nv(t);throw new pe(204,!1)}function nv(t){if(t.length>0)throw new pe(204,!1);let i=p_(t);return i!==null?()=>i.factory(t):()=>new t}function iv(t){if(Hm(t))return hi(void 0,t.useValue);{let e=$m(t);return hi(e,$r)}}function $m(t,e,i){let n;if(Di(t)){let o=dt(t);return Bn(o)||gl(o)}else if(Hm(t))n=()=>dt(t.useValue);else if(J_(t))n=()=>t.useFactory(...ml(t.deps||[]));else if(X_(t))n=()=>j(dt(t.useExisting));else{let o=dt(t&&(t.useClass||t.provide));if(ov(t))n=()=>new o(...ml(t.deps));else return Bn(o)||gl(o)}return n}function hi(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function ov(t){return!!t.deps}function rv(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function sv(t){return typeof t=="function"||typeof t=="object"&&t instanceof U}function hl(t,e){for(let i of t)Array.isArray(i)?hl(i,e):i&&xm(i)?hl(i.\u0275providers,e):e(i)}function av(){return Dm()!==void 0||D_()!=null}function lv(t){return typeof t=="function"}var on=0,ee=1,Y=2,et=3,Vt=4,Ct=5,Mi=6,yo=7,nt=8,Ii=9,Bt=10,Le=11,Co=12,Gu=13,Ti=14,kt=15,Fo=16,bi=17,nn=18,ys=19,Um=20,fn=21,Ya=22,zn=23,ot=25,Wm=1;var Hn=7,es=8,Ei=9,it=10,bc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(bc||{});function Ln(t){return Array.isArray(t)&&typeof t[Wm]=="object"}function rn(t){return Array.isArray(t)&&t[Wm]===!0}function _c(t){return(t.flags&4)!==0}function Cs(t){return t.componentOffset>-1}function ws(t){return(t.flags&1)===1}function hn(t){return!!t.template}function cv(t){return(t[Y]&512)!==0}var wo=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};function Gm(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function Ue(){return qm}function qm(t){return t.type.prototype.ngOnChanges&&(t.setInput=uv),dv}Ue.ngInherit=!0;function dv(){let t=Ym(this),e=t?.current;if(e){let i=t.previous;if(i===wi)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function uv(t,e,i,n,o){let r=this.declaredInputs[n],s=Ym(t)||mv(t,{previous:wi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new wo(c&&c.currentValue,i,l===wi),Gm(t,e,o,i)}var Zm="__ngSimpleChanges__";function Ym(t){return t[Zm]||null}function mv(t,e){return t[Zm]=e}var qu=null;var Wt=function(t,e,i){qu?.(t,e,i)},Qm="svg",pv="math",fv=!1;function gv(){return fv}function Zt(t){for(;Array.isArray(t);)t=t[on];return t}function Km(t,e){return Zt(e[t])}function Ot(t,e){return Zt(e[t.index])}function vc(t,e){return t.data[e]}function Xm(t,e){return t[e]}function _n(t,e){let i=e[t];return Ln(i)?i:i[on]}function hv(t){return(t[Y]&4)===4}function yc(t){return(t[Y]&128)===128}function bv(t){return rn(t[et])}function ki(t,e){return e==null?null:t[e]}function Jm(t){t[bi]=0}function _v(t){t[Y]&1024||(t[Y]|=1024,yc(t)&&xo(t))}function vv(t,e){for(;t>0;)e=e[Ti],t--;return e}function Cc(t){return!!(t[Y]&9216||t[zn]?.dirty)}function bl(t){t[Bt].changeDetectionScheduler?.notify(1),Cc(t)?xo(t):t[Y]&64&&(gv()?(t[Y]|=1024,xo(t)):t[Bt].changeDetectionScheduler?.notify())}function xo(t){t[Bt].changeDetectionScheduler?.notify();let e=Do(t);for(;e!==null&&!(e[Y]&8192||(e[Y]|=8192,!yc(e)));)e=Do(e)}function ep(t,e){if((t[Y]&256)===256)throw new pe(911,!1);t[fn]===null&&(t[fn]=[]),t[fn].push(e)}function yv(t,e){if(t[fn]===null)return;let i=t[fn].indexOf(e);i!==-1&&t[fn].splice(i,1)}function Do(t){let e=t[et];return rn(e)?e[et]:e}var re={lFrame:ap(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Cv(){return re.lFrame.elementDepthCount}function wv(){re.lFrame.elementDepthCount++}function xv(){re.lFrame.elementDepthCount--}function tp(){return re.bindingsEnabled}function np(){return re.skipHydrationRootTNode!==null}function Dv(t){return re.skipHydrationRootTNode===t}function Mv(){re.skipHydrationRootTNode=null}function te(){return re.lFrame.lView}function $e(){return re.lFrame.tView}function M(t){return re.lFrame.contextLView=t,t[nt]}function I(t){return re.lFrame.contextLView=null,t}function rt(){let t=ip();for(;t!==null&&t.type===64;)t=t.parent;return t}function ip(){return re.lFrame.currentTNode}function Iv(){let t=re.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Yn(t,e){let i=re.lFrame;i.currentTNode=t,i.isParent=e}function wc(){return re.lFrame.isParent}function xc(){re.lFrame.isParent=!1}function Ev(){return re.lFrame.contextLView}function No(){let t=re.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function kv(){return re.lFrame.bindingIndex}function Sv(t){return re.lFrame.bindingIndex=t}function Pi(){return re.lFrame.bindingIndex++}function Dc(t){let e=re.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function Ov(){return re.lFrame.inI18n}function Tv(t,e){let i=re.lFrame;i.bindingIndex=i.bindingRootIndex=t,_l(e)}function Pv(){return re.lFrame.currentDirectiveIndex}function _l(t){re.lFrame.currentDirectiveIndex=t}function Av(t){let e=re.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function op(){return re.lFrame.currentQueryIndex}function Mc(t){re.lFrame.currentQueryIndex=t}function Fv(t){let e=t[ee];return e.type===2?e.declTNode:e.type===1?t[Ct]:null}function rp(t,e,i){if(i&me.SkipSelf){let o=e,r=t;for(;o=o.parent,o===null&&!(i&me.Host);)if(o=Fv(r),o===null||(r=r[Ti],o.type&10))break;if(o===null)return!1;e=o,t=r}let n=re.lFrame=sp();return n.currentTNode=e,n.lView=t,!0}function Ic(t){let e=sp(),i=t[ee];re.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function sp(){let t=re.lFrame,e=t===null?null:t.child;return e===null?ap(t):e}function ap(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function lp(){let t=re.lFrame;return re.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var cp=lp;function Ec(){let t=lp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Nv(t){return(re.lFrame.contextLView=vv(t,re.lFrame.contextLView))[nt]}function sn(){return re.lFrame.selectedIndex}function $n(t){re.lFrame.selectedIndex=t}function xs(){let t=re.lFrame;return vc(t.tView,t.selectedIndex)}function dp(){re.lFrame.currentNamespace=Qm}function jv(){return re.lFrame.currentNamespace}var up=!0;function Ds(){return up}function Ms(t){up=t}function Rv(t,e,i){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:r}=e.type.prototype;if(n){let s=qm(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}o&&(i.preOrderHooks??=[]).push(0-t,o),r&&((i.preOrderHooks??=[]).push(t,r),(i.preOrderCheckHooks??=[]).push(t,r))}function Is(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let r=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),l&&(t.viewHooks??=[]).push(-i,l),c&&((t.viewHooks??=[]).push(i,c),(t.viewCheckHooks??=[]).push(i,c)),u!=null&&(t.destroyHooks??=[]).push(i,u)}}function Ur(t,e,i){mp(t,e,3,i)}function Wr(t,e,i,n){(t[Y]&3)===i&&mp(t,e,i,n)}function Qa(t,e){let i=t[Y];(i&3)===e&&(i&=16383,i+=1,t[Y]=i)}function mp(t,e,i,n){let o=n!==void 0?t[bi]&65535:0,r=n??-1,s=e.length-1,a=0;for(let l=o;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],n!=null&&a>=n)break}else e[l]<0&&(t[bi]+=65536),(a<r||r==-1)&&(Lv(t,i,e,l),t[bi]=(t[bi]&4294901760)+l+2),l++}function Zu(t,e){Wt(4,t,e);let i=de(null);try{e.call(t)}finally{de(i),Wt(5,t,e)}}function Lv(t,e,i,n){let o=i[n]<0,r=i[n+1],s=o?-i[n]:i[n],a=t[s];o?t[Y]>>14<t[bi]>>16&&(t[Y]&3)===e&&(t[Y]+=16384,Zu(a,r)):Zu(a,r)}var yi=-1,Un=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};function Vv(t){return t instanceof Un}function Bv(t){return(t.flags&8)!==0}function zv(t){return(t.flags&16)!==0}function pp(t){return t!==yi}function ts(t){return t&32767}function Hv(t){return t>>16}function ns(t,e){let i=Hv(t),n=e;for(;i>0;)n=n[Ti],i--;return n}var vl=!0;function is(t){let e=vl;return vl=t,e}var $v=256,fp=$v-1,gp=5,Uv=0,Gt={};function Wv(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(ho)&&(n=i[ho]),n==null&&(n=i[ho]=Uv++);let o=n&fp,r=1<<o;e.data[t+(o>>gp)]|=r}function os(t,e){let i=hp(t,e);if(i!==-1)return i;let n=e[ee];n.firstCreatePass&&(t.injectorIndex=e.length,Ka(n.data,t),Ka(e,null),Ka(n.blueprint,null));let o=kc(t,e),r=t.injectorIndex;if(pp(o)){let s=ts(o),a=ns(o,e),l=a[ee].data;for(let c=0;c<8;c++)e[r+c]=a[s+c]|l[s+c]}return e[r+8]=o,r}function Ka(t,e){t.push(0,0,0,0,0,0,0,0,e)}function hp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function kc(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,o=e;for(;o!==null;){if(n=Cp(o),n===null)return yi;if(i++,o=o[Ti],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return yi}function yl(t,e,i){Wv(t,e,i)}function Gv(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,o=0;for(;o<n;){let r=i[o];if(Pm(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<n&&typeof i[o]=="string";)o++;else{if(r===e)return i[o+1];o=o+2}}}return null}function bp(t,e,i){if(i&me.Optional||t!==void 0)return t;cc(e,"NodeInjector")}function _p(t,e,i,n){if(i&me.Optional&&n===void 0&&(n=null),!(i&(me.Self|me.Host))){let o=t[Ii],r=Et(void 0);try{return o?o.get(e,n,i&me.Optional):Mm(e,n,i&me.Optional)}finally{Et(r)}}return bp(n,e,i)}function vp(t,e,i,n=me.Default,o){if(t!==null){if(e[Y]&2048&&!(n&me.Self)){let s=Qv(t,e,i,n,Gt);if(s!==Gt)return s}let r=yp(t,e,i,n,Gt);if(r!==Gt)return r}return _p(e,i,n,o)}function yp(t,e,i,n,o){let r=Zv(i);if(typeof r=="function"){if(!rp(e,t,n))return n&me.Host?bp(o,i,n):_p(e,i,n,o);try{let s;if(s=r(n),s==null&&!(n&me.Optional))cc(i);else return s}finally{cp()}}else if(typeof r=="number"){let s=null,a=hp(t,e),l=yi,c=n&me.Host?e[kt][Ct]:null;for((a===-1||n&me.SkipSelf)&&(l=a===-1?kc(t,e):e[a+8],l===yi||!Qu(n,!1)?a=-1:(s=e[ee],a=ts(l),e=ns(l,e)));a!==-1;){let u=e[ee];if(Yu(r,a,u.data)){let h=qv(a,e,i,s,n,c);if(h!==Gt)return h}l=e[a+8],l!==yi&&Qu(n,e[ee].data[a+8]===c)&&Yu(r,a,e)?(s=u,a=ts(l),e=ns(l,e)):a=-1}}return o}function qv(t,e,i,n,o,r){let s=e[ee],a=s.data[t+8],l=n==null?Cs(a)&&vl:n!=s&&(a.type&3)!==0,c=o&me.Host&&r===a,u=Gr(a,s,i,l,c);return u!==null?Wn(e,s,u,a):Gt}function Gr(t,e,i,n,o){let r=t.providerIndexes,s=e.data,a=r&1048575,l=t.directiveStart,c=t.directiveEnd,u=r>>20,h=n?a:a+u,v=o?a+u:c;for(let x=h;x<v;x++){let T=s[x];if(x<l&&i===T||x>=l&&T.type===i)return x}if(o){let x=s[l];if(x&&hn(x)&&x.type===i)return l}return null}function Wn(t,e,i,n){let o=t[i],r=e.data;if(Vv(o)){let s=o;s.resolving&&v_(__(r[i]));let a=is(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Et(s.injectImpl):null,u=rp(t,n,me.Default);try{o=t[i]=s.factory(void 0,r,t,n),e.firstCreatePass&&i>=n.directiveStart&&Rv(i,r[i],e)}finally{c!==null&&Et(c),is(a),s.resolving=!1,cp()}}return o}function Zv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ho)?t[ho]:void 0;return typeof e=="number"?e>=0?e&fp:Yv:e}function Yu(t,e,i){let n=1<<t;return!!(i[e+(t>>gp)]&n)}function Qu(t,e){return!(t&me.Self)&&!(t&me.Host&&e)}var Vn=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return vp(this._tNode,this._lView,e,_s(n),i)}};function Yv(){return new Vn(rt(),te())}function st(t){return To(()=>{let e=t.prototype.constructor,i=e[Yr]||Cl(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let r=o[Yr]||Cl(o);if(r&&r!==i)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Cl(t){return ym(t)?()=>{let e=Cl(dt(t));return e&&e()}:Bn(t)}function Qv(t,e,i,n,o){let r=t,s=e;for(;r!==null&&s!==null&&s[Y]&2048&&!(s[Y]&512);){let a=yp(r,s,i,n|me.Self,Gt);if(a!==Gt)return a;let l=r.parent;if(!l){let c=s[Um];if(c){let u=c.get(i,Gt,n);if(u!==Gt)return u}l=Cp(s),s=s[Ti]}r=l}return o}function Cp(t){let e=t[ee],i=e.type;return i===2?e.declTNode:i===1?t[Ct]:null}function Ai(t){return Gv(rt(),t)}function Ku(t,e=null,i=null,n){let o=Kv(t,e,i,n);return o.resolveInjectorInitializers(),o}function Kv(t,e=null,i=null,n,o=new Set){let r=[i||_t,fc(t)];return n=n||(typeof t=="object"?void 0:yt(t)),new Jr(r,e||hc(),n||null,o)}var Fi=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return Ku({name:""},o,n,"");{let r=n.name??"";return Ku({name:r},n.parent,n.providers,r)}}};e.THROW_IF_NOT_FOUND=bo,e.NULL=new Xr,e.\u0275prov=q({token:e,providedIn:"any",factory:()=>j(Sm)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var Xv="ngOriginalError";function Xa(t){return t[Xv]}var Yt=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&Xa(e);for(;i&&Xa(i);)i=Xa(i);return i||null}},wp=new U("",{providedIn:"root",factory:()=>be(Yt).handleError.bind(void 0)}),xp=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Jv,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),wl=class extends xp{constructor(e){super(),this._lView=e}onDestroy(e){return ep(this._lView,e),()=>yv(this._lView,e)}};function Jv(){return new wl(te())}function e0(){return Ni(rt(),te())}function Ni(t,e){return new se(Ot(t,e))}var se=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=e0;let t=e;return t})();function t0(t){return t instanceof se?t.nativeElement:t}var xl=class extends ye{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,av()&&(this.destroyRef=be(xp,{optional:!0})??void 0)}emit(e){let i=de(null);try{super.next(e)}finally{de(i)}}subscribe(e,i,n){let o=e,r=i||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=Ja(r),o&&(o=Ja(o)),s&&(s=Ja(s)));let a=super.subscribe({next:o,error:r,complete:s});return e instanceof He&&e.add(a),a}};function Ja(t){return e=>{setTimeout(t,void 0,e)}}var y=xl;function n0(){return this._results[Symbol.iterator]()}var rs=class t{get changes(){return this._changes??=new y}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=n0)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=O_(e);(this._changesDetected=!S_(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Dp(t){return(t.flags&128)===128}var Mp=new Map,i0=0;function o0(){return i0++}function r0(t){Mp.set(t[ys],t)}function s0(t){Mp.delete(t[ys])}var Xu="__ngContext__";function bn(t,e){Ln(e)?(t[Xu]=e[ys],r0(e)):t[Xu]=e}function Ip(t){return kp(t[Co])}function Ep(t){return kp(t[Vt])}function kp(t){for(;t!==null&&!rn(t);)t=t[Vt];return t}var Dl;function Sp(t){Dl=t}function a0(){if(Dl!==void 0)return Dl;if(typeof document<"u")return document;throw new pe(210,!1)}var Es=new U("",{providedIn:"root",factory:()=>l0}),l0="ng",Sc=new U(""),vn=new U("",{providedIn:"platform",factory:()=>"unknown"});var jo=new U(""),Ro=new U("",{providedIn:"root",factory:()=>a0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var c0="h",d0="b";var u0=()=>null;function Oc(t,e,i=!1){return u0(t,e,i)}var Op=!1,m0=new U("",{providedIn:"root",factory:()=>Op});var ss=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_m})`}};function Lo(t){return t instanceof ss?t.changingThisBreaksApplicationSecurity:t}function Tp(t,e){let i=p0(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${_m})`)}return i===e}function p0(t){return t instanceof ss&&t.getTypeName()||null}var f0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pp(t){return t=String(t),t.match(f0)?t:"unsafe:"+t}var Tc=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Tc||{});function Vo(t){let e=g0();return e?e.sanitize(Tc.URL,t)||"":Tp(t,"URL")?Lo(t):Pp(Ci(t))}function g0(){let t=te();return t&&t[Bt].sanitizer}var h0=/^>|^->|<!--|-->|--!>|<!-$/g,b0=/(<|>)/g,_0="\u200B$1\u200B";function v0(t){return t.replace(h0,e=>e.replace(b0,_0))}function yn(t){return t.ownerDocument}var Qt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Qt||{}),y0;function Pc(t,e){return y0(t,e)}function _i(t,e,i,n,o){if(n!=null){let r,s=!1;rn(n)?r=n:Ln(n)&&(s=!0,n=n[on]);let a=Zt(n);t===0&&i!==null?o==null?Rp(e,i,a):as(e,i,a,o||null,!0):t===1&&i!==null?as(e,i,a,o||null,!0):t===2?j0(e,a,s):t===3&&e.destroyNode(a),r!=null&&L0(e,t,r,i,o)}}function C0(t,e){return t.createText(e)}function w0(t,e,i){t.setValue(e,i)}function x0(t,e){return t.createComment(v0(e))}function Ap(t,e,i){return t.createElement(e,i)}function D0(t,e){Fp(t,e),e[on]=null,e[Ct]=null}function M0(t,e,i,n,o,r){n[on]=o,n[Ct]=e,Os(t,n,i,1,o,r)}function Fp(t,e){e[Bt].changeDetectionScheduler?.notify(1),Os(t,e,e[Le],2,null,null)}function I0(t){let e=t[Co];if(!e)return el(t[ee],t);for(;e;){let i=null;if(Ln(e))i=e[Co];else{let n=e[it];n&&(i=n)}if(!i){for(;e&&!e[Vt]&&e!==t;)Ln(e)&&el(e[ee],e),e=e[et];e===null&&(e=t),Ln(e)&&el(e[ee],e),i=e&&e[Vt]}e=i}}function E0(t,e,i,n){let o=it+n,r=i.length;n>0&&(i[o-1][Vt]=e),n<r-it?(e[Vt]=i[o],km(i,it+n,e)):(i.push(e),e[Vt]=null),e[et]=i;let s=e[Fo];s!==null&&i!==s&&k0(s,e);let a=e[nn];a!==null&&a.insertView(t),bl(e),e[Y]|=128}function k0(t,e){let i=t[Ei],o=e[et][et][kt];e[kt]!==o&&(t[Y]|=bc.HasTransplantedViews),i===null?t[Ei]=[e]:i.push(e)}function Np(t,e){let i=t[Ei],n=i.indexOf(e);i.splice(n,1)}function Mo(t,e){if(t.length<=it)return;let i=it+e,n=t[i];if(n){let o=n[Fo];o!==null&&o!==t&&Np(o,n),e>0&&(t[i-1][Vt]=n[Vt]);let r=Kr(t,it+e);D0(n[ee],n);let s=r[nn];s!==null&&s.detachView(r[ee]),n[et]=null,n[Vt]=null,n[Y]&=-129}return n}function ks(t,e){if(!(e[Y]&256)){let i=e[Le];i.destroyNode&&Os(t,e,i,3,null,null),I0(e)}}function el(t,e){if(e[Y]&256)return;let i=de(null);try{e[Y]&=-129,e[Y]|=256,e[zn]&&iu(e[zn]),O0(t,e),S0(t,e),e[ee].type===1&&e[Le].destroy();let n=e[Fo];if(n!==null&&rn(e[et])){n!==e[et]&&Np(n,e);let o=e[nn];o!==null&&o.detachView(t)}s0(e)}finally{de(i)}}function S0(t,e){let i=t.cleanup,n=e[yo];if(i!==null)for(let r=0;r<i.length-1;r+=2)if(typeof i[r]=="string"){let s=i[r+3];s>=0?n[s]():n[-s].unsubscribe(),r+=2}else{let s=n[i[r+1]];i[r].call(s)}n!==null&&(e[yo]=null);let o=e[fn];if(o!==null){e[fn]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function O0(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let o=e[i[n]];if(!(o instanceof Un)){let r=i[n+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],l=r[s+1];Wt(4,a,l);try{l.call(a)}finally{Wt(5,a,l)}}else{Wt(4,o,r);try{r.call(o)}finally{Wt(5,o,r)}}}}}function jp(t,e,i){return T0(t,e.parent,i)}function T0(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[on];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:r}=t.data[n.directiveStart+o];if(r===qt.None||r===qt.Emulated)return null}return Ot(n,i)}}function as(t,e,i,n,o){t.insertBefore(e,i,n,o)}function Rp(t,e,i){t.appendChild(e,i)}function Ju(t,e,i,n,o){n!==null?as(t,e,i,n,o):Rp(t,e,i)}function P0(t,e,i,n){t.removeChild(e,i,n)}function Ac(t,e){return t.parentNode(e)}function A0(t,e){return t.nextSibling(e)}function Lp(t,e,i){return N0(t,e,i)}function F0(t,e,i){return t.type&40?Ot(t,i):null}var N0=F0,em;function Ss(t,e,i,n){let o=jp(t,n,e),r=e[Le],s=n.parent||e[Ct],a=Lp(s,n,e);if(o!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)Ju(r,o,i[l],a,!1);else Ju(r,o,i,a,!1);em!==void 0&&em(r,n,e,i,o)}function qr(t,e){if(e!==null){let i=e.type;if(i&3)return Ot(e,t);if(i&4)return Ml(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return qr(t,n);{let o=t[e.index];return rn(o)?Ml(-1,o):Zt(o)}}else{if(i&32)return Pc(e,t)()||Zt(t[e.index]);{let n=Vp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=Do(t[kt]);return qr(o,n)}else return qr(t,e.next)}}}return null}function Vp(t,e){if(e!==null){let n=t[kt][Ct],o=e.projection;return n.projection[o]}return null}function Ml(t,e){let i=it+t+1;if(i<e.length){let n=e[i],o=n[ee].firstChild;if(o!==null)return qr(n,o)}return e[Hn]}function j0(t,e,i){let n=Ac(t,e);n&&P0(t,n,e,i)}function Fc(t,e,i,n,o,r,s){for(;i!=null;){let a=n[i.index],l=i.type;if(s&&e===0&&(a&&bn(Zt(a),n),i.flags|=2),(i.flags&32)!==32)if(l&8)Fc(t,e,i.child,n,o,r,!1),_i(e,t,o,a,r);else if(l&32){let c=Pc(i,n),u;for(;u=c();)_i(e,t,o,u,r);_i(e,t,o,a,r)}else l&16?Bp(t,e,n,i,o,r):_i(e,t,o,a,r);i=s?i.projectionNext:i.next}}function Os(t,e,i,n,o,r){Fc(i,n,t.firstChild,e,o,r,!1)}function R0(t,e,i){let n=e[Le],o=jp(t,i,e),r=i.parent||e[Ct],s=Lp(r,i,e);Bp(n,0,e,i,o,s)}function Bp(t,e,i,n,o,r){let s=i[kt],l=s[Ct].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];_i(e,t,o,u,r)}else{let c=l,u=s[et];Dp(n)&&(c.flags|=128),Fc(t,e,c,u,o,r,!0)}}function L0(t,e,i,n,o){let r=i[Hn],s=Zt(i);r!==s&&_i(e,t,n,r,o);for(let a=it;a<i.length;a++){let l=i[a];Os(l[ee],l,t,e,n,r)}}function V0(t,e,i,n,o){if(e)o?t.addClass(i,n):t.removeClass(i,n);else{let r=n.indexOf("-")===-1?void 0:Qt.DashCase;o==null?t.removeStyle(i,n,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Qt.Important),t.setStyle(i,n,o,r))}}function B0(t,e,i){t.setAttribute(e,"style",i)}function zp(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function Hp(t,e,i){let{mergedAttrs:n,classes:o,styles:r}=i;n!==null&&pl(t,e,n),o!==null&&zp(t,e,o),r!==null&&B0(t,e,r)}var Tt={};function d(t=1){$p($e(),te(),sn()+t,!1)}function $p(t,e,i,n){if(!n)if((e[Y]&3)===3){let r=t.preOrderCheckHooks;r!==null&&Ur(e,r,i)}else{let r=t.preOrderHooks;r!==null&&Wr(e,r,0,i)}$n(i)}function w(t,e=me.Default){let i=te();if(i===null)return j(t,e);let n=rt();return vp(n,i,dt(t),e)}function Up(){let t="invalid";throw new Error(t)}function Wp(t,e,i,n,o,r){let s=de(null);try{let a=null;o&_.SignalBased&&(a=e[n][Ea]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&_.HasDecoratorInputTransform&&(r=t.inputTransforms[n].call(e,r)),t.setInput!==null?t.setInput(e,a,r,i,n):Gm(e,a,n,r)}finally{de(s)}}function z0(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let o=i[n];if(o<0)$n(~o);else{let r=o,s=i[++n],a=i[++n];Tv(s,r);let l=e[r];a(2,l)}}}finally{$n(-1)}}function Ts(t,e,i,n,o,r,s,a,l,c,u){let h=e.blueprint.slice();return h[on]=o,h[Y]=n|4|128|8|64,(c!==null||t&&t[Y]&2048)&&(h[Y]|=2048),Jm(h),h[et]=h[Ti]=t,h[nt]=i,h[Bt]=s||t&&t[Bt],h[Le]=a||t&&t[Le],h[Ii]=l||t&&t[Ii]||null,h[Ct]=r,h[ys]=o0(),h[Mi]=u,h[Um]=c,h[kt]=e.type==2?t[kt]:h,h}function ji(t,e,i,n,o){let r=t.data[e];if(r===null)r=H0(t,e,i,n,o),Ov()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=o;let s=Iv();r.injectorIndex=s===null?-1:s.injectorIndex}return Yn(r,!0),r}function H0(t,e,i,n,o){let r=ip(),s=wc(),a=s?r:r&&r.parent,l=t.data[e]=Z0(t,a,i,e,n,o);return t.firstChild===null&&(t.firstChild=l),r!==null&&(s?r.child==null&&l.parent!==null&&(r.child=l):r.next===null&&(r.next=l,l.prev=r)),l}function Gp(t,e,i,n){if(i===0)return-1;let o=e.length;for(let r=0;r<i;r++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function qp(t,e,i,n,o){let r=sn(),s=n&2;try{$n(-1),s&&e.length>ot&&$p(t,e,ot,!1),Wt(s?2:0,o),i(n,o)}finally{$n(r),Wt(s?3:1,o)}}function Nc(t,e,i){if(_c(e)){let n=de(null);try{let o=e.directiveStart,r=e.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let l=i[s];a.contentQueries(1,l,s)}}}finally{de(n)}}}function jc(t,e,i){tp()&&(ey(t,e,i,Ot(i,e)),(i.flags&64)===64&&Qp(t,e,i))}function Rc(t,e,i=Ot){let n=e.localNames;if(n!==null){let o=e.index+1;for(let r=0;r<n.length;r+=2){let s=n[r+1],a=s===-1?i(e,t):t[s];t[o++]=a}}}function Zp(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Lc(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Lc(t,e,i,n,o,r,s,a,l,c,u){let h=ot+n,v=h+o,x=$0(h,v),T=typeof c=="function"?c():c;return x[ee]={type:t,blueprint:x,template:i,queries:null,viewQuery:a,declTNode:e,data:x.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:v,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 r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:T,incompleteFirstPass:!1,ssrId:u}}function $0(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:Tt);return i}function U0(t,e,i,n){let r=n.get(m0,Op)||i===qt.ShadowDom,s=t.selectRootElement(e,r);return W0(s),s}function W0(t){G0(t)}var G0=()=>null;function q0(t,e,i,n){let o=Jp(e);o.push(i),t.firstCreatePass&&ef(t).push(n,o.length-1)}function Z0(t,e,i,n,o,r){let s=e?e.injectorIndex:-1,a=0;return np()&&(a|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function tm(t,e,i,n,o){for(let r in e){if(!e.hasOwnProperty(r))continue;let s=e[r];if(s===void 0)continue;n??={};let a,l=_.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(o!==null){if(!o.hasOwnProperty(r))continue;c=o[r]}t===0?nm(n,i,c,a,l):nm(n,i,c,a)}return n}function nm(t,e,i,n,o){let r;t.hasOwnProperty(i)?(r=t[i]).push(e,n):r=t[i]=[e,n],o!==void 0&&r.push(o)}function Y0(t,e,i){let n=e.directiveStart,o=e.directiveEnd,r=t.data,s=e.attrs,a=[],l=null,c=null;for(let u=n;u<o;u++){let h=r[u],v=i?i.get(h):null,x=v?v.inputs:null,T=v?v.outputs:null;l=tm(0,h.inputs,u,l,x),c=tm(1,h.outputs,u,c,T);let F=l!==null&&s!==null&&!pc(e)?uy(l,u,s):null;a.push(F)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}function Q0(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Vc(t,e,i,n,o,r,s,a){let l=Ot(e,i),c=e.inputs,u;!a&&c!=null&&(u=c[n])?(zc(t,i,u,n,o),Cs(e)&&K0(i,e.index)):e.type&3?(n=Q0(n),o=s!=null?s(o,e.value||"",n):o,r.setProperty(l,n,o)):e.type&12}function K0(t,e){let i=_n(e,t);i[Y]&16||(i[Y]|=64)}function Bc(t,e,i,n){if(tp()){let o=n===null?null:{"":-1},r=ny(t,i),s,a;r===null?s=a=null:[s,a]=r,s!==null&&Yp(t,e,i,s,o,a),o&&iy(i,n,o)}i.mergedAttrs=vo(i.mergedAttrs,i.attrs)}function Yp(t,e,i,n,o,r){for(let c=0;c<n.length;c++)yl(os(i,e),t,n[c].type);ry(i,t.data.length,n.length);for(let c=0;c<n.length;c++){let u=n[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=Gp(t,e,n.length,null);for(let c=0;c<n.length;c++){let u=n[c];i.mergedAttrs=vo(i.mergedAttrs,u.hostAttrs),sy(t,i,e,l,u),oy(l,u,o),u.contentQueries!==null&&(i.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(i.flags|=64);let h=u.type.prototype;!s&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(h.ngOnChanges||h.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),l++}Y0(t,i,r)}function X0(t,e,i,n,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;J0(s)!=a&&s.push(a),s.push(i,n,r)}}function J0(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function ey(t,e,i,n){let o=i.directiveStart,r=i.directiveEnd;Cs(i)&&ay(e,i,t.data[o+i.componentOffset]),t.firstCreatePass||os(i,e),bn(n,e);let s=i.initialInputs;for(let a=o;a<r;a++){let l=t.data[a],c=Wn(e,t,a,i);if(bn(c,e),s!==null&&dy(e,a-o,c,l,i,s),hn(l)){let u=_n(i.index,e);u[nt]=Wn(e,t,a,i)}}}function Qp(t,e,i){let n=i.directiveStart,o=i.directiveEnd,r=i.index,s=Pv();try{$n(r);for(let a=n;a<o;a++){let l=t.data[a],c=e[a];_l(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&ty(l,c)}}finally{$n(-1),_l(s)}}function ty(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function ny(t,e){let i=t.directiveRegistry,n=null,o=null;if(i)for(let r=0;r<i.length;r++){let s=i[r];if(Fm(e,s.selectors,!1))if(n||(n=[]),hn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let l=a.length;Il(t,e,l)}else n.unshift(s),Il(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function Il(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function iy(t,e,i){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let r=i[e[o+1]];if(r==null)throw new pe(-301,!1);n.push(e[o],r)}}}function oy(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;hn(e)&&(i[""]=t)}}function ry(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function sy(t,e,i,n,o){t.data[n]=o;let r=o.factory||(o.factory=Bn(o.type,!0)),s=new Un(r,hn(o),w);t.blueprint[n]=s,i[n]=s,X0(t,e,n,Gp(t,i,o.hostVars,Tt),o)}function ay(t,e,i){let n=Ot(e,t),o=Zp(i),r=t[Bt].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=Ps(t,Ts(t,o,null,s,n,e,null,r.createRenderer(n,i),null,null,null));t[e.index]=a}function ly(t,e,i,n,o,r){let s=Ot(t,e);cy(e[Le],s,r,t.value,i,n,o)}function cy(t,e,i,n,o,r,s){if(r==null)t.removeAttribute(e,o,i);else{let a=s==null?Ci(r):s(r,n||"",o);t.setAttribute(e,o,a,i)}}function dy(t,e,i,n,o,r){let s=r[e];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],u=s[a++],h=s[a++];Wp(n,i,l,c,u,h)}}function uy(t,e,i){let n=null,o=0;for(;o<i.length;){let r=i[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){n===null&&(n=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(r,s[a+1],s[a+2],i[o+1]);break}}o+=2}return n}function Kp(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function Xp(t,e){let i=t.contentQueries;if(i!==null){let n=de(null);try{for(let o=0;o<i.length;o+=2){let r=i[o],s=i[o+1];if(s!==-1){let a=t.data[s];Mc(r),a.contentQueries(2,e[s],s)}}}finally{de(n)}}}function Ps(t,e){return t[Co]?t[Gu][Vt]=e:t[Co]=e,t[Gu]=e,e}function El(t,e,i){Mc(0);let n=de(null);try{e(t,i)}finally{de(n)}}function Jp(t){return t[yo]||(t[yo]=[])}function ef(t){return t.cleanup||(t.cleanup=[])}function tf(t,e){let i=t[Ii],n=i?i.get(Yt,null):null;n&&n.handleError(e)}function zc(t,e,i,n,o){for(let r=0;r<i.length;){let s=i[r++],a=i[r++],l=i[r++],c=e[s],u=t.data[s];Wp(u,c,n,a,l,o)}}function nf(t,e,i){let n=Km(e,t);w0(t[Le],n,i)}function my(t,e){let i=_n(e,t),n=i[ee];py(n,i);let o=i[on];o!==null&&i[Mi]===null&&(i[Mi]=Oc(o,i[Ii])),Hc(n,i,i[nt])}function py(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function Hc(t,e,i){Ic(e);try{let n=t.viewQuery;n!==null&&El(1,n,i);let o=t.template;o!==null&&qp(t,e,o,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[nn]?.finishViewCreation(t),t.staticContentQueries&&Xp(t,e),t.staticViewQueries&&El(2,t.viewQuery,i);let r=t.components;r!==null&&fy(e,r)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[Y]&=-5,Ec()}}function fy(t,e){for(let i=0;i<e.length;i++)my(t,e[i])}function As(t,e,i,n){let o=de(null);try{let r=e.tView,a=t[Y]&4096?4096:16,l=Ts(t,r,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];l[Fo]=c;let u=t[nn];return u!==null&&(l[nn]=u.createEmbeddedView(r)),Hc(r,l,i),l}finally{de(o)}}function of(t,e){let i=it+e;if(i<t.length)return t[i]}function Io(t,e){return!e||e.firstChild===null||Dp(t)}function Fs(t,e,i,n=!0){let o=e[ee];if(E0(o,e,t,i),n){let s=Ml(i,t),a=e[Le],l=Ac(a,t[Hn]);l!==null&&M0(o,t[Ct],a,e,l,s)}let r=e[Mi];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function rf(t,e){let i=Mo(t,e);return i!==void 0&&ks(i[ee],i),i}function ls(t,e,i,n,o=!1){for(;i!==null;){let r=e[i.index];r!==null&&n.push(Zt(r)),rn(r)&&gy(r,n);let s=i.type;if(s&8)ls(t,e,i.child,n);else if(s&32){let a=Pc(i,e),l;for(;l=a();)n.push(l)}else if(s&16){let a=Vp(e,i);if(Array.isArray(a))n.push(...a);else{let l=Do(e[kt]);ls(l[ee],l,a,n,!0)}}i=o?i.projectionNext:i.next}return n}function gy(t,e){for(let i=it;i<t.length;i++){let n=t[i],o=n[ee].firstChild;o!==null&&ls(n[ee],n,o,e)}t[Hn]!==t[on]&&e.push(t[Hn])}var sf=[];function hy(t){return t[zn]??by(t)}function by(t){let e=sf.pop()??Object.create(vy);return e.lView=t,e}function _y(t){t.lView[zn]!==t&&(t.lView=null,sf.push(t))}var vy=ht(ce({},eu),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{xo(t.lView)},consumerOnSignalRead(){this.lView[zn]=this}}),af=100;function lf(t,e=!0,i=0){let n=t[Bt],o=n.rendererFactory,r=!1;r||o.begin?.();try{yy(t,i)}catch(s){throw e&&tf(t,s),s}finally{r||(o.end?.(),n.inlineEffectRunner?.flush())}}function yy(t,e){kl(t,e);let i=0;for(;Cc(t);){if(i===af)throw new pe(103,!1);i++,kl(t,1)}}function Cy(t,e,i,n){let o=e[Y];if((o&256)===256)return;let r=!1;!r&&e[Bt].inlineEffectRunner?.flush(),Ic(e);let s=null,a=null;!r&&wy(t)&&(a=hy(e),s=tu(a));try{Jm(e),Sv(t.bindingStartIndex),i!==null&&qp(t,e,i,2,n);let l=(o&3)===3;if(!r)if(l){let h=t.preOrderCheckHooks;h!==null&&Ur(e,h,null)}else{let h=t.preOrderHooks;h!==null&&Wr(e,h,0,null),Qa(e,0)}if(xy(e),cf(e,0),t.contentQueries!==null&&Xp(t,e),!r)if(l){let h=t.contentCheckHooks;h!==null&&Ur(e,h)}else{let h=t.contentHooks;h!==null&&Wr(e,h,1),Qa(e,1)}z0(t,e);let c=t.components;c!==null&&uf(e,c,0);let u=t.viewQuery;if(u!==null&&El(2,u,n),!r)if(l){let h=t.viewCheckHooks;h!==null&&Ur(e,h)}else{let h=t.viewHooks;h!==null&&Wr(e,h,2),Qa(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ya]){for(let h of e[Ya])h();e[Ya]=null}r||(e[Y]&=-73)}catch(l){throw xo(e),l}finally{a!==null&&(nu(a,s),_y(a)),Ec()}}function wy(t){return t.type!==2}function cf(t,e){for(let i=Ip(t);i!==null;i=Ep(i))for(let n=it;n<i.length;n++){let o=i[n];df(o,e)}}function xy(t){for(let e=Ip(t);e!==null;e=Ep(e)){if(!(e[Y]&bc.HasTransplantedViews))continue;let i=e[Ei];for(let n=0;n<i.length;n++){let o=i[n],r=o[et];_v(o)}}}function Dy(t,e,i){let n=_n(e,t);df(n,i)}function df(t,e){yc(t)&&kl(t,e)}function kl(t,e){let n=t[ee],o=t[Y],r=t[zn],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(r?.dirty&&ka(r)),r&&(r.dirty=!1),t[Y]&=-9217,s)Cy(n,t,n.template,t[nt]);else if(o&8192){cf(t,1);let a=n.components;a!==null&&uf(t,a,1)}}function uf(t,e,i){for(let n=0;n<e.length;n++)Dy(t,e[n],i)}function $c(t){for(t[Bt].changeDetectionScheduler?.notify();t;){t[Y]|=64;let e=Do(t);if(cv(t)&&!e)return t;t=e}return null}var Gn=class{get rootNodes(){let e=this._lView,i=e[ee];return ls(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[nt]}set context(e){this._lView[nt]=e}get destroyed(){return(this._lView[Y]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[et];if(rn(e)){let i=e[es],n=i?i.indexOf(this):-1;n>-1&&(Mo(e,n),Kr(i,n))}this._attachedToViewContainer=!1}ks(this._lView[ee],this._lView)}onDestroy(e){ep(this._lView,e)}markForCheck(){$c(this._cdRefInjectingView||this._lView)}detach(){this._lView[Y]&=-129}reattach(){bl(this._lView),this._lView[Y]|=128}detectChanges(){this._lView[Y]|=1024,lf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new pe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Fp(this._lView[ee],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new pe(902,!1);this._appRef=e,bl(this._lView)}},_e=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Ey;let t=e;return t})(),My=_e,Iy=class extends My{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let o=As(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new Gn(o)}};function Ey(){return Ns(rt(),te())}function Ns(t,e){return t.type&4?new Iy(e,t,Ni(t,e)):null}var O2=new RegExp(`^(\\d+)*(${d0}|${c0})*(.*)`);var ky=()=>null;function Eo(t,e){return ky(t,e)}var Sl=class{},Ol=class{},cs=class{};function Sy(t){let e=Error(`No component factory found for ${yt(t)}.`);return e[Oy]=t,e}var Oy="ngComponent";var Tl=class{resolveComponentFactory(e){throw Sy(e)}},Ri=(()=>{let e=class e{};e.NULL=new Tl;let t=e;return t})(),ko=class{},an=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Ty();let t=e;return t})();function Ty(){let t=te(),e=rt(),i=_n(e.index,t);return(Ln(i)?i:t)[Le]}var Py=(()=>{let e=class e{};e.\u0275prov=q({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),tl={};var im=new Set;function js(t){im.has(t)||(im.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function om(...t){}function Ay(){let t=typeof go.requestAnimationFrame=="function",e=go[t?"requestAnimationFrame":"setTimeout"],i=go[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=i[Zone.__symbol__("OriginalDelegate")];o&&(i=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}var Ce=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new y(!1),this.onMicrotaskEmpty=new y(!1),this.onStable=new y(!1),this.onError=new y(!1),typeof Zone>"u")throw new pe(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&i,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Ay().nativeRequestAnimationFrame,jy(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new pe(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new pe(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,e,Fy,om,om);try{return r.runTask(s,i,n)}finally{r.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},Fy={};function Uc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ny(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(go,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Pl(t),t.isCheckStableRunning=!0,Uc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Pl(t))}function jy(t){let e=()=>{Ny(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,o,r,s,a)=>{if(Ry(a))return i.invokeTask(o,r,s,a);try{return rm(t),i.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&r.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),sm(t)}},onInvoke:(i,n,o,r,s,a,l)=>{try{return rm(t),i.invoke(o,r,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),sm(t)}},onHasTask:(i,n,o,r)=>{i.hasTask(o,r),n===o&&(r.change=="microTask"?(t._hasPendingMicrotasks=r.microTask,Pl(t),Uc(t)):r.change=="macroTask"&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(i,n,o,r)=>(i.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}function Pl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function rm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function sm(t){t._nesting--,Uc(t)}function Ry(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var mf=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=q({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function ds(t,e,i){let n=i?t.styles:null,o=i?t.classes:null,r=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")r=a;else if(r==1)o=cl(o,a);else if(r==2){let l=a,c=e[++s];n=cl(n,l+": "+c+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=o:t.classesWithoutHost=o}var Al=class extends Ri{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=xi(e);return new us(i,this.ngModule)}};function am(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function Ly(t){let e=t.toLowerCase();return e==="svg"?Qm:e==="math"?pv:null}var Fl=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=_s(n);let o=this.injector.get(e,tl,n);return o!==tl||i===tl?o:this.parentInjector.get(e,i,n)}},us=class extends cs{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=am(e.inputs);if(i!==null)for(let o of n)i.hasOwnProperty(o.propName)&&(o.transform=i[o.propName]);return n}get outputs(){return am(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=W_(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,o){let r=de(null);try{o=o||this.ngModule;let s=o instanceof gn?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Fl(e,s):e,l=a.get(ko,null);if(l===null)throw new pe(407,!1);let c=a.get(Py,null),u=a.get(mf,null),h=a.get(Sl,null),v={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:u,changeDetectionScheduler:h},x=l.createRenderer(null,this.componentDef),T=this.componentDef.selectors[0][0]||"div",F=n?U0(x,n,this.componentDef.encapsulation,a):Ap(x,T,Ly(T)),Q=512;this.componentDef.signals?Q|=4096:this.componentDef.onPush||(Q|=16);let $=null;F!==null&&($=Oc(F,a,!0));let Ee=Lc(0,null,null,1,0,null,null,null,null,null,null),je=Ts(null,Ee,null,Q,null,null,v,x,a,null,$);Ic(je);let Ke,Je;try{let le=this.componentDef,Ye,at=null;le.findHostDirectiveDefs?(Ye=[],at=new Map,le.findHostDirectiveDefs(le,Ye,at),Ye.push(le)):Ye=[le];let ar=Vy(je,F),yb=By(ar,F,le,Ye,je,v,x);Je=vc(Ee,ot),F&&$y(x,le,F,n),i!==void 0&&Uy(Je,this.ngContentSelectors,i),Ke=Hy(yb,le,Ye,at,je,[Wy]),Hc(Ee,je,null)}finally{Ec()}return new Nl(this.componentType,Ke,Ni(Je,je),je,Je)}finally{de(r)}}},Nl=class extends Ol{constructor(e,i,n,o,r){super(),this.location=n,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new Gn(o,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let r=this._rootLView;zc(r[ee],r,o,e,i),this.previousInputValues.set(e,i);let s=_n(this._tNode.index,r);$c(s)}}get injector(){return new Vn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Vy(t,e){let i=t[ee],n=ot;return t[n]=e,ji(i,n,2,"#host",null)}function By(t,e,i,n,o,r,s){let a=o[ee];zy(n,t,e,s);let l=null;e!==null&&(l=Oc(e,o[Ii]));let c=r.rendererFactory.createRenderer(e,i),u=16;i.signals?u=4096:i.onPush&&(u=64);let h=Ts(o,Zp(i),null,u,o[t.index],t,r,c,null,null,l);return a.firstCreatePass&&Il(a,t,n.length-1),Ps(o,h),o[t.index]=h}function zy(t,e,i,n){for(let o of t)e.mergedAttrs=vo(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(ds(e,e.mergedAttrs,!0),i!==null&&Hp(n,i,e))}function Hy(t,e,i,n,o,r){let s=rt(),a=o[ee],l=Ot(s,o);Yp(a,o,s,i,null,n);for(let u=0;u<i.length;u++){let h=s.directiveStart+u,v=Wn(o,a,h,s);bn(v,o)}Qp(a,o,s),l&&bn(l,o);let c=Wn(o,a,s.directiveStart+s.componentOffset,s);if(t[nt]=o[nt]=c,r!==null)for(let u of r)u(c,e);return Nc(a,s,o),c}function $y(t,e,i,n){if(n)pl(t,i,["ng-version","17.3.10"]);else{let{attrs:o,classes:r}=G_(e.selectors[0]);o&&pl(t,i,o),r&&r.length>0&&zp(t,i,r.join(" "))}}function Uy(t,e,i){let n=t.projection=[];for(let o=0;o<e.length;o++){let r=i[o];n.push(r!=null?Array.from(r):null)}}function Wy(){let t=rt();Is(te()[ee],t)}var Kt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Gy;let t=e;return t})();function Gy(){let t=rt();return ff(t,te())}var qy=Kt,pf=class extends qy{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return Ni(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){let e=kc(this._hostTNode,this._hostLView);if(pp(e)){let i=ns(e,this._hostLView),n=ts(e),o=i[ee].data[n+8];return new Vn(o,i)}else return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=lm(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-it}createEmbeddedView(e,i,n){let o,r;typeof n=="number"?o=n:n!=null&&(o=n.index,r=n.injector);let s=Eo(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},r,s);return this.insertImpl(a,o,Io(this._hostTNode,s)),a}createComponent(e,i,n,o,r){let s=e&&!lv(e),a;if(s)a=i;else{let T=i||{};a=T.index,n=T.injector,o=T.projectableNodes,r=T.environmentInjector||T.ngModuleRef}let l=s?e:new us(xi(e)),c=n||this.parentInjector;if(!r&&l.ngModule==null){let F=(s?c:this.parentInjector).get(gn,null);F&&(r=F)}let u=xi(l.componentType??{}),h=Eo(this._lContainer,u?.id??null),v=h?.firstChild??null,x=l.create(c,o,v,r);return this.insertImpl(x.hostView,a,Io(this._hostTNode,h)),x}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let o=e._lView;if(bv(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=o[et],c=new pf(l,l[Ct],l[et]);c.detach(c.indexOf(e))}}let r=this._adjustIndex(i),s=this._lContainer;return Fs(s,o,r,n),e.attachToViewContainerRef(),km(nl(s),r,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=lm(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=Mo(this._lContainer,i);n&&(Kr(nl(this._lContainer),i),ks(n[ee],n))}detach(e){let i=this._adjustIndex(e,-1),n=Mo(this._lContainer,i);return n&&Kr(nl(this._lContainer),i)!=null?new Gn(n):null}_adjustIndex(e,i=0){return e??this.length+i}};function lm(t){return t[es]}function nl(t){return t[es]||(t[es]=[])}function ff(t,e){let i,n=e[t.index];return rn(n)?i=n:(i=Kp(n,e,null,t),e[t.index]=i,Ps(e,i)),Yy(i,e,t,n),new pf(i,t,e)}function Zy(t,e){let i=t[Le],n=i.createComment(""),o=Ot(e,t),r=Ac(i,o);return as(i,r,n,A0(i,o),!1),n}var Yy=Xy,Qy=()=>!1;function Ky(t,e,i){return Qy(t,e,i)}function Xy(t,e,i,n){if(t[Hn])return;let o;i.type&8?o=Zt(n):o=Zy(e,i),t[Hn]=o}var jl=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Rl=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,o=[];for(let r=0;r<n;r++){let s=i.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)Wc(e,i).matches!==null&&this.queries[i].setDirty()}},ms=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=sC(e):this.predicate=e}},Ll=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let o=i!==null?i.length:0,r=this.getByIndex(n).embeddedTView(e,o);r&&(r.indexInDeclarationView=n,i!==null?i.push(r):i=[r])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Vl=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let r=n[o];this.matchTNodeWithReadOption(e,i,Jy(i,r)),this.matchTNodeWithReadOption(e,i,Gr(i,e,r,!1,!1))}else n===_e?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Gr(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===se||o===Kt||o===_e&&i.type&4)this.addMatch(i.index,-2);else{let r=Gr(i,e,o,!1,!1);r!==null&&this.addMatch(i.index,r)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};function Jy(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function eC(t,e){return t.type&11?Ni(t,e):t.type&4?Ns(t,e):null}function tC(t,e,i,n){return i===-1?eC(e,t):i===-2?nC(t,e,n):Wn(t,t[ee],i,e)}function nC(t,e,i){if(i===se)return Ni(e,t);if(i===_e)return Ns(e,t);if(i===Kt)return ff(e,t)}function gf(t,e,i,n){let o=e[nn].queries[n];if(o.matches===null){let r=t.data,s=i.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=r[c];a.push(tC(e,u,s[l+1],i.metadata.read))}}o.matches=a}return o.matches}function Bl(t,e,i,n){let o=t.queries.getByIndex(i),r=o.matches;if(r!==null){let s=gf(t,e,o,i);for(let a=0;a<r.length;a+=2){let l=r[a];if(l>0)n.push(s[a/2]);else{let c=r[a+1],u=e[-l];for(let h=it;h<u.length;h++){let v=u[h];v[Fo]===v[et]&&Bl(v[ee],v,c,n)}if(u[Ei]!==null){let h=u[Ei];for(let v=0;v<h.length;v++){let x=h[v];Bl(x[ee],x,c,n)}}}}}return n}function iC(t,e){return t[nn].queries[e].queryList}function hf(t,e,i){let n=new rs((i&4)===4);return q0(t,e,n,n.destroy),(e[nn]??=new Rl).queries.push(new jl(n))-1}function oC(t,e,i){let n=$e();return n.firstCreatePass&&(bf(n,new ms(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),hf(n,te(),e)}function rC(t,e,i,n){let o=$e();if(o.firstCreatePass){let r=rt();bf(o,new ms(e,i,n),r.index),aC(o,t),(i&2)===2&&(o.staticContentQueries=!0)}return hf(o,te(),i)}function sC(t){return t.split(",").map(e=>e.trim())}function bf(t,e,i){t.queries===null&&(t.queries=new Ll),t.queries.track(new Vl(e,i))}function aC(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function Wc(t,e){return t.queries.getByIndex(e)}function lC(t,e){let i=t[ee],n=Wc(i,e);return n.crossesNgTemplate?Bl(i,t,e,[]):gf(i,t,n,e)}function _f(t){return typeof t=="function"&&t[Ea]!==void 0}function vf(t){return _f(t)&&typeof t.set=="function"}function cC(t){return Object.getPrototypeOf(t.prototype).constructor}function z(t){let e=cC(t.type),i=!0,n=[t];for(;e;){let o;if(hn(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new pe(903,!1);o=e.\u0275dir}if(o){if(i){n.push(o);let s=t;s.inputs=zr(t.inputs),s.inputTransforms=zr(t.inputTransforms),s.declaredInputs=zr(t.declaredInputs),s.outputs=zr(t.outputs);let a=o.hostBindings;a&&fC(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&mC(t,l),c&&pC(t,c),dC(t,o),u_(t.outputs,o.outputs),hn(o)&&o.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let a=r[s];a&&a.ngInherit&&a(t),a===z&&(i=!1)}}e=Object.getPrototypeOf(e)}uC(n)}function dC(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function uC(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=vo(o.hostAttrs,i=vo(i,o.hostAttrs))}}function zr(t){return t===wi?{}:t===_t?[]:t}function mC(t,e){let i=t.viewQuery;i?t.viewQuery=(n,o)=>{e(n,o),i(n,o)}:t.viewQuery=e}function pC(t,e){let i=t.contentQueries;i?t.contentQueries=(n,o,r)=>{e(n,o,r),i(n,o,r)}:t.contentQueries=e}function fC(t,e){let i=t.hostBindings;i?t.hostBindings=(n,o)=>{e(n,o),i(n,o)}:t.hostBindings=e}function fe(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(i[n]=o[3])}t.inputTransforms=i}var Si=class{};var ps=class extends Si{constructor(e){super(),this.componentFactoryResolver=new Al(this),this.instance=null;let i=new Jr([...e.providers,{provide:Si,useValue:this},{provide:Ri,useValue:this.componentFactoryResolver}],e.parent||hc(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function gC(t,e,i=null){return new ps({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}var yf=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ge(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Cf(t){return Gc(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function hC(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function Gc(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Rs(t,e,i){return t[e]=i}function St(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function So(t,e,i,n){let o=St(t,e,i);return St(t,e+1,n)||o}function bC(t,e,i,n,o){let r=So(t,e,i,n);return St(t,e+2,o)||r}function _C(t,e,i,n,o,r){let s=So(t,e,i,n);return So(t,e+2,o,r)||s}function vC(t){return(t.flags&32)===32}function yC(t,e,i,n,o,r,s,a,l){let c=e.consts,u=ji(e,t,4,s||null,ki(c,a));Bc(e,i,u,ki(c,l)),Is(e,u);let h=u.tView=Lc(2,u,n,o,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}function C(t,e,i,n,o,r,s,a){let l=te(),c=$e(),u=t+ot,h=c.firstCreatePass?yC(u,c,l,e,i,n,o,r,s):c.data[u];Yn(h,!1);let v=CC(c,l,h,t);Ds()&&Ss(c,l,v,h),bn(v,l);let x=Kp(v,l,v,h);return l[u]=x,Ps(l,x),Ky(x,h,l),ws(h)&&jc(c,l,h),s!=null&&Rc(l,h,a),C}var CC=wC;function wC(t,e,i,n){return Ms(!0),e[Le].createComment("")}function W(t,e,i,n){let o=te(),r=Pi();if(St(o,r,e)){let s=$e(),a=xs();ly(a,o,t,e,i,n)}return W}function wf(t,e,i,n){return St(t,Pi(),i)?e+Ci(i)+n:Tt}function xC(t,e,i,n,o,r){let s=kv(),a=So(t,s,i,o);return Dc(2),a?e+Ci(i)+n+Ci(o)+r:Tt}function Hr(t,e){return t<<17|e<<2}function qn(t){return t>>17&32767}function DC(t){return(t&2)==2}function MC(t,e){return t&131071|e<<17}function zl(t){return t|2}function Oi(t){return(t&131068)>>2}function il(t,e){return t&-131069|e<<2}function IC(t){return(t&1)===1}function Hl(t){return t|1}function EC(t,e,i,n,o,r){let s=r?e.classBindings:e.styleBindings,a=qn(s),l=Oi(s);t[n]=i;let c=!1,u;if(Array.isArray(i)){let h=i;u=h[1],(u===null||Po(h,u)>0)&&(c=!0)}else u=i;if(o)if(l!==0){let v=qn(t[a+1]);t[n+1]=Hr(v,a),v!==0&&(t[v+1]=il(t[v+1],n)),t[a+1]=MC(t[a+1],n)}else t[n+1]=Hr(a,0),a!==0&&(t[a+1]=il(t[a+1],n)),a=n;else t[n+1]=Hr(l,0),a===0?a=n:t[l+1]=il(t[l+1],n),l=n;c&&(t[n+1]=zl(t[n+1])),cm(t,u,n,!0),cm(t,u,n,!1),kC(e,u,t,n,r),s=Hr(a,l),r?e.classBindings=s:e.styleBindings=s}function kC(t,e,i,n,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof e=="string"&&Po(r,e)>=0&&(i[n+1]=Hl(i[n+1]))}function cm(t,e,i,n){let o=t[i+1],r=e===null,s=n?qn(o):Oi(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];SC(l,e)&&(a=!0,t[s+1]=n?Hl(c):zl(c)),s=n?qn(c):Oi(c)}a&&(t[i+1]=n?zl(o):Hl(o))}function SC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Po(t,e)>=0:!1}var Lt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function OC(t){return t.substring(Lt.key,Lt.keyEnd)}function TC(t){return PC(t),xf(t,Df(t,0,Lt.textEnd))}function xf(t,e){let i=Lt.textEnd;return i===e?-1:(e=Lt.keyEnd=AC(t,Lt.key=e,i),Df(t,e,i))}function PC(t){Lt.key=0,Lt.keyEnd=0,Lt.value=0,Lt.valueEnd=0,Lt.textEnd=t.length}function Df(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function AC(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function p(t,e,i){let n=te(),o=Pi();if(St(n,o,e)){let r=$e(),s=xs();Vc(r,s,n,t,e,n[Le],i,!1)}return p}function $l(t,e,i,n,o){let r=e.inputs,s=o?"class":"style";zc(t,i,r[s],s,n)}function ke(t,e,i){return Mf(t,e,i,!1),ke}function J(t,e){return Mf(t,e,null,!0),J}function Bo(t){NC(zC,FC,t,!0)}function FC(t,e){for(let i=TC(e);i>=0;i=xf(e,i))mc(t,OC(e),!0)}function Mf(t,e,i,n){let o=te(),r=$e(),s=Dc(2);if(r.firstUpdatePass&&Ef(r,t,s,n),e!==Tt&&St(o,s,e)){let a=r.data[sn()];kf(r,a,o,o[Le],t,o[s+1]=$C(e,i),n,s)}}function NC(t,e,i,n){let o=$e(),r=Dc(2);o.firstUpdatePass&&Ef(o,null,r,n);let s=te();if(i!==Tt&&St(s,r,i)){let a=o.data[sn()];if(Sf(a,n)&&!If(o,r)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(i=cl(l,i||"")),$l(o,a,s,i,n)}else HC(o,a,s,s[Le],s[r+1],s[r+1]=BC(t,e,i),n,r)}}function If(t,e){return e>=t.expandoStartIndex}function Ef(t,e,i,n){let o=t.data;if(o[i+1]===null){let r=o[sn()],s=If(t,i);Sf(r,n)&&e===null&&!s&&(e=!1),e=jC(o,r,e,n),EC(o,r,e,i,s,n)}}function jC(t,e,i,n){let o=Av(t),r=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(i=ol(null,t,e,i,n),i=Oo(i,e.attrs,n),r=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(i=ol(o,t,e,i,n),r===null){let l=RC(t,e,n);l!==void 0&&Array.isArray(l)&&(l=ol(null,t,e,l[1],n),l=Oo(l,e.attrs,n),LC(t,e,n,l))}else r=VC(t,e,n)}return r!==void 0&&(n?e.residualClasses=r:e.residualStyles=r),i}function RC(t,e,i){let n=i?e.classBindings:e.styleBindings;if(Oi(n)!==0)return t[qn(n)]}function LC(t,e,i,n){let o=i?e.classBindings:e.styleBindings;t[qn(o)]=n}function VC(t,e,i){let n,o=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;n=Oo(n,s,i)}return Oo(n,e.attrs,i)}function ol(t,e,i,n,o){let r=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(r=e[a],n=Oo(n,r.hostAttrs,o),r!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function Oo(t,e,i){let n=i?1:2,o=-1;if(e!==null)for(let r=0;r<e.length;r++){let s=e[r];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),mc(t,s,i?!0:e[++r]))}return t===void 0?null:t}function BC(t,e,i){if(i==null||i==="")return _t;let n=[],o=Lo(i);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(n,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(n,r,o[r]);else typeof o=="string"&&e(n,o);return n}function zC(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&mc(t,n,i)}function HC(t,e,i,n,o,r,s,a){o===Tt&&(o=_t);let l=0,c=0,u=0<o.length?o[0]:null,h=0<r.length?r[0]:null;for(;u!==null||h!==null;){let v=l<o.length?o[l+1]:void 0,x=c<r.length?r[c+1]:void 0,T=null,F;u===h?(l+=2,c+=2,v!==x&&(T=h,F=x)):h===null||u!==null&&u<h?(l+=2,T=u):(c+=2,T=h,F=x),T!==null&&kf(t,e,i,n,T,F,s,a),u=l<o.length?o[l]:null,h=c<r.length?r[c]:null}}function kf(t,e,i,n,o,r,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],u=IC(c)?dm(l,e,i,o,Oi(c),s):void 0;if(!fs(u)){fs(r)||DC(c)&&(r=dm(l,null,i,o,a,s));let h=Km(sn(),i);V0(n,s,h,o,r)}}function dm(t,e,i,n,o,r){let s=e===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),u=c?l[1]:l,h=u===null,v=i[o+1];v===Tt&&(v=h?_t:void 0);let x=h?qa(v,n):u===n?v:void 0;if(c&&!fs(x)&&(x=qa(l,n)),fs(x)&&(a=x,s))return a;let T=t[o+1];o=s?qn(T):Oi(T)}if(e!==null){let l=r?e.residualClasses:e.residualStyles;l!=null&&(a=qa(l,n))}return a}function fs(t){return t!==void 0}function $C(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=yt(Lo(t)))),t}function Sf(t,e){return(t.flags&(e?8:16))!==0}var Ul=class{destroy(e){}updateValue(e,i){}swap(e,i){let n=Math.min(e,i),o=Math.max(e,i),r=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,r),this.attach(o,s)}else this.attach(n,r)}move(e,i){this.attach(i,this.detach(e))}};function rl(t,e,i,n,o){return t===i&&Object.is(e,n)?1:Object.is(o(t,e),o(i,n))?-1:0}function UC(t,e,i){let n,o,r=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;r<=s&&r<=a;){let l=t.at(r),c=e[r],u=rl(r,l,r,c,i);if(u!==0){u<0&&t.updateValue(r,c),r++;continue}let h=t.at(s),v=e[a],x=rl(s,h,a,v,i);if(x!==0){x<0&&t.updateValue(s,v),s--,a--;continue}let T=i(r,l),F=i(s,h),Q=i(r,c);if(Object.is(Q,F)){let $=i(a,v);Object.is($,T)?(t.swap(r,s),t.updateValue(s,v),a--,s--):t.move(s,r),t.updateValue(r,c),r++;continue}if(n??=new gs,o??=mm(t,r,s,i),Wl(t,n,r,Q))t.updateValue(r,c),r++,s++;else if(o.has(Q))n.set(T,t.detach(r)),s--;else{let $=t.create(r,e[r]);t.attach(r,$),r++,s++}}for(;r<=a;)um(t,n,i,r,e[r]),r++}else if(e!=null){let a=e[Symbol.iterator](),l=a.next();for(;!l.done&&r<=s;){let c=t.at(r),u=l.value,h=rl(r,c,r,u,i);if(h!==0)h<0&&t.updateValue(r,u),r++,l=a.next();else{n??=new gs,o??=mm(t,r,s,i);let v=i(r,u);if(Wl(t,n,r,v))t.updateValue(r,u),r++,s++,l=a.next();else if(!o.has(v))t.attach(r,t.create(r,u)),r++,s++,l=a.next();else{let x=i(r,c);n.set(x,t.detach(r)),s--}}}for(;!l.done;)um(t,n,i,t.length,l.value),l=a.next()}for(;r<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function Wl(t,e,i,n){return e!==void 0&&e.has(n)?(t.attach(i,e.get(n)),e.delete(n),!0):!1}function um(t,e,i,n,o){if(Wl(t,e,n,i(n,o)))t.updateValue(n,o);else{let r=t.create(n,o);t.attach(n,r)}}function mm(t,e,i,n){let o=new Set;for(let r=e;r<=i;r++)o.add(n(r,t.at(r)));return o}var gs=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let i=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(i)?(this.kvMap.set(e,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,i){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,i)}else this.kvMap.set(e,i)}forEach(e){for(let[i,n]of this.kvMap)if(e(n,i),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,i)}}};function H(t,e,i){js("NgControlFlow");let n=te(),o=Pi(),r=Yl(n,ot+t),s=0;if(St(n,o,e)){let a=de(null);try{if(rf(r,s),e!==-1){let l=Ql(n[ee],ot+e),c=Eo(r,l.tView.ssrId),u=As(n,l,i,{dehydratedView:c});Fs(r,u,s,Io(l,c))}}finally{de(a)}}else{let a=of(r,s);a!==void 0&&(a[nt]=i)}}var Gl=class{constructor(e,i,n){this.lContainer=e,this.$implicit=i,this.$index=n}get $count(){return this.lContainer.length-it}};function zo(t,e){return e}var ql=class{constructor(e,i,n){this.hasEmptyBlock=e,this.trackByFn=i,this.liveCollection=n}};function Cn(t,e,i,n,o,r,s,a,l,c,u,h,v){js("NgControlFlow");let x=l!==void 0,T=te(),F=a?s.bind(T[kt][nt]):s,Q=new ql(x,F);T[ot+t]=Q,C(t+1,e,i,n,o,r),x&&C(t+2,l,c,u,h,v)}var Zl=class extends Ul{constructor(e,i,n){super(),this.lContainer=e,this.hostLView=i,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-it}at(e){return this.getLView(e)[nt].$implicit}attach(e,i){let n=i[Mi];this.needsIndexUpdate||=e!==this.length,Fs(this.lContainer,i,e,Io(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,WC(this.lContainer,e)}create(e,i){let n=Eo(this.lContainer,this.templateTNode.tView.ssrId);return As(this.hostLView,this.templateTNode,new Gl(this.lContainer,i,e),{dehydratedView:n})}destroy(e){ks(e[ee],e)}updateValue(e,i){this.getLView(e)[nt].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[nt].$index=e}getLView(e){return GC(this.lContainer,e)}};function wn(t){let e=de(null),i=sn();try{let n=te(),o=n[ee],r=n[i];if(r.liveCollection===void 0){let a=i+1,l=Yl(n,a),c=Ql(o,a);r.liveCollection=new Zl(l,n,c)}else r.liveCollection.reset();let s=r.liveCollection;if(UC(s,t,r.trackByFn),s.updateIndexes(),r.hasEmptyBlock){let a=Pi(),l=s.length===0;if(St(n,a,l)){let c=i+2,u=Yl(n,c);if(l){let h=Ql(o,c),v=Eo(u,h.tView.ssrId),x=As(n,h,void 0,{dehydratedView:v});Fs(u,x,0,Io(h,v))}else rf(u,0)}}}finally{de(e)}}function Yl(t,e){return t[e]}function WC(t,e){return Mo(t,e)}function GC(t,e){return of(t,e)}function Ql(t,e){return vc(t,e)}function qC(t,e,i,n,o,r){let s=e.consts,a=ki(s,o),l=ji(e,t,2,n,a);return Bc(e,i,l,ki(s,r)),l.attrs!==null&&ds(l,l.attrs,!1),l.mergedAttrs!==null&&ds(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function m(t,e,i,n){let o=te(),r=$e(),s=ot+t,a=o[Le],l=r.firstCreatePass?qC(s,r,o,e,i,n):r.data[s],c=ZC(r,o,l,a,e,t);o[s]=c;let u=ws(l);return Yn(l,!0),Hp(a,c,l),!vC(l)&&Ds()&&Ss(r,o,c,l),Cv()===0&&bn(c,o),wv(),u&&(jc(r,o,l),Nc(r,l,o)),n!==null&&Rc(o,l),m}function f(){let t=rt();wc()?xc():(t=t.parent,Yn(t,!1));let e=t;Dv(e)&&Mv(),xv();let i=$e();return i.firstCreatePass&&(Is(i,t),_c(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&Bv(e)&&$l(i,e,te(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&zv(e)&&$l(i,e,te(),e.stylesWithoutHost,!1),f}function O(t,e,i,n){return m(t,e,i,n),f(),O}var ZC=(t,e,i,n,o,r)=>(Ms(!0),Ap(n,o,jv()));function YC(t,e,i,n,o){let r=e.consts,s=ki(r,n),a=ji(e,t,8,"ng-container",s);s!==null&&ds(a,s,!0);let l=ki(r,o);return Bc(e,i,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function ut(t,e,i){let n=te(),o=$e(),r=t+ot,s=o.firstCreatePass?YC(r,o,n,e,i):o.data[r];Yn(s,!0);let a=QC(o,n,s,t);return n[r]=a,Ds()&&Ss(o,n,a,s),bn(a,n),ws(s)&&(jc(o,n,s),Nc(o,s,n)),i!=null&&Rc(n,s),ut}function mt(){let t=rt(),e=$e();return wc()?xc():(t=t.parent,Yn(t,!1)),e.firstCreatePass&&(Is(e,t),_c(t)&&e.queries.elementEnd(t)),mt}function Xe(t,e,i){return ut(t,e,i),mt(),Xe}var QC=(t,e,i,n)=>(Ms(!0),x0(e[Le],""));function A(){return te()}var hs="en-US";var KC=hs;function XC(t){typeof t=="string"&&(KC=t.toLowerCase().replace(/_/g,"-"))}function b(t,e,i,n){let o=te(),r=$e(),s=rt();return Of(r,o,o[Le],s,t,e,n),b}function JC(t,e,i,n){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===i&&o[r+1]===n){let a=e[yo],l=o[r+2];return a.length>l?a[l]:null}typeof s=="string"&&(r+=2)}return null}function Of(t,e,i,n,o,r,s){let a=ws(n),c=t.firstCreatePass&&ef(t),u=e[nt],h=Jp(e),v=!0;if(n.type&3||s){let F=Ot(n,e),Q=s?s(F):F,$=h.length,Ee=s?Ke=>s(Zt(Ke[n.index])):n.index,je=null;if(!s&&a&&(je=JC(t,e,o,n.index)),je!==null){let Ke=je.__ngLastListenerFn__||je;Ke.__ngNextListenerFn__=r,je.__ngLastListenerFn__=r,v=!1}else{r=fm(n,e,u,r,!1);let Ke=i.listen(Q,o,r);h.push(r,Ke),c&&c.push(o,Ee,$,$+1)}}else r=fm(n,e,u,r,!1);let x=n.outputs,T;if(v&&x!==null&&(T=x[o])){let F=T.length;if(F)for(let Q=0;Q<F;Q+=2){let $=T[Q],Ee=T[Q+1],Je=e[$][Ee].subscribe(r),le=h.length;h.push(r,Je),c&&c.push(o,n.index,le,-(le+1))}}}function pm(t,e,i,n){let o=de(null);try{return Wt(6,e,i),i(n)!==!1}catch(r){return tf(t,r),!1}finally{Wt(7,e,i),de(o)}}function fm(t,e,i,n,o){return function r(s){if(s===Function)return n;let a=t.componentOffset>-1?_n(t.index,e):e;$c(a);let l=pm(e,i,n,s),c=r.__ngNextListenerFn__;for(;c;)l=pm(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return o&&l===!1&&s.preventDefault(),l}}function g(t=1){return Nv(t)}function ew(t,e){let i=null,n=B_(t);for(let o=0;o<e.length;o++){let r=e[o];if(r==="*"){i=o;continue}if(n===null?Fm(t,r,!0):$_(n,r))return o}return i}function We(t){let e=te()[kt][Ct];if(!e.projection){let i=t?t.length:1,n=e.projection=T_(i,null),o=n.slice(),r=e.child;for(;r!==null;){let s=t?ew(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:n[s]=r,o[s]=r),r=r.next}}}function Ae(t,e=0,i){let n=te(),o=$e(),r=ji(o,ot+t,16,null,i||null);r.projection===null&&(r.projection=e),xc(),(!n[Mi]||np())&&(r.flags&32)!==32&&R0(o,n,r)}function ge(t,e,i){return Tf(t,"",e,"",i),ge}function Tf(t,e,i,n,o){let r=te(),s=wf(r,e,i,n);if(s!==Tt){let a=$e(),l=xs();Vc(a,l,r,t,s,r[Le],o,!1)}return Tf}function pt(t,e,i,n){rC(t,e,i,n)}function tt(t,e,i){oC(t,e,i)}function De(t){let e=te(),i=$e(),n=op();Mc(n+1);let o=Wc(i,n);if(t.dirty&&hv(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=lC(e,n);t.reset(r,t0),t.notifyOnChanges()}return!0}return!1}function Me(){return iC(te(),op())}function tw(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}function qe(t){let e=Ev();return Xm(e,ot+t)}function E(t,e=""){let i=te(),n=$e(),o=t+ot,r=n.firstCreatePass?ji(n,o,1,e,null):n.data[o],s=nw(n,i,r,e,t);i[o]=s,Ds()&&Ss(n,i,s,r),Yn(r,!1)}var nw=(t,e,i,n,o)=>(Ms(!0),C0(e[Le],n));function oe(t){return B("",t,""),oe}function B(t,e,i){let n=te(),o=wf(n,t,e,i);return o!==Tt&&nf(n,sn(),o),B}function zt(t,e,i,n,o){let r=te(),s=xC(r,t,e,i,n,o);return s!==Tt&&nf(r,sn(),s),zt}function Qn(t,e,i){vf(e)&&(e=e());let n=te(),o=Pi();if(St(n,o,e)){let r=$e(),s=xs();Vc(r,s,n,t,e,n[Le],i,!1)}return Qn}function Li(t,e){let i=vf(t);return i&&t.set(e),i}function Kn(t,e){let i=te(),n=$e(),o=rt();return Of(n,i,i[Le],o,t,e),Kn}function iw(t,e,i){let n=$e();if(n.firstCreatePass){let o=hn(t);Kl(i,n.data,n.blueprint,o,!0),Kl(e,n.data,n.blueprint,o,!1)}}function Kl(t,e,i,n,o){if(t=dt(t),Array.isArray(t))for(let r=0;r<t.length;r++)Kl(t[r],e,i,n,o);else{let r=$e(),s=te(),a=rt(),l=Di(t)?t:dt(t.provide),c=$m(t),u=a.providerIndexes&1048575,h=a.directiveStart,v=a.providerIndexes>>20;if(Di(t)||!t.multi){let x=new Un(c,o,w),T=al(l,e,o?u:u+v,h);T===-1?(yl(os(a,s),r,l),sl(r,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push(x),s.push(x)):(i[T]=x,s[T]=x)}else{let x=al(l,e,u+v,h),T=al(l,e,u,u+v),F=x>=0&&i[x],Q=T>=0&&i[T];if(o&&!Q||!o&&!F){yl(os(a,s),r,l);let $=sw(o?rw:ow,i.length,o,n,c);!o&&Q&&(i[T].providerFactory=$),sl(r,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push($),s.push($)}else{let $=Pf(i[o?T:x],c,!o&&n);sl(r,t,x>-1?x:T,$)}!o&&n&&Q&&i[T].componentProviders++}}}function sl(t,e,i,n){let o=Di(e),r=ev(e);if(o||r){let l=(r?dt(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let u=c.indexOf(i);u===-1?c.push(i,[n,l]):c[u+1].push(n,l)}else c.push(i,l)}}}function Pf(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function al(t,e,i,n){for(let o=i;o<n;o++)if(e[o]===t)return o;return-1}function ow(t,e,i,n){return Xl(this.multi,[])}function rw(t,e,i,n){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Wn(i,i[ee],this.providerFactory.index,n);r=a.slice(0,s),Xl(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],Xl(o,r);return r}function Xl(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function sw(t,e,i,n,o){let r=new Un(t,i,w);return r.multi=[],r.index=e,r.componentProviders=0,Pf(r,o,n&&!i),r}function K(t,e=[]){return i=>{i.providersResolver=(n,o)=>iw(n,o?o(t):t,e)}}var aw=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Bm(!1,n.type),r=o.length>0?gC([o],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()}}};e.\u0275prov=q({token:e,providedIn:"environment",factory:()=>new e(j(gn))});let t=e;return t})();function S(t){js("NgStandalone"),t.getStandaloneInjector=e=>e.get(aw).getOrCreateStandaloneInjector(t)}function we(t,e,i,n){return Ff(te(),No(),t,e,i,n)}function ft(t,e,i,n,o){return lw(te(),No(),t,e,i,n,o)}function wt(t,e,i,n,o,r){return cw(te(),No(),t,e,i,n,o,r)}function Af(t,e,i,n,o,r,s){return dw(te(),No(),t,e,i,n,o,r,s)}function Ls(t,e){let i=t[e];return i===Tt?void 0:i}function Ff(t,e,i,n,o,r){let s=e+i;return St(t,s,o)?Rs(t,s+1,r?n.call(r,o):n(o)):Ls(t,s+1)}function lw(t,e,i,n,o,r,s){let a=e+i;return So(t,a,o,r)?Rs(t,a+2,s?n.call(s,o,r):n(o,r)):Ls(t,a+2)}function cw(t,e,i,n,o,r,s,a){let l=e+i;return bC(t,l,o,r,s)?Rs(t,l+3,a?n.call(a,o,r,s):n(o,r,s)):Ls(t,l+3)}function dw(t,e,i,n,o,r,s,a,l){let c=e+i;return _C(t,c,o,r,s,a)?Rs(t,c+4,l?n.call(l,o,r,s,a):n(o,r,s,a)):Ls(t,c+4)}function L(t,e){let i=$e(),n,o=t+ot;i.firstCreatePass?(n=uw(e,i.pipeRegistry),i.data[o]=n,n.onDestroy&&(i.destroyHooks??=[]).push(o,n.onDestroy)):n=i.data[o];let r=n.factory||(n.factory=Bn(n.type,!0)),s,a=Et(w);try{let l=is(!1),c=r();return is(l),tw(i,te(),o,c),c}finally{Et(a)}}function uw(t,e){if(e)for(let i=e.length-1;i>=0;i--){let n=e[i];if(t===n.name)return n}}function V(t,e,i){let n=t+ot,o=te(),r=Xm(o,n);return mw(o,n)?Ff(o,No(),e,r.transform,i,r):r.transform(i)}function mw(t,e){return t[ee].data[e].pure}function gt(t,e){return Ns(t,e)}var Nf=new U("");function Ho(t){return!!t&&typeof t.then=="function"}function jf(t){return!!t&&typeof t.subscribe=="function"}var pw=new U(""),Rf=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=be(pw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let s=r();if(Ho(s))n.push(s);else if(jf(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(r=>{this.reject(r)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fw=new U("");function gw(){ou(()=>{throw new pe(600,!1)})}function hw(t){return t.isBoundToModule}function bw(t,e,i){try{let n=i();return Ho(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var $o=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=be(wp),this.afterRenderEffectManager=be(mf),this.externalTestViews=new Set,this.beforeRender=new ye,this.afterTick=new ye,this.componentTypes=[],this.components=[],this.isStable=be(yf).hasPendingTasks.pipe(Fe(n=>!n)),this._injector=be(gn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let r=n instanceof cs;if(!this._injector.get(Rf).done){let x=!r&&Y_(n),T=!1;throw new pe(405,T)}let a;r?a=n:a=this._injector.get(Ri).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=hw(a)?void 0:this._injector.get(Si),c=o||a.selector,u=a.create(Fi.NULL,[],c,l),h=u.location.nativeElement,v=u.injector.get(Nf,null);return v?.registerApplication(h),u.onDestroy(()=>{this.detachView(u.hostView),ll(this.components,u),v?.unregisterApplication(h)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new pe(101,!1);let o=de(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,de(o)}}detectChangesInAttachedViews(n){let o=0,r=this.afterRenderEffectManager;for(;;){if(o===af)throw new pe(103,!1);if(n){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)_w(a,s,l)}if(o++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Jl(s))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Jl(s))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;ll(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(fw,[]);[...this._bootstrapListeners,...o].forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ll(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new pe(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ll(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function _w(t,e,i){!e&&!Jl(t)||vw(t,i,e)}function Jl(t){return Cc(t)}function vw(t,e,i){let n;i?(n=0,t[Y]|=1024):t[Y]&64?n=0:n=1,lf(t,e,n)}var yw=(()=>{let e=class e{constructor(){this.zone=be(Ce),this.applicationRef=be($o)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Cw(t){return[{provide:Ce,useFactory:t},{provide:_o,multi:!0,useFactory:()=>{let e=be(yw,{optional:!0});return()=>e.initialize()}},{provide:_o,multi:!0,useFactory:()=>{let e=be(Mw);return()=>{e.initialize()}}},{provide:wp,useFactory:ww}]}function ww(){let t=be(Ce),e=be(Yt);return i=>t.runOutsideAngular(()=>e.handleError(i))}function xw(t){let e=Cw(()=>new Ce(Dw(t)));return Vm([[],e])}function Dw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Mw=(()=>{let e=class e{constructor(){this.subscription=new He,this.initialized=!1,this.zone=be(Ce),this.pendingTasks=be(yf)}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(()=>{Ce.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ce.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Iw(){return typeof $localize<"u"&&$localize.locale||hs}var Vs=new U("",{providedIn:"root",factory:()=>be(Vs,me.Optional|me.SkipSelf)||Iw()});var Lf=new U("");var Zr=null;function Ew(t=[],e){return Fi.create({name:e,providers:[{provide:vs,useValue:"platform"},{provide:Lf,useValue:new Set([()=>Zr=null])},...t]})}function kw(t=[]){if(Zr)return Zr;let e=Ew(t);return Zr=e,gw(),Sw(e),e}function Sw(t){t.get(Sc,null)?.forEach(i=>i())}var xt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Ow;let t=e;return t})();function Ow(t){return Tw(rt(),te(),(t&16)===16)}function Tw(t,e,i){if(Cs(t)&&!i){let n=_n(t.index,e);return new Gn(n,n)}else if(t.type&47){let n=e[kt];return new Gn(n,e)}return null}var ec=class{constructor(){}supports(e){return Cf(e)}create(e){return new tc(e)}},Pw=(t,e)=>e,tc=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Pw}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,o=0,r=null;for(;i||n;){let s=!n||i&&i.currentIndex<gm(n,o,r)?i:n,a=gm(s,o,r),l=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)o++;else{r||(r=[]);let c=a-o,u=l-o;if(c!=u){for(let v=0;v<c;v++){let x=v<r.length?r[v]:r[v]=0,T=x+v;u<=T&&T<c&&(r[v]=x+1)}let h=s.previousIndex;r[h]=u-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!Cf(e))throw new pe(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,o,r,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)r=e[a],s=this._trackByFn(a,r),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,r,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,r,s,a)),Object.is(i.item,r)||this._addIdentityChange(i,r)),i=i._next}else o=0,hC(e,a=>{s=this._trackByFn(o,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,o),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,o)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,o++}),this.length=o;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,o){let r;return e===null?r=this._itTail:(r=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,r,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,r,o)):e=this._addAfter(new nc(i,n),r,o)),e}_verifyReinsertion(e,i,n,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return r!==null?e=this._reinsertAfter(r,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}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(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,r=e._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let o=i===null?this._itHead:i._next;return e._next=o,e._prev=i,o===null?this._itTail=e:o._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new bs),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new bs),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},nc=class{constructor(e,i){this.item=e,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},ic=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},bs=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new ic,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,o=this.map.get(n);return o?o.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function gm(t,e,i){let n=t.previousIndex;if(n===null)return n;let o=0;return i&&n<i.length&&(o=i[n]),n+e+o}var oc=class{constructor(){}supports(e){return e instanceof Map||Gc(e)}create(){return new rc}},rc=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let i;for(i=this._mapHead;i!==null;i=i._next)e(i)}forEachPreviousItem(e){let i;for(i=this._previousMapHead;i!==null;i=i._nextPrevious)e(i)}forEachChangedItem(e){let i;for(i=this._changesHead;i!==null;i=i._nextChanged)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Gc(e)))throw new pe(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(i&&i.key===o)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{let r=this._getOrCreateRecordForKey(o,n);i=this._insertBeforeOrAppend(i,r)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,i){if(e){let n=e._prev;return i._next=e,i._prev=n,e._prev=i,n&&(n._next=i),e===this._mapHead&&(this._mapHead=i),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(e,i){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,i);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let n=new sc(e);return this._records.set(e,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,i){Object.is(i,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=i,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,i){e instanceof Map?e.forEach(i):Object.keys(e).forEach(n=>i(e[n],n))}},sc=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function hm(){return new Vi([new ec])}var Vi=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||hm()),deps:[[e,new Em,new dc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o!=null)return o;throw new pe(901,!1)}};e.\u0275prov=q({token:e,providedIn:"root",factory:hm});let t=e;return t})();function bm(){return new qc([new oc])}var qc=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||bm()),deps:[[e,new Em,new dc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o)return o;throw new pe(901,!1)}};e.\u0275prov=q({token:e,providedIn:"root",factory:bm});let t=e;return t})();function Vf(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,o=kw(n),r=[xw(),...i||[]],a=new ps({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(Ce);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(Yt,null),u;l.runOutsideAngular(()=>{u=l.onError.subscribe({next:x=>{c.handleError(x)}})});let h=()=>a.destroy(),v=o.get(Lf);return v.add(h),a.onDestroy(()=>{u.unsubscribe(),v.delete(h)}),bw(c,l,()=>{let x=a.get(Rf);return x.runInitializers(),x.donePromise.then(()=>{let T=a.get(Vs,hs);XC(T||hs);let F=a.get($o);return e!==void 0&&F.bootstrap(e),F})})})}catch(e){return Promise.reject(e)}}function D(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function xn(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}var Bs={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return Bs.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Bs.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function Aw(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function Fw(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function Nw(t){return typeof t=="function"}var Zc;function jw(t,e){if(!Zc){let i=Element.prototype;Zc=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Zc.call(t,e):!1}function Rw(t,e){return t===e||t!==t&&e!==e}function Lw(t){let e={};return t.forEach(({propName:i,templateName:n,transform:o})=>{e[Aw(n)]=[i,o]}),e}function Vw(t,e){return e.get(Ri).resolveComponentFactory(t).inputs}function Bw(t,e){let i=t.childNodes,n=e.map(()=>[]),o=-1;e.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=i.length;r<s;++r){let a=i[r],l=zw(a,e,o);l!==-1&&n[l].push(a)}return n}function zw(t,e,i){let n=i;return Fw(t)&&e.some((o,r)=>o!=="*"&&jw(t,o)?(n=r,!0):!1),n}var Hw=10,Yc=class{constructor(e,i){this.componentFactory=i.get(Ri).resolveComponentFactory(e)}create(e){return new Qc(this.componentFactory,e)}},Qc=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new Nn(1),this.events=this.eventEmitters.pipe(fi(n=>tn(...n))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:n})=>n)),this.ngZone=this.injector.get(Ce),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Bs.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},Hw))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}Rw(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=Fi.create({providers:[],parent:this.injector}),n=Bw(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(xt),this.implementsOnChanges=Nw(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get($o).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:o})=>e.instance[n].pipe(Fe(s=>({name:o,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Bs.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let o=this.unchangedInputs.has(e),r=o?void 0:this.getInputValue(e);this.inputChanges[e]=new wo(r,i,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Kc=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Ve(t,e){let i=Vw(t,e.injector),n=e.strategyFactory||new Yc(t,e.injector),o=Lw(i),s=class s extends Kc{get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:c,transform:u})=>{if(!this.hasOwnProperty(c))return;let h=this[c];delete this[c],l.setInputValue(c,h,u)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,c,u,h){let[v,x]=o[l];this.ngElementStrategy.setInputValue(v,u,x)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let c=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(c)})}};s.observedAttributes=Object.keys(o);let r=s;return i.forEach(({propName:a,transform:l})=>{Object.defineProperty(r.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(c){this.ngElementStrategy.setInputValue(a,c,l)},configurable:!0,enumerable:!0})}),r}var $f=null;function Bi(){return $f}function Uf(t){$f??=t}var Hs=class{};var Qe=new U("");function Wf(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[o,r]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(o.trim()===e)return decodeURIComponent(r)}return null}var Xc=/\s+/,Bf=[],X=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Bf,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Xc):Bf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Xc):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==o&&(r.changed=!0,r.enabled=o),r.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],r=n[1];r.changed?(this._toggleClass(o,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),r.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(Xc).forEach(r=>{o?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};e.\u0275fac=function(o){return new(o||e)(w(se),w(an))},e.\u0275dir=Z({type:e,selectors:[["","ngClass",""]],inputs:{klass:[_.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Jc=class{constructor(e,i,n,o){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=o}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}},ve=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,r){this._viewContainer=n,this._template=o,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else 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 o=this._viewContainer;n.forEachOperation((r,s,a)=>{if(r.previousIndex==null)o.createEmbeddedView(this._template,new Jc(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let l=o.get(s);o.move(l,a),zf(l,r)}});for(let r=0,s=o.length;r<s;r++){let l=o.get(r).context;l.index=r,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let s=o.get(r.currentIndex);zf(s,r)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(w(Kt),w(_e),w(Vi))},e.\u0275dir=Z({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function zf(t,e){t.context.$implicit=e.item}var Be=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new ed,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Hf("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Hf("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(w(Kt),w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),ed=class{constructor(){this.$implicit=null,this.ngIf=null}};function Hf(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${yt(e)}'.`)}var Gf=(()=>{let e=class e{constructor(n,o,r){this._ngEl=n,this._differs=o,this._renderer=r,this._ngStyle=null,this._differ=null}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,o){let[r,s]=n.split("."),a=r.indexOf("-")===-1?void 0:Qt.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(w(se),w(qc),w(an))},e.\u0275dir=Z({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),ln=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,r):!1,get:(n,o,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,r)}})}};e.\u0275fac=function(o){return new(o||e)(w(Kt))},e.\u0275dir=Z({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ue]});let t=e;return t})();var N=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({});let t=e;return t})(),td="browser",$w="server";function qf(t){return t===td}function nd(t){return t===$w}var $s=class{};var rd=class extends Hs{constructor(){super(...arguments),this.supportsDOMEvents=!0}},sd=class t extends rd{static makeCurrent(){Uf(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=Ww();return i==null?null:Gw(i)}resetBaseElement(){Uo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Wf(document.cookie,e)}},Uo=null;function Ww(){return Uo=Uo||document.querySelector("base"),Uo?Uo.getAttribute("href"):null}function Gw(t){return new URL(t,document.baseURI).pathname}var qw=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),ad=new U(""),Kf=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,r){return this._findPluginFor(o).addEventListener(n,o,r)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new pe(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(j(ad),j(Ce))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Us=class{constructor(e){this._doc=e}},id="ng-app-id",Xf=(()=>{let e=class e{constructor(n,o,r,s={}){this.doc=n,this.appId=o,this.nonce=r,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=nd(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(r=>r.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${id}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(r=>{r.textContent!=null&&o.set(r.textContent,r)}),o}return null}changeUsageCount(n,o){let r=this.styleRef;if(r.has(n)){let s=r.get(n);return s.usage+=o,s.usage}return r.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let r=this.styleNodesInDOM,s=r?.get(o);if(s?.parentNode===n)return r.delete(o),s.removeAttribute(id),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(id,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let r=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(r):s.set(o,{elements:[r],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(j(Qe),j(Es),j(Ro,8),j(vn))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),od={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},cd=/%COMP%/g,Jf="%COMP%",Zw=`_nghost-${Jf}`,Yw=`_ngcontent-${Jf}`,Qw=!0,Kw=new U("",{providedIn:"root",factory:()=>Qw});function Xw(t){return Yw.replace(cd,t)}function Jw(t){return Zw.replace(cd,t)}function eg(t,e){return e.map(i=>i.replace(cd,t))}var Zf=(()=>{let e=class e{constructor(n,o,r,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=nd(l),this.defaultRenderer=new Wo(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===qt.ShadowDom&&(o=ht(ce({},o),{encapsulation:qt.Emulated}));let r=this.getOrCreateRenderer(n,o);return r instanceof Ws?r.applyToHost(n):r instanceof Go&&r.applyStyles(),r}getOrCreateRenderer(n,o){let r=this.rendererByCompId,s=r.get(o.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(o.encapsulation){case qt.Emulated:s=new Ws(c,u,o,this.appId,h,a,l,v);break;case qt.ShadowDom:return new ld(c,u,n,o,a,l,this.nonce,v);default:s=new Go(c,u,o,h,a,l,v);break}r.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(j(Kf),j(Xf),j(Es),j(Kw),j(Qe),j(vn),j(Ce),j(Ro))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Wo=class{constructor(e,i,n,o){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(od[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Yf(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(Yf(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new pe(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,o){if(o){i=o+":"+i;let r=od[o];r?e.setAttributeNS(r,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let o=od[n];o?e.removeAttributeNS(o,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,o){o&(Qt.DashCase|Qt.Important)?e.style.setProperty(i,n,o&Qt.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&Qt.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=Bi().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function Yf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ld=class extends Wo{constructor(e,i,n,o,r,s,a,l){super(e,r,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=eg(o.id,o.styles);for(let u of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=u,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Go=class extends Wo{constructor(e,i,n,o,r,s,a,l){super(e,r,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=o,this.styles=l?eg(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ws=class extends Go{constructor(e,i,n,o,r,s,a,l){let c=o+"-"+n.id;super(e,i,n,r,s,a,l,c),this.contentAttr=Xw(c),this.hostAttr=Jw(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},ex=(()=>{let e=class e extends Us{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,r){return n.addEventListener(o,r,!1),()=>this.removeEventListener(n,o,r)}removeEventListener(n,o,r){return n.removeEventListener(o,r)}};e.\u0275fac=function(o){return new(o||e)(j(Qe))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Qf=["alt","control","meta","shift"],tx={"\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"},nx={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ix=(()=>{let e=class e extends Us{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,r){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Bi().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),r=o.shift();if(o.length===0||!(r==="keydown"||r==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),Qf.forEach(u=>{let h=o.indexOf(u);h>-1&&(o.splice(h,1),a+=u+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=r,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let r=tx[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(r=n.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Qf.forEach(a=>{if(a!==r){let l=nx[a];l(n)&&(s+=a+".")}}),s+=r,s===o)}static eventCallback(n,o,r){return s=>{e.matchEventFullKeyCode(s,n)&&r.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(j(Qe))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})();function tg(t){return Vf(ox(t))}function ox(t){return{appProviders:[...cx,...t?.providers??[]],platformProviders:lx}}function rx(){sd.makeCurrent()}function sx(){return new Yt}function ax(){return Sp(document),document}var lx=[{provide:vn,useValue:td},{provide:Sc,useValue:rx,multi:!0},{provide:Qe,useFactory:ax,deps:[]}];var cx=[{provide:vs,useValue:"root"},{provide:Yt,useFactory:sx,deps:[]},{provide:ad,useClass:ex,multi:!0,deps:[Qe,Ce,vn]},{provide:ad,useClass:ix,multi:!0,deps:[Qe]},Zf,Xf,Kf,{provide:ko,useExisting:Zf},{provide:$s,useClass:qw,deps:[]},[]];var cg=(()=>{let e=class e{constructor(n,o){this._renderer=n,this._elementRef=o,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(n,o){this._renderer.setProperty(this._elementRef.nativeElement,n,o)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(o){return new(o||e)(w(an),w(se))},e.\u0275dir=Z({type:e});let t=e;return t})(),dx=(()=>{let e=class e extends cg{};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=st(e)))(r||e)}})(),e.\u0275dir=Z({type:e,features:[z]});let t=e;return t})(),Ys=new U("");var ux={provide:Ys,useExisting:Zn(()=>dg),multi:!0};function mx(){let t=Bi()?Bi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var px=new U(""),dg=(()=>{let e=class e extends cg{constructor(n,o,r){super(n,o),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!mx())}writeValue(n){let o=n??"";this.setProperty("value",o)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(o){return new(o||e)(w(an),w(se),w(px,8))},e.\u0275dir=Z({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(o,r){o&1&&b("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},features:[K([ux]),z]});let t=e;return t})();var fx=new U(""),gx=new U("");function ug(t){return t!=null}function mg(t){return Ho(t)?Re(t):t}function pg(t){let e={};return t.forEach(i=>{e=i!=null?ce(ce({},e),i):e}),Object.keys(e).length===0?null:e}function fg(t,e){return e.map(i=>i(t))}function hx(t){return!t.validate}function gg(t){return t.map(e=>hx(e)?e:i=>e.validate(i))}function bx(t){if(!t)return null;let e=t.filter(ug);return e.length==0?null:function(i){return pg(fg(i,e))}}function hg(t){return t!=null?bx(gg(t)):null}function _x(t){if(!t)return null;let e=t.filter(ug);return e.length==0?null:function(i){let n=fg(i,e).map(mg);return mo(n).pipe(Fe(pg))}}function bg(t){return t!=null?_x(gg(t)):null}function ng(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function vx(t){return t._rawValidators}function yx(t){return t._rawAsyncValidators}function dd(t){return t?Array.isArray(t)?t:[t]:[]}function qs(t,e){return Array.isArray(t)?t.includes(e):t===e}function ig(t,e){let i=dd(e);return dd(t).forEach(o=>{qs(i,o)||i.push(o)}),i}function og(t,e){return dd(e).filter(i=>!qs(t,i))}var Zs=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=hg(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=bg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},ud=class extends Zs{get formDirective(){return null}get path(){return null}},Yo=class extends Zs{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},md=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Cx={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},UF=ht(ce({},Cx),{"[class.ng-submitted]":"isSubmitted"}),Qs=(()=>{let e=class e extends md{constructor(n){super(n)}};e.\u0275fac=function(o){return new(o||e)(w(Yo,2))},e.\u0275dir=Z({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,r){o&2&&J("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[z]});let t=e;return t})();var qo="VALID",Gs="INVALID",zi="PENDING",Zo="DISABLED";function wx(t){return(Ks(t)?t.validators:t)||null}function xx(t){return Array.isArray(t)?hg(t):t||null}function Dx(t,e){return(Ks(e)?e.asyncValidators:t)||null}function Mx(t){return Array.isArray(t)?bg(t):t||null}function Ks(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var pd=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===qo}get invalid(){return this.status===Gs}get pending(){return this.status==zi}get disabled(){return this.status===Zo}get enabled(){return this.status!==Zo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(ig(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ig(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(og(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(og(e,this._rawAsyncValidators))}hasValidator(e){return qs(this._rawValidators,e)}hasAsyncValidator(e){return qs(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=zi,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Zo,this.errors=null,this._forEachChild(n=>{n.disable(ht(ce({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ht(ce({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=qo,this._forEachChild(n=>{n.enable(ht(ce({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ht(ce({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===qo||this.status===zi)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zo:qo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=zi,this._hasOwnPendingAsyncValidator=!0;let i=mg(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,o)=>n&&n._find(o),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new y,this.statusChanges=new y}_calculateStatus(){return this._allControlsDisabled()?Zo:this.errors?Gs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zi)?zi:this._anyControlsHaveStatus(Gs)?Gs:qo}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ks(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=xx(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Mx(this._rawAsyncValidators)}};var _g=new U("CallSetDisabledState",{providedIn:"root",factory:()=>fd}),fd="always";function Ix(t,e){return[...e.path,t]}function Ex(t,e,i=fd){Sx(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),Ox(t,e),Px(t,e),Tx(t,e),kx(t,e)}function rg(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function kx(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function Sx(t,e){let i=vx(t);e.validator!==null?t.setValidators(ng(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=yx(t);e.asyncValidator!==null?t.setAsyncValidators(ng(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let o=()=>t.updateValueAndValidity();rg(e._rawValidators,o),rg(e._rawAsyncValidators,o)}function Ox(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&vg(t,e)})}function Tx(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&vg(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function vg(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Px(t,e){let i=(n,o)=>{e.valueAccessor.writeValue(n),o&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function Ax(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function Fx(t){return Object.getPrototypeOf(t.constructor)===dx}function Nx(t,e){if(!e)return null;Array.isArray(e);let i,n,o;return e.forEach(r=>{r.constructor===dg?i=r:Fx(r)?n=r:o=r}),o||n||i||null}function sg(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function ag(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var jx=class extends pd{constructor(e=null,i,n){super(wx(i),Dx(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ks(i)&&(i.nonNullable||i.initialValueIsDefault)&&(ag(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){sg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){sg(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){ag(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var Rx={provide:Yo,useExisting:Zn(()=>Qo)},lg=Promise.resolve(),Qo=(()=>{let e=class e extends Yo{constructor(n,o,r,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new jx,this._registered=!1,this.name="",this.update=new y,this._parent=n,this._setValidators(o),this._setAsyncValidators(r),this.valueAccessor=Nx(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let o=n.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),Ax(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ex(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){lg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let o=n.isDisabled.currentValue,r=o!==0&&D(o);lg.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?Ix(n,this._parent):[n]}};e.\u0275fac=function(o){return new(o||e)(w(ud,9),w(fx,10),w(gx,10),w(Ys,10),w(xt,8),w(_g,8))},e.\u0275dir=Z({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[_.None,"disabled","isDisabled"],model:[_.None,"ngModel","model"],options:[_.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[K([Rx]),z,Ue]});let t=e;return t})();var Lx=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({});let t=e;return t})();var Xs=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:_g,useValue:n.callSetDisabledState??fd}]}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({imports:[Lx]});let t=e;return t})();var Vx=["content"],Bx=["scroll"],zx=["padding"],xg=["*"],Xo=t=>({searchTerm:t});function Hx(t,e){if(t&1&&(m(0,"div",6),Xe(1,7),f()),t&2){let i=g();d(),p("ngTemplateOutlet",i.headerTemplate)("ngTemplateOutletContext",we(2,Xo,i.filterValue))}}function $x(t,e){if(t&1&&(m(0,"div",8),Xe(1,7),f()),t&2){let i=g();d(),p("ngTemplateOutlet",i.footerTemplate)("ngTemplateOutletContext",we(2,Xo,i.filterValue))}}var Ux=["searchInput"],Wx=["clearButton"],Gx=(t,e,i)=>({item:t,clear:e,label:i}),qx=(t,e)=>({items:t,clear:e}),Zx=(t,e,i,n)=>({item:t,item$:e,index:i,searchTerm:n});function Yx(t,e){if(t&1){let i=A();m(0,"span",22),b("click",function(){M(i);let o=g().$implicit,r=g(2);return I(r.unselect(o))}),E(1,"\xD7"),f(),O(2,"span",23)}if(t&2){let i=g().$implicit,n=g(2);d(2),p("ngItemLabel",i.label)("escape",n.escapeHTML)}}function Qx(t,e){}function Kx(t,e){if(t&1&&(m(0,"div",20),C(1,Yx,3,2,"ng-template",null,1,gt)(3,Qx,0,0,"ng-template",21),f()),t&2){let i=e.$implicit,n=qe(2),o=g(2);J("ng-value-disabled",i.disabled),d(3),p("ngTemplateOutlet",o.labelTemplate||n)("ngTemplateOutletContext",wt(4,Gx,i.value,o.clearItem,i.label))}}function Xx(t,e){if(t&1&&(ut(0),C(1,Kx,4,8,"div",19),mt()),t&2){let i=g();d(),p("ngForOf",i.selectedItems)("ngForTrackBy",i.trackByOption)}}function Jx(t,e){}function e1(t,e){if(t&1&&C(0,Jx,0,0,"ng-template",21),t&2){let i=g();p("ngTemplateOutlet",i.multiLabelTemplate)("ngTemplateOutletContext",ft(2,qx,i.selectedValues,i.clearItem))}}function t1(t,e){t&1&&O(0,"div",25)}function n1(t,e){}function i1(t,e){if(t&1&&(ut(0),C(1,t1,1,0,"ng-template",null,2,gt)(3,n1,0,0,"ng-template",24),mt()),t&2){let i=qe(2),n=g();d(3),p("ngTemplateOutlet",n.loadingSpinnerTemplate||i)}}function o1(t,e){if(t&1&&(m(0,"span",26,3)(2,"span",27),E(3,"\xD7"),f()()),t&2){let i=g();ge("title",i.clearAllText)}}function r1(t,e){if(t&1&&O(0,"span",32),t&2){let i=g().$implicit,n=g(2);p("ngItemLabel",i.label)("escape",n.escapeHTML)}}function s1(t,e){}function a1(t,e){if(t&1){let i=A();m(0,"div",31),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r.toggleItem(o))})("mouseover",function(){let o=M(i).$implicit,r=g(2);return I(r.onItemHover(o))}),C(1,r1,1,2,"ng-template",null,4,gt)(3,s1,0,0,"ng-template",21),f()}if(t&2){let i=e.$implicit,n=qe(2),o=g(2);J("ng-option-disabled",i.disabled)("ng-option-selected",i.selected)("ng-optgroup",i.children)("ng-option",!i.children)("ng-option-child",!!i.parent)("ng-option-marked",i===o.itemsList.markedItem),W("role",i.children?"group":"option")("aria-selected",i.selected)("id",i==null?null:i.htmlId),d(3),p("ngTemplateOutlet",i.children?o.optgroupTemplate||n:o.optionTemplate||n)("ngTemplateOutletContext",Af(17,Zx,i.value,i,i.index,o.searchTerm))}}function l1(t,e){if(t&1&&(m(0,"span")(1,"span",34),E(2),f(),E(3),f()),t&2){let i=g(3);d(2),oe(i.addTagText),d(),B('"',i.searchTerm,'"')}}function c1(t,e){}function d1(t,e){if(t&1){let i=A();m(0,"div",33),b("mouseover",function(){M(i);let o=g(2);return I(o.itemsList.unmarkItem())})("click",function(){M(i);let o=g(2);return I(o.selectTag())}),C(1,l1,4,2,"ng-template",null,5,gt)(3,c1,0,0,"ng-template",21),f()}if(t&2){let i=qe(2),n=g(2);J("ng-option-marked",!n.itemsList.markedItem),d(3),p("ngTemplateOutlet",n.tagTemplate||i)("ngTemplateOutletContext",we(4,Xo,n.searchTerm))}}function u1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=g(3);d(),oe(i.notFoundText)}}function m1(t,e){}function p1(t,e){if(t&1&&(ut(0),C(1,u1,2,1,"ng-template",null,6,gt)(3,m1,0,0,"ng-template",21),mt()),t&2){let i=qe(2),n=g(2);d(3),p("ngTemplateOutlet",n.notFoundTemplate||i)("ngTemplateOutletContext",we(2,Xo,n.searchTerm))}}function f1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=g(3);d(),oe(i.typeToSearchText)}}function g1(t,e){}function h1(t,e){if(t&1&&(ut(0),C(1,f1,2,1,"ng-template",null,7,gt)(3,g1,0,0,"ng-template",24),mt()),t&2){let i=qe(2),n=g(2);d(3),p("ngTemplateOutlet",n.typeToSearchTemplate||i)}}function b1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=g(3);d(),oe(i.loadingText)}}function _1(t,e){}function v1(t,e){if(t&1&&(ut(0),C(1,b1,2,1,"ng-template",null,8,gt)(3,_1,0,0,"ng-template",21),mt()),t&2){let i=qe(2),n=g(2);d(3),p("ngTemplateOutlet",n.loadingTextTemplate||i)("ngTemplateOutletContext",we(2,Xo,n.searchTerm))}}function y1(t,e){if(t&1){let i=A();m(0,"ng-dropdown-panel",28),b("update",function(o){M(i);let r=g();return I(r.viewPortItems=o)})("scroll",function(o){M(i);let r=g();return I(r.scroll.emit(o))})("scrollToEnd",function(o){M(i);let r=g();return I(r.scrollToEnd.emit(o))})("outsideClick",function(){M(i);let o=g();return I(o.close())}),ut(1),C(2,a1,4,22,"div",29)(3,d1,4,6,"div",30),mt(),C(4,p1,4,4,"ng-container",12)(5,h1,4,1,"ng-container",12)(6,v1,4,4,"ng-container",12),f()}if(t&2){let i=g();J("ng-select-multiple",i.multiple),p("virtualScroll",i.virtualScroll)("bufferAmount",i.bufferAmount)("appendTo",i.appendTo)("position",i.dropdownPosition)("headerTemplate",i.headerTemplate)("footerTemplate",i.footerTemplate)("filterValue",i.searchTerm)("items",i.itemsList.filteredItems)("markedItem",i.itemsList.markedItem)("ngClass",i.appendTo?i.classes:null)("id",i.dropdownId),d(2),p("ngForOf",i.viewPortItems)("ngForTrackBy",i.trackByOption),d(),p("ngIf",i.showAddTag),d(),p("ngIf",i.showNoItemsFound()),d(),p("ngIf",i.showTypeToSearch()),d(),p("ngIf",i.loading&&i.itemsList.filteredItems.length===0)}}var Dg=/[&<>"']/g,C1=RegExp(Dg.source),w1={"&":"&","<":"<",">":">",'"':""","'":"'"};function x1(t){return t&&C1.test(t)?t.replace(Dg,e=>w1[e]):t}function ze(t){return t!=null}function Ko(t){return typeof t=="object"&&ze(t)}function D1(t){return t instanceof Promise}function ea(t){return t instanceof Function}var M1=(()=>{let e=class e{constructor(n){this.element=n,this.escape=!0}ngOnChanges(n){this.element.nativeElement.innerHTML=this.escape?x1(this.ngItemLabel):this.ngItemLabel}};e.\u0275fac=function(o){return new(o||e)(w(se))},e.\u0275dir=Z({type:e,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[Ue]});let t=e;return t})(),I1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-option-tmp",""]]});let t=e;return t})(),E1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-optgroup-tmp",""]]});let t=e;return t})(),k1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-label-tmp",""]]});let t=e;return t})(),S1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-multi-label-tmp",""]]});let t=e;return t})(),O1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-header-tmp",""]]});let t=e;return t})(),T1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-footer-tmp",""]]});let t=e;return t})(),P1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-notfound-tmp",""]]});let t=e;return t})(),A1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-typetosearch-tmp",""]]});let t=e;return t})(),F1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-loadingtext-tmp",""]]});let t=e;return t})(),N1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-tag-tmp",""]]});let t=e;return t})(),j1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-loadingspinner-tmp",""]]});let t=e;return t})();function Mg(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var R1={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function Js(t){let e=i=>R1[i]||i;return t.replace(/[^\u0000-\u007E]/g,e)}var gd=class{constructor(e,i){this._ngSelect=e,this._selectionModel=i,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let e=this.selectedItems.length-1;for(;e>=0;e--){let i=this.selectedItems[e];if(!i.disabled)return i}return null}setItems(e){this._items=e.map((i,n)=>this.mapItem(i,n)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(e){if(e.selected||this.maxItemsSelected)return;let i=this._ngSelect.multiple;i||this.clearSelected(),this._selectionModel.select(e,i,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(e)}unselect(e){e.selected&&(this._selectionModel.unselect(e,this._ngSelect.multiple),this._ngSelect.hideSelected&&ze(e.index)&&this._ngSelect.multiple&&this._showSelected(e))}findItem(e){let i;return this._ngSelect.compareWith?i=n=>this._ngSelect.compareWith(n.value,e):this._ngSelect.bindValue?i=n=>!n.children&&this.resolveNested(n.value,this._ngSelect.bindValue)===e:i=n=>n.value===e||!n.children&&n.label&&n.label===this.resolveNested(e,this._ngSelect.bindLabel),this._items.find(n=>i(n))}addItem(e){let i=this.mapItem(e,this._items.length);return this._items.push(i),this._filteredItems.push(i),i}clearSelected(e=!1){this._selectionModel.clear(e),this._items.forEach(i=>{i.selected=e&&i.selected&&i.disabled,i.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(e){return e=Js(e).toLocaleLowerCase(),this.filteredItems.find(i=>Js(i.label).toLocaleLowerCase().substr(0,e.length)===e)}filter(e){if(!e){this.resetFilteredItems();return}this._filteredItems=[],e=this._ngSelect.searchFn?e:Js(e).toLocaleLowerCase();let i=this._ngSelect.searchFn||this._defaultSearchFn,n=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(n&&(s.parent&&s.parent.selected||s.selected))continue;let a=this._ngSelect.searchFn?s.value:s;i(e,a)&&r.push(s)}if(r.length>0){let[s]=r.slice(-1);if(s.parent){let a=this._items.find(l=>l===s.parent);this._filteredItems.push(a)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(e=>!e.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(e){this._markedIndex=this._filteredItems.indexOf(e)}markSelectedOrDefault(e){if(this._filteredItems.length===0)return;let i=this._getLastMarkedIndex();i>-1?this._markedIndex=i:this._markedIndex=e?this.filteredItems.findIndex(n=>!n.disabled):-1}resolveNested(e,i){if(!Ko(e))return e;if(i.indexOf(".")===-1)return e[i];{let n=i.split("."),o=e;for(let r=0,s=n.length;r<s;++r){if(o==null)return null;o=o[n[r]]}return o}}mapItem(e,i){let n=ze(e.$ngOptionLabel)?e.$ngOptionLabel:this.resolveNested(e,this._ngSelect.bindLabel),o=ze(e.$ngOptionValue)?e.$ngOptionValue:e;return{index:i,label:ze(n)?n.toString():"",value:o,disabled:e.disabled,htmlId:`${this._ngSelect.dropdownId}-${i}`}}mapSelectedItems(){let e=this._ngSelect.multiple;for(let i of this.selectedItems){let n=this._ngSelect.bindValue?this.resolveNested(i.value,this._ngSelect.bindValue):i.value,o=ze(n)?this.findItem(n):null;this._selectionModel.unselect(i,e),this._selectionModel.select(o||i,e,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(i=>this.selectedItems.indexOf(i)===-1))}_showSelected(e){if(this._filteredItems.push(e),e.parent){let i=e.parent;this._filteredItems.find(o=>o===i)||this._filteredItems.push(i)}else if(e.children)for(let i of e.children)i.selected=!1,this._filteredItems.push(i);this._filteredItems=[...this._filteredItems.sort((i,n)=>i.index-n.index)]}_hideSelected(e){this._filteredItems=this._filteredItems.filter(i=>i!==e),e.parent?e.parent.children.every(n=>n.selected)&&(this._filteredItems=this._filteredItems.filter(n=>n!==e.parent)):e.children&&(this._filteredItems=this.filteredItems.filter(i=>i.parent!==e))}_defaultSearchFn(e,i){return Js(i.label).toLocaleLowerCase().indexOf(e)>-1}_getNextItemIndex(e){return e>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(e){this._filteredItems.length===0||this._filteredItems.every(i=>i.disabled)||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let e=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&e<0?-1:Math.max(this.markedIndex,e)}_groupBy(e,i){let n=new Map;if(e.length===0)return n;if(Array.isArray(e[0].value[i])){for(let s of e){let a=(s.value[i]||[]).map((l,c)=>this.mapItem(l,c));n.set(s,a)}return n}let o=ea(this._ngSelect.groupBy),r=s=>{let a=o?i(s.value):s.value[i];return ze(a)?a:void 0};for(let s of e){let a=r(s),l=n.get(a);l?l.push(s):n.set(a,[s])}return n}_flatten(e){let i=ea(this._ngSelect.groupBy),n=[];for(let o of Array.from(e.keys())){let r=n.length;if(o===void 0){let h=e.get(void 0)||[];n.push(...h.map(v=>(v.index=r++,v)));continue}let s=Ko(o),a={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:Mg()},l=i?this._ngSelect.bindLabel:this._ngSelect.groupBy,c=this._ngSelect.groupValue||(()=>s?o.value:{[l]:o}),u=e.get(o).map(h=>(h.parent=a,h.children=void 0,h.index=r++,h));a.children=u,a.value=c(o,u.map(h=>h.value)),n.push(a),n.push(...u)}return n}},Xt=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",t}(Xt||{}),Ig=(()=>{let e=class e{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(n,o,r){let s=this._dimensions,a=s.itemHeight*o,c=Math.max(0,n)/a*o,u=Math.min(o,Math.ceil(c)+(s.itemsPerViewport+1)),v=Math.max(0,u-s.itemsPerViewport),x=Math.min(v,Math.floor(c)),T=s.itemHeight*Math.ceil(x)-s.itemHeight*Math.min(x,r);return T=isNaN(T)?0:T,x=isNaN(x)?-1:x,u=isNaN(u)?-1:u,x-=r,x=Math.max(0,x),u+=r,u=Math.min(o,u),{topPadding:T,scrollHeight:a,start:x,end:u}}setDimensions(n,o){let r=Math.max(1,Math.floor(o/n));this._dimensions={itemHeight:n,panelHeight:o,itemsPerViewport:r}}getScrollTo(n,o,r){let{panelHeight:s}=this.dimensions,a=n+o,l=r,c=l+s;return s>=a&&r===n?null:a>c?l+a-c:n<=l?n:null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Cg=["top","right","bottom","left"],L1=typeof requestAnimationFrame<"u"?za:Ba,wg=(()=>{let e=class e{constructor(n,o,r,s,a){this._renderer=n,this._zone=o,this._panelService=r,this._document=a,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new y,this.scroll=new y,this.scrollToEnd=new y,this.outsideClick=new y,this._destroy$=new ye,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=s.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(n){n!==this._itemsLength&&(this._itemsLength=n,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:n,panelHeight:o}=this._panelService.dimensions,r=this.markedItem.index*n;return o>r?0:r}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(n){if(n.items){let o=n.items;this._onItemsChange(o.currentValue,o.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(n,o=!1){if(!n)return;let r=this.items.indexOf(n);if(r<0||r>=this.itemsLength)return;let s;if(this.virtualScroll){let a=this._panelService.dimensions.itemHeight;s=this._panelService.getScrollTo(r*a,a,this._lastScrollPosition)}else{let a=this._dropdown.querySelector(`#${n.htmlId}`),l=o?a.offsetTop:this._lastScrollPosition;s=this._panelService.getScrollTo(a.offsetTop,a.clientHeight,l)}ze(s)&&(this._scrollablePanel.scrollTop=s)}scrollToTag(){let n=this._scrollablePanel;n.scrollTop=n.scrollHeight-n.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Cg.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(n){Cg.forEach(r=>{let s=`ng-select-${r}`;this._renderer.removeClass(this._dropdown,s),this._renderer.removeClass(this._select,s)});let o=`ng-select-${n}`;this._renderer.addClass(this._dropdown,o),this._renderer.addClass(this._select,o)}_handleScroll(){this._zone.runOutsideAngular(()=>{mn(this.scrollElementRef.nativeElement,"scroll").pipe(ct(this._destroy$),Ua(0,L1)).subscribe(n=>{let o=n.path||n.composedPath&&n.composedPath();if(!o||o.length===0&&!n.target)return;let r=!o||o.length===0?n.target.scrollTop:o[0].scrollTop;this._onContentScrolled(r)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{tn(mn(this._document,"touchstart",{capture:!0}),mn(this._document,"mousedown",{capture:!0})).pipe(ct(this._destroy$)).subscribe(n=>this._checkToClose(n))})}_checkToClose(n){if(this._select.contains(n.target)||this._dropdown.contains(n.target))return;let o=n.path||n.composedPath&&n.composedPath();n.target&&n.target.shadowRoot&&o&&o[0]&&this._select.contains(o[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(n,o){this.items=n||[],this._scrollToEndFired=!1,this.itemsLength=n.length,this.virtualScroll?this._updateItemsRange(o):(this._setVirtualHeight(),this._updateItems(o))}_updateItems(n){this.update.emit(this.items),n!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let o=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,o),this._handleDropdownPosition(),this.scrollTo(this.markedItem,n)})})}_updateItemsRange(n){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{n?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(n){this.virtualScroll&&this._renderItemsRange(n),this._lastScrollPosition=n,this._fireScrollToEnd(n)}_updateVirtualHeight(n){this._updateScrollHeight&&(this._virtualPadding.style.height=`${n}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(n=null){if(n&&this._lastScrollPosition===n)return;n=n||this._scrollablePanel.scrollTop;let o=this._panelService.calculateItems(n,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(o.scrollHeight),this._contentPanel.style.transform=`translateY(${o.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(o.start,o.end)),this.scroll.emit({start:o.start,end:o.end})}),ze(n)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=n,this._lastScrollPosition=n)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[n]=this.items;return this.update.emit([n]),Promise.resolve().then(()=>{let r=this._dropdown.querySelector(`#${n.htmlId}`).clientHeight;this._virtualPadding.style.height=`${r*this.itemsLength}px`;let s=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(r,s),this._panelService.dimensions})}_fireScrollToEnd(n){if(this._scrollToEndFired||n===0)return;let o=this.virtualScroll?this._virtualPadding:this._contentPanel;n+this._dropdown.clientHeight>=o.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(n){if(this.position!=="auto")return this.position;let o=this._select.getBoundingClientRect(),r=document.documentElement.scrollTop||document.body.scrollTop,s=o.top+window.pageYOffset,a=o.height,l=n.getBoundingClientRect().height;return s+a+l>r+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let n=this._select.getBoundingClientRect(),o=this._parent.getBoundingClientRect(),r=n.left-o.left;this._dropdown.style.left=r+"px",this._dropdown.style.width=n.width+"px",this._dropdown.style.minWidth=n.width+"px"}_updateYPosition(){let n=this._select.getBoundingClientRect(),o=this._parent.getBoundingClientRect(),r=n.height;if(this._currentPosition==="top"){let s=o.bottom-n.bottom;this._dropdown.style.bottom=s+r+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let s=n.top-o.top;this._dropdown.style.top=s+r+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{mn(this._dropdown,"mousedown").pipe(ct(this._destroy$)).subscribe(n=>{n.target.tagName!=="INPUT"&&n.preventDefault()})})}};e.\u0275fac=function(o){return new(o||e)(w(an),w(Ce),w(Ig),w(se),w(Qe,8))},e.\u0275cmp=k({type:e,selectors:[["ng-dropdown-panel"]],viewQuery:function(o,r){if(o&1&&(tt(Vx,7,se),tt(Bx,7,se),tt(zx,7,se)),o&2){let s;De(s=Me())&&(r.contentElementRef=s.first),De(s=Me())&&(r.scrollElementRef=s.first),De(s=Me())&&(r.paddingElementRef=s.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[Ue],ngContentSelectors:xg,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(o,r){o&1&&(We(),C(0,Hx,2,4,"div",3),m(1,"div",4,0),O(3,"div",null,1),m(5,"div",null,2),Ae(7),f()(),C(8,$x,2,4,"div",5)),o&2&&(p("ngIf",r.headerTemplate),d(3),J("total-padding",r.virtualScroll),d(2),J("scrollable-content",r.virtualScroll&&r.items.length),d(3),p("ngIf",r.footerTemplate))},dependencies:[Be,ln],encapsulation:2,changeDetection:0});let t=e;return t})(),Jo=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){this._disabled=this._isDisabled(n)}constructor(n){this.elementRef=n,this.stateChange$=new ye,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(n){n.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(n){return n!=null&&`${n}`!="false"}};e.\u0275fac=function(o){return new(o||e)(w(se))},e.\u0275cmp=k({type:e,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[Ue],ngContentSelectors:xg,decls:1,vars:0,template:function(o,r){o&1&&(We(),Ae(0))},encapsulation:2,changeDetection:0});let t=e;return t})(),V1=(()=>{let e=class e{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),B1=(()=>{let e=class e{warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Eg=new U("ng-select-selection-model"),ta=(()=>{let e=class e{get items(){return this._items}set items(n){n===null&&(n=[]),this._itemsAreUsed=!0,this._items=n}get compareWith(){return this._compareWith}set compareWith(n){if(n!=null&&!ea(n))throw Error("`compareWith` must be a function.");this._compareWith=n}get clearSearchOnAdd(){return ze(this._clearSearchOnAdd)?this._clearSearchOnAdd:ze(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(n){this._clearSearchOnAdd=n}get deselectOnClick(){return ze(this._deselectOnClick)?this._deselectOnClick:ze(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(n){this._deselectOnClick=n}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(n,o,r,s,a,l,c){this.classes=n,this.autoFocus=o,this.config=r,this._cd=l,this._console=c,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=u=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new y,this.focusEvent=new y,this.changeEvent=new y,this.openEvent=new y,this.closeEvent=new y,this.searchEvent=new y,this.clearEvent=new y,this.addEvent=new y,this.removeEvent=new y,this.scroll=new y,this.scrollToEnd=new y,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Mg(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ye,this._keyPress$=new ye,this._onChange=u=>{},this._onTouched=()=>{},this.clearItem=u=>{let h=this.selectedItems.find(v=>v.value===u);this.unselect(h)},this.trackByOption=(u,h)=>this.trackByFn?this.trackByFn(h.value):h,this._mergeGlobalConfig(r),this.itemsList=new gd(this,s()),this.element=a.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(n=>n.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(n){n.multiple&&this.itemsList.clearSelected(),n.items&&this._setItems(n.items.currentValue||[]),n.isOpen&&(this._manualOpen=ze(n.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),ze(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(n){if(Xt[n.which]){if(this.keyDownFn(n)===!1)return;this.handleKeyCode(n)}else n.key&&n.key.length===1&&this._keyPress$.next(n.key.toLocaleLowerCase())}handleKeyCode(n){let o=n.target;this.clearButton&&this.clearButton.nativeElement===o?this.handleKeyCodeClear(n):this.handleKeyCodeInput(n)}handleKeyCodeInput(n){switch(n.which){case Xt.ArrowDown:this._handleArrowDown(n);break;case Xt.ArrowUp:this._handleArrowUp(n);break;case Xt.Space:this._handleSpace(n);break;case Xt.Enter:this._handleEnter(n);break;case Xt.Tab:this._handleTab(n);break;case Xt.Esc:this.close(),n.preventDefault();break;case Xt.Backspace:this._handleBackspace();break}}handleKeyCodeClear(n){switch(n.which){case Xt.Enter:this.handleClearClick(),n.preventDefault();break}}handleMousedown(n){let o=n.target;if(o.tagName!=="INPUT"&&n.preventDefault(),o.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(o.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}o.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(n){this.itemsList.clearSelected(),this._handleWriteValue(n),this._cd.markForCheck()}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this._disabled=n,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(n){!n||n.disabled||this.disabled||(this.deselectOnClick&&n.selected?this.unselect(n):this.select(n),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(n){n.selected||(this.itemsList.select(n),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(n.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(n){n&&(this.itemsList.unselect(n),this.focus(),this._updateNgModel(),this.removeEvent.emit(n.value))}selectTag(){let n;ea(this.addTag)?n=this.addTag(this.searchTerm):n=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let o=r=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(r,null):this.itemsList.addItem(r);D1(n)?n.then(r=>this.select(o(r))).catch(()=>{}):n&&this.select(o(n))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}get showAddTag(){if(!this._validTerm)return!1;let n=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(o=>o.label.toLowerCase()===n)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(o=>o.label.toLowerCase()===n))&&!this.loading}showNoItemsFound(){let n=this.itemsList.filteredItems.length===0;return(n&&!this._isTypeahead&&!this.loading||n&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(n){this._isComposing=!1,!this.searchWhileComposing&&this.filter(n)}filter(n){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=n,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(n),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:n,items:this.itemsList.filteredItems.map(o=>o.value)}),this.open())}onInputFocus(n){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(n),this.focused=!0)}onInputBlur(n){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(n),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(n){n.disabled||this.itemsList.markItem(n)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let n=this.selectedItems&&this.selectedItems[0];this.searchTerm=n&&n.label||null}_setItems(n){let o=n[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=ze(o)?!Ko(o):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(n),n.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&ze(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let n=r=>{this.items=r.map(s=>({$ngOptionValue:s.value,$ngOptionLabel:s.elementRef.nativeElement.innerHTML,disabled:s.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},o=()=>{let r=tn(this.ngOptions.changes,this._destroy$);tn(...this.ngOptions.map(s=>s.stateChange$)).pipe(ct(r)).subscribe(s=>{let a=this.itemsList.findItem(s.value);a.disabled=s.disabled,a.label=s.label||a.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(fo(this.ngOptions),ct(this._destroy$)).subscribe(r=>{this.bindLabel=this._defaultLabel,n(r),o()})}_isValidWriteValue(n){if(!ze(n)||this.multiple&&n===""||Array.isArray(n)&&n.length===0)return!1;let o=r=>!ze(this.compareWith)&&Ko(r)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(r)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(n)?n.every(r=>o(r)):(this._console.warn("Multiple select ngModel should be array."),!1):o(n)}_handleWriteValue(n){if(!this._isValidWriteValue(n))return;let o=r=>{let s=this.itemsList.findItem(r);if(s)this.itemsList.select(s);else{let a=Ko(r),l=!a&&!this.bindValue;a||l?this.itemsList.select(this.itemsList.mapItem(r,null)):this.bindValue&&(s={[this.bindLabel]:null,[this.bindValue]:r},this.itemsList.select(this.itemsList.mapItem(s,null)))}};this.multiple?n.forEach(r=>o(r)):o(n)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(ct(this._destroy$),Vr(n=>this._pressedKeys.push(n)),pi(200),Rn(()=>this._pressedKeys.length>0),Fe(()=>this._pressedKeys.join(""))).subscribe(n=>{let o=this.itemsList.findByLabel(n);o&&(this.isOpen?(this.itemsList.markItem(o),this._scrollToMarked(),this._cd.markForCheck()):this.select(o)),this._pressedKeys=[]})}_setInputAttributes(){let n=this.searchInput.nativeElement,o=ce({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let r of Object.keys(o))n.setAttribute(r,o[r])}_updateNgModel(){let n=[];for(let r of this.selectedItems)if(this.bindValue){let s=null;if(r.children){let a=this.groupValue?this.bindValue:this.groupBy;s=r.value[a||this.groupBy]}else s=this.itemsList.resolveNested(r.value,this.bindValue);n.push(s)}else n.push(r.value);let o=this.selectedItems.map(r=>r.value);this.multiple?(this._onChange(n),this.changeEvent.emit(o)):(this._onChange(ze(n[0])?n[0]:null),this.changeEvent.emit(o[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(n){this.searchTerm=n,this._isTypeahead&&this.typeahead.next(n)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(n){if(this.isOpen===!1){if(this.showClear())this.focusOnClear(),n.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),n.preventDefault()):this.showAddTag?(this.selectTag(),n.preventDefault()):this.close():this.close()}_handleEnter(n){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;n.preventDefault()}_handleSpace(n){this.isOpen||this._manualOpen||(this.open(),n.preventDefault())}_handleArrowDown(n){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),n.preventDefault()}_handleArrowUp(n){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),n.preventDefault())}_nextItemIsTag(n){let o=this.itemsList.markedIndex+n;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(o<0||o===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let n=this.searchTerm&&this.searchTerm.trim();return n&&n.length>=this.minTermLength}_mergeGlobalConfig(n){this.placeholder=this.placeholder||n.placeholder,this.notFoundText=this.notFoundText||n.notFoundText,this.typeToSearchText=this.typeToSearchText||n.typeToSearchText,this.addTagText=this.addTagText||n.addTagText,this.loadingText=this.loadingText||n.loadingText,this.clearAllText=this.clearAllText||n.clearAllText,this.virtualScroll=ze(this.virtualScroll)?this.virtualScroll:ze(n.disableVirtualScroll)?!n.disableVirtualScroll:!1,this.openOnEnter=ze(this.openOnEnter)?this.openOnEnter:n.openOnEnter,this.appendTo=this.appendTo||n.appendTo,this.bindValue=this.bindValue||n.bindValue,this.bindLabel=this.bindLabel||n.bindLabel,this.appearance=this.appearance||n.appearance}};e.\u0275fac=function(o){return new(o||e)(Ai("class"),Ai("autofocus"),w(V1),w(Eg),w(se),w(xt),w(B1))},e.\u0275cmp=k({type:e,selectors:[["ng-select"]],contentQueries:function(o,r,s){if(o&1&&(pt(s,I1,5,_e),pt(s,E1,5,_e),pt(s,k1,5,_e),pt(s,S1,5,_e),pt(s,O1,5,_e),pt(s,T1,5,_e),pt(s,P1,5,_e),pt(s,A1,5,_e),pt(s,F1,5,_e),pt(s,N1,5,_e),pt(s,j1,5,_e),pt(s,Jo,5)),o&2){let a;De(a=Me())&&(r.optionTemplate=a.first),De(a=Me())&&(r.optgroupTemplate=a.first),De(a=Me())&&(r.labelTemplate=a.first),De(a=Me())&&(r.multiLabelTemplate=a.first),De(a=Me())&&(r.headerTemplate=a.first),De(a=Me())&&(r.footerTemplate=a.first),De(a=Me())&&(r.notFoundTemplate=a.first),De(a=Me())&&(r.typeToSearchTemplate=a.first),De(a=Me())&&(r.loadingTextTemplate=a.first),De(a=Me())&&(r.tagTemplate=a.first),De(a=Me())&&(r.loadingSpinnerTemplate=a.first),De(a=Me())&&(r.ngOptions=a)}},viewQuery:function(o,r){if(o&1&&(tt(wg,5),tt(Ux,7),tt(Wx,5)),o&2){let s;De(s=Me())&&(r.dropdownPanel=s.first),De(s=Me())&&(r.searchInput=s.first),De(s=Me())&&(r.clearButton=s.first)}},hostVars:20,hostBindings:function(o,r){o&1&&b("keydown",function(a){return r.handleKeyDown(a)}),o&2&&J("ng-select-typeahead",r.typeahead)("ng-select-multiple",r.multiple)("ng-select-taggable",r.addTag)("ng-select-searchable",r.searchable)("ng-select-clearable",r.clearable)("ng-select-opened",r.isOpen)("ng-select",r.useDefaultClass)("ng-select-disabled",r.disabled)("ng-select-filtered",r.filtered)("ng-select-single",r.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[K([{provide:Ys,useExisting:Zn(()=>e),multi:!0},Ig]),Ue],decls:14,vars:19,consts:[["searchInput",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"input","compositionstart","compositionend","focus","blur","change","readOnly","disabled","value"],["class","ng-clear-wrapper","tabindex","0",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],["tabindex","0",1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(o,r){if(o&1){let s=A();m(0,"div",9),b("mousedown",function(l){return M(s),I(r.handleMousedown(l))}),m(1,"div",10)(2,"div",11),E(3),f(),C(4,Xx,2,2,"ng-container",12)(5,e1,1,5,null,12),m(6,"div",13)(7,"input",14,0),b("input",function(){M(s);let l=qe(8);return I(r.filter(l.value))})("compositionstart",function(){return M(s),I(r.onCompositionStart())})("compositionend",function(){M(s);let l=qe(8);return I(r.onCompositionEnd(l.value))})("focus",function(l){return M(s),I(r.onInputFocus(l))})("blur",function(l){return M(s),I(r.onInputBlur(l))})("change",function(l){return M(s),I(l.stopPropagation())}),f()()(),C(9,i1,4,1,"ng-container",12)(10,o1,4,1,"span",15),m(11,"span",16),O(12,"span",17),f()(),C(13,y1,7,19,"ng-dropdown-panel",18)}o&2&&(J("ng-appearance-outline",r.appearance==="outline")("ng-has-value",r.hasValue),d(3),oe(r.placeholder),d(),p("ngIf",(!r.multiLabelTemplate||!r.multiple)&&r.selectedItems.length>0),d(),p("ngIf",r.multiple&&r.multiLabelTemplate&&r.selectedValues.length>0),d(),W("aria-expanded",r.isOpen)("aria-owns",r.isOpen?r.dropdownId:null),d(),p("readOnly",!r.searchable||r.itemsList.maxItemsSelected)("disabled",r.disabled)("value",r.searchTerm?r.searchTerm:""),W("id",r.labelForId)("tabindex",r.tabIndex)("aria-activedescendant",r.isOpen?r.itemsList==null||r.itemsList.markedItem==null?null:r.itemsList.markedItem.htmlId:null)("aria-controls",r.isOpen?r.dropdownId:null),d(2),p("ngIf",r.loading),d(),p("ngIf",r.showClear()),d(3),p("ngIf",r.isOpen))},dependencies:[X,ve,Be,ln,wg,M1],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
|
|
7
|
+
`)}`}var dc=Im(vm("Optional"),8);var Em=Im(vm("SkipSelf"),4);function Bn(t,e){let i=t.hasOwnProperty(Yr);return i?t[Yr]:null}function S_(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],r=e[n];if(i&&(o=i(o),r=i(r)),r!==o)return!1}return!0}function O_(t){return t.flat(Number.POSITIVE_INFINITY)}function uc(t,e){t.forEach(i=>Array.isArray(i)?uc(i,e):e(i))}function km(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Kr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function T_(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function P_(t,e,i,n){let o=t.length;if(o==e)t.push(i,n);else if(o===1)t.push(n,t[0]),t[0]=i;else{for(o--,t.push(t[o-1],t[o]);o>e;){let r=o-2;t[o]=t[r],o--}t[e]=i,t[e+1]=n}}function mc(t,e,i){let n=Po(t,e);return n>=0?t[n|1]=i:(n=~n,P_(t,n,e,i)),n}function qa(t,e){let i=Po(t,e);if(i>=0)return t[i|1]}function Po(t,e){return A_(t,e,1)}function A_(t,e,i){let n=0,o=t.length>>i;for(;o!==n;){let r=n+(o-n>>1),s=t[r<<i];if(e===s)return r<<i;s>e?o=r:n=r+1}return~(o<<i)}var wi={},_t=[],_o=new U(""),Sm=new U("",-1),Om=new U(""),Xr=class{get(e,i=bo){if(i===bo){let n=new Error(`NullInjectorError: No provider for ${yt(e)}!`);throw n.name="NullInjectorError",n}return i}},Tm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Tm||{}),qt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(qt||{}),_=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(_||{});function F_(t,e,i){let n=t.length;for(;;){let o=t.indexOf(e,i);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=e.length;if(o+r===n||t.charCodeAt(o+r)<=32)return o}i=o+1}}function pl(t,e,i){let n=0;for(;n<i.length;){let o=i[n];if(typeof o=="number"){if(o!==0)break;n++;let r=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,r)}else{let r=o,s=i[++n];N_(r)?t.setProperty(e,r,s):t.setAttribute(e,r,s),n++}}return n}function Pm(t){return t===3||t===4||t===6}function N_(t){return t.charCodeAt(0)===64}function vo(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?i=o:i===0||(i===-1||i===2?Hu(t,i,o,null,e[++n]):Hu(t,i,o,null,null))}}return t}function Hu(t,e,i,n,o){let r=0,s=t.length;if(e===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===i){if(n===null){o!==null&&(t[r+1]=o);return}else if(n===t[r+1]){t[r+2]=o;return}}r++,n!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,e),r=s+1),t.splice(r++,0,i),n!==null&&t.splice(r++,0,n),o!==null&&t.splice(r++,0,o)}var Am="ng-template";function j_(t,e,i,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&F_(e[o+1].toLowerCase(),i,0)!==-1)return!0}else if(pc(t))return!1;if(o=e.indexOf(1,o),o>-1){let r;for(;++o<e.length&&typeof(r=e[o])=="string";)if(r.toLowerCase()===i)return!0}return!1}function pc(t){return t.type===4&&t.value!==Am}function R_(t,e,i){let n=t.type===4&&!i?Am:t.value;return e===n}function L_(t,e,i){let n=4,o=t.attrs,r=o!==null?z_(o):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!Rt(n)&&!Rt(l))return!1;if(s&&Rt(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!R_(t,l,i)||l===""&&e.length===1){if(Rt(n))return!1;s=!0}}else if(n&8){if(o===null||!j_(t,o,l,i)){if(Rt(n))return!1;s=!0}}else{let c=e[++a],u=V_(l,o,pc(t),i);if(u===-1){if(Rt(n))return!1;s=!0;continue}if(c!==""){let h;if(u>r?h="":h=o[u+1].toLowerCase(),n&2&&c!==h){if(Rt(n))return!1;s=!0}}}}return Rt(n)||s}function Rt(t){return(t&1)===0}function V_(t,e,i,n){if(e===null)return-1;let o=0;if(n||!i){let r=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return H_(e,t)}function Fm(t,e,i=!1){for(let n=0;n<e.length;n++)if(L_(t,e[n],i))return!0;return!1}function B_(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function z_(t){for(let e=0;e<t.length;e++){let i=t[e];if(Pm(i))return e}return t.length}function H_(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function $_(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function $u(t,e){return t?":not("+e.trim()+")":e}function U_(t){let e=t[0],i=1,n=2,o="",r=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Rt(s)&&(e+=$u(r,o),o=""),n=s,r=r||!Rt(n);i++}return o!==""&&(e+=$u(r,o)),e}function W_(t){return t.map(U_).join(",")}function G_(t){let e=[],i=[],n=1,o=2;for(;n<t.length;){let r=t[n];if(typeof r=="string")o===2?r!==""&&e.push(r,t[++n]):o===8&&i.push(r);else{if(!Rt(o))break;o=r}n++}return{attrs:e,classes:i}}function k(t){return To(()=>{let e=Rm(t),i=ht(ce({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Tm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||qt.Emulated,styles:t.styles||_t,_:null,schemas:t.schemas||null,tView:null,id:""});Lm(i);let n=t.dependencies;return i.directiveDefs=Wu(n,!1),i.pipeDefs=Wu(n,!0),i.id=Q_(i),i})}function q_(t){return xi(t)||Nm(t)}function Z_(t){return t!==null}function Pe(t){return To(()=>({type:t.type,bootstrap:t.bootstrap||_t,declarations:t.declarations||_t,imports:t.imports||_t,exports:t.exports||_t,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Uu(t,e){if(t==null)return wi;let i={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],r,s,a=_.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),e?(i[r]=a!==_.None?[n,a]:n,e[r]=s):i[r]=n}return i}function Z(t){return To(()=>{let e=Rm(t);return Lm(e),e})}function Ao(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function xi(t){return t[g_]||null}function Nm(t){return t[h_]||null}function jm(t){return t[b_]||null}function Y_(t){let e=xi(t)||Nm(t)||jm(t);return e!==null?e.standalone:!1}function Rm(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||wi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||_t,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Uu(t.inputs,e),outputs:Uu(t.outputs),debugInfo:null}}function Lm(t){t.features?.forEach(e=>e(t))}function Wu(t,e){if(!t)return null;let i=e?jm:q_;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(Z_)}function Q_(t){let e=0,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of i)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Vm(t){return{\u0275providers:t}}function fc(...t){return{\u0275providers:Bm(!0,t),\u0275fromNgModule:!0}}function Bm(t,...e){let i=[],n=new Set,o,r=s=>{i.push(s)};return uc(e,s=>{let a=s;fl(a,r,[],n)&&(o||=[],o.push(a))}),o!==void 0&&zm(o,r),i}function zm(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:o}=t[i];gc(o,r=>{e(r,n)})}}function fl(t,e,i,n){if(t=dt(t),!t)return!1;let o=null,r=Lu(t),s=!r&&xi(t);if(!r&&!s){let l=t.ngModule;if(r=Lu(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)fl(c,e,i,n)}}else if(r){if(r.imports!=null&&!a){n.add(o);let c;try{uc(r.imports,u=>{fl(u,e,i,n)&&(c||=[],c.push(u))})}finally{}c!==void 0&&zm(c,e)}if(!a){let c=Bn(o)||(()=>new o);e({provide:o,useFactory:c,deps:_t},o),e({provide:Om,useValue:o,multi:!0},o),e({provide:_o,useValue:()=>j(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;gc(l,u=>{e(u,c)})}}else return!1;return o!==t&&t.providers!==void 0}function gc(t,e){for(let i of t)xm(i)&&(i=i.\u0275providers),Array.isArray(i)?gc(i,e):e(i)}var K_=Ne({provide:String,useValue:Ne});function Hm(t){return t!==null&&typeof t=="object"&&K_ in t}function X_(t){return!!(t&&t.useExisting)}function J_(t){return!!(t&&t.useFactory)}function Di(t){return typeof t=="function"}function ev(t){return!!t.useClass}var vs=new U(""),$r={},tv={},Za;function hc(){return Za===void 0&&(Za=new Xr),Za}var gn=class{},Jr=class extends gn{get destroyed(){return this._destroyed}constructor(e,i,n,o){super(),this.parent=i,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hl(e,s=>this.processProvider(s)),this.records.set(Sm,hi(void 0,this)),o.has("environment")&&this.records.set(gn,hi(void 0,this));let r=this.records.get(vs);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Om,_t,me.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=de(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),de(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=gi(this),n=Et(void 0),o;try{return e()}finally{gi(i),Et(n)}}get(e,i=bo,n=me.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Bu))return e[Bu](this);n=_s(n);let o,r=gi(this),s=Et(void 0);try{if(!(n&me.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=sv(e)&&lc(e);c&&this.injectableDefInScope(c)?l=hi(gl(e),$r):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&me.Self?hc():this.parent;return i=n&me.Optional&&i===bo?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[Qr]=a[Qr]||[]).unshift(yt(e)),r)throw a;return E_(a,e,"R3InjectorError",this.source)}else throw a}finally{Et(s),gi(r)}}resolveInjectorInitializers(){let e=de(null),i=gi(this),n=Et(void 0),o;try{let r=this.get(_o,_t,me.Self);for(let s of r)s()}finally{gi(i),Et(n),de(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(yt(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new pe(205,!1)}processProvider(e){e=dt(e);let i=Di(e)?e:dt(e&&e.provide),n=iv(e);if(!Di(e)&&e.multi===!0){let o=this.records.get(i);o||(o=hi(void 0,$r,!0),o.factory=()=>ml(o.multi),this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=de(null);try{return i.value===$r&&(i.value=tv,i.value=i.factory()),typeof i.value=="object"&&i.value&&rv(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{de(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=dt(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};function gl(t){let e=lc(t),i=e!==null?e.factory:Bn(t);if(i!==null)return i;if(t instanceof U)throw new pe(204,!1);if(t instanceof Function)return nv(t);throw new pe(204,!1)}function nv(t){if(t.length>0)throw new pe(204,!1);let i=p_(t);return i!==null?()=>i.factory(t):()=>new t}function iv(t){if(Hm(t))return hi(void 0,t.useValue);{let e=$m(t);return hi(e,$r)}}function $m(t,e,i){let n;if(Di(t)){let o=dt(t);return Bn(o)||gl(o)}else if(Hm(t))n=()=>dt(t.useValue);else if(J_(t))n=()=>t.useFactory(...ml(t.deps||[]));else if(X_(t))n=()=>j(dt(t.useExisting));else{let o=dt(t&&(t.useClass||t.provide));if(ov(t))n=()=>new o(...ml(t.deps));else return Bn(o)||gl(o)}return n}function hi(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function ov(t){return!!t.deps}function rv(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function sv(t){return typeof t=="function"||typeof t=="object"&&t instanceof U}function hl(t,e){for(let i of t)Array.isArray(i)?hl(i,e):i&&xm(i)?hl(i.\u0275providers,e):e(i)}function av(){return Dm()!==void 0||D_()!=null}function lv(t){return typeof t=="function"}var on=0,ee=1,Y=2,et=3,Vt=4,Ct=5,Mi=6,yo=7,nt=8,Ii=9,Bt=10,Le=11,Co=12,Gu=13,Ti=14,kt=15,Fo=16,bi=17,nn=18,ys=19,Um=20,fn=21,Ya=22,zn=23,ot=25,Wm=1;var Hn=7,es=8,Ei=9,it=10,bc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(bc||{});function Ln(t){return Array.isArray(t)&&typeof t[Wm]=="object"}function rn(t){return Array.isArray(t)&&t[Wm]===!0}function _c(t){return(t.flags&4)!==0}function Cs(t){return t.componentOffset>-1}function ws(t){return(t.flags&1)===1}function hn(t){return!!t.template}function cv(t){return(t[Y]&512)!==0}var wo=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};function Gm(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function Ue(){return qm}function qm(t){return t.type.prototype.ngOnChanges&&(t.setInput=uv),dv}Ue.ngInherit=!0;function dv(){let t=Ym(this),e=t?.current;if(e){let i=t.previous;if(i===wi)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function uv(t,e,i,n,o){let r=this.declaredInputs[n],s=Ym(t)||mv(t,{previous:wi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new wo(c&&c.currentValue,i,l===wi),Gm(t,e,o,i)}var Zm="__ngSimpleChanges__";function Ym(t){return t[Zm]||null}function mv(t,e){return t[Zm]=e}var qu=null;var Wt=function(t,e,i){qu?.(t,e,i)},Qm="svg",pv="math",fv=!1;function gv(){return fv}function Zt(t){for(;Array.isArray(t);)t=t[on];return t}function Km(t,e){return Zt(e[t])}function Ot(t,e){return Zt(e[t.index])}function vc(t,e){return t.data[e]}function Xm(t,e){return t[e]}function _n(t,e){let i=e[t];return Ln(i)?i:i[on]}function hv(t){return(t[Y]&4)===4}function yc(t){return(t[Y]&128)===128}function bv(t){return rn(t[et])}function ki(t,e){return e==null?null:t[e]}function Jm(t){t[bi]=0}function _v(t){t[Y]&1024||(t[Y]|=1024,yc(t)&&xo(t))}function vv(t,e){for(;t>0;)e=e[Ti],t--;return e}function Cc(t){return!!(t[Y]&9216||t[zn]?.dirty)}function bl(t){t[Bt].changeDetectionScheduler?.notify(1),Cc(t)?xo(t):t[Y]&64&&(gv()?(t[Y]|=1024,xo(t)):t[Bt].changeDetectionScheduler?.notify())}function xo(t){t[Bt].changeDetectionScheduler?.notify();let e=Do(t);for(;e!==null&&!(e[Y]&8192||(e[Y]|=8192,!yc(e)));)e=Do(e)}function ep(t,e){if((t[Y]&256)===256)throw new pe(911,!1);t[fn]===null&&(t[fn]=[]),t[fn].push(e)}function yv(t,e){if(t[fn]===null)return;let i=t[fn].indexOf(e);i!==-1&&t[fn].splice(i,1)}function Do(t){let e=t[et];return rn(e)?e[et]:e}var re={lFrame:ap(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Cv(){return re.lFrame.elementDepthCount}function wv(){re.lFrame.elementDepthCount++}function xv(){re.lFrame.elementDepthCount--}function tp(){return re.bindingsEnabled}function np(){return re.skipHydrationRootTNode!==null}function Dv(t){return re.skipHydrationRootTNode===t}function Mv(){re.skipHydrationRootTNode=null}function te(){return re.lFrame.lView}function $e(){return re.lFrame.tView}function M(t){return re.lFrame.contextLView=t,t[nt]}function I(t){return re.lFrame.contextLView=null,t}function rt(){let t=ip();for(;t!==null&&t.type===64;)t=t.parent;return t}function ip(){return re.lFrame.currentTNode}function Iv(){let t=re.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Yn(t,e){let i=re.lFrame;i.currentTNode=t,i.isParent=e}function wc(){return re.lFrame.isParent}function xc(){re.lFrame.isParent=!1}function Ev(){return re.lFrame.contextLView}function No(){let t=re.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function kv(){return re.lFrame.bindingIndex}function Sv(t){return re.lFrame.bindingIndex=t}function Pi(){return re.lFrame.bindingIndex++}function Dc(t){let e=re.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function Ov(){return re.lFrame.inI18n}function Tv(t,e){let i=re.lFrame;i.bindingIndex=i.bindingRootIndex=t,_l(e)}function Pv(){return re.lFrame.currentDirectiveIndex}function _l(t){re.lFrame.currentDirectiveIndex=t}function Av(t){let e=re.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function op(){return re.lFrame.currentQueryIndex}function Mc(t){re.lFrame.currentQueryIndex=t}function Fv(t){let e=t[ee];return e.type===2?e.declTNode:e.type===1?t[Ct]:null}function rp(t,e,i){if(i&me.SkipSelf){let o=e,r=t;for(;o=o.parent,o===null&&!(i&me.Host);)if(o=Fv(r),o===null||(r=r[Ti],o.type&10))break;if(o===null)return!1;e=o,t=r}let n=re.lFrame=sp();return n.currentTNode=e,n.lView=t,!0}function Ic(t){let e=sp(),i=t[ee];re.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function sp(){let t=re.lFrame,e=t===null?null:t.child;return e===null?ap(t):e}function ap(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function lp(){let t=re.lFrame;return re.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var cp=lp;function Ec(){let t=lp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Nv(t){return(re.lFrame.contextLView=vv(t,re.lFrame.contextLView))[nt]}function sn(){return re.lFrame.selectedIndex}function $n(t){re.lFrame.selectedIndex=t}function xs(){let t=re.lFrame;return vc(t.tView,t.selectedIndex)}function dp(){re.lFrame.currentNamespace=Qm}function jv(){return re.lFrame.currentNamespace}var up=!0;function Ds(){return up}function Ms(t){up=t}function Rv(t,e,i){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:r}=e.type.prototype;if(n){let s=qm(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}o&&(i.preOrderHooks??=[]).push(0-t,o),r&&((i.preOrderHooks??=[]).push(t,r),(i.preOrderCheckHooks??=[]).push(t,r))}function Is(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let r=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),l&&(t.viewHooks??=[]).push(-i,l),c&&((t.viewHooks??=[]).push(i,c),(t.viewCheckHooks??=[]).push(i,c)),u!=null&&(t.destroyHooks??=[]).push(i,u)}}function Ur(t,e,i){mp(t,e,3,i)}function Wr(t,e,i,n){(t[Y]&3)===i&&mp(t,e,i,n)}function Qa(t,e){let i=t[Y];(i&3)===e&&(i&=16383,i+=1,t[Y]=i)}function mp(t,e,i,n){let o=n!==void 0?t[bi]&65535:0,r=n??-1,s=e.length-1,a=0;for(let l=o;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],n!=null&&a>=n)break}else e[l]<0&&(t[bi]+=65536),(a<r||r==-1)&&(Lv(t,i,e,l),t[bi]=(t[bi]&4294901760)+l+2),l++}function Zu(t,e){Wt(4,t,e);let i=de(null);try{e.call(t)}finally{de(i),Wt(5,t,e)}}function Lv(t,e,i,n){let o=i[n]<0,r=i[n+1],s=o?-i[n]:i[n],a=t[s];o?t[Y]>>14<t[bi]>>16&&(t[Y]&3)===e&&(t[Y]+=16384,Zu(a,r)):Zu(a,r)}var yi=-1,Un=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};function Vv(t){return t instanceof Un}function Bv(t){return(t.flags&8)!==0}function zv(t){return(t.flags&16)!==0}function pp(t){return t!==yi}function ts(t){return t&32767}function Hv(t){return t>>16}function ns(t,e){let i=Hv(t),n=e;for(;i>0;)n=n[Ti],i--;return n}var vl=!0;function is(t){let e=vl;return vl=t,e}var $v=256,fp=$v-1,gp=5,Uv=0,Gt={};function Wv(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(ho)&&(n=i[ho]),n==null&&(n=i[ho]=Uv++);let o=n&fp,r=1<<o;e.data[t+(o>>gp)]|=r}function os(t,e){let i=hp(t,e);if(i!==-1)return i;let n=e[ee];n.firstCreatePass&&(t.injectorIndex=e.length,Ka(n.data,t),Ka(e,null),Ka(n.blueprint,null));let o=kc(t,e),r=t.injectorIndex;if(pp(o)){let s=ts(o),a=ns(o,e),l=a[ee].data;for(let c=0;c<8;c++)e[r+c]=a[s+c]|l[s+c]}return e[r+8]=o,r}function Ka(t,e){t.push(0,0,0,0,0,0,0,0,e)}function hp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function kc(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,o=e;for(;o!==null;){if(n=Cp(o),n===null)return yi;if(i++,o=o[Ti],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return yi}function yl(t,e,i){Wv(t,e,i)}function Gv(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,o=0;for(;o<n;){let r=i[o];if(Pm(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<n&&typeof i[o]=="string";)o++;else{if(r===e)return i[o+1];o=o+2}}}return null}function bp(t,e,i){if(i&me.Optional||t!==void 0)return t;cc(e,"NodeInjector")}function _p(t,e,i,n){if(i&me.Optional&&n===void 0&&(n=null),!(i&(me.Self|me.Host))){let o=t[Ii],r=Et(void 0);try{return o?o.get(e,n,i&me.Optional):Mm(e,n,i&me.Optional)}finally{Et(r)}}return bp(n,e,i)}function vp(t,e,i,n=me.Default,o){if(t!==null){if(e[Y]&2048&&!(n&me.Self)){let s=Qv(t,e,i,n,Gt);if(s!==Gt)return s}let r=yp(t,e,i,n,Gt);if(r!==Gt)return r}return _p(e,i,n,o)}function yp(t,e,i,n,o){let r=Zv(i);if(typeof r=="function"){if(!rp(e,t,n))return n&me.Host?bp(o,i,n):_p(e,i,n,o);try{let s;if(s=r(n),s==null&&!(n&me.Optional))cc(i);else return s}finally{cp()}}else if(typeof r=="number"){let s=null,a=hp(t,e),l=yi,c=n&me.Host?e[kt][Ct]:null;for((a===-1||n&me.SkipSelf)&&(l=a===-1?kc(t,e):e[a+8],l===yi||!Qu(n,!1)?a=-1:(s=e[ee],a=ts(l),e=ns(l,e)));a!==-1;){let u=e[ee];if(Yu(r,a,u.data)){let h=qv(a,e,i,s,n,c);if(h!==Gt)return h}l=e[a+8],l!==yi&&Qu(n,e[ee].data[a+8]===c)&&Yu(r,a,e)?(s=u,a=ts(l),e=ns(l,e)):a=-1}}return o}function qv(t,e,i,n,o,r){let s=e[ee],a=s.data[t+8],l=n==null?Cs(a)&&vl:n!=s&&(a.type&3)!==0,c=o&me.Host&&r===a,u=Gr(a,s,i,l,c);return u!==null?Wn(e,s,u,a):Gt}function Gr(t,e,i,n,o){let r=t.providerIndexes,s=e.data,a=r&1048575,l=t.directiveStart,c=t.directiveEnd,u=r>>20,h=n?a:a+u,v=o?a+u:c;for(let x=h;x<v;x++){let T=s[x];if(x<l&&i===T||x>=l&&T.type===i)return x}if(o){let x=s[l];if(x&&hn(x)&&x.type===i)return l}return null}function Wn(t,e,i,n){let o=t[i],r=e.data;if(Vv(o)){let s=o;s.resolving&&v_(__(r[i]));let a=is(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Et(s.injectImpl):null,u=rp(t,n,me.Default);try{o=t[i]=s.factory(void 0,r,t,n),e.firstCreatePass&&i>=n.directiveStart&&Rv(i,r[i],e)}finally{c!==null&&Et(c),is(a),s.resolving=!1,cp()}}return o}function Zv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ho)?t[ho]:void 0;return typeof e=="number"?e>=0?e&fp:Yv:e}function Yu(t,e,i){let n=1<<t;return!!(i[e+(t>>gp)]&n)}function Qu(t,e){return!(t&me.Self)&&!(t&me.Host&&e)}var Vn=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return vp(this._tNode,this._lView,e,_s(n),i)}};function Yv(){return new Vn(rt(),te())}function st(t){return To(()=>{let e=t.prototype.constructor,i=e[Yr]||Cl(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let r=o[Yr]||Cl(o);if(r&&r!==i)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Cl(t){return ym(t)?()=>{let e=Cl(dt(t));return e&&e()}:Bn(t)}function Qv(t,e,i,n,o){let r=t,s=e;for(;r!==null&&s!==null&&s[Y]&2048&&!(s[Y]&512);){let a=yp(r,s,i,n|me.Self,Gt);if(a!==Gt)return a;let l=r.parent;if(!l){let c=s[Um];if(c){let u=c.get(i,Gt,n);if(u!==Gt)return u}l=Cp(s),s=s[Ti]}r=l}return o}function Cp(t){let e=t[ee],i=e.type;return i===2?e.declTNode:i===1?t[Ct]:null}function Ai(t){return Gv(rt(),t)}function Ku(t,e=null,i=null,n){let o=Kv(t,e,i,n);return o.resolveInjectorInitializers(),o}function Kv(t,e=null,i=null,n,o=new Set){let r=[i||_t,fc(t)];return n=n||(typeof t=="object"?void 0:yt(t)),new Jr(r,e||hc(),n||null,o)}var Fi=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return Ku({name:""},o,n,"");{let r=n.name??"";return Ku({name:r},n.parent,n.providers,r)}}};e.THROW_IF_NOT_FOUND=bo,e.NULL=new Xr,e.\u0275prov=q({token:e,providedIn:"any",factory:()=>j(Sm)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var Xv="ngOriginalError";function Xa(t){return t[Xv]}var Yt=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&Xa(e);for(;i&&Xa(i);)i=Xa(i);return i||null}},wp=new U("",{providedIn:"root",factory:()=>be(Yt).handleError.bind(void 0)}),xp=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Jv,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),wl=class extends xp{constructor(e){super(),this._lView=e}onDestroy(e){return ep(this._lView,e),()=>yv(this._lView,e)}};function Jv(){return new wl(te())}function e0(){return Ni(rt(),te())}function Ni(t,e){return new se(Ot(t,e))}var se=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=e0;let t=e;return t})();function t0(t){return t instanceof se?t.nativeElement:t}var xl=class extends ye{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,av()&&(this.destroyRef=be(xp,{optional:!0})??void 0)}emit(e){let i=de(null);try{super.next(e)}finally{de(i)}}subscribe(e,i,n){let o=e,r=i||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=Ja(r),o&&(o=Ja(o)),s&&(s=Ja(s)));let a=super.subscribe({next:o,error:r,complete:s});return e instanceof He&&e.add(a),a}};function Ja(t){return e=>{setTimeout(t,void 0,e)}}var y=xl;function n0(){return this._results[Symbol.iterator]()}var rs=class t{get changes(){return this._changes??=new y}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=n0)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=O_(e);(this._changesDetected=!S_(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Dp(t){return(t.flags&128)===128}var Mp=new Map,i0=0;function o0(){return i0++}function r0(t){Mp.set(t[ys],t)}function s0(t){Mp.delete(t[ys])}var Xu="__ngContext__";function bn(t,e){Ln(e)?(t[Xu]=e[ys],r0(e)):t[Xu]=e}function Ip(t){return kp(t[Co])}function Ep(t){return kp(t[Vt])}function kp(t){for(;t!==null&&!rn(t);)t=t[Vt];return t}var Dl;function Sp(t){Dl=t}function a0(){if(Dl!==void 0)return Dl;if(typeof document<"u")return document;throw new pe(210,!1)}var Es=new U("",{providedIn:"root",factory:()=>l0}),l0="ng",Sc=new U(""),vn=new U("",{providedIn:"platform",factory:()=>"unknown"});var jo=new U(""),Ro=new U("",{providedIn:"root",factory:()=>a0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var c0="h",d0="b";var u0=()=>null;function Oc(t,e,i=!1){return u0(t,e,i)}var Op=!1,m0=new U("",{providedIn:"root",factory:()=>Op});var ss=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_m})`}};function Lo(t){return t instanceof ss?t.changingThisBreaksApplicationSecurity:t}function Tp(t,e){let i=p0(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${_m})`)}return i===e}function p0(t){return t instanceof ss&&t.getTypeName()||null}var f0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pp(t){return t=String(t),t.match(f0)?t:"unsafe:"+t}var Tc=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Tc||{});function Vo(t){let e=g0();return e?e.sanitize(Tc.URL,t)||"":Tp(t,"URL")?Lo(t):Pp(Ci(t))}function g0(){let t=te();return t&&t[Bt].sanitizer}var h0=/^>|^->|<!--|-->|--!>|<!-$/g,b0=/(<|>)/g,_0="\u200B$1\u200B";function v0(t){return t.replace(h0,e=>e.replace(b0,_0))}function yn(t){return t.ownerDocument}var Qt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Qt||{}),y0;function Pc(t,e){return y0(t,e)}function _i(t,e,i,n,o){if(n!=null){let r,s=!1;rn(n)?r=n:Ln(n)&&(s=!0,n=n[on]);let a=Zt(n);t===0&&i!==null?o==null?Rp(e,i,a):as(e,i,a,o||null,!0):t===1&&i!==null?as(e,i,a,o||null,!0):t===2?j0(e,a,s):t===3&&e.destroyNode(a),r!=null&&L0(e,t,r,i,o)}}function C0(t,e){return t.createText(e)}function w0(t,e,i){t.setValue(e,i)}function x0(t,e){return t.createComment(v0(e))}function Ap(t,e,i){return t.createElement(e,i)}function D0(t,e){Fp(t,e),e[on]=null,e[Ct]=null}function M0(t,e,i,n,o,r){n[on]=o,n[Ct]=e,Os(t,n,i,1,o,r)}function Fp(t,e){e[Bt].changeDetectionScheduler?.notify(1),Os(t,e,e[Le],2,null,null)}function I0(t){let e=t[Co];if(!e)return el(t[ee],t);for(;e;){let i=null;if(Ln(e))i=e[Co];else{let n=e[it];n&&(i=n)}if(!i){for(;e&&!e[Vt]&&e!==t;)Ln(e)&&el(e[ee],e),e=e[et];e===null&&(e=t),Ln(e)&&el(e[ee],e),i=e&&e[Vt]}e=i}}function E0(t,e,i,n){let o=it+n,r=i.length;n>0&&(i[o-1][Vt]=e),n<r-it?(e[Vt]=i[o],km(i,it+n,e)):(i.push(e),e[Vt]=null),e[et]=i;let s=e[Fo];s!==null&&i!==s&&k0(s,e);let a=e[nn];a!==null&&a.insertView(t),bl(e),e[Y]|=128}function k0(t,e){let i=t[Ei],o=e[et][et][kt];e[kt]!==o&&(t[Y]|=bc.HasTransplantedViews),i===null?t[Ei]=[e]:i.push(e)}function Np(t,e){let i=t[Ei],n=i.indexOf(e);i.splice(n,1)}function Mo(t,e){if(t.length<=it)return;let i=it+e,n=t[i];if(n){let o=n[Fo];o!==null&&o!==t&&Np(o,n),e>0&&(t[i-1][Vt]=n[Vt]);let r=Kr(t,it+e);D0(n[ee],n);let s=r[nn];s!==null&&s.detachView(r[ee]),n[et]=null,n[Vt]=null,n[Y]&=-129}return n}function ks(t,e){if(!(e[Y]&256)){let i=e[Le];i.destroyNode&&Os(t,e,i,3,null,null),I0(e)}}function el(t,e){if(e[Y]&256)return;let i=de(null);try{e[Y]&=-129,e[Y]|=256,e[zn]&&iu(e[zn]),O0(t,e),S0(t,e),e[ee].type===1&&e[Le].destroy();let n=e[Fo];if(n!==null&&rn(e[et])){n!==e[et]&&Np(n,e);let o=e[nn];o!==null&&o.detachView(t)}s0(e)}finally{de(i)}}function S0(t,e){let i=t.cleanup,n=e[yo];if(i!==null)for(let r=0;r<i.length-1;r+=2)if(typeof i[r]=="string"){let s=i[r+3];s>=0?n[s]():n[-s].unsubscribe(),r+=2}else{let s=n[i[r+1]];i[r].call(s)}n!==null&&(e[yo]=null);let o=e[fn];if(o!==null){e[fn]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function O0(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let o=e[i[n]];if(!(o instanceof Un)){let r=i[n+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],l=r[s+1];Wt(4,a,l);try{l.call(a)}finally{Wt(5,a,l)}}else{Wt(4,o,r);try{r.call(o)}finally{Wt(5,o,r)}}}}}function jp(t,e,i){return T0(t,e.parent,i)}function T0(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[on];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:r}=t.data[n.directiveStart+o];if(r===qt.None||r===qt.Emulated)return null}return Ot(n,i)}}function as(t,e,i,n,o){t.insertBefore(e,i,n,o)}function Rp(t,e,i){t.appendChild(e,i)}function Ju(t,e,i,n,o){n!==null?as(t,e,i,n,o):Rp(t,e,i)}function P0(t,e,i,n){t.removeChild(e,i,n)}function Ac(t,e){return t.parentNode(e)}function A0(t,e){return t.nextSibling(e)}function Lp(t,e,i){return N0(t,e,i)}function F0(t,e,i){return t.type&40?Ot(t,i):null}var N0=F0,em;function Ss(t,e,i,n){let o=jp(t,n,e),r=e[Le],s=n.parent||e[Ct],a=Lp(s,n,e);if(o!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)Ju(r,o,i[l],a,!1);else Ju(r,o,i,a,!1);em!==void 0&&em(r,n,e,i,o)}function qr(t,e){if(e!==null){let i=e.type;if(i&3)return Ot(e,t);if(i&4)return Ml(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return qr(t,n);{let o=t[e.index];return rn(o)?Ml(-1,o):Zt(o)}}else{if(i&32)return Pc(e,t)()||Zt(t[e.index]);{let n=Vp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=Do(t[kt]);return qr(o,n)}else return qr(t,e.next)}}}return null}function Vp(t,e){if(e!==null){let n=t[kt][Ct],o=e.projection;return n.projection[o]}return null}function Ml(t,e){let i=it+t+1;if(i<e.length){let n=e[i],o=n[ee].firstChild;if(o!==null)return qr(n,o)}return e[Hn]}function j0(t,e,i){let n=Ac(t,e);n&&P0(t,n,e,i)}function Fc(t,e,i,n,o,r,s){for(;i!=null;){let a=n[i.index],l=i.type;if(s&&e===0&&(a&&bn(Zt(a),n),i.flags|=2),(i.flags&32)!==32)if(l&8)Fc(t,e,i.child,n,o,r,!1),_i(e,t,o,a,r);else if(l&32){let c=Pc(i,n),u;for(;u=c();)_i(e,t,o,u,r);_i(e,t,o,a,r)}else l&16?Bp(t,e,n,i,o,r):_i(e,t,o,a,r);i=s?i.projectionNext:i.next}}function Os(t,e,i,n,o,r){Fc(i,n,t.firstChild,e,o,r,!1)}function R0(t,e,i){let n=e[Le],o=jp(t,i,e),r=i.parent||e[Ct],s=Lp(r,i,e);Bp(n,0,e,i,o,s)}function Bp(t,e,i,n,o,r){let s=i[kt],l=s[Ct].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];_i(e,t,o,u,r)}else{let c=l,u=s[et];Dp(n)&&(c.flags|=128),Fc(t,e,c,u,o,r,!0)}}function L0(t,e,i,n,o){let r=i[Hn],s=Zt(i);r!==s&&_i(e,t,n,r,o);for(let a=it;a<i.length;a++){let l=i[a];Os(l[ee],l,t,e,n,r)}}function V0(t,e,i,n,o){if(e)o?t.addClass(i,n):t.removeClass(i,n);else{let r=n.indexOf("-")===-1?void 0:Qt.DashCase;o==null?t.removeStyle(i,n,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Qt.Important),t.setStyle(i,n,o,r))}}function B0(t,e,i){t.setAttribute(e,"style",i)}function zp(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function Hp(t,e,i){let{mergedAttrs:n,classes:o,styles:r}=i;n!==null&&pl(t,e,n),o!==null&&zp(t,e,o),r!==null&&B0(t,e,r)}var Tt={};function d(t=1){$p($e(),te(),sn()+t,!1)}function $p(t,e,i,n){if(!n)if((e[Y]&3)===3){let r=t.preOrderCheckHooks;r!==null&&Ur(e,r,i)}else{let r=t.preOrderHooks;r!==null&&Wr(e,r,0,i)}$n(i)}function w(t,e=me.Default){let i=te();if(i===null)return j(t,e);let n=rt();return vp(n,i,dt(t),e)}function Up(){let t="invalid";throw new Error(t)}function Wp(t,e,i,n,o,r){let s=de(null);try{let a=null;o&_.SignalBased&&(a=e[n][Ea]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&_.HasDecoratorInputTransform&&(r=t.inputTransforms[n].call(e,r)),t.setInput!==null?t.setInput(e,a,r,i,n):Gm(e,a,n,r)}finally{de(s)}}function z0(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let o=i[n];if(o<0)$n(~o);else{let r=o,s=i[++n],a=i[++n];Tv(s,r);let l=e[r];a(2,l)}}}finally{$n(-1)}}function Ts(t,e,i,n,o,r,s,a,l,c,u){let h=e.blueprint.slice();return h[on]=o,h[Y]=n|4|128|8|64,(c!==null||t&&t[Y]&2048)&&(h[Y]|=2048),Jm(h),h[et]=h[Ti]=t,h[nt]=i,h[Bt]=s||t&&t[Bt],h[Le]=a||t&&t[Le],h[Ii]=l||t&&t[Ii]||null,h[Ct]=r,h[ys]=o0(),h[Mi]=u,h[Um]=c,h[kt]=e.type==2?t[kt]:h,h}function ji(t,e,i,n,o){let r=t.data[e];if(r===null)r=H0(t,e,i,n,o),Ov()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=o;let s=Iv();r.injectorIndex=s===null?-1:s.injectorIndex}return Yn(r,!0),r}function H0(t,e,i,n,o){let r=ip(),s=wc(),a=s?r:r&&r.parent,l=t.data[e]=Z0(t,a,i,e,n,o);return t.firstChild===null&&(t.firstChild=l),r!==null&&(s?r.child==null&&l.parent!==null&&(r.child=l):r.next===null&&(r.next=l,l.prev=r)),l}function Gp(t,e,i,n){if(i===0)return-1;let o=e.length;for(let r=0;r<i;r++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function qp(t,e,i,n,o){let r=sn(),s=n&2;try{$n(-1),s&&e.length>ot&&$p(t,e,ot,!1),Wt(s?2:0,o),i(n,o)}finally{$n(r),Wt(s?3:1,o)}}function Nc(t,e,i){if(_c(e)){let n=de(null);try{let o=e.directiveStart,r=e.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let l=i[s];a.contentQueries(1,l,s)}}}finally{de(n)}}}function jc(t,e,i){tp()&&(ey(t,e,i,Ot(i,e)),(i.flags&64)===64&&Qp(t,e,i))}function Rc(t,e,i=Ot){let n=e.localNames;if(n!==null){let o=e.index+1;for(let r=0;r<n.length;r+=2){let s=n[r+1],a=s===-1?i(e,t):t[s];t[o++]=a}}}function Zp(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Lc(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Lc(t,e,i,n,o,r,s,a,l,c,u){let h=ot+n,v=h+o,x=$0(h,v),T=typeof c=="function"?c():c;return x[ee]={type:t,blueprint:x,template:i,queries:null,viewQuery:a,declTNode:e,data:x.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:v,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 r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:T,incompleteFirstPass:!1,ssrId:u}}function $0(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:Tt);return i}function U0(t,e,i,n){let r=n.get(m0,Op)||i===qt.ShadowDom,s=t.selectRootElement(e,r);return W0(s),s}function W0(t){G0(t)}var G0=()=>null;function q0(t,e,i,n){let o=Jp(e);o.push(i),t.firstCreatePass&&ef(t).push(n,o.length-1)}function Z0(t,e,i,n,o,r){let s=e?e.injectorIndex:-1,a=0;return np()&&(a|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function tm(t,e,i,n,o){for(let r in e){if(!e.hasOwnProperty(r))continue;let s=e[r];if(s===void 0)continue;n??={};let a,l=_.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(o!==null){if(!o.hasOwnProperty(r))continue;c=o[r]}t===0?nm(n,i,c,a,l):nm(n,i,c,a)}return n}function nm(t,e,i,n,o){let r;t.hasOwnProperty(i)?(r=t[i]).push(e,n):r=t[i]=[e,n],o!==void 0&&r.push(o)}function Y0(t,e,i){let n=e.directiveStart,o=e.directiveEnd,r=t.data,s=e.attrs,a=[],l=null,c=null;for(let u=n;u<o;u++){let h=r[u],v=i?i.get(h):null,x=v?v.inputs:null,T=v?v.outputs:null;l=tm(0,h.inputs,u,l,x),c=tm(1,h.outputs,u,c,T);let F=l!==null&&s!==null&&!pc(e)?uy(l,u,s):null;a.push(F)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}function Q0(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Vc(t,e,i,n,o,r,s,a){let l=Ot(e,i),c=e.inputs,u;!a&&c!=null&&(u=c[n])?(zc(t,i,u,n,o),Cs(e)&&K0(i,e.index)):e.type&3?(n=Q0(n),o=s!=null?s(o,e.value||"",n):o,r.setProperty(l,n,o)):e.type&12}function K0(t,e){let i=_n(e,t);i[Y]&16||(i[Y]|=64)}function Bc(t,e,i,n){if(tp()){let o=n===null?null:{"":-1},r=ny(t,i),s,a;r===null?s=a=null:[s,a]=r,s!==null&&Yp(t,e,i,s,o,a),o&&iy(i,n,o)}i.mergedAttrs=vo(i.mergedAttrs,i.attrs)}function Yp(t,e,i,n,o,r){for(let c=0;c<n.length;c++)yl(os(i,e),t,n[c].type);ry(i,t.data.length,n.length);for(let c=0;c<n.length;c++){let u=n[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=Gp(t,e,n.length,null);for(let c=0;c<n.length;c++){let u=n[c];i.mergedAttrs=vo(i.mergedAttrs,u.hostAttrs),sy(t,i,e,l,u),oy(l,u,o),u.contentQueries!==null&&(i.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(i.flags|=64);let h=u.type.prototype;!s&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(h.ngOnChanges||h.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),l++}Y0(t,i,r)}function X0(t,e,i,n,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;J0(s)!=a&&s.push(a),s.push(i,n,r)}}function J0(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function ey(t,e,i,n){let o=i.directiveStart,r=i.directiveEnd;Cs(i)&&ay(e,i,t.data[o+i.componentOffset]),t.firstCreatePass||os(i,e),bn(n,e);let s=i.initialInputs;for(let a=o;a<r;a++){let l=t.data[a],c=Wn(e,t,a,i);if(bn(c,e),s!==null&&dy(e,a-o,c,l,i,s),hn(l)){let u=_n(i.index,e);u[nt]=Wn(e,t,a,i)}}}function Qp(t,e,i){let n=i.directiveStart,o=i.directiveEnd,r=i.index,s=Pv();try{$n(r);for(let a=n;a<o;a++){let l=t.data[a],c=e[a];_l(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&ty(l,c)}}finally{$n(-1),_l(s)}}function ty(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function ny(t,e){let i=t.directiveRegistry,n=null,o=null;if(i)for(let r=0;r<i.length;r++){let s=i[r];if(Fm(e,s.selectors,!1))if(n||(n=[]),hn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let l=a.length;Il(t,e,l)}else n.unshift(s),Il(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function Il(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function iy(t,e,i){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let r=i[e[o+1]];if(r==null)throw new pe(-301,!1);n.push(e[o],r)}}}function oy(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;hn(e)&&(i[""]=t)}}function ry(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function sy(t,e,i,n,o){t.data[n]=o;let r=o.factory||(o.factory=Bn(o.type,!0)),s=new Un(r,hn(o),w);t.blueprint[n]=s,i[n]=s,X0(t,e,n,Gp(t,i,o.hostVars,Tt),o)}function ay(t,e,i){let n=Ot(e,t),o=Zp(i),r=t[Bt].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=Ps(t,Ts(t,o,null,s,n,e,null,r.createRenderer(n,i),null,null,null));t[e.index]=a}function ly(t,e,i,n,o,r){let s=Ot(t,e);cy(e[Le],s,r,t.value,i,n,o)}function cy(t,e,i,n,o,r,s){if(r==null)t.removeAttribute(e,o,i);else{let a=s==null?Ci(r):s(r,n||"",o);t.setAttribute(e,o,a,i)}}function dy(t,e,i,n,o,r){let s=r[e];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],u=s[a++],h=s[a++];Wp(n,i,l,c,u,h)}}function uy(t,e,i){let n=null,o=0;for(;o<i.length;){let r=i[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){n===null&&(n=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(r,s[a+1],s[a+2],i[o+1]);break}}o+=2}return n}function Kp(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function Xp(t,e){let i=t.contentQueries;if(i!==null){let n=de(null);try{for(let o=0;o<i.length;o+=2){let r=i[o],s=i[o+1];if(s!==-1){let a=t.data[s];Mc(r),a.contentQueries(2,e[s],s)}}}finally{de(n)}}}function Ps(t,e){return t[Co]?t[Gu][Vt]=e:t[Co]=e,t[Gu]=e,e}function El(t,e,i){Mc(0);let n=de(null);try{e(t,i)}finally{de(n)}}function Jp(t){return t[yo]||(t[yo]=[])}function ef(t){return t.cleanup||(t.cleanup=[])}function tf(t,e){let i=t[Ii],n=i?i.get(Yt,null):null;n&&n.handleError(e)}function zc(t,e,i,n,o){for(let r=0;r<i.length;){let s=i[r++],a=i[r++],l=i[r++],c=e[s],u=t.data[s];Wp(u,c,n,a,l,o)}}function nf(t,e,i){let n=Km(e,t);w0(t[Le],n,i)}function my(t,e){let i=_n(e,t),n=i[ee];py(n,i);let o=i[on];o!==null&&i[Mi]===null&&(i[Mi]=Oc(o,i[Ii])),Hc(n,i,i[nt])}function py(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function Hc(t,e,i){Ic(e);try{let n=t.viewQuery;n!==null&&El(1,n,i);let o=t.template;o!==null&&qp(t,e,o,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[nn]?.finishViewCreation(t),t.staticContentQueries&&Xp(t,e),t.staticViewQueries&&El(2,t.viewQuery,i);let r=t.components;r!==null&&fy(e,r)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[Y]&=-5,Ec()}}function fy(t,e){for(let i=0;i<e.length;i++)my(t,e[i])}function As(t,e,i,n){let o=de(null);try{let r=e.tView,a=t[Y]&4096?4096:16,l=Ts(t,r,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];l[Fo]=c;let u=t[nn];return u!==null&&(l[nn]=u.createEmbeddedView(r)),Hc(r,l,i),l}finally{de(o)}}function of(t,e){let i=it+e;if(i<t.length)return t[i]}function Io(t,e){return!e||e.firstChild===null||Dp(t)}function Fs(t,e,i,n=!0){let o=e[ee];if(E0(o,e,t,i),n){let s=Ml(i,t),a=e[Le],l=Ac(a,t[Hn]);l!==null&&M0(o,t[Ct],a,e,l,s)}let r=e[Mi];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function rf(t,e){let i=Mo(t,e);return i!==void 0&&ks(i[ee],i),i}function ls(t,e,i,n,o=!1){for(;i!==null;){let r=e[i.index];r!==null&&n.push(Zt(r)),rn(r)&&gy(r,n);let s=i.type;if(s&8)ls(t,e,i.child,n);else if(s&32){let a=Pc(i,e),l;for(;l=a();)n.push(l)}else if(s&16){let a=Vp(e,i);if(Array.isArray(a))n.push(...a);else{let l=Do(e[kt]);ls(l[ee],l,a,n,!0)}}i=o?i.projectionNext:i.next}return n}function gy(t,e){for(let i=it;i<t.length;i++){let n=t[i],o=n[ee].firstChild;o!==null&&ls(n[ee],n,o,e)}t[Hn]!==t[on]&&e.push(t[Hn])}var sf=[];function hy(t){return t[zn]??by(t)}function by(t){let e=sf.pop()??Object.create(vy);return e.lView=t,e}function _y(t){t.lView[zn]!==t&&(t.lView=null,sf.push(t))}var vy=ht(ce({},eu),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{xo(t.lView)},consumerOnSignalRead(){this.lView[zn]=this}}),af=100;function lf(t,e=!0,i=0){let n=t[Bt],o=n.rendererFactory,r=!1;r||o.begin?.();try{yy(t,i)}catch(s){throw e&&tf(t,s),s}finally{r||(o.end?.(),n.inlineEffectRunner?.flush())}}function yy(t,e){kl(t,e);let i=0;for(;Cc(t);){if(i===af)throw new pe(103,!1);i++,kl(t,1)}}function Cy(t,e,i,n){let o=e[Y];if((o&256)===256)return;let r=!1;!r&&e[Bt].inlineEffectRunner?.flush(),Ic(e);let s=null,a=null;!r&&wy(t)&&(a=hy(e),s=tu(a));try{Jm(e),Sv(t.bindingStartIndex),i!==null&&qp(t,e,i,2,n);let l=(o&3)===3;if(!r)if(l){let h=t.preOrderCheckHooks;h!==null&&Ur(e,h,null)}else{let h=t.preOrderHooks;h!==null&&Wr(e,h,0,null),Qa(e,0)}if(xy(e),cf(e,0),t.contentQueries!==null&&Xp(t,e),!r)if(l){let h=t.contentCheckHooks;h!==null&&Ur(e,h)}else{let h=t.contentHooks;h!==null&&Wr(e,h,1),Qa(e,1)}z0(t,e);let c=t.components;c!==null&&uf(e,c,0);let u=t.viewQuery;if(u!==null&&El(2,u,n),!r)if(l){let h=t.viewCheckHooks;h!==null&&Ur(e,h)}else{let h=t.viewHooks;h!==null&&Wr(e,h,2),Qa(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ya]){for(let h of e[Ya])h();e[Ya]=null}r||(e[Y]&=-73)}catch(l){throw xo(e),l}finally{a!==null&&(nu(a,s),_y(a)),Ec()}}function wy(t){return t.type!==2}function cf(t,e){for(let i=Ip(t);i!==null;i=Ep(i))for(let n=it;n<i.length;n++){let o=i[n];df(o,e)}}function xy(t){for(let e=Ip(t);e!==null;e=Ep(e)){if(!(e[Y]&bc.HasTransplantedViews))continue;let i=e[Ei];for(let n=0;n<i.length;n++){let o=i[n],r=o[et];_v(o)}}}function Dy(t,e,i){let n=_n(e,t);df(n,i)}function df(t,e){yc(t)&&kl(t,e)}function kl(t,e){let n=t[ee],o=t[Y],r=t[zn],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(r?.dirty&&ka(r)),r&&(r.dirty=!1),t[Y]&=-9217,s)Cy(n,t,n.template,t[nt]);else if(o&8192){cf(t,1);let a=n.components;a!==null&&uf(t,a,1)}}function uf(t,e,i){for(let n=0;n<e.length;n++)Dy(t,e[n],i)}function $c(t){for(t[Bt].changeDetectionScheduler?.notify();t;){t[Y]|=64;let e=Do(t);if(cv(t)&&!e)return t;t=e}return null}var Gn=class{get rootNodes(){let e=this._lView,i=e[ee];return ls(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[nt]}set context(e){this._lView[nt]=e}get destroyed(){return(this._lView[Y]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[et];if(rn(e)){let i=e[es],n=i?i.indexOf(this):-1;n>-1&&(Mo(e,n),Kr(i,n))}this._attachedToViewContainer=!1}ks(this._lView[ee],this._lView)}onDestroy(e){ep(this._lView,e)}markForCheck(){$c(this._cdRefInjectingView||this._lView)}detach(){this._lView[Y]&=-129}reattach(){bl(this._lView),this._lView[Y]|=128}detectChanges(){this._lView[Y]|=1024,lf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new pe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Fp(this._lView[ee],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new pe(902,!1);this._appRef=e,bl(this._lView)}},_e=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Ey;let t=e;return t})(),My=_e,Iy=class extends My{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let o=As(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new Gn(o)}};function Ey(){return Ns(rt(),te())}function Ns(t,e){return t.type&4?new Iy(e,t,Ni(t,e)):null}var OA=new RegExp(`^(\\d+)*(${d0}|${c0})*(.*)`);var ky=()=>null;function Eo(t,e){return ky(t,e)}var Sl=class{},Ol=class{},cs=class{};function Sy(t){let e=Error(`No component factory found for ${yt(t)}.`);return e[Oy]=t,e}var Oy="ngComponent";var Tl=class{resolveComponentFactory(e){throw Sy(e)}},Ri=(()=>{let e=class e{};e.NULL=new Tl;let t=e;return t})(),ko=class{},an=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Ty();let t=e;return t})();function Ty(){let t=te(),e=rt(),i=_n(e.index,t);return(Ln(i)?i:t)[Le]}var Py=(()=>{let e=class e{};e.\u0275prov=q({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),tl={};var im=new Set;function js(t){im.has(t)||(im.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function om(...t){}function Ay(){let t=typeof go.requestAnimationFrame=="function",e=go[t?"requestAnimationFrame":"setTimeout"],i=go[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=i[Zone.__symbol__("OriginalDelegate")];o&&(i=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}var Ce=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new y(!1),this.onMicrotaskEmpty=new y(!1),this.onStable=new y(!1),this.onError=new y(!1),typeof Zone>"u")throw new pe(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&i,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Ay().nativeRequestAnimationFrame,jy(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new pe(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new pe(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,e,Fy,om,om);try{return r.runTask(s,i,n)}finally{r.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},Fy={};function Uc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ny(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(go,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Pl(t),t.isCheckStableRunning=!0,Uc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Pl(t))}function jy(t){let e=()=>{Ny(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,o,r,s,a)=>{if(Ry(a))return i.invokeTask(o,r,s,a);try{return rm(t),i.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&r.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),sm(t)}},onInvoke:(i,n,o,r,s,a,l)=>{try{return rm(t),i.invoke(o,r,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),sm(t)}},onHasTask:(i,n,o,r)=>{i.hasTask(o,r),n===o&&(r.change=="microTask"?(t._hasPendingMicrotasks=r.microTask,Pl(t),Uc(t)):r.change=="macroTask"&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(i,n,o,r)=>(i.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}function Pl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function rm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function sm(t){t._nesting--,Uc(t)}function Ry(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var mf=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=q({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function ds(t,e,i){let n=i?t.styles:null,o=i?t.classes:null,r=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")r=a;else if(r==1)o=cl(o,a);else if(r==2){let l=a,c=e[++s];n=cl(n,l+": "+c+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=o:t.classesWithoutHost=o}var Al=class extends Ri{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=xi(e);return new us(i,this.ngModule)}};function am(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function Ly(t){let e=t.toLowerCase();return e==="svg"?Qm:e==="math"?pv:null}var Fl=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=_s(n);let o=this.injector.get(e,tl,n);return o!==tl||i===tl?o:this.parentInjector.get(e,i,n)}},us=class extends cs{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=am(e.inputs);if(i!==null)for(let o of n)i.hasOwnProperty(o.propName)&&(o.transform=i[o.propName]);return n}get outputs(){return am(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=W_(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,o){let r=de(null);try{o=o||this.ngModule;let s=o instanceof gn?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Fl(e,s):e,l=a.get(ko,null);if(l===null)throw new pe(407,!1);let c=a.get(Py,null),u=a.get(mf,null),h=a.get(Sl,null),v={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:u,changeDetectionScheduler:h},x=l.createRenderer(null,this.componentDef),T=this.componentDef.selectors[0][0]||"div",F=n?U0(x,n,this.componentDef.encapsulation,a):Ap(x,T,Ly(T)),Q=512;this.componentDef.signals?Q|=4096:this.componentDef.onPush||(Q|=16);let $=null;F!==null&&($=Oc(F,a,!0));let Ee=Lc(0,null,null,1,0,null,null,null,null,null,null),je=Ts(null,Ee,null,Q,null,null,v,x,a,null,$);Ic(je);let Ke,Je;try{let le=this.componentDef,Ye,at=null;le.findHostDirectiveDefs?(Ye=[],at=new Map,le.findHostDirectiveDefs(le,Ye,at),Ye.push(le)):Ye=[le];let ar=Vy(je,F),yb=By(ar,F,le,Ye,je,v,x);Je=vc(Ee,ot),F&&$y(x,le,F,n),i!==void 0&&Uy(Je,this.ngContentSelectors,i),Ke=Hy(yb,le,Ye,at,je,[Wy]),Hc(Ee,je,null)}finally{Ec()}return new Nl(this.componentType,Ke,Ni(Je,je),je,Je)}finally{de(r)}}},Nl=class extends Ol{constructor(e,i,n,o,r){super(),this.location=n,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new Gn(o,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let r=this._rootLView;zc(r[ee],r,o,e,i),this.previousInputValues.set(e,i);let s=_n(this._tNode.index,r);$c(s)}}get injector(){return new Vn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Vy(t,e){let i=t[ee],n=ot;return t[n]=e,ji(i,n,2,"#host",null)}function By(t,e,i,n,o,r,s){let a=o[ee];zy(n,t,e,s);let l=null;e!==null&&(l=Oc(e,o[Ii]));let c=r.rendererFactory.createRenderer(e,i),u=16;i.signals?u=4096:i.onPush&&(u=64);let h=Ts(o,Zp(i),null,u,o[t.index],t,r,c,null,null,l);return a.firstCreatePass&&Il(a,t,n.length-1),Ps(o,h),o[t.index]=h}function zy(t,e,i,n){for(let o of t)e.mergedAttrs=vo(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(ds(e,e.mergedAttrs,!0),i!==null&&Hp(n,i,e))}function Hy(t,e,i,n,o,r){let s=rt(),a=o[ee],l=Ot(s,o);Yp(a,o,s,i,null,n);for(let u=0;u<i.length;u++){let h=s.directiveStart+u,v=Wn(o,a,h,s);bn(v,o)}Qp(a,o,s),l&&bn(l,o);let c=Wn(o,a,s.directiveStart+s.componentOffset,s);if(t[nt]=o[nt]=c,r!==null)for(let u of r)u(c,e);return Nc(a,s,o),c}function $y(t,e,i,n){if(n)pl(t,i,["ng-version","17.3.10"]);else{let{attrs:o,classes:r}=G_(e.selectors[0]);o&&pl(t,i,o),r&&r.length>0&&zp(t,i,r.join(" "))}}function Uy(t,e,i){let n=t.projection=[];for(let o=0;o<e.length;o++){let r=i[o];n.push(r!=null?Array.from(r):null)}}function Wy(){let t=rt();Is(te()[ee],t)}var Kt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Gy;let t=e;return t})();function Gy(){let t=rt();return ff(t,te())}var qy=Kt,pf=class extends qy{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return Ni(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){let e=kc(this._hostTNode,this._hostLView);if(pp(e)){let i=ns(e,this._hostLView),n=ts(e),o=i[ee].data[n+8];return new Vn(o,i)}else return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=lm(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-it}createEmbeddedView(e,i,n){let o,r;typeof n=="number"?o=n:n!=null&&(o=n.index,r=n.injector);let s=Eo(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},r,s);return this.insertImpl(a,o,Io(this._hostTNode,s)),a}createComponent(e,i,n,o,r){let s=e&&!lv(e),a;if(s)a=i;else{let T=i||{};a=T.index,n=T.injector,o=T.projectableNodes,r=T.environmentInjector||T.ngModuleRef}let l=s?e:new us(xi(e)),c=n||this.parentInjector;if(!r&&l.ngModule==null){let F=(s?c:this.parentInjector).get(gn,null);F&&(r=F)}let u=xi(l.componentType??{}),h=Eo(this._lContainer,u?.id??null),v=h?.firstChild??null,x=l.create(c,o,v,r);return this.insertImpl(x.hostView,a,Io(this._hostTNode,h)),x}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let o=e._lView;if(bv(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=o[et],c=new pf(l,l[Ct],l[et]);c.detach(c.indexOf(e))}}let r=this._adjustIndex(i),s=this._lContainer;return Fs(s,o,r,n),e.attachToViewContainerRef(),km(nl(s),r,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=lm(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=Mo(this._lContainer,i);n&&(Kr(nl(this._lContainer),i),ks(n[ee],n))}detach(e){let i=this._adjustIndex(e,-1),n=Mo(this._lContainer,i);return n&&Kr(nl(this._lContainer),i)!=null?new Gn(n):null}_adjustIndex(e,i=0){return e??this.length+i}};function lm(t){return t[es]}function nl(t){return t[es]||(t[es]=[])}function ff(t,e){let i,n=e[t.index];return rn(n)?i=n:(i=Kp(n,e,null,t),e[t.index]=i,Ps(e,i)),Yy(i,e,t,n),new pf(i,t,e)}function Zy(t,e){let i=t[Le],n=i.createComment(""),o=Ot(e,t),r=Ac(i,o);return as(i,r,n,A0(i,o),!1),n}var Yy=Xy,Qy=()=>!1;function Ky(t,e,i){return Qy(t,e,i)}function Xy(t,e,i,n){if(t[Hn])return;let o;i.type&8?o=Zt(n):o=Zy(e,i),t[Hn]=o}var jl=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Rl=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,o=[];for(let r=0;r<n;r++){let s=i.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)Wc(e,i).matches!==null&&this.queries[i].setDirty()}},ms=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=sC(e):this.predicate=e}},Ll=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let o=i!==null?i.length:0,r=this.getByIndex(n).embeddedTView(e,o);r&&(r.indexInDeclarationView=n,i!==null?i.push(r):i=[r])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Vl=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let r=n[o];this.matchTNodeWithReadOption(e,i,Jy(i,r)),this.matchTNodeWithReadOption(e,i,Gr(i,e,r,!1,!1))}else n===_e?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Gr(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===se||o===Kt||o===_e&&i.type&4)this.addMatch(i.index,-2);else{let r=Gr(i,e,o,!1,!1);r!==null&&this.addMatch(i.index,r)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};function Jy(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function eC(t,e){return t.type&11?Ni(t,e):t.type&4?Ns(t,e):null}function tC(t,e,i,n){return i===-1?eC(e,t):i===-2?nC(t,e,n):Wn(t,t[ee],i,e)}function nC(t,e,i){if(i===se)return Ni(e,t);if(i===_e)return Ns(e,t);if(i===Kt)return ff(e,t)}function gf(t,e,i,n){let o=e[nn].queries[n];if(o.matches===null){let r=t.data,s=i.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=r[c];a.push(tC(e,u,s[l+1],i.metadata.read))}}o.matches=a}return o.matches}function Bl(t,e,i,n){let o=t.queries.getByIndex(i),r=o.matches;if(r!==null){let s=gf(t,e,o,i);for(let a=0;a<r.length;a+=2){let l=r[a];if(l>0)n.push(s[a/2]);else{let c=r[a+1],u=e[-l];for(let h=it;h<u.length;h++){let v=u[h];v[Fo]===v[et]&&Bl(v[ee],v,c,n)}if(u[Ei]!==null){let h=u[Ei];for(let v=0;v<h.length;v++){let x=h[v];Bl(x[ee],x,c,n)}}}}}return n}function iC(t,e){return t[nn].queries[e].queryList}function hf(t,e,i){let n=new rs((i&4)===4);return q0(t,e,n,n.destroy),(e[nn]??=new Rl).queries.push(new jl(n))-1}function oC(t,e,i){let n=$e();return n.firstCreatePass&&(bf(n,new ms(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),hf(n,te(),e)}function rC(t,e,i,n){let o=$e();if(o.firstCreatePass){let r=rt();bf(o,new ms(e,i,n),r.index),aC(o,t),(i&2)===2&&(o.staticContentQueries=!0)}return hf(o,te(),i)}function sC(t){return t.split(",").map(e=>e.trim())}function bf(t,e,i){t.queries===null&&(t.queries=new Ll),t.queries.track(new Vl(e,i))}function aC(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function Wc(t,e){return t.queries.getByIndex(e)}function lC(t,e){let i=t[ee],n=Wc(i,e);return n.crossesNgTemplate?Bl(i,t,e,[]):gf(i,t,n,e)}function _f(t){return typeof t=="function"&&t[Ea]!==void 0}function vf(t){return _f(t)&&typeof t.set=="function"}function cC(t){return Object.getPrototypeOf(t.prototype).constructor}function z(t){let e=cC(t.type),i=!0,n=[t];for(;e;){let o;if(hn(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new pe(903,!1);o=e.\u0275dir}if(o){if(i){n.push(o);let s=t;s.inputs=zr(t.inputs),s.inputTransforms=zr(t.inputTransforms),s.declaredInputs=zr(t.declaredInputs),s.outputs=zr(t.outputs);let a=o.hostBindings;a&&fC(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&mC(t,l),c&&pC(t,c),dC(t,o),u_(t.outputs,o.outputs),hn(o)&&o.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let a=r[s];a&&a.ngInherit&&a(t),a===z&&(i=!1)}}e=Object.getPrototypeOf(e)}uC(n)}function dC(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function uC(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=vo(o.hostAttrs,i=vo(i,o.hostAttrs))}}function zr(t){return t===wi?{}:t===_t?[]:t}function mC(t,e){let i=t.viewQuery;i?t.viewQuery=(n,o)=>{e(n,o),i(n,o)}:t.viewQuery=e}function pC(t,e){let i=t.contentQueries;i?t.contentQueries=(n,o,r)=>{e(n,o,r),i(n,o,r)}:t.contentQueries=e}function fC(t,e){let i=t.hostBindings;i?t.hostBindings=(n,o)=>{e(n,o),i(n,o)}:t.hostBindings=e}function fe(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(i[n]=o[3])}t.inputTransforms=i}var Si=class{};var ps=class extends Si{constructor(e){super(),this.componentFactoryResolver=new Al(this),this.instance=null;let i=new Jr([...e.providers,{provide:Si,useValue:this},{provide:Ri,useValue:this.componentFactoryResolver}],e.parent||hc(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function gC(t,e,i=null){return new ps({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}var yf=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ge(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Cf(t){return Gc(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function hC(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function Gc(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Rs(t,e,i){return t[e]=i}function St(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function So(t,e,i,n){let o=St(t,e,i);return St(t,e+1,n)||o}function bC(t,e,i,n,o){let r=So(t,e,i,n);return St(t,e+2,o)||r}function _C(t,e,i,n,o,r){let s=So(t,e,i,n);return So(t,e+2,o,r)||s}function vC(t){return(t.flags&32)===32}function yC(t,e,i,n,o,r,s,a,l){let c=e.consts,u=ji(e,t,4,s||null,ki(c,a));Bc(e,i,u,ki(c,l)),Is(e,u);let h=u.tView=Lc(2,u,n,o,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}function C(t,e,i,n,o,r,s,a){let l=te(),c=$e(),u=t+ot,h=c.firstCreatePass?yC(u,c,l,e,i,n,o,r,s):c.data[u];Yn(h,!1);let v=CC(c,l,h,t);Ds()&&Ss(c,l,v,h),bn(v,l);let x=Kp(v,l,v,h);return l[u]=x,Ps(l,x),Ky(x,h,l),ws(h)&&jc(c,l,h),s!=null&&Rc(l,h,a),C}var CC=wC;function wC(t,e,i,n){return Ms(!0),e[Le].createComment("")}function W(t,e,i,n){let o=te(),r=Pi();if(St(o,r,e)){let s=$e(),a=xs();ly(a,o,t,e,i,n)}return W}function wf(t,e,i,n){return St(t,Pi(),i)?e+Ci(i)+n:Tt}function xC(t,e,i,n,o,r){let s=kv(),a=So(t,s,i,o);return Dc(2),a?e+Ci(i)+n+Ci(o)+r:Tt}function Hr(t,e){return t<<17|e<<2}function qn(t){return t>>17&32767}function DC(t){return(t&2)==2}function MC(t,e){return t&131071|e<<17}function zl(t){return t|2}function Oi(t){return(t&131068)>>2}function il(t,e){return t&-131069|e<<2}function IC(t){return(t&1)===1}function Hl(t){return t|1}function EC(t,e,i,n,o,r){let s=r?e.classBindings:e.styleBindings,a=qn(s),l=Oi(s);t[n]=i;let c=!1,u;if(Array.isArray(i)){let h=i;u=h[1],(u===null||Po(h,u)>0)&&(c=!0)}else u=i;if(o)if(l!==0){let v=qn(t[a+1]);t[n+1]=Hr(v,a),v!==0&&(t[v+1]=il(t[v+1],n)),t[a+1]=MC(t[a+1],n)}else t[n+1]=Hr(a,0),a!==0&&(t[a+1]=il(t[a+1],n)),a=n;else t[n+1]=Hr(l,0),a===0?a=n:t[l+1]=il(t[l+1],n),l=n;c&&(t[n+1]=zl(t[n+1])),cm(t,u,n,!0),cm(t,u,n,!1),kC(e,u,t,n,r),s=Hr(a,l),r?e.classBindings=s:e.styleBindings=s}function kC(t,e,i,n,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof e=="string"&&Po(r,e)>=0&&(i[n+1]=Hl(i[n+1]))}function cm(t,e,i,n){let o=t[i+1],r=e===null,s=n?qn(o):Oi(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];SC(l,e)&&(a=!0,t[s+1]=n?Hl(c):zl(c)),s=n?qn(c):Oi(c)}a&&(t[i+1]=n?zl(o):Hl(o))}function SC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Po(t,e)>=0:!1}var Lt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function OC(t){return t.substring(Lt.key,Lt.keyEnd)}function TC(t){return PC(t),xf(t,Df(t,0,Lt.textEnd))}function xf(t,e){let i=Lt.textEnd;return i===e?-1:(e=Lt.keyEnd=AC(t,Lt.key=e,i),Df(t,e,i))}function PC(t){Lt.key=0,Lt.keyEnd=0,Lt.value=0,Lt.valueEnd=0,Lt.textEnd=t.length}function Df(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function AC(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function p(t,e,i){let n=te(),o=Pi();if(St(n,o,e)){let r=$e(),s=xs();Vc(r,s,n,t,e,n[Le],i,!1)}return p}function $l(t,e,i,n,o){let r=e.inputs,s=o?"class":"style";zc(t,i,r[s],s,n)}function ke(t,e,i){return Mf(t,e,i,!1),ke}function J(t,e){return Mf(t,e,null,!0),J}function Bo(t){NC(zC,FC,t,!0)}function FC(t,e){for(let i=TC(e);i>=0;i=xf(e,i))mc(t,OC(e),!0)}function Mf(t,e,i,n){let o=te(),r=$e(),s=Dc(2);if(r.firstUpdatePass&&Ef(r,t,s,n),e!==Tt&&St(o,s,e)){let a=r.data[sn()];kf(r,a,o,o[Le],t,o[s+1]=$C(e,i),n,s)}}function NC(t,e,i,n){let o=$e(),r=Dc(2);o.firstUpdatePass&&Ef(o,null,r,n);let s=te();if(i!==Tt&&St(s,r,i)){let a=o.data[sn()];if(Sf(a,n)&&!If(o,r)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(i=cl(l,i||"")),$l(o,a,s,i,n)}else HC(o,a,s,s[Le],s[r+1],s[r+1]=BC(t,e,i),n,r)}}function If(t,e){return e>=t.expandoStartIndex}function Ef(t,e,i,n){let o=t.data;if(o[i+1]===null){let r=o[sn()],s=If(t,i);Sf(r,n)&&e===null&&!s&&(e=!1),e=jC(o,r,e,n),EC(o,r,e,i,s,n)}}function jC(t,e,i,n){let o=Av(t),r=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(i=ol(null,t,e,i,n),i=Oo(i,e.attrs,n),r=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(i=ol(o,t,e,i,n),r===null){let l=RC(t,e,n);l!==void 0&&Array.isArray(l)&&(l=ol(null,t,e,l[1],n),l=Oo(l,e.attrs,n),LC(t,e,n,l))}else r=VC(t,e,n)}return r!==void 0&&(n?e.residualClasses=r:e.residualStyles=r),i}function RC(t,e,i){let n=i?e.classBindings:e.styleBindings;if(Oi(n)!==0)return t[qn(n)]}function LC(t,e,i,n){let o=i?e.classBindings:e.styleBindings;t[qn(o)]=n}function VC(t,e,i){let n,o=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;n=Oo(n,s,i)}return Oo(n,e.attrs,i)}function ol(t,e,i,n,o){let r=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(r=e[a],n=Oo(n,r.hostAttrs,o),r!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function Oo(t,e,i){let n=i?1:2,o=-1;if(e!==null)for(let r=0;r<e.length;r++){let s=e[r];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),mc(t,s,i?!0:e[++r]))}return t===void 0?null:t}function BC(t,e,i){if(i==null||i==="")return _t;let n=[],o=Lo(i);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(n,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(n,r,o[r]);else typeof o=="string"&&e(n,o);return n}function zC(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&mc(t,n,i)}function HC(t,e,i,n,o,r,s,a){o===Tt&&(o=_t);let l=0,c=0,u=0<o.length?o[0]:null,h=0<r.length?r[0]:null;for(;u!==null||h!==null;){let v=l<o.length?o[l+1]:void 0,x=c<r.length?r[c+1]:void 0,T=null,F;u===h?(l+=2,c+=2,v!==x&&(T=h,F=x)):h===null||u!==null&&u<h?(l+=2,T=u):(c+=2,T=h,F=x),T!==null&&kf(t,e,i,n,T,F,s,a),u=l<o.length?o[l]:null,h=c<r.length?r[c]:null}}function kf(t,e,i,n,o,r,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],u=IC(c)?dm(l,e,i,o,Oi(c),s):void 0;if(!fs(u)){fs(r)||DC(c)&&(r=dm(l,null,i,o,a,s));let h=Km(sn(),i);V0(n,s,h,o,r)}}function dm(t,e,i,n,o,r){let s=e===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),u=c?l[1]:l,h=u===null,v=i[o+1];v===Tt&&(v=h?_t:void 0);let x=h?qa(v,n):u===n?v:void 0;if(c&&!fs(x)&&(x=qa(l,n)),fs(x)&&(a=x,s))return a;let T=t[o+1];o=s?qn(T):Oi(T)}if(e!==null){let l=r?e.residualClasses:e.residualStyles;l!=null&&(a=qa(l,n))}return a}function fs(t){return t!==void 0}function $C(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=yt(Lo(t)))),t}function Sf(t,e){return(t.flags&(e?8:16))!==0}var Ul=class{destroy(e){}updateValue(e,i){}swap(e,i){let n=Math.min(e,i),o=Math.max(e,i),r=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,r),this.attach(o,s)}else this.attach(n,r)}move(e,i){this.attach(i,this.detach(e))}};function rl(t,e,i,n,o){return t===i&&Object.is(e,n)?1:Object.is(o(t,e),o(i,n))?-1:0}function UC(t,e,i){let n,o,r=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;r<=s&&r<=a;){let l=t.at(r),c=e[r],u=rl(r,l,r,c,i);if(u!==0){u<0&&t.updateValue(r,c),r++;continue}let h=t.at(s),v=e[a],x=rl(s,h,a,v,i);if(x!==0){x<0&&t.updateValue(s,v),s--,a--;continue}let T=i(r,l),F=i(s,h),Q=i(r,c);if(Object.is(Q,F)){let $=i(a,v);Object.is($,T)?(t.swap(r,s),t.updateValue(s,v),a--,s--):t.move(s,r),t.updateValue(r,c),r++;continue}if(n??=new gs,o??=mm(t,r,s,i),Wl(t,n,r,Q))t.updateValue(r,c),r++,s++;else if(o.has(Q))n.set(T,t.detach(r)),s--;else{let $=t.create(r,e[r]);t.attach(r,$),r++,s++}}for(;r<=a;)um(t,n,i,r,e[r]),r++}else if(e!=null){let a=e[Symbol.iterator](),l=a.next();for(;!l.done&&r<=s;){let c=t.at(r),u=l.value,h=rl(r,c,r,u,i);if(h!==0)h<0&&t.updateValue(r,u),r++,l=a.next();else{n??=new gs,o??=mm(t,r,s,i);let v=i(r,u);if(Wl(t,n,r,v))t.updateValue(r,u),r++,s++,l=a.next();else if(!o.has(v))t.attach(r,t.create(r,u)),r++,s++,l=a.next();else{let x=i(r,c);n.set(x,t.detach(r)),s--}}}for(;!l.done;)um(t,n,i,t.length,l.value),l=a.next()}for(;r<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function Wl(t,e,i,n){return e!==void 0&&e.has(n)?(t.attach(i,e.get(n)),e.delete(n),!0):!1}function um(t,e,i,n,o){if(Wl(t,e,n,i(n,o)))t.updateValue(n,o);else{let r=t.create(n,o);t.attach(n,r)}}function mm(t,e,i,n){let o=new Set;for(let r=e;r<=i;r++)o.add(n(r,t.at(r)));return o}var gs=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let i=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(i)?(this.kvMap.set(e,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,i){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,i)}else this.kvMap.set(e,i)}forEach(e){for(let[i,n]of this.kvMap)if(e(n,i),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,i)}}};function H(t,e,i){js("NgControlFlow");let n=te(),o=Pi(),r=Yl(n,ot+t),s=0;if(St(n,o,e)){let a=de(null);try{if(rf(r,s),e!==-1){let l=Ql(n[ee],ot+e),c=Eo(r,l.tView.ssrId),u=As(n,l,i,{dehydratedView:c});Fs(r,u,s,Io(l,c))}}finally{de(a)}}else{let a=of(r,s);a!==void 0&&(a[nt]=i)}}var Gl=class{constructor(e,i,n){this.lContainer=e,this.$implicit=i,this.$index=n}get $count(){return this.lContainer.length-it}};function zo(t,e){return e}var ql=class{constructor(e,i,n){this.hasEmptyBlock=e,this.trackByFn=i,this.liveCollection=n}};function Cn(t,e,i,n,o,r,s,a,l,c,u,h,v){js("NgControlFlow");let x=l!==void 0,T=te(),F=a?s.bind(T[kt][nt]):s,Q=new ql(x,F);T[ot+t]=Q,C(t+1,e,i,n,o,r),x&&C(t+2,l,c,u,h,v)}var Zl=class extends Ul{constructor(e,i,n){super(),this.lContainer=e,this.hostLView=i,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-it}at(e){return this.getLView(e)[nt].$implicit}attach(e,i){let n=i[Mi];this.needsIndexUpdate||=e!==this.length,Fs(this.lContainer,i,e,Io(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,WC(this.lContainer,e)}create(e,i){let n=Eo(this.lContainer,this.templateTNode.tView.ssrId);return As(this.hostLView,this.templateTNode,new Gl(this.lContainer,i,e),{dehydratedView:n})}destroy(e){ks(e[ee],e)}updateValue(e,i){this.getLView(e)[nt].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[nt].$index=e}getLView(e){return GC(this.lContainer,e)}};function wn(t){let e=de(null),i=sn();try{let n=te(),o=n[ee],r=n[i];if(r.liveCollection===void 0){let a=i+1,l=Yl(n,a),c=Ql(o,a);r.liveCollection=new Zl(l,n,c)}else r.liveCollection.reset();let s=r.liveCollection;if(UC(s,t,r.trackByFn),s.updateIndexes(),r.hasEmptyBlock){let a=Pi(),l=s.length===0;if(St(n,a,l)){let c=i+2,u=Yl(n,c);if(l){let h=Ql(o,c),v=Eo(u,h.tView.ssrId),x=As(n,h,void 0,{dehydratedView:v});Fs(u,x,0,Io(h,v))}else rf(u,0)}}}finally{de(e)}}function Yl(t,e){return t[e]}function WC(t,e){return Mo(t,e)}function GC(t,e){return of(t,e)}function Ql(t,e){return vc(t,e)}function qC(t,e,i,n,o,r){let s=e.consts,a=ki(s,o),l=ji(e,t,2,n,a);return Bc(e,i,l,ki(s,r)),l.attrs!==null&&ds(l,l.attrs,!1),l.mergedAttrs!==null&&ds(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function m(t,e,i,n){let o=te(),r=$e(),s=ot+t,a=o[Le],l=r.firstCreatePass?qC(s,r,o,e,i,n):r.data[s],c=ZC(r,o,l,a,e,t);o[s]=c;let u=ws(l);return Yn(l,!0),Hp(a,c,l),!vC(l)&&Ds()&&Ss(r,o,c,l),Cv()===0&&bn(c,o),wv(),u&&(jc(r,o,l),Nc(r,l,o)),n!==null&&Rc(o,l),m}function f(){let t=rt();wc()?xc():(t=t.parent,Yn(t,!1));let e=t;Dv(e)&&Mv(),xv();let i=$e();return i.firstCreatePass&&(Is(i,t),_c(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&Bv(e)&&$l(i,e,te(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&zv(e)&&$l(i,e,te(),e.stylesWithoutHost,!1),f}function O(t,e,i,n){return m(t,e,i,n),f(),O}var ZC=(t,e,i,n,o,r)=>(Ms(!0),Ap(n,o,jv()));function YC(t,e,i,n,o){let r=e.consts,s=ki(r,n),a=ji(e,t,8,"ng-container",s);s!==null&&ds(a,s,!0);let l=ki(r,o);return Bc(e,i,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function ut(t,e,i){let n=te(),o=$e(),r=t+ot,s=o.firstCreatePass?YC(r,o,n,e,i):o.data[r];Yn(s,!0);let a=QC(o,n,s,t);return n[r]=a,Ds()&&Ss(o,n,a,s),bn(a,n),ws(s)&&(jc(o,n,s),Nc(o,s,n)),i!=null&&Rc(n,s),ut}function mt(){let t=rt(),e=$e();return wc()?xc():(t=t.parent,Yn(t,!1)),e.firstCreatePass&&(Is(e,t),_c(t)&&e.queries.elementEnd(t)),mt}function Xe(t,e,i){return ut(t,e,i),mt(),Xe}var QC=(t,e,i,n)=>(Ms(!0),x0(e[Le],""));function A(){return te()}var hs="en-US";var KC=hs;function XC(t){typeof t=="string"&&(KC=t.toLowerCase().replace(/_/g,"-"))}function b(t,e,i,n){let o=te(),r=$e(),s=rt();return Of(r,o,o[Le],s,t,e,n),b}function JC(t,e,i,n){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===i&&o[r+1]===n){let a=e[yo],l=o[r+2];return a.length>l?a[l]:null}typeof s=="string"&&(r+=2)}return null}function Of(t,e,i,n,o,r,s){let a=ws(n),c=t.firstCreatePass&&ef(t),u=e[nt],h=Jp(e),v=!0;if(n.type&3||s){let F=Ot(n,e),Q=s?s(F):F,$=h.length,Ee=s?Ke=>s(Zt(Ke[n.index])):n.index,je=null;if(!s&&a&&(je=JC(t,e,o,n.index)),je!==null){let Ke=je.__ngLastListenerFn__||je;Ke.__ngNextListenerFn__=r,je.__ngLastListenerFn__=r,v=!1}else{r=fm(n,e,u,r,!1);let Ke=i.listen(Q,o,r);h.push(r,Ke),c&&c.push(o,Ee,$,$+1)}}else r=fm(n,e,u,r,!1);let x=n.outputs,T;if(v&&x!==null&&(T=x[o])){let F=T.length;if(F)for(let Q=0;Q<F;Q+=2){let $=T[Q],Ee=T[Q+1],Je=e[$][Ee].subscribe(r),le=h.length;h.push(r,Je),c&&c.push(o,n.index,le,-(le+1))}}}function pm(t,e,i,n){let o=de(null);try{return Wt(6,e,i),i(n)!==!1}catch(r){return tf(t,r),!1}finally{Wt(7,e,i),de(o)}}function fm(t,e,i,n,o){return function r(s){if(s===Function)return n;let a=t.componentOffset>-1?_n(t.index,e):e;$c(a);let l=pm(e,i,n,s),c=r.__ngNextListenerFn__;for(;c;)l=pm(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return o&&l===!1&&s.preventDefault(),l}}function g(t=1){return Nv(t)}function ew(t,e){let i=null,n=B_(t);for(let o=0;o<e.length;o++){let r=e[o];if(r==="*"){i=o;continue}if(n===null?Fm(t,r,!0):$_(n,r))return o}return i}function We(t){let e=te()[kt][Ct];if(!e.projection){let i=t?t.length:1,n=e.projection=T_(i,null),o=n.slice(),r=e.child;for(;r!==null;){let s=t?ew(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:n[s]=r,o[s]=r),r=r.next}}}function Ae(t,e=0,i){let n=te(),o=$e(),r=ji(o,ot+t,16,null,i||null);r.projection===null&&(r.projection=e),xc(),(!n[Mi]||np())&&(r.flags&32)!==32&&R0(o,n,r)}function ge(t,e,i){return Tf(t,"",e,"",i),ge}function Tf(t,e,i,n,o){let r=te(),s=wf(r,e,i,n);if(s!==Tt){let a=$e(),l=xs();Vc(a,l,r,t,s,r[Le],o,!1)}return Tf}function pt(t,e,i,n){rC(t,e,i,n)}function tt(t,e,i){oC(t,e,i)}function De(t){let e=te(),i=$e(),n=op();Mc(n+1);let o=Wc(i,n);if(t.dirty&&hv(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=lC(e,n);t.reset(r,t0),t.notifyOnChanges()}return!0}return!1}function Me(){return iC(te(),op())}function tw(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}function qe(t){let e=Ev();return Xm(e,ot+t)}function E(t,e=""){let i=te(),n=$e(),o=t+ot,r=n.firstCreatePass?ji(n,o,1,e,null):n.data[o],s=nw(n,i,r,e,t);i[o]=s,Ds()&&Ss(n,i,s,r),Yn(r,!1)}var nw=(t,e,i,n,o)=>(Ms(!0),C0(e[Le],n));function oe(t){return B("",t,""),oe}function B(t,e,i){let n=te(),o=wf(n,t,e,i);return o!==Tt&&nf(n,sn(),o),B}function zt(t,e,i,n,o){let r=te(),s=xC(r,t,e,i,n,o);return s!==Tt&&nf(r,sn(),s),zt}function Qn(t,e,i){vf(e)&&(e=e());let n=te(),o=Pi();if(St(n,o,e)){let r=$e(),s=xs();Vc(r,s,n,t,e,n[Le],i,!1)}return Qn}function Li(t,e){let i=vf(t);return i&&t.set(e),i}function Kn(t,e){let i=te(),n=$e(),o=rt();return Of(n,i,i[Le],o,t,e),Kn}function iw(t,e,i){let n=$e();if(n.firstCreatePass){let o=hn(t);Kl(i,n.data,n.blueprint,o,!0),Kl(e,n.data,n.blueprint,o,!1)}}function Kl(t,e,i,n,o){if(t=dt(t),Array.isArray(t))for(let r=0;r<t.length;r++)Kl(t[r],e,i,n,o);else{let r=$e(),s=te(),a=rt(),l=Di(t)?t:dt(t.provide),c=$m(t),u=a.providerIndexes&1048575,h=a.directiveStart,v=a.providerIndexes>>20;if(Di(t)||!t.multi){let x=new Un(c,o,w),T=al(l,e,o?u:u+v,h);T===-1?(yl(os(a,s),r,l),sl(r,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push(x),s.push(x)):(i[T]=x,s[T]=x)}else{let x=al(l,e,u+v,h),T=al(l,e,u,u+v),F=x>=0&&i[x],Q=T>=0&&i[T];if(o&&!Q||!o&&!F){yl(os(a,s),r,l);let $=sw(o?rw:ow,i.length,o,n,c);!o&&Q&&(i[T].providerFactory=$),sl(r,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push($),s.push($)}else{let $=Pf(i[o?T:x],c,!o&&n);sl(r,t,x>-1?x:T,$)}!o&&n&&Q&&i[T].componentProviders++}}}function sl(t,e,i,n){let o=Di(e),r=ev(e);if(o||r){let l=(r?dt(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let u=c.indexOf(i);u===-1?c.push(i,[n,l]):c[u+1].push(n,l)}else c.push(i,l)}}}function Pf(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function al(t,e,i,n){for(let o=i;o<n;o++)if(e[o]===t)return o;return-1}function ow(t,e,i,n){return Xl(this.multi,[])}function rw(t,e,i,n){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Wn(i,i[ee],this.providerFactory.index,n);r=a.slice(0,s),Xl(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],Xl(o,r);return r}function Xl(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function sw(t,e,i,n,o){let r=new Un(t,i,w);return r.multi=[],r.index=e,r.componentProviders=0,Pf(r,o,n&&!i),r}function K(t,e=[]){return i=>{i.providersResolver=(n,o)=>iw(n,o?o(t):t,e)}}var aw=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Bm(!1,n.type),r=o.length>0?gC([o],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()}}};e.\u0275prov=q({token:e,providedIn:"environment",factory:()=>new e(j(gn))});let t=e;return t})();function S(t){js("NgStandalone"),t.getStandaloneInjector=e=>e.get(aw).getOrCreateStandaloneInjector(t)}function we(t,e,i,n){return Ff(te(),No(),t,e,i,n)}function ft(t,e,i,n,o){return lw(te(),No(),t,e,i,n,o)}function wt(t,e,i,n,o,r){return cw(te(),No(),t,e,i,n,o,r)}function Af(t,e,i,n,o,r,s){return dw(te(),No(),t,e,i,n,o,r,s)}function Ls(t,e){let i=t[e];return i===Tt?void 0:i}function Ff(t,e,i,n,o,r){let s=e+i;return St(t,s,o)?Rs(t,s+1,r?n.call(r,o):n(o)):Ls(t,s+1)}function lw(t,e,i,n,o,r,s){let a=e+i;return So(t,a,o,r)?Rs(t,a+2,s?n.call(s,o,r):n(o,r)):Ls(t,a+2)}function cw(t,e,i,n,o,r,s,a){let l=e+i;return bC(t,l,o,r,s)?Rs(t,l+3,a?n.call(a,o,r,s):n(o,r,s)):Ls(t,l+3)}function dw(t,e,i,n,o,r,s,a,l){let c=e+i;return _C(t,c,o,r,s,a)?Rs(t,c+4,l?n.call(l,o,r,s,a):n(o,r,s,a)):Ls(t,c+4)}function L(t,e){let i=$e(),n,o=t+ot;i.firstCreatePass?(n=uw(e,i.pipeRegistry),i.data[o]=n,n.onDestroy&&(i.destroyHooks??=[]).push(o,n.onDestroy)):n=i.data[o];let r=n.factory||(n.factory=Bn(n.type,!0)),s,a=Et(w);try{let l=is(!1),c=r();return is(l),tw(i,te(),o,c),c}finally{Et(a)}}function uw(t,e){if(e)for(let i=e.length-1;i>=0;i--){let n=e[i];if(t===n.name)return n}}function V(t,e,i){let n=t+ot,o=te(),r=Xm(o,n);return mw(o,n)?Ff(o,No(),e,r.transform,i,r):r.transform(i)}function mw(t,e){return t[ee].data[e].pure}function gt(t,e){return Ns(t,e)}var Nf=new U("");function Ho(t){return!!t&&typeof t.then=="function"}function jf(t){return!!t&&typeof t.subscribe=="function"}var pw=new U(""),Rf=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=be(pw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let s=r();if(Ho(s))n.push(s);else if(jf(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(r=>{this.reject(r)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fw=new U("");function gw(){ou(()=>{throw new pe(600,!1)})}function hw(t){return t.isBoundToModule}function bw(t,e,i){try{let n=i();return Ho(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var $o=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=be(wp),this.afterRenderEffectManager=be(mf),this.externalTestViews=new Set,this.beforeRender=new ye,this.afterTick=new ye,this.componentTypes=[],this.components=[],this.isStable=be(yf).hasPendingTasks.pipe(Fe(n=>!n)),this._injector=be(gn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let r=n instanceof cs;if(!this._injector.get(Rf).done){let x=!r&&Y_(n),T=!1;throw new pe(405,T)}let a;r?a=n:a=this._injector.get(Ri).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=hw(a)?void 0:this._injector.get(Si),c=o||a.selector,u=a.create(Fi.NULL,[],c,l),h=u.location.nativeElement,v=u.injector.get(Nf,null);return v?.registerApplication(h),u.onDestroy(()=>{this.detachView(u.hostView),ll(this.components,u),v?.unregisterApplication(h)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new pe(101,!1);let o=de(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,de(o)}}detectChangesInAttachedViews(n){let o=0,r=this.afterRenderEffectManager;for(;;){if(o===af)throw new pe(103,!1);if(n){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)_w(a,s,l)}if(o++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Jl(s))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Jl(s))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;ll(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(fw,[]);[...this._bootstrapListeners,...o].forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ll(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new pe(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ll(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function _w(t,e,i){!e&&!Jl(t)||vw(t,i,e)}function Jl(t){return Cc(t)}function vw(t,e,i){let n;i?(n=0,t[Y]|=1024):t[Y]&64?n=0:n=1,lf(t,e,n)}var yw=(()=>{let e=class e{constructor(){this.zone=be(Ce),this.applicationRef=be($o)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Cw(t){return[{provide:Ce,useFactory:t},{provide:_o,multi:!0,useFactory:()=>{let e=be(yw,{optional:!0});return()=>e.initialize()}},{provide:_o,multi:!0,useFactory:()=>{let e=be(Mw);return()=>{e.initialize()}}},{provide:wp,useFactory:ww}]}function ww(){let t=be(Ce),e=be(Yt);return i=>t.runOutsideAngular(()=>e.handleError(i))}function xw(t){let e=Cw(()=>new Ce(Dw(t)));return Vm([[],e])}function Dw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Mw=(()=>{let e=class e{constructor(){this.subscription=new He,this.initialized=!1,this.zone=be(Ce),this.pendingTasks=be(yf)}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(()=>{Ce.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ce.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Iw(){return typeof $localize<"u"&&$localize.locale||hs}var Vs=new U("",{providedIn:"root",factory:()=>be(Vs,me.Optional|me.SkipSelf)||Iw()});var Lf=new U("");var Zr=null;function Ew(t=[],e){return Fi.create({name:e,providers:[{provide:vs,useValue:"platform"},{provide:Lf,useValue:new Set([()=>Zr=null])},...t]})}function kw(t=[]){if(Zr)return Zr;let e=Ew(t);return Zr=e,gw(),Sw(e),e}function Sw(t){t.get(Sc,null)?.forEach(i=>i())}var xt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Ow;let t=e;return t})();function Ow(t){return Tw(rt(),te(),(t&16)===16)}function Tw(t,e,i){if(Cs(t)&&!i){let n=_n(t.index,e);return new Gn(n,n)}else if(t.type&47){let n=e[kt];return new Gn(n,e)}return null}var ec=class{constructor(){}supports(e){return Cf(e)}create(e){return new tc(e)}},Pw=(t,e)=>e,tc=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Pw}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,o=0,r=null;for(;i||n;){let s=!n||i&&i.currentIndex<gm(n,o,r)?i:n,a=gm(s,o,r),l=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)o++;else{r||(r=[]);let c=a-o,u=l-o;if(c!=u){for(let v=0;v<c;v++){let x=v<r.length?r[v]:r[v]=0,T=x+v;u<=T&&T<c&&(r[v]=x+1)}let h=s.previousIndex;r[h]=u-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!Cf(e))throw new pe(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,o,r,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)r=e[a],s=this._trackByFn(a,r),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,r,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,r,s,a)),Object.is(i.item,r)||this._addIdentityChange(i,r)),i=i._next}else o=0,hC(e,a=>{s=this._trackByFn(o,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,o),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,o)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,o++}),this.length=o;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,o){let r;return e===null?r=this._itTail:(r=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,r,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,r,o)):e=this._addAfter(new nc(i,n),r,o)),e}_verifyReinsertion(e,i,n,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return r!==null?e=this._reinsertAfter(r,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}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(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,r=e._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let o=i===null?this._itHead:i._next;return e._next=o,e._prev=i,o===null?this._itTail=e:o._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new bs),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new bs),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},nc=class{constructor(e,i){this.item=e,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},ic=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},bs=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new ic,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,o=this.map.get(n);return o?o.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function gm(t,e,i){let n=t.previousIndex;if(n===null)return n;let o=0;return i&&n<i.length&&(o=i[n]),n+e+o}var oc=class{constructor(){}supports(e){return e instanceof Map||Gc(e)}create(){return new rc}},rc=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let i;for(i=this._mapHead;i!==null;i=i._next)e(i)}forEachPreviousItem(e){let i;for(i=this._previousMapHead;i!==null;i=i._nextPrevious)e(i)}forEachChangedItem(e){let i;for(i=this._changesHead;i!==null;i=i._nextChanged)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Gc(e)))throw new pe(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(i&&i.key===o)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{let r=this._getOrCreateRecordForKey(o,n);i=this._insertBeforeOrAppend(i,r)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,i){if(e){let n=e._prev;return i._next=e,i._prev=n,e._prev=i,n&&(n._next=i),e===this._mapHead&&(this._mapHead=i),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(e,i){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,i);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let n=new sc(e);return this._records.set(e,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,i){Object.is(i,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=i,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,i){e instanceof Map?e.forEach(i):Object.keys(e).forEach(n=>i(e[n],n))}},sc=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function hm(){return new Vi([new ec])}var Vi=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||hm()),deps:[[e,new Em,new dc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o!=null)return o;throw new pe(901,!1)}};e.\u0275prov=q({token:e,providedIn:"root",factory:hm});let t=e;return t})();function bm(){return new qc([new oc])}var qc=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||bm()),deps:[[e,new Em,new dc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o)return o;throw new pe(901,!1)}};e.\u0275prov=q({token:e,providedIn:"root",factory:bm});let t=e;return t})();function Vf(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,o=kw(n),r=[xw(),...i||[]],a=new ps({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(Ce);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(Yt,null),u;l.runOutsideAngular(()=>{u=l.onError.subscribe({next:x=>{c.handleError(x)}})});let h=()=>a.destroy(),v=o.get(Lf);return v.add(h),a.onDestroy(()=>{u.unsubscribe(),v.delete(h)}),bw(c,l,()=>{let x=a.get(Rf);return x.runInitializers(),x.donePromise.then(()=>{let T=a.get(Vs,hs);XC(T||hs);let F=a.get($o);return e!==void 0&&F.bootstrap(e),F})})})}catch(e){return Promise.reject(e)}}function D(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function xn(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}var Bs={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return Bs.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Bs.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function Aw(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function Fw(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function Nw(t){return typeof t=="function"}var Zc;function jw(t,e){if(!Zc){let i=Element.prototype;Zc=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Zc.call(t,e):!1}function Rw(t,e){return t===e||t!==t&&e!==e}function Lw(t){let e={};return t.forEach(({propName:i,templateName:n,transform:o})=>{e[Aw(n)]=[i,o]}),e}function Vw(t,e){return e.get(Ri).resolveComponentFactory(t).inputs}function Bw(t,e){let i=t.childNodes,n=e.map(()=>[]),o=-1;e.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=i.length;r<s;++r){let a=i[r],l=zw(a,e,o);l!==-1&&n[l].push(a)}return n}function zw(t,e,i){let n=i;return Fw(t)&&e.some((o,r)=>o!=="*"&&jw(t,o)?(n=r,!0):!1),n}var Hw=10,Yc=class{constructor(e,i){this.componentFactory=i.get(Ri).resolveComponentFactory(e)}create(e){return new Qc(this.componentFactory,e)}},Qc=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new Nn(1),this.events=this.eventEmitters.pipe(fi(n=>tn(...n))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:n})=>n)),this.ngZone=this.injector.get(Ce),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Bs.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},Hw))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}Rw(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=Fi.create({providers:[],parent:this.injector}),n=Bw(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(xt),this.implementsOnChanges=Nw(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get($o).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:o})=>e.instance[n].pipe(Fe(s=>({name:o,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Bs.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let o=this.unchangedInputs.has(e),r=o?void 0:this.getInputValue(e);this.inputChanges[e]=new wo(r,i,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Kc=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Ve(t,e){let i=Vw(t,e.injector),n=e.strategyFactory||new Yc(t,e.injector),o=Lw(i),s=class s extends Kc{get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:c,transform:u})=>{if(!this.hasOwnProperty(c))return;let h=this[c];delete this[c],l.setInputValue(c,h,u)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,c,u,h){let[v,x]=o[l];this.ngElementStrategy.setInputValue(v,u,x)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let c=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(c)})}};s.observedAttributes=Object.keys(o);let r=s;return i.forEach(({propName:a,transform:l})=>{Object.defineProperty(r.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(c){this.ngElementStrategy.setInputValue(a,c,l)},configurable:!0,enumerable:!0})}),r}var $f=null;function Bi(){return $f}function Uf(t){$f??=t}var Hs=class{};var Qe=new U("");function Wf(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[o,r]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(o.trim()===e)return decodeURIComponent(r)}return null}var Xc=/\s+/,Bf=[],X=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Bf,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Xc):Bf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Xc):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==o&&(r.changed=!0,r.enabled=o),r.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],r=n[1];r.changed?(this._toggleClass(o,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),r.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(Xc).forEach(r=>{o?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};e.\u0275fac=function(o){return new(o||e)(w(se),w(an))},e.\u0275dir=Z({type:e,selectors:[["","ngClass",""]],inputs:{klass:[_.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Jc=class{constructor(e,i,n,o){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=o}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}},ve=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,r){this._viewContainer=n,this._template=o,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else 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 o=this._viewContainer;n.forEachOperation((r,s,a)=>{if(r.previousIndex==null)o.createEmbeddedView(this._template,new Jc(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let l=o.get(s);o.move(l,a),zf(l,r)}});for(let r=0,s=o.length;r<s;r++){let l=o.get(r).context;l.index=r,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let s=o.get(r.currentIndex);zf(s,r)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(w(Kt),w(_e),w(Vi))},e.\u0275dir=Z({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function zf(t,e){t.context.$implicit=e.item}var Be=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new ed,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Hf("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Hf("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(w(Kt),w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),ed=class{constructor(){this.$implicit=null,this.ngIf=null}};function Hf(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${yt(e)}'.`)}var Gf=(()=>{let e=class e{constructor(n,o,r){this._ngEl=n,this._differs=o,this._renderer=r,this._ngStyle=null,this._differ=null}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,o){let[r,s]=n.split("."),a=r.indexOf("-")===-1?void 0:Qt.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(w(se),w(qc),w(an))},e.\u0275dir=Z({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),ln=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,r):!1,get:(n,o,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,r)}})}};e.\u0275fac=function(o){return new(o||e)(w(Kt))},e.\u0275dir=Z({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ue]});let t=e;return t})();var N=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({});let t=e;return t})(),td="browser",$w="server";function qf(t){return t===td}function nd(t){return t===$w}var $s=class{};var rd=class extends Hs{constructor(){super(...arguments),this.supportsDOMEvents=!0}},sd=class t extends rd{static makeCurrent(){Uf(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=Ww();return i==null?null:Gw(i)}resetBaseElement(){Uo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Wf(document.cookie,e)}},Uo=null;function Ww(){return Uo=Uo||document.querySelector("base"),Uo?Uo.getAttribute("href"):null}function Gw(t){return new URL(t,document.baseURI).pathname}var qw=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),ad=new U(""),Kf=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,r){return this._findPluginFor(o).addEventListener(n,o,r)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new pe(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(j(ad),j(Ce))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Us=class{constructor(e){this._doc=e}},id="ng-app-id",Xf=(()=>{let e=class e{constructor(n,o,r,s={}){this.doc=n,this.appId=o,this.nonce=r,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=nd(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(r=>r.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${id}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(r=>{r.textContent!=null&&o.set(r.textContent,r)}),o}return null}changeUsageCount(n,o){let r=this.styleRef;if(r.has(n)){let s=r.get(n);return s.usage+=o,s.usage}return r.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let r=this.styleNodesInDOM,s=r?.get(o);if(s?.parentNode===n)return r.delete(o),s.removeAttribute(id),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(id,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let r=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(r):s.set(o,{elements:[r],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(j(Qe),j(Es),j(Ro,8),j(vn))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),od={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},cd=/%COMP%/g,Jf="%COMP%",Zw=`_nghost-${Jf}`,Yw=`_ngcontent-${Jf}`,Qw=!0,Kw=new U("",{providedIn:"root",factory:()=>Qw});function Xw(t){return Yw.replace(cd,t)}function Jw(t){return Zw.replace(cd,t)}function eg(t,e){return e.map(i=>i.replace(cd,t))}var Zf=(()=>{let e=class e{constructor(n,o,r,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=nd(l),this.defaultRenderer=new Wo(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===qt.ShadowDom&&(o=ht(ce({},o),{encapsulation:qt.Emulated}));let r=this.getOrCreateRenderer(n,o);return r instanceof Ws?r.applyToHost(n):r instanceof Go&&r.applyStyles(),r}getOrCreateRenderer(n,o){let r=this.rendererByCompId,s=r.get(o.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(o.encapsulation){case qt.Emulated:s=new Ws(c,u,o,this.appId,h,a,l,v);break;case qt.ShadowDom:return new ld(c,u,n,o,a,l,this.nonce,v);default:s=new Go(c,u,o,h,a,l,v);break}r.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(j(Kf),j(Xf),j(Es),j(Kw),j(Qe),j(vn),j(Ce),j(Ro))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Wo=class{constructor(e,i,n,o){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(od[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Yf(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(Yf(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new pe(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,o){if(o){i=o+":"+i;let r=od[o];r?e.setAttributeNS(r,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let o=od[n];o?e.removeAttributeNS(o,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,o){o&(Qt.DashCase|Qt.Important)?e.style.setProperty(i,n,o&Qt.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&Qt.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=Bi().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function Yf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ld=class extends Wo{constructor(e,i,n,o,r,s,a,l){super(e,r,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=eg(o.id,o.styles);for(let u of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=u,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Go=class extends Wo{constructor(e,i,n,o,r,s,a,l){super(e,r,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=o,this.styles=l?eg(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ws=class extends Go{constructor(e,i,n,o,r,s,a,l){let c=o+"-"+n.id;super(e,i,n,r,s,a,l,c),this.contentAttr=Xw(c),this.hostAttr=Jw(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},ex=(()=>{let e=class e extends Us{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,r){return n.addEventListener(o,r,!1),()=>this.removeEventListener(n,o,r)}removeEventListener(n,o,r){return n.removeEventListener(o,r)}};e.\u0275fac=function(o){return new(o||e)(j(Qe))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Qf=["alt","control","meta","shift"],tx={"\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"},nx={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ix=(()=>{let e=class e extends Us{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,r){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Bi().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),r=o.shift();if(o.length===0||!(r==="keydown"||r==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),Qf.forEach(u=>{let h=o.indexOf(u);h>-1&&(o.splice(h,1),a+=u+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=r,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let r=tx[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(r=n.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Qf.forEach(a=>{if(a!==r){let l=nx[a];l(n)&&(s+=a+".")}}),s+=r,s===o)}static eventCallback(n,o,r){return s=>{e.matchEventFullKeyCode(s,n)&&r.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(j(Qe))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})();function tg(t){return Vf(ox(t))}function ox(t){return{appProviders:[...cx,...t?.providers??[]],platformProviders:lx}}function rx(){sd.makeCurrent()}function sx(){return new Yt}function ax(){return Sp(document),document}var lx=[{provide:vn,useValue:td},{provide:Sc,useValue:rx,multi:!0},{provide:Qe,useFactory:ax,deps:[]}];var cx=[{provide:vs,useValue:"root"},{provide:Yt,useFactory:sx,deps:[]},{provide:ad,useClass:ex,multi:!0,deps:[Qe,Ce,vn]},{provide:ad,useClass:ix,multi:!0,deps:[Qe]},Zf,Xf,Kf,{provide:ko,useExisting:Zf},{provide:$s,useClass:qw,deps:[]},[]];var cg=(()=>{let e=class e{constructor(n,o){this._renderer=n,this._elementRef=o,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(n,o){this._renderer.setProperty(this._elementRef.nativeElement,n,o)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(o){return new(o||e)(w(an),w(se))},e.\u0275dir=Z({type:e});let t=e;return t})(),dx=(()=>{let e=class e extends cg{};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=st(e)))(r||e)}})(),e.\u0275dir=Z({type:e,features:[z]});let t=e;return t})(),Ys=new U("");var ux={provide:Ys,useExisting:Zn(()=>dg),multi:!0};function mx(){let t=Bi()?Bi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var px=new U(""),dg=(()=>{let e=class e extends cg{constructor(n,o,r){super(n,o),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!mx())}writeValue(n){let o=n??"";this.setProperty("value",o)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(o){return new(o||e)(w(an),w(se),w(px,8))},e.\u0275dir=Z({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(o,r){o&1&&b("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},features:[K([ux]),z]});let t=e;return t})();var fx=new U(""),gx=new U("");function ug(t){return t!=null}function mg(t){return Ho(t)?Re(t):t}function pg(t){let e={};return t.forEach(i=>{e=i!=null?ce(ce({},e),i):e}),Object.keys(e).length===0?null:e}function fg(t,e){return e.map(i=>i(t))}function hx(t){return!t.validate}function gg(t){return t.map(e=>hx(e)?e:i=>e.validate(i))}function bx(t){if(!t)return null;let e=t.filter(ug);return e.length==0?null:function(i){return pg(fg(i,e))}}function hg(t){return t!=null?bx(gg(t)):null}function _x(t){if(!t)return null;let e=t.filter(ug);return e.length==0?null:function(i){let n=fg(i,e).map(mg);return mo(n).pipe(Fe(pg))}}function bg(t){return t!=null?_x(gg(t)):null}function ng(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function vx(t){return t._rawValidators}function yx(t){return t._rawAsyncValidators}function dd(t){return t?Array.isArray(t)?t:[t]:[]}function qs(t,e){return Array.isArray(t)?t.includes(e):t===e}function ig(t,e){let i=dd(e);return dd(t).forEach(o=>{qs(i,o)||i.push(o)}),i}function og(t,e){return dd(e).filter(i=>!qs(t,i))}var Zs=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=hg(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=bg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},ud=class extends Zs{get formDirective(){return null}get path(){return null}},Yo=class extends Zs{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},md=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Cx={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},UF=ht(ce({},Cx),{"[class.ng-submitted]":"isSubmitted"}),Qs=(()=>{let e=class e extends md{constructor(n){super(n)}};e.\u0275fac=function(o){return new(o||e)(w(Yo,2))},e.\u0275dir=Z({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,r){o&2&&J("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[z]});let t=e;return t})();var qo="VALID",Gs="INVALID",zi="PENDING",Zo="DISABLED";function wx(t){return(Ks(t)?t.validators:t)||null}function xx(t){return Array.isArray(t)?hg(t):t||null}function Dx(t,e){return(Ks(e)?e.asyncValidators:t)||null}function Mx(t){return Array.isArray(t)?bg(t):t||null}function Ks(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var pd=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===qo}get invalid(){return this.status===Gs}get pending(){return this.status==zi}get disabled(){return this.status===Zo}get enabled(){return this.status!==Zo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(ig(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ig(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(og(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(og(e,this._rawAsyncValidators))}hasValidator(e){return qs(this._rawValidators,e)}hasAsyncValidator(e){return qs(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=zi,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Zo,this.errors=null,this._forEachChild(n=>{n.disable(ht(ce({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ht(ce({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=qo,this._forEachChild(n=>{n.enable(ht(ce({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ht(ce({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===qo||this.status===zi)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zo:qo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=zi,this._hasOwnPendingAsyncValidator=!0;let i=mg(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,o)=>n&&n._find(o),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new y,this.statusChanges=new y}_calculateStatus(){return this._allControlsDisabled()?Zo:this.errors?Gs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zi)?zi:this._anyControlsHaveStatus(Gs)?Gs:qo}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ks(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=xx(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Mx(this._rawAsyncValidators)}};var _g=new U("CallSetDisabledState",{providedIn:"root",factory:()=>fd}),fd="always";function Ix(t,e){return[...e.path,t]}function Ex(t,e,i=fd){Sx(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),Ox(t,e),Px(t,e),Tx(t,e),kx(t,e)}function rg(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function kx(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function Sx(t,e){let i=vx(t);e.validator!==null?t.setValidators(ng(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=yx(t);e.asyncValidator!==null?t.setAsyncValidators(ng(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let o=()=>t.updateValueAndValidity();rg(e._rawValidators,o),rg(e._rawAsyncValidators,o)}function Ox(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&vg(t,e)})}function Tx(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&vg(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function vg(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Px(t,e){let i=(n,o)=>{e.valueAccessor.writeValue(n),o&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function Ax(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function Fx(t){return Object.getPrototypeOf(t.constructor)===dx}function Nx(t,e){if(!e)return null;Array.isArray(e);let i,n,o;return e.forEach(r=>{r.constructor===dg?i=r:Fx(r)?n=r:o=r}),o||n||i||null}function sg(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function ag(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var jx=class extends pd{constructor(e=null,i,n){super(wx(i),Dx(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ks(i)&&(i.nonNullable||i.initialValueIsDefault)&&(ag(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){sg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){sg(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){ag(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var Rx={provide:Yo,useExisting:Zn(()=>Qo)},lg=Promise.resolve(),Qo=(()=>{let e=class e extends Yo{constructor(n,o,r,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new jx,this._registered=!1,this.name="",this.update=new y,this._parent=n,this._setValidators(o),this._setAsyncValidators(r),this.valueAccessor=Nx(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let o=n.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),Ax(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ex(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){lg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let o=n.isDisabled.currentValue,r=o!==0&&D(o);lg.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?Ix(n,this._parent):[n]}};e.\u0275fac=function(o){return new(o||e)(w(ud,9),w(fx,10),w(gx,10),w(Ys,10),w(xt,8),w(_g,8))},e.\u0275dir=Z({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[_.None,"disabled","isDisabled"],model:[_.None,"ngModel","model"],options:[_.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[K([Rx]),z,Ue]});let t=e;return t})();var Lx=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({});let t=e;return t})();var Xs=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:_g,useValue:n.callSetDisabledState??fd}]}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({imports:[Lx]});let t=e;return t})();var Vx=["content"],Bx=["scroll"],zx=["padding"],xg=["*"],Xo=t=>({searchTerm:t});function Hx(t,e){if(t&1&&(m(0,"div",6),Xe(1,7),f()),t&2){let i=g();d(),p("ngTemplateOutlet",i.headerTemplate)("ngTemplateOutletContext",we(2,Xo,i.filterValue))}}function $x(t,e){if(t&1&&(m(0,"div",8),Xe(1,7),f()),t&2){let i=g();d(),p("ngTemplateOutlet",i.footerTemplate)("ngTemplateOutletContext",we(2,Xo,i.filterValue))}}var Ux=["searchInput"],Wx=["clearButton"],Gx=(t,e,i)=>({item:t,clear:e,label:i}),qx=(t,e)=>({items:t,clear:e}),Zx=(t,e,i,n)=>({item:t,item$:e,index:i,searchTerm:n});function Yx(t,e){if(t&1){let i=A();m(0,"span",22),b("click",function(){M(i);let o=g().$implicit,r=g(2);return I(r.unselect(o))}),E(1,"\xD7"),f(),O(2,"span",23)}if(t&2){let i=g().$implicit,n=g(2);d(2),p("ngItemLabel",i.label)("escape",n.escapeHTML)}}function Qx(t,e){}function Kx(t,e){if(t&1&&(m(0,"div",20),C(1,Yx,3,2,"ng-template",null,1,gt)(3,Qx,0,0,"ng-template",21),f()),t&2){let i=e.$implicit,n=qe(2),o=g(2);J("ng-value-disabled",i.disabled),d(3),p("ngTemplateOutlet",o.labelTemplate||n)("ngTemplateOutletContext",wt(4,Gx,i.value,o.clearItem,i.label))}}function Xx(t,e){if(t&1&&(ut(0),C(1,Kx,4,8,"div",19),mt()),t&2){let i=g();d(),p("ngForOf",i.selectedItems)("ngForTrackBy",i.trackByOption)}}function Jx(t,e){}function e1(t,e){if(t&1&&C(0,Jx,0,0,"ng-template",21),t&2){let i=g();p("ngTemplateOutlet",i.multiLabelTemplate)("ngTemplateOutletContext",ft(2,qx,i.selectedValues,i.clearItem))}}function t1(t,e){t&1&&O(0,"div",25)}function n1(t,e){}function i1(t,e){if(t&1&&(ut(0),C(1,t1,1,0,"ng-template",null,2,gt)(3,n1,0,0,"ng-template",24),mt()),t&2){let i=qe(2),n=g();d(3),p("ngTemplateOutlet",n.loadingSpinnerTemplate||i)}}function o1(t,e){if(t&1&&(m(0,"span",26,3)(2,"span",27),E(3,"\xD7"),f()()),t&2){let i=g();ge("title",i.clearAllText)}}function r1(t,e){if(t&1&&O(0,"span",32),t&2){let i=g().$implicit,n=g(2);p("ngItemLabel",i.label)("escape",n.escapeHTML)}}function s1(t,e){}function a1(t,e){if(t&1){let i=A();m(0,"div",31),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r.toggleItem(o))})("mouseover",function(){let o=M(i).$implicit,r=g(2);return I(r.onItemHover(o))}),C(1,r1,1,2,"ng-template",null,4,gt)(3,s1,0,0,"ng-template",21),f()}if(t&2){let i=e.$implicit,n=qe(2),o=g(2);J("ng-option-disabled",i.disabled)("ng-option-selected",i.selected)("ng-optgroup",i.children)("ng-option",!i.children)("ng-option-child",!!i.parent)("ng-option-marked",i===o.itemsList.markedItem),W("role",i.children?"group":"option")("aria-selected",i.selected)("id",i==null?null:i.htmlId),d(3),p("ngTemplateOutlet",i.children?o.optgroupTemplate||n:o.optionTemplate||n)("ngTemplateOutletContext",Af(17,Zx,i.value,i,i.index,o.searchTerm))}}function l1(t,e){if(t&1&&(m(0,"span")(1,"span",34),E(2),f(),E(3),f()),t&2){let i=g(3);d(2),oe(i.addTagText),d(),B('"',i.searchTerm,'"')}}function c1(t,e){}function d1(t,e){if(t&1){let i=A();m(0,"div",33),b("mouseover",function(){M(i);let o=g(2);return I(o.itemsList.unmarkItem())})("click",function(){M(i);let o=g(2);return I(o.selectTag())}),C(1,l1,4,2,"ng-template",null,5,gt)(3,c1,0,0,"ng-template",21),f()}if(t&2){let i=qe(2),n=g(2);J("ng-option-marked",!n.itemsList.markedItem),d(3),p("ngTemplateOutlet",n.tagTemplate||i)("ngTemplateOutletContext",we(4,Xo,n.searchTerm))}}function u1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=g(3);d(),oe(i.notFoundText)}}function m1(t,e){}function p1(t,e){if(t&1&&(ut(0),C(1,u1,2,1,"ng-template",null,6,gt)(3,m1,0,0,"ng-template",21),mt()),t&2){let i=qe(2),n=g(2);d(3),p("ngTemplateOutlet",n.notFoundTemplate||i)("ngTemplateOutletContext",we(2,Xo,n.searchTerm))}}function f1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=g(3);d(),oe(i.typeToSearchText)}}function g1(t,e){}function h1(t,e){if(t&1&&(ut(0),C(1,f1,2,1,"ng-template",null,7,gt)(3,g1,0,0,"ng-template",24),mt()),t&2){let i=qe(2),n=g(2);d(3),p("ngTemplateOutlet",n.typeToSearchTemplate||i)}}function b1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=g(3);d(),oe(i.loadingText)}}function _1(t,e){}function v1(t,e){if(t&1&&(ut(0),C(1,b1,2,1,"ng-template",null,8,gt)(3,_1,0,0,"ng-template",21),mt()),t&2){let i=qe(2),n=g(2);d(3),p("ngTemplateOutlet",n.loadingTextTemplate||i)("ngTemplateOutletContext",we(2,Xo,n.searchTerm))}}function y1(t,e){if(t&1){let i=A();m(0,"ng-dropdown-panel",28),b("update",function(o){M(i);let r=g();return I(r.viewPortItems=o)})("scroll",function(o){M(i);let r=g();return I(r.scroll.emit(o))})("scrollToEnd",function(o){M(i);let r=g();return I(r.scrollToEnd.emit(o))})("outsideClick",function(){M(i);let o=g();return I(o.close())}),ut(1),C(2,a1,4,22,"div",29)(3,d1,4,6,"div",30),mt(),C(4,p1,4,4,"ng-container",12)(5,h1,4,1,"ng-container",12)(6,v1,4,4,"ng-container",12),f()}if(t&2){let i=g();J("ng-select-multiple",i.multiple),p("virtualScroll",i.virtualScroll)("bufferAmount",i.bufferAmount)("appendTo",i.appendTo)("position",i.dropdownPosition)("headerTemplate",i.headerTemplate)("footerTemplate",i.footerTemplate)("filterValue",i.searchTerm)("items",i.itemsList.filteredItems)("markedItem",i.itemsList.markedItem)("ngClass",i.appendTo?i.classes:null)("id",i.dropdownId),d(2),p("ngForOf",i.viewPortItems)("ngForTrackBy",i.trackByOption),d(),p("ngIf",i.showAddTag),d(),p("ngIf",i.showNoItemsFound()),d(),p("ngIf",i.showTypeToSearch()),d(),p("ngIf",i.loading&&i.itemsList.filteredItems.length===0)}}var Dg=/[&<>"']/g,C1=RegExp(Dg.source),w1={"&":"&","<":"<",">":">",'"':""","'":"'"};function x1(t){return t&&C1.test(t)?t.replace(Dg,e=>w1[e]):t}function ze(t){return t!=null}function Ko(t){return typeof t=="object"&&ze(t)}function D1(t){return t instanceof Promise}function ea(t){return t instanceof Function}var M1=(()=>{let e=class e{constructor(n){this.element=n,this.escape=!0}ngOnChanges(n){this.element.nativeElement.innerHTML=this.escape?x1(this.ngItemLabel):this.ngItemLabel}};e.\u0275fac=function(o){return new(o||e)(w(se))},e.\u0275dir=Z({type:e,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[Ue]});let t=e;return t})(),I1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-option-tmp",""]]});let t=e;return t})(),E1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-optgroup-tmp",""]]});let t=e;return t})(),k1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-label-tmp",""]]});let t=e;return t})(),S1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-multi-label-tmp",""]]});let t=e;return t})(),O1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-header-tmp",""]]});let t=e;return t})(),T1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-footer-tmp",""]]});let t=e;return t})(),P1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-notfound-tmp",""]]});let t=e;return t})(),A1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-typetosearch-tmp",""]]});let t=e;return t})(),F1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-loadingtext-tmp",""]]});let t=e;return t})(),N1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-tag-tmp",""]]});let t=e;return t})(),j1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-loadingspinner-tmp",""]]});let t=e;return t})();function Mg(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var R1={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function Js(t){let e=i=>R1[i]||i;return t.replace(/[^\u0000-\u007E]/g,e)}var gd=class{constructor(e,i){this._ngSelect=e,this._selectionModel=i,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let e=this.selectedItems.length-1;for(;e>=0;e--){let i=this.selectedItems[e];if(!i.disabled)return i}return null}setItems(e){this._items=e.map((i,n)=>this.mapItem(i,n)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(e){if(e.selected||this.maxItemsSelected)return;let i=this._ngSelect.multiple;i||this.clearSelected(),this._selectionModel.select(e,i,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(e)}unselect(e){e.selected&&(this._selectionModel.unselect(e,this._ngSelect.multiple),this._ngSelect.hideSelected&&ze(e.index)&&this._ngSelect.multiple&&this._showSelected(e))}findItem(e){let i;return this._ngSelect.compareWith?i=n=>this._ngSelect.compareWith(n.value,e):this._ngSelect.bindValue?i=n=>!n.children&&this.resolveNested(n.value,this._ngSelect.bindValue)===e:i=n=>n.value===e||!n.children&&n.label&&n.label===this.resolveNested(e,this._ngSelect.bindLabel),this._items.find(n=>i(n))}addItem(e){let i=this.mapItem(e,this._items.length);return this._items.push(i),this._filteredItems.push(i),i}clearSelected(e=!1){this._selectionModel.clear(e),this._items.forEach(i=>{i.selected=e&&i.selected&&i.disabled,i.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(e){return e=Js(e).toLocaleLowerCase(),this.filteredItems.find(i=>Js(i.label).toLocaleLowerCase().substr(0,e.length)===e)}filter(e){if(!e){this.resetFilteredItems();return}this._filteredItems=[],e=this._ngSelect.searchFn?e:Js(e).toLocaleLowerCase();let i=this._ngSelect.searchFn||this._defaultSearchFn,n=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(n&&(s.parent&&s.parent.selected||s.selected))continue;let a=this._ngSelect.searchFn?s.value:s;i(e,a)&&r.push(s)}if(r.length>0){let[s]=r.slice(-1);if(s.parent){let a=this._items.find(l=>l===s.parent);this._filteredItems.push(a)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(e=>!e.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(e){this._markedIndex=this._filteredItems.indexOf(e)}markSelectedOrDefault(e){if(this._filteredItems.length===0)return;let i=this._getLastMarkedIndex();i>-1?this._markedIndex=i:this._markedIndex=e?this.filteredItems.findIndex(n=>!n.disabled):-1}resolveNested(e,i){if(!Ko(e))return e;if(i.indexOf(".")===-1)return e[i];{let n=i.split("."),o=e;for(let r=0,s=n.length;r<s;++r){if(o==null)return null;o=o[n[r]]}return o}}mapItem(e,i){let n=ze(e.$ngOptionLabel)?e.$ngOptionLabel:this.resolveNested(e,this._ngSelect.bindLabel),o=ze(e.$ngOptionValue)?e.$ngOptionValue:e;return{index:i,label:ze(n)?n.toString():"",value:o,disabled:e.disabled,htmlId:`${this._ngSelect.dropdownId}-${i}`}}mapSelectedItems(){let e=this._ngSelect.multiple;for(let i of this.selectedItems){let n=this._ngSelect.bindValue?this.resolveNested(i.value,this._ngSelect.bindValue):i.value,o=ze(n)?this.findItem(n):null;this._selectionModel.unselect(i,e),this._selectionModel.select(o||i,e,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(i=>this.selectedItems.indexOf(i)===-1))}_showSelected(e){if(this._filteredItems.push(e),e.parent){let i=e.parent;this._filteredItems.find(o=>o===i)||this._filteredItems.push(i)}else if(e.children)for(let i of e.children)i.selected=!1,this._filteredItems.push(i);this._filteredItems=[...this._filteredItems.sort((i,n)=>i.index-n.index)]}_hideSelected(e){this._filteredItems=this._filteredItems.filter(i=>i!==e),e.parent?e.parent.children.every(n=>n.selected)&&(this._filteredItems=this._filteredItems.filter(n=>n!==e.parent)):e.children&&(this._filteredItems=this.filteredItems.filter(i=>i.parent!==e))}_defaultSearchFn(e,i){return Js(i.label).toLocaleLowerCase().indexOf(e)>-1}_getNextItemIndex(e){return e>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(e){this._filteredItems.length===0||this._filteredItems.every(i=>i.disabled)||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let e=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&e<0?-1:Math.max(this.markedIndex,e)}_groupBy(e,i){let n=new Map;if(e.length===0)return n;if(Array.isArray(e[0].value[i])){for(let s of e){let a=(s.value[i]||[]).map((l,c)=>this.mapItem(l,c));n.set(s,a)}return n}let o=ea(this._ngSelect.groupBy),r=s=>{let a=o?i(s.value):s.value[i];return ze(a)?a:void 0};for(let s of e){let a=r(s),l=n.get(a);l?l.push(s):n.set(a,[s])}return n}_flatten(e){let i=ea(this._ngSelect.groupBy),n=[];for(let o of Array.from(e.keys())){let r=n.length;if(o===void 0){let h=e.get(void 0)||[];n.push(...h.map(v=>(v.index=r++,v)));continue}let s=Ko(o),a={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:Mg()},l=i?this._ngSelect.bindLabel:this._ngSelect.groupBy,c=this._ngSelect.groupValue||(()=>s?o.value:{[l]:o}),u=e.get(o).map(h=>(h.parent=a,h.children=void 0,h.index=r++,h));a.children=u,a.value=c(o,u.map(h=>h.value)),n.push(a),n.push(...u)}return n}},Xt=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",t}(Xt||{}),Ig=(()=>{let e=class e{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(n,o,r){let s=this._dimensions,a=s.itemHeight*o,c=Math.max(0,n)/a*o,u=Math.min(o,Math.ceil(c)+(s.itemsPerViewport+1)),v=Math.max(0,u-s.itemsPerViewport),x=Math.min(v,Math.floor(c)),T=s.itemHeight*Math.ceil(x)-s.itemHeight*Math.min(x,r);return T=isNaN(T)?0:T,x=isNaN(x)?-1:x,u=isNaN(u)?-1:u,x-=r,x=Math.max(0,x),u+=r,u=Math.min(o,u),{topPadding:T,scrollHeight:a,start:x,end:u}}setDimensions(n,o){let r=Math.max(1,Math.floor(o/n));this._dimensions={itemHeight:n,panelHeight:o,itemsPerViewport:r}}getScrollTo(n,o,r){let{panelHeight:s}=this.dimensions,a=n+o,l=r,c=l+s;return s>=a&&r===n?null:a>c?l+a-c:n<=l?n:null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Cg=["top","right","bottom","left"],L1=typeof requestAnimationFrame<"u"?za:Ba,wg=(()=>{let e=class e{constructor(n,o,r,s,a){this._renderer=n,this._zone=o,this._panelService=r,this._document=a,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new y,this.scroll=new y,this.scrollToEnd=new y,this.outsideClick=new y,this._destroy$=new ye,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=s.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(n){n!==this._itemsLength&&(this._itemsLength=n,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:n,panelHeight:o}=this._panelService.dimensions,r=this.markedItem.index*n;return o>r?0:r}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(n){if(n.items){let o=n.items;this._onItemsChange(o.currentValue,o.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(n,o=!1){if(!n)return;let r=this.items.indexOf(n);if(r<0||r>=this.itemsLength)return;let s;if(this.virtualScroll){let a=this._panelService.dimensions.itemHeight;s=this._panelService.getScrollTo(r*a,a,this._lastScrollPosition)}else{let a=this._dropdown.querySelector(`#${n.htmlId}`),l=o?a.offsetTop:this._lastScrollPosition;s=this._panelService.getScrollTo(a.offsetTop,a.clientHeight,l)}ze(s)&&(this._scrollablePanel.scrollTop=s)}scrollToTag(){let n=this._scrollablePanel;n.scrollTop=n.scrollHeight-n.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Cg.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(n){Cg.forEach(r=>{let s=`ng-select-${r}`;this._renderer.removeClass(this._dropdown,s),this._renderer.removeClass(this._select,s)});let o=`ng-select-${n}`;this._renderer.addClass(this._dropdown,o),this._renderer.addClass(this._select,o)}_handleScroll(){this._zone.runOutsideAngular(()=>{mn(this.scrollElementRef.nativeElement,"scroll").pipe(ct(this._destroy$),Ua(0,L1)).subscribe(n=>{let o=n.path||n.composedPath&&n.composedPath();if(!o||o.length===0&&!n.target)return;let r=!o||o.length===0?n.target.scrollTop:o[0].scrollTop;this._onContentScrolled(r)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{tn(mn(this._document,"touchstart",{capture:!0}),mn(this._document,"mousedown",{capture:!0})).pipe(ct(this._destroy$)).subscribe(n=>this._checkToClose(n))})}_checkToClose(n){if(this._select.contains(n.target)||this._dropdown.contains(n.target))return;let o=n.path||n.composedPath&&n.composedPath();n.target&&n.target.shadowRoot&&o&&o[0]&&this._select.contains(o[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(n,o){this.items=n||[],this._scrollToEndFired=!1,this.itemsLength=n.length,this.virtualScroll?this._updateItemsRange(o):(this._setVirtualHeight(),this._updateItems(o))}_updateItems(n){this.update.emit(this.items),n!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let o=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,o),this._handleDropdownPosition(),this.scrollTo(this.markedItem,n)})})}_updateItemsRange(n){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{n?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(n){this.virtualScroll&&this._renderItemsRange(n),this._lastScrollPosition=n,this._fireScrollToEnd(n)}_updateVirtualHeight(n){this._updateScrollHeight&&(this._virtualPadding.style.height=`${n}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(n=null){if(n&&this._lastScrollPosition===n)return;n=n||this._scrollablePanel.scrollTop;let o=this._panelService.calculateItems(n,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(o.scrollHeight),this._contentPanel.style.transform=`translateY(${o.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(o.start,o.end)),this.scroll.emit({start:o.start,end:o.end})}),ze(n)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=n,this._lastScrollPosition=n)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[n]=this.items;return this.update.emit([n]),Promise.resolve().then(()=>{let r=this._dropdown.querySelector(`#${n.htmlId}`).clientHeight;this._virtualPadding.style.height=`${r*this.itemsLength}px`;let s=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(r,s),this._panelService.dimensions})}_fireScrollToEnd(n){if(this._scrollToEndFired||n===0)return;let o=this.virtualScroll?this._virtualPadding:this._contentPanel;n+this._dropdown.clientHeight>=o.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(n){if(this.position!=="auto")return this.position;let o=this._select.getBoundingClientRect(),r=document.documentElement.scrollTop||document.body.scrollTop,s=o.top+window.pageYOffset,a=o.height,l=n.getBoundingClientRect().height;return s+a+l>r+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let n=this._select.getBoundingClientRect(),o=this._parent.getBoundingClientRect(),r=n.left-o.left;this._dropdown.style.left=r+"px",this._dropdown.style.width=n.width+"px",this._dropdown.style.minWidth=n.width+"px"}_updateYPosition(){let n=this._select.getBoundingClientRect(),o=this._parent.getBoundingClientRect(),r=n.height;if(this._currentPosition==="top"){let s=o.bottom-n.bottom;this._dropdown.style.bottom=s+r+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let s=n.top-o.top;this._dropdown.style.top=s+r+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{mn(this._dropdown,"mousedown").pipe(ct(this._destroy$)).subscribe(n=>{n.target.tagName!=="INPUT"&&n.preventDefault()})})}};e.\u0275fac=function(o){return new(o||e)(w(an),w(Ce),w(Ig),w(se),w(Qe,8))},e.\u0275cmp=k({type:e,selectors:[["ng-dropdown-panel"]],viewQuery:function(o,r){if(o&1&&(tt(Vx,7,se),tt(Bx,7,se),tt(zx,7,se)),o&2){let s;De(s=Me())&&(r.contentElementRef=s.first),De(s=Me())&&(r.scrollElementRef=s.first),De(s=Me())&&(r.paddingElementRef=s.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[Ue],ngContentSelectors:xg,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(o,r){o&1&&(We(),C(0,Hx,2,4,"div",3),m(1,"div",4,0),O(3,"div",null,1),m(5,"div",null,2),Ae(7),f()(),C(8,$x,2,4,"div",5)),o&2&&(p("ngIf",r.headerTemplate),d(3),J("total-padding",r.virtualScroll),d(2),J("scrollable-content",r.virtualScroll&&r.items.length),d(3),p("ngIf",r.footerTemplate))},dependencies:[Be,ln],encapsulation:2,changeDetection:0});let t=e;return t})(),Jo=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){this._disabled=this._isDisabled(n)}constructor(n){this.elementRef=n,this.stateChange$=new ye,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(n){n.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(n){return n!=null&&`${n}`!="false"}};e.\u0275fac=function(o){return new(o||e)(w(se))},e.\u0275cmp=k({type:e,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[Ue],ngContentSelectors:xg,decls:1,vars:0,template:function(o,r){o&1&&(We(),Ae(0))},encapsulation:2,changeDetection:0});let t=e;return t})(),V1=(()=>{let e=class e{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),B1=(()=>{let e=class e{warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Eg=new U("ng-select-selection-model"),ta=(()=>{let e=class e{get items(){return this._items}set items(n){n===null&&(n=[]),this._itemsAreUsed=!0,this._items=n}get compareWith(){return this._compareWith}set compareWith(n){if(n!=null&&!ea(n))throw Error("`compareWith` must be a function.");this._compareWith=n}get clearSearchOnAdd(){return ze(this._clearSearchOnAdd)?this._clearSearchOnAdd:ze(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(n){this._clearSearchOnAdd=n}get deselectOnClick(){return ze(this._deselectOnClick)?this._deselectOnClick:ze(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(n){this._deselectOnClick=n}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(n,o,r,s,a,l,c){this.classes=n,this.autoFocus=o,this.config=r,this._cd=l,this._console=c,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=u=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new y,this.focusEvent=new y,this.changeEvent=new y,this.openEvent=new y,this.closeEvent=new y,this.searchEvent=new y,this.clearEvent=new y,this.addEvent=new y,this.removeEvent=new y,this.scroll=new y,this.scrollToEnd=new y,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Mg(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ye,this._keyPress$=new ye,this._onChange=u=>{},this._onTouched=()=>{},this.clearItem=u=>{let h=this.selectedItems.find(v=>v.value===u);this.unselect(h)},this.trackByOption=(u,h)=>this.trackByFn?this.trackByFn(h.value):h,this._mergeGlobalConfig(r),this.itemsList=new gd(this,s()),this.element=a.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(n=>n.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(n){n.multiple&&this.itemsList.clearSelected(),n.items&&this._setItems(n.items.currentValue||[]),n.isOpen&&(this._manualOpen=ze(n.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),ze(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(n){if(Xt[n.which]){if(this.keyDownFn(n)===!1)return;this.handleKeyCode(n)}else n.key&&n.key.length===1&&this._keyPress$.next(n.key.toLocaleLowerCase())}handleKeyCode(n){let o=n.target;this.clearButton&&this.clearButton.nativeElement===o?this.handleKeyCodeClear(n):this.handleKeyCodeInput(n)}handleKeyCodeInput(n){switch(n.which){case Xt.ArrowDown:this._handleArrowDown(n);break;case Xt.ArrowUp:this._handleArrowUp(n);break;case Xt.Space:this._handleSpace(n);break;case Xt.Enter:this._handleEnter(n);break;case Xt.Tab:this._handleTab(n);break;case Xt.Esc:this.close(),n.preventDefault();break;case Xt.Backspace:this._handleBackspace();break}}handleKeyCodeClear(n){switch(n.which){case Xt.Enter:this.handleClearClick(),n.preventDefault();break}}handleMousedown(n){let o=n.target;if(o.tagName!=="INPUT"&&n.preventDefault(),o.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(o.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}o.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(n){this.itemsList.clearSelected(),this._handleWriteValue(n),this._cd.markForCheck()}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this._disabled=n,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(n){!n||n.disabled||this.disabled||(this.deselectOnClick&&n.selected?this.unselect(n):this.select(n),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(n){n.selected||(this.itemsList.select(n),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(n.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(n){n&&(this.itemsList.unselect(n),this.focus(),this._updateNgModel(),this.removeEvent.emit(n.value))}selectTag(){let n;ea(this.addTag)?n=this.addTag(this.searchTerm):n=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let o=r=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(r,null):this.itemsList.addItem(r);D1(n)?n.then(r=>this.select(o(r))).catch(()=>{}):n&&this.select(o(n))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}get showAddTag(){if(!this._validTerm)return!1;let n=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(o=>o.label.toLowerCase()===n)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(o=>o.label.toLowerCase()===n))&&!this.loading}showNoItemsFound(){let n=this.itemsList.filteredItems.length===0;return(n&&!this._isTypeahead&&!this.loading||n&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(n){this._isComposing=!1,!this.searchWhileComposing&&this.filter(n)}filter(n){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=n,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(n),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:n,items:this.itemsList.filteredItems.map(o=>o.value)}),this.open())}onInputFocus(n){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(n),this.focused=!0)}onInputBlur(n){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(n),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(n){n.disabled||this.itemsList.markItem(n)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let n=this.selectedItems&&this.selectedItems[0];this.searchTerm=n&&n.label||null}_setItems(n){let o=n[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=ze(o)?!Ko(o):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(n),n.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&ze(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let n=r=>{this.items=r.map(s=>({$ngOptionValue:s.value,$ngOptionLabel:s.elementRef.nativeElement.innerHTML,disabled:s.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},o=()=>{let r=tn(this.ngOptions.changes,this._destroy$);tn(...this.ngOptions.map(s=>s.stateChange$)).pipe(ct(r)).subscribe(s=>{let a=this.itemsList.findItem(s.value);a.disabled=s.disabled,a.label=s.label||a.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(fo(this.ngOptions),ct(this._destroy$)).subscribe(r=>{this.bindLabel=this._defaultLabel,n(r),o()})}_isValidWriteValue(n){if(!ze(n)||this.multiple&&n===""||Array.isArray(n)&&n.length===0)return!1;let o=r=>!ze(this.compareWith)&&Ko(r)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(r)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(n)?n.every(r=>o(r)):(this._console.warn("Multiple select ngModel should be array."),!1):o(n)}_handleWriteValue(n){if(!this._isValidWriteValue(n))return;let o=r=>{let s=this.itemsList.findItem(r);if(s)this.itemsList.select(s);else{let a=Ko(r),l=!a&&!this.bindValue;a||l?this.itemsList.select(this.itemsList.mapItem(r,null)):this.bindValue&&(s={[this.bindLabel]:null,[this.bindValue]:r},this.itemsList.select(this.itemsList.mapItem(s,null)))}};this.multiple?n.forEach(r=>o(r)):o(n)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(ct(this._destroy$),Vr(n=>this._pressedKeys.push(n)),pi(200),Rn(()=>this._pressedKeys.length>0),Fe(()=>this._pressedKeys.join(""))).subscribe(n=>{let o=this.itemsList.findByLabel(n);o&&(this.isOpen?(this.itemsList.markItem(o),this._scrollToMarked(),this._cd.markForCheck()):this.select(o)),this._pressedKeys=[]})}_setInputAttributes(){let n=this.searchInput.nativeElement,o=ce({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let r of Object.keys(o))n.setAttribute(r,o[r])}_updateNgModel(){let n=[];for(let r of this.selectedItems)if(this.bindValue){let s=null;if(r.children){let a=this.groupValue?this.bindValue:this.groupBy;s=r.value[a||this.groupBy]}else s=this.itemsList.resolveNested(r.value,this.bindValue);n.push(s)}else n.push(r.value);let o=this.selectedItems.map(r=>r.value);this.multiple?(this._onChange(n),this.changeEvent.emit(o)):(this._onChange(ze(n[0])?n[0]:null),this.changeEvent.emit(o[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(n){this.searchTerm=n,this._isTypeahead&&this.typeahead.next(n)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(n){if(this.isOpen===!1){if(this.showClear())this.focusOnClear(),n.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),n.preventDefault()):this.showAddTag?(this.selectTag(),n.preventDefault()):this.close():this.close()}_handleEnter(n){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;n.preventDefault()}_handleSpace(n){this.isOpen||this._manualOpen||(this.open(),n.preventDefault())}_handleArrowDown(n){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),n.preventDefault()}_handleArrowUp(n){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),n.preventDefault())}_nextItemIsTag(n){let o=this.itemsList.markedIndex+n;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(o<0||o===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let n=this.searchTerm&&this.searchTerm.trim();return n&&n.length>=this.minTermLength}_mergeGlobalConfig(n){this.placeholder=this.placeholder||n.placeholder,this.notFoundText=this.notFoundText||n.notFoundText,this.typeToSearchText=this.typeToSearchText||n.typeToSearchText,this.addTagText=this.addTagText||n.addTagText,this.loadingText=this.loadingText||n.loadingText,this.clearAllText=this.clearAllText||n.clearAllText,this.virtualScroll=ze(this.virtualScroll)?this.virtualScroll:ze(n.disableVirtualScroll)?!n.disableVirtualScroll:!1,this.openOnEnter=ze(this.openOnEnter)?this.openOnEnter:n.openOnEnter,this.appendTo=this.appendTo||n.appendTo,this.bindValue=this.bindValue||n.bindValue,this.bindLabel=this.bindLabel||n.bindLabel,this.appearance=this.appearance||n.appearance}};e.\u0275fac=function(o){return new(o||e)(Ai("class"),Ai("autofocus"),w(V1),w(Eg),w(se),w(xt),w(B1))},e.\u0275cmp=k({type:e,selectors:[["ng-select"]],contentQueries:function(o,r,s){if(o&1&&(pt(s,I1,5,_e),pt(s,E1,5,_e),pt(s,k1,5,_e),pt(s,S1,5,_e),pt(s,O1,5,_e),pt(s,T1,5,_e),pt(s,P1,5,_e),pt(s,A1,5,_e),pt(s,F1,5,_e),pt(s,N1,5,_e),pt(s,j1,5,_e),pt(s,Jo,5)),o&2){let a;De(a=Me())&&(r.optionTemplate=a.first),De(a=Me())&&(r.optgroupTemplate=a.first),De(a=Me())&&(r.labelTemplate=a.first),De(a=Me())&&(r.multiLabelTemplate=a.first),De(a=Me())&&(r.headerTemplate=a.first),De(a=Me())&&(r.footerTemplate=a.first),De(a=Me())&&(r.notFoundTemplate=a.first),De(a=Me())&&(r.typeToSearchTemplate=a.first),De(a=Me())&&(r.loadingTextTemplate=a.first),De(a=Me())&&(r.tagTemplate=a.first),De(a=Me())&&(r.loadingSpinnerTemplate=a.first),De(a=Me())&&(r.ngOptions=a)}},viewQuery:function(o,r){if(o&1&&(tt(wg,5),tt(Ux,7),tt(Wx,5)),o&2){let s;De(s=Me())&&(r.dropdownPanel=s.first),De(s=Me())&&(r.searchInput=s.first),De(s=Me())&&(r.clearButton=s.first)}},hostVars:20,hostBindings:function(o,r){o&1&&b("keydown",function(a){return r.handleKeyDown(a)}),o&2&&J("ng-select-typeahead",r.typeahead)("ng-select-multiple",r.multiple)("ng-select-taggable",r.addTag)("ng-select-searchable",r.searchable)("ng-select-clearable",r.clearable)("ng-select-opened",r.isOpen)("ng-select",r.useDefaultClass)("ng-select-disabled",r.disabled)("ng-select-filtered",r.filtered)("ng-select-single",r.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[K([{provide:Ys,useExisting:Zn(()=>e),multi:!0},Ig]),Ue],decls:14,vars:19,consts:[["searchInput",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"input","compositionstart","compositionend","focus","blur","change","readOnly","disabled","value"],["class","ng-clear-wrapper","tabindex","0",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],["tabindex","0",1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(o,r){if(o&1){let s=A();m(0,"div",9),b("mousedown",function(l){return M(s),I(r.handleMousedown(l))}),m(1,"div",10)(2,"div",11),E(3),f(),C(4,Xx,2,2,"ng-container",12)(5,e1,1,5,null,12),m(6,"div",13)(7,"input",14,0),b("input",function(){M(s);let l=qe(8);return I(r.filter(l.value))})("compositionstart",function(){return M(s),I(r.onCompositionStart())})("compositionend",function(){M(s);let l=qe(8);return I(r.onCompositionEnd(l.value))})("focus",function(l){return M(s),I(r.onInputFocus(l))})("blur",function(l){return M(s),I(r.onInputBlur(l))})("change",function(l){return M(s),I(l.stopPropagation())}),f()()(),C(9,i1,4,1,"ng-container",12)(10,o1,4,1,"span",15),m(11,"span",16),O(12,"span",17),f()(),C(13,y1,7,19,"ng-dropdown-panel",18)}o&2&&(J("ng-appearance-outline",r.appearance==="outline")("ng-has-value",r.hasValue),d(3),oe(r.placeholder),d(),p("ngIf",(!r.multiLabelTemplate||!r.multiple)&&r.selectedItems.length>0),d(),p("ngIf",r.multiple&&r.multiLabelTemplate&&r.selectedValues.length>0),d(),W("aria-expanded",r.isOpen)("aria-owns",r.isOpen?r.dropdownId:null),d(),p("readOnly",!r.searchable||r.itemsList.maxItemsSelected)("disabled",r.disabled)("value",r.searchTerm?r.searchTerm:""),W("id",r.labelForId)("tabindex",r.tabIndex)("aria-activedescendant",r.isOpen?r.itemsList==null||r.itemsList.markedItem==null?null:r.itemsList.markedItem.htmlId:null)("aria-controls",r.isOpen?r.dropdownId:null),d(2),p("ngIf",r.loading),d(),p("ngIf",r.showClear()),d(3),p("ngIf",r.isOpen))},dependencies:[X,ve,Be,ln,wg,M1],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
|
|
8
8
|
`],encapsulation:2,changeDetection:0});let t=e;return t})();function z1(){return new hd}var hd=class{constructor(){this._selected=[]}get value(){return this._selected}select(e,i,n){if(e.selected=!0,(!e.children||!i&&n)&&this._selected.push(e),i)if(e.parent){let o=e.parent.children.length,r=e.parent.children.filter(s=>s.selected).length;e.parent.selected=o===r}else e.children&&(this._setChildrenSelectedState(e.children,!0),this._removeChildren(e),n&&this._activeChildren(e)?this._selected=[...this._selected.filter(o=>o.parent!==e),e]:this._selected=[...this._selected,...e.children.filter(o=>!o.disabled)])}unselect(e,i){if(this._selected=this._selected.filter(n=>n!==e),e.selected=!1,i)if(e.parent&&e.parent.selected){let n=e.parent.children;this._removeParent(e.parent),this._removeChildren(e.parent),this._selected.push(...n.filter(o=>o!==e&&!o.disabled)),e.parent.selected=!1}else e.children&&(this._setChildrenSelectedState(e.children,!1),this._removeChildren(e))}clear(e){this._selected=e?this._selected.filter(i=>i.disabled):[]}_setChildrenSelectedState(e,i){for(let n of e)n.disabled||(n.selected=i)}_removeChildren(e){this._selected=[...this._selected.filter(i=>i.parent!==e),...e.children.filter(i=>i.parent===e&&i.disabled&&i.selected)]}_removeParent(e){this._selected=this._selected.filter(i=>i!==e)}_activeChildren(e){return e.children.every(i=>!i.disabled||i.selected)}},na=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({providers:[{provide:Eg,useValue:z1}],imports:[N]});let t=e;return t})();var Hi=class{},Sg=(()=>{class t extends Hi{getTranslation(i){return lt({})}static \u0275fac=(()=>{let i;return function(o){return(i||(i=st(t)))(o||t)}})();static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})(),Xn=class{},Og=(()=>{class t{handle(i){return i.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})();function ia(t,e){if(t===e)return!0;if(t===null||e===null)return!1;if(t!==t&&e!==e)return!0;let i=typeof t,n=typeof e,o,r,s;if(i==n&&i=="object")if(Array.isArray(t)){if(!Array.isArray(e))return!1;if((o=t.length)==e.length){for(r=0;r<o;r++)if(!ia(t[r],e[r]))return!1;return!0}}else{if(Array.isArray(e))return!1;s=Object.create(null);for(r in t){if(!ia(t[r],e[r]))return!1;s[r]=!0}for(r in e)if(!(r in s)&&typeof e[r]<"u")return!1;return!0}return!1}function Dn(t){return typeof t<"u"&&t!==null}function bd(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Ag(t,e){let i=Object.assign({},t);return bd(t)&&bd(e)&&Object.keys(e).forEach(n=>{bd(e[n])?n in t?i[n]=Ag(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}var $i=class{},Tg=(()=>{class t extends $i{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(i,n){let o;return typeof i=="string"?o=this.interpolateString(i,n):typeof i=="function"?o=this.interpolateFunction(i,n):o=i,o}getValue(i,n){let o=typeof n=="string"?n.split("."):[n];n="";do n+=o.shift(),Dn(i)&&Dn(i[n])&&(typeof i[n]=="object"||!o.length)?(i=i[n],n=""):o.length?n+=".":i=void 0;while(o.length);return i}interpolateFunction(i,n){return i(n)}interpolateString(i,n){return n?i.replace(this.templateMatcher,(o,r)=>{let s=this.getValue(n,r);return Dn(s)?s:o}):i}static \u0275fac=(()=>{let i;return function(o){return(i||(i=st(t)))(o||t)}})();static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})(),Ui=class{},Pg=(()=>{class t extends Ui{compile(i,n){return i}compileTranslations(i,n){return i}static \u0275fac=(()=>{let i;return function(o){return(i||(i=st(t)))(o||t)}})();static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})(),oa=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new y;onLangChange=new y;onDefaultLangChange=new y},_d=new U("USE_STORE"),vd=new U("USE_DEFAULT_LANG"),yd=new U("DEFAULT_LANGUAGE"),Cd=new U("USE_EXTEND"),P=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new y;_onLangChange=new y;_onDefaultLangChange=new y;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(i){this.isolate?this._defaultLang=i:this.store.defaultLang=i}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(i){this.isolate?this._currentLang=i:this.store.currentLang=i}get langs(){return this.isolate?this._langs:this.store.langs}set langs(i){this.isolate?this._langs=i:this.store.langs=i}get translations(){return this.isolate?this._translations:this.store.translations}set translations(i){this.isolate?this._translations=i:this.store.translations=i}constructor(i,n,o,r,s,a=!0,l=!1,c=!1,u){this.store=i,this.currentLoader=n,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,u&&this.setDefaultLang(u)}setDefaultLang(i){if(i===this.defaultLang)return;let n=this.retrieveTranslations(i);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=i),n.pipe(It(1)).subscribe(o=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(i===this.currentLang)return lt(this.translations[i]);let n=this.retrieveTranslations(i);return typeof n<"u"?(this.currentLang||(this.currentLang=i),n.pipe(It(1)).subscribe(o=>{this.changeLang(i)}),n):(this.changeLang(i),lt(this.translations[i]))}retrieveTranslations(i){let n;return(typeof this.translations[i]>"u"||this.extend)&&(this._translationRequests[i]=this._translationRequests[i]||this.getTranslation(i),n=this._translationRequests[i]),n}getTranslation(i){this.pending=!0;let n=this.currentLoader.getTranslation(i).pipe(Lr(1),It(1));return this.loadingTranslations=n.pipe(Fe(o=>this.compiler.compileTranslations(o,i)),Lr(1),It(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[i]=this.extend&&this.translations[i]?ce(ce({},o),this.translations[i]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),n}setTranslation(i,n,o=!1){n=this.compiler.compileTranslations(n,i),(o||this.extend)&&this.translations[i]?this.translations[i]=Ag(this.translations[i],n):this.translations[i]=n,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){i.forEach(n=>{this.langs.indexOf(n)===-1&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(i,n,o){let r;if(n instanceof Array){let s={},a=!1;for(let l of n)s[l]=this.getParsedResult(i,l,o),Mt(s[l])&&(a=!0);if(a){let l=n.map(c=>Mt(s[c])?s[c]:lt(s[c]));return mo(l).pipe(Fe(c=>{let u={};return c.forEach((h,v)=>{u[n[v]]=h}),u}))}return s}if(i&&(r=this.parser.interpolate(this.parser.getValue(i,n),o)),typeof r>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),o)),typeof r>"u"){let s={key:n,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return typeof r<"u"?r:n}get(i,n){if(!Dn(i)||!i.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(pn(o=>(o=this.getParsedResult(o,i,n),Mt(o)?o:lt(o))));{let o=this.getParsedResult(this.translations[this.currentLang],i,n);return Mt(o)?o:lt(o)}}getStreamOnTranslationChange(i,n){if(!Dn(i)||!i.length)throw new Error('Parameter "key" required');return en(Rr(()=>this.get(i,n)),this.onTranslationChange.pipe(fi(o=>{let r=this.getParsedResult(o.translations,i,n);return typeof r.subscribe=="function"?r:lt(r)})))}stream(i,n){if(!Dn(i)||!i.length)throw new Error('Parameter "key" required');return en(Rr(()=>this.get(i,n)),this.onLangChange.pipe(fi(o=>{let r=this.getParsedResult(o.translations,i,n);return Mt(r)?r:lt(r)})))}instant(i,n){if(!Dn(i)||!i.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],i,n);if(Mt(o)){if(i instanceof Array){let r={};return i.forEach((s,a)=>{r[i[a]]=i[a]}),r}return i}else return o}set(i,n,o=this.currentLang){this.translations[o][i]=this.compiler.compile(n,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(i){this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i)}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.getTranslation(i)}resetLang(i){this._translationRequests[i]=void 0,this.translations[i]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;if(i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof i>"u"))return i.indexOf("-")!==-1&&(i=i.split("-")[0]),i.indexOf("_")!==-1&&(i=i.split("_")[0]),i}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;return i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,i}static \u0275fac=function(n){return new(n||t)(j(oa),j(Hi),j(Ui),j($i),j(Xn),j(vd),j(_d),j(Cd),j(yd))};static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})();var Ie=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(i,n){this.translate=i,this._ref=n}updateValue(i,n,o){let r=s=>{this.value=s!==void 0?s:i,this.lastKey=i,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,i,n);Mt(s.subscribe)?s.subscribe(r):r(s)}this.translate.get(i,n).subscribe(r)}transform(i,...n){if(!i||!i.length)return i;if(ia(i,this.lastKey)&&ia(n,this.lastParams))return this.value;let o;if(Dn(n[0])&&n.length)if(typeof n[0]=="string"&&n[0].length){let r=n[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(r)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else typeof n[0]=="object"&&!Array.isArray(n[0])&&(o=n[0]);return this.lastKey=i,this.lastParams=n,this.updateValue(i,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,o))})),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(n){return new(n||t)(w(P,16),w(xt,16))};static \u0275pipe=Ao({name:"translate",type:t,pure:!1});static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})(),ne=(()=>{class t{static forRoot(i={}){return{ngModule:t,providers:[i.loader||{provide:Hi,useClass:Sg},i.compiler||{provide:Ui,useClass:Pg},i.parser||{provide:$i,useClass:Tg},i.missingTranslationHandler||{provide:Xn,useClass:Og},oa,{provide:_d,useValue:i.isolate},{provide:vd,useValue:i.useDefaultLang},{provide:Cd,useValue:i.extend},{provide:yd,useValue:i.defaultLanguage},P]}}static forChild(i={}){return{ngModule:t,providers:[i.loader||{provide:Hi,useClass:Sg},i.compiler||{provide:Ui,useClass:Pg},i.parser||{provide:$i,useClass:Tg},i.missingTranslationHandler||{provide:Xn,useClass:Og},{provide:_d,useValue:i.isolate},{provide:vd,useValue:i.useDefaultLang},{provide:Cd,useValue:i.extend},{provide:yd,useValue:i.defaultLanguage},P]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Pe({type:t});static \u0275inj=Te({})}return t})();var ie=(()=>{let e=class e{constructor(n){this.translateService=n,this._selectedLanguage="en",this._localizedStrings={}}get selectedLanguage(){return this._selectedLanguage}set selectedLanguage(n){this._selectedLanguage=n,this.translateService.use(n);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings)}catch(o){console.error(o)}}get localizedStrings(){return this._localizedStrings}set localizedStrings(n){this._localizedStrings=n,this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,n)}catch(o){console.error(o)}}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[K([P]),S],decls:2,vars:0,template:function(o,r){o&1&&(m(0,"p"),E(1," localized widget works! "),f())},dependencies:[N,ne],encapsulation:3});let t=e;return t})();var H1=["*"];function $1(t,e){if(t&1&&(m(0,"div",1)(1,"div",3)(2,"span"),E(3),f()()()),t&2){let i=g();d(3),oe(i.header)}}var Wi=(()=>{let e=class e{constructor(){this.header=""}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{header:"header"},standalone:!0,features:[S],ngContentSelectors:H1,decls:4,vars:1,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-header__title"]],template:function(o,r){o&1&&(We(),m(0,"div",0),C(1,$1,4,1,"div",1),m(2,"div",2),Ae(3),f()()),o&2&&(d(),H(1,r.header?1:-1))},styles:[`.sidenav-drawer-header{width:100%;background-color:#f5f5f5cc;transition:background-color .7s;display:inline-block}.sidenav-drawer-header__title{font-size:1.8rem;flex-shrink:0;height:2.4rem;line-height:2.4rem;font-weight:600;padding-left:1.4rem;padding-bottom:0;margin-top:1rem;margin-bottom:1.2rem;overflow:hidden}.sidenav-drawer-content-layout{display:flex;flex-direction:column;flex:1;width:100%;height:100%}.sidenav-drawer-content-offset{margin:var(--sidenav-drawer-content-offset, .8rem)}.sidenav-drawer-content{width:100%;height:100%}
|
|
9
9
|
`],encapsulation:2});let t=e;return t})();function U1(t,e){if(t&1){let i=A();ut(0),m(1,"button",2),b("click",function(){let o=M(i).$implicit,r=g();return I(r._buttonClicked(o))}),E(2),f(),mt()}if(t&2){let i=e.$implicit,n=e.last,o=e.first;d(),J("last",n)("first",o)("primary-button",i.buttonStyle===void 0||i.buttonStyle==="primary")("secondary-button",i.buttonStyle==="secondary")("text-button",i.buttonType===void 0||i.buttonType==="text")("icon-button",i.buttonType==="icon")("combined-button",i.buttonType==="combined")("disabled",i.disabled===!0),ge("title",i.tooltip),d(),B(" ",i.title," ")}}var ra=(()=>{let e=class e extends ie{constructor(){super(...arguments),this._items=new Array,this.buttonClicked=new y}get items(){return this._items}set items(n){this._items=n}_buttonClicked(n){n.disabled||this.buttonClicked.emit({id:n.id})}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=st(e)))(r||e)}})(),e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-buttons-row"]],inputs:{items:"items"},outputs:{buttonClicked:"buttonClicked"},standalone:!0,features:[z,S],decls:2,vars:1,consts:[[1,"button-row"],[4,"ngFor","ngForOf"],[3,"click","title"]],template:function(o,r){o&1&&(m(0,"div",0),C(1,U1,3,18,"ng-container",1),f()),o&2&&(d(),p("ngForOf",r._items))},dependencies:[ve],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent #999;border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:0;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px #0000000f;background-color:#f5f5f5}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:#999}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:#f9f9f9;border:1px solid #e6e6e6}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:#333;background-color:#fff1eb;border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:#f9f9f9}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid #b8dbff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:#000}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:#999}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#d0021b}.ng-select .ng-clear-wrapper:focus .ng-clear{color:#d0021b}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px #0000000f;left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:#e6e6e6;margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:#0000008a;cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:#f5f5f5}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:#0000008a;background-color:#fff1eb;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:#000000de;padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:#333;background-color:#fff1eb}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:#f5f5f5;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.button-row{display:flex;margin-left:var(--button-row-margin-left, 0);margin-right:var(--button-row-margin-right, 0);margin-top:var(--button-row-margin-top, .8rem);margin-bottom:var(--button-row-margin-bottom, .8rem);justify-content:flex-end}.button-row>.primary-button{text-transform:uppercase;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.2rem);font-weight:var(--font-weight, 700);display:inline-block;height:var(--button-height, 2.4rem);white-space:nowrap;border-radius:var(--button-border-style, .2rem);vertical-align:middle;border-color:var(--button--color, #fe5000);border-style:var(--button-border-style, solid);border-width:var(--button-border-style, .2rem);color:var(--button-button-text-color, white);background-color:var(--button--color, #fe5000);cursor:pointer;margin-right:var(--buttons-spacing, .8rem)}.button-row>.primary-button.last{margin-right:0}.button-row>.primary-button:hover{border-color:var(--button-color-hover, #eb4b00);color:var(--button-button-text-color, white);background-color:var(--button-color-hover, #eb4b00);outline:0}.button-row>.primary-button.disabled{border-color:var(--button-color-disabled, #bababa);color:var(--button-button-text-color, white);background-color:var(--button-color-disabled, #bababa);cursor:default}
|
|
10
10
|
`],encapsulation:3});let t=e;return t})();var W1=[[["lib-expansion-panel-header"]],"*"],G1=["lib-expansion-panel-header","*"],Mn=(()=>{let e=class e{constructor(){this.expanded=!0}toggleExpand(){this.expanded=!this.expanded}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-expansion-panel"]],inputs:{expanded:"expanded"},standalone:!0,features:[S],ngContentSelectors:G1,decls:7,vars:2,consts:[[1,"expansion-panel"],[1,"expansion-panel-header-row"],[1,"expansion-panel-expander-icon",3,"click","ngClass"],[1,"expansion-panel-header-content"],[1,"expansion-panel-content-container",3,"ngClass"]],template:function(o,r){o&1&&(We(W1),m(0,"div",0)(1,"div",1)(2,"div",2),b("click",function(){return r.toggleExpand()}),f(),m(3,"div",3),Ae(4),f()(),m(5,"div",4),Ae(6,1),f()()),o&2&&(d(2),p("ngClass",r.expanded?"open":"closed"),d(3),p("ngClass",r.expanded?"":"collapsed"))},dependencies:[N,X],styles:['.expansion-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon[_ngcontent-%COMP%]{width:var(--expansion-panel-header-height, 2.4rem);height:var(--expansion-panel-header-height, 2.4rem);display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--expansion-panel-expander-icon-size, 1.8rem) var(--expansion-panel-expander-icon-size, 1.8rem);min-width:var(--expansion-panel-header-height, 2.4rem);max-width:var(--expansion-panel-header-height, 2.4rem)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.open[_ngcontent-%COMP%]{background-image:url("./media/expanded_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.closed[_ngcontent-%COMP%]{background-image:url("./media/collapsed_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-header-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex:1;line-height:var(--expansion-panel-header-height, 2.4rem);min-width:0}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-left:var(--expansion-panel-content-container-padding-left, 0)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container.collapsed[_ngcontent-%COMP%]{display:none}']});let t=e;return t})();var q1=["*",[["lib-expansion-panel-header-actions"]]],Z1=["*","lib-expansion-panel-header-actions"],In=(()=>{let e=class e{constructor(){this.centerMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-expansion-panel-header"]],hostVars:2,hostBindings:function(o,r){o&2&&J("expansion-panel-header-container",r.centerMenuButtonClass)},standalone:!0,features:[S],ngContentSelectors:Z1,decls:4,vars:0,consts:[[1,"expansion-panel-header-title"]],template:function(o,r){o&1&&(We(q1),m(0,"div",0),Ae(1),f(),m(2,"div"),Ae(3,1),f())},styles:[`.expansion-panel-header-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none}.expansion-panel-header-container{display:flex;width:100%}
|
|
@@ -24,7 +24,7 @@ ${i.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
|
|
|
24
24
|
`],encapsulation:3});let t=e;return t})();var bh=Xd(xd(),1);var KD=typeof global=="object"&&global&&global.Object===Object&&global,Xg=KD;var XD=typeof self=="object"&&self&&self.Object===Object&&self,JD=Xg||XD||Function("return this")(),la=JD;var eM=la.Symbol,Ki=eM;var Jg=Object.prototype,tM=Jg.hasOwnProperty,nM=Jg.toString,tr=Ki?Ki.toStringTag:void 0;function iM(t){var e=tM.call(t,tr),i=t[tr];try{t[tr]=void 0;var n=!0}catch{}var o=nM.call(t);return n&&(e?t[tr]=i:delete t[tr]),o}var eh=iM;var oM=Object.prototype,rM=oM.toString;function sM(t){return rM.call(t)}var th=sM;var aM="[object Null]",lM="[object Undefined]",nh=Ki?Ki.toStringTag:void 0;function cM(t){return t==null?t===void 0?lM:aM:nh&&nh in Object(t)?eh(t):th(t)}var ih=cM;function dM(t){return t!=null&&typeof t=="object"}var oh=dM;var uM="[object Symbol]";function mM(t){return typeof t=="symbol"||oh(t)&&ih(t)==uM}var rh=mM;var pM=/\s/;function fM(t){for(var e=t.length;e--&&pM.test(t.charAt(e)););return e}var sh=fM;var gM=/^\s+/;function hM(t){return t&&t.slice(0,sh(t)+1).replace(gM,"")}var ah=hM;function bM(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Jn=bM;var lh=NaN,_M=/^[-+]0x[0-9a-f]+$/i,vM=/^0b[01]+$/i,yM=/^0o[0-7]+$/i,CM=parseInt;function wM(t){if(typeof t=="number")return t;if(rh(t))return lh;if(Jn(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Jn(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=ah(t);var i=vM.test(t);return i||yM.test(t)?CM(t.slice(2),i?2:8):_M.test(t)?lh:+t}var Dd=wM;var xM=function(){return la.Date.now()},ca=xM;var DM="Expected a function",MM=Math.max,IM=Math.min;function EM(t,e,i){var n,o,r,s,a,l,c=0,u=!1,h=!1,v=!0;if(typeof t!="function")throw new TypeError(DM);e=Dd(e)||0,Jn(i)&&(u=!!i.leading,h="maxWait"in i,r=h?MM(Dd(i.maxWait)||0,e):r,v="trailing"in i?!!i.trailing:v);function x(le){var Ye=n,at=o;return n=o=void 0,c=le,s=t.apply(at,Ye),s}function T(le){return c=le,a=setTimeout($,e),u?x(le):s}function F(le){var Ye=le-l,at=le-c,ar=e-Ye;return h?IM(ar,r-at):ar}function Q(le){var Ye=le-l,at=le-c;return l===void 0||Ye>=e||Ye<0||h&&at>=r}function $(){var le=ca();if(Q(le))return Ee(le);a=setTimeout($,F(le))}function Ee(le){return a=void 0,v&&n?x(le):(n=o=void 0,s)}function je(){a!==void 0&&clearTimeout(a),c=0,n=l=o=a=void 0}function Ke(){return a===void 0?s:Ee(ca())}function Je(){var le=ca(),Ye=Q(le);if(n=arguments,o=this,l=le,Ye){if(a===void 0)return T(l);if(h)return clearTimeout(a),a=setTimeout($,e),x(l)}return a===void 0&&(a=setTimeout($,e)),s}return Je.cancel=je,Je.flush=Ke,Je}var ei=EM;var kM="Expected a function";function SM(t,e,i){var n=!0,o=!0;if(typeof t!="function")throw new TypeError(kM);return Jn(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),ei(t,e,{leading:n,maxWait:e,trailing:o})}var Md=SM;var Ed=Xd(xd(),1),Ji=function(){return Ji=Object.assign||function(e){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},Ji.apply(this,arguments)},Xi=null,ch=null;Ed.default&&window.addEventListener("resize",function(){ch!==window.devicePixelRatio&&(ch=window.devicePixelRatio,Xi=null)});function dh(){if(Xi===null){if(typeof document>"u")return Xi=0,Xi;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var i=e.getBoundingClientRect().right;t.removeChild(e),Xi=i}return Xi}function uh(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function mh(t){return!t||!t.ownerDocument?document:t.ownerDocument}var ph=function(t){var e={},i=Array.prototype.reduce.call(t,function(n,o){var r=o.name.match(/data-simplebar-(.+)/);if(r){var s=r[1].replace(/\W+(.)/g,function(a,l){return l.toUpperCase()});switch(o.value){case"true":n[s]=!0;break;case"false":n[s]=!1;break;case void 0:n[s]=!0;break;default:n[s]=o.value}}return n},e);return i};function fh(t,e){var i;t&&(i=t.classList).add.apply(i,e.split(" "))}function gh(t,e){t&&e.split(" ").forEach(function(i){t.classList.remove(i)})}function hh(t){return".".concat(t.split(" ").join("."))}var OM=Object.freeze({__proto__:null,addClasses:fh,classNamesToQuery:hh,getElementDocument:mh,getElementWindow:uh,getOptions:ph,removeClasses:gh}),kn=uh,Id=mh,TM=ph,Sn=fh,On=gh,vt=hh,nr=function(){function t(e,i){i===void 0&&(i={});var n=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 o=kn(n.el);n.scrollXTicking||(o.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(o.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0),n.isScrolling||(n.isScrolling=!0,Sn(n.el,n.classNames.scrolling)),n.showScrollbar("x"),n.showScrollbar("y"),n.onStopScrolling()},this.scrollX=function(){n.axis.x.isOverflowing&&n.positionScrollbar("x"),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&n.positionScrollbar("y"),n.scrollYTicking=!1},this._onStopScrolling=function(){On(n.el,n.classNames.scrolling),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isScrolling=!1},this.onMouseEnter=function(){n.isMouseEntering||(Sn(n.el,n.classNames.mouseEntered),n.showScrollbar("x"),n.showScrollbar("y"),n.isMouseEntering=!0),n.onMouseEntered()},this._onMouseEntered=function(){On(n.el,n.classNames.mouseEntered),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isMouseEntering=!1},this._onMouseMove=function(o){n.mouseX=o.clientX,n.mouseY=o.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this._onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!n.axis.x.track.el||!n.axis.y.track.el||!n.axis.x.scrollbar.el||!n.axis.y.scrollbar.el)){var r,s;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(r=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(s=n.isWithinBounds(n.axis.y.track.rect)),(r||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(r&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(o,"x"):n.onTrackClick(o,"x")),s&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(o,"y"):n.onTrackClick(o,"y"))))}},this.drag=function(o){var r,s,a,l,c,u,h,v,x,T,F;if(!(!n.draggedAxis||!n.contentWrapperEl)){var Q,$=n.axis[n.draggedAxis].track,Ee=(s=(r=$.rect)===null||r===void 0?void 0:r[n.axis[n.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,je=n.axis[n.draggedAxis].scrollbar,Ke=(l=(a=n.contentWrapperEl)===null||a===void 0?void 0:a[n.axis[n.draggedAxis].scrollSizeAttr])!==null&&l!==void 0?l:0,Je=parseInt((u=(c=n.elStyles)===null||c===void 0?void 0:c[n.axis[n.draggedAxis].sizeAttr])!==null&&u!==void 0?u:"0px",10);o.preventDefault(),o.stopPropagation(),n.draggedAxis==="y"?Q=o.pageY:Q=o.pageX;var le=Q-((v=(h=$.rect)===null||h===void 0?void 0:h[n.axis[n.draggedAxis].offsetAttr])!==null&&v!==void 0?v:0)-n.axis[n.draggedAxis].dragOffset;le=n.draggedAxis==="x"&&n.isRtl?((T=(x=$.rect)===null||x===void 0?void 0:x[n.axis[n.draggedAxis].sizeAttr])!==null&&T!==void 0?T:0)-je.size-le:le;var Ye=le/(Ee-je.size),at=Ye*(Ke-Je);n.draggedAxis==="x"&&n.isRtl&&(at=!((F=t.getRtlHelpers())===null||F===void 0)&&F.isScrollingToNegative?-at:at),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=at}},this.onEndDrag=function(o){n.isDragging=!1;var r=Id(n.el),s=kn(n.el);o.preventDefault(),o.stopPropagation(),On(n.el,n.classNames.dragging),n.onStopScrolling(),r.removeEventListener("mousemove",n.drag,!0),r.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=s.setTimeout(function(){r.removeEventListener("click",n.preventClick,!0),r.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=e,this.options=Ji(Ji({},t.defaultOptions),i),this.classNames=Ji(Ji({},t.defaultOptions.classNames),i.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=Md(this._onMouseMove,64),this.onWindowResize=ei(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=ei(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=ei(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var e=document.createElement("div");e.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var i=e.firstElementChild,n=i?.firstElementChild;if(!n)return null;document.body.appendChild(i),i.scrollLeft=0;var o=t.getOffset(i),r=t.getOffset(n);i.scrollLeft=-999;var s=t.getOffset(n);return document.body.removeChild(i),t.rtlHelpers={isScrollOriginAtZero:o.left!==r.left,isScrollingToNegative:r.left!==s.left},t.rtlHelpers},t.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:dh()}catch{return dh()}},t.getOffset=function(e){var i=e.getBoundingClientRect(),n=Id(e),o=kn(e);return{top:i.top+(o.pageYOffset||n.documentElement.scrollTop),left:i.left+(o.pageXOffset||n.documentElement.scrollLeft)}},t.prototype.init=function(){Ed.default&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var e,i;this.wrapperEl=this.el.querySelector(vt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(vt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(vt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(vt(this.classNames.offset)),this.maskEl=this.el.querySelector(vt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,vt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(vt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(vt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(vt(this.classNames.track)).concat(vt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(vt(this.classNames.track)).concat(vt(this.classNames.vertical))),this.axis.x.scrollbar.el=((e=this.axis.x.track.el)===null||e===void 0?void 0:e.querySelector(vt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((i=this.axis.y.track.el)===null||i===void 0?void 0:i.querySelector(vt(this.classNames.scrollbar)))||null,this.options.autoHide||(Sn(this.axis.x.scrollbar.el,this.classNames.visible),Sn(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var e=this,i,n=kn(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),(i=this.contentWrapperEl)===null||i===void 0||i.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,r=n.ResizeObserver||ResizeObserver;this.resizeObserver=new r(function(){o&&n.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){e.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var e=kn(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var i=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||i>0,r=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,a=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 l=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=o?"".concat(i||c,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=i!==0&&c>i,this.axis.y.isOverflowing=l>u,this.axis.x.isOverflowing=s==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=a==="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 h=this.axis.x.isOverflowing?this.scrollbarWidth:0,v=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>r-v,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>u-h,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")}},t.prototype.getScrollbarSize=function(e){var i,n;if(e===void 0&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[e].scrollSizeAttr],r=(n=(i=this.axis[e].track.el)===null||i===void 0?void 0:i[this.axis[e].offsetSizeAttr])!==null&&n!==void 0?n:0,s=r/o,a;return a=Math.max(~~(s*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(a=Math.min(a,this.options.scrollbarMaxSize)),a},t.prototype.positionScrollbar=function(e){var i,n,o;e===void 0&&(e="y");var r=this.axis[e].scrollbar;if(!(!this.axis[e].isOverflowing||!this.contentWrapperEl||!r.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[e].scrollSizeAttr],a=((i=this.axis[e].track.el)===null||i===void 0?void 0:i[this.axis[e].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[e].sizeAttr],10),c=this.contentWrapperEl[this.axis[e].scrollOffsetAttr];c=e==="x"&&this.isRtl&&(!((n=t.getRtlHelpers())===null||n===void 0)&&n.isScrollOriginAtZero)?-c:c,e==="x"&&this.isRtl&&(c=!((o=t.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?c:-c);var u=c/(s-l),h=~~((a-r.size)*u);h=e==="x"&&this.isRtl?-h+(a-r.size):h,r.el.style.transform=e==="x"?"translate3d(".concat(h,"px, 0, 0)"):"translate3d(0, ".concat(h,"px, 0)")}},t.prototype.toggleTrackVisibility=function(e){e===void 0&&(e="y");var i=this.axis[e].track.el,n=this.axis[e].scrollbar.el;!i||!n||!this.contentWrapperEl||(this.axis[e].isOverflowing||this.axis[e].forceVisible?(i.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(i.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none")},t.prototype.showScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(Sn(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(e){e===void 0&&(e="y"),!this.isDragging&&this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(On(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},t.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")},t.prototype.onMouseMoveForAxis=function(e){e===void 0&&(e="y");var i=this.axis[e];!i.track.el||!i.scrollbar.el||(i.track.rect=i.track.el.getBoundingClientRect(),i.scrollbar.rect=i.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(i.track.rect)?(this.showScrollbar(e),Sn(i.track.el,this.classNames.hover),this.isWithinBounds(i.scrollbar.rect)?Sn(i.scrollbar.el,this.classNames.hover):On(i.scrollbar.el,this.classNames.hover)):(On(i.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},t.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e="y"),On(this.axis[e].track.el,this.classNames.hover),On(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},t.prototype.onDragStart=function(e,i){var n;i===void 0&&(i="y"),this.isDragging=!0;var o=Id(this.el),r=kn(this.el),s=this.axis[i].scrollbar,a=i==="y"?e.pageY:e.pageX;this.axis[i].dragOffset=a-(((n=s.rect)===null||n===void 0?void 0:n[this.axis[i].offsetAttr])||0),this.draggedAxis=i,Sn(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(e,i){var n=this,o,r,s,a;i===void 0&&(i="y");var l=this.axis[i];if(!(!this.options.clickOnTrack||!l.scrollbar.el||!this.contentWrapperEl)){e.preventDefault();var c=kn(this.el);this.axis[i].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var u=this.axis[i].scrollbar,h=(r=(o=u.rect)===null||o===void 0?void 0:o[this.axis[i].offsetAttr])!==null&&r!==void 0?r:0,v=parseInt((a=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[i].sizeAttr])!==null&&a!==void 0?a:"0px",10),x=this.contentWrapperEl[this.axis[i].scrollOffsetAttr],T=i==="y"?this.mouseY-h:this.mouseX-h,F=T<0?-1:1,Q=F===-1?x-v:x+v,$=40,Ee=function(){n.contentWrapperEl&&(F===-1?x>Q&&(x-=$,n.contentWrapperEl[n.axis[i].scrollOffsetAttr]=x,c.requestAnimationFrame(Ee)):x<Q&&(x+=$,n.contentWrapperEl[n.axis[i].scrollOffsetAttr]=x,c.requestAnimationFrame(Ee)))};Ee()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var e=kn(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),e.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()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.prototype.findChild=function(e,i){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(o){return n.call(o,i)})[0]},t.rtlHelpers=null,t.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",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},t.getOptions=TM,t.helpers=OM,t}();var Sd=function(t,e){return Sd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o])},Sd(t,e)};function PM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Sd(t,e);function i(){this.constructor=t}t.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}var _h=nr.helpers,kd=_h.getOptions,Pt=_h.addClasses,Od=function(t){PM(e,t);function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return e.instances.set(i[0],o),o}return e.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(i){i.getAttribute("data-simplebar")!=="init"&&!e.instances.has(i)&&new e(i,kd(i.attributes))})},e.removeObserver=function(){var i;(i=e.globalObserver)===null||i===void 0||i.disconnect()},e.prototype.initDOM=function(){var i=this,n,o,r;if(!Array.prototype.filter.call(this.el.children,function(l){return l.classList.contains(i.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"),Pt(this.wrapperEl,this.classNames.wrapper),Pt(this.contentWrapperEl,this.classNames.contentWrapper),Pt(this.offsetEl,this.classNames.offset),Pt(this.maskEl,this.classNames.mask),Pt(this.contentEl,this.classNames.contentEl),Pt(this.placeholderEl,this.classNames.placeholder),Pt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Pt(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),(n=this.contentWrapperEl)===null||n===void 0||n.setAttribute("tabindex","0"),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("role","region"),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var s=document.createElement("div"),a=document.createElement("div");Pt(s,this.classNames.track),Pt(a,this.classNames.scrollbar),s.appendChild(a),this.axis.x.track.el=s.cloneNode(!0),Pt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=s.cloneNode(!0),Pt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}nr.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},e.prototype.unMount=function(){nr.prototype.unMount.call(this),e.instances.delete(this.el)},e.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(e.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))},e.handleMutations=function(i){i.forEach(function(n){n.addedNodes.forEach(function(o){o.nodeType===1&&(o.hasAttribute("data-simplebar")?!e.instances.has(o)&&document.documentElement.contains(o)&&new e(o,kd(o.attributes)):o.querySelectorAll("[data-simplebar]").forEach(function(r){r.getAttribute("data-simplebar")!=="init"&&!e.instances.has(r)&&document.documentElement.contains(r)&&new e(r,kd(r.attributes))}))}),n.removedNodes.forEach(function(o){var r;o.nodeType===1&&(o.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(o)&&((r=e.instances.get(o))===null||r===void 0||r.unMount()):Array.prototype.forEach.call(o.querySelectorAll('[data-simplebar="init"]'),function(s){var a;!document.documentElement.contains(s)&&((a=e.instances.get(s))===null||a===void 0||a.unMount())}))})})},e.instances=new WeakMap,e}(nr);bh.default&&Od.initHtmlApi();var vh=t=>({capitalize:t}),yh=t=>[t];function AM(t,e){if(t&1){let i=A();m(0,"div",21),b("click",function(){let o=M(i).index,r=g(2).$implicit,s=g(2);return I(s._messageAction(r,o))}),E(1),f()}if(t&2){let i=e.$implicit,n=e.index,o=g(2).$implicit,r=g(2);p("title",r._getItemLinkTitle(o,n)),d(),oe(i)}}function FM(t,e){if(t&1&&C(0,AM,2,2,"div",20),t&2){let i=g().$implicit,n=g(2);p("ngForOf",i.linkText.constructor===n.Array?i.linkText:we(1,yh,i.linkText))}}function NM(t,e){if(t&1){let i=A();m(0,"div",9)(1,"div",14),O(2,"div",15),m(3,"div",16),E(4),f(),m(5,"div",17),b("click",function(o){let r=M(i).$implicit,s=g(2);return I(s._closeMessage(r,!1,o))}),f()(),m(6,"div",18),E(7),f(),C(8,FM,1,3,"div",19),f()}if(t&2){let i=e.$implicit;d(2),p("ngClass","message-item-icon-"+i.type),d(),p("ngClass",we(5,vh,i.capitalizedTitle)),d(),B(" ",i.title," "),d(3),oe(i.text),d(),H(8,i.linkText?8:-1)}}function jM(t,e){if(t&1&&C(0,NM,9,7,"div",13),t&2){let i=g();p("ngForOf",i._messagesList)}}function RM(t,e){t&1&&(m(0,"div",22),O(1,"div",23),m(2,"div",24),E(3),L(4,"translate"),f()()),t&2&&(d(3),oe(V(4,1,"_Notify_No_Messages")))}function LM(t,e){if(t&1){let i=A();m(0,"div",21),b("click",function(){let o=M(i).index,r=g(2).$implicit,s=g();return I(s._messageAction(r,o))}),E(1),f()}if(t&2){let i=e.$implicit,n=e.index,o=g(2).$implicit,r=g();p("title",r._getItemLinkTitle(o,n)),d(),oe(i)}}function VM(t,e){if(t&1&&C(0,LM,2,2,"div",20),t&2){let i=g().$implicit,n=g();p("ngForOf",i.linkText.constructor===n.Array?i.linkText:we(1,yh,i.linkText))}}function BM(t,e){if(t&1){let i=A();m(0,"div",9)(1,"div",14),O(2,"div",15),m(3,"div",16),E(4),f(),m(5,"div",17),b("click",function(o){let r=M(i).$implicit,s=g();return I(s._closeMessage(r,!0,o))}),f()(),m(6,"div",18),E(7),f(),C(8,VM,1,3,"div",19),f()}if(t&2){let i=e.$implicit;d(2),p("ngClass","message-item-icon-"+i.type),d(),p("ngClass",we(5,vh,i.capitalizedTitle)),d(),B(" ",i.title," "),d(3),B(" ",i.text," "),d(),H(8,i.linkText?8:-1)}}var da="bimplus-notify-messages",Ch=(()=>{let e=class e extends ie{constructor(n,o){super(n),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 y,this.bimplusNotifyDeleteAllMessages=new y,this.bimplusNotifyMessageAction=new y,this._element=o.nativeElement}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(n){if(n.messages){let o=n.messages.currentValue;this.updateMessages(o)}}updateMessages(n){if(!(n&&typeof n=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let r=JSON.parse(n);this._messagesList=r.messages;let s=this._messagesList.filter(a=>this._oldMessagesList.findIndex(l=>l.id===a.id)<0);s=s.filter(a=>this._messageNotReadYet(a)),s.reverse().forEach(a=>{this._previewMessagesList.findIndex(l=>a.id===l.id)<0&&(this._previewMessagesList.unshift(a),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(a.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)}ngAfterViewInit(){let n=this._element?.querySelector(".messages-container");n&&(this._simpleBar=new Od(n))}ngAfterViewChecked(){let n=this._element;if(!n?.querySelector(".messages-container"))return;let r=n?.querySelectorAll(".messages-container > .message-item");!n?.querySelector(".simplebar-content")||!r||this._simpleBar&&this._simpleBar.recalculate()}_closeMessage(n,o,r){if(o)return this._closePreviewMessage(n.id);r&&(r.stopPropagation(),r.preventDefault()),ae(this,"bimplusNotifyDeleteMessage",JSON.stringify(n))}_closePreviewMessage(n,o=!0){n&&(this._previewMessagesList=this._previewMessagesList.filter(r=>r.id!==n),this.storeMessagesAsRead([n]),o&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){ae(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(n,o){n.actionId=o,ae(this,"bimplusNotifyMessageAction",JSON.stringify(n))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(n){if(!n?.id)return!0;let o=window.localStorage.getItem(da);return o?!o.includes(n.id):!0}storeMessagesAsRead(n){if(!n||n.length<1)return;let o=window.localStorage.getItem(da);o||(o=""),n.forEach(r=>{o?.includes(r)||(o+=r+";")}),window.localStorage.setItem(da,o)}clearAllLocalStorageMessages(){window.localStorage.removeItem(da)}_getItemLinkTitle(n,o){let r=[];return n.linkText&&(n.links||n.link)&&(r=Array.isArray(n.links)?n.links:[n.link]),r[o]??""}};e.\u0275fac=function(o){return new(o||e)(w(P),w(se))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(o,r){o&2&&J("new-messages",r.newMessages)("bim-notify",r.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[_.HasDecoratorInputTransform,"showMessagePreview","showMessagePreview",D],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},standalone:!0,features:[K([P]),fe,z,Ue,S],decls:19,vars:16,consts:[[1,"dropdown",3,"click","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"],[1,"messages-container"],[1,"message-item"],[1,"bimcomp-overlay",3,"click","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],["class","message-item",4,"ngFor","ngForOf"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],["class","message-item-link",3,"title","click",4,"ngFor","ngForOf"],[1,"message-item-link",3,"click","title"],[1,"message-item-empty"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(o,r){o&1&&(m(0,"div",0),L(1,"translate"),b("click",function(){return r._toggleOpened()}),m(2,"div",1),O(3,"div",2),f(),m(4,"div",3),O(5,"div",4),m(6,"div",5)(7,"div",6),E(8),f(),m(9,"div",7),b("click",function(){return r._deleteAllMessages()}),E(10),L(11,"translate"),f()(),m(12,"div",8),C(13,jM,1,1,"div",9)(14,RM,5,3),f()()(),m(15,"div",10),b("click",function(){return r._toggleOpened()}),f(),m(16,"div",11)(17,"div",12),C(18,BM,9,7,"div",13),f()()),o&2&&(p("ngClass",r._menuOpened?"open":"")("title",V(1,12,"_BimplusNotifyTitle")),d(3),p("ngClass","icon-notify"+(r._alertActive?"-alert notify":"")),d(),p("ngClass",r._menuOpened?"open":""),d(4),B(" (",r._messagesList.length,") "),d(2),B(" ",V(11,14,"_Notify_Mark_All")," "),d(3),H(13,r._messagesList.length?13:14),d(2),p("ngClass",r._menuOpened?"open":""),d(),ke("top",r.previewMessagesOffsetY),p("ngClass",r.showMessagePreview&&!r._menuOpened&&r._previewMessagesList.length>0?"visible":""),d(2),p("ngForOf",r._previewMessagesList))},dependencies:[N,X,ve,ne,Ie],styles:[`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.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:#fff;background-color:#444}.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:#f5f5f5}.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("./media/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:#fff;border:thin solid rgba(0,0,0,.15);-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em;overflow:hidden;overflow-y:visible;scrollbar-width:none}.bim-notify .messages-container::-webkit-scrollbar,.bim-notify .messages-container-preview::-webkit-scrollbar{display:none}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{max-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("./media/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 #D3D3D3;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-image:url("./media/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-image:url("./media/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("./media/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:#fe5000;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-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:#fff;border:thin solid rgba(0,0,0,.15);-webkit-box-shadow:0 .3em .3em rgba(0,0,0,.175);box-shadow:0 .3em .3em #0000002d;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("./media/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./media/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./media/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./media/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./media/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./media/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./media/bimplus_Components_Notify_Empty.svg")}
|
|
25
25
|
`],encapsulation:2});let t=e;return t})();var wh=(()=>{let e=class e{transform(n){return n+"px"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=Ao({name:"pxsuffix",type:e,pure:!0,standalone:!0});let t=e;return t})();var xh=(()=>{let e=class e{constructor(){this.oldX=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new y,this.clicked=new y}onMouseMove(n){if(!this.isDragging&&!this.isMouseDown)return;let o=n.clientX-this.oldX;if(!this.isDragging)if(Math.abs(o)>2)this.isDragging=!0,this.wasDragging=!0;else return;ae(this,"dragging",o),this.oldX=n.clientX}onMouseUp(){this.isDragging=!1,this.isMouseDown=!1}onMouseDown(n){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=n.clientX}onMouseClick(n){this.wasDragging||ae(this,"clicked",n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Z({type:e,selectors:[["","xDraggable",""]],hostBindings:function(o,r){o&1&&b("mousemove",function(a){return r.onMouseMove(a)},!1,yn)("mouseup",function(a){return r.onMouseUp(a)},!1,yn)("mousedown",function(a){return r.onMouseDown(a)})("click",function(a){return r.onMouseClick(a)})},outputs:{dragging:"dragging",clicked:"clicked"},standalone:!0});let t=e;return t})();function zM(t,e){if(t&1&&O(0,"div",7),t&2){let i=g().$implicit;ke("background"," no-repeat center center url("+i.iconDisabled+")"),W("data-test","sidenav_item_"+i.id)}}function HM(t,e){if(t&1){let i=A();m(0,"div",8),b("click",function(){M(i);let o=g(3);return I(o._toggleDrawer())}),f()}if(t&2){let i=g(2).$implicit;ke("background"," no-repeat center center url("+i.iconActive+")"),W("data-test","sidenav_item_"+i.id)}}function $M(t,e){if(t&1){let i=A();m(0,"div",8),b("click",function(){M(i);let o=g(2).$implicit,r=g();return I(r._activateItem(o.id))}),f()}if(t&2){let i=g(2).$implicit;ke("background"," no-repeat center center url("+i.icon+")"),W("data-test","sidenav_item_"+i.id)}}function UM(t,e){if(t&1&&C(0,HM,1,3,"div",6)(1,$M,1,3),t&2){let i=g().$implicit,n=g();H(0,n.activeItem===i.id?0:1)}}function WM(t,e){if(t&1&&(m(0,"div",5),C(1,zM,1,3,"div",6)(2,UM,2,1),f()),t&2){let i=e.$implicit;d(),H(1,i.disabled?1:2)}}function GM(t,e){if(t&1){let i=A();m(0,"div",5)(1,"div",8),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r._clickAction(o.id))}),f()()}if(t&2){let i=e.$implicit;d(),ke("background"," no-repeat center center url("+i.icon+")"),W("data-test","sidenav_action_item_"+i.id)}}function qM(t,e){if(t&1&&(O(0,"div",9),C(1,GM,2,3,"div",1)),t&2){let i=g();d(),p("ngForOf",i.actionItems)}}function ZM(t,e){if(t&1){let i=A();m(0,"div",2)(1,"div",8),b("click",function(){M(i);let o=g();return I(o._clickFooter(o.footerItem.id))}),f()()}if(t&2){let i=g();d(),ke("background"," no-repeat center center url("+i.footerItem.icon+")"),W("data-test","sidenav_footer_item_"+i.footerItem.id)}}function YM(t,e){if(t&1){let i=A();m(0,"div",10),b("dragging",function(o){M(i);let r=g();return I(r._onResizeWidth(o))}),f(),m(1,"div",11),b("dragging",function(o){M(i);let r=g();return I(r._onResizeWidth(o))})("clicked",function(){M(i);let o=g();return I(o._toggleDrawer())}),f()}}function QM(t,e){if(t&1){let i=A();m(0,"div",12),b("click",function(){M(i);let o=g();return I(o._toggleDrawer())}),f()}}var Dh=(()=>{let e=class e extends ie{constructor(n){super(n),this.activeItem="",this.drawerWidth=300,this.drawerExpanded=!0,this.activeItemChanged=new y,this.actionClicked=new y,this.footerClicked=new y,this._items=new Array,this._actionItems=new Array,this._footerItem=null}get items(){return this._items}set items(n){this._items.length=0,this._items=n,this.items.length>0&&this._activateItem(this.items[0].id)}get actionItems(){return this._actionItems}set actionItems(n){this._actionItems.length=0,this._actionItems=n}get footerItem(){return this._footerItem}set footerItem(n){this._footerItem=n}_activateItem(n){this.activeItem=n,this._items.find(r=>r.id==n)&&(this.drawerExpanded||this._toggleDrawer(),ae(this,"activeItemChanged",n))}_clickAction(n){ae(this,"actionClicked",n)}_clickFooter(n){ae(this,"footerClicked",n)}_toggleDrawer(){this.drawerExpanded=!this.drawerExpanded}_onResizeWidth(n){let o=n;this.drawerWidth+=o}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-sidenav"]],inputs:{items:"items",actionItems:"actionItems",footerItem:"footerItem"},outputs:{activeItemChanged:"activeItemChanged",actionClicked:"actionClicked",footerClicked:"footerClicked"},standalone:!0,features:[K([P]),z,S],decls:9,vars:10,consts:[[1,"sidenav"],["class","sidenav-row",4,"ngFor","ngForOf"],[1,"sidenav-row-footer"],[1,"sidenav-drawer",3,"ngClass"],["data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left","collapsed"],[1,"sidenav-row"],[1,"sidenav-item",3,"background"],[1,"sidenav-item"],[1,"sidenav-item",3,"click"],[1,"sidenav-separator"],["xDraggable","",1,"sidenav-resize-border-right",3,"dragging"],["xDraggable","","data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left",3,"dragging","clicked"],["data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left","collapsed",3,"click"]],template:function(o,r){o&1&&(m(0,"div",0),C(1,WM,3,1,"div",1)(2,qM,2,1)(3,ZM,2,3,"div",2),f(),m(4,"div",3),L(5,"pxsuffix"),O(6,"slot"),C(7,YM,2,0),f(),C(8,QM,1,0,"div",4)),o&2&&(d(),p("ngForOf",r.items),d(),H(2,r.actionItems.length>0?2:-1),d(),H(3,r.footerItem?3:-1),d(),ke("width",V(5,8,r.drawerWidth)),p("ngClass",r.drawerExpanded?"":"hidden"),d(3),H(7,r.drawerExpanded?7:-1),d(),H(8,r.drawerExpanded?-1:8))},dependencies:[N,X,ve,wh,xh,ne],styles:[`.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav{width:4rem;height:100%;margin:0;padding:0;text-align:center;background-color:#444;border:0 solid #444444;font-size:0;display:flex;flex-direction:column;position:absolute;bottom:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-item{width:3.2rem;height:3.2rem;background-size:2rem 2rem!important;margin:auto;cursor:pointer}.sidenav-separator{width:2rem;height:.1rem;border-top:.1rem solid white;cursor:default;pointer-events:none;margin-top:.8rem;text-align:center;display:inline-block;align-self:center}.sidenav-row{width:4rem;height:3.2rem;margin-top:.8rem;display:inline-block}.sidenav-row-footer{margin-top:auto;margin-bottom:5.2rem;width:4rem;height:3.2rem}.sidenav-row-footer:hover,.sidenav-row:hover{background-color:#555}.sidenav-drawer{min-width:25rem;height:100%;border:0 solid #444444;position:absolute;bottom:0;left:4rem;background-color:#fffc;transition:background-color .7s;border-right:solid thin #d4d4d4;width:300px;display:flex;flex-direction:row}.sidenav-drawer:hover{background-color:#fff}.sidenav-drawer.hidden{display:none}.sidenav-resize-border-right{right:-5px;position:absolute;height:100%;cursor:col-resize;width:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-resize-handle-left{background-image:url("./media/ic_thin_arrow_left.svg");position:absolute;top:calc(50% - 2.4rem);right:-2.1rem;width:2.1rem;height:4.8rem;border-radius:0 .4rem .4rem 0;background-color:#ffffff94;cursor:pointer;pointer-events:all;background-position:center center;background-repeat:no-repeat;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-resize-handle-left.collapsed{left:4rem!important;border-radius:.4rem 0 0 .4rem;transform:scaleX(-1)}
|
|
26
26
|
`],encapsulation:3});let t=e;return t})();var KM=(t,e,i)=>({red:t,yellow:e,green:i}),Mh=(()=>{let e=class e extends ie{constructor(n){super(n),this.usedStorage=0,this.bimplusStorageInfoClicked=new y}_infoClicked(n){ae(this,"bimplusStorageInfoClicked",n)}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorage:"usedStorage"},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},standalone:!0,features:[K([P]),z,S],decls:8,vars:13,consts:[[1,"storage-info",3,"click"],[1,"progress-title"],[1,"progress-text"],[1,"storage-info-bar-container"],[1,"storage-info-bar",3,"ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),b("click",function(){return r._infoClicked("storageInfo")}),m(1,"span",1),E(2),L(3,"translate"),m(4,"span",2),E(5),f()(),m(6,"div",3),O(7,"div",4),f()()),o&2&&(d(2),B(" ",V(3,7,"_Common_Data_Environment_Quota")," "),d(3),B(" ",r.usedStorage,"% "),d(2),ke("width",r.usedStorage+"%")("max-width",r.usedStorage+"%"),p("ngClass",wt(9,KM,r.usedStorage>=90,r.usedStorage>=80&&r.usedStorage<90,r.usedStorage<80)))},dependencies:[N,X,ne,Ie],styles:[`.storage-info{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:flex;cursor:pointer;color:#777;flex-direction:column}.storage-info.hovered,.storage-info:hover{color:#000}.storage-info.hovered .storage-info-bar .progress,.storage-info:hover .storage-info-bar .progress{border-color:#000}.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:#fff;padding:.125em;border:#777 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:red}.storage-info .storage-info-bar-container .storage-info-bar.yellow{background-color:#ffd400}.storage-info .storage-info-bar-container .storage-info-bar.green{background-color:green}
|
|
27
|
-
`],encapsulation:3});let t=e;return t})();var XM=Math.PI/180,Ih=2*Math.PI,At=class t{static pointOnArc(e,i,n){let o=(n-90)*XM;return[e[0]+i*Math.cos(o),e[1]+i*Math.sin(o)]}static arc(e,i,n,o,r,s,a){let l=i-r,c=Math.abs(o-n);s=Math.min(r/2,s),360*(s/(Math.PI*(i-r)))>Math.abs(n-o)&&(s=c/360*l*Math.PI);let u=l+s,h=i-s,v=this.pointOnArc(e,h,n),x=this.pointOnArc(e,h,o),T=this.pointOnArc(e,u,n),F=this.pointOnArc(e,u,o),Q=360*(s/(Ih*l)),$=360*(s/(Ih*i)),Ee=this.pointOnArc(e,l,n+Q),je=this.pointOnArc(e,l,o-Q),Ke=this.pointOnArc(e,i,n+$),Je=this.pointOnArc(e,i,o-$),le=c>180+2*$?1:0,Ye=c>180+2*Q?1:0;return new Array("M",(v[0]/a).toString(),(v[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(Ke[0]/a).toString(),(Ke[1]/a).toString(),"A",(i/a).toString(),(i/a).toString(),"0",(le/a).toString(),"1",(Je[0]/a).toString(),(Je[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(x[0]/a).toString(),(x[1]/a).toString(),"L",(F[0]/a).toString(),(F[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(je[0]/a).toString(),(je[1]/a).toString(),"A",(l/a).toString(),(l/a).toString(),"0",(Ye/a).toString(),"0",(Ee[0]/a).toString(),(Ee[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(T[0]/a).toString(),(T[1]/a).toString(),"Z").join(" ")}static drawMenuItemSvg(e,i,n,o){let r=o?(e-5)*10:e*10,s=o?(i-3)*10:i*10,a=r*2,c=360/(n>0?n:1)*Math.PI/360,u=r-Math.sin(c)*r,h=r-Math.cos(c)*r,v=r+Math.sin(c)*r,x=r-Math.cos(c)*r;return{radius:r/a,radiusInner:s/a,width:1,thick:(r-s)/a,innerEdgeRight:(r+s)/a,leftX:u/a,leftY:h/a,rightX:v/a,rightY:x/a}}static generateAnnularSector(e){return t.arc([e.subMenuCenter[0]*12,e.subMenuCenter[1]*12],e.subMenuRadius*12,e.subMenuStartAngle,e.subMenuEndAngle,e.subMenuWidth,7,425)}static generateAnnularSectorBorder(e){return t.arc([e.subMenuCenter[0]*12,e.subMenuCenter[1]*12],e.subMenuRadius*12+1,e.subMenuStartAngle-.5,e.subMenuEndAngle+.5,e.subMenuWidth+2,7,425)}static generateDeadZoneAnnularSector(e){return t.arc([e.deadZoneCenter[0]*12,e.deadZoneCenter[1]*12],e.deadZoneRadius*12,e.deadZoneStartAngle,e.deadZoneEndAngle,e.deadZoneWidth,7,700)}static getSVGViewBox(e){return`0 0 ${e.width} ${e.width}`}static getSVGCenterMenuPath(e){return`M 0 ${e.radius} A ${e.radius} ${e.radius} 0 0 1 ${e.width} ${e.radius} L ${e.width} ${e.radius} A ${e.radius} ${e.radius} 0 0 1 0 ${e.radius} L ${e.thick} ${e.radius} A ${e.radiusInner} ${e.radiusInner} 0 0 0 ${e.innerEdgeRight} ${e.radius} L ${e.innerEdgeRight} ${e.radius} A ${e.radiusInner} ${e.radiusInner} 0 0 0 ${e.thick} ${e.radius} Z`}static getSVGCenterMenuItemPath(e){return`M ${e.radius} ${e.radius} L ${e.leftX} ${e.leftY} A ${e.radius} ${e.radius} 0 0 1 ${e.rightX} ${e.rightY} L ${e.rightX} ${e.rightY} L ${e.radius} ${e.radius} Z`}static getSVGCenterSubMenuItemPath(e){return`M ${e.radius} ${e.radius} L ${e.leftX} ${e.leftY} A ${e.radius} ${e.radius} 0 0 1 ${e.rightX} ${e.rightY} L ${e.rightX} ${e.rightY} L ${e.radius} ${e.radius} Z`}};var JM=(t,e,i)=>({disabled:t,enabled:e,active:i});function eI(t,e){if(t&1&&(m(0,"div",1)(1,"span",2),E(2),f()()),t&2){let i=g();p("ngClass",wt(3,JM,!i.isEnabled,i.isEnabled,i.active))("className",i.item.iconClass),d(2),oe(i.item.text)}}var Eh=(()=>{let e=class e{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-tool-hub-item"]],hostVars:6,hostBindings:function(o,r){o&2&&J("active",r.active)("enabled",r.isEnabled)("centermenu-button",r.centerMenuButtonClass)},inputs:{item:"item",active:"active",isEnabled:"isEnabled"},standalone:!0,features:[S],decls:1,vars:1,consts:[["class","centermenu-button-icon dragger",3,"ngClass","className",4,"ngIf"],[1,"centermenu-button-icon","dragger",3,"ngClass","className"],[1,"centermenu-button-text"]],template:function(o,r){o&1&&C(0,eI,3,7,"div",0),o&2&&p("ngIf",r.item)},dependencies:[N,X,Be],styles:['.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.shadow[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch[_ngcontent-%COMP%] .center-menu[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%]{display:none;top:19rem}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%] .bim-ui-popupwin-tick-down[_ngcontent-%COMP%]{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}#center-menu-fp-id[_ngcontent-%COMP%]{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded[_ngcontent-%COMP%]{min-width:16.5rem;min-height:16.5rem}.center-menu[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:all}.center-menu[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.center-menu[_ngcontent-%COMP%] .center-menu-fp.submenu-active[_ngcontent-%COMP%]{width:27rem}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-dead-zone[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:35rem;height:35rem;left:auto;right:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%]{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%] .center-sub-menu-button-icon[_ngcontent-%COMP%]{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .section-menu-item[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .annotation-menu-item[_ngcontent-%COMP%]{text-align:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-item[_ngcontent-%COMP%]{min-width:7.125em}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu[_ngcontent-%COMP%] .centermenu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-65deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-85deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-105deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-125deg)}@-webkit-keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:move}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .centermenu-button[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button[_ngcontent-%COMP%]:not(.active):hover{background-color:#8d8d8d}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button.pulse[_ngcontent-%COMP%]:not(.disabled){-webkit-animation:_ngcontent-%COMP%_highlight .25s linear;animation:_ngcontent-%COMP%_highlight .25s linear}#cmb-view-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute}.center-menu[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{left:5.8rem;top:5.8rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{width:30rem;height:31rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:30rem;height:30rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{width:30rem;height:31rem}.ui-icon-create-task[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_top_orange.svg")}']});let t=e;return t})();var tI=(t,e,i)=>({disabled:t,enabled:e,active:i});function nI(t,e){if(t&1&&(m(0,"div",1)(1,"span",2),E(2),f()()),t&2){let i=g();p("ngClass",wt(3,tI,!i.isEnabled,i.isEnabled,i.active))("className",i.item.iconClass),d(2),oe(i.item.text)}}var kh=(()=>{let e=class e{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0,this.centerSubMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-tool-hub-sub-item"]],hostVars:8,hostBindings:function(o,r){o&2&&J("active",r.active)("enabled",r.isEnabled)("centermenu-button",r.centerMenuButtonClass)("center-sub-menu-button",r.centerSubMenuButtonClass)},inputs:{item:"item",active:"active",isEnabled:"isEnabled"},standalone:!0,features:[S],decls:1,vars:1,consts:[["class","center-sub-menu-button-icon",3,"ngClass","className",4,"ngIf"],[1,"center-sub-menu-button-icon",3,"ngClass","className"],[1,"centermenu-button-text"]],template:function(o,r){o&1&&C(0,nI,3,7,"div",0),o&2&&p("ngIf",r.item)},dependencies:[N,X,Be],styles:['.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.shadow[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch[_ngcontent-%COMP%] .center-menu[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%]{display:none;top:19rem}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%] .bim-ui-popupwin-tick-down[_ngcontent-%COMP%]{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}#center-menu-fp-id[_ngcontent-%COMP%]{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded[_ngcontent-%COMP%]{min-width:16.5rem;min-height:16.5rem}.center-menu[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:all}.center-menu[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.center-menu[_ngcontent-%COMP%] .center-menu-fp.submenu-active[_ngcontent-%COMP%]{width:27rem}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-dead-zone[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:35rem;height:35rem;left:auto;right:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%]{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%] .center-sub-menu-button-icon[_ngcontent-%COMP%]{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .section-menu-item[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .annotation-menu-item[_ngcontent-%COMP%]{text-align:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-item[_ngcontent-%COMP%]{min-width:7.125em}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu[_ngcontent-%COMP%] .centermenu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-65deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-85deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-105deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-125deg)}@-webkit-keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:move}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .centermenu-button[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button[_ngcontent-%COMP%]:not(.active):hover{background-color:#8d8d8d}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button.pulse[_ngcontent-%COMP%]:not(.disabled){-webkit-animation:_ngcontent-%COMP%_highlight .25s linear;animation:_ngcontent-%COMP%_highlight .25s linear}#cmb-view-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute}.center-menu[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{left:5.8rem;top:5.8rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{width:30rem;height:31rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:30rem;height:30rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{width:30rem;height:31rem}.ui-icon-create-task[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_top_orange.svg")}']});let t=e;return t})();var iI=(t,e)=>({opened:t,active:e});function oI(t,e){if(t&1){let i=A();m(0,"lib-tool-hub-item",16),L(1,"translate"),b("clicked",function(){let o=M(i).$implicit,r=g();return I(r.clickToolHubItem(o.buttonId))}),f()}if(t&2){let i=e.$implicit;p("title",V(1,5,i.tooltip))("item",i)("active",!!i.active)("isEnabled",!i.disabled),W("data-test","toolhub_item_"+i.buttonId)}}function rI(t,e){if(t&1){let i=A();m(0,"lib-tool-hub-sub-item",21),L(1,"translate"),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r.clickToolHubSubItem(o.buttonId))}),f()}if(t&2){let i=e.$implicit;p("title",V(1,3,i.tooltip))("item",i),W("data-test","toolhub_subitem_"+i.buttonId)}}function sI(t,e){if(t&1){let i=A();m(0,"div",17),b("mouseleave",function(){M(i);let o=g();return I(o.setHoveredState("submenuBorder",!1))})("mouseenter",function(){M(i);let o=g();return I(o.setHoveredState("submenuBorder",!0))}),f(),m(1,"div",18),b("mouseleave",function(){M(i);let o=g();return I(o.setHoveredState("submenu",!1))})("mouseenter",function(){M(i);let o=g();return I(o.setHoveredState("submenu",!0))}),C(2,rI,2,5,"lib-tool-hub-sub-item",19),f(),m(3,"div",20),b("mouseleave",function(){M(i);let o=g();return I(o.setHoveredState("deadZone",!1))})("mouseenter",function(){M(i);let o=g();return I(o.setHoveredState("deadZone",!0))}),f()}if(t&2){let i=g();p("ngClass",i.isOpened?"":"hidden"),d(),p("ngClass",i.isOpened?"":"hidden"),d(),p("ngForOf",i.activeSubItems),d(),p("ngClass",i.isOpened?"":"hidden")}}function aI(){return{subMenuStartAngle:50,subMenuEndAngle:130,svgRadiusInner:5.75,svgRadius:10.25,subMenuCenter:[17.25,17.5],subMenuRadius:15.5,subMenuWidth:52,deadZoneCenter:[17,18],deadZoneWidth:140,deadZoneRadius:22,deadZoneStartAngle:45,deadZoneEndAngle:135}}function lI(){let t=[{buttonId:"cmButCreateTask",iconClass:"ui-icon-create-task",text:"_Create_issue_center_menu_tooltip",tooltip:"_Create_issue_center_menu_tooltip",tooltipDisabled:"_Create_issue_center_menu_tooltip"},{buttonId:"cmButQuantityTakeOff",iconClass:"ui-icon-quantity-take-off",text:"_Quantity_take_Off_center_menu_tooltip",tooltip:"_Quantity_take_Off_center_menu_tooltip",tooltipDisabled:"_Quantity_take_Off_center_menu_tooltip"},{buttonId:"cmButMarkup",iconClass:"ui-icon-markup",text:"_Markups_center_menu_tooltip",tooltip:"_Markups_center_menu_tooltip",tooltipDisabled:"_Markups_center_menu_tooltip"},{buttonId:"cmButSection",iconClass:"ui-icon-section",text:"_Sectioning_center_menu_tooltip",tooltip:"_Sectioning_center_menu_tooltip",tooltipDisabled:"_Sectioning_center_menu_tooltip"},{buttonId:"cmButObjTranspMenu",iconClass:"ui-icon-obj-transp",text:"_Hide_objects_center_menu_tooltip",tooltip:"_Hide_objects_center_menu_tooltip",tooltipDisabled:"_Hide_objects_center_menu_tooltip"},{buttonId:"cmButObjSel",iconClass:"ui-icon-obj-select",text:"_Isolate_objects_center_menu_tooltip",tooltip:"_Isolate_objects_center_menu_tooltip",tooltipDisabled:"_Isolate_objects_center_menu_tooltip"},{buttonId:"cmButNavigationMap",iconClass:"ui-icon-navigation-map",text:"_Navigation_nap_center_menu_tooltip",tooltip:"_Navigation_nap_center_menu_tooltip",tooltipDisabled:"_Navigation_nap_center_menu_tooltip"},{buttonId:"cmButFullScreen",iconClass:"ui-icon-fullscreen",text:"_Fullscreen_node_center_menu_tooltip",tooltip:"_Fullscreen_node_center_menu_tooltip",tooltipDisabled:"_Fullscreen_node_center_menu_tooltip"},{buttonId:"cmButProjectNavigator",iconClass:"ui-icon-project-navigator",text:"_Project_navigator_center_menu_tooltip",tooltip:"_Project_navigator_center_menu_tooltip",tooltipDisabled:"_Project_navigator_center_menu_tooltip"},{iconClass:"ui-icon-obj-reset",buttonId:"cmButResetObj",text:"_Reset_viewport_center_menu_tooltip",tooltip:"_Reset_viewport_center_menu_tooltip",tooltipDisabled:"_Reset_viewport_center_menu_tooltip"},{buttonId:"cmButResetVp",iconClass:"ui-icon-reset-vp",text:"_Select_view_center_menu_tooltip",tooltip:"_Select_view_center_menu_tooltip",tooltipDisabled:"_Select_view_center_menu_tooltip",subMenuId:"cmb-view-submenu",subItems:[{buttonId:"cmButFrontView",iconClass:"ui-icon-front-view",text:"_Front_view_center_menu_tooltip",tooltip:"_Front_view_center_menu_tooltip",tooltipDisabled:"_Front_view_center_menu_tooltip",actionClick:"centerMenuFrontViewClick"},{buttonId:"cmButTopView",iconClass:"ui-icon-top-view",text:"_Top_view_center_menu_tooltip",tooltip:"_Top_view_center_menu_tooltip",tooltipDisabled:"_Top_view_center_menu_tooltip",actionClick:"centerMenuTopViewClick"},{buttonId:"cmButSideView",iconClass:"ui-icon-side-view",text:"_Side_view_center_menu_tooltip",tooltip:"_Side_view_center_menu_tooltip",tooltipDisabled:"_Side_view_center_menu_tooltip",actionClick:"centerMenuSideViewClick"},{buttonId:"cmButPerspectiveView",iconClass:"ui-icon-perspective-view",text:"_Perspective_view_center_menu_tooltip",tooltip:"_Perspective_view_center_menu_tooltip",tooltipDisabled:"_Perspective_view_center_menu_tooltip",actionClick:"centerMenuPerspectiveViewClick"}]}];return t.map(e=>{e.active=!1,e.disabled=!0}),t}var Sh=(()=>{let e=class e extends ie{constructor(n){super(n),this.left=500,this.top=500,this.title="",this.isEmbedded=!1,this.isFocused=!1,this.isActive=!0,this.itemClicked=new y,this.subItemClicked=new y,this._isOpened=!0,this._itemStates=Array(),this._items=Array(),this._activeSubItemsView=null,this._activeSubItems=null,this._hoveredElements=Array(),this.items=lI(),this._visualSettings=aI(),this._units=this.calculateCurrentMenuItemUnits(),this._subMenuUnits=this.calculateCurrentSubMenuItemUnits(),this._annularSector=At.generateAnnularSector(this._visualSettings),this._annularSectorBorder=At.generateAnnularSectorBorder(this._visualSettings),this._deadZoneAnnularSector=At.generateDeadZoneAnnularSector(this._visualSettings)}get itemStates(){return this._itemStates}set itemStates(n){this._itemStates=n,this.setItemStates(this._itemStates)}setItemStates(n){for(let o of n){let r=this._items.find(s=>s.buttonId===o.buttonId);r&&(o.active!=null&&(r.active=o.active),o.disabled!==void 0&&(r.disabled=o.disabled))}}get items(){return this._items}set items(n){this._items=n;let o=this._items?.length>0?this._items.length:1,r=document?.documentElement?.style;if(r){let s=r.getPropertyValue("--menu-items");parseInt(s)!=o&&r.setProperty("--menu-items",o.toString())}this.setItemStates(this._itemStates)}get activeSubItems(){return this._activeSubItems}get isOpened(){return this._isOpened}set isOpened(n){this._isOpened=n,this.title=this._isOpened?this.translateService.instant("_Minimize_toolhub_tooltip"):this.translateService.instant("_Show_toolhub_tooltip")}get units(){return this._units}get subMenuUnits(){return this._subMenuUnits}get annularSector(){return this._annularSector}get annularSectorBorder(){return this._annularSectorBorder}get deadZoneAnnularSector(){return this._deadZoneAnnularSector}getSVGViewBox(){return At.getSVGViewBox(this._units)}getSVGCenterMenuPath(){return At.getSVGCenterMenuPath(this._units)}getSVGCenterMenuItemPath(){return At.getSVGCenterMenuItemPath(this._units)}getSVGCenterSubMenuItemPath(){return At.getSVGCenterSubMenuItemPath(this._subMenuUnits)}toggleMenu(){this.isOpened=!this.isOpened}findToolHubItemById(n){return this._items.find(o=>o.buttonId===n)}clickToolHubItem(n){let o=this.findToolHubItemById(n);!o||o?.disabled||this.itemClicked.emit(n)}clickToolHubSubItem(n){!this._activeSubItems||!this._activeSubItems.find(r=>r.buttonId===n)||(this.subItemClicked.emit(n),this.closeActiveSubItemsView())}toggleToolHubItemActive(n){let o=this.findToolHubItemById(n);!o||o.disabled||(o.active=!o.active)}toggleSubItemsView(n){let o=this.findToolHubItemById(n);!o||o.disabled||!o.subItems||(o.active=!o.active,o.active?(this._activeSubItemsView=o,this._activeSubItems=o.subItems):(this._activeSubItemsView=null,this._activeSubItems=null))}closeActiveSubItemsView(){this._activeSubItemsView&&(this._activeSubItemsView.active=!1,this._activeSubItemsView=null),this._activeSubItems=null}setHoveredState(n,o){let r=this._hoveredElements.indexOf(n),s=this._hoveredElements.length;r>=0&&!o&&this._hoveredElements.splice(r,1),r<0&&o&&this._hoveredElements.push(n),s>0&&this._hoveredElements.length===0&&setInterval(()=>{this._hoveredElements.length===0&&this.closeActiveSubItemsView()},1e3)}dragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}calculateCurrentMenuItemUnits(){return At.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,this._items.length,this.isEmbedded)}calculateCurrentSubMenuItemUnits(){return At.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,20,this.isEmbedded)}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-tool-hub"]],hostVars:4,hostBindings:function(o,r){o&2&&ke("left",r.left,"px")("top",r.top,"px")},inputs:{left:"left",top:"top",itemStates:"itemStates",items:"items",isOpened:[_.HasDecoratorInputTransform,"isOpened","isOpened",D],isEmbedded:[_.HasDecoratorInputTransform,"isEmbedded","isEmbedded",D],isFocused:[_.HasDecoratorInputTransform,"isFocused","isFocused",D],isActive:[_.HasDecoratorInputTransform,"isActive","isActive",D]},outputs:{itemClicked:"itemClicked",subItemClicked:"subItemClicked"},standalone:!0,features:[K([P]),fe,z,S],decls:22,vars:20,consts:[[1,"center-menu"],["id","center-menu-fp-id",1,"center-menu-fp",3,"ngClass"],["libDraggable","","id","center-menu-controller","data-test","toolhub_controller",1,"center-menu-controller","dragger",3,"clicked","dragging","ngClass","title"],[1,"center-menu-circle-border-inner",3,"ngClass"],[1,"center-menu-circle-border-outer",3,"mouseleave","mouseenter","ngClass"],["libDraggable","",1,"center-menu-circle",3,"mouseleave","mouseenter","dragging","ngClass"],["libDraggable","",3,"title","item","active","isEnabled","clicked",4,"ngFor","ngForOf"],["fill","none",1,"centermenu-button-svg"],["id","svgCenterMenu","clipPathUnits","objectBoundingBox"],["fill","white"],["id","svgCenterMenuItem","clipPathUnits","objectBoundingBox"],["id","svgCenterSubMenuItem","clipPathUnits","objectBoundingBox"],["id","svgCenterMenuSubMenu","clipPathUnits","objectBoundingBox"],["fill","none"],["id","svgCenterMenuSubMenuBorder","clipPathUnits","objectBoundingBox"],["id","svgCenterMenuSubMenuDeadZone","clipPathUnits","objectBoundingBox"],["libDraggable","",3,"clicked","title","item","active","isEnabled"],[1,"center-menu-sub-menu-border",3,"mouseleave","mouseenter","ngClass"],[1,"center-menu-sub-menu",3,"mouseleave","mouseenter","ngClass"],[3,"title","item","click",4,"ngFor","ngForOf"],[1,"center-menu-sub-menu-dead-zone",3,"mouseleave","mouseenter","ngClass"],[3,"click","title","item"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1)(2,"div",2),L(3,"translate"),b("clicked",function(){return r.toggleMenu()})("dragging",function(a){return r.dragElement(a)}),f(),O(4,"div",3),m(5,"div",4),b("mouseleave",function(){return r.setHoveredState("menuCircleBorderOuter",!1)})("mouseenter",function(){return r.setHoveredState("menuCircleBorderOuter",!0)}),f(),m(6,"div",5),b("mouseleave",function(){return r.setHoveredState("menuCircle",!1)})("mouseenter",function(){return r.setHoveredState("menuCircle",!0)})("dragging",function(a){return r.dragElement(a)}),C(7,oI,2,7,"lib-tool-hub-item",6),dp(),m(8,"svg",7)(9,"clipPath",8),O(10,"path",9),f(),m(11,"clipPath",10),O(12,"path",9),f(),m(13,"clipPath",11),O(14,"path",9),f(),m(15,"clipPath",12),O(16,"path",13),f(),m(17,"clipPath",14),O(18,"path",13),f(),m(19,"clipPath",15),O(20,"path",13),f()()(),C(21,sI,4,4),f()()),o&2&&(d(),p("ngClass",r.activeSubItems?"submenu-active":""),d(),p("ngClass",ft(17,iI,r.isOpened,r.isActive))("title",V(3,15,"_Minimize_toolhub_tooltip")),d(2),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngForOf",r.items),d(),W("viewBox",r.getSVGViewBox()),d(2),W("d",r.getSVGCenterMenuPath()),d(2),W("d",r.getSVGCenterMenuItemPath()),d(2),W("d",r.getSVGCenterSubMenuItemPath()),d(2),W("d",r.annularSector),d(2),W("d",r.annularSectorBorder),d(2),W("d",r.deadZoneAnnularSector),d(),H(21,r.activeSubItems?21:-1))},dependencies:[ne,Ie,N,X,ve,Eh,kh,En],styles:[`.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.shadow{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch .center-menu .submenu-container{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch #cmb-view-submenu{display:none;top:19rem}.is-touch #cmb-view-submenu .bim-ui-popupwin-tick-down{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position{left:-35rem}}#center-menu-fp-id{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded{min-width:16.5rem;min-height:16.5rem}.center-menu{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu>*{pointer-events:all}.center-menu .hidden{display:none!important}.center-menu .center-menu-fp.submenu-active{width:27rem}.center-menu .center-menu-controller{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu .center-menu-controller.opened{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu .center-menu-controller:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu .center-menu-sub-menu-dead-zone{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu .center-menu-sub-menu-border{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu .center-menu-sub-menu{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .center-menu-sub-menu .centermenu-button{width:35rem;height:35rem;left:auto;right:0}.center-menu .center-menu-sub-menu .centermenu-button .centermenu-button-text{display:none}.center-menu .center-menu-sub-menu .centermenu-button .centermenu-button-icon{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .center-sub-menu-button{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu .center-menu-sub-menu .center-sub-menu-button.active:not(.disabled){background-color:#fe5000}.center-menu .center-menu-sub-menu .center-sub-menu-button .center-sub-menu-button-icon{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu .center-menu-circle-border-outer,.center-menu .center-menu-circle-border-inner{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu .center-menu-circle-border-outer{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu .center-menu-circle-border-inner{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu .center-menu-circle{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .center-menu-circle .centermenu-button-text{display:none}.center-menu .center-menu-circle .bim-ui-popupwin-content{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu .center-menu-circle .bim-ui-popupwin-content .section-menu-item,.center-menu .center-menu-circle .bim-ui-popupwin-content .annotation-menu-item{text-align:center}.center-menu .center-menu-circle .bim-ui-popupwin-item{min-width:7.125em}.center-menu .center-menu-circle .submenu-container{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu .center-menu-circle .centermenu-button:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(5) .centermenu-button-icon{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(6) .centermenu-button-icon{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(7) .centermenu-button-icon{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(8) .centermenu-button-icon{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(9) .centermenu-button-icon{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(10) .centermenu-button-icon{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(11) .centermenu-button-icon{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu .centermenu-button{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu .centermenu-button.active:not(.disabled){background-color:#fe5000}.center-menu .centermenu-button .centermenu-button-icon{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button:nth-child(1) .center-sub-menu-button-icon{transform:rotate(-65deg)}.center-sub-menu-button:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button:nth-child(2) .center-sub-menu-button-icon{transform:rotate(-85deg)}.center-sub-menu-button:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button:nth-child(3) .center-sub-menu-button-icon{transform:rotate(-105deg)}.center-sub-menu-button:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button:nth-child(4) .center-sub-menu-button-icon{transform:rotate(-125deg)}@-webkit-keyframes highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu .center-menu-fp.is-dragging .center-menu-controller,.center-menu .center-menu-fp.is-dragging .centermenu-button{cursor:move}.center-menu .center-menu-fp.is-dragging .center-menu-sub-menu .centermenu-button{cursor:auto}.center-menu .center-menu-fp.is-dragging .center-menu-sub-menu .centermenu-button .centermenu-button-icon{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-controller,.center-menu .center-menu-fp:not(.is-dragging) .centermenu-button{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-sub-menu .centermenu-button{cursor:auto}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-sub-menu .centermenu-button .centermenu-button-icon{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) div:not(.center-menu-sub-menu) .centermenu-button:not(.active):hover{background-color:#8d8d8d}.center-menu .center-menu-fp:not(.is-dragging) div:not(.center-menu-sub-menu) .centermenu-button.pulse:not(.disabled){-webkit-animation:highlight .25s linear;animation:highlight .25s linear}#cmb-view-submenu{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu{display:none;text-align:left;position:absolute}.center-menu{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .embedded .center-menu-circle{width:16.5rem;height:16.5rem}.center-menu .embedded .center-menu-controller{left:5.8rem;top:5.8rem}.center-menu .embedded .centermenu-button,.center-menu .embedded .center-menu-circle-border-outer,.center-menu .embedded .center-menu-circle-border-inner{width:16.5rem;height:16.5rem}.center-menu .embedded .center-menu-sub-menu{width:30rem;height:31rem}.center-menu .embedded .center-menu-sub-menu .centermenu-button{width:30rem;height:30rem}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu-border{width:30rem;height:31rem}.ui-icon-create-task{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view:hover{background-image:url("./media/cm_view_top_orange.svg")}
|
|
27
|
+
`],encapsulation:3});let t=e;return t})();var XM=Math.PI/180,Ih=2*Math.PI,At=class t{static pointOnArc(e,i,n){let o=(n-90)*XM;return[e[0]+i*Math.cos(o),e[1]+i*Math.sin(o)]}static arc(e,i,n,o,r,s,a){let l=i-r,c=Math.abs(o-n);s=Math.min(r/2,s),360*(s/(Math.PI*(i-r)))>Math.abs(n-o)&&(s=c/360*l*Math.PI);let u=l+s,h=i-s,v=this.pointOnArc(e,h,n),x=this.pointOnArc(e,h,o),T=this.pointOnArc(e,u,n),F=this.pointOnArc(e,u,o),Q=360*(s/(Ih*l)),$=360*(s/(Ih*i)),Ee=this.pointOnArc(e,l,n+Q),je=this.pointOnArc(e,l,o-Q),Ke=this.pointOnArc(e,i,n+$),Je=this.pointOnArc(e,i,o-$),le=c>180+2*$?1:0,Ye=c>180+2*Q?1:0;return new Array("M",(v[0]/a).toString(),(v[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(Ke[0]/a).toString(),(Ke[1]/a).toString(),"A",(i/a).toString(),(i/a).toString(),"0",(le/a).toString(),"1",(Je[0]/a).toString(),(Je[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(x[0]/a).toString(),(x[1]/a).toString(),"L",(F[0]/a).toString(),(F[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(je[0]/a).toString(),(je[1]/a).toString(),"A",(l/a).toString(),(l/a).toString(),"0",(Ye/a).toString(),"0",(Ee[0]/a).toString(),(Ee[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(T[0]/a).toString(),(T[1]/a).toString(),"Z").join(" ")}static drawMenuItemSvg(e,i,n,o){let r=o?(e-5)*10:e*10,s=o?(i-3)*10:i*10,a=r*2,c=360/(n>0?n:1)*Math.PI/360,u=r-Math.sin(c)*r,h=r-Math.cos(c)*r,v=r+Math.sin(c)*r,x=r-Math.cos(c)*r;return{radius:r/a,radiusInner:s/a,width:1,thick:(r-s)/a,innerEdgeRight:(r+s)/a,leftX:u/a,leftY:h/a,rightX:v/a,rightY:x/a}}static generateAnnularSector(e){return t.arc([e.subMenuCenter[0]*12,e.subMenuCenter[1]*12],e.subMenuRadius*12,e.subMenuStartAngle,e.subMenuEndAngle,e.subMenuWidth,7,425)}static generateAnnularSectorBorder(e){return t.arc([e.subMenuCenter[0]*12,e.subMenuCenter[1]*12],e.subMenuRadius*12+1,e.subMenuStartAngle-.5,e.subMenuEndAngle+.5,e.subMenuWidth+2,7,425)}static generateDeadZoneAnnularSector(e){return t.arc([e.deadZoneCenter[0]*12,e.deadZoneCenter[1]*12],e.deadZoneRadius*12,e.deadZoneStartAngle,e.deadZoneEndAngle,e.deadZoneWidth,7,700)}static getSVGViewBox(e){return`0 0 ${e.width} ${e.width}`}static getSVGCenterMenuPath(e){return`M 0 ${e.radius} A ${e.radius} ${e.radius} 0 0 1 ${e.width} ${e.radius} L ${e.width} ${e.radius} A ${e.radius} ${e.radius} 0 0 1 0 ${e.radius} L ${e.thick} ${e.radius} A ${e.radiusInner} ${e.radiusInner} 0 0 0 ${e.innerEdgeRight} ${e.radius} L ${e.innerEdgeRight} ${e.radius} A ${e.radiusInner} ${e.radiusInner} 0 0 0 ${e.thick} ${e.radius} Z`}static getSVGCenterMenuItemPath(e){return`M ${e.radius} ${e.radius} L ${e.leftX} ${e.leftY} A ${e.radius} ${e.radius} 0 0 1 ${e.rightX} ${e.rightY} L ${e.rightX} ${e.rightY} L ${e.radius} ${e.radius} Z`}static getSVGCenterSubMenuItemPath(e){return`M ${e.radius} ${e.radius} L ${e.leftX} ${e.leftY} A ${e.radius} ${e.radius} 0 0 1 ${e.rightX} ${e.rightY} L ${e.rightX} ${e.rightY} L ${e.radius} ${e.radius} Z`}};var JM=(t,e,i)=>({disabled:t,enabled:e,active:i});function eI(t,e){if(t&1&&(m(0,"div",1)(1,"span",2),E(2),f()()),t&2){let i=g();p("ngClass",wt(3,JM,!i.isEnabled,i.isEnabled,i.active))("className",i.item.iconClass),d(2),oe(i.item.text)}}var Eh=(()=>{let e=class e{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-tool-hub-item"]],hostVars:6,hostBindings:function(o,r){o&2&&J("active",r.active)("enabled",r.isEnabled)("centermenu-button",r.centerMenuButtonClass)},inputs:{item:"item",active:"active",isEnabled:"isEnabled"},standalone:!0,features:[S],decls:1,vars:1,consts:[["class","centermenu-button-icon dragger",3,"ngClass","className",4,"ngIf"],[1,"centermenu-button-icon","dragger",3,"ngClass","className"],[1,"centermenu-button-text"]],template:function(o,r){o&1&&C(0,eI,3,7,"div",0),o&2&&p("ngIf",r.item)},dependencies:[N,X,Be],styles:['.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.shadow[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch[_ngcontent-%COMP%] .center-menu[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%]{display:none;top:19rem}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%] .bim-ui-popupwin-tick-down[_ngcontent-%COMP%]{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}#center-menu-fp-id[_ngcontent-%COMP%]{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded[_ngcontent-%COMP%]{min-width:16.5rem;min-height:16.5rem}.center-menu[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:all}.center-menu[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.center-menu[_ngcontent-%COMP%] .center-menu-fp.submenu-active[_ngcontent-%COMP%]{width:27rem}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-dead-zone[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:35rem;height:35rem;left:auto;right:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%]{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%] .center-sub-menu-button-icon[_ngcontent-%COMP%]{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .section-menu-item[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .annotation-menu-item[_ngcontent-%COMP%]{text-align:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-item[_ngcontent-%COMP%]{min-width:7.125em}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu[_ngcontent-%COMP%] .centermenu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-65deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-85deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-105deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-125deg)}@-webkit-keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:move}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .centermenu-button[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button[_ngcontent-%COMP%]:not(.active):hover{background-color:#8d8d8d}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button.pulse[_ngcontent-%COMP%]:not(.disabled){-webkit-animation:_ngcontent-%COMP%_highlight .25s linear;animation:_ngcontent-%COMP%_highlight .25s linear}#cmb-view-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute}.center-menu[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{left:5.8rem;top:5.8rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{width:30rem;height:31rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:30rem;height:30rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{width:30rem;height:31rem}.ui-icon-create-task[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_top_orange.svg")}']});let t=e;return t})();var tI=(t,e,i)=>({disabled:t,enabled:e,active:i});function nI(t,e){if(t&1&&(m(0,"div",1)(1,"span",2),E(2),f()()),t&2){let i=g();p("ngClass",wt(3,tI,!i.isEnabled,i.isEnabled,i.active))("className",i.item.iconClass),d(2),oe(i.item.text)}}var kh=(()=>{let e=class e{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0,this.centerSubMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-tool-hub-sub-item"]],hostVars:8,hostBindings:function(o,r){o&2&&J("active",r.active)("enabled",r.isEnabled)("centermenu-button",r.centerMenuButtonClass)("center-sub-menu-button",r.centerSubMenuButtonClass)},inputs:{item:"item",active:"active",isEnabled:"isEnabled"},standalone:!0,features:[S],decls:1,vars:1,consts:[["class","center-sub-menu-button-icon",3,"ngClass","className",4,"ngIf"],[1,"center-sub-menu-button-icon",3,"ngClass","className"],[1,"centermenu-button-text"]],template:function(o,r){o&1&&C(0,nI,3,7,"div",0),o&2&&p("ngIf",r.item)},dependencies:[N,X,Be],styles:['.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.shadow[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch[_ngcontent-%COMP%] .center-menu[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%]{display:none;top:19rem}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%] .bim-ui-popupwin-tick-down[_ngcontent-%COMP%]{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}#center-menu-fp-id[_ngcontent-%COMP%]{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded[_ngcontent-%COMP%]{min-width:16.5rem;min-height:16.5rem}.center-menu[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:all}.center-menu[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.center-menu[_ngcontent-%COMP%] .center-menu-fp.submenu-active[_ngcontent-%COMP%]{width:27rem}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-dead-zone[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:35rem;height:35rem;left:auto;right:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%]{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%] .center-sub-menu-button-icon[_ngcontent-%COMP%]{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .section-menu-item[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .annotation-menu-item[_ngcontent-%COMP%]{text-align:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-item[_ngcontent-%COMP%]{min-width:7.125em}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu[_ngcontent-%COMP%] .centermenu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-65deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-85deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-105deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-125deg)}@-webkit-keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:move}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .centermenu-button[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button[_ngcontent-%COMP%]:not(.active):hover{background-color:#8d8d8d}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button.pulse[_ngcontent-%COMP%]:not(.disabled){-webkit-animation:_ngcontent-%COMP%_highlight .25s linear;animation:_ngcontent-%COMP%_highlight .25s linear}#cmb-view-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute}.center-menu[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{left:5.8rem;top:5.8rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{width:30rem;height:31rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:30rem;height:30rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{width:30rem;height:31rem}.ui-icon-create-task[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_top_orange.svg")}']});let t=e;return t})();var iI=(t,e)=>({opened:t,active:e});function oI(t,e){if(t&1){let i=A();m(0,"lib-tool-hub-item",16),L(1,"translate"),b("clicked",function(){let o=M(i).$implicit,r=g();return I(r.clickToolHubItem(o.buttonId))}),f()}if(t&2){let i=e.$implicit;p("title",V(1,5,i.tooltip))("item",i)("active",!!i.active)("isEnabled",!i.disabled),W("data-test","toolhub_item_"+i.buttonId)}}function rI(t,e){if(t&1){let i=A();m(0,"lib-tool-hub-sub-item",21),L(1,"translate"),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r.clickToolHubSubItem(o.buttonId))}),f()}if(t&2){let i=e.$implicit;p("title",V(1,3,i.tooltip))("item",i),W("data-test","toolhub_subitem_"+i.buttonId)}}function sI(t,e){if(t&1){let i=A();m(0,"div",17),b("mouseleave",function(){M(i);let o=g();return I(o.setHoveredState("submenuBorder",!1))})("mouseenter",function(){M(i);let o=g();return I(o.setHoveredState("submenuBorder",!0))}),f(),m(1,"div",18),b("mouseleave",function(){M(i);let o=g();return I(o.setHoveredState("submenu",!1))})("mouseenter",function(){M(i);let o=g();return I(o.setHoveredState("submenu",!0))}),C(2,rI,2,5,"lib-tool-hub-sub-item",19),f(),m(3,"div",20),b("mouseleave",function(){M(i);let o=g();return I(o.setHoveredState("deadZone",!1))})("mouseenter",function(){M(i);let o=g();return I(o.setHoveredState("deadZone",!0))}),f()}if(t&2){let i=g();p("ngClass",i.isOpened?"":"hidden"),d(),p("ngClass",i.isOpened?"":"hidden"),d(),p("ngForOf",i.activeSubItems),d(),p("ngClass",i.isOpened?"":"hidden")}}function aI(){return{subMenuStartAngle:50,subMenuEndAngle:130,svgRadiusInner:5.75,svgRadius:10.25,subMenuCenter:[17.25,17.5],subMenuRadius:15.5,subMenuWidth:52,deadZoneCenter:[17,18],deadZoneWidth:140,deadZoneRadius:22,deadZoneStartAngle:45,deadZoneEndAngle:135}}function lI(){let t=[{buttonId:"cmButCreateTask",iconClass:"ui-icon-create-task",text:"_Create_issue_center_menu_tooltip",tooltip:"_Create_issue_center_menu_tooltip",tooltipDisabled:"_Create_issue_center_menu_tooltip"},{buttonId:"cmButQuantityTakeOff",iconClass:"ui-icon-quantity-take-off",text:"_Quantity_take_Off_center_menu_tooltip",tooltip:"_Quantity_take_Off_center_menu_tooltip",tooltipDisabled:"_Quantity_take_Off_center_menu_tooltip"},{buttonId:"cmButMarkup",iconClass:"ui-icon-markup",text:"_Markups_center_menu_tooltip",tooltip:"_Markups_center_menu_tooltip",tooltipDisabled:"_Markups_center_menu_tooltip"},{buttonId:"cmButSection",iconClass:"ui-icon-section",text:"_Sectioning_center_menu_tooltip",tooltip:"_Sectioning_center_menu_tooltip",tooltipDisabled:"_Sectioning_center_menu_tooltip"},{buttonId:"cmButObjTranspMenu",iconClass:"ui-icon-obj-transp",text:"_Hide_objects_center_menu_tooltip",tooltip:"_Hide_objects_center_menu_tooltip",tooltipDisabled:"_Hide_objects_center_menu_tooltip"},{buttonId:"cmButObjSel",iconClass:"ui-icon-obj-select",text:"_Isolate_objects_center_menu_tooltip",tooltip:"_Isolate_objects_center_menu_tooltip",tooltipDisabled:"_Isolate_objects_center_menu_tooltip"},{buttonId:"cmButNavigationMap",iconClass:"ui-icon-navigation-map",text:"_Navigation_nap_center_menu_tooltip",tooltip:"_Navigation_nap_center_menu_tooltip",tooltipDisabled:"_Navigation_nap_center_menu_tooltip"},{buttonId:"cmButFullScreen",iconClass:"ui-icon-fullscreen",text:"_Fullscreen_node_center_menu_tooltip",tooltip:"_Fullscreen_node_center_menu_tooltip",tooltipDisabled:"_Fullscreen_node_center_menu_tooltip"},{buttonId:"cmButProjectNavigator",iconClass:"ui-icon-project-navigator",text:"_Project_navigator_center_menu_tooltip",tooltip:"_Project_navigator_center_menu_tooltip",tooltipDisabled:"_Project_navigator_center_menu_tooltip"},{iconClass:"ui-icon-obj-reset",buttonId:"cmButResetObj",text:"_Reset_viewport_center_menu_tooltip",tooltip:"_Reset_viewport_center_menu_tooltip",tooltipDisabled:"_Reset_viewport_center_menu_tooltip"},{buttonId:"cmButResetVp",iconClass:"ui-icon-reset-vp",text:"_Select_view_center_menu_tooltip",tooltip:"_Select_view_center_menu_tooltip",tooltipDisabled:"_Select_view_center_menu_tooltip",subMenuId:"cmb-view-submenu",subItems:[{buttonId:"cmButFrontView",iconClass:"ui-icon-front-view",text:"_Front_view_center_menu_tooltip",tooltip:"_Front_view_center_menu_tooltip",tooltipDisabled:"_Front_view_center_menu_tooltip",actionClick:"centerMenuFrontViewClick"},{buttonId:"cmButTopView",iconClass:"ui-icon-top-view",text:"_Top_view_center_menu_tooltip",tooltip:"_Top_view_center_menu_tooltip",tooltipDisabled:"_Top_view_center_menu_tooltip",actionClick:"centerMenuTopViewClick"},{buttonId:"cmButSideView",iconClass:"ui-icon-side-view",text:"_Side_view_center_menu_tooltip",tooltip:"_Side_view_center_menu_tooltip",tooltipDisabled:"_Side_view_center_menu_tooltip",actionClick:"centerMenuSideViewClick"},{buttonId:"cmButPerspectiveView",iconClass:"ui-icon-perspective-view",text:"_Perspective_view_center_menu_tooltip",tooltip:"_Perspective_view_center_menu_tooltip",tooltipDisabled:"_Perspective_view_center_menu_tooltip",actionClick:"centerMenuPerspectiveViewClick"}]}];return t.map(e=>{e.active=!1,e.disabled=!0}),t}var Sh=(()=>{let e=class e extends ie{constructor(n){super(n),this.left=500,this.top=500,this.isEmbedded=!1,this.isFocused=!1,this.isActive=!0,this.itemClicked=new y,this.subItemClicked=new y,this._isOpened=!0,this._itemStates=Array(),this._items=Array(),this._activeSubItemsView=null,this._activeSubItems=null,this._hoveredElements=Array(),this.items=lI(),this._visualSettings=aI(),this._units=this.calculateCurrentMenuItemUnits(),this._subMenuUnits=this.calculateCurrentSubMenuItemUnits(),this._annularSector=At.generateAnnularSector(this._visualSettings),this._annularSectorBorder=At.generateAnnularSectorBorder(this._visualSettings),this._deadZoneAnnularSector=At.generateDeadZoneAnnularSector(this._visualSettings)}get itemStates(){return this._itemStates}set itemStates(n){this._itemStates=n,this.setItemStates(this._itemStates)}setItemStates(n){for(let o of n){let r=this._items.find(s=>s.buttonId===o.buttonId);r&&(o.active!=null&&(r.active=o.active),o.disabled!==void 0&&(r.disabled=o.disabled))}}get items(){return this._items}set items(n){this._items=n;let o=this._items?.length>0?this._items.length:1,r=document?.documentElement?.style;if(r){let s=r.getPropertyValue("--menu-items");parseInt(s)!=o&&r.setProperty("--menu-items",o.toString())}this.setItemStates(this._itemStates)}get activeSubItems(){return this._activeSubItems}get isOpened(){return this._isOpened}set isOpened(n){this._isOpened=n}get units(){return this._units}get subMenuUnits(){return this._subMenuUnits}get annularSector(){return this._annularSector}get annularSectorBorder(){return this._annularSectorBorder}get deadZoneAnnularSector(){return this._deadZoneAnnularSector}getSVGViewBox(){return At.getSVGViewBox(this._units)}getSVGCenterMenuPath(){return At.getSVGCenterMenuPath(this._units)}getSVGCenterMenuItemPath(){return At.getSVGCenterMenuItemPath(this._units)}getSVGCenterSubMenuItemPath(){return At.getSVGCenterSubMenuItemPath(this._subMenuUnits)}toggleMenu(){this.isOpened=!this.isOpened}findToolHubItemById(n){return this._items.find(o=>o.buttonId===n)}clickToolHubItem(n){let o=this.findToolHubItemById(n);!o||o?.disabled||this.itemClicked.emit(n)}clickToolHubSubItem(n){!this._activeSubItems||!this._activeSubItems.find(r=>r.buttonId===n)||(this.subItemClicked.emit(n),this.closeActiveSubItemsView())}toggleToolHubItemActive(n){let o=this.findToolHubItemById(n);!o||o.disabled||(o.active=!o.active)}toggleSubItemsView(n){let o=this.findToolHubItemById(n);!o||o.disabled||!o.subItems||(o.active=!o.active,o.active?(this._activeSubItemsView=o,this._activeSubItems=o.subItems):(this._activeSubItemsView=null,this._activeSubItems=null))}closeActiveSubItemsView(){this._activeSubItemsView&&(this._activeSubItemsView.active=!1,this._activeSubItemsView=null),this._activeSubItems=null}setHoveredState(n,o){let r=this._hoveredElements.indexOf(n),s=this._hoveredElements.length;r>=0&&!o&&this._hoveredElements.splice(r,1),r<0&&o&&this._hoveredElements.push(n),s>0&&this._hoveredElements.length===0&&setInterval(()=>{this._hoveredElements.length===0&&this.closeActiveSubItemsView()},1e3)}dragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}calculateCurrentMenuItemUnits(){return At.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,this._items.length,this.isEmbedded)}calculateCurrentSubMenuItemUnits(){return At.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,20,this.isEmbedded)}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-tool-hub"]],hostVars:4,hostBindings:function(o,r){o&2&&ke("left",r.left,"px")("top",r.top,"px")},inputs:{left:"left",top:"top",itemStates:"itemStates",items:"items",isOpened:[_.HasDecoratorInputTransform,"isOpened","isOpened",D],isEmbedded:[_.HasDecoratorInputTransform,"isEmbedded","isEmbedded",D],isFocused:[_.HasDecoratorInputTransform,"isFocused","isFocused",D],isActive:[_.HasDecoratorInputTransform,"isActive","isActive",D]},outputs:{itemClicked:"itemClicked",subItemClicked:"subItemClicked"},standalone:!0,features:[K([P]),fe,z,S],decls:23,vars:22,consts:[[1,"center-menu"],["id","center-menu-fp-id",1,"center-menu-fp",3,"ngClass"],["libDraggable","","id","center-menu-controller","data-test","toolhub_controller",1,"center-menu-controller","dragger",3,"clicked","dragging","ngClass","title"],[1,"center-menu-circle-border-inner",3,"ngClass"],[1,"center-menu-circle-border-outer",3,"mouseleave","mouseenter","ngClass"],["libDraggable","",1,"center-menu-circle",3,"mouseleave","mouseenter","dragging","ngClass"],["libDraggable","",3,"title","item","active","isEnabled","clicked",4,"ngFor","ngForOf"],["fill","none",1,"centermenu-button-svg"],["id","svgCenterMenu","clipPathUnits","objectBoundingBox"],["fill","white"],["id","svgCenterMenuItem","clipPathUnits","objectBoundingBox"],["id","svgCenterSubMenuItem","clipPathUnits","objectBoundingBox"],["id","svgCenterMenuSubMenu","clipPathUnits","objectBoundingBox"],["fill","none"],["id","svgCenterMenuSubMenuBorder","clipPathUnits","objectBoundingBox"],["id","svgCenterMenuSubMenuDeadZone","clipPathUnits","objectBoundingBox"],["libDraggable","",3,"clicked","title","item","active","isEnabled"],[1,"center-menu-sub-menu-border",3,"mouseleave","mouseenter","ngClass"],[1,"center-menu-sub-menu",3,"mouseleave","mouseenter","ngClass"],[3,"title","item","click",4,"ngFor","ngForOf"],[1,"center-menu-sub-menu-dead-zone",3,"mouseleave","mouseenter","ngClass"],[3,"click","title","item"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1)(2,"div",2),L(3,"translate"),L(4,"translate"),b("clicked",function(){return r.toggleMenu()})("dragging",function(a){return r.dragElement(a)}),f(),O(5,"div",3),m(6,"div",4),b("mouseleave",function(){return r.setHoveredState("menuCircleBorderOuter",!1)})("mouseenter",function(){return r.setHoveredState("menuCircleBorderOuter",!0)}),f(),m(7,"div",5),b("mouseleave",function(){return r.setHoveredState("menuCircle",!1)})("mouseenter",function(){return r.setHoveredState("menuCircle",!0)})("dragging",function(a){return r.dragElement(a)}),C(8,oI,2,7,"lib-tool-hub-item",6),dp(),m(9,"svg",7)(10,"clipPath",8),O(11,"path",9),f(),m(12,"clipPath",10),O(13,"path",9),f(),m(14,"clipPath",11),O(15,"path",9),f(),m(16,"clipPath",12),O(17,"path",13),f(),m(18,"clipPath",14),O(19,"path",13),f(),m(20,"clipPath",15),O(21,"path",13),f()()(),C(22,sI,4,4),f()()),o&2&&(d(),p("ngClass",r.activeSubItems?"submenu-active":""),d(),p("ngClass",ft(19,iI,r.isOpened,r.isActive))("title",r.isOpened?V(3,15,"_Minimize_toolhub_tooltip"):V(4,17,"_Show_toolhub_tooltip")),d(3),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngForOf",r.items),d(),W("viewBox",r.getSVGViewBox()),d(2),W("d",r.getSVGCenterMenuPath()),d(2),W("d",r.getSVGCenterMenuItemPath()),d(2),W("d",r.getSVGCenterSubMenuItemPath()),d(2),W("d",r.annularSector),d(2),W("d",r.annularSectorBorder),d(2),W("d",r.deadZoneAnnularSector),d(),H(22,r.activeSubItems?22:-1))},dependencies:[ne,Ie,N,X,ve,Eh,kh,En],styles:[`.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.shadow{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch .center-menu .submenu-container{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch #cmb-view-submenu{display:none;top:19rem}.is-touch #cmb-view-submenu .bim-ui-popupwin-tick-down{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position{left:-35rem}}#center-menu-fp-id{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded{min-width:16.5rem;min-height:16.5rem}.center-menu{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu>*{pointer-events:all}.center-menu .hidden{display:none!important}.center-menu .center-menu-fp.submenu-active{width:27rem}.center-menu .center-menu-controller{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu .center-menu-controller.opened{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu .center-menu-controller:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu .center-menu-sub-menu-dead-zone{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu .center-menu-sub-menu-border{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu .center-menu-sub-menu{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .center-menu-sub-menu .centermenu-button{width:35rem;height:35rem;left:auto;right:0}.center-menu .center-menu-sub-menu .centermenu-button .centermenu-button-text{display:none}.center-menu .center-menu-sub-menu .centermenu-button .centermenu-button-icon{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .center-sub-menu-button{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu .center-menu-sub-menu .center-sub-menu-button.active:not(.disabled){background-color:#fe5000}.center-menu .center-menu-sub-menu .center-sub-menu-button .center-sub-menu-button-icon{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu .center-menu-circle-border-outer,.center-menu .center-menu-circle-border-inner{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu .center-menu-circle-border-outer{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu .center-menu-circle-border-inner{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu .center-menu-circle{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .center-menu-circle .centermenu-button-text{display:none}.center-menu .center-menu-circle .bim-ui-popupwin-content{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu .center-menu-circle .bim-ui-popupwin-content .section-menu-item,.center-menu .center-menu-circle .bim-ui-popupwin-content .annotation-menu-item{text-align:center}.center-menu .center-menu-circle .bim-ui-popupwin-item{min-width:7.125em}.center-menu .center-menu-circle .submenu-container{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu .center-menu-circle .centermenu-button:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(5) .centermenu-button-icon{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(6) .centermenu-button-icon{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(7) .centermenu-button-icon{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(8) .centermenu-button-icon{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(9) .centermenu-button-icon{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(10) .centermenu-button-icon{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(11) .centermenu-button-icon{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu .centermenu-button{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu .centermenu-button.active:not(.disabled){background-color:#fe5000}.center-menu .centermenu-button .centermenu-button-icon{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button:nth-child(1) .center-sub-menu-button-icon{transform:rotate(-65deg)}.center-sub-menu-button:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button:nth-child(2) .center-sub-menu-button-icon{transform:rotate(-85deg)}.center-sub-menu-button:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button:nth-child(3) .center-sub-menu-button-icon{transform:rotate(-105deg)}.center-sub-menu-button:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button:nth-child(4) .center-sub-menu-button-icon{transform:rotate(-125deg)}@-webkit-keyframes highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu .center-menu-fp.is-dragging .center-menu-controller,.center-menu .center-menu-fp.is-dragging .centermenu-button{cursor:move}.center-menu .center-menu-fp.is-dragging .center-menu-sub-menu .centermenu-button{cursor:auto}.center-menu .center-menu-fp.is-dragging .center-menu-sub-menu .centermenu-button .centermenu-button-icon{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-controller,.center-menu .center-menu-fp:not(.is-dragging) .centermenu-button{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-sub-menu .centermenu-button{cursor:auto}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-sub-menu .centermenu-button .centermenu-button-icon{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) div:not(.center-menu-sub-menu) .centermenu-button:not(.active):hover{background-color:#8d8d8d}.center-menu .center-menu-fp:not(.is-dragging) div:not(.center-menu-sub-menu) .centermenu-button.pulse:not(.disabled){-webkit-animation:highlight .25s linear;animation:highlight .25s linear}#cmb-view-submenu{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu{display:none;text-align:left;position:absolute}.center-menu{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .embedded .center-menu-circle{width:16.5rem;height:16.5rem}.center-menu .embedded .center-menu-controller{left:5.8rem;top:5.8rem}.center-menu .embedded .centermenu-button,.center-menu .embedded .center-menu-circle-border-outer,.center-menu .embedded .center-menu-circle-border-inner{width:16.5rem;height:16.5rem}.center-menu .embedded .center-menu-sub-menu{width:30rem;height:31rem}.center-menu .embedded .center-menu-sub-menu .centermenu-button{width:30rem;height:30rem}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu-border{width:30rem;height:31rem}.ui-icon-create-task{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view:hover{background-image:url("./media/cm_view_top_orange.svg")}
|
|
28
28
|
`],encapsulation:3});let t=e;return t})();var cI=(t,e)=>({open:t,"is-touch":e}),dI=t=>({open:t}),uI=t=>({selected:t});function mI(t,e){if(t&1){let i=A();m(0,"li",7),b("click",function(){let o=M(i).$implicit,r=g();return I(r._menuItemClicked(o.mode))}),O(1,"div",8),m(2,"span"),E(3),L(4,"translate"),f()()}if(t&2){let i=e.$implicit,n=g();p("ngClass",we(5,uI,n.selectedMode===i.mode)),d(),p("ngClass",i.class),d(2),oe(V(4,3,i.textId))}}var Oh=(()=>{let e=class e extends ie{constructor(n){super(n),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 y}get _selectedItem(){return this._menuItemsList.find(n=>n.mode==this.selectedMode)}ngOnChanges(n){n.localizedStrings&&(this.localizedStrings=n.localizedStrings.currentValue)}_menuItemClicked(n){ae(this,"bimplusTouchModeSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-touch-menu"]],inputs:{isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",D],selectedMode:"selectedMode"},outputs:{bimplusTouchModeSelected:"bimplusTouchModeSelected"},standalone:!0,features:[K([P]),fe,z,Ue,S],decls:7,vars:10,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],[1,"dropdown",3,"click","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",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","ngClass"],[1,"icon",3,"ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),b("click",function(){return r._toggleOpened()}),f(),m(1,"div",1),b("click",function(){return r._toggleOpened()}),m(2,"div",2),O(3,"div",3)(4,"span",4),f(),m(5,"ul",5),C(6,mI,5,7,"li",6),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),d(),p("ngClass",ft(5,cI,r._menuOpened,r.isTouch)),d(2),p("ngClass",r._selectedItem!=null&&r._selectedItem.class?r._selectedItem==null?null:r._selectedItem.class:""),d(2),p("ngClass",we(8,dI,r._menuOpened)),d(),p("ngForOf",r._menuItemsList))},dependencies:[N,X,ve,ne,Ie],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:#555;background-color:#e7e7e7}.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:#777;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:#333}.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:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;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:#ffe6da}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:#e5e5e5;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("./media/bimplus_Components_Touch_Mode.svg") no-repeat center}.icon-desktop-mode-toolbar{background:url("./media/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}
|
|
29
29
|
`],encapsulation:3});let t=e;return t})();var pI=(t,e)=>({divider:t,languageMenuItem:e});function fI(t,e){if(t&1&&E(0),t&2){let i=g();B(" ",i.userName," ")}}function gI(t,e){if(t&1){let i=A();m(0,"div",16),b("click",function(){let o=M(i).$implicit,r=g(4);return I(r._switchLanguage(o.symbol))}),E(1),f()}if(t&2){let i=e.$implicit,n=g(4);ge("id",n._getLangId(i)),p("ngClass",i.symbol===n.selectedLanguage?"selected":""),W("key",n._getLangId(i)),d(),B(" ",i.text," ")}}function hI(t,e){if(t&1&&(O(0,"div",10)(1,"div",11),m(2,"span",12),E(3),L(4,"translate"),f(),m(5,"div",13)(6,"div",14),C(7,gI,2,4,"div",15),f()()),t&2){let i=g(2).$implicit,n=g();d(),p("ngClass",i.class),d(),p("ngClass",i.textClass?i.textClass:""),d(),B(" ",V(4,5,i.textId)," "),d(2),p("ngClass",n._languagesMenuOpened?"open":""),d(2),p("ngForOf",n._languagesList)}}function bI(t,e){if(t&1&&(O(0,"div",17)(1,"div",11),m(2,"span",12),E(3),L(4,"translate"),f()),t&2){let i=g(2).$implicit;d(),p("ngClass",i.class),d(),p("ngClass",i.textClass?i.textClass:""),d(),B(" ",V(4,3,i.textId)," ")}}function _I(t,e){if(t&1&&(O(0,"div",17),m(1,"a",18),O(2,"div",11),m(3,"span",12),E(4),L(5,"translate"),f()()),t&2){let i=g(2).$implicit,n=g();d(),ge("href",n._buildUrl(i),Vo),d(),p("ngClass",i.class),d(),p("ngClass",i.textClass?i.textClass:""),d(),B(" ",V(5,4,i.textId)," ")}}function vI(t,e){if(t&1){let i=A();m(0,"li",9),b("click",function(){M(i);let o=g(),r=o.$implicit,s=o.index,a=g();return I(a._menuItemClicked(r,s))}),C(1,hI,8,7)(2,bI,5,5)(3,_I,6,6),f()}if(t&2){let i=g().$implicit;p("ngClass",ft(4,pI,i.type==="divider",i.action==="submenu")),W("key",i.id)("role",i.type==="divider"?"separator":""),d(),H(1,i.action==="submenu"?1:!i.url||i.url.slice(0,2)==="#/"?2:!i.type||i.type!=="divider"?3:-1)}}function yI(t,e){if(t&1&&(ut(0),C(1,vI,4,7,"li",8),mt()),t&2){let i=e.$implicit;d(),p("ngIf",i)}}var Th=(()=>{let e=class e extends ie{constructor(n){super(n),this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",url:"",textClass:"",queryParams:""},{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",url:"https://doc.allplan.com/display/BIMPLUSMANUAL/Bimplus+Benutzerhandbuch",type:"",checkState:"",textClass:"",queryParams:""},{id:"supportLink",action:"support",class:"icon-support",textId:"_Support",url:"https://connect.allplan.com/en/support/contact.ct",queryParams:"no_cache=1",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",url:"https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",type:"",checkState:"",textClass:"",queryParams:""},{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:""}],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.supportVisible=!0,this.forumVisible=!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.bimplusUserMenuClicked=new y,this.bimplusLanguageSelected=new y}ngOnChanges(n){n.localizedStrings&&(this.localizedStrings=n.localizedStrings.currentValue)}_menuItemClicked(n,o){!n||n.type==="divider"||(n.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,ae(this,"bimplusUserMenuClicked",{index:o,action:n.action?n.action:""})))}_switchLanguage(n){this._languagesMenuOpened=!1,this._menuOpened=!1,ae(this,"bimplusLanguageSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(n){return n?!this[`${n.action?n.action:n.id}Visible`]:!1}_buildUrl(n){let o=n?.url,s=this._languagesList.find(l=>l.symbol===this.selectedLanguage)?.lCode,a=n?.url?.endsWith?.(".ct")&&s;return(n?.queryParams||a)&&(o=o+"?",a&&(o=o+"L="+s,n?.queryParams&&(o=o+"&")),n?.queryParams&&(o=o+n.queryParams)),o}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(o=>{if(!(this._isHidden(o)||o.checkState&&!this[o.checkState]))return o})}_getLangId(n){return"portalLanguage"+n?.symbol.charAt(0).toUpperCase()+n?.symbol.slice(1)}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[_.HasDecoratorInputTransform,"accountSettingsVisible","accountSettingsVisible",D],removeConnectedAppsVisible:[_.HasDecoratorInputTransform,"removeConnectedAppsVisible","removeConnectedAppsVisible",D],userGuideVisible:[_.HasDecoratorInputTransform,"userGuideVisible","userGuideVisible",D],supportVisible:[_.HasDecoratorInputTransform,"supportVisible","supportVisible",D],forumVisible:[_.HasDecoratorInputTransform,"forumVisible","forumVisible",D],submenuVisible:[_.HasDecoratorInputTransform,"submenuVisible","submenuVisible",D],clearCacheVisible:[_.HasDecoratorInputTransform,"clearCacheVisible","clearCacheVisible",D],dividerLoggedInVisible:[_.HasDecoratorInputTransform,"dividerLoggedInVisible","dividerLoggedInVisible",D],logoutVisible:[_.HasDecoratorInputTransform,"logoutVisible","logoutVisible",D],isEmbedded:[_.HasDecoratorInputTransform,"isEmbedded","isEmbedded",D],isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",D],allowRcaItem:[_.HasDecoratorInputTransform,"allowRcaItem","allowRcaItem",D],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},standalone:!0,features:[K([P]),fe,z,Ue,S],decls:9,vars:10,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"ngClass","click",4,"ngIf"],[3,"click","ngClass"],[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",4,"ngFor","ngForOf"],[1,"languageSubmenuItem",3,"click","id","ngClass"],[1,"submenu"],["rel","noopener","target","_blank",3,"href"]],template:function(o,r){o&1&&(m(0,"div",0),b("click",function(){return r._toggleOpened()}),f(),m(1,"div",1)(2,"div",2),b("click",function(){return r._toggleOpened()}),O(3,"img",3),m(4,"div",4),C(5,fI,1,1),f(),O(6,"span",5),f(),m(7,"ul",6),C(8,yI,2,1,"ng-container",7),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),W("key","bimcompOverlay"),d(),p("ngClass",r._menuOpened?"open":""),W("key","userMenu"),d(),p("title",r.buttonTitle?r.buttonTitle:""),d(),ge("src",r.userPhotoUrl?r.userPhotoUrl:"",Vo),ge("alt",r.buttonTitle?r.buttonTitle:""),d(2),H(5,r.isTouch?-1:5),d(2),p("ngClass",r._menuOpened?"open":""),d(),p("ngForOf",r._getMenuItems()))},dependencies:[N,X,ve,Be,ne,Ie],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:#555;background-color:#e7e7e7}.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:#777}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./media/bimplus_Components_User_Pic_Default.png") 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:#333}.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 rgba(0,0,0,.15);box-shadow:0 1px 2px #00000040;background-color:#fff}.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:#fff;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:#ffe6da}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:#fff;border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:#fff;border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:#f5f5f5}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:#f5f5f5;border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:#f5f5f5;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:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;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 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}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./media/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:#e5e5e5;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:#555;text-decoration-color:#333;text-decoration-line:none}.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("./media/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./media/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./media/bimplus_Components_User_Guide.svg") no-repeat center}.icon-support{background:url("./media/bimplus_Components_Support.svg") no-repeat center}.icon-forum{background:url("./media/bimplus_Components_Forum.svg") no-repeat center}.icon-clear-cache{background:url("./media/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./media/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./media/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}
|
|
30
30
|
`],encapsulation:3});let t=e;return t})();var CI=(t,e)=>({open:t,"is-touch":e});function wI(t,e){if(t&1){let i=A();m(0,"li",7),b("click",function(){let o=M(i).$implicit,r=g();return I(r._switchZoom(o.symbol))}),m(1,"span"),E(2),f()()}if(t&2){let i=e.$implicit,n=g();p("ngClass",n._getZoomClassObject(i.symbol)),d(2),oe(i.text)}}var Ph=(()=>{let e=class e{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 y}_switchZoom(n){ae(this,"bimplusZoomSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened}_getZoomClassObject(n){return{selected:this.selectedZoom===n,["bimzoom-"+n]:!0}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",D],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},standalone:!0,features:[fe,S],decls:7,vars:7,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],[1,"dropdown",3,"click","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",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),b("click",function(){return r._toggleOpened()}),f(),m(1,"div",1),b("click",function(){return r._toggleOpened()}),m(2,"div",2),O(3,"div",3)(4,"span",4),f(),m(5,"ul",5),C(6,wI,3,2,"li",6),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),d(),p("ngClass",ft(4,CI,r._menuOpened,r.isTouch)),d(4),p("ngClass",r._menuOpened?"open":""),d(),p("ngForOf",r._zoomList))},dependencies:[N,X,ve],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:#555;background-color:#e7e7e7}.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:#777;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:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;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:#ffe6da}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.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("./media/bimplus_Components_Zoom.svg")}
|