bimplus-webcomponents 0.0.135-webcomponents → 0.0.137-webcomponents
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.
- package/dist/bimplus-components/main.js +14 -14
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var $_=Object.defineProperty,U_=Object.defineProperties;var W_=Object.getOwnPropertyDescriptors;var Lp=Object.getOwnPropertySymbols;var G_=Object.prototype.hasOwnProperty,q_=Object.prototype.propertyIsEnumerable;var Vp=(t,n,e)=>n in t?$_(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,re=(t,n)=>{for(var e in n||={})G_.call(n,e)&&Vp(t,e,n[e]);if(Lp)for(var e of Lp(n))q_.call(n,e)&&Vp(t,e,n[e]);return t},qe=(t,n)=>U_(t,W_(n));var yn=(t,n,e)=>new Promise((i,o)=>{var r=l=>{try{a(e.next(l))}catch(c){o(c)}},s=l=>{try{a(e.throw(l))}catch(c){o(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,s);a((e=e.apply(t,n)).next())});function Bp(t,n){return Object.is(t,n)}var
|
|
1
|
+
var $_=Object.defineProperty,U_=Object.defineProperties;var W_=Object.getOwnPropertyDescriptors;var Lp=Object.getOwnPropertySymbols;var G_=Object.prototype.hasOwnProperty,q_=Object.prototype.propertyIsEnumerable;var Vp=(t,n,e)=>n in t?$_(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,re=(t,n)=>{for(var e in n||={})G_.call(n,e)&&Vp(t,e,n[e]);if(Lp)for(var e of Lp(n))q_.call(n,e)&&Vp(t,e,n[e]);return t},qe=(t,n)=>U_(t,W_(n));var yn=(t,n,e)=>new Promise((i,o)=>{var r=l=>{try{a(e.next(l))}catch(c){o(c)}},s=l=>{try{a(e.throw(l))}catch(c){o(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,s);a((e=e.apply(t,n)).next())});function Bp(t,n){return Object.is(t,n)}var ot=null,rs=!1,ss=1,Cn=Symbol("SIGNAL");function _e(t){let n=ot;return ot=t,n}function zp(){return ot}var Qo={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function nc(t){if(rs)throw new Error("");if(ot===null)return;ot.consumerOnSignalRead(t);let n=ot.nextProducerIndex++;if(ds(ot),n<ot.producerNode.length&&ot.producerNode[n]!==t&&Ko(ot)){let e=ot.producerNode[n];cs(e,ot.producerIndexOfThis[n])}ot.producerNode[n]!==t&&(ot.producerNode[n]=t,ot.producerIndexOfThis[n]=Ko(ot)?Wp(t,ot,n):0),ot.producerLastReadVersion[n]=t.version}function Z_(){ss++}function Hp(t){if(!(Ko(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===ss)){if(!t.producerMustRecompute(t)&&!oc(t)){t.dirty=!1,t.lastCleanEpoch=ss;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=ss}}function $p(t){if(t.liveConsumerNode===void 0)return;let n=rs;rs=!0;try{for(let e of t.liveConsumerNode)e.dirty||Y_(e)}finally{rs=n}}function Up(){return ot?.consumerAllowSignalWrites!==!1}function Y_(t){t.dirty=!0,$p(t),t.consumerMarkedDirty?.(t)}function ls(t){return t&&(t.nextProducerIndex=0),_e(t)}function ic(t,n){if(_e(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Ko(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)cs(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function oc(t){ds(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(Hp(e),i!==e.version))return!0}return!1}function rc(t){if(ds(t),Ko(t))for(let n=0;n<t.producerNode.length;n++)cs(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Wp(t,n,e){if(Gp(t),t.liveConsumerNode.length===0&&qp(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=Wp(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function cs(t,n){if(Gp(t),t.liveConsumerNode.length===1&&qp(t))for(let i=0;i<t.producerNode.length;i++)cs(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],o=t.liveConsumerNode[n];ds(o),o.producerIndexOfThis[i]=n}}function Ko(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function ds(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Gp(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function qp(t){return t.producerNode!==void 0}function Zp(t){let n=Object.create(K_);n.computation=t;let e=()=>{if(Hp(n),nc(n),n.value===as)throw n.error;return n.value};return e[Cn]=n,e}var ec=Symbol("UNSET"),tc=Symbol("COMPUTING"),as=Symbol("ERRORED"),K_=qe(re({},Qo),{value:ec,dirty:!0,error:null,equal:Bp,producerMustRecompute(t){return t.value===ec||t.value===tc},producerRecomputeValue(t){if(t.value===tc)throw new Error("Detected cycle in computations.");let n=t.value;t.value=tc;let e=ls(t),i;try{i=t.computation()}catch(o){i=as,t.error=o}finally{ic(t,e)}if(n!==ec&&n!==as&&i!==as&&t.equal(n,i)){t.value=n;return}t.value=i,t.version++}});function Q_(){throw new Error}var Yp=Q_;function Kp(){Yp()}function Qp(t){Yp=t}var X_=null;function Xp(t){let n=Object.create(em);n.value=t;let e=()=>(nc(n),n.value);return e[Cn]=n,e}function sc(t,n){Up()||Kp(),t.equal(t.value,n)||(t.value=n,J_(t))}function Jp(t,n){Up()||Kp(),sc(t,n(t.value))}var em=qe(re({},Qo),{equal:Bp,value:void 0});function J_(t){t.version++,Z_(),$p(t),X_?.()}function J(t){return typeof t=="function"}function us(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var ps=us(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
|
|
2
2
|
${e.map((i,o)=>`${o+1}) ${i.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function di(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Ze=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let r of e)r.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(J(i))try{i()}catch(r){n=r instanceof ps?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{tm(r)}catch(s){n=n??[],s instanceof ps?n=[...n,...s.errors]:n.push(s)}}if(n)throw new ps(n)}}add(n){var e;if(n&&n!==this)if(this.closed)tm(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&di(e,n)}remove(n){let{_finalizers:e}=this;e&&di(e,n),n instanceof t&&n._removeParent(this)}};Ze.EMPTY=(()=>{let t=new Ze;return t.closed=!0,t})();var ac=Ze.EMPTY;function ms(t){return t instanceof Ze||t&&"closed"in t&&J(t.remove)&&J(t.add)&&J(t.unsubscribe)}function tm(t){J(t)?t():t.unsubscribe()}var Gt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Wi={setTimeout(t,n,...e){let{delegate:i}=Wi;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Wi;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function fs(t){Wi.setTimeout(()=>{let{onUnhandledError:n}=Gt;if(n)n(t);else throw t})}function Xo(){}var nm=lc("C",void 0,void 0);function im(t){return lc("E",void 0,t)}function om(t){return lc("N",t,void 0)}function lc(t,n,e){return{kind:t,value:n,error:e}}var ui=null;function Gi(t){if(Gt.useDeprecatedSynchronousErrorHandling){let n=!ui;if(n&&(ui={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=ui;if(ui=null,e)throw i}}else t()}function rm(t){Gt.useDeprecatedSynchronousErrorHandling&&ui&&(ui.errorThrown=!0,ui.error=t)}var pi=class extends Ze{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ms(n)&&n.add(this)):this.destination=n0}static create(n,e,i){return new wn(n,e,i)}next(n){this.isStopped?dc(om(n),this):this._next(n)}error(n){this.isStopped?dc(im(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?dc(nm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},e0=Function.prototype.bind;function cc(t,n){return e0.call(t,n)}var uc=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){gs(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){gs(i)}else gs(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){gs(e)}}},wn=class extends pi{constructor(n,e,i){super();let o;if(J(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&Gt.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&cc(n.next,r),error:n.error&&cc(n.error,r),complete:n.complete&&cc(n.complete,r)}):o=n}this.destination=new uc(o)}};function gs(t){Gt.useDeprecatedSynchronousErrorHandling?rm(t):fs(t)}function t0(t){throw t}function dc(t,n){let{onStoppedNotification:e}=Gt;e&&Wi.setTimeout(()=>e(t,n))}var n0={closed:!0,next:Xo,error:t0,complete:Xo};var qi=typeof Symbol=="function"&&Symbol.observable||"@@observable";function qt(t){return t}function sm(t){return t.length===0?qt:t.length===1?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}var ge=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){let r=o0(e)?e:new wn(e,i,o);return Gi(()=>{let{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=am(i),new i((o,r)=>{let s=new wn({next:a=>{try{e(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[qi](){return this}pipe(...e){return sm(e)(this)}toPromise(e){return e=am(e),new e((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return t.create=n=>new t(n),t})();function am(t){var n;return(n=t??Gt.Promise)!==null&&n!==void 0?n:Promise}function i0(t){return t&&J(t.next)&&J(t.error)&&J(t.complete)}function o0(t){return t&&t instanceof pi||i0(t)&&ms(t)}function pc(t){return J(t?.lift)}function De(t){return n=>{if(pc(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function xe(t,n,e,i,o){return new mc(t,n,e,i,o)}var mc=class extends pi{constructor(n,e,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function lm(){return De((t,n)=>{let e=null;t._refCount++;let i=xe(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var Jo=class extends ge{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,pc(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Ze;let e=this.getSubject();n.add(this.source.subscribe(xe(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Ze.EMPTY)}return n}refCount(){return lm()(this)}};var Zi={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=Zi;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let o=n(r=>{e=void 0,t(r)});return new Ze(()=>e?.(o))},requestAnimationFrame(...t){let{delegate:n}=Zi;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=Zi;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var cm=us(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var be=(()=>{class t extends ge{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new hs(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new cm}next(e){Gi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Gi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Gi(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:o,observers:r}=this;return i||o?ac:(this.currentObservers=null,r.push(e),new Ze(()=>{this.currentObservers=null,di(r,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){let e=new ge;return e.source=this,e}}return t.create=(n,e)=>new hs(n,e),t})(),hs=class extends be{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:ac}};var Te=class extends be{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var er={now(){return(er.delegate||Date).now()},delegate:void 0};var Fn=class extends be{constructor(n=1/0,e=1/0,i=er){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!n.closed;s+=i?1:2)n.next(r[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:o}=this,r=(o?1:2)*n;if(n<1/0&&r<i.length&&i.splice(0,i.length-r),!o){let s=e.now(),a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}};var bs=class extends Ze{constructor(n,e){super()}schedule(n,e=0){return this}};var tr={setInterval(t,n,...e){let{delegate:i}=tr;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=tr;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var Rn=class extends bs{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let o=this.id,r=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return tr.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&tr.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,o;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,di(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var r0=1,fc,gc={};function dm(t){return t in gc?(delete gc[t],!0):!1}var um={setImmediate(t){let n=r0++;return gc[n]=!0,fc||(fc=Promise.resolve()),fc.then(()=>dm(n)&&t()),n},clearImmediate(t){dm(t)}};var{setImmediate:s0,clearImmediate:a0}=um,nr={setImmediate(...t){let{delegate:n}=nr;return(n?.setImmediate||s0)(...t)},clearImmediate(t){let{delegate:n}=nr;return(n?.clearImmediate||a0)(t)},delegate:void 0};var vs=class extends Rn{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=nr.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:r}=n;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(nr.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var Yi=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};Yi.now=er.now;var jn=class extends Yi{constructor(n,e=Yi.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var _s=class extends jn{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}};var hc=new _s(vs);var ir=new jn(Rn),pm=ir;var ys=class extends Rn{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Zi.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:r}=n;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(Zi.cancelAnimationFrame(e),n._scheduled=void 0)}};var Cs=class extends jn{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}};var bc=new Cs(ys);var mi=new ge(t=>t.complete());function ws(t){return t&&J(t.schedule)}function vc(t){return t[t.length-1]}function xs(t){return J(vc(t))?t.pop():void 0}function on(t){return ws(vc(t))?t.pop():void 0}function mm(t,n){return typeof vc(t)=="number"?t.pop():n}function gm(t,n,e,i){function o(r){return r instanceof e?r:new e(function(s){s(r)})}return new(e||(e=Promise))(function(r,s){function a(m){try{c(i.next(m))}catch(h){s(h)}}function l(m){try{c(i.throw(m))}catch(h){s(h)}}function c(m){m.done?r(m.value):o(m.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function fm(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function fi(t){return this instanceof fi?(this.v=t,this):new fi(t)}function hm(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),o,r=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(b){return function(T){return Promise.resolve(T).then(b,h)}}function a(b,T){i[b]&&(o[b]=function(O){return new Promise(function(R,V){r.push([b,O,R,V])>1||l(b,O)})},T&&(o[b]=T(o[b])))}function l(b,T){try{c(i[b](T))}catch(O){w(r[0][3],O)}}function c(b){b.value instanceof fi?Promise.resolve(b.value.v).then(m,h):w(r[0][2],b)}function m(b){l("next",b)}function h(b){l("throw",b)}function w(b,T){b(T),r.shift(),r.length&&l(r[0][0],r[0][1])}}function bm(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof fm=="function"?fm(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(s){return new Promise(function(a,l){s=t[r](s),o(a,l,s.done,s.value)})}}function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}}var Ki=t=>t&&typeof t.length=="number"&&typeof t!="function";function Ms(t){return J(t?.then)}function ks(t){return J(t[qi])}function Ds(t){return Symbol.asyncIterator&&J(t?.[Symbol.asyncIterator])}function Es(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function l0(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Is=l0();function Ss(t){return J(t?.[Is])}function Ts(t){return hm(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:o}=yield fi(e.read());if(o)return yield fi(void 0);yield yield fi(i)}}finally{e.releaseLock()}})}function Os(t){return J(t?.getReader)}function Ne(t){if(t instanceof ge)return t;if(t!=null){if(ks(t))return c0(t);if(Ki(t))return d0(t);if(Ms(t))return u0(t);if(Ds(t))return vm(t);if(Ss(t))return p0(t);if(Os(t))return m0(t)}throw Es(t)}function c0(t){return new ge(n=>{let e=t[qi]();if(J(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function d0(t){return new ge(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function u0(t){return new ge(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,fs)})}function p0(t){return new ge(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function vm(t){return new ge(n=>{f0(t,n).catch(e=>n.error(e))})}function m0(t){return vm(Ts(t))}function f0(t,n){var e,i,o,r;return gm(this,void 0,void 0,function*(){try{for(e=bm(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})}function wt(t,n,e,i=0,o=!1){let r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function Ps(t,n=0){return De((e,i)=>{e.subscribe(xe(i,o=>wt(i,t,()=>i.next(o),n),()=>wt(i,t,()=>i.complete(),n),o=>wt(i,t,()=>i.error(o),n)))})}function As(t,n=0){return De((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function _m(t,n){return Ne(t).pipe(As(n),Ps(n))}function ym(t,n){return Ne(t).pipe(As(n),Ps(n))}function Cm(t,n){return new ge(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function wm(t,n){return new ge(e=>{let i;return wt(e,n,()=>{i=t[Is](),wt(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){e.error(s);return}r?e.complete():e.next(o)},0,!0)}),()=>J(i?.return)&&i.return()})}function Ns(t,n){if(!t)throw new Error("Iterable cannot be null");return new ge(e=>{wt(e,n,()=>{let i=t[Symbol.asyncIterator]();wt(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function xm(t,n){return Ns(Ts(t),n)}function Mm(t,n){if(t!=null){if(ks(t))return _m(t,n);if(Ki(t))return Cm(t,n);if(Ms(t))return ym(t,n);if(Ds(t))return Ns(t,n);if(Ss(t))return wm(t,n);if(Os(t))return xm(t,n)}throw Es(t)}function Be(t,n){return n?Mm(t,n):Ne(t)}function ye(...t){let n=on(t);return Be(t,n)}function ht(t){return!!t&&(t instanceof ge||J(t.lift)&&J(t.subscribe))}function km(t){return t instanceof Date&&!isNaN(t)}function ue(t,n){return De((e,i)=>{let o=0;e.subscribe(xe(i,r=>{i.next(t.call(n,r,o++))}))})}var{isArray:g0}=Array;function h0(t,n){return g0(n)?t(...n):t(n)}function Qi(t){return ue(n=>h0(t,n))}var{isArray:b0}=Array,{getPrototypeOf:v0,prototype:_0,keys:y0}=Object;function Fs(t){if(t.length===1){let n=t[0];if(b0(n))return{args:n,keys:null};if(C0(n)){let e=y0(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function C0(t){return t&&typeof t=="object"&&v0(t)===_0}function Rs(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function gi(...t){let n=on(t),e=xs(t),{args:i,keys:o}=Fs(t);if(i.length===0)return Be([],n);let r=new ge(w0(i,n,o?s=>Rs(o,s):qt));return e?r.pipe(Qi(e)):r}function w0(t,n,e=qt){return i=>{Dm(n,()=>{let{length:o}=t,r=new Array(o),s=o,a=o;for(let l=0;l<o;l++)Dm(n,()=>{let c=Be(t[l],n),m=!1;c.subscribe(xe(i,h=>{r[l]=h,m||(m=!0,a--),a||i.next(e(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}function Dm(t,n,e){t?wt(e,t,n):n()}function Em(t,n,e,i,o,r,s,a){let l=[],c=0,m=0,h=!1,w=()=>{h&&!l.length&&!c&&n.complete()},b=O=>c<i?T(O):l.push(O),T=O=>{r&&n.next(O),c++;let R=!1;Ne(e(O,m++)).subscribe(xe(n,V=>{o?.(V),r?b(V):n.next(V)},()=>{R=!0},void 0,()=>{if(R)try{for(c--;l.length&&c<i;){let V=l.shift();s?wt(n,s,()=>T(V)):T(V)}w()}catch(V){n.error(V)}}))};return t.subscribe(xe(n,b,()=>{h=!0,w()})),()=>{a?.()}}function Ln(t,n,e=1/0){return J(n)?Ln((i,o)=>ue((r,s)=>n(i,r,o,s))(Ne(t(i,o))),e):(typeof n=="number"&&(e=n),De((i,o)=>Em(i,o,t,e)))}function js(t=1/0){return Ln(qt,t)}function Im(){return js(1)}function jt(...t){return Im()(Be(t,on(t)))}function Ls(t){return new ge(n=>{Ne(t()).subscribe(n)})}function or(...t){let n=xs(t),{args:e,keys:i}=Fs(t),o=new ge(r=>{let{length:s}=e;if(!s){r.complete();return}let a=new Array(s),l=s,c=s;for(let m=0;m<s;m++){let h=!1;Ne(e[m]).subscribe(xe(r,w=>{h||(h=!0,c--),a[m]=w},()=>l--,void 0,()=>{(!l||!h)&&(c||r.next(i?Rs(i,a):a),r.complete())}))}});return n?o.pipe(Qi(n)):o}var x0=["addListener","removeListener"],M0=["addEventListener","removeEventListener"],k0=["on","off"];function Vn(t,n,e,i){if(J(e)&&(i=e,e=void 0),i)return Vn(t,n,e).pipe(Qi(i));let[o,r]=I0(t)?M0.map(s=>a=>t[s](n,a,e)):D0(t)?x0.map(Sm(t,n)):E0(t)?k0.map(Sm(t,n)):[];if(!o&&Ki(t))return Ln(s=>Vn(s,n,e))(Ne(t));if(!o)throw new TypeError("Invalid event target");return new ge(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>r(a)})}function Sm(t,n){return e=>i=>t[e](n,i)}function D0(t){return J(t.addListener)&&J(t.removeListener)}function E0(t){return J(t.on)&&J(t.off)}function I0(t){return J(t.addEventListener)&&J(t.removeEventListener)}function Tm(t=0,n,e=pm){let i=-1;return n!=null&&(ws(n)?e=n:i=n),new ge(o=>{let r=km(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function xn(...t){let n=on(t),e=mm(t,1/0),i=t;return i.length?i.length===1?Ne(i[0]):js(e)(Be(i,n)):mi}function rn(t,n){return De((e,i)=>{let o=0;e.subscribe(xe(i,r=>t.call(n,r,o++)&&i.next(r)))})}function Om(t){return De((n,e)=>{let i=!1,o=null,r=null,s=!1,a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;let c=o;o=null,e.next(c)}s&&e.complete()},l=()=>{r=null,s&&e.complete()};n.subscribe(xe(e,c=>{i=!0,o=c,r||Ne(t(c)).subscribe(r=xe(e,a,l))},()=>{s=!0,(!i||!r||r.closed)&&e.complete()}))})}function _c(t,n=ir){return Om(()=>Tm(t,n))}function Pm(t,n,e,i,o){return(r,s)=>{let a=e,l=n,c=0;r.subscribe(xe(s,m=>{let h=c++;l=a?t(l,m,h):(a=!0,m),i&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function Vs(t,n){return De(Pm(t,n,arguments.length>=2,!1,!0))}function It(t,n){return J(n)?Ln(t,n,1):Ln(t,1)}function hi(t,n=ir){return De((e,i)=>{let o=null,r=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=r;r=null,i.next(c)}};function l(){let c=s+t,m=n.now();if(m<c){o=this.schedule(void 0,c-m),i.add(o);return}a()}e.subscribe(xe(i,c=>{r=c,s=n.now(),o||(o=n.schedule(l,t),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}function st(t){return t<=0?()=>mi:De((n,e)=>{let i=0;n.subscribe(xe(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function rr(t,n=qt){return t=t??S0,De((e,i)=>{let o,r=!0;e.subscribe(xe(i,s=>{let a=n(s);(r||!t(o,a))&&(r=!1,o=a,i.next(s))}))})}function S0(t,n){return t===n}function yc(t){return De((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Am(t={}){let{connector:n=()=>new be,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,a,l,c=0,m=!1,h=!1,w=()=>{a?.unsubscribe(),a=void 0},b=()=>{w(),s=l=void 0,m=h=!1},T=()=>{let O=s;b(),O?.unsubscribe()};return De((O,R)=>{c++,!h&&!m&&w();let V=l=l??n();R.add(()=>{c--,c===0&&!h&&!m&&(a=Cc(T,o))}),V.subscribe(R),!s&&c>0&&(s=new wn({next:Z=>V.next(Z),error:Z=>{h=!0,w(),a=Cc(b,e,Z),V.error(Z)},complete:()=>{m=!0,w(),a=Cc(b,i),V.complete()}}),Ne(O).subscribe(s))})(r)}}function Cc(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new wn({next:()=>{i.unsubscribe(),t()}});return Ne(n(...e)).subscribe(i)}function Bs(t,n,e){let i,o=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t:i=t??1/0,Am({connector:()=>new Fn(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function sr(t){return rn((n,e)=>t<=e)}function Bn(...t){let n=on(t);return De((e,i)=>{(n?jt(t,e,n):jt(t,e)).subscribe(i)})}function St(t,n){return De((e,i)=>{let o=null,r=0,s=!1,a=()=>s&&!o&&i.complete();e.subscribe(xe(i,l=>{o?.unsubscribe();let c=0,m=r++;Ne(t(l,m)).subscribe(o=xe(i,h=>i.next(n?n(l,h,m,c++):h),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ot(t){return De((n,e)=>{Ne(t).subscribe(xe(e,()=>e.complete(),Xo)),!e.closed&&n.subscribe(e)})}function Zt(t,n,e){let i=J(t)||n||e?{next:t,error:n,complete:e}:t;return i?De((o,r)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;o.subscribe(xe(r,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),r.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),r.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),r.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):qt}var xf="https://g.co/ng/security#xss",pe=class extends Error{constructor(n,e){super(Da(n,e)),this.code=n}};function Da(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}function wr(t){return{toString:t}.toString()}var zs="__parameters__";function T0(t){return function(...e){if(t){let i=t(...e);for(let o in i)this[o]=i[o]}}}function Mf(t,n,e){return wr(()=>{let i=T0(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;let s=new o(...r);return a.annotation=s,a;function a(l,c,m){let h=l.hasOwnProperty(zs)?l[zs]:Object.defineProperty(l,zs,{value:[]})[zs];for(;h.length<=m;)h.push(null);return(h[m]=h[m]||[]).push(s),l}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var dr=globalThis;function He(t){for(let n in t)if(t[n]===He)return n;throw Error("Could not find renamed property on target object.")}function O0(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Tt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Tt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function di(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Ze=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let r of e)r.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(J(i))try{i()}catch(r){n=r instanceof ps?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{tm(r)}catch(s){n=n??[],s instanceof ps?n=[...n,...s.errors]:n.push(s)}}if(n)throw new ps(n)}}add(n){var e;if(n&&n!==this)if(this.closed)tm(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&di(e,n)}remove(n){let{_finalizers:e}=this;e&&di(e,n),n instanceof t&&n._removeParent(this)}};Ze.EMPTY=(()=>{let t=new Ze;return t.closed=!0,t})();var ac=Ze.EMPTY;function ms(t){return t instanceof Ze||t&&"closed"in t&&J(t.remove)&&J(t.add)&&J(t.unsubscribe)}function tm(t){J(t)?t():t.unsubscribe()}var Gt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Wi={setTimeout(t,n,...e){let{delegate:i}=Wi;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Wi;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function fs(t){Wi.setTimeout(()=>{let{onUnhandledError:n}=Gt;if(n)n(t);else throw t})}function Xo(){}var nm=lc("C",void 0,void 0);function im(t){return lc("E",void 0,t)}function om(t){return lc("N",t,void 0)}function lc(t,n,e){return{kind:t,value:n,error:e}}var ui=null;function Gi(t){if(Gt.useDeprecatedSynchronousErrorHandling){let n=!ui;if(n&&(ui={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=ui;if(ui=null,e)throw i}}else t()}function rm(t){Gt.useDeprecatedSynchronousErrorHandling&&ui&&(ui.errorThrown=!0,ui.error=t)}var pi=class extends Ze{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ms(n)&&n.add(this)):this.destination=n0}static create(n,e,i){return new wn(n,e,i)}next(n){this.isStopped?dc(om(n),this):this._next(n)}error(n){this.isStopped?dc(im(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?dc(nm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},e0=Function.prototype.bind;function cc(t,n){return e0.call(t,n)}var uc=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){gs(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){gs(i)}else gs(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){gs(e)}}},wn=class extends pi{constructor(n,e,i){super();let o;if(J(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&Gt.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&cc(n.next,r),error:n.error&&cc(n.error,r),complete:n.complete&&cc(n.complete,r)}):o=n}this.destination=new uc(o)}};function gs(t){Gt.useDeprecatedSynchronousErrorHandling?rm(t):fs(t)}function t0(t){throw t}function dc(t,n){let{onStoppedNotification:e}=Gt;e&&Wi.setTimeout(()=>e(t,n))}var n0={closed:!0,next:Xo,error:t0,complete:Xo};var qi=typeof Symbol=="function"&&Symbol.observable||"@@observable";function qt(t){return t}function sm(t){return t.length===0?qt:t.length===1?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}var ge=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){let r=o0(e)?e:new wn(e,i,o);return Gi(()=>{let{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=am(i),new i((o,r)=>{let s=new wn({next:a=>{try{e(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[qi](){return this}pipe(...e){return sm(e)(this)}toPromise(e){return e=am(e),new e((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return t.create=n=>new t(n),t})();function am(t){var n;return(n=t??Gt.Promise)!==null&&n!==void 0?n:Promise}function i0(t){return t&&J(t.next)&&J(t.error)&&J(t.complete)}function o0(t){return t&&t instanceof pi||i0(t)&&ms(t)}function pc(t){return J(t?.lift)}function De(t){return n=>{if(pc(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function xe(t,n,e,i,o){return new mc(t,n,e,i,o)}var mc=class extends pi{constructor(n,e,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function lm(){return De((t,n)=>{let e=null;t._refCount++;let i=xe(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var Jo=class extends ge{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,pc(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Ze;let e=this.getSubject();n.add(this.source.subscribe(xe(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Ze.EMPTY)}return n}refCount(){return lm()(this)}};var Zi={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=Zi;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let o=n(r=>{e=void 0,t(r)});return new Ze(()=>e?.(o))},requestAnimationFrame(...t){let{delegate:n}=Zi;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=Zi;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var cm=us(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var be=(()=>{class t extends ge{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new hs(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new cm}next(e){Gi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Gi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Gi(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:o,observers:r}=this;return i||o?ac:(this.currentObservers=null,r.push(e),new Ze(()=>{this.currentObservers=null,di(r,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){let e=new ge;return e.source=this,e}}return t.create=(n,e)=>new hs(n,e),t})(),hs=class extends be{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:ac}};var Te=class extends be{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var er={now(){return(er.delegate||Date).now()},delegate:void 0};var Fn=class extends be{constructor(n=1/0,e=1/0,i=er){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!n.closed;s+=i?1:2)n.next(r[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:o}=this,r=(o?1:2)*n;if(n<1/0&&r<i.length&&i.splice(0,i.length-r),!o){let s=e.now(),a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}};var bs=class extends Ze{constructor(n,e){super()}schedule(n,e=0){return this}};var tr={setInterval(t,n,...e){let{delegate:i}=tr;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=tr;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var Rn=class extends bs{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let o=this.id,r=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return tr.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&tr.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,o;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,di(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var r0=1,fc,gc={};function dm(t){return t in gc?(delete gc[t],!0):!1}var um={setImmediate(t){let n=r0++;return gc[n]=!0,fc||(fc=Promise.resolve()),fc.then(()=>dm(n)&&t()),n},clearImmediate(t){dm(t)}};var{setImmediate:s0,clearImmediate:a0}=um,nr={setImmediate(...t){let{delegate:n}=nr;return(n?.setImmediate||s0)(...t)},clearImmediate(t){let{delegate:n}=nr;return(n?.clearImmediate||a0)(t)},delegate:void 0};var vs=class extends Rn{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=nr.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:r}=n;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(nr.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var Yi=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};Yi.now=er.now;var jn=class extends Yi{constructor(n,e=Yi.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var _s=class extends jn{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}};var hc=new _s(vs);var ir=new jn(Rn),pm=ir;var ys=class extends Rn{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Zi.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:r}=n;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(Zi.cancelAnimationFrame(e),n._scheduled=void 0)}};var Cs=class extends jn{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}};var bc=new Cs(ys);var mi=new ge(t=>t.complete());function ws(t){return t&&J(t.schedule)}function vc(t){return t[t.length-1]}function xs(t){return J(vc(t))?t.pop():void 0}function on(t){return ws(vc(t))?t.pop():void 0}function mm(t,n){return typeof vc(t)=="number"?t.pop():n}function gm(t,n,e,i){function o(r){return r instanceof e?r:new e(function(s){s(r)})}return new(e||(e=Promise))(function(r,s){function a(m){try{c(i.next(m))}catch(h){s(h)}}function l(m){try{c(i.throw(m))}catch(h){s(h)}}function c(m){m.done?r(m.value):o(m.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function fm(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function fi(t){return this instanceof fi?(this.v=t,this):new fi(t)}function hm(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),o,r=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(b){return function(T){return Promise.resolve(T).then(b,h)}}function a(b,T){i[b]&&(o[b]=function(O){return new Promise(function(R,V){r.push([b,O,R,V])>1||l(b,O)})},T&&(o[b]=T(o[b])))}function l(b,T){try{c(i[b](T))}catch(O){w(r[0][3],O)}}function c(b){b.value instanceof fi?Promise.resolve(b.value.v).then(m,h):w(r[0][2],b)}function m(b){l("next",b)}function h(b){l("throw",b)}function w(b,T){b(T),r.shift(),r.length&&l(r[0][0],r[0][1])}}function bm(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof fm=="function"?fm(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(s){return new Promise(function(a,l){s=t[r](s),o(a,l,s.done,s.value)})}}function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}}var Ki=t=>t&&typeof t.length=="number"&&typeof t!="function";function Ms(t){return J(t?.then)}function ks(t){return J(t[qi])}function Ds(t){return Symbol.asyncIterator&&J(t?.[Symbol.asyncIterator])}function Es(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function l0(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Is=l0();function Ss(t){return J(t?.[Is])}function Ts(t){return hm(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:o}=yield fi(e.read());if(o)return yield fi(void 0);yield yield fi(i)}}finally{e.releaseLock()}})}function Os(t){return J(t?.getReader)}function Ne(t){if(t instanceof ge)return t;if(t!=null){if(ks(t))return c0(t);if(Ki(t))return d0(t);if(Ms(t))return u0(t);if(Ds(t))return vm(t);if(Ss(t))return p0(t);if(Os(t))return m0(t)}throw Es(t)}function c0(t){return new ge(n=>{let e=t[qi]();if(J(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function d0(t){return new ge(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function u0(t){return new ge(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,fs)})}function p0(t){return new ge(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function vm(t){return new ge(n=>{f0(t,n).catch(e=>n.error(e))})}function m0(t){return vm(Ts(t))}function f0(t,n){var e,i,o,r;return gm(this,void 0,void 0,function*(){try{for(e=bm(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})}function wt(t,n,e,i=0,o=!1){let r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function Ps(t,n=0){return De((e,i)=>{e.subscribe(xe(i,o=>wt(i,t,()=>i.next(o),n),()=>wt(i,t,()=>i.complete(),n),o=>wt(i,t,()=>i.error(o),n)))})}function As(t,n=0){return De((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function _m(t,n){return Ne(t).pipe(As(n),Ps(n))}function ym(t,n){return Ne(t).pipe(As(n),Ps(n))}function Cm(t,n){return new ge(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function wm(t,n){return new ge(e=>{let i;return wt(e,n,()=>{i=t[Is](),wt(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){e.error(s);return}r?e.complete():e.next(o)},0,!0)}),()=>J(i?.return)&&i.return()})}function Ns(t,n){if(!t)throw new Error("Iterable cannot be null");return new ge(e=>{wt(e,n,()=>{let i=t[Symbol.asyncIterator]();wt(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function xm(t,n){return Ns(Ts(t),n)}function Mm(t,n){if(t!=null){if(ks(t))return _m(t,n);if(Ki(t))return Cm(t,n);if(Ms(t))return ym(t,n);if(Ds(t))return Ns(t,n);if(Ss(t))return wm(t,n);if(Os(t))return xm(t,n)}throw Es(t)}function Be(t,n){return n?Mm(t,n):Ne(t)}function ye(...t){let n=on(t);return Be(t,n)}function ht(t){return!!t&&(t instanceof ge||J(t.lift)&&J(t.subscribe))}function km(t){return t instanceof Date&&!isNaN(t)}function ue(t,n){return De((e,i)=>{let o=0;e.subscribe(xe(i,r=>{i.next(t.call(n,r,o++))}))})}var{isArray:g0}=Array;function h0(t,n){return g0(n)?t(...n):t(n)}function Qi(t){return ue(n=>h0(t,n))}var{isArray:b0}=Array,{getPrototypeOf:v0,prototype:_0,keys:y0}=Object;function Fs(t){if(t.length===1){let n=t[0];if(b0(n))return{args:n,keys:null};if(C0(n)){let e=y0(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function C0(t){return t&&typeof t=="object"&&v0(t)===_0}function Rs(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function gi(...t){let n=on(t),e=xs(t),{args:i,keys:o}=Fs(t);if(i.length===0)return Be([],n);let r=new ge(w0(i,n,o?s=>Rs(o,s):qt));return e?r.pipe(Qi(e)):r}function w0(t,n,e=qt){return i=>{Dm(n,()=>{let{length:o}=t,r=new Array(o),s=o,a=o;for(let l=0;l<o;l++)Dm(n,()=>{let c=Be(t[l],n),m=!1;c.subscribe(xe(i,h=>{r[l]=h,m||(m=!0,a--),a||i.next(e(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}function Dm(t,n,e){t?wt(e,t,n):n()}function Em(t,n,e,i,o,r,s,a){let l=[],c=0,m=0,h=!1,w=()=>{h&&!l.length&&!c&&n.complete()},b=O=>c<i?T(O):l.push(O),T=O=>{r&&n.next(O),c++;let R=!1;Ne(e(O,m++)).subscribe(xe(n,V=>{o?.(V),r?b(V):n.next(V)},()=>{R=!0},void 0,()=>{if(R)try{for(c--;l.length&&c<i;){let V=l.shift();s?wt(n,s,()=>T(V)):T(V)}w()}catch(V){n.error(V)}}))};return t.subscribe(xe(n,b,()=>{h=!0,w()})),()=>{a?.()}}function Ln(t,n,e=1/0){return J(n)?Ln((i,o)=>ue((r,s)=>n(i,r,o,s))(Ne(t(i,o))),e):(typeof n=="number"&&(e=n),De((i,o)=>Em(i,o,t,e)))}function js(t=1/0){return Ln(qt,t)}function Im(){return js(1)}function jt(...t){return Im()(Be(t,on(t)))}function Ls(t){return new ge(n=>{Ne(t()).subscribe(n)})}function or(...t){let n=xs(t),{args:e,keys:i}=Fs(t),o=new ge(r=>{let{length:s}=e;if(!s){r.complete();return}let a=new Array(s),l=s,c=s;for(let m=0;m<s;m++){let h=!1;Ne(e[m]).subscribe(xe(r,w=>{h||(h=!0,c--),a[m]=w},()=>l--,void 0,()=>{(!l||!h)&&(c||r.next(i?Rs(i,a):a),r.complete())}))}});return n?o.pipe(Qi(n)):o}var x0=["addListener","removeListener"],M0=["addEventListener","removeEventListener"],k0=["on","off"];function Vn(t,n,e,i){if(J(e)&&(i=e,e=void 0),i)return Vn(t,n,e).pipe(Qi(i));let[o,r]=I0(t)?M0.map(s=>a=>t[s](n,a,e)):D0(t)?x0.map(Sm(t,n)):E0(t)?k0.map(Sm(t,n)):[];if(!o&&Ki(t))return Ln(s=>Vn(s,n,e))(Ne(t));if(!o)throw new TypeError("Invalid event target");return new ge(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>r(a)})}function Sm(t,n){return e=>i=>t[e](n,i)}function D0(t){return J(t.addListener)&&J(t.removeListener)}function E0(t){return J(t.on)&&J(t.off)}function I0(t){return J(t.addEventListener)&&J(t.removeEventListener)}function Tm(t=0,n,e=pm){let i=-1;return n!=null&&(ws(n)?e=n:i=n),new ge(o=>{let r=km(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function xn(...t){let n=on(t),e=mm(t,1/0),i=t;return i.length?i.length===1?Ne(i[0]):js(e)(Be(i,n)):mi}function rn(t,n){return De((e,i)=>{let o=0;e.subscribe(xe(i,r=>t.call(n,r,o++)&&i.next(r)))})}function Om(t){return De((n,e)=>{let i=!1,o=null,r=null,s=!1,a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;let c=o;o=null,e.next(c)}s&&e.complete()},l=()=>{r=null,s&&e.complete()};n.subscribe(xe(e,c=>{i=!0,o=c,r||Ne(t(c)).subscribe(r=xe(e,a,l))},()=>{s=!0,(!i||!r||r.closed)&&e.complete()}))})}function _c(t,n=ir){return Om(()=>Tm(t,n))}function Pm(t,n,e,i,o){return(r,s)=>{let a=e,l=n,c=0;r.subscribe(xe(s,m=>{let h=c++;l=a?t(l,m,h):(a=!0,m),i&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function Vs(t,n){return De(Pm(t,n,arguments.length>=2,!1,!0))}function It(t,n){return J(n)?Ln(t,n,1):Ln(t,1)}function hi(t,n=ir){return De((e,i)=>{let o=null,r=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=r;r=null,i.next(c)}};function l(){let c=s+t,m=n.now();if(m<c){o=this.schedule(void 0,c-m),i.add(o);return}a()}e.subscribe(xe(i,c=>{r=c,s=n.now(),o||(o=n.schedule(l,t),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}function st(t){return t<=0?()=>mi:De((n,e)=>{let i=0;n.subscribe(xe(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function rr(t,n=qt){return t=t??S0,De((e,i)=>{let o,r=!0;e.subscribe(xe(i,s=>{let a=n(s);(r||!t(o,a))&&(r=!1,o=a,i.next(s))}))})}function S0(t,n){return t===n}function yc(t){return De((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Am(t={}){let{connector:n=()=>new be,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,a,l,c=0,m=!1,h=!1,w=()=>{a?.unsubscribe(),a=void 0},b=()=>{w(),s=l=void 0,m=h=!1},T=()=>{let O=s;b(),O?.unsubscribe()};return De((O,R)=>{c++,!h&&!m&&w();let V=l=l??n();R.add(()=>{c--,c===0&&!h&&!m&&(a=Cc(T,o))}),V.subscribe(R),!s&&c>0&&(s=new wn({next:Z=>V.next(Z),error:Z=>{h=!0,w(),a=Cc(b,e,Z),V.error(Z)},complete:()=>{m=!0,w(),a=Cc(b,i),V.complete()}}),Ne(O).subscribe(s))})(r)}}function Cc(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new wn({next:()=>{i.unsubscribe(),t()}});return Ne(n(...e)).subscribe(i)}function Bs(t,n,e){let i,o=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t:i=t??1/0,Am({connector:()=>new Fn(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function sr(t){return rn((n,e)=>t<=e)}function Bn(...t){let n=on(t);return De((e,i)=>{(n?jt(t,e,n):jt(t,e)).subscribe(i)})}function St(t,n){return De((e,i)=>{let o=null,r=0,s=!1,a=()=>s&&!o&&i.complete();e.subscribe(xe(i,l=>{o?.unsubscribe();let c=0,m=r++;Ne(t(l,m)).subscribe(o=xe(i,h=>i.next(n?n(l,h,m,c++):h),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function rt(t){return De((n,e)=>{Ne(t).subscribe(xe(e,()=>e.complete(),Xo)),!e.closed&&n.subscribe(e)})}function Zt(t,n,e){let i=J(t)||n||e?{next:t,error:n,complete:e}:t;return i?De((o,r)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;o.subscribe(xe(r,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),r.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),r.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),r.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):qt}var xf="https://g.co/ng/security#xss",pe=class extends Error{constructor(n,e){super(Da(n,e)),this.code=n}};function Da(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}function wr(t){return{toString:t}.toString()}var zs="__parameters__";function T0(t){return function(...e){if(t){let i=t(...e);for(let o in i)this[o]=i[o]}}}function Mf(t,n,e){return wr(()=>{let i=T0(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;let s=new o(...r);return a.annotation=s,a;function a(l,c,m){let h=l.hasOwnProperty(zs)?l[zs]:Object.defineProperty(l,zs,{value:[]})[zs];for(;h.length<=m;)h.push(null);return(h[m]=h[m]||[]).push(s),l}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var dr=globalThis;function He(t){for(let n in t)if(t[n]===He)return n;throw Error("Could not find renamed property on target object.")}function O0(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Tt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Tt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(`
|
|
4
4
|
`);return e===-1?n:n.substring(0,e)}function Rc(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}var P0=He({__forward_ref__:He});function Si(t){return t.__forward_ref__=Si,t.toString=function(){return Tt(this())},t}function Ct(t){return kf(t)?t():t}function kf(t){return typeof t=="function"&&t.hasOwnProperty(P0)&&t.__forward_ref__===Si}function $(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Fe(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ld(t){return Nm(t,Df)||Nm(t,Ef)}function Nm(t,n){return t.hasOwnProperty(n)?t[n]:null}function A0(t){let n=t&&(t[Df]||t[Ef]);return n||null}function Fm(t){return t&&(t.hasOwnProperty(Rm)||t.hasOwnProperty(N0))?t[Rm]:null}var Df=He({\u0275prov:He}),Rm=He({\u0275inj:He}),Ef=He({ngInjectableDef:He}),N0=He({ngInjectorDef:He}),W=class{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=$({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function If(t){return t&&!!t.\u0275providers}var F0=He({\u0275cmp:He}),R0=He({\u0275dir:He}),j0=He({\u0275pipe:He});var ea=He({\u0275fac:He}),cr=He({__NG_ELEMENT_ID__:He}),jm=He({__NG_ENV_ID__:He});function vi(t){return typeof t=="string"?t:t==null?"":String(t)}function L0(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():vi(t)}function V0(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new pe(-200,t)}function Vd(t,n){throw new pe(-201,!1)}var Ce=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}(Ce||{}),jc;function Sf(){return jc}function xt(t){let n=jc;return jc=t,n}function Tf(t,n,e){let i=Ld(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&Ce.Optional)return null;if(n!==void 0)return n;Vd(t,"Injector")}var B0={},ur=B0,Lc="__NG_DI_FLAG__",ta="ngTempTokenPath",z0="ngTokenPath",H0=/\n/gm,$0="\u0275",Lm="__source",to;function U0(){return to}function zn(t){let n=to;return to=t,n}function W0(t,n=Ce.Default){if(to===void 0)throw new pe(-203,!1);return to===null?Tf(t,void 0,n):to.get(t,n&Ce.Optional?null:void 0,n)}function B(t,n=Ce.Default){return(Sf()||W0)(Ct(t),n)}function U(t,n=Ce.Default){return B(t,Ea(n))}function Ea(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Vc(t){let n=[];for(let e=0;e<t.length;e++){let i=Ct(t[e]);if(Array.isArray(i)){if(i.length===0)throw new pe(900,!1);let o,r=Ce.Default;for(let s=0;s<i.length;s++){let a=i[s],l=G0(a);typeof l=="number"?l===-1?o=a.token:r|=l:o=a}n.push(B(o,r))}else n.push(B(i))}return n}function Of(t,n){return t[Lc]=n,t.prototype[Lc]=n,t}function G0(t){return t[Lc]}function q0(t,n,e,i){let o=t[ta];throw n[Lm]&&o.unshift(n[Lm]),t.message=Z0(`
|
|
5
5
|
`+t.message,o,e,i),t[z0]=o,t[ta]=null,t}function Z0(t,n,e,i=null){t=t&&t.charAt(0)===`
|
|
6
6
|
`&&t.charAt(1)==$0?t.slice(2):t;let o=Tt(n);if(Array.isArray(n))o=n.map(Tt).join(" -> ");else if(typeof n=="object"){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+(typeof a=="string"?JSON.stringify(a):Tt(a)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(H0,`
|
|
7
|
-
`)}`}var Bd=Of(Mf("Optional"),8);var Pf=Of(Mf("SkipSelf"),4);function _i(t,n){let e=t.hasOwnProperty(ea);return e?t[ea]:null}function Y0(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}function K0(t){return t.flat(Number.POSITIVE_INFINITY)}function zd(t,n){t.forEach(e=>Array.isArray(e)?zd(e,n):n(e))}function Af(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function na(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Q0(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function X0(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(o===1)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let r=o-2;t[o]=t[r],o--}t[n]=e,t[n+1]=i}}function Hd(t,n,e){let i=xr(t,n);return i>=0?t[i|1]=e:(i=~i,X0(t,i,n,e)),i}function wc(t,n){let e=xr(t,n);if(e>=0)return t[e|1]}function xr(t,n){return J0(t,n,1)}function J0(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){let r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}var io={},Mt=[],pr=new W(""),Nf=new W("",-1),Ff=new W(""),ia=class{get(n,e=ur){if(e===ur){let i=new Error(`NullInjectorError: No provider for ${Tt(n)}!`);throw i.name="NullInjectorError",i}return e}},Rf=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Rf||{}),ln=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ln||{}),Un=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Un||{});function ey(t,n,e){let i=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}function Bc(t,n,e){let i=0;for(;i<e.length;){let o=e[i];if(typeof o=="number"){if(o!==0)break;i++;let r=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,r)}else{let r=o,s=e[++i];ty(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function jf(t){return t===3||t===4||t===6}function ty(t){return t.charCodeAt(0)===64}function mr(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let o=n[i];typeof o=="number"?e=o:e===0||(e===-1||e===2?Vm(t,e,o,null,n[++i]):Vm(t,e,o,null,null))}}return t}function Vm(t,n,e,i,o){let r=0,s=t.length;if(n===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===e){if(i===null){o!==null&&(t[r+1]=o);return}else if(i===t[r+1]){t[r+2]=o;return}}r++,i!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),i!==null&&t.splice(r++,0,i),o!==null&&t.splice(r++,0,o)}var Lf="ng-template";function ny(t,n,e,i){let o=0;if(i){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&ey(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if($d(t))return!1;if(o=n.indexOf(1,o),o>-1){let r;for(;++o<n.length&&typeof(r=n[o])=="string";)if(r.toLowerCase()===e)return!0}return!1}function $d(t){return t.type===4&&t.value!==Lf}function iy(t,n,e){let i=t.type===4&&!e?Lf:t.value;return n===i}function oy(t,n,e){let i=4,o=t.attrs,r=o!==null?ay(o):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!Yt(i)&&!Yt(l))return!1;if(s&&Yt(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!iy(t,l,e)||l===""&&n.length===1){if(Yt(i))return!1;s=!0}}else if(i&8){if(o===null||!ny(t,o,l,e)){if(Yt(i))return!1;s=!0}}else{let c=n[++a],m=ry(l,o,$d(t),e);if(m===-1){if(Yt(i))return!1;s=!0;continue}if(c!==""){let h;if(m>r?h="":h=o[m+1].toLowerCase(),i&2&&c!==h){if(Yt(i))return!1;s=!0}}}}return Yt(i)||s}function Yt(t){return(t&1)===0}function ry(t,n,e,i){if(n===null)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return ly(n,t)}function Vf(t,n,e=!1){for(let i=0;i<n.length;i++)if(oy(t,n[i],e))return!0;return!1}function sy(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function ay(t){for(let n=0;n<t.length;n++){let e=t[n];if(jf(e))return n}return t.length}function ly(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function cy(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function Bm(t,n){return t?":not("+n.trim()+")":n}function dy(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?o+="."+s:i&4&&(o+=" "+s);else o!==""&&!Yt(s)&&(n+=Bm(r,o),o=""),i=s,r=r||!Yt(i);e++}return o!==""&&(n+=Bm(r,o)),n}function uy(t){return t.map(dy).join(",")}function py(t){let n=[],e=[],i=1,o=2;for(;i<t.length;){let r=t[i];if(typeof r=="string")o===2?r!==""&&n.push(r,t[++i]):o===8&&e.push(r);else{if(!Yt(o))break;o=r}i++}return{attrs:n,classes:e}}function I(t){return wr(()=>{let n=Hf(t),e=qe(re({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Rf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ln.Emulated,styles:t.styles||Mt,_:null,schemas:t.schemas||null,tView:null,id:""});$f(e);let i=t.dependencies;return e.directiveDefs=Hm(i,!1),e.pipeDefs=Hm(i,!0),e.id=hy(e),e})}function my(t){return yi(t)||Bf(t)}function fy(t){return t!==null}function Re(t){return wr(()=>({type:t.type,bootstrap:t.bootstrap||Mt,declarations:t.declarations||Mt,imports:t.imports||Mt,exports:t.exports||Mt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function zm(t,n){if(t==null)return io;let e={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],r,s,a=Un.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(e[r]=a!==Un.None?[i,a]:i,n[r]=s):e[r]=i}return e}function K(t){return wr(()=>{let n=Hf(t);return $f(n),n})}function Mr(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 yi(t){return t[F0]||null}function Bf(t){return t[R0]||null}function zf(t){return t[j0]||null}function gy(t){let n=yi(t)||Bf(t)||zf(t);return n!==null?n.standalone:!1}function Hf(t){let n={};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:n,inputTransforms:null,inputConfig:t.inputs||io,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Mt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:zm(t.inputs,n),outputs:zm(t.outputs),debugInfo:null}}function $f(t){t.features?.forEach(n=>n(t))}function Hm(t,n){if(!t)return null;let e=n?zf:my;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(fy)}function hy(t){let n=0,e=[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 e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Ud(t){return{\u0275providers:t}}function Wd(...t){return{\u0275providers:Uf(!0,t),\u0275fromNgModule:!0}}function Uf(t,...n){let e=[],i=new Set,o,r=s=>{e.push(s)};return zd(n,s=>{let a=s;zc(a,r,[],i)&&(o||=[],o.push(a))}),o!==void 0&&Wf(o,r),e}function Wf(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:o}=t[e];Gd(o,r=>{n(r,i)})}}function zc(t,n,e,i){if(t=Ct(t),!t)return!1;let o=null,r=Fm(t),s=!r&&yi(t);if(!r&&!s){let l=t.ngModule;if(r=Fm(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)zc(c,n,e,i)}}else if(r){if(r.imports!=null&&!a){i.add(o);let c;try{zd(r.imports,m=>{zc(m,n,e,i)&&(c||=[],c.push(m))})}finally{}c!==void 0&&Wf(c,n)}if(!a){let c=_i(o)||(()=>new o);n({provide:o,useFactory:c,deps:Mt},o),n({provide:Ff,useValue:o,multi:!0},o),n({provide:pr,useValue:()=>B(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;Gd(l,m=>{n(m,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Gd(t,n){for(let e of t)If(e)&&(e=e.\u0275providers),Array.isArray(e)?Gd(e,n):n(e)}var by=He({provide:String,useValue:He});function Gf(t){return t!==null&&typeof t=="object"&&by in t}function vy(t){return!!(t&&t.useExisting)}function _y(t){return!!(t&&t.useFactory)}function oo(t){return typeof t=="function"}function yy(t){return!!t.useClass}var Ia=new W(""),Zs={},Cy={},xc;function Sa(){return xc===void 0&&(xc=new ia),xc}var Vt=class{},fr=class extends Vt{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,$c(n,s=>this.processProvider(s)),this.records.set(Nf,Xi(void 0,this)),o.has("environment")&&this.records.set(Vt,Xi(void 0,this));let r=this.records.get(Ia);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Ff,Mt,Ce.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=_e(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_e(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=zn(this),i=xt(void 0),o;try{return n()}finally{zn(e),xt(i)}}get(n,e=ur,i=Ce.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(jm))return n[jm](this);i=Ea(i);let o,r=zn(this),s=xt(void 0);try{if(!(i&Ce.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=Dy(n)&&Ld(n);c&&this.injectableDefInScope(c)?l=Xi(Hc(n),Zs):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=i&Ce.Self?Sa():this.parent;return e=i&Ce.Optional&&e===ur?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[ta]=a[ta]||[]).unshift(Tt(n)),r)throw a;return q0(a,n,"R3InjectorError",this.source)}else throw a}finally{xt(s),zn(r)}}resolveInjectorInitializers(){let n=_e(null),e=zn(this),i=xt(void 0),o;try{let r=this.get(pr,Mt,Ce.Self);for(let s of r)s()}finally{zn(e),xt(i),_e(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Tt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new pe(205,!1)}processProvider(n){n=Ct(n);let e=oo(n)?n:Ct(n&&n.provide),i=xy(n);if(!oo(n)&&n.multi===!0){let o=this.records.get(e);o||(o=Xi(void 0,Zs,!0),o.factory=()=>Vc(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=_e(null);try{return e.value===Zs&&(e.value=Cy,e.value=e.factory()),typeof e.value=="object"&&e.value&&ky(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{_e(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Ct(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Hc(t){let n=Ld(t),e=n!==null?n.factory:_i(t);if(e!==null)return e;if(t instanceof W)throw new pe(204,!1);if(t instanceof Function)return wy(t);throw new pe(204,!1)}function wy(t){if(t.length>0)throw new pe(204,!1);let e=A0(t);return e!==null?()=>e.factory(t):()=>new t}function xy(t){if(Gf(t))return Xi(void 0,t.useValue);{let n=qf(t);return Xi(n,Zs)}}function qf(t,n,e){let i;if(oo(t)){let o=Ct(t);return _i(o)||Hc(o)}else if(Gf(t))i=()=>Ct(t.useValue);else if(_y(t))i=()=>t.useFactory(...Vc(t.deps||[]));else if(vy(t))i=()=>B(Ct(t.useExisting));else{let o=Ct(t&&(t.useClass||t.provide));if(My(t))i=()=>new o(...Vc(t.deps));else return _i(o)||Hc(o)}return i}function Xi(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function My(t){return!!t.deps}function ky(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Dy(t){return typeof t=="function"||typeof t=="object"&&t instanceof W}function $c(t,n){for(let e of t)Array.isArray(e)?$c(e,n):e&&If(e)?$c(e.\u0275providers,n):n(e)}function Zf(t,n){t instanceof fr&&t.assertNotDestroyed();let e,i=zn(t),o=xt(void 0);try{return n()}finally{zn(i),xt(o)}}function Yf(){return Sf()!==void 0||U0()!=null}function Kf(t){if(!Yf())throw new pe(-203,!1)}function Ey(t){return typeof t=="function"}var kn=0,ce=1,ae=2,vt=3,Qt=4,Dt=5,ro=6,oa=7,ct=8,so=9,cn=10,Ye=11,gr=12,$m=13,go=14,kt=15,Ci=16,Ji=17,Mn=18,Ta=19,Qf=20,Hn=21,Mc=22,Lt=23,dt=25,Xf=1;var wi=7,ra=8,ao=9,bt=10,sa=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(sa||{});function $n(t){return Array.isArray(t)&&typeof t[Xf]=="object"}function Dn(t){return Array.isArray(t)&&t[Xf]===!0}function qd(t){return(t.flags&4)!==0}function Oa(t){return t.componentOffset>-1}function Pa(t){return(t.flags&1)===1}function Wn(t){return!!t.template}function Uc(t){return(t[ae]&512)!==0}var hr=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function Jf(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function $e(){return eg}function eg(t){return t.type.prototype.ngOnChanges&&(t.setInput=Sy),Iy}$e.ngInherit=!0;function Iy(){let t=ng(this),n=t?.current;if(n){let e=t.previous;if(e===io)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Sy(t,n,e,i,o){let r=this.declaredInputs[i],s=ng(t)||Ty(t,{previous:io,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new hr(c&&c.currentValue,e,l===io),Jf(t,n,o,e)}var tg="__ngSimpleChanges__";function ng(t){return t[tg]||null}function Ty(t,n){return t[tg]=n}var Um=null;var sn=function(t,n,e){Um?.(t,n,e)},ig="svg",Oy="math";function dn(t){for(;Array.isArray(t);)t=t[kn];return t}function og(t,n){return dn(n[t])}function Bt(t,n){return dn(n[t.index])}function Zd(t,n){return t.data[n]}function rg(t,n){return t[n]}function Yn(t,n){let e=n[t];return $n(e)?e:e[kn]}function Py(t){return(t[ae]&4)===4}function Yd(t){return(t[ae]&128)===128}function Ay(t){return Dn(t[vt])}function Gn(t,n){return n==null?null:t[n]}function sg(t){t[Ji]=0}function ag(t){t[ae]&1024||(t[ae]|=1024,Yd(t)&&Na(t))}function Ny(t,n){for(;t>0;)n=n[go],t--;return n}function Aa(t){return!!(t[ae]&9216||t[Lt]?.dirty)}function Wc(t){t[cn].changeDetectionScheduler?.notify(8),t[ae]&64&&(t[ae]|=1024),Aa(t)&&Na(t)}function Na(t){t[cn].changeDetectionScheduler?.notify(0);let n=xi(t);for(;n!==null&&!(n[ae]&8192||(n[ae]|=8192,!Yd(n)));)n=xi(n)}function lg(t,n){if((t[ae]&256)===256)throw new pe(911,!1);t[Hn]===null&&(t[Hn]=[]),t[Hn].push(n)}function Fy(t,n){if(t[Hn]===null)return;let e=t[Hn].indexOf(n);e!==-1&&t[Hn].splice(e,1)}function xi(t){let n=t[vt];return Dn(n)?n[vt]:n}var me={lFrame:bg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var cg=!1;function Ry(){return me.lFrame.elementDepthCount}function jy(){me.lFrame.elementDepthCount++}function Ly(){me.lFrame.elementDepthCount--}function dg(){return me.bindingsEnabled}function ug(){return me.skipHydrationRootTNode!==null}function Vy(t){return me.skipHydrationRootTNode===t}function By(){me.skipHydrationRootTNode=null}function se(){return me.lFrame.lView}function Ke(){return me.lFrame.tView}function y(t){return me.lFrame.contextLView=t,t[ct]}function C(t){return me.lFrame.contextLView=null,t}function ut(){let t=pg();for(;t!==null&&t.type===64;)t=t.parent;return t}function pg(){return me.lFrame.currentTNode}function zy(){let t=me.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Ti(t,n){let e=me.lFrame;e.currentTNode=t,e.isParent=n}function Kd(){return me.lFrame.isParent}function Qd(){me.lFrame.isParent=!1}function Hy(){return me.lFrame.contextLView}function mg(){return cg}function Wm(t){cg=t}function kr(){let t=me.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function $y(){return me.lFrame.bindingIndex}function Uy(t){return me.lFrame.bindingIndex=t}function Oi(){return me.lFrame.bindingIndex++}function Xd(t){let n=me.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function Wy(){return me.lFrame.inI18n}function Gy(t,n){let e=me.lFrame;e.bindingIndex=e.bindingRootIndex=t,Gc(n)}function qy(){return me.lFrame.currentDirectiveIndex}function Gc(t){me.lFrame.currentDirectiveIndex=t}function Zy(t){let n=me.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function fg(){return me.lFrame.currentQueryIndex}function Jd(t){me.lFrame.currentQueryIndex=t}function Yy(t){let n=t[ce];return n.type===2?n.declTNode:n.type===1?t[Dt]:null}function gg(t,n,e){if(e&Ce.SkipSelf){let o=n,r=t;for(;o=o.parent,o===null&&!(e&Ce.Host);)if(o=Yy(r),o===null||(r=r[go],o.type&10))break;if(o===null)return!1;n=o,t=r}let i=me.lFrame=hg();return i.currentTNode=n,i.lView=t,!0}function eu(t){let n=hg(),e=t[ce];me.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function hg(){let t=me.lFrame,n=t===null?null:t.child;return n===null?bg(t):n}function bg(t){let n={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=n),n}function vg(){let t=me.lFrame;return me.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var _g=vg;function tu(){let t=vg();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 Ky(t){return(me.lFrame.contextLView=Ny(t,me.lFrame.contextLView))[ct]}function En(){return me.lFrame.selectedIndex}function Mi(t){me.lFrame.selectedIndex=t}function Dr(){let t=me.lFrame;return Zd(t.tView,t.selectedIndex)}function yg(){me.lFrame.currentNamespace=ig}function Qy(){return me.lFrame.currentNamespace}var Cg=!0;function Fa(){return Cg}function Ra(t){Cg=t}function Xy(t,n,e){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){let s=eg(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}function ja(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:m}=r;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),m!=null&&(t.destroyHooks??=[]).push(e,m)}}function Ys(t,n,e){wg(t,n,3,e)}function Ks(t,n,e,i){(t[ae]&3)===e&&wg(t,n,e,i)}function kc(t,n){let e=t[ae];(e&3)===n&&(e&=16383,e+=1,t[ae]=e)}function wg(t,n,e,i){let o=i!==void 0?t[Ji]&65535:0,r=i??-1,s=n.length-1,a=0;for(let l=o;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[Ji]+=65536),(a<r||r==-1)&&(Jy(t,e,n,l),t[Ji]=(t[Ji]&4294901760)+l+2),l++}function Gm(t,n){sn(4,t,n);let e=_e(null);try{n.call(t)}finally{_e(e),sn(5,t,n)}}function Jy(t,n,e,i){let o=e[i]<0,r=e[i+1],s=o?-e[i]:e[i],a=t[s];o?t[ae]>>14<t[Ji]>>16&&(t[ae]&3)===n&&(t[ae]+=16384,Gm(a,r)):Gm(a,r)}var no=-1,ki=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function eC(t){return t instanceof ki}function tC(t){return(t.flags&8)!==0}function nC(t){return(t.flags&16)!==0}var Dc={},qc=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Ea(i);let o=this.injector.get(n,Dc,i);return o!==Dc||e===Dc?o:this.parentInjector.get(n,e,i)}};function xg(t){return t!==no}function aa(t){return t&32767}function iC(t){return t>>16}function la(t,n){let e=iC(t),i=n;for(;e>0;)i=i[go],e--;return i}var Zc=!0;function ca(t){let n=Zc;return Zc=t,n}var oC=256,Mg=oC-1,kg=5,rC=0,an={};function sC(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(cr)&&(i=e[cr]),i==null&&(i=e[cr]=rC++);let o=i&Mg,r=1<<o;n.data[t+(o>>kg)]|=r}function da(t,n){let e=Dg(t,n);if(e!==-1)return e;let i=n[ce];i.firstCreatePass&&(t.injectorIndex=n.length,Ec(i.data,t),Ec(n,null),Ec(i.blueprint,null));let o=nu(t,n),r=t.injectorIndex;if(xg(o)){let s=aa(o),a=la(o,n),l=a[ce].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function Ec(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Dg(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function nu(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;o!==null;){if(i=Og(o),i===null)return no;if(e++,o=o[go],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return no}function Yc(t,n,e){sC(t,n,e)}function aC(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,o=0;for(;o<i;){let r=e[o];if(jf(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<i&&typeof e[o]=="string";)o++;else{if(r===n)return e[o+1];o=o+2}}}return null}function Eg(t,n,e){if(e&Ce.Optional||t!==void 0)return t;Vd(n,"NodeInjector")}function Ig(t,n,e,i){if(e&Ce.Optional&&i===void 0&&(i=null),!(e&(Ce.Self|Ce.Host))){let o=t[so],r=xt(void 0);try{return o?o.get(n,i,e&Ce.Optional):Tf(n,i,e&Ce.Optional)}finally{xt(r)}}return Eg(i,n,e)}function Sg(t,n,e,i=Ce.Default,o){if(t!==null){if(n[ae]&2048&&!(i&Ce.Self)){let s=uC(t,n,e,i,an);if(s!==an)return s}let r=Tg(t,n,e,i,an);if(r!==an)return r}return Ig(n,e,i,o)}function Tg(t,n,e,i,o){let r=cC(e);if(typeof r=="function"){if(!gg(n,t,i))return i&Ce.Host?Eg(o,e,i):Ig(n,e,i,o);try{let s;if(s=r(i),s==null&&!(i&Ce.Optional))Vd(e);else return s}finally{_g()}}else if(typeof r=="number"){let s=null,a=Dg(t,n),l=no,c=i&Ce.Host?n[kt][Dt]:null;for((a===-1||i&Ce.SkipSelf)&&(l=a===-1?nu(t,n):n[a+8],l===no||!Zm(i,!1)?a=-1:(s=n[ce],a=aa(l),n=la(l,n)));a!==-1;){let m=n[ce];if(qm(r,a,m.data)){let h=lC(a,n,e,s,i,c);if(h!==an)return h}l=n[a+8],l!==no&&Zm(i,n[ce].data[a+8]===c)&&qm(r,a,n)?(s=m,a=aa(l),n=la(l,n)):a=-1}}return o}function lC(t,n,e,i,o,r){let s=n[ce],a=s.data[t+8],l=i==null?Oa(a)&&Zc:i!=s&&(a.type&3)!==0,c=o&Ce.Host&&r===a,m=Qs(a,s,e,l,c);return m!==null?Di(n,s,m,a):an}function Qs(t,n,e,i,o){let r=t.providerIndexes,s=n.data,a=r&1048575,l=t.directiveStart,c=t.directiveEnd,m=r>>20,h=i?a:a+m,w=o?a+m:c;for(let b=h;b<w;b++){let T=s[b];if(b<l&&e===T||b>=l&&T.type===e)return b}if(o){let b=s[l];if(b&&Wn(b)&&b.type===e)return l}return null}function Di(t,n,e,i){let o=t[e],r=n.data;if(eC(o)){let s=o;s.resolving&&V0(L0(r[e]));let a=ca(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?xt(s.injectImpl):null,m=gg(t,i,Ce.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&Xy(e,r[e],n)}finally{c!==null&&xt(c),ca(a),s.resolving=!1,_g()}}return o}function cC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(cr)?t[cr]:void 0;return typeof n=="number"?n>=0?n&Mg:dC:n}function qm(t,n,e){let i=1<<t;return!!(e[n+(t>>kg)]&i)}function Zm(t,n){return!(t&Ce.Self)&&!(t&Ce.Host&&n)}var bi=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Sg(this._tNode,this._lView,n,Ea(i),e)}};function dC(){return new bi(ut(),se())}function zt(t){return wr(()=>{let n=t.prototype.constructor,e=n[ea]||Kc(n),i=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){let r=o[ea]||Kc(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Kc(t){return kf(t)?()=>{let n=Kc(Ct(t));return n&&n()}:_i(t)}function uC(t,n,e,i,o){let r=t,s=n;for(;r!==null&&s!==null&&s[ae]&2048&&!(s[ae]&512);){let a=Tg(r,s,e,i|Ce.Self,an);if(a!==an)return a;let l=r.parent;if(!l){let c=s[Qf];if(c){let m=c.get(e,an,i);if(m!==an)return m}l=Og(s),s=s[go]}r=l}return o}function Og(t){let n=t[ce],e=n.type;return e===2?n.declTNode:e===1?t[Dt]:null}function ho(t){return aC(ut(),t)}function Ym(t,n=null,e=null,i){let o=pC(t,n,e,i);return o.resolveInjectorInitializers(),o}function pC(t,n=null,e=null,i,o=new Set){let r=[e||Mt,Wd(t)];return i=i||(typeof t=="object"?void 0:Tt(t)),new fr(r,n||Sa(),i||null,o)}var un=class t{static{this.THROW_IF_NOT_FOUND=ur}static{this.NULL=new ia}static create(n,e){if(Array.isArray(n))return Ym({name:""},e,n,"");{let i=n.name??"";return Ym({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=$({token:t,providedIn:"any",factory:()=>B(Nf)})}static{this.__NG_ELEMENT_ID__=-1}};var mC=new W("");mC.__NG_ELEMENT_ID__=t=>{let n=ut();if(n===null)throw new pe(204,!1);if(n.type&2)return n.value;if(t&Ce.Optional)return null;throw new pe(204,!1)};var fC="ngOriginalError";function Ic(t){return t[fC]}var Pg=!0,bo=(()=>{class t{static{this.__NG_ELEMENT_ID__=gC}static{this.__NG_ENV_ID__=e=>e}}return t})(),Qc=class extends bo{constructor(n){super(),this._lView=n}onDestroy(n){return lg(this._lView,n),()=>Fy(this._lView,n)}};function gC(){return new Qc(se())}var vo=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Te(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}}return t})();var Xc=class extends be{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,Yf()&&(this.destroyRef=U(bo,{optional:!0})??void 0,this.pendingTasks=U(vo,{optional:!0})??void 0)}emit(n){let e=_e(null);try{super.next(n)}finally{_e(e)}}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:r,complete:s});return n instanceof Ze&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},M=Xc;function ua(...t){}function Ag(t){let n,e;function i(){t=ua;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Km(t){return queueMicrotask(()=>t()),()=>{t=ua}}var iu="isAngularZone",pa=iu+"_ID",hC=0,Me=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new M(!1),this.onMicrotaskEmpty=new M(!1),this.onStable=new M(!1),this.onError=new M(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=Pg}=n;if(typeof Zone>"u")throw new pe(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=r,_C(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(iu)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new pe(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new pe(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,bC,ua,ua);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},bC={};function ou(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 vC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){Ag(()=>{t.callbackScheduled=!1,Jc(t),t.isCheckStableRunning=!0,ou(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Jc(t)}function _C(t){let n=()=>{vC(t)},e=hC++;t._inner=t._inner.fork({name:"angular",properties:{[iu]:!0,[pa]:e,[pa+e]:!0},onInvokeTask:(i,o,r,s,a,l)=>{if(yC(l))return i.invokeTask(r,s,a,l);try{return Qm(t),i.invokeTask(r,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Xm(t)}},onInvoke:(i,o,r,s,a,l,c)=>{try{return Qm(t),i.invoke(r,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!CC(l)&&n(),Xm(t)}},onHasTask:(i,o,r,s)=>{i.hasTask(r,s),o===r&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Jc(t),ou(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,o,r,s)=>(i.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Jc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Qm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Xm(t){t._nesting--,ou(t)}var ed=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new M,this.onMicrotaskEmpty=new M,this.onStable=new M,this.onError=new M}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}};function yC(t){return Ng(t,"__ignore_ng_zone__")}function CC(t){return Ng(t,"__scheduler_tick__")}function Ng(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var pn=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Ic(n);for(;e&&Ic(e);)e=Ic(e);return e||null}},wC=new W("",{providedIn:"root",factory:()=>{let t=U(Me),n=U(pn);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function xC(){return _o(ut(),se())}function _o(t,n){return new G(Bt(t,n))}var G=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=xC}}return t})();function MC(t){return t instanceof G?t.nativeElement:t}function kC(){return this._results[Symbol.iterator]()}var br=class t{get changes(){return this._changes??=new M}constructor(n=!1){this._emitDistinctChangesOnly=n,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 e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=kC)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=K0(n);(this._changesDetected=!Y0(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Fg(t){return(t.flags&128)===128}var Rg=new Map,DC=0;function EC(){return DC++}function IC(t){Rg.set(t[Ta],t)}function td(t){Rg.delete(t[Ta])}var Jm="__ngContext__";function qn(t,n){$n(n)?(t[Jm]=n[Ta],IC(n)):t[Jm]=n}function jg(t){return Vg(t[gr])}function Lg(t){return Vg(t[Qt])}function Vg(t){for(;t!==null&&!Dn(t);)t=t[Qt];return t}var nd;function Bg(t){nd=t}function zg(){if(nd!==void 0)return nd;if(typeof document<"u")return document;throw new pe(210,!1)}var La=new W("",{providedIn:"root",factory:()=>SC}),SC="ng",ru=new W(""),fn=new W("",{providedIn:"platform",factory:()=>"unknown"});var Er=new W(""),Ir=new W("",{providedIn:"root",factory:()=>zg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var TC="h",OC="b";var PC=()=>null;function su(t,n,e=!1){return PC(t,n,e)}var Hg=!1,AC=new W("",{providedIn:"root",factory:()=>Hg});var Hs;function NC(){if(Hs===void 0&&(Hs=null,dr.trustedTypes))try{Hs=dr.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Hs}function Va(t){return NC()?.createHTML(t)||t}var $s;function FC(){if($s===void 0&&($s=null,dr.trustedTypes))try{$s=dr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return $s}function ef(t){return FC()?.createHTML(t)||t}var ma=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${xf})`}};function yo(t){return t instanceof ma?t.changingThisBreaksApplicationSecurity:t}function au(t,n){let e=RC(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${xf})`)}return e===n}function RC(t){return t instanceof ma&&t.getTypeName()||null}function jC(t){let n=new od(t);return LC()?new id(n):n}var id=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Va(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},od=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Va(n),e}};function LC(){try{return!!new window.DOMParser().parseFromString(Va(""),"text/html")}catch{return!1}}var VC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function lu(t){return t=String(t),t.match(VC)?t:"unsafe:"+t}function In(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Sr(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var $g=In("area,br,col,hr,img,wbr"),Ug=In("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wg=In("rp,rt"),BC=Sr(Wg,Ug),zC=Sr(Ug,In("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),HC=Sr(Wg,In("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),tf=Sr($g,zC,HC,BC),Gg=In("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$C=In("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),UC=In("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),WC=Sr(Gg,$C,UC),GC=In("script,style,template"),rd=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){o.push(e),e=YC(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=ZC(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=nf(n).toLowerCase();if(!tf.hasOwnProperty(e))return this.sanitizedSomething=!0,!GC.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let o=0;o<i.length;o++){let r=i.item(o),s=r.name,a=s.toLowerCase();if(!WC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;Gg[a]&&(l=lu(l)),this.buf.push(" ",s,'="',of(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=nf(n).toLowerCase();tf.hasOwnProperty(e)&&!$g.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(of(n))}};function qC(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ZC(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw qg(n);return n}function YC(t){let n=t.firstChild;if(n&&qC(t,n))throw qg(n);return n}function nf(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function qg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var KC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QC=/([^\#-~ |!])/g;function of(t){return t.replace(/&/g,"&").replace(KC,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(QC,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Us;function Zg(t,n){let e=null;try{Us=Us||jC(t);let i=n?String(n):"";e=Us.getInertBodyElement(i);let o=5,r=i;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=Us.getInertBodyElement(i)}while(i!==r);let a=new rd().sanitizeChildren(rf(e)||e);return Va(a)}finally{if(e){let i=rf(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function rf(t){return"content"in t&&XC(t)?t.content:null}function XC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ba=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}(Ba||{});function cu(t){let n=Yg();return n?ef(n.sanitize(Ba.HTML,t)||""):au(t,"HTML")?ef(yo(t)):Zg(zg(),vi(t))}function Tr(t){let n=Yg();return n?n.sanitize(Ba.URL,t)||"":au(t,"URL")?yo(t):lu(vi(t))}function Yg(){let t=se();return t&&t[cn].sanitizer}var JC=/^>|^->|<!--|-->|--!>|<!-$/g,ew=/(<|>)/g,tw="\u200B$1\u200B";function nw(t){return t.replace(JC,n=>n.replace(ew,tw))}function Pt(t){return t.ownerDocument}var mn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(mn||{}),iw;function du(t,n){return iw(t,n)}function eo(t,n,e,i,o){if(i!=null){let r,s=!1;Dn(i)?r=i:$n(i)&&(s=!0,i=i[kn]);let a=dn(i);t===0&&e!==null?o==null?eh(n,e,a):fa(n,e,a,o||null,!0):t===1&&e!==null?fa(n,e,a,o||null,!0):t===2?bw(n,a,s):t===3&&n.destroyNode(a),r!=null&&_w(n,t,r,e,o)}}function ow(t,n){return t.createText(n)}function rw(t,n,e){t.setValue(n,e)}function sw(t,n){return t.createComment(nw(n))}function Kg(t,n,e){return t.createElement(n,e)}function aw(t,n){Qg(t,n),n[kn]=null,n[Dt]=null}function lw(t,n,e,i,o,r){i[kn]=o,i[Dt]=n,$a(t,i,e,1,o,r)}function Qg(t,n){n[cn].changeDetectionScheduler?.notify(9),$a(t,n,n[Ye],2,null,null)}function cw(t){let n=t[gr];if(!n)return Sc(t[ce],t);for(;n;){let e=null;if($n(n))e=n[gr];else{let i=n[bt];i&&(e=i)}if(!e){for(;n&&!n[Qt]&&n!==t;)$n(n)&&Sc(n[ce],n),n=n[vt];n===null&&(n=t),$n(n)&&Sc(n[ce],n),e=n&&n[Qt]}n=e}}function dw(t,n,e,i){let o=bt+i,r=e.length;i>0&&(e[o-1][Qt]=n),i<r-bt?(n[Qt]=e[o],Af(e,bt+i,n)):(e.push(n),n[Qt]=null),n[vt]=e;let s=n[Ci];s!==null&&e!==s&&Xg(s,n);let a=n[Mn];a!==null&&a.insertView(t),Wc(n),n[ae]|=128}function Xg(t,n){let e=t[ao],i=n[vt];if($n(i))t[ae]|=sa.HasTransplantedViews;else{let o=i[vt][kt];n[kt]!==o&&(t[ae]|=sa.HasTransplantedViews)}e===null?t[ao]=[n]:e.push(n)}function uu(t,n){let e=t[ao],i=e.indexOf(n);e.splice(i,1)}function vr(t,n){if(t.length<=bt)return;let e=bt+n,i=t[e];if(i){let o=i[Ci];o!==null&&o!==t&&uu(o,i),n>0&&(t[e-1][Qt]=i[Qt]);let r=na(t,bt+n);aw(i[ce],i);let s=r[Mn];s!==null&&s.detachView(r[ce]),i[vt]=null,i[Qt]=null,i[ae]&=-129}return i}function za(t,n){if(!(n[ae]&256)){let e=n[Ye];e.destroyNode&&$a(t,n,e,3,null,null),cw(n)}}function Sc(t,n){if(n[ae]&256)return;let e=_e(null);try{n[ae]&=-129,n[ae]|=256,n[Lt]&&rc(n[Lt]),pw(t,n),uw(t,n),n[ce].type===1&&n[Ye].destroy();let i=n[Ci];if(i!==null&&Dn(n[vt])){i!==n[vt]&&uu(i,n);let o=n[Mn];o!==null&&o.detachView(t)}td(n)}finally{_e(e)}}function uw(t,n){let e=t.cleanup,i=n[oa];if(e!==null)for(let r=0;r<e.length-1;r+=2)if(typeof e[r]=="string"){let s=e[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else{let s=i[e[r+1]];e[r].call(s)}i!==null&&(n[oa]=null);let o=n[Hn];if(o!==null){n[Hn]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function pw(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let o=n[e[i]];if(!(o instanceof ki)){let r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],l=r[s+1];sn(4,a,l);try{l.call(a)}finally{sn(5,a,l)}}else{sn(4,o,r);try{r.call(o)}finally{sn(5,o,r)}}}}}function Jg(t,n,e){return mw(t,n.parent,e)}function mw(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[kn];{let{componentOffset:o}=i;if(o>-1){let{encapsulation:r}=t.data[i.directiveStart+o];if(r===ln.None||r===ln.Emulated)return null}return Bt(i,e)}}function fa(t,n,e,i,o){t.insertBefore(n,e,i,o)}function eh(t,n,e){t.appendChild(n,e)}function sf(t,n,e,i,o){i!==null?fa(t,n,e,i,o):eh(t,n,e)}function th(t,n){return t.parentNode(n)}function fw(t,n){return t.nextSibling(n)}function nh(t,n,e){return hw(t,n,e)}function gw(t,n,e){return t.type&40?Bt(t,e):null}var hw=gw,af;function Ha(t,n,e,i){let o=Jg(t,i,n),r=n[Ye],s=i.parent||n[Dt],a=nh(s,i,n);if(o!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)sf(r,o,e[l],a,!1);else sf(r,o,e,a,!1);af!==void 0&&af(r,i,n,e,o)}function ar(t,n){if(n!==null){let e=n.type;if(e&3)return Bt(n,t);if(e&4)return sd(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return ar(t,i);{let o=t[n.index];return Dn(o)?sd(-1,o):dn(o)}}else{if(e&128)return ar(t,n.next);if(e&32)return du(n,t)()||dn(t[n.index]);{let i=ih(t,n);if(i!==null){if(Array.isArray(i))return i[0];let o=xi(t[kt]);return ar(o,i)}else return ar(t,n.next)}}}return null}function ih(t,n){if(n!==null){let i=t[kt][Dt],o=n.projection;return i.projection[o]}return null}function sd(t,n){let e=bt+t+1;if(e<n.length){let i=n[e],o=i[ce].firstChild;if(o!==null)return ar(i,o)}return n[wi]}function bw(t,n,e){t.removeChild(null,n,e)}function pu(t,n,e,i,o,r,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&n===0&&(a&&qn(dn(a),i),e.flags|=2),(e.flags&32)!==32)if(l&8)pu(t,n,e.child,i,o,r,!1),eo(n,t,o,a,r);else if(l&32){let c=du(e,i),m;for(;m=c();)eo(n,t,o,m,r);eo(n,t,o,a,r)}else l&16?oh(t,n,i,e,o,r):eo(n,t,o,a,r);e=s?e.projectionNext:e.next}}function $a(t,n,e,i,o,r){pu(e,i,t.firstChild,n,o,r,!1)}function vw(t,n,e){let i=n[Ye],o=Jg(t,e,n),r=e.parent||n[Dt],s=nh(r,e,n);oh(i,0,n,e,o,s)}function oh(t,n,e,i,o,r){let s=e[kt],l=s[Dt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let m=l[c];eo(n,t,o,m,r)}else{let c=l,m=s[vt];Fg(i)&&(c.flags|=128),pu(t,n,c,m,o,r,!0)}}function _w(t,n,e,i,o){let r=e[wi],s=dn(e);r!==s&&eo(n,t,i,r,o);for(let a=bt;a<e.length;a++){let l=e[a];$a(l[ce],l,t,n,i,r)}}function yw(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=i.indexOf("-")===-1?void 0:mn.DashCase;o==null?t.removeStyle(e,i,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=mn.Important),t.setStyle(e,i,o,r))}}function Cw(t,n,e){t.setAttribute(n,"style",e)}function rh(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function sh(t,n,e){let{mergedAttrs:i,classes:o,styles:r}=e;i!==null&&Bc(t,n,i),o!==null&&rh(t,n,o),r!==null&&Cw(t,n,r)}var At={};function d(t=1){ah(Ke(),se(),En()+t,!1)}function ah(t,n,e,i){if(!i)if((n[ae]&3)===3){let r=t.preOrderCheckHooks;r!==null&&Ys(n,r,e)}else{let r=t.preOrderHooks;r!==null&&Ks(n,r,0,e)}Mi(e)}function v(t,n=Ce.Default){let e=se();if(e===null)return B(t,n);let i=ut();return Sg(i,e,Ct(t),n)}function lh(){let t="invalid";throw new Error(t)}function ch(t,n,e,i,o,r){let s=_e(null);try{let a=null;o&Un.SignalBased&&(a=n[i][Cn]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&Un.HasDecoratorInputTransform&&(r=t.inputTransforms[i].call(n,r)),t.setInput!==null?t.setInput(n,a,r,e,i):Jf(n,a,i,r)}finally{_e(s)}}function ww(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let o=e[i];if(o<0)Mi(~o);else{let r=o,s=e[++i],a=e[++i];Gy(s,r);let l=n[r];a(2,l)}}}finally{Mi(-1)}}function Ua(t,n,e,i,o,r,s,a,l,c,m){let h=n.blueprint.slice();return h[kn]=o,h[ae]=i|4|128|8|64,(c!==null||t&&t[ae]&2048)&&(h[ae]|=2048),sg(h),h[vt]=h[go]=t,h[ct]=e,h[cn]=s||t&&t[cn],h[Ye]=a||t&&t[Ye],h[so]=l||t&&t[so]||null,h[Dt]=r,h[Ta]=EC(),h[ro]=m,h[Qf]=c,h[kt]=n.type==2?t[kt]:h,h}function Co(t,n,e,i,o){let r=t.data[n];if(r===null)r=xw(t,n,e,i,o),Wy()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=i,r.attrs=o;let s=zy();r.injectorIndex=s===null?-1:s.injectorIndex}return Ti(r,!0),r}function xw(t,n,e,i,o){let r=pg(),s=Kd(),a=s?r:r&&r.parent,l=t.data[n]=Sw(t,a,e,n,i,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 dh(t,n,e,i){if(e===0)return-1;let o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function uh(t,n,e,i,o){let r=En(),s=i&2;try{Mi(-1),s&&n.length>dt&&ah(t,n,dt,!1),sn(s?2:0,o),e(i,o)}finally{Mi(r),sn(s?3:1,o)}}function mu(t,n,e){if(qd(n)){let i=_e(null);try{let o=n.directiveStart,r=n.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{_e(i)}}}function fu(t,n,e){dg()&&(Fw(t,n,e,Bt(e,n)),(e.flags&64)===64&&fh(t,n,e))}function gu(t,n,e=Bt){let i=n.localNames;if(i!==null){let o=n.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],a=s===-1?e(n,t):t[s];t[o++]=a}}}function ph(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=hu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function hu(t,n,e,i,o,r,s,a,l,c,m){let h=dt+i,w=h+o,b=Mw(h,w),T=typeof c=="function"?c():c;return b[ce]={type:t,blueprint:b,template:e,queries:null,viewQuery:a,declTNode:n,data:b.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:w,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:m}}function Mw(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:At);return e}function kw(t,n,e,i){let r=i.get(AC,Hg)||e===ln.ShadowDom,s=t.selectRootElement(n,r);return Dw(s),s}function Dw(t){Ew(t)}var Ew=()=>null;function Iw(t,n,e,i){let o=bh(n);o.push(e),t.firstCreatePass&&vh(t).push(i,o.length-1)}function Sw(t,n,e,i,o,r){let s=n?n.injectorIndex:-1,a=0;return ug()&&(a|=128),{type:e,index:i,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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function lf(t,n,e,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;let s=n[r];if(s===void 0)continue;i??={};let a,l=Un.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?cf(i,e,c,a,l):cf(i,e,c,a)}return i}function cf(t,n,e,i,o){let r;t.hasOwnProperty(e)?(r=t[e]).push(n,i):r=t[e]=[n,i],o!==void 0&&r.push(o)}function Tw(t,n,e){let i=n.directiveStart,o=n.directiveEnd,r=t.data,s=n.attrs,a=[],l=null,c=null;for(let m=i;m<o;m++){let h=r[m],w=e?e.get(h):null,b=w?w.inputs:null,T=w?w.outputs:null;l=lf(0,h.inputs,m,l,b),c=lf(1,h.outputs,m,c,T);let O=l!==null&&s!==null&&!$d(n)?Gw(l,m,s):null;a.push(O)}l!==null&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}function Ow(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Wa(t,n,e,i,o,r,s,a){let l=Bt(n,e),c=n.inputs,m;!a&&c!=null&&(m=c[i])?(vu(t,e,m,i,o),Oa(n)&&Pw(e,n.index)):n.type&3?(i=Ow(i),o=s!=null?s(o,n.value||"",i):o,r.setProperty(l,i,o)):n.type&12}function Pw(t,n){let e=Yn(n,t);e[ae]&16||(e[ae]|=64)}function bu(t,n,e,i){if(dg()){let o=i===null?null:{"":-1},r=jw(t,e),s,a;r===null?s=a=null:[s,a]=r,s!==null&&mh(t,n,e,s,o,a),o&&Lw(e,i,o)}e.mergedAttrs=mr(e.mergedAttrs,e.attrs)}function mh(t,n,e,i,o,r){for(let c=0;c<i.length;c++)Yc(da(e,n),t,i[c].type);Bw(e,t.data.length,i.length);for(let c=0;c<i.length;c++){let m=i[c];m.providersResolver&&m.providersResolver(m)}let s=!1,a=!1,l=dh(t,n,i.length,null);for(let c=0;c<i.length;c++){let m=i[c];e.mergedAttrs=mr(e.mergedAttrs,m.hostAttrs),zw(t,e,n,l,m),Vw(l,m,o),m.contentQueries!==null&&(e.flags|=4),(m.hostBindings!==null||m.hostAttrs!==null||m.hostVars!==0)&&(e.flags|=64);let h=m.type.prototype;!s&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(h.ngOnChanges||h.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}Tw(t,e,r)}function Aw(t,n,e,i,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;Nw(s)!=a&&s.push(a),s.push(e,i,r)}}function Nw(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function Fw(t,n,e,i){let o=e.directiveStart,r=e.directiveEnd;Oa(e)&&Hw(n,e,t.data[o+e.componentOffset]),t.firstCreatePass||da(e,n),qn(i,n);let s=e.initialInputs;for(let a=o;a<r;a++){let l=t.data[a],c=Di(n,t,a,e);if(qn(c,n),s!==null&&Ww(n,a-o,c,l,e,s),Wn(l)){let m=Yn(e.index,n);m[ct]=Di(n,t,a,e)}}}function fh(t,n,e){let i=e.directiveStart,o=e.directiveEnd,r=e.index,s=qy();try{Mi(r);for(let a=i;a<o;a++){let l=t.data[a],c=n[a];Gc(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Rw(l,c)}}finally{Mi(-1),Gc(s)}}function Rw(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function jw(t,n){let e=t.directiveRegistry,i=null,o=null;if(e)for(let r=0;r<e.length;r++){let s=e[r];if(Vf(n,s.selectors,!1))if(i||(i=[]),Wn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s);let l=a.length;ad(t,n,l)}else i.unshift(s),ad(t,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return i===null?null:[i,o]}function ad(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function Lw(t,n,e){if(n){let i=t.localNames=[];for(let o=0;o<n.length;o+=2){let r=e[n[o+1]];if(r==null)throw new pe(-301,!1);i.push(n[o],r)}}}function Vw(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Wn(n)&&(e[""]=t)}}function Bw(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function zw(t,n,e,i,o){t.data[i]=o;let r=o.factory||(o.factory=_i(o.type,!0)),s=new ki(r,Wn(o),v);t.blueprint[i]=s,e[i]=s,Aw(t,n,i,dh(t,e,o.hostVars,At),o)}function Hw(t,n,e){let i=Bt(n,t),o=ph(e),r=t[cn].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let a=Ga(t,Ua(t,o,null,s,i,n,null,r.createRenderer(i,e),null,null,null));t[n.index]=a}function $w(t,n,e,i,o,r){let s=Bt(t,n);Uw(n[Ye],s,r,t.value,e,i,o)}function Uw(t,n,e,i,o,r,s){if(r==null)t.removeAttribute(n,o,e);else{let a=s==null?vi(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}function Ww(t,n,e,i,o,r){let s=r[n];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],m=s[a++],h=s[a++];ch(i,e,l,c,m,h)}}function Gw(t,n,e){let i=null,o=0;for(;o<e.length;){let r=e[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){i===null&&(i=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(r,s[a+1],s[a+2],e[o+1]);break}}o+=2}return i}function gh(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function hh(t,n){let e=t.contentQueries;if(e!==null){let i=_e(null);try{for(let o=0;o<e.length;o+=2){let r=e[o],s=e[o+1];if(s!==-1){let a=t.data[s];Jd(r),a.contentQueries(2,n[s],s)}}}finally{_e(i)}}}function Ga(t,n){return t[gr]?t[$m][Qt]=n:t[gr]=n,t[$m]=n,n}function ld(t,n,e){Jd(0);let i=_e(null);try{n(t,e)}finally{_e(i)}}function bh(t){return t[oa]??=[]}function vh(t){return t.cleanup??=[]}function _h(t,n){let e=t[so],i=e?e.get(pn,null):null;i&&i.handleError(n)}function vu(t,n,e,i,o){for(let r=0;r<e.length;){let s=e[r++],a=e[r++],l=e[r++],c=n[s],m=t.data[s];ch(m,c,i,a,l,o)}}function yh(t,n,e){let i=og(n,t);rw(t[Ye],i,e)}function qw(t,n){let e=Yn(n,t),i=e[ce];Zw(i,e);let o=e[kn];o!==null&&e[ro]===null&&(e[ro]=su(o,e[so])),_u(i,e,e[ct])}function Zw(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function _u(t,n,e){eu(n);try{let i=t.viewQuery;i!==null&&ld(1,i,e);let o=t.template;o!==null&&uh(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[Mn]?.finishViewCreation(t),t.staticContentQueries&&hh(t,n),t.staticViewQueries&&ld(2,t.viewQuery,e);let r=t.components;r!==null&&Yw(n,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[ae]&=-5,tu()}}function Yw(t,n){for(let e=0;e<n.length;e++)qw(t,n[e])}function Or(t,n,e,i){let o=_e(null);try{let r=n.tView,a=t[ae]&4096?4096:16,l=Ua(t,r,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[Ci]=c;let m=t[Mn];return m!==null&&(l[Mn]=m.createEmbeddedView(r)),_u(r,l,e),l}finally{_e(o)}}function Ch(t,n){let e=bt+n;if(e<t.length)return t[e]}function lo(t,n){return!n||n.firstChild===null||Fg(t)}function Pr(t,n,e,i=!0){let o=n[ce];if(dw(o,n,t,e),i){let s=sd(e,t),a=n[Ye],l=th(a,t[wi]);l!==null&&lw(o,t[Dt],a,n,l,s)}let r=n[ro];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function wh(t,n){let e=vr(t,n);return e!==void 0&&za(e[ce],e),e}function ga(t,n,e,i,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let r=n[e.index];r!==null&&i.push(dn(r)),Dn(r)&&Kw(r,i);let s=e.type;if(s&8)ga(t,n,e.child,i);else if(s&32){let a=du(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=ih(n,e);if(Array.isArray(a))i.push(...a);else{let l=xi(n[kt]);ga(l[ce],l,a,i,!0)}}e=o?e.projectionNext:e.next}return i}function Kw(t,n){for(let e=bt;e<t.length;e++){let i=t[e],o=i[ce].firstChild;o!==null&&ga(i[ce],i,o,n)}t[wi]!==t[kn]&&n.push(t[wi])}var xh=[];function Qw(t){return t[Lt]??Xw(t)}function Xw(t){let n=xh.pop()??Object.create(ex);return n.lView=t,n}function Jw(t){t.lView[Lt]!==t&&(t.lView=null,xh.push(t))}var ex=qe(re({},Qo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Na(t.lView)},consumerOnSignalRead(){this.lView[Lt]=this}});function tx(t){let n=t[Lt]??Object.create(nx);return n.lView=t,n}var nx=qe(re({},Qo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=xi(t.lView);for(;n&&!Mh(n[ce]);)n=xi(n);n&&ag(n)},consumerOnSignalRead(){this.lView[Lt]=this}});function Mh(t){return t.type!==2}var ix=100;function kh(t,n=!0,e=0){let i=t[cn],o=i.rendererFactory,r=!1;r||o.begin?.();try{ox(t,e)}catch(s){throw n&&_h(t,s),s}finally{r||(o.end?.(),i.inlineEffectRunner?.flush())}}function ox(t,n){let e=mg();try{Wm(!0),cd(t,n);let i=0;for(;Aa(t);){if(i===ix)throw new pe(103,!1);i++,cd(t,1)}}finally{Wm(e)}}function rx(t,n,e,i){let o=n[ae];if((o&256)===256)return;let r=!1,s=!1;!r&&n[cn].inlineEffectRunner?.flush(),eu(n);let a=!0,l=null,c=null;r||(Mh(t)?(c=Qw(n),l=ls(c)):zp()===null?(a=!1,c=tx(n),l=ls(c)):n[Lt]&&(rc(n[Lt]),n[Lt]=null));try{sg(n),Uy(t.bindingStartIndex),e!==null&&uh(t,n,e,2,i);let m=(o&3)===3;if(!r)if(m){let b=t.preOrderCheckHooks;b!==null&&Ys(n,b,null)}else{let b=t.preOrderHooks;b!==null&&Ks(n,b,0,null),kc(n,0)}if(s||sx(n),Dh(n,0),t.contentQueries!==null&&hh(t,n),!r)if(m){let b=t.contentCheckHooks;b!==null&&Ys(n,b)}else{let b=t.contentHooks;b!==null&&Ks(n,b,1),kc(n,1)}ww(t,n);let h=t.components;h!==null&&Ih(n,h,0);let w=t.viewQuery;if(w!==null&&ld(2,w,i),!r)if(m){let b=t.viewCheckHooks;b!==null&&Ys(n,b)}else{let b=t.viewHooks;b!==null&&Ks(n,b,2),kc(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Mc]){for(let b of n[Mc])b();n[Mc]=null}r||(n[ae]&=-73)}catch(m){throw r||Na(n),m}finally{c!==null&&(ic(c,l),a&&Jw(c)),tu()}}function Dh(t,n){for(let e=jg(t);e!==null;e=Lg(e))for(let i=bt;i<e.length;i++){let o=e[i];Eh(o,n)}}function sx(t){for(let n=jg(t);n!==null;n=Lg(n)){if(!(n[ae]&sa.HasTransplantedViews))continue;let e=n[ao];for(let i=0;i<e.length;i++){let o=e[i];ag(o)}}}function ax(t,n,e){let i=Yn(n,t);Eh(i,e)}function Eh(t,n){Yd(t)&&cd(t,n)}function cd(t,n){let i=t[ce],o=t[ae],r=t[Lt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(r?.dirty&&oc(r)),s||=!1,r&&(r.dirty=!1),t[ae]&=-9217,s)rx(i,t,i.template,t[ct]);else if(o&8192){Dh(t,1);let a=i.components;a!==null&&Ih(t,a,1)}}function Ih(t,n,e){for(let i=0;i<n.length;i++)ax(t,n[i],e)}function yu(t,n){let e=mg()?64:1088;for(t[cn].changeDetectionScheduler?.notify(n);t;){t[ae]|=e;let i=xi(t);if(Uc(t)&&!i)return t;t=i}return null}var Ei=class{get rootNodes(){let n=this._lView,e=n[ce];return ga(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ct]}set context(n){this._lView[ct]=n}get destroyed(){return(this._lView[ae]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[vt];if(Dn(n)){let e=n[ra],i=e?e.indexOf(this):-1;i>-1&&(vr(n,i),na(e,i))}this._attachedToViewContainer=!1}za(this._lView[ce],this._lView)}onDestroy(n){lg(this._lView,n)}markForCheck(){yu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ae]&=-129}reattach(){Wc(this._lView),this._lView[ae]|=128}detectChanges(){this._lView[ae]|=1024,kh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new pe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Uc(this._lView),e=this._lView[Ci];e!==null&&!n&&uu(e,this._lView),Qg(this._lView[ce],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new pe(902,!1);this._appRef=n;let e=Uc(this._lView),i=this._lView[Ci];i!==null&&!e&&Xg(i,this._lView),Wc(this._lView)}},ke=(()=>{class t{static{this.__NG_ELEMENT_ID__=dx}}return t})(),lx=ke,cx=class extends lx{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let o=Or(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new Ei(o)}};function dx(){return qa(ut(),se())}function qa(t,n){return t.type&4?new cx(n,t,_o(t,n)):null}var Fj=new RegExp(`^(\\d+)*(${OC}|${TC})*(.*)`);var ux=()=>null;function co(t,n){return ux(t,n)}var uo=class{},Cu=new W("",{providedIn:"root",factory:()=>!1});var Sh=new W(""),Th=new W(""),dd=class{},ha=class{};function px(t){let n=Error(`No component factory found for ${Tt(t)}.`);return n[mx]=t,n}var mx="ngComponent";var ud=class{resolveComponentFactory(n){throw px(n)}},Zn=class{static{this.NULL=new ud}},po=class{},Xt=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>fx()}}return t})();function fx(){let t=se(),n=ut(),e=Yn(n.index,t);return($n(e)?e:t)[Ye]}var gx=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>null})}}return t})();function ba(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")r=a;else if(r==1)o=Rc(o,a);else if(r==2){let l=a,c=n[++s];i=Rc(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}var pd=class extends Zn{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=yi(n);return new _r(e,this.ngModule)}};function df(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let o=t[i];if(o===void 0)continue;let r=Array.isArray(o),s=r?o[0]:o,a=r?o[1]:Un.None;n?e.push({propName:s,templateName:i,isSignal:(a&Un.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function hx(t){let n=t.toLowerCase();return n==="svg"?ig:n==="math"?Oy:null}var _r=class extends ha{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=df(n.inputs,!0);if(e!==null)for(let o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return df(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=uy(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=_e(null);try{o=o||this.ngModule;let s=o instanceof Vt?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new qc(n,s):n,l=a.get(po,null);if(l===null)throw new pe(407,!1);let c=a.get(gx,null),m=a.get(uo,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:m},w=l.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",T=i?kw(w,i,this.componentDef.encapsulation,a):Kg(w,b,hx(b)),O=512;this.componentDef.signals?O|=4096:this.componentDef.onPush||(O|=16);let R=null;T!==null&&(R=su(T,a,!0));let V=hu(0,null,null,1,0,null,null,null,null,null,null),Z=Ua(null,V,null,O,null,null,h,w,a,null,R);eu(Z);let fe,Ve,ze=null;try{let te=this.componentDef,Ge,lt=null;te.findHostDirectiveDefs?(Ge=[],lt=new Map,te.findHostDirectiveDefs(te,Ge,lt),Ge.push(te)):Ge=[te];let Ui=bx(Z,T);ze=vx(Ui,T,te,Ge,Z,h,w),Ve=Zd(V,dt),T&&Cx(w,te,T,i),e!==void 0&&wx(Ve,this.ngContentSelectors,e),fe=yx(ze,te,Ge,lt,Z,[xx]),_u(V,Z,null)}catch(te){throw ze!==null&&td(ze),td(Z),te}finally{tu()}return new md(this.componentType,fe,_o(Ve,Z),Z,Ve)}finally{_e(r)}}},md=class extends dd{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new Ei(o,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,o;if(i!==null&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView;vu(r[ce],r,o,n,e),this.previousInputValues.set(n,e);let s=Yn(this._tNode.index,r);yu(s,1)}}get injector(){return new bi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function bx(t,n){let e=t[ce],i=dt;return t[i]=n,Co(e,i,2,"#host",null)}function vx(t,n,e,i,o,r,s){let a=o[ce];_x(i,t,n,s);let l=null;n!==null&&(l=su(n,o[so]));let c=r.rendererFactory.createRenderer(n,e),m=16;e.signals?m=4096:e.onPush&&(m=64);let h=Ua(o,ph(e),null,m,o[t.index],t,r,c,null,null,l);return a.firstCreatePass&&ad(a,t,i.length-1),Ga(o,h),o[t.index]=h}function _x(t,n,e,i){for(let o of t)n.mergedAttrs=mr(n.mergedAttrs,o.hostAttrs);n.mergedAttrs!==null&&(ba(n,n.mergedAttrs,!0),e!==null&&sh(i,e,n))}function yx(t,n,e,i,o,r){let s=ut(),a=o[ce],l=Bt(s,o);mh(a,o,s,e,null,i);for(let m=0;m<e.length;m++){let h=s.directiveStart+m,w=Di(o,a,h,s);qn(w,o)}fh(a,o,s),l&&qn(l,o);let c=Di(o,a,s.directiveStart+s.componentOffset,s);if(t[ct]=o[ct]=c,r!==null)for(let m of r)m(c,n);return mu(a,s,o),c}function Cx(t,n,e,i){if(i)Bc(t,e,["ng-version","18.2.9"]);else{let{attrs:o,classes:r}=py(n.selectors[0]);o&&Bc(t,e,o),r&&r.length>0&&rh(t,e,r.join(" "))}}function wx(t,n,e){let i=t.projection=[];for(let o=0;o<n.length;o++){let r=e[o];i.push(r!=null?Array.from(r):null)}}function xx(){let t=ut();ja(se()[ce],t)}var gn=(()=>{class t{static{this.__NG_ELEMENT_ID__=Mx}}return t})();function Mx(){let t=ut();return Ph(t,se())}var kx=gn,Oh=class extends kx{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return _o(this._hostTNode,this._hostLView)}get injector(){return new bi(this._hostTNode,this._hostLView)}get parentInjector(){let n=nu(this._hostTNode,this._hostLView);if(xg(n)){let e=la(n,this._hostLView),i=aa(n),o=e[ce].data[i+8];return new bi(o,e)}else return new bi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=uf(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-bt}createEmbeddedView(n,e,i){let o,r;typeof i=="number"?o=i:i!=null&&(o=i.index,r=i.injector);let s=co(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(a,o,lo(this._hostTNode,s)),a}createComponent(n,e,i,o,r){let s=n&&!Ey(n),a;if(s)a=e;else{let T=e||{};a=T.index,i=T.injector,o=T.projectableNodes,r=T.environmentInjector||T.ngModuleRef}let l=s?n:new _r(yi(n)),c=i||this.parentInjector;if(!r&&l.ngModule==null){let O=(s?c:this.parentInjector).get(Vt,null);O&&(r=O)}let m=yi(l.componentType??{}),h=co(this._lContainer,m?.id??null),w=h?.firstChild??null,b=l.create(c,o,w,r);return this.insertImpl(b.hostView,a,lo(this._hostTNode,h)),b}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let o=n._lView;if(Ay(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=o[vt],c=new Oh(l,l[Dt],l[vt]);c.detach(c.indexOf(n))}}let r=this._adjustIndex(e),s=this._lContainer;return Pr(s,o,r,i),n.attachToViewContainerRef(),Af(Tc(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=uf(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=vr(this._lContainer,e);i&&(na(Tc(this._lContainer),e),za(i[ce],i))}detach(n){let e=this._adjustIndex(n,-1),i=vr(this._lContainer,e);return i&&na(Tc(this._lContainer),e)!=null?new Ei(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function uf(t){return t[ra]}function Tc(t){return t[ra]||(t[ra]=[])}function Ph(t,n){let e,i=n[t.index];return Dn(i)?e=i:(e=gh(i,n,null,t),n[t.index]=e,Ga(n,e)),Ex(e,n,t,i),new Oh(e,t,n)}function Dx(t,n){let e=t[Ye],i=e.createComment(""),o=Bt(n,t),r=th(e,o);return fa(e,r,i,fw(e,o),!1),i}var Ex=Tx,Ix=()=>!1;function Sx(t,n,e){return Ix(t,n,e)}function Tx(t,n,e,i){if(t[wi])return;let o;e.type&8?o=dn(i):o=Dx(n,e),t[wi]=o}var fd=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},gd=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){let s=e.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)wu(n,e).matches!==null&&this.queries[e].setDirty()}},va=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=Lx(n):this.predicate=n}},hd=class t{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let o=e!==null?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,e!==null?e.push(r):e=[r])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},bd=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){let r=i[o];this.matchTNodeWithReadOption(n,e,Ox(e,r)),this.matchTNodeWithReadOption(n,e,Qs(e,n,r,!1,!1))}else i===ke?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Qs(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let o=this.metadata.read;if(o!==null)if(o===G||o===gn||o===ke&&e.type&4)this.addMatch(e.index,-2);else{let r=Qs(e,n,o,!1,!1);r!==null&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function Ox(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function Px(t,n){return t.type&11?_o(t,n):t.type&4?qa(t,n):null}function Ax(t,n,e,i){return e===-1?Px(n,t):e===-2?Nx(t,n,i):Di(t,t[ce],e,n)}function Nx(t,n,e){if(e===G)return _o(n,t);if(e===ke)return qa(n,t);if(e===gn)return Ph(n,t)}function Ah(t,n,e,i){let o=n[Mn].queries[i];if(o.matches===null){let r=t.data,s=e.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 m=r[c];a.push(Ax(n,m,s[l+1],e.metadata.read))}}o.matches=a}return o.matches}function vd(t,n,e,i){let o=t.queries.getByIndex(e),r=o.matches;if(r!==null){let s=Ah(t,n,o,e);for(let a=0;a<r.length;a+=2){let l=r[a];if(l>0)i.push(s[a/2]);else{let c=r[a+1],m=n[-l];for(let h=bt;h<m.length;h++){let w=m[h];w[Ci]===w[vt]&&vd(w[ce],w,c,i)}if(m[ao]!==null){let h=m[ao];for(let w=0;w<h.length;w++){let b=h[w];vd(b[ce],b,c,i)}}}}}return i}function Fx(t,n){return t[Mn].queries[n].queryList}function Nh(t,n,e){let i=new br((e&4)===4);return Iw(t,n,i,i.destroy),(n[Mn]??=new gd).queries.push(new fd(i))-1}function Rx(t,n,e){let i=Ke();return i.firstCreatePass&&(Fh(i,new va(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),Nh(i,se(),n)}function jx(t,n,e,i){let o=Ke();if(o.firstCreatePass){let r=ut();Fh(o,new va(n,e,i),r.index),Vx(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return Nh(o,se(),e)}function Lx(t){return t.split(",").map(n=>n.trim())}function Fh(t,n,e){t.queries===null&&(t.queries=new hd),t.queries.track(new bd(n,e))}function Vx(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function wu(t,n){return t.queries.getByIndex(n)}function Bx(t,n){let e=t[ce],i=wu(e,n);return i.crossesNgTemplate?vd(e,t,n,[]):Ah(e,t,i,n)}var pf=new Set;function Pi(t){pf.has(t)||(pf.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Rh(t){return typeof t=="function"&&t[Cn]!==void 0}function Ar(t,n){Pi("NgSignals");let e=Xp(t),i=e[Cn];return n?.equal&&(i.equal=n.equal),e.set=o=>sc(i,o),e.update=o=>Jp(i,o),e.asReadonly=zx.bind(e),e}function zx(){let t=this[Cn];if(t.readonlyFn===void 0){let n=()=>this();n[Cn]=t,t.readonlyFn=n}return t.readonlyFn}function jh(t){return Rh(t)&&typeof t.set=="function"}function Hx(t){return Object.getPrototypeOf(t.prototype).constructor}function q(t){let n=Hx(t.type),e=!0,i=[t];for(;n;){let o;if(Wn(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new pe(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);let s=t;s.inputs=Ws(t.inputs),s.inputTransforms=Ws(t.inputTransforms),s.declaredInputs=Ws(t.declaredInputs),s.outputs=Ws(t.outputs);let a=o.hostBindings;a&&qx(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&Wx(t,l),c&&Gx(t,c),$x(t,o),O0(t.outputs,o.outputs),Wn(o)&&o.data.animation){let m=t.data;m.animation=(m.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===q&&(e=!1)}}n=Object.getPrototypeOf(n)}Ux(i)}function $x(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=n.inputTransforms[o]}}}function Ux(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=mr(o.hostAttrs,e=mr(e,o.hostAttrs))}}function Ws(t){return t===io?{}:t===Mt?[]:t}function Wx(t,n){let e=t.viewQuery;e?t.viewQuery=(i,o)=>{n(i,o),e(i,o)}:t.viewQuery=n}function Gx(t,n){let e=t.contentQueries;e?t.contentQueries=(i,o,r)=>{n(i,o,r),e(i,o,r)}:t.contentQueries=n}function qx(t,n){let e=t.hostBindings;e?t.hostBindings=(i,o)=>{n(i,o),e(i,o)}:t.hostBindings=n}function he(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)&&o[3]&&(e[i]=o[3])}t.inputTransforms=e}var mo=class{};var _a=class extends mo{constructor(n){super(),this.componentFactoryResolver=new pd(this),this.instance=null;let e=new fr([...n.providers,{provide:mo,useValue:this},{provide:Zn,useValue:this.componentFactoryResolver}],n.parent||Sa(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Zx(t,n,e=null){return new _a({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function Lh(t){return xu(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Yx(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function xu(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Za(t,n,e){return t[n]=e}function Ot(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function yr(t,n,e,i){let o=Ot(t,n,e);return Ot(t,n+1,i)||o}function Kx(t,n,e,i,o){let r=yr(t,n,e,i);return Ot(t,n+2,o)||r}function Qx(t,n,e,i,o,r){let s=yr(t,n,e,i);return yr(t,n+2,o,r)||s}function Xx(t){return(t.flags&32)===32}function Jx(t,n,e,i,o,r,s,a,l){let c=n.consts,m=Co(n,t,4,s||null,a||null);bu(n,e,m,Gn(c,l)),ja(n,m);let h=m.tView=hu(2,m,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,m),h.queries=n.queries.embeddedTView(m)),m}function ya(t,n,e,i,o,r,s,a,l,c){let m=e+dt,h=n.firstCreatePass?Jx(m,n,t,i,o,r,s,a,l):n.data[m];Ti(h,!1);let w=e1(n,t,h,e);Fa()&&Ha(n,t,w,h),qn(w,t);let b=gh(w,t,w,h);return t[m]=b,Ga(t,b),Sx(b,h,t),Pa(h)&&fu(n,t,h),l!=null&&gu(t,h,c),h}function x(t,n,e,i,o,r,s,a){let l=se(),c=Ke(),m=Gn(c.consts,r);return ya(l,c,t,n,e,i,o,m,s,a),x}var e1=t1;function t1(t,n,e,i){return Ra(!0),n[Ye].createComment("")}var lr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(lr||{}),n1=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}}return t})(),mf=class t{constructor(){this.ngZone=U(Me),this.scheduler=U(uo),this.errorHandler=U(pn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[lr.EarlyRead,lr.Write,lr.MixedReadWrite,lr.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}};function X(t,n,e,i){let o=se(),r=Oi();if(Ot(o,r,n)){let s=Ke(),a=Dr();$w(a,o,t,n,e,i)}return X}function Vh(t,n,e,i){return Ot(t,Oi(),e)?n+vi(e)+i:At}function i1(t,n,e,i,o,r){let s=$y(),a=yr(t,s,e,o);return Xd(2),a?n+vi(e)+i+vi(o)+r:At}function Gs(t,n){return t<<17|n<<2}function Ii(t){return t>>17&32767}function o1(t){return(t&2)==2}function r1(t,n){return t&131071|n<<17}function _d(t){return t|2}function fo(t){return(t&131068)>>2}function Oc(t,n){return t&-131069|n<<2}function s1(t){return(t&1)===1}function yd(t){return t|1}function a1(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,a=Ii(s),l=fo(s);t[i]=e;let c=!1,m;if(Array.isArray(e)){let h=e;m=h[1],(m===null||xr(h,m)>0)&&(c=!0)}else m=e;if(o)if(l!==0){let w=Ii(t[a+1]);t[i+1]=Gs(w,a),w!==0&&(t[w+1]=Oc(t[w+1],i)),t[a+1]=r1(t[a+1],i)}else t[i+1]=Gs(a,0),a!==0&&(t[a+1]=Oc(t[a+1],i)),a=i;else t[i+1]=Gs(l,0),a===0?a=i:t[l+1]=Oc(t[l+1],i),l=i;c&&(t[i+1]=_d(t[i+1])),ff(t,m,i,!0),ff(t,m,i,!1),l1(n,m,t,i,r),s=Gs(a,l),r?n.classBindings=s:n.styleBindings=s}function l1(t,n,e,i,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof n=="string"&&xr(r,n)>=0&&(e[i+1]=yd(e[i+1]))}function ff(t,n,e,i){let o=t[e+1],r=n===null,s=i?Ii(o):fo(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];c1(l,n)&&(a=!0,t[s+1]=i?yd(c):_d(c)),s=i?Ii(c):fo(c)}a&&(t[e+1]=i?_d(o):yd(o))}function c1(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?xr(t,n)>=0:!1}var Kt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function d1(t){return t.substring(Kt.key,Kt.keyEnd)}function u1(t){return p1(t),Bh(t,zh(t,0,Kt.textEnd))}function Bh(t,n){let e=Kt.textEnd;return e===n?-1:(n=Kt.keyEnd=m1(t,Kt.key=n,e),zh(t,n,e))}function p1(t){Kt.key=0,Kt.keyEnd=0,Kt.value=0,Kt.valueEnd=0,Kt.textEnd=t.length}function zh(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function m1(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function g(t,n,e){let i=se(),o=Oi();if(Ot(i,o,n)){let r=Ke(),s=Dr();Wa(r,s,i,t,n,i[Ye],e,!1)}return g}function Cd(t,n,e,i,o){let r=n.inputs,s=o?"class":"style";vu(t,e,r[s],s,i)}function Ue(t,n,e){return Hh(t,n,e,!1),Ue}function Y(t,n){return Hh(t,n,null,!0),Y}function Nr(t){g1(C1,f1,t,!0)}function f1(t,n){for(let e=u1(n);e>=0;e=Bh(n,e))Hd(t,d1(n),!0)}function Hh(t,n,e,i){let o=se(),r=Ke(),s=Xd(2);if(r.firstUpdatePass&&Uh(r,t,s,i),n!==At&&Ot(o,s,n)){let a=r.data[En()];Wh(r,a,o,o[Ye],t,o[s+1]=x1(n,e),i,s)}}function g1(t,n,e,i){let o=Ke(),r=Xd(2);o.firstUpdatePass&&Uh(o,null,r,i);let s=se();if(e!==At&&Ot(s,r,e)){let a=o.data[En()];if(Gh(a,i)&&!$h(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Rc(l,e||"")),Cd(o,a,s,e,i)}else w1(o,a,s,s[Ye],s[r+1],s[r+1]=y1(t,n,e),i,r)}}function $h(t,n){return n>=t.expandoStartIndex}function Uh(t,n,e,i){let o=t.data;if(o[e+1]===null){let r=o[En()],s=$h(t,e);Gh(r,i)&&n===null&&!s&&(n=!1),n=h1(o,r,n,i),a1(o,r,n,e,s,i)}}function h1(t,n,e,i){let o=Zy(t),r=i?n.residualClasses:n.residualStyles;if(o===null)(i?n.classBindings:n.styleBindings)===0&&(e=Pc(null,t,n,e,i),e=Cr(e,n.attrs,i),r=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=Pc(o,t,n,e,i),r===null){let l=b1(t,n,i);l!==void 0&&Array.isArray(l)&&(l=Pc(null,t,n,l[1],i),l=Cr(l,n.attrs,i),v1(t,n,i,l))}else r=_1(t,n,i)}return r!==void 0&&(i?n.residualClasses=r:n.residualStyles=r),e}function b1(t,n,e){let i=e?n.classBindings:n.styleBindings;if(fo(i)!==0)return t[Ii(i)]}function v1(t,n,e,i){let o=e?n.classBindings:n.styleBindings;t[Ii(o)]=i}function _1(t,n,e){let i,o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;i=Cr(i,s,e)}return Cr(i,n.attrs,e)}function Pc(t,n,e,i,o){let r=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(r=n[a],i=Cr(i,r.hostAttrs,o),r!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function Cr(t,n,e){let i=e?1:2,o=-1;if(n!==null)for(let r=0;r<n.length;r++){let s=n[r];typeof s=="number"?o=s:o===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Hd(t,s,e?!0:n[++r]))}return t===void 0?null:t}function y1(t,n,e){if(e==null||e==="")return Mt;let i=[],o=yo(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else typeof o=="string"&&n(i,o);return i}function C1(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&Hd(t,i,e)}function w1(t,n,e,i,o,r,s,a){o===At&&(o=Mt);let l=0,c=0,m=0<o.length?o[0]:null,h=0<r.length?r[0]:null;for(;m!==null||h!==null;){let w=l<o.length?o[l+1]:void 0,b=c<r.length?r[c+1]:void 0,T=null,O;m===h?(l+=2,c+=2,w!==b&&(T=h,O=b)):h===null||m!==null&&m<h?(l+=2,T=m):(c+=2,T=h,O=b),T!==null&&Wh(t,n,e,i,T,O,s,a),m=l<o.length?o[l]:null,h=c<r.length?r[c]:null}}function Wh(t,n,e,i,o,r,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],m=s1(c)?gf(l,n,e,o,fo(c),s):void 0;if(!Ca(m)){Ca(r)||o1(c)&&(r=gf(l,null,e,o,a,s));let h=og(En(),e);yw(i,s,h,o,r)}}function gf(t,n,e,i,o,r){let s=n===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),m=c?l[1]:l,h=m===null,w=e[o+1];w===At&&(w=h?Mt:void 0);let b=h?wc(w,i):m===i?w:void 0;if(c&&!Ca(b)&&(b=wc(l,i)),Ca(b)&&(a=b,s))return a;let T=t[o+1];o=s?Ii(T):fo(T)}if(n!==null){let l=r?n.residualClasses:n.residualStyles;l!=null&&(a=wc(l,i))}return a}function Ca(t){return t!==void 0}function x1(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Tt(yo(t)))),t}function Gh(t,n){return(t.flags&(n?8:16))!==0}function Mu(){return se()[kt][ct]}var wd=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){let s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}};function Ac(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function M1(t,n,e){let i,o,r=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;r<=s&&r<=l;){let c=t.at(r),m=n[r],h=Ac(r,c,r,m,e);if(h!==0){h<0&&t.updateValue(r,m),r++;continue}let w=t.at(s),b=n[l],T=Ac(s,w,l,b,e);if(T!==0){T<0&&t.updateValue(s,b),s--,l--;continue}let O=e(r,c),R=e(s,w),V=e(r,m);if(Object.is(V,R)){let Z=e(l,b);Object.is(Z,O)?(t.swap(r,s),t.updateValue(s,b),l--,s--):t.move(s,r),t.updateValue(r,m),r++;continue}if(i??=new wa,o??=bf(t,r,s,e),xd(t,i,r,V))t.updateValue(r,m),r++,s++;else if(o.has(V))i.set(O,t.detach(r)),s--;else{let Z=t.create(r,n[r]);t.attach(r,Z),r++,s++}}for(;r<=l;)hf(t,i,e,r,n[r]),r++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let m=t.at(r),h=c.value,w=Ac(r,m,r,h,e);if(w!==0)w<0&&t.updateValue(r,h),r++,c=l.next();else{i??=new wa,o??=bf(t,r,s,e);let b=e(r,h);if(xd(t,i,r,b))t.updateValue(r,h),r++,s++,c=l.next();else if(!o.has(b))t.attach(r,t.create(r,h)),r++,s++,c=l.next();else{let T=e(r,m);i.set(T,t.detach(r)),s--}}}for(;!c.done;)hf(t,i,e,t.length,c.value),c=l.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function xd(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function hf(t,n,e,i,o){if(xd(t,n,i,e(i,o)))t.updateValue(i,o);else{let r=t.create(i,o);t.attach(i,r)}}function bf(t,n,e,i){let o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}var wa=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}};function j(t,n){Pi("NgControlFlow");let e=se(),i=Oi(),o=e[i]!==At?e[i]:-1,r=o!==-1?xa(e,dt+o):void 0,s=0;if(Ot(e,i,t)){let a=_e(null);try{if(r!==void 0&&wh(r,s),t!==-1){let l=dt+t,c=xa(e,l),m=Ed(e[ce],l),h=co(c,m.tView.ssrId),w=Or(e,m,n,{dehydratedView:h});Pr(c,w,s,lo(m,h))}}finally{_e(a)}}else if(r!==void 0){let a=Ch(r,s);a!==void 0&&(a[ct]=n)}}var Md=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-bt}};function Fr(t,n){return n}var kd=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Jt(t,n,e,i,o,r,s,a,l,c,m,h,w){Pi("NgControlFlow");let b=se(),T=Ke(),O=l!==void 0,R=se(),V=a?s.bind(R[kt][ct]):s,Z=new kd(O,V);R[dt+t]=Z,ya(b,T,t+1,n,e,i,o,Gn(T.consts,r)),O&&ya(b,T,t+2,l,c,m,h,Gn(T.consts,w))}var Dd=class extends wd{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-bt}at(n){return this.getLView(n)[ct].$implicit}attach(n,e){let i=e[ro];this.needsIndexUpdate||=n!==this.length,Pr(this.lContainer,e,n,lo(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,k1(this.lContainer,n)}create(n,e){let i=co(this.lContainer,this.templateTNode.tView.ssrId),o=Or(this.hostLView,this.templateTNode,new Md(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),o}destroy(n){za(n[ce],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[ct].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ct].$index=n}getLView(n){return D1(this.lContainer,n)}};function en(t){let n=_e(null),e=En();try{let i=se(),o=i[ce],r=i[e],s=e+1,a=xa(i,s);if(r.liveCollection===void 0){let c=Ed(o,s);r.liveCollection=new Dd(a,i,c)}else r.liveCollection.reset();let l=r.liveCollection;if(M1(l,t,r.trackByFn),l.updateIndexes(),r.hasEmptyBlock){let c=Oi(),m=l.length===0;if(Ot(i,c,m)){let h=e+2,w=xa(i,h);if(m){let b=Ed(o,h),T=co(w,b.tView.ssrId),O=Or(i,b,void 0,{dehydratedView:T});Pr(w,O,0,lo(b,T))}else wh(w,0)}}}finally{_e(n)}}function xa(t,n){return t[n]}function k1(t,n){return vr(t,n)}function D1(t,n){return Ch(t,n)}function Ed(t,n){return Zd(t,n)}function E1(t,n,e,i,o,r){let s=n.consts,a=Gn(s,o),l=Co(n,t,2,i,a);return bu(n,e,l,Gn(s,r)),l.attrs!==null&&ba(l,l.attrs,!1),l.mergedAttrs!==null&&ba(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function p(t,n,e,i){let o=se(),r=Ke(),s=dt+t,a=o[Ye],l=r.firstCreatePass?E1(s,r,o,n,e,i):r.data[s],c=I1(r,o,l,a,n,t);o[s]=c;let m=Pa(l);return Ti(l,!0),sh(a,c,l),!Xx(l)&&Fa()&&Ha(r,o,c,l),Ry()===0&&qn(c,o),jy(),m&&(fu(r,o,l),mu(r,l,o)),i!==null&&gu(o,l),p}function f(){let t=ut();Kd()?Qd():(t=t.parent,Ti(t,!1));let n=t;Vy(n)&&By(),Ly();let e=Ke();return e.firstCreatePass&&(ja(e,t),qd(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&tC(n)&&Cd(e,n,se(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&nC(n)&&Cd(e,n,se(),n.stylesWithoutHost,!1),f}function E(t,n,e,i){return p(t,n,e,i),f(),E}var I1=(t,n,e,i,o,r)=>(Ra(!0),Kg(i,o,Qy()));function S1(t,n,e,i,o){let r=n.consts,s=Gn(r,i),a=Co(n,t,8,"ng-container",s);s!==null&&ba(a,s,!0);let l=Gn(r,o);return bu(n,e,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function pt(t,n,e){let i=se(),o=Ke(),r=t+dt,s=o.firstCreatePass?S1(r,o,i,n,e):o.data[r];Ti(s,!0);let a=T1(o,i,s,t);return i[r]=a,Fa()&&Ha(o,i,a,s),qn(a,i),Pa(s)&&(fu(o,i,s),mu(o,s,i)),e!=null&&gu(i,s),pt}function mt(){let t=ut(),n=Ke();return Kd()?Qd():(t=t.parent,Ti(t,!1)),n.firstCreatePass&&(ja(n,t),qd(t)&&n.queries.elementEnd(t)),mt}function at(t,n,e){return pt(t,n,e),mt(),at}var T1=(t,n,e,i)=>(Ra(!0),sw(n[Ye],""));function A(){return se()}function Rr(t,n,e){let i=se(),o=Oi();if(Ot(i,o,n)){let r=Ke(),s=Dr();Wa(r,s,i,t,n,i[Ye],e,!0)}return Rr}var Ma="en-US";var O1=Ma;function P1(t){typeof t=="string"&&(O1=t.toLowerCase().replace(/_/g,"-"))}var A1=(t,n,e)=>{};function _(t,n,e,i){let o=se(),r=Ke(),s=ut();return qh(r,o,o[Ye],s,t,n,i),_}function N1(t,n,e,i){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===e&&o[r+1]===i){let a=n[oa],l=o[r+2];return a.length>l?a[l]:null}typeof s=="string"&&(r+=2)}return null}function qh(t,n,e,i,o,r,s){let a=Pa(i),c=t.firstCreatePass&&vh(t),m=n[ct],h=bh(n),w=!0;if(i.type&3||s){let O=Bt(i,n),R=s?s(O):O,V=h.length,Z=s?Ve=>s(dn(Ve[i.index])):i.index,fe=null;if(!s&&a&&(fe=N1(t,n,o,i.index)),fe!==null){let Ve=fe.__ngLastListenerFn__||fe;Ve.__ngNextListenerFn__=r,fe.__ngLastListenerFn__=r,w=!1}else{r=_f(i,n,m,r),A1(O,o,r);let Ve=e.listen(R,o,r);h.push(r,Ve),c&&c.push(o,Z,V,V+1)}}else r=_f(i,n,m,r);let b=i.outputs,T;if(w&&b!==null&&(T=b[o])){let O=T.length;if(O)for(let R=0;R<O;R+=2){let V=T[R],Z=T[R+1],ze=n[V][Z].subscribe(r),te=h.length;h.push(r,ze),c&&c.push(o,i.index,te,-(te+1))}}}function vf(t,n,e,i){let o=_e(null);try{return sn(6,n,e),e(i)!==!1}catch(r){return _h(t,r),!1}finally{sn(7,n,e),_e(o)}}function _f(t,n,e,i){return function o(r){if(r===Function)return i;let s=t.componentOffset>-1?Yn(t.index,n):n;yu(s,5);let a=vf(n,e,i,r),l=o.__ngNextListenerFn__;for(;l;)a=vf(n,e,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function u(t=1){return Ky(t)}function F1(t,n){let e=null,i=sy(t);for(let o=0;o<n.length;o++){let r=n[o];if(r==="*"){e=o;continue}if(i===null?Vf(t,r,!0):cy(i,r))return o}return e}function je(t){let n=se()[kt][Dt];if(!n.projection){let e=t?t.length:1,i=n.projection=Q0(e,null),o=i.slice(),r=n.child;for(;r!==null;){if(r.type!==128){let s=t?F1(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r)}r=r.next}}}function Ee(t,n=0,e,i,o,r){let s=se(),a=Ke(),l=i?t+1:null;l!==null&&ya(s,a,l,i,o,r,null,e);let c=Co(a,dt+t,16,null,e||null);c.projection===null&&(c.projection=n),Qd();let h=!s[ro]||ug();s[kt][Dt].projection[c.projection]===null&&l!==null?R1(s,a,l):h&&(c.flags&32)!==32&&vw(a,s,c)}function R1(t,n,e){let i=dt+e,o=n.data[i],r=t[i],s=co(r,o.tView.ssrId),a=Or(t,o,void 0,{dehydratedView:s});Pr(r,a,0,lo(o,s))}function ve(t,n,e){return Zh(t,"",n,"",e),ve}function Zh(t,n,e,i,o){let r=se(),s=Vh(r,n,e,i);if(s!==At){let a=Ke(),l=Dr();Wa(a,l,r,t,s,r[Ye],o,!1)}return Zh}function _t(t,n,e,i){jx(t,n,e,i)}function tt(t,n,e){Rx(t,n,e)}function Ie(t){let n=se(),e=Ke(),i=fg();Jd(i+1);let o=wu(e,i);if(t.dirty&&Py(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=Bx(n,i);t.reset(r,MC),t.notifyOnChanges()}return!0}return!1}function Se(){return Fx(se(),fg())}function j1(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function Je(t){let n=Hy();return rg(n,dt+t)}function D(t,n=""){let e=se(),i=Ke(),o=t+dt,r=i.firstCreatePass?Co(i,o,1,n,null):i.data[o],s=L1(i,e,r,n,t);e[o]=s,Fa()&&Ha(i,e,s,r),Ti(r,!1)}var L1=(t,n,e,i,o)=>(Ra(!0),ow(n[Ye],i));function ee(t){return H("",t,""),ee}function H(t,n,e){let i=se(),o=Vh(i,t,n,e);return o!==At&&yh(i,En(),o),H}function tn(t,n,e,i,o){let r=se(),s=i1(r,t,n,e,i,o);return s!==At&&yh(r,En(),s),tn}function Sn(t,n,e){jh(n)&&(n=n());let i=se(),o=Oi();if(Ot(i,o,n)){let r=Ke(),s=Dr();Wa(r,s,i,t,n,i[Ye],e,!1)}return Sn}function Kn(t,n){let e=jh(t);return e&&t.set(n),e}function Tn(t,n){let e=se(),i=Ke(),o=ut();return qh(i,e,e[Ye],o,t,n),Tn}function V1(t,n,e){let i=Ke();if(i.firstCreatePass){let o=Wn(t);Id(e,i.data,i.blueprint,o,!0),Id(n,i.data,i.blueprint,o,!1)}}function Id(t,n,e,i,o){if(t=Ct(t),Array.isArray(t))for(let r=0;r<t.length;r++)Id(t[r],n,e,i,o);else{let r=Ke(),s=se(),a=ut(),l=oo(t)?t:Ct(t.provide),c=qf(t),m=a.providerIndexes&1048575,h=a.directiveStart,w=a.providerIndexes>>20;if(oo(t)||!t.multi){let b=new ki(c,o,v),T=Fc(l,n,o?m:m+w,h);T===-1?(Yc(da(a,s),r,l),Nc(r,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(b),s.push(b)):(e[T]=b,s[T]=b)}else{let b=Fc(l,n,m+w,h),T=Fc(l,n,m,m+w),O=b>=0&&e[b],R=T>=0&&e[T];if(o&&!R||!o&&!O){Yc(da(a,s),r,l);let V=H1(o?z1:B1,e.length,o,i,c);!o&&R&&(e[T].providerFactory=V),Nc(r,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(V),s.push(V)}else{let V=Yh(e[o?T:b],c,!o&&i);Nc(r,t,b>-1?b:T,V)}!o&&i&&R&&e[T].componentProviders++}}}function Nc(t,n,e,i){let o=oo(n),r=yy(n);if(o||r){let l=(r?Ct(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let m=c.indexOf(e);m===-1?c.push(e,[i,l]):c[m+1].push(i,l)}else c.push(e,l)}}}function Yh(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Fc(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function B1(t,n,e,i){return Sd(this.multi,[])}function z1(t,n,e,i){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Di(e,e[ce],this.providerFactory.index,i);r=a.slice(0,s),Sd(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],Sd(o,r);return r}function Sd(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function H1(t,n,e,i,o){let r=new ki(t,e,v);return r.multi=[],r.index=n,r.componentProviders=0,Yh(r,o,i&&!e),r}function ne(t,n=[]){return e=>{e.providersResolver=(i,o)=>V1(i,o?o(t):t,n)}}var $1=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=Uf(!1,e.type),o=i.length>0?Zx([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=$({token:t,providedIn:"environment",factory:()=>new t(B(Vt))})}}return t})();function S(t){Pi("NgStandalone"),t.getStandaloneInjector=n=>n.get($1).getOrCreateStandaloneInjector(t)}function Oe(t,n,e,i){return Kh(se(),kr(),t,n,e,i)}function ft(t,n,e,i,o){return U1(se(),kr(),t,n,e,i,o)}function gt(t,n,e,i,o,r){return W1(se(),kr(),t,n,e,i,o,r)}function Ya(t,n,e,i,o,r,s){return G1(se(),kr(),t,n,e,i,o,r,s)}function Ka(t,n){let e=t[n];return e===At?void 0:e}function Kh(t,n,e,i,o,r){let s=n+e;return Ot(t,s,o)?Za(t,s+1,r?i.call(r,o):i(o)):Ka(t,s+1)}function U1(t,n,e,i,o,r,s){let a=n+e;return yr(t,a,o,r)?Za(t,a+2,s?i.call(s,o,r):i(o,r)):Ka(t,a+2)}function W1(t,n,e,i,o,r,s,a){let l=n+e;return Kx(t,l,o,r,s)?Za(t,l+3,a?i.call(a,o,r,s):i(o,r,s)):Ka(t,l+3)}function G1(t,n,e,i,o,r,s,a,l){let c=n+e;return Qx(t,c,o,r,s,a)?Za(t,c+4,l?i.call(l,o,r,s,a):i(o,r,s,a)):Ka(t,c+4)}function N(t,n){let e=Ke(),i,o=t+dt;e.firstCreatePass?(i=q1(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];let r=i.factory||(i.factory=_i(i.type,!0)),s,a=xt(v);try{let l=ca(!1),c=r();return ca(l),j1(e,se(),o,c),c}finally{xt(a)}}function q1(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function F(t,n,e){let i=t+dt,o=se(),r=rg(o,i);return Z1(o,i)?Kh(o,kr(),n,r.transform,e,r):r.transform(e)}function Z1(t,n){return t[ce].data[n].pure}function yt(t,n){return qa(t,n)}var Qh=new W("");function jr(t){return!!t&&typeof t.then=="function"}function Xh(t){return!!t&&typeof t.subscribe=="function"}var Y1=new W(""),Jh=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=U(Y1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=o();if(jr(r))e.push(r);else if(Xh(r)){let s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),eb=new W("");function K1(){Qp(()=>{throw new pe(600,!1)})}function Q1(t){return t.isBoundToModule}var X1=10;function J1(t,n,e){try{let i=e();return jr(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}var hn=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=U(wC),this.afterRenderManager=U(n1),this.zonelessEnabled=U(Cu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new be,this.afterTick=new be,this.componentTypes=[],this.components=[],this.isStable=U(vo).hasPendingTasks.pipe(ue(e=>!e)),this._injector=U(Vt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let o=e instanceof ha;if(!this._injector.get(Jh).done){let w=!o&&gy(e),b=!1;throw new pe(405,b)}let s;o?s=e:s=this._injector.get(Zn).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=Q1(s)?void 0:this._injector.get(mo),l=i||s.selector,c=s.create(un.NULL,[],l,a),m=c.location.nativeElement,h=c.injector.get(Qh,null);return h?.registerApplication(m),c.onDestroy(()=>{this.detachView(c.hostView),Xs(this.components,c),h?.unregisterApplication(m)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new pe(101,!1);let e=_e(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,_e(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(po,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<X1;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:r}of this._views)eM(o,r,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Aa(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Xs(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(eb,[]);[...this._bootstrapListeners,...i].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Xs(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new pe(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Xs(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function eM(t,n,e,i){if(!e&&!Aa(t))return;kh(t,n,e&&!i?0:1)}var tM=(()=>{class t{constructor(){this.zone=U(Me),this.changeDetectionScheduler=U(uo),this.applicationRef=U(hn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function nM({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new Me(qe(re({},iM()),{scheduleInRootZone:e})),[{provide:Me,useFactory:t},{provide:pr,multi:!0,useFactory:()=>{let i=U(tM,{optional:!0});return()=>i.initialize()}},{provide:pr,multi:!0,useFactory:()=>{let i=U(oM);return()=>{i.initialize()}}},n===!0?{provide:Sh,useValue:!0}:[],{provide:Th,useValue:e??Pg}]}function iM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var oM=(()=>{class t{constructor(){this.subscription=new Ze,this.initialized=!1,this.zone=U(Me),this.pendingTasks=U(vo)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Me.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Me.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var rM=(()=>{class t{constructor(){this.appRef=U(hn),this.taskService=U(vo),this.ngZone=U(Me),this.zonelessEnabled=U(Cu),this.disableScheduling=U(Sh,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Ze,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(pa):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(U(Th,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ed||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Km:Ag;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(pa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Km(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function sM(){return typeof $localize<"u"&&$localize.locale||Ma}var Qa=new W("",{providedIn:"root",factory:()=>U(Qa,Ce.Optional|Ce.SkipSelf)||sM()});var Td=new W("");function qs(t){return!t.moduleRef}function aM(t){let n=qs(t)?t.r3Injector:t.moduleRef.injector,e=n.get(Me);return e.run(()=>{qs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(pn,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{i.handleError(r)}})}),qs(t)){let r=()=>n.destroy(),s=t.platformInjector.get(Td);s.add(r),n.onDestroy(()=>{o.unsubscribe(),s.delete(r)})}else{let r=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Td);s.add(r),t.moduleRef.onDestroy(()=>{Xs(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(r)})}return J1(i,e,()=>{let r=n.get(Jh);return r.runInitializers(),r.donePromise.then(()=>{let s=n.get(Qa,Ma);if(P1(s||Ma),qs(t)){let a=n.get(hn);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return lM(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function lM(t,n){let e=t.injector.get(hn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new pe(-403,!1);n.push(t)}var Js=null;function cM(t=[],n){return un.create({name:n,providers:[{provide:Ia,useValue:"platform"},{provide:Td,useValue:new Set([()=>Js=null])},...t]})}function dM(t=[]){if(Js)return Js;let n=cM(t);return Js=n,K1(),uM(n),n}function uM(t){t.get(ru,null)?.forEach(e=>e())}var We=(()=>{class t{static{this.__NG_ELEMENT_ID__=pM}}return t})();function pM(t){return mM(ut(),se(),(t&16)===16)}function mM(t,n,e){if(Oa(t)&&!e){let i=Yn(t.index,n);return new Ei(i,i)}else if(t.type&175){let i=n[kt];return new Ei(i,n)}return null}var Od=class{constructor(){}supports(n){return Lh(n)}create(n){return new Pd(n)}},fM=(t,n)=>n,Pd=class{constructor(n){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=n||fM}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){let s=!i||e&&e.currentIndex<yf(i,o,r)?e:i,a=yf(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{r||(r=[]);let c=a-o,m=l-o;if(c!=m){for(let w=0;w<c;w++){let b=w<r.length?r[w]:r[w]=0,T=b+w;m<=T&&T<c&&(r[w]=b+1)}let h=s.previousIndex;r[h]=m-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!Lh(n))throw new pe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,o,r,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,r,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,r,s,a)),Object.is(e.item,r)||this._addIdentityChange(e,r)),e=e._next}else o=0,Yx(n,a=>{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return n===null?r=this._itTail:(r=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new Ad(e,i),r,o)),n}_verifyReinsertion(n,e,i,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return r!==null?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}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(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,r=n._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new ka),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ka),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Ad=class{constructor(n,e){this.item=n,this.trackById=e,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}},Nd=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},ka=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Nd,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,o=this.map.get(i);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function yf(t,n,e){let i=t.previousIndex;if(i===null)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}var Fd=class{constructor(){}supports(n){return n instanceof Map||xu(n)}create(){return new Rd}},Rd=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(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||xu(n)))throw new pe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let i=new jd(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}},jd=class{constructor(n){this.key=n,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 Cf(){return new wo([new Od])}var wo=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:Cf})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Cf()),deps:[[t,new Pf,new Bd]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i!=null)return i;throw new pe(901,!1)}}return t})();function wf(){return new ku([new Fd])}var ku=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:wf})}constructor(e){this.factories=e}static create(e,i){if(i){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||wf()),deps:[[t,new Pf,new Bd]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i)return i;throw new pe(901,!1)}}return t})();function tb(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,o=dM(i),r=[nM({}),{provide:uo,useExisting:rM},...e||[]],s=new _a({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1});return aM({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}}function k(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Nt(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function Lr(t,n){Pi("NgSignals");let e=Zp(t);return n?.equal&&(e[Cn].equal=n.equal),e}function On(t){let n=_e(null);try{return t()}finally{_e(n)}}function Du(t,n){let e=yi(t),i=n.elementInjector||Sa();return new _r(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}var Xa={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return Xa.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Xa.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};function gM(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function hM(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function bM(t){return typeof t=="function"}var Eu;function vM(t,n){if(!Eu){let e=Element.prototype;Eu=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Eu.call(t,n):!1}function _M(t,n){return t===n||t!==t&&n!==n}function yM(t){let n={};return t.forEach(({propName:e,templateName:i,transform:o})=>{n[gM(i)]=[e,o]}),n}function CM(t,n){return n.get(Zn).resolveComponentFactory(t).inputs}function wM(t,n){let e=t.childNodes,i=n.map(()=>[]),o=-1;n.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=e.length;r<s;++r){let a=e[r],l=xM(a,n,o);l!==-1&&i[l].push(a)}return i}function xM(t,n,e){let i=e;return hM(t)&&n.some((o,r)=>o!=="*"&&vM(t,o)?(i=r,!0):!1),i}var MM=10,Iu=class{constructor(n,e){this.componentFactory=e.get(Zn).resolveComponentFactory(n)}create(n){return new Su(this.componentFactory,n)}},Su=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new Fn(1),this.events=this.eventEmitters.pipe(St(i=>xn(...i))),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:i})=>i)),this.ngZone=this.injector.get(Me),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Xa.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},MM))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}_M(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=un.create({providers:[],parent:this.injector}),i=wM(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(We),this.implementsOnChanges=bM(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(hn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:o})=>n.instance[i].pipe(ue(s=>({name:o,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Xa.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let o=this.unchangedInputs.has(n),r=o?void 0:this.getInputValue(n);this.inputChanges[n]=new hr(r,e,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},Tu=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Ae(t,n){let e=CM(t,n.injector),i=n.strategyFactory||new Iu(t,n.injector),o=yM(e);class r extends Tu{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let m=this[l];delete this[l],a.setInputValue(l,m,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,m){let[h,w]=o[a];this.ngElementStrategy.setInputValue(h,c,w)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),r}var rb=null;function Mo(){return rb}function sb(t){rb??=t}var el=class{};var et=new W("");function tl(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[o,r]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var Ou=/\s+/,nb=[],ie=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=nb,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(Ou):nb}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Ou):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Ou).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(Xt))}}static{this.\u0275dir=K({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})();var Pu=class{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,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}},we=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new Pu(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(r===null?void 0:r);else if(r!==null){let a=i.get(r);i.move(a,s),ib(a,o)}});for(let o=0,r=i.length;o<r;o++){let a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let r=i.get(o.currentIndex);ib(r,o)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(v(gn),v(ke),v(wo))}}static{this.\u0275dir=K({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();function ib(t,n){t.context.$implicit=n.item}var Qe=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new Au,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){ob("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ob("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(v(gn),v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),Au=class{constructor(){this.$implicit=null,this.ngIf=null}};function ob(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Tt(n)}'.`)}var ko=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[o,r]=e.split("."),s=o.indexOf("-")===-1?void 0:mn.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(ku),v(Xt))}}static{this.\u0275dir=K({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return t})(),Pn=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static{this.\u0275fac=function(i){return new(i||t)(v(gn))}}static{this.\u0275dir=K({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[$e]})}}return t})();var L=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({})}}return t})(),Nu="browser",DM="server";function ab(t){return t===Nu}function nl(t){return t===DM}var xo=class{};var Br=class{},ol=class{},An=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
8
|
-
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=(n.op==="a"?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":let r=n.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>r.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Ru=class{encodeKey(n){return lb(n)}encodeValue(n){return lb(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function EM(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[s,a]=r==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var IM=/%(\d[a-f0-9])/gi,SM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lb(t){return encodeURIComponent(t).replace(IM,(n,e)=>SM[e]??n)}function il(t){return`${t}`}var Xn=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Ru,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=EM(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],o=Array.isArray(i)?i.map(il):[il(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(il(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],o=i.indexOf(il(n.value));o!==-1&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var ju=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function TM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function cb(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function db(t){return typeof Blob<"u"&&t instanceof Blob}function ub(t){return typeof FormData<"u"&&t instanceof FormData}function OM(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Vr=class t{constructor(n,e,i,o){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let r;if(TM(this.method)||o?(this.body=i!==void 0?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new An,this.context??=new ju,!this.params)this.params=new Xn,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||cb(this.body)||db(this.body)||ub(this.body)||OM(this.body)?this.body:this.body instanceof Xn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||ub(this.body)?null:db(this.body)?this.body.type||null:cb(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Xn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,r=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress,c=n.headers||this.headers,m=n.params||this.params,h=n.context??this.context;return n.setHeaders!==void 0&&(c=Object.keys(n.setHeaders).reduce((w,b)=>w.set(b,n.setHeaders[b]),c)),n.setParams&&(m=Object.keys(n.setParams).reduce((w,b)=>w.set(b,n.setParams[b]),m)),new t(e,i,s,{params:m,headers:c,context:h,reportProgress:l,responseType:o,withCredentials:a,transferCache:r})}},Jn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Jn||{}),zr=class{constructor(n,e=200,i="OK"){this.headers=n.headers||new An,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},rl=class t extends zr{constructor(n={}){super(n),this.type=Jn.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Hr=class t extends zr{constructor(n={}){super(n),this.type=Jn.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Qn=class extends zr{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},gb=200,PM=204;function Fu(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Bu=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof Vr)r=e;else{let l;o.headers instanceof An?l=o.headers:l=new An(o.headers);let c;o.params&&(o.params instanceof Xn?c=o.params:c=new Xn({fromObject:o.params})),r=new Vr(e,i,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=ye(r).pipe(It(l=>this.handler.handle(l)));if(e instanceof Vr||o.observe==="events")return s;let a=s.pipe(rn(l=>l instanceof Hr));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(ue(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ue(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ue(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(ue(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Xn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,Fu(o,i))}post(e,i,o={}){return this.request("POST",e,Fu(o,i))}put(e,i,o={}){return this.request("PUT",e,Fu(o,i))}static{this.\u0275fac=function(i){return new(i||t)(B(Br))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),AM=/^\)\]\}',?\n/,NM="X-Request-URL";function pb(t){if(t.url)return t.url;let n=NM.toLocaleLowerCase();return t.headers.get(n)}var FM=(()=>{class t{constructor(){this.fetchImpl=U(Lu,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=U(Me)}handle(e){return new ge(i=>{let o=new AbortController;return this.doRequest(e,o.signal,i).then(Vu,r=>i.error(new Qn({error:r}))),()=>o.abort()})}doRequest(e,i,o){return yn(this,null,function*(){let r=this.createRequestInit(e),s;try{let b=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,re({signal:i},r)));RM(b),o.next({type:Jn.Sent}),s=yield b}catch(b){o.error(new Qn({error:b,status:b.status??0,statusText:b.statusText,url:e.urlWithParams,headers:b.headers}));return}let a=new An(s.headers),l=s.statusText,c=pb(s)??e.urlWithParams,m=s.status,h=null;if(e.reportProgress&&o.next(new rl({headers:a,status:m,statusText:l,url:c})),s.body){let b=s.headers.get("content-length"),T=[],O=s.body.getReader(),R=0,V,Z,fe=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>yn(this,null,function*(){for(;;){let{done:ze,value:te}=yield O.read();if(ze)break;if(T.push(te),R+=te.length,e.reportProgress){Z=e.responseType==="text"?(Z??"")+(V??=new TextDecoder).decode(te,{stream:!0}):void 0;let Ge=()=>o.next({type:Jn.DownloadProgress,total:b?+b:void 0,loaded:R,partialText:Z});fe?fe.run(Ge):Ge()}}}));let Ve=this.concatChunks(T,R);try{let ze=s.headers.get("Content-Type")??"";h=this.parseBody(e,Ve,ze)}catch(ze){o.error(new Qn({error:ze,headers:new An(s.headers),status:s.status,statusText:s.statusText,url:pb(s)??e.urlWithParams}));return}}m===0&&(m=h?gb:0),m>=200&&m<300?(o.next(new Hr({body:h,headers:a,status:m,statusText:l,url:c})),o.complete()):o.error(new Qn({error:h,headers:a,status:m,statusText:l,url:c}))})}parseBody(e,i,o){switch(e.responseType){case"json":let r=new TextDecoder().decode(i).replace(AM,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((r,s)=>i[r]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(i["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:o}}concatChunks(e,i){let o=new Uint8Array(i),r=0;for(let s of e)o.set(s,r),r+=s.length;return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Lu=class{};function Vu(){}function RM(t){t.then(Vu,Vu)}function jM(t,n){return n(t)}function LM(t,n,e){return(i,o)=>Zf(e,()=>n(i,r=>t(r,o)))}var hb=new W(""),VM=new W(""),BM=new W("",{providedIn:"root",factory:()=>!0});var mb=(()=>{class t extends Br{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=U(vo),this.contributeToStability=U(BM)}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(hb),...this.injector.get(VM,[])]));this.chain=i.reduceRight((o,r)=>LM(o,r,this.injector),jM)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(yc(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||t)(B(ol),B(Vt))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})();var zM=/^\)\]\}',?\n/;function HM(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var fb=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new pe(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Be(i.\u0275loadImpl()):ye(null)).pipe(St(()=>new ge(r=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((O,R)=>s.setRequestHeader(O,R.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let O=e.detectContentTypeHeader();O!==null&&s.setRequestHeader("Content-Type",O)}if(e.responseType){let O=e.responseType.toLowerCase();s.responseType=O!=="json"?O:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let O=s.statusText||"OK",R=new An(s.getAllResponseHeaders()),V=HM(s)||e.url;return l=new rl({headers:R,status:s.status,statusText:O,url:V}),l},m=()=>{let{headers:O,status:R,statusText:V,url:Z}=c(),fe=null;R!==PM&&(fe=typeof s.response>"u"?s.responseText:s.response),R===0&&(R=fe?gb:0);let Ve=R>=200&&R<300;if(e.responseType==="json"&&typeof fe=="string"){let ze=fe;fe=fe.replace(zM,"");try{fe=fe!==""?JSON.parse(fe):null}catch(te){fe=ze,Ve&&(Ve=!1,fe={error:te,text:fe})}}Ve?(r.next(new Hr({body:fe,headers:O,status:R,statusText:V,url:Z||void 0})),r.complete()):r.error(new Qn({error:fe,headers:O,status:R,statusText:V,url:Z||void 0}))},h=O=>{let{url:R}=c(),V=new Qn({error:O,status:s.status||0,statusText:s.statusText||"Unknown Error",url:R||void 0});r.error(V)},w=!1,b=O=>{w||(r.next(c()),w=!0);let R={type:Jn.DownloadProgress,loaded:O.loaded};O.lengthComputable&&(R.total=O.total),e.responseType==="text"&&s.responseText&&(R.partialText=s.responseText),r.next(R)},T=O=>{let R={type:Jn.UploadProgress,loaded:O.loaded};O.lengthComputable&&(R.total=O.total),r.next(R)};return s.addEventListener("load",m),s.addEventListener("error",h),s.addEventListener("timeout",h),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",b),a!==null&&s.upload&&s.upload.addEventListener("progress",T)),s.send(a),r.next({type:Jn.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",m),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",b),a!==null&&s.upload&&s.upload.removeEventListener("progress",T)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||t)(B(xo))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),bb=new W(""),$M="XSRF-TOKEN",UM=new W("",{providedIn:"root",factory:()=>$M}),WM="X-XSRF-TOKEN",GM=new W("",{providedIn:"root",factory:()=>WM}),sl=class{},qM=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=tl(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||t)(B(et),B(fn),B(UM))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})();function ZM(t,n){let e=t.url.toLowerCase();if(!U(bb)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=U(sl).getToken(),o=U(GM);return i!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}function vb(...t){let n=[Bu,fb,mb,{provide:Br,useExisting:mb},{provide:ol,useFactory:()=>U(FM,{optional:!0})??U(fb)},{provide:hb,useValue:ZM,multi:!0},{provide:bb,useValue:!0},{provide:sl,useClass:qM}];for(let e of t)n.push(...e.\u0275providers);return Ud(n)}var $u=class extends el{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Uu=class t extends $u{static makeCurrent(){sb(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=KM();return e==null?null:QM(e)}resetBaseElement(){$r=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return tl(document.cookie,n)}},$r=null;function KM(){return $r=$r||document.querySelector("base"),$r?$r.getAttribute("href"):null}function QM(t){return new URL(t,document.baseURI).pathname}var XM=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Wu=new W(""),wb=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new pe(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(B(Wu),B(Me))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),al=class{constructor(n){this._doc=n}},zu="ng-app-id",xb=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=nl(r),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${zu}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(zu),r;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zu,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(B(et),B(La),B(Ir,8),B(fn))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Hu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},qu=/%COMP%/g,Mb="%COMP%",JM=`_nghost-${Mb}`,ek=`_ngcontent-${Mb}`,tk=!0,nk=new W("",{providedIn:"root",factory:()=>tk});function ik(t){return ek.replace(qu,t)}function ok(t){return JM.replace(qu,t)}function kb(t,n){return n.map(e=>e.replace(qu,t))}var _b=(()=>{class t{constructor(e,i,o,r,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=nl(a),this.defaultRenderer=new Ur(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===ln.ShadowDom&&(i=qe(re({},i),{encapsulation:ln.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof ll?o.applyToHost(e):o instanceof Wr&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,r=o.get(i.id);if(!r){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case ln.Emulated:r=new ll(l,c,i,this.appId,m,s,a,h);break;case ln.ShadowDom:return new Gu(l,c,e,i,s,a,this.nonce,h);default:r=new Wr(l,c,i,m,s,a,h);break}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(B(wb),B(xb),B(La),B(nk),B(et),B(fn),B(Me),B(Ir))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Ur=class{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(Hu[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(yb(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(yb(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new pe(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;let r=Hu[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let o=Hu[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(mn.DashCase|mn.Important)?n.style.setProperty(e,i,o&mn.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&mn.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=Mo().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function yb(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Gu=class extends Ur{constructor(n,e,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=kb(o.id,o.styles);for(let m of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=m,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Wr=class extends Ur{constructor(n,e,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=l?kb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ll=class extends Wr{constructor(n,e,i,o,r,s,a,l){let c=o+"-"+i.id;super(n,e,i,r,s,a,l,c),this.contentAttr=ik(c),this.hostAttr=ok(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},rk=(()=>{class t extends al{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static{this.\u0275fac=function(i){return new(i||t)(B(et))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Cb=["alt","control","meta","shift"],sk={"\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"},ak={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},lk=(()=>{class t extends al{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mo().onAndCancel(e,r.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Cb.forEach(c=>{let m=i.indexOf(c);m>-1&&(i.splice(m,1),s+=c+".")}),s+=r,i.length!=0||r.length===0)return null;let l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let o=sk[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Cb.forEach(s=>{if(s!==o){let a=ak[s];a(e)&&(r+=s+".")}}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(B(et))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})();function Db(t){return tb(ck(t))}function ck(t){return{appProviders:[...fk,...t?.providers??[]],platformProviders:mk}}function dk(){Uu.makeCurrent()}function uk(){return new pn}function pk(){return Bg(document),document}var mk=[{provide:fn,useValue:Nu},{provide:ru,useValue:dk,multi:!0},{provide:et,useFactory:pk,deps:[]}];var fk=[{provide:Ia,useValue:"root"},{provide:pn,useFactory:uk,deps:[]},{provide:Wu,useClass:rk,multi:!0,deps:[et,Me,fn]},{provide:Wu,useClass:lk,multi:!0,deps:[et]},_b,xb,wb,{provide:po,useExisting:_b},{provide:xo,useClass:XM,deps:[]},[]];var Nb=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||t)(v(Xt),v(G))}}static{this.\u0275dir=K({type:t})}}return t})(),gk=(()=>{class t extends Nb{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})()}static{this.\u0275dir=K({type:t,features:[q]})}}return t})(),ml=new W("");var hk={provide:ml,useExisting:Si(()=>Fb),multi:!0};function bk(){let t=Mo()?Mo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var vk=new W(""),Fb=(()=>{class t extends Nb{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!bk())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||t)(v(Xt),v(G),v(vk,8))}}static{this.\u0275dir=K({type:t,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(i,o){i&1&&_("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ne([hk]),q]})}}return t})();var _k=new W(""),yk=new W("");function Rb(t){return t!=null}function jb(t){return jr(t)?Be(t):t}function Lb(t){let n={};return t.forEach(e=>{n=e!=null?re(re({},n),e):n}),Object.keys(n).length===0?null:n}function Vb(t,n){return n.map(e=>e(t))}function Ck(t){return!t.validate}function Bb(t){return t.map(n=>Ck(n)?n:e=>n.validate(e))}function wk(t){if(!t)return null;let n=t.filter(Rb);return n.length==0?null:function(e){return Lb(Vb(e,n))}}function zb(t){return t!=null?wk(Bb(t)):null}function xk(t){if(!t)return null;let n=t.filter(Rb);return n.length==0?null:function(e){let i=Vb(e,n).map(jb);return or(i).pipe(ue(Lb))}}function Hb(t){return t!=null?xk(Bb(t)):null}function Eb(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function Mk(t){return t._rawValidators}function kk(t){return t._rawAsyncValidators}function Zu(t){return t?Array.isArray(t)?t:[t]:[]}function dl(t,n){return Array.isArray(t)?t.includes(n):t===n}function Ib(t,n){let e=Zu(n);return Zu(t).forEach(o=>{dl(e,o)||e.push(o)}),e}function Sb(t,n){return Zu(n).filter(e=>!dl(t,e))}var ul=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(n){this._rawValidators=n||[],this._composedValidatorFn=zb(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Hb(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Yu=class extends ul{get formDirective(){return null}get path(){return null}},Kr=class extends ul{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Ku=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Dk={"[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"},lV=qe(re({},Dk),{"[class.ng-submitted]":"isSubmitted"}),So=(()=>{class t extends Ku{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(v(Kr,2))}}static{this.\u0275dir=K({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Y("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[q]})}}return t})();var Gr="VALID",cl="INVALID",Do="PENDING",qr="DISABLED",Io=class{},pl=class extends Io{constructor(n,e){super(),this.value=n,this.source=e}},Zr=class extends Io{constructor(n,e){super(),this.pristine=n,this.source=e}},Yr=class extends Io{constructor(n,e){super(),this.touched=n,this.source=e}},Eo=class extends Io{constructor(n,e){super(),this.status=n,this.source=e}};function Ek(t){return(fl(t)?t.validators:t)||null}function Ik(t){return Array.isArray(t)?zb(t):t||null}function Sk(t,n){return(fl(n)?n.asyncValidators:t)||null}function Tk(t){return Array.isArray(t)?Hb(t):t||null}function fl(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var Qu=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Lr(()=>this.statusReactive()),this.statusReactive=Ar(void 0),this._pristine=Lr(()=>this.pristineReactive()),this.pristineReactive=Ar(!0),this._touched=Lr(()=>this.touchedReactive()),this.touchedReactive=Ar(!1),this._events=new be,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return On(this.statusReactive)}set status(n){On(()=>this.statusReactive.set(n))}get valid(){return this.status===Gr}get invalid(){return this.status===cl}get pending(){return this.status==Do}get disabled(){return this.status===qr}get enabled(){return this.status!==qr}get pristine(){return On(this.pristineReactive)}set pristine(n){On(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return On(this.touchedReactive)}set touched(n){On(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Ib(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Ib(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Sb(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Sb(n,this._rawAsyncValidators))}hasValidator(n){return dl(this._rawValidators,n)}hasAsyncValidator(n){return dl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(qe(re({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Yr(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Yr(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(qe(re({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Zr(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Zr(!0,i))}markAsPending(n={}){this.status=Do;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Eo(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(qe(re({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=qr,this.errors=null,this._forEachChild(o=>{o.disable(qe(re({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new pl(this.value,i)),this._events.next(new Eo(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(qe(re({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Gr,this._forEachChild(i=>{i.enable(qe(re({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(qe(re({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Gr||this.status===Do)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new pl(this.value,e)),this._events.next(new Eo(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(qe(re({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qr:Gr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Do,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=jb(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new Eo(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new M,this.statusChanges=new M}_calculateStatus(){return this._allControlsDisabled()?qr:this.errors?cl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Do)?Do:this._anyControlsHaveStatus(cl)?cl:Gr}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),o=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),o&&this._events.next(new Zr(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Yr(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){fl(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=Ik(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=Tk(this._rawAsyncValidators)}};var $b=new W("CallSetDisabledState",{providedIn:"root",factory:()=>Xu}),Xu="always";function Ok(t,n){return[...n.path,t]}function Pk(t,n,e=Xu){Nk(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),Fk(t,n),jk(t,n),Rk(t,n),Ak(t,n)}function Tb(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Ak(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Nk(t,n){let e=Mk(t);n.validator!==null?t.setValidators(Eb(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=kk(t);n.asyncValidator!==null?t.setAsyncValidators(Eb(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let o=()=>t.updateValueAndValidity();Tb(n._rawValidators,o),Tb(n._rawAsyncValidators,o)}function Fk(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Ub(t,n)})}function Rk(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Ub(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function Ub(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function jk(t,n){let e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function Lk(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function Vk(t){return Object.getPrototypeOf(t.constructor)===gk}function Bk(t,n){if(!n)return null;Array.isArray(n);let e,i,o;return n.forEach(r=>{r.constructor===Fb?e=r:Vk(r)?i=r:o=r}),o||i||e||null}function Ob(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Pb(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var zk=class extends Qu{constructor(n=null,e,i){super(Ek(e),Sk(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),fl(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Pb(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Ob(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Ob(this._onDisabledChange,n)}_forEachChild(n){}_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(n){Pb(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var Hk={provide:Kr,useExisting:Si(()=>Ai)},Ab=Promise.resolve(),Ai=(()=>{class t extends Kr{constructor(e,i,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new zk,this._registered=!1,this.name="",this.update=new M,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Bk(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Lk(e,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(e){this.viewModel=e,this.update.emit(e)}_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(){Pk(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(e){Ab.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&k(i);Ab.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Ok(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(v(Yu,9),v(_k,10),v(yk,10),v(ml,10),v(We,8),v($b,8))}}static{this.\u0275dir=K({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ne([Hk]),q,$e]})}}return t})();var $k=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({})}}return t})();var To=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:$b,useValue:e.callSetDisabledState??Xu}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[$k]})}}return t})();var Uk=["content"],Wk=["scroll"],Gk=["padding"],qb=["*"],Xr=t=>({searchTerm:t});function qk(t,n){if(t&1&&(p(0,"div",3),at(1,6),f()),t&2){let e=u();d(),g("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",Oe(2,Xr,e.filterValue))}}function Zk(t,n){if(t&1&&(p(0,"div",5),at(1,6),f()),t&2){let e=u();d(),g("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",Oe(2,Xr,e.filterValue))}}var Yk=["searchInput"],Kk=["clearButton"],Qk=(t,n,e)=>({item:t,clear:n,label:e}),Xk=(t,n)=>({items:t,clear:n}),Jk=(t,n,e,i)=>({item:t,item$:n,index:e,searchTerm:i});function eD(t,n){if(t&1&&(p(0,"div",20),D(1),f()),t&2){let e=u(2);d(),ee(e.placeholder)}}function tD(t,n){}function nD(t,n){if(t&1&&x(0,eD,2,1,"ng-template",null,1,yt)(2,tD,0,0,"ng-template",19),t&2){let e=Je(1),i=u();d(2),g("ngTemplateOutlet",i.placeholderTemplate||e)}}function iD(t,n){if(t&1){let e=A();p(0,"span",23),_("click",function(){y(e);let o=u().$implicit,r=u(2);return C(r.unselect(o))}),D(1,"\xD7"),f(),E(2,"span",24)}if(t&2){let e=u().$implicit,i=u(2);d(2),g("ngItemLabel",e.label)("escape",i.escapeHTML)}}function oD(t,n){}function rD(t,n){if(t&1&&(p(0,"div",22),x(1,iD,3,2,"ng-template",null,2,yt)(3,oD,0,0,"ng-template",12),f()),t&2){let e=n.$implicit,i=Je(2),o=u(2);Y("ng-value-disabled",e.disabled),d(3),g("ngTemplateOutlet",o.labelTemplate||i)("ngTemplateOutletContext",gt(4,Qk,e.value,o.clearItem,e.label))}}function sD(t,n){if(t&1&&Jt(0,rD,4,8,"div",21,Mu().trackByOption,!0),t&2){let e=u();en(e.selectedItems)}}function aD(t,n){}function lD(t,n){if(t&1&&x(0,aD,0,0,"ng-template",12),t&2){let e=u();g("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",ft(2,Xk,e.selectedValues,e.clearItem))}}function cD(t,n){t&1&&E(0,"div",25)}function dD(t,n){}function uD(t,n){if(t&1&&x(0,cD,1,0,"ng-template",null,3,yt)(2,dD,0,0,"ng-template",19),t&2){let e=Je(1),i=u();d(2),g("ngTemplateOutlet",i.loadingSpinnerTemplate||e)}}function pD(t,n){if(t&1&&(p(0,"span",15,4)(2,"span",26),D(3,"\xD7"),f()()),t&2){let e=u();ve("title",e.clearAllText)}}function mD(t,n){if(t&1&&E(0,"span",31),t&2){let e=u().$implicit,i=u(2);g("ngItemLabel",e.label)("escape",i.escapeHTML)}}function fD(t,n){}function gD(t,n){if(t&1){let e=A();p(0,"div",30),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r.toggleItem(o))})("mouseover",function(){let o=y(e).$implicit,r=u(2);return C(r.onItemHover(o))}),x(1,mD,1,2,"ng-template",null,5,yt)(3,fD,0,0,"ng-template",12),f()}if(t&2){let e=n.$implicit,i=Je(2),o=u(2);Y("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===o.itemsList.markedItem),X("role",e.children?"group":"option")("aria-selected",e.selected)("id",e==null?null:e.htmlId),d(3),g("ngTemplateOutlet",e.children?o.optgroupTemplate||i:o.optionTemplate||i)("ngTemplateOutletContext",Ya(17,Jk,e.value,e,e.index,o.searchTerm))}}function hD(t,n){if(t&1&&(p(0,"span")(1,"span",33),D(2),f(),D(3),f()),t&2){let e=u(3);d(2),ee(e.addTagText),d(),H('"',e.searchTerm,'"')}}function bD(t,n){}function vD(t,n){if(t&1){let e=A();p(0,"div",32),_("mouseover",function(){y(e);let o=u(2);return C(o.itemsList.unmarkItem())})("click",function(){y(e);let o=u(2);return C(o.selectTag())}),x(1,hD,4,2,"ng-template",null,6,yt)(3,bD,0,0,"ng-template",12),f()}if(t&2){let e=Je(2),i=u(2);Y("ng-option-marked",!i.itemsList.markedItem),d(3),g("ngTemplateOutlet",i.tagTemplate||e)("ngTemplateOutletContext",Oe(4,Xr,i.searchTerm))}}function _D(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ee(e.notFoundText)}}function yD(t,n){}function CD(t,n){if(t&1&&x(0,_D,2,1,"ng-template",null,7,yt)(2,yD,0,0,"ng-template",12),t&2){let e=Je(1),i=u(2);d(2),g("ngTemplateOutlet",i.notFoundTemplate||e)("ngTemplateOutletContext",Oe(2,Xr,i.searchTerm))}}function wD(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ee(e.typeToSearchText)}}function xD(t,n){}function MD(t,n){if(t&1&&x(0,wD,2,1,"ng-template",null,8,yt)(2,xD,0,0,"ng-template",19),t&2){let e=Je(1),i=u(2);d(2),g("ngTemplateOutlet",i.typeToSearchTemplate||e)}}function kD(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ee(e.loadingText)}}function DD(t,n){}function ED(t,n){if(t&1&&x(0,kD,2,1,"ng-template",null,9,yt)(2,DD,0,0,"ng-template",12),t&2){let e=Je(1),i=u(2);d(2),g("ngTemplateOutlet",i.loadingTextTemplate||e)("ngTemplateOutletContext",Oe(2,Xr,i.searchTerm))}}function ID(t,n){if(t&1){let e=A();p(0,"ng-dropdown-panel",27),_("update",function(o){y(e);let r=u();return C(r.viewPortItems=o)})("scroll",function(o){y(e);let r=u();return C(r.scroll.emit(o))})("scrollToEnd",function(o){y(e);let r=u();return C(r.scrollToEnd.emit(o))})("outsideClick",function(){y(e);let o=u();return C(o.close())}),pt(1),Jt(2,gD,4,22,"div",28,Mu().trackByOption,!0),x(4,vD,4,6,"div",29),mt(),x(5,CD,3,4)(6,MD,3,1)(7,ED,3,4),f()}if(t&2){let e=u();Y("ng-select-multiple",e.multiple),g("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.ngClass?e.ngClass:e.classes:null)("id",e.dropdownId),d(2),en(e.viewPortItems),d(2),j(e.showAddTag?4:-1),d(),j(e.showNoItemsFound()?5:-1),d(),j(e.showTypeToSearch()?6:-1),d(),j(e.loading&&e.itemsList.filteredItems.length===0?7:-1)}}var Zb=/[&<>"']/g,SD=RegExp(Zb.source),TD={"&":"&","<":"<",">":">",'"':""","'":"'"};function OD(t){return t&&SD.test(t)?t.replace(Zb,n=>TD[n]):t}function Xe(t){return t!=null}function Qr(t){return typeof t=="object"&&Xe(t)}function PD(t){return t instanceof Promise}function hl(t){return t instanceof Function}var AD=(()=>{class t{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?OD(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275dir=K({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},standalone:!0,features:[$e]})}}return t})(),ND=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-option-tmp",""]],standalone:!0})}}return t})(),FD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-optgroup-tmp",""]],standalone:!0})}}return t})(),RD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-label-tmp",""]],standalone:!0})}}return t})(),jD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-multi-label-tmp",""]],standalone:!0})}}return t})(),LD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-header-tmp",""]],standalone:!0})}}return t})(),VD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-footer-tmp",""]],standalone:!0})}}return t})(),BD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-notfound-tmp",""]],standalone:!0})}}return t})(),zD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-placeholder-tmp",""]],standalone:!0})}}return t})(),HD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-typetosearch-tmp",""]],standalone:!0})}}return t})(),$D=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-loadingtext-tmp",""]],standalone:!0})}}return t})(),UD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-tag-tmp",""]],standalone:!0})}}return t})(),WD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-loadingspinner-tmp",""]],standalone:!0})}}return t})();function Yb(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var GD={"\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 gl(t){let n=e=>GD[e]||e;return t.replace(/[^\u0000-\u007E]/g,n)}var ep=class{constructor(n,e){this._ngSelect=n,this._selectionModel=e,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 n=this.selectedItems.length-1;for(;n>=0;n--){let e=this.selectedItems[n];if(!e.disabled)return e}return null}setItems(n){this._items=n.map((e,i)=>this.mapItem(e,i)),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(n){if(n.selected||this.maxItemsSelected)return;let e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(n,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(n)}unselect(n){n.selected&&(this._selectionModel.unselect(n,this._ngSelect.multiple),this._ngSelect.hideSelected&&Xe(n.index)&&this._ngSelect.multiple&&this._showSelected(n))}findItem(n){let e;return this._ngSelect.compareWith?e=i=>this._ngSelect.compareWith(i.value,n):this._ngSelect.bindValue?e=i=>!i.children&&this.resolveNested(i.value,this._ngSelect.bindValue)===n:e=i=>i.value===n||!i.children&&i.label&&i.label===this.resolveNested(n,this._ngSelect.bindLabel),this._items.find(i=>e(i))}addItem(n){let e=this.mapItem(n,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(n=!1){this._selectionModel.clear(n),this._items.forEach(e=>{e.selected=n&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(n){return n=gl(n).toLocaleLowerCase(),this.filteredItems.find(e=>gl(e.label).toLocaleLowerCase().substr(0,n.length)===n)}filter(n){if(!n){this.resetFilteredItems();return}this._filteredItems=[],n=this._ngSelect.searchFn?n:gl(n).toLocaleLowerCase();let e=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(i&&(s.parent&&s.parent.selected||s.selected))continue;let a=this._ngSelect.searchFn?s.value:s;e(n,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(n=>!n.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(n){this._markedIndex=this._filteredItems.indexOf(n)}markSelectedOrDefault(n){if(this._filteredItems.length===0)return;let e=this._getLastMarkedIndex();e>-1?this._markedIndex=e:this._markedIndex=n?this.filteredItems.findIndex(i=>!i.disabled):-1}resolveNested(n,e){if(!Qr(n))return n;if(e.indexOf(".")===-1)return n[e];{let i=e.split("."),o=n;for(let r=0,s=i.length;r<s;++r){if(o==null)return null;o=o[i[r]]}return o}}mapItem(n,e){let i=Xe(n.$ngOptionLabel)?n.$ngOptionLabel:this.resolveNested(n,this._ngSelect.bindLabel),o=Xe(n.$ngOptionValue)?n.$ngOptionValue:n;return{index:e,label:Xe(i)?i.toString():"",value:o,disabled:n.disabled,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){let n=this._ngSelect.multiple;for(let e of this.selectedItems){let i=this._ngSelect.bindValue?this.resolveNested(e.value,this._ngSelect.bindValue):e.value,o=Xe(i)?this.findItem(i):null;this._selectionModel.unselect(e,n),this._selectionModel.select(o||e,n,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>this.selectedItems.indexOf(e)===-1))}_showSelected(n){if(this._filteredItems.push(n),n.parent){let e=n.parent;this._filteredItems.find(o=>o===e)||this._filteredItems.push(e)}else if(n.children)for(let e of n.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,i)=>e.index-i.index)]}_hideSelected(n){this._filteredItems=this._filteredItems.filter(e=>e!==n),n.parent?n.parent.children.every(i=>i.selected)&&(this._filteredItems=this._filteredItems.filter(i=>i!==n.parent)):n.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==n))}_defaultSearchFn(n,e){return gl(e.label).toLocaleLowerCase().indexOf(n)>-1}_getNextItemIndex(n){return n>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(n){this._filteredItems.length===0||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(n),this.markedItem.disabled&&this._stepToItem(n))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let n=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&n<0?-1:Math.max(this.markedIndex,n)}_groupBy(n,e){let i=new Map;if(n.length===0)return i;if(Array.isArray(n[0].value[e])){for(let s of n){let a=(s.value[e]||[]).map((l,c)=>this.mapItem(l,c));i.set(s,a)}return i}let o=hl(this._ngSelect.groupBy),r=s=>{let a=o?e(s.value):s.value[e];return Xe(a)?a:void 0};for(let s of n){let a=r(s),l=i.get(a);l?l.push(s):i.set(a,[s])}return i}_flatten(n){let e=hl(this._ngSelect.groupBy),i=[];for(let o of Array.from(n.keys())){let r=i.length;if(o===void 0){let h=n.get(void 0)||[];i.push(...h.map(w=>(w.index=r++,w)));continue}let s=Qr(o),a={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:Yb()},l=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,c=this._ngSelect.groupValue||(()=>s?o.value:{[l]:o}),m=n.get(o).map(h=>(h.parent=a,h.children=void 0,h.index=r++,h));a.children=m,a.value=c(o,m.map(h=>h.value)),i.push(a),i.push(...m)}return i}},bn=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}(bn||{}),Kb=(()=>{class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,i,o){let r=this._dimensions,s=r.itemHeight*i,l=Math.max(0,e)/s*i,c=Math.min(i,Math.ceil(l)+(r.itemsPerViewport+1)),h=Math.max(0,c-r.itemsPerViewport),w=Math.min(h,Math.floor(l)),b=r.itemHeight*Math.ceil(w)-r.itemHeight*Math.min(w,o);return b=isNaN(b)?0:b,w=isNaN(w)?-1:w,c=isNaN(c)?-1:c,w-=o,w=Math.max(0,w),c+=o,c=Math.min(i,c),{topPadding:b,scrollHeight:s,start:w,end:c}}setDimensions(e,i){let o=Math.max(1,Math.floor(i/e));this._dimensions={itemHeight:e,panelHeight:i,itemsPerViewport:o}}getScrollTo(e,i,o){let{panelHeight:r}=this.dimensions,s=e+i,a=o,l=a+r;return r>=s&&o===e?null:s>l?a+s-l:e<=a?e:null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Wb=["top","right","bottom","left"],qD=typeof requestAnimationFrame<"u"?bc:hc,Gb=(()=>{class t{constructor(e,i,o,r,s){this._renderer=e,this._zone=i,this._panelService=o,this._document=s,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new M,this.scroll=new M,this.scrollToEnd=new M,this.outsideClick=new M,this._destroy$=new be,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:e,panelHeight:i}=this._panelService.dimensions,o=this.markedItem.index*e;return i>o?0:o}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(e){if(e.items){let i=e.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,i=!1){if(!e)return;let o=this.items.indexOf(e);if(o<0||o>=this.itemsLength)return;let r;if(this.virtualScroll){let s=this._panelService.dimensions.itemHeight;r=this._panelService.getScrollTo(o*s,s,this._lastScrollPosition)}else{let s=this._dropdown.querySelector(`#${e.htmlId}`),a=i?s.offsetTop:this._lastScrollPosition;r=this._panelService.getScrollTo(s.offsetTop,s.clientHeight,a)}Xe(r)&&(this._scrollablePanel.scrollTop=r)}scrollToTag(){let e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Wb.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){Wb.forEach(o=>{let r=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,r),this._renderer.removeClass(this._select,r)});let i=`ng-select-${e}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{Vn(this.scrollElementRef.nativeElement,"scroll").pipe(ot(this._destroy$),_c(0,qD)).subscribe(e=>{let i=e.path||e.composedPath&&e.composedPath();if(!i||i.length===0&&!e.target)return;let o=!i||i.length===0?e.target.scrollTop:i[0].scrollTop;this._onContentScrolled(o)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{xn(Vn(this._document,"touchstart",{capture:!0}),Vn(this._document,"click",{capture:!0})).pipe(ot(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let i=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,i){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(e){this.update.emit(this.items),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let i=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,i),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel.scrollTop;let i=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),Xe(e)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding.style.height=`${o*this.itemsLength}px`;let r=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(o,r),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let i=this.virtualScroll?this._virtualPadding:this._contentPanel;e+this._dropdown.clientHeight>=i.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if(this.position!=="auto")return this.position;let i=this._select.getBoundingClientRect(),o=document.documentElement.scrollTop||document.body.scrollTop,r=i.top+window.pageYOffset,s=i.height,a=e.getBoundingClientRect().height;return r+s+a>o+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 e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.left-i.left;this._dropdown.style.left=o+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let r=i.bottom-e.bottom;this._dropdown.style.bottom=r+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let r=e.top-i.top;this._dropdown.style.top=r+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{Vn(this._dropdown,"mousedown").pipe(ot(this._destroy$)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}static{this.\u0275fac=function(i){return new(i||t)(v(Xt),v(Me),v(Kb),v(G),v(et,8))}}static{this.\u0275cmp=I({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(i,o){if(i&1&&(tt(Uk,7,G),tt(Wk,7,G),tt(Gk,7,G)),i&2){let r;Ie(r=Se())&&(o.contentElementRef=r.first),Ie(r=Se())&&(o.scrollElementRef=r.first),Ie(r=Se())&&(o.paddingElementRef=r.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",k],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},standalone:!0,features:[he,$e,S],ngContentSelectors:qb,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){i&1&&(je(),x(0,qk,2,4,"div",3),p(1,"div",4,0),E(3,"div",null,1),p(5,"div",null,2),Ee(7),f()(),x(8,Zk,2,4,"div",5)),i&2&&(j(o.headerTemplate?0:-1),d(3),Y("total-padding",o.virtualScroll),d(2),Y("scrollable-content",o.virtualScroll&&o.items.length),d(3),j(o.footerTemplate?8:-1))},dependencies:[Pn],encapsulation:2,changeDetection:0})}}return t})(),Ni=(()=>{class t{constructor(e){this.elementRef=e,this.disabled=!1,this.stateChange$=new be}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.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()}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275cmp=I({type:t,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",k]},standalone:!0,features:[he,$e,S],ngContentSelectors:qb,decls:1,vars:0,template:function(i,o){i&1&&(je(),Ee(0))},encapsulation:2,changeDetection:0})}}return t})();function Qb(){return new tp}var tp=class{constructor(){this._selected=[]}get value(){return this._selected}select(n,e,i){if(n.selected=!0,(!n.children||!e&&i)&&this._selected.push(n),e)if(n.parent){let o=n.parent.children.length,r=n.parent.children.filter(s=>s.selected).length;n.parent.selected=o===r}else n.children&&(this._setChildrenSelectedState(n.children,!0),this._removeChildren(n),i&&this._activeChildren(n)?this._selected=[...this._selected.filter(o=>o.parent!==n),n]:this._selected=[...this._selected,...n.children.filter(o=>!o.disabled)])}unselect(n,e){if(this._selected=this._selected.filter(i=>i!==n),n.selected=!1,e)if(n.parent&&n.parent.selected){let i=n.parent.children;this._removeParent(n.parent),this._removeChildren(n.parent),this._selected.push(...i.filter(o=>o!==n&&!o.disabled)),n.parent.selected=!1}else n.children&&(this._setChildrenSelectedState(n.children,!1),this._removeChildren(n))}clear(n){this._selected=n?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(n,e){for(let i of n)i.disabled||(i.selected=e)}_removeChildren(n){this._selected=[...this._selected.filter(e=>e.parent!==n),...n.children.filter(e=>e.parent===n&&e.disabled&&e.selected)]}_removeParent(n){this._selected=this._selected.filter(e=>e!==n)}_activeChildren(n){return n.children.every(e=>!e.disabled||e.selected)}},ZD=(()=>{class t{constructor(){this.fixedPlaceholder=!0,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"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),YD=(()=>{class t{warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Xb=new W("ng-select-selection-model"),Oo=(()=>{class t{constructor(e,i,o,r,s,a,l){this.classes=e,this.autoFocus=i,this.config=o,this._cd=a,this._console=l,this.markFirst=!0,this.fixedPlaceholder=!0,this.preventToggleOnRightClick=!1,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.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new M,this.focusEvent=new M,this.changeEvent=new M,this.openEvent=new M,this.closeEvent=new M,this.searchEvent=new M,this.clearEvent=new M,this.addEvent=new M,this.removeEvent=new M,this.scroll=new M,this.scrollToEnd=new M,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Yb(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new be,this._keyPress$=new be,this._items=[],this.keyDownFn=c=>!0,this.clearItem=c=>{let m=this.selectedItems.find(h=>h.value===c);this.unselect(m)},this.trackByOption=(c,m)=>this.trackByFn?this.trackByFn(m.value):m,this._onChange=c=>{},this._onTouched=()=>{},this._mergeGlobalConfig(o),this.itemsList=new ep(this,r?r():Qb()),this.element=s.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(e){this._itemsAreUsed=!0,this._items=e??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(e){if(e!=null&&!hl(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return Xe(this._clearSearchOnAdd)?this._clearSearchOnAdd:Xe(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get deselectOnClick(){return Xe(this._deselectOnClick)?this._deselectOnClick:Xe(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(e){this._deselectOnClick=e}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===e))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=Xe(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Xe(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(bn[e.which]){if(this.keyDownFn(e)===!1)return;this.handleKeyCode(e)}else e.key&&e.key.length===1&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){let i=e.target;this.clearButton&&this.clearButton.nativeElement===i?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.which){case bn.ArrowDown:this._handleArrowDown(e);break;case bn.ArrowUp:this._handleArrowUp(e);break;case bn.Space:this._handleSpace(e);break;case bn.Enter:this._handleEnter(e);break;case bn.Tab:this._handleTab(e);break;case bn.Esc:this.close(),e.preventDefault();break;case bn.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.which){case bn.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.preventToggleOnRightClick&&e.button===2)return!1;let i=e.target;if(i.tagName!=="INPUT"&&e.preventDefault(),i.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(i.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}i.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(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,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(e){!e||e.disabled||this.disabled||(this.deselectOnClick&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;hl(this.addTag)?e=this.addTag(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let i=o=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);PD(e)?e.then(o=>this.select(i(o))).catch(()=>{}):e&&this.select(i(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this._isTypeahead&&!this.loading||e&&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(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){let i=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Xe(i)?!Qr(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Xe(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let e=o=>{this.items=o.map(r=>({$ngOptionValue:r.value,$ngOptionLabel:r.elementRef.nativeElement.innerHTML,disabled:r.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{let o=xn(this.ngOptions.changes,this._destroy$);xn(...this.ngOptions.map(r=>r.stateChange$)).pipe(ot(o)).subscribe(r=>{let s=this.itemsList.findItem(r.value);s.disabled=r.disabled,s.label=r.label||s.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Bn(this.ngOptions),ot(this._destroy$)).subscribe(o=>{this.bindLabel=this._defaultLabel,e(o),i()})}_isValidWriteValue(e){if(!Xe(e)||this.multiple&&e===""||Array.isArray(e)&&e.length===0)return!1;let i=o=>!Xe(this.compareWith)&&Qr(o)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(e)?e.every(o=>i(o)):(this._console.warn("Multiple select ngModel should be array."),!1):i(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let i=o=>{let r=this.itemsList.findItem(o);if(r)this.itemsList.select(r);else{let s=Qr(o),a=!s&&!this.bindValue;s||a?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue&&(r={[this.bindLabel]:null,[this.bindValue]:o},this.itemsList.select(this.itemsList.mapItem(r,null)))}};this.multiple?e.forEach(o=>i(o)):i(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(ot(this._destroy$),Zt(e=>this._pressedKeys.push(e)),hi(200),rn(()=>this._pressedKeys.length>0),ue(()=>this._pressedKeys.join(""))).subscribe(e=>{let i=this.itemsList.findByLabel(e);i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput.nativeElement,i=re({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let o of Object.keys(i))e.setAttribute(o,i[o])}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue){let r=null;if(o.children){let s=this.groupValue?this.bindValue:this.groupBy;r=o.value[s||this.groupBy]}else r=this.itemsList.resolveNested(o.value,this.bindValue);e.push(r)}else e.push(o.value);let i=this.selectedItems.map(o=>o.value);this.multiple?(this._onChange(e),this.changeEvent.emit(i)):(this._onChange(Xe(e[0])?e[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_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(e){if(this.isOpen===!1){if(this.showClear()&&!e.shiftKey)this.focusOnClear(),e.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){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;e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let i=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||e.fixedPlaceholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=Xe(this.virtualScroll)?this.virtualScroll:Xe(e.disableVirtualScroll)?!e.disableVirtualScroll:!1,this.openOnEnter=Xe(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}static{this.\u0275fac=function(i){return new(i||t)(ho("class"),ho("autofocus"),v(ZD),v(Xb,8),v(G),v(We),v(YD))}}static{this.\u0275cmp=I({type:t,selectors:[["ng-select"]],contentQueries:function(i,o,r){if(i&1&&(_t(r,ND,5,ke),_t(r,FD,5,ke),_t(r,RD,5,ke),_t(r,jD,5,ke),_t(r,LD,5,ke),_t(r,VD,5,ke),_t(r,BD,5,ke),_t(r,zD,5,ke),_t(r,HD,5,ke),_t(r,$D,5,ke),_t(r,UD,5,ke),_t(r,WD,5,ke),_t(r,Ni,5)),i&2){let s;Ie(s=Se())&&(o.optionTemplate=s.first),Ie(s=Se())&&(o.optgroupTemplate=s.first),Ie(s=Se())&&(o.labelTemplate=s.first),Ie(s=Se())&&(o.multiLabelTemplate=s.first),Ie(s=Se())&&(o.headerTemplate=s.first),Ie(s=Se())&&(o.footerTemplate=s.first),Ie(s=Se())&&(o.notFoundTemplate=s.first),Ie(s=Se())&&(o.placeholderTemplate=s.first),Ie(s=Se())&&(o.typeToSearchTemplate=s.first),Ie(s=Se())&&(o.loadingTextTemplate=s.first),Ie(s=Se())&&(o.tagTemplate=s.first),Ie(s=Se())&&(o.loadingSpinnerTemplate=s.first),Ie(s=Se())&&(o.ngOptions=s)}},viewQuery:function(i,o){if(i&1&&(tt(Gb,5),tt(Yk,7),tt(Kk,5)),i&2){let r;Ie(r=Se())&&(o.dropdownPanel=r.first),Ie(r=Se())&&(o.searchInput=r.first),Ie(r=Se())&&(o.clearButton=r.first)}},hostVars:20,hostBindings:function(i,o){i&1&&_("keydown",function(s){return o.handleKeyDown(s)}),i&2&&Y("ng-select-typeahead",o.typeahead)("ng-select-multiple",o.multiple)("ng-select-taggable",o.addTag)("ng-select-searchable",o.searchable)("ng-select-clearable",o.clearable)("ng-select-opened",o.isOpen)("ng-select",o.useDefaultClass)("ng-select-filtered",o.filtered)("ng-select-single",o.single)("ng-select-disabled",o.disabled)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",k],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",k],closeOnSelect:[2,"closeOnSelect","closeOnSelect",k],hideSelected:[2,"hideSelected","hideSelected",k],selectOnTab:[2,"selectOnTab","selectOnTab",k],openOnEnter:[2,"openOnEnter","openOnEnter",k],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",Nt],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",Nt],virtualScroll:[2,"virtualScroll","virtualScroll",k],selectableGroup:[2,"selectableGroup","selectableGroup",k],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",k],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",k],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",Nt],readonly:[2,"readonly","readonly",k],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",k],minTermLength:[2,"minTermLength","minTermLength",Nt],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",k],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",k],addTag:"addTag",searchable:[2,"searchable","searchable",k],clearable:[2,"clearable","clearable",k],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},standalone:!0,features:[ne([{provide:ml,useExisting:Si(()=>t),multi:!0},Kb]),he,$e,S],decls:13,vars:19,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["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"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[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(i,o){if(i&1){let r=A();p(0,"div",10),_("mousedown",function(a){return y(r),C(o.handleMousedown(a))}),p(1,"div",11),x(2,nD,3,1)(3,sD,2,0)(4,lD,1,5,null,12),p(5,"div",13)(6,"input",14,0),_("blur",function(a){return y(r),C(o.onInputBlur(a))})("change",function(a){return y(r),C(a.stopPropagation())})("compositionend",function(){y(r);let a=Je(7);return C(o.onCompositionEnd(a.value))})("compositionstart",function(){return y(r),C(o.onCompositionStart())})("focus",function(a){return y(r),C(o.onInputFocus(a))})("input",function(){y(r);let a=Je(7);return C(o.filter(a.value))}),f()()(),x(8,uD,3,1)(9,pD,4,1,"span",15),p(10,"span",16),E(11,"span",17),f()(),x(12,ID,8,17,"ng-dropdown-panel",18)}i&2&&(Y("ng-appearance-outline",o.appearance==="outline")("ng-has-value",o.hasValue),d(2),j(o.selectedItems.length===0&&!o.searchTerm||o.fixedPlaceholder===!0?2:-1),d(),j((!o.multiLabelTemplate||!o.multiple)&&o.selectedItems.length>0?3:-1),d(),j(o.multiple&&o.multiLabelTemplate&&o.selectedValues.length>0?4:-1),d(2),g("disabled",o.disabled)("readOnly",!o.searchable||o.itemsList.maxItemsSelected)("value",o.searchTerm?o.searchTerm:""),X("aria-activedescendant",o.isOpen?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen?o.dropdownId:null)("aria-expanded",o.isOpen)("aria-label",o.ariaLabel)("id",o.labelForId)("tabindex",o.tabIndex),d(2),j(o.loading?8:-1),d(),j(o.showClear()?9:-1),d(3),j(o.isOpen?12:-1))},dependencies:[Pn,AD,Gb,ie],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;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:unset;user-select:unset;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}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);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;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;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 Bd=Of(Mf("Optional"),8);var Pf=Of(Mf("SkipSelf"),4);function _i(t,n){let e=t.hasOwnProperty(ea);return e?t[ea]:null}function Y0(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}function K0(t){return t.flat(Number.POSITIVE_INFINITY)}function zd(t,n){t.forEach(e=>Array.isArray(e)?zd(e,n):n(e))}function Af(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function na(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Q0(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function X0(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(o===1)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let r=o-2;t[o]=t[r],o--}t[n]=e,t[n+1]=i}}function Hd(t,n,e){let i=xr(t,n);return i>=0?t[i|1]=e:(i=~i,X0(t,i,n,e)),i}function wc(t,n){let e=xr(t,n);if(e>=0)return t[e|1]}function xr(t,n){return J0(t,n,1)}function J0(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){let r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}var io={},Mt=[],pr=new W(""),Nf=new W("",-1),Ff=new W(""),ia=class{get(n,e=ur){if(e===ur){let i=new Error(`NullInjectorError: No provider for ${Tt(n)}!`);throw i.name="NullInjectorError",i}return e}},Rf=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Rf||{}),ln=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ln||{}),Un=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Un||{});function ey(t,n,e){let i=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}function Bc(t,n,e){let i=0;for(;i<e.length;){let o=e[i];if(typeof o=="number"){if(o!==0)break;i++;let r=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,r)}else{let r=o,s=e[++i];ty(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function jf(t){return t===3||t===4||t===6}function ty(t){return t.charCodeAt(0)===64}function mr(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let o=n[i];typeof o=="number"?e=o:e===0||(e===-1||e===2?Vm(t,e,o,null,n[++i]):Vm(t,e,o,null,null))}}return t}function Vm(t,n,e,i,o){let r=0,s=t.length;if(n===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===e){if(i===null){o!==null&&(t[r+1]=o);return}else if(i===t[r+1]){t[r+2]=o;return}}r++,i!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),i!==null&&t.splice(r++,0,i),o!==null&&t.splice(r++,0,o)}var Lf="ng-template";function ny(t,n,e,i){let o=0;if(i){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&ey(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if($d(t))return!1;if(o=n.indexOf(1,o),o>-1){let r;for(;++o<n.length&&typeof(r=n[o])=="string";)if(r.toLowerCase()===e)return!0}return!1}function $d(t){return t.type===4&&t.value!==Lf}function iy(t,n,e){let i=t.type===4&&!e?Lf:t.value;return n===i}function oy(t,n,e){let i=4,o=t.attrs,r=o!==null?ay(o):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!Yt(i)&&!Yt(l))return!1;if(s&&Yt(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!iy(t,l,e)||l===""&&n.length===1){if(Yt(i))return!1;s=!0}}else if(i&8){if(o===null||!ny(t,o,l,e)){if(Yt(i))return!1;s=!0}}else{let c=n[++a],m=ry(l,o,$d(t),e);if(m===-1){if(Yt(i))return!1;s=!0;continue}if(c!==""){let h;if(m>r?h="":h=o[m+1].toLowerCase(),i&2&&c!==h){if(Yt(i))return!1;s=!0}}}}return Yt(i)||s}function Yt(t){return(t&1)===0}function ry(t,n,e,i){if(n===null)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return ly(n,t)}function Vf(t,n,e=!1){for(let i=0;i<n.length;i++)if(oy(t,n[i],e))return!0;return!1}function sy(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function ay(t){for(let n=0;n<t.length;n++){let e=t[n];if(jf(e))return n}return t.length}function ly(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function cy(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function Bm(t,n){return t?":not("+n.trim()+")":n}function dy(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?o+="."+s:i&4&&(o+=" "+s);else o!==""&&!Yt(s)&&(n+=Bm(r,o),o=""),i=s,r=r||!Yt(i);e++}return o!==""&&(n+=Bm(r,o)),n}function uy(t){return t.map(dy).join(",")}function py(t){let n=[],e=[],i=1,o=2;for(;i<t.length;){let r=t[i];if(typeof r=="string")o===2?r!==""&&n.push(r,t[++i]):o===8&&e.push(r);else{if(!Yt(o))break;o=r}i++}return{attrs:n,classes:e}}function I(t){return wr(()=>{let n=Hf(t),e=qe(re({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Rf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ln.Emulated,styles:t.styles||Mt,_:null,schemas:t.schemas||null,tView:null,id:""});$f(e);let i=t.dependencies;return e.directiveDefs=Hm(i,!1),e.pipeDefs=Hm(i,!0),e.id=hy(e),e})}function my(t){return yi(t)||Bf(t)}function fy(t){return t!==null}function Re(t){return wr(()=>({type:t.type,bootstrap:t.bootstrap||Mt,declarations:t.declarations||Mt,imports:t.imports||Mt,exports:t.exports||Mt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function zm(t,n){if(t==null)return io;let e={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],r,s,a=Un.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(e[r]=a!==Un.None?[i,a]:i,n[r]=s):e[r]=i}return e}function K(t){return wr(()=>{let n=Hf(t);return $f(n),n})}function Mr(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 yi(t){return t[F0]||null}function Bf(t){return t[R0]||null}function zf(t){return t[j0]||null}function gy(t){let n=yi(t)||Bf(t)||zf(t);return n!==null?n.standalone:!1}function Hf(t){let n={};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:n,inputTransforms:null,inputConfig:t.inputs||io,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Mt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:zm(t.inputs,n),outputs:zm(t.outputs),debugInfo:null}}function $f(t){t.features?.forEach(n=>n(t))}function Hm(t,n){if(!t)return null;let e=n?zf:my;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(fy)}function hy(t){let n=0,e=[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 e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Ud(t){return{\u0275providers:t}}function Wd(...t){return{\u0275providers:Uf(!0,t),\u0275fromNgModule:!0}}function Uf(t,...n){let e=[],i=new Set,o,r=s=>{e.push(s)};return zd(n,s=>{let a=s;zc(a,r,[],i)&&(o||=[],o.push(a))}),o!==void 0&&Wf(o,r),e}function Wf(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:o}=t[e];Gd(o,r=>{n(r,i)})}}function zc(t,n,e,i){if(t=Ct(t),!t)return!1;let o=null,r=Fm(t),s=!r&&yi(t);if(!r&&!s){let l=t.ngModule;if(r=Fm(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)zc(c,n,e,i)}}else if(r){if(r.imports!=null&&!a){i.add(o);let c;try{zd(r.imports,m=>{zc(m,n,e,i)&&(c||=[],c.push(m))})}finally{}c!==void 0&&Wf(c,n)}if(!a){let c=_i(o)||(()=>new o);n({provide:o,useFactory:c,deps:Mt},o),n({provide:Ff,useValue:o,multi:!0},o),n({provide:pr,useValue:()=>B(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;Gd(l,m=>{n(m,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Gd(t,n){for(let e of t)If(e)&&(e=e.\u0275providers),Array.isArray(e)?Gd(e,n):n(e)}var by=He({provide:String,useValue:He});function Gf(t){return t!==null&&typeof t=="object"&&by in t}function vy(t){return!!(t&&t.useExisting)}function _y(t){return!!(t&&t.useFactory)}function oo(t){return typeof t=="function"}function yy(t){return!!t.useClass}var Ia=new W(""),Zs={},Cy={},xc;function Sa(){return xc===void 0&&(xc=new ia),xc}var Vt=class{},fr=class extends Vt{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,$c(n,s=>this.processProvider(s)),this.records.set(Nf,Xi(void 0,this)),o.has("environment")&&this.records.set(Vt,Xi(void 0,this));let r=this.records.get(Ia);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Ff,Mt,Ce.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=_e(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_e(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=zn(this),i=xt(void 0),o;try{return n()}finally{zn(e),xt(i)}}get(n,e=ur,i=Ce.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(jm))return n[jm](this);i=Ea(i);let o,r=zn(this),s=xt(void 0);try{if(!(i&Ce.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=Dy(n)&&Ld(n);c&&this.injectableDefInScope(c)?l=Xi(Hc(n),Zs):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=i&Ce.Self?Sa():this.parent;return e=i&Ce.Optional&&e===ur?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[ta]=a[ta]||[]).unshift(Tt(n)),r)throw a;return q0(a,n,"R3InjectorError",this.source)}else throw a}finally{xt(s),zn(r)}}resolveInjectorInitializers(){let n=_e(null),e=zn(this),i=xt(void 0),o;try{let r=this.get(pr,Mt,Ce.Self);for(let s of r)s()}finally{zn(e),xt(i),_e(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Tt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new pe(205,!1)}processProvider(n){n=Ct(n);let e=oo(n)?n:Ct(n&&n.provide),i=xy(n);if(!oo(n)&&n.multi===!0){let o=this.records.get(e);o||(o=Xi(void 0,Zs,!0),o.factory=()=>Vc(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=_e(null);try{return e.value===Zs&&(e.value=Cy,e.value=e.factory()),typeof e.value=="object"&&e.value&&ky(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{_e(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Ct(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Hc(t){let n=Ld(t),e=n!==null?n.factory:_i(t);if(e!==null)return e;if(t instanceof W)throw new pe(204,!1);if(t instanceof Function)return wy(t);throw new pe(204,!1)}function wy(t){if(t.length>0)throw new pe(204,!1);let e=A0(t);return e!==null?()=>e.factory(t):()=>new t}function xy(t){if(Gf(t))return Xi(void 0,t.useValue);{let n=qf(t);return Xi(n,Zs)}}function qf(t,n,e){let i;if(oo(t)){let o=Ct(t);return _i(o)||Hc(o)}else if(Gf(t))i=()=>Ct(t.useValue);else if(_y(t))i=()=>t.useFactory(...Vc(t.deps||[]));else if(vy(t))i=()=>B(Ct(t.useExisting));else{let o=Ct(t&&(t.useClass||t.provide));if(My(t))i=()=>new o(...Vc(t.deps));else return _i(o)||Hc(o)}return i}function Xi(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function My(t){return!!t.deps}function ky(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Dy(t){return typeof t=="function"||typeof t=="object"&&t instanceof W}function $c(t,n){for(let e of t)Array.isArray(e)?$c(e,n):e&&If(e)?$c(e.\u0275providers,n):n(e)}function Zf(t,n){t instanceof fr&&t.assertNotDestroyed();let e,i=zn(t),o=xt(void 0);try{return n()}finally{zn(i),xt(o)}}function Yf(){return Sf()!==void 0||U0()!=null}function Kf(t){if(!Yf())throw new pe(-203,!1)}function Ey(t){return typeof t=="function"}var kn=0,ce=1,ae=2,vt=3,Qt=4,Dt=5,ro=6,oa=7,ct=8,so=9,cn=10,Ye=11,gr=12,$m=13,go=14,kt=15,Ci=16,Ji=17,Mn=18,Ta=19,Qf=20,Hn=21,Mc=22,Lt=23,dt=25,Xf=1;var wi=7,ra=8,ao=9,bt=10,sa=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(sa||{});function $n(t){return Array.isArray(t)&&typeof t[Xf]=="object"}function Dn(t){return Array.isArray(t)&&t[Xf]===!0}function qd(t){return(t.flags&4)!==0}function Oa(t){return t.componentOffset>-1}function Pa(t){return(t.flags&1)===1}function Wn(t){return!!t.template}function Uc(t){return(t[ae]&512)!==0}var hr=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function Jf(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function $e(){return eg}function eg(t){return t.type.prototype.ngOnChanges&&(t.setInput=Sy),Iy}$e.ngInherit=!0;function Iy(){let t=ng(this),n=t?.current;if(n){let e=t.previous;if(e===io)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Sy(t,n,e,i,o){let r=this.declaredInputs[i],s=ng(t)||Ty(t,{previous:io,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new hr(c&&c.currentValue,e,l===io),Jf(t,n,o,e)}var tg="__ngSimpleChanges__";function ng(t){return t[tg]||null}function Ty(t,n){return t[tg]=n}var Um=null;var sn=function(t,n,e){Um?.(t,n,e)},ig="svg",Oy="math";function dn(t){for(;Array.isArray(t);)t=t[kn];return t}function og(t,n){return dn(n[t])}function Bt(t,n){return dn(n[t.index])}function Zd(t,n){return t.data[n]}function rg(t,n){return t[n]}function Yn(t,n){let e=n[t];return $n(e)?e:e[kn]}function Py(t){return(t[ae]&4)===4}function Yd(t){return(t[ae]&128)===128}function Ay(t){return Dn(t[vt])}function Gn(t,n){return n==null?null:t[n]}function sg(t){t[Ji]=0}function ag(t){t[ae]&1024||(t[ae]|=1024,Yd(t)&&Na(t))}function Ny(t,n){for(;t>0;)n=n[go],t--;return n}function Aa(t){return!!(t[ae]&9216||t[Lt]?.dirty)}function Wc(t){t[cn].changeDetectionScheduler?.notify(8),t[ae]&64&&(t[ae]|=1024),Aa(t)&&Na(t)}function Na(t){t[cn].changeDetectionScheduler?.notify(0);let n=xi(t);for(;n!==null&&!(n[ae]&8192||(n[ae]|=8192,!Yd(n)));)n=xi(n)}function lg(t,n){if((t[ae]&256)===256)throw new pe(911,!1);t[Hn]===null&&(t[Hn]=[]),t[Hn].push(n)}function Fy(t,n){if(t[Hn]===null)return;let e=t[Hn].indexOf(n);e!==-1&&t[Hn].splice(e,1)}function xi(t){let n=t[vt];return Dn(n)?n[vt]:n}var me={lFrame:bg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var cg=!1;function Ry(){return me.lFrame.elementDepthCount}function jy(){me.lFrame.elementDepthCount++}function Ly(){me.lFrame.elementDepthCount--}function dg(){return me.bindingsEnabled}function ug(){return me.skipHydrationRootTNode!==null}function Vy(t){return me.skipHydrationRootTNode===t}function By(){me.skipHydrationRootTNode=null}function se(){return me.lFrame.lView}function Ke(){return me.lFrame.tView}function y(t){return me.lFrame.contextLView=t,t[ct]}function C(t){return me.lFrame.contextLView=null,t}function ut(){let t=pg();for(;t!==null&&t.type===64;)t=t.parent;return t}function pg(){return me.lFrame.currentTNode}function zy(){let t=me.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Ti(t,n){let e=me.lFrame;e.currentTNode=t,e.isParent=n}function Kd(){return me.lFrame.isParent}function Qd(){me.lFrame.isParent=!1}function Hy(){return me.lFrame.contextLView}function mg(){return cg}function Wm(t){cg=t}function kr(){let t=me.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function $y(){return me.lFrame.bindingIndex}function Uy(t){return me.lFrame.bindingIndex=t}function Oi(){return me.lFrame.bindingIndex++}function Xd(t){let n=me.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function Wy(){return me.lFrame.inI18n}function Gy(t,n){let e=me.lFrame;e.bindingIndex=e.bindingRootIndex=t,Gc(n)}function qy(){return me.lFrame.currentDirectiveIndex}function Gc(t){me.lFrame.currentDirectiveIndex=t}function Zy(t){let n=me.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function fg(){return me.lFrame.currentQueryIndex}function Jd(t){me.lFrame.currentQueryIndex=t}function Yy(t){let n=t[ce];return n.type===2?n.declTNode:n.type===1?t[Dt]:null}function gg(t,n,e){if(e&Ce.SkipSelf){let o=n,r=t;for(;o=o.parent,o===null&&!(e&Ce.Host);)if(o=Yy(r),o===null||(r=r[go],o.type&10))break;if(o===null)return!1;n=o,t=r}let i=me.lFrame=hg();return i.currentTNode=n,i.lView=t,!0}function eu(t){let n=hg(),e=t[ce];me.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function hg(){let t=me.lFrame,n=t===null?null:t.child;return n===null?bg(t):n}function bg(t){let n={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=n),n}function vg(){let t=me.lFrame;return me.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var _g=vg;function tu(){let t=vg();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 Ky(t){return(me.lFrame.contextLView=Ny(t,me.lFrame.contextLView))[ct]}function En(){return me.lFrame.selectedIndex}function Mi(t){me.lFrame.selectedIndex=t}function Dr(){let t=me.lFrame;return Zd(t.tView,t.selectedIndex)}function yg(){me.lFrame.currentNamespace=ig}function Qy(){return me.lFrame.currentNamespace}var Cg=!0;function Fa(){return Cg}function Ra(t){Cg=t}function Xy(t,n,e){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){let s=eg(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}function ja(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:m}=r;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),m!=null&&(t.destroyHooks??=[]).push(e,m)}}function Ys(t,n,e){wg(t,n,3,e)}function Ks(t,n,e,i){(t[ae]&3)===e&&wg(t,n,e,i)}function kc(t,n){let e=t[ae];(e&3)===n&&(e&=16383,e+=1,t[ae]=e)}function wg(t,n,e,i){let o=i!==void 0?t[Ji]&65535:0,r=i??-1,s=n.length-1,a=0;for(let l=o;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[Ji]+=65536),(a<r||r==-1)&&(Jy(t,e,n,l),t[Ji]=(t[Ji]&4294901760)+l+2),l++}function Gm(t,n){sn(4,t,n);let e=_e(null);try{n.call(t)}finally{_e(e),sn(5,t,n)}}function Jy(t,n,e,i){let o=e[i]<0,r=e[i+1],s=o?-e[i]:e[i],a=t[s];o?t[ae]>>14<t[Ji]>>16&&(t[ae]&3)===n&&(t[ae]+=16384,Gm(a,r)):Gm(a,r)}var no=-1,ki=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function eC(t){return t instanceof ki}function tC(t){return(t.flags&8)!==0}function nC(t){return(t.flags&16)!==0}var Dc={},qc=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Ea(i);let o=this.injector.get(n,Dc,i);return o!==Dc||e===Dc?o:this.parentInjector.get(n,e,i)}};function xg(t){return t!==no}function aa(t){return t&32767}function iC(t){return t>>16}function la(t,n){let e=iC(t),i=n;for(;e>0;)i=i[go],e--;return i}var Zc=!0;function ca(t){let n=Zc;return Zc=t,n}var oC=256,Mg=oC-1,kg=5,rC=0,an={};function sC(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(cr)&&(i=e[cr]),i==null&&(i=e[cr]=rC++);let o=i&Mg,r=1<<o;n.data[t+(o>>kg)]|=r}function da(t,n){let e=Dg(t,n);if(e!==-1)return e;let i=n[ce];i.firstCreatePass&&(t.injectorIndex=n.length,Ec(i.data,t),Ec(n,null),Ec(i.blueprint,null));let o=nu(t,n),r=t.injectorIndex;if(xg(o)){let s=aa(o),a=la(o,n),l=a[ce].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function Ec(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Dg(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function nu(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;o!==null;){if(i=Og(o),i===null)return no;if(e++,o=o[go],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return no}function Yc(t,n,e){sC(t,n,e)}function aC(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,o=0;for(;o<i;){let r=e[o];if(jf(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<i&&typeof e[o]=="string";)o++;else{if(r===n)return e[o+1];o=o+2}}}return null}function Eg(t,n,e){if(e&Ce.Optional||t!==void 0)return t;Vd(n,"NodeInjector")}function Ig(t,n,e,i){if(e&Ce.Optional&&i===void 0&&(i=null),!(e&(Ce.Self|Ce.Host))){let o=t[so],r=xt(void 0);try{return o?o.get(n,i,e&Ce.Optional):Tf(n,i,e&Ce.Optional)}finally{xt(r)}}return Eg(i,n,e)}function Sg(t,n,e,i=Ce.Default,o){if(t!==null){if(n[ae]&2048&&!(i&Ce.Self)){let s=uC(t,n,e,i,an);if(s!==an)return s}let r=Tg(t,n,e,i,an);if(r!==an)return r}return Ig(n,e,i,o)}function Tg(t,n,e,i,o){let r=cC(e);if(typeof r=="function"){if(!gg(n,t,i))return i&Ce.Host?Eg(o,e,i):Ig(n,e,i,o);try{let s;if(s=r(i),s==null&&!(i&Ce.Optional))Vd(e);else return s}finally{_g()}}else if(typeof r=="number"){let s=null,a=Dg(t,n),l=no,c=i&Ce.Host?n[kt][Dt]:null;for((a===-1||i&Ce.SkipSelf)&&(l=a===-1?nu(t,n):n[a+8],l===no||!Zm(i,!1)?a=-1:(s=n[ce],a=aa(l),n=la(l,n)));a!==-1;){let m=n[ce];if(qm(r,a,m.data)){let h=lC(a,n,e,s,i,c);if(h!==an)return h}l=n[a+8],l!==no&&Zm(i,n[ce].data[a+8]===c)&&qm(r,a,n)?(s=m,a=aa(l),n=la(l,n)):a=-1}}return o}function lC(t,n,e,i,o,r){let s=n[ce],a=s.data[t+8],l=i==null?Oa(a)&&Zc:i!=s&&(a.type&3)!==0,c=o&Ce.Host&&r===a,m=Qs(a,s,e,l,c);return m!==null?Di(n,s,m,a):an}function Qs(t,n,e,i,o){let r=t.providerIndexes,s=n.data,a=r&1048575,l=t.directiveStart,c=t.directiveEnd,m=r>>20,h=i?a:a+m,w=o?a+m:c;for(let b=h;b<w;b++){let T=s[b];if(b<l&&e===T||b>=l&&T.type===e)return b}if(o){let b=s[l];if(b&&Wn(b)&&b.type===e)return l}return null}function Di(t,n,e,i){let o=t[e],r=n.data;if(eC(o)){let s=o;s.resolving&&V0(L0(r[e]));let a=ca(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?xt(s.injectImpl):null,m=gg(t,i,Ce.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&Xy(e,r[e],n)}finally{c!==null&&xt(c),ca(a),s.resolving=!1,_g()}}return o}function cC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(cr)?t[cr]:void 0;return typeof n=="number"?n>=0?n&Mg:dC:n}function qm(t,n,e){let i=1<<t;return!!(e[n+(t>>kg)]&i)}function Zm(t,n){return!(t&Ce.Self)&&!(t&Ce.Host&&n)}var bi=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Sg(this._tNode,this._lView,n,Ea(i),e)}};function dC(){return new bi(ut(),se())}function zt(t){return wr(()=>{let n=t.prototype.constructor,e=n[ea]||Kc(n),i=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){let r=o[ea]||Kc(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Kc(t){return kf(t)?()=>{let n=Kc(Ct(t));return n&&n()}:_i(t)}function uC(t,n,e,i,o){let r=t,s=n;for(;r!==null&&s!==null&&s[ae]&2048&&!(s[ae]&512);){let a=Tg(r,s,e,i|Ce.Self,an);if(a!==an)return a;let l=r.parent;if(!l){let c=s[Qf];if(c){let m=c.get(e,an,i);if(m!==an)return m}l=Og(s),s=s[go]}r=l}return o}function Og(t){let n=t[ce],e=n.type;return e===2?n.declTNode:e===1?t[Dt]:null}function ho(t){return aC(ut(),t)}function Ym(t,n=null,e=null,i){let o=pC(t,n,e,i);return o.resolveInjectorInitializers(),o}function pC(t,n=null,e=null,i,o=new Set){let r=[e||Mt,Wd(t)];return i=i||(typeof t=="object"?void 0:Tt(t)),new fr(r,n||Sa(),i||null,o)}var un=class t{static{this.THROW_IF_NOT_FOUND=ur}static{this.NULL=new ia}static create(n,e){if(Array.isArray(n))return Ym({name:""},e,n,"");{let i=n.name??"";return Ym({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=$({token:t,providedIn:"any",factory:()=>B(Nf)})}static{this.__NG_ELEMENT_ID__=-1}};var mC=new W("");mC.__NG_ELEMENT_ID__=t=>{let n=ut();if(n===null)throw new pe(204,!1);if(n.type&2)return n.value;if(t&Ce.Optional)return null;throw new pe(204,!1)};var fC="ngOriginalError";function Ic(t){return t[fC]}var Pg=!0,bo=(()=>{class t{static{this.__NG_ELEMENT_ID__=gC}static{this.__NG_ENV_ID__=e=>e}}return t})(),Qc=class extends bo{constructor(n){super(),this._lView=n}onDestroy(n){return lg(this._lView,n),()=>Fy(this._lView,n)}};function gC(){return new Qc(se())}var vo=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Te(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}}return t})();var Xc=class extends be{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,Yf()&&(this.destroyRef=U(bo,{optional:!0})??void 0,this.pendingTasks=U(vo,{optional:!0})??void 0)}emit(n){let e=_e(null);try{super.next(n)}finally{_e(e)}}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:r,complete:s});return n instanceof Ze&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},M=Xc;function ua(...t){}function Ag(t){let n,e;function i(){t=ua;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Km(t){return queueMicrotask(()=>t()),()=>{t=ua}}var iu="isAngularZone",pa=iu+"_ID",hC=0,Me=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new M(!1),this.onMicrotaskEmpty=new M(!1),this.onStable=new M(!1),this.onError=new M(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=Pg}=n;if(typeof Zone>"u")throw new pe(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=r,_C(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(iu)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new pe(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new pe(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,bC,ua,ua);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},bC={};function ou(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 vC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){Ag(()=>{t.callbackScheduled=!1,Jc(t),t.isCheckStableRunning=!0,ou(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Jc(t)}function _C(t){let n=()=>{vC(t)},e=hC++;t._inner=t._inner.fork({name:"angular",properties:{[iu]:!0,[pa]:e,[pa+e]:!0},onInvokeTask:(i,o,r,s,a,l)=>{if(yC(l))return i.invokeTask(r,s,a,l);try{return Qm(t),i.invokeTask(r,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Xm(t)}},onInvoke:(i,o,r,s,a,l,c)=>{try{return Qm(t),i.invoke(r,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!CC(l)&&n(),Xm(t)}},onHasTask:(i,o,r,s)=>{i.hasTask(r,s),o===r&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Jc(t),ou(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,o,r,s)=>(i.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Jc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Qm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Xm(t){t._nesting--,ou(t)}var ed=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new M,this.onMicrotaskEmpty=new M,this.onStable=new M,this.onError=new M}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}};function yC(t){return Ng(t,"__ignore_ng_zone__")}function CC(t){return Ng(t,"__scheduler_tick__")}function Ng(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var pn=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Ic(n);for(;e&&Ic(e);)e=Ic(e);return e||null}},wC=new W("",{providedIn:"root",factory:()=>{let t=U(Me),n=U(pn);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function xC(){return _o(ut(),se())}function _o(t,n){return new G(Bt(t,n))}var G=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=xC}}return t})();function MC(t){return t instanceof G?t.nativeElement:t}function kC(){return this._results[Symbol.iterator]()}var br=class t{get changes(){return this._changes??=new M}constructor(n=!1){this._emitDistinctChangesOnly=n,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 e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=kC)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=K0(n);(this._changesDetected=!Y0(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Fg(t){return(t.flags&128)===128}var Rg=new Map,DC=0;function EC(){return DC++}function IC(t){Rg.set(t[Ta],t)}function td(t){Rg.delete(t[Ta])}var Jm="__ngContext__";function qn(t,n){$n(n)?(t[Jm]=n[Ta],IC(n)):t[Jm]=n}function jg(t){return Vg(t[gr])}function Lg(t){return Vg(t[Qt])}function Vg(t){for(;t!==null&&!Dn(t);)t=t[Qt];return t}var nd;function Bg(t){nd=t}function zg(){if(nd!==void 0)return nd;if(typeof document<"u")return document;throw new pe(210,!1)}var La=new W("",{providedIn:"root",factory:()=>SC}),SC="ng",ru=new W(""),fn=new W("",{providedIn:"platform",factory:()=>"unknown"});var Er=new W(""),Ir=new W("",{providedIn:"root",factory:()=>zg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var TC="h",OC="b";var PC=()=>null;function su(t,n,e=!1){return PC(t,n,e)}var Hg=!1,AC=new W("",{providedIn:"root",factory:()=>Hg});var Hs;function NC(){if(Hs===void 0&&(Hs=null,dr.trustedTypes))try{Hs=dr.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Hs}function Va(t){return NC()?.createHTML(t)||t}var $s;function FC(){if($s===void 0&&($s=null,dr.trustedTypes))try{$s=dr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return $s}function ef(t){return FC()?.createHTML(t)||t}var ma=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${xf})`}};function yo(t){return t instanceof ma?t.changingThisBreaksApplicationSecurity:t}function au(t,n){let e=RC(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${xf})`)}return e===n}function RC(t){return t instanceof ma&&t.getTypeName()||null}function jC(t){let n=new od(t);return LC()?new id(n):n}var id=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Va(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},od=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Va(n),e}};function LC(){try{return!!new window.DOMParser().parseFromString(Va(""),"text/html")}catch{return!1}}var VC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function lu(t){return t=String(t),t.match(VC)?t:"unsafe:"+t}function In(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Sr(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var $g=In("area,br,col,hr,img,wbr"),Ug=In("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wg=In("rp,rt"),BC=Sr(Wg,Ug),zC=Sr(Ug,In("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),HC=Sr(Wg,In("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),tf=Sr($g,zC,HC,BC),Gg=In("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$C=In("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),UC=In("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),WC=Sr(Gg,$C,UC),GC=In("script,style,template"),rd=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){o.push(e),e=YC(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=ZC(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=nf(n).toLowerCase();if(!tf.hasOwnProperty(e))return this.sanitizedSomething=!0,!GC.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let o=0;o<i.length;o++){let r=i.item(o),s=r.name,a=s.toLowerCase();if(!WC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;Gg[a]&&(l=lu(l)),this.buf.push(" ",s,'="',of(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=nf(n).toLowerCase();tf.hasOwnProperty(e)&&!$g.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(of(n))}};function qC(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ZC(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw qg(n);return n}function YC(t){let n=t.firstChild;if(n&&qC(t,n))throw qg(n);return n}function nf(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function qg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var KC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QC=/([^\#-~ |!])/g;function of(t){return t.replace(/&/g,"&").replace(KC,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(QC,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Us;function Zg(t,n){let e=null;try{Us=Us||jC(t);let i=n?String(n):"";e=Us.getInertBodyElement(i);let o=5,r=i;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=Us.getInertBodyElement(i)}while(i!==r);let a=new rd().sanitizeChildren(rf(e)||e);return Va(a)}finally{if(e){let i=rf(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function rf(t){return"content"in t&&XC(t)?t.content:null}function XC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ba=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}(Ba||{});function cu(t){let n=Yg();return n?ef(n.sanitize(Ba.HTML,t)||""):au(t,"HTML")?ef(yo(t)):Zg(zg(),vi(t))}function Tr(t){let n=Yg();return n?n.sanitize(Ba.URL,t)||"":au(t,"URL")?yo(t):lu(vi(t))}function Yg(){let t=se();return t&&t[cn].sanitizer}var JC=/^>|^->|<!--|-->|--!>|<!-$/g,ew=/(<|>)/g,tw="\u200B$1\u200B";function nw(t){return t.replace(JC,n=>n.replace(ew,tw))}function Pt(t){return t.ownerDocument}var mn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(mn||{}),iw;function du(t,n){return iw(t,n)}function eo(t,n,e,i,o){if(i!=null){let r,s=!1;Dn(i)?r=i:$n(i)&&(s=!0,i=i[kn]);let a=dn(i);t===0&&e!==null?o==null?eh(n,e,a):fa(n,e,a,o||null,!0):t===1&&e!==null?fa(n,e,a,o||null,!0):t===2?bw(n,a,s):t===3&&n.destroyNode(a),r!=null&&_w(n,t,r,e,o)}}function ow(t,n){return t.createText(n)}function rw(t,n,e){t.setValue(n,e)}function sw(t,n){return t.createComment(nw(n))}function Kg(t,n,e){return t.createElement(n,e)}function aw(t,n){Qg(t,n),n[kn]=null,n[Dt]=null}function lw(t,n,e,i,o,r){i[kn]=o,i[Dt]=n,$a(t,i,e,1,o,r)}function Qg(t,n){n[cn].changeDetectionScheduler?.notify(9),$a(t,n,n[Ye],2,null,null)}function cw(t){let n=t[gr];if(!n)return Sc(t[ce],t);for(;n;){let e=null;if($n(n))e=n[gr];else{let i=n[bt];i&&(e=i)}if(!e){for(;n&&!n[Qt]&&n!==t;)$n(n)&&Sc(n[ce],n),n=n[vt];n===null&&(n=t),$n(n)&&Sc(n[ce],n),e=n&&n[Qt]}n=e}}function dw(t,n,e,i){let o=bt+i,r=e.length;i>0&&(e[o-1][Qt]=n),i<r-bt?(n[Qt]=e[o],Af(e,bt+i,n)):(e.push(n),n[Qt]=null),n[vt]=e;let s=n[Ci];s!==null&&e!==s&&Xg(s,n);let a=n[Mn];a!==null&&a.insertView(t),Wc(n),n[ae]|=128}function Xg(t,n){let e=t[ao],i=n[vt];if($n(i))t[ae]|=sa.HasTransplantedViews;else{let o=i[vt][kt];n[kt]!==o&&(t[ae]|=sa.HasTransplantedViews)}e===null?t[ao]=[n]:e.push(n)}function uu(t,n){let e=t[ao],i=e.indexOf(n);e.splice(i,1)}function vr(t,n){if(t.length<=bt)return;let e=bt+n,i=t[e];if(i){let o=i[Ci];o!==null&&o!==t&&uu(o,i),n>0&&(t[e-1][Qt]=i[Qt]);let r=na(t,bt+n);aw(i[ce],i);let s=r[Mn];s!==null&&s.detachView(r[ce]),i[vt]=null,i[Qt]=null,i[ae]&=-129}return i}function za(t,n){if(!(n[ae]&256)){let e=n[Ye];e.destroyNode&&$a(t,n,e,3,null,null),cw(n)}}function Sc(t,n){if(n[ae]&256)return;let e=_e(null);try{n[ae]&=-129,n[ae]|=256,n[Lt]&&rc(n[Lt]),pw(t,n),uw(t,n),n[ce].type===1&&n[Ye].destroy();let i=n[Ci];if(i!==null&&Dn(n[vt])){i!==n[vt]&&uu(i,n);let o=n[Mn];o!==null&&o.detachView(t)}td(n)}finally{_e(e)}}function uw(t,n){let e=t.cleanup,i=n[oa];if(e!==null)for(let r=0;r<e.length-1;r+=2)if(typeof e[r]=="string"){let s=e[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else{let s=i[e[r+1]];e[r].call(s)}i!==null&&(n[oa]=null);let o=n[Hn];if(o!==null){n[Hn]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function pw(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let o=n[e[i]];if(!(o instanceof ki)){let r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],l=r[s+1];sn(4,a,l);try{l.call(a)}finally{sn(5,a,l)}}else{sn(4,o,r);try{r.call(o)}finally{sn(5,o,r)}}}}}function Jg(t,n,e){return mw(t,n.parent,e)}function mw(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[kn];{let{componentOffset:o}=i;if(o>-1){let{encapsulation:r}=t.data[i.directiveStart+o];if(r===ln.None||r===ln.Emulated)return null}return Bt(i,e)}}function fa(t,n,e,i,o){t.insertBefore(n,e,i,o)}function eh(t,n,e){t.appendChild(n,e)}function sf(t,n,e,i,o){i!==null?fa(t,n,e,i,o):eh(t,n,e)}function th(t,n){return t.parentNode(n)}function fw(t,n){return t.nextSibling(n)}function nh(t,n,e){return hw(t,n,e)}function gw(t,n,e){return t.type&40?Bt(t,e):null}var hw=gw,af;function Ha(t,n,e,i){let o=Jg(t,i,n),r=n[Ye],s=i.parent||n[Dt],a=nh(s,i,n);if(o!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)sf(r,o,e[l],a,!1);else sf(r,o,e,a,!1);af!==void 0&&af(r,i,n,e,o)}function ar(t,n){if(n!==null){let e=n.type;if(e&3)return Bt(n,t);if(e&4)return sd(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return ar(t,i);{let o=t[n.index];return Dn(o)?sd(-1,o):dn(o)}}else{if(e&128)return ar(t,n.next);if(e&32)return du(n,t)()||dn(t[n.index]);{let i=ih(t,n);if(i!==null){if(Array.isArray(i))return i[0];let o=xi(t[kt]);return ar(o,i)}else return ar(t,n.next)}}}return null}function ih(t,n){if(n!==null){let i=t[kt][Dt],o=n.projection;return i.projection[o]}return null}function sd(t,n){let e=bt+t+1;if(e<n.length){let i=n[e],o=i[ce].firstChild;if(o!==null)return ar(i,o)}return n[wi]}function bw(t,n,e){t.removeChild(null,n,e)}function pu(t,n,e,i,o,r,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&n===0&&(a&&qn(dn(a),i),e.flags|=2),(e.flags&32)!==32)if(l&8)pu(t,n,e.child,i,o,r,!1),eo(n,t,o,a,r);else if(l&32){let c=du(e,i),m;for(;m=c();)eo(n,t,o,m,r);eo(n,t,o,a,r)}else l&16?oh(t,n,i,e,o,r):eo(n,t,o,a,r);e=s?e.projectionNext:e.next}}function $a(t,n,e,i,o,r){pu(e,i,t.firstChild,n,o,r,!1)}function vw(t,n,e){let i=n[Ye],o=Jg(t,e,n),r=e.parent||n[Dt],s=nh(r,e,n);oh(i,0,n,e,o,s)}function oh(t,n,e,i,o,r){let s=e[kt],l=s[Dt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let m=l[c];eo(n,t,o,m,r)}else{let c=l,m=s[vt];Fg(i)&&(c.flags|=128),pu(t,n,c,m,o,r,!0)}}function _w(t,n,e,i,o){let r=e[wi],s=dn(e);r!==s&&eo(n,t,i,r,o);for(let a=bt;a<e.length;a++){let l=e[a];$a(l[ce],l,t,n,i,r)}}function yw(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=i.indexOf("-")===-1?void 0:mn.DashCase;o==null?t.removeStyle(e,i,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=mn.Important),t.setStyle(e,i,o,r))}}function Cw(t,n,e){t.setAttribute(n,"style",e)}function rh(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function sh(t,n,e){let{mergedAttrs:i,classes:o,styles:r}=e;i!==null&&Bc(t,n,i),o!==null&&rh(t,n,o),r!==null&&Cw(t,n,r)}var At={};function d(t=1){ah(Ke(),se(),En()+t,!1)}function ah(t,n,e,i){if(!i)if((n[ae]&3)===3){let r=t.preOrderCheckHooks;r!==null&&Ys(n,r,e)}else{let r=t.preOrderHooks;r!==null&&Ks(n,r,0,e)}Mi(e)}function v(t,n=Ce.Default){let e=se();if(e===null)return B(t,n);let i=ut();return Sg(i,e,Ct(t),n)}function lh(){let t="invalid";throw new Error(t)}function ch(t,n,e,i,o,r){let s=_e(null);try{let a=null;o&Un.SignalBased&&(a=n[i][Cn]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&Un.HasDecoratorInputTransform&&(r=t.inputTransforms[i].call(n,r)),t.setInput!==null?t.setInput(n,a,r,e,i):Jf(n,a,i,r)}finally{_e(s)}}function ww(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let o=e[i];if(o<0)Mi(~o);else{let r=o,s=e[++i],a=e[++i];Gy(s,r);let l=n[r];a(2,l)}}}finally{Mi(-1)}}function Ua(t,n,e,i,o,r,s,a,l,c,m){let h=n.blueprint.slice();return h[kn]=o,h[ae]=i|4|128|8|64,(c!==null||t&&t[ae]&2048)&&(h[ae]|=2048),sg(h),h[vt]=h[go]=t,h[ct]=e,h[cn]=s||t&&t[cn],h[Ye]=a||t&&t[Ye],h[so]=l||t&&t[so]||null,h[Dt]=r,h[Ta]=EC(),h[ro]=m,h[Qf]=c,h[kt]=n.type==2?t[kt]:h,h}function Co(t,n,e,i,o){let r=t.data[n];if(r===null)r=xw(t,n,e,i,o),Wy()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=i,r.attrs=o;let s=zy();r.injectorIndex=s===null?-1:s.injectorIndex}return Ti(r,!0),r}function xw(t,n,e,i,o){let r=pg(),s=Kd(),a=s?r:r&&r.parent,l=t.data[n]=Sw(t,a,e,n,i,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 dh(t,n,e,i){if(e===0)return-1;let o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function uh(t,n,e,i,o){let r=En(),s=i&2;try{Mi(-1),s&&n.length>dt&&ah(t,n,dt,!1),sn(s?2:0,o),e(i,o)}finally{Mi(r),sn(s?3:1,o)}}function mu(t,n,e){if(qd(n)){let i=_e(null);try{let o=n.directiveStart,r=n.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{_e(i)}}}function fu(t,n,e){dg()&&(Fw(t,n,e,Bt(e,n)),(e.flags&64)===64&&fh(t,n,e))}function gu(t,n,e=Bt){let i=n.localNames;if(i!==null){let o=n.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],a=s===-1?e(n,t):t[s];t[o++]=a}}}function ph(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=hu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function hu(t,n,e,i,o,r,s,a,l,c,m){let h=dt+i,w=h+o,b=Mw(h,w),T=typeof c=="function"?c():c;return b[ce]={type:t,blueprint:b,template:e,queries:null,viewQuery:a,declTNode:n,data:b.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:w,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:m}}function Mw(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:At);return e}function kw(t,n,e,i){let r=i.get(AC,Hg)||e===ln.ShadowDom,s=t.selectRootElement(n,r);return Dw(s),s}function Dw(t){Ew(t)}var Ew=()=>null;function Iw(t,n,e,i){let o=bh(n);o.push(e),t.firstCreatePass&&vh(t).push(i,o.length-1)}function Sw(t,n,e,i,o,r){let s=n?n.injectorIndex:-1,a=0;return ug()&&(a|=128),{type:e,index:i,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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function lf(t,n,e,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;let s=n[r];if(s===void 0)continue;i??={};let a,l=Un.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?cf(i,e,c,a,l):cf(i,e,c,a)}return i}function cf(t,n,e,i,o){let r;t.hasOwnProperty(e)?(r=t[e]).push(n,i):r=t[e]=[n,i],o!==void 0&&r.push(o)}function Tw(t,n,e){let i=n.directiveStart,o=n.directiveEnd,r=t.data,s=n.attrs,a=[],l=null,c=null;for(let m=i;m<o;m++){let h=r[m],w=e?e.get(h):null,b=w?w.inputs:null,T=w?w.outputs:null;l=lf(0,h.inputs,m,l,b),c=lf(1,h.outputs,m,c,T);let O=l!==null&&s!==null&&!$d(n)?Gw(l,m,s):null;a.push(O)}l!==null&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}function Ow(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Wa(t,n,e,i,o,r,s,a){let l=Bt(n,e),c=n.inputs,m;!a&&c!=null&&(m=c[i])?(vu(t,e,m,i,o),Oa(n)&&Pw(e,n.index)):n.type&3?(i=Ow(i),o=s!=null?s(o,n.value||"",i):o,r.setProperty(l,i,o)):n.type&12}function Pw(t,n){let e=Yn(n,t);e[ae]&16||(e[ae]|=64)}function bu(t,n,e,i){if(dg()){let o=i===null?null:{"":-1},r=jw(t,e),s,a;r===null?s=a=null:[s,a]=r,s!==null&&mh(t,n,e,s,o,a),o&&Lw(e,i,o)}e.mergedAttrs=mr(e.mergedAttrs,e.attrs)}function mh(t,n,e,i,o,r){for(let c=0;c<i.length;c++)Yc(da(e,n),t,i[c].type);Bw(e,t.data.length,i.length);for(let c=0;c<i.length;c++){let m=i[c];m.providersResolver&&m.providersResolver(m)}let s=!1,a=!1,l=dh(t,n,i.length,null);for(let c=0;c<i.length;c++){let m=i[c];e.mergedAttrs=mr(e.mergedAttrs,m.hostAttrs),zw(t,e,n,l,m),Vw(l,m,o),m.contentQueries!==null&&(e.flags|=4),(m.hostBindings!==null||m.hostAttrs!==null||m.hostVars!==0)&&(e.flags|=64);let h=m.type.prototype;!s&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(h.ngOnChanges||h.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}Tw(t,e,r)}function Aw(t,n,e,i,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;Nw(s)!=a&&s.push(a),s.push(e,i,r)}}function Nw(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function Fw(t,n,e,i){let o=e.directiveStart,r=e.directiveEnd;Oa(e)&&Hw(n,e,t.data[o+e.componentOffset]),t.firstCreatePass||da(e,n),qn(i,n);let s=e.initialInputs;for(let a=o;a<r;a++){let l=t.data[a],c=Di(n,t,a,e);if(qn(c,n),s!==null&&Ww(n,a-o,c,l,e,s),Wn(l)){let m=Yn(e.index,n);m[ct]=Di(n,t,a,e)}}}function fh(t,n,e){let i=e.directiveStart,o=e.directiveEnd,r=e.index,s=qy();try{Mi(r);for(let a=i;a<o;a++){let l=t.data[a],c=n[a];Gc(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Rw(l,c)}}finally{Mi(-1),Gc(s)}}function Rw(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function jw(t,n){let e=t.directiveRegistry,i=null,o=null;if(e)for(let r=0;r<e.length;r++){let s=e[r];if(Vf(n,s.selectors,!1))if(i||(i=[]),Wn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s);let l=a.length;ad(t,n,l)}else i.unshift(s),ad(t,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return i===null?null:[i,o]}function ad(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function Lw(t,n,e){if(n){let i=t.localNames=[];for(let o=0;o<n.length;o+=2){let r=e[n[o+1]];if(r==null)throw new pe(-301,!1);i.push(n[o],r)}}}function Vw(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Wn(n)&&(e[""]=t)}}function Bw(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function zw(t,n,e,i,o){t.data[i]=o;let r=o.factory||(o.factory=_i(o.type,!0)),s=new ki(r,Wn(o),v);t.blueprint[i]=s,e[i]=s,Aw(t,n,i,dh(t,e,o.hostVars,At),o)}function Hw(t,n,e){let i=Bt(n,t),o=ph(e),r=t[cn].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let a=Ga(t,Ua(t,o,null,s,i,n,null,r.createRenderer(i,e),null,null,null));t[n.index]=a}function $w(t,n,e,i,o,r){let s=Bt(t,n);Uw(n[Ye],s,r,t.value,e,i,o)}function Uw(t,n,e,i,o,r,s){if(r==null)t.removeAttribute(n,o,e);else{let a=s==null?vi(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}function Ww(t,n,e,i,o,r){let s=r[n];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],m=s[a++],h=s[a++];ch(i,e,l,c,m,h)}}function Gw(t,n,e){let i=null,o=0;for(;o<e.length;){let r=e[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){i===null&&(i=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(r,s[a+1],s[a+2],e[o+1]);break}}o+=2}return i}function gh(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function hh(t,n){let e=t.contentQueries;if(e!==null){let i=_e(null);try{for(let o=0;o<e.length;o+=2){let r=e[o],s=e[o+1];if(s!==-1){let a=t.data[s];Jd(r),a.contentQueries(2,n[s],s)}}}finally{_e(i)}}}function Ga(t,n){return t[gr]?t[$m][Qt]=n:t[gr]=n,t[$m]=n,n}function ld(t,n,e){Jd(0);let i=_e(null);try{n(t,e)}finally{_e(i)}}function bh(t){return t[oa]??=[]}function vh(t){return t.cleanup??=[]}function _h(t,n){let e=t[so],i=e?e.get(pn,null):null;i&&i.handleError(n)}function vu(t,n,e,i,o){for(let r=0;r<e.length;){let s=e[r++],a=e[r++],l=e[r++],c=n[s],m=t.data[s];ch(m,c,i,a,l,o)}}function yh(t,n,e){let i=og(n,t);rw(t[Ye],i,e)}function qw(t,n){let e=Yn(n,t),i=e[ce];Zw(i,e);let o=e[kn];o!==null&&e[ro]===null&&(e[ro]=su(o,e[so])),_u(i,e,e[ct])}function Zw(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function _u(t,n,e){eu(n);try{let i=t.viewQuery;i!==null&&ld(1,i,e);let o=t.template;o!==null&&uh(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[Mn]?.finishViewCreation(t),t.staticContentQueries&&hh(t,n),t.staticViewQueries&&ld(2,t.viewQuery,e);let r=t.components;r!==null&&Yw(n,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[ae]&=-5,tu()}}function Yw(t,n){for(let e=0;e<n.length;e++)qw(t,n[e])}function Or(t,n,e,i){let o=_e(null);try{let r=n.tView,a=t[ae]&4096?4096:16,l=Ua(t,r,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[Ci]=c;let m=t[Mn];return m!==null&&(l[Mn]=m.createEmbeddedView(r)),_u(r,l,e),l}finally{_e(o)}}function Ch(t,n){let e=bt+n;if(e<t.length)return t[e]}function lo(t,n){return!n||n.firstChild===null||Fg(t)}function Pr(t,n,e,i=!0){let o=n[ce];if(dw(o,n,t,e),i){let s=sd(e,t),a=n[Ye],l=th(a,t[wi]);l!==null&&lw(o,t[Dt],a,n,l,s)}let r=n[ro];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function wh(t,n){let e=vr(t,n);return e!==void 0&&za(e[ce],e),e}function ga(t,n,e,i,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let r=n[e.index];r!==null&&i.push(dn(r)),Dn(r)&&Kw(r,i);let s=e.type;if(s&8)ga(t,n,e.child,i);else if(s&32){let a=du(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=ih(n,e);if(Array.isArray(a))i.push(...a);else{let l=xi(n[kt]);ga(l[ce],l,a,i,!0)}}e=o?e.projectionNext:e.next}return i}function Kw(t,n){for(let e=bt;e<t.length;e++){let i=t[e],o=i[ce].firstChild;o!==null&&ga(i[ce],i,o,n)}t[wi]!==t[kn]&&n.push(t[wi])}var xh=[];function Qw(t){return t[Lt]??Xw(t)}function Xw(t){let n=xh.pop()??Object.create(ex);return n.lView=t,n}function Jw(t){t.lView[Lt]!==t&&(t.lView=null,xh.push(t))}var ex=qe(re({},Qo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Na(t.lView)},consumerOnSignalRead(){this.lView[Lt]=this}});function tx(t){let n=t[Lt]??Object.create(nx);return n.lView=t,n}var nx=qe(re({},Qo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=xi(t.lView);for(;n&&!Mh(n[ce]);)n=xi(n);n&&ag(n)},consumerOnSignalRead(){this.lView[Lt]=this}});function Mh(t){return t.type!==2}var ix=100;function kh(t,n=!0,e=0){let i=t[cn],o=i.rendererFactory,r=!1;r||o.begin?.();try{ox(t,e)}catch(s){throw n&&_h(t,s),s}finally{r||(o.end?.(),i.inlineEffectRunner?.flush())}}function ox(t,n){let e=mg();try{Wm(!0),cd(t,n);let i=0;for(;Aa(t);){if(i===ix)throw new pe(103,!1);i++,cd(t,1)}}finally{Wm(e)}}function rx(t,n,e,i){let o=n[ae];if((o&256)===256)return;let r=!1,s=!1;!r&&n[cn].inlineEffectRunner?.flush(),eu(n);let a=!0,l=null,c=null;r||(Mh(t)?(c=Qw(n),l=ls(c)):zp()===null?(a=!1,c=tx(n),l=ls(c)):n[Lt]&&(rc(n[Lt]),n[Lt]=null));try{sg(n),Uy(t.bindingStartIndex),e!==null&&uh(t,n,e,2,i);let m=(o&3)===3;if(!r)if(m){let b=t.preOrderCheckHooks;b!==null&&Ys(n,b,null)}else{let b=t.preOrderHooks;b!==null&&Ks(n,b,0,null),kc(n,0)}if(s||sx(n),Dh(n,0),t.contentQueries!==null&&hh(t,n),!r)if(m){let b=t.contentCheckHooks;b!==null&&Ys(n,b)}else{let b=t.contentHooks;b!==null&&Ks(n,b,1),kc(n,1)}ww(t,n);let h=t.components;h!==null&&Ih(n,h,0);let w=t.viewQuery;if(w!==null&&ld(2,w,i),!r)if(m){let b=t.viewCheckHooks;b!==null&&Ys(n,b)}else{let b=t.viewHooks;b!==null&&Ks(n,b,2),kc(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Mc]){for(let b of n[Mc])b();n[Mc]=null}r||(n[ae]&=-73)}catch(m){throw r||Na(n),m}finally{c!==null&&(ic(c,l),a&&Jw(c)),tu()}}function Dh(t,n){for(let e=jg(t);e!==null;e=Lg(e))for(let i=bt;i<e.length;i++){let o=e[i];Eh(o,n)}}function sx(t){for(let n=jg(t);n!==null;n=Lg(n)){if(!(n[ae]&sa.HasTransplantedViews))continue;let e=n[ao];for(let i=0;i<e.length;i++){let o=e[i];ag(o)}}}function ax(t,n,e){let i=Yn(n,t);Eh(i,e)}function Eh(t,n){Yd(t)&&cd(t,n)}function cd(t,n){let i=t[ce],o=t[ae],r=t[Lt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(r?.dirty&&oc(r)),s||=!1,r&&(r.dirty=!1),t[ae]&=-9217,s)rx(i,t,i.template,t[ct]);else if(o&8192){Dh(t,1);let a=i.components;a!==null&&Ih(t,a,1)}}function Ih(t,n,e){for(let i=0;i<n.length;i++)ax(t,n[i],e)}function yu(t,n){let e=mg()?64:1088;for(t[cn].changeDetectionScheduler?.notify(n);t;){t[ae]|=e;let i=xi(t);if(Uc(t)&&!i)return t;t=i}return null}var Ei=class{get rootNodes(){let n=this._lView,e=n[ce];return ga(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ct]}set context(n){this._lView[ct]=n}get destroyed(){return(this._lView[ae]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[vt];if(Dn(n)){let e=n[ra],i=e?e.indexOf(this):-1;i>-1&&(vr(n,i),na(e,i))}this._attachedToViewContainer=!1}za(this._lView[ce],this._lView)}onDestroy(n){lg(this._lView,n)}markForCheck(){yu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ae]&=-129}reattach(){Wc(this._lView),this._lView[ae]|=128}detectChanges(){this._lView[ae]|=1024,kh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new pe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Uc(this._lView),e=this._lView[Ci];e!==null&&!n&&uu(e,this._lView),Qg(this._lView[ce],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new pe(902,!1);this._appRef=n;let e=Uc(this._lView),i=this._lView[Ci];i!==null&&!e&&Xg(i,this._lView),Wc(this._lView)}},ke=(()=>{class t{static{this.__NG_ELEMENT_ID__=dx}}return t})(),lx=ke,cx=class extends lx{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let o=Or(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new Ei(o)}};function dx(){return qa(ut(),se())}function qa(t,n){return t.type&4?new cx(n,t,_o(t,n)):null}var Fj=new RegExp(`^(\\d+)*(${OC}|${TC})*(.*)`);var ux=()=>null;function co(t,n){return ux(t,n)}var uo=class{},Cu=new W("",{providedIn:"root",factory:()=>!1});var Sh=new W(""),Th=new W(""),dd=class{},ha=class{};function px(t){let n=Error(`No component factory found for ${Tt(t)}.`);return n[mx]=t,n}var mx="ngComponent";var ud=class{resolveComponentFactory(n){throw px(n)}},Zn=class{static{this.NULL=new ud}},po=class{},Xt=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>fx()}}return t})();function fx(){let t=se(),n=ut(),e=Yn(n.index,t);return($n(e)?e:t)[Ye]}var gx=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>null})}}return t})();function ba(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")r=a;else if(r==1)o=Rc(o,a);else if(r==2){let l=a,c=n[++s];i=Rc(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}var pd=class extends Zn{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=yi(n);return new _r(e,this.ngModule)}};function df(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let o=t[i];if(o===void 0)continue;let r=Array.isArray(o),s=r?o[0]:o,a=r?o[1]:Un.None;n?e.push({propName:s,templateName:i,isSignal:(a&Un.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function hx(t){let n=t.toLowerCase();return n==="svg"?ig:n==="math"?Oy:null}var _r=class extends ha{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=df(n.inputs,!0);if(e!==null)for(let o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return df(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=uy(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=_e(null);try{o=o||this.ngModule;let s=o instanceof Vt?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new qc(n,s):n,l=a.get(po,null);if(l===null)throw new pe(407,!1);let c=a.get(gx,null),m=a.get(uo,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:m},w=l.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",T=i?kw(w,i,this.componentDef.encapsulation,a):Kg(w,b,hx(b)),O=512;this.componentDef.signals?O|=4096:this.componentDef.onPush||(O|=16);let R=null;T!==null&&(R=su(T,a,!0));let V=hu(0,null,null,1,0,null,null,null,null,null,null),Z=Ua(null,V,null,O,null,null,h,w,a,null,R);eu(Z);let fe,Ve,ze=null;try{let te=this.componentDef,Ge,lt=null;te.findHostDirectiveDefs?(Ge=[],lt=new Map,te.findHostDirectiveDefs(te,Ge,lt),Ge.push(te)):Ge=[te];let Ui=bx(Z,T);ze=vx(Ui,T,te,Ge,Z,h,w),Ve=Zd(V,dt),T&&Cx(w,te,T,i),e!==void 0&&wx(Ve,this.ngContentSelectors,e),fe=yx(ze,te,Ge,lt,Z,[xx]),_u(V,Z,null)}catch(te){throw ze!==null&&td(ze),td(Z),te}finally{tu()}return new md(this.componentType,fe,_o(Ve,Z),Z,Ve)}finally{_e(r)}}},md=class extends dd{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new Ei(o,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,o;if(i!==null&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView;vu(r[ce],r,o,n,e),this.previousInputValues.set(n,e);let s=Yn(this._tNode.index,r);yu(s,1)}}get injector(){return new bi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function bx(t,n){let e=t[ce],i=dt;return t[i]=n,Co(e,i,2,"#host",null)}function vx(t,n,e,i,o,r,s){let a=o[ce];_x(i,t,n,s);let l=null;n!==null&&(l=su(n,o[so]));let c=r.rendererFactory.createRenderer(n,e),m=16;e.signals?m=4096:e.onPush&&(m=64);let h=Ua(o,ph(e),null,m,o[t.index],t,r,c,null,null,l);return a.firstCreatePass&&ad(a,t,i.length-1),Ga(o,h),o[t.index]=h}function _x(t,n,e,i){for(let o of t)n.mergedAttrs=mr(n.mergedAttrs,o.hostAttrs);n.mergedAttrs!==null&&(ba(n,n.mergedAttrs,!0),e!==null&&sh(i,e,n))}function yx(t,n,e,i,o,r){let s=ut(),a=o[ce],l=Bt(s,o);mh(a,o,s,e,null,i);for(let m=0;m<e.length;m++){let h=s.directiveStart+m,w=Di(o,a,h,s);qn(w,o)}fh(a,o,s),l&&qn(l,o);let c=Di(o,a,s.directiveStart+s.componentOffset,s);if(t[ct]=o[ct]=c,r!==null)for(let m of r)m(c,n);return mu(a,s,o),c}function Cx(t,n,e,i){if(i)Bc(t,e,["ng-version","18.2.9"]);else{let{attrs:o,classes:r}=py(n.selectors[0]);o&&Bc(t,e,o),r&&r.length>0&&rh(t,e,r.join(" "))}}function wx(t,n,e){let i=t.projection=[];for(let o=0;o<n.length;o++){let r=e[o];i.push(r!=null?Array.from(r):null)}}function xx(){let t=ut();ja(se()[ce],t)}var gn=(()=>{class t{static{this.__NG_ELEMENT_ID__=Mx}}return t})();function Mx(){let t=ut();return Ph(t,se())}var kx=gn,Oh=class extends kx{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return _o(this._hostTNode,this._hostLView)}get injector(){return new bi(this._hostTNode,this._hostLView)}get parentInjector(){let n=nu(this._hostTNode,this._hostLView);if(xg(n)){let e=la(n,this._hostLView),i=aa(n),o=e[ce].data[i+8];return new bi(o,e)}else return new bi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=uf(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-bt}createEmbeddedView(n,e,i){let o,r;typeof i=="number"?o=i:i!=null&&(o=i.index,r=i.injector);let s=co(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(a,o,lo(this._hostTNode,s)),a}createComponent(n,e,i,o,r){let s=n&&!Ey(n),a;if(s)a=e;else{let T=e||{};a=T.index,i=T.injector,o=T.projectableNodes,r=T.environmentInjector||T.ngModuleRef}let l=s?n:new _r(yi(n)),c=i||this.parentInjector;if(!r&&l.ngModule==null){let O=(s?c:this.parentInjector).get(Vt,null);O&&(r=O)}let m=yi(l.componentType??{}),h=co(this._lContainer,m?.id??null),w=h?.firstChild??null,b=l.create(c,o,w,r);return this.insertImpl(b.hostView,a,lo(this._hostTNode,h)),b}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let o=n._lView;if(Ay(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=o[vt],c=new Oh(l,l[Dt],l[vt]);c.detach(c.indexOf(n))}}let r=this._adjustIndex(e),s=this._lContainer;return Pr(s,o,r,i),n.attachToViewContainerRef(),Af(Tc(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=uf(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=vr(this._lContainer,e);i&&(na(Tc(this._lContainer),e),za(i[ce],i))}detach(n){let e=this._adjustIndex(n,-1),i=vr(this._lContainer,e);return i&&na(Tc(this._lContainer),e)!=null?new Ei(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function uf(t){return t[ra]}function Tc(t){return t[ra]||(t[ra]=[])}function Ph(t,n){let e,i=n[t.index];return Dn(i)?e=i:(e=gh(i,n,null,t),n[t.index]=e,Ga(n,e)),Ex(e,n,t,i),new Oh(e,t,n)}function Dx(t,n){let e=t[Ye],i=e.createComment(""),o=Bt(n,t),r=th(e,o);return fa(e,r,i,fw(e,o),!1),i}var Ex=Tx,Ix=()=>!1;function Sx(t,n,e){return Ix(t,n,e)}function Tx(t,n,e,i){if(t[wi])return;let o;e.type&8?o=dn(i):o=Dx(n,e),t[wi]=o}var fd=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},gd=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){let s=e.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)wu(n,e).matches!==null&&this.queries[e].setDirty()}},va=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=Lx(n):this.predicate=n}},hd=class t{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let o=e!==null?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,e!==null?e.push(r):e=[r])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},bd=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){let r=i[o];this.matchTNodeWithReadOption(n,e,Ox(e,r)),this.matchTNodeWithReadOption(n,e,Qs(e,n,r,!1,!1))}else i===ke?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Qs(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let o=this.metadata.read;if(o!==null)if(o===G||o===gn||o===ke&&e.type&4)this.addMatch(e.index,-2);else{let r=Qs(e,n,o,!1,!1);r!==null&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function Ox(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function Px(t,n){return t.type&11?_o(t,n):t.type&4?qa(t,n):null}function Ax(t,n,e,i){return e===-1?Px(n,t):e===-2?Nx(t,n,i):Di(t,t[ce],e,n)}function Nx(t,n,e){if(e===G)return _o(n,t);if(e===ke)return qa(n,t);if(e===gn)return Ph(n,t)}function Ah(t,n,e,i){let o=n[Mn].queries[i];if(o.matches===null){let r=t.data,s=e.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 m=r[c];a.push(Ax(n,m,s[l+1],e.metadata.read))}}o.matches=a}return o.matches}function vd(t,n,e,i){let o=t.queries.getByIndex(e),r=o.matches;if(r!==null){let s=Ah(t,n,o,e);for(let a=0;a<r.length;a+=2){let l=r[a];if(l>0)i.push(s[a/2]);else{let c=r[a+1],m=n[-l];for(let h=bt;h<m.length;h++){let w=m[h];w[Ci]===w[vt]&&vd(w[ce],w,c,i)}if(m[ao]!==null){let h=m[ao];for(let w=0;w<h.length;w++){let b=h[w];vd(b[ce],b,c,i)}}}}}return i}function Fx(t,n){return t[Mn].queries[n].queryList}function Nh(t,n,e){let i=new br((e&4)===4);return Iw(t,n,i,i.destroy),(n[Mn]??=new gd).queries.push(new fd(i))-1}function Rx(t,n,e){let i=Ke();return i.firstCreatePass&&(Fh(i,new va(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),Nh(i,se(),n)}function jx(t,n,e,i){let o=Ke();if(o.firstCreatePass){let r=ut();Fh(o,new va(n,e,i),r.index),Vx(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return Nh(o,se(),e)}function Lx(t){return t.split(",").map(n=>n.trim())}function Fh(t,n,e){t.queries===null&&(t.queries=new hd),t.queries.track(new bd(n,e))}function Vx(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function wu(t,n){return t.queries.getByIndex(n)}function Bx(t,n){let e=t[ce],i=wu(e,n);return i.crossesNgTemplate?vd(e,t,n,[]):Ah(e,t,i,n)}var pf=new Set;function Pi(t){pf.has(t)||(pf.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Rh(t){return typeof t=="function"&&t[Cn]!==void 0}function Ar(t,n){Pi("NgSignals");let e=Xp(t),i=e[Cn];return n?.equal&&(i.equal=n.equal),e.set=o=>sc(i,o),e.update=o=>Jp(i,o),e.asReadonly=zx.bind(e),e}function zx(){let t=this[Cn];if(t.readonlyFn===void 0){let n=()=>this();n[Cn]=t,t.readonlyFn=n}return t.readonlyFn}function jh(t){return Rh(t)&&typeof t.set=="function"}function Hx(t){return Object.getPrototypeOf(t.prototype).constructor}function q(t){let n=Hx(t.type),e=!0,i=[t];for(;n;){let o;if(Wn(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new pe(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);let s=t;s.inputs=Ws(t.inputs),s.inputTransforms=Ws(t.inputTransforms),s.declaredInputs=Ws(t.declaredInputs),s.outputs=Ws(t.outputs);let a=o.hostBindings;a&&qx(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&Wx(t,l),c&&Gx(t,c),$x(t,o),O0(t.outputs,o.outputs),Wn(o)&&o.data.animation){let m=t.data;m.animation=(m.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===q&&(e=!1)}}n=Object.getPrototypeOf(n)}Ux(i)}function $x(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=n.inputTransforms[o]}}}function Ux(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=mr(o.hostAttrs,e=mr(e,o.hostAttrs))}}function Ws(t){return t===io?{}:t===Mt?[]:t}function Wx(t,n){let e=t.viewQuery;e?t.viewQuery=(i,o)=>{n(i,o),e(i,o)}:t.viewQuery=n}function Gx(t,n){let e=t.contentQueries;e?t.contentQueries=(i,o,r)=>{n(i,o,r),e(i,o,r)}:t.contentQueries=n}function qx(t,n){let e=t.hostBindings;e?t.hostBindings=(i,o)=>{n(i,o),e(i,o)}:t.hostBindings=n}function he(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)&&o[3]&&(e[i]=o[3])}t.inputTransforms=e}var mo=class{};var _a=class extends mo{constructor(n){super(),this.componentFactoryResolver=new pd(this),this.instance=null;let e=new fr([...n.providers,{provide:mo,useValue:this},{provide:Zn,useValue:this.componentFactoryResolver}],n.parent||Sa(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Zx(t,n,e=null){return new _a({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function Lh(t){return xu(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Yx(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function xu(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Za(t,n,e){return t[n]=e}function Ot(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function yr(t,n,e,i){let o=Ot(t,n,e);return Ot(t,n+1,i)||o}function Kx(t,n,e,i,o){let r=yr(t,n,e,i);return Ot(t,n+2,o)||r}function Qx(t,n,e,i,o,r){let s=yr(t,n,e,i);return yr(t,n+2,o,r)||s}function Xx(t){return(t.flags&32)===32}function Jx(t,n,e,i,o,r,s,a,l){let c=n.consts,m=Co(n,t,4,s||null,a||null);bu(n,e,m,Gn(c,l)),ja(n,m);let h=m.tView=hu(2,m,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,m),h.queries=n.queries.embeddedTView(m)),m}function ya(t,n,e,i,o,r,s,a,l,c){let m=e+dt,h=n.firstCreatePass?Jx(m,n,t,i,o,r,s,a,l):n.data[m];Ti(h,!1);let w=e1(n,t,h,e);Fa()&&Ha(n,t,w,h),qn(w,t);let b=gh(w,t,w,h);return t[m]=b,Ga(t,b),Sx(b,h,t),Pa(h)&&fu(n,t,h),l!=null&&gu(t,h,c),h}function x(t,n,e,i,o,r,s,a){let l=se(),c=Ke(),m=Gn(c.consts,r);return ya(l,c,t,n,e,i,o,m,s,a),x}var e1=t1;function t1(t,n,e,i){return Ra(!0),n[Ye].createComment("")}var lr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(lr||{}),n1=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}}return t})(),mf=class t{constructor(){this.ngZone=U(Me),this.scheduler=U(uo),this.errorHandler=U(pn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[lr.EarlyRead,lr.Write,lr.MixedReadWrite,lr.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}};function X(t,n,e,i){let o=se(),r=Oi();if(Ot(o,r,n)){let s=Ke(),a=Dr();$w(a,o,t,n,e,i)}return X}function Vh(t,n,e,i){return Ot(t,Oi(),e)?n+vi(e)+i:At}function i1(t,n,e,i,o,r){let s=$y(),a=yr(t,s,e,o);return Xd(2),a?n+vi(e)+i+vi(o)+r:At}function Gs(t,n){return t<<17|n<<2}function Ii(t){return t>>17&32767}function o1(t){return(t&2)==2}function r1(t,n){return t&131071|n<<17}function _d(t){return t|2}function fo(t){return(t&131068)>>2}function Oc(t,n){return t&-131069|n<<2}function s1(t){return(t&1)===1}function yd(t){return t|1}function a1(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,a=Ii(s),l=fo(s);t[i]=e;let c=!1,m;if(Array.isArray(e)){let h=e;m=h[1],(m===null||xr(h,m)>0)&&(c=!0)}else m=e;if(o)if(l!==0){let w=Ii(t[a+1]);t[i+1]=Gs(w,a),w!==0&&(t[w+1]=Oc(t[w+1],i)),t[a+1]=r1(t[a+1],i)}else t[i+1]=Gs(a,0),a!==0&&(t[a+1]=Oc(t[a+1],i)),a=i;else t[i+1]=Gs(l,0),a===0?a=i:t[l+1]=Oc(t[l+1],i),l=i;c&&(t[i+1]=_d(t[i+1])),ff(t,m,i,!0),ff(t,m,i,!1),l1(n,m,t,i,r),s=Gs(a,l),r?n.classBindings=s:n.styleBindings=s}function l1(t,n,e,i,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof n=="string"&&xr(r,n)>=0&&(e[i+1]=yd(e[i+1]))}function ff(t,n,e,i){let o=t[e+1],r=n===null,s=i?Ii(o):fo(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];c1(l,n)&&(a=!0,t[s+1]=i?yd(c):_d(c)),s=i?Ii(c):fo(c)}a&&(t[e+1]=i?_d(o):yd(o))}function c1(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?xr(t,n)>=0:!1}var Kt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function d1(t){return t.substring(Kt.key,Kt.keyEnd)}function u1(t){return p1(t),Bh(t,zh(t,0,Kt.textEnd))}function Bh(t,n){let e=Kt.textEnd;return e===n?-1:(n=Kt.keyEnd=m1(t,Kt.key=n,e),zh(t,n,e))}function p1(t){Kt.key=0,Kt.keyEnd=0,Kt.value=0,Kt.valueEnd=0,Kt.textEnd=t.length}function zh(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function m1(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function g(t,n,e){let i=se(),o=Oi();if(Ot(i,o,n)){let r=Ke(),s=Dr();Wa(r,s,i,t,n,i[Ye],e,!1)}return g}function Cd(t,n,e,i,o){let r=n.inputs,s=o?"class":"style";vu(t,e,r[s],s,i)}function Ue(t,n,e){return Hh(t,n,e,!1),Ue}function Y(t,n){return Hh(t,n,null,!0),Y}function Nr(t){g1(C1,f1,t,!0)}function f1(t,n){for(let e=u1(n);e>=0;e=Bh(n,e))Hd(t,d1(n),!0)}function Hh(t,n,e,i){let o=se(),r=Ke(),s=Xd(2);if(r.firstUpdatePass&&Uh(r,t,s,i),n!==At&&Ot(o,s,n)){let a=r.data[En()];Wh(r,a,o,o[Ye],t,o[s+1]=x1(n,e),i,s)}}function g1(t,n,e,i){let o=Ke(),r=Xd(2);o.firstUpdatePass&&Uh(o,null,r,i);let s=se();if(e!==At&&Ot(s,r,e)){let a=o.data[En()];if(Gh(a,i)&&!$h(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Rc(l,e||"")),Cd(o,a,s,e,i)}else w1(o,a,s,s[Ye],s[r+1],s[r+1]=y1(t,n,e),i,r)}}function $h(t,n){return n>=t.expandoStartIndex}function Uh(t,n,e,i){let o=t.data;if(o[e+1]===null){let r=o[En()],s=$h(t,e);Gh(r,i)&&n===null&&!s&&(n=!1),n=h1(o,r,n,i),a1(o,r,n,e,s,i)}}function h1(t,n,e,i){let o=Zy(t),r=i?n.residualClasses:n.residualStyles;if(o===null)(i?n.classBindings:n.styleBindings)===0&&(e=Pc(null,t,n,e,i),e=Cr(e,n.attrs,i),r=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=Pc(o,t,n,e,i),r===null){let l=b1(t,n,i);l!==void 0&&Array.isArray(l)&&(l=Pc(null,t,n,l[1],i),l=Cr(l,n.attrs,i),v1(t,n,i,l))}else r=_1(t,n,i)}return r!==void 0&&(i?n.residualClasses=r:n.residualStyles=r),e}function b1(t,n,e){let i=e?n.classBindings:n.styleBindings;if(fo(i)!==0)return t[Ii(i)]}function v1(t,n,e,i){let o=e?n.classBindings:n.styleBindings;t[Ii(o)]=i}function _1(t,n,e){let i,o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;i=Cr(i,s,e)}return Cr(i,n.attrs,e)}function Pc(t,n,e,i,o){let r=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(r=n[a],i=Cr(i,r.hostAttrs,o),r!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function Cr(t,n,e){let i=e?1:2,o=-1;if(n!==null)for(let r=0;r<n.length;r++){let s=n[r];typeof s=="number"?o=s:o===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Hd(t,s,e?!0:n[++r]))}return t===void 0?null:t}function y1(t,n,e){if(e==null||e==="")return Mt;let i=[],o=yo(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else typeof o=="string"&&n(i,o);return i}function C1(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&Hd(t,i,e)}function w1(t,n,e,i,o,r,s,a){o===At&&(o=Mt);let l=0,c=0,m=0<o.length?o[0]:null,h=0<r.length?r[0]:null;for(;m!==null||h!==null;){let w=l<o.length?o[l+1]:void 0,b=c<r.length?r[c+1]:void 0,T=null,O;m===h?(l+=2,c+=2,w!==b&&(T=h,O=b)):h===null||m!==null&&m<h?(l+=2,T=m):(c+=2,T=h,O=b),T!==null&&Wh(t,n,e,i,T,O,s,a),m=l<o.length?o[l]:null,h=c<r.length?r[c]:null}}function Wh(t,n,e,i,o,r,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],m=s1(c)?gf(l,n,e,o,fo(c),s):void 0;if(!Ca(m)){Ca(r)||o1(c)&&(r=gf(l,null,e,o,a,s));let h=og(En(),e);yw(i,s,h,o,r)}}function gf(t,n,e,i,o,r){let s=n===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),m=c?l[1]:l,h=m===null,w=e[o+1];w===At&&(w=h?Mt:void 0);let b=h?wc(w,i):m===i?w:void 0;if(c&&!Ca(b)&&(b=wc(l,i)),Ca(b)&&(a=b,s))return a;let T=t[o+1];o=s?Ii(T):fo(T)}if(n!==null){let l=r?n.residualClasses:n.residualStyles;l!=null&&(a=wc(l,i))}return a}function Ca(t){return t!==void 0}function x1(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Tt(yo(t)))),t}function Gh(t,n){return(t.flags&(n?8:16))!==0}function Mu(){return se()[kt][ct]}var wd=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){let s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}};function Ac(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function M1(t,n,e){let i,o,r=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;r<=s&&r<=l;){let c=t.at(r),m=n[r],h=Ac(r,c,r,m,e);if(h!==0){h<0&&t.updateValue(r,m),r++;continue}let w=t.at(s),b=n[l],T=Ac(s,w,l,b,e);if(T!==0){T<0&&t.updateValue(s,b),s--,l--;continue}let O=e(r,c),R=e(s,w),V=e(r,m);if(Object.is(V,R)){let Z=e(l,b);Object.is(Z,O)?(t.swap(r,s),t.updateValue(s,b),l--,s--):t.move(s,r),t.updateValue(r,m),r++;continue}if(i??=new wa,o??=bf(t,r,s,e),xd(t,i,r,V))t.updateValue(r,m),r++,s++;else if(o.has(V))i.set(O,t.detach(r)),s--;else{let Z=t.create(r,n[r]);t.attach(r,Z),r++,s++}}for(;r<=l;)hf(t,i,e,r,n[r]),r++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let m=t.at(r),h=c.value,w=Ac(r,m,r,h,e);if(w!==0)w<0&&t.updateValue(r,h),r++,c=l.next();else{i??=new wa,o??=bf(t,r,s,e);let b=e(r,h);if(xd(t,i,r,b))t.updateValue(r,h),r++,s++,c=l.next();else if(!o.has(b))t.attach(r,t.create(r,h)),r++,s++,c=l.next();else{let T=e(r,m);i.set(T,t.detach(r)),s--}}}for(;!c.done;)hf(t,i,e,t.length,c.value),c=l.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function xd(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function hf(t,n,e,i,o){if(xd(t,n,i,e(i,o)))t.updateValue(i,o);else{let r=t.create(i,o);t.attach(i,r)}}function bf(t,n,e,i){let o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}var wa=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}};function j(t,n){Pi("NgControlFlow");let e=se(),i=Oi(),o=e[i]!==At?e[i]:-1,r=o!==-1?xa(e,dt+o):void 0,s=0;if(Ot(e,i,t)){let a=_e(null);try{if(r!==void 0&&wh(r,s),t!==-1){let l=dt+t,c=xa(e,l),m=Ed(e[ce],l),h=co(c,m.tView.ssrId),w=Or(e,m,n,{dehydratedView:h});Pr(c,w,s,lo(m,h))}}finally{_e(a)}}else if(r!==void 0){let a=Ch(r,s);a!==void 0&&(a[ct]=n)}}var Md=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-bt}};function Fr(t,n){return n}var kd=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Jt(t,n,e,i,o,r,s,a,l,c,m,h,w){Pi("NgControlFlow");let b=se(),T=Ke(),O=l!==void 0,R=se(),V=a?s.bind(R[kt][ct]):s,Z=new kd(O,V);R[dt+t]=Z,ya(b,T,t+1,n,e,i,o,Gn(T.consts,r)),O&&ya(b,T,t+2,l,c,m,h,Gn(T.consts,w))}var Dd=class extends wd{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-bt}at(n){return this.getLView(n)[ct].$implicit}attach(n,e){let i=e[ro];this.needsIndexUpdate||=n!==this.length,Pr(this.lContainer,e,n,lo(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,k1(this.lContainer,n)}create(n,e){let i=co(this.lContainer,this.templateTNode.tView.ssrId),o=Or(this.hostLView,this.templateTNode,new Md(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),o}destroy(n){za(n[ce],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[ct].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ct].$index=n}getLView(n){return D1(this.lContainer,n)}};function en(t){let n=_e(null),e=En();try{let i=se(),o=i[ce],r=i[e],s=e+1,a=xa(i,s);if(r.liveCollection===void 0){let c=Ed(o,s);r.liveCollection=new Dd(a,i,c)}else r.liveCollection.reset();let l=r.liveCollection;if(M1(l,t,r.trackByFn),l.updateIndexes(),r.hasEmptyBlock){let c=Oi(),m=l.length===0;if(Ot(i,c,m)){let h=e+2,w=xa(i,h);if(m){let b=Ed(o,h),T=co(w,b.tView.ssrId),O=Or(i,b,void 0,{dehydratedView:T});Pr(w,O,0,lo(b,T))}else wh(w,0)}}}finally{_e(n)}}function xa(t,n){return t[n]}function k1(t,n){return vr(t,n)}function D1(t,n){return Ch(t,n)}function Ed(t,n){return Zd(t,n)}function E1(t,n,e,i,o,r){let s=n.consts,a=Gn(s,o),l=Co(n,t,2,i,a);return bu(n,e,l,Gn(s,r)),l.attrs!==null&&ba(l,l.attrs,!1),l.mergedAttrs!==null&&ba(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function p(t,n,e,i){let o=se(),r=Ke(),s=dt+t,a=o[Ye],l=r.firstCreatePass?E1(s,r,o,n,e,i):r.data[s],c=I1(r,o,l,a,n,t);o[s]=c;let m=Pa(l);return Ti(l,!0),sh(a,c,l),!Xx(l)&&Fa()&&Ha(r,o,c,l),Ry()===0&&qn(c,o),jy(),m&&(fu(r,o,l),mu(r,l,o)),i!==null&&gu(o,l),p}function f(){let t=ut();Kd()?Qd():(t=t.parent,Ti(t,!1));let n=t;Vy(n)&&By(),Ly();let e=Ke();return e.firstCreatePass&&(ja(e,t),qd(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&tC(n)&&Cd(e,n,se(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&nC(n)&&Cd(e,n,se(),n.stylesWithoutHost,!1),f}function E(t,n,e,i){return p(t,n,e,i),f(),E}var I1=(t,n,e,i,o,r)=>(Ra(!0),Kg(i,o,Qy()));function S1(t,n,e,i,o){let r=n.consts,s=Gn(r,i),a=Co(n,t,8,"ng-container",s);s!==null&&ba(a,s,!0);let l=Gn(r,o);return bu(n,e,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function pt(t,n,e){let i=se(),o=Ke(),r=t+dt,s=o.firstCreatePass?S1(r,o,i,n,e):o.data[r];Ti(s,!0);let a=T1(o,i,s,t);return i[r]=a,Fa()&&Ha(o,i,a,s),qn(a,i),Pa(s)&&(fu(o,i,s),mu(o,s,i)),e!=null&&gu(i,s),pt}function mt(){let t=ut(),n=Ke();return Kd()?Qd():(t=t.parent,Ti(t,!1)),n.firstCreatePass&&(ja(n,t),qd(t)&&n.queries.elementEnd(t)),mt}function at(t,n,e){return pt(t,n,e),mt(),at}var T1=(t,n,e,i)=>(Ra(!0),sw(n[Ye],""));function A(){return se()}function Rr(t,n,e){let i=se(),o=Oi();if(Ot(i,o,n)){let r=Ke(),s=Dr();Wa(r,s,i,t,n,i[Ye],e,!0)}return Rr}var Ma="en-US";var O1=Ma;function P1(t){typeof t=="string"&&(O1=t.toLowerCase().replace(/_/g,"-"))}var A1=(t,n,e)=>{};function _(t,n,e,i){let o=se(),r=Ke(),s=ut();return qh(r,o,o[Ye],s,t,n,i),_}function N1(t,n,e,i){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===e&&o[r+1]===i){let a=n[oa],l=o[r+2];return a.length>l?a[l]:null}typeof s=="string"&&(r+=2)}return null}function qh(t,n,e,i,o,r,s){let a=Pa(i),c=t.firstCreatePass&&vh(t),m=n[ct],h=bh(n),w=!0;if(i.type&3||s){let O=Bt(i,n),R=s?s(O):O,V=h.length,Z=s?Ve=>s(dn(Ve[i.index])):i.index,fe=null;if(!s&&a&&(fe=N1(t,n,o,i.index)),fe!==null){let Ve=fe.__ngLastListenerFn__||fe;Ve.__ngNextListenerFn__=r,fe.__ngLastListenerFn__=r,w=!1}else{r=_f(i,n,m,r),A1(O,o,r);let Ve=e.listen(R,o,r);h.push(r,Ve),c&&c.push(o,Z,V,V+1)}}else r=_f(i,n,m,r);let b=i.outputs,T;if(w&&b!==null&&(T=b[o])){let O=T.length;if(O)for(let R=0;R<O;R+=2){let V=T[R],Z=T[R+1],ze=n[V][Z].subscribe(r),te=h.length;h.push(r,ze),c&&c.push(o,i.index,te,-(te+1))}}}function vf(t,n,e,i){let o=_e(null);try{return sn(6,n,e),e(i)!==!1}catch(r){return _h(t,r),!1}finally{sn(7,n,e),_e(o)}}function _f(t,n,e,i){return function o(r){if(r===Function)return i;let s=t.componentOffset>-1?Yn(t.index,n):n;yu(s,5);let a=vf(n,e,i,r),l=o.__ngNextListenerFn__;for(;l;)a=vf(n,e,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function u(t=1){return Ky(t)}function F1(t,n){let e=null,i=sy(t);for(let o=0;o<n.length;o++){let r=n[o];if(r==="*"){e=o;continue}if(i===null?Vf(t,r,!0):cy(i,r))return o}return e}function je(t){let n=se()[kt][Dt];if(!n.projection){let e=t?t.length:1,i=n.projection=Q0(e,null),o=i.slice(),r=n.child;for(;r!==null;){if(r.type!==128){let s=t?F1(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r)}r=r.next}}}function Ee(t,n=0,e,i,o,r){let s=se(),a=Ke(),l=i?t+1:null;l!==null&&ya(s,a,l,i,o,r,null,e);let c=Co(a,dt+t,16,null,e||null);c.projection===null&&(c.projection=n),Qd();let h=!s[ro]||ug();s[kt][Dt].projection[c.projection]===null&&l!==null?R1(s,a,l):h&&(c.flags&32)!==32&&vw(a,s,c)}function R1(t,n,e){let i=dt+e,o=n.data[i],r=t[i],s=co(r,o.tView.ssrId),a=Or(t,o,void 0,{dehydratedView:s});Pr(r,a,0,lo(o,s))}function ve(t,n,e){return Zh(t,"",n,"",e),ve}function Zh(t,n,e,i,o){let r=se(),s=Vh(r,n,e,i);if(s!==At){let a=Ke(),l=Dr();Wa(a,l,r,t,s,r[Ye],o,!1)}return Zh}function _t(t,n,e,i){jx(t,n,e,i)}function nt(t,n,e){Rx(t,n,e)}function Ie(t){let n=se(),e=Ke(),i=fg();Jd(i+1);let o=wu(e,i);if(t.dirty&&Py(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=Bx(n,i);t.reset(r,MC),t.notifyOnChanges()}return!0}return!1}function Se(){return Fx(se(),fg())}function j1(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function et(t){let n=Hy();return rg(n,dt+t)}function D(t,n=""){let e=se(),i=Ke(),o=t+dt,r=i.firstCreatePass?Co(i,o,1,n,null):i.data[o],s=L1(i,e,r,n,t);e[o]=s,Fa()&&Ha(i,e,s,r),Ti(r,!1)}var L1=(t,n,e,i,o)=>(Ra(!0),ow(n[Ye],i));function ee(t){return H("",t,""),ee}function H(t,n,e){let i=se(),o=Vh(i,t,n,e);return o!==At&&yh(i,En(),o),H}function tn(t,n,e,i,o){let r=se(),s=i1(r,t,n,e,i,o);return s!==At&&yh(r,En(),s),tn}function Sn(t,n,e){jh(n)&&(n=n());let i=se(),o=Oi();if(Ot(i,o,n)){let r=Ke(),s=Dr();Wa(r,s,i,t,n,i[Ye],e,!1)}return Sn}function Kn(t,n){let e=jh(t);return e&&t.set(n),e}function Tn(t,n){let e=se(),i=Ke(),o=ut();return qh(i,e,e[Ye],o,t,n),Tn}function V1(t,n,e){let i=Ke();if(i.firstCreatePass){let o=Wn(t);Id(e,i.data,i.blueprint,o,!0),Id(n,i.data,i.blueprint,o,!1)}}function Id(t,n,e,i,o){if(t=Ct(t),Array.isArray(t))for(let r=0;r<t.length;r++)Id(t[r],n,e,i,o);else{let r=Ke(),s=se(),a=ut(),l=oo(t)?t:Ct(t.provide),c=qf(t),m=a.providerIndexes&1048575,h=a.directiveStart,w=a.providerIndexes>>20;if(oo(t)||!t.multi){let b=new ki(c,o,v),T=Fc(l,n,o?m:m+w,h);T===-1?(Yc(da(a,s),r,l),Nc(r,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(b),s.push(b)):(e[T]=b,s[T]=b)}else{let b=Fc(l,n,m+w,h),T=Fc(l,n,m,m+w),O=b>=0&&e[b],R=T>=0&&e[T];if(o&&!R||!o&&!O){Yc(da(a,s),r,l);let V=H1(o?z1:B1,e.length,o,i,c);!o&&R&&(e[T].providerFactory=V),Nc(r,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(V),s.push(V)}else{let V=Yh(e[o?T:b],c,!o&&i);Nc(r,t,b>-1?b:T,V)}!o&&i&&R&&e[T].componentProviders++}}}function Nc(t,n,e,i){let o=oo(n),r=yy(n);if(o||r){let l=(r?Ct(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let m=c.indexOf(e);m===-1?c.push(e,[i,l]):c[m+1].push(i,l)}else c.push(e,l)}}}function Yh(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Fc(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function B1(t,n,e,i){return Sd(this.multi,[])}function z1(t,n,e,i){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Di(e,e[ce],this.providerFactory.index,i);r=a.slice(0,s),Sd(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],Sd(o,r);return r}function Sd(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function H1(t,n,e,i,o){let r=new ki(t,e,v);return r.multi=[],r.index=n,r.componentProviders=0,Yh(r,o,i&&!e),r}function ne(t,n=[]){return e=>{e.providersResolver=(i,o)=>V1(i,o?o(t):t,n)}}var $1=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=Uf(!1,e.type),o=i.length>0?Zx([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=$({token:t,providedIn:"environment",factory:()=>new t(B(Vt))})}}return t})();function S(t){Pi("NgStandalone"),t.getStandaloneInjector=n=>n.get($1).getOrCreateStandaloneInjector(t)}function Oe(t,n,e,i){return Kh(se(),kr(),t,n,e,i)}function ft(t,n,e,i,o){return U1(se(),kr(),t,n,e,i,o)}function gt(t,n,e,i,o,r){return W1(se(),kr(),t,n,e,i,o,r)}function Ya(t,n,e,i,o,r,s){return G1(se(),kr(),t,n,e,i,o,r,s)}function Ka(t,n){let e=t[n];return e===At?void 0:e}function Kh(t,n,e,i,o,r){let s=n+e;return Ot(t,s,o)?Za(t,s+1,r?i.call(r,o):i(o)):Ka(t,s+1)}function U1(t,n,e,i,o,r,s){let a=n+e;return yr(t,a,o,r)?Za(t,a+2,s?i.call(s,o,r):i(o,r)):Ka(t,a+2)}function W1(t,n,e,i,o,r,s,a){let l=n+e;return Kx(t,l,o,r,s)?Za(t,l+3,a?i.call(a,o,r,s):i(o,r,s)):Ka(t,l+3)}function G1(t,n,e,i,o,r,s,a,l){let c=n+e;return Qx(t,c,o,r,s,a)?Za(t,c+4,l?i.call(l,o,r,s,a):i(o,r,s,a)):Ka(t,c+4)}function N(t,n){let e=Ke(),i,o=t+dt;e.firstCreatePass?(i=q1(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];let r=i.factory||(i.factory=_i(i.type,!0)),s,a=xt(v);try{let l=ca(!1),c=r();return ca(l),j1(e,se(),o,c),c}finally{xt(a)}}function q1(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function F(t,n,e){let i=t+dt,o=se(),r=rg(o,i);return Z1(o,i)?Kh(o,kr(),n,r.transform,e,r):r.transform(e)}function Z1(t,n){return t[ce].data[n].pure}function yt(t,n){return qa(t,n)}var Qh=new W("");function jr(t){return!!t&&typeof t.then=="function"}function Xh(t){return!!t&&typeof t.subscribe=="function"}var Y1=new W(""),Jh=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=U(Y1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=o();if(jr(r))e.push(r);else if(Xh(r)){let s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),eb=new W("");function K1(){Qp(()=>{throw new pe(600,!1)})}function Q1(t){return t.isBoundToModule}var X1=10;function J1(t,n,e){try{let i=e();return jr(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}var hn=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=U(wC),this.afterRenderManager=U(n1),this.zonelessEnabled=U(Cu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new be,this.afterTick=new be,this.componentTypes=[],this.components=[],this.isStable=U(vo).hasPendingTasks.pipe(ue(e=>!e)),this._injector=U(Vt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let o=e instanceof ha;if(!this._injector.get(Jh).done){let w=!o&&gy(e),b=!1;throw new pe(405,b)}let s;o?s=e:s=this._injector.get(Zn).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=Q1(s)?void 0:this._injector.get(mo),l=i||s.selector,c=s.create(un.NULL,[],l,a),m=c.location.nativeElement,h=c.injector.get(Qh,null);return h?.registerApplication(m),c.onDestroy(()=>{this.detachView(c.hostView),Xs(this.components,c),h?.unregisterApplication(m)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new pe(101,!1);let e=_e(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,_e(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(po,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<X1;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:r}of this._views)eM(o,r,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Aa(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Xs(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(eb,[]);[...this._bootstrapListeners,...i].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Xs(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new pe(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Xs(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function eM(t,n,e,i){if(!e&&!Aa(t))return;kh(t,n,e&&!i?0:1)}var tM=(()=>{class t{constructor(){this.zone=U(Me),this.changeDetectionScheduler=U(uo),this.applicationRef=U(hn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function nM({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new Me(qe(re({},iM()),{scheduleInRootZone:e})),[{provide:Me,useFactory:t},{provide:pr,multi:!0,useFactory:()=>{let i=U(tM,{optional:!0});return()=>i.initialize()}},{provide:pr,multi:!0,useFactory:()=>{let i=U(oM);return()=>{i.initialize()}}},n===!0?{provide:Sh,useValue:!0}:[],{provide:Th,useValue:e??Pg}]}function iM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var oM=(()=>{class t{constructor(){this.subscription=new Ze,this.initialized=!1,this.zone=U(Me),this.pendingTasks=U(vo)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Me.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Me.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var rM=(()=>{class t{constructor(){this.appRef=U(hn),this.taskService=U(vo),this.ngZone=U(Me),this.zonelessEnabled=U(Cu),this.disableScheduling=U(Sh,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Ze,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(pa):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(U(Th,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ed||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Km:Ag;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(pa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Km(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function sM(){return typeof $localize<"u"&&$localize.locale||Ma}var Qa=new W("",{providedIn:"root",factory:()=>U(Qa,Ce.Optional|Ce.SkipSelf)||sM()});var Td=new W("");function qs(t){return!t.moduleRef}function aM(t){let n=qs(t)?t.r3Injector:t.moduleRef.injector,e=n.get(Me);return e.run(()=>{qs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(pn,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{i.handleError(r)}})}),qs(t)){let r=()=>n.destroy(),s=t.platformInjector.get(Td);s.add(r),n.onDestroy(()=>{o.unsubscribe(),s.delete(r)})}else{let r=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Td);s.add(r),t.moduleRef.onDestroy(()=>{Xs(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(r)})}return J1(i,e,()=>{let r=n.get(Jh);return r.runInitializers(),r.donePromise.then(()=>{let s=n.get(Qa,Ma);if(P1(s||Ma),qs(t)){let a=n.get(hn);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return lM(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function lM(t,n){let e=t.injector.get(hn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new pe(-403,!1);n.push(t)}var Js=null;function cM(t=[],n){return un.create({name:n,providers:[{provide:Ia,useValue:"platform"},{provide:Td,useValue:new Set([()=>Js=null])},...t]})}function dM(t=[]){if(Js)return Js;let n=cM(t);return Js=n,K1(),uM(n),n}function uM(t){t.get(ru,null)?.forEach(e=>e())}var We=(()=>{class t{static{this.__NG_ELEMENT_ID__=pM}}return t})();function pM(t){return mM(ut(),se(),(t&16)===16)}function mM(t,n,e){if(Oa(t)&&!e){let i=Yn(t.index,n);return new Ei(i,i)}else if(t.type&175){let i=n[kt];return new Ei(i,n)}return null}var Od=class{constructor(){}supports(n){return Lh(n)}create(n){return new Pd(n)}},fM=(t,n)=>n,Pd=class{constructor(n){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=n||fM}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){let s=!i||e&&e.currentIndex<yf(i,o,r)?e:i,a=yf(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{r||(r=[]);let c=a-o,m=l-o;if(c!=m){for(let w=0;w<c;w++){let b=w<r.length?r[w]:r[w]=0,T=b+w;m<=T&&T<c&&(r[w]=b+1)}let h=s.previousIndex;r[h]=m-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!Lh(n))throw new pe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,o,r,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,r,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,r,s,a)),Object.is(e.item,r)||this._addIdentityChange(e,r)),e=e._next}else o=0,Yx(n,a=>{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return n===null?r=this._itTail:(r=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new Ad(e,i),r,o)),n}_verifyReinsertion(n,e,i,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return r!==null?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}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(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,r=n._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new ka),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ka),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Ad=class{constructor(n,e){this.item=n,this.trackById=e,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}},Nd=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},ka=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Nd,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,o=this.map.get(i);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function yf(t,n,e){let i=t.previousIndex;if(i===null)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}var Fd=class{constructor(){}supports(n){return n instanceof Map||xu(n)}create(){return new Rd}},Rd=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(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||xu(n)))throw new pe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let i=new jd(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}},jd=class{constructor(n){this.key=n,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 Cf(){return new wo([new Od])}var wo=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:Cf})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Cf()),deps:[[t,new Pf,new Bd]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i!=null)return i;throw new pe(901,!1)}}return t})();function wf(){return new ku([new Fd])}var ku=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:wf})}constructor(e){this.factories=e}static create(e,i){if(i){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||wf()),deps:[[t,new Pf,new Bd]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i)return i;throw new pe(901,!1)}}return t})();function tb(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,o=dM(i),r=[nM({}),{provide:uo,useExisting:rM},...e||[]],s=new _a({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1});return aM({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}}function k(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Nt(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function Lr(t,n){Pi("NgSignals");let e=Zp(t);return n?.equal&&(e[Cn].equal=n.equal),e}function On(t){let n=_e(null);try{return t()}finally{_e(n)}}function Du(t,n){let e=yi(t),i=n.elementInjector||Sa();return new _r(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}var Xa={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return Xa.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Xa.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};function gM(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function hM(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function bM(t){return typeof t=="function"}var Eu;function vM(t,n){if(!Eu){let e=Element.prototype;Eu=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Eu.call(t,n):!1}function _M(t,n){return t===n||t!==t&&n!==n}function yM(t){let n={};return t.forEach(({propName:e,templateName:i,transform:o})=>{n[gM(i)]=[e,o]}),n}function CM(t,n){return n.get(Zn).resolveComponentFactory(t).inputs}function wM(t,n){let e=t.childNodes,i=n.map(()=>[]),o=-1;n.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=e.length;r<s;++r){let a=e[r],l=xM(a,n,o);l!==-1&&i[l].push(a)}return i}function xM(t,n,e){let i=e;return hM(t)&&n.some((o,r)=>o!=="*"&&vM(t,o)?(i=r,!0):!1),i}var MM=10,Iu=class{constructor(n,e){this.componentFactory=e.get(Zn).resolveComponentFactory(n)}create(n){return new Su(this.componentFactory,n)}},Su=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new Fn(1),this.events=this.eventEmitters.pipe(St(i=>xn(...i))),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:i})=>i)),this.ngZone=this.injector.get(Me),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Xa.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},MM))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}_M(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=un.create({providers:[],parent:this.injector}),i=wM(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(We),this.implementsOnChanges=bM(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(hn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:o})=>n.instance[i].pipe(ue(s=>({name:o,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Xa.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let o=this.unchangedInputs.has(n),r=o?void 0:this.getInputValue(n);this.inputChanges[n]=new hr(r,e,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},Tu=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Ae(t,n){let e=CM(t,n.injector),i=n.strategyFactory||new Iu(t,n.injector),o=yM(e);class r extends Tu{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let m=this[l];delete this[l],a.setInputValue(l,m,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,m){let[h,w]=o[a];this.ngElementStrategy.setInputValue(h,c,w)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),r}var rb=null;function Mo(){return rb}function sb(t){rb??=t}var el=class{};var tt=new W("");function tl(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[o,r]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var Ou=/\s+/,nb=[],ie=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=nb,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(Ou):nb}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Ou):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Ou).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(Xt))}}static{this.\u0275dir=K({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})();var Pu=class{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,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}},we=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new Pu(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(r===null?void 0:r);else if(r!==null){let a=i.get(r);i.move(a,s),ib(a,o)}});for(let o=0,r=i.length;o<r;o++){let a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let r=i.get(o.currentIndex);ib(r,o)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(v(gn),v(ke),v(wo))}}static{this.\u0275dir=K({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();function ib(t,n){t.context.$implicit=n.item}var Qe=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new Au,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){ob("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ob("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(v(gn),v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),Au=class{constructor(){this.$implicit=null,this.ngIf=null}};function ob(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Tt(n)}'.`)}var ko=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[o,r]=e.split("."),s=o.indexOf("-")===-1?void 0:mn.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(ku),v(Xt))}}static{this.\u0275dir=K({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return t})(),Pn=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static{this.\u0275fac=function(i){return new(i||t)(v(gn))}}static{this.\u0275dir=K({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[$e]})}}return t})();var L=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({})}}return t})(),Nu="browser",DM="server";function ab(t){return t===Nu}function nl(t){return t===DM}var xo=class{};var Br=class{},ol=class{},An=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
8
|
+
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=(n.op==="a"?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":let r=n.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>r.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Ru=class{encodeKey(n){return lb(n)}encodeValue(n){return lb(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function EM(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[s,a]=r==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var IM=/%(\d[a-f0-9])/gi,SM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lb(t){return encodeURIComponent(t).replace(IM,(n,e)=>SM[e]??n)}function il(t){return`${t}`}var Xn=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Ru,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=EM(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],o=Array.isArray(i)?i.map(il):[il(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(il(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],o=i.indexOf(il(n.value));o!==-1&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var ju=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function TM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function cb(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function db(t){return typeof Blob<"u"&&t instanceof Blob}function ub(t){return typeof FormData<"u"&&t instanceof FormData}function OM(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Vr=class t{constructor(n,e,i,o){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let r;if(TM(this.method)||o?(this.body=i!==void 0?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new An,this.context??=new ju,!this.params)this.params=new Xn,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||cb(this.body)||db(this.body)||ub(this.body)||OM(this.body)?this.body:this.body instanceof Xn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||ub(this.body)?null:db(this.body)?this.body.type||null:cb(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Xn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,r=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress,c=n.headers||this.headers,m=n.params||this.params,h=n.context??this.context;return n.setHeaders!==void 0&&(c=Object.keys(n.setHeaders).reduce((w,b)=>w.set(b,n.setHeaders[b]),c)),n.setParams&&(m=Object.keys(n.setParams).reduce((w,b)=>w.set(b,n.setParams[b]),m)),new t(e,i,s,{params:m,headers:c,context:h,reportProgress:l,responseType:o,withCredentials:a,transferCache:r})}},Jn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Jn||{}),zr=class{constructor(n,e=200,i="OK"){this.headers=n.headers||new An,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},rl=class t extends zr{constructor(n={}){super(n),this.type=Jn.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Hr=class t extends zr{constructor(n={}){super(n),this.type=Jn.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Qn=class extends zr{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},gb=200,PM=204;function Fu(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Bu=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof Vr)r=e;else{let l;o.headers instanceof An?l=o.headers:l=new An(o.headers);let c;o.params&&(o.params instanceof Xn?c=o.params:c=new Xn({fromObject:o.params})),r=new Vr(e,i,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=ye(r).pipe(It(l=>this.handler.handle(l)));if(e instanceof Vr||o.observe==="events")return s;let a=s.pipe(rn(l=>l instanceof Hr));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(ue(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ue(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ue(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(ue(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Xn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,Fu(o,i))}post(e,i,o={}){return this.request("POST",e,Fu(o,i))}put(e,i,o={}){return this.request("PUT",e,Fu(o,i))}static{this.\u0275fac=function(i){return new(i||t)(B(Br))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),AM=/^\)\]\}',?\n/,NM="X-Request-URL";function pb(t){if(t.url)return t.url;let n=NM.toLocaleLowerCase();return t.headers.get(n)}var FM=(()=>{class t{constructor(){this.fetchImpl=U(Lu,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=U(Me)}handle(e){return new ge(i=>{let o=new AbortController;return this.doRequest(e,o.signal,i).then(Vu,r=>i.error(new Qn({error:r}))),()=>o.abort()})}doRequest(e,i,o){return yn(this,null,function*(){let r=this.createRequestInit(e),s;try{let b=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,re({signal:i},r)));RM(b),o.next({type:Jn.Sent}),s=yield b}catch(b){o.error(new Qn({error:b,status:b.status??0,statusText:b.statusText,url:e.urlWithParams,headers:b.headers}));return}let a=new An(s.headers),l=s.statusText,c=pb(s)??e.urlWithParams,m=s.status,h=null;if(e.reportProgress&&o.next(new rl({headers:a,status:m,statusText:l,url:c})),s.body){let b=s.headers.get("content-length"),T=[],O=s.body.getReader(),R=0,V,Z,fe=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>yn(this,null,function*(){for(;;){let{done:ze,value:te}=yield O.read();if(ze)break;if(T.push(te),R+=te.length,e.reportProgress){Z=e.responseType==="text"?(Z??"")+(V??=new TextDecoder).decode(te,{stream:!0}):void 0;let Ge=()=>o.next({type:Jn.DownloadProgress,total:b?+b:void 0,loaded:R,partialText:Z});fe?fe.run(Ge):Ge()}}}));let Ve=this.concatChunks(T,R);try{let ze=s.headers.get("Content-Type")??"";h=this.parseBody(e,Ve,ze)}catch(ze){o.error(new Qn({error:ze,headers:new An(s.headers),status:s.status,statusText:s.statusText,url:pb(s)??e.urlWithParams}));return}}m===0&&(m=h?gb:0),m>=200&&m<300?(o.next(new Hr({body:h,headers:a,status:m,statusText:l,url:c})),o.complete()):o.error(new Qn({error:h,headers:a,status:m,statusText:l,url:c}))})}parseBody(e,i,o){switch(e.responseType){case"json":let r=new TextDecoder().decode(i).replace(AM,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((r,s)=>i[r]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(i["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:o}}concatChunks(e,i){let o=new Uint8Array(i),r=0;for(let s of e)o.set(s,r),r+=s.length;return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Lu=class{};function Vu(){}function RM(t){t.then(Vu,Vu)}function jM(t,n){return n(t)}function LM(t,n,e){return(i,o)=>Zf(e,()=>n(i,r=>t(r,o)))}var hb=new W(""),VM=new W(""),BM=new W("",{providedIn:"root",factory:()=>!0});var mb=(()=>{class t extends Br{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=U(vo),this.contributeToStability=U(BM)}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(hb),...this.injector.get(VM,[])]));this.chain=i.reduceRight((o,r)=>LM(o,r,this.injector),jM)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(yc(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||t)(B(ol),B(Vt))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})();var zM=/^\)\]\}',?\n/;function HM(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var fb=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new pe(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Be(i.\u0275loadImpl()):ye(null)).pipe(St(()=>new ge(r=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((O,R)=>s.setRequestHeader(O,R.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let O=e.detectContentTypeHeader();O!==null&&s.setRequestHeader("Content-Type",O)}if(e.responseType){let O=e.responseType.toLowerCase();s.responseType=O!=="json"?O:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let O=s.statusText||"OK",R=new An(s.getAllResponseHeaders()),V=HM(s)||e.url;return l=new rl({headers:R,status:s.status,statusText:O,url:V}),l},m=()=>{let{headers:O,status:R,statusText:V,url:Z}=c(),fe=null;R!==PM&&(fe=typeof s.response>"u"?s.responseText:s.response),R===0&&(R=fe?gb:0);let Ve=R>=200&&R<300;if(e.responseType==="json"&&typeof fe=="string"){let ze=fe;fe=fe.replace(zM,"");try{fe=fe!==""?JSON.parse(fe):null}catch(te){fe=ze,Ve&&(Ve=!1,fe={error:te,text:fe})}}Ve?(r.next(new Hr({body:fe,headers:O,status:R,statusText:V,url:Z||void 0})),r.complete()):r.error(new Qn({error:fe,headers:O,status:R,statusText:V,url:Z||void 0}))},h=O=>{let{url:R}=c(),V=new Qn({error:O,status:s.status||0,statusText:s.statusText||"Unknown Error",url:R||void 0});r.error(V)},w=!1,b=O=>{w||(r.next(c()),w=!0);let R={type:Jn.DownloadProgress,loaded:O.loaded};O.lengthComputable&&(R.total=O.total),e.responseType==="text"&&s.responseText&&(R.partialText=s.responseText),r.next(R)},T=O=>{let R={type:Jn.UploadProgress,loaded:O.loaded};O.lengthComputable&&(R.total=O.total),r.next(R)};return s.addEventListener("load",m),s.addEventListener("error",h),s.addEventListener("timeout",h),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",b),a!==null&&s.upload&&s.upload.addEventListener("progress",T)),s.send(a),r.next({type:Jn.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",m),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",b),a!==null&&s.upload&&s.upload.removeEventListener("progress",T)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||t)(B(xo))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),bb=new W(""),$M="XSRF-TOKEN",UM=new W("",{providedIn:"root",factory:()=>$M}),WM="X-XSRF-TOKEN",GM=new W("",{providedIn:"root",factory:()=>WM}),sl=class{},qM=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=tl(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||t)(B(tt),B(fn),B(UM))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})();function ZM(t,n){let e=t.url.toLowerCase();if(!U(bb)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=U(sl).getToken(),o=U(GM);return i!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}function vb(...t){let n=[Bu,fb,mb,{provide:Br,useExisting:mb},{provide:ol,useFactory:()=>U(FM,{optional:!0})??U(fb)},{provide:hb,useValue:ZM,multi:!0},{provide:bb,useValue:!0},{provide:sl,useClass:qM}];for(let e of t)n.push(...e.\u0275providers);return Ud(n)}var $u=class extends el{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Uu=class t extends $u{static makeCurrent(){sb(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=KM();return e==null?null:QM(e)}resetBaseElement(){$r=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return tl(document.cookie,n)}},$r=null;function KM(){return $r=$r||document.querySelector("base"),$r?$r.getAttribute("href"):null}function QM(t){return new URL(t,document.baseURI).pathname}var XM=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Wu=new W(""),wb=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new pe(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(B(Wu),B(Me))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),al=class{constructor(n){this._doc=n}},zu="ng-app-id",xb=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=nl(r),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${zu}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(zu),r;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zu,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(B(tt),B(La),B(Ir,8),B(fn))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Hu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},qu=/%COMP%/g,Mb="%COMP%",JM=`_nghost-${Mb}`,ek=`_ngcontent-${Mb}`,tk=!0,nk=new W("",{providedIn:"root",factory:()=>tk});function ik(t){return ek.replace(qu,t)}function ok(t){return JM.replace(qu,t)}function kb(t,n){return n.map(e=>e.replace(qu,t))}var _b=(()=>{class t{constructor(e,i,o,r,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=nl(a),this.defaultRenderer=new Ur(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===ln.ShadowDom&&(i=qe(re({},i),{encapsulation:ln.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof ll?o.applyToHost(e):o instanceof Wr&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,r=o.get(i.id);if(!r){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case ln.Emulated:r=new ll(l,c,i,this.appId,m,s,a,h);break;case ln.ShadowDom:return new Gu(l,c,e,i,s,a,this.nonce,h);default:r=new Wr(l,c,i,m,s,a,h);break}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(B(wb),B(xb),B(La),B(nk),B(tt),B(fn),B(Me),B(Ir))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Ur=class{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(Hu[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(yb(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(yb(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new pe(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;let r=Hu[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let o=Hu[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(mn.DashCase|mn.Important)?n.style.setProperty(e,i,o&mn.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&mn.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=Mo().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function yb(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Gu=class extends Ur{constructor(n,e,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=kb(o.id,o.styles);for(let m of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=m,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Wr=class extends Ur{constructor(n,e,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=l?kb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ll=class extends Wr{constructor(n,e,i,o,r,s,a,l){let c=o+"-"+i.id;super(n,e,i,r,s,a,l,c),this.contentAttr=ik(c),this.hostAttr=ok(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},rk=(()=>{class t extends al{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static{this.\u0275fac=function(i){return new(i||t)(B(tt))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Cb=["alt","control","meta","shift"],sk={"\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"},ak={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},lk=(()=>{class t extends al{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mo().onAndCancel(e,r.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Cb.forEach(c=>{let m=i.indexOf(c);m>-1&&(i.splice(m,1),s+=c+".")}),s+=r,i.length!=0||r.length===0)return null;let l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let o=sk[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Cb.forEach(s=>{if(s!==o){let a=ak[s];a(e)&&(r+=s+".")}}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(B(tt))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})();function Db(t){return tb(ck(t))}function ck(t){return{appProviders:[...fk,...t?.providers??[]],platformProviders:mk}}function dk(){Uu.makeCurrent()}function uk(){return new pn}function pk(){return Bg(document),document}var mk=[{provide:fn,useValue:Nu},{provide:ru,useValue:dk,multi:!0},{provide:tt,useFactory:pk,deps:[]}];var fk=[{provide:Ia,useValue:"root"},{provide:pn,useFactory:uk,deps:[]},{provide:Wu,useClass:rk,multi:!0,deps:[tt,Me,fn]},{provide:Wu,useClass:lk,multi:!0,deps:[tt]},_b,xb,wb,{provide:po,useExisting:_b},{provide:xo,useClass:XM,deps:[]},[]];var Nb=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||t)(v(Xt),v(G))}}static{this.\u0275dir=K({type:t})}}return t})(),gk=(()=>{class t extends Nb{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})()}static{this.\u0275dir=K({type:t,features:[q]})}}return t})(),ml=new W("");var hk={provide:ml,useExisting:Si(()=>Fb),multi:!0};function bk(){let t=Mo()?Mo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var vk=new W(""),Fb=(()=>{class t extends Nb{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!bk())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||t)(v(Xt),v(G),v(vk,8))}}static{this.\u0275dir=K({type:t,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(i,o){i&1&&_("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ne([hk]),q]})}}return t})();var _k=new W(""),yk=new W("");function Rb(t){return t!=null}function jb(t){return jr(t)?Be(t):t}function Lb(t){let n={};return t.forEach(e=>{n=e!=null?re(re({},n),e):n}),Object.keys(n).length===0?null:n}function Vb(t,n){return n.map(e=>e(t))}function Ck(t){return!t.validate}function Bb(t){return t.map(n=>Ck(n)?n:e=>n.validate(e))}function wk(t){if(!t)return null;let n=t.filter(Rb);return n.length==0?null:function(e){return Lb(Vb(e,n))}}function zb(t){return t!=null?wk(Bb(t)):null}function xk(t){if(!t)return null;let n=t.filter(Rb);return n.length==0?null:function(e){let i=Vb(e,n).map(jb);return or(i).pipe(ue(Lb))}}function Hb(t){return t!=null?xk(Bb(t)):null}function Eb(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function Mk(t){return t._rawValidators}function kk(t){return t._rawAsyncValidators}function Zu(t){return t?Array.isArray(t)?t:[t]:[]}function dl(t,n){return Array.isArray(t)?t.includes(n):t===n}function Ib(t,n){let e=Zu(n);return Zu(t).forEach(o=>{dl(e,o)||e.push(o)}),e}function Sb(t,n){return Zu(n).filter(e=>!dl(t,e))}var ul=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(n){this._rawValidators=n||[],this._composedValidatorFn=zb(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Hb(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Yu=class extends ul{get formDirective(){return null}get path(){return null}},Kr=class extends ul{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Ku=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Dk={"[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"},lV=qe(re({},Dk),{"[class.ng-submitted]":"isSubmitted"}),So=(()=>{class t extends Ku{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(v(Kr,2))}}static{this.\u0275dir=K({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Y("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[q]})}}return t})();var Gr="VALID",cl="INVALID",Do="PENDING",qr="DISABLED",Io=class{},pl=class extends Io{constructor(n,e){super(),this.value=n,this.source=e}},Zr=class extends Io{constructor(n,e){super(),this.pristine=n,this.source=e}},Yr=class extends Io{constructor(n,e){super(),this.touched=n,this.source=e}},Eo=class extends Io{constructor(n,e){super(),this.status=n,this.source=e}};function Ek(t){return(fl(t)?t.validators:t)||null}function Ik(t){return Array.isArray(t)?zb(t):t||null}function Sk(t,n){return(fl(n)?n.asyncValidators:t)||null}function Tk(t){return Array.isArray(t)?Hb(t):t||null}function fl(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var Qu=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Lr(()=>this.statusReactive()),this.statusReactive=Ar(void 0),this._pristine=Lr(()=>this.pristineReactive()),this.pristineReactive=Ar(!0),this._touched=Lr(()=>this.touchedReactive()),this.touchedReactive=Ar(!1),this._events=new be,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return On(this.statusReactive)}set status(n){On(()=>this.statusReactive.set(n))}get valid(){return this.status===Gr}get invalid(){return this.status===cl}get pending(){return this.status==Do}get disabled(){return this.status===qr}get enabled(){return this.status!==qr}get pristine(){return On(this.pristineReactive)}set pristine(n){On(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return On(this.touchedReactive)}set touched(n){On(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Ib(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Ib(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Sb(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Sb(n,this._rawAsyncValidators))}hasValidator(n){return dl(this._rawValidators,n)}hasAsyncValidator(n){return dl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(qe(re({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Yr(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Yr(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(qe(re({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Zr(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Zr(!0,i))}markAsPending(n={}){this.status=Do;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Eo(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(qe(re({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=qr,this.errors=null,this._forEachChild(o=>{o.disable(qe(re({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new pl(this.value,i)),this._events.next(new Eo(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(qe(re({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Gr,this._forEachChild(i=>{i.enable(qe(re({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(qe(re({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Gr||this.status===Do)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new pl(this.value,e)),this._events.next(new Eo(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(qe(re({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qr:Gr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Do,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=jb(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new Eo(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new M,this.statusChanges=new M}_calculateStatus(){return this._allControlsDisabled()?qr:this.errors?cl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Do)?Do:this._anyControlsHaveStatus(cl)?cl:Gr}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),o=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),o&&this._events.next(new Zr(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Yr(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){fl(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=Ik(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=Tk(this._rawAsyncValidators)}};var $b=new W("CallSetDisabledState",{providedIn:"root",factory:()=>Xu}),Xu="always";function Ok(t,n){return[...n.path,t]}function Pk(t,n,e=Xu){Nk(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),Fk(t,n),jk(t,n),Rk(t,n),Ak(t,n)}function Tb(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Ak(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Nk(t,n){let e=Mk(t);n.validator!==null?t.setValidators(Eb(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=kk(t);n.asyncValidator!==null?t.setAsyncValidators(Eb(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let o=()=>t.updateValueAndValidity();Tb(n._rawValidators,o),Tb(n._rawAsyncValidators,o)}function Fk(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Ub(t,n)})}function Rk(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Ub(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function Ub(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function jk(t,n){let e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function Lk(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function Vk(t){return Object.getPrototypeOf(t.constructor)===gk}function Bk(t,n){if(!n)return null;Array.isArray(n);let e,i,o;return n.forEach(r=>{r.constructor===Fb?e=r:Vk(r)?i=r:o=r}),o||i||e||null}function Ob(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Pb(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var zk=class extends Qu{constructor(n=null,e,i){super(Ek(e),Sk(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),fl(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Pb(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Ob(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Ob(this._onDisabledChange,n)}_forEachChild(n){}_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(n){Pb(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var Hk={provide:Kr,useExisting:Si(()=>Ai)},Ab=Promise.resolve(),Ai=(()=>{class t extends Kr{constructor(e,i,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new zk,this._registered=!1,this.name="",this.update=new M,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Bk(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Lk(e,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(e){this.viewModel=e,this.update.emit(e)}_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(){Pk(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(e){Ab.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&k(i);Ab.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Ok(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(v(Yu,9),v(_k,10),v(yk,10),v(ml,10),v(We,8),v($b,8))}}static{this.\u0275dir=K({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ne([Hk]),q,$e]})}}return t})();var $k=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({})}}return t})();var To=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:$b,useValue:e.callSetDisabledState??Xu}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[$k]})}}return t})();var Uk=["content"],Wk=["scroll"],Gk=["padding"],qb=["*"],Xr=t=>({searchTerm:t});function qk(t,n){if(t&1&&(p(0,"div",3),at(1,6),f()),t&2){let e=u();d(),g("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",Oe(2,Xr,e.filterValue))}}function Zk(t,n){if(t&1&&(p(0,"div",5),at(1,6),f()),t&2){let e=u();d(),g("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",Oe(2,Xr,e.filterValue))}}var Yk=["searchInput"],Kk=["clearButton"],Qk=(t,n,e)=>({item:t,clear:n,label:e}),Xk=(t,n)=>({items:t,clear:n}),Jk=(t,n,e,i)=>({item:t,item$:n,index:e,searchTerm:i});function eD(t,n){if(t&1&&(p(0,"div",20),D(1),f()),t&2){let e=u(2);d(),ee(e.placeholder)}}function tD(t,n){}function nD(t,n){if(t&1&&x(0,eD,2,1,"ng-template",null,1,yt)(2,tD,0,0,"ng-template",19),t&2){let e=et(1),i=u();d(2),g("ngTemplateOutlet",i.placeholderTemplate||e)}}function iD(t,n){if(t&1){let e=A();p(0,"span",23),_("click",function(){y(e);let o=u().$implicit,r=u(2);return C(r.unselect(o))}),D(1,"\xD7"),f(),E(2,"span",24)}if(t&2){let e=u().$implicit,i=u(2);d(2),g("ngItemLabel",e.label)("escape",i.escapeHTML)}}function oD(t,n){}function rD(t,n){if(t&1&&(p(0,"div",22),x(1,iD,3,2,"ng-template",null,2,yt)(3,oD,0,0,"ng-template",12),f()),t&2){let e=n.$implicit,i=et(2),o=u(2);Y("ng-value-disabled",e.disabled),d(3),g("ngTemplateOutlet",o.labelTemplate||i)("ngTemplateOutletContext",gt(4,Qk,e.value,o.clearItem,e.label))}}function sD(t,n){if(t&1&&Jt(0,rD,4,8,"div",21,Mu().trackByOption,!0),t&2){let e=u();en(e.selectedItems)}}function aD(t,n){}function lD(t,n){if(t&1&&x(0,aD,0,0,"ng-template",12),t&2){let e=u();g("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",ft(2,Xk,e.selectedValues,e.clearItem))}}function cD(t,n){t&1&&E(0,"div",25)}function dD(t,n){}function uD(t,n){if(t&1&&x(0,cD,1,0,"ng-template",null,3,yt)(2,dD,0,0,"ng-template",19),t&2){let e=et(1),i=u();d(2),g("ngTemplateOutlet",i.loadingSpinnerTemplate||e)}}function pD(t,n){if(t&1&&(p(0,"span",15,4)(2,"span",26),D(3,"\xD7"),f()()),t&2){let e=u();ve("title",e.clearAllText)}}function mD(t,n){if(t&1&&E(0,"span",31),t&2){let e=u().$implicit,i=u(2);g("ngItemLabel",e.label)("escape",i.escapeHTML)}}function fD(t,n){}function gD(t,n){if(t&1){let e=A();p(0,"div",30),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r.toggleItem(o))})("mouseover",function(){let o=y(e).$implicit,r=u(2);return C(r.onItemHover(o))}),x(1,mD,1,2,"ng-template",null,5,yt)(3,fD,0,0,"ng-template",12),f()}if(t&2){let e=n.$implicit,i=et(2),o=u(2);Y("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===o.itemsList.markedItem),X("role",e.children?"group":"option")("aria-selected",e.selected)("id",e==null?null:e.htmlId),d(3),g("ngTemplateOutlet",e.children?o.optgroupTemplate||i:o.optionTemplate||i)("ngTemplateOutletContext",Ya(17,Jk,e.value,e,e.index,o.searchTerm))}}function hD(t,n){if(t&1&&(p(0,"span")(1,"span",33),D(2),f(),D(3),f()),t&2){let e=u(3);d(2),ee(e.addTagText),d(),H('"',e.searchTerm,'"')}}function bD(t,n){}function vD(t,n){if(t&1){let e=A();p(0,"div",32),_("mouseover",function(){y(e);let o=u(2);return C(o.itemsList.unmarkItem())})("click",function(){y(e);let o=u(2);return C(o.selectTag())}),x(1,hD,4,2,"ng-template",null,6,yt)(3,bD,0,0,"ng-template",12),f()}if(t&2){let e=et(2),i=u(2);Y("ng-option-marked",!i.itemsList.markedItem),d(3),g("ngTemplateOutlet",i.tagTemplate||e)("ngTemplateOutletContext",Oe(4,Xr,i.searchTerm))}}function _D(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ee(e.notFoundText)}}function yD(t,n){}function CD(t,n){if(t&1&&x(0,_D,2,1,"ng-template",null,7,yt)(2,yD,0,0,"ng-template",12),t&2){let e=et(1),i=u(2);d(2),g("ngTemplateOutlet",i.notFoundTemplate||e)("ngTemplateOutletContext",Oe(2,Xr,i.searchTerm))}}function wD(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ee(e.typeToSearchText)}}function xD(t,n){}function MD(t,n){if(t&1&&x(0,wD,2,1,"ng-template",null,8,yt)(2,xD,0,0,"ng-template",19),t&2){let e=et(1),i=u(2);d(2),g("ngTemplateOutlet",i.typeToSearchTemplate||e)}}function kD(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ee(e.loadingText)}}function DD(t,n){}function ED(t,n){if(t&1&&x(0,kD,2,1,"ng-template",null,9,yt)(2,DD,0,0,"ng-template",12),t&2){let e=et(1),i=u(2);d(2),g("ngTemplateOutlet",i.loadingTextTemplate||e)("ngTemplateOutletContext",Oe(2,Xr,i.searchTerm))}}function ID(t,n){if(t&1){let e=A();p(0,"ng-dropdown-panel",27),_("update",function(o){y(e);let r=u();return C(r.viewPortItems=o)})("scroll",function(o){y(e);let r=u();return C(r.scroll.emit(o))})("scrollToEnd",function(o){y(e);let r=u();return C(r.scrollToEnd.emit(o))})("outsideClick",function(){y(e);let o=u();return C(o.close())}),pt(1),Jt(2,gD,4,22,"div",28,Mu().trackByOption,!0),x(4,vD,4,6,"div",29),mt(),x(5,CD,3,4)(6,MD,3,1)(7,ED,3,4),f()}if(t&2){let e=u();Y("ng-select-multiple",e.multiple),g("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.ngClass?e.ngClass:e.classes:null)("id",e.dropdownId),d(2),en(e.viewPortItems),d(2),j(e.showAddTag?4:-1),d(),j(e.showNoItemsFound()?5:-1),d(),j(e.showTypeToSearch()?6:-1),d(),j(e.loading&&e.itemsList.filteredItems.length===0?7:-1)}}var Zb=/[&<>"']/g,SD=RegExp(Zb.source),TD={"&":"&","<":"<",">":">",'"':""","'":"'"};function OD(t){return t&&SD.test(t)?t.replace(Zb,n=>TD[n]):t}function Je(t){return t!=null}function Qr(t){return typeof t=="object"&&Je(t)}function PD(t){return t instanceof Promise}function hl(t){return t instanceof Function}var AD=(()=>{class t{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?OD(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275dir=K({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},standalone:!0,features:[$e]})}}return t})(),ND=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-option-tmp",""]],standalone:!0})}}return t})(),FD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-optgroup-tmp",""]],standalone:!0})}}return t})(),RD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-label-tmp",""]],standalone:!0})}}return t})(),jD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-multi-label-tmp",""]],standalone:!0})}}return t})(),LD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-header-tmp",""]],standalone:!0})}}return t})(),VD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-footer-tmp",""]],standalone:!0})}}return t})(),BD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-notfound-tmp",""]],standalone:!0})}}return t})(),zD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-placeholder-tmp",""]],standalone:!0})}}return t})(),HD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-typetosearch-tmp",""]],standalone:!0})}}return t})(),$D=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-loadingtext-tmp",""]],standalone:!0})}}return t})(),UD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-tag-tmp",""]],standalone:!0})}}return t})(),WD=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","ng-loadingspinner-tmp",""]],standalone:!0})}}return t})();function Yb(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var GD={"\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 gl(t){let n=e=>GD[e]||e;return t.replace(/[^\u0000-\u007E]/g,n)}var ep=class{constructor(n,e){this._ngSelect=n,this._selectionModel=e,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 n=this.selectedItems.length-1;for(;n>=0;n--){let e=this.selectedItems[n];if(!e.disabled)return e}return null}setItems(n){this._items=n.map((e,i)=>this.mapItem(e,i)),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(n){if(n.selected||this.maxItemsSelected)return;let e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(n,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(n)}unselect(n){n.selected&&(this._selectionModel.unselect(n,this._ngSelect.multiple),this._ngSelect.hideSelected&&Je(n.index)&&this._ngSelect.multiple&&this._showSelected(n))}findItem(n){let e;return this._ngSelect.compareWith?e=i=>this._ngSelect.compareWith(i.value,n):this._ngSelect.bindValue?e=i=>!i.children&&this.resolveNested(i.value,this._ngSelect.bindValue)===n:e=i=>i.value===n||!i.children&&i.label&&i.label===this.resolveNested(n,this._ngSelect.bindLabel),this._items.find(i=>e(i))}addItem(n){let e=this.mapItem(n,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(n=!1){this._selectionModel.clear(n),this._items.forEach(e=>{e.selected=n&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(n){return n=gl(n).toLocaleLowerCase(),this.filteredItems.find(e=>gl(e.label).toLocaleLowerCase().substr(0,n.length)===n)}filter(n){if(!n){this.resetFilteredItems();return}this._filteredItems=[],n=this._ngSelect.searchFn?n:gl(n).toLocaleLowerCase();let e=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(i&&(s.parent&&s.parent.selected||s.selected))continue;let a=this._ngSelect.searchFn?s.value:s;e(n,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(n=>!n.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(n){this._markedIndex=this._filteredItems.indexOf(n)}markSelectedOrDefault(n){if(this._filteredItems.length===0)return;let e=this._getLastMarkedIndex();e>-1?this._markedIndex=e:this._markedIndex=n?this.filteredItems.findIndex(i=>!i.disabled):-1}resolveNested(n,e){if(!Qr(n))return n;if(e.indexOf(".")===-1)return n[e];{let i=e.split("."),o=n;for(let r=0,s=i.length;r<s;++r){if(o==null)return null;o=o[i[r]]}return o}}mapItem(n,e){let i=Je(n.$ngOptionLabel)?n.$ngOptionLabel:this.resolveNested(n,this._ngSelect.bindLabel),o=Je(n.$ngOptionValue)?n.$ngOptionValue:n;return{index:e,label:Je(i)?i.toString():"",value:o,disabled:n.disabled,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){let n=this._ngSelect.multiple;for(let e of this.selectedItems){let i=this._ngSelect.bindValue?this.resolveNested(e.value,this._ngSelect.bindValue):e.value,o=Je(i)?this.findItem(i):null;this._selectionModel.unselect(e,n),this._selectionModel.select(o||e,n,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>this.selectedItems.indexOf(e)===-1))}_showSelected(n){if(this._filteredItems.push(n),n.parent){let e=n.parent;this._filteredItems.find(o=>o===e)||this._filteredItems.push(e)}else if(n.children)for(let e of n.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,i)=>e.index-i.index)]}_hideSelected(n){this._filteredItems=this._filteredItems.filter(e=>e!==n),n.parent?n.parent.children.every(i=>i.selected)&&(this._filteredItems=this._filteredItems.filter(i=>i!==n.parent)):n.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==n))}_defaultSearchFn(n,e){return gl(e.label).toLocaleLowerCase().indexOf(n)>-1}_getNextItemIndex(n){return n>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(n){this._filteredItems.length===0||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(n),this.markedItem.disabled&&this._stepToItem(n))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let n=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&n<0?-1:Math.max(this.markedIndex,n)}_groupBy(n,e){let i=new Map;if(n.length===0)return i;if(Array.isArray(n[0].value[e])){for(let s of n){let a=(s.value[e]||[]).map((l,c)=>this.mapItem(l,c));i.set(s,a)}return i}let o=hl(this._ngSelect.groupBy),r=s=>{let a=o?e(s.value):s.value[e];return Je(a)?a:void 0};for(let s of n){let a=r(s),l=i.get(a);l?l.push(s):i.set(a,[s])}return i}_flatten(n){let e=hl(this._ngSelect.groupBy),i=[];for(let o of Array.from(n.keys())){let r=i.length;if(o===void 0){let h=n.get(void 0)||[];i.push(...h.map(w=>(w.index=r++,w)));continue}let s=Qr(o),a={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:Yb()},l=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,c=this._ngSelect.groupValue||(()=>s?o.value:{[l]:o}),m=n.get(o).map(h=>(h.parent=a,h.children=void 0,h.index=r++,h));a.children=m,a.value=c(o,m.map(h=>h.value)),i.push(a),i.push(...m)}return i}},bn=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}(bn||{}),Kb=(()=>{class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,i,o){let r=this._dimensions,s=r.itemHeight*i,l=Math.max(0,e)/s*i,c=Math.min(i,Math.ceil(l)+(r.itemsPerViewport+1)),h=Math.max(0,c-r.itemsPerViewport),w=Math.min(h,Math.floor(l)),b=r.itemHeight*Math.ceil(w)-r.itemHeight*Math.min(w,o);return b=isNaN(b)?0:b,w=isNaN(w)?-1:w,c=isNaN(c)?-1:c,w-=o,w=Math.max(0,w),c+=o,c=Math.min(i,c),{topPadding:b,scrollHeight:s,start:w,end:c}}setDimensions(e,i){let o=Math.max(1,Math.floor(i/e));this._dimensions={itemHeight:e,panelHeight:i,itemsPerViewport:o}}getScrollTo(e,i,o){let{panelHeight:r}=this.dimensions,s=e+i,a=o,l=a+r;return r>=s&&o===e?null:s>l?a+s-l:e<=a?e:null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Wb=["top","right","bottom","left"],qD=typeof requestAnimationFrame<"u"?bc:hc,Gb=(()=>{class t{constructor(e,i,o,r,s){this._renderer=e,this._zone=i,this._panelService=o,this._document=s,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new M,this.scroll=new M,this.scrollToEnd=new M,this.outsideClick=new M,this._destroy$=new be,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:e,panelHeight:i}=this._panelService.dimensions,o=this.markedItem.index*e;return i>o?0:o}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(e){if(e.items){let i=e.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,i=!1){if(!e)return;let o=this.items.indexOf(e);if(o<0||o>=this.itemsLength)return;let r;if(this.virtualScroll){let s=this._panelService.dimensions.itemHeight;r=this._panelService.getScrollTo(o*s,s,this._lastScrollPosition)}else{let s=this._dropdown.querySelector(`#${e.htmlId}`),a=i?s.offsetTop:this._lastScrollPosition;r=this._panelService.getScrollTo(s.offsetTop,s.clientHeight,a)}Je(r)&&(this._scrollablePanel.scrollTop=r)}scrollToTag(){let e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Wb.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){Wb.forEach(o=>{let r=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,r),this._renderer.removeClass(this._select,r)});let i=`ng-select-${e}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{Vn(this.scrollElementRef.nativeElement,"scroll").pipe(rt(this._destroy$),_c(0,qD)).subscribe(e=>{let i=e.path||e.composedPath&&e.composedPath();if(!i||i.length===0&&!e.target)return;let o=!i||i.length===0?e.target.scrollTop:i[0].scrollTop;this._onContentScrolled(o)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{xn(Vn(this._document,"touchstart",{capture:!0}),Vn(this._document,"click",{capture:!0})).pipe(rt(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let i=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,i){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(e){this.update.emit(this.items),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let i=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,i),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel.scrollTop;let i=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),Je(e)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding.style.height=`${o*this.itemsLength}px`;let r=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(o,r),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let i=this.virtualScroll?this._virtualPadding:this._contentPanel;e+this._dropdown.clientHeight>=i.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if(this.position!=="auto")return this.position;let i=this._select.getBoundingClientRect(),o=document.documentElement.scrollTop||document.body.scrollTop,r=i.top+window.pageYOffset,s=i.height,a=e.getBoundingClientRect().height;return r+s+a>o+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 e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.left-i.left;this._dropdown.style.left=o+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let r=i.bottom-e.bottom;this._dropdown.style.bottom=r+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let r=e.top-i.top;this._dropdown.style.top=r+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{Vn(this._dropdown,"mousedown").pipe(rt(this._destroy$)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}static{this.\u0275fac=function(i){return new(i||t)(v(Xt),v(Me),v(Kb),v(G),v(tt,8))}}static{this.\u0275cmp=I({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(i,o){if(i&1&&(nt(Uk,7,G),nt(Wk,7,G),nt(Gk,7,G)),i&2){let r;Ie(r=Se())&&(o.contentElementRef=r.first),Ie(r=Se())&&(o.scrollElementRef=r.first),Ie(r=Se())&&(o.paddingElementRef=r.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",k],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},standalone:!0,features:[he,$e,S],ngContentSelectors:qb,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){i&1&&(je(),x(0,qk,2,4,"div",3),p(1,"div",4,0),E(3,"div",null,1),p(5,"div",null,2),Ee(7),f()(),x(8,Zk,2,4,"div",5)),i&2&&(j(o.headerTemplate?0:-1),d(3),Y("total-padding",o.virtualScroll),d(2),Y("scrollable-content",o.virtualScroll&&o.items.length),d(3),j(o.footerTemplate?8:-1))},dependencies:[Pn],encapsulation:2,changeDetection:0})}}return t})(),Ni=(()=>{class t{constructor(e){this.elementRef=e,this.disabled=!1,this.stateChange$=new be}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.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()}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275cmp=I({type:t,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",k]},standalone:!0,features:[he,$e,S],ngContentSelectors:qb,decls:1,vars:0,template:function(i,o){i&1&&(je(),Ee(0))},encapsulation:2,changeDetection:0})}}return t})();function Qb(){return new tp}var tp=class{constructor(){this._selected=[]}get value(){return this._selected}select(n,e,i){if(n.selected=!0,(!n.children||!e&&i)&&this._selected.push(n),e)if(n.parent){let o=n.parent.children.length,r=n.parent.children.filter(s=>s.selected).length;n.parent.selected=o===r}else n.children&&(this._setChildrenSelectedState(n.children,!0),this._removeChildren(n),i&&this._activeChildren(n)?this._selected=[...this._selected.filter(o=>o.parent!==n),n]:this._selected=[...this._selected,...n.children.filter(o=>!o.disabled)])}unselect(n,e){if(this._selected=this._selected.filter(i=>i!==n),n.selected=!1,e)if(n.parent&&n.parent.selected){let i=n.parent.children;this._removeParent(n.parent),this._removeChildren(n.parent),this._selected.push(...i.filter(o=>o!==n&&!o.disabled)),n.parent.selected=!1}else n.children&&(this._setChildrenSelectedState(n.children,!1),this._removeChildren(n))}clear(n){this._selected=n?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(n,e){for(let i of n)i.disabled||(i.selected=e)}_removeChildren(n){this._selected=[...this._selected.filter(e=>e.parent!==n),...n.children.filter(e=>e.parent===n&&e.disabled&&e.selected)]}_removeParent(n){this._selected=this._selected.filter(e=>e!==n)}_activeChildren(n){return n.children.every(e=>!e.disabled||e.selected)}},ZD=(()=>{class t{constructor(){this.fixedPlaceholder=!0,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"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),YD=(()=>{class t{warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Xb=new W("ng-select-selection-model"),Oo=(()=>{class t{constructor(e,i,o,r,s,a,l){this.classes=e,this.autoFocus=i,this.config=o,this._cd=a,this._console=l,this.markFirst=!0,this.fixedPlaceholder=!0,this.preventToggleOnRightClick=!1,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.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new M,this.focusEvent=new M,this.changeEvent=new M,this.openEvent=new M,this.closeEvent=new M,this.searchEvent=new M,this.clearEvent=new M,this.addEvent=new M,this.removeEvent=new M,this.scroll=new M,this.scrollToEnd=new M,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Yb(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new be,this._keyPress$=new be,this._items=[],this.keyDownFn=c=>!0,this.clearItem=c=>{let m=this.selectedItems.find(h=>h.value===c);this.unselect(m)},this.trackByOption=(c,m)=>this.trackByFn?this.trackByFn(m.value):m,this._onChange=c=>{},this._onTouched=()=>{},this._mergeGlobalConfig(o),this.itemsList=new ep(this,r?r():Qb()),this.element=s.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(e){this._itemsAreUsed=!0,this._items=e??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(e){if(e!=null&&!hl(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return Je(this._clearSearchOnAdd)?this._clearSearchOnAdd:Je(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get deselectOnClick(){return Je(this._deselectOnClick)?this._deselectOnClick:Je(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(e){this._deselectOnClick=e}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===e))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=Je(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Je(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(bn[e.which]){if(this.keyDownFn(e)===!1)return;this.handleKeyCode(e)}else e.key&&e.key.length===1&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){let i=e.target;this.clearButton&&this.clearButton.nativeElement===i?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.which){case bn.ArrowDown:this._handleArrowDown(e);break;case bn.ArrowUp:this._handleArrowUp(e);break;case bn.Space:this._handleSpace(e);break;case bn.Enter:this._handleEnter(e);break;case bn.Tab:this._handleTab(e);break;case bn.Esc:this.close(),e.preventDefault();break;case bn.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.which){case bn.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.preventToggleOnRightClick&&e.button===2)return!1;let i=e.target;if(i.tagName!=="INPUT"&&e.preventDefault(),i.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(i.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}i.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(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,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(e){!e||e.disabled||this.disabled||(this.deselectOnClick&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;hl(this.addTag)?e=this.addTag(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let i=o=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);PD(e)?e.then(o=>this.select(i(o))).catch(()=>{}):e&&this.select(i(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this._isTypeahead&&!this.loading||e&&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(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){let i=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Je(i)?!Qr(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Je(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let e=o=>{this.items=o.map(r=>({$ngOptionValue:r.value,$ngOptionLabel:r.elementRef.nativeElement.innerHTML,disabled:r.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{let o=xn(this.ngOptions.changes,this._destroy$);xn(...this.ngOptions.map(r=>r.stateChange$)).pipe(rt(o)).subscribe(r=>{let s=this.itemsList.findItem(r.value);s.disabled=r.disabled,s.label=r.label||s.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Bn(this.ngOptions),rt(this._destroy$)).subscribe(o=>{this.bindLabel=this._defaultLabel,e(o),i()})}_isValidWriteValue(e){if(!Je(e)||this.multiple&&e===""||Array.isArray(e)&&e.length===0)return!1;let i=o=>!Je(this.compareWith)&&Qr(o)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(e)?e.every(o=>i(o)):(this._console.warn("Multiple select ngModel should be array."),!1):i(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let i=o=>{let r=this.itemsList.findItem(o);if(r)this.itemsList.select(r);else{let s=Qr(o),a=!s&&!this.bindValue;s||a?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue&&(r={[this.bindLabel]:null,[this.bindValue]:o},this.itemsList.select(this.itemsList.mapItem(r,null)))}};this.multiple?e.forEach(o=>i(o)):i(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(rt(this._destroy$),Zt(e=>this._pressedKeys.push(e)),hi(200),rn(()=>this._pressedKeys.length>0),ue(()=>this._pressedKeys.join(""))).subscribe(e=>{let i=this.itemsList.findByLabel(e);i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput.nativeElement,i=re({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let o of Object.keys(i))e.setAttribute(o,i[o])}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue){let r=null;if(o.children){let s=this.groupValue?this.bindValue:this.groupBy;r=o.value[s||this.groupBy]}else r=this.itemsList.resolveNested(o.value,this.bindValue);e.push(r)}else e.push(o.value);let i=this.selectedItems.map(o=>o.value);this.multiple?(this._onChange(e),this.changeEvent.emit(i)):(this._onChange(Je(e[0])?e[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_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(e){if(this.isOpen===!1){if(this.showClear()&&!e.shiftKey)this.focusOnClear(),e.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){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;e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let i=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||e.fixedPlaceholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=Je(this.virtualScroll)?this.virtualScroll:Je(e.disableVirtualScroll)?!e.disableVirtualScroll:!1,this.openOnEnter=Je(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}static{this.\u0275fac=function(i){return new(i||t)(ho("class"),ho("autofocus"),v(ZD),v(Xb,8),v(G),v(We),v(YD))}}static{this.\u0275cmp=I({type:t,selectors:[["ng-select"]],contentQueries:function(i,o,r){if(i&1&&(_t(r,ND,5,ke),_t(r,FD,5,ke),_t(r,RD,5,ke),_t(r,jD,5,ke),_t(r,LD,5,ke),_t(r,VD,5,ke),_t(r,BD,5,ke),_t(r,zD,5,ke),_t(r,HD,5,ke),_t(r,$D,5,ke),_t(r,UD,5,ke),_t(r,WD,5,ke),_t(r,Ni,5)),i&2){let s;Ie(s=Se())&&(o.optionTemplate=s.first),Ie(s=Se())&&(o.optgroupTemplate=s.first),Ie(s=Se())&&(o.labelTemplate=s.first),Ie(s=Se())&&(o.multiLabelTemplate=s.first),Ie(s=Se())&&(o.headerTemplate=s.first),Ie(s=Se())&&(o.footerTemplate=s.first),Ie(s=Se())&&(o.notFoundTemplate=s.first),Ie(s=Se())&&(o.placeholderTemplate=s.first),Ie(s=Se())&&(o.typeToSearchTemplate=s.first),Ie(s=Se())&&(o.loadingTextTemplate=s.first),Ie(s=Se())&&(o.tagTemplate=s.first),Ie(s=Se())&&(o.loadingSpinnerTemplate=s.first),Ie(s=Se())&&(o.ngOptions=s)}},viewQuery:function(i,o){if(i&1&&(nt(Gb,5),nt(Yk,7),nt(Kk,5)),i&2){let r;Ie(r=Se())&&(o.dropdownPanel=r.first),Ie(r=Se())&&(o.searchInput=r.first),Ie(r=Se())&&(o.clearButton=r.first)}},hostVars:20,hostBindings:function(i,o){i&1&&_("keydown",function(s){return o.handleKeyDown(s)}),i&2&&Y("ng-select-typeahead",o.typeahead)("ng-select-multiple",o.multiple)("ng-select-taggable",o.addTag)("ng-select-searchable",o.searchable)("ng-select-clearable",o.clearable)("ng-select-opened",o.isOpen)("ng-select",o.useDefaultClass)("ng-select-filtered",o.filtered)("ng-select-single",o.single)("ng-select-disabled",o.disabled)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",k],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",k],closeOnSelect:[2,"closeOnSelect","closeOnSelect",k],hideSelected:[2,"hideSelected","hideSelected",k],selectOnTab:[2,"selectOnTab","selectOnTab",k],openOnEnter:[2,"openOnEnter","openOnEnter",k],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",Nt],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",Nt],virtualScroll:[2,"virtualScroll","virtualScroll",k],selectableGroup:[2,"selectableGroup","selectableGroup",k],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",k],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",k],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",Nt],readonly:[2,"readonly","readonly",k],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",k],minTermLength:[2,"minTermLength","minTermLength",Nt],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",k],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",k],addTag:"addTag",searchable:[2,"searchable","searchable",k],clearable:[2,"clearable","clearable",k],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},standalone:!0,features:[ne([{provide:ml,useExisting:Si(()=>t),multi:!0},Kb]),he,$e,S],decls:13,vars:19,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["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"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[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(i,o){if(i&1){let r=A();p(0,"div",10),_("mousedown",function(a){return y(r),C(o.handleMousedown(a))}),p(1,"div",11),x(2,nD,3,1)(3,sD,2,0)(4,lD,1,5,null,12),p(5,"div",13)(6,"input",14,0),_("blur",function(a){return y(r),C(o.onInputBlur(a))})("change",function(a){return y(r),C(a.stopPropagation())})("compositionend",function(){y(r);let a=et(7);return C(o.onCompositionEnd(a.value))})("compositionstart",function(){return y(r),C(o.onCompositionStart())})("focus",function(a){return y(r),C(o.onInputFocus(a))})("input",function(){y(r);let a=et(7);return C(o.filter(a.value))}),f()()(),x(8,uD,3,1)(9,pD,4,1,"span",15),p(10,"span",16),E(11,"span",17),f()(),x(12,ID,8,17,"ng-dropdown-panel",18)}i&2&&(Y("ng-appearance-outline",o.appearance==="outline")("ng-has-value",o.hasValue),d(2),j(o.selectedItems.length===0&&!o.searchTerm||o.fixedPlaceholder===!0?2:-1),d(),j((!o.multiLabelTemplate||!o.multiple)&&o.selectedItems.length>0?3:-1),d(),j(o.multiple&&o.multiLabelTemplate&&o.selectedValues.length>0?4:-1),d(2),g("disabled",o.disabled)("readOnly",!o.searchable||o.itemsList.maxItemsSelected)("value",o.searchTerm?o.searchTerm:""),X("aria-activedescendant",o.isOpen?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen?o.dropdownId:null)("aria-expanded",o.isOpen)("aria-label",o.ariaLabel)("id",o.labelForId)("tabindex",o.tabIndex),d(2),j(o.loading?8:-1),d(),j(o.showClear()?9:-1),d(3),j(o.isOpen?12:-1))},dependencies:[Pn,AD,Gb,ie],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;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:unset;user-select:unset;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}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);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;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;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}
|
|
9
9
|
`],encapsulation:2,changeDetection:0})}}return t})(),Po=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({providers:[{provide:Xb,useValue:Qb}]})}}return t})();var ti=class{},Jb=(()=>{class t extends ti{getTranslation(e){return ye({})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})();static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})(),Fi=class{},ev=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})();function bl(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,o,r,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((o=t.length)==n.length){for(r=0;r<o;r++)if(!bl(t[r],n[r]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(r in t){if(!bl(t[r],n[r]))return!1;s[r]=!0}for(r in n)if(!(r in s)&&typeof n[r]<"u")return!1;return!0}return!1}function ei(t){return typeof t<"u"&&t!==null}function ip(t){return t&&typeof t=="object"&&!Array.isArray(t)}function iv(t,n){let e=Object.assign({},t);return ip(t)&&ip(n)&&Object.keys(n).forEach(i=>{ip(n[i])?i in t?e[i]=iv(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e}var Ao=class{},tv=(()=>{class t extends Ao{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){let o;return typeof e=="string"?o=this.interpolateString(e,i):typeof e=="function"?o=this.interpolateFunction(e,i):o=e,o}getValue(e,i){let o=typeof i=="string"?i.split("."):[i];i="";do i+=o.shift(),ei(e)&&ei(e[i])&&(typeof e[i]=="object"||!o.length)?(e=e[i],i=""):o.length?i+=".":e=void 0;while(o.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(o,r)=>{let s=this.getValue(i,r);return ei(s)?s:o}):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})();static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})(),No=class{},nv=(()=>{class t extends No{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})();static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})(),vl=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new M;onLangChange=new M;onDefaultLangChange=new M},op=new W("USE_STORE"),rp=new W("USE_DEFAULT_LANG"),sp=new W("DEFAULT_LANGUAGE"),ap=new W("USE_EXTEND"),P=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new M;_onLangChange=new M;_onDefaultLangChange=new M;_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(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,o,r,s,a=!0,l=!1,c=!1,m){this.store=e,this.currentLoader=i,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,m&&this.setDefaultLang(m)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(st(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return ye(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(st(1)).subscribe(o=>{this.changeLang(e)}),i):(this.changeLang(e),ye(this.translations[e]))}retrieveTranslations(e){let i;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(Bs(1),st(1));return this.loadingTranslations=i.pipe(ue(o=>this.compiler.compileTranslations(o,e)),Bs(1),st(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?re(re({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(e,i,o=!1){i=this.compiler.compileTranslations(i,e),(o||this.extend)&&this.translations[e]?this.translations[e]=iv(this.translations[e],i):this.translations[e]=i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,o){let r;if(i instanceof Array){let s={},a=!1;for(let l of i)s[l]=this.getParsedResult(e,l,o),ht(s[l])&&(a=!0);if(a){let l=i.map(c=>ht(s[c])?s[c]:ye(s[c]));return or(l).pipe(ue(c=>{let m={};return c.forEach((h,w)=>{m[i[w]]=h}),m}))}return s}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,i),o)),typeof r>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),o)),typeof r>"u"){let s={key:i,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return typeof r<"u"?r:i}get(e,i){if(!ei(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(It(o=>(o=this.getParsedResult(o,e,i),ht(o)?o:ye(o))));{let o=this.getParsedResult(this.translations[this.currentLang],e,i);return ht(o)?o:ye(o)}}getStreamOnTranslationChange(e,i){if(!ei(e)||!e.length)throw new Error('Parameter "key" required');return jt(Ls(()=>this.get(e,i)),this.onTranslationChange.pipe(St(o=>{let r=this.getParsedResult(o.translations,e,i);return typeof r.subscribe=="function"?r:ye(r)})))}stream(e,i){if(!ei(e)||!e.length)throw new Error('Parameter "key" required');return jt(Ls(()=>this.get(e,i)),this.onLangChange.pipe(St(o=>{let r=this.getParsedResult(o.translations,e,i);return ht(r)?r:ye(r)})))}instant(e,i){if(!ei(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,i);if(ht(o)){if(e instanceof Array){let r={};return e.forEach((s,a)=>{r[e[a]]=e[a]}),r}return e}else return o}set(e,i,o=this.currentLang){this.translations[o][e]=this.compiler.compile(i,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;if(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof e>"u"))return e.indexOf("-")!==-1&&(e=e.split("-")[0]),e.indexOf("_")!==-1&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(i){return new(i||t)(B(vl),B(ti),B(No),B(Ao),B(Fi),B(rp),B(op),B(ap),B(sp))};static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})();var de=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,o){let r=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,e,i);ht(s.subscribe)?s.subscribe(r):r(s)}this.translate.get(e,i).subscribe(r)}transform(e,...i){if(!e||!e.length)return e;if(bl(e,this.lastKey)&&bl(i,this.lastParams))return this.value;let o;if(ei(i[0])&&i.length)if(typeof i[0]=="string"&&i[0].length){let r=i[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: ${i[0]}`)}}else typeof i[0]=="object"&&!Array.isArray(i[0])&&(o=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,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(i){return new(i||t)(v(P,16),v(We,16))};static \u0275pipe=Mr({name:"translate",type:t,pure:!1});static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})(),Q=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:ti,useClass:Jb},e.compiler||{provide:No,useClass:nv},e.parser||{provide:Ao,useClass:tv},e.missingTranslationHandler||{provide:Fi,useClass:ev},vl,{provide:op,useValue:e.isolate},{provide:rp,useValue:e.useDefaultLang},{provide:ap,useValue:e.extend},{provide:sp,useValue:e.defaultLanguage},P]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:ti,useClass:Jb},e.compiler||{provide:No,useClass:nv},e.parser||{provide:Ao,useClass:tv},e.missingTranslationHandler||{provide:Fi,useClass:ev},{provide:op,useValue:e.isolate},{provide:rp,useValue:e.useDefaultLang},{provide:ap,useValue:e.extend},{provide:sp,useValue:e.defaultLanguage},P]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=Fe({})}return t})();var le=(()=>{class t{constructor(e){this.translateService=e,this._selectedLanguage="en",this._localizedStrings={}}get selectedLanguage(){return this._selectedLanguage}set selectedLanguage(e){this._selectedLanguage=e,this.translateService.use(e);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings)}catch(i){console.error(i)}}get localizedStrings(){return this._localizedStrings}set localizedStrings(e){this._localizedStrings=e,this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,e)}catch(i){console.error(i)}}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[ne([P]),S],decls:2,vars:0,template:function(i,o){i&1&&(p(0,"p"),D(1," localized widget works! "),f())},dependencies:[L,Q],encapsulation:3})}}return t})();function KD(t,n){if(t&1&&(p(0,"div",5),D(1),f()),t&2){let e=u();d(),H(" ",e.spinnerText," ")}}function QD(t,n){if(t&1&&(pt(0),p(1,"div",5),D(2),f(),mt()),t&2){let e=n.$implicit;d(2),H(" ",e," ")}}function XD(t,n){if(t&1&&(pt(0),p(1,"div",6),x(2,QD,3,1,"ng-container",7),f(),mt()),t&2){let e=u();d(2),g("ngForOf",e.spinnerTexts)}}var _l=(()=>{class t{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=null,this.spinnerTexts=null}isSpinnerTextsArray(){return!!(this.spinnerTexts&&typeof this.spinnerTexts=="object"&&Array.isArray(this.spinnerTexts)&&this.spinnerTexts.length>0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[2,"spinnerSpinActive","spinnerSpinActive",k],spinnerHoverEnabled:[2,"spinnerHoverEnabled","spinnerHoverEnabled",k],spinnerDisabled:[2,"spinnerDisabled","spinnerDisabled",k],spinnerText:"spinnerText",spinnerTexts:"spinnerTexts"},standalone:!0,features:[he,S],decls:5,vars:8,consts:[[1,"loading-spinner"],[1,"spinner-conatiner"],[1,"spinner-icon"],["class","spinner-text",4,"ngIf"],[4,"ngIf"],[1,"spinner-text"],[1,"spinner-texts"],[4,"ngFor","ngForOf"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1),E(2,"div",2),x(3,KD,2,1,"div",3)(4,XD,3,1,"ng-container",4),f()()),i&2&&(d(2),Y("spinner-spin-active",o.spinnerSpinActive)("spinner-disabled",o.spinnerDisabled)("hover-enabled",o.spinnerHoverEnabled&&!o.spinnerDisabled),d(),g("ngIf",o.spinnerText),d(),g("ngIf",o.isSpinnerTextsArray()))},dependencies:[L,we,Qe],styles:['.loading-spinner[_ngcontent-%COMP%]{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.4rem);font-weight:var(--font-weight, 400);color:var(--loading-spinner-text-color-enabled);position:absolute;min-width:100%;min-height:100%;background-color:var(--loading-spinner-background-color-enabled);display:flex;justify-content:center;align-items:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%]{display:flex;flex-direction:column}@keyframes _ngcontent-%COMP%_spin_icon{to{transform:rotate(360deg)}}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon[_ngcontent-%COMP%]{min-width:var(--loading-spinner-size, 1rem);min-height:var(--loading-spinner-size, 1rem);background-image:var(--loading-spinner-icon, url("./assets/Spinner_18_gray.svg"));background-size:var(--loading-spinner-size, 1rem);background-repeat:no-repeat;background-position:center center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.hover-enabled[_ngcontent-%COMP%]:hover{background-image:var(--loading-spinner-hover-icon, url("./assets/Spinner_18_active.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.spinner-disabled[_ngcontent-%COMP%]{background-image:var(--loading-spinner-disabled-icon, url("./assets/Spinner_18_disabled.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-spin-active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin_icon var(--loading-spinner-time, 1.8s) infinite linear}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-texts[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}']})}}return t})();var JD=["*"];function eE(t,n){if(t&1&&(p(0,"div",1)(1,"div",4)(2,"span"),D(3),f()()()),t&2){let e=u();d(3),ee(e.header)}}function tE(t,n){if(t&1&&(p(0,"div",3),E(1,"lib-loading-spinner",5),f()),t&2){let e=u();d(),g("spinnerHoverEnabled",!1)("spinnerSpinActive",!0)("spinnerDisabled",!1)("spinnerText",e.loadingSpinnerText)}}var Fo=(()=>{class t{constructor(){this.header="",this.isLoading=!1,this.loadingSpinnerText=""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{header:"header",isLoading:"isLoading",loadingSpinnerText:"loadingSpinnerText"},standalone:!0,features:[S],ngContentSelectors:JD,decls:5,vars:2,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-loading-overlay"],[1,"sidenav-drawer-header-title"],[3,"spinnerHoverEnabled","spinnerSpinActive","spinnerDisabled","spinnerText"]],template:function(i,o){i&1&&(je(),p(0,"div",0),x(1,eE,4,1,"div",1),p(2,"div",2),Ee(3),f(),x(4,tE,2,4,"div",3),f()),i&2&&(d(),j(o.header?1:-1),d(3),j(o.isLoading?4:-1))},dependencies:[_l],styles:[`.sidenav-drawer-content-layout{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;width:100%;max-height:100%;min-height:0}.sidenav-drawer-content-layout>.sidenav-drawer-header{flex:0;width:100%;background-color:var(--sidenav-drawer-content-header-background-color-enabled);transition:background-color .7s;display:inline-block}.sidenav-drawer-content-layout>.sidenav-drawer-header>.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>.sidenav-drawer-content-offset{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0;margin:var(--sidenav-drawer-content-offset, .8rem)}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay{position:absolute;top:4.6rem;left:0;min-width:100%;min-height:100%;z-index:4}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay>lib-loading-spinner{--background-color: var(--sidenav-drawer-loading-spinner-background-color-enabled);--loading-spinner-size: 6rem;--loading-spinner-time: 1.8s;--color: var(--sidenav-drawer-loading-spinner-text-color-enabled)}
|
|
10
10
|
`],encapsulation:2})}}return t})();function nE(t,n){if(t&1){let e=A();pt(0),p(1,"button",2),_("click",function(){let o=y(e).$implicit,r=u();return C(r._buttonClicked(o))}),D(2),f(),mt()}if(t&2){let e=n.$implicit,i=n.last,o=n.first;d(),Y("last",i)("first",o)("primary-button",e.buttonStyle===void 0||e.buttonStyle==="primary")("secondary-button",e.buttonStyle==="secondary")("text-button",e.buttonType===void 0||e.buttonType==="text")("icon-button",e.buttonType==="icon")("combined-button",e.buttonType==="combined")("disabled",e.disabled===!0),ve("title",e.tooltip),d(),H(" ",e.title," ")}}var yl=(()=>{class t extends le{constructor(){super(...arguments),this._items=new Array,this.buttonClicked=new M}get items(){return this._items}set items(e){this._items=e}_buttonClicked(e){e.disabled||this.buttonClicked.emit({id:e.id})}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})()}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-buttons-row"]],inputs:{items:"items"},outputs:{buttonClicked:"buttonClicked"},standalone:!0,features:[q,S],decls:2,vars:1,consts:[[1,"button-row"],[4,"ngFor","ngForOf"],[3,"click","title"]],template:function(i,o){i&1&&(p(0,"div",0),x(1,nE,3,18,"ng-container",1),f()),i&2&&(d(),g("ngForOf",o._items))},dependencies:[we],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.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 var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.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:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.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:var(--select-container-placeholder-text-color-enabled)}.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:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.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:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);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:var(--select-multiple-container-value-background-color-disabled)}.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:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[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 var(--select-multiple-container-value-icon-right-border-color-enbabled)}.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:var(--select-multiple-container-value-input-text-color-enabled)}.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:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.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:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);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:var(--dropdown-panel-select-right-border-color-enabled);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:var(--dropdown-panel-select-bottom-border-color-enabled);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:var(--dropdown-panel-select-left-border-color-enabled);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 var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);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:var(--dropdown-panel-items-text-color-enabled);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:var(--dropdown-panel-items-marked-background-color-enabled)}.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:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);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:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.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:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.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(--primary-button-border-color-enabled);border-style:var(--button-border-style, solid);border-width:var(--button-border-style, .2rem);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer;margin-right:var(--buttons-spacing, .8rem)}.button-row>.primary-button.last{margin-right:0}.button-row>.primary-button:hover{border-color:var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.button-row>.primary-button:focus{border-color:var(--primary-button-border-color-focused);color:var(--primary-button-text-color-focused);background-color:var(--primary-button-background-color-focused);outline:0}.button-row>.primary-button.disabled,.button-row>.primary-button:disabled,.button-row>.primary-button:disabled:active{border-color:var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.button-row>.primary-button:active{border-color:var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}
|
|
11
11
|
`],encapsulation:3})}}return t})();var iE=[[["lib-expansion-panel-header"]],"*"],oE=["lib-expansion-panel-header","*"],ni=(()=>{class t{constructor(){this.expanded=!0}toggleExpand(){this.expanded=!this.expanded}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-expansion-panel"]],inputs:{expanded:"expanded"},standalone:!0,features:[S],ngContentSelectors:oE,decls:7,vars:2,consts:[[1,"expansion-panel"],[1,"expansion-panel-header-row"],[1,"expansion-panel-expander-icon",3,"click","keypress","ngClass"],[1,"expansion-panel-header-content"],[1,"expansion-panel-content-container",3,"ngClass"]],template:function(i,o){i&1&&(je(iE),p(0,"div",0)(1,"div",1)(2,"div",2),_("click",function(){return o.toggleExpand()})("keypress",function(){return o.toggleExpand()}),f(),p(3,"div",3),Ee(4),f()(),p(5,"div",4),Ee(6,1),f()()),i&2&&(d(2),g("ngClass",o.expanded?"open":"closed"),d(3),g("ngClass",o.expanded?"":"collapsed"))},dependencies:[L,ie],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("./assets/expanded_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.closed[_ngcontent-%COMP%]{background-image:url("./assets/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}']})}}return t})();var rE=["*",[["lib-expansion-panel-header-actions"]]],sE=["*","lib-expansion-panel-header-actions"],ii=(()=>{class t{constructor(){this.centerMenuButtonClass=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-expansion-panel-header"]],hostVars:2,hostBindings:function(i,o){i&2&&Y("expansion-panel-header-container",o.centerMenuButtonClass)},standalone:!0,features:[S],ngContentSelectors:sE,decls:4,vars:0,consts:[[1,"expansion-panel-header-title"]],template:function(i,o){i&1&&(je(rE),p(0,"div",0),Ee(1),f(),p(2,"div"),Ee(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%}
|
|
@@ -16,27 +16,27 @@ ${e.map((i,o)=>`${o+1}) ${i.toString()}`).join(`
|
|
|
16
16
|
`;return i+="Message: ",i+=e.message,i}getTitle(e){return`${e.name}${this.statusMessage(e)}${this.infoMessage(e)}`}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(xl))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-connection-designer-results"]],inputs:{errorMessage:"errorMessage",resultTreeRootTitle:"resultTreeRootTitle",resultTreeRootName:"resultTreeRootName",expandedTreeRoot:"expandedTreeRoot",expandedResultTrees:"expandedResultTrees",results:"results"},outputs:{doneClicked:"doneClicked",toggleVisibilityResultsRoot:"toggleVisibilityResultsRoot",toggleVisibilityResultList:"toggleVisibilityResultList",toggleVisibilityResult:"toggleVisibilityResult",clickedResultsRoot:"clickedResultsRoot",clickedResultList:"clickedResultList",clickedResult:"clickedResult",doubleClickedResultsRoot:"doubleClickedResultsRoot",doubleClickedResultList:"doubleClickedResultList",doubleClickedResult:"doubleClickedResult",mouseEnteredResult:"mouseEnteredResult",mouseLeftResult:"mouseLeftResult"},standalone:!0,features:[ne([P]),q,$e,S],decls:10,vars:8,consts:[[1,"connection-designer-content-result"],[1,"title"],[1,"description"],[1,"error-message",3,"message"],[3,"buttonClicked","items"],[1,"scrollable-content-container"],[1,"project-navigator-model-panel",3,"expanded"],[3,"click","keypress","dblclick","title"],[1,"project-navigator-root-node"],[4,"ngFor","ngForOf"],[1,"project-navigator-model-node",3,"click","keypress","dblclick","ngClass","title"],["class","project-navigator-layer-node",4,"ngFor","ngForOf"],[1,"project-navigator-layer-node"],[1,"project-navigator-layer-node-name",3,"click","keypress","dblclick","mouseenter","mouseleave","ngClass","title"],["class","error-message",3,"message",4,"ngIf"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1),D(2),N(3,"translate"),f(),p(4,"div",2),D(5),N(6,"translate"),f(),x(7,YE,8,5,"lib-bimplus-scrollable-container")(8,QE,1,1,"lib-bimplus-text-message",3),p(9,"lib-bimplus-buttons-row",4),_("buttonClicked",function(s){return o.buttonClicked(s)}),f()()),i&2&&(d(2),H(" ",F(3,4,"_Connection_Designer_results_title")," "),d(3),H(" ",F(6,6,"_Connection_Designer_results_description")," "),d(2),j(o.results!==null?7:8),d(2),g("items",o.buttonRowItems))},dependencies:[Q,de,L,ie,we,Qe,yl,ni,ii,Ro,ov,$t],styles:[`@charset "UTF-8";.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.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 var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.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:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.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:var(--select-container-placeholder-text-color-enabled)}.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:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.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:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);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:var(--select-multiple-container-value-background-color-disabled)}.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:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[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 var(--select-multiple-container-value-icon-right-border-color-enbabled)}.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:var(--select-multiple-container-value-input-text-color-enabled)}.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:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.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:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);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:var(--dropdown-panel-select-right-border-color-enabled);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:var(--dropdown-panel-select-bottom-border-color-enabled);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:var(--dropdown-panel-select-left-border-color-enabled);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 var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);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:var(--dropdown-panel-items-text-color-enabled);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:var(--dropdown-panel-items-marked-background-color-enabled)}.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:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);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:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.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:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.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}.primary-button{text-transform:uppercase;font: 700 1rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:inline-block;margin-left:.8rem;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem var(--primary-button-border-color-enabled);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer}.primary-button:hover{border:solid .2rem var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.primary-button:focus{border:solid .2rem var(--primary-button-border-color-focused);color:var(--primary-button-text-color-focused);background-color:var(--primary-button-background-color-focused);outline:0}.primary-button:disabled,.primary-button:disabled:active,.primary-button.disabled{border:solid .2rem var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.primary-button:active{border:solid .2rem var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}.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:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}:host{--sidenav-drawer-content-offset: 0;background-color:transparent;color:var(--host-text-color-enabled);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);font-weight:400}.connection-designer-content-result{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0}.connection-designer-content-result>.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end;flex-grow:0;flex-shrink:0}.connection-designer-content-result>.title{padding-bottom:1rem;font-size:var(--title-font-size, 1.4rem);font-weight:var(--title-font-weight, 700);font-family:var(--title-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);flex-grow:0;flex-shrink:0}.connection-designer-content-result>.description{padding-bottom:1rem;flex-grow:0;flex-shrink:0}.connection-designer-content-result lib-bimplus-scrollable-container{--expansion-panel-content-container-padding-left: var(--tree-node-indent, 1.6rem);display:flex;flex-direction:column;max-height:100%;min-height:0}lib-expansion-panel{--expansion-panel-content-container-padding-left: var(--tree-node-indent, 1.6rem)}lib-expansion-panel-header-actions{display:flex;flex-direction:row}lib-expansion-panel-header{max-width:100%;flex:1}.project-navigator-action-buttons{width:var(--tree-node-line-height, 2.4rem);height:var(--tree-node-line-height, 2.4rem);background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--action-icon-size, 1.8rem) var(--action-icon-size, 1.8rem);margin-left:.4rem}.project-navigator-layer-node{line-height:var(--tree-node-line-height, 2.4rem);height:var(--tree-node-line-height, 2.4rem);padding-left:var(--tree-node-indent, 1.6rem);display:flex;flex-direction:row;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.project-navigator-layer-node-name{flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-navigator-root-node{text-transform:var(--tree-root-node-text-transform, uppercase);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--tree-node-line-height, 2.4rem);font-weight:var(--tree-root-node-font-weight, 700);font-size:var(--tree-root-node-font-size, 1.4rem);max-width:100%;width:100%}.project-navigator-model-node{font-size:var(--font-size, 1.3rem);font-weight:var(--font-weight, normal);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--tree-node-line-height, 2.4rem);max-width:100%}.selected-node{color:var(--connection-designer-results-selected-note-text-color-enabled);font-weight:var(--flat-tree-selected-node-font-weight, 700)}lib-bimplus-text-message.success-message{--text-color: var(--connection-designer-results-text-message-text-color-success)}lib-bimplus-text-message.error-message{--text-color: var(--connection-designer-results-text-message-text-color-error)}
|
|
17
17
|
`],encapsulation:3})}}return t})();var XE=[[["lib-bimplus-connection-designer-results"]]],JE=["lib-bimplus-connection-designer-results"];function eI(t,n){if(t&1&&(p(0,"ng-option",12),D(1),f()),t&2){let e=n.$implicit;g("value",e),d(),ee(e.name)}}function tI(t,n){if(t&1){let e=A();p(0,"div",7)(1,"ng-select",10),N(2,"translate"),Tn("ngModelChange",function(o){y(e);let r=u(2);return Kn(r.activeDesignCode,o)||(r.activeDesignCode=o),C(o)}),x(3,eI,2,2,"ng-option",11),f()()}if(t&2){let e=u(2);d(),Sn("ngModel",e.activeDesignCode),g("clearable",!1)("searchable",!1)("placeholder",F(2,5,e.chooseCode)),d(2),g("ngForOf",e.designCodes)}}function nI(t,n){t&1&&(p(0,"div",8),D(1),N(2,"translate"),f()),t&2&&(d(),H(" ",F(2,1,"_No_design_codes_defined")," "))}function iI(t,n){if(t&1){let e=A();p(0,"div",2)(1,"div",3),_("click",function(){y(e);let o=u();return C(o.resetDesignCode())})("keypress",function(){y(e);let o=u();return C(o.resetDesignCode())}),f()(),p(2,"div",4),D(3),N(4,"translate"),f(),p(5,"div",5),D(6),N(7,"translate"),f(),p(8,"div",6),D(9),N(10,"translate"),f(),x(11,tI,4,7,"div",7)(12,nI,3,3,"div",8),p(13,"lib-bimplus-buttons-row",9),_("buttonClicked",function(o){y(e);let r=u();return C(r.buttonClicked(o))}),f()}if(t&2){let e=u();d(3),H(" ",F(4,5,"_Select_the_code")," "),d(3),H(" ",F(7,7,"_Activate_all_objects_to_make_a_connection")," "),d(3),H(" ",F(10,9,"_Activate_all_objects_note")," "),d(2),j(e.designCodes.length>0?11:12),d(2),g("items",e.buttonRowItems)}}function oI(t,n){t&1&&Ee(0)}var Ev=(()=>{class t extends le{constructor(e,i){super(e),this.connectionDesignerService=i,this.buttonRowItems=[],this.config=[],this.chooseCode="_Choose_a_design_code",this.designCodes=[{id:"0",name:"EN 1993-1-8 (Eurocode 3)",code:"EURO05",codeNumber:9},{id:"1",name:"AISC 360-22 (16th Ed.): LRFD",code:"LRFD16",codeNumber:19},{id:"2",name:"AISC 360-22 (16th Ed.): ASD",code:"ASD16",codeNumber:18},{id:"3",name:"CSA S16:19 (CISC 12th Ed.)",code:"CSA12",codeNumber:17}],this.currentDesignCode=null,this.designCodeChanged=new M,this._calculationCanBeStarted=!0,this.startCalculationClicked=new M,i.activeStepChange$.subscribe(o=>{o===0&&this.resetDesignCode()})}ngOnInit(){this.config.push({id:"next",title:this.translateService.instant("_Next"),tooltip:this.translateService.instant("_Next"),disabled:!0,buttonStyle:"primary"}),this.buttonRowItems=this.config}set activeDesignCode(e){this.currentDesignCode=e,this.designCodeChanged.emit(this.currentDesignCode)}get activeDesignCode(){return this.currentDesignCode}_updateButtonState(e,i){let o=this.config.find(r=>r.id===e);o&&(o.disabled=i)}set calculationCanBeStarted(e){this._calculationCanBeStarted=e,this._updateButtonState("next",!e)}get calculationCanBeStarted(){return this._calculationCanBeStarted}buttonClicked(e){e.id==="next"&&(this.connectionDesignerService.activeStep=1,this._calculationCanBeStarted&&this.startCalculationClicked.emit())}resetDesignCode(){this.activeDesignCode=null}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(xl))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-connection-designer"]],inputs:{designCodes:"designCodes",currentDesignCode:"currentDesignCode",calculationCanBeStarted:"calculationCanBeStarted"},outputs:{designCodeChanged:"designCodeChanged",startCalculationClicked:"startCalculationClicked"},standalone:!0,features:[ne([P]),q,S],ngContentSelectors:JE,decls:5,vars:4,consts:[[3,"header"],[1,"connection-designer-content"],[1,"cross-button"],[1,"cross",3,"click","keypress"],[1,"title"],[1,"description"],[1,"note"],[1,"design-codes"],[1,"no-design-codes"],[3,"buttonClicked","items"],[1,"design-codes-dropdown",3,"ngModelChange","ngModel","clearable","searchable","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,o){i&1&&(je(XE),p(0,"lib-bimplus-sidenav-drawer-content",0),N(1,"translate"),p(2,"div",1),x(3,iI,14,11)(4,oI,1,0),f()()),i&2&&(g("header",F(1,2,"_Connection_designer")),d(3),j(o.connectionDesignerService.activeStep===0?3:4))},dependencies:[L,we,To,So,Ai,Po,Oo,Ni,Q,de,Fo,yl],styles:[`@charset "UTF-8";.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.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 var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.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:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.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:var(--select-container-placeholder-text-color-enabled)}.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:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.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:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);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:var(--select-multiple-container-value-background-color-disabled)}.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:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[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 var(--select-multiple-container-value-icon-right-border-color-enbabled)}.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:var(--select-multiple-container-value-input-text-color-enabled)}.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:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.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:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);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:var(--dropdown-panel-select-right-border-color-enabled);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:var(--dropdown-panel-select-bottom-border-color-enabled);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:var(--dropdown-panel-select-left-border-color-enabled);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 var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);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:var(--dropdown-panel-items-text-color-enabled);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:var(--dropdown-panel-items-marked-background-color-enabled)}.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:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);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:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.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:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.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}.primary-button{text-transform:uppercase;font: 700 1rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:inline-block;margin-left:.8rem;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem var(--primary-button-border-color-enabled);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer}.primary-button:hover{border:solid .2rem var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.primary-button:focus{border:solid .2rem var(--primary-button-border-color-focused);color:var(--primary-button-text-color-focused);background-color:var(--primary-button-background-color-focused);outline:0}.primary-button:disabled,.primary-button:disabled:active,.primary-button.disabled{border:solid .2rem var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.primary-button:active{border:solid .2rem var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}.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:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}:host{--sidenav-drawer-content-offset: 0;color:var(--host-text-color-enabled);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);font-weight:400}lib-bimplus-sidenav-drawer-content{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0}.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);margin:1.4rem 2.2rem;display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0}.connection-designer-content>.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content>.cross-button{display:none;flex-direction:row;justify-content:right;width:100%;height:1.6rem}.connection-designer-content>.cross-button>.cross{min-width:1.6rem;min-height:100%;background-image:url("./assets/bimplus_WebIcons_Cross.svg");background-repeat:no-repeat;background-position:center center;background-size:cover;cursor:pointer}.connection-designer-content>.title{padding-bottom:1rem;font-size:var(--title-font-size, 1.4rem);font-weight:var(--title-font-weight, 700);font-family:var(--title-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif)}.connection-designer-content>.description{padding-bottom:1rem}.connection-designer-content>.note{padding-bottom:1rem}.connection-designer-content>.design-codes{padding-bottom:1rem;margin-bottom:.1rem;height:2.4rem}.connection-designer-content>.design-codes>.design-codes-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.connection-designer-content>.no-design-codes{display:block;width:100%;color:var(--connection-designer-content-no-design-codes-text-color-enabled);text-align:left;padding-bottom:.8rem}
|
|
18
18
|
`],encapsulation:3})}}return t})();function oe(t,n,e=null){if(!n){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let i="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;i&&typeof i[n]=="function"&&i[n]({detail:e});let o=t;n in o&&o[n].emit(e)}var Ml=(()=>{class t extends le{constructor(e){super(e),this.bimplusContactClicked=new M}_contactClicked(){oe(this,"bimplusContactClicked","contact")}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},standalone:!0,features:[ne([P]),q,S],decls:3,vars:3,consts:[["href","https://www.allplan.com/consulting-sale","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(i,o){i&1&&(p(0,"a",0),N(1,"translate"),_("click",function(){return o._contactClicked()}),E(2,"div",1),f()),i&2&&g("title",F(1,1,"_BimplusContactTitle"))},dependencies:[L,Q,de],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./assets/bimplus_Components_Contact.svg") no-repeat;background-size:1.375em;background-repeat:no-repeat;background-position:center;cursor:pointer}.bimplus-contact a{width:100%;height:100%}
|
|
19
|
-
`],encapsulation:3})}}return t})();var ai=(()=>{class t{constructor(){this.oldX=0,this.oldY=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new M,this.dragEnd=new M,this.clicked=new M}onMouseMove(e){if(!this.isDragging&&!this.isMouseDown)return;let i=e.clientX-this.oldX,o=e.clientY-this.oldY;if(!this.isDragging)if(Math.abs(i)>2||Math.abs(o)>2)this.isDragging=!0,this.wasDragging=!0;else return;oe(this,"dragging",[i,o]),this.oldX=e.clientX,this.oldY=e.clientY}onMouseUp(){(this.isDragging||this.isMouseDown)&&oe(this,"dragEnd",["$event"]),this.isDragging=!1,this.isMouseDown=!1}onMouseDown(e){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=e.clientX,this.oldY=e.clientY}onMouseClick(e){this.wasDragging||oe(this,"clicked",e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=K({type:t,selectors:[["","libDraggable",""]],hostBindings:function(i,o){i&1&&_("mousemove",function(s){return o.onMouseMove(s)},!1,Pt)("mouseup",function(s){return o.onMouseUp(s)},!1,Pt)("mousedown",function(s){return o.onMouseDown(s)})("click",function(s){return o.onMouseClick(s)})},outputs:{dragging:"dragging",dragEnd:"dragEnd",clicked:"clicked"},standalone:!0})}}return t})();var vn=(()=>{class t{constructor(){this.rectSize$=new Te(void 0),this.internalRectSize=new DOMRect(1,1,1,1),this.parentAppRect$=this.rectSize$.asObservable()}setSize(e){this.rectSize$.next(e),this.internalRectSize=e}getParentAppRect(){if(this.internalRectSize.width<=1||this.internalRectSize?.height<=1){let e=document.querySelector(".mainView");return e?e.getBoundingClientRect():this.internalRectSize}return this.internalRectSize}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Iv=(()=>{class t{constructor(){this.storageSubject=new Te(null)}setItem(e,i){try{localStorage.setItem(e,i),this.storageSubject.next({key:e,value:i})}catch(o){console.error("Error saving to localStorage",o)}}getItem(e){try{return localStorage.getItem(e)}catch(i){return console.error("Error reading from localStorage",i),null}}removeItem(e){try{localStorage.removeItem(e),this.storageSubject.next({key:e,value:null})}catch(i){console.error("Error removing from localStorage",i)}}clear(){try{localStorage.clear(),this.storageSubject.next(null)}catch(e){console.error("Error clearing localStorage",e)}}setObject(e,i){this.setItem(e,JSON.stringify(i))}getObject(e){let i=this.getItem(e);return i?JSON.parse(i):null}watchStorage(){return this.storageSubject.asObservable()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var nt=(()=>{class t{constructor(e,i){this.resizeObserverService=e,this.localStorageService=i,this.registeredItems$=new Te([]),this.registeredItems=[],this.CONFIG="layoutManagerConfig"}get RegisteredItems(){return this.registeredItems}registerObject(e,i,o,r,s=100,a=100,l=0,c=0){let m=-1;this.registeredItems.some((w,b)=>{let T=w.id===i;return T&&(m=b),T})&&m>=0&&this.registeredItems.splice(m,1);let h={element:e,id:i,selector:o,rememberPosition:!!r,left:s,top:a,width:l,height:c,isCollapsed:!1};this.registeredItems.push(h),this.registeredItems$.next(this.registeredItems),this._initObject(h)}_initObject(e){this._adjustObjectByConfig(e),this._adjustObjectByWindowSize(e)}_getObjectConfig(e){if(!e)return null;let i=this.localStorageService.getItem(this.CONFIG),o=i?JSON.parse(i):{},r=e.id,s=o[r];return s||(s={id:r,left:e.left,top:e.top,width:e.width,height:e.height}),s}_adjustObjectByConfig(e){let i=this._getObjectConfig(e);if(!i)return;let o=this._getDomParentElement(e),r=this._getDomInternalElement(e,"");!o||!r||(o.style.left=i.left+"px",o.style.top=i.top+"px",i.width&&i.width>0&&(r.style.width=i.width+"px"),i.height&&i.height>0&&(r.style.height=i.height+"px"),this.checkPosition(e.id,"",void 0,0,0,!0))}_adjustObjectByWindowSize(e){this.checkPosition(e.id,"",void 0,0,0,!0)}getItem(e){let i=null;return this.registeredItems.forEach(o=>{o.id===e&&(i=o)}),i}_setObjectConfig(e,i,o,r,s){let a=e?.id;if(!a)return;let l=this.localStorageService.getObject(this.CONFIG);if(l||(l={}),e?.isCollapsed){l[a]||(l[a]=e),l[a].left=i,l[a].top=o,this.localStorageService.setObject(this.CONFIG,l);return}let c={id:a,isCollapsed:!1,left:i,top:o,width:r,height:s};l[a]=c,this.localStorageService.setObject(this.CONFIG,l)}getDomParentElement(e){let i=this.getItem(e);return i?this._getDomParentElement(i):null}_getDomParentElement(e){let i;return e.element?.nativeElement?.shadowRoot?i=e.element?.nativeElement?.shadowRoot.querySelector(e.selector):i=e.element?.nativeElement,i||(console.error("_getDomParentElement: missing element"),null)}_getDomInternalElement(e,i){let o=e.element?.nativeElement?.shadowRoot||e.element?.nativeElement;if(!o)return console.error("_getDomInternalElement: missing element"),null;let r=i&&i?.length>0?i:e.selector,s=r?o.querySelector(r):o;return s||console.error(`_getDomInternalElement: selection of element ${o} failed with selector ${r}`),s}_getElementRect(e,i,o){let r=this._getDomInternalElement(e,i);if(!r)return console.error("_getElementRect: missing selected object"),null;let s=o||this.resizeObserverService.getParentAppRect();(!s||s?.width<=1||s?.height<=1)&&console.log("_getElementRect: missing parent rect");let a=r.getBoundingClientRect();return a||console.error("_getElementRect: missing bounding rect"),a}checkPosition(e,i,o,r,s,a=!1){if(!e)return{deltaX:0,deltaY:0};let l=this.getItem(e);if(!l)return{deltaX:0,deltaY:0};let c=o||this.resizeObserverService.getParentAppRect(),m=this._getElementRect(l,i,c);if(!m)return console.error("checkPosition: missing elementRect"),{deltaX:0,deltaY:0};if(!m?.width||!m?.height)return console.error("checkPosition:element rect empty "),{deltaX:0,deltaY:0};let h=!0;if((c?.width<2||c?.height<2)&&(h=!1),h){let R=!0;this._isInsideRect(m,c)===!1&&!a&&(R=!1);let V=DOMRect.fromRect(m);if(this._translateRectangle(V,r,s),R){if(this._isInsideRect(V,c)===!1){let Z=this.getAlignedPosition(V,c);r=Z.x-m.x,s=Z.y-m.y,this._translateRectangle(V,r,s)}}else if(this._isInsideLeftTopRect(c,V)===!1){let Z=this._getAlignedLeftTopPosition(V,c);r=Z.x-m.x,s=Z.y-m.y,this._translateRectangle(V,r,s)}}let w=this._getDomParentElement(l);if(!w)return;let b=window.getComputedStyle(w),T=parseInt(b.top,10),O=parseInt(b.left,10);return w.style.top=T+s+"px",w.style.left=O+r+"px",{deltaX:r,deltaY:s}}_isInsideRect(e,i){return!e||!i?!1:i.left<=e.left&&i.top<=e.top&&i.right>=e.right&&i.bottom>=e.bottom}_isInsideLeftTopRect(e,i){if(!e||!i)return!1;let o=i.left<=e.left&&i.top<=e.top,r=e.left<=i.left&&e.top<=i.top;return o||r}getAlignedPosition(e,i){if(!e||!i)return{x:0,y:0};let o={x:e.x,y:e.y};return e.left<i.left?o.x=i.x:e.right>i.right&&(o.x=i.right-e.width),e.top<i.top?o.y=i.y:e.bottom>i.bottom&&(o.y=i.bottom-e.height),o}_getAlignedLeftTopPosition(e,i){if(!e||!i)return{x:0,y:0};let o={x:e.x,y:e.y};return e.left<i.left&&(o.x=i.x),e.top<i.top&&(o.y=i.y),o}_translateRectangle(e,i,o){if(e)return e.x+=i,e.y+=o,e}updateCollapsed(e,i=""){let o=this.getItem(i);o&&(o.isCollapsed=e,this.registeredItems$.next(this.registeredItems),setTimeout(()=>{this.checkPosition(o.id,"",void 0,0,0,!0)}))}handleDragEnd(e){this.finalizeObjectChanges(e)}finalizeObjectChanges(e){let i=this.getItem(e);if(!i)return;let o=this._getDomParentElement(i);if(!o)return;let r=window.getComputedStyle(o),s=parseInt(r.top,10),a=parseInt(r.left,10),l=this._getElementRect(i,void 0,void 0);this._setObjectConfig(i,a,s,l&&l.width>0?l.width:0,l&&l.height>0?l.height:0)}static{this.\u0275fac=function(i){return new(i||t)(B(vn),B(Iv))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bo=(()=>{class t{constructor(e){this.layoutManagerService=e,this.isCollapsed=!1,this.parentId="",this.draggerIcon="ui-icon-drag"}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(v(nt))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-dragger"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId"},standalone:!0,features:[S],decls:1,vars:2,consts:[["libDraggable","",1,"floating-panel__dragger","dragger",3,"dragEnd","dragging","ngClass","className"]],template:function(i,o){i&1&&(p(0,"div",0),_("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),f()),i&2&&g("ngClass",o.isCollapsed?"collapsed":"")("className",o.draggerIcon)},dependencies:[L,ie,ai],styles:['@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_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;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}.ui-icon-drag[_ngcontent-%COMP%]{background-repeat:no-repeat;background-image:url("./assets/ic_drag.svg")}']})}}return t})();var sI=t=>({active:t});function aI(t,n){if(t&1){let e=A();p(0,"div")(1,"div",3),N(2,"translate"),_("click",function(){let o=y(e).$implicit,r=u();return C(r.onItemClicked(o.buttonId))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r.onItemClicked(o.buttonId))}),f()()}if(t&2){let e=n.$implicit;d(),g("ngClass",Oe(6,sI,e.active))("className",e.iconClass)("title",F(2,4,e.title)),X("data-test","floating_bar_item_"+e.buttonId)}}var zo=(()=>{class t extends le{constructor(e,i){super(e),this.layoutManagerService=i,this.isCollapsed=!1,this.parentId="",this.actionClicked=new M,this._items=new Array,this.layoutManagerService.registeredItems$.subscribe(o=>{let r=o.find(s=>s.id===this.parentId);this.isCollapsed=!!r?.isCollapsed})}get items(){return this._items}set items(e){this._items=e}findItemById(e){return this._items.find(i=>i.buttonId===e)}onItemClicked(e){let i=this.findItemById(e);!i||i?.disabled||this.actionClicked.emit(e)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(nt))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-header-content"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId",items:"items"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[ne([P]),q,S],decls:3,vars:2,consts:[["libDraggable","",1,"floating-panel__header-content","dragger",3,"dragEnd","dragging","ngClass"],[1,"menu-content"],[4,"ngFor","ngForOf"],[1,"fp-block-item","fp-block-icon-item",3,"click","keypress","ngClass","className","title"]],template:function(i,o){i&1&&(p(0,"div",0),_("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),p(1,"div",1),x(2,aI,3,8,"div",2),f()()),i&2&&(g("ngClass",o.isCollapsed?"hidden":""),d(2),g("ngForOf",o.items))},dependencies:[L,ie,we,ai,Q,de],styles:['@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_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;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}[_ngcontent-%COMP%]:after, [_ngcontent-%COMP%]:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.menu-content[_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;-webkit-box-align-items:center;-moz-box-align-items:center;-webkit-align-items:center;-ms-align-items:center;align-items:center;padding-left:.5rem;padding-right:.5rem}.menu-content[_ngcontent-%COMP%] .block-icon-item[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_eye_black.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object.active[_ngcontent-%COMP%]{background-image:url("./assets/ic_eye_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_make_transparent.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object.active[_ngcontent-%COMP%]{background-image:url("./assets/ic_make_transparent_active.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-restore-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_reset.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuNormal.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuNormal_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuClipped.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuClipped_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuHidden.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuHidden_maincolor.svg")}']})}}return t})();var Ho=(()=>{class t extends le{constructor(e,i){super(e),this.layoutManagerService=i,this.icon="",this.isCollapsed=!1,this.parentId="",this.title=""}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.parentId);this.isCollapsed=!!i?.isCollapsed})}onLogoClicked(){this.layoutManagerService.updateCollapsed(!this.isCollapsed,this.parentId)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(nt))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-header-logo"]],hostVars:2,hostBindings:function(i,o){i&2&&Y("isCollapsed",o.isCollapsed)},inputs:{icon:"icon",isCollapsed:"isCollapsed",parentId:"parentId",title:"title"},standalone:!0,features:[ne([P]),q,S],decls:2,vars:5,consts:[["libDraggable","",1,"floating-panel__header-logo",3,"clicked","dragEnd","dragging","ngClass","className","title"]],template:function(i,o){i&1&&(p(0,"div",0),N(1,"translate"),_("clicked",function(){return o.onLogoClicked()})("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),f()),i&2&&g("ngClass",o.isCollapsed?"collapsed":"")("className",o.icon)("title",F(1,3,o.title))},dependencies:[L,ie,ai,Q,de],styles:['@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_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;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']})}}return t})();var Sv=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.layoutManagerService=i,this.resizeObserverService=o,this.resizeContactPointX=0,this.resizeContactPointY=0,this.resizableElements=[],this.resizeEnabled=!0,this.resizeStarted=!1,this.actResizeStrategy="se",this.resizedEnd=new M,this.resizersList=[{className:"resizer-nw",resizeStrategy:"nw"},{className:"resizer-n",resizeStrategy:"n"},{className:"resizer-ne",resizeStrategy:"ne"},{className:"resizer-e",resizeStrategy:"e"},{className:"resizer-se",resizeStrategy:"se"},{className:"resizer-s",resizeStrategy:"s"},{className:"resizer-sw",resizeStrategy:"sw"},{className:"resizer-w",resizeStrategy:"w"}],this._element=e.nativeElement,this.layoutManagerService=i,this.resizeStart=r=>{if(r.stopPropagation(),this.resizeStarted)return;this.resizeStarted=!0;let s=r.targetTouches?r.targetTouches:[],a=r.type==="touchstart"?s[0]?.clientX:r.clientX,l=r.type==="touchstart"?s[0]?.clientY:r.clientY;this.resizeContactPointX=a,this.resizeContactPointY=l,this.openDocumentListenersResize(),this.setupResizeStrategy(r)},this.resizeInProgress=r=>{r.preventDefault(),r.stopPropagation();let s=r.targetTouches?r.targetTouches:[],a=r.type==="touchmove"?s[0]?.clientX:r.clientX,l=r.type==="touchmove"?s[0]?.clientY:r.clientY;this.resizeFromTo(this._element,this.resizeContactPointX,this.resizeContactPointY,a,l,this.actResizeStrategy)&&(this.resizeContactPointX=a,this.resizeContactPointY=l)},this.boundResizeStart=this.resizeStart.bind(this),this.boundResizeInProgress=this.resizeInProgress.bind(this),this.boundResizeEnd=this.resizeEnd.bind(this),this.resizeInProgress.bind(this),this.setResizers(this._element)}ngOnInit(){this.boundResizeStart=this.resizeStart.bind(this),this.boundResizeInProgress=this.resizeInProgress.bind(this),this.boundResizeEnd=this.resizeEnd.bind(this)}ngOnDestroy(){this.closeAllListenersResize()}resizeEnd(){this.resizeStarted&&(this.resizeStarted=!1,this.closeAllListenersResize(),this.openElementListenersResize(),oe(this,"resizedEnd",["$event"]))}_getViewRect(){let e=document.getElementById("#containerView");return e?e.getBoundingClientRect():new DOMRect(0,0,0,0)}isInsideRect(e,i){return!e||!i?!1:i.left<=e.left&&i.top<=e.top&&i.right>=e.right&&i.bottom>=e.bottom}_resizeRectangle(e,i,o,r){if(e)return["nw","w","sw"].includes(r)&&(e.x+=i,i=i*-1),["nw","n","ne"].includes(r)&&(e.y+=o,o=o*-1),typeof i=="number"&&!["n","s"].includes(r)&&(e.width+=i),typeof o=="number"&&!["w","e"].includes(r)&&(e.height+=o),e}_maxHeightReset(e,i){this.resizeFromTo(e,i.right,i.bottom,i.left,i.top,"se")}resizeFromTo(e,i,o,r,s,a){let l=r-i,c=s-o,m=e??this._element,h=m.getBoundingClientRect(),w=this.resizeObserverService.getParentAppRect(),b=!0;if(a=a||"se",this.isInsideRect(h,w)===!1&&(b=!1),this._resizeRectangle(h,l,c,a),b&&this.isInsideRect(h,w)===!1)return!1;let T=window.getComputedStyle(m),O=parseInt(T.top,10),R=parseInt(T.left,10),V=parseInt(T.width,10),Z=parseInt(T.height,10);return["nw","w","sw"].includes(a)&&(R=R+l),["nw","n","ne"].includes(a)&&(O=O+c),["n","s"].includes(a)||(V=h.width),w.height<h.height?this._maxHeightReset(m,h):["w","e"].includes(a)||(Z=h.height),m.style.top=O+"px",m.style.left=R+"px",m.style.width=V+"px",m.style.height=Z+"px",!0}setResizers(e){let i=()=>{let o=[];this.resizersList.forEach(r=>{let s=e.getElementsByClassName(r.className);if(s?.length){let a=Array.from(s).map(l=>{let c=l;return c.resizeStrategy=r.resizeStrategy,c});o=[...o,...a]}}),this.resizableElements=[...o],this.openElementListenersResize()};setTimeout(()=>{i()})}openElementListenersResize(){this.resizableElements.forEach(e=>{e.addEventListener("mousedown",this.boundResizeStart),e.addEventListener("touchstart",this.boundResizeStart)})}openDocumentListenersResize(){document.addEventListener("mouseup",this.boundResizeEnd),document.addEventListener("touchend",this.boundResizeEnd),document.addEventListener("mousemove",this.boundResizeInProgress),document.addEventListener("touchmove",this.boundResizeInProgress)}closeDocumentListenersResize(){document.removeEventListener("mousemove",this.boundResizeInProgress),document.removeEventListener("touchmove",this.boundResizeInProgress),document.removeEventListener("mouseup",this.boundResizeEnd),document.removeEventListener("touchend",this.boundResizeEnd)}closeElementListenersResize(){this.resizableElements.forEach(e=>{e.removeEventListener("mousedown",this.boundResizeStart),e.removeEventListener("touchstart",this.boundResizeStart),e.removeEventListener("mousemove",this.boundResizeInProgress),e.removeEventListener("touchmove",this.boundResizeInProgress),e.removeEventListener("mouseup",this.boundResizeEnd),e.removeEventListener("touchend",this.boundResizeEnd)})}closeAllListenersResize(){this.closeElementListenersResize(),this.closeDocumentListenersResize()}setupResizeStrategy(e){if(!e)return;let i="se",o=e?.target;if(o){let r=this.resizableElements.find(s=>s===o);r?.resizeStrategy&&(i=r?.resizeStrategy)}this.actResizeStrategy=i}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(nt),v(vn))}}static{this.\u0275dir=K({type:t,selectors:[["","libResizable",""]],outputs:{resizedEnd:"resizedEnd"},standalone:!0})}}return t})();var lI=[[["",8,"floating-bar-header-logo"]],[["",8,"floating-bar-header-content"]],[["",8,"floating-bar-dragger"]],[["",8,"floating-bar-body"]]],cI=[".floating-bar-header-logo",".floating-bar-header-content",".floating-bar-dragger",".floating-bar-body"],$o=(()=>{class t extends le{constructor(e,i,o,r,s){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.resizeObserverService=s,this.noBody=!1,this.isFocused=!1,this.resizeEnabled=!1,this.autoCollapse=!1,this.focusSelector="",this.isVisible=!1,this.id="",this.subscription=null,this.hasViewChecked=!1,this.isCollapsed=!1}get canNotResize(){return!(this.resizeEnabled&&!this.isCollapsed)}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.id);this.isCollapsed=!!i?.isCollapsed})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}ngAfterViewInit(){this.subscription=this.resizeObserverService.parentAppRect$.subscribe(e=>{this.handleParentAppRectSizeChange(e)})}ngAfterViewChecked(){!this.hasViewChecked&&!this.isCollapsed&&(this.hasViewChecked=!0,setTimeout(()=>{this.layoutManagerService.checkPosition(this.id,"",void 0,0,0,!0)}))}handleParentAppRectSizeChange(e){this.layoutManagerService.checkPosition(this.id,".floating-panel.visible",e,0,0,!0)}onResizedEnd(){this.layoutManagerService.finalizeObjectChanges(this.id)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.id)}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(nt),v(G),v(We),v(vn))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar"]],inputs:{noBody:"noBody",isFocused:"isFocused",resizeEnabled:"resizeEnabled",autoCollapse:"autoCollapse",focusSelector:"focusSelector",isVisible:"isVisible",id:"id"},standalone:!0,features:[q,S],ngContentSelectors:cI,decls:9,vars:16,consts:[["libResizable","",1,"floating-panel",3,"resizedEnd","dragEnd"],[1,"resizer-ne","floating-panel__resizerNE"],[1,"resizer-e","floating-panel__resizerE"],[1,"resizer-se","floating-panel__resizerSE"],[1,"resizer-s","floating-panel__resizerS"]],template:function(i,o){i&1&&(je(lI),p(0,"div",0),_("resizedEnd",function(){return o.onResizedEnd()})("dragEnd",function(){return o.onDragEnd()}),Ee(1),Ee(2,1),Ee(3,2),Ee(4,3),E(5,"div",1)(6,"div",2)(7,"div",3)(8,"div",4),f()),i&2&&(Y("visible",o.isVisible)("no-body",o.noBody)("is-focused",o.isFocused)("collapsed",o.isCollapsed),d(5),Y("resize-disabled",o.canNotResize),d(),Y("resize-disabled",o.canNotResize),d(),Y("resize-disabled",o.canNotResize),d(),Y("resize-disabled",o.canNotResize))},dependencies:[L,Sv],styles:['@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_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;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']})}}return t})();var dI=355,uI=355,Tv=(()=>{class t extends le{constructor(e,i,o,r,s){super(e),this.element=o,this.cdr=r,this.resizeObserverService=s,this.actionClicked=new M,this.noBody=!0,this.isFocused=!0,this.items=[],this.hasViewChecked=!1,this.componentId="hide-menu-fp-id",this.icon="ui-icon-hide-menu",this.title="",this.focusSelectorId="hide-menu-id",this.layoutManagerService=i}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,dI,uI)}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(nt),v(G),v(We),v(vn))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-hide-objects"]],inputs:{noBody:"noBody",isFocused:"isFocused",items:"items"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[ne([P]),q,S],decls:4,vars:17,consts:[["id","hide-menu-fp-id",1,"hide-menu",3,"id","noBody","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"parentId","icon","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","parentId","items"],[1,"floating-bar-dragger",3,"parentId"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-floating-bar",0),E(1,"lib-bimplus-floating-bar-header-logo",1),p(2,"lib-bimplus-floating-bar-header-content",2),_("actionClicked",function(s){return o.actionClicked.emit(s)}),f(),E(3,"lib-bimplus-floating-bar-dragger",3),f()),i&2&&(g("id",o.componentId)("noBody",o.noBody)("isFocused",o.isFocused)("resizeEnabled",!1)("focusSelector",o.focusSelectorId)("isVisible",!0)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),d(),g("parentId",o.componentId)("icon",o.icon)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),d(),g("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("parentId",o.componentId)("items",o.items),d(),g("parentId",o.componentId))},dependencies:[L,$o,Bo,zo,Ho,Q],styles:[`@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
|
|
20
|
-
`],encapsulation:3})}}return t})();var pI=355,mI=320,Ov=(()=>{class t extends le{constructor(e,i,o,r){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.hasViewChecked=!1,this.actionClicked=new M,this.noBody=!0,this.isFocused=!0,this.items=[],this.icon="ui-icon-isolation-menu",this.title="",this.focusSelectorId="isolation-menu-id",this.componentId="isolation-menu-fp-id"}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,pI,mI)}ngAfterViewChecked(){this.hasViewChecked||(this.hasViewChecked=!0,this.cdr.detectChanges(),setTimeout(()=>{this.layoutManagerService.checkPosition(this.componentId,".floating-panel.visible",void 0,0,0,!0)}))}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(nt),v(G),v(We))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-isolation-objects"]],inputs:{noBody:"noBody",isFocused:"isFocused",items:"items"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[ne([P]),q,S],decls:4,vars:17,consts:[["id","isolation-menu-fp-id",1,"isolation-menu",3,"id","noBody","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"parentId","icon","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","parentId","items"],[1,"floating-bar-dragger",3,"parentId"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-floating-bar",0),E(1,"lib-bimplus-floating-bar-header-logo",1),p(2,"lib-bimplus-floating-bar-header-content",2),_("actionClicked",function(s){return o.actionClicked.emit(s)}),f(),E(3,"lib-bimplus-floating-bar-dragger",3),f()),i&2&&(g("id",o.componentId)("noBody",o.noBody)("isFocused",o.isFocused)("resizeEnabled",!1)("focusSelector",o.focusSelectorId)("isVisible",!0)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),d(),g("parentId",o.componentId)("icon",o.icon)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),d(),g("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("parentId",o.componentId)("items",o.items),d(),g("parentId",o.componentId))},dependencies:[L,$o,Bo,zo,Ho,Q],styles:[`@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
|
|
21
|
-
`],encapsulation:3})}}return t})();var fI=["*"],Pv=(()=>{class t extends le{constructor(e,i){super(e),this.layoutManagerService=i,this.isCollapsed=!1,this.parentId=""}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.parentId);this.isCollapsed=!!i?.isCollapsed})}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(nt))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-body"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId"},standalone:!0,features:[q,S],ngContentSelectors:fI,decls:2,vars:1,consts:[["libDraggable","",1,"floating-panel__body",3,"ngClass"]],template:function(i,o){i&1&&(je(),p(0,"div",0),Ee(1),f()),i&2&&g("ngClass",o.isCollapsed?"hidden":"")},dependencies:[L,ie,Q]})}}return t})();var Av=t=>({visible:t}),gI=(t,n,e)=>({opaque:t,transparent:n,semiopaque:e}),hI=(t,n,e)=>({visible:t,invisible:n,semivisible:e}),bI=(t,n)=>({opaque:t,transparent:n}),vI=(t,n)=>({visible:t,invisible:n});function _I(t,n){if(t&1){let e=A();p(0,"div",8)(1,"div",9),N(2,"translate"),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r.clickedLayer.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u(2);return C(r.clickedLayer.emit(o))}),D(3),N(4,"translate"),f(),p(5,"div",5),N(6,"translate"),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r.toggleOpacityOfLayer.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u(2);return C(r.toggleOpacityOfLayer.emit(o))}),f(),p(7,"div",6),N(8,"translate"),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r.toggleVisibilityOfLayer.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u(2);return C(r.toggleVisibilityOfLayer.emit(o))}),f()()}if(t&2){let e=n.$implicit;d(),g("ngClass",Oe(18,Av,e.isVisible))("title",F(2,10,e.name)),X("data-test","floating_bar_layer"+e.id),d(2),H(" ",F(4,12,e.name)," "),d(2),g("ngClass",ft(20,bI,e.isOpaque,!e.isOpaque))("title",F(6,14,"_Toggle opacity")),X("data-test","toggle_opacity_layer_"+e.id),d(2),g("ngClass",ft(23,vI,e.isVisible,!e.isVisible))("title",F(8,16,"_Toggle visibility")),X("data-test","toggle_visibility_layer_"+e.id)}}function yI(t,n){if(t&1){let e=A();p(0,"div")(1,"lib-expansion-panel",0)(2,"lib-expansion-panel-header")(3,"span",4),_("click",function(){let o=y(e).$implicit,r=u();return C(r.clickedModel.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r.clickedModel.emit(o))}),D(4),f(),p(5,"lib-expansion-panel-header-actions")(6,"div",5),N(7,"translate"),_("click",function(){let o=y(e).$implicit,r=u();return C(r.toggleOpacityOfModel.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r.toggleOpacityOfModel.emit(o))}),f(),p(8,"div",6),N(9,"translate"),_("click",function(){let o=y(e).$implicit,r=u();return C(r.toggleVisibilityOfModel.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r.toggleVisibilityOfModel.emit(o))}),f()()(),x(10,_I,9,26,"div",7),f()()}if(t&2){let e=n.$implicit;d(),g("expanded",e.isExpanded),d(2),g("ngClass",Oe(15,Av,e.isVisible))("title",e.name+" (Rev: "+e.currentRevision+")"),d(),H(" ",e.name," "),d(2),g("ngClass",gt(17,gI,e.isOpaque,!e.isOpaque,e.isSemiOpaque))("title",F(7,11,"_Toggle opacity")),X("data-test","toggle_opacity_model_"+e.id),d(2),g("ngClass",gt(21,hI,e.isVisible,!e.isVisible,e.isSemiVisible))("title",F(9,13,"_Toggle visibility")),X("data-test","toggle_visibility_model_"+e.id),d(2),g("ngForOf",e.layers)}}var Nv=(()=>{class t extends le{constructor(e){super(e),this.modelTreeRootTitle="_Divisions",this.modelTreeRootName="_Divisions",this.expandedModelTree=!1,this.models=[],this.clickedModel=new M,this.clickedLayer=new M,this.toggleOpacityOfModel=new M,this.toggleOpacityOfLayer=new M,this.toggleVisibilityOfModel=new M,this.toggleVisibilityOfLayer=new M}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-project-models"]],inputs:{modelTreeRootTitle:"modelTreeRootTitle",modelTreeRootName:"modelTreeRootName",expandedModelTree:"expandedModelTree",models:"models"},outputs:{clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer"},standalone:!0,features:[q,S],decls:7,vars:6,consts:[[1,"project-navigator-model-panel",3,"expanded"],[3,"title"],[1,"project-navigator-root-node"],[4,"ngFor","ngForOf"],[1,"project-navigator-model-node",3,"click","keypress","ngClass","title"],[1,"ui-icon-transparency","project-navigator-action-buttons",3,"click","keypress","ngClass","title"],[1,"ui-icon-visibility","project-navigator-action-buttons",3,"click","keypress","ngClass","title"],["class","project-navigator-layer-node",4,"ngFor","ngForOf"],[1,"project-navigator-layer-node"],[1,"project-navigator-layer-node-name",3,"click","keypress","ngClass","title"]],template:function(i,o){i&1&&(p(0,"lib-expansion-panel",0)(1,"lib-expansion-panel-header",1)(2,"span",2),D(3),N(4,"translate"),f(),E(5,"lib-expansion-panel-header-actions"),f(),x(6,yI,11,25,"div",3),f()),i&2&&(g("expanded",o.expandedModelTree),d(),g("title",o.modelTreeRootTitle),d(2),ee(F(4,4,o.modelTreeRootName)),d(3),g("ngForOf",o.models))},dependencies:[L,ie,we,ni,ii,Ro,Q,de],styles:['@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}[_nghost-%COMP%]{background-color:transparent;color:var(--host-text-color-enabled);font-family:var(--project-models-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--project-models-font-size, 1.3rem);font-weight:400}lib-expansion-panel[_ngcontent-%COMP%]{--expansion-panel-content-container-padding-left: var(--project-models-tree-node-indent, 1.6rem)}lib-expansion-panel-header-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row}lib-expansion-panel-header[_ngcontent-%COMP%]{max-width:100%;flex:1}.project-navigator-action-buttons[_ngcontent-%COMP%]{width:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--project-models-action-icon-size, 1.8rem) var(--project-models-action-icon-size, 1.8rem);margin-left:.4rem}.project-navigator-layer-node[_ngcontent-%COMP%]{line-height:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);padding-left:var(--project-models-tree-node-indent, 1.6rem);display:flex;flex-direction:row;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.project-navigator-layer-node-name[_ngcontent-%COMP%]{flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-navigator-root-node[_ngcontent-%COMP%]{text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);font-weight:var(--project-models-root-node-font-weight, 700);font-size:var(--project-models-root-node-font-size, 1.4rem);max-width:100%;width:100%}.project-navigator-model-node[_ngcontent-%COMP%]{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);max-width:100%}']})}}return t})();var Fv=(()=>{class t{constructor(){this.isPanelToolbarVisible=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-panel-toolbar"]],inputs:{isPanelToolbarVisible:"isPanelToolbarVisible"},standalone:!0,features:[S],decls:1,vars:1,consts:[[1,"panel-toolbar",3,"ngClass"]],template:function(i,o){i&1&&E(0,"div",0),i&2&&g("ngClass",o.isPanelToolbarVisible?"":"hidden")},dependencies:[L,ie],styles:[".panel-toolbar[_ngcontent-%COMP%]{height:3.2rem;display:flex;align-items:flex-end;padding-left:.8rem;flex-shrink:0}.panel-toolbar[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.panel-toolbar[_ngcontent-%COMP%] .tab-icons-container[_ngcontent-%COMP%]{width:95%}.underline-switcher__containerbox[_ngcontent-%COMP%], .underline-switcher__container[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function Uo(t){t||(Kf(Uo),t=U(bo));let n=new ge(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(ot(n))}function wI(t,n){if(t&1&&(E(0,"span",6),N(1,"translate")),t&2){let e=u();g("innerHtml",F(1,1,e.loadingDataMessage),cu)}}function xI(t,n){if(t&1&&(E(0,"span",6),N(1,"translate")),t&2){let e=u(2);g("innerHtml",F(1,1,e.noModelsMessage),cu)}}function MI(t,n){if(t&1){let e=A();p(0,"lib-bimplus-scrollable-container")(1,"lib-project-models",7),_("clickedModel",function(o){y(e);let r=u(2);return C(r.clickedModel.emit(o))})("clickedLayer",function(o){y(e);let r=u(2);return C(r.clickedLayer.emit(o))})("toggleOpacityOfModel",function(o){y(e);let r=u(2);return C(r.toggleOpacityOfModel.emit(o))})("toggleOpacityOfLayer",function(o){y(e);let r=u(2);return C(r.toggleOpacityOfLayer.emit(o))})("toggleVisibilityOfModel",function(o){y(e);let r=u(2);return C(r.toggleVisibilityOfModel.emit(o))})("toggleVisibilityOfLayer",function(o){y(e);let r=u(2);return C(r.toggleVisibilityOfLayer.emit(o))}),f()()}if(t&2){let e=u(2);d(),g("selectedLanguage",e.selectedLanguage)("localizedStrings",e.localizedStrings)("models",e.project.models)("modelTreeRootTitle",e.project.name+" - "+e.project.teamSlug)("expandedModelTree",e.expandedModelTree)}}function kI(t,n){if(t&1&&x(0,xI,2,3,"span",6)(1,MI,2,5,"lib-bimplus-scrollable-container"),t&2){let e=u();j(e.project.models.length===0&&e.noModelsMessage?0:1)}}var DI=355,EI=20,kl=(()=>{class t extends le{constructor(e,i,o,r){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.hasViewChecked=!1,this.noBody=!1,this.isCollapsed=!1,this.noModelsMessage=void 0,this.isLoading=!1,this.loadingDataMessage=void 0,this.icon="ui-icon-project-navigator",this.title="_Project_navigator",this.componentId="project-navigator-fp-id",this.items=[],this.actionClicked=new M,this.isPanelToolbarVisible=!1,this.expandedModelTree=!1,this.project={id:"",name:"",teamSlug:"",models:[]},this.clickedModel=new M,this.clickedLayer=new M,this.toggleOpacityOfModel=new M,this.toggleOpacityOfLayer=new M,this.toggleVisibilityOfModel=new M,this.toggleVisibilityOfLayer=new M,this.logoClicked=new M,this.destroyRef=U(bo)}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,DI,EI),this.layoutManagerService.registeredItems$.pipe(Uo(this.destroyRef)).subscribe({next:e=>{let i=e.find(o=>o.id===this.componentId);this.isCollapsed=!!i?.isCollapsed},complete:()=>console.log("completed")})}ngAfterViewChecked(){this.hasViewChecked||(this.hasViewChecked=!0,this.cdr.detectChanges(),setTimeout(()=>{this.layoutManagerService.checkPosition(this.componentId,".floating-panel.visible",void 0,0,0,!0)}))}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(nt),v(G),v(We))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-project-navigator"]],inputs:{noBody:"noBody",isCollapsed:"isCollapsed",noModelsMessage:"noModelsMessage",isLoading:"isLoading",loadingDataMessage:"loadingDataMessage",items:"items",isPanelToolbarVisible:"isPanelToolbarVisible",expandedModelTree:"expandedModelTree",project:"project"},outputs:{actionClicked:"actionClicked",clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer",logoClicked:"logoClicked"},standalone:!0,features:[ne([P]),q,S],decls:8,vars:19,consts:[["id","project-navigator-fp-id",1,"project-navigator-fp","floating-panel",3,"id","selectedLanguage","localizedStrings","noBody","resizeEnabled","isVisible"],[1,"floating-bar-header-logo",3,"parentId","selectedLanguage","localizedStrings","icon","title"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","items","parentId"],[1,"floating-bar-dragger",3,"parentId"],[1,"floating-bar-body",3,"parentId"],[3,"isPanelToolbarVisible"],[1,"inline-message",3,"innerHtml"],[3,"clickedModel","clickedLayer","toggleOpacityOfModel","toggleOpacityOfLayer","toggleVisibilityOfModel","toggleVisibilityOfLayer","selectedLanguage","localizedStrings","models","modelTreeRootTitle","expandedModelTree"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-floating-bar",0),E(1,"lib-bimplus-floating-bar-header-logo",1),p(2,"lib-bimplus-floating-bar-header-content",2),_("actionClicked",function(s){return o.actionClicked.emit(s)}),f(),E(3,"lib-bimplus-floating-bar-dragger",3),p(4,"lib-bimplus-floating-bar-body",4),E(5,"lib-bimplus-panel-toolbar",5),x(6,wI,2,3,"span",6)(7,kI,2,1),f()()),i&2&&(g("id",o.componentId)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("noBody",o.noBody)("resizeEnabled",!0)("isVisible",!0),d(),g("parentId",o.componentId)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("icon",o.icon)("title",o.title),d(),g("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("items",o.items)("parentId",o.componentId),d(),g("parentId",o.componentId),d(),g("parentId",o.componentId),d(),g("isPanelToolbarVisible",o.isPanelToolbarVisible),d(),j(o.isLoading&&o.loadingDataMessage?6:7))},dependencies:[L,$o,Bo,zo,Ho,Pv,Fv,Nv,Q,de,$t],styles:[`@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}lib-bimplus-scrollable-container{height:100%;--scrollable-container-paddin-right: 1rem}lib-project-models{margin-right:1.4rem}.project-navigator-fp .floating-panel.visible:not(.collapsed){min-width:24.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp{pointer-events:none;position:absolute;top:0;left:0}.project-navigator-fp .scene-selector{padding-left:.6rem;padding-right:.9rem;margin-bottom:.6rem}.project-navigator-fp .saved-scenes-select{margin-left:.6rem;margin-right:.6rem}.project-navigator-fp .scene-options{display:flex;flex:1 1 auto;flex-direction:row;align-items:center;justify-content:center}.project-navigator-fp .scene-options .secondary-button{border:solid .1rem var(--floating-bar-project-navigator-secondary-button-border-color-enabled)!important}.project-navigator-fp .scene-options .only-icon-button{flex:1 1 auto}.project-navigator-fp .secondary-button{border:solid .1rem var(--floating-bar-project-navigator-secondary-button-border-color-enabled)!important}.project-navigator-fp .bim-item-refresh{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;background-size:2rem 2rem;cursor:pointer}.project-navigator-fp .bim-item-refresh.disabled{cursor:default}.project-navigator-fp.floating-panel{min-width:32.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.project-navigator-fp.floating-panel .floating-panel__body{padding-bottom:1.2rem;-webkit-user-select:none;user-select:none}.project-navigator-fp.floating-panel .floating-panel__body .bim-divisions-view .jstree-component{margin-top:0}.project-navigator-fp.floating-panel .floating-panel__header-content{justify-content:flex-end}.project-navigator-fp.floating-panel .ifc-export-container{height:3.2rem;width:3rem}.project-navigator-fp .model-topology-container{height:100%}.project-navigator-fp .model-topology-container.nodisplay{display:none}.project-navigator-fp .inline-message{padding:1.2rem}.is-touch .project-navigator-fp.floating-panel{min-width:27.5rem}.is-touch .project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.is-touch .project-navigator-fp.floating-panel .floating-panel__resizerNE{background:transparent}
|
|
19
|
+
`],encapsulation:3})}}return t})();var ai=(()=>{class t{constructor(){this.oldX=0,this.oldY=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new M,this.dragEnd=new M,this.clicked=new M}onMouseMove(e){if(!this.isDragging&&!this.isMouseDown)return;let i=e.clientX-this.oldX,o=e.clientY-this.oldY;if(!this.isDragging)if(Math.abs(i)>2||Math.abs(o)>2)this.isDragging=!0,this.wasDragging=!0;else return;oe(this,"dragging",[i,o]),this.oldX=e.clientX,this.oldY=e.clientY}onMouseUp(){(this.isDragging||this.isMouseDown)&&oe(this,"dragEnd",["$event"]),this.isDragging=!1,this.isMouseDown=!1}onMouseDown(e){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=e.clientX,this.oldY=e.clientY}onMouseClick(e){this.wasDragging||oe(this,"clicked",e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=K({type:t,selectors:[["","libDraggable",""]],hostBindings:function(i,o){i&1&&_("mousemove",function(s){return o.onMouseMove(s)},!1,Pt)("mouseup",function(s){return o.onMouseUp(s)},!1,Pt)("mousedown",function(s){return o.onMouseDown(s)})("click",function(s){return o.onMouseClick(s)})},outputs:{dragging:"dragging",dragEnd:"dragEnd",clicked:"clicked"},standalone:!0})}}return t})();var vn=(()=>{class t{constructor(){this.rectSize$=new Te(void 0),this.internalRectSize=new DOMRect(1,1,1,1),this.parentAppRect$=this.rectSize$.asObservable()}setSize(e){this.rectSize$.next(e),this.internalRectSize=e}getParentAppRect(){if(this.internalRectSize.width<=1||this.internalRectSize?.height<=1){let e=document.querySelector(".mainView");return e?e.getBoundingClientRect():this.internalRectSize}return this.internalRectSize}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Iv=(()=>{class t{constructor(){this.storageSubject=new Te(null)}setItem(e,i){try{localStorage.setItem(e,i),this.storageSubject.next({key:e,value:i})}catch(o){console.error("Error saving to localStorage",o)}}getItem(e){try{return localStorage.getItem(e)}catch(i){return console.error("Error reading from localStorage",i),null}}removeItem(e){try{localStorage.removeItem(e),this.storageSubject.next({key:e,value:null})}catch(i){console.error("Error removing from localStorage",i)}}clear(){try{localStorage.clear(),this.storageSubject.next(null)}catch(e){console.error("Error clearing localStorage",e)}}setObject(e,i){this.setItem(e,JSON.stringify(i))}getObject(e){let i=this.getItem(e);return i?JSON.parse(i):null}watchStorage(){return this.storageSubject.asObservable()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var it=(()=>{class t{constructor(e,i){this.resizeObserverService=e,this.localStorageService=i,this.registeredItems$=new Te([]),this.registeredItems=[],this.CONFIG="layoutManagerConfig"}get RegisteredItems(){return this.registeredItems}registerObject(e,i,o,r,s=100,a=100,l=0,c=0){let m=-1;this.registeredItems.some((w,b)=>{let T=w.id===i;return T&&(m=b),T})&&m>=0&&this.registeredItems.splice(m,1);let h={element:e,id:i,selector:o,rememberPosition:!!r,left:s,top:a,width:l,height:c,isCollapsed:!1};this.registeredItems.push(h),this.registeredItems$.next(this.registeredItems),this._initObject(h)}_initObject(e){this._adjustObjectByConfig(e),this._adjustObjectByWindowSize(e)}_getObjectConfig(e){if(!e)return null;let i=this.localStorageService.getItem(this.CONFIG),o=i?JSON.parse(i):{},r=e.id,s=o[r];return s||(s={id:r,left:e.left,top:e.top,width:e.width,height:e.height}),s}_adjustObjectByConfig(e){let i=this._getObjectConfig(e);if(!i)return;let o=this._getDomParentElement(e),r=this._getDomInternalElement(e,"");!o||!r||(o.style.left=i.left+"px",o.style.top=i.top+"px",i.width&&i.width>0&&(r.style.width=i.width+"px"),i.height&&i.height>0&&(r.style.height=i.height+"px"),this.checkPosition(e.id,"",void 0,0,0,!0))}_adjustObjectByWindowSize(e){this.checkPosition(e.id,"",void 0,0,0,!0)}getItem(e){let i=null;return this.registeredItems.forEach(o=>{o.id===e&&(i=o)}),i}_setObjectConfig(e,i,o,r,s){let a=e?.id;if(!a)return;let l=this.localStorageService.getObject(this.CONFIG);if(l||(l={}),e?.isCollapsed){l[a]||(l[a]=e),l[a].left=i,l[a].top=o,this.localStorageService.setObject(this.CONFIG,l);return}let c={id:a,isCollapsed:!1,left:i,top:o,width:r,height:s};l[a]=c,this.localStorageService.setObject(this.CONFIG,l)}getDomParentElement(e){let i=this.getItem(e);return i?this._getDomParentElement(i):null}_getDomParentElement(e){let i;return e.element?.nativeElement?.shadowRoot?i=e.element?.nativeElement?.shadowRoot.querySelector(e.selector):i=e.element?.nativeElement,i||(console.error("_getDomParentElement: missing element"),null)}_getDomInternalElement(e,i){let o=e.element?.nativeElement?.shadowRoot||e.element?.nativeElement;if(!o)return console.error("_getDomInternalElement: missing element"),null;let r=i&&i?.length>0?i:e.selector,s=r?o.querySelector(r):o;return s||console.error(`_getDomInternalElement: selection of element ${o} failed with selector ${r}`),s}_getElementRect(e,i,o){let r=this._getDomInternalElement(e,i);if(!r)return console.error("_getElementRect: missing selected object"),null;let s=o||this.resizeObserverService.getParentAppRect();(!s||s?.width<=1||s?.height<=1)&&console.log("_getElementRect: missing parent rect");let a=r.getBoundingClientRect();return a||console.error("_getElementRect: missing bounding rect"),a}checkPosition(e,i,o,r,s,a=!1){if(!e)return{deltaX:0,deltaY:0};let l=this.getItem(e);if(!l)return{deltaX:0,deltaY:0};let c=o||this.resizeObserverService.getParentAppRect(),m=this._getElementRect(l,i,c);if(!m)return console.error("checkPosition: missing elementRect"),{deltaX:0,deltaY:0};if(!m?.width||!m?.height)return console.error("checkPosition:element rect empty "),{deltaX:0,deltaY:0};let h=!0;if((c?.width<2||c?.height<2)&&(h=!1),h){let R=!0;this._isInsideRect(m,c)===!1&&!a&&(R=!1);let V=DOMRect.fromRect(m);if(this._translateRectangle(V,r,s),R){if(this._isInsideRect(V,c)===!1){let Z=this.getAlignedPosition(V,c);r=Z.x-m.x,s=Z.y-m.y,this._translateRectangle(V,r,s)}}else if(this._isInsideLeftTopRect(c,V)===!1){let Z=this._getAlignedLeftTopPosition(V,c);r=Z.x-m.x,s=Z.y-m.y,this._translateRectangle(V,r,s)}}let w=this._getDomParentElement(l);if(!w)return;let b=window.getComputedStyle(w),T=parseInt(b.top,10),O=parseInt(b.left,10);return w.style.top=T+s+"px",w.style.left=O+r+"px",{deltaX:r,deltaY:s}}_isInsideRect(e,i){return!e||!i?!1:i.left<=e.left&&i.top<=e.top&&i.right>=e.right&&i.bottom>=e.bottom}_isInsideLeftTopRect(e,i){if(!e||!i)return!1;let o=i.left<=e.left&&i.top<=e.top,r=e.left<=i.left&&e.top<=i.top;return o||r}getAlignedPosition(e,i){if(!e||!i)return{x:0,y:0};let o={x:e.x,y:e.y};return e.left<i.left?o.x=i.x:e.right>i.right&&(o.x=i.right-e.width),e.top<i.top?o.y=i.y:e.bottom>i.bottom&&(o.y=i.bottom-e.height),o}_getAlignedLeftTopPosition(e,i){if(!e||!i)return{x:0,y:0};let o={x:e.x,y:e.y};return e.left<i.left&&(o.x=i.x),e.top<i.top&&(o.y=i.y),o}_translateRectangle(e,i,o){if(e)return e.x+=i,e.y+=o,e}updateCollapsed(e,i=""){let o=this.getItem(i);o&&(o.isCollapsed=e,this.registeredItems$.next(this.registeredItems),setTimeout(()=>{this.checkPosition(o.id,"",void 0,0,0,!0)}))}handleDragEnd(e){this.finalizeObjectChanges(e)}finalizeObjectChanges(e){let i=this.getItem(e);if(!i)return;let o=this._getDomParentElement(i);if(!o)return;let r=window.getComputedStyle(o),s=parseInt(r.top,10),a=parseInt(r.left,10),l=this._getElementRect(i,void 0,void 0);this._setObjectConfig(i,a,s,l&&l.width>0?l.width:0,l&&l.height>0?l.height:0)}static{this.\u0275fac=function(i){return new(i||t)(B(vn),B(Iv))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bo=(()=>{class t{constructor(e){this.layoutManagerService=e,this.isCollapsed=!1,this.parentId="",this.draggerIcon="ui-icon-drag"}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(v(it))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-dragger"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId"},standalone:!0,features:[S],decls:1,vars:2,consts:[["libDraggable","",1,"floating-panel__dragger","dragger",3,"dragEnd","dragging","ngClass","className"]],template:function(i,o){i&1&&(p(0,"div",0),_("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),f()),i&2&&g("ngClass",o.isCollapsed?"collapsed":"")("className",o.draggerIcon)},dependencies:[L,ie,ai],styles:['@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_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;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}.ui-icon-drag[_ngcontent-%COMP%]{background-repeat:no-repeat;background-image:url("./assets/ic_drag.svg")}']})}}return t})();var sI=t=>({active:t});function aI(t,n){if(t&1){let e=A();p(0,"div")(1,"div",3),N(2,"translate"),_("click",function(){let o=y(e).$implicit,r=u();return C(r.onItemClicked(o.buttonId))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r.onItemClicked(o.buttonId))}),f()()}if(t&2){let e=n.$implicit;d(),g("ngClass",Oe(6,sI,e.active))("className",e.iconClass)("title",F(2,4,e.title)),X("data-test","floating_bar_item_"+e.buttonId)}}var zo=(()=>{class t extends le{constructor(e,i){super(e),this.layoutManagerService=i,this.isCollapsed=!1,this.parentId="",this.actionClicked=new M,this._items=new Array,this.layoutManagerService.registeredItems$.subscribe(o=>{let r=o.find(s=>s.id===this.parentId);this.isCollapsed=!!r?.isCollapsed})}get items(){return this._items}set items(e){this._items=e}findItemById(e){return this._items.find(i=>i.buttonId===e)}onItemClicked(e){let i=this.findItemById(e);!i||i?.disabled||this.actionClicked.emit(e)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(it))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-header-content"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId",items:"items"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[ne([P]),q,S],decls:3,vars:2,consts:[["libDraggable","",1,"floating-panel__header-content","dragger",3,"dragEnd","dragging","ngClass"],[1,"menu-content"],[4,"ngFor","ngForOf"],[1,"fp-block-item","fp-block-icon-item",3,"click","keypress","ngClass","className","title"]],template:function(i,o){i&1&&(p(0,"div",0),_("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),p(1,"div",1),x(2,aI,3,8,"div",2),f()()),i&2&&(g("ngClass",o.isCollapsed?"hidden":""),d(2),g("ngForOf",o.items))},dependencies:[L,ie,we,ai,Q,de],styles:['@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_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;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}[_ngcontent-%COMP%]:after, [_ngcontent-%COMP%]:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.menu-content[_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;-webkit-box-align-items:center;-moz-box-align-items:center;-webkit-align-items:center;-ms-align-items:center;align-items:center;padding-left:.5rem;padding-right:.5rem}.menu-content[_ngcontent-%COMP%] .block-icon-item[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_eye_black.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object.active[_ngcontent-%COMP%]{background-image:url("./assets/ic_eye_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_make_transparent.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object.active[_ngcontent-%COMP%]{background-image:url("./assets/ic_make_transparent_active.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-restore-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_reset.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuNormal.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuNormal_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuClipped.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuClipped_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuHidden.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuHidden_maincolor.svg")}']})}}return t})();var Ho=(()=>{class t extends le{constructor(e,i){super(e),this.layoutManagerService=i,this.icon="",this.isCollapsed=!1,this.parentId="",this.title=""}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.parentId);this.isCollapsed=!!i?.isCollapsed})}onLogoClicked(){this.layoutManagerService.updateCollapsed(!this.isCollapsed,this.parentId)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(it))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-header-logo"]],hostVars:2,hostBindings:function(i,o){i&2&&Y("isCollapsed",o.isCollapsed)},inputs:{icon:"icon",isCollapsed:"isCollapsed",parentId:"parentId",title:"title"},standalone:!0,features:[ne([P]),q,S],decls:2,vars:5,consts:[["libDraggable","",1,"floating-panel__header-logo",3,"clicked","dragEnd","dragging","ngClass","className","title"]],template:function(i,o){i&1&&(p(0,"div",0),N(1,"translate"),_("clicked",function(){return o.onLogoClicked()})("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),f()),i&2&&g("ngClass",o.isCollapsed?"collapsed":"")("className",o.icon)("title",F(1,3,o.title))},dependencies:[L,ie,ai,Q,de],styles:['@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_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;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']})}}return t})();var Sv=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.layoutManagerService=i,this.resizeObserverService=o,this.resizeContactPointX=0,this.resizeContactPointY=0,this.resizableElements=[],this.resizeEnabled=!0,this.resizeStarted=!1,this.actResizeStrategy="se",this.resizedEnd=new M,this.resizersList=[{className:"resizer-nw",resizeStrategy:"nw"},{className:"resizer-n",resizeStrategy:"n"},{className:"resizer-ne",resizeStrategy:"ne"},{className:"resizer-e",resizeStrategy:"e"},{className:"resizer-se",resizeStrategy:"se"},{className:"resizer-s",resizeStrategy:"s"},{className:"resizer-sw",resizeStrategy:"sw"},{className:"resizer-w",resizeStrategy:"w"}],this._element=e.nativeElement,this.layoutManagerService=i,this.resizeStart=r=>{if(r.stopPropagation(),this.resizeStarted)return;this.resizeStarted=!0;let s=r.targetTouches?r.targetTouches:[],a=r.type==="touchstart"?s[0]?.clientX:r.clientX,l=r.type==="touchstart"?s[0]?.clientY:r.clientY;this.resizeContactPointX=a,this.resizeContactPointY=l,this.openDocumentListenersResize(),this.setupResizeStrategy(r)},this.resizeInProgress=r=>{r.preventDefault(),r.stopPropagation();let s=r.targetTouches?r.targetTouches:[],a=r.type==="touchmove"?s[0]?.clientX:r.clientX,l=r.type==="touchmove"?s[0]?.clientY:r.clientY;this.resizeFromTo(this._element,this.resizeContactPointX,this.resizeContactPointY,a,l,this.actResizeStrategy)&&(this.resizeContactPointX=a,this.resizeContactPointY=l)},this.boundResizeStart=this.resizeStart.bind(this),this.boundResizeInProgress=this.resizeInProgress.bind(this),this.boundResizeEnd=this.resizeEnd.bind(this),this.resizeInProgress.bind(this),this.setResizers(this._element)}ngOnInit(){this.boundResizeStart=this.resizeStart.bind(this),this.boundResizeInProgress=this.resizeInProgress.bind(this),this.boundResizeEnd=this.resizeEnd.bind(this)}ngOnDestroy(){this.closeAllListenersResize()}resizeEnd(){this.resizeStarted&&(this.resizeStarted=!1,this.closeAllListenersResize(),this.openElementListenersResize(),oe(this,"resizedEnd",["$event"]))}_getViewRect(){let e=document.getElementById("#containerView");return e?e.getBoundingClientRect():new DOMRect(0,0,0,0)}isInsideRect(e,i){return!e||!i?!1:i.left<=e.left&&i.top<=e.top&&i.right>=e.right&&i.bottom>=e.bottom}_resizeRectangle(e,i,o,r){if(e)return["nw","w","sw"].includes(r)&&(e.x+=i,i=i*-1),["nw","n","ne"].includes(r)&&(e.y+=o,o=o*-1),typeof i=="number"&&!["n","s"].includes(r)&&(e.width+=i),typeof o=="number"&&!["w","e"].includes(r)&&(e.height+=o),e}_maxHeightReset(e,i){this.resizeFromTo(e,i.right,i.bottom,i.left,i.top,"se")}resizeFromTo(e,i,o,r,s,a){let l=r-i,c=s-o,m=e??this._element,h=m.getBoundingClientRect(),w=this.resizeObserverService.getParentAppRect(),b=!0;if(a=a||"se",this.isInsideRect(h,w)===!1&&(b=!1),this._resizeRectangle(h,l,c,a),b&&this.isInsideRect(h,w)===!1)return!1;let T=window.getComputedStyle(m),O=parseInt(T.top,10),R=parseInt(T.left,10),V=parseInt(T.width,10),Z=parseInt(T.height,10);return["nw","w","sw"].includes(a)&&(R=R+l),["nw","n","ne"].includes(a)&&(O=O+c),["n","s"].includes(a)||(V=h.width),w.height<h.height?this._maxHeightReset(m,h):["w","e"].includes(a)||(Z=h.height),m.style.top=O+"px",m.style.left=R+"px",m.style.width=V+"px",m.style.height=Z+"px",!0}setResizers(e){let i=()=>{let o=[];this.resizersList.forEach(r=>{let s=e.getElementsByClassName(r.className);if(s?.length){let a=Array.from(s).map(l=>{let c=l;return c.resizeStrategy=r.resizeStrategy,c});o=[...o,...a]}}),this.resizableElements=[...o],this.openElementListenersResize()};setTimeout(()=>{i()})}openElementListenersResize(){this.resizableElements.forEach(e=>{e.addEventListener("mousedown",this.boundResizeStart),e.addEventListener("touchstart",this.boundResizeStart)})}openDocumentListenersResize(){document.addEventListener("mouseup",this.boundResizeEnd),document.addEventListener("touchend",this.boundResizeEnd),document.addEventListener("mousemove",this.boundResizeInProgress),document.addEventListener("touchmove",this.boundResizeInProgress)}closeDocumentListenersResize(){document.removeEventListener("mousemove",this.boundResizeInProgress),document.removeEventListener("touchmove",this.boundResizeInProgress),document.removeEventListener("mouseup",this.boundResizeEnd),document.removeEventListener("touchend",this.boundResizeEnd)}closeElementListenersResize(){this.resizableElements.forEach(e=>{e.removeEventListener("mousedown",this.boundResizeStart),e.removeEventListener("touchstart",this.boundResizeStart),e.removeEventListener("mousemove",this.boundResizeInProgress),e.removeEventListener("touchmove",this.boundResizeInProgress),e.removeEventListener("mouseup",this.boundResizeEnd),e.removeEventListener("touchend",this.boundResizeEnd)})}closeAllListenersResize(){this.closeElementListenersResize(),this.closeDocumentListenersResize()}setupResizeStrategy(e){if(!e)return;let i="se",o=e?.target;if(o){let r=this.resizableElements.find(s=>s===o);r?.resizeStrategy&&(i=r?.resizeStrategy)}this.actResizeStrategy=i}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(it),v(vn))}}static{this.\u0275dir=K({type:t,selectors:[["","libResizable",""]],outputs:{resizedEnd:"resizedEnd"},standalone:!0})}}return t})();var lI=[[["",8,"floating-bar-header-logo"]],[["",8,"floating-bar-header-content"]],[["",8,"floating-bar-dragger"]],[["",8,"floating-bar-body"]]],cI=[".floating-bar-header-logo",".floating-bar-header-content",".floating-bar-dragger",".floating-bar-body"],$o=(()=>{class t extends le{constructor(e,i,o,r,s){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.resizeObserverService=s,this.noBody=!1,this.isFocused=!1,this.resizeEnabled=!1,this.autoCollapse=!1,this.focusSelector="",this.isVisible=!1,this.id="",this.subscription=null,this.hasViewChecked=!1,this.isCollapsed=!1}get canNotResize(){return!(this.resizeEnabled&&!this.isCollapsed)}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.id);this.isCollapsed=!!i?.isCollapsed})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}ngAfterViewInit(){this.subscription=this.resizeObserverService.parentAppRect$.subscribe(e=>{this.handleParentAppRectSizeChange(e)})}ngAfterViewChecked(){!this.hasViewChecked&&!this.isCollapsed&&(this.hasViewChecked=!0,setTimeout(()=>{this.layoutManagerService.checkPosition(this.id,"",void 0,0,0,!0)}))}handleParentAppRectSizeChange(e){this.layoutManagerService.checkPosition(this.id,".floating-panel.visible",e,0,0,!0)}onResizedEnd(){this.layoutManagerService.finalizeObjectChanges(this.id)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.id)}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(it),v(G),v(We),v(vn))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar"]],inputs:{noBody:"noBody",isFocused:"isFocused",resizeEnabled:"resizeEnabled",autoCollapse:"autoCollapse",focusSelector:"focusSelector",isVisible:"isVisible",id:"id"},standalone:!0,features:[q,S],ngContentSelectors:cI,decls:9,vars:16,consts:[["libResizable","",1,"floating-panel",3,"resizedEnd","dragEnd"],[1,"resizer-ne","floating-panel__resizerNE"],[1,"resizer-e","floating-panel__resizerE"],[1,"resizer-se","floating-panel__resizerSE"],[1,"resizer-s","floating-panel__resizerS"]],template:function(i,o){i&1&&(je(lI),p(0,"div",0),_("resizedEnd",function(){return o.onResizedEnd()})("dragEnd",function(){return o.onDragEnd()}),Ee(1),Ee(2,1),Ee(3,2),Ee(4,3),E(5,"div",1)(6,"div",2)(7,"div",3)(8,"div",4),f()),i&2&&(Y("visible",o.isVisible)("no-body",o.noBody)("is-focused",o.isFocused)("collapsed",o.isCollapsed),d(5),Y("resize-disabled",o.canNotResize),d(),Y("resize-disabled",o.canNotResize),d(),Y("resize-disabled",o.canNotResize),d(),Y("resize-disabled",o.canNotResize))},dependencies:[L,Sv],styles:['@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_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;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']})}}return t})();var dI=355,uI=355,Tv=(()=>{class t extends le{constructor(e,i,o,r,s){super(e),this.element=o,this.cdr=r,this.resizeObserverService=s,this.actionClicked=new M,this.noBody=!0,this.isFocused=!0,this.items=[],this.hasViewChecked=!1,this.componentId="hide-menu-fp-id",this.icon="ui-icon-hide-menu",this.title="",this.focusSelectorId="hide-menu-id",this.layoutManagerService=i}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,dI,uI)}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(it),v(G),v(We),v(vn))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-hide-objects"]],inputs:{noBody:"noBody",isFocused:"isFocused",items:"items"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[ne([P]),q,S],decls:4,vars:17,consts:[["id","hide-menu-fp-id",1,"hide-menu",3,"id","noBody","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"parentId","icon","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","parentId","items"],[1,"floating-bar-dragger",3,"parentId"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-floating-bar",0),E(1,"lib-bimplus-floating-bar-header-logo",1),p(2,"lib-bimplus-floating-bar-header-content",2),_("actionClicked",function(s){return o.actionClicked.emit(s)}),f(),E(3,"lib-bimplus-floating-bar-dragger",3),f()),i&2&&(g("id",o.componentId)("noBody",o.noBody)("isFocused",o.isFocused)("resizeEnabled",!1)("focusSelector",o.focusSelectorId)("isVisible",!0)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),d(),g("parentId",o.componentId)("icon",o.icon)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),d(),g("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("parentId",o.componentId)("items",o.items),d(),g("parentId",o.componentId))},dependencies:[L,$o,Bo,zo,Ho,Q],styles:[`@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
|
|
20
|
+
`],encapsulation:3})}}return t})();var pI=355,mI=320,Ov=(()=>{class t extends le{constructor(e,i,o,r){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.hasViewChecked=!1,this.actionClicked=new M,this.noBody=!0,this.isFocused=!0,this.items=[],this.icon="ui-icon-isolation-menu",this.title="",this.focusSelectorId="isolation-menu-id",this.componentId="isolation-menu-fp-id"}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,pI,mI)}ngAfterViewChecked(){this.hasViewChecked||(this.hasViewChecked=!0,this.cdr.detectChanges(),setTimeout(()=>{this.layoutManagerService.checkPosition(this.componentId,".floating-panel.visible",void 0,0,0,!0)}))}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(it),v(G),v(We))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-isolation-objects"]],inputs:{noBody:"noBody",isFocused:"isFocused",items:"items"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[ne([P]),q,S],decls:4,vars:17,consts:[["id","isolation-menu-fp-id",1,"isolation-menu",3,"id","noBody","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"parentId","icon","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","parentId","items"],[1,"floating-bar-dragger",3,"parentId"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-floating-bar",0),E(1,"lib-bimplus-floating-bar-header-logo",1),p(2,"lib-bimplus-floating-bar-header-content",2),_("actionClicked",function(s){return o.actionClicked.emit(s)}),f(),E(3,"lib-bimplus-floating-bar-dragger",3),f()),i&2&&(g("id",o.componentId)("noBody",o.noBody)("isFocused",o.isFocused)("resizeEnabled",!1)("focusSelector",o.focusSelectorId)("isVisible",!0)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),d(),g("parentId",o.componentId)("icon",o.icon)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),d(),g("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("parentId",o.componentId)("items",o.items),d(),g("parentId",o.componentId))},dependencies:[L,$o,Bo,zo,Ho,Q],styles:[`@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
|
|
21
|
+
`],encapsulation:3})}}return t})();var fI=["*"],Pv=(()=>{class t extends le{constructor(e,i){super(e),this.layoutManagerService=i,this.isCollapsed=!1,this.parentId=""}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.parentId);this.isCollapsed=!!i?.isCollapsed})}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(it))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-body"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId"},standalone:!0,features:[q,S],ngContentSelectors:fI,decls:2,vars:1,consts:[["libDraggable","",1,"floating-panel__body",3,"ngClass"]],template:function(i,o){i&1&&(je(),p(0,"div",0),Ee(1),f()),i&2&&g("ngClass",o.isCollapsed?"hidden":"")},dependencies:[L,ie,Q]})}}return t})();var Av=t=>({visible:t}),gI=(t,n,e)=>({opaque:t,transparent:n,semiopaque:e}),hI=(t,n,e)=>({visible:t,invisible:n,semivisible:e}),bI=(t,n)=>({opaque:t,transparent:n}),vI=(t,n)=>({visible:t,invisible:n});function _I(t,n){if(t&1){let e=A();p(0,"div",8)(1,"div",9),N(2,"translate"),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r.clickedLayer.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u(2);return C(r.clickedLayer.emit(o))}),D(3),N(4,"translate"),f(),p(5,"div",5),N(6,"translate"),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r.toggleOpacityOfLayer.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u(2);return C(r.toggleOpacityOfLayer.emit(o))}),f(),p(7,"div",6),N(8,"translate"),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r.toggleVisibilityOfLayer.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u(2);return C(r.toggleVisibilityOfLayer.emit(o))}),f()()}if(t&2){let e=n.$implicit;d(),g("ngClass",Oe(18,Av,e.isVisible))("title",F(2,10,e.name)),X("data-test","floating_bar_layer"+e.id),d(2),H(" ",F(4,12,e.name)," "),d(2),g("ngClass",ft(20,bI,e.isOpaque,!e.isOpaque))("title",F(6,14,"_Toggle opacity")),X("data-test","toggle_opacity_layer_"+e.id),d(2),g("ngClass",ft(23,vI,e.isVisible,!e.isVisible))("title",F(8,16,"_Toggle visibility")),X("data-test","toggle_visibility_layer_"+e.id)}}function yI(t,n){if(t&1){let e=A();p(0,"div")(1,"lib-expansion-panel",0)(2,"lib-expansion-panel-header")(3,"span",4),_("click",function(){let o=y(e).$implicit,r=u();return C(r.clickedModel.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r.clickedModel.emit(o))}),D(4),f(),p(5,"lib-expansion-panel-header-actions")(6,"div",5),N(7,"translate"),_("click",function(){let o=y(e).$implicit,r=u();return C(r.toggleOpacityOfModel.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r.toggleOpacityOfModel.emit(o))}),f(),p(8,"div",6),N(9,"translate"),_("click",function(){let o=y(e).$implicit,r=u();return C(r.toggleVisibilityOfModel.emit(o))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r.toggleVisibilityOfModel.emit(o))}),f()()(),x(10,_I,9,26,"div",7),f()()}if(t&2){let e=n.$implicit;d(),g("expanded",e.isExpanded),d(2),g("ngClass",Oe(15,Av,e.isVisible))("title",e.name+" (Rev: "+e.currentRevision+")"),d(),H(" ",e.name," "),d(2),g("ngClass",gt(17,gI,e.isOpaque,!e.isOpaque,e.isSemiOpaque))("title",F(7,11,"_Toggle opacity")),X("data-test","toggle_opacity_model_"+e.id),d(2),g("ngClass",gt(21,hI,e.isVisible,!e.isVisible,e.isSemiVisible))("title",F(9,13,"_Toggle visibility")),X("data-test","toggle_visibility_model_"+e.id),d(2),g("ngForOf",e.layers)}}var Nv=(()=>{class t extends le{constructor(e){super(e),this.modelTreeRootTitle="_Divisions",this.modelTreeRootName="_Divisions",this.expandedModelTree=!1,this.models=[],this.clickedModel=new M,this.clickedLayer=new M,this.toggleOpacityOfModel=new M,this.toggleOpacityOfLayer=new M,this.toggleVisibilityOfModel=new M,this.toggleVisibilityOfLayer=new M}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-project-models"]],inputs:{modelTreeRootTitle:"modelTreeRootTitle",modelTreeRootName:"modelTreeRootName",expandedModelTree:"expandedModelTree",models:"models"},outputs:{clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer"},standalone:!0,features:[q,S],decls:7,vars:6,consts:[[1,"project-navigator-model-panel",3,"expanded"],[3,"title"],[1,"project-navigator-root-node"],[4,"ngFor","ngForOf"],[1,"project-navigator-model-node",3,"click","keypress","ngClass","title"],[1,"ui-icon-transparency","project-navigator-action-buttons",3,"click","keypress","ngClass","title"],[1,"ui-icon-visibility","project-navigator-action-buttons",3,"click","keypress","ngClass","title"],["class","project-navigator-layer-node",4,"ngFor","ngForOf"],[1,"project-navigator-layer-node"],[1,"project-navigator-layer-node-name",3,"click","keypress","ngClass","title"]],template:function(i,o){i&1&&(p(0,"lib-expansion-panel",0)(1,"lib-expansion-panel-header",1)(2,"span",2),D(3),N(4,"translate"),f(),E(5,"lib-expansion-panel-header-actions"),f(),x(6,yI,11,25,"div",3),f()),i&2&&(g("expanded",o.expandedModelTree),d(),g("title",o.modelTreeRootTitle),d(2),ee(F(4,4,o.modelTreeRootName)),d(3),g("ngForOf",o.models))},dependencies:[L,ie,we,ni,ii,Ro,Q,de],styles:['@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}[_nghost-%COMP%]{background-color:transparent;color:var(--host-text-color-enabled);font-family:var(--project-models-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--project-models-font-size, 1.3rem);font-weight:400}lib-expansion-panel[_ngcontent-%COMP%]{--expansion-panel-content-container-padding-left: var(--project-models-tree-node-indent, 1.6rem)}lib-expansion-panel-header-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row}lib-expansion-panel-header[_ngcontent-%COMP%]{max-width:100%;flex:1}.project-navigator-action-buttons[_ngcontent-%COMP%]{width:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--project-models-action-icon-size, 1.8rem) var(--project-models-action-icon-size, 1.8rem);margin-left:.4rem}.project-navigator-layer-node[_ngcontent-%COMP%]{line-height:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);padding-left:var(--project-models-tree-node-indent, 1.6rem);display:flex;flex-direction:row;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.project-navigator-layer-node-name[_ngcontent-%COMP%]{flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-navigator-root-node[_ngcontent-%COMP%]{text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);font-weight:var(--project-models-root-node-font-weight, 700);font-size:var(--project-models-root-node-font-size, 1.4rem);max-width:100%;width:100%}.project-navigator-model-node[_ngcontent-%COMP%]{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);max-width:100%}']})}}return t})();var Fv=(()=>{class t{constructor(){this.isPanelToolbarVisible=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-panel-toolbar"]],inputs:{isPanelToolbarVisible:"isPanelToolbarVisible"},standalone:!0,features:[S],decls:1,vars:1,consts:[[1,"panel-toolbar",3,"ngClass"]],template:function(i,o){i&1&&E(0,"div",0),i&2&&g("ngClass",o.isPanelToolbarVisible?"":"hidden")},dependencies:[L,ie],styles:[".panel-toolbar[_ngcontent-%COMP%]{height:3.2rem;display:flex;align-items:flex-end;padding-left:.8rem;flex-shrink:0}.panel-toolbar[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.panel-toolbar[_ngcontent-%COMP%] .tab-icons-container[_ngcontent-%COMP%]{width:95%}.underline-switcher__containerbox[_ngcontent-%COMP%], .underline-switcher__container[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function Uo(t){t||(Kf(Uo),t=U(bo));let n=new ge(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(rt(n))}function wI(t,n){if(t&1&&(E(0,"span",6),N(1,"translate")),t&2){let e=u();g("innerHtml",F(1,1,e.loadingDataMessage),cu)}}function xI(t,n){if(t&1&&(E(0,"span",6),N(1,"translate")),t&2){let e=u(2);g("innerHtml",F(1,1,e.noModelsMessage),cu)}}function MI(t,n){if(t&1){let e=A();p(0,"lib-bimplus-scrollable-container")(1,"lib-project-models",7),_("clickedModel",function(o){y(e);let r=u(2);return C(r.clickedModel.emit(o))})("clickedLayer",function(o){y(e);let r=u(2);return C(r.clickedLayer.emit(o))})("toggleOpacityOfModel",function(o){y(e);let r=u(2);return C(r.toggleOpacityOfModel.emit(o))})("toggleOpacityOfLayer",function(o){y(e);let r=u(2);return C(r.toggleOpacityOfLayer.emit(o))})("toggleVisibilityOfModel",function(o){y(e);let r=u(2);return C(r.toggleVisibilityOfModel.emit(o))})("toggleVisibilityOfLayer",function(o){y(e);let r=u(2);return C(r.toggleVisibilityOfLayer.emit(o))}),f()()}if(t&2){let e=u(2);d(),g("selectedLanguage",e.selectedLanguage)("localizedStrings",e.localizedStrings)("models",e.project.models)("modelTreeRootTitle",e.project.name+" - "+e.project.teamSlug)("expandedModelTree",e.expandedModelTree)}}function kI(t,n){if(t&1&&x(0,xI,2,3,"span",6)(1,MI,2,5,"lib-bimplus-scrollable-container"),t&2){let e=u();j(e.project.models.length===0&&e.noModelsMessage?0:1)}}var DI=355,EI=20,kl=(()=>{class t extends le{constructor(e,i,o,r){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.hasViewChecked=!1,this.noBody=!1,this.isCollapsed=!1,this.noModelsMessage=void 0,this.isLoading=!1,this.loadingDataMessage=void 0,this.icon="ui-icon-project-navigator",this.title="_Project_navigator",this.componentId="project-navigator-fp-id",this.items=[],this.actionClicked=new M,this.isPanelToolbarVisible=!1,this.expandedModelTree=!1,this.project={id:"",name:"",teamSlug:"",models:[]},this.clickedModel=new M,this.clickedLayer=new M,this.toggleOpacityOfModel=new M,this.toggleOpacityOfLayer=new M,this.toggleVisibilityOfModel=new M,this.toggleVisibilityOfLayer=new M,this.logoClicked=new M,this.destroyRef=U(bo)}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,DI,EI),this.layoutManagerService.registeredItems$.pipe(Uo(this.destroyRef)).subscribe({next:e=>{let i=e.find(o=>o.id===this.componentId);this.isCollapsed=!!i?.isCollapsed},complete:()=>console.log("completed")})}ngAfterViewChecked(){this.hasViewChecked||(this.hasViewChecked=!0,this.cdr.detectChanges(),setTimeout(()=>{this.layoutManagerService.checkPosition(this.componentId,".floating-panel.visible",void 0,0,0,!0)}))}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(it),v(G),v(We))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-floating-bar-project-navigator"]],inputs:{noBody:"noBody",isCollapsed:"isCollapsed",noModelsMessage:"noModelsMessage",isLoading:"isLoading",loadingDataMessage:"loadingDataMessage",items:"items",isPanelToolbarVisible:"isPanelToolbarVisible",expandedModelTree:"expandedModelTree",project:"project"},outputs:{actionClicked:"actionClicked",clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer",logoClicked:"logoClicked"},standalone:!0,features:[ne([P]),q,S],decls:8,vars:19,consts:[["id","project-navigator-fp-id",1,"project-navigator-fp","floating-panel",3,"id","selectedLanguage","localizedStrings","noBody","resizeEnabled","isVisible"],[1,"floating-bar-header-logo",3,"parentId","selectedLanguage","localizedStrings","icon","title"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","items","parentId"],[1,"floating-bar-dragger",3,"parentId"],[1,"floating-bar-body",3,"parentId"],[3,"isPanelToolbarVisible"],[1,"inline-message",3,"innerHtml"],[3,"clickedModel","clickedLayer","toggleOpacityOfModel","toggleOpacityOfLayer","toggleVisibilityOfModel","toggleVisibilityOfLayer","selectedLanguage","localizedStrings","models","modelTreeRootTitle","expandedModelTree"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-floating-bar",0),E(1,"lib-bimplus-floating-bar-header-logo",1),p(2,"lib-bimplus-floating-bar-header-content",2),_("actionClicked",function(s){return o.actionClicked.emit(s)}),f(),E(3,"lib-bimplus-floating-bar-dragger",3),p(4,"lib-bimplus-floating-bar-body",4),E(5,"lib-bimplus-panel-toolbar",5),x(6,wI,2,3,"span",6)(7,kI,2,1),f()()),i&2&&(g("id",o.componentId)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("noBody",o.noBody)("resizeEnabled",!0)("isVisible",!0),d(),g("parentId",o.componentId)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("icon",o.icon)("title",o.title),d(),g("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("items",o.items)("parentId",o.componentId),d(),g("parentId",o.componentId),d(),g("parentId",o.componentId),d(),g("isPanelToolbarVisible",o.isPanelToolbarVisible),d(),j(o.isLoading&&o.loadingDataMessage?6:7))},dependencies:[L,$o,Bo,zo,Ho,Pv,Fv,Nv,Q,de,$t],styles:[`@charset "UTF-8";.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:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}lib-bimplus-scrollable-container{height:100%;--scrollable-container-paddin-right: 1rem}lib-project-models{margin-right:1.4rem}.project-navigator-fp .floating-panel.visible:not(.collapsed){min-width:24.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp{pointer-events:none;position:absolute;top:0;left:0}.project-navigator-fp .scene-selector{padding-left:.6rem;padding-right:.9rem;margin-bottom:.6rem}.project-navigator-fp .saved-scenes-select{margin-left:.6rem;margin-right:.6rem}.project-navigator-fp .scene-options{display:flex;flex:1 1 auto;flex-direction:row;align-items:center;justify-content:center}.project-navigator-fp .scene-options .secondary-button{border:solid .1rem var(--floating-bar-project-navigator-secondary-button-border-color-enabled)!important}.project-navigator-fp .scene-options .only-icon-button{flex:1 1 auto}.project-navigator-fp .secondary-button{border:solid .1rem var(--floating-bar-project-navigator-secondary-button-border-color-enabled)!important}.project-navigator-fp .bim-item-refresh{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;background-size:2rem 2rem;cursor:pointer}.project-navigator-fp .bim-item-refresh.disabled{cursor:default}.project-navigator-fp.floating-panel{min-width:32.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.project-navigator-fp.floating-panel .floating-panel__body{padding-bottom:1.2rem;-webkit-user-select:none;user-select:none}.project-navigator-fp.floating-panel .floating-panel__body .bim-divisions-view .jstree-component{margin-top:0}.project-navigator-fp.floating-panel .floating-panel__header-content{justify-content:flex-end}.project-navigator-fp.floating-panel .ifc-export-container{height:3.2rem;width:3rem}.project-navigator-fp .model-topology-container{height:100%}.project-navigator-fp .model-topology-container.nodisplay{display:none}.project-navigator-fp .inline-message{padding:1.2rem}.is-touch .project-navigator-fp.floating-panel{min-width:27.5rem}.is-touch .project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.is-touch .project-navigator-fp.floating-panel .floating-panel__resizerNE{background:transparent}
|
|
22
22
|
`],encapsulation:3})}}return t})();var II=(t,n)=>({open:t,"expand-up":n});function SI(t,n){if(t&1){let e=A();p(0,"li",7),_("click",function(){let o=y(e).$implicit,r=u();return C(r._switchLanguage(o.symbol))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r._switchLanguage(o.symbol))}),p(1,"span"),D(2),f()()}if(t&2){let e=n.$implicit,i=u();g("ngClass",i.selectedLanguage===e.symbol?"selected":""),X("data-test","langmenu_item_"+e.text),d(2),ee(e.text)}}var Dl=(()=>{class t{constructor(){this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina"},{symbol:"de",text:"Deutsch"},{symbol:"en",text:"English (UK)"},{symbol:"us",text:"English (US)"},{symbol:"es",text:"Espa\xF1ol"},{symbol:"fr",text:"Fran\xE7ais"},{symbol:"it",text:"Italiano"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{symbol:"ro",text:"Romana"},{symbol:"tr",text:"T\xFCrk\xE7e"}],this.isTouch=!1,this.selectedLanguage="en",this.expandUp=!1,this._menuOpened=!1,this.bimplusLanguageSelected=new M}_switchLanguage(e){oe(this,"bimplusLanguageSelected",e)}_toggleOpened(){this._menuOpened=!this._menuOpened}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-language-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",k],selectedLanguage:"selectedLanguage",expandUp:[2,"expandUp","expandUp",k]},outputs:{bimplusLanguageSelected:"bimplusLanguageSelected"},standalone:!0,features:[he,S],decls:7,vars:8,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],["data-test","language-menu-dropdown",1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-languages"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(i,o){i&1&&(p(0,"div",0),_("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),f(),p(1,"div",1),_("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),p(2,"div",2),E(3,"div",3)(4,"span",4),f(),p(5,"ul",5),x(6,SI,3,3,"li",6),f()()),i&2&&(g("ngClass",o._menuOpened?"open":""),d(),g("ngClass",o._menuOpened?"open":"")("ngClass",o.isTouch?"is-touch":""),d(4),g("ngClass",ft(5,II,o._menuOpened,o.expandUp)),d(),g("ngForOf",o._languagesList))},dependencies:[L,ie,we],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--language-menu-dropdown-open-text-color-enabled);background-color:var(--language-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--language-menu-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--language-menu-dropdown-menu-background-color-enabled);border:thin solid var(--language-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--language-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.4em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:0 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--language-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.expand-up{top:-24rem;right:-13.5rem}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-languages{background:url("./assets/bimplus_Components_Languages.svg") no-repeat center}
|
|
23
|
-
`],encapsulation:3})}}return t})();var Rv=(t,n)=>n.id,TI=(t,n,e)=>({collapsed:t,"mini-mode":n,"is-touch":e});function OI(t,n){if(t&1){let e=A();p(0,"div",4),N(1,"translate"),_("dblclick",function(o){y(e);let r=u(3);return C(r._menuItemIgnoreAction(o))})("click",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"normal",o))})("keypress",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"normal",o))}),E(2,"div",5),p(3,"div",6),_("click",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"info",o))})("keypress",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"info",o))}),f()()}if(t&2){let e=u().$implicit,i=u(2);g("ngClass",i._getPrjItemClassAttributes(e,i.isTouch))("title",F(1,3,i._isDisabled(e)&&e.textIdDisabled?e.textIdDisabled:e.textId)),d(2),g("ngClass",i._getPrjIconClassAttributes(e))}}function PI(t,n){if(t&1&&x(0,OI,4,5,"div",3),t&2){let e=n.$implicit,i=u(2);j(i._isHidden(e)?-1:0)}}function AI(t,n){if(t&1&&Jt(0,PI,1,1,null,null,Rv),t&2){let e=u();en(e.menuItems)}}function NI(t,n){if(t&1){let e=A();p(0,"div",4),N(1,"translate"),_("dblclick",function(o){y(e);let r=u(3);return C(r._menuItemIgnoreAction(o))})("click",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"normal",o))})("keypress",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"normal",o))}),E(2,"div",5),p(3,"div",6),_("click",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"info",o))})("keypress",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"info",o))}),f()()}if(t&2){let e=u().$implicit,i=u(2);g("ngClass",i._getPrjItemClassAttributes(e,i.isTouch))("title",F(1,3,i._isDisabled(e)&&e.textIdDisabled?e.textIdDisabled:e.textId)),d(2),g("ngClass",i._getPrjIconClassAttributes(e))}}function FI(t,n){if(t&1&&x(0,NI,4,5,"div",3),t&2){let e=n.$implicit,i=u(2);j(!i._isHidden(e)&&(i.isCollapsed||e.action!=="processes")?0:-1)}}function RI(t,n){if(t&1&&Jt(0,FI,1,1,null,null,Rv),t&2){let e=u();en(e.menuItems)}}function jI(t,n){t&1&&at(0)}function LI(t,n){if(t&1&&x(0,jI,1,0,"ng-container",13),t&2){u(2);let e=Je(1);g("ngTemplateOutlet",e)}}function VI(t,n){if(t&1&&(p(0,"div",7)(1,"div",8),E(2,"div",9),f(),p(3,"div",10),D(4),f()(),p(5,"div",11)(6,"div",12),x(7,LI,1,1,"ng-container"),f()()),t&2){let e=u();d(),g("ngStyle",e.prjImageOverlayStyle),d(),g("ngStyle",e.prjImageStyle),d(2),H(" ",e.projectName," "),d(),g("ngClass",e.showHorizontalMenuIcons?"":"hidden"),d(2),j(e.showHorizontalMenuIcons?7:-1)}}function BI(t,n){t&1&&at(0)}function zI(t,n){if(t&1&&x(0,BI,1,0,"ng-container",13),t&2){u(2);let e=Je(3);g("ngTemplateOutlet",e)}}function HI(t,n){t&1&&at(0)}function $I(t,n){if(t&1&&x(0,HI,1,0,"ng-container",13),t&2){u(2);let e=Je(1);g("ngTemplateOutlet",e)}}function UI(t,n){if(t&1){let e=A();p(0,"a",14),N(1,"translate"),_("dblclick",function(){y(e);let o=u();return C(o._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){y(e);let o=u();return C(o._projectMenuItemClicked("prjimageclick","normal"))}),p(2,"div",15),E(3,"div",16),p(4,"div",17),x(5,zI,1,1,"ng-container"),f(),p(6,"div",18),D(7),f()()(),p(8,"div",11)(9,"div",12),x(10,$I,1,1,"ng-container"),f()()}if(t&2){let e=u();ve("href",e.projectExplorerUrl,Tr),g("ngStyle",e.prjImageOverlayStyle)("title",F(1,10,"_ModelThumbnailTooltip")),d(2),g("ngStyle",e.prjImageStyle),d(),g("ngClass",e.hideMenuIcons||e.showHorizontalMenuIcons?"hidden":""),d(),g("ngClass",e.hideMenuIcons||e.showHorizontalMenuIcons?"hidden":""),d(),j(!e.hideMenuIcons&&!e.showHorizontalMenuIcons?5:-1),d(2),H(" ",e.projectName," "),d(),g("ngClass",e.showHorizontalMenuIcons?"":"hidden"),d(2),j(e.showHorizontalMenuIcons?10:-1)}}var El=(()=>{class t extends le{constructor(e){super(e),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.menuItemsOrder=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/images/default/bimplus_Components_Project_Pic_Default.png"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/images/default/bimplus_Components_Project_Pic_Default.png"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}get menuItems(){return this._menuPrjList.sort((e,i)=>this.menuItemsOrder.indexOf(e.id)-this.menuItemsOrder.indexOf(i.id))}_isHidden(e){if(e){let i=`${e.action?e.action:e.id}Visible`;return!this[i]}return!1}_isDisabled(e){if(e){let i=`${e.action?e.action:e.id}Disabled`;return!!this[i]}return!1}_projectMenuItemClicked(e,i){console.log(e,i)}_menuItemClicked(e,i,o){if(o&&(o.stopPropagation(),o.preventDefault()),console.log(e,i,o),i!="info"&&this._isDisabled(e))return;let r=e.action;oe(this,"bimplusProjectMenuClicked",{action:r,type:i})}_menuItemIgnoreAction(e){e&&(e.stopPropagation(),e.preventDefault())}_getPrjItemClassAttributes(e,i){return`${this._isDisabled(e)?"disabled":""} ${i?"":"hover-show-info"}`}_getPrjIconClassAttributes(e){return`${e.class} ${e.action===this.projectActiveItem?"active":""} ${this._isDisabled(e)?"disabled":""}`}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",k],modelsDisabled:[2,"modelsDisabled","modelsDisabled",k],documentsDisabled:[2,"documentsDisabled","documentsDisabled",k],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",k],processesDisabled:[2,"processesDisabled","processesDisabled",k],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",k],modelsVisible:[2,"modelsVisible","modelsVisible",k],documentsVisible:[2,"documentsVisible","documentsVisible",k],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",k],processesVisible:[2,"processesVisible","processesVisible",k],isCollapsed:[2,"isCollapsed","isCollapsed",k],isMiniMode:[2,"isMiniMode","isMiniMode",k],isTouch:[2,"isTouch","isTouch",k],hideMenuIcons:[2,"hideMenuIcons","hideMenuIcons",k],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",k],menuItemsOrder:"menuItemsOrder"},standalone:!0,features:[ne([P]),he,q,S],decls:7,vars:6,consts:[["prjList",""],["prjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","keypress","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click","keypress"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(i,o){i&1&&(x(0,AI,2,0,"ng-template",null,0,yt)(2,RI,2,0,"ng-template",null,1,yt),p(4,"div",2),x(5,VI,8,5)(6,UI,11,12),f()),i&2&&(d(4),g("ngClass",gt(2,TI,o.isCollapsed,o.isMiniMode,o.isTouch)),d(),j(o.isMiniMode&&!o.isCollapsed?5:6))},dependencies:[L,ie,Pn,ko,Q,de],styles:[`.bim-pm-prj-container{display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--project-menu-project-container-background-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode{border-bottom:thin solid var(--project-menu-project-container-mini-mode-border-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-horizontal{padding-left:.5em;padding-bottom:.5em}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-list{height:2.3em}.bim-pm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em}div:not(.collapsed) .bim-pm-prj-details{height:10em}div:not(.collapsed) .bim-pm-prj-details .bim-pm-prj-image{height:10em}.bim-pm-prj-details{color:inherit;background-size:100% auto!important;background-color:var(--project-menu-project-details-background-color-enabled);background-repeat:no-repeat!important;overflow:hidden}.bim-pm-prj-details .bim-pm-prj-image{background-size:auto 10em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;display:flex;flex-direction:column;position:relative;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list{width:4.6875em;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex:1 0 auto;position:absolute}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item{padding-top:.88em;width:100%;display:flex;justify-content:space-around;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item:first-child{padding-top:.43em}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin-left:.875em;margin-right:auto}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-details .bim-pm-prj-items-list .hover-show-info:hover .bim-pm-app-item-info{display:block}.bim-pm-prj-details .bim-pm-prj-name{color:var(--project-menu-project-name-text-color);background-color:var(--project-menu-project-name-background-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:1em;font-weight:400;padding-left:.875em;padding-top:.375em;padding-right:1rem;height:1.625em;box-sizing:content-box;position:absolute;bottom:0;left:0;right:0}.bim-pm-prj-details .bim-pm-prj-items-overlay{position:absolute;background-color:var(--project-menu-item-overlay-background-color-enabled);width:2.8125em;height:calc(100% - 2em)}.bim-pm-prj-details .bim-pm-prj-items-overlay.hidden{display:none}.bim-pm-prj-items-horizontal{border-bottom:1px solid var(--project-menu-project-items-horizontal-border-color-enabled)}.bim-pm-prj-items-horizontal.hidden{display:none}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list{width:auto;height:3.44em;position:relative;display:inline-flex;flex-direction:row;justify-content:center;align-items:center}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin:auto}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item{margin-left:.875em;margin-right:auto;cursor:pointer}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item~.bim-pm-prj-item{margin-left:1.13em}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-container.collapsed .bim-pm-prj-details,.bim-pm-prj-container.collapsed .bim-pm-prj-image{background:none transparent!important;min-height:7.589em}.bim-pm-prj-container.collapsed .bim-pm-prj-items-list{position:static}.bim-pm-prj-container.collapsed .bim-pm-prj-items-overlay,.bim-pm-prj-container.collapsed .bim-pm-prj-name,.bim-pm-prj-container.collapsed .bim-pm-app-item-details span{display:none}.bim-pm-prj-details-mini{display:grid;grid-template-columns:2.25em auto;grid-template-rows:min-content;row-gap:.4em;grid-gap:.8em;margin:.5em .9em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini{grid-column:1;grid-row:1;width:2.25em;height:2.25em;background-size:auto 2.25em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini .bim-pm-prj-image-thumbnail{width:2.25em;height:2.25em;background-size:auto 2.25em!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-name-mini{font-weight:700;grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.bim-pm-prj-items-list.hidden{display:none}.bim-pm-icon-users{background:url("./assets/bimplus_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./assets/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./assets/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./assets/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./assets/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./assets/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./assets/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./assets/bimplus_Components_Info_Active.svg") no-repeat center}
|
|
24
|
-
`],encapsulation:3})}}return t})();var hp=t=>({$implicit:t});function WI(t,n){if(t&1&&E(0,"div",10),t&2){let e=u().$implicit;Nr(e.item.class),g("id",e.item.id)}}function GI(t,n){if(t&1){let e=A();p(0,"div",14),_("click",function(o){y(e);let r=u(2).$implicit,s=u();return C(s._mainMenuItemClicked(r.item,"info",o))})("keypress",function(o){y(e);let r=u(2).$implicit,s=u();return C(s._mainMenuItemClicked(r.item,"info",o))}),f()}}function qI(t,n){if(t&1){let e=A();p(0,"div",9),N(1,"translate"),p(2,"div",11),_("click",function(o){y(e);let r=u().$implicit,s=u();return C(s._mainMenuItemClicked(r.item,"normal",o))})("keypress",function(o){y(e);let r=u().$implicit,s=u();return C(s._mainMenuItemClicked(r.item,"normal",o))}),E(3,"div",12),p(4,"span"),D(5),N(6,"translate"),f()(),x(7,GI,1,0,"div",13),f()}if(t&2){let e=u().$implicit,i=u();g("id",e.item.id)("ngClass",i.isTouch?"":"hover-show-info "+(e.active?"active ":" ")+(e.disabled?"disabled ":" ")+(e.clickable?" ":"not-clickable ")+(e.selected?"selected ":" "))("title",e.disabled?F(1,7,e.item.disabledTitle):""),d(2),g("ngClass",e.clickable?"":"not-clickable"),d(),g("ngClass",e.item.class+(e.active?" active":"")+(e.disabled?" disabled ":"")),d(2),ee(F(6,9,e.isDisabled&&e.item.textIdDisabled!==""?e.item.textIdDisabled:e.item.textId)),d(2),j(e.showInfoIcon?7:-1)}}function ZI(t,n){if(t&1&&x(0,WI,1,3,"div",8)(1,qI,8,11,"div",9),t&2){let e=n.$implicit;j(e.item.type==="divider"?0:1)}}function YI(t,n){t&1&&at(0)}function KI(t,n){if(t&1&&x(0,YI,1,0,"ng-container",15),t&2){let e=u(),i=Je(1);g("ngTemplateOutlet",i)("ngTemplateOutletContext",Oe(2,hp,e._getContextData(e._openPrjBtn,e.projectActiveItem==="projectlist",e._isDisabled(e._openPrjBtn),!0,e.projectActiveItem==="projectlist")))}}function QI(t,n){if(t&1&&E(0,"lib-bimplus-project-menu",3),t&2){let e=u();ve("projectName",e.projectName),ve("projectImageUrl",e.projectImageUrl),ve("projectExplorerUrl",e.projectExplorerUrl),ve("projectActiveItem",e.projectActiveItem),ve("projectmembersDisabled",e.projectmembersDisabled),ve("modelsDisabled",e.modelsDisabled),ve("documentsDisabled",e.documentsDisabled),ve("projectsettingsDisabled",e.projectsettingsDisabled),ve("processesDisabled",e.processesDisabled),ve("projectmembersVisible",e.projectmembersVisible),ve("modelsVisible",e.modelsVisible),ve("documentsVisible",e.documentsVisible),ve("projectsettingsVisible",e.projectsettingsVisible),ve("processesVisible",e.processesVisible),ve("isCollapsed",e.isCollapsed),ve("isMiniMode",e.isTouch),ve("isTouch",e.isTouch),ve("hideMenuIcons",e.hideProjectMenuIcons),ve("showHorizontalMenuIcons",e.showHorizontalMenuIcons),g("menuItemsOrder",e.menuItemsOrder)}}function XI(t,n){t&1&&at(0)}function JI(t,n){if(t&1&&(p(0,"div"),x(1,XI,1,0,"ng-container",15),f()),t&2){let e=n.$implicit,i=u(),o=Je(1);d(),g("ngTemplateOutlet",o)("ngTemplateOutletContext",Oe(2,hp,i._getContextData(e,!i._isSubscribed(e),i._isDisabled(e),i._isClickable(e),i.menuActiveItem===e.action)))}}function eS(t,n){t&1&&at(0)}function tS(t,n){if(t&1&&(p(0,"div"),x(1,eS,1,0,"ng-container",15),f()),t&2){let e=n.$implicit,i=u(),o=Je(1);d(),g("ngTemplateOutlet",o)("ngTemplateOutletContext",Oe(2,hp,i._getContextData(e,i.footerActiveItem===e.action,i._isDisabled(e),!0,!1)))}}var rt={PORTAL_TEAM_MANAGEMENT_BTN:"portalTeamManagementBtn",PORTAL_PROPERTY_MANAGER_BTN:"portalPropertyManagerBtn",PORTAL_BIM_USERS:"portalBimUsers",PORTAL_BIM_MODELS:"portalBimModels",PORTAL_BIM_DOCUMENTS:"portalBimDocuments",PORTAL_BIM_PROJECT_SETTINGS:"portalBimProjectSettings",PORTAL_BIM_PROCESSES:"portalBimProcesses",DIVIDER_PROJECT_MANAGEMENT:"dividerprojectmanagement",PORTAL_BIM_VIEWER_BTN:"portalBimViewerBtn",PORTAL_CLOUD_VIEWER_BTN:"portalCloudViewerBtn",PORTAL_CONNEXIS_BTN:"portalConnexisBtn",PORTAL_BIM_AUTOCONVERTER_BTN:"portalBimAutoconverterBtn",DIVIDERAPPS:"dividerapps",PORTAL_ADD_INS_BTN:"portalAddInsBtn",PORTAL_SHOP_BTN:"portalShopBtn",PORTAL_GET_YOUR_TEAM_BTN:"portalGetYourTeamBtn"},Il=(()=>{class t extends le{constructor(e){super(e),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.autoconverterSubscribed=!1,this.connexisSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.autoconverterDisabled=!1,this.connexisDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.addinsDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.autoconverterVisible=!0,this.connexisVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.addinsVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.getYourTeamVisible=!1,this.appsWithInfo=[],this.appsOrder=[],this.menuItemsOrder=[],this.bimplusMainMenuClicked=new M,this.bimplusMainMenuOverlayClicked=new M,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:rt.PORTAL_BIM_USERS,type:"",class:"bim-mm-icon-users",textId:"_projectStatisticsMembers",textIdDisabled:"_projectStatisticsMembers",disabledTitle:"_Insufficient rights title",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:rt.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:rt.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:rt.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:rt.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:rt.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:rt.PORTAL_BIM_VIEWER_BTN,type:"",class:"bim-mm-icon-bim-explorer",textId:"_Portal_Menu_BIM_Explorer",textIdDisabled:"_Portal_Menu_BIM_Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:rt.PORTAL_CLOUD_VIEWER_BTN,type:"",class:"bim-mm-icon-cloud-viewer",textId:"_Model_Viewer",textIdDisabled:"_Model_Viewer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"connexis",id:rt.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"_Connexis",textIdDisabled:"_Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:rt.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"_Autoconverter",textIdDisabled:"_Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:rt.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:rt.PORTAL_TEAM_MANAGEMENT_BTN,type:"",class:"bim-mm-icon-team-members",textId:"_Portal_Menu_Team_Members",textIdDisabled:"_Portal_Menu_Team_Members",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},{action:"propertymanager",id:rt.PORTAL_PROPERTY_MANAGER_BTN,type:"",class:"bim-mm-icon-property-manager",textId:"_Portal_Menu_Properties",textIdDisabled:"_Portal_Menu_Properties",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""}],this._menuFooterList=[{action:"addins",id:rt.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:rt.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-team-members",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"shop",id:rt.PORTAL_SHOP_BTN,type:"",class:"bim-mm-icon-shop",textId:"_Shop",textIdDisabled:"_Shop",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(e){e.localizedStrings&&(this.localizedStrings=e.localizedStrings.currentValue)}get apps(){let e=this.appsList.sort((i,o)=>this.appsOrder.indexOf(i.id)-this.appsOrder.indexOf(o.id));return this.getYourTeamVisible?e.filter(({id:i})=>i!==rt.PORTAL_TEAM_MANAGEMENT_BTN&&i!==rt.PORTAL_PROPERTY_MANAGER_BTN):e}get footerList(){let e=this._menuFooterList.filter(i=>this._isSubscribed(i)&&!this._isHidden(i));return this.getYourTeamVisible?e:e.filter(({id:i})=>i!==rt.PORTAL_GET_YOUR_TEAM_BTN)}_isSubscribed(e){if(e.checkSubscription){let i=`${e.action}Subscribed`;return!!this[i]}return!0}_isClickable(e){return e.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(e){if(e){let i=`${e.action?e.action:e.id}Visible`;return!this[i]}return!1}_isDisabled(e){let i=`${e.action}Disabled`;return!!this[i]}_getContextData(e,i,o,r,s){return{item:e,active:i,disabled:o,clickable:r,selected:s,showInfoIcon:this.appsWithInfo.includes(e.id)}}_overlayClicked(){oe(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(e,i,o){if(o&&(o.stopPropagation(),o.preventDefault()),i!="info"&&this._isDisabled(e))return;let r=e.action;oe(this,"bimplusMainMenuClicked",{action:r,type:i})}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",k],isTouch:[2,"isTouch","isTouch",k],isIpadApp:[2,"isIpadApp","isIpadApp",k],isDev:[2,"isDev","isDev",k],isStage:[2,"isStage","isStage",k],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",k],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",k],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",k],modelsDisabled:[2,"modelsDisabled","modelsDisabled",k],documentsDisabled:[2,"documentsDisabled","documentsDisabled",k],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",k],processesDisabled:[2,"processesDisabled","processesDisabled",k],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",k],showOverlay:[2,"showOverlay","showOverlay",k],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",k],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",k],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",k],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",k],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",k],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",k],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",k],connexisDisabled:[2,"connexisDisabled","connexisDisabled",k],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",k],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",k],shopDisabled:[2,"shopDisabled","shopDisabled",k],addinsDisabled:[2,"addinsDisabled","addinsDisabled",k],openProjectVisible:[2,"openProjectVisible","openProjectVisible",k],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",k],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",k],modelsVisible:[2,"modelsVisible","modelsVisible",k],documentsVisible:[2,"documentsVisible","documentsVisible",k],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",k],processesVisible:[2,"processesVisible","processesVisible",k],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",k],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",k],connexisVisible:[2,"connexisVisible","connexisVisible",k],teammembersVisible:[2,"teammembersVisible","teammembersVisible",k],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",k],shopVisible:[2,"shopVisible","shopVisible",k],addinsVisible:[2,"addinsVisible","addinsVisible",k],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",k],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",k],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",k],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},standalone:!0,features:[ne([P]),he,q,$e,S],decls:11,vars:6,consts:[["appItemContent",""],[1,"bim-mm-wrapper",3,"click","keypress","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons","menuItemsOrder"],[3,"ngClass"],[1,"bim-mm-apps-list"],[4,"ngFor","ngForOf"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item-details",3,"click","keypress","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click","keypress"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){if(i&1){let r=A();x(0,ZI,2,1,"ng-template",null,0,yt),p(2,"div",1),_("click",function(){return y(r),C(o._overlayClicked())})("keypress",function(){return y(r),C(o._overlayClicked())}),p(3,"div",2),x(4,KI,1,4,"ng-container")(5,QI,1,20,"lib-bimplus-project-menu",3),p(6,"div",4)(7,"div",5),x(8,JI,2,4,"div",6),f(),p(9,"div",7),x(10,tS,2,4,"div",6),f()()()()}i&2&&(d(2),g("ngClass",o.showOverlay?"bim-mm-overlay":""),d(2),j(o._isHidden(o._openPrjBtn)?-1:4),d(),j(o.bimplusProjectMenuVisible?5:-1),d(),g("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),d(2),g("ngForOf",o.apps),d(2),g("ngForOf",o.footerList))},dependencies:[L,ie,we,Pn,Q,de,El],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:var(--main-menu-overlay-background-color-enabled)}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:var(--main-menu-app-item-details-text-color-disabled)}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:3px solid var(--item-divider-border-color-enabled);margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:var(--main-menu-app-item-background-color-hovered)}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:var(--main-menu-app-item-text-color-selected)}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./assets/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-cloud-viewer,.bim-mm-app-item.selected .bim-mm-icon-cloud-viewer{background:url("./assets/bimplus_Components_IFC_viewer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-autoconverter,.bim-mm-app-item.selected .bim-mm-icon-autoconverter{background:url("./assets/bimplus_Components_Autoconverter_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-connexis,.bim-mm-app-item.selected .bim-mm-icon-connexis{background:url("./assets/bimplus_Components_Connexis_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./assets/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./assets/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./assets/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./assets/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./assets/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:var(--main-menu-app-item-background-color-selected)}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:var(--main-menu-select-project-button-background-color-enabled)}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-enabled);text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-disabled)}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-selected)}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info,#portalCloudViewerBtn .bim-mm-app-item-info,#portalConnexisBtn .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:var(--main-menu-container-background-color-enabled);width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:var(--main-menu-apps-container-background-color-enabled);flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./assets/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./assets/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./assets/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./assets/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./assets/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./assets/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./assets/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./assets/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-autoconverter{background:url("./assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.active{background:url("./assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.disabled{background:url("./assets/bimplus_Components_Autoconverter_Disabled.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./assets/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./assets/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./assets/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./assets/ic_property_manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./assets/ic_property_manager_disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./assets/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./assets/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./assets/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./assets/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./assets/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./assets/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./assets/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}.bim-mm-icon-add-ins{background:url("./assets/bimplus_Components_Add_Ins.svg") no-repeat center}
|
|
23
|
+
`],encapsulation:3})}}return t})();var Rv=(t,n)=>n.id,TI=(t,n,e)=>({collapsed:t,"mini-mode":n,"is-touch":e});function OI(t,n){if(t&1){let e=A();p(0,"div",4),N(1,"translate"),_("dblclick",function(o){y(e);let r=u(3);return C(r._menuItemIgnoreAction(o))})("click",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"normal",o))})("keypress",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"normal",o))}),E(2,"div",5),p(3,"div",6),_("click",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"info",o))})("keypress",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"info",o))}),f()()}if(t&2){let e=u().$implicit,i=u(2);g("ngClass",i._getPrjItemClassAttributes(e,i.isTouch))("title",F(1,3,i._isDisabled(e)&&e.textIdDisabled?e.textIdDisabled:e.textId)),d(2),g("ngClass",i._getPrjIconClassAttributes(e))}}function PI(t,n){if(t&1&&x(0,OI,4,5,"div",3),t&2){let e=n.$implicit,i=u(2);j(i._isHidden(e)?-1:0)}}function AI(t,n){if(t&1&&Jt(0,PI,1,1,null,null,Rv),t&2){let e=u();en(e.menuItems)}}function NI(t,n){if(t&1){let e=A();p(0,"div",4),N(1,"translate"),_("dblclick",function(o){y(e);let r=u(3);return C(r._menuItemIgnoreAction(o))})("click",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"normal",o))})("keypress",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"normal",o))}),E(2,"div",5),p(3,"div",6),_("click",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"info",o))})("keypress",function(o){y(e);let r=u().$implicit,s=u(2);return C(s._menuItemClicked(r,"info",o))}),f()()}if(t&2){let e=u().$implicit,i=u(2);g("ngClass",i._getPrjItemClassAttributes(e,i.isTouch))("title",F(1,3,i._isDisabled(e)&&e.textIdDisabled?e.textIdDisabled:e.textId)),d(2),g("ngClass",i._getPrjIconClassAttributes(e))}}function FI(t,n){if(t&1&&x(0,NI,4,5,"div",3),t&2){let e=n.$implicit,i=u(2);j(!i._isHidden(e)&&(i.isCollapsed||e.action!=="processes")?0:-1)}}function RI(t,n){if(t&1&&Jt(0,FI,1,1,null,null,Rv),t&2){let e=u();en(e.menuItems)}}function jI(t,n){t&1&&at(0)}function LI(t,n){if(t&1&&x(0,jI,1,0,"ng-container",13),t&2){u(2);let e=et(1);g("ngTemplateOutlet",e)}}function VI(t,n){if(t&1&&(p(0,"div",7)(1,"div",8),E(2,"div",9),f(),p(3,"div",10),D(4),f()(),p(5,"div",11)(6,"div",12),x(7,LI,1,1,"ng-container"),f()()),t&2){let e=u();d(),g("ngStyle",e.prjImageOverlayStyle),d(),g("ngStyle",e.prjImageStyle),d(2),H(" ",e.projectName," "),d(),g("ngClass",e.showHorizontalMenuIcons?"":"hidden"),d(2),j(e.showHorizontalMenuIcons?7:-1)}}function BI(t,n){t&1&&at(0)}function zI(t,n){if(t&1&&x(0,BI,1,0,"ng-container",13),t&2){u(2);let e=et(3);g("ngTemplateOutlet",e)}}function HI(t,n){t&1&&at(0)}function $I(t,n){if(t&1&&x(0,HI,1,0,"ng-container",13),t&2){u(2);let e=et(1);g("ngTemplateOutlet",e)}}function UI(t,n){if(t&1){let e=A();p(0,"a",14),N(1,"translate"),_("dblclick",function(){y(e);let o=u();return C(o._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){y(e);let o=u();return C(o._projectMenuItemClicked("prjimageclick","normal"))}),p(2,"div",15),E(3,"div",16),p(4,"div",17),x(5,zI,1,1,"ng-container"),f(),p(6,"div",18),D(7),f()()(),p(8,"div",11)(9,"div",12),x(10,$I,1,1,"ng-container"),f()()}if(t&2){let e=u();ve("href",e.projectExplorerUrl,Tr),g("ngStyle",e.prjImageOverlayStyle)("title",F(1,10,"_ModelThumbnailTooltip")),d(2),g("ngStyle",e.prjImageStyle),d(),g("ngClass",e.hideMenuIcons||e.showHorizontalMenuIcons?"hidden":""),d(),g("ngClass",e.hideMenuIcons||e.showHorizontalMenuIcons?"hidden":""),d(),j(!e.hideMenuIcons&&!e.showHorizontalMenuIcons?5:-1),d(2),H(" ",e.projectName," "),d(),g("ngClass",e.showHorizontalMenuIcons?"":"hidden"),d(2),j(e.showHorizontalMenuIcons?10:-1)}}var El=(()=>{class t extends le{constructor(e){super(e),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.menuItemsOrder=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/images/default/bimplus_Components_Project_Pic_Default.png"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/images/default/bimplus_Components_Project_Pic_Default.png"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}get menuItems(){return this._menuPrjList.sort((e,i)=>this.menuItemsOrder.indexOf(e.id)-this.menuItemsOrder.indexOf(i.id))}_isHidden(e){if(e){let i=`${e.action?e.action:e.id}Visible`;return!this[i]}return!1}_isDisabled(e){if(e){let i=`${e.action?e.action:e.id}Disabled`;return!!this[i]}return!1}_projectMenuItemClicked(e,i){console.log(e,i)}_menuItemClicked(e,i,o){if(o&&(o.stopPropagation(),o.preventDefault()),console.log(e,i,o),i!="info"&&this._isDisabled(e))return;let r=e.action;oe(this,"bimplusProjectMenuClicked",{action:r,type:i})}_menuItemIgnoreAction(e){e&&(e.stopPropagation(),e.preventDefault())}_getPrjItemClassAttributes(e,i){return`${this._isDisabled(e)?"disabled":""} ${i?"":"hover-show-info"}`}_getPrjIconClassAttributes(e){return`${e.class} ${e.action===this.projectActiveItem?"active":""} ${this._isDisabled(e)?"disabled":""}`}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",k],modelsDisabled:[2,"modelsDisabled","modelsDisabled",k],documentsDisabled:[2,"documentsDisabled","documentsDisabled",k],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",k],processesDisabled:[2,"processesDisabled","processesDisabled",k],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",k],modelsVisible:[2,"modelsVisible","modelsVisible",k],documentsVisible:[2,"documentsVisible","documentsVisible",k],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",k],processesVisible:[2,"processesVisible","processesVisible",k],isCollapsed:[2,"isCollapsed","isCollapsed",k],isMiniMode:[2,"isMiniMode","isMiniMode",k],isTouch:[2,"isTouch","isTouch",k],hideMenuIcons:[2,"hideMenuIcons","hideMenuIcons",k],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",k],menuItemsOrder:"menuItemsOrder"},standalone:!0,features:[ne([P]),he,q,S],decls:7,vars:6,consts:[["prjList",""],["prjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","keypress","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click","keypress"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(i,o){i&1&&(x(0,AI,2,0,"ng-template",null,0,yt)(2,RI,2,0,"ng-template",null,1,yt),p(4,"div",2),x(5,VI,8,5)(6,UI,11,12),f()),i&2&&(d(4),g("ngClass",gt(2,TI,o.isCollapsed,o.isMiniMode,o.isTouch)),d(),j(o.isMiniMode&&!o.isCollapsed?5:6))},dependencies:[L,ie,Pn,ko,Q,de],styles:[`.bim-pm-prj-container{display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--project-menu-project-container-background-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode{border-bottom:thin solid var(--project-menu-project-container-mini-mode-border-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-horizontal{padding-left:.5em;padding-bottom:.5em}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-list{height:2.3em}.bim-pm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em}div:not(.collapsed) .bim-pm-prj-details{height:10em}div:not(.collapsed) .bim-pm-prj-details .bim-pm-prj-image{height:10em}.bim-pm-prj-details{color:inherit;background-size:100% auto!important;background-color:var(--project-menu-project-details-background-color-enabled);background-repeat:no-repeat!important;overflow:hidden}.bim-pm-prj-details .bim-pm-prj-image{background-size:auto 10em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;display:flex;flex-direction:column;position:relative;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list{width:4.6875em;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex:1 0 auto;position:absolute}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item{padding-top:.88em;width:100%;display:flex;justify-content:space-around;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item:first-child{padding-top:.43em}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin-left:.875em;margin-right:auto}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-details .bim-pm-prj-items-list .hover-show-info:hover .bim-pm-app-item-info{display:block}.bim-pm-prj-details .bim-pm-prj-name{color:var(--project-menu-project-name-text-color);background-color:var(--project-menu-project-name-background-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:1em;font-weight:400;padding-left:.875em;padding-top:.375em;padding-right:1rem;height:1.625em;box-sizing:content-box;position:absolute;bottom:0;left:0;right:0}.bim-pm-prj-details .bim-pm-prj-items-overlay{position:absolute;background-color:var(--project-menu-item-overlay-background-color-enabled);width:2.8125em;height:calc(100% - 2em)}.bim-pm-prj-details .bim-pm-prj-items-overlay.hidden{display:none}.bim-pm-prj-items-horizontal{border-bottom:1px solid var(--project-menu-project-items-horizontal-border-color-enabled)}.bim-pm-prj-items-horizontal.hidden{display:none}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list{width:auto;height:3.44em;position:relative;display:inline-flex;flex-direction:row;justify-content:center;align-items:center}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin:auto}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item{margin-left:.875em;margin-right:auto;cursor:pointer}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item~.bim-pm-prj-item{margin-left:1.13em}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-container.collapsed .bim-pm-prj-details,.bim-pm-prj-container.collapsed .bim-pm-prj-image{background:none transparent!important;min-height:7.589em}.bim-pm-prj-container.collapsed .bim-pm-prj-items-list{position:static}.bim-pm-prj-container.collapsed .bim-pm-prj-items-overlay,.bim-pm-prj-container.collapsed .bim-pm-prj-name,.bim-pm-prj-container.collapsed .bim-pm-app-item-details span{display:none}.bim-pm-prj-details-mini{display:grid;grid-template-columns:2.25em auto;grid-template-rows:min-content;row-gap:.4em;grid-gap:.8em;margin:.5em .9em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini{grid-column:1;grid-row:1;width:2.25em;height:2.25em;background-size:auto 2.25em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini .bim-pm-prj-image-thumbnail{width:2.25em;height:2.25em;background-size:auto 2.25em!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-name-mini{font-weight:700;grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.bim-pm-prj-items-list.hidden{display:none}.bim-pm-icon-users{background:url("./assets/bimplus_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./assets/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./assets/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./assets/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./assets/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./assets/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./assets/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./assets/bimplus_Components_Info_Active.svg") no-repeat center}
|
|
24
|
+
`],encapsulation:3})}}return t})();var hp=t=>({$implicit:t});function WI(t,n){if(t&1&&E(0,"div",10),t&2){let e=u().$implicit;Nr(e.item.class),g("id",e.item.id)}}function GI(t,n){if(t&1){let e=A();p(0,"div",14),_("click",function(o){y(e);let r=u(2).$implicit,s=u();return C(s._mainMenuItemClicked(r.item,"info",o))})("keypress",function(o){y(e);let r=u(2).$implicit,s=u();return C(s._mainMenuItemClicked(r.item,"info",o))}),f()}}function qI(t,n){if(t&1){let e=A();p(0,"div",9),N(1,"translate"),p(2,"div",11),_("click",function(o){y(e);let r=u().$implicit,s=u();return C(s._mainMenuItemClicked(r.item,"normal",o))})("keypress",function(o){y(e);let r=u().$implicit,s=u();return C(s._mainMenuItemClicked(r.item,"normal",o))}),E(3,"div",12),p(4,"span"),D(5),N(6,"translate"),f()(),x(7,GI,1,0,"div",13),f()}if(t&2){let e=u().$implicit,i=u();g("id",e.item.id)("ngClass",i.isTouch?"":"hover-show-info "+(e.active?"active ":" ")+(e.disabled?"disabled ":" ")+(e.clickable?" ":"not-clickable ")+(e.selected?"selected ":" "))("title",e.disabled?F(1,7,e.item.disabledTitle):""),d(2),g("ngClass",e.clickable?"":"not-clickable"),d(),g("ngClass",e.item.class+(e.active?" active":"")+(e.disabled?" disabled ":"")),d(2),ee(F(6,9,e.isDisabled&&e.item.textIdDisabled!==""?e.item.textIdDisabled:e.item.textId)),d(2),j(e.showInfoIcon?7:-1)}}function ZI(t,n){if(t&1&&x(0,WI,1,3,"div",8)(1,qI,8,11,"div",9),t&2){let e=n.$implicit;j(e.item.type==="divider"?0:1)}}function YI(t,n){t&1&&at(0)}function KI(t,n){if(t&1&&x(0,YI,1,0,"ng-container",15),t&2){let e=u(),i=et(1);g("ngTemplateOutlet",i)("ngTemplateOutletContext",Oe(2,hp,e._getContextData(e._openPrjBtn,e.projectActiveItem==="projectlist",e._isDisabled(e._openPrjBtn),!0,e.projectActiveItem==="projectlist")))}}function QI(t,n){if(t&1&&E(0,"lib-bimplus-project-menu",3),t&2){let e=u();ve("projectName",e.projectName),ve("projectImageUrl",e.projectImageUrl),ve("projectExplorerUrl",e.projectExplorerUrl),ve("projectActiveItem",e.projectActiveItem),ve("projectmembersDisabled",e.projectmembersDisabled),ve("modelsDisabled",e.modelsDisabled),ve("documentsDisabled",e.documentsDisabled),ve("projectsettingsDisabled",e.projectsettingsDisabled),ve("processesDisabled",e.processesDisabled),ve("projectmembersVisible",e.projectmembersVisible),ve("modelsVisible",e.modelsVisible),ve("documentsVisible",e.documentsVisible),ve("projectsettingsVisible",e.projectsettingsVisible),ve("processesVisible",e.processesVisible),ve("isCollapsed",e.isCollapsed),ve("isMiniMode",e.isTouch),ve("isTouch",e.isTouch),ve("hideMenuIcons",e.hideProjectMenuIcons),ve("showHorizontalMenuIcons",e.showHorizontalMenuIcons),g("menuItemsOrder",e.menuItemsOrder)}}function XI(t,n){t&1&&at(0)}function JI(t,n){if(t&1&&(p(0,"div"),x(1,XI,1,0,"ng-container",15),f()),t&2){let e=n.$implicit,i=u(),o=et(1);d(),g("ngTemplateOutlet",o)("ngTemplateOutletContext",Oe(2,hp,i._getContextData(e,!i._isSubscribed(e),i._isDisabled(e),i._isClickable(e),i.menuActiveItem===e.action)))}}function eS(t,n){t&1&&at(0)}function tS(t,n){if(t&1&&(p(0,"div"),x(1,eS,1,0,"ng-container",15),f()),t&2){let e=n.$implicit,i=u(),o=et(1);d(),g("ngTemplateOutlet",o)("ngTemplateOutletContext",Oe(2,hp,i._getContextData(e,i.footerActiveItem===e.action,i._isDisabled(e),!0,!1)))}}var Xe={PORTAL_TEAM_MANAGEMENT_BTN:"portalTeamManagementBtn",PORTAL_PROPERTY_MANAGER_BTN:"portalPropertyManagerBtn",PORTAL_BIM_USERS:"portalBimUsers",PORTAL_BIM_MODELS:"portalBimModels",PORTAL_BIM_DOCUMENTS:"portalBimDocuments",PORTAL_BIM_PROJECT_SETTINGS:"portalBimProjectSettings",PORTAL_BIM_PROCESSES:"portalBimProcesses",DIVIDER_PROJECT_MANAGEMENT:"dividerprojectmanagement",PORTAL_BIM_VIEWER_BTN:"portalBimViewerBtn",PORTAL_CLOUD_VIEWER_BTN:"portalCloudViewerBtn",PORTAL_CONNEXIS_BTN:"portalConnexisBtn",PORTAL_BIM_AUTOCONVERTER_BTN:"portalBimAutoconverterBtn",DIVIDERAPPS:"dividerapps",PORTAL_ADD_INS_BTN:"portalAddInsBtn",PORTAL_SHOP_BTN:"portalShopBtn",PORTAL_GET_YOUR_TEAM_BTN:"portalGetYourTeamBtn"},Il=(()=>{class t extends le{constructor(e){super(e),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.autoconverterSubscribed=!1,this.connexisSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.autoconverterDisabled=!1,this.connexisDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.addinsDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.autoconverterVisible=!0,this.connexisVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.addinsVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.getYourTeamVisible=!1,this.appsWithInfo=[],this.appsOrder=[],this.menuItemsOrder=[],this.bimplusMainMenuClicked=new M,this.bimplusMainMenuOverlayClicked=new M,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:Xe.PORTAL_BIM_USERS,type:"",class:"bim-mm-icon-users",textId:"_projectStatisticsMembers",textIdDisabled:"_projectStatisticsMembers",disabledTitle:"_Insufficient rights title",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:Xe.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:Xe.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:Xe.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:Xe.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:Xe.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:Xe.PORTAL_BIM_VIEWER_BTN,type:"",class:"bim-mm-icon-bim-explorer",textId:"_Portal_Menu_BIM_Explorer",textIdDisabled:"_Portal_Menu_BIM_Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:Xe.PORTAL_CLOUD_VIEWER_BTN,type:"",class:"bim-mm-icon-cloud-viewer",textId:"_Model_Viewer",textIdDisabled:"_Model_Viewer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"connexis",id:Xe.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"_Connexis",textIdDisabled:"_Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:Xe.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"_Autoconverter",textIdDisabled:"_Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:Xe.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:Xe.PORTAL_TEAM_MANAGEMENT_BTN,type:"",class:"bim-mm-icon-team-members",textId:"_Portal_Menu_Team_Members",textIdDisabled:"_Portal_Menu_Team_Members",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},{action:"propertymanager",id:Xe.PORTAL_PROPERTY_MANAGER_BTN,type:"",class:"bim-mm-icon-property-manager",textId:"_Portal_Menu_Properties",textIdDisabled:"_Portal_Menu_Properties",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""}],this._menuFooterList=[{action:"addins",id:Xe.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:Xe.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-team-members",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"shop",id:Xe.PORTAL_SHOP_BTN,type:"",class:"bim-mm-icon-shop",textId:"_Shop",textIdDisabled:"_Shop",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(e){e.localizedStrings&&(this.localizedStrings=e.localizedStrings.currentValue)}get apps(){let e=this.appsList.sort((i,o)=>this.appsOrder.indexOf(i.id)-this.appsOrder.indexOf(o.id));return this.connexisVisible||(e=e.filter(({id:i})=>i!==Xe.PORTAL_CONNEXIS_BTN)),this.teammembersDisabled&&(e=e.filter(({id:i})=>i!==Xe.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(e=e.filter(({id:i})=>i!==Xe.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(e=e.filter(({id:i})=>i!==Xe.PORTAL_PROPERTY_MANAGER_BTN&&i!==Xe.PORTAL_BIM_PROCESSES)),this.getYourTeamVisible?e.filter(({id:i})=>i!==Xe.PORTAL_TEAM_MANAGEMENT_BTN&&i!==Xe.PORTAL_PROPERTY_MANAGER_BTN):e}get footerList(){let e=this._menuFooterList.filter(i=>this._isSubscribed(i)&&!this._isHidden(i));return this.getYourTeamVisible?e:e.filter(({id:i})=>i!==Xe.PORTAL_GET_YOUR_TEAM_BTN)}_isSubscribed(e){if(e.checkSubscription){let i=`${e.action}Subscribed`;return!!this[i]}return!0}_isClickable(e){return e.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(e){if(e){let i=`${e.action?e.action:e.id}Visible`;return!this[i]}return!1}_isDisabled(e){let i=`${e.action}Disabled`;return!!this[i]}_getContextData(e,i,o,r,s){return{item:e,active:i,disabled:o,clickable:r,selected:s,showInfoIcon:this.appsWithInfo.includes(e.id)}}_overlayClicked(){oe(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(e,i,o){if(o&&(o.stopPropagation(),o.preventDefault()),i!="info"&&this._isDisabled(e))return;let r=e.action;oe(this,"bimplusMainMenuClicked",{action:r,type:i})}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",k],isTouch:[2,"isTouch","isTouch",k],isIpadApp:[2,"isIpadApp","isIpadApp",k],isDev:[2,"isDev","isDev",k],isStage:[2,"isStage","isStage",k],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",k],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",k],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",k],modelsDisabled:[2,"modelsDisabled","modelsDisabled",k],documentsDisabled:[2,"documentsDisabled","documentsDisabled",k],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",k],processesDisabled:[2,"processesDisabled","processesDisabled",k],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",k],showOverlay:[2,"showOverlay","showOverlay",k],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",k],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",k],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",k],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",k],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",k],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",k],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",k],connexisDisabled:[2,"connexisDisabled","connexisDisabled",k],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",k],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",k],shopDisabled:[2,"shopDisabled","shopDisabled",k],addinsDisabled:[2,"addinsDisabled","addinsDisabled",k],openProjectVisible:[2,"openProjectVisible","openProjectVisible",k],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",k],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",k],modelsVisible:[2,"modelsVisible","modelsVisible",k],documentsVisible:[2,"documentsVisible","documentsVisible",k],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",k],processesVisible:[2,"processesVisible","processesVisible",k],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",k],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",k],connexisVisible:[2,"connexisVisible","connexisVisible",k],teammembersVisible:[2,"teammembersVisible","teammembersVisible",k],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",k],shopVisible:[2,"shopVisible","shopVisible",k],addinsVisible:[2,"addinsVisible","addinsVisible",k],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",k],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",k],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",k],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},standalone:!0,features:[ne([P]),he,q,$e,S],decls:11,vars:6,consts:[["appItemContent",""],[1,"bim-mm-wrapper",3,"click","keypress","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons","menuItemsOrder"],[3,"ngClass"],[1,"bim-mm-apps-list"],[4,"ngFor","ngForOf"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item-details",3,"click","keypress","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click","keypress"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){if(i&1){let r=A();x(0,ZI,2,1,"ng-template",null,0,yt),p(2,"div",1),_("click",function(){return y(r),C(o._overlayClicked())})("keypress",function(){return y(r),C(o._overlayClicked())}),p(3,"div",2),x(4,KI,1,4,"ng-container")(5,QI,1,20,"lib-bimplus-project-menu",3),p(6,"div",4)(7,"div",5),x(8,JI,2,4,"div",6),f(),p(9,"div",7),x(10,tS,2,4,"div",6),f()()()()}i&2&&(d(2),g("ngClass",o.showOverlay?"bim-mm-overlay":""),d(2),j(o._isHidden(o._openPrjBtn)?-1:4),d(),j(o.bimplusProjectMenuVisible?5:-1),d(),g("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),d(2),g("ngForOf",o.apps),d(2),g("ngForOf",o.footerList))},dependencies:[L,ie,we,Pn,Q,de,El],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:var(--main-menu-overlay-background-color-enabled)}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:var(--main-menu-app-item-details-text-color-disabled)}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:3px solid var(--item-divider-border-color-enabled);margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:var(--main-menu-app-item-background-color-hovered)}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:var(--main-menu-app-item-text-color-selected)}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./assets/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-cloud-viewer,.bim-mm-app-item.selected .bim-mm-icon-cloud-viewer{background:url("./assets/bimplus_Components_IFC_viewer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-autoconverter,.bim-mm-app-item.selected .bim-mm-icon-autoconverter{background:url("./assets/bimplus_Components_Autoconverter_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-connexis,.bim-mm-app-item.selected .bim-mm-icon-connexis{background:url("./assets/bimplus_Components_Connexis_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./assets/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./assets/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./assets/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./assets/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./assets/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:var(--main-menu-app-item-background-color-selected)}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:var(--main-menu-select-project-button-background-color-enabled)}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-enabled);text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-disabled)}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-selected)}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info,#portalCloudViewerBtn .bim-mm-app-item-info,#portalConnexisBtn .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:var(--main-menu-container-background-color-enabled);width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:var(--main-menu-apps-container-background-color-enabled);flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./assets/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./assets/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./assets/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./assets/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./assets/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./assets/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./assets/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./assets/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-autoconverter{background:url("./assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.active{background:url("./assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.disabled{background:url("./assets/bimplus_Components_Autoconverter_Disabled.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./assets/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./assets/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./assets/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./assets/ic_property_manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./assets/ic_property_manager_disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./assets/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./assets/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./assets/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./assets/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./assets/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./assets/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./assets/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}.bim-mm-icon-add-ins{background:url("./assets/bimplus_Components_Add_Ins.svg") no-repeat center}
|
|
25
25
|
`],encapsulation:3})}}return t})();var ns=function(t){return t.BimplusViewer="bimplusViewer",t.ModelViewer="modelViewer",t.ConnexisViewer="connexisViewer",t.ConnexisViewerBlack="connexisViewerBlack",t}(ns||{});var nS=(t,n,e,i)=>({"model-viewer":t,"connexis-viewer":n,"connexis-viewer-black":e,"burger-menu-not-visible":i}),iS=(t,n,e)=>({active:t,hidden:n,disabled:e}),oS=t=>({hidden:t});function rS(t,n){t&1&&(p(0,"span"),D(1,"\xA0\xA0 -\xA0\xA0"),f())}var Sl=(()=>{class t{constructor(){this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.isNavbarInfoVisible=!1,this.logoState=ns.BimplusViewer,this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.isDashboardTooltipEnabled=!0,this.selectedLanguage="en",this.bimplusNavbarClicked=new M,this.LogoState=ns}_menuClicked(){this.isNavbarMenuEnabled&&oe(this,"bimplusNavbarClicked","menu")}_logoClicked(){this.logoState===ns.BimplusViewer&&oe(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&oe(this,"bimplusNavbarClicked","project")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[2,"isDev","isDev",k],isStage:[2,"isStage","isStage",k],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[2,"isNavbarMenuVisible","isNavbarMenuVisible",k],isNavbarInfoVisible:[2,"isNavbarInfoVisible","isNavbarInfoVisible",k],logoState:"logoState",isNavbarMessageVisible:[2,"isNavbarMessageVisible","isNavbarMessageVisible",k],isNavbarMenuActive:[2,"isNavbarMenuActive","isNavbarMenuActive",k],isNavbarMenuEnabled:[2,"isNavbarMenuEnabled","isNavbarMenuEnabled",k],isTouch:[2,"isTouch","isTouch",k],isDashboardTooltipEnabled:[2,"isDashboardTooltipEnabled","isDashboardTooltipEnabled",k],selectedLanguage:"selectedLanguage"},outputs:{bimplusNavbarClicked:"bimplusNavbarClicked"},standalone:!0,features:[he,S],decls:14,vars:24,consts:[[1,"bimplus-navbar",3,"ngClass"],[1,"bimplus-navbar-logo-container"],[1,"bimplus-logo",3,"click","keypress","ngClass","title"],[1,"bimplus-navbar-menu","icon",3,"click","keypress","ngClass"],[1,"bimplus-navbar-container"],[1,"bimplus-navbar-info",3,"ngClass"],[1,"team"],[4,"ngIf"],[1,"project",3,"click","keypress","ngClass"],[1,"bimplus-navbar-slot"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2),N(3,"translate"),_("click",function(){return o._logoClicked()})("keypress",function(){return o._logoClicked()}),f(),p(4,"div",3),_("click",function(){return o._menuClicked()})("keypress",function(){return o._menuClicked()}),f()(),p(5,"div",4)(6,"div",5)(7,"span",6),D(8),f(),x(9,rS,2,0,"span",7),p(10,"span",8),_("click",function(){return o._projectInfoClicked()})("keypress",function(){return o._projectInfoClicked()}),D(11),f()(),p(12,"div",9),E(13,"slot"),f()()()),i&2&&(g("ngClass",o.isTouch?"is-touch":""),d(2),g("ngClass",Ya(13,nS,o.logoState===o.LogoState.ModelViewer,o.logoState===o.LogoState.ConnexisViewer,o.logoState===o.LogoState.ConnexisViewerBlack,!o.isNavbarMenuVisible))("title",F(3,11,o.isDashboardTooltipEnabled?"_dashboard_tooltip":"")),d(2),g("ngClass",gt(18,iS,o.isNavbarMenuActive,!o.isNavbarMenuVisible,!o.isNavbarMenuEnabled)),d(2),Ue("margin-left",o.teamInfoOffset),g("ngClass",Oe(22,oS,!o.isNavbarInfoVisible)),d(2),ee(o.teamInfo),d(),g("ngIf",o.projectInfo&&!o.isTouch),d(),g("ngClass",o.isDev?"clickable":""),d(),H(" ",o.projectInfo," "))},dependencies:[L,ie,Qe,Q,de],styles:[`.bimplus-navbar{height:5.2rem;padding-left:0;padding-right:1em;background-color:var(--navbar-background-color-enabled);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-size:1.6rem;font-weight:600;color:var(--navbar-text-color-enabled)}.bimplus-navbar .bimplus-navbar-preview-mode{display:flex;justify-content:center;align-items:center;color:var(--navbar-preview-mode-text-color-enabled);font-size:.8125em;line-height:.8125em;height:2.308em;font-weight:700;text-transform:uppercase;padding-left:.99em;padding-right:.99em;background-color:var(--navbar-preview-mode-background-color-enabled);letter-spacing:.383em;margin:auto}.bimplus-navbar .bimplus-navbar-preview-mode__container{position:absolute;left:0;right:0;display:inline-flex;cursor:default}.bimplus-logo{height:100%;min-width:9em;margin-left:2.8em;margin-right:1.53em;background:url("./assets/bimplus_Components_Logo_Black.svg") no-repeat;background-position:center;background-size:9em 2.3em;cursor:pointer}.bimplus-logo.model-viewer{background:url("./assets/Allplan-Cloud-Viewer-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer{background:url("./assets/Allplan-Connexis-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer-black{background:url("./assets/Allplan-Connexis-Logo_black.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.burger-menu-not-visible{margin-left:.4em;margin-right:6.8em}.icon{width:1.125em;height:1.125em;background-size:1.125em 1.125em!important;background-position:center;background-repeat:no-repeat}.bimplus-navbar-menu{height:100%;width:3.125em;background:url("./assets/bimplus_Components_navbar_menu.svg") no-repeat center;background-size:1.125em 1.125em!important;cursor:pointer;margin-right:.4em}.bimplus-navbar-menu.active{background:url("./assets/bimplus_Components_navbar_menu_active.svg") no-repeat center}.bimplus-navbar-menu.hidden{visibility:hidden;width:1.2rem}.bimplus-navbar-menu.disabled{background:url("./assets/bimplus_Components_navbar_menu_disabled.svg") no-repeat center;cursor:default}.bimplus-navbar-logo-container{height:100%;display:flex;justify-content:flex-start;align-items:center;flex-direction:row-reverse;position:relative}.bimplus-navbar-container{display:flex;justify-content:space-between;align-items:center;flex:1 1 auto;position:relative}.bimplus-navbar-container .bimplus-navbar-info{display:inline-flex;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:4em;min-width:0}.bimplus-navbar-container .bimplus-navbar-info .clickable{cursor:pointer}.bimplus-navbar-container .bimplus-navbar-info.hidden{visibility:hidden}.bimplus-navbar-container .bimplus-navbar-slot{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;white-space:nowrap;text-overflow:ellipsis}.is-touch .bimplus-navbar-info{display:flex;flex-direction:column;line-height:normal}.is-touch .bimplus-navbar-info .team{font-size:1em;font-weight:400}.is-touch .bimplus-navbar-info .project{font-size:1em;font-weight:700}
|
|
26
26
|
`],encapsulation:3})}}return t})();var jv=t=>({capitalize:t}),Lv=t=>[t];function sS(t,n){if(t&1){let e=A();p(0,"div",22),_("click",function(){let o=y(e).index,r=u(2).$implicit,s=u(2);return C(s._messageAction(r,o))})("keypress",function(){let o=y(e).index,r=u(2).$implicit,s=u(2);return C(s._messageAction(r,o))}),D(1),f()}if(t&2){let e=n.$implicit,i=n.index,o=u(2).$implicit,r=u(2);g("title",r._getItemLinkTitle(o,i)),d(),ee(e)}}function aS(t,n){if(t&1&&x(0,sS,2,2,"div",21),t&2){let e=u().$implicit,i=u(2);g("ngForOf",e.linkText.constructor===i.Array?e.linkText:Oe(1,Lv,e.linkText))}}function lS(t,n){if(t&1){let e=A();p(0,"div",14)(1,"div",15),E(2,"div",16),p(3,"div",17),D(4),f(),p(5,"div",18),_("click",function(o){let r=y(e).$implicit,s=u(2);return C(s._closeMessage(r,!1,o))})("keypress",function(o){let r=y(e).$implicit,s=u(2);return C(s._closeMessage(r,!1,o))}),f()(),p(6,"div",19),D(7),f(),x(8,aS,1,3,"div",20),f()}if(t&2){let e=n.$implicit;d(2),g("ngClass","message-item-icon-"+e.type),d(),g("ngClass",Oe(5,jv,e.capitalizedTitle)),d(),H(" ",e.title," "),d(3),ee(e.text),d(),j(e.linkText?8:-1)}}function cS(t,n){if(t&1&&(p(0,"lib-bimplus-scrollable-container"),x(1,lS,9,7,"div",13),f()),t&2){let e=u();d(),g("ngForOf",e._messagesList)}}function dS(t,n){t&1&&(p(0,"div",9),E(1,"div",23),p(2,"div",24),D(3),N(4,"translate"),f()()),t&2&&(d(3),ee(F(4,1,"_Notify_No_Messages")))}function uS(t,n){if(t&1){let e=A();p(0,"div",22),_("click",function(){let o=y(e).index,r=u(2).$implicit,s=u();return C(s._messageAction(r,o))})("keypress",function(){let o=y(e).index,r=u(2).$implicit,s=u();return C(s._messageAction(r,o))}),D(1),f()}if(t&2){let e=n.$implicit,i=n.index,o=u(2).$implicit,r=u();g("title",r._getItemLinkTitle(o,i)),d(),ee(e)}}function pS(t,n){if(t&1&&x(0,uS,2,2,"div",21),t&2){let e=u().$implicit,i=u();g("ngForOf",e.linkText.constructor===i.Array?e.linkText:Oe(1,Lv,e.linkText))}}function mS(t,n){if(t&1){let e=A();p(0,"div",14)(1,"div",15),E(2,"div",16),p(3,"div",17),D(4),f(),p(5,"div",18),_("click",function(o){let r=y(e).$implicit,s=u();return C(s._closeMessage(r,!0,o))})("keypress",function(o){let r=y(e).$implicit,s=u();return C(s._closeMessage(r,!0,o))}),f()(),p(6,"div",19),D(7),f(),x(8,pS,1,3,"div",20),f()}if(t&2){let e=n.$implicit;d(2),g("ngClass","message-item-icon-"+e.type),d(),g("ngClass",Oe(5,jv,e.capitalizedTitle)),d(),H(" ",e.title," "),d(3),H(" ",e.text," "),d(),j(e.linkText?8:-1)}}var Tl="bimplus-notify-messages",Ol=(()=>{class t extends le{constructor(e){super(e),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 M,this.bimplusNotifyDeleteAllMessages=new M,this.bimplusNotifyMessageAction=new M}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(e){if(e.messages){let i=e.messages.currentValue;this.updateMessages(i)}}updateMessages(e){if(!(e&&typeof e=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let o=JSON.parse(e);this._messagesList=o.messages;let r=this._messagesList.filter(s=>this._oldMessagesList.findIndex(a=>a.id===s.id)<0);r=r.filter(s=>this._messageNotReadYet(s)),r.reverse().forEach(s=>{this._previewMessagesList.findIndex(a=>s.id===a.id)<0&&(this._previewMessagesList.unshift(s),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(s.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}_closeMessage(e,i,o){if(i)return this._closePreviewMessage(e.id);o&&(o.stopPropagation(),o.preventDefault()),oe(this,"bimplusNotifyDeleteMessage",JSON.stringify(e))}_closePreviewMessage(e,i=!0){e&&(this._previewMessagesList=this._previewMessagesList.filter(o=>o.id!==e),this.storeMessagesAsRead([e]),i&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){oe(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(e,i){e.actionId=i,oe(this,"bimplusNotifyMessageAction",JSON.stringify(e))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(e){if(!e?.id)return!0;let i=window.localStorage.getItem(Tl);return i?!i.includes(e.id):!0}storeMessagesAsRead(e){if(!e||e.length<1)return;let i=window.localStorage.getItem(Tl);i||(i=""),e.forEach(o=>{i?.includes(o)||(i+=o+";")}),window.localStorage.setItem(Tl,i)}clearAllLocalStorageMessages(){window.localStorage.removeItem(Tl)}_getItemLinkTitle(e,i){let o=[];return e.linkText&&(e.links||e.link)&&(o=Array.isArray(e.links)?e.links:[e.link]),o[i]??""}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(i,o){i&2&&Y("new-messages",o.newMessages)("bim-notify",o.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[2,"showMessagePreview","showMessagePreview",k],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},standalone:!0,features:[ne([P]),he,q,$e,S],decls:19,vars:16,consts:[[1,"dropdown",3,"click","keypress","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click","keypress"],[1,"messages-container"],[1,"message-item-empty"],[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],["class","message-item",4,"ngFor","ngForOf"],[1,"message-item"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click","keypress"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],["class","message-item-link",3,"title","click","keypress",4,"ngFor","ngForOf"],[1,"message-item-link",3,"click","keypress","title"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(i,o){i&1&&(p(0,"div",0),N(1,"translate"),_("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),p(2,"div",1),E(3,"div",2),f(),p(4,"div",3),E(5,"div",4),p(6,"div",5)(7,"div",6),D(8),f(),p(9,"div",7),_("click",function(){return o._deleteAllMessages()})("keypress",function(){return o._deleteAllMessages()}),D(10),N(11,"translate"),f()(),p(12,"div",8),x(13,cS,2,1,"lib-bimplus-scrollable-container")(14,dS,5,3,"div",9),f()()(),p(15,"div",10),_("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),f(),p(16,"div",11)(17,"div",12),x(18,mS,9,7,"div",13),f()()),i&2&&(g("ngClass",o._menuOpened?"open":"")("title",F(1,12,"_BimplusNotifyTitle")),d(3),g("ngClass","icon-notify"+(o._alertActive?"-alert notify":"")),d(),g("ngClass",o._menuOpened?"open":""),d(4),H(" (",o._messagesList.length,") "),d(2),H(" ",F(11,14,"_Notify_Mark_All")," "),d(3),j(o._messagesList.length?13:14),d(2),g("ngClass",o._menuOpened?"open":""),d(),Ue("top",o.previewMessagesOffsetY),g("ngClass",o.showMessagePreview&&!o._menuOpened&&o._previewMessagesList.length>0?"visible":""),d(2),g("ngForOf",o._previewMessagesList))},dependencies:[L,ie,we,Q,de,$t],styles:[`.bim-notify{position:relative}.bim-notify .dropdown{position:relative;width:3.25em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.bim-notify .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;cursor:pointer}.bim-notify .bimcomp-dropdown-menu,.bim-notify .bimcomp-messages-preview{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:2;display:none;width:19em;margin:0;padding:.5em .65em .57em 0}.bim-notify .bimcomp-dropdown-menu .messages-title,.bim-notify .bimcomp-messages-preview .messages-title{height:2em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:var(--notify-message-title-text-color-enabled);background-color:var(--notify-message-title-background-color-enabled)}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-count,.bim-notify .bimcomp-messages-preview .messages-title .messages-count,.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{cursor:pointer;font-size:.8125em;font-weight:400;margin:0 .8125em}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{text-decoration:underline}.bim-notify .bimcomp-dropdown-menu div,.bim-notify .bimcomp-messages-preview div{font-size:1em}.bim-notify .bimcomp-dropdown-menu .noselect,.bim-notify .bimcomp-messages-preview .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{display:flex;flex-direction:row;align-items:center;box-sizing:content-box;padding:.21em 2.1em}.bim-notify .bimcomp-dropdown-menu li span,.bim-notify .bimcomp-messages-preview li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li:hover,.bim-notify .bimcomp-messages-preview li:hover{background-color:var(--notify-dropdown-menu-item-background-color-hovered)}.bim-notify .bimcomp-dropdown-menu ul,.bim-notify .bimcomp-messages-preview ul,.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{list-style:none}.bim-notify .bimcomp-dropdown-menu .notify-tick,.bim-notify .bimcomp-messages-preview .notify-tick{width:2em;height:1em;align-self:flex-end;background-image:url("./assets/bimplus_Components_Notify_Tick_Up.svg");background-size:cover}.bim-notify .bimcomp-dropdown-menu.open,.bim-notify .bimcomp-messages-preview.visible{display:flex;flex-direction:column}.bim-notify .messages-container,.bim-notify .messages-container-preview{list-style:none;background-color:var(--notify-messages-container-background-color-enabled);border:thin solid var(--notify-messages-container-border-color-enabled);-webkit-box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);text-decoration-color:var(--notify-messages-container-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{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("./assets/bimplus_Components_Notify_Empty.svg");background-size:cover}.bim-notify .messages-container .message-item-empty-text,.bim-notify .messages-container-preview .message-item-empty-text{font-size:.8125em;line-height:2.2em}.bim-notify .messages-container .message-item,.bim-notify .messages-container-preview .message-item{max-width:19em;border-bottom:1px solid var(--notify-message-item-border-color-enabled);padding:.6em .8125em;box-sizing:border-box}.bim-notify .messages-container .message-item-title,.bim-notify .messages-container-preview .message-item-title{display:flex;align-items:center;line-height:1.5em}.bim-notify .messages-container .message-item-title-text,.bim-notify .messages-container-preview .message-item-title-text{font-size:.8125em;font-weight:700;flex:1 1 auto;margin-left:.8125em}.bim-notify .messages-container .message-item-icon-info,.bim-notify .messages-container-preview .message-item-icon-info{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-failure,.bim-notify .messages-container-preview .message-item-icon-failure{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-close,.bim-notify .messages-container-preview .message-item-icon-close{cursor:pointer;width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/bimplus_Components_Notify_Close.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-body-text,.bim-notify .messages-container-preview .message-item-body-text{font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal}.bim-notify .messages-container .message-item-link,.bim-notify .messages-container-preview .message-item-link{color:var(--text-link-color-default);text-decoration:underline;font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal;cursor:pointer}.bim-notify .messages-container .message-item:last-child,.bim-notify .messages-container-preview .message-item:last-child{border-bottom:none}.bim-notify .messages-container{position:relative;display:flex;flex:1 1 auto}.bim-notify .messages-container lib-bimplus-scrollable-container{max-height:100%;min-width:100%}.bim-notify .messages-container-preview{max-height:none;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.bim-notify .messages-container-preview .message-item{background-color:var(--notify-message-item-background-color-enabled);border:thin solid var(--notify-message-item-border-color-enabled);-webkit-box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);margin-bottom:.5em}.bim-notify .icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon.notify{transform-origin:center top}@keyframes ringbell{0%{transform:rotate(0)}5%{transform:rotate(35deg)}15%{transform:rotate(-30deg)}25%{transform:rotate(25deg)}35%{transform:rotate(-20deg)}45%{transform:rotate(15deg)}55%{transform:rotate(-10deg)}65%{transform:rotate(5deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}.bim-notify .bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bim-notify .bimcomp-overlay.open{display:block;z-index:1}.bim-notify .icon-notify{background-image:url("./assets/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./assets/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./assets/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./assets/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./assets/bimplus_Components_Notify_Empty.svg")}
|
|
27
27
|
`],encapsulation:2})}}return t})();var Pl=(()=>{class t{transform(e){return e+"px"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Mr({name:"pxsuffix",type:t,pure:!0,standalone:!0})}}return t})();var Al=(()=>{class t{constructor(){this.oldX=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new M,this.clicked=new M}onMouseMove(e){if(!this.isDragging&&!this.isMouseDown)return;let i=e.clientX-this.oldX;if(!this.isDragging)if(Math.abs(i)>2)this.isDragging=!0,this.wasDragging=!0;else return;oe(this,"dragging",i),this.oldX=e.clientX}onMouseUp(){this.isDragging=!1,this.isMouseDown=!1}onMouseDown(e){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=e.clientX}onMouseClick(e){this.wasDragging||oe(this,"clicked",e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=K({type:t,selectors:[["","xDraggable",""]],hostBindings:function(i,o){i&1&&_("mousemove",function(s){return o.onMouseMove(s)},!1,Pt)("mouseup",function(s){return o.onMouseUp(s)},!1,Pt)("mousedown",function(s){return o.onMouseDown(s)})("click",function(s){return o.onMouseClick(s)})},outputs:{dragging:"dragging",clicked:"clicked"},standalone:!0})}}return t})();function fS(t,n){if(t&1&&(E(0,"div",7),N(1,"translate")),t&2){let e=u().$implicit;Ue("background"," no-repeat center center url("+e.iconDisabled+")"),g("title",F(1,4,e.text)),X("data-test","sidenav_item_"+e.id)}}function gS(t,n){if(t&1){let e=A();p(0,"div",8),N(1,"translate"),_("click",function(){y(e);let o=u(3);return C(o._toggleDrawer())})("keypress",function(){y(e);let o=u(3);return C(o._toggleDrawer())}),f()}if(t&2){let e=u(2).$implicit;Ue("background"," no-repeat center center url("+e.iconActive+")"),g("title",F(1,4,e.text)),X("data-test","sidenav_item_"+e.id)}}function hS(t,n){if(t&1){let e=A();p(0,"div",8),N(1,"translate"),_("click",function(){y(e);let o=u(2).$implicit,r=u();return C(r._activateItem(o.id))})("keypress",function(){y(e);let o=u(2).$implicit,r=u();return C(r._activateItem(o.id))}),f()}if(t&2){let e=u(2).$implicit;Ue("background"," no-repeat center center url("+e.icon+")"),g("title",F(1,4,e.text)),X("data-test","sidenav_item_"+e.id)}}function bS(t,n){if(t&1&&x(0,gS,2,6,"div",6)(1,hS,2,6,"div",6),t&2){let e=u().$implicit,i=u();j(i.activeItem===e.id?0:1)}}function vS(t,n){if(t&1&&(p(0,"div",5),x(1,fS,2,6,"div",6)(2,bS,2,1),f()),t&2){let e=n.$implicit;d(),j(e.disabled?1:2)}}function _S(t,n){if(t&1){let e=A();p(0,"div",5)(1,"div",8),N(2,"translate"),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r._clickAction(o.id))})("keypress",function(){let o=y(e).$implicit,r=u(2);return C(r._clickAction(o.id))}),f()()}if(t&2){let e=n.$implicit;d(),Ue("background"," no-repeat center center url("+e.icon+")"),g("title",F(2,4,e.text)),X("data-test","sidenav_action_item_"+e.id)}}function yS(t,n){if(t&1&&(E(0,"div",9),x(1,_S,3,6,"div",1)),t&2){let e=u();d(),g("ngForOf",e.actionItems)}}function CS(t,n){if(t&1){let e=A();p(0,"div",2)(1,"div",10),_("click",function(){y(e);let o=u();return C(o._clickFooter(o.footerItem.id))})("keypress",function(){y(e);let o=u();return C(o._clickFooter(o.footerItem.id))}),f()()}if(t&2){let e=u();d(),Ue("background"," no-repeat center center url("+e.footerItem.icon+")"),X("data-test","sidenav_footer_item_"+e.footerItem.id)}}function wS(t,n){if(t&1){let e=A();p(0,"div",11),_("dragging",function(o){y(e);let r=u();return C(r._onResizeWidth(o))}),f(),p(1,"div",12),_("dragging",function(o){y(e);let r=u();return C(r._onResizeWidth(o))})("clicked",function(){y(e);let o=u();return C(o._toggleDrawer())}),f()}}function xS(t,n){if(t&1){let e=A();p(0,"div",13),_("click",function(){y(e);let o=u();return C(o._toggleDrawer())})("keypress",function(){y(e);let o=u();return C(o._toggleDrawer())}),f()}}var Vv=(()=>{class t extends le{constructor(e){super(e),this.activeItem="",this.drawerWidth=300,this.drawerExpanded=!0,this.activeItemChanged=new M,this.actionClicked=new M,this.footerClicked=new M,this._items=new Array,this._actionItems=new Array,this._footerItem=null}get items(){return this._items}set items(e){this._items.length=0,this._items=e,this.items.length>0&&this._activateItem(this.items[0].id)}get actionItems(){return this._actionItems}set actionItems(e){this._actionItems.length=0,this._actionItems=e}get footerItem(){return this._footerItem}set footerItem(e){this._footerItem=e}_activateItem(e){this.activeItem=e,this._items.find(o=>o.id==e)&&(this.drawerExpanded||this._toggleDrawer(),oe(this,"activeItemChanged",e))}_clickAction(e){oe(this,"actionClicked",e)}_clickFooter(e){oe(this,"footerClicked",e)}_toggleDrawer(){this.drawerExpanded=!this.drawerExpanded}_onResizeWidth(e){let i=e;this.drawerWidth+=i}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-sidenav"]],inputs:{items:"items",actionItems:"actionItems",footerItem:"footerItem"},outputs:{activeItemChanged:"activeItemChanged",actionClicked:"actionClicked",footerClicked:"footerClicked"},standalone:!0,features:[ne([P]),q,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","title"],[1,"sidenav-item",3,"title"],[1,"sidenav-item",3,"click","keypress","title"],[1,"sidenav-separator"],[1,"sidenav-item",3,"click","keypress"],["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","keypress"]],template:function(i,o){i&1&&(p(0,"div",0),x(1,vS,3,1,"div",1)(2,yS,2,1)(3,CS,2,3,"div",2),f(),p(4,"div",3),N(5,"pxsuffix"),E(6,"slot"),x(7,wS,2,0),f(),x(8,xS,1,0,"div",4)),i&2&&(d(),g("ngForOf",o.items),d(),j(o.actionItems.length>0?2:-1),d(),j(o.footerItem?3:-1),d(),Ue("width",F(5,8,o.drawerWidth)),g("ngClass",o.drawerExpanded?"":"hidden"),d(3),j(o.drawerExpanded?7:-1),d(),j(o.drawerExpanded?-1:8))},dependencies:[L,ie,we,Pl,Al,Q,de],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:var(--sidenav-background-color-enabled);border:0 solid var(--sidenav-border-color-enabled);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 var(--sidenav-separator-border-color-enabled);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{background-color:var(--sidenav-row-footer-background-color-hovered)}.sidenav-row:hover{background-color:var(--sidenav-row-background-color-hovered)}.sidenav-drawer{min-width:25rem;height:100%;border:0 solid var(--sidenav-drawer-border-color-enabled);position:absolute;bottom:0;left:4rem;background-color:var(--sidenav-drawer-background-color-enabled);transition:background-color .7s;border-right:solid thin var(--sidenav-drawer-border-right-color-enabled);width:300px;display:flex;flex-direction:row}.sidenav-drawer:hover{background-color:var(--sidenav-drawer-background-color-hovered)}.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("./assets/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:var(--sidenav-resize-handle-left-background-color-enabled);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)}
|
|
28
28
|
`],encapsulation:3})}}return t})();var MS=(t,n,e)=>({red:t,yellow:n,green:e}),Nl=(()=>{class t extends le{constructor(e){super(e),this.usedStorage=0,this.bimplusStorageInfoClicked=new M}_infoClicked(e){oe(this,"bimplusStorageInfoClicked",e)}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorage:"usedStorage"},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},standalone:!0,features:[ne([P]),q,S],decls:8,vars:13,consts:[[1,"storage-info",3,"click","keypress"],[1,"progress-title"],[1,"progress-text"],[1,"storage-info-bar-container"],[1,"storage-info-bar",3,"ngClass"]],template:function(i,o){i&1&&(p(0,"div",0),_("click",function(){return o._infoClicked("storageInfo")})("keypress",function(){return o._infoClicked("storageInfo")}),p(1,"span",1),D(2),N(3,"translate"),p(4,"span",2),D(5),f()(),p(6,"div",3),E(7,"div",4),f()()),i&2&&(d(2),H(" ",F(3,7,"_Common_Data_Environment_Quota")," "),d(3),H(" ",o.usedStorage,"% "),d(2),Ue("width",o.usedStorage+"%")("max-width",o.usedStorage+"%"),g("ngClass",gt(9,MS,o.usedStorage>=90,o.usedStorage>=80&&o.usedStorage<90,o.usedStorage<80)))},dependencies:[L,ie,Q,de],styles:[`.storage-info{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:flex;cursor:pointer;color:var(--storage-info-placeholder-text-color-enabled);flex-direction:column}.storage-info.hovered,.storage-info:hover{color:var(--storage-info-text-color-hovered)}.storage-info.hovered .storage-info-bar .progress,.storage-info:hover .storage-info-bar .progress{border-color:var(--storage-info-bar-border-color-hovered)}.storage-info .progress-title{line-height:1em;text-align:center;margin:auto .5em .19em;font-weight:600}.storage-info .progress-text{margin-left:.31em}.storage-info .storage-info-bar-container{width:auto;margin:0 .5em auto;background-color:var(--storage-info-bar-container-background-color-enabled);padding:.125em;border:var(--storage-info-bar-container-border-color-enabled) solid thin}.storage-info .storage-info-bar-container .storage-info-bar{height:.31em}.storage-info .storage-info-bar-container .storage-info-bar.red{background-color:var(--storage-info-bar-background-color-low-enabled)}.storage-info .storage-info-bar-container .storage-info-bar.yellow{background-color:var(--storage-info-bar-background-color-medium-enabled)}.storage-info .storage-info-bar-container .storage-info-bar.green{background-color:var(--storage-info-bar-background-color-high-enabled)}
|
|
29
|
-
`],encapsulation:3})}}return t})();var kS=Math.PI/180,Bv=2*Math.PI,Ut=class t{static pointOnArc(n,e,i){let o=(i-90)*kS;return[n[0]+e*Math.cos(o),n[1]+e*Math.sin(o)]}static arc(n,e,i,o,r,s,a){let l=e-r,c=Math.abs(o-i);s=Math.min(r/2,s),360*(s/(Math.PI*(e-r)))>Math.abs(i-o)&&(s=c/360*l*Math.PI);let m=l+s,h=e-s,w=this.pointOnArc(n,h,i),b=this.pointOnArc(n,h,o),T=this.pointOnArc(n,m,i),O=this.pointOnArc(n,m,o),R=360*(s/(Bv*l)),V=360*(s/(Bv*e)),Z=this.pointOnArc(n,l,i+R),fe=this.pointOnArc(n,l,o-R),Ve=this.pointOnArc(n,e,i+V),ze=this.pointOnArc(n,e,o-V),te=c>180+2*V?1:0,Ge=c>180+2*R?1:0;return new Array("M",(w[0]/a).toString(),(w[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(Ve[0]/a).toString(),(Ve[1]/a).toString(),"A",(e/a).toString(),(e/a).toString(),"0",(te/a).toString(),"1",(ze[0]/a).toString(),(ze[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(b[0]/a).toString(),(b[1]/a).toString(),"L",(O[0]/a).toString(),(O[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(fe[0]/a).toString(),(fe[1]/a).toString(),"A",(l/a).toString(),(l/a).toString(),"0",(Ge/a).toString(),"0",(Z[0]/a).toString(),(Z[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(n,e,i,o){let r=o?(n-5)*10:n*10,s=o?(e-3)*10:e*10,a=r*2,c=360/(i>0?i:1)*Math.PI/360,m=r-Math.sin(c)*r,h=r-Math.cos(c)*r,w=r+Math.sin(c)*r,b=r-Math.cos(c)*r;return{radius:r/a,radiusInner:s/a,width:1,thick:(r-s)/a,innerEdgeRight:(r+s)/a,leftX:m/a,leftY:h/a,rightX:w/a,rightY:b/a}}static generateAnnularSector(n){return t.arc([n.subMenuCenter[0]*12,n.subMenuCenter[1]*12],n.subMenuRadius*12,n.subMenuStartAngle,n.subMenuEndAngle,n.subMenuWidth,7,425)}static generateAnnularSectorBorder(n){return t.arc([n.subMenuCenter[0]*12,n.subMenuCenter[1]*12],n.subMenuRadius*12+1,n.subMenuStartAngle-.5,n.subMenuEndAngle+.5,n.subMenuWidth+2,7,425)}static generateDeadZoneAnnularSector(n){return t.arc([n.deadZoneCenter[0]*12,n.deadZoneCenter[1]*12],n.deadZoneRadius*12,n.deadZoneStartAngle,n.deadZoneEndAngle,n.deadZoneWidth,7,700)}static getSVGViewBox(n){return`0 0 ${n.width} ${n.width}`}static getSVGCenterMenuPath(n){return`M 0 ${n.radius} A ${n.radius} ${n.radius} 0 0 1 ${n.width} ${n.radius} L ${n.width} ${n.radius} A ${n.radius} ${n.radius} 0 0 1 0 ${n.radius} L ${n.thick} ${n.radius} A ${n.radiusInner} ${n.radiusInner} 0 0 0 ${n.innerEdgeRight} ${n.radius} L ${n.innerEdgeRight} ${n.radius} A ${n.radiusInner} ${n.radiusInner} 0 0 0 ${n.thick} ${n.radius} Z`}static getSVGCenterMenuItemPath(n){return`M ${n.radius} ${n.radius} L ${n.leftX} ${n.leftY} A ${n.radius} ${n.radius} 0 0 1 ${n.rightX} ${n.rightY} L ${n.rightX} ${n.rightY} L ${n.radius} ${n.radius} Z`}static getSVGCenterSubMenuItemPath(n){return`M ${n.radius} ${n.radius} L ${n.leftX} ${n.leftY} A ${n.radius} ${n.radius} 0 0 1 ${n.rightX} ${n.rightY} L ${n.rightX} ${n.rightY} L ${n.radius} ${n.radius} Z`}};var DS=(t,n,e)=>({disabled:t,enabled:n,active:e});function ES(t,n){if(t&1&&(p(0,"div",1)(1,"span",2),D(2),f()()),t&2){let e=u();g("ngClass",gt(3,DS,!e.isEnabled,e.isEnabled,e.active))("className",e.item.iconClass),d(2),ee(e.item.text)}}var zv=(()=>{class t{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-tool-hub-item"]],hostVars:6,hostBindings:function(i,o){i&2&&Y("active",o.active)("enabled",o.isEnabled)("centermenu-button",o.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(i,o){i&1&&x(0,ES,3,7,"div",0),i&2&&g("ngIf",o.item)},dependencies:[L,ie,Qe],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:var(--text-highlight-text-color-enabled)}.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:var(--center-menu-controller-background-color-enabled);background-image:url("./assets/27_Center_Menu.svg");border:1px solid var(--center-menu-controller-border-color-enabled)}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./assets/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:var(--center-menu-controller-background-color-active);background-image:url("./assets/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:var(--center-menu-sub-menu-border-background-color);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:var(--center-menu-sub-menu-background-color);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:var(--center-menu-sub-menu-button-active)}.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:var(--center-menu-circle-border-background-color);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:var(--center-menu-circle-background-color);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:var(--center-menu-button-active)}.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:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}.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:var(--center-menu-button-disabled)}.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("./assets/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./assets/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./assets/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./assets/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./assets/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./assets/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_front_maincolor.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_perspective_maincolor.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_side_maincolor.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_top_maincolor.svg")}']})}}return t})();var IS=(t,n,e)=>({disabled:t,enabled:n,active:e});function SS(t,n){if(t&1&&(p(0,"div",1)(1,"span",2),D(2),f()()),t&2){let e=u();g("ngClass",gt(3,IS,!e.isEnabled,e.isEnabled,e.active))("className",e.item.iconClass),d(2),ee(e.item.text)}}var Hv=(()=>{class t{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0,this.centerSubMenuButtonClass=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-tool-hub-sub-item"]],hostVars:8,hostBindings:function(i,o){i&2&&Y("active",o.active)("enabled",o.isEnabled)("centermenu-button",o.centerMenuButtonClass)("center-sub-menu-button",o.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(i,o){i&1&&x(0,SS,3,7,"div",0),i&2&&g("ngIf",o.item)},dependencies:[L,ie,Qe],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:var(--text-highlight-text-color-enabled)}.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:var(--center-menu-controller-background-color-enabled);background-image:url("./assets/27_Center_Menu.svg");border:1px solid var(--center-menu-controller-border-color-enabled)}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./assets/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:var(--center-menu-controller-background-color-active);background-image:url("./assets/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:var(--center-menu-sub-menu-border-background-color);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:var(--center-menu-sub-menu-background-color);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:var(--center-menu-sub-menu-button-active)}.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:var(--center-menu-circle-border-background-color);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:var(--center-menu-circle-background-color);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:var(--center-menu-button-active)}.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:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}.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:var(--center-menu-button-disabled)}.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("./assets/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./assets/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./assets/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./assets/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./assets/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./assets/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_front_maincolor.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_perspective_maincolor.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_side_maincolor.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_top_maincolor.svg")}']})}}return t})();var TS=(t,n)=>({opened:t,active:n});function OS(t,n){if(t&1){let e=A();p(0,"lib-tool-hub-item",16),N(1,"translate"),_("clicked",function(){let o=y(e).$implicit,r=u();return C(r.clickToolHubItem(o.buttonId))}),f()}if(t&2){let e=n.$implicit;g("title",F(1,5,e.tooltip))("item",e)("active",!!e.active)("isEnabled",!e.disabled),X("data-test","toolhub_item_"+e.buttonId)}}function PS(t,n){if(t&1){let e=A();p(0,"lib-tool-hub-sub-item",21),N(1,"translate"),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r.clickToolHubSubItem(o.buttonId))})("keypress",function(){let o=y(e).$implicit,r=u(2);return C(r.clickToolHubSubItem(o.buttonId))}),f()}if(t&2){let e=n.$implicit;g("title",F(1,3,e.tooltip))("item",e),X("data-test","toolhub_subitem_"+e.buttonId)}}function AS(t,n){if(t&1){let e=A();p(0,"div",17),_("mouseleave",function(){y(e);let o=u();return C(o.setHoveredState("submenuBorder",!1))})("mouseenter",function(){y(e);let o=u();return C(o.setHoveredState("submenuBorder",!0))}),f(),p(1,"div",18),_("mouseleave",function(){y(e);let o=u();return C(o.setHoveredState("submenu",!1))})("mouseenter",function(){y(e);let o=u();return C(o.setHoveredState("submenu",!0))}),x(2,PS,2,5,"lib-tool-hub-sub-item",19),f(),p(3,"div",20),_("mouseleave",function(){y(e);let o=u();return C(o.setHoveredState("deadZone",!1))})("mouseenter",function(){y(e);let o=u();return C(o.setHoveredState("deadZone",!0))}),f()}if(t&2){let e=u();g("ngClass",e.isCollapsed?"hidden":""),d(),g("ngClass",e.isCollapsed?"hidden":""),d(),g("ngForOf",e.activeSubItems),d(),g("ngClass",e.isCollapsed?"hidden":"")}}function NS(){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 FS(){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.forEach(n=>{n.active=!1,n.disabled=!0}),t}var RS=350,jS=670,$v=(()=>{class t extends le{constructor(e,i,o,r){super(e),this.layoutManagerService=i,this.resizeObserverService=o,this.element=r,this.isEmbedded=!1,this.isFocused=!1,this.isActive=!0,this.itemClicked=new M,this.subItemClicked=new M,this.componentId="center-menu-fp-id",this.subscription=null,this._isCollapsed=!1,this._itemStates=Array(),this._items=Array(),this._activeSubItemsView=null,this._activeSubItems=null,this._hoveredElements=Array(),this.items=FS(),this._visualSettings=NS(),this._units=this.calculateCurrentMenuItemUnits(),this._subMenuUnits=this.calculateCurrentSubMenuItemUnits(),this._annularSector=Ut.generateAnnularSector(this._visualSettings),this._annularSectorBorder=Ut.generateAnnularSectorBorder(this._visualSettings),this._deadZoneAnnularSector=Ut.generateDeadZoneAnnularSector(this._visualSettings)}get itemStates(){return this._itemStates}set itemStates(e){this._itemStates=e,this.setItemStates(this._itemStates)}setItemStates(e){for(let i of e){let o=this._items.find(r=>r.buttonId===i.buttonId);o&&(i.active!=null&&(o.active=i.active),i.disabled!==void 0&&(o.disabled=i.disabled))}this._updateActivationState()}get items(){return this._items}set items(e){this._items=e;let i=this._items?.length>0?this._items.length:1,o=document?.documentElement?.style;if(o){let r=o.getPropertyValue("--menu-items");parseInt(r)!==i&&o.setProperty("--menu-items",i.toString())}this.setItemStates(this._itemStates)}get activeSubItems(){return this._activeSubItems}get isCollapsed(){return this._isCollapsed}set isCollapsed(e){this._isCollapsed=e}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}ngOnInit(){this.layoutManagerService.registerObject(this.element,this.componentId,"#center-menu-fp-id",!0,RS,jS),this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.componentId);this.isCollapsed=!!i?.isCollapsed})}ngAfterViewInit(){this.subscription=this.resizeObserverService.parentAppRect$.subscribe(e=>{this.handleParentAppRectSizeChange(e)})}getSVGViewBox(){return Ut.getSVGViewBox(this._units)}getSVGCenterMenuPath(){return Ut.getSVGCenterMenuPath(this._units)}getSVGCenterMenuItemPath(){return Ut.getSVGCenterMenuItemPath(this._units)}getSVGCenterSubMenuItemPath(){return Ut.getSVGCenterSubMenuItemPath(this._subMenuUnits)}toggleMenu(){this.layoutManagerService.updateCollapsed(!this.isCollapsed,this.componentId),setTimeout(()=>{this.layoutManagerService.checkPosition("center-menu-fp-id",this.getSelector(),void 0,0,0,!0)})}findToolHubItemById(e){return this._items.find(i=>i.buttonId===e)}clickToolHubItem(e){let i=this.findToolHubItemById(e);!i||i?.disabled||this.itemClicked.emit(e)}clickToolHubSubItem(e){!this._activeSubItems||!this._activeSubItems.find(o=>o.buttonId===e)||(this.subItemClicked.emit(e),this.closeActiveSubItemsView())}toggleToolHubItemActive(e){let i=this.findToolHubItemById(e);!i||i.disabled||(i.active=!i.active,this._updateActivationState())}toggleSubItemsView(e){let i=this.findToolHubItemById(e);!i||i.disabled||!i.subItems||(i.active=!i.active,i.active?(this._activeSubItemsView=i,this._activeSubItems=i.subItems):(this._activeSubItemsView=null,this._activeSubItems=null))}closeActiveSubItemsView(){this._activeSubItemsView&&(this._activeSubItemsView.active=!1,this._activeSubItemsView=null),this._activeSubItems=null}setHoveredState(e,i){let o=this._hoveredElements.indexOf(e),r=this._hoveredElements.length;o>=0&&!i&&this._hoveredElements.splice(o,1),o<0&&i&&this._hoveredElements.push(e),r>0&&this._hoveredElements.length===0&&setInterval(()=>{this._hoveredElements.length===0&&this.closeActiveSubItemsView()},1e3)}getSelector(){return this.isCollapsed?"#center-menu-controller":".center-menu-fp"}dragElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition("center-menu-fp-id",this.getSelector(),void 0,i,o)}onDragEnd(){this.layoutManagerService.handleDragEnd("center-menu-fp-id")}calculateCurrentMenuItemUnits(){return Ut.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,this._items.length,this.isEmbedded)}calculateCurrentSubMenuItemUnits(){return Ut.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,20,this.isEmbedded)}handleParentAppRectSizeChange(e){this.layoutManagerService.checkPosition(this.componentId,this.getSelector(),e,0,0,!0)}_oneOrMoreItemsActive(){for(let e of this.items)if(e.active===!0)return!0;return!1}_updateActivationState(){this._oneOrMoreItemsActive()?this.isActive=!0:this.isActive=!1}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(nt),v(vn),v(G))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-tool-hub"]],inputs:{itemStates:"itemStates",items:"items",isCollapsed:[2,"isCollapsed","isCollapsed",k],isEmbedded:[2,"isEmbedded","isEmbedded",k],isFocused:[2,"isFocused","isFocused",k],isActive:[2,"isActive","isActive",k]},outputs:{itemClicked:"itemClicked",subItemClicked:"subItemClicked"},standalone:!0,features:[ne([P]),he,q,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","dragEnd","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","keypress",4,"ngFor","ngForOf"],[1,"center-menu-sub-menu-dead-zone",3,"mouseleave","mouseenter","ngClass"],[3,"click","keypress","title","item"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2),N(3,"translate"),N(4,"translate"),_("clicked",function(){return o.toggleMenu()})("dragging",function(s){return o.dragElement(s)})("dragEnd",function(){return o.onDragEnd()}),f(),E(5,"div",3),p(6,"div",4),_("mouseleave",function(){return o.setHoveredState("menuCircleBorderOuter",!1)})("mouseenter",function(){return o.setHoveredState("menuCircleBorderOuter",!0)}),f(),p(7,"div",5),_("mouseleave",function(){return o.setHoveredState("menuCircle",!1)})("mouseenter",function(){return o.setHoveredState("menuCircle",!0)})("dragging",function(s){return o.dragElement(s)}),x(8,OS,2,7,"lib-tool-hub-item",6),yg(),p(9,"svg",7)(10,"clipPath",8),E(11,"path",9),f(),p(12,"clipPath",10),E(13,"path",9),f(),p(14,"clipPath",11),E(15,"path",9),f(),p(16,"clipPath",12),E(17,"path",13),f(),p(18,"clipPath",14),E(19,"path",13),f(),p(20,"clipPath",15),E(21,"path",13),f()()(),x(22,AS,4,4),f()()),i&2&&(d(),g("ngClass",o.activeSubItems?"submenu-active":""),d(),g("ngClass",ft(19,TS,!o.isCollapsed,o.isActive))("title",o.isCollapsed?F(3,15,"_Show_toolhub_tooltip"):F(4,17,"_Minimize_toolhub_tooltip")),d(3),g("ngClass",o.isCollapsed?"hidden":""),d(),g("ngClass",o.isCollapsed?"hidden":""),d(),g("ngClass",o.isCollapsed?"hidden":""),d(),g("ngForOf",o.items),d(),X("viewBox",o.getSVGViewBox()),d(2),X("d",o.getSVGCenterMenuPath()),d(2),X("d",o.getSVGCenterMenuItemPath()),d(2),X("d",o.getSVGCenterSubMenuItemPath()),d(2),X("d",o.annularSector),d(2),X("d",o.annularSectorBorder),d(2),X("d",o.deadZoneAnnularSector),d(),j(o.activeSubItems?22:-1))},dependencies:[Q,de,L,ie,we,zv,Hv,ai],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:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.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:var(--center-menu-controller-background-color-enabled);background-image:url("./assets/27_Center_Menu.svg");border:1px solid var(--center-menu-controller-border-color-enabled)}.center-menu .center-menu-controller.opened{background-image:url("./assets/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:var(--center-menu-controller-background-color-active);background-image:url("./assets/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:var(--center-menu-sub-menu-border-background-color);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:var(--center-menu-sub-menu-background-color);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:var(--center-menu-sub-menu-button-active)}.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:var(--center-menu-circle-border-background-color);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:var(--center-menu-circle-background-color);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:var(--center-menu-button-active)}.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:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}@keyframes highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}.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:var(--center-menu-button-disabled)}.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("./assets/Add_Issue_active.svg")}.ui-icon-create-task.disabled{background-image:url("./assets/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off{background-image:url("./assets/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled{background-image:url("./assets/Quantity_disabled.svg")}.ui-icon-markup{background-image:url("./assets/Markup_active.svg")}.ui-icon-markup.disabled{background-image:url("./assets/Markup_disabled.svg")}.ui-icon-section{background-image:url("./assets/Section_active.svg")}.ui-icon-section.disabled{background-image:url("./assets/Section_disabled.svg")}.ui-icon-obj-transp{background-image:url("./assets/Hide_active.svg")}.ui-icon-obj-transp.disabled{background-image:url("./assets/Hide_disabled.svg")}.ui-icon-obj-select{background-image:url("./assets/Isolation_active.svg")}.ui-icon-obj-select.disabled{background-image:url("./assets/Isolation_disabled.svg")}.ui-icon-navigation-map{background-image:url("./assets/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled{background-image:url("./assets/Navigation_Map_disabled.svg")}.ui-icon-fullscreen{background-image:url("./assets/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled{background-image:url("./assets/Fullscreen_disabled.svg")}.ui-icon-project-navigator{background-image:url("./assets/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled{background-image:url("./assets/Project_Navigation_disabled.svg")}.ui-icon-obj-reset{background-image:url("./assets/Reset_active.svg")}.ui-icon-obj-reset.disabled{background-image:url("./assets/Reset_disabled.svg")}.ui-icon-reset-vp{background-image:url("./assets/View_active.svg")}.ui-icon-reset-vp.disabled{background-image:url("./assets/View_disabled.svg")}.ui-icon-front-view{background-image:url("./assets/cm_view_front_black.svg")}.ui-icon-front-view:hover{background-image:url("./assets/cm_view_front_maincolor.svg")}.ui-icon-perspective-view{background-image:url("./assets/cm_view_perspective_black.svg")}.ui-icon-perspective-view:hover{background-image:url("./assets/cm_view_perspective_maincolor.svg")}.ui-icon-side-view{background-image:url("./assets/cm_view_side_black.svg")}.ui-icon-side-view:hover{background-image:url("./assets/cm_view_side_maincolor.svg")}.ui-icon-top-view{background-image:url("./assets/cm_view_top_black.svg")}.ui-icon-top-view:hover{background-image:url("./assets/cm_view_top_maincolor.svg")}
|
|
29
|
+
`],encapsulation:3})}}return t})();var kS=Math.PI/180,Bv=2*Math.PI,Ut=class t{static pointOnArc(n,e,i){let o=(i-90)*kS;return[n[0]+e*Math.cos(o),n[1]+e*Math.sin(o)]}static arc(n,e,i,o,r,s,a){let l=e-r,c=Math.abs(o-i);s=Math.min(r/2,s),360*(s/(Math.PI*(e-r)))>Math.abs(i-o)&&(s=c/360*l*Math.PI);let m=l+s,h=e-s,w=this.pointOnArc(n,h,i),b=this.pointOnArc(n,h,o),T=this.pointOnArc(n,m,i),O=this.pointOnArc(n,m,o),R=360*(s/(Bv*l)),V=360*(s/(Bv*e)),Z=this.pointOnArc(n,l,i+R),fe=this.pointOnArc(n,l,o-R),Ve=this.pointOnArc(n,e,i+V),ze=this.pointOnArc(n,e,o-V),te=c>180+2*V?1:0,Ge=c>180+2*R?1:0;return new Array("M",(w[0]/a).toString(),(w[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(Ve[0]/a).toString(),(Ve[1]/a).toString(),"A",(e/a).toString(),(e/a).toString(),"0",(te/a).toString(),"1",(ze[0]/a).toString(),(ze[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(b[0]/a).toString(),(b[1]/a).toString(),"L",(O[0]/a).toString(),(O[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(fe[0]/a).toString(),(fe[1]/a).toString(),"A",(l/a).toString(),(l/a).toString(),"0",(Ge/a).toString(),"0",(Z[0]/a).toString(),(Z[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(n,e,i,o){let r=o?(n-5)*10:n*10,s=o?(e-3)*10:e*10,a=r*2,c=360/(i>0?i:1)*Math.PI/360,m=r-Math.sin(c)*r,h=r-Math.cos(c)*r,w=r+Math.sin(c)*r,b=r-Math.cos(c)*r;return{radius:r/a,radiusInner:s/a,width:1,thick:(r-s)/a,innerEdgeRight:(r+s)/a,leftX:m/a,leftY:h/a,rightX:w/a,rightY:b/a}}static generateAnnularSector(n){return t.arc([n.subMenuCenter[0]*12,n.subMenuCenter[1]*12],n.subMenuRadius*12,n.subMenuStartAngle,n.subMenuEndAngle,n.subMenuWidth,7,425)}static generateAnnularSectorBorder(n){return t.arc([n.subMenuCenter[0]*12,n.subMenuCenter[1]*12],n.subMenuRadius*12+1,n.subMenuStartAngle-.5,n.subMenuEndAngle+.5,n.subMenuWidth+2,7,425)}static generateDeadZoneAnnularSector(n){return t.arc([n.deadZoneCenter[0]*12,n.deadZoneCenter[1]*12],n.deadZoneRadius*12,n.deadZoneStartAngle,n.deadZoneEndAngle,n.deadZoneWidth,7,700)}static getSVGViewBox(n){return`0 0 ${n.width} ${n.width}`}static getSVGCenterMenuPath(n){return`M 0 ${n.radius} A ${n.radius} ${n.radius} 0 0 1 ${n.width} ${n.radius} L ${n.width} ${n.radius} A ${n.radius} ${n.radius} 0 0 1 0 ${n.radius} L ${n.thick} ${n.radius} A ${n.radiusInner} ${n.radiusInner} 0 0 0 ${n.innerEdgeRight} ${n.radius} L ${n.innerEdgeRight} ${n.radius} A ${n.radiusInner} ${n.radiusInner} 0 0 0 ${n.thick} ${n.radius} Z`}static getSVGCenterMenuItemPath(n){return`M ${n.radius} ${n.radius} L ${n.leftX} ${n.leftY} A ${n.radius} ${n.radius} 0 0 1 ${n.rightX} ${n.rightY} L ${n.rightX} ${n.rightY} L ${n.radius} ${n.radius} Z`}static getSVGCenterSubMenuItemPath(n){return`M ${n.radius} ${n.radius} L ${n.leftX} ${n.leftY} A ${n.radius} ${n.radius} 0 0 1 ${n.rightX} ${n.rightY} L ${n.rightX} ${n.rightY} L ${n.radius} ${n.radius} Z`}};var DS=(t,n,e)=>({disabled:t,enabled:n,active:e});function ES(t,n){if(t&1&&(p(0,"div",1)(1,"span",2),D(2),f()()),t&2){let e=u();g("ngClass",gt(3,DS,!e.isEnabled,e.isEnabled,e.active))("className",e.item.iconClass),d(2),ee(e.item.text)}}var zv=(()=>{class t{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-tool-hub-item"]],hostVars:6,hostBindings:function(i,o){i&2&&Y("active",o.active)("enabled",o.isEnabled)("centermenu-button",o.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(i,o){i&1&&x(0,ES,3,7,"div",0),i&2&&g("ngIf",o.item)},dependencies:[L,ie,Qe],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:var(--text-highlight-text-color-enabled)}.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:var(--center-menu-controller-background-color-enabled);background-image:url("./assets/27_Center_Menu.svg");border:1px solid var(--center-menu-controller-border-color-enabled)}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./assets/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:var(--center-menu-controller-background-color-active);background-image:url("./assets/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:var(--center-menu-sub-menu-border-background-color);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:var(--center-menu-sub-menu-background-color);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:var(--center-menu-sub-menu-button-active)}.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:var(--center-menu-circle-border-background-color);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:var(--center-menu-circle-background-color);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:var(--center-menu-button-active)}.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:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}.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:var(--center-menu-button-disabled)}.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("./assets/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./assets/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./assets/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./assets/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./assets/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./assets/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_front_maincolor.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_perspective_maincolor.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_side_maincolor.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_top_maincolor.svg")}']})}}return t})();var IS=(t,n,e)=>({disabled:t,enabled:n,active:e});function SS(t,n){if(t&1&&(p(0,"div",1)(1,"span",2),D(2),f()()),t&2){let e=u();g("ngClass",gt(3,IS,!e.isEnabled,e.isEnabled,e.active))("className",e.item.iconClass),d(2),ee(e.item.text)}}var Hv=(()=>{class t{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0,this.centerSubMenuButtonClass=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-tool-hub-sub-item"]],hostVars:8,hostBindings:function(i,o){i&2&&Y("active",o.active)("enabled",o.isEnabled)("centermenu-button",o.centerMenuButtonClass)("center-sub-menu-button",o.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(i,o){i&1&&x(0,SS,3,7,"div",0),i&2&&g("ngIf",o.item)},dependencies:[L,ie,Qe],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:var(--text-highlight-text-color-enabled)}.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:var(--center-menu-controller-background-color-enabled);background-image:url("./assets/27_Center_Menu.svg");border:1px solid var(--center-menu-controller-border-color-enabled)}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./assets/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:var(--center-menu-controller-background-color-active);background-image:url("./assets/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:var(--center-menu-sub-menu-border-background-color);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:var(--center-menu-sub-menu-background-color);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:var(--center-menu-sub-menu-button-active)}.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:var(--center-menu-circle-border-background-color);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:var(--center-menu-circle-background-color);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:var(--center-menu-button-active)}.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:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}.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:var(--center-menu-button-disabled)}.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("./assets/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./assets/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./assets/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./assets/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./assets/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./assets/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_front_maincolor.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_perspective_maincolor.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_side_maincolor.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_top_maincolor.svg")}']})}}return t})();var TS=(t,n)=>({opened:t,active:n});function OS(t,n){if(t&1){let e=A();p(0,"lib-tool-hub-item",16),N(1,"translate"),_("clicked",function(){let o=y(e).$implicit,r=u();return C(r.clickToolHubItem(o.buttonId))}),f()}if(t&2){let e=n.$implicit;g("title",F(1,5,e.tooltip))("item",e)("active",!!e.active)("isEnabled",!e.disabled),X("data-test","toolhub_item_"+e.buttonId)}}function PS(t,n){if(t&1){let e=A();p(0,"lib-tool-hub-sub-item",21),N(1,"translate"),_("click",function(){let o=y(e).$implicit,r=u(2);return C(r.clickToolHubSubItem(o.buttonId))})("keypress",function(){let o=y(e).$implicit,r=u(2);return C(r.clickToolHubSubItem(o.buttonId))}),f()}if(t&2){let e=n.$implicit;g("title",F(1,3,e.tooltip))("item",e),X("data-test","toolhub_subitem_"+e.buttonId)}}function AS(t,n){if(t&1){let e=A();p(0,"div",17),_("mouseleave",function(){y(e);let o=u();return C(o.setHoveredState("submenuBorder",!1))})("mouseenter",function(){y(e);let o=u();return C(o.setHoveredState("submenuBorder",!0))}),f(),p(1,"div",18),_("mouseleave",function(){y(e);let o=u();return C(o.setHoveredState("submenu",!1))})("mouseenter",function(){y(e);let o=u();return C(o.setHoveredState("submenu",!0))}),x(2,PS,2,5,"lib-tool-hub-sub-item",19),f(),p(3,"div",20),_("mouseleave",function(){y(e);let o=u();return C(o.setHoveredState("deadZone",!1))})("mouseenter",function(){y(e);let o=u();return C(o.setHoveredState("deadZone",!0))}),f()}if(t&2){let e=u();g("ngClass",e.isCollapsed?"hidden":""),d(),g("ngClass",e.isCollapsed?"hidden":""),d(),g("ngForOf",e.activeSubItems),d(),g("ngClass",e.isCollapsed?"hidden":"")}}function NS(){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 FS(){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.forEach(n=>{n.active=!1,n.disabled=!0}),t}var RS=350,jS=670,$v=(()=>{class t extends le{constructor(e,i,o,r){super(e),this.layoutManagerService=i,this.resizeObserverService=o,this.element=r,this.isEmbedded=!1,this.isFocused=!1,this.isActive=!0,this.itemClicked=new M,this.subItemClicked=new M,this.componentId="center-menu-fp-id",this.subscription=null,this._isCollapsed=!1,this._itemStates=Array(),this._items=Array(),this._activeSubItemsView=null,this._activeSubItems=null,this._hoveredElements=Array(),this.items=FS(),this._visualSettings=NS(),this._units=this.calculateCurrentMenuItemUnits(),this._subMenuUnits=this.calculateCurrentSubMenuItemUnits(),this._annularSector=Ut.generateAnnularSector(this._visualSettings),this._annularSectorBorder=Ut.generateAnnularSectorBorder(this._visualSettings),this._deadZoneAnnularSector=Ut.generateDeadZoneAnnularSector(this._visualSettings)}get itemStates(){return this._itemStates}set itemStates(e){this._itemStates=e,this.setItemStates(this._itemStates)}setItemStates(e){for(let i of e){let o=this._items.find(r=>r.buttonId===i.buttonId);o&&(i.active!=null&&(o.active=i.active),i.disabled!==void 0&&(o.disabled=i.disabled))}this._updateActivationState()}get items(){return this._items}set items(e){this._items=e;let i=this._items?.length>0?this._items.length:1,o=document?.documentElement?.style;if(o){let r=o.getPropertyValue("--menu-items");parseInt(r)!==i&&o.setProperty("--menu-items",i.toString())}this.setItemStates(this._itemStates)}get activeSubItems(){return this._activeSubItems}get isCollapsed(){return this._isCollapsed}set isCollapsed(e){this._isCollapsed=e}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}ngOnInit(){this.layoutManagerService.registerObject(this.element,this.componentId,"#center-menu-fp-id",!0,RS,jS),this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.componentId);this.isCollapsed=!!i?.isCollapsed})}ngAfterViewInit(){this.subscription=this.resizeObserverService.parentAppRect$.subscribe(e=>{this.handleParentAppRectSizeChange(e)})}getSVGViewBox(){return Ut.getSVGViewBox(this._units)}getSVGCenterMenuPath(){return Ut.getSVGCenterMenuPath(this._units)}getSVGCenterMenuItemPath(){return Ut.getSVGCenterMenuItemPath(this._units)}getSVGCenterSubMenuItemPath(){return Ut.getSVGCenterSubMenuItemPath(this._subMenuUnits)}toggleMenu(){this.layoutManagerService.updateCollapsed(!this.isCollapsed,this.componentId),setTimeout(()=>{this.layoutManagerService.checkPosition("center-menu-fp-id",this.getSelector(),void 0,0,0,!0)})}findToolHubItemById(e){return this._items.find(i=>i.buttonId===e)}clickToolHubItem(e){let i=this.findToolHubItemById(e);!i||i?.disabled||this.itemClicked.emit(e)}clickToolHubSubItem(e){!this._activeSubItems||!this._activeSubItems.find(o=>o.buttonId===e)||(this.subItemClicked.emit(e),this.closeActiveSubItemsView())}toggleToolHubItemActive(e){let i=this.findToolHubItemById(e);!i||i.disabled||(i.active=!i.active,this._updateActivationState())}toggleSubItemsView(e){let i=this.findToolHubItemById(e);!i||i.disabled||!i.subItems||(i.active=!i.active,i.active?(this._activeSubItemsView=i,this._activeSubItems=i.subItems):(this._activeSubItemsView=null,this._activeSubItems=null))}closeActiveSubItemsView(){this._activeSubItemsView&&(this._activeSubItemsView.active=!1,this._activeSubItemsView=null),this._activeSubItems=null}setHoveredState(e,i){let o=this._hoveredElements.indexOf(e),r=this._hoveredElements.length;o>=0&&!i&&this._hoveredElements.splice(o,1),o<0&&i&&this._hoveredElements.push(e),r>0&&this._hoveredElements.length===0&&setInterval(()=>{this._hoveredElements.length===0&&this.closeActiveSubItemsView()},1e3)}getSelector(){return this.isCollapsed?"#center-menu-controller":".center-menu-fp"}dragElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition("center-menu-fp-id",this.getSelector(),void 0,i,o)}onDragEnd(){this.layoutManagerService.handleDragEnd("center-menu-fp-id")}calculateCurrentMenuItemUnits(){return Ut.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,this._items.length,this.isEmbedded)}calculateCurrentSubMenuItemUnits(){return Ut.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,20,this.isEmbedded)}handleParentAppRectSizeChange(e){this.layoutManagerService.checkPosition(this.componentId,this.getSelector(),e,0,0,!0)}_oneOrMoreItemsActive(){for(let e of this.items)if(e.active===!0)return!0;return!1}_updateActivationState(){this._oneOrMoreItemsActive()?this.isActive=!0:this.isActive=!1}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(it),v(vn),v(G))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-tool-hub"]],inputs:{itemStates:"itemStates",items:"items",isCollapsed:[2,"isCollapsed","isCollapsed",k],isEmbedded:[2,"isEmbedded","isEmbedded",k],isFocused:[2,"isFocused","isFocused",k],isActive:[2,"isActive","isActive",k]},outputs:{itemClicked:"itemClicked",subItemClicked:"subItemClicked"},standalone:!0,features:[ne([P]),he,q,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","dragEnd","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","keypress",4,"ngFor","ngForOf"],[1,"center-menu-sub-menu-dead-zone",3,"mouseleave","mouseenter","ngClass"],[3,"click","keypress","title","item"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2),N(3,"translate"),N(4,"translate"),_("clicked",function(){return o.toggleMenu()})("dragging",function(s){return o.dragElement(s)})("dragEnd",function(){return o.onDragEnd()}),f(),E(5,"div",3),p(6,"div",4),_("mouseleave",function(){return o.setHoveredState("menuCircleBorderOuter",!1)})("mouseenter",function(){return o.setHoveredState("menuCircleBorderOuter",!0)}),f(),p(7,"div",5),_("mouseleave",function(){return o.setHoveredState("menuCircle",!1)})("mouseenter",function(){return o.setHoveredState("menuCircle",!0)})("dragging",function(s){return o.dragElement(s)}),x(8,OS,2,7,"lib-tool-hub-item",6),yg(),p(9,"svg",7)(10,"clipPath",8),E(11,"path",9),f(),p(12,"clipPath",10),E(13,"path",9),f(),p(14,"clipPath",11),E(15,"path",9),f(),p(16,"clipPath",12),E(17,"path",13),f(),p(18,"clipPath",14),E(19,"path",13),f(),p(20,"clipPath",15),E(21,"path",13),f()()(),x(22,AS,4,4),f()()),i&2&&(d(),g("ngClass",o.activeSubItems?"submenu-active":""),d(),g("ngClass",ft(19,TS,!o.isCollapsed,o.isActive))("title",o.isCollapsed?F(3,15,"_Show_toolhub_tooltip"):F(4,17,"_Minimize_toolhub_tooltip")),d(3),g("ngClass",o.isCollapsed?"hidden":""),d(),g("ngClass",o.isCollapsed?"hidden":""),d(),g("ngClass",o.isCollapsed?"hidden":""),d(),g("ngForOf",o.items),d(),X("viewBox",o.getSVGViewBox()),d(2),X("d",o.getSVGCenterMenuPath()),d(2),X("d",o.getSVGCenterMenuItemPath()),d(2),X("d",o.getSVGCenterSubMenuItemPath()),d(2),X("d",o.annularSector),d(2),X("d",o.annularSectorBorder),d(2),X("d",o.deadZoneAnnularSector),d(),j(o.activeSubItems?22:-1))},dependencies:[Q,de,L,ie,we,zv,Hv,ai],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:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.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:var(--center-menu-controller-background-color-enabled);background-image:url("./assets/27_Center_Menu.svg");border:1px solid var(--center-menu-controller-border-color-enabled)}.center-menu .center-menu-controller.opened{background-image:url("./assets/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:var(--center-menu-controller-background-color-active);background-image:url("./assets/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:var(--center-menu-sub-menu-border-background-color);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:var(--center-menu-sub-menu-background-color);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:var(--center-menu-sub-menu-button-active)}.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:var(--center-menu-circle-border-background-color);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:var(--center-menu-circle-background-color);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:var(--center-menu-button-active)}.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:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}@keyframes highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}.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:var(--center-menu-button-disabled)}.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("./assets/Add_Issue_active.svg")}.ui-icon-create-task.disabled{background-image:url("./assets/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off{background-image:url("./assets/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled{background-image:url("./assets/Quantity_disabled.svg")}.ui-icon-markup{background-image:url("./assets/Markup_active.svg")}.ui-icon-markup.disabled{background-image:url("./assets/Markup_disabled.svg")}.ui-icon-section{background-image:url("./assets/Section_active.svg")}.ui-icon-section.disabled{background-image:url("./assets/Section_disabled.svg")}.ui-icon-obj-transp{background-image:url("./assets/Hide_active.svg")}.ui-icon-obj-transp.disabled{background-image:url("./assets/Hide_disabled.svg")}.ui-icon-obj-select{background-image:url("./assets/Isolation_active.svg")}.ui-icon-obj-select.disabled{background-image:url("./assets/Isolation_disabled.svg")}.ui-icon-navigation-map{background-image:url("./assets/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled{background-image:url("./assets/Navigation_Map_disabled.svg")}.ui-icon-fullscreen{background-image:url("./assets/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled{background-image:url("./assets/Fullscreen_disabled.svg")}.ui-icon-project-navigator{background-image:url("./assets/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled{background-image:url("./assets/Project_Navigation_disabled.svg")}.ui-icon-obj-reset{background-image:url("./assets/Reset_active.svg")}.ui-icon-obj-reset.disabled{background-image:url("./assets/Reset_disabled.svg")}.ui-icon-reset-vp{background-image:url("./assets/View_active.svg")}.ui-icon-reset-vp.disabled{background-image:url("./assets/View_disabled.svg")}.ui-icon-front-view{background-image:url("./assets/cm_view_front_black.svg")}.ui-icon-front-view:hover{background-image:url("./assets/cm_view_front_maincolor.svg")}.ui-icon-perspective-view{background-image:url("./assets/cm_view_perspective_black.svg")}.ui-icon-perspective-view:hover{background-image:url("./assets/cm_view_perspective_maincolor.svg")}.ui-icon-side-view{background-image:url("./assets/cm_view_side_black.svg")}.ui-icon-side-view:hover{background-image:url("./assets/cm_view_side_maincolor.svg")}.ui-icon-top-view{background-image:url("./assets/cm_view_top_black.svg")}.ui-icon-top-view:hover{background-image:url("./assets/cm_view_top_maincolor.svg")}
|
|
30
30
|
`],encapsulation:3})}}return t})();var LS=(t,n)=>({open:t,"is-touch":n}),VS=t=>({open:t}),BS=t=>({selected:t});function zS(t,n){if(t&1){let e=A();p(0,"li",7),_("click",function(){let o=y(e).$implicit,r=u();return C(r._menuItemClicked(o.mode))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r._menuItemClicked(o.mode))}),E(1,"div",8),p(2,"span"),D(3),N(4,"translate"),f()()}if(t&2){let e=n.$implicit,i=u();g("ngClass",Oe(5,BS,i.selectedMode===e.mode)),d(),g("ngClass",e.class),d(2),ee(F(4,3,e.textId))}}var Fl=(()=>{class t extends le{constructor(e){super(e),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 M}get _selectedItem(){return this._menuItemsList.find(e=>e.mode==this.selectedMode)}ngOnChanges(e){e.localizedStrings&&(this.localizedStrings=e.localizedStrings.currentValue)}_menuItemClicked(e){oe(this,"bimplusTouchModeSelected",e)}_toggleOpened(){this._menuOpened=!this._menuOpened}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-touch-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",k],selectedMode:"selectedMode"},outputs:{bimplusTouchModeSelected:"bimplusTouchModeSelected"},standalone:!0,features:[ne([P]),he,q,$e,S],decls:7,vars:10,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"],[1,"icon",3,"ngClass"]],template:function(i,o){i&1&&(p(0,"div",0),_("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),f(),p(1,"div",1),_("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),p(2,"div",2),E(3,"div",3)(4,"span",4),f(),p(5,"ul",5),x(6,zS,5,7,"li",6),f()()),i&2&&(g("ngClass",o._menuOpened?"open":""),d(),g("ngClass",ft(5,LS,o._menuOpened,o.isTouch)),d(2),g("ngClass",o._selectedItem!=null&&o._selectedItem.class?o._selectedItem==null?null:o._selectedItem.class:""),d(2),g("ngClass",Oe(8,VS,o._menuOpened)),d(),g("ngForOf",o._menuItemsList))},dependencies:[L,ie,we,Q,de],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;width:4em;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--touch-menu-dropdown-open-text-color-enabled);background-color:var(--touch-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:1em;margin-right:.3em;background-size:1.4em 1.4em;padding-top:.31em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--touch-menu-dropdown-toggle-text-color-enabled);min-width:2.8em;min-height:2.81em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .main-icon{padding-top:.1em}.dropdown-toggle .icon{margin:0}.is-touch .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;padding-bottom:.22em;min-width:0;min-height:0;padding-top:0;padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.dropdown-toggle:hover{color:var(--touch-menu-dropdown-toggle-text-color-hovered)}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--touch-menu-dropdown-menu-background-color-enabled);border:thin solid var(--touch-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--touch-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--touch-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--touch-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.2em 2.2em .2em 2em;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--touch-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--touch-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.icon-touch-mode-toolbar{background:url("./assets/bimplus_Components_Touch_Mode.svg") no-repeat center}.icon-desktop-mode-toolbar{background:url("./assets/bimplus_Components_Desktop_Mode.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
|
|
31
31
|
`],encapsulation:3})}}return t})();var HS=(t,n,e)=>({divider:t,languageMenuItem:n,"submenu-hidden":e});function $S(t,n){if(t&1&&D(0),t&2){let e=u();H(" ",e.userName," ")}}function US(t,n){if(t&1){let e=A();p(0,"div",17),_("click",function(){let o=y(e).$implicit,r=u(4);return C(r._switchLanguage(o.symbol))})("keypress",function(){let o=y(e).$implicit,r=u(4);return C(r._switchLanguage(o.symbol))}),D(1),f()}if(t&2){let e=n.$implicit,i=u(4);ve("id",i._getLangId(e)),g("ngClass",e.symbol===i.selectedLanguage?"selected":""),X("key",i._getLangId(e)),d(),H(" ",e.text," ")}}function WS(t,n){if(t&1&&(E(0,"div",11)(1,"div",12),p(2,"span",13),D(3),N(4,"translate"),f(),p(5,"div",14)(6,"div",15),x(7,US,2,4,"div",16),f()()),t&2){let e=u(2).$implicit,i=u();d(),g("ngClass",e.class),d(),g("ngClass",e.textClass?e.textClass:""),d(),H(" ",F(4,5,e.textId)," "),d(2),g("ngClass",i._languagesMenuOpened?"open":""),d(2),g("ngForOf",i._languagesList)}}function GS(t,n){if(t&1&&(E(0,"div",12),p(1,"span",13),D(2),N(3,"translate"),f()),t&2){let e=u(2).$implicit;g("ngClass",e.class),d(),g("ngClass",e.textClass?e.textClass:""),d(),H(" ",F(3,3,e.textId)," ")}}function qS(t,n){if(t&1&&(p(0,"a",10),E(1,"div",12),p(2,"span",13),D(3),N(4,"translate"),f()()),t&2){let e=u(2).$implicit,i=u();ve("href",i._buildUrl(e),Tr),d(),g("ngClass",e.class),d(),g("ngClass",e.textClass?e.textClass:""),d(),H(" ",F(4,4,e.textId)," ")}}function ZS(t,n){if(t&1){let e=A();p(0,"li",9),_("click",function(){y(e);let o=u(),r=o.$implicit,s=o.index,a=u();return C(a._menuItemClicked(r,s))})("keypress",function(){y(e);let o=u(),r=o.$implicit,s=o.index,a=u();return C(a._menuItemClicked(r,s))}),x(1,WS,8,7)(2,GS,4,5)(3,qS,5,6,"a",10),f()}if(t&2){let e=u().$implicit;g("ngClass",gt(4,HS,e.type==="divider",e.action==="submenu",(!e.url||e.url.slice(0,2)==="#/")&&e.action!=="submenu")),X("key",e.id)("role",e.type==="divider"?"separator":""),d(),j(e.action==="submenu"?1:!e.url||e.url.slice(0,2)==="#/"?2:!e.type||e.type!=="divider"?3:-1)}}function YS(t,n){if(t&1&&(pt(0),x(1,ZS,4,8,"li",8),mt()),t&2){let e=n.$implicit;d(),g("ngIf",e)}}var Rl=(()=>{class t extends le{constructor(e){super(e),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.userGuideLinkUrl="https://doc.allplan.com/display/BIMPLUSMANUAL/Bimplus+Benutzerhandbuch",this.supportLinkUrl="https://connect2.allplan.com/services/support",this.forumLinkUrl="https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",this.bimplusUserMenuClicked=new M,this.bimplusLanguageSelected=new M,this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"removeConnectedApps",action:"removeConnectedApps",checkState:"allowRcaItem",class:"icon-rca",textClass:"text-capitalized",textId:"_Remove_connected_apps",type:"",url:"",queryParams:""},{id:"userGuideLink",action:"userGuide",class:"icon-user-guide",textId:"_UserGuide",get url(){return this._url?.()??""},_url:()=>this.userGuideLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"supportLink",action:"support",class:"icon-support",textId:"_Support",get url(){return this._url?.()??""},_url:()=>this.supportLinkUrl,queryParams:"no_cache=1",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",get url(){return this._url?.()??""},_url:()=>this.forumLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"languagesSubmenu",action:"submenu",class:"icon-languages",textId:"_Languages",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"clearCache",action:"clearCache",class:"icon-clear-cache",textId:"_Clear cache",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"dividerLoggedIn",type:"divider",action:"",class:"",textId:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"logout",action:"logout",class:"icon-log-out",textId:"_Logout",type:"",checkState:"",url:"",textClass:"",queryParams:""}]}ngOnChanges(e){e.localizedStrings&&(this.localizedStrings=e.localizedStrings.currentValue)}_menuItemClicked(e,i){!e||e.type==="divider"||(e.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,oe(this,"bimplusUserMenuClicked",{index:i,action:e.action?e.action:""})))}_switchLanguage(e){this._languagesMenuOpened=!1,this._menuOpened=!1,oe(this,"bimplusLanguageSelected",e)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(e){return e?!this[`${e.action?e.action:e.id}Visible`]:!1}_buildUrl(e){let i=e?.url,r=this._languagesList.find(a=>a.symbol===this.selectedLanguage)?.lCode,s=i?.endsWith?.(".ct")&&r;return(e?.queryParams||s)&&(i=i+"?",s&&(i=i+"L="+r,e?.queryParams&&(i=i+"&")),e?.queryParams&&(i=i+e.queryParams)),i}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(i=>{if(!(this._isHidden(i)||i.checkState&&!this[i.checkState]))return i})}_getLangId(e){return"portalLanguage"+e?.symbol.charAt(0).toUpperCase()+e?.symbol.slice(1)}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[2,"accountSettingsVisible","accountSettingsVisible",k],removeConnectedAppsVisible:[2,"removeConnectedAppsVisible","removeConnectedAppsVisible",k],userGuideVisible:[2,"userGuideVisible","userGuideVisible",k],supportVisible:[2,"supportVisible","supportVisible",k],forumVisible:[2,"forumVisible","forumVisible",k],submenuVisible:[2,"submenuVisible","submenuVisible",k],clearCacheVisible:[2,"clearCacheVisible","clearCacheVisible",k],dividerLoggedInVisible:[2,"dividerLoggedInVisible","dividerLoggedInVisible",k],logoutVisible:[2,"logoutVisible","logoutVisible",k],isEmbedded:[2,"isEmbedded","isEmbedded",k],isTouch:[2,"isTouch","isTouch",k],allowRcaItem:[2,"allowRcaItem","allowRcaItem",k],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl",userGuideLinkUrl:"userGuideLinkUrl",supportLinkUrl:"supportLinkUrl",forumLinkUrl:"forumLinkUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},standalone:!0,features:[ne([P]),he,q,$e,S],decls:9,vars:10,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","keypress","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"ngClass","click","keypress",4,"ngIf"],[3,"click","keypress","ngClass"],["rel","noopener","target","_blank",1,"submenu-hidden",3,"href"],[1,"submenu","arrow"],[1,"icon",3,"ngClass"],[1,"menu-item-text",3,"ngClass"],[1,"languagesSubmenu",3,"ngClass"],[1,"languageSubmenuItems"],["class","languageSubmenuItem",3,"id","ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"languageSubmenuItem",3,"click","keypress","id","ngClass"]],template:function(i,o){i&1&&(p(0,"div",0),_("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),f(),p(1,"div",1)(2,"div",2),_("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),E(3,"img",3),p(4,"div",4),x(5,$S,1,1),f(),E(6,"span",5),f(),p(7,"ul",6),x(8,YS,2,1,"ng-container",7),f()()),i&2&&(g("ngClass",o._menuOpened?"open":""),X("key","bimcompOverlay"),d(),g("ngClass",o._menuOpened?"open":""),X("key","userMenu"),d(),g("title",o.buttonTitle?o.buttonTitle:""),d(),ve("src",o.userPhotoUrl?o.userPhotoUrl:"",Tr),ve("alt",o.buttonTitle?o.buttonTitle:""),d(2),j(o.isTouch?-1:5),d(2),g("ngClass",o._menuOpened?"open":""),d(),g("ngForOf",o._getMenuItems()))},dependencies:[L,ie,we,Qe,Q,de],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--user-menu-dropdown-open-text-color-enabled);background-color:var(--user-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-right:.2em;padding-left:.2em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--user-menu-dropdown-toggle-text-color-enabled)}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./assets/bimplus_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:var(--user-menu-dropdown-toggle-text-color-hovered)}.languageMenuItem{position:relative}.languageMenuItem .languagesSubmenu{position:absolute;display:none;transform-origin:left;transform:rotate(180deg) translateY(calc(-50% + 1.605em));border-radius:.29em;border:thin solid var(--user-menu-language-submenu-border-color-enabled);box-shadow:0 1px 2px var(--user-menu-language-submenu-box-shadow-color-enabled);background-color:var(--user-menu-language-submenu-background-color-enabled)}.languageMenuItem .languagesSubmenu .languageSubmenuItems{display:flex;flex-direction:column;transform-origin:center;transform:rotate(180deg);font-size:1em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem{border:none;background-color:var(--user-menu-language-submenu-item-background-color-enabled);padding-left:2em;padding-right:5em;line-height:2.4em;height:2.4em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:first-child,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:last-child{background-color:var(--language-submenu-item-background-color-selected)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:0 0 .29em .29em}.languageMenuItem .languagesSubmenu.open{display:block}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--user-menu-dropdown-menu-background-color-enabled);border:thin solid var(--user-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.2em 0;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;padding-right:2.2em}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li.submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./assets/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li .submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li:hover{background-color:var(--user-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--user-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu a:link,.bimcomp-dropdown-menu a:visited,.bimcomp-dropdown-menu a:hover,.bimcomp-dropdown-menu a:active{color:var(--user-menu-dropdown-menu-link-text-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-link-text-decoration-color-enabled);text-decoration-line:none;width:100%;padding-right:2.2em}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.text-capitalized{text-transform:capitalize}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.icon-account-settings{background:url("./assets/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./assets/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./assets/bimplus_Components_User_Guide.svg") no-repeat center}.icon-support{background:url("./assets/bimplus_Components_Support.svg") no-repeat center}.icon-forum{background:url("./assets/bimplus_Components_Forum.svg") no-repeat center}.icon-clear-cache{background:url("./assets/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./assets/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./assets/bimplus_Components_Logout.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
|
|
32
32
|
`],encapsulation:3})}}return t})();var KS=(t,n)=>({open:t,"is-touch":n});function QS(t,n){if(t&1){let e=A();p(0,"li",7),_("click",function(){let o=y(e).$implicit,r=u();return C(r._switchZoom(o.symbol))})("keypress",function(){let o=y(e).$implicit,r=u();return C(r._switchZoom(o.symbol))}),p(1,"span"),D(2),f()()}if(t&2){let e=n.$implicit,i=u();g("ngClass",i._getZoomClassObject(e.symbol)),d(2),ee(e.text)}}var jl=(()=>{class t{constructor(){this._zoomList=[{symbol:"100",text:"100%"},{symbol:"105",text:"105%"},{symbol:"110",text:"110%"},{symbol:"115",text:"115%"},{symbol:"120",text:"120%"},{symbol:"125",text:"125%"},{symbol:"130",text:"130%"},{symbol:"135",text:"135%"},{symbol:"140",text:"140%"},{symbol:"145",text:"145%"},{symbol:"150",text:"150%"}],this._menuOpened=!1,this.isTouch=!1,this.selectedZoom="125",this.bimplusZoomSelected=new M}_switchZoom(e){oe(this,"bimplusZoomSelected",e)}_toggleOpened(){this._menuOpened=!this._menuOpened}_getZoomClassObject(e){return{selected:this.selectedZoom===e,["bimzoom-"+e]:!0}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[2,"isTouch","isTouch",k],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},standalone:!0,features:[he,S],decls:7,vars:7,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-zoom"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(i,o){i&1&&(p(0,"div",0),_("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),f(),p(1,"div",1),_("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),p(2,"div",2),E(3,"div",3)(4,"span",4),f(),p(5,"ul",5),x(6,QS,3,2,"li",6),f()()),i&2&&(g("ngClass",o._menuOpened?"open":""),d(),g("ngClass",ft(4,KS,o._menuOpened,o.isTouch)),d(4),g("ngClass",o._menuOpened?"open":""),d(),g("ngForOf",o._zoomList))},dependencies:[L,ie,we],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--zoom-dropdown-open-text-color-enabled);background-color:var(--zoom-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--zoom-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:6.5em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--zoom-dropdown-menu-background-color-enabled);border:thin solid var(--zoom-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--zoom-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.21em 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--zoom-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-zoom{background-image:url("./assets/bimplus_Components_Zoom.svg")}
|
|
33
|
-
`],encapsulation:3})}}return t})();var vp;try{vp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{vp=!1}var Ft=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?ab(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||vp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||t)(B(fn))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var is;function XS(){if(is==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>is=!0}))}finally{is=is||!1}return is}function Wo(t){return XS()?t:!!t.capture}var bp;function JS(){if(bp==null){let t=typeof document<"u"?document.head:null;bp=!!(t&&(t.createShadowRoot||t.attachShadow))}return bp}function Uv(t){if(JS()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Nn(t){return t.composedPath?t.composedPath()[0]:t.target}function Wv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Li(t){return ht(t)?t:ye(t)}function _p(t){return Array.isArray(t)?t:[t]}function Vi(t){return t instanceof G?t.nativeElement:t}var Gv=new Set,Bi,eT=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):nT}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&tT(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||t)(B(Ft),B(Ir,8))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function tT(t,n){if(!Gv.has(t))try{Bi||(Bi=document.createElement("style"),n&&Bi.setAttribute("nonce",n),Bi.setAttribute("type","text/css"),document.head.appendChild(Bi)),Bi.sheet&&(Bi.sheet.insertRule(`@media ${t} {body{ }}`,0),Gv.add(t))}catch(e){console.error(e)}}function nT(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Zv=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new be}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return qv(_p(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=qv(_p(e)).map(s=>this._registerQuery(s).observable),r=gi(o);return r=jt(r.pipe(st(1)),r.pipe(sr(1),hi(0))),r.pipe(ue(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),r={observable:new ge(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Bn(i),ue(({matches:s})=>({query:e,matches:s})),ot(this._destroySubject)),mql:i};return this._queries.set(e,r),r}static{this.\u0275fac=function(i){return new(i||t)(B(eT),B(Me))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function qv(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var iT=200,Cp=class{constructor(n,e){this._letterKeyStream=new be,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new be,this.selectedItem=this._selectedItem;let i=typeof e?.debounceInterval=="number"?e.debounceInterval:iT;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Zt(e=>this._pressedLetters.push(e)),hi(n),rn(()=>this._pressedLetters.length>0),ue(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let o=(this._selectedItemIndex+i)%this._items.length,r=this._items[o];if(!this._skipPredicateFn?.(r)&&r.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(r);break}}this._pressedLetters=[]})}};var wp=class{_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let i=0;i<this._items.length;i++)if(!this._skipPredicateFn(this._items[i])&&!this._isItemDisabled(this._items[i])){n=i;break}let e=this._items[n];e.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=e,this._typeahead?.setCurrentSelectedItemIndex(n),e.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,e){this._activeItemIndex=-1,this._activeItem=null,this._shouldActivationFollowFocus=!1,this._horizontalOrientation="ltr",this._skipPredicateFn=i=>!1,this._trackByFn=i=>i,this._items=[],this._typeaheadSubscription=Ze.EMPTY,this._hasInitialFocused=!1,this.change=new be,n instanceof br?(this._items=n.toArray(),n.changes.subscribe(i=>{this._items=i.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):ht(n)?n.subscribe(i=>{this._items=i,this._typeahead?.setItems(i),this._updateActiveItemIndex(i),this._initializeFocus()}):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let i=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(i<0||i>=this._items.length)return;let o=this._items[i];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let r=this._activeItem;this._activeItem=o??null,this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i),this._activeItem?.focus(),r?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let i=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(e));i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}_setTypeAhead(n){this._typeahead=new Cp(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e<this._items.length;e++)if(!this._skipPredicateFn(this._items[e]))return e;return n}_findPreviousAvailableItemIndex(n){for(let e=n-1;e>=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?Li(this._activeItem.getChildren()).pipe(st(1)).subscribe(n=>{let e=n.find(i=>!this._skipPredicateFn(i));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=Li(n.getChildren()):e=ye(this._items.filter(i=>i.getParent()===null)),e.pipe(st(1)).subscribe(i=>{for(let o of i)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};function oT(){return(t,n)=>new wp(t,n)}var Qv=new W("tree-key-manager",{providedIn:"root",factory:oT});function xp(t){return t.buttons===0||t.detail===0}function Mp(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var rT=new W("cdk-input-modality-detector-options"),sT={ignoreKeys:[18,17,224,91,16]},Xv=650,Go=Wo({passive:!0,capture:!0}),aT=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new Te(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Nn(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<Xv||(this._modality.next(xp(s)?"keyboard":"mouse"),this._mostRecentTarget=Nn(s))},this._onTouchstart=s=>{if(Mp(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Nn(s)},this._options=re(re({},sT),r),this.modalityDetected=this._modality.pipe(sr(1)),this.modalityChanged=this.modalityDetected.pipe(rr()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Go),o.addEventListener("mousedown",this._onMousedown,Go),o.addEventListener("touchstart",this._onTouchstart,Go)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Go),document.removeEventListener("mousedown",this._onMousedown,Go),document.removeEventListener("touchstart",this._onTouchstart,Go))}static{this.\u0275fac=function(i){return new(i||t)(B(Ft),B(Me),B(et),B(rT,8))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bl=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Bl||{}),lT=new W("cdk-focus-monitor-default-options"),Vl=Wo({passive:!0,capture:!0}),Jv=(()=>{class t{constructor(e,i,o,r,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new be,this._rootNodeFocusAndBlurListener=a=>{let l=Nn(a);for(let c=l;c;c=c.parentElement)a.type==="focus"?this._onFocus(a,c):this._onBlur(a,c)},this._document=r,this._detectionMode=s?.detectionMode||Bl.IMMEDIATE}monitor(e,i=!1){let o=Vi(e);if(!this._platform.isBrowser||o.nodeType!==1)return ye();let r=Uv(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new be,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=Vi(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let r=Vi(e),s=this._getDocument().activeElement;r===s?this._getClosestElementsInfo(r).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Bl.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Bl.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Xv:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),r=Nn(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Vl),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vl)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ot(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Vl),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vl),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let s=0;s<r.length;s++)if(r[s].contains(i))return!0}return!1}static{this.\u0275fac=function(i){return new(i||t)(B(Me),B(Ft),B(aT),B(et,8),B(lT,8))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var zi=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(zi||{}),Yv="cdk-high-contrast-black-on-white",Kv="cdk-high-contrast-white-on-black",yp="cdk-high-contrast-active",e_=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=U(Zv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return zi.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return zi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return zi.BLACK_ON_WHITE}return zi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(yp,Yv,Kv),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===zi.BLACK_ON_WHITE?e.add(yp,Yv):i===zi.WHITE_ON_BLACK&&e.add(yp,Kv)}}static{this.\u0275fac=function(i){return new(i||t)(B(Ft),B(et))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var dT=new W("cdk-dir-doc",{providedIn:"root",factory:uT});function uT(){return U(et)}var pT=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function mT(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?pT.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var zl=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new M,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=mT(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||t)(B(dT,8))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var kp=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({})}}return t})();function gT(){return!0}var hT=new W("mat-sanity-checks",{providedIn:"root",factory:gT}),nn=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Wv()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(i){return new(i||t)(B(e_),B(hT,8),B(et))}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[kp,kp]})}}return t})();var Wt=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Wt||{}),Ip=class{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=Wt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},t_=Wo({passive:!0,capture:!0}),Sp=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=Nn(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,e,i,o){let r=this._events.get(e);if(r){let s=r.get(i);s?s.add(o):r.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,t_)})}removeHandler(n,e,i){let o=this._events.get(n);if(!o)return;let r=o.get(e);r&&(r.delete(i),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,t_)))}},n_={enterDuration:225,exitDuration:150},bT=800,i_=Wo({passive:!0,capture:!0}),o_=["mousedown","touchstart"],r_=["mouseup","mouseleave","touchend","touchcancel"],Tp=class t{static{this._eventManager=new Sp}constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Vi(i))}fadeInRipple(n,e,i={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=re(re({},n_),i.animation);i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let s=i.radius||vT(n,e,o),a=n-o.left,l=e-o.top,c=r.enterDuration,m=document.createElement("div");m.classList.add("mat-ripple-element"),m.style.left=`${a-s}px`,m.style.top=`${l-s}px`,m.style.height=`${s*2}px`,m.style.width=`${s*2}px`,i.color!=null&&(m.style.backgroundColor=i.color),m.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(m);let h=window.getComputedStyle(m),w=h.transitionProperty,b=h.transitionDuration,T=w==="none"||b==="0s"||b==="0s, 0s"||o.width===0&&o.height===0,O=new Ip(this,m,i,T);m.style.transform="scale3d(1, 1, 1)",O.state=Wt.FADING_IN,i.persistent||(this._mostRecentTransientRipple=O);let R=null;return!T&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let V=()=>{R&&(R.fallbackTimer=null),clearTimeout(fe),this._finishRippleTransition(O)},Z=()=>this._destroyRipple(O),fe=setTimeout(Z,c+100);m.addEventListener("transitionend",V),m.addEventListener("transitioncancel",Z),R={onTransitionEnd:V,onTransitionCancel:Z,fallbackTimer:fe}}),this._activeRipples.set(O,R),(T||!c)&&this._finishRippleTransition(O),O}fadeOutRipple(n){if(n.state===Wt.FADING_OUT||n.state===Wt.HIDDEN)return;let e=n.element,i=re(re({},n_),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=Wt.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Vi(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,o_.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{r_.forEach(e=>{this._triggerElement.addEventListener(e,this,i_)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Wt.FADING_IN?this._startFadeOutTransition(n):n.state===Wt.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Wt.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Wt.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=xp(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+bT;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Mp(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===Wt.VISIBLE||n.config.terminateOnPointerUp&&n.state===Wt.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(o_.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(r_.forEach(e=>n.removeEventListener(e,this,i_)),this._pointerUpEventsRegistered=!1))}};function vT(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}var c_=new W("mat-ripple-global-options"),_T=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,r,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Tp(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:re(re(re({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,re(re({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,re(re({},this.rippleConfig),e))}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(Me),v(Ft),v(c_,8),v(Er,8))}}static{this.\u0275dir=K({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&Y("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return t})(),d_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[nn,nn]})}}return t})();var s_={capture:!0},a_=["focus","mousedown","mouseenter","touchstart"],Dp="mat-ripple-loader-uninitialized",Ep="mat-ripple-loader-class-name",l_="mat-ripple-loader-centered",Hl="mat-ripple-loader-disabled",u_=(()=>{class t{constructor(){this._document=U(et,{optional:!0}),this._animationMode=U(Er,{optional:!0}),this._globalRippleOptions=U(c_,{optional:!0}),this._platform=U(Ft),this._ngZone=U(Me),this._hosts=new Map,this._onInteraction=e=>{let i=Nn(e);if(i instanceof HTMLElement){let o=i.closest(`[${Dp}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}},this._ngZone.runOutsideAngular(()=>{for(let e of a_)this._document?.addEventListener(e,this._onInteraction,s_)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of a_)this._document?.removeEventListener(i,this._onInteraction,s_)}configureRipple(e,i){e.setAttribute(Dp,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Ep))&&e.setAttribute(Ep,i.className||""),i.centered&&e.setAttribute(l_,""),i.disabled&&e.setAttribute(Hl,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let o=this._hosts.get(e);if(o){o.disabled=i;return}i?e.setAttribute(Hl,""):e.removeAttribute(Hl)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(Ep)),e.append(o);let r=new _T(new G(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=e,r.centered=e.hasAttribute(l_),r.disabled=e.hasAttribute(Hl),this.attachRipple(e,r),r}attachRipple(e,i){e.removeAttribute(Dp),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var p_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[nn,nn]})}}return t})();var yT=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var CT=["mat-icon-button",""],wT=["*"];var xT=new W("MAT_BUTTON_CONFIG");var MT=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],kT=(()=>{class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,o,r){this._elementRef=e,this._platform=i,this._ngZone=o,this._animationMode=r,this._focusMonitor=U(Jv),this._rippleLoader=U(u_),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=U(xT,{optional:!0}),a=e.nativeElement,l=a.classList;this.disabledInteractive=s?.disabledInteractive??!1,this.color=s?.color??null,this._rippleLoader?.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:c,mdcClasses:m}of MT)a.hasAttribute(c)&&l.add(...m)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(i){lh()}}static{this.\u0275dir=K({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",k],disabled:[2,"disabled","disabled",k],ariaDisabled:[2,"aria-disabled","ariaDisabled",k],disabledInteractive:[2,"disabledInteractive","disabledInteractive",k]},features:[he]})}}return t})();var m_=(()=>{class t extends kT{constructor(e,i,o,r){super(e,i,o,r),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(Ft),v(Me),v(Er,8))}}static{this.\u0275cmp=I({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(X("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Nr(o.color?"mat-"+o.color:""),Y("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[q,S],attrs:CT,ngContentSelectors:wT,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(je(),E(0,"span",0),Ee(1),E(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',yT],encapsulation:2,changeDetection:0})}}return t})();var f_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[nn,d_,nn]})}}return t})();var $l=class{};function g_(t){return t&&typeof t.connect=="function"&&!(t instanceof Jo)}var li=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,o){this._multiple=n,this._emitChanges=i,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new be,e&&e.length&&(n?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n);n.forEach(r=>this._markSelected(r)),e.filter(r=>!i.has(this._getConcreteValue(r,i))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};var Op=class{constructor(){this.expansionModel=new li(!0)}toggle(n){this.expansionModel.toggle(this._trackByValue(n))}expand(n){this.expansionModel.select(this._trackByValue(n))}collapse(n){this.expansionModel.deselect(this._trackByValue(n))}isExpanded(n){return this.expansionModel.isSelected(this._trackByValue(n))}toggleDescendants(n){this.expansionModel.isSelected(this._trackByValue(n))?this.collapseDescendants(n):this.expandDescendants(n)}collapseAll(){this.expansionModel.clear()}expandDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.select(...e.map(i=>this._trackByValue(i)))}collapseDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.deselect(...e.map(i=>this._trackByValue(i)))}_trackByValue(n){return this.trackBy?this.trackBy(n):n}},Ul=class extends Op{constructor(n,e,i){super(),this.getLevel=n,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(n){let e=this.dataNodes.indexOf(n),i=[];for(let o=e+1;o<this.dataNodes.length&&this.getLevel(n)<this.getLevel(this.dataNodes[o]);o++)i.push(this.dataNodes[o]);return i}expandAll(){this.expansionModel.select(...this.dataNodes.map(n=>this._trackByValue(n)))}};var b_=new W("CDK_TREE_NODE_OUTLET_NODE"),Pp=(()=>{class t{constructor(e,i){this.viewContainer=e,this._node=i}static{this.\u0275fac=function(i){return new(i||t)(v(gn),v(b_,8))}}static{this.\u0275dir=K({type:t,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return t})(),Ap=class{constructor(n){this.$implicit=n}},Wl=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return t})();function h_(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}var qo=(()=>{class t{get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}constructor(e,i){this._differs=e,this._changeDetectorRef=i,this._dir=U(zl),this._onDestroy=new be,this._levels=new Map,this._parents=new Map,this._ariaSets=new Map,this.viewChange=new Te({start:0,end:Number.MAX_VALUE}),this._flattenedNodes=new Te([]),this._nodeType=new Te(null),this._nodes=new Te(new Map),this._keyManagerNodes=new Te([]),this._keyManagerFactory=U(Qv),this._viewInit=!1}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){let e=this._nodeDefs.filter(i=>!i.when);e.length>1,this._defaultNodeDef=e[0]}_setNodeTypeIfUnset(e){this._nodeType.value===null&&this._nodeType.next(e)}_switchDataSource(e){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new li(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let e;g_(this._dataSource)?e=this._dataSource.connect(this):ht(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=ye(this._dataSource)),e&&(this._dataSubscription=this._getRenderData(e).pipe(ot(this._onDestroy)).subscribe(i=>{this._renderDataChanges(i)}))}_getRenderData(e){let i=this._getExpansionModel();return gi([e,this._nodeType,i.changed.pipe(Bn(null),Zt(o=>{this._emitExpansionChanges(o)}))]).pipe(St(([o,r])=>r===null?ye({renderNodes:o,flattenedNodes:null,nodeType:r}):this._computeRenderingData(o,r).pipe(ue(s=>qe(re({},s),{nodeType:r})))))}_renderDataChanges(e){if(e.nodeType===null){this.renderNodeChanges(e.renderNodes);return}this._updateCachedData(e.flattenedNodes),this.renderNodeChanges(e.renderNodes),this._updateKeyManagerItems(e.flattenedNodes)}_emitExpansionChanges(e){if(!e)return;let i=this._nodes.value;for(let o of e.added)i.get(o)?._emitExpansionState(!0);for(let o of e.removed)i.get(o)?._emitExpansionState(!1)}_initializeKeyManager(){let e=gi([this._keyManagerNodes,this._nodes]).pipe(ue(([o,r])=>o.reduce((s,a)=>{let l=r.get(this._getExpansionKey(a));return l&&s.push(l),s},[]))),i={trackBy:o=>this._getExpansionKey(o.data),skipPredicate:o=>!!o.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value};this._keyManager=this._keyManagerFactory(e,i)}_initializeDataDiffer(){let e=this.trackBy??((i,o)=>this._getExpansionKey(o));this._dataDiffer=this._differs.find([]).create(e)}_checkTreeControlUsage(){}renderNodeChanges(e,i=this._dataDiffer,o=this._nodeOutlet.viewContainer,r){let s=i.diff(e);!s&&!this._viewInit||(s?.forEachOperation((a,l,c)=>{if(a.previousIndex==null)this.insertNode(e[c],c,o,r);else if(c==null)o.remove(l);else{let m=o.get(l);o.move(m,c)}}),s?.forEachIdentityChange(a=>{let l=a.item;if(a.currentIndex!=null){let c=o.get(a.currentIndex);c.context.$implicit=l}}),r?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(e,i){if(this._nodeDefs.length===1)return this._nodeDefs.first;let o=this._nodeDefs.find(r=>r.when&&r.when(i,e))||this._defaultNodeDef;return o}insertNode(e,i,o,r){let s=this._getLevelAccessor(),a=this._getNodeDef(e,i),l=this._getExpansionKey(e),c=new Ap(e);r??=this._parents.get(l)??void 0,s?c.level=s(e):r!==void 0&&this._levels.has(this._getExpansionKey(r))?c.level=this._levels.get(this._getExpansionKey(r))+1:c.level=0,this._levels.set(l,c.level),(o||this._nodeOutlet.viewContainer).createEmbeddedView(a.template,c,i),Hi.mostRecentTreeNode&&(Hi.mostRecentTreeNode.data=e)}isExpanded(e){return!!(this.treeControl?.isExpanded(e)||this._expansionModel?.isSelected(this._getExpansionKey(e)))}toggle(e){this.treeControl?this.treeControl.toggle(e):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(e))}expand(e){this.treeControl?this.treeControl.expand(e):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(e))}collapse(e){this.treeControl?this.treeControl.collapse(e):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(e))}toggleDescendants(e){this.treeControl?this.treeControl.toggleDescendants(e):this._expansionModel&&(this.isExpanded(e)?this.collapseDescendants(e):this.expandDescendants(e))}expandDescendants(e){if(this.treeControl)this.treeControl.expandDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.select(this._getExpansionKey(e)),this._getDescendants(e).pipe(st(1),ot(this._onDestroy)).subscribe(o=>{i.select(...o.map(r=>this._getExpansionKey(r)))})}}collapseDescendants(e){if(this.treeControl)this.treeControl.collapseDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.deselect(this._getExpansionKey(e)),this._getDescendants(e).pipe(st(1),ot(this._onDestroy)).subscribe(o=>{i.deselect(...o.map(r=>this._getExpansionKey(r)))})}}expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._expansionModel.select(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._expansionModel.deselect(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(e){let i=this._getLevelAccessor(),o=this._expansionModel??this.treeControl?.expansionModel;if(!o)return ye([]);let r=this._getExpansionKey(e),s=o.changed.pipe(St(l=>l.added.includes(r)?ye(!0):l.removed.includes(r)?ye(!1):mi),Bn(this.isExpanded(e)));if(i)return gi([s,this._flattenedNodes]).pipe(ue(([l,c])=>l?this._findChildrenByLevel(i,c,e,1):[]));let a=this._getChildrenAccessor();if(a)return Li(a(e)??[]);throw h_()}_findChildrenByLevel(e,i,o,r){let s=this._getExpansionKey(o),a=i.findIndex(h=>this._getExpansionKey(h)===s),l=e(o),c=l+r,m=[];for(let h=a+1;h<i.length;h++){let w=e(i[h]);if(w<=l)break;w<=c&&m.push(i[h])}return m}_registerNode(e){this._nodes.value.set(this._getExpansionKey(e.data),e),this._nodes.next(this._nodes.value)}_unregisterNode(e){this._nodes.value.delete(this._getExpansionKey(e.data)),this._nodes.next(this._nodes.value)}_getLevel(e){return this._levels.get(this._getExpansionKey(e))}_getSetSize(e){return this._getAriaSet(e).length}_getPositionInSet(e){let i=this._getAriaSet(e),o=this._getExpansionKey(e);return i.findIndex(r=>this._getExpansionKey(r)===o)+1}_getNodeParent(e){let i=this._parents.get(this._getExpansionKey(e.data));return i&&this._nodes.value.get(this._getExpansionKey(i))}_getNodeChildren(e){return this._getDirectChildren(e.data).pipe(ue(i=>i.reduce((o,r)=>{let s=this._nodes.value.get(this._getExpansionKey(r));return s&&o.push(s),o},[])))}_sendKeydownToKeyManager(e){this._keyManager.onKeydown(e)}_getDescendants(e){if(this.treeControl)return ye(this.treeControl.getDescendants(e));if(this.levelAccessor){let i=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,e,1/0);return ye(i)}if(this.childrenAccessor)return this._getAllChildrenRecursively(e).pipe(Vs((i,o)=>(i.push(...o),i),[]));throw h_()}_getAllChildrenRecursively(e){return this.childrenAccessor?Li(this.childrenAccessor(e)).pipe(st(1),St(i=>{for(let o of i)this._parents.set(this._getExpansionKey(o),e);return ye(...i).pipe(It(o=>jt(ye([o]),this._getAllChildrenRecursively(o))))})):ye([])}_getExpansionKey(e){return this.expansionKey?.(e)??e}_getAriaSet(e){let i=this._getExpansionKey(e),o=this._parents.get(i),r=o?this._getExpansionKey(o):null;return this._ariaSets.get(r)??[e]}_findParentForNode(e,i,o){if(!o.length)return null;let r=this._levels.get(this._getExpansionKey(e))??0;for(let s=i-1;s>=0;s--){let a=o[s];if((this._levels.get(this._getExpansionKey(a))??0)<r)return a}return null}_flattenNestedNodesWithExpansion(e,i=0){let o=this._getChildrenAccessor();return o?ye(...e).pipe(It(r=>{let s=this._getExpansionKey(r);this._parents.has(s)||this._parents.set(s,null),this._levels.set(s,i);let a=Li(o(r));return jt(ye([r]),a.pipe(st(1),Zt(l=>{this._ariaSets.set(s,[...l??[]]);for(let c of l??[]){let m=this._getExpansionKey(c);this._parents.set(m,r),this._levels.set(m,i+1)}}),St(l=>l?this._flattenNestedNodesWithExpansion(l,i+1).pipe(ue(c=>this.isExpanded(r)?c:[])):ye([]))))}),Vs((r,s)=>(r.push(...s),r),[])):ye([...e])}_computeRenderingData(e,i){if(this.childrenAccessor&&i==="flat")return this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(ue(o=>({renderNodes:o,flattenedNodes:o})));if(this.levelAccessor&&i==="nested"){let o=this.levelAccessor;return ye(e.filter(r=>o(r)===0)).pipe(ue(r=>({renderNodes:r,flattenedNodes:e})),Zt(({flattenedNodes:r})=>{this._calculateParents(r)}))}else return i==="flat"?ye({renderNodes:e,flattenedNodes:e}).pipe(Zt(({flattenedNodes:o})=>{this._calculateParents(o)})):(this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(ue(o=>({renderNodes:e,flattenedNodes:o}))))}_updateCachedData(e){this._flattenedNodes.next(e)}_updateKeyManagerItems(e){this._keyManagerNodes.next(e)}_calculateParents(e){let i=this._getLevelAccessor();if(i){this._parents.clear(),this._ariaSets.clear();for(let o=0;o<e.length;o++){let r=e[o],s=this._getExpansionKey(r);this._levels.set(s,i(r));let a=this._findParentForNode(r,o,e);this._parents.set(s,a);let l=a?this._getExpansionKey(a):null,c=this._ariaSets.get(l)??[];c.splice(o,0,r),this._ariaSets.set(l,c)}}}static{this.\u0275fac=function(i){return new(i||t)(v(wo),v(We))}}static{this.\u0275cmp=I({type:t,selectors:[["cdk-tree"]],contentQueries:function(i,o,r){if(i&1&&_t(r,Wl,5),i&2){let s;Ie(s=Se())&&(o._nodeDefs=s)}},viewQuery:function(i,o){if(i&1&&tt(Pp,7),i&2){let r;Ie(r=Se())&&(o._nodeOutlet=r.first)}},hostAttrs:["role","tree",1,"cdk-tree"],hostBindings:function(i,o){i&1&&_("keydown",function(s){return o._sendKeydownToKeyManager(s)})},inputs:{dataSource:"dataSource",treeControl:"treeControl",levelAccessor:"levelAccessor",childrenAccessor:"childrenAccessor",trackBy:"trackBy",expansionKey:"expansionKey"},exportAs:["cdkTree"],standalone:!0,features:[S],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(i,o){i&1&&at(0,0)},dependencies:[Pp],encapsulation:2})}}return t})(),Hi=(()=>{class t{get role(){return"treeitem"}set role(e){}get isExpandable(){return this._isExpandable()}set isExpandable(e){this._inputIsExpandable=e,!(this.data&&!this._isExpandable||!this._inputIsExpandable)&&(this._inputIsExpanded?this.expand():this._inputIsExpanded===!1&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(e){this._inputIsExpanded=e,e?this.expand():this.collapse()}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,this._dataChanges.next())}get isLeafNode(){return this._tree.treeControl?.isExpandable!==void 0&&!this._tree.treeControl.isExpandable(this._data)?!0:this._tree.treeControl?.isExpandable===void 0&&this._tree.treeControl?.getDescendants(this._data).length===0}get level(){return this._tree._getLevel(this._data)??this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}constructor(e,i){this._elementRef=e,this._tree=i,this._tabindex=-1,this.activation=new M,this.expandedChange=new M,this._destroyed=new be,this._dataChanges=new be,this._inputIsExpandable=!1,this._inputIsExpanded=void 0,this._shouldFocus=!0,this._changeDetectorRef=U(We),t.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=ET(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe(ue(()=>this.isExpanded),rr()).subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._tree._setNodeTypeIfUnset("flat"),this._tree._registerNode(this)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(e){this.expandedChange.emit(e)}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(qo))}}static{this.\u0275dir=K({type:t,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(i,o){i&1&&_("click",function(){return o._setActiveItem()})("focus",function(){return o._focusItem()}),i&2&&(Rr("tabindex",o._tabindex),X("aria-expanded",o._getAriaExpanded())("aria-level",o.level+1)("aria-posinset",o._getPositionInSet())("aria-setsize",o._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",k],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",k],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"],standalone:!0,features:[he]})}}return t})();function ET(t){let n=t.parentElement;for(;n&&!IT(n);)n=n.parentElement;return n?n.classList.contains("cdk-nested-tree-node")?Nt(n.getAttribute("aria-level")):0:-1}function IT(t){let n=t.classList;return!!(n?.contains("cdk-nested-tree-node")||n?.contains("cdk-tree"))}var ST=/([A-Za-z%]+)$/,Np=(()=>{class t{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}constructor(e,i,o,r){this._treeNode=e,this._tree=i,this._element=o,this._dir=r,this._destroyed=new be,this.indentUnits="px",this._indent=40,this._setPadding(),r&&r.change.pipe(ot(this._destroyed)).subscribe(()=>this._setPadding(!0)),e._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){let e=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,i=this._level==null?e:this._level;return typeof i=="number"?`${i*this._indent}${this.indentUnits}`:null}_setPadding(e=!1){let i=this._paddingIndent();if(i!==this._currentPadding||e){let o=this._element.nativeElement,r=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",s=r==="paddingLeft"?"paddingRight":"paddingLeft";o.style[r]=i||"",o.style[s]="",this._currentPadding=i}}_setLevelInput(e){this._level=isNaN(e)?null:e,this._setPadding()}_setIndentInput(e){let i=e,o="px";if(typeof e=="string"){let r=e.split(ST);i=r[0],o=r[1]||o}this.indentUnits=o,this._indent=Nt(i),this._setPadding()}static{this.\u0275fac=function(i){return new(i||t)(v(Hi),v(qo),v(G),v(zl,8))}}static{this.\u0275dir=K({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",Nt],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[he]})}}return t})(),Fp=(()=>{class t{constructor(e,i){this._tree=e,this._treeNode=i,this.recursive=!1}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static{this.\u0275fac=function(i){return new(i||t)(v(qo),v(Hi))}}static{this.\u0275dir=K({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(i,o){i&1&&_("click",function(s){return o._toggle(),s.stopPropagation()})("keydown.Enter",function(s){return o._toggle(),s.preventDefault()})("keydown.Space",function(s){return o._toggle(),s.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",k]},standalone:!0,features:[he]})}}return t})();var Gl=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({})}}return t})();var v_=(()=>{class t extends Wl{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})()}static{this.\u0275dir=K({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[ne([{provide:Wl,useExisting:t}]),q]})}}return t})();var __=(()=>{class t extends Np{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})()}static{this.\u0275dir=K({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:[2,"matTreeNodePadding","level",Nt],indent:[0,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[ne([{provide:Np,useExisting:t}]),he,q]})}}return t})();var y_=(()=>{class t extends Fp{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})()}static{this.\u0275dir=K({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[ne([{provide:Fp,useExisting:t}]),q]})}}return t})();var C_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[Gl,nn,nn]})}}return t})(),ql=class{constructor(n,e,i,o){this.transformFunction=n,this.getLevel=e,this.isExpandable=i,this.getChildren=o}_flattenNode(n,e,i,o){let r=this.transformFunction(n,e);if(i.push(r),this.isExpandable(r)){let s=this.getChildren(n);s&&(Array.isArray(s)?this._flattenChildren(s,e,i,o):s.pipe(st(1)).subscribe(a=>{this._flattenChildren(a,e,i,o)}))}return i}_flattenChildren(n,e,i,o){n.forEach((r,s)=>{let a=o.slice();a.push(s!=n.length-1),this._flattenNode(r,e+1,i,a)})}flattenNodes(n){let e=[];return n.forEach(i=>this._flattenNode(i,0,e,[])),e}expandFlattenedNodes(n,e){let i=[],o=[];return o[0]=!0,n.forEach(r=>{let s=!0;for(let a=0;a<=this.getLevel(r);a++)s=s&&o[a];s&&i.push(r),this.isExpandable(r)&&(o[this.getLevel(r)+1]=e.isExpanded(r))}),i}},Zl=class extends $l{get data(){return this._data.value}set data(n){this._data.next(n),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(n,e,i){super(),this._treeControl=n,this._treeFlattener=e,this._flattenedData=new Te([]),this._expandedData=new Te([]),this._data=new Te([]),i&&(this.data=i)}connect(n){return xn(n.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(ue(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}};var Yl=(()=>{class t{constructor(e){this.elementRef=e,this.clickOutside=new M}onClick(e){this.elementRef.nativeElement.contains(e)||this.clickOutside.emit()}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275dir=K({type:t,selectors:[["","libClickOutside",""]],hostBindings:function(i,o){i&1&&_("click",function(s){return o.onClick(s.target)},!1,Pt)},outputs:{clickOutside:"clickOutside"},standalone:!0})}}return t})();var PT=(t,n)=>({"top.px":t,"left.px":n});function AT(t,n){if(t&1&&E(0,"div",10),t&2){let e=u(2).$implicit;Ue("background-image","url("+e.icon+")")}}function NT(t,n){if(t&1){let e=A();p(0,"li",7),_("click",function(){y(e);let o=u().$implicit,r=u(2);return C(r._actionClick(o))})("keypress",function(){y(e);let o=u().$implicit,r=u(2);return C(r._actionClick(o))}),x(1,AT,1,2,"div",8),p(2,"div",9),D(3),f()()}if(t&2){let e=u().$implicit,i=u(2);Y("basic-context-menu__item--disabled",i._disabled(e)),d(),g("ngIf",i.showIcons),d(),ve("title",e.tooltip?e.tooltip:e.title),d(),H(" ",e.title," ")}}function FT(t,n){t&1&&E(0,"div",11)}function RT(t,n){if(t&1&&(pt(0),x(1,NT,4,5,"li",5)(2,FT,1,0,"div",6),mt()),t&2){let e=n.$implicit;d(),g("ngIf",e.id!=="separator"),d(),g("ngIf",e.id==="separator")}}function jT(t,n){if(t&1&&(p(0,"ul",3),x(1,RT,3,2,"ng-container",4),f()),t&2){let e=u();g("ngStyle",ft(2,PT,e._position.posY,e._position.posX)),d(),g("ngForOf",e._items)}}var ci=(()=>{class t{get items(){return this._items}set items(e){e&&(this._items=e)}constructor(e){this.el=e,this.triggerSelected=new M,this.showIcons=!0,this.triggerTitle="",this._showDropdown=!1,this._items=new Array,this._data=void 0,this._position={posX:-2e3,posY:-2e3},this._element=this.el.nativeElement.shadowRoot}get data(){return this._data}set data(e){this._data=e}_clickOutside(){this._stopTriggerPositionTracking(),this._showDropdown=!1}_actionClick(e){if(this._showDropdown=!1,typeof e.disabled=="function"){if(e.disabled?.(this._data))return;e.action?.(this._data);return}e.disabled||e.action?.(this._data)}_disabled(e){return e.disabled?typeof e.disabled=="function"?e.disabled?.(this._data):e.disabled:!1}_calculateContextMenuPosition(){let e=this._element.querySelector(".context-menu-trigger");if(!e)return;let i=e.getBoundingClientRect();this._position.posX=i.right,this._position.posY=i.top}_stopTriggerPositionTracking(){this._interval&&(clearInterval(this._interval),this._interval=void 0)}_startTriggerPositionTracking(){this._interval||(this._interval=setInterval(()=>{this._calculateContextMenuPosition()},50))}_toggleDropdown(e){this._showDropdown=!this._showDropdown,this._calculateContextMenuPosition(),this._startTriggerPositionTracking(),oe(this,"triggerSelected"),e.stopPropagation()}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-context-menu"]],inputs:{showIcons:[2,"showIcons","showIcons",k],triggerTitle:"triggerTitle",items:"items",data:"data"},outputs:{triggerSelected:"triggerSelected"},standalone:!0,features:[he,S],decls:3,vars:2,consts:[["libClickOutside","",1,"basic-context-menu",3,"clickOutside"],[1,"context-menu-trigger",3,"click","keypress","title"],["class","basic-context-menu__list",3,"ngStyle",4,"ngIf"],[1,"basic-context-menu__list",3,"ngStyle"],[4,"ngFor","ngForOf"],["class","basic-context-menu__item",3,"basic-context-menu__item--disabled","click","keypress",4,"ngIf"],["class","basic-context-menu__item__separator",4,"ngIf"],[1,"basic-context-menu__item",3,"click","keypress"],["class","basic-context-menu__item__icon",3,"background-image",4,"ngIf"],[1,"basic-context-menu__item__label",3,"title"],[1,"basic-context-menu__item__icon"],[1,"basic-context-menu__item__separator"]],template:function(i,o){i&1&&(p(0,"div",0),_("clickOutside",function(){return o._clickOutside()}),p(1,"div",1),_("click",function(s){return o._toggleDropdown(s)})("keypress",function(s){return o._toggleDropdown(s)}),f(),x(2,jT,2,5,"ul",2),f()),i&2&&(d(),ve("title",o.triggerTitle),d(),g("ngIf",o._showDropdown))},dependencies:[we,Qe,ko,Yl],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.no-transition{-moz-transition:none;-webkit-transition:none;-o-transition:color 0 ease-in;transition:none}.ml-1{margin-left:1rem}.mr-1{margin-right:1rem}.h-full{height:100%}.fixed{position:fixed}.basic-context-menu{display:block;font-family:var(--context-menu-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--context-menu-font-size, 1.4rem)}.basic-context-menu>.context-menu-trigger{min-width:var(--context-menu-trigger-width, 2.5rem);max-width:var(--context-menu-trigger-width, 2.5rem);min-height:var(--context-menu-trigger-height, 2.5rem);max-height:var(--context-menu-trigger-height, 2.5rem);background-repeat:no-repeat;background-position:center;background-image:url("./assets/3_dots.svg");background-color:var(--context-menu-trigger-bkg-color, transparent)}.basic-context-menu>.context-menu-trigger:hover{background-image:url("./assets/3_dots_active.svg")}.basic-context-menu>.basic-context-menu__list{z-index:1;margin:0;position:fixed;top:-2000;left:-2000;translate:var(--context-menu-translate-x, 0) var(--context-menu-translate-y, 0);border:thin solid var(--context-menu-list-border-color-enabled);border-top-width:0;padding-top:.8rem;padding-bottom:.8rem;padding-left:0;padding-right:0;border-bottom-left-radius:var(--context-menu-border-radius, .6rem);border-bottom-right-radius:var(--context-menu-border-radius, .6rem);border-top-left-radius:var(--context-menu-border-radius, .6rem);border-top-right-radius:var(--context-menu-border-radius, .6rem);-webkit-box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);-moz-box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);width:fit-content;min-width:var(--context-menu-min-width, 10rem);max-width:var(--context-menu-max-width, 30rem);background-color:var(--context-menu-list-background-color)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item{display:flex;flex-direction:row;cursor:pointer;line-height:var(--context-menu-item-line-height, 3.2rem);list-style-type:none;padding-left:1.2rem;padding-right:2.1rem}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item>.basic-context-menu__item__label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--context-menu-font-weight, 700);color:var(--context-menu-item-label-text-color-enabled)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item>.basic-context-menu__item__icon{height:var(--context-menu-item-line-height, 3.2rem);width:var(--context-menu-item-line-height, 3.2rem);min-width:var(--context-menu-item-line-height, 3.2rem);background-repeat:no-repeat;background-size:var(--context-menu-item-icon-size, 1.8rem);margin-right:.6rem;background-position:center;background-image:url("./assets/bimplus_Components_Info_Active.svg")}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item:hover{background-color:var(--context-menu-item-background-color-hovered)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item__separator{border-top:solid .2rem var(--context-menu-item-seperator-border-color-enabled)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled{background-color:transparent;cursor:default}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled>*{opacity:var(--context-menu-item-disabled-opacity, .3)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled:hover{cursor:default;background-color:var(--context-menu-item-background-color-disabled)}
|
|
34
|
-
`],encapsulation:3})}}return t})();var w_=t=>({node:t});function LT(t,n){if(t&1&&(p(0,"div",5),D(1),f()),t&2){let e=u();d(),ee(e.treeTitle)}}function VT(t,n){if(t&1&&at(0,8),t&2){let e=u().$implicit,i=u();g("ngTemplateOutlet",i.customNodeTemplate)("ngTemplateOutletContext",Oe(2,w_,e))}}function BT(t,n){t&1&&E(0,"div",13)}function zT(t,n){t&1&&E(0,"div",14)}function HT(t,n){if(t&1&&(x(0,BT,1,0,"div",10),p(1,"span",11),x(2,zT,1,0,"div",12),p(3,"div"),D(4),f()()),t&2){let e=u().$implicit,i=u();g("ngIf",i.showObjectsIcons),d(),Y("selected-node",i._isSelected(e)),d(3),H(" ",e.name," ")}}function $T(t,n){if(t&1){let e=A();p(0,"lib-bimplus-context-menu",15),_("triggerSelected",function(o){y(e);let r=u().$implicit,s=u();return C(s._toggleNode(o,r))}),f()}if(t&2){let e=u().$implicit,i=u();g("items",i.contextMenus==null?null:i.contextMenus.objectContextMenuitems)("data",e)}}function UT(t,n){if(t&1){let e=A();p(0,"cdk-tree-node",6),_("click",function(o){let r=y(e).$implicit,s=u();return C(s._toggleNode(o,r))})("keypress",function(o){let r=y(e).$implicit,s=u();return C(s._toggleNode(o,r))}),E(1,"button",7),x(2,VT,1,4,"ng-container",8)(3,HT,5,4)(4,$T,1,2,"lib-bimplus-context-menu",9),f()}if(t&2){let e=n.$implicit,i=u();Y("dragable-node",i.enableDragAndDrop&&e.level>0)("selected-node",i._isSelected(e)),g("matTreeNodePaddingIndent",i.paddingIndent)("title",e.name),X("data-test",i.dataTestPrefix+e.id)("node-id",e.id),d(2),j(i.customNodeTemplate&&i._isCustomNodeType(e)?2:3),d(2),g("ngIf",i.contextMenus==null||i.contextMenus.objectContextMenuitems==null?null:i.contextMenus.objectContextMenuitems.length)}}function WT(t,n){if(t&1&&at(0,8),t&2){let e=u().$implicit,i=u();g("ngTemplateOutlet",i.customNodeTemplate)("ngTemplateOutletContext",Oe(2,w_,e))}}function GT(t,n){t&1&&E(0,"div",20)}function qT(t,n){t&1&&E(0,"div",14)}function ZT(t,n){if(t&1&&(x(0,GT,1,0,"div",19),p(1,"span",11),x(2,qT,1,0,"div",12),p(3,"div",11),D(4),f()()),t&2){let e=u().$implicit,i=u();g("ngIf",i.showFoldersIcons),d(),Y("selected-node",i._isSelected(e))("selected-all-descendants-nodes",i._descendantsAllSelected(e)&&i._isSelected(e)&&i.enableParentHighlighting)("selected-partially-descendants-nodes",i._descendantsPartiallySelected(e)&&i.enableParentHighlighting),d(3),H(" ",e.name," ")}}function YT(t,n){if(t&1){let e=A();p(0,"lib-bimplus-context-menu",15),_("triggerSelected",function(o){y(e);let r=u().$implicit,s=u();return C(s._toggleNode(o,r))}),f()}if(t&2){let e=u().$implicit,i=u();g("items",i.contextMenus==null?null:i.contextMenus.folderContextMenuitems)("data",e)}}function KT(t,n){if(t&1){let e=A();p(0,"cdk-tree-node",16),_("click",function(o){let r=y(e).$implicit,s=u();return C(s._toggleNode(o,r))})("keypress",function(o){let r=y(e).$implicit,s=u();return C(s._toggleNode(o,r))}),p(1,"button",17),E(2,"div",18),f(),x(3,WT,1,4,"ng-container",8)(4,ZT,5,8)(5,YT,1,2,"lib-bimplus-context-menu",9),f()}if(t&2){let e=n.$implicit,i=u();Y("dragable-node",i.enableDragAndDrop&&e.level>0)("selected-node",i._isSelected(e)),g("matTreeNodePaddingIndent",i.paddingIndent)("title",e.name),X("data-test",i.dataTestPrefix+e.id)("node-id",e.id),d(),X("aria-label","Toggle "+e.name),d(),Y("expand-more-icon",i._hasChildren(e)&&!i._treeControl.isExpanded(e))("collapse-icon",i._hasChildren(e)&&i._treeControl.isExpanded(e)),d(),j(i.customNodeTemplate&&i._isCustomNodeType(e)?3:4),d(2),g("ngIf",i.contextMenus==null||i.contextMenus.folderContextMenuitems==null?null:i.contextMenus.folderContextMenuitems.length)}}var Rt=(()=>{class t{constructor(e){this.el=e,this.treeDataStringified=null,this.treeTitle="",this.paddingIndent="2.8rem",this.multiSelect=!1,this.oneLevelMultiSelect=!1,this.showFoldersIcons=!1,this.showObjectsIcons=!1,this.enableSelect=!0,this.enableParentHighlighting=!0,this.enableDragAndDrop=!1,this.dataTestPrefix="",this.contextMenus=null,this.customNodeTemplate=null,this.selectedNodes=new M,this._selectionList=void 0,this._transformer=(i,o)=>({expandable:i.children!==void 0,children_count:i.children?.length,name:i.name,id:i.id,level:o,parent:i.parent,nodeType:i.nodeType}),this._treeControl=new Ul(i=>i.level,i=>i.expandable),this._treeFlattener=new ql(this._transformer,i=>i.level,i=>i.expandable,i=>i.children),this._dataSource=new Zl(this._treeControl,this._treeFlattener),this._isExpendable=(i,o)=>o.expandable}get treeData(){return this._dataSource.data}set treeData(e){this.treeDataStringified=null,this._dataSource.data=e}ngOnInit(){let e=this.el.nativeElement;e&&(e.get_node=this.get_node.bind(this),e.select_node=this.select_node.bind(this)),this._selectionList=new li(this.multiSelect||this.oneLevelMultiSelect),this.treeDataStringified&&this._setNewData(this.treeDataStringified)}expandTree(){this._treeControl.expandAll()}_getNode(e,i){for(let o of i){if(o.id===e)return o;if(o.children){let r=this._getNode(e,o.children);if(r)return r}}return null}get_node(e,i=!1){return typeof e=="string"?this._getNode(e,this._dataSource.data):i?this.el.nativeElement.querySelector(`[node-id='${e.id}']`):this._getNode(e.id,this._dataSource.data)}select_node(e,i=!1){let o=this._treeControl.dataNodes.find(r=>r.id===e);if(o&&this._selectionList&&(this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==o.parent&&this._selectionList.clear(),!this._selectionList.isSelected(o))){if(this._selectionList.select(o),!this.multiSelect&&!this.oneLevelMultiSelect&&!i){oe(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(o),this.enableParentHighlighting&&this._updateParentSelections(o),i||oe(this,"selectedNodes",this._selectionList.selected)}}reset_selection(){this._selectionList?.clear()}expand_node(e){let i=this._treeControl.dataNodes.find(o=>o.id===e);i&&this._treeControl.expand(i)}is_expanded(e){let i=this._treeControl.dataNodes.find(o=>o.id===e);return i?this._treeControl.isExpanded(i):!1}is_selected(e){if(!this._selectionList)return;let i=this._treeControl.dataNodes.find(o=>o.id===e);return i?this._selectionList?.isSelected(i):!1}_setNewData(e){let i=JSON.parse(e);this._dataSource.data=i??[]}_changedTreeData(e){this._setNewData(e.currentValue)}ngOnChanges(e){(e.multiSelect||e.oneLevelMultiSelect)&&(this._selectionList=new li(this.multiSelect||this.oneLevelMultiSelect)),e.treeDataStringified&&this._changedTreeData(e.treeDataStringified)}_isCustomNodeType(e){return e.nodeType!=null&&e.nodeType!=""}_hasChildren(e){return!e.expandable||e.children_count===void 0?!1:e.children_count>0}_descendantsAllSelected(e){if(!this._selectionList)return!1;let i=this._selectionList,o=this._treeControl.getDescendants(e);return o.length===0?!0:o.length>0&&o.every(s=>i.isSelected(s))}_descendantsPartiallySelected(e){if(!this._selectionList)return!1;let i=this._selectionList;return this._treeControl.getDescendants(e).some(s=>i.isSelected(s))&&!this._descendantsAllSelected(e)}_toggleDescendantsNodes(e){if(!this._selectionList)return;this._selectionList.isSelected(e)?this._selectionList.select(...this._treeControl.getDescendants(e)):this._selectionList.deselect(...this._treeControl.getDescendants(e))}_updateParentSelections(e){if(!this._selectionList)return;let i=e.parent,o=this._treeControl.dataNodes.find(r=>r.id===i);for(;o;)this._descendantsAllSelected(o)?this._selectionList.select(o):this._selectionList.deselect(o),i=o.parent,o=this._treeControl.dataNodes.find(r=>r.id===i)}_toggleNode(e,i){if(!i||!this.enableSelect||!this._selectionList)return;if(e!=null&&e instanceof MouseEvent&&!e?.ctrlKey&&this._selectionList.clear(),this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==i.parent&&this._selectionList.clear(),this._selectionList.toggle(i),!this.multiSelect&&!this.oneLevelMultiSelect){oe(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(i),this.enableParentHighlighting&&this._updateParentSelections(i),oe(this,"selectedNodes",this._selectionList.selected)}_isSelected(e){return this._selectionList?this._selectionList?.isSelected(e):!1}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-flat-tree"]],inputs:{treeDataStringified:"treeDataStringified",treeTitle:"treeTitle",paddingIndent:"paddingIndent",multiSelect:[2,"multiSelect","multiSelect",k],oneLevelMultiSelect:[2,"oneLevelMultiSelect","oneLevelMultiSelect",k],showFoldersIcons:[2,"showFoldersIcons","showFoldersIcons",k],showObjectsIcons:[2,"showObjectsIcons","showObjectsIcons",k],enableSelect:[2,"enableSelect","enableSelect",k],enableParentHighlighting:[2,"enableParentHighlighting","enableParentHighlighting",k],enableDragAndDrop:[2,"enableDragAndDrop","enableDragAndDrop",k],dataTestPrefix:"dataTestPrefix",contextMenus:"contextMenus",treeData:"treeData",customNodeTemplate:"customNodeTemplate"},outputs:{selectedNodes:"selectedNodes"},standalone:!0,features:[he,$e,S],decls:5,vars:4,consts:[[1,"tree-container"],["class","tree-title",4,"ngIf"],[3,"dataSource","treeControl"],["matTreeNodePadding","","class","object-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef"],["matTreeNodePadding","","class","folder-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef","matTreeNodeDefWhen"],[1,"tree-title"],["matTreeNodePadding","",1,"object-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","disabled",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"items","data","triggerSelected",4,"ngIf"],["class","icon object-icon",4,"ngIf"],[1,"node-label"],["class","custom-drag-placeholder",4,"cdkDragPlaceholder"],[1,"icon","object-icon"],[1,"custom-drag-placeholder"],[3,"triggerSelected","items","data"],["matTreeNodePadding","",1,"folder-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","matTreeNodeToggle",""],[1,"icon","expand-collapse-icon"],["class","icon folder-icon",4,"ngIf"],[1,"icon","folder-icon"]],template:function(i,o){i&1&&(p(0,"div",0),x(1,LT,2,1,"div",1),p(2,"cdk-tree",2),x(3,UT,5,10,"cdk-tree-node",3)(4,KT,6,15,"cdk-tree-node",4),f()()),i&2&&(d(),g("ngIf",o.treeTitle),d(),g("dataSource",o._dataSource)("treeControl",o._treeControl),d(2),g("matTreeNodeDefWhen",o._isExpendable))},dependencies:[C_,v_,__,y_,f_,m_,p_,Gl,qo,Hi,ci,L,Qe,Pn],styles:['.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.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}.tree-container[_ngcontent-%COMP%]{background-color:var(--flat-tree-container-background-color-enabled);width:calc(100% - 2 * var(--flat-tree-node-indent, 1rem));padding:var(--flat-tree-node-indent, 1rem);font-family:var(--flat-tree-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--flat-tree-font-size, 1.3rem);font-weight:var(--flat-tree-font-weight, 700);color:var(--flat-tree-container-text-color-enabled)}.tree-container[_ngcontent-%COMP%] > .tree-title[_ngcontent-%COMP%]{background-color:transparent;font-size:var(--flat-tree-title-font-size, 1.6rem);margin-bottom:1rem}.cdk-tree[_ngcontent-%COMP%]{background-color:transparent;width:100%}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]{--mat-icon-button-touch-target-display: none;background-color:transparent;display:flex;align-items:center;cursor:pointer;line-height:var(--flat-tree-node-line-height, 2.4rem)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.folder-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-folder-font-weight, 700)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.object-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-object-font-weight, 400)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%]{overflow:hidden;flex:1}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%] > div.node-label[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] lib-bimplus-context-menu[_ngcontent-%COMP%]{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: var(--flat-tree-node-line-height, 2.4rem);--context-menu-trigger-bkg-color: transparent;--context-menu-translate-x: 1rem}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]:not(.selected-node):not(:hover) lib-bimplus-context-menu[_ngcontent-%COMP%]{display:none}.cdk-tree-node.dragable-node[_ngcontent-%COMP%]:hover{background-color:var(--flat-tree-draggable-node-background-color-hovered);background-image:url("./assets/6_dots_gray.svg");background-repeat:no-repeat;background-size:var(--flat-tree-node-icon-size, 1.8rem);background-position:left center}.mat-mdc-icon-button[_ngcontent-%COMP%]{padding:.2rem;width:var(--flat-tree-node-line-height, 2.4rem);height:var(--flat-tree-node-line-height, 2.4rem)}.selected-node[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled);font-weight:var(--flat-tree-selected-node-font-weight, 700)!important}.selected-all-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled)}.selected-partially-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-partially-selected-nodes-text-color-enabled)}.custom-drag-placeholder[_ngcontent-%COMP%]{height:0px}.icon[_ngcontent-%COMP%]{width:var(--flat-tree-node-icon-size, 1.8rem);height:var(--flat-tree-node-icon-size, 1.8rem);margin-right:.4rem;background-position:center;background-size:var(--flat-tree-node-icon-size, 1.8rem)}.icon.folder-icon[_ngcontent-%COMP%]{background:var(--flat-tree-folder-icon, url("./assets/bimplus_Components_Projects_Folder.svg") no-repeat);background-size:var(--flat-tree-folder-icon-size, 1.6rem);background-position:center}.icon.object-icon[_ngcontent-%COMP%]{background:var(--flat-tree-object-icon, url("./assets/bimplus_Components_Documents.svg") no-repeat);background-size:var(--flat-tree-object-icon-size, 1.6rem);background-position:center}.icon.expand-collapse-icon.expand-more-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-expand-icon, url("./assets/collapsed_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}.icon.expand-collapse-icon.collapse-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-collapse-icon, url("./assets/expanded_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}']})}}return t})();var Zo=function(t){return t[t.None=0]="None",t[t.SelectObjectProperties=1]="SelectObjectProperties",t[t.SelectAttributes=2]="SelectAttributes",t}(Zo||{}),os=5;function QT(t,n){if(t&1&&(p(0,"span",1),D(1),f()),t&2){let e=u();d(),tn("",e.criterium.name," \xA0(",e.criterium.value,")")}}function XT(t,n){if(t&1&&(p(0,"span",1),D(1),f()),t&2){let e=u();d(),ee(e.criterium.name)}}var x_=(()=>{class t{constructor(){this.criterium={name:"",subString:""},this.indent=0,this.deleteCriterium=new M}clickedDelete(){this.deleteCriterium.emit()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["app-filter-criterium"]],hostVars:2,hostBindings:function(i,o){i&2&&Ue("margin-left",o.indent,"em")},inputs:{criterium:"criterium",indent:"indent"},outputs:{deleteCriterium:"deleteCriterium"},standalone:!0,features:[S],decls:4,vars:1,consts:[[1,"filter-criterium-row"],[1,"filter-criterium-item"],[1,"filter-criterium-icon-delete",3,"click","keypress"]],template:function(i,o){i&1&&(p(0,"div",0),x(1,QT,2,2,"span",1)(2,XT,2,1,"span",1),p(3,"div",2),_("click",function(){return o.clickedDelete()})("keypress",function(){return o.clickedDelete()}),f()()),i&2&&(d(),j(o.criterium.value?1:2))},styles:['.filter-criterium-icon-delete[_ngcontent-%COMP%]{background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:1.8rem;height:1.8rem;width:1.8rem;cursor:pointer}.filter-criterium-item[_ngcontent-%COMP%]{flex-grow:1}.filter-criterium-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}']})}}return t})();var M_=(()=>{class t{constructor(){this._objectStructure={id:"",name:"",parent:""},this.treeComponent=null,this._treeData=[],this.nodeSelected=new M}set objectStructure(e){this._objectStructure=e,this._updateTreeData()}_convertObjectStructureNodeToTreeNode(e){let i={name:e.name,id:e.id,parent:e.parent};if(e.children){i.children=[];for(let o of e.children){let r=this._convertObjectStructureNodeToTreeNode(o);i.children.push(r)}}return i}_updateTreeData(){if(!this._objectStructure)return;let e=this._convertObjectStructureNodeToTreeNode(this._objectStructure);e&&(this._treeData=[],this._treeData=[e])}get treeData(){return this._treeData}_findNode(e,i){if(i.id==e)return i;if(i.children)for(let o of i.children){let r=this._findNode(e,o);if(r)return r}return null}handleSelectedNodes(e){if(e.length===1){let i=this._findNode(e[0].id,this._objectStructure);i&&this.nodeSelected.emit(i)}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-object-structure"]],viewQuery:function(i,o){if(i&1&&tt(Rt,5),i&2){let r;Ie(r=Se())&&(o.treeComponent=r.first)}},inputs:{objectStructure:"objectStructure"},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[S],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-structure-tree-",3,"selectedNodes","treeData"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-flat-tree",0),_("selectedNodes",function(s){return o.handleSelectedNodes(s)}),f()),i&2&&g("treeData",o.treeData)},dependencies:[Rt],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400}"]})}}return t})();var k_=(()=>{class t{constructor(){this._complexProperties={id:"",name:"",parent:""},this.treeComponent=null,this._treeData=[],this.nodeSelected=new M}set complexProperties(e){this._complexProperties=e,this._updateTreeData()}_convertObjectStructureNodeToTreeNode(e){let i={name:e.name,id:e.id,parent:e.parent};if(e.children){i.children=[];for(let o of e.children){let r=this._convertObjectStructureNodeToTreeNode(o);i.children.push(r)}}return i}_updateTreeData(){if(!this._complexProperties)return;let e=this._convertObjectStructureNodeToTreeNode(this._complexProperties);e&&(this._treeData=[],this._treeData=[e])}get treeData(){return this._treeData}_findNode(e,i){if(i.id==e)return i;if(i.children)for(let o of i.children){let r=this._findNode(e,o);if(r)return r}return null}handleSelectedNodes(e){if(e.length===1){let i=this._findNode(e[0].id,this._complexProperties);i&&this.nodeSelected.emit(i)}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-object-complex-properties"]],viewQuery:function(i,o){if(i&1&&tt(Rt,5),i&2){let r;Ie(r=Se())&&(o.treeComponent=r.first)}},inputs:{complexProperties:"complexProperties"},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[S],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-complex-properties-tree-",3,"selectedNodes","treeData"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-flat-tree",0),_("selectedNodes",function(s){return o.handleSelectedNodes(s)}),f()),i&2&&g("treeData",o.treeData)},dependencies:[Rt],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400}"]})}}return t})();var Kl=class t{static createFromResponse(n){let e={id:n.id,name:n.name?`${n.type}(${n.name})`:n.type,parent:n.parent};if(n.children){e.children=[];for(let i of n.children)e.children.push(t.createFromResponse(i))}return e}};var Ql=class t{static createFromResponse(n){let e={id:n.id,name:n.type?n.type:n.name,parent:n.parent};if(n.children){e.children=[];for(let i of n.children)e.children.push(t.createFromResponse(i))}return e}};function JT(t,n){if(t&1){let e=A();p(0,"lib-bimplus-object-structure",2),_("nodeSelected",function(o){y(e);let r=u();return C(r.handleObjectStructureNodeSelected(o))}),f()}if(t&2){let e=u();g("objectStructure",e.objectStructure)}}function eO(t,n){if(t&1){let e=A();p(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),D(3),N(4,"translate"),f()(),p(5,"lib-bimplus-object-complex-properties",3),_("nodeSelected",function(o){y(e);let r=u();return C(r.handleComplexPropertyNodeSelected(o))}),f()()}if(t&2){let e=u();d(3),H(" ",F(4,2,"_Object multiproperties tree"),""),d(2),g("complexProperties",e.complexProperties)}}function tO(t,n){if(t&1&&(p(0,"div",11),D(1),f()),t&2){let e=u().$implicit;d(),ee(e.value)}}function nO(t,n){t&1&&(p(0,"div",11),D(1,"..."),f())}function iO(t,n){if(t&1){let e=A();p(0,"div",6)(1,"div",7)(2,"div",8)(3,"label",9)(4,"input",10),_("click",function(){let o=y(e).$implicit,r=u(3);return C(r.toggleAttribute(o))})("keypress",function(){let o=y(e).$implicit,r=u(3);return C(r.toggleAttribute(o))}),f(),E(5,"span"),f(),p(6,"div",11),D(7),f()(),p(8,"div",8)(9,"label",9)(10,"input",10),_("click",function(){let o=y(e).$implicit,r=u(3);return C(r.toggleAttributeValue(o))})("keypress",function(){let o=y(e).$implicit,r=u(3);return C(r.toggleAttributeValue(o))}),f(),E(11,"span"),f(),x(12,tO,2,1,"div",11)(13,nO,2,0,"div",11),f()()()}if(t&2){let e=n.$implicit,i=u(3);d(4),g("checked",e.checked)("disabled",i.filterCriteria.length===i.MaxFilterCriteria&&!e.checked),d(3),ee(e.name),d(3),g("checked",e.valueChecked)("disabled",i.filterCriteria.length===i.MaxFilterCriteria&&!e.checked),d(2),j(e.value?12:13)}}function oO(t,n){if(t&1&&(p(0,"lib-expansion-panel",4)(1,"lib-expansion-panel-header")(2,"span",5),D(3),f()(),p(4,"div"),Jt(5,iO,14,6,"div",6,Fr),f()()),t&2){let e=n.$implicit;g("expanded",e.expanded),d(3),H(" ",e.name,""),d(2),en(e.attributes)}}function rO(t,n){if(t&1&&(p(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),D(3),N(4,"translate"),f()(),Jt(5,oO,7,2,"lib-expansion-panel",4,Fr),f()),t&2){let e=u();d(3),H(" ",F(4,1,"_Object properties"),""),d(2),en(e.objectAttributeGroups)}}var D_=(()=>{class t extends le{constructor(e){super(e),this.api=null,this.revision=void 0,this._currentObjectId$=new Te(""),this._currentPropertiesObjectId$=new Te(""),this.objectAttributeGroups=[],this.MaxFilterCriteria=os,this._rootObjectId="",this.filterCriteriaChange=new M,this._filterCriteria=[],this._objectStructure=null,this._complexProperties=null}ngOnInit(){this._currentPropertiesObjectId$.subscribe({next:e=>{e&&this._createObjectProperties(e,this.revision)}}),this._currentObjectId$.subscribe({next:e=>{this._currentPropertiesObjectId$.next(e),this._createComplexPropertiestructure(e,this.revision)}})}set rootObjectId(e){this._currentObjectId$.next(e),this._createObjectStructure(e,this.revision),this._rootObjectId=e}get rootObjectId(){return this._rootObjectId}set filterCriteria(e){this._filterCriteria=e,this._syncAttributeStatesFromCriteria()}get filterCriteria(){return this._filterCriteria}get objectStructure(){return this._objectStructure}get complexProperties(){return this._complexProperties}toggleAttribute(e){e.checked=!e.checked,e.checked===!1&&(e.valueChecked=!1),this.handleFilterCriteriumAttributeStateChange(e)}toggleAttributeValue(e){e.valueChecked=!e.valueChecked,e.checked=e.valueChecked,this.handleFilterCriteriumAttributeStateChange(e)}handleFilterCriteriumAttributeStateChange(e){let i=this.filterCriteria.findIndex(o=>o.id===e.id);if(i>=0)(e.checked===!1||e.valueChecked===!1)&&(this.filterCriteria.splice(i,1),this.filterCriteriaChange.emit(this.filterCriteria));else if(this.filterCriteria.length<os){let o=`[I][${e.id}].Value`;e.valueChecked&&(o+=`[F][0]=${e.value}`),this.filterCriteria.push({name:e.name,value:e.valueChecked?e.value:void 0,id:e.id,subString:o}),this.filterCriteriaChange.emit(this.filterCriteria)}}handleObjectStructureNodeSelected(e){this._currentObjectId$.next(e.id)}handleComplexPropertyNodeSelected(e){this._currentPropertiesObjectId$.next(e.id)}_createObjectProperties(e,i){this._loadObjectProperties(e,i)?.subscribe({next:o=>{this.objectAttributeGroups=this._createAttributeGroupsFromResponse(o),this._syncAttributeStatesFromCriteria()},error:()=>{this.objectAttributeGroups=[]}})}_createAttributeGroupsFromResponse(e){let i=[],o=null;if(e.localizedAttributeGroups&&(o=e.localizedAttributeGroups),!e.attributes)return i;let r=e.attributes;for(let[s,a]of Object.entries(r)){let l={name:s,expanded:!1,attributes:[]};if(o?.[s]&&(l.name=o[s]),!!a){for(let c of Object.values(a)){let m={id:c.id,name:c.name,description:c.description,value:c.value,checked:!1,valueChecked:!1,group:c.group};l.attributes.push(m)}i.push(l)}}return i}_syncAttributeStatesFromCriteria(){this.objectAttributeGroups.forEach(e=>{e.attributes.forEach(i=>{let o=this._filterCriteria.find(r=>r.id==i.id);o?(i.checked=!0,i.valueChecked=o.value!==void 0):(i.checked=!1,i.valueChecked=!1)})})}_loadObjectProperties(e,i){if(this.api)return Be(this.api.objects.get(e,i,"8",void 0,!1,void 0))}_loadObjectStructure(e,i){if(this.api)return Be(this.api.objects.getTopology(e,i,!1,!1,void 0))}_loadObjectComplexPropertiesStructure(e,i){if(this.api)return Be(this.api.objects.getComplexPropertiesTopology(e,i))}_createComplexPropertiestructure(e,i){this._loadObjectComplexPropertiesStructure(e,i)?.subscribe({next:o=>{if(o){let r=Ql.createFromResponse(o);r?.children?.length?this._complexProperties=r:this._complexProperties=null}}})}_createObjectStructure(e,i){this._loadObjectStructure(e,i)?.subscribe({next:o=>{o&&(this._objectStructure=Kl.createFromResponse(o))}})}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-criteria-select-object-properties"]],inputs:{api:"api",rootObjectId:"rootObjectId",revision:"revision",filterCriteria:"filterCriteria"},outputs:{filterCriteriaChange:"filterCriteriaChange"},standalone:!0,features:[q,S],decls:8,vars:6,consts:[[1,"criteria-select-object-properties-header"],[3,"objectStructure"],[3,"nodeSelected","objectStructure"],[3,"nodeSelected","complexProperties"],[3,"expanded"],[1,"criteria-select-object-properties-group-header"],[1,"criteria-select-object-properties-attrib-row"],[1,"criteria-select-object-properties-attrib-row-content"],[1,"criteria-select-object-properties-attrib-row-cell","criteria-select-checkbox"],[1,"criteria-select-object-properties-attrib-row-cell-label"],["type","checkbox",3,"click","keypress","checked","disabled"],[1,"criteria-select-object-properties-attrib-row-cell-text"]],template:function(i,o){i&1&&(p(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),D(3),N(4,"translate"),f()(),x(5,JT,1,1,"lib-bimplus-object-structure",1),f(),x(6,eO,6,4,"lib-expansion-panel")(7,rO,7,3,"lib-expansion-panel")),i&2&&(d(3),H(" ",F(4,4,"_Object structure"),""),d(2),j(o.objectStructure?5:-1),d(),j(o.complexProperties?6:-1),d(),j(o.objectAttributeGroups.length>0?7:-1))},dependencies:[ii,ni,Q,de,M_,k_],styles:['.criteria-select-object-properties-header[_ngcontent-%COMP%]{font-weight:700;text-transform:uppercase;font-size:1.4rem}.criteria-select-object-properties-group-header[_ngcontent-%COMP%]{line-height:2.4rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]{display:flex;width:calc(100% - 2rem);flex-direction:row;flex-wrap:nowrap;overflow:hidden;padding-left:2rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]:hover{background-color:var(--object-navigator-criteria-select-object-properties-attribute-row-background-color-hovered)}.criteria-select-object-properties-attrib-row-content[_ngcontent-%COMP%]{display:inline-flex;width:100%}.criteria-select-object-properties-attrib-row-cell[_ngcontent-%COMP%]{flex-basis:50%;display:flex;overflow:hidden;text-overflow:ellipsis}.criteria-select-object-properties-attrib-row-cell-label[_ngcontent-%COMP%]{display:inline-flex}.criteria-select-object-properties-attrib-row-cell-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_on_hovered.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off.svg");width:1.8rem;height:1.8rem;margin-top:.1rem;vertical-align:middle;border:0;background-color:transparent;background-position:-.3rem center;background-size:100% 100%;background-repeat:no-repeat}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_off_hovered.svg")}']})}}return t})();function sO(t,n){if(t&1&&(p(0,"div",2),D(1),f()),t&2){let e=u().node,i=u();d(),tn(" ",e.name," \xA0( ",i.getNodeObjectCounter(e.id)," )")}}function aO(t,n){if(t&1&&(p(0,"div",3),D(1),f()),t&2){let e=u().node,i=u();d(),tn(" ",e.name," \xA0( ",i.getNodeObjectCounter(e.id)," )")}}function lO(t,n){if(t&1){let e=A();p(0,"span",3)(1,"div",4),_("dblclick",function(){y(e);let o=u().node,r=u();return C(r.dblClickedObjectNode(o))})("mouseenter",function(){y(e);let o=u().node,r=u();return C(r.mouseEnterObjectNode(o))})("mouseleave",function(){y(e);let o=u().node,r=u();return C(r.mouseLeaveObjectNode(o))}),D(2),f()()}if(t&2){let e=u().node;d(2),H(" ",e.name," ")}}function cO(t,n){if(t&1&&x(0,sO,2,2,"div",2)(1,aO,2,2,"div",3)(2,lO,3,1,"span",3),t&2){let e,i=n.node;j((e=i.nodeType)==="rootNode"?0:e==="structureNode"?1:e==="objectNode"?2:-1)}}var E_=(()=>{class t{constructor(){this.treeComponent=null,this.nodeSelectionChanged=new M,this.nodeDoubleClicked=new M,this.nodeMouseEntered=new M,this.nodeMouseLeft=new M,this._filterResult=null,this._treeData=[],this._treeNodesLookup={},this._treeNodeObjectCounts={},this._selectedObjects=[]}set filterResult(e){this._filterResult=e,this._updateTreeData()}set selectedObjects(e){this._selectedObjects=e,this._syncSelectedObjects()}get treeData(){return this._treeData}ngAfterViewInit(){this._treeData&&this._treeData.length>0&&this._expandToObjectLevel(this._treeData[0])}handleSelectedNodes(e){this.nodeSelectionChanged.emit(e.map(i=>i.id))}getNodeObjectCounter(e){return this._treeNodeObjectCounts[e]}dblClickedObjectNode(e){this.nodeDoubleClicked.emit(e.id)}mouseEnterObjectNode(e){this.nodeMouseEntered.emit(e.id)}mouseLeaveObjectNode(e){this.nodeMouseLeft.emit(e.id)}expandToObjectLevel(){this.treeData.length!==0&&this._expandToObjectLevel(this._treeData[0])}_syncSelectedObjects(){let e=[];for(let i of this._selectedObjects){let o=this._treeNodesLookup[i];o&&e.push(o)}this.treeComponent?.reset_selection();for(let i of e)this.treeComponent?.select_node(i.id)}_updateObjectCounters(){this._treeNodeObjectCounts={},this._countObjects(this.treeData[0])}_countObjects(e){if(e.nodeType&&e.nodeType==="objectNode")return 1;let i=0;if(!e.children)return 0;for(let o of e.children)o&&(i+=this._countObjects(o));return this._treeNodeObjectCounts[e.id]=i,i}_updateTreeData(){this._filterResult&&(this._treeNodesLookup={},this._treeData=[this._convertFilterResultToTreeNode(this._filterResult.structure,this._treeNodesLookup)],this._updateObjectCounters())}_convertFilterResultToTreeNode(e,i=void 0){let o={name:e.name,id:e.id,parent:e.parent};if(e.children){o.children=[];for(let r of e.children){let s=this._convertFilterResultToTreeNode(r,i);o.children.push(s)}}return o.parent?e.type==="Structure"?o.nodeType="structureNode":o.nodeType="objectNode":o.nodeType="rootNode",i&&(i[o.id]=o),o}_expandToObjectLevel(e){if(e.children)for(let i of e.children){if(i.nodeType&&i.nodeType==="objectNode")return;this._expandToObjectLevel(i)}this.treeComponent?.expand_node(e.id)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-object-filter-result"]],viewQuery:function(i,o){if(i&1&&tt(Rt,5),i&2){let r;Ie(r=Se())&&(o.treeComponent=r.first)}},inputs:{filterResult:"filterResult",selectedObjects:"selectedObjects"},outputs:{nodeSelectionChanged:"nodeSelectionChanged",nodeDoubleClicked:"nodeDoubleClicked",nodeMouseEntered:"nodeMouseEntered",nodeMouseLeft:"nodeMouseLeft"},standalone:!0,features:[S],decls:3,vars:2,consts:[["objFilterResultNode",""],["paddingIndent","1.4rem","enableParentHighlighting","false","oneLevelMultiSelect","false","multiSelect","true","dataTestPrefix","object-filter-result-tree-",3,"selectedNodes","treeData","customNodeTemplate"],[1,"object-navigator-filter-result-root-node","noselect"],[1,"noselect"],[1,"noselect",3,"dblclick","mouseenter","mouseleave"]],template:function(i,o){if(i&1){let r=A();p(0,"lib-bimplus-flat-tree",1),_("selectedNodes",function(a){return y(r),C(o.handleSelectedNodes(a))}),f(),x(1,cO,3,1,"ng-template",null,0,yt)}if(i&2){let r=Je(2);g("treeData",o.treeData)("customNodeTemplate",r)}},dependencies:[Rt],styles:[".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}lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-selected-node-font-weight: 700}.object-navigator-filter-result-root-node[_ngcontent-%COMP%]{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}"]})}}return t})();var I_="tabAttribElement.DivisionID",$i=class{constructor(n="",e=5){this._filterString="",this._maxFilterCriteria=5,this._filterString=n,this._maxFilterCriteria=e}get filterString(){return this._filterString}fromFilterCriteria(n){this._filterString=`[I]${I_}`;for(let e of n)this._filterString+=e.subString;return this._filterString}getReadableValuesFromFilterCriteria(n){let e={};for(let i of n)i.id&&i.name&&(e[i.id]=i.name);return e}toFilterCriteria(n=void 0){let e=[],i=!1,o=this._filterString.split("[I]");for(let r of o)if(r.length!==0){if(r.includes(I_)&&!i){i=!0;continue}if(e.push(this._parseFilterSubstring(r,n)),e.length===this._maxFilterCriteria)break}return e}_parseFilterSubstring(n,e=void 0){let i=n,o,r=n.indexOf("["),s=n.indexOf("]");if(r>=0&&s>=0&&s>r){let a=n.slice(r+1,s);if(o=a,a&&e){let l=e[a];l&&(i=l)}}else if(n.includes(".")){let a=n.split(".");i=a[a.length-1]}return{name:i,subString:"[I]"+n,id:o}}};var Xl=class{static fetchObjectFilterStructureFromSelection(n,e,i,o){let r=!e.id,s=e.id?e.id:"",a=null;return r?a=Be(o.objectFilters.post(JSON.stringify(e),n)).pipe(It(l=>{if(!l?.id)throw new Error("Failed to create temporary filter object");return s=l.id,Be(o.exportService.createExportSelection(n,JSON.stringify(i)))}),It(l=>{if(!l?.id)throw new Error("Failed to create selection object");return Be(o.objectFilters.getSelectionFilteredObjects(l.id,s,void 0,void 0)).pipe(ue(c=>(o.objectFilters.delete(s),c)))})):a=Be(o.exportService.createExportSelection(n,JSON.stringify(i))).pipe(It(l=>{if(!l?.id)throw new Error("Failed to create selection object");return Be(o.objectFilters.getSelectionFilteredObjects(l.id,s,void 0,void 0))})),a}};var dO=t=>({disabled:t});function uO(t,n){if(t&1&&(p(0,"ng-option",18),D(1),f()),t&2){let e=n.$implicit;g("value",e),d(),ee(e.name)}}function pO(t,n){if(t&1&&(p(0,"ng-option",18),D(1),f()),t&2){let e=n.$implicit;g("value",e),d(),ee(e.name)}}function mO(t,n){if(t&1&&E(0,"lib-bimplus-context-menu",9),t&2){let e=u(3);g("items",e.filterContextMenu)}}function fO(t,n){if(t&1&&x(0,mO,1,1,"lib-bimplus-context-menu",19),t&2){let e=u(2);g("ngIf",e.filterContextMenu==null?null:e.filterContextMenu.length)}}function gO(t,n){if(t&1){let e=A();p(0,"app-filter-criterium",20),_("deleteCriterium",function(){let o=y(e).$index,r=u(2);return C(r.deleteFilterCriterium(o))}),f()}if(t&2){let e=n.$implicit,i=n.$index;g("criterium",e)("indent",i*.8)}}function hO(t,n){t&1&&(p(0,"p",21),D(1),N(2,"translate"),f()),t&2&&(d(),ee(F(2,1,"_NoObjectSelected")))}function bO(t,n){if(t&1){let e=A();p(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-criteria-select-object-properties",23),Tn("filterCriteriaChange",function(o){y(e);let r=u(3);return Kn(r.filterCriteria,o)||(r.filterCriteria=o),C(o)}),_("filterCriteriaChange",function(){y(e);let o=u(3);return C(o.activateModifiedCustomFilter())}),f()()()}if(t&2){let e=u(3);d(2),g("api",e.api)("selectedLanguage",e.selectedLanguage)("localizedStrings",e.localizedStrings),Sn("filterCriteria",e.filterCriteria),g("rootObjectId",e.selectedObjectId)}}function vO(t,n){if(t&1&&x(0,hO,3,3,"p",21)(1,bO,3,5,"div",22),t&2){let e=u(2);j(e.selectedObjectId?1:0)}}function _O(t,n){}function yO(t,n){if(t&1){let e=A();p(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-object-filter-result",24),_("nodeSelectionChanged",function(o){y(e);let r=u(3);return C(r.handleFilterResultSelectionChanged(o))})("nodeDoubleClicked",function(o){y(e);let r=u(3);return C(r.handleFilterResulObjectDoubleClicked(o))})("nodeMouseEntered",function(o){y(e);let r=u(3);return C(r.handleFilterResulObjectMouseEntered(o))})("nodeMouseLeft",function(o){y(e);let r=u(3);return C(r.handleFilterResulObjectMouseLeft(o))}),f()()()}if(t&2){let e=u(3);d(2),g("filterResult",e.filterResult)("selectedObjects",e.selectedObjects)}}function CO(t,n){if(t&1&&x(0,yO,3,2,"div",22),t&2){let e=u(2);j(e.filterResult?0:-1)}}function wO(t,n){if(t&1){let e=A();p(0,"div",3),D(1),N(2,"translate"),f(),p(3,"div",4)(4,"ng-select",5),Tn("ngModelChange",function(o){y(e);let r=u();return Kn(r.activeFilterType,o)||(r.activeFilterType=o),C(o)}),x(5,uO,2,2,"ng-option",6),f()(),p(6,"div",7)(7,"ng-select",8),Tn("ngModelChange",function(o){y(e);let r=u();return Kn(r.activeFilter,o)||(r.activeFilter=o),C(o)}),x(8,pO,2,2,"ng-option",6),f(),x(9,fO,1,1,"lib-bimplus-context-menu",9),f(),p(10,"lib-expansion-panel",10)(11,"lib-expansion-panel-header")(12,"span",11),D(13),N(14,"translate"),f(),p(15,"lib-expansion-panel-header-actions")(16,"div",12),N(17,"translate"),_("click",function(){y(e);let o=u();return C(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectObjectProperties))})("keypress",function(){y(e);let o=u();return C(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectObjectProperties))}),f()()(),p(18,"div",13),Jt(19,gO,1,2,"app-filter-criterium",14,Fr),f()(),p(21,"div",15)(22,"button",16),_("click",function(){y(e);let o=u();return C(o.applyFilter())}),D(23),N(24,"translate"),f()(),E(25,"div",17),x(26,vO,2,1)(27,_O,0,0)(28,CO,1,1)}if(t&2){let e,i=u();d(),H(" ",F(2,19,"_Select_an_object_using_Object_Picker")," "),d(3),Sn("ngModel",i.activeFilterType),g("clearable",!1)("searchable",!1),d(),g("ngForOf",i.filterTypes),d(2),Sn("ngModel",i.activeFilter),g("clearable",!1)("disabled",!i.filters)("searchable",!1),d(),g("ngForOf",i.filters),d(),j(i.hideFilterContextMenu?-1:9),d(4),tn(" ",F(14,21,"_Assign_Objects_Selection_Mode")," (",i.filterCriteria.length,") "),d(3),g("ngClass",i.filterCriteriaSelectionMode$.getValue()===i.FilterCriteriaSelectionMode.SelectObjectProperties?"active":"")("title",F(17,23,"_Object_Picker")),d(3),en(i.filterCriteria),d(3),g("ngClass",Oe(27,dO,i.filterCriteria.length===0))("disabled",i.filterCriteria.length===0),d(),H(" ",F(24,25,"_Apply filter")," "),d(3),j((e=i.filterCriteriaSelectionMode$.getValue())===i.FilterCriteriaSelectionMode.SelectObjectProperties?26:e===i.FilterCriteriaSelectionMode.SelectAttributes?27:28)}}function xO(t,n){t&1&&(p(0,"div",2),D(1),N(2,"translate"),f()),t&2&&(d(),H(" ",F(2,1,"_No_visible_models_found")," "))}var S_=(()=>{class t extends le{constructor(e){super(e),this.hideFilterContextMenu=!1,this.filterContextMenu=[],this.activeFilterTypeSubject$=new Te(null),this.activeFilterSubject$=new Te(null),this.filters=null,this.filterCriteria=[],this.api=null,this.projectId="",this.objNavClassClass=!0,this.filterCriteriaSelectionMode$=new Te(Zo.None),this.filterCriteriaSelectionModeChanged=new M,this.selectedObjectId=null,this.selectedObjects=[],this.selectionObject=null,this.filterResultObjectSelectionChanged=new M,this.filterResultObjectDoubleClicked=new M,this.filterResultObjectMouseEntered=new M,this.filterResultObjectMouseLeft=new M,this.FilterCriteriaSelectionMode=Zo,this.isLoadingResults=!1,this._filterResult=null,this._filterTypes=[]}set filterTypes(e){this._filterTypes=e,this._filterTypes.length>0&&(this.activeFilterType=this._filterTypes[0])}get filterTypes(){return this._filterTypes}set activeFilterType(e){this.activeFilterTypeSubject$.next(e)}get activeFilterType(){return this.activeFilterTypeSubject$.getValue()}set activeFilter(e){e&&!e.id&&this._setDefaultCustomFilterString(e),this.activeFilterSubject$.next(e)}get activeFilter(){return this.activeFilterSubject$.getValue()}get filterResult(){return this._filterResult}ngOnInit(){this.activeFilterTypeSubject$.subscribe({next:e=>{!this.projectId||!this.api||!e||(this.activeFilter=null,this.loadCurrentLayerFilters(this.projectId,e.id)?.subscribe({next:i=>{this.filters=[this._createDefaultCustomFilter(e.id),...i],this.activeFilter=this.filters[0]},error:i=>{throw new Error(i)}}))}}),this.activeFilterSubject$.subscribe({next:e=>{e&&(this.filterCriteria=this.parseFilterString(e))}}),this.filterCriteriaSelectionMode$.subscribe({next:e=>{this.filterCriteriaSelectionModeChanged.emit(e)}}),this.filterTypes.length>0&&(this.activeFilterType=this.filterTypes[0])}loadCurrentLayerFilters(e,i){if(this.api)return Be(this.api.objectFilters.get(i,e))}parseFilterString(e){return new $i(e.filterString,os).toFilterCriteria(e.readableValues)}deleteFilterCriterium(e){this.filterCriteria.splice(e,1),this.filterCriteria=[...this.filterCriteria],this.activateModifiedCustomFilter()}setFilterCriteriaSelectionMode(e){if(this.filterCriteriaSelectionMode$.getValue()==e){this.filterCriteriaSelectionMode$.next(Zo.None);return}this.filterCriteriaSelectionMode$.next(e)}applyFilter(){this.filterCriteriaSelectionMode$.next(Zo.None),this._filterResult=null,this.activeFilter&&!this.activeFilter.id&&(this.activeFilter.filterString=new $i().fromFilterCriteria(this.filterCriteria)),this.selectionObject&&this._applySelectionObjectFilter(this.activeFilter)}handleFilterResultSelectionChanged(e){this.filterResultObjectSelectionChanged.emit(e)}handleFilterResulObjectDoubleClicked(e){this.filterResultObjectDoubleClicked.emit(e)}handleFilterResulObjectMouseEntered(e){this.filterResultObjectMouseEntered.emit(e)}handleFilterResulObjectMouseLeft(e){this.filterResultObjectMouseLeft.emit(e)}activateModifiedCustomFilter(){this.activeFilter?.id&&this.filters&&(this.filters[0].filterString=new $i().fromFilterCriteria(this.filterCriteria),this.filters[0].readableValues=new $i().getReadableValuesFromFilterCriteria(this.filterCriteria),this.activeFilterSubject$.next(this.filters[0]))}_applySelectionObjectFilter(e){!this.api||!this.selectionObject||!e||(this.selectionObject.singleUse=!0,this.selectionObject.selection.singleuse=!0,this.isLoadingResults=!0,Xl.fetchObjectFilterStructureFromSelection(this.projectId,e,this.selectionObject,this.api).subscribe({next:i=>{this._filterResult=i,this.isLoadingResults=!1}}))}_setDefaultCustomFilterString(e){let i="a0e8ae2c-c869-4ec3-9019-25d3704be707";e.filterString=`[I][${i}].Value`,e.readableValues={},e.readableValues[i]="Type"}_createDefaultCustomFilter(e){let i={module:"00000000-0000-0000-0000-000000000000",category:"",disciplineID:e,name:"Custom filter",filterString:"",isDefault:!1,disableSortByModels:!1};return this._setDefaultCustomFilterString(i),i}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-object-navigator"]],hostVars:2,hostBindings:function(i,o){i&2&&Y("object-navigator",o.objNavClassClass)},inputs:{hideFilterContextMenu:"hideFilterContextMenu",filterContextMenu:"filterContextMenu",filterTypes:"filterTypes",filters:"filters",api:"api",projectId:"projectId",selectedObjectId:"selectedObjectId",selectedObjects:"selectedObjects",selectionObject:"selectionObject"},outputs:{filterCriteriaSelectionModeChanged:"filterCriteriaSelectionModeChanged",filterResultObjectSelectionChanged:"filterResultObjectSelectionChanged",filterResultObjectDoubleClicked:"filterResultObjectDoubleClicked",filterResultObjectMouseEntered:"filterResultObjectMouseEntered",filterResultObjectMouseLeft:"filterResultObjectMouseLeft"},standalone:!0,features:[q,S],decls:6,vars:8,consts:[[3,"header","isLoading","loadingSpinnerText"],[1,"object-navigator-content-container"],["data-test","object-navigator-no-filter-types-message",1,"object-navigator-no-filter-types"],[1,"description"],[1,"object-navigator-filters-type"],["data-test","object-navigator-filter-types-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","searchable"],[3,"value",4,"ngFor","ngForOf"],[1,"object-navigator-filters-name"],["data-test","object-navigator-filters-name-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","disabled","searchable"],[1,"object-navigator-filters-name-context-menu",3,"items"],[1,"object-navigator-filter-criteria-panel"],[1,"object-navigator-filter-criteria-header"],[1,"object-navigator-pick-object-button",3,"click","keypress","ngClass","title"],[1,"filter-criteria-container"],[3,"criterium","indent"],[1,"object-navigator-apply-button-row"],[1,"primary-button",3,"click","ngClass","disabled"],[1,"object-navigator-separator"],[3,"value"],["class","object-navigator-filters-name-context-menu",3,"items",4,"ngIf"],[3,"deleteCriterium","criterium","indent"],["id","NoObjectSelected"],[1,"scrollable-content-container"],[3,"filterCriteriaChange","api","selectedLanguage","localizedStrings","filterCriteria","rootObjectId"],[3,"nodeSelectionChanged","nodeDoubleClicked","nodeMouseEntered","nodeMouseLeft","filterResult","selectedObjects"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-sidenav-drawer-content",0),N(1,"translate"),N(2,"translate"),p(3,"div",1),x(4,wO,29,29)(5,xO,3,3,"div",2),f()()),i&2&&(g("header",F(1,4,"_Object navigator"))("isLoading",o.isLoadingResults)("loadingSpinnerText",F(2,6,"_Loading_Filter_Results")),d(4),j(o.filterTypes.length>0?4:5))},dependencies:[L,ie,we,Qe,To,So,Ai,Po,Oo,Ni,x_,ni,ii,Ro,Fo,Q,de,D_,ci,E_,$t],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.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 var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.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:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.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:var(--select-container-placeholder-text-color-enabled)}.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:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.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:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);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:var(--select-multiple-container-value-background-color-disabled)}.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:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[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 var(--select-multiple-container-value-icon-right-border-color-enbabled)}.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:var(--select-multiple-container-value-input-text-color-enabled)}.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:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.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:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);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:var(--dropdown-panel-select-right-border-color-enabled);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:var(--dropdown-panel-select-bottom-border-color-enabled);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:var(--dropdown-panel-select-left-border-color-enabled);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 var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);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:var(--dropdown-panel-items-text-color-enabled);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:var(--dropdown-panel-items-marked-background-color-enabled)}.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:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);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:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.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:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.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}.primary-button{text-transform:uppercase;font: 700 1rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:inline-block;margin-left:.8rem;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem var(--primary-button-border-color-enabled);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer}.primary-button:hover{border:solid .2rem var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.primary-button:focus{border:solid .2rem var(--primary-button-border-color-focused);color:var(--primary-button-text-color-focused);background-color:var(--primary-button-background-color-focused);outline:0}.primary-button:disabled,.primary-button:disabled:active,.primary-button.disabled{border:solid .2rem var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.primary-button:active{border:solid .2rem var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}:host{display:flex}lib-bimplus-sidenav-drawer-content{width:100%;max-height:100%;display:flex;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container{display:flex;flex-direction:column;width:100%;max-height:100%;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.description{margin-bottom:.8rem;font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-no-filter-types{font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem;display:flex;flex-direction:row}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown{flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-filters-name-context-menu{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: 2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filter-criteria-panel{flex:0;padding-top:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-apply-button-row{flex:0;display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-separator{flex:0;border-top:solid .078125em var(--object-navigator-separator-border-color-enabled);padding-bottom:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container{position:relative;flex:1;width:100%;display:flex;flex-direction:column}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container>lib-bimplus-scrollable-container{position:absolute;top:0;bottom:0;flex:1;width:100%}.filter-criteria-container{display:flex;flex-direction:column;width:calc(100% - 2.4rem);padding-left:2.4rem;height:14.4rem}:host(.object-navigator){height:100%;width:100%}.object-navigator-filter-action-buttons{width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button{background-image:url("./assets/Properties_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button.active{background-image:url("./assets/Properties_18_maincolor.svg")}.object-navigator-pick-object-button{background-image:url("./assets/Pipette_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-pick-object-button.active{background-image:url("./assets/Pipette_18_maincolor.svg")}.object-navigator-filter-criteria-header{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}
|
|
33
|
+
`],encapsulation:3})}}return t})();var vp;try{vp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{vp=!1}var Ft=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?ab(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||vp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||t)(B(fn))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var is;function XS(){if(is==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>is=!0}))}finally{is=is||!1}return is}function Wo(t){return XS()?t:!!t.capture}var bp;function JS(){if(bp==null){let t=typeof document<"u"?document.head:null;bp=!!(t&&(t.createShadowRoot||t.attachShadow))}return bp}function Uv(t){if(JS()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Nn(t){return t.composedPath?t.composedPath()[0]:t.target}function Wv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Li(t){return ht(t)?t:ye(t)}function _p(t){return Array.isArray(t)?t:[t]}function Vi(t){return t instanceof G?t.nativeElement:t}var Gv=new Set,Bi,eT=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):nT}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&tT(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||t)(B(Ft),B(Ir,8))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function tT(t,n){if(!Gv.has(t))try{Bi||(Bi=document.createElement("style"),n&&Bi.setAttribute("nonce",n),Bi.setAttribute("type","text/css"),document.head.appendChild(Bi)),Bi.sheet&&(Bi.sheet.insertRule(`@media ${t} {body{ }}`,0),Gv.add(t))}catch(e){console.error(e)}}function nT(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Zv=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new be}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return qv(_p(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=qv(_p(e)).map(s=>this._registerQuery(s).observable),r=gi(o);return r=jt(r.pipe(st(1)),r.pipe(sr(1),hi(0))),r.pipe(ue(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),r={observable:new ge(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Bn(i),ue(({matches:s})=>({query:e,matches:s})),rt(this._destroySubject)),mql:i};return this._queries.set(e,r),r}static{this.\u0275fac=function(i){return new(i||t)(B(eT),B(Me))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function qv(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var iT=200,Cp=class{constructor(n,e){this._letterKeyStream=new be,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new be,this.selectedItem=this._selectedItem;let i=typeof e?.debounceInterval=="number"?e.debounceInterval:iT;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Zt(e=>this._pressedLetters.push(e)),hi(n),rn(()=>this._pressedLetters.length>0),ue(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let o=(this._selectedItemIndex+i)%this._items.length,r=this._items[o];if(!this._skipPredicateFn?.(r)&&r.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(r);break}}this._pressedLetters=[]})}};var wp=class{_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let i=0;i<this._items.length;i++)if(!this._skipPredicateFn(this._items[i])&&!this._isItemDisabled(this._items[i])){n=i;break}let e=this._items[n];e.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=e,this._typeahead?.setCurrentSelectedItemIndex(n),e.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,e){this._activeItemIndex=-1,this._activeItem=null,this._shouldActivationFollowFocus=!1,this._horizontalOrientation="ltr",this._skipPredicateFn=i=>!1,this._trackByFn=i=>i,this._items=[],this._typeaheadSubscription=Ze.EMPTY,this._hasInitialFocused=!1,this.change=new be,n instanceof br?(this._items=n.toArray(),n.changes.subscribe(i=>{this._items=i.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):ht(n)?n.subscribe(i=>{this._items=i,this._typeahead?.setItems(i),this._updateActiveItemIndex(i),this._initializeFocus()}):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let i=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(i<0||i>=this._items.length)return;let o=this._items[i];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let r=this._activeItem;this._activeItem=o??null,this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i),this._activeItem?.focus(),r?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let i=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(e));i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}_setTypeAhead(n){this._typeahead=new Cp(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e<this._items.length;e++)if(!this._skipPredicateFn(this._items[e]))return e;return n}_findPreviousAvailableItemIndex(n){for(let e=n-1;e>=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?Li(this._activeItem.getChildren()).pipe(st(1)).subscribe(n=>{let e=n.find(i=>!this._skipPredicateFn(i));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=Li(n.getChildren()):e=ye(this._items.filter(i=>i.getParent()===null)),e.pipe(st(1)).subscribe(i=>{for(let o of i)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};function oT(){return(t,n)=>new wp(t,n)}var Qv=new W("tree-key-manager",{providedIn:"root",factory:oT});function xp(t){return t.buttons===0||t.detail===0}function Mp(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var rT=new W("cdk-input-modality-detector-options"),sT={ignoreKeys:[18,17,224,91,16]},Xv=650,Go=Wo({passive:!0,capture:!0}),aT=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new Te(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Nn(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<Xv||(this._modality.next(xp(s)?"keyboard":"mouse"),this._mostRecentTarget=Nn(s))},this._onTouchstart=s=>{if(Mp(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Nn(s)},this._options=re(re({},sT),r),this.modalityDetected=this._modality.pipe(sr(1)),this.modalityChanged=this.modalityDetected.pipe(rr()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Go),o.addEventListener("mousedown",this._onMousedown,Go),o.addEventListener("touchstart",this._onTouchstart,Go)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Go),document.removeEventListener("mousedown",this._onMousedown,Go),document.removeEventListener("touchstart",this._onTouchstart,Go))}static{this.\u0275fac=function(i){return new(i||t)(B(Ft),B(Me),B(tt),B(rT,8))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bl=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Bl||{}),lT=new W("cdk-focus-monitor-default-options"),Vl=Wo({passive:!0,capture:!0}),Jv=(()=>{class t{constructor(e,i,o,r,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new be,this._rootNodeFocusAndBlurListener=a=>{let l=Nn(a);for(let c=l;c;c=c.parentElement)a.type==="focus"?this._onFocus(a,c):this._onBlur(a,c)},this._document=r,this._detectionMode=s?.detectionMode||Bl.IMMEDIATE}monitor(e,i=!1){let o=Vi(e);if(!this._platform.isBrowser||o.nodeType!==1)return ye();let r=Uv(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new be,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=Vi(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let r=Vi(e),s=this._getDocument().activeElement;r===s?this._getClosestElementsInfo(r).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Bl.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Bl.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Xv:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),r=Nn(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Vl),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vl)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(rt(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Vl),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vl),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let s=0;s<r.length;s++)if(r[s].contains(i))return!0}return!1}static{this.\u0275fac=function(i){return new(i||t)(B(Me),B(Ft),B(aT),B(tt,8),B(lT,8))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var zi=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(zi||{}),Yv="cdk-high-contrast-black-on-white",Kv="cdk-high-contrast-white-on-black",yp="cdk-high-contrast-active",e_=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=U(Zv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return zi.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return zi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return zi.BLACK_ON_WHITE}return zi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(yp,Yv,Kv),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===zi.BLACK_ON_WHITE?e.add(yp,Yv):i===zi.WHITE_ON_BLACK&&e.add(yp,Kv)}}static{this.\u0275fac=function(i){return new(i||t)(B(Ft),B(tt))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var dT=new W("cdk-dir-doc",{providedIn:"root",factory:uT});function uT(){return U(tt)}var pT=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function mT(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?pT.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var zl=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new M,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=mT(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||t)(B(dT,8))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var kp=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({})}}return t})();function gT(){return!0}var hT=new W("mat-sanity-checks",{providedIn:"root",factory:gT}),nn=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Wv()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(i){return new(i||t)(B(e_),B(hT,8),B(tt))}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[kp,kp]})}}return t})();var Wt=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Wt||{}),Ip=class{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=Wt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},t_=Wo({passive:!0,capture:!0}),Sp=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=Nn(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,e,i,o){let r=this._events.get(e);if(r){let s=r.get(i);s?s.add(o):r.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,t_)})}removeHandler(n,e,i){let o=this._events.get(n);if(!o)return;let r=o.get(e);r&&(r.delete(i),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,t_)))}},n_={enterDuration:225,exitDuration:150},bT=800,i_=Wo({passive:!0,capture:!0}),o_=["mousedown","touchstart"],r_=["mouseup","mouseleave","touchend","touchcancel"],Tp=class t{static{this._eventManager=new Sp}constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Vi(i))}fadeInRipple(n,e,i={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=re(re({},n_),i.animation);i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let s=i.radius||vT(n,e,o),a=n-o.left,l=e-o.top,c=r.enterDuration,m=document.createElement("div");m.classList.add("mat-ripple-element"),m.style.left=`${a-s}px`,m.style.top=`${l-s}px`,m.style.height=`${s*2}px`,m.style.width=`${s*2}px`,i.color!=null&&(m.style.backgroundColor=i.color),m.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(m);let h=window.getComputedStyle(m),w=h.transitionProperty,b=h.transitionDuration,T=w==="none"||b==="0s"||b==="0s, 0s"||o.width===0&&o.height===0,O=new Ip(this,m,i,T);m.style.transform="scale3d(1, 1, 1)",O.state=Wt.FADING_IN,i.persistent||(this._mostRecentTransientRipple=O);let R=null;return!T&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let V=()=>{R&&(R.fallbackTimer=null),clearTimeout(fe),this._finishRippleTransition(O)},Z=()=>this._destroyRipple(O),fe=setTimeout(Z,c+100);m.addEventListener("transitionend",V),m.addEventListener("transitioncancel",Z),R={onTransitionEnd:V,onTransitionCancel:Z,fallbackTimer:fe}}),this._activeRipples.set(O,R),(T||!c)&&this._finishRippleTransition(O),O}fadeOutRipple(n){if(n.state===Wt.FADING_OUT||n.state===Wt.HIDDEN)return;let e=n.element,i=re(re({},n_),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=Wt.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Vi(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,o_.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{r_.forEach(e=>{this._triggerElement.addEventListener(e,this,i_)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Wt.FADING_IN?this._startFadeOutTransition(n):n.state===Wt.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Wt.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Wt.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=xp(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+bT;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Mp(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===Wt.VISIBLE||n.config.terminateOnPointerUp&&n.state===Wt.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(o_.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(r_.forEach(e=>n.removeEventListener(e,this,i_)),this._pointerUpEventsRegistered=!1))}};function vT(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}var c_=new W("mat-ripple-global-options"),_T=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,r,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Tp(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:re(re(re({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,re(re({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,re(re({},this.rippleConfig),e))}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(Me),v(Ft),v(c_,8),v(Er,8))}}static{this.\u0275dir=K({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&Y("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return t})(),d_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[nn,nn]})}}return t})();var s_={capture:!0},a_=["focus","mousedown","mouseenter","touchstart"],Dp="mat-ripple-loader-uninitialized",Ep="mat-ripple-loader-class-name",l_="mat-ripple-loader-centered",Hl="mat-ripple-loader-disabled",u_=(()=>{class t{constructor(){this._document=U(tt,{optional:!0}),this._animationMode=U(Er,{optional:!0}),this._globalRippleOptions=U(c_,{optional:!0}),this._platform=U(Ft),this._ngZone=U(Me),this._hosts=new Map,this._onInteraction=e=>{let i=Nn(e);if(i instanceof HTMLElement){let o=i.closest(`[${Dp}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}},this._ngZone.runOutsideAngular(()=>{for(let e of a_)this._document?.addEventListener(e,this._onInteraction,s_)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of a_)this._document?.removeEventListener(i,this._onInteraction,s_)}configureRipple(e,i){e.setAttribute(Dp,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Ep))&&e.setAttribute(Ep,i.className||""),i.centered&&e.setAttribute(l_,""),i.disabled&&e.setAttribute(Hl,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let o=this._hosts.get(e);if(o){o.disabled=i;return}i?e.setAttribute(Hl,""):e.removeAttribute(Hl)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(Ep)),e.append(o);let r=new _T(new G(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=e,r.centered=e.hasAttribute(l_),r.disabled=e.hasAttribute(Hl),this.attachRipple(e,r),r}attachRipple(e,i){e.removeAttribute(Dp),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var p_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[nn,nn]})}}return t})();var yT=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var CT=["mat-icon-button",""],wT=["*"];var xT=new W("MAT_BUTTON_CONFIG");var MT=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],kT=(()=>{class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,o,r){this._elementRef=e,this._platform=i,this._ngZone=o,this._animationMode=r,this._focusMonitor=U(Jv),this._rippleLoader=U(u_),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=U(xT,{optional:!0}),a=e.nativeElement,l=a.classList;this.disabledInteractive=s?.disabledInteractive??!1,this.color=s?.color??null,this._rippleLoader?.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:c,mdcClasses:m}of MT)a.hasAttribute(c)&&l.add(...m)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(i){lh()}}static{this.\u0275dir=K({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",k],disabled:[2,"disabled","disabled",k],ariaDisabled:[2,"aria-disabled","ariaDisabled",k],disabledInteractive:[2,"disabledInteractive","disabledInteractive",k]},features:[he]})}}return t})();var m_=(()=>{class t extends kT{constructor(e,i,o,r){super(e,i,o,r),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(Ft),v(Me),v(Er,8))}}static{this.\u0275cmp=I({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(X("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Nr(o.color?"mat-"+o.color:""),Y("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[q,S],attrs:CT,ngContentSelectors:wT,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(je(),E(0,"span",0),Ee(1),E(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',yT],encapsulation:2,changeDetection:0})}}return t})();var f_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[nn,d_,nn]})}}return t})();var $l=class{};function g_(t){return t&&typeof t.connect=="function"&&!(t instanceof Jo)}var li=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,o){this._multiple=n,this._emitChanges=i,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new be,e&&e.length&&(n?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n);n.forEach(r=>this._markSelected(r)),e.filter(r=>!i.has(this._getConcreteValue(r,i))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};var Op=class{constructor(){this.expansionModel=new li(!0)}toggle(n){this.expansionModel.toggle(this._trackByValue(n))}expand(n){this.expansionModel.select(this._trackByValue(n))}collapse(n){this.expansionModel.deselect(this._trackByValue(n))}isExpanded(n){return this.expansionModel.isSelected(this._trackByValue(n))}toggleDescendants(n){this.expansionModel.isSelected(this._trackByValue(n))?this.collapseDescendants(n):this.expandDescendants(n)}collapseAll(){this.expansionModel.clear()}expandDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.select(...e.map(i=>this._trackByValue(i)))}collapseDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.deselect(...e.map(i=>this._trackByValue(i)))}_trackByValue(n){return this.trackBy?this.trackBy(n):n}},Ul=class extends Op{constructor(n,e,i){super(),this.getLevel=n,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(n){let e=this.dataNodes.indexOf(n),i=[];for(let o=e+1;o<this.dataNodes.length&&this.getLevel(n)<this.getLevel(this.dataNodes[o]);o++)i.push(this.dataNodes[o]);return i}expandAll(){this.expansionModel.select(...this.dataNodes.map(n=>this._trackByValue(n)))}};var b_=new W("CDK_TREE_NODE_OUTLET_NODE"),Pp=(()=>{class t{constructor(e,i){this.viewContainer=e,this._node=i}static{this.\u0275fac=function(i){return new(i||t)(v(gn),v(b_,8))}}static{this.\u0275dir=K({type:t,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return t})(),Ap=class{constructor(n){this.$implicit=n}},Wl=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(v(ke))}}static{this.\u0275dir=K({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return t})();function h_(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}var qo=(()=>{class t{get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}constructor(e,i){this._differs=e,this._changeDetectorRef=i,this._dir=U(zl),this._onDestroy=new be,this._levels=new Map,this._parents=new Map,this._ariaSets=new Map,this.viewChange=new Te({start:0,end:Number.MAX_VALUE}),this._flattenedNodes=new Te([]),this._nodeType=new Te(null),this._nodes=new Te(new Map),this._keyManagerNodes=new Te([]),this._keyManagerFactory=U(Qv),this._viewInit=!1}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){let e=this._nodeDefs.filter(i=>!i.when);e.length>1,this._defaultNodeDef=e[0]}_setNodeTypeIfUnset(e){this._nodeType.value===null&&this._nodeType.next(e)}_switchDataSource(e){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new li(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let e;g_(this._dataSource)?e=this._dataSource.connect(this):ht(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=ye(this._dataSource)),e&&(this._dataSubscription=this._getRenderData(e).pipe(rt(this._onDestroy)).subscribe(i=>{this._renderDataChanges(i)}))}_getRenderData(e){let i=this._getExpansionModel();return gi([e,this._nodeType,i.changed.pipe(Bn(null),Zt(o=>{this._emitExpansionChanges(o)}))]).pipe(St(([o,r])=>r===null?ye({renderNodes:o,flattenedNodes:null,nodeType:r}):this._computeRenderingData(o,r).pipe(ue(s=>qe(re({},s),{nodeType:r})))))}_renderDataChanges(e){if(e.nodeType===null){this.renderNodeChanges(e.renderNodes);return}this._updateCachedData(e.flattenedNodes),this.renderNodeChanges(e.renderNodes),this._updateKeyManagerItems(e.flattenedNodes)}_emitExpansionChanges(e){if(!e)return;let i=this._nodes.value;for(let o of e.added)i.get(o)?._emitExpansionState(!0);for(let o of e.removed)i.get(o)?._emitExpansionState(!1)}_initializeKeyManager(){let e=gi([this._keyManagerNodes,this._nodes]).pipe(ue(([o,r])=>o.reduce((s,a)=>{let l=r.get(this._getExpansionKey(a));return l&&s.push(l),s},[]))),i={trackBy:o=>this._getExpansionKey(o.data),skipPredicate:o=>!!o.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value};this._keyManager=this._keyManagerFactory(e,i)}_initializeDataDiffer(){let e=this.trackBy??((i,o)=>this._getExpansionKey(o));this._dataDiffer=this._differs.find([]).create(e)}_checkTreeControlUsage(){}renderNodeChanges(e,i=this._dataDiffer,o=this._nodeOutlet.viewContainer,r){let s=i.diff(e);!s&&!this._viewInit||(s?.forEachOperation((a,l,c)=>{if(a.previousIndex==null)this.insertNode(e[c],c,o,r);else if(c==null)o.remove(l);else{let m=o.get(l);o.move(m,c)}}),s?.forEachIdentityChange(a=>{let l=a.item;if(a.currentIndex!=null){let c=o.get(a.currentIndex);c.context.$implicit=l}}),r?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(e,i){if(this._nodeDefs.length===1)return this._nodeDefs.first;let o=this._nodeDefs.find(r=>r.when&&r.when(i,e))||this._defaultNodeDef;return o}insertNode(e,i,o,r){let s=this._getLevelAccessor(),a=this._getNodeDef(e,i),l=this._getExpansionKey(e),c=new Ap(e);r??=this._parents.get(l)??void 0,s?c.level=s(e):r!==void 0&&this._levels.has(this._getExpansionKey(r))?c.level=this._levels.get(this._getExpansionKey(r))+1:c.level=0,this._levels.set(l,c.level),(o||this._nodeOutlet.viewContainer).createEmbeddedView(a.template,c,i),Hi.mostRecentTreeNode&&(Hi.mostRecentTreeNode.data=e)}isExpanded(e){return!!(this.treeControl?.isExpanded(e)||this._expansionModel?.isSelected(this._getExpansionKey(e)))}toggle(e){this.treeControl?this.treeControl.toggle(e):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(e))}expand(e){this.treeControl?this.treeControl.expand(e):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(e))}collapse(e){this.treeControl?this.treeControl.collapse(e):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(e))}toggleDescendants(e){this.treeControl?this.treeControl.toggleDescendants(e):this._expansionModel&&(this.isExpanded(e)?this.collapseDescendants(e):this.expandDescendants(e))}expandDescendants(e){if(this.treeControl)this.treeControl.expandDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.select(this._getExpansionKey(e)),this._getDescendants(e).pipe(st(1),rt(this._onDestroy)).subscribe(o=>{i.select(...o.map(r=>this._getExpansionKey(r)))})}}collapseDescendants(e){if(this.treeControl)this.treeControl.collapseDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.deselect(this._getExpansionKey(e)),this._getDescendants(e).pipe(st(1),rt(this._onDestroy)).subscribe(o=>{i.deselect(...o.map(r=>this._getExpansionKey(r)))})}}expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._expansionModel.select(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._expansionModel.deselect(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(e){let i=this._getLevelAccessor(),o=this._expansionModel??this.treeControl?.expansionModel;if(!o)return ye([]);let r=this._getExpansionKey(e),s=o.changed.pipe(St(l=>l.added.includes(r)?ye(!0):l.removed.includes(r)?ye(!1):mi),Bn(this.isExpanded(e)));if(i)return gi([s,this._flattenedNodes]).pipe(ue(([l,c])=>l?this._findChildrenByLevel(i,c,e,1):[]));let a=this._getChildrenAccessor();if(a)return Li(a(e)??[]);throw h_()}_findChildrenByLevel(e,i,o,r){let s=this._getExpansionKey(o),a=i.findIndex(h=>this._getExpansionKey(h)===s),l=e(o),c=l+r,m=[];for(let h=a+1;h<i.length;h++){let w=e(i[h]);if(w<=l)break;w<=c&&m.push(i[h])}return m}_registerNode(e){this._nodes.value.set(this._getExpansionKey(e.data),e),this._nodes.next(this._nodes.value)}_unregisterNode(e){this._nodes.value.delete(this._getExpansionKey(e.data)),this._nodes.next(this._nodes.value)}_getLevel(e){return this._levels.get(this._getExpansionKey(e))}_getSetSize(e){return this._getAriaSet(e).length}_getPositionInSet(e){let i=this._getAriaSet(e),o=this._getExpansionKey(e);return i.findIndex(r=>this._getExpansionKey(r)===o)+1}_getNodeParent(e){let i=this._parents.get(this._getExpansionKey(e.data));return i&&this._nodes.value.get(this._getExpansionKey(i))}_getNodeChildren(e){return this._getDirectChildren(e.data).pipe(ue(i=>i.reduce((o,r)=>{let s=this._nodes.value.get(this._getExpansionKey(r));return s&&o.push(s),o},[])))}_sendKeydownToKeyManager(e){this._keyManager.onKeydown(e)}_getDescendants(e){if(this.treeControl)return ye(this.treeControl.getDescendants(e));if(this.levelAccessor){let i=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,e,1/0);return ye(i)}if(this.childrenAccessor)return this._getAllChildrenRecursively(e).pipe(Vs((i,o)=>(i.push(...o),i),[]));throw h_()}_getAllChildrenRecursively(e){return this.childrenAccessor?Li(this.childrenAccessor(e)).pipe(st(1),St(i=>{for(let o of i)this._parents.set(this._getExpansionKey(o),e);return ye(...i).pipe(It(o=>jt(ye([o]),this._getAllChildrenRecursively(o))))})):ye([])}_getExpansionKey(e){return this.expansionKey?.(e)??e}_getAriaSet(e){let i=this._getExpansionKey(e),o=this._parents.get(i),r=o?this._getExpansionKey(o):null;return this._ariaSets.get(r)??[e]}_findParentForNode(e,i,o){if(!o.length)return null;let r=this._levels.get(this._getExpansionKey(e))??0;for(let s=i-1;s>=0;s--){let a=o[s];if((this._levels.get(this._getExpansionKey(a))??0)<r)return a}return null}_flattenNestedNodesWithExpansion(e,i=0){let o=this._getChildrenAccessor();return o?ye(...e).pipe(It(r=>{let s=this._getExpansionKey(r);this._parents.has(s)||this._parents.set(s,null),this._levels.set(s,i);let a=Li(o(r));return jt(ye([r]),a.pipe(st(1),Zt(l=>{this._ariaSets.set(s,[...l??[]]);for(let c of l??[]){let m=this._getExpansionKey(c);this._parents.set(m,r),this._levels.set(m,i+1)}}),St(l=>l?this._flattenNestedNodesWithExpansion(l,i+1).pipe(ue(c=>this.isExpanded(r)?c:[])):ye([]))))}),Vs((r,s)=>(r.push(...s),r),[])):ye([...e])}_computeRenderingData(e,i){if(this.childrenAccessor&&i==="flat")return this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(ue(o=>({renderNodes:o,flattenedNodes:o})));if(this.levelAccessor&&i==="nested"){let o=this.levelAccessor;return ye(e.filter(r=>o(r)===0)).pipe(ue(r=>({renderNodes:r,flattenedNodes:e})),Zt(({flattenedNodes:r})=>{this._calculateParents(r)}))}else return i==="flat"?ye({renderNodes:e,flattenedNodes:e}).pipe(Zt(({flattenedNodes:o})=>{this._calculateParents(o)})):(this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(ue(o=>({renderNodes:e,flattenedNodes:o}))))}_updateCachedData(e){this._flattenedNodes.next(e)}_updateKeyManagerItems(e){this._keyManagerNodes.next(e)}_calculateParents(e){let i=this._getLevelAccessor();if(i){this._parents.clear(),this._ariaSets.clear();for(let o=0;o<e.length;o++){let r=e[o],s=this._getExpansionKey(r);this._levels.set(s,i(r));let a=this._findParentForNode(r,o,e);this._parents.set(s,a);let l=a?this._getExpansionKey(a):null,c=this._ariaSets.get(l)??[];c.splice(o,0,r),this._ariaSets.set(l,c)}}}static{this.\u0275fac=function(i){return new(i||t)(v(wo),v(We))}}static{this.\u0275cmp=I({type:t,selectors:[["cdk-tree"]],contentQueries:function(i,o,r){if(i&1&&_t(r,Wl,5),i&2){let s;Ie(s=Se())&&(o._nodeDefs=s)}},viewQuery:function(i,o){if(i&1&&nt(Pp,7),i&2){let r;Ie(r=Se())&&(o._nodeOutlet=r.first)}},hostAttrs:["role","tree",1,"cdk-tree"],hostBindings:function(i,o){i&1&&_("keydown",function(s){return o._sendKeydownToKeyManager(s)})},inputs:{dataSource:"dataSource",treeControl:"treeControl",levelAccessor:"levelAccessor",childrenAccessor:"childrenAccessor",trackBy:"trackBy",expansionKey:"expansionKey"},exportAs:["cdkTree"],standalone:!0,features:[S],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(i,o){i&1&&at(0,0)},dependencies:[Pp],encapsulation:2})}}return t})(),Hi=(()=>{class t{get role(){return"treeitem"}set role(e){}get isExpandable(){return this._isExpandable()}set isExpandable(e){this._inputIsExpandable=e,!(this.data&&!this._isExpandable||!this._inputIsExpandable)&&(this._inputIsExpanded?this.expand():this._inputIsExpanded===!1&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(e){this._inputIsExpanded=e,e?this.expand():this.collapse()}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,this._dataChanges.next())}get isLeafNode(){return this._tree.treeControl?.isExpandable!==void 0&&!this._tree.treeControl.isExpandable(this._data)?!0:this._tree.treeControl?.isExpandable===void 0&&this._tree.treeControl?.getDescendants(this._data).length===0}get level(){return this._tree._getLevel(this._data)??this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}constructor(e,i){this._elementRef=e,this._tree=i,this._tabindex=-1,this.activation=new M,this.expandedChange=new M,this._destroyed=new be,this._dataChanges=new be,this._inputIsExpandable=!1,this._inputIsExpanded=void 0,this._shouldFocus=!0,this._changeDetectorRef=U(We),t.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=ET(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe(ue(()=>this.isExpanded),rr()).subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._tree._setNodeTypeIfUnset("flat"),this._tree._registerNode(this)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(e){this.expandedChange.emit(e)}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(qo))}}static{this.\u0275dir=K({type:t,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(i,o){i&1&&_("click",function(){return o._setActiveItem()})("focus",function(){return o._focusItem()}),i&2&&(Rr("tabindex",o._tabindex),X("aria-expanded",o._getAriaExpanded())("aria-level",o.level+1)("aria-posinset",o._getPositionInSet())("aria-setsize",o._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",k],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",k],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"],standalone:!0,features:[he]})}}return t})();function ET(t){let n=t.parentElement;for(;n&&!IT(n);)n=n.parentElement;return n?n.classList.contains("cdk-nested-tree-node")?Nt(n.getAttribute("aria-level")):0:-1}function IT(t){let n=t.classList;return!!(n?.contains("cdk-nested-tree-node")||n?.contains("cdk-tree"))}var ST=/([A-Za-z%]+)$/,Np=(()=>{class t{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}constructor(e,i,o,r){this._treeNode=e,this._tree=i,this._element=o,this._dir=r,this._destroyed=new be,this.indentUnits="px",this._indent=40,this._setPadding(),r&&r.change.pipe(rt(this._destroyed)).subscribe(()=>this._setPadding(!0)),e._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){let e=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,i=this._level==null?e:this._level;return typeof i=="number"?`${i*this._indent}${this.indentUnits}`:null}_setPadding(e=!1){let i=this._paddingIndent();if(i!==this._currentPadding||e){let o=this._element.nativeElement,r=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",s=r==="paddingLeft"?"paddingRight":"paddingLeft";o.style[r]=i||"",o.style[s]="",this._currentPadding=i}}_setLevelInput(e){this._level=isNaN(e)?null:e,this._setPadding()}_setIndentInput(e){let i=e,o="px";if(typeof e=="string"){let r=e.split(ST);i=r[0],o=r[1]||o}this.indentUnits=o,this._indent=Nt(i),this._setPadding()}static{this.\u0275fac=function(i){return new(i||t)(v(Hi),v(qo),v(G),v(zl,8))}}static{this.\u0275dir=K({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",Nt],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[he]})}}return t})(),Fp=(()=>{class t{constructor(e,i){this._tree=e,this._treeNode=i,this.recursive=!1}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static{this.\u0275fac=function(i){return new(i||t)(v(qo),v(Hi))}}static{this.\u0275dir=K({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(i,o){i&1&&_("click",function(s){return o._toggle(),s.stopPropagation()})("keydown.Enter",function(s){return o._toggle(),s.preventDefault()})("keydown.Space",function(s){return o._toggle(),s.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",k]},standalone:!0,features:[he]})}}return t})();var Gl=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({})}}return t})();var v_=(()=>{class t extends Wl{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})()}static{this.\u0275dir=K({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[ne([{provide:Wl,useExisting:t}]),q]})}}return t})();var __=(()=>{class t extends Np{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})()}static{this.\u0275dir=K({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:[2,"matTreeNodePadding","level",Nt],indent:[0,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[ne([{provide:Np,useExisting:t}]),he,q]})}}return t})();var y_=(()=>{class t extends Fp{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=zt(t)))(o||t)}})()}static{this.\u0275dir=K({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[ne([{provide:Fp,useExisting:t}]),q]})}}return t})();var C_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Re({type:t})}static{this.\u0275inj=Fe({imports:[Gl,nn,nn]})}}return t})(),ql=class{constructor(n,e,i,o){this.transformFunction=n,this.getLevel=e,this.isExpandable=i,this.getChildren=o}_flattenNode(n,e,i,o){let r=this.transformFunction(n,e);if(i.push(r),this.isExpandable(r)){let s=this.getChildren(n);s&&(Array.isArray(s)?this._flattenChildren(s,e,i,o):s.pipe(st(1)).subscribe(a=>{this._flattenChildren(a,e,i,o)}))}return i}_flattenChildren(n,e,i,o){n.forEach((r,s)=>{let a=o.slice();a.push(s!=n.length-1),this._flattenNode(r,e+1,i,a)})}flattenNodes(n){let e=[];return n.forEach(i=>this._flattenNode(i,0,e,[])),e}expandFlattenedNodes(n,e){let i=[],o=[];return o[0]=!0,n.forEach(r=>{let s=!0;for(let a=0;a<=this.getLevel(r);a++)s=s&&o[a];s&&i.push(r),this.isExpandable(r)&&(o[this.getLevel(r)+1]=e.isExpanded(r))}),i}},Zl=class extends $l{get data(){return this._data.value}set data(n){this._data.next(n),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(n,e,i){super(),this._treeControl=n,this._treeFlattener=e,this._flattenedData=new Te([]),this._expandedData=new Te([]),this._data=new Te([]),i&&(this.data=i)}connect(n){return xn(n.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(ue(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}};var Yl=(()=>{class t{constructor(e){this.elementRef=e,this.clickOutside=new M}onClick(e){this.elementRef.nativeElement.contains(e)||this.clickOutside.emit()}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275dir=K({type:t,selectors:[["","libClickOutside",""]],hostBindings:function(i,o){i&1&&_("click",function(s){return o.onClick(s.target)},!1,Pt)},outputs:{clickOutside:"clickOutside"},standalone:!0})}}return t})();var PT=(t,n)=>({"top.px":t,"left.px":n});function AT(t,n){if(t&1&&E(0,"div",10),t&2){let e=u(2).$implicit;Ue("background-image","url("+e.icon+")")}}function NT(t,n){if(t&1){let e=A();p(0,"li",7),_("click",function(){y(e);let o=u().$implicit,r=u(2);return C(r._actionClick(o))})("keypress",function(){y(e);let o=u().$implicit,r=u(2);return C(r._actionClick(o))}),x(1,AT,1,2,"div",8),p(2,"div",9),D(3),f()()}if(t&2){let e=u().$implicit,i=u(2);Y("basic-context-menu__item--disabled",i._disabled(e)),d(),g("ngIf",i.showIcons),d(),ve("title",e.tooltip?e.tooltip:e.title),d(),H(" ",e.title," ")}}function FT(t,n){t&1&&E(0,"div",11)}function RT(t,n){if(t&1&&(pt(0),x(1,NT,4,5,"li",5)(2,FT,1,0,"div",6),mt()),t&2){let e=n.$implicit;d(),g("ngIf",e.id!=="separator"),d(),g("ngIf",e.id==="separator")}}function jT(t,n){if(t&1&&(p(0,"ul",3),x(1,RT,3,2,"ng-container",4),f()),t&2){let e=u();g("ngStyle",ft(2,PT,e._position.posY,e._position.posX)),d(),g("ngForOf",e._items)}}var ci=(()=>{class t{get items(){return this._items}set items(e){e&&(this._items=e)}constructor(e){this.el=e,this.triggerSelected=new M,this.showIcons=!0,this.triggerTitle="",this._showDropdown=!1,this._items=new Array,this._data=void 0,this._position={posX:-2e3,posY:-2e3},this._element=this.el.nativeElement.shadowRoot}get data(){return this._data}set data(e){this._data=e}_clickOutside(){this._stopTriggerPositionTracking(),this._showDropdown=!1}_actionClick(e){if(this._showDropdown=!1,typeof e.disabled=="function"){if(e.disabled?.(this._data))return;e.action?.(this._data);return}e.disabled||e.action?.(this._data)}_disabled(e){return e.disabled?typeof e.disabled=="function"?e.disabled?.(this._data):e.disabled:!1}_calculateContextMenuPosition(){let e=this._element.querySelector(".context-menu-trigger");if(!e)return;let i=e.getBoundingClientRect();this._position.posX=i.right,this._position.posY=i.top}_stopTriggerPositionTracking(){this._interval&&(clearInterval(this._interval),this._interval=void 0)}_startTriggerPositionTracking(){this._interval||(this._interval=setInterval(()=>{this._calculateContextMenuPosition()},50))}_toggleDropdown(e){this._showDropdown=!this._showDropdown,this._calculateContextMenuPosition(),this._startTriggerPositionTracking(),oe(this,"triggerSelected"),e.stopPropagation()}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-context-menu"]],inputs:{showIcons:[2,"showIcons","showIcons",k],triggerTitle:"triggerTitle",items:"items",data:"data"},outputs:{triggerSelected:"triggerSelected"},standalone:!0,features:[he,S],decls:3,vars:2,consts:[["libClickOutside","",1,"basic-context-menu",3,"clickOutside"],[1,"context-menu-trigger",3,"click","keypress","title"],["class","basic-context-menu__list",3,"ngStyle",4,"ngIf"],[1,"basic-context-menu__list",3,"ngStyle"],[4,"ngFor","ngForOf"],["class","basic-context-menu__item",3,"basic-context-menu__item--disabled","click","keypress",4,"ngIf"],["class","basic-context-menu__item__separator",4,"ngIf"],[1,"basic-context-menu__item",3,"click","keypress"],["class","basic-context-menu__item__icon",3,"background-image",4,"ngIf"],[1,"basic-context-menu__item__label",3,"title"],[1,"basic-context-menu__item__icon"],[1,"basic-context-menu__item__separator"]],template:function(i,o){i&1&&(p(0,"div",0),_("clickOutside",function(){return o._clickOutside()}),p(1,"div",1),_("click",function(s){return o._toggleDropdown(s)})("keypress",function(s){return o._toggleDropdown(s)}),f(),x(2,jT,2,5,"ul",2),f()),i&2&&(d(),ve("title",o.triggerTitle),d(),g("ngIf",o._showDropdown))},dependencies:[we,Qe,ko,Yl],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.no-transition{-moz-transition:none;-webkit-transition:none;-o-transition:color 0 ease-in;transition:none}.ml-1{margin-left:1rem}.mr-1{margin-right:1rem}.h-full{height:100%}.fixed{position:fixed}.basic-context-menu{display:block;font-family:var(--context-menu-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--context-menu-font-size, 1.4rem)}.basic-context-menu>.context-menu-trigger{min-width:var(--context-menu-trigger-width, 2.5rem);max-width:var(--context-menu-trigger-width, 2.5rem);min-height:var(--context-menu-trigger-height, 2.5rem);max-height:var(--context-menu-trigger-height, 2.5rem);background-repeat:no-repeat;background-position:center;background-image:url("./assets/3_dots.svg");background-color:var(--context-menu-trigger-bkg-color, transparent)}.basic-context-menu>.context-menu-trigger:hover{background-image:url("./assets/3_dots_active.svg")}.basic-context-menu>.basic-context-menu__list{z-index:1;margin:0;position:fixed;top:-2000;left:-2000;translate:var(--context-menu-translate-x, 0) var(--context-menu-translate-y, 0);border:thin solid var(--context-menu-list-border-color-enabled);border-top-width:0;padding-top:.8rem;padding-bottom:.8rem;padding-left:0;padding-right:0;border-bottom-left-radius:var(--context-menu-border-radius, .6rem);border-bottom-right-radius:var(--context-menu-border-radius, .6rem);border-top-left-radius:var(--context-menu-border-radius, .6rem);border-top-right-radius:var(--context-menu-border-radius, .6rem);-webkit-box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);-moz-box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);width:fit-content;min-width:var(--context-menu-min-width, 10rem);max-width:var(--context-menu-max-width, 30rem);background-color:var(--context-menu-list-background-color)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item{display:flex;flex-direction:row;cursor:pointer;line-height:var(--context-menu-item-line-height, 3.2rem);list-style-type:none;padding-left:1.2rem;padding-right:2.1rem}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item>.basic-context-menu__item__label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--context-menu-font-weight, 700);color:var(--context-menu-item-label-text-color-enabled)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item>.basic-context-menu__item__icon{height:var(--context-menu-item-line-height, 3.2rem);width:var(--context-menu-item-line-height, 3.2rem);min-width:var(--context-menu-item-line-height, 3.2rem);background-repeat:no-repeat;background-size:var(--context-menu-item-icon-size, 1.8rem);margin-right:.6rem;background-position:center;background-image:url("./assets/bimplus_Components_Info_Active.svg")}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item:hover{background-color:var(--context-menu-item-background-color-hovered)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item__separator{border-top:solid .2rem var(--context-menu-item-seperator-border-color-enabled)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled{background-color:transparent;cursor:default}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled>*{opacity:var(--context-menu-item-disabled-opacity, .3)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled:hover{cursor:default;background-color:var(--context-menu-item-background-color-disabled)}
|
|
34
|
+
`],encapsulation:3})}}return t})();var w_=t=>({node:t});function LT(t,n){if(t&1&&(p(0,"div",5),D(1),f()),t&2){let e=u();d(),ee(e.treeTitle)}}function VT(t,n){if(t&1&&at(0,8),t&2){let e=u().$implicit,i=u();g("ngTemplateOutlet",i.customNodeTemplate)("ngTemplateOutletContext",Oe(2,w_,e))}}function BT(t,n){t&1&&E(0,"div",13)}function zT(t,n){t&1&&E(0,"div",14)}function HT(t,n){if(t&1&&(x(0,BT,1,0,"div",10),p(1,"span",11),x(2,zT,1,0,"div",12),p(3,"div"),D(4),f()()),t&2){let e=u().$implicit,i=u();g("ngIf",i.showObjectsIcons),d(),Y("selected-node",i._isSelected(e)),d(3),H(" ",e.name," ")}}function $T(t,n){if(t&1){let e=A();p(0,"lib-bimplus-context-menu",15),_("triggerSelected",function(o){y(e);let r=u().$implicit,s=u();return C(s._toggleNode(o,r))}),f()}if(t&2){let e=u().$implicit,i=u();g("items",i.contextMenus==null?null:i.contextMenus.objectContextMenuitems)("data",e)}}function UT(t,n){if(t&1){let e=A();p(0,"cdk-tree-node",6),_("click",function(o){let r=y(e).$implicit,s=u();return C(s._toggleNode(o,r))})("keypress",function(o){let r=y(e).$implicit,s=u();return C(s._toggleNode(o,r))}),E(1,"button",7),x(2,VT,1,4,"ng-container",8)(3,HT,5,4)(4,$T,1,2,"lib-bimplus-context-menu",9),f()}if(t&2){let e=n.$implicit,i=u();Y("dragable-node",i.enableDragAndDrop&&e.level>0)("selected-node",i._isSelected(e)),g("matTreeNodePaddingIndent",i.paddingIndent)("title",e.name),X("data-test",i.dataTestPrefix+e.id)("node-id",e.id),d(2),j(i.customNodeTemplate&&i._isCustomNodeType(e)?2:3),d(2),g("ngIf",i.contextMenus==null||i.contextMenus.objectContextMenuitems==null?null:i.contextMenus.objectContextMenuitems.length)}}function WT(t,n){if(t&1&&at(0,8),t&2){let e=u().$implicit,i=u();g("ngTemplateOutlet",i.customNodeTemplate)("ngTemplateOutletContext",Oe(2,w_,e))}}function GT(t,n){t&1&&E(0,"div",20)}function qT(t,n){t&1&&E(0,"div",14)}function ZT(t,n){if(t&1&&(x(0,GT,1,0,"div",19),p(1,"span",11),x(2,qT,1,0,"div",12),p(3,"div",11),D(4),f()()),t&2){let e=u().$implicit,i=u();g("ngIf",i.showFoldersIcons),d(),Y("selected-node",i._isSelected(e))("selected-all-descendants-nodes",i._descendantsAllSelected(e)&&i._isSelected(e)&&i.enableParentHighlighting)("selected-partially-descendants-nodes",i._descendantsPartiallySelected(e)&&i.enableParentHighlighting),d(3),H(" ",e.name," ")}}function YT(t,n){if(t&1){let e=A();p(0,"lib-bimplus-context-menu",15),_("triggerSelected",function(o){y(e);let r=u().$implicit,s=u();return C(s._toggleNode(o,r))}),f()}if(t&2){let e=u().$implicit,i=u();g("items",i.contextMenus==null?null:i.contextMenus.folderContextMenuitems)("data",e)}}function KT(t,n){if(t&1){let e=A();p(0,"cdk-tree-node",16),_("click",function(o){let r=y(e).$implicit,s=u();return C(s._toggleNode(o,r))})("keypress",function(o){let r=y(e).$implicit,s=u();return C(s._toggleNode(o,r))}),p(1,"button",17),E(2,"div",18),f(),x(3,WT,1,4,"ng-container",8)(4,ZT,5,8)(5,YT,1,2,"lib-bimplus-context-menu",9),f()}if(t&2){let e=n.$implicit,i=u();Y("dragable-node",i.enableDragAndDrop&&e.level>0)("selected-node",i._isSelected(e)),g("matTreeNodePaddingIndent",i.paddingIndent)("title",e.name),X("data-test",i.dataTestPrefix+e.id)("node-id",e.id),d(),X("aria-label","Toggle "+e.name),d(),Y("expand-more-icon",i._hasChildren(e)&&!i._treeControl.isExpanded(e))("collapse-icon",i._hasChildren(e)&&i._treeControl.isExpanded(e)),d(),j(i.customNodeTemplate&&i._isCustomNodeType(e)?3:4),d(2),g("ngIf",i.contextMenus==null||i.contextMenus.folderContextMenuitems==null?null:i.contextMenus.folderContextMenuitems.length)}}var Rt=(()=>{class t{constructor(e){this.el=e,this.treeDataStringified=null,this.treeTitle="",this.paddingIndent="2.8rem",this.multiSelect=!1,this.oneLevelMultiSelect=!1,this.showFoldersIcons=!1,this.showObjectsIcons=!1,this.enableSelect=!0,this.enableParentHighlighting=!0,this.enableDragAndDrop=!1,this.dataTestPrefix="",this.contextMenus=null,this.customNodeTemplate=null,this.selectedNodes=new M,this._selectionList=void 0,this._transformer=(i,o)=>({expandable:i.children!==void 0,children_count:i.children?.length,name:i.name,id:i.id,level:o,parent:i.parent,nodeType:i.nodeType}),this._treeControl=new Ul(i=>i.level,i=>i.expandable),this._treeFlattener=new ql(this._transformer,i=>i.level,i=>i.expandable,i=>i.children),this._dataSource=new Zl(this._treeControl,this._treeFlattener),this._isExpendable=(i,o)=>o.expandable}get treeData(){return this._dataSource.data}set treeData(e){this.treeDataStringified=null,this._dataSource.data=e}ngOnInit(){let e=this.el.nativeElement;e&&(e.get_node=this.get_node.bind(this),e.select_node=this.select_node.bind(this)),this._selectionList=new li(this.multiSelect||this.oneLevelMultiSelect),this.treeDataStringified&&this._setNewData(this.treeDataStringified)}expandTree(){this._treeControl.expandAll()}_getNode(e,i){for(let o of i){if(o.id===e)return o;if(o.children){let r=this._getNode(e,o.children);if(r)return r}}return null}get_node(e,i=!1){return typeof e=="string"?this._getNode(e,this._dataSource.data):i?this.el.nativeElement.querySelector(`[node-id='${e.id}']`):this._getNode(e.id,this._dataSource.data)}select_node(e,i=!1){let o=this._treeControl.dataNodes.find(r=>r.id===e);if(o&&this._selectionList&&(this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==o.parent&&this._selectionList.clear(),!this._selectionList.isSelected(o))){if(this._selectionList.select(o),!this.multiSelect&&!this.oneLevelMultiSelect&&!i){oe(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(o),this.enableParentHighlighting&&this._updateParentSelections(o),i||oe(this,"selectedNodes",this._selectionList.selected)}}reset_selection(){this._selectionList?.clear()}expand_node(e){let i=this._treeControl.dataNodes.find(o=>o.id===e);i&&this._treeControl.expand(i)}is_expanded(e){let i=this._treeControl.dataNodes.find(o=>o.id===e);return i?this._treeControl.isExpanded(i):!1}is_selected(e){if(!this._selectionList)return;let i=this._treeControl.dataNodes.find(o=>o.id===e);return i?this._selectionList?.isSelected(i):!1}_setNewData(e){let i=JSON.parse(e);this._dataSource.data=i??[]}_changedTreeData(e){this._setNewData(e.currentValue)}ngOnChanges(e){(e.multiSelect||e.oneLevelMultiSelect)&&(this._selectionList=new li(this.multiSelect||this.oneLevelMultiSelect)),e.treeDataStringified&&this._changedTreeData(e.treeDataStringified)}_isCustomNodeType(e){return e.nodeType!=null&&e.nodeType!=""}_hasChildren(e){return!e.expandable||e.children_count===void 0?!1:e.children_count>0}_descendantsAllSelected(e){if(!this._selectionList)return!1;let i=this._selectionList,o=this._treeControl.getDescendants(e);return o.length===0?!0:o.length>0&&o.every(s=>i.isSelected(s))}_descendantsPartiallySelected(e){if(!this._selectionList)return!1;let i=this._selectionList;return this._treeControl.getDescendants(e).some(s=>i.isSelected(s))&&!this._descendantsAllSelected(e)}_toggleDescendantsNodes(e){if(!this._selectionList)return;this._selectionList.isSelected(e)?this._selectionList.select(...this._treeControl.getDescendants(e)):this._selectionList.deselect(...this._treeControl.getDescendants(e))}_updateParentSelections(e){if(!this._selectionList)return;let i=e.parent,o=this._treeControl.dataNodes.find(r=>r.id===i);for(;o;)this._descendantsAllSelected(o)?this._selectionList.select(o):this._selectionList.deselect(o),i=o.parent,o=this._treeControl.dataNodes.find(r=>r.id===i)}_toggleNode(e,i){if(!i||!this.enableSelect||!this._selectionList)return;if(e!=null&&e instanceof MouseEvent&&!e?.ctrlKey&&this._selectionList.clear(),this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==i.parent&&this._selectionList.clear(),this._selectionList.toggle(i),!this.multiSelect&&!this.oneLevelMultiSelect){oe(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(i),this.enableParentHighlighting&&this._updateParentSelections(i),oe(this,"selectedNodes",this._selectionList.selected)}_isSelected(e){return this._selectionList?this._selectionList?.isSelected(e):!1}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-flat-tree"]],inputs:{treeDataStringified:"treeDataStringified",treeTitle:"treeTitle",paddingIndent:"paddingIndent",multiSelect:[2,"multiSelect","multiSelect",k],oneLevelMultiSelect:[2,"oneLevelMultiSelect","oneLevelMultiSelect",k],showFoldersIcons:[2,"showFoldersIcons","showFoldersIcons",k],showObjectsIcons:[2,"showObjectsIcons","showObjectsIcons",k],enableSelect:[2,"enableSelect","enableSelect",k],enableParentHighlighting:[2,"enableParentHighlighting","enableParentHighlighting",k],enableDragAndDrop:[2,"enableDragAndDrop","enableDragAndDrop",k],dataTestPrefix:"dataTestPrefix",contextMenus:"contextMenus",treeData:"treeData",customNodeTemplate:"customNodeTemplate"},outputs:{selectedNodes:"selectedNodes"},standalone:!0,features:[he,$e,S],decls:5,vars:4,consts:[[1,"tree-container"],["class","tree-title",4,"ngIf"],[3,"dataSource","treeControl"],["matTreeNodePadding","","class","object-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef"],["matTreeNodePadding","","class","folder-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef","matTreeNodeDefWhen"],[1,"tree-title"],["matTreeNodePadding","",1,"object-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","disabled",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"items","data","triggerSelected",4,"ngIf"],["class","icon object-icon",4,"ngIf"],[1,"node-label"],["class","custom-drag-placeholder",4,"cdkDragPlaceholder"],[1,"icon","object-icon"],[1,"custom-drag-placeholder"],[3,"triggerSelected","items","data"],["matTreeNodePadding","",1,"folder-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","matTreeNodeToggle",""],[1,"icon","expand-collapse-icon"],["class","icon folder-icon",4,"ngIf"],[1,"icon","folder-icon"]],template:function(i,o){i&1&&(p(0,"div",0),x(1,LT,2,1,"div",1),p(2,"cdk-tree",2),x(3,UT,5,10,"cdk-tree-node",3)(4,KT,6,15,"cdk-tree-node",4),f()()),i&2&&(d(),g("ngIf",o.treeTitle),d(),g("dataSource",o._dataSource)("treeControl",o._treeControl),d(2),g("matTreeNodeDefWhen",o._isExpendable))},dependencies:[C_,v_,__,y_,f_,m_,p_,Gl,qo,Hi,ci,L,Qe,Pn],styles:['.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.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}.tree-container[_ngcontent-%COMP%]{background-color:var(--flat-tree-container-background-color-enabled);width:calc(100% - 2 * var(--flat-tree-node-indent, 1rem));padding:var(--flat-tree-node-indent, 1rem);font-family:var(--flat-tree-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--flat-tree-font-size, 1.3rem);font-weight:var(--flat-tree-font-weight, 700);color:var(--flat-tree-container-text-color-enabled)}.tree-container[_ngcontent-%COMP%] > .tree-title[_ngcontent-%COMP%]{background-color:transparent;font-size:var(--flat-tree-title-font-size, 1.6rem);margin-bottom:1rem}.cdk-tree[_ngcontent-%COMP%]{background-color:transparent;width:100%}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]{--mat-icon-button-touch-target-display: none;background-color:transparent;display:flex;align-items:center;cursor:pointer;line-height:var(--flat-tree-node-line-height, 2.4rem)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.folder-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-folder-font-weight, 700)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.object-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-object-font-weight, 400)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%]{overflow:hidden;flex:1}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%] > div.node-label[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] lib-bimplus-context-menu[_ngcontent-%COMP%]{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: var(--flat-tree-node-line-height, 2.4rem);--context-menu-trigger-bkg-color: transparent;--context-menu-translate-x: 1rem}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]:not(.selected-node):not(:hover) lib-bimplus-context-menu[_ngcontent-%COMP%]{display:none}.cdk-tree-node.dragable-node[_ngcontent-%COMP%]:hover{background-color:var(--flat-tree-draggable-node-background-color-hovered);background-image:url("./assets/6_dots_gray.svg");background-repeat:no-repeat;background-size:var(--flat-tree-node-icon-size, 1.8rem);background-position:left center}.mat-mdc-icon-button[_ngcontent-%COMP%]{padding:.2rem;width:var(--flat-tree-node-line-height, 2.4rem);height:var(--flat-tree-node-line-height, 2.4rem)}.selected-node[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled);font-weight:var(--flat-tree-selected-node-font-weight, 700)!important}.selected-all-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled)}.selected-partially-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-partially-selected-nodes-text-color-enabled)}.custom-drag-placeholder[_ngcontent-%COMP%]{height:0px}.icon[_ngcontent-%COMP%]{width:var(--flat-tree-node-icon-size, 1.8rem);height:var(--flat-tree-node-icon-size, 1.8rem);margin-right:.4rem;background-position:center;background-size:var(--flat-tree-node-icon-size, 1.8rem)}.icon.folder-icon[_ngcontent-%COMP%]{background:var(--flat-tree-folder-icon, url("./assets/bimplus_Components_Projects_Folder.svg") no-repeat);background-size:var(--flat-tree-folder-icon-size, 1.6rem);background-position:center}.icon.object-icon[_ngcontent-%COMP%]{background:var(--flat-tree-object-icon, url("./assets/bimplus_Components_Documents.svg") no-repeat);background-size:var(--flat-tree-object-icon-size, 1.6rem);background-position:center}.icon.expand-collapse-icon.expand-more-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-expand-icon, url("./assets/collapsed_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}.icon.expand-collapse-icon.collapse-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-collapse-icon, url("./assets/expanded_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}']})}}return t})();var Zo=function(t){return t[t.None=0]="None",t[t.SelectObjectProperties=1]="SelectObjectProperties",t[t.SelectAttributes=2]="SelectAttributes",t}(Zo||{}),os=5;function QT(t,n){if(t&1&&(p(0,"span",1),D(1),f()),t&2){let e=u();d(),tn("",e.criterium.name," \xA0(",e.criterium.value,")")}}function XT(t,n){if(t&1&&(p(0,"span",1),D(1),f()),t&2){let e=u();d(),ee(e.criterium.name)}}var x_=(()=>{class t{constructor(){this.criterium={name:"",subString:""},this.indent=0,this.deleteCriterium=new M}clickedDelete(){this.deleteCriterium.emit()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["app-filter-criterium"]],hostVars:2,hostBindings:function(i,o){i&2&&Ue("margin-left",o.indent,"em")},inputs:{criterium:"criterium",indent:"indent"},outputs:{deleteCriterium:"deleteCriterium"},standalone:!0,features:[S],decls:4,vars:1,consts:[[1,"filter-criterium-row"],[1,"filter-criterium-item"],[1,"filter-criterium-icon-delete",3,"click","keypress"]],template:function(i,o){i&1&&(p(0,"div",0),x(1,QT,2,2,"span",1)(2,XT,2,1,"span",1),p(3,"div",2),_("click",function(){return o.clickedDelete()})("keypress",function(){return o.clickedDelete()}),f()()),i&2&&(d(),j(o.criterium.value?1:2))},styles:['.filter-criterium-icon-delete[_ngcontent-%COMP%]{background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:1.8rem;height:1.8rem;width:1.8rem;cursor:pointer}.filter-criterium-item[_ngcontent-%COMP%]{flex-grow:1}.filter-criterium-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}']})}}return t})();var M_=(()=>{class t{constructor(){this._objectStructure={id:"",name:"",parent:""},this.treeComponent=null,this._treeData=[],this.nodeSelected=new M}set objectStructure(e){this._objectStructure=e,this._updateTreeData()}_convertObjectStructureNodeToTreeNode(e){let i={name:e.name,id:e.id,parent:e.parent};if(e.children){i.children=[];for(let o of e.children){let r=this._convertObjectStructureNodeToTreeNode(o);i.children.push(r)}}return i}_updateTreeData(){if(!this._objectStructure)return;let e=this._convertObjectStructureNodeToTreeNode(this._objectStructure);e&&(this._treeData=[],this._treeData=[e])}get treeData(){return this._treeData}_findNode(e,i){if(i.id==e)return i;if(i.children)for(let o of i.children){let r=this._findNode(e,o);if(r)return r}return null}handleSelectedNodes(e){if(e.length===1){let i=this._findNode(e[0].id,this._objectStructure);i&&this.nodeSelected.emit(i)}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-object-structure"]],viewQuery:function(i,o){if(i&1&&nt(Rt,5),i&2){let r;Ie(r=Se())&&(o.treeComponent=r.first)}},inputs:{objectStructure:"objectStructure"},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[S],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-structure-tree-",3,"selectedNodes","treeData"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-flat-tree",0),_("selectedNodes",function(s){return o.handleSelectedNodes(s)}),f()),i&2&&g("treeData",o.treeData)},dependencies:[Rt],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400}"]})}}return t})();var k_=(()=>{class t{constructor(){this._complexProperties={id:"",name:"",parent:""},this.treeComponent=null,this._treeData=[],this.nodeSelected=new M}set complexProperties(e){this._complexProperties=e,this._updateTreeData()}_convertObjectStructureNodeToTreeNode(e){let i={name:e.name,id:e.id,parent:e.parent};if(e.children){i.children=[];for(let o of e.children){let r=this._convertObjectStructureNodeToTreeNode(o);i.children.push(r)}}return i}_updateTreeData(){if(!this._complexProperties)return;let e=this._convertObjectStructureNodeToTreeNode(this._complexProperties);e&&(this._treeData=[],this._treeData=[e])}get treeData(){return this._treeData}_findNode(e,i){if(i.id==e)return i;if(i.children)for(let o of i.children){let r=this._findNode(e,o);if(r)return r}return null}handleSelectedNodes(e){if(e.length===1){let i=this._findNode(e[0].id,this._complexProperties);i&&this.nodeSelected.emit(i)}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-object-complex-properties"]],viewQuery:function(i,o){if(i&1&&nt(Rt,5),i&2){let r;Ie(r=Se())&&(o.treeComponent=r.first)}},inputs:{complexProperties:"complexProperties"},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[S],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-complex-properties-tree-",3,"selectedNodes","treeData"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-flat-tree",0),_("selectedNodes",function(s){return o.handleSelectedNodes(s)}),f()),i&2&&g("treeData",o.treeData)},dependencies:[Rt],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400}"]})}}return t})();var Kl=class t{static createFromResponse(n){let e={id:n.id,name:n.name?`${n.type}(${n.name})`:n.type,parent:n.parent};if(n.children){e.children=[];for(let i of n.children)e.children.push(t.createFromResponse(i))}return e}};var Ql=class t{static createFromResponse(n){let e={id:n.id,name:n.type?n.type:n.name,parent:n.parent};if(n.children){e.children=[];for(let i of n.children)e.children.push(t.createFromResponse(i))}return e}};function JT(t,n){if(t&1){let e=A();p(0,"lib-bimplus-object-structure",2),_("nodeSelected",function(o){y(e);let r=u();return C(r.handleObjectStructureNodeSelected(o))}),f()}if(t&2){let e=u();g("objectStructure",e.objectStructure)}}function eO(t,n){if(t&1){let e=A();p(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),D(3),N(4,"translate"),f()(),p(5,"lib-bimplus-object-complex-properties",3),_("nodeSelected",function(o){y(e);let r=u();return C(r.handleComplexPropertyNodeSelected(o))}),f()()}if(t&2){let e=u();d(3),H(" ",F(4,2,"_Object multiproperties tree"),""),d(2),g("complexProperties",e.complexProperties)}}function tO(t,n){if(t&1&&(p(0,"div",11),D(1),f()),t&2){let e=u().$implicit;d(),ee(e.value)}}function nO(t,n){t&1&&(p(0,"div",11),D(1,"..."),f())}function iO(t,n){if(t&1){let e=A();p(0,"div",6)(1,"div",7)(2,"div",8)(3,"label",9)(4,"input",10),_("click",function(){let o=y(e).$implicit,r=u(3);return C(r.toggleAttribute(o))})("keypress",function(){let o=y(e).$implicit,r=u(3);return C(r.toggleAttribute(o))}),f(),E(5,"span"),f(),p(6,"div",11),D(7),f()(),p(8,"div",8)(9,"label",9)(10,"input",10),_("click",function(){let o=y(e).$implicit,r=u(3);return C(r.toggleAttributeValue(o))})("keypress",function(){let o=y(e).$implicit,r=u(3);return C(r.toggleAttributeValue(o))}),f(),E(11,"span"),f(),x(12,tO,2,1,"div",11)(13,nO,2,0,"div",11),f()()()}if(t&2){let e=n.$implicit,i=u(3);d(4),g("checked",e.checked)("disabled",i.filterCriteria.length===i.MaxFilterCriteria&&!e.checked),d(3),ee(e.name),d(3),g("checked",e.valueChecked)("disabled",i.filterCriteria.length===i.MaxFilterCriteria&&!e.checked),d(2),j(e.value?12:13)}}function oO(t,n){if(t&1&&(p(0,"lib-expansion-panel",4)(1,"lib-expansion-panel-header")(2,"span",5),D(3),f()(),p(4,"div"),Jt(5,iO,14,6,"div",6,Fr),f()()),t&2){let e=n.$implicit;g("expanded",e.expanded),d(3),H(" ",e.name,""),d(2),en(e.attributes)}}function rO(t,n){if(t&1&&(p(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),D(3),N(4,"translate"),f()(),Jt(5,oO,7,2,"lib-expansion-panel",4,Fr),f()),t&2){let e=u();d(3),H(" ",F(4,1,"_Object properties"),""),d(2),en(e.objectAttributeGroups)}}var D_=(()=>{class t extends le{constructor(e){super(e),this.api=null,this.revision=void 0,this._currentObjectId$=new Te(""),this._currentPropertiesObjectId$=new Te(""),this.objectAttributeGroups=[],this.MaxFilterCriteria=os,this._rootObjectId="",this.filterCriteriaChange=new M,this._filterCriteria=[],this._objectStructure=null,this._complexProperties=null}ngOnInit(){this._currentPropertiesObjectId$.subscribe({next:e=>{e&&this._createObjectProperties(e,this.revision)}}),this._currentObjectId$.subscribe({next:e=>{this._currentPropertiesObjectId$.next(e),this._createComplexPropertiestructure(e,this.revision)}})}set rootObjectId(e){this._currentObjectId$.next(e),this._createObjectStructure(e,this.revision),this._rootObjectId=e}get rootObjectId(){return this._rootObjectId}set filterCriteria(e){this._filterCriteria=e,this._syncAttributeStatesFromCriteria()}get filterCriteria(){return this._filterCriteria}get objectStructure(){return this._objectStructure}get complexProperties(){return this._complexProperties}toggleAttribute(e){e.checked=!e.checked,e.checked===!1&&(e.valueChecked=!1),this.handleFilterCriteriumAttributeStateChange(e)}toggleAttributeValue(e){e.valueChecked=!e.valueChecked,e.checked=e.valueChecked,this.handleFilterCriteriumAttributeStateChange(e)}handleFilterCriteriumAttributeStateChange(e){let i=this.filterCriteria.findIndex(o=>o.id===e.id);if(i>=0)(e.checked===!1||e.valueChecked===!1)&&(this.filterCriteria.splice(i,1),this.filterCriteriaChange.emit(this.filterCriteria));else if(this.filterCriteria.length<os){let o=`[I][${e.id}].Value`;e.valueChecked&&(o+=`[F][0]=${e.value}`),this.filterCriteria.push({name:e.name,value:e.valueChecked?e.value:void 0,id:e.id,subString:o}),this.filterCriteriaChange.emit(this.filterCriteria)}}handleObjectStructureNodeSelected(e){this._currentObjectId$.next(e.id)}handleComplexPropertyNodeSelected(e){this._currentPropertiesObjectId$.next(e.id)}_createObjectProperties(e,i){this._loadObjectProperties(e,i)?.subscribe({next:o=>{this.objectAttributeGroups=this._createAttributeGroupsFromResponse(o),this._syncAttributeStatesFromCriteria()},error:()=>{this.objectAttributeGroups=[]}})}_createAttributeGroupsFromResponse(e){let i=[],o=null;if(e.localizedAttributeGroups&&(o=e.localizedAttributeGroups),!e.attributes)return i;let r=e.attributes;for(let[s,a]of Object.entries(r)){let l={name:s,expanded:!1,attributes:[]};if(o?.[s]&&(l.name=o[s]),!!a){for(let c of Object.values(a)){let m={id:c.id,name:c.name,description:c.description,value:c.value,checked:!1,valueChecked:!1,group:c.group};l.attributes.push(m)}i.push(l)}}return i}_syncAttributeStatesFromCriteria(){this.objectAttributeGroups.forEach(e=>{e.attributes.forEach(i=>{let o=this._filterCriteria.find(r=>r.id==i.id);o?(i.checked=!0,i.valueChecked=o.value!==void 0):(i.checked=!1,i.valueChecked=!1)})})}_loadObjectProperties(e,i){if(this.api)return Be(this.api.objects.get(e,i,"8",void 0,!1,void 0))}_loadObjectStructure(e,i){if(this.api)return Be(this.api.objects.getTopology(e,i,!1,!1,void 0))}_loadObjectComplexPropertiesStructure(e,i){if(this.api)return Be(this.api.objects.getComplexPropertiesTopology(e,i))}_createComplexPropertiestructure(e,i){this._loadObjectComplexPropertiesStructure(e,i)?.subscribe({next:o=>{if(o){let r=Ql.createFromResponse(o);r?.children?.length?this._complexProperties=r:this._complexProperties=null}}})}_createObjectStructure(e,i){this._loadObjectStructure(e,i)?.subscribe({next:o=>{o&&(this._objectStructure=Kl.createFromResponse(o))}})}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-criteria-select-object-properties"]],inputs:{api:"api",rootObjectId:"rootObjectId",revision:"revision",filterCriteria:"filterCriteria"},outputs:{filterCriteriaChange:"filterCriteriaChange"},standalone:!0,features:[q,S],decls:8,vars:6,consts:[[1,"criteria-select-object-properties-header"],[3,"objectStructure"],[3,"nodeSelected","objectStructure"],[3,"nodeSelected","complexProperties"],[3,"expanded"],[1,"criteria-select-object-properties-group-header"],[1,"criteria-select-object-properties-attrib-row"],[1,"criteria-select-object-properties-attrib-row-content"],[1,"criteria-select-object-properties-attrib-row-cell","criteria-select-checkbox"],[1,"criteria-select-object-properties-attrib-row-cell-label"],["type","checkbox",3,"click","keypress","checked","disabled"],[1,"criteria-select-object-properties-attrib-row-cell-text"]],template:function(i,o){i&1&&(p(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),D(3),N(4,"translate"),f()(),x(5,JT,1,1,"lib-bimplus-object-structure",1),f(),x(6,eO,6,4,"lib-expansion-panel")(7,rO,7,3,"lib-expansion-panel")),i&2&&(d(3),H(" ",F(4,4,"_Object structure"),""),d(2),j(o.objectStructure?5:-1),d(),j(o.complexProperties?6:-1),d(),j(o.objectAttributeGroups.length>0?7:-1))},dependencies:[ii,ni,Q,de,M_,k_],styles:['.criteria-select-object-properties-header[_ngcontent-%COMP%]{font-weight:700;text-transform:uppercase;font-size:1.4rem}.criteria-select-object-properties-group-header[_ngcontent-%COMP%]{line-height:2.4rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]{display:flex;width:calc(100% - 2rem);flex-direction:row;flex-wrap:nowrap;overflow:hidden;padding-left:2rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]:hover{background-color:var(--object-navigator-criteria-select-object-properties-attribute-row-background-color-hovered)}.criteria-select-object-properties-attrib-row-content[_ngcontent-%COMP%]{display:inline-flex;width:100%}.criteria-select-object-properties-attrib-row-cell[_ngcontent-%COMP%]{flex-basis:50%;display:flex;overflow:hidden;text-overflow:ellipsis}.criteria-select-object-properties-attrib-row-cell-label[_ngcontent-%COMP%]{display:inline-flex}.criteria-select-object-properties-attrib-row-cell-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_on_hovered.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off.svg");width:1.8rem;height:1.8rem;margin-top:.1rem;vertical-align:middle;border:0;background-color:transparent;background-position:-.3rem center;background-size:100% 100%;background-repeat:no-repeat}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_off_hovered.svg")}']})}}return t})();function sO(t,n){if(t&1&&(p(0,"div",2),D(1),f()),t&2){let e=u().node,i=u();d(),tn(" ",e.name," \xA0( ",i.getNodeObjectCounter(e.id)," )")}}function aO(t,n){if(t&1&&(p(0,"div",3),D(1),f()),t&2){let e=u().node,i=u();d(),tn(" ",e.name," \xA0( ",i.getNodeObjectCounter(e.id)," )")}}function lO(t,n){if(t&1){let e=A();p(0,"span",3)(1,"div",4),_("dblclick",function(){y(e);let o=u().node,r=u();return C(r.dblClickedObjectNode(o))})("mouseenter",function(){y(e);let o=u().node,r=u();return C(r.mouseEnterObjectNode(o))})("mouseleave",function(){y(e);let o=u().node,r=u();return C(r.mouseLeaveObjectNode(o))}),D(2),f()()}if(t&2){let e=u().node;d(2),H(" ",e.name," ")}}function cO(t,n){if(t&1&&x(0,sO,2,2,"div",2)(1,aO,2,2,"div",3)(2,lO,3,1,"span",3),t&2){let e,i=n.node;j((e=i.nodeType)==="rootNode"?0:e==="structureNode"?1:e==="objectNode"?2:-1)}}var E_=(()=>{class t{constructor(){this.treeComponent=null,this.nodeSelectionChanged=new M,this.nodeDoubleClicked=new M,this.nodeMouseEntered=new M,this.nodeMouseLeft=new M,this._filterResult=null,this._treeData=[],this._treeNodesLookup={},this._treeNodeObjectCounts={},this._selectedObjects=[]}set filterResult(e){this._filterResult=e,this._updateTreeData()}set selectedObjects(e){this._selectedObjects=e,this._syncSelectedObjects()}get treeData(){return this._treeData}ngAfterViewInit(){this._treeData&&this._treeData.length>0&&this._expandToObjectLevel(this._treeData[0])}handleSelectedNodes(e){this.nodeSelectionChanged.emit(e.map(i=>i.id))}getNodeObjectCounter(e){return this._treeNodeObjectCounts[e]}dblClickedObjectNode(e){this.nodeDoubleClicked.emit(e.id)}mouseEnterObjectNode(e){this.nodeMouseEntered.emit(e.id)}mouseLeaveObjectNode(e){this.nodeMouseLeft.emit(e.id)}expandToObjectLevel(){this.treeData.length!==0&&this._expandToObjectLevel(this._treeData[0])}_syncSelectedObjects(){let e=[];for(let i of this._selectedObjects){let o=this._treeNodesLookup[i];o&&e.push(o)}this.treeComponent?.reset_selection();for(let i of e)this.treeComponent?.select_node(i.id)}_updateObjectCounters(){this._treeNodeObjectCounts={},this._countObjects(this.treeData[0])}_countObjects(e){if(e.nodeType&&e.nodeType==="objectNode")return 1;let i=0;if(!e.children)return 0;for(let o of e.children)o&&(i+=this._countObjects(o));return this._treeNodeObjectCounts[e.id]=i,i}_updateTreeData(){this._filterResult&&(this._treeNodesLookup={},this._treeData=[this._convertFilterResultToTreeNode(this._filterResult.structure,this._treeNodesLookup)],this._updateObjectCounters())}_convertFilterResultToTreeNode(e,i=void 0){let o={name:e.name,id:e.id,parent:e.parent};if(e.children){o.children=[];for(let r of e.children){let s=this._convertFilterResultToTreeNode(r,i);o.children.push(s)}}return o.parent?e.type==="Structure"?o.nodeType="structureNode":o.nodeType="objectNode":o.nodeType="rootNode",i&&(i[o.id]=o),o}_expandToObjectLevel(e){if(e.children)for(let i of e.children){if(i.nodeType&&i.nodeType==="objectNode")return;this._expandToObjectLevel(i)}this.treeComponent?.expand_node(e.id)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-object-filter-result"]],viewQuery:function(i,o){if(i&1&&nt(Rt,5),i&2){let r;Ie(r=Se())&&(o.treeComponent=r.first)}},inputs:{filterResult:"filterResult",selectedObjects:"selectedObjects"},outputs:{nodeSelectionChanged:"nodeSelectionChanged",nodeDoubleClicked:"nodeDoubleClicked",nodeMouseEntered:"nodeMouseEntered",nodeMouseLeft:"nodeMouseLeft"},standalone:!0,features:[S],decls:3,vars:2,consts:[["objFilterResultNode",""],["paddingIndent","1.4rem","enableParentHighlighting","false","oneLevelMultiSelect","false","multiSelect","true","dataTestPrefix","object-filter-result-tree-",3,"selectedNodes","treeData","customNodeTemplate"],[1,"object-navigator-filter-result-root-node","noselect"],[1,"noselect"],[1,"noselect",3,"dblclick","mouseenter","mouseleave"]],template:function(i,o){if(i&1){let r=A();p(0,"lib-bimplus-flat-tree",1),_("selectedNodes",function(a){return y(r),C(o.handleSelectedNodes(a))}),f(),x(1,cO,3,1,"ng-template",null,0,yt)}if(i&2){let r=et(2);g("treeData",o.treeData)("customNodeTemplate",r)}},dependencies:[Rt],styles:[".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}lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-selected-node-font-weight: 700}.object-navigator-filter-result-root-node[_ngcontent-%COMP%]{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}"]})}}return t})();var I_="tabAttribElement.DivisionID",$i=class{constructor(n="",e=5){this._filterString="",this._maxFilterCriteria=5,this._filterString=n,this._maxFilterCriteria=e}get filterString(){return this._filterString}fromFilterCriteria(n){this._filterString=`[I]${I_}`;for(let e of n)this._filterString+=e.subString;return this._filterString}getReadableValuesFromFilterCriteria(n){let e={};for(let i of n)i.id&&i.name&&(e[i.id]=i.name);return e}toFilterCriteria(n=void 0){let e=[],i=!1,o=this._filterString.split("[I]");for(let r of o)if(r.length!==0){if(r.includes(I_)&&!i){i=!0;continue}if(e.push(this._parseFilterSubstring(r,n)),e.length===this._maxFilterCriteria)break}return e}_parseFilterSubstring(n,e=void 0){let i=n,o,r=n.indexOf("["),s=n.indexOf("]");if(r>=0&&s>=0&&s>r){let a=n.slice(r+1,s);if(o=a,a&&e){let l=e[a];l&&(i=l)}}else if(n.includes(".")){let a=n.split(".");i=a[a.length-1]}return{name:i,subString:"[I]"+n,id:o}}};var Xl=class{static fetchObjectFilterStructureFromSelection(n,e,i,o){let r=!e.id,s=e.id?e.id:"",a=null;return r?a=Be(o.objectFilters.post(JSON.stringify(e),n)).pipe(It(l=>{if(!l?.id)throw new Error("Failed to create temporary filter object");return s=l.id,Be(o.exportService.createExportSelection(n,JSON.stringify(i)))}),It(l=>{if(!l?.id)throw new Error("Failed to create selection object");return Be(o.objectFilters.getSelectionFilteredObjects(l.id,s,void 0,void 0)).pipe(ue(c=>(o.objectFilters.delete(s),c)))})):a=Be(o.exportService.createExportSelection(n,JSON.stringify(i))).pipe(It(l=>{if(!l?.id)throw new Error("Failed to create selection object");return Be(o.objectFilters.getSelectionFilteredObjects(l.id,s,void 0,void 0))})),a}};var dO=t=>({disabled:t});function uO(t,n){if(t&1&&(p(0,"ng-option",18),D(1),f()),t&2){let e=n.$implicit;g("value",e),d(),ee(e.name)}}function pO(t,n){if(t&1&&(p(0,"ng-option",18),D(1),f()),t&2){let e=n.$implicit;g("value",e),d(),ee(e.name)}}function mO(t,n){if(t&1&&E(0,"lib-bimplus-context-menu",9),t&2){let e=u(3);g("items",e.filterContextMenu)}}function fO(t,n){if(t&1&&x(0,mO,1,1,"lib-bimplus-context-menu",19),t&2){let e=u(2);g("ngIf",e.filterContextMenu==null?null:e.filterContextMenu.length)}}function gO(t,n){if(t&1){let e=A();p(0,"app-filter-criterium",20),_("deleteCriterium",function(){let o=y(e).$index,r=u(2);return C(r.deleteFilterCriterium(o))}),f()}if(t&2){let e=n.$implicit,i=n.$index;g("criterium",e)("indent",i*.8)}}function hO(t,n){t&1&&(p(0,"p",21),D(1),N(2,"translate"),f()),t&2&&(d(),ee(F(2,1,"_NoObjectSelected")))}function bO(t,n){if(t&1){let e=A();p(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-criteria-select-object-properties",23),Tn("filterCriteriaChange",function(o){y(e);let r=u(3);return Kn(r.filterCriteria,o)||(r.filterCriteria=o),C(o)}),_("filterCriteriaChange",function(){y(e);let o=u(3);return C(o.activateModifiedCustomFilter())}),f()()()}if(t&2){let e=u(3);d(2),g("api",e.api)("selectedLanguage",e.selectedLanguage)("localizedStrings",e.localizedStrings),Sn("filterCriteria",e.filterCriteria),g("rootObjectId",e.selectedObjectId)}}function vO(t,n){if(t&1&&x(0,hO,3,3,"p",21)(1,bO,3,5,"div",22),t&2){let e=u(2);j(e.selectedObjectId?1:0)}}function _O(t,n){}function yO(t,n){if(t&1){let e=A();p(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-object-filter-result",24),_("nodeSelectionChanged",function(o){y(e);let r=u(3);return C(r.handleFilterResultSelectionChanged(o))})("nodeDoubleClicked",function(o){y(e);let r=u(3);return C(r.handleFilterResulObjectDoubleClicked(o))})("nodeMouseEntered",function(o){y(e);let r=u(3);return C(r.handleFilterResulObjectMouseEntered(o))})("nodeMouseLeft",function(o){y(e);let r=u(3);return C(r.handleFilterResulObjectMouseLeft(o))}),f()()()}if(t&2){let e=u(3);d(2),g("filterResult",e.filterResult)("selectedObjects",e.selectedObjects)}}function CO(t,n){if(t&1&&x(0,yO,3,2,"div",22),t&2){let e=u(2);j(e.filterResult?0:-1)}}function wO(t,n){if(t&1){let e=A();p(0,"div",3),D(1),N(2,"translate"),f(),p(3,"div",4)(4,"ng-select",5),Tn("ngModelChange",function(o){y(e);let r=u();return Kn(r.activeFilterType,o)||(r.activeFilterType=o),C(o)}),x(5,uO,2,2,"ng-option",6),f()(),p(6,"div",7)(7,"ng-select",8),Tn("ngModelChange",function(o){y(e);let r=u();return Kn(r.activeFilter,o)||(r.activeFilter=o),C(o)}),x(8,pO,2,2,"ng-option",6),f(),x(9,fO,1,1,"lib-bimplus-context-menu",9),f(),p(10,"lib-expansion-panel",10)(11,"lib-expansion-panel-header")(12,"span",11),D(13),N(14,"translate"),f(),p(15,"lib-expansion-panel-header-actions")(16,"div",12),N(17,"translate"),_("click",function(){y(e);let o=u();return C(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectObjectProperties))})("keypress",function(){y(e);let o=u();return C(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectObjectProperties))}),f()()(),p(18,"div",13),Jt(19,gO,1,2,"app-filter-criterium",14,Fr),f()(),p(21,"div",15)(22,"button",16),_("click",function(){y(e);let o=u();return C(o.applyFilter())}),D(23),N(24,"translate"),f()(),E(25,"div",17),x(26,vO,2,1)(27,_O,0,0)(28,CO,1,1)}if(t&2){let e,i=u();d(),H(" ",F(2,19,"_Select_an_object_using_Object_Picker")," "),d(3),Sn("ngModel",i.activeFilterType),g("clearable",!1)("searchable",!1),d(),g("ngForOf",i.filterTypes),d(2),Sn("ngModel",i.activeFilter),g("clearable",!1)("disabled",!i.filters)("searchable",!1),d(),g("ngForOf",i.filters),d(),j(i.hideFilterContextMenu?-1:9),d(4),tn(" ",F(14,21,"_Assign_Objects_Selection_Mode")," (",i.filterCriteria.length,") "),d(3),g("ngClass",i.filterCriteriaSelectionMode$.getValue()===i.FilterCriteriaSelectionMode.SelectObjectProperties?"active":"")("title",F(17,23,"_Object_Picker")),d(3),en(i.filterCriteria),d(3),g("ngClass",Oe(27,dO,i.filterCriteria.length===0))("disabled",i.filterCriteria.length===0),d(),H(" ",F(24,25,"_Apply filter")," "),d(3),j((e=i.filterCriteriaSelectionMode$.getValue())===i.FilterCriteriaSelectionMode.SelectObjectProperties?26:e===i.FilterCriteriaSelectionMode.SelectAttributes?27:28)}}function xO(t,n){t&1&&(p(0,"div",2),D(1),N(2,"translate"),f()),t&2&&(d(),H(" ",F(2,1,"_No_visible_models_found")," "))}var S_=(()=>{class t extends le{constructor(e){super(e),this.hideFilterContextMenu=!1,this.filterContextMenu=[],this.activeFilterTypeSubject$=new Te(null),this.activeFilterSubject$=new Te(null),this.filters=null,this.filterCriteria=[],this.api=null,this.projectId="",this.objNavClassClass=!0,this.filterCriteriaSelectionMode$=new Te(Zo.None),this.filterCriteriaSelectionModeChanged=new M,this.selectedObjectId=null,this.selectedObjects=[],this.selectionObject=null,this.filterResultObjectSelectionChanged=new M,this.filterResultObjectDoubleClicked=new M,this.filterResultObjectMouseEntered=new M,this.filterResultObjectMouseLeft=new M,this.FilterCriteriaSelectionMode=Zo,this.isLoadingResults=!1,this._filterResult=null,this._filterTypes=[]}set filterTypes(e){this._filterTypes=e,this._filterTypes.length>0&&(this.activeFilterType=this._filterTypes[0])}get filterTypes(){return this._filterTypes}set activeFilterType(e){this.activeFilterTypeSubject$.next(e)}get activeFilterType(){return this.activeFilterTypeSubject$.getValue()}set activeFilter(e){e&&!e.id&&this._setDefaultCustomFilterString(e),this.activeFilterSubject$.next(e)}get activeFilter(){return this.activeFilterSubject$.getValue()}get filterResult(){return this._filterResult}ngOnInit(){this.activeFilterTypeSubject$.subscribe({next:e=>{!this.projectId||!this.api||!e||(this.activeFilter=null,this.loadCurrentLayerFilters(this.projectId,e.id)?.subscribe({next:i=>{this.filters=[this._createDefaultCustomFilter(e.id),...i],this.activeFilter=this.filters[0]},error:i=>{throw new Error(i)}}))}}),this.activeFilterSubject$.subscribe({next:e=>{e&&(this.filterCriteria=this.parseFilterString(e))}}),this.filterCriteriaSelectionMode$.subscribe({next:e=>{this.filterCriteriaSelectionModeChanged.emit(e)}}),this.filterTypes.length>0&&(this.activeFilterType=this.filterTypes[0])}loadCurrentLayerFilters(e,i){if(this.api)return Be(this.api.objectFilters.get(i,e))}parseFilterString(e){return new $i(e.filterString,os).toFilterCriteria(e.readableValues)}deleteFilterCriterium(e){this.filterCriteria.splice(e,1),this.filterCriteria=[...this.filterCriteria],this.activateModifiedCustomFilter()}setFilterCriteriaSelectionMode(e){if(this.filterCriteriaSelectionMode$.getValue()==e){this.filterCriteriaSelectionMode$.next(Zo.None);return}this.filterCriteriaSelectionMode$.next(e)}applyFilter(){this.filterCriteriaSelectionMode$.next(Zo.None),this._filterResult=null,this.activeFilter&&!this.activeFilter.id&&(this.activeFilter.filterString=new $i().fromFilterCriteria(this.filterCriteria)),this.selectionObject&&this._applySelectionObjectFilter(this.activeFilter)}handleFilterResultSelectionChanged(e){this.filterResultObjectSelectionChanged.emit(e)}handleFilterResulObjectDoubleClicked(e){this.filterResultObjectDoubleClicked.emit(e)}handleFilterResulObjectMouseEntered(e){this.filterResultObjectMouseEntered.emit(e)}handleFilterResulObjectMouseLeft(e){this.filterResultObjectMouseLeft.emit(e)}activateModifiedCustomFilter(){this.activeFilter?.id&&this.filters&&(this.filters[0].filterString=new $i().fromFilterCriteria(this.filterCriteria),this.filters[0].readableValues=new $i().getReadableValuesFromFilterCriteria(this.filterCriteria),this.activeFilterSubject$.next(this.filters[0]))}_applySelectionObjectFilter(e){!this.api||!this.selectionObject||!e||(this.selectionObject.singleUse=!0,this.selectionObject.selection.singleuse=!0,this.isLoadingResults=!0,Xl.fetchObjectFilterStructureFromSelection(this.projectId,e,this.selectionObject,this.api).subscribe({next:i=>{this._filterResult=i,this.isLoadingResults=!1}}))}_setDefaultCustomFilterString(e){let i="a0e8ae2c-c869-4ec3-9019-25d3704be707";e.filterString=`[I][${i}].Value`,e.readableValues={},e.readableValues[i]="Type"}_createDefaultCustomFilter(e){let i={module:"00000000-0000-0000-0000-000000000000",category:"",disciplineID:e,name:"Custom filter",filterString:"",isDefault:!1,disableSortByModels:!1};return this._setDefaultCustomFilterString(i),i}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-object-navigator"]],hostVars:2,hostBindings:function(i,o){i&2&&Y("object-navigator",o.objNavClassClass)},inputs:{hideFilterContextMenu:"hideFilterContextMenu",filterContextMenu:"filterContextMenu",filterTypes:"filterTypes",filters:"filters",api:"api",projectId:"projectId",selectedObjectId:"selectedObjectId",selectedObjects:"selectedObjects",selectionObject:"selectionObject"},outputs:{filterCriteriaSelectionModeChanged:"filterCriteriaSelectionModeChanged",filterResultObjectSelectionChanged:"filterResultObjectSelectionChanged",filterResultObjectDoubleClicked:"filterResultObjectDoubleClicked",filterResultObjectMouseEntered:"filterResultObjectMouseEntered",filterResultObjectMouseLeft:"filterResultObjectMouseLeft"},standalone:!0,features:[q,S],decls:6,vars:8,consts:[[3,"header","isLoading","loadingSpinnerText"],[1,"object-navigator-content-container"],["data-test","object-navigator-no-filter-types-message",1,"object-navigator-no-filter-types"],[1,"description"],[1,"object-navigator-filters-type"],["data-test","object-navigator-filter-types-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","searchable"],[3,"value",4,"ngFor","ngForOf"],[1,"object-navigator-filters-name"],["data-test","object-navigator-filters-name-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","disabled","searchable"],[1,"object-navigator-filters-name-context-menu",3,"items"],[1,"object-navigator-filter-criteria-panel"],[1,"object-navigator-filter-criteria-header"],[1,"object-navigator-pick-object-button",3,"click","keypress","ngClass","title"],[1,"filter-criteria-container"],[3,"criterium","indent"],[1,"object-navigator-apply-button-row"],[1,"primary-button",3,"click","ngClass","disabled"],[1,"object-navigator-separator"],[3,"value"],["class","object-navigator-filters-name-context-menu",3,"items",4,"ngIf"],[3,"deleteCriterium","criterium","indent"],["id","NoObjectSelected"],[1,"scrollable-content-container"],[3,"filterCriteriaChange","api","selectedLanguage","localizedStrings","filterCriteria","rootObjectId"],[3,"nodeSelectionChanged","nodeDoubleClicked","nodeMouseEntered","nodeMouseLeft","filterResult","selectedObjects"]],template:function(i,o){i&1&&(p(0,"lib-bimplus-sidenav-drawer-content",0),N(1,"translate"),N(2,"translate"),p(3,"div",1),x(4,wO,29,29)(5,xO,3,3,"div",2),f()()),i&2&&(g("header",F(1,4,"_Object navigator"))("isLoading",o.isLoadingResults)("loadingSpinnerText",F(2,6,"_Loading_Filter_Results")),d(4),j(o.filterTypes.length>0?4:5))},dependencies:[L,ie,we,Qe,To,So,Ai,Po,Oo,Ni,x_,ni,ii,Ro,Fo,Q,de,D_,ci,E_,$t],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.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 var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.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:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.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:var(--select-container-placeholder-text-color-enabled)}.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:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.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:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);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:var(--select-multiple-container-value-background-color-disabled)}.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:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[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 var(--select-multiple-container-value-icon-right-border-color-enbabled)}.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:var(--select-multiple-container-value-input-text-color-enabled)}.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:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.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:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);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:var(--dropdown-panel-select-right-border-color-enabled);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:var(--dropdown-panel-select-bottom-border-color-enabled);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:var(--dropdown-panel-select-left-border-color-enabled);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 var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);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:var(--dropdown-panel-items-text-color-enabled);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:var(--dropdown-panel-items-marked-background-color-enabled)}.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:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);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:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.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:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.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}.primary-button{text-transform:uppercase;font: 700 1rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:inline-block;margin-left:.8rem;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem var(--primary-button-border-color-enabled);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer}.primary-button:hover{border:solid .2rem var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.primary-button:focus{border:solid .2rem var(--primary-button-border-color-focused);color:var(--primary-button-text-color-focused);background-color:var(--primary-button-background-color-focused);outline:0}.primary-button:disabled,.primary-button:disabled:active,.primary-button.disabled{border:solid .2rem var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.primary-button:active{border:solid .2rem var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}:host{display:flex}lib-bimplus-sidenav-drawer-content{width:100%;max-height:100%;display:flex;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container{display:flex;flex-direction:column;width:100%;max-height:100%;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.description{margin-bottom:.8rem;font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-no-filter-types{font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem;display:flex;flex-direction:row}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown{flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-filters-name-context-menu{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: 2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filter-criteria-panel{flex:0;padding-top:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-apply-button-row{flex:0;display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-separator{flex:0;border-top:solid .078125em var(--object-navigator-separator-border-color-enabled);padding-bottom:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container{position:relative;flex:1;width:100%;display:flex;flex-direction:column}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container>lib-bimplus-scrollable-container{position:absolute;top:0;bottom:0;flex:1;width:100%}.filter-criteria-container{display:flex;flex-direction:column;width:calc(100% - 2.4rem);padding-left:2.4rem;height:14.4rem}:host(.object-navigator){height:100%;width:100%}.object-navigator-filter-action-buttons{width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button{background-image:url("./assets/Properties_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button.active{background-image:url("./assets/Properties_18_maincolor.svg")}.object-navigator-pick-object-button{background-image:url("./assets/Pipette_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-pick-object-button.active{background-image:url("./assets/Pipette_18_maincolor.svg")}.object-navigator-filter-criteria-header{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}
|
|
35
35
|
`],encapsulation:3})}}return t})();var MO=[[["",8,"tooltip-message-title-content"]],[["",8,"tooltip-message-messages-content"]],[["",8,"tooltip-message-footer-content"]]],kO=[".tooltip-message-title-content",".tooltip-message-messages-content",".tooltip-message-footer-content"],DO=(t,n)=>({"top.px":t,"left.px":n});function EO(t,n){if(t&1&&(p(0,"div",5),D(1),f()),t&2){let e=u(2);d(),H(" ",e.messageData.title," ")}}function IO(t,n){t&1&&(pt(0),E(1,"div",12),mt())}function SO(t,n){if(t&1&&(p(0,"span",13),D(1),f()),t&2){let e=u().$implicit;Y("failed",e.type==="failed")("success",e.type==="success"),d(),H(" ",e.label," ")}}function TO(t,n){t&1&&(pt(0),D(1,":"),mt())}function OO(t,n){if(t&1&&(p(0,"span",14),x(1,TO,2,0,"ng-container",8),D(2),f()),t&2){let e=u().$implicit;d(),g("ngIf",e.label),d(),H(" ",e.value," ")}}function PO(t,n){if(t&1&&(pt(0),x(1,IO,2,0,"ng-container",8),p(2,"div",9),x(3,SO,2,5,"span",10)(4,OO,3,2,"span",11),f(),mt()),t&2){let e=n.$implicit;d(),g("ngIf",e.separatingLine),d(2),g("ngIf",e.label),d(),g("ngIf",e.value)}}function AO(t,n){if(t&1&&(p(0,"div",6),x(1,PO,5,3,"ng-container",7),f()),t&2){let e=u(2);d(),g("ngForOf",e.messageData.messages)}}function NO(t,n){if(t&1&&(p(0,"div",15),D(1),f()),t&2){let e=u(2);d(),H(" ",e.messageData.footer," ")}}function FO(t,n){if(t&1){let e=A();p(0,"div",1),_("clickOutside",function(){y(e);let o=u();return C(o._clickOutside())}),Ee(1),x(2,EO,2,1,"div",2),Ee(3,1),x(4,AO,2,1,"div",3),Ee(5,2),x(6,NO,2,1,"div",4),f()}if(t&2){let e=u();g("ngStyle",ft(4,DO,e.messagePosition.posY,e.messagePosition.posX)),d(2),g("ngIf",e.messageData&&e.messageData.title),d(2),g("ngIf",e.messageData&&e.messageData.messages),d(2),g("ngIf",e.messageData&&e.messageData.footer)}}var T_=(()=>{class t{constructor(e){this.el=e,this.messagePosition={posX:0,posY:0},this.messageData={},this.messageVisibility=!1,this.messageVisibilityChange=new M,this._parentWidth=0,this._parentHeight=0,this._element=this.el.nativeElement.shadowRoot}get element(){return this._element}_clickOutside(){this.messageVisibility=!1,this.messageVisibilityChange.emit(this.messageVisibility)}get messageParent(){return this._messageParentElement}set messageParent(e){this._messageParentElement=e,this._messageParentElement&&(this._resizeObserver=new ResizeObserver(i=>{for(let o of i){let{width:r,height:s}=o.contentRect;this._parentWidth=r,this._parentHeight=s}}),this._resizeObserver.observe(this._messageParentElement.nativeElement))}tooltipRectangleIsOutOfParentRectangleX(e,i){return e.x+e.width-i.x-i.width>0}tooltipRectangleIsOutOfParentRectangleY(e,i){return e.y+e.height-i.y-i.height>0}correctTooltipPositionX(e,i,o,r){if(!this._messageParentElement)return;let s=this._element.querySelector(".tooltip-message");if(!s)return;let a=s.getBoundingClientRect(),l=this._messageParentElement.nativeElement.getBoundingClientRect();Math.abs(a.x+a.width-e-l.left)>3?(this.messagePosition.posX=this.messagePosition.posX+e-(a.x+a.width),setTimeout(()=>{this.correctTooltipPositionX(e,i,o,r)},0)):r&&Math.abs(a.y+a.height-o-l.top)>3?setTimeout(()=>{this.correctTooltipPositionY(e,i,o,r)},0):this.tooltipRectangleIsOutOfParentRectangleY(a,l)&&(this.messagePosition.posY=this.messagePosition.posY-a.height,setTimeout(()=>{this.correctTooltipPositionY(e,i,o,!0)},0))}correctTooltipPositionY(e,i,o,r){if(!this._messageParentElement)return;let s=this._element.querySelector(".tooltip-message");if(!s)return;let a=s.getBoundingClientRect(),l=this._messageParentElement.nativeElement.getBoundingClientRect();Math.abs(a.y+a.height-o-l.top)>3?(this.messagePosition.posY=this.messagePosition.posY+o-(a.y+a.height),setTimeout(()=>{this.correctTooltipPositionY(e,i,o,r)},0)):i&&Math.abs(a.x+a.width-e-l.left)>3?setTimeout(()=>{this.correctTooltipPositionX(e,i,o,r)},0):this.tooltipRectangleIsOutOfParentRectangleX(a,l)&&(this.messagePosition.posX=this.messagePosition.posX-a.width,setTimeout(()=>{this.correctTooltipPositionX(e,!0,o,r)},0))}ngOnChanges(e){if(e.messageVisibility){if(!e.messageVisibility.currentValue)return;setTimeout(()=>{if(!this._messageParentElement)return;let i=this.messagePosition.posX,o=this.messagePosition.posY,r=this._element.querySelector(".tooltip-message");if(!r)return;let s=r.getBoundingClientRect(),a=this._messageParentElement.nativeElement.getBoundingClientRect();this.tooltipRectangleIsOutOfParentRectangleX(s,a)?(this.messagePosition.posX=this.messagePosition.posX-s.width,setTimeout(()=>{this.correctTooltipPositionX(i,!0,o,!1)},0)):this.tooltipRectangleIsOutOfParentRectangleY(s,a)&&(this.messagePosition.posY=this.messagePosition.posY-s.height,setTimeout(()=>{this.correctTooltipPositionY(i,!1,o,!0)},0))},0)}}static{this.\u0275fac=function(i){return new(i||t)(v(G))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-tooltip-message"]],inputs:{messagePosition:"messagePosition",messageData:"messageData",messageVisibility:"messageVisibility",messageParent:"messageParent"},outputs:{messageVisibilityChange:"messageVisibilityChange"},standalone:!0,features:[$e,S],ngContentSelectors:kO,decls:1,vars:1,consts:[["class","tooltip-message","libClickOutside","",3,"ngStyle","clickOutside",4,"ngIf"],["libClickOutside","",1,"tooltip-message",3,"clickOutside","ngStyle"],["class","tooltip-message-title",4,"ngIf"],["class","tooltip-message-messages",4,"ngIf"],["class","tooltip-message-footer",4,"ngIf"],[1,"tooltip-message-title"],[1,"tooltip-message-messages"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"tooltip-message-message"],["class","label",3,"failed","success",4,"ngIf"],["class","value",4,"ngIf"],[1,"separating-line"],[1,"label"],[1,"value"],[1,"tooltip-message-footer"]],template:function(i,o){i&1&&(je(MO),x(0,FO,7,7,"div",0)),i&2&&g("ngIf",o.messageVisibility)},dependencies:[L,we,Qe,ko,Yl],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.tooltip-message{border-style:solid;border-width:var(--tooltip-message-border-width, .1rem);border-color:var(--tooltip-message-border-color-enabled);position:absolute;min-width:var(--tooltip-message-min-width, 10rem);max-width:var(--tooltip-message-max-width, 30rem);left:0;top:0;cursor:default;background-color:var(--tooltip-message-background-color-enabled);display:flex;flex-direction:column}.tooltip-message>.tooltip-message-title{font-family:var(--tooltip-message-title-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--tooltip-message-title-font-size, 1.4rem);font-weight:var(--tooltip-message-title-font-weight, 700);background-color:var(--tooltip-message-title-background-color-enabled);padding:var(--tooltip-message-title-padding, .5rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tooltip-message>.tooltip-message-messages{display:flex;flex-direction:column;padding:var(--tooltip-message-body-padding, .5rem)}.tooltip-message>.tooltip-message-messages>.tooltip-message-message{padding-top:.25rem;padding-bottom:.25rem}.tooltip-message>.tooltip-message-messages>.tooltip-message-message>.label.success{color:var(--tooltip-message-text-color-success);font-weight:var(--success-message-font-weight, 700)}.tooltip-message>.tooltip-message-messages>.tooltip-message-message>.label.failed{color:var(--tooltip-message-text-color-error);font-weight:var(--error-message-font-weight, 700)}.tooltip-message>.tooltip-message-messages>.separating-line{width:100%;border-top:var(--tooltip-message-separating-line-width, .1rem) solid var(--tooltip-message-separator-border-color-enabled)}.tooltip-message>.tooltip-message-footer{font-family:var(--tooltip-message-footer-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--tooltip-message-footer-font-size, 1.4rem);font-weight:var(--tooltip-message-footer-font-weight, 700);background-color:var(--tooltip-message-footer-background-color-enabled);padding:var(--tooltip-message-footer-padding, .5rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
36
|
-
`],encapsulation:3})}}return t})();var Jl=class{http;prefix;suffix;constructor(n,e="/assets/i18n/",i=".json"){this.http=n,this.prefix=e,this.suffix=i}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}};var O_=(()=>{class t{constructor(){this.defaultLang="en",this.currentLanguage$=new Te(this.defaultLang),this.currentLanguageStrings$=new Te({}),this._languageFilesUri="/assets"}set languageFilesUri(e){this._languageFilesUri=e}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(e){this.currentLanguageStrings$.next(e)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(e){return yn(this,null,function*(){this.currentLanguage$.next(e),yield this.fetchLanguageStrings(e)})}extractLocalizedStrings(e){let i={};for(let[o,r]of Object.entries(this.currentLanguageStrings))typeof r=="string"&&e.find(s=>s===o)&&(i[o]=r);return i}fetchLanguageStrings(e){return yn(this,null,function*(){let o=yield(yield fetch(`${this._languageFilesUri}/strings_${e}.json`)).json();if(e!==this.defaultLang){let s=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),a=s&&Object.keys(s);if(a?.length)for(let l in a){let c=a[l];o[c]||(o[c]=s[c])}}this.currentLanguageStrings$.next(o)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var P_=(()=>{class t{constructor(e,i){this.el=e,this.renderer=i,this._isDraggingActive=!1,this._isDragging=!1,this.startX=0,this.startY=0,this._isDraggingActive&&(this.renderer.setStyle(this.el.nativeElement,"cursor","grab"),this.renderer.setStyle(this.el.nativeElement,"user-drag","none"))}set libDraggableComponent(e){let i=this.el.nativeElement;this._isDraggingActive=e,e?(this.renderer.setStyle(i,"cursor","grab"),this.renderer.setStyle(i,"user-drag","none")):(this.renderer.setStyle(i,"cursor","unset"),this.renderer.setStyle(i,"user-drag","auto"))}onMouseDown(e){this._isDraggingActive&&(this.startX=e.clientX,this.startY=e.clientY,this._isDragging=!0,this.renderer.setStyle(this.el.nativeElement,"cursor","grabbing"),e.preventDefault())}onMouseUp(){this._isDraggingActive&&this._isDragging&&(this._isDragging=!1,this.renderer.setStyle(this.el.nativeElement,"cursor","grab"))}onMouseMove(e){if(this._isDraggingActive&&this._isDragging){let i=this.startX-e.clientX,o=this.startY-e.clientY;this.startX=e.clientX,this.startY=e.clientY;let r=this.el.nativeElement.offsetTop-o,s=this.el.nativeElement.offsetLeft-i;this.renderer.setStyle(this.el.nativeElement,"position","absolute"),this.renderer.setStyle(this.el.nativeElement,"left",`${s}px`),this.renderer.setStyle(this.el.nativeElement,"top",`${r}px`)}}onTouchStart(e){this._isDraggingActive&&(this.startX=e.targetTouches[0].pageX,this.startY=e.targetTouches[0].pageY,this._isDragging=!0,this.renderer.setStyle(this.el.nativeElement,"cursor","grabbing"))}onTouchMove(e){if(this._isDraggingActive&&this._isDragging){let i=this.startX-e.targetTouches[0].pageX,o=this.startY-e.targetTouches[0].pageY;this.startX=e.targetTouches[0].pageX,this.startY=e.targetTouches[0].pageY;let r=this.el.nativeElement.offsetTop-o,s=this.el.nativeElement.offsetLeft-i;this.renderer.setStyle(this.el.nativeElement,"position","absolute"),this.renderer.setStyle(this.el.nativeElement,"left",`${s}px`),this.renderer.setStyle(this.el.nativeElement,"top",`${r}px`)}}onTouchEnd(){this._isDraggingActive&&this._isDragging&&(this._isDragging=!1,this.renderer.setStyle(this.el.nativeElement,"cursor","grab"))}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(Xt))}}static{this.\u0275dir=K({type:t,selectors:[["","libDraggableComponent",""]],hostBindings:function(i,o){i&1&&_("mousedown",function(s){return o.onMouseDown(s)})("mouseup",function(){return o.onMouseUp()},!1,Pt)("mousemove",function(s){return o.onMouseMove(s)},!1,Pt)("touchstart",function(s){return o.onTouchStart(s)})("touchmove",function(s){return o.onTouchMove(s)},!1,Pt)("touchend",function(s){return o.onTouchEnd(s)},!1,Pt)},inputs:{libDraggableComponent:"libDraggableComponent"},standalone:!0})}}return t})();var RO=["dialogRefContainer"],jO=["dialogOverlay"],LO=["*"];function VO(t,n){if(t&1){let e=A();p(0,"div",4,0)(2,"section",5,1),Ee(4),f(),p(5,"div",6,2),_("click",function(){y(e);let o=u();return C(o.onClose())})("keypress",function(o){y(e);let r=u();return C(r.onKeyPress(o))}),f()()}if(t&2){let e=u();d(2),g("libDraggableComponent",!!e.options.draggable),d(3),Ue("display",e.options.overlayVisibilityEnabled?"block":"none")}}var A_=(()=>{class t{constructor(e,i){this.dialogService=e,this.cdref=i,this.units="rem"}ngOnInit(){this.options=this.dialogService.options}onClose(){this.dialogService.close()}ngAfterContentInit(){this.options&&(this.cdref.detectChanges(),this.setOptions())}setOptions(){this.options&&(this.setDimensions(),this.setPosition(),this.setOverlay())}setDimensions(){let e=this.options?.width&&this.options.width.length>0?this.options.width:"auto",i=this.options?.height&&this.options.height.length>0?this.options.height:"auto";this.genDialogRefContainer.nativeElement.style.width=e,this.genDialogRefContainer.nativeElement.style.height=i}setPosition(){this.options?.position==="middle"?this.setPositionsMiddle():this.options?.position==="unset"&&this.setPositionsUnset()}setPositionsUnset(){if(this.options){this.genDialogRefContainer.nativeElement.style.position="fixed";let e=this.options?.positionOptions?.top??"0"+this.units,i=this.options?.positionOptions?.bottom??"0"+this.units,o=this.options?.positionOptions?.left??"0"+this.units,r=this.options?.positionOptions?.right??"0"+this.units;this.genDialogRefContainer.nativeElement.style.position="absolute",this.genDialogRefContainer.nativeElement.style.top=e,this.genDialogRefContainer.nativeElement.style.left=o,this.genDialogRefContainer.nativeElement.style.bottom=i,this.genDialogRefContainer.nativeElement.style.right=r,this.options.overlayVisibilityEnabled=this.options.overlayVisibilityEnabled?this.options.overlayVisibilityEnabled:!1,this.options.overlayClickEnabled=this.options.overlayVisibilityEnabled&&this.options.overlayClickEnabled?this.options.overlayClickEnabled:!1}}setPositionsMiddle(){this.options&&(this.genDialogRefContainer.nativeElement.className=this.genDialogRefContainer.nativeElement.className+" middle",this.options.draggable=!1,this.options.overlayVisibilityEnabled=this.options.overlayVisibilityEnabled?this.options.overlayVisibilityEnabled:!0,this.options.overlayClickEnabled=this.options.overlayVisibilityEnabled&&this.options.overlayClickEnabled?this.options.overlayClickEnabled:!1)}setOverlay(){this.options?.overlayVisibilityEnabled&&(this.dialogOverlay.nativeElement.style.backgroundColor="var(--modal-fade-in-background-color)")}onKeyPress(e){(e.key==="Escape"||e.key==="Esc")&&this.options?.overlayClickEnabled&&this.dialogService.close()}static{this.\u0275fac=function(i){return new(i||t)(v(Yo),v(We))}}static{this.\u0275cmp=I({type:t,selectors:[["app-general-overlay-dialog"]],viewQuery:function(i,o){if(i&1&&(
|
|
36
|
+
`],encapsulation:3})}}return t})();var Jl=class{http;prefix;suffix;constructor(n,e="/assets/i18n/",i=".json"){this.http=n,this.prefix=e,this.suffix=i}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}};var O_=(()=>{class t{constructor(){this.defaultLang="en",this.currentLanguage$=new Te(this.defaultLang),this.currentLanguageStrings$=new Te({}),this._languageFilesUri="/assets"}set languageFilesUri(e){this._languageFilesUri=e}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(e){this.currentLanguageStrings$.next(e)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(e){return yn(this,null,function*(){this.currentLanguage$.next(e),yield this.fetchLanguageStrings(e)})}extractLocalizedStrings(e){let i={};for(let[o,r]of Object.entries(this.currentLanguageStrings))typeof r=="string"&&e.find(s=>s===o)&&(i[o]=r);return i}fetchLanguageStrings(e){return yn(this,null,function*(){let o=yield(yield fetch(`${this._languageFilesUri}/strings_${e}.json`)).json();if(e!==this.defaultLang){let s=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),a=s&&Object.keys(s);if(a?.length)for(let l in a){let c=a[l];o[c]||(o[c]=s[c])}}this.currentLanguageStrings$.next(o)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var P_=(()=>{class t{constructor(e,i){this.el=e,this.renderer=i,this._isDraggingActive=!1,this._isDragging=!1,this.startX=0,this.startY=0,this._isDraggingActive&&(this.renderer.setStyle(this.el.nativeElement,"cursor","grab"),this.renderer.setStyle(this.el.nativeElement,"user-drag","none"))}set libDraggableComponent(e){let i=this.el.nativeElement;this._isDraggingActive=e,e?(this.renderer.setStyle(i,"cursor","grab"),this.renderer.setStyle(i,"user-drag","none")):(this.renderer.setStyle(i,"cursor","unset"),this.renderer.setStyle(i,"user-drag","auto"))}onMouseDown(e){this._isDraggingActive&&(this.startX=e.clientX,this.startY=e.clientY,this._isDragging=!0,this.renderer.setStyle(this.el.nativeElement,"cursor","grabbing"),e.preventDefault())}onMouseUp(){this._isDraggingActive&&this._isDragging&&(this._isDragging=!1,this.renderer.setStyle(this.el.nativeElement,"cursor","grab"))}onMouseMove(e){if(this._isDraggingActive&&this._isDragging){let i=this.startX-e.clientX,o=this.startY-e.clientY;this.startX=e.clientX,this.startY=e.clientY;let r=this.el.nativeElement.offsetTop-o,s=this.el.nativeElement.offsetLeft-i;this.renderer.setStyle(this.el.nativeElement,"position","absolute"),this.renderer.setStyle(this.el.nativeElement,"left",`${s}px`),this.renderer.setStyle(this.el.nativeElement,"top",`${r}px`)}}onTouchStart(e){this._isDraggingActive&&(this.startX=e.targetTouches[0].pageX,this.startY=e.targetTouches[0].pageY,this._isDragging=!0,this.renderer.setStyle(this.el.nativeElement,"cursor","grabbing"))}onTouchMove(e){if(this._isDraggingActive&&this._isDragging){let i=this.startX-e.targetTouches[0].pageX,o=this.startY-e.targetTouches[0].pageY;this.startX=e.targetTouches[0].pageX,this.startY=e.targetTouches[0].pageY;let r=this.el.nativeElement.offsetTop-o,s=this.el.nativeElement.offsetLeft-i;this.renderer.setStyle(this.el.nativeElement,"position","absolute"),this.renderer.setStyle(this.el.nativeElement,"left",`${s}px`),this.renderer.setStyle(this.el.nativeElement,"top",`${r}px`)}}onTouchEnd(){this._isDraggingActive&&this._isDragging&&(this._isDragging=!1,this.renderer.setStyle(this.el.nativeElement,"cursor","grab"))}static{this.\u0275fac=function(i){return new(i||t)(v(G),v(Xt))}}static{this.\u0275dir=K({type:t,selectors:[["","libDraggableComponent",""]],hostBindings:function(i,o){i&1&&_("mousedown",function(s){return o.onMouseDown(s)})("mouseup",function(){return o.onMouseUp()},!1,Pt)("mousemove",function(s){return o.onMouseMove(s)},!1,Pt)("touchstart",function(s){return o.onTouchStart(s)})("touchmove",function(s){return o.onTouchMove(s)},!1,Pt)("touchend",function(s){return o.onTouchEnd(s)},!1,Pt)},inputs:{libDraggableComponent:"libDraggableComponent"},standalone:!0})}}return t})();var RO=["dialogRefContainer"],jO=["dialogOverlay"],LO=["*"];function VO(t,n){if(t&1){let e=A();p(0,"div",4,0)(2,"section",5,1),Ee(4),f(),p(5,"div",6,2),_("click",function(){y(e);let o=u();return C(o.onClose())})("keypress",function(o){y(e);let r=u();return C(r.onKeyPress(o))}),f()()}if(t&2){let e=u();d(2),g("libDraggableComponent",!!e.options.draggable),d(3),Ue("display",e.options.overlayVisibilityEnabled?"block":"none")}}var A_=(()=>{class t{constructor(e,i){this.dialogService=e,this.cdref=i,this.units="rem"}ngOnInit(){this.options=this.dialogService.options}onClose(){this.dialogService.close()}ngAfterContentInit(){this.options&&(this.cdref.detectChanges(),this.setOptions())}setOptions(){this.options&&(this.setDimensions(),this.setPosition(),this.setOverlay())}setDimensions(){let e=this.options?.width&&this.options.width.length>0?this.options.width:"auto",i=this.options?.height&&this.options.height.length>0?this.options.height:"auto";this.genDialogRefContainer.nativeElement.style.width=e,this.genDialogRefContainer.nativeElement.style.height=i}setPosition(){this.options?.position==="middle"?this.setPositionsMiddle():this.options?.position==="unset"&&this.setPositionsUnset()}setPositionsUnset(){if(this.options){this.genDialogRefContainer.nativeElement.style.position="fixed";let e=this.options?.positionOptions?.top??"0"+this.units,i=this.options?.positionOptions?.bottom??"0"+this.units,o=this.options?.positionOptions?.left??"0"+this.units,r=this.options?.positionOptions?.right??"0"+this.units;this.genDialogRefContainer.nativeElement.style.position="absolute",this.genDialogRefContainer.nativeElement.style.top=e,this.genDialogRefContainer.nativeElement.style.left=o,this.genDialogRefContainer.nativeElement.style.bottom=i,this.genDialogRefContainer.nativeElement.style.right=r,this.options.overlayVisibilityEnabled=this.options.overlayVisibilityEnabled?this.options.overlayVisibilityEnabled:!1,this.options.overlayClickEnabled=this.options.overlayVisibilityEnabled&&this.options.overlayClickEnabled?this.options.overlayClickEnabled:!1}}setPositionsMiddle(){this.options&&(this.genDialogRefContainer.nativeElement.className=this.genDialogRefContainer.nativeElement.className+" middle",this.options.draggable=!1,this.options.overlayVisibilityEnabled=this.options.overlayVisibilityEnabled?this.options.overlayVisibilityEnabled:!0,this.options.overlayClickEnabled=this.options.overlayVisibilityEnabled&&this.options.overlayClickEnabled?this.options.overlayClickEnabled:!1)}setOverlay(){this.options?.overlayVisibilityEnabled&&(this.dialogOverlay.nativeElement.style.backgroundColor="var(--modal-fade-in-background-color)")}onKeyPress(e){(e.key==="Escape"||e.key==="Esc")&&this.options?.overlayClickEnabled&&this.dialogService.close()}static{this.\u0275fac=function(i){return new(i||t)(v(Yo),v(We))}}static{this.\u0275cmp=I({type:t,selectors:[["app-general-overlay-dialog"]],viewQuery:function(i,o){if(i&1&&(nt(RO,5),nt(jO,5)),i&2){let r;Ie(r=Se())&&(o.genDialogRefContainer=r.first),Ie(r=Se())&&(o.dialogOverlay=r.first)}},standalone:!0,features:[S],ngContentSelectors:LO,decls:1,vars:1,consts:[["generalDialogWrapper",""],["dialogRefContainer",""],["dialogOverlay",""],["class","general-dialog-wrapper",4,"ngIf"],[1,"general-dialog-wrapper"],[1,"general-dialog-content",3,"libDraggableComponent"],[1,"general-dialog-overlay",3,"click","keypress"]],template:function(i,o){i&1&&(je(),x(0,VO,7,3,"div",3)),i&2&&g("ngIf",o.options)},dependencies:[P_,L,Qe],styles:[`.general-dialog-wrapper .general-dialog-overlay{height:100%;width:100%;position:fixed;z-index:5;left:0;top:0;overflow-x:hidden;transition:.5s}.general-dialog-wrapper .general-dialog-content{z-index:12}.general-dialog-wrapper .general-dialog-content.middle{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background-color:FFFFFF}
|
|
37
37
|
`],encapsulation:3})}}return t})();var Yo=(()=>{class t{constructor(e,i){this.appRef=e,this.injector=i,this._isDialogOpen=!1,this.outputData=new be}open(e,i){i?.options&&(this.initializeSettings(i),this.createComponentsRef(e))}initializeSettings(e){try{this.inputData=e?.data,this.options=e.options}catch(i){console.log("Missing data in open method",i)}}createComponentsRef(e){this.generalDialogComponentBody=Du(e,{environmentInjector:this.injector}),this.generalDialog=Du(A_,{environmentInjector:this.injector,projectableNodes:[[this.generalDialogComponentBody.location.nativeElement]]}),document.body.appendChild(this.generalDialog.location.nativeElement),this.appRef.attachView(this.generalDialogComponentBody.hostView),this.appRef.attachView(this.generalDialog.hostView),this._isDialogOpen=!0}close(e){e?this.setOutputData(e):this.resetSettings(),this.generalDialogComponentBody.location.nativeElement.remove(),this.generalDialog.location.nativeElement.remove(),this._isDialogOpen=!1}resetSettings(){this.inputData=null,this.options=void 0}isDialogOpened(){return this._isDialogOpen}setOutputData(e){this._isDialogOpen&&this.outputData.next(e)}getOutputData(){return this.outputData}static{this.\u0275fac=function(i){return new(i||t)(B(hn),B(Vt))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var N_=(()=>{class t{get title(){return this._title}set title(e){this._title=e}get message(){return this._message}set message(e){this._message=e}constructor(e){this.dialogService=e,this._title="",this._message="",this._data=this.dialogService.inputData,this._title=this._data?.title||"",this._message=this._data?.message||""}close(){this.dialogService.close()}keypressClose(e){(e.key==="Escape"||e.key==="Esc")&&this.dialogService.close()}static{this.\u0275fac=function(i){return new(i||t)(v(Yo))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-overlay-dialog-warning"]],inputs:{title:"title",message:"message"},standalone:!0,features:[S],decls:12,vars:5,consts:[[1,"overlay-dialog-container"],[1,"overlay-dialog-container_title"],[1,"overlay-dialog-container_title_icon"],[1,"overlay-dialog-container_title_msg"],[1,"overlay-dialog-container_title_close",3,"click","keypress"],[1,"overlay-dialog-container_content"],[1,"overlay-dialog-container_content_msg"],[1,"overlay-dialog-container_content_btn",3,"click"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1),E(2,"div",2),p(3,"div",3),D(4),f(),p(5,"div",4),_("click",function(){return o.close()})("keypress",function(s){return o.keypressClose(s)}),f()(),p(6,"div",5)(7,"div",6),D(8),f(),p(9,"button",7),_("click",function(){return o.close()}),D(10),N(11,"translate"),f()()()),i&2&&(d(4),H(" ",o.title," "),d(4),H(" ",o.message," "),d(2),ee(F(11,3,"_Ok")))},dependencies:[L,Q,de],styles:[`.overlay-dialog-container{height:12.8rem;width:37.6rem;display:inline-flex;flex-direction:column;box-shadow:0 .4rem .8rem 0 var(--card-box-shadow-color),0 .6rem 2rem 0 var(--card-box-shadow-color)}.overlay-dialog-container .overlay-dialog-container_title{background-color:var(--color-help-popup-title-background);height:4rem;display:inline-flex;align-items:center}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_icon{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Warning_Title.svg") no-repeat center center;padding:0 1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_msg{color:var(--main-menu-text-default);font:700 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Cross_White.svg") no-repeat center center;cursor:default;margin:0 0 0 auto;padding-right:1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close:hover{cursor:pointer}.overlay-dialog-container .overlay-dialog-container_content{background-color:var(--main-menu-text-default);height:8.8rem}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_msg{color:var(--color-help-popup-title-background);font:400 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;padding-top:1.1rem;padding-left:1.6rem}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn{background-color:var(--primary-button-background-color-enabled);color:var(--main-menu-text-default);font:700 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;float:right;margin:0 1.6rem .8rem 0;width:4.1rem;height:2.4rem;padding:.3rem 1.2rem .4rem;gap:.8rem;border-radius:.2rem;border:.1rem solid var(--primary-button-border-color)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:hover{border:.1rem solid var(--primary-button-background-color-hovered);background-color:var(--primary-button-background-color-hovered)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:active{border:.1rem solid var(--primary-button-background-color-pressed);background-color:var(--primary-button-background-color-pressed)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:focus{border:.1rem solid var(--tasks-overview-dot-closed-background-color);background-color:var(--tasks-overview-dot-closed-background-color)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:disabled{background-color:var(--primary-button-background-color-disabled);color:var(--primary-button-text-color-disabled)}
|
|
38
38
|
`],encapsulation:3})}}return t})();function BO(t,n){if(t&1){let e=A();p(0,"div",3),_("dragging",function(o){y(e);let r=u(2);return C(r._onResizeWidth(o))}),f()}if(t&2){let e=u(2);Y("position-right",e.position==="right")("position-left",e.position==="left")}}function zO(t,n){if(t&1){let e=A();p(0,"div",4),_("dragging",function(o){y(e);let r=u(2);return C(r._onResizeWidth(o))})("clicked",function(){y(e);let o=u(2);return C(o._toggleDrawer())}),f()}if(t&2){let e=u(2);Y("position-right",e.position==="right")("position-left",e.position==="left")}}function HO(t,n){if(t&1&&x(0,BO,1,4,"div",1)(1,zO,1,4,"div",2),t&2){let e=u();j(e.hasDraggableBorder?0:-1),d(),j(e.hasDraggableHandle?1:-1)}}function $O(t,n){if(t&1){let e=A();p(0,"div",6),_("click",function(){y(e);let o=u(2);return C(o._toggleDrawer())})("keypress",function(){y(e);let o=u(2);return C(o._toggleDrawer())}),f()}if(t&2){let e=u(2);Y("position-right",e.position==="right")("position-left",e.position==="left")}}function UO(t,n){if(t&1&&x(0,$O,1,4,"div",5),t&2){let e=u();j(e.hasDraggableHandle?0:-1)}}var F_=(()=>{class t{constructor(){this.position="right",this.hasDraggableHandle=!1,this.hasDraggableBorder=!1,this.drawerWidth=300,this.drawerExpanded=!0}_toggleDrawer(){this.drawerExpanded=!this.drawerExpanded}_onResizeWidth(e){let i=e;this.position==="left"?this.drawerWidth+=i:this.position==="right"&&(this.drawerWidth-=i)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=I({type:t,selectors:[["lib-resizable-panel"]],inputs:{position:"position",hasDraggableHandle:"hasDraggableHandle",hasDraggableBorder:"hasDraggableBorder"},standalone:!0,features:[S],decls:5,vars:11,consts:[[1,"resizable-panel-drawer",3,"ngClass"],["xDraggable","",1,"resizable-panel-resize-border",3,"position-right","position-left"],["xDraggable","",1,"resizable-panel-resize-handle",3,"position-right","position-left"],["xDraggable","",1,"resizable-panel-resize-border",3,"dragging"],["xDraggable","",1,"resizable-panel-resize-handle",3,"dragging","clicked"],[1,"resizable-panel-resize-handle","collapsed",3,"position-right","position-left"],[1,"resizable-panel-resize-handle","collapsed",3,"click","keypress"]],template:function(i,o){i&1&&(p(0,"div",0),N(1,"pxsuffix"),E(2,"slot"),x(3,HO,2,2),f(),x(4,UO,1,1)),i&2&&(Ue("width",F(1,9,o.drawerWidth)),Y("position-right",o.position==="right")("position-left",o.position==="left"),g("ngClass",o.drawerExpanded?"":"hidden"),d(3),j(o.drawerExpanded?3:-1),d(),j(o.drawerExpanded?-1:4))},dependencies:[L,ie,Al,Pl],styles:[`.noselect{-webkit-user-select:none;user-select:none}.resizable-panel-drawer.position-left.hidden,.resizable-panel-drawer.position-right.hidden{display:none}.resizable-panel-drawer.position-left{min-width:var(--resizable-panel-min-width, 1rem);height:100%;border:0 solid var(--sidenav-drawer-border-color-enabled);position:absolute;bottom:0;left:0;background-color:var(--sidenav-drawer-background-color-enabled);transition:background-color .7s;border-right:solid thin var(--sidenav-drawer-border-right-color-enabled);width:300px;display:flex;flex-direction:row}.resizable-panel-drawer.position-left:hover{background-color:var(--sidenav-drawer-background-color-hovered)}.resizable-panel-drawer.position-right{min-width:var(--resizable-panel-min-width, 1rem);height:100%;border:0 solid var(--sidenav-drawer-border-color-enabled);position:absolute;bottom:0;right:0;background-color:var(--sidenav-drawer-background-color-enabled);transition:background-color .7s;border-left:solid thin var(--sidenav-drawer-border-right-color-enabled);width:300px;display:flex;flex-direction:row}.resizable-panel-drawer.position-right:hover{background-color:var(--sidenav-drawer-background-color-hovered)}.resizable-panel-resize-border.position-left{right:-5px;position:absolute;height:100%;cursor:col-resize;width:5px;-webkit-user-select:none;user-select:none}.resizable-panel-resize-border.position-right{left:0;position:absolute;height:100%;cursor:col-resize;width:5px;-webkit-user-select:none;user-select:none}.resizable-panel-resize-handle.position-left{background-image:url("./assets/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:var(--sidenav-resize-handle-left-background-color-enabled);cursor:pointer;pointer-events:all;background-position:center center;background-repeat:no-repeat;-webkit-user-select:none;user-select:none}.resizable-panel-resize-handle.position-right{background-image:url("./assets/ic_thin_arrow_left.svg");position:absolute;top:calc(50% - 2.4rem);left:-2.1rem;width:2.1rem;height:4.8rem;border-radius:.4rem 0 0 .4rem;background-color:var(--sidenav-resize-handle-left-background-color-enabled);cursor:pointer;pointer-events:all;background-position:center center;background-repeat:no-repeat;transform:rotate(180deg);-webkit-user-select:none;user-select:none}.resizable-panel-resize-handle.position-left.collapsed{left:0;border-radius:.4rem 0 0 .4rem;transform:rotate(180deg)}.resizable-panel-resize-handle.position-right.collapsed{left:calc(100% - 2.1rem);border-radius:0 .4rem .4rem 0;transform:rotate(0)}
|
|
39
39
|
`],encapsulation:3})}}return t})();function WO(t,n){if(t&1&&(p(0,"ng-option",7),D(1),f()),t&2){let e=n.$implicit;g("value",e),d(),ee(e.name)}}var R_=(()=>{class t extends le{constructor(e){super(e),this.closePropertiesPanel=new M,this.selectedObjects=[],this._activeObject=null}set activeObject(e){this._activeObject=e}get activeObject(){return this._activeObject}_closePropertiesPanel(e){oe(this,"closePropertiesPanel",e),e.stopPropagation()}static{this.\u0275fac=function(i){return new(i||t)(v(P))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-object-properties-header"]],inputs:{selectedObjects:"selectedObjects"},outputs:{closePropertiesPanel:"closePropertiesPanel"},standalone:!0,features:[ne([P]),q,S],decls:9,vars:10,consts:[[1,"object-properties-header"],[1,"object-properties-header-object"],[1,"object-properties-header-object-select"],[1,"object-properties-header-object-select-dropdown",3,"ngModelChange","ngModel","clearable","searchable"],[3,"value",4,"ngFor","ngForOf"],[1,"object-properties-header-link-icon",3,"title"],[1,"object-properties-header-close-icon",3,"click","keydown","title"],[3,"value"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"ng-select",3),Tn("ngModelChange",function(s){return Kn(o.activeObject,s)||(o.activeObject=s),s}),x(4,WO,2,2,"ng-option",4),f()()(),E(5,"div",5),N(6,"translate"),p(7,"div",6),N(8,"translate"),_("click",function(s){return o._closePropertiesPanel(s)})("keydown",function(s){return o._closePropertiesPanel(s)}),f()()),i&2&&(d(3),Sn("ngModel",o.activeObject),g("clearable",!1)("searchable",!1),d(),g("ngForOf",o.selectedObjects),d(),ve("title",F(6,6,"_Create link")),d(2),ve("title",F(8,8,"_Close_properties_panel_title")))},dependencies:[L,we,To,So,Ai,Po,Oo,Ni,Q,de],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.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 var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.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:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.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:var(--select-container-placeholder-text-color-enabled)}.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:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.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:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);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:var(--select-multiple-container-value-background-color-disabled)}.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:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[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 var(--select-multiple-container-value-icon-right-border-color-enbabled)}.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:var(--select-multiple-container-value-input-text-color-enabled)}.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:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.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:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);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:var(--dropdown-panel-select-right-border-color-enabled);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:var(--dropdown-panel-select-bottom-border-color-enabled);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:var(--dropdown-panel-select-left-border-color-enabled);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 var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);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:var(--dropdown-panel-items-text-color-enabled);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:var(--dropdown-panel-items-marked-background-color-enabled)}.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:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);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:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.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:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.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}:host{display:flex}.object-properties-header{flex:1;height:4.6rem;display:flex;flex-direction:row;background-color:var(--sidenav-drawer-content-header-background-color-enabled)}.object-properties-header>.object-properties-header-object{display:flex;flex-direction:column;justify-content:center;margin-left:.8rem;margin-right:.8rem;flex:1}.object-properties-header>.object-properties-header-object>.object-properties-header-object-select{height:2.4rem}.object-properties-header>.object-properties-header-object>.object-properties-header-object-select>.object-properties-header-object-select-dropdown{flex:1}.object-properties-header>.object-properties-header-object>.object-properties-header-object-select>.object-properties-header-object-select-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.object-properties-header>.object-properties-header-link-icon{flex:1;background:url("./assets/Link_to_object_18_gray.svg") no-repeat center;background-size:1.8rem;height:4.6rem;width:3.2rem;max-width:3.2rem;background-position:center center;cursor:pointer}.object-properties-header>.object-properties-header-close-icon{flex:1;background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:1.8rem;height:4.6rem;width:3.2rem;max-width:3.2rem;background-position:center center;cursor:pointer}
|
|
40
40
|
`],encapsulation:3})}}return t})();var j_=(()=>{class t{get title(){return this._title}set title(e){this._title=e}get message(){return this._message}set message(e){this._message=e}constructor(e){this.dialogService=e,this._title="",this._message="",this._data=this.dialogService.inputData,this._title=this._data?.title||"",this._message=this._data?.message||""}close(){this.dialogService.close()}keypressClose(e){(e.key==="Escape"||e.key==="Esc")&&this.dialogService.close()}static{this.\u0275fac=function(i){return new(i||t)(v(Yo))}}static{this.\u0275cmp=I({type:t,selectors:[["lib-bimplus-overlay-dialog-error"]],inputs:{title:"title",message:"message"},standalone:!0,features:[S],decls:12,vars:5,consts:[[1,"overlay-dialog-container"],[1,"overlay-dialog-container_title"],[1,"overlay-dialog-container_title_icon"],[1,"overlay-dialog-container_title_msg"],[1,"overlay-dialog-container_title_close",3,"click","keypress"],[1,"overlay-dialog-container_content"],[1,"overlay-dialog-container_content_msg"],[1,"overlay-dialog-container_content_btn",3,"click"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1),E(2,"div",2),p(3,"div",3),D(4),f(),p(5,"div",4),_("click",function(){return o.close()})("keypress",function(s){return o.keypressClose(s)}),f()(),p(6,"div",5)(7,"div",6),D(8),f(),p(9,"button",7),_("click",function(){return o.close()}),D(10),N(11,"translate"),f()()()),i&2&&(d(4),H(" ",o.title," "),d(4),H(" ",o.message," "),d(2),ee(F(11,3,"_Ok")))},dependencies:[L,Q,de],styles:[`.overlay-dialog-container{height:12.8rem;width:37.6rem;display:inline-flex;flex-direction:column;box-shadow:0 .4rem .8rem 0 var(--card-box-shadow-color),0 .6rem 2rem 0 var(--card-box-shadow-color)}.overlay-dialog-container .overlay-dialog-container_title{background-color:var(--color-help-popup-title-background);height:4rem;display:inline-flex;align-items:center}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_icon{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Error_Title.svg") no-repeat center center;padding:0 1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_msg{color:var(--main-menu-text-default);font:700 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Cross_White.svg") no-repeat center center;cursor:default;margin:0 0 0 auto;padding-right:1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close:hover{cursor:pointer}.overlay-dialog-container .overlay-dialog-container_content{background-color:var(--main-menu-text-default);height:8.8rem}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_msg{color:var(--color-help-popup-title-background);font:400 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;padding-top:1.1rem;padding-left:1.6rem}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn{background-color:var(--primary-button-background-color-enabled);color:var(--main-menu-text-default);font:700 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;float:right;margin:0 1.6rem .8rem 0;width:4.1rem;height:2.4rem;padding:.3rem 1.2rem .4rem;gap:.8rem;border-radius:.2rem;border:.1rem solid var(--primary-button-border-color)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:hover{border:.1rem solid var(--primary-button-background-color-hovered);background-color:var(--primary-button-background-color-hovered)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:active{border:.1rem solid var(--primary-button-background-color-pressed);background-color:var(--primary-button-background-color-pressed)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:focus{border:.1rem solid var(--tasks-overview-dot-closed-background-color);background-color:var(--tasks-overview-dot-closed-background-color)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:disabled{background-color:var(--primary-button-background-color-disabled);color:var(--primary-button-text-color-disabled)}
|
|
41
|
-
`],encapsulation:3})}}return t})();function GO(t,n){if(t&1){let e=A();p(0,"lib-bimplus-main-menu",20),_("bimplusMainMenuClicked",function(o){y(e);let r=u();return C(r.bimplusMainMenuClicked(o))})("bimplusMainMenuOverlayClicked",function(){y(e);let o=u();return C(o.bimplusMainMenuOverlayClicked())}),f()}if(t&2){let e=u();g("selectedLanguage",e.languageStringsService.currentLanguage)("localizedStrings",e.languageStringsService.currentLanguageStrings)("isTouch",e.isTouch)("showHorizontalMenuIcons",e.isTouch)("appsWithInfo",e.appsWithInfo)("appsOrder",e.appsOrder)("menuItemsOrder",e.menuItemsOrder)}}var L_=(()=>{class t{constructor(e,i){this.translateService=e,this.languageStringsService=i,this.isTouch=!1,this.isBimplusMainMenuVisible=!0,this.isNavbarMenuActive=!0,this.selectedZoom="100",this.messages="",this.contextMenuItems=[],this.contextMenuData=[],this.treeData=[],this.treeDataStringified=null,this.treeDataContextMenu=null,this.appsWithInfo=["portalSelectProjectBtn","portalBimUsers","portalBimModels"],this.appsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses","dividerprojectmanagement","portalBimViewerBtn","portalCloudViewerBtn","portalConnexisBtn","portalBimAutoconverterBtn","dividerapps","portalTeamManagementBtn","portalPropertyManagerBtn"],this.menuItemsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses"],this.showDialog=!1,this.languageStringsService.currentLanguage$.pipe(Uo()).subscribe({next:o=>{this.translateService.use(o)}}),this.languageStringsService.currentLanguageStrings$.pipe(Uo()).subscribe({next:o=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,o)}})}log(e,i,o,r){let s=`EVENT : ${e}. `+(o?`INDEX: ${i?.detail?.index} ACTION: ${i?.detail?.action}`:`VALUE: ${i?.detail}`);(r?()=>window.alert(s):()=>console.log(s))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:e=>{this.log("Navbar clicked",e),e?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages(),this.initContextMenu()}bimplusLanguageSelected(e){this.log("bimplusLanguageSelected",{detail:e}),this._switchLanguage(e)}_switchLanguage(e){e&&this.languageStringsService.setCurrentLanguage(e)}bimplusUserMenuClicked(e){this.log("bimplusUserMenuClicked",e,!0)}bimplusTouchModeSelected(e){this.log("bimplusTouchModeSelected",{detail:e}),this.isTouch=e==="touch"}bimplusMainMenuClicked(e){this.log("bimplusUserMenuClicked",{detail:e},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(e){this.log("bimplusStorageInfoClicked",{detail:e},!1,!0)}bimplusContactClicked(e){this.log("bimplusContactClicked",{detail:e},!1,!0)}bimplusZoomSelected(e){this.log("bimplusZoomSelected",{detail:e}),this.selectedZoom=e;let i=62.5*(Number(e)/100),o=document.querySelector("html");o&&(o.style.fontSize=i+"%")}bimplusNotifyDeleteMessage(e){let i=JSON.parse(e),o=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(r=>r.id!==i.id);this.messages=o&&JSON.stringify({messages:o})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(e){this.log("This is notify message action handler",{detail:e},!1,!0)}selectedNodes(e){this.log("selectedNodes",{detail:JSON.stringify(e)})}initLanguage(){this.languageStringsService.languageFilesUri="/assets/languages",this._switchLanguage("en")}initMessages(){this.messages=JSON.stringify({messages:[{id:"ALFA",type:"info",title:"Import successful",text:"kolizia.ifc has been imported",linkText:"Click here to open the project",link:"#/"},{id:"BETA",type:"info",title:"Clash detection done",text:"Clash detection on the project House1 with preset has been done.",linkText:"Click here to open the project"},{id:"OMEGA",type:"info",title:"Model export finished",text:"",linkText:"Click here to download `00 EMPTY__revision_comparison1.ifc` model."},{id:"OMEGA1",type:"info",title:"Model export finished",text:"Structural model included. Reinforcement of Hospital.ifc has been imported.",linkText:["Click here to download `XXXX` model.","Click here to download `YYYYY` model."],links:["#/1","#/2"]},{id:"TEST3",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST4",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST5",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST6",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."}]})}initContextMenu(){this.contextMenuItems=[{id:"openFile",title:"Open file",icon:"./favicon.ico",tooltip:"Open file tooltip",disabled:()=>!0},{id:"separator"},{id:"closeFile",title:"Close file",icon:"./favicon.ico",disabled:()=>!0},{id:"deleteFile",title:"Delete file",icon:"./favicon.ico"},{id:"separator"},{id:"renameFile",title:"Rename file",icon:"./favicon.ico",action:e=>{console.log(e)},tooltip:"Rename file tooltip"},{id:"renameFile",title:"Looooooooooooooooooooooooooooooooooooooooooooooooooooong item name",icon:"./favicon.ico",action:e=>{console.log(e)},tooltip:"Looooooooooooooooooooooooooooooooooooooooooooooooooooong item name"}],this.contextMenuData=[{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]}setupTreeData(e){let i=[];switch(e){case"Folders3":i.push({name:"Folders3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{name:"Folder 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"Folder 1 - 1 very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong name",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[{name:"File 1 - 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-03",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-04",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-05",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"}]},{name:"File 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-06",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01"},{name:"File 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-07",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01"}]},{name:"Folder 4",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-22",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[]},{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"},{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-25",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]});break;case"Folders2":i.push({name:"Folders2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{name:"Folder 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"Folder 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[{name:"File 1 - 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-03",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-04",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-05",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"}]},{name:"Folder 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-06",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[]},{name:"Folder 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-07",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[]}]},{name:"Folder 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 2 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-09",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08"},{name:"Folder 2 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08",children:[{name:"File 2 - 2 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-11",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"},{name:"File 2 - 2 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-12",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"},{name:"File 2 - 2 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-13",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"}]},{name:"File 2 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-14",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08"}]},{name:"Folder 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-16",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15"},{name:"File 3 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-17",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15"},{name:"Folder 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15",children:[{name:"File 3 - 3 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-19",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"},{name:"File 3 - 3 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-20",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"},{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-21",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"}]}]},{name:"Folder 4",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-22",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[]},{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]});break;default:i.push({id:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{id:"78b8109a-aac3-4307-8ddb-745a64710d36",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",name:"General folder",type:"DocumentFolder",number:1,level:1,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"123756a8-c06f-4954-8851-93f95b1629c1",children:[{id:"36a92f23-98e7-42db-b150-b0dae491d355",children:[{id:"2bbfbce5-beb8-49b1-bbef-430b061318c9",structureElementId:"86b65d1e-0490-45f2-abd6-402a176bc219",parent:"36a92f23-98e7-42db-b150-b0dae491d355",name:"Allplan_QTO-QTO-2024-02-16-08-27-15.xlsx",type:"Attachment",number:0,level:3},{id:"9eb72c59-f019-4679-9bf4-07f8055388d4",structureElementId:"cc9c8694-4d70-4066-9475-d4375e67d7a0",parent:"36a92f23-98e7-42db-b150-b0dae491d355",name:"Allplan_QTO-QTO-2024-02-16-08-24-49.xlsx",type:"Attachment",number:0,level:3}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"ELEMENTS",type:"DocumentFolder",number:1,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"73ad9d94-3ace-4124-b533-b4e2cbe07ab1",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"IFC",type:"DocumentFolder",number:2,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"0378d1be-7b77-4705-a347-adda0ec04674",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"LOG",type:"DocumentFolder",number:3,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"abfd2209-225b-452d-91c9-d33269e47334",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"ISSUES",type:"DocumentFolder",number:4,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"094c8e91-7023-4c1e-8afb-6480d34cd4d1",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"SLIDESHOWS",type:"DocumentFolder",number:5,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"d5d9ea2f-0337-4321-8917-3d485a76247a",children:[],color:4285988983,folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"OTHER MODELS",type:"DocumentFolder",number:6,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",name:"MY DOCUMENTS",type:"DocumentFolder",number:2,level:1,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,parent:"d71d6daf-1114-42c4-84ad-5807837cac7b",name:"Folders1",type:"DocumentFolder",number:0,level:0});break}e==="Folders3"?(this.treeData=i,this.treeDataStringified=null,this.treeDataContextMenu={objectContextMenuitems:[{id:"openFile",title:"Open file",icon:"./favicon.ico",tooltip:"Open file tooltip"},{id:"separator"},{id:"closeFile",title:"Close file",icon:"./favicon.ico",disabled:()=>!0},{id:"deleteFile",title:"Delete file",icon:"./favicon.ico",disabled:()=>!1},{id:"separator"},{id:"renameFile",title:"Rename file",icon:"./favicon.ico",action:o=>{console.log(o)},tooltip:"Rename file tooltip"}],folderContextMenuitems:[{id:"renameFolder",title:"Rename folder",icon:"./favicon.ico",tooltip:"Rename folder tooltip"},{id:"deletFolder",title:"Delete folder",tooltip:"Delete folder tooltip"}]}):(this.treeData=[],this.treeDataStringified=JSON.stringify(i),this.treeDataContextMenu=null)}getNode(){let i=document.querySelector("lib-bimplus-flat-tree")?.get_node?.({id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"},!1);console.log(i)}selectNode(){document.querySelector("lib-bimplus-flat-tree")?.select_node?.("dbc08cd2-9f50-465b-9b54-da29c4988d07-24")}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(O_))}}static{this.\u0275cmp=I({type:t,selectors:[["app-root"]],standalone:!0,features:[S],decls:26,vars:26,consts:[[1,"bimplus-components-navbar","visible"],["isNavbarMessageVisible","false","teamInfo","test_team","projectInfo","00 Quickstart project and some very very long text","teamInfoOffset","0.9rem","isDev","true","isStage","true","isNavbarInfoVisible","true",3,"isNavbarMenuVisible","isNavbarMenuActive","isTouch"],["showIcons","true","triggerTitle","File context menu",3,"items","data"],[3,"bimplusNotifyMessageAction","bimplusNotifyDeleteMessage","bimplusNotifyDeleteAllMessages","selectedLanguage","localizedStrings","messages"],[3,"bimplusStorageInfoClicked","selectedLanguage","localizedStrings","usedStorage"],[3,"bimplusContactClicked"],[3,"bimplusZoomSelected","selectedZoom"],[3,"bimplusTouchModeSelected","selectedMode","selectedLanguage","localizedStrings"],[3,"bimplusLanguageSelected","selectedLanguage"],["userName","Test User","userPhotoUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","buttonTitle","testuser@allplan.com","allowRcaItem","true",3,"bimplusLanguageSelected","bimplusUserMenuClicked","selectedLanguage","localizedStrings","isTouch"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"],[1,"floating-panels-wrapper"],[3,"selectedLanguage","localizedStrings","noModelsMessage"],[1,"tree-data","tree-data-1",3,"click","keypress"],[1,"tree-data","tree-data-2",3,"click","keypress"],[1,"tree-data","tree-data-3",3,"click","keypress"],[1,"tree-data","tree-data-3","get-node",3,"click","keypress"],[1,"tree-data","tree-data-3","select-node",3,"click","keypress"],[1,"tree"],["enableSelect","true","enableParentHighlighting","true","multiSelect","true","oneLevelMultiSelect","false","showFoldersIcons","true","showObjectsIcons","true","enableDragAndDrop","true","treeTitle","FLAT TREE","paddingIndent","2.8rem",1,"flat-tree",3,"selectedNodes","treeData","treeDataStringified","contextMenus"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"bimplusMainMenuClicked","bimplusMainMenuOverlayClicked","selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"lib-bimplus-navbar",1),E(2,"lib-bimplus-context-menu",2),p(3,"lib-bimplus-notify",3),_("bimplusNotifyMessageAction",function(s){return o.bimplusNotifyMessageAction(s)})("bimplusNotifyDeleteMessage",function(s){return o.bimplusNotifyDeleteMessage(s)})("bimplusNotifyDeleteAllMessages",function(){return o.bimplusNotifyDeleteAllMessages()}),f(),p(4,"lib-bimplus-storage-info",4),_("bimplusStorageInfoClicked",function(s){return o.bimplusStorageInfoClicked(s)}),f(),p(5,"lib-bimplus-contact",5),_("bimplusContactClicked",function(s){return o.bimplusContactClicked(s)}),f(),p(6,"lib-bimplus-zoom",6),_("bimplusZoomSelected",function(s){return o.bimplusZoomSelected(s)}),f(),p(7,"lib-bimplus-touch-menu",7),_("bimplusTouchModeSelected",function(s){return o.bimplusTouchModeSelected(s)}),f(),p(8,"lib-bimplus-language-menu",8),_("bimplusLanguageSelected",function(s){return o.bimplusLanguageSelected(s)}),f(),p(9,"lib-bimplus-user-menu",9),_("bimplusLanguageSelected",function(s){return o.bimplusLanguageSelected(s)})("bimplusUserMenuClicked",function(s){return o.bimplusUserMenuClicked(s)}),f()()(),x(10,GO,1,7,"lib-bimplus-main-menu",10),p(11,"div",11),E(12,"lib-bimplus-floating-bar-project-navigator",12),f(),p(13,"div",13),_("click",function(){return o.setupTreeData("Folders1")})("keypress",function(){return o.setupTreeData("Folders1")}),D(14,"Folders1"),f(),p(15,"div",14),_("click",function(){return o.setupTreeData("Folders2")})("keypress",function(){return o.setupTreeData("Folders2")}),D(16,"Folders2"),f(),p(17,"div",15),_("click",function(){return o.setupTreeData("Folders3")})("keypress",function(){return o.setupTreeData("Folders3")}),D(18,"Folders3"),f(),p(19,"div",16),_("click",function(){return o.getNode()})("keypress",function(){return o.getNode()}),D(20,"get_node (from Folders3)"),f(),p(21,"div",17),_("click",function(){return o.selectNode()})("keypress",function(){return o.selectNode()}),D(22,"select_node (from Folders3)"),f(),p(23,"div",18)(24,"lib-bimplus-scrollable-container")(25,"lib-bimplus-flat-tree",19),_("selectedNodes",function(s){return o.selectedNodes(s)}),f()()()),i&2&&(d(),g("isNavbarMenuVisible",o.isBimplusMainMenuVisible)("isNavbarMenuActive",o.isNavbarMenuActive)("isTouch",o.isTouch),d(),g("items",o.contextMenuItems)("data",o.contextMenuData),d(),g("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("messages",o.messages),d(),g("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("usedStorage",90),d(2),g("selectedZoom",o.selectedZoom),d(),g("selectedMode",o.isTouch?"touch":"desktop")("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings),d(),g("selectedLanguage",o.languageStringsService.currentLanguage),d(),g("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),d(),j(o.isNavbarMenuActive?10:-1),d(2),g("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("noModelsMessage","_Loading project details"),d(13),g("treeData",o.treeData)("treeDataStringified",o.treeDataStringified)("contextMenus",o.treeDataContextMenu))},dependencies:[Ml,kl,Dl,Il,Sl,Ol,Nl,Rl,jl,Rt,ci,$t,Fl,L],styles:[`*,html{font-size:100%;margin:0;padding:0}html{font-size:62.5%}body{background-color:gray}.hidden{display:none}bimplus-main-menu{height:50vh}lib-bimplus-floating-bar-project-navigator{position:absolute}.floating-panels-wrapper{position:relative}.tree-data{background-color:#fff;font-size:1.5rem;width:fit-content;padding:.5rem;border-style:solid;border-width:.2rem;border-radius:.5rem;margin:.5rem;cursor:pointer}.tree{width:20%;height:250px}
|
|
41
|
+
`],encapsulation:3})}}return t})();function GO(t,n){if(t&1){let e=A();p(0,"lib-bimplus-main-menu",20),_("bimplusMainMenuClicked",function(o){y(e);let r=u();return C(r.bimplusMainMenuClicked(o))})("bimplusMainMenuOverlayClicked",function(){y(e);let o=u();return C(o.bimplusMainMenuOverlayClicked())}),f()}if(t&2){let e=u();g("selectedLanguage",e.languageStringsService.currentLanguage)("localizedStrings",e.languageStringsService.currentLanguageStrings)("isTouch",e.isTouch)("showHorizontalMenuIcons",e.isTouch)("appsWithInfo",e.appsWithInfo)("appsOrder",e.appsOrder)("menuItemsOrder",e.menuItemsOrder)}}var L_=(()=>{class t{constructor(e,i){this.translateService=e,this.languageStringsService=i,this.isTouch=!1,this.isBimplusMainMenuVisible=!0,this.isNavbarMenuActive=!0,this.selectedZoom="100",this.messages="",this.contextMenuItems=[],this.contextMenuData=[],this.treeData=[],this.treeDataStringified=null,this.treeDataContextMenu=null,this.appsWithInfo=["portalSelectProjectBtn","portalBimUsers","portalBimModels"],this.appsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses","dividerprojectmanagement","portalBimViewerBtn","portalCloudViewerBtn","portalConnexisBtn","portalBimAutoconverterBtn","dividerapps","portalTeamManagementBtn","portalPropertyManagerBtn"],this.menuItemsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses"],this.showDialog=!1,this.languageStringsService.currentLanguage$.pipe(Uo()).subscribe({next:o=>{this.translateService.use(o)}}),this.languageStringsService.currentLanguageStrings$.pipe(Uo()).subscribe({next:o=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,o)}})}log(e,i,o,r){let s=`EVENT : ${e}. `+(o?`INDEX: ${i?.detail?.index} ACTION: ${i?.detail?.action}`:`VALUE: ${i?.detail}`);(r?()=>window.alert(s):()=>console.log(s))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:e=>{this.log("Navbar clicked",e),e?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages(),this.initContextMenu()}bimplusLanguageSelected(e){this.log("bimplusLanguageSelected",{detail:e}),this._switchLanguage(e)}_switchLanguage(e){e&&this.languageStringsService.setCurrentLanguage(e)}bimplusUserMenuClicked(e){this.log("bimplusUserMenuClicked",e,!0)}bimplusTouchModeSelected(e){this.log("bimplusTouchModeSelected",{detail:e}),this.isTouch=e==="touch"}bimplusMainMenuClicked(e){this.log("bimplusUserMenuClicked",{detail:e},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(e){this.log("bimplusStorageInfoClicked",{detail:e},!1,!0)}bimplusContactClicked(e){this.log("bimplusContactClicked",{detail:e},!1,!0)}bimplusZoomSelected(e){this.log("bimplusZoomSelected",{detail:e}),this.selectedZoom=e;let i=62.5*(Number(e)/100),o=document.querySelector("html");o&&(o.style.fontSize=i+"%")}bimplusNotifyDeleteMessage(e){let i=JSON.parse(e),o=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(r=>r.id!==i.id);this.messages=o&&JSON.stringify({messages:o})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(e){this.log("This is notify message action handler",{detail:e},!1,!0)}selectedNodes(e){this.log("selectedNodes",{detail:JSON.stringify(e)})}initLanguage(){this.languageStringsService.languageFilesUri="/assets/languages",this._switchLanguage("en")}initMessages(){this.messages=JSON.stringify({messages:[{id:"ALFA",type:"info",title:"Import successful",text:"kolizia.ifc has been imported",linkText:"Click here to open the project",link:"#/"},{id:"BETA",type:"info",title:"Clash detection done",text:"Clash detection on the project House1 with preset has been done.",linkText:"Click here to open the project"},{id:"OMEGA",type:"info",title:"Model export finished",text:"",linkText:"Click here to download `00 EMPTY__revision_comparison1.ifc` model."},{id:"OMEGA1",type:"info",title:"Model export finished",text:"Structural model included. Reinforcement of Hospital.ifc has been imported.",linkText:["Click here to download `XXXX` model.","Click here to download `YYYYY` model."],links:["#/1","#/2"]},{id:"TEST3",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST4",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST5",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST6",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."}]})}initContextMenu(){this.contextMenuItems=[{id:"openFile",title:"Open file",icon:"./favicon.ico",tooltip:"Open file tooltip",disabled:()=>!0},{id:"separator"},{id:"closeFile",title:"Close file",icon:"./favicon.ico",disabled:()=>!0},{id:"deleteFile",title:"Delete file",icon:"./favicon.ico"},{id:"separator"},{id:"renameFile",title:"Rename file",icon:"./favicon.ico",action:e=>{console.log(e)},tooltip:"Rename file tooltip"},{id:"renameFile",title:"Looooooooooooooooooooooooooooooooooooooooooooooooooooong item name",icon:"./favicon.ico",action:e=>{console.log(e)},tooltip:"Looooooooooooooooooooooooooooooooooooooooooooooooooooong item name"}],this.contextMenuData=[{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]}setupTreeData(e){let i=[];switch(e){case"Folders3":i.push({name:"Folders3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{name:"Folder 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"Folder 1 - 1 very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong name",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[{name:"File 1 - 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-03",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-04",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-05",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"}]},{name:"File 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-06",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01"},{name:"File 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-07",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01"}]},{name:"Folder 4",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-22",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[]},{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"},{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-25",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]});break;case"Folders2":i.push({name:"Folders2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{name:"Folder 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"Folder 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[{name:"File 1 - 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-03",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-04",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-05",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"}]},{name:"Folder 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-06",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[]},{name:"Folder 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-07",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[]}]},{name:"Folder 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 2 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-09",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08"},{name:"Folder 2 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08",children:[{name:"File 2 - 2 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-11",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"},{name:"File 2 - 2 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-12",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"},{name:"File 2 - 2 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-13",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"}]},{name:"File 2 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-14",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08"}]},{name:"Folder 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-16",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15"},{name:"File 3 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-17",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15"},{name:"Folder 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15",children:[{name:"File 3 - 3 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-19",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"},{name:"File 3 - 3 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-20",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"},{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-21",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"}]}]},{name:"Folder 4",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-22",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[]},{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]});break;default:i.push({id:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{id:"78b8109a-aac3-4307-8ddb-745a64710d36",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",name:"General folder",type:"DocumentFolder",number:1,level:1,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"123756a8-c06f-4954-8851-93f95b1629c1",children:[{id:"36a92f23-98e7-42db-b150-b0dae491d355",children:[{id:"2bbfbce5-beb8-49b1-bbef-430b061318c9",structureElementId:"86b65d1e-0490-45f2-abd6-402a176bc219",parent:"36a92f23-98e7-42db-b150-b0dae491d355",name:"Allplan_QTO-QTO-2024-02-16-08-27-15.xlsx",type:"Attachment",number:0,level:3},{id:"9eb72c59-f019-4679-9bf4-07f8055388d4",structureElementId:"cc9c8694-4d70-4066-9475-d4375e67d7a0",parent:"36a92f23-98e7-42db-b150-b0dae491d355",name:"Allplan_QTO-QTO-2024-02-16-08-24-49.xlsx",type:"Attachment",number:0,level:3}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"ELEMENTS",type:"DocumentFolder",number:1,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"73ad9d94-3ace-4124-b533-b4e2cbe07ab1",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"IFC",type:"DocumentFolder",number:2,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"0378d1be-7b77-4705-a347-adda0ec04674",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"LOG",type:"DocumentFolder",number:3,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"abfd2209-225b-452d-91c9-d33269e47334",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"ISSUES",type:"DocumentFolder",number:4,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"094c8e91-7023-4c1e-8afb-6480d34cd4d1",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"SLIDESHOWS",type:"DocumentFolder",number:5,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"d5d9ea2f-0337-4321-8917-3d485a76247a",children:[],color:4285988983,folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"OTHER MODELS",type:"DocumentFolder",number:6,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",name:"MY DOCUMENTS",type:"DocumentFolder",number:2,level:1,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,parent:"d71d6daf-1114-42c4-84ad-5807837cac7b",name:"Folders1",type:"DocumentFolder",number:0,level:0});break}e==="Folders3"?(this.treeData=i,this.treeDataStringified=null,this.treeDataContextMenu={objectContextMenuitems:[{id:"openFile",title:"Open file",icon:"./favicon.ico",tooltip:"Open file tooltip"},{id:"separator"},{id:"closeFile",title:"Close file",icon:"./favicon.ico",disabled:()=>!0},{id:"deleteFile",title:"Delete file",icon:"./favicon.ico",disabled:()=>!1},{id:"separator"},{id:"renameFile",title:"Rename file",icon:"./favicon.ico",action:o=>{console.log(o)},tooltip:"Rename file tooltip"}],folderContextMenuitems:[{id:"renameFolder",title:"Rename folder",icon:"./favicon.ico",tooltip:"Rename folder tooltip"},{id:"deletFolder",title:"Delete folder",tooltip:"Delete folder tooltip"}]}):(this.treeData=[],this.treeDataStringified=JSON.stringify(i),this.treeDataContextMenu=null)}getNode(){let i=document.querySelector("lib-bimplus-flat-tree")?.get_node?.({id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"},!1);console.log(i)}selectNode(){document.querySelector("lib-bimplus-flat-tree")?.select_node?.("dbc08cd2-9f50-465b-9b54-da29c4988d07-24")}static{this.\u0275fac=function(i){return new(i||t)(v(P),v(O_))}}static{this.\u0275cmp=I({type:t,selectors:[["app-root"]],standalone:!0,features:[S],decls:26,vars:26,consts:[[1,"bimplus-components-navbar","visible"],["isNavbarMessageVisible","false","teamInfo","test_team","projectInfo","00 Quickstart project and some very very long text","teamInfoOffset","0.9rem","isDev","true","isStage","true","isNavbarInfoVisible","true",3,"isNavbarMenuVisible","isNavbarMenuActive","isTouch"],["showIcons","true","triggerTitle","File context menu",3,"items","data"],[3,"bimplusNotifyMessageAction","bimplusNotifyDeleteMessage","bimplusNotifyDeleteAllMessages","selectedLanguage","localizedStrings","messages"],[3,"bimplusStorageInfoClicked","selectedLanguage","localizedStrings","usedStorage"],[3,"bimplusContactClicked"],[3,"bimplusZoomSelected","selectedZoom"],[3,"bimplusTouchModeSelected","selectedMode","selectedLanguage","localizedStrings"],[3,"bimplusLanguageSelected","selectedLanguage"],["userName","Test User","userPhotoUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","buttonTitle","testuser@allplan.com","allowRcaItem","true",3,"bimplusLanguageSelected","bimplusUserMenuClicked","selectedLanguage","localizedStrings","isTouch"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","propertymanagerDisabled","","connexisVisible","false","teammembersDisabled","","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"],[1,"floating-panels-wrapper"],[3,"selectedLanguage","localizedStrings","noModelsMessage"],[1,"tree-data","tree-data-1",3,"click","keypress"],[1,"tree-data","tree-data-2",3,"click","keypress"],[1,"tree-data","tree-data-3",3,"click","keypress"],[1,"tree-data","tree-data-3","get-node",3,"click","keypress"],[1,"tree-data","tree-data-3","select-node",3,"click","keypress"],[1,"tree"],["enableSelect","true","enableParentHighlighting","true","multiSelect","true","oneLevelMultiSelect","false","showFoldersIcons","true","showObjectsIcons","true","enableDragAndDrop","true","treeTitle","FLAT TREE","paddingIndent","2.8rem",1,"flat-tree",3,"selectedNodes","treeData","treeDataStringified","contextMenus"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","propertymanagerDisabled","","connexisVisible","false","teammembersDisabled","","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"bimplusMainMenuClicked","bimplusMainMenuOverlayClicked","selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"lib-bimplus-navbar",1),E(2,"lib-bimplus-context-menu",2),p(3,"lib-bimplus-notify",3),_("bimplusNotifyMessageAction",function(s){return o.bimplusNotifyMessageAction(s)})("bimplusNotifyDeleteMessage",function(s){return o.bimplusNotifyDeleteMessage(s)})("bimplusNotifyDeleteAllMessages",function(){return o.bimplusNotifyDeleteAllMessages()}),f(),p(4,"lib-bimplus-storage-info",4),_("bimplusStorageInfoClicked",function(s){return o.bimplusStorageInfoClicked(s)}),f(),p(5,"lib-bimplus-contact",5),_("bimplusContactClicked",function(s){return o.bimplusContactClicked(s)}),f(),p(6,"lib-bimplus-zoom",6),_("bimplusZoomSelected",function(s){return o.bimplusZoomSelected(s)}),f(),p(7,"lib-bimplus-touch-menu",7),_("bimplusTouchModeSelected",function(s){return o.bimplusTouchModeSelected(s)}),f(),p(8,"lib-bimplus-language-menu",8),_("bimplusLanguageSelected",function(s){return o.bimplusLanguageSelected(s)}),f(),p(9,"lib-bimplus-user-menu",9),_("bimplusLanguageSelected",function(s){return o.bimplusLanguageSelected(s)})("bimplusUserMenuClicked",function(s){return o.bimplusUserMenuClicked(s)}),f()()(),x(10,GO,1,7,"lib-bimplus-main-menu",10),p(11,"div",11),E(12,"lib-bimplus-floating-bar-project-navigator",12),f(),p(13,"div",13),_("click",function(){return o.setupTreeData("Folders1")})("keypress",function(){return o.setupTreeData("Folders1")}),D(14,"Folders1"),f(),p(15,"div",14),_("click",function(){return o.setupTreeData("Folders2")})("keypress",function(){return o.setupTreeData("Folders2")}),D(16,"Folders2"),f(),p(17,"div",15),_("click",function(){return o.setupTreeData("Folders3")})("keypress",function(){return o.setupTreeData("Folders3")}),D(18,"Folders3"),f(),p(19,"div",16),_("click",function(){return o.getNode()})("keypress",function(){return o.getNode()}),D(20,"get_node (from Folders3)"),f(),p(21,"div",17),_("click",function(){return o.selectNode()})("keypress",function(){return o.selectNode()}),D(22,"select_node (from Folders3)"),f(),p(23,"div",18)(24,"lib-bimplus-scrollable-container")(25,"lib-bimplus-flat-tree",19),_("selectedNodes",function(s){return o.selectedNodes(s)}),f()()()),i&2&&(d(),g("isNavbarMenuVisible",o.isBimplusMainMenuVisible)("isNavbarMenuActive",o.isNavbarMenuActive)("isTouch",o.isTouch),d(),g("items",o.contextMenuItems)("data",o.contextMenuData),d(),g("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("messages",o.messages),d(),g("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("usedStorage",90),d(2),g("selectedZoom",o.selectedZoom),d(),g("selectedMode",o.isTouch?"touch":"desktop")("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings),d(),g("selectedLanguage",o.languageStringsService.currentLanguage),d(),g("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),d(),j(o.isNavbarMenuActive?10:-1),d(2),g("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("noModelsMessage","_Loading project details"),d(13),g("treeData",o.treeData)("treeDataStringified",o.treeDataStringified)("contextMenus",o.treeDataContextMenu))},dependencies:[Ml,kl,Dl,Il,Sl,Ol,Nl,Rl,jl,Rt,ci,$t,Fl,L],styles:[`*,html{font-size:100%;margin:0;padding:0}html{font-size:62.5%}body{background-color:gray}.hidden{display:none}bimplus-main-menu{height:50vh}lib-bimplus-floating-bar-project-navigator{position:absolute}.floating-panels-wrapper{position:relative}.tree-data{background-color:#fff;font-size:1.5rem;width:fit-content;padding:.5rem;border-style:solid;border-width:.2rem;border-radius:.5rem;margin:.5rem;cursor:pointer}.tree{width:20%;height:250px}
|
|
42
42
|
`],encapsulation:2})}}return t})();var qO=t=>new Jl(t,"./assets/languages/strings_",".json"),jp=class{handle(n){return console.warn("Missing translation string "+n.key),n.key}};yn(void 0,null,function*(){let t=yield Db({providers:[vb(),Wd(Q.forRoot({missingTranslationHandler:{provide:Fi,useClass:jp},isolate:!0,defaultLanguage:"en",loader:{provide:ti,useFactory:qO,deps:[Bu]}}))]}),n=Ae(Ev,{injector:t.injector});customElements.define("bimplus-connection-designer",n);let e=Ae(Dv,{injector:t.injector});customElements.define("bimplus-connection-designer-result",e);let i=Ae(Ml,{injector:t.injector});customElements.define("bimplus-contact",i);let o=Ae(Tv,{injector:t.injector});customElements.define("bimplus-floating-bar-hide-objects",o);let r=Ae(Ov,{injector:t.injector});customElements.define("bimplus-floating-bar-isolation-objects",r);let s=Ae(kl,{injector:t.injector});customElements.define("bimplus-floating-bar-project-navigator",s);let a=Ae(Dl,{injector:t.injector});customElements.define("bimplus-language-menu",a);let l=Ae(Il,{injector:t.injector});customElements.define("bimplus-main-menu",l);let c=Ae(Sl,{injector:t.injector});customElements.define("bimplus-navbar",c);let m=Ae(Ol,{injector:t.injector});customElements.define("bimplus-notify",m);let h=Ae(El,{injector:t.injector});customElements.define("bimplus-project-menu",h);let w=Ae(Vv,{injector:t.injector});customElements.define("bimplus-sidenav",w);let b=Ae(Fo,{injector:t.injector});customElements.define("bimplus-sidenav-drawer-content",b);let T=Ae(Nl,{injector:t.injector});customElements.define("bimplus-storage-info",T);let O=Ae($v,{injector:t.injector});customElements.define("bimplus-tool-hub",O);let R=Ae(Fl,{injector:t.injector});customElements.define("bimplus-touch-menu",R);let V=Ae(Rl,{injector:t.injector});customElements.define("bimplus-user-menu",V);let Z=Ae(jl,{injector:t.injector});customElements.define("bimplus-zoom",Z);let fe=Ae(S_,{injector:t.injector});customElements.define("bimplus-object-navigator",fe);let Ve=Ae(Rt,{injector:t.injector});customElements.define("bimplus-flat-tree",Ve);let ze=Ae(ci,{injector:t.injector});customElements.define("bimplus-context-menu",ze);let te=Ae(_l,{injector:t.injector});customElements.define("loading-spinner",te);let Ge=Ae(T_,{injector:t.injector});customElements.define("bimplus-tooltip-message-element",Ge);let lt=Ae($t,{injector:t.injector});customElements.define("bimplus-scrollable-container-element",lt);let Ui=Ae(L_,{injector:t.injector});customElements.define("bimplus-app-wrapper-internal-element",Ui);let V_=Ae(N_,{injector:t.injector});customElements.define("bimplus-overlay-dialog-warning",V_);let B_=Ae(F_,{injector:t.injector});customElements.define("resizable-panel",B_);let z_=Ae(R_,{injector:t.injector});customElements.define("object-properties-header",z_);let H_=Ae(j_,{injector:t.injector});customElements.define("lib-bimplus-overlay-dialog-error",H_)});export{jp as BimplusMissingTranslationHandler};
|