1var pS=Object.defineProperty,mS=Object.defineProperties;var gS=Object.getOwnPropertyDescriptors;var Ay=Object.getOwnPropertySymbols;var vS=Object.prototype.hasOwnProperty,yS=Object.prototype.propertyIsEnumerable;var ky=(t,n,e)=>n in t?pS(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,D=(t,n)=>{for(var e in n||={})vS.call(n,e)&&ky(t,e,n[e]);if(Ay)for(var e of Ay(n))yS.call(n,e)&&ky(t,e,n[e]);return t},X=(t,n)=>mS(t,gS(n));var h=(t,n,e)=>()=>{if(e)throw e[0];try{return t&&(n=t(t=0)),n}catch(i){throw e=[i],i}};var bS=(t,n)=>()=>{try{return n||t((n={exports:{}}).exports,n),n.exports}catch(e){throw n=0,e}};var dt=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{a(e.next(l))}catch(c){r(c)}},s=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(t,n)).next())});function P(t){let n=vt;return vt=t,n}function Rl(){return vt}function cr(t){if(Sl)throw new Error("");if(vt===null)return;vt.consumerOnSignalRead(t);let n=vt.producersTail;if(n!==void 0&&n.producer===t)return;let e,i=vt.recomputing;if(i&&(e=n!==void 0?n.nextProducer:vt.producers,e!==void 0&&e.producer===t)){vt.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===vt&&(!i||DS(r,vt)))return;let o=lo(vt),s={producer:t,consumer:vt,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};vt.producersTail=s,n!==void 0?n.nextProducer=s:vt.producers=s,o&&Fy(t,s)}function Ry(){Hf++}function Ol(t){if(!(lo(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Hf)){if(!t.producerMustRecompute(t)&&!ao(t)){kl(t);return}t.producerRecomputeValue(t),kl(t)}}function Uf(t){if(t.consumers===void 0)return;let n=Sl;Sl=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||ES(i)}}finally{Sl=n}}function $f(){return vt?.consumerAllowSignalWrites!==!1}function ES(t){t.dirty=!0,Uf(t),t.consumerMarkedDirty?.(t)}function kl(t){t.dirty=!1,t.lastCleanEpoch=Hf}function Ii(t){return t&&Oy(t),P(t)}function Oy(t){t.producersTail=void 0,t.recomputing=!0}function dr(t,n){P(n),t&&Ny(t)}function Ny(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(lo(t))do e=zf(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function ao(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(Ol(e),i!==e.version))return!0}return!1}function Ti(t){if(lo(t)){let n=t.producers;for(;n!==void 0;)n=zf(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function Fy(t,n){let e=t.consumersTail,i=lo(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!i)for(let r=t.producers;r!==void 0;r=r.nextProducer)Fy(r.producer,r)}function zf(t){let n=t.producer,e=t.nextProducer,i=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!lo(n)){let o=n.producers;for(;o!==void 0;)o=zf(o)}return e}function lo(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Nl(t){_S?.(t)}function DS(t,n){let e=n.producersTail;if(e!==void 0){let i=n.producers;do{if(i===t)return!0;if(i===e)break;i=i.nextProducer}while(i!==void 0)}return!1}function Fl(t,n){return Object.is(t,n)}function Vs(t,n){let e=Object.create(CS);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(Ol(e),cr(e),e.value===Ls)throw e.error;return e.value};return i[nt]=e,Nl(e),i}function wS(){throw new Error}function Ly(t){Py(t)}function Gf(t){Py=t}function Wf(t,n){let e=Object.create(js);e.value=t,n!==void 0&&(e.equal=n);let i=()=>Vy(e);return i[nt]=e,Nl(e),[i,s=>co(e,s),s=>qf(e,s)]}function Vy(t){return cr(t),t.value}function co(t,n){$f()||Ly(t),t.equal(t.value,n)||(t.value=n,IS(t))}function qf(t,n){$f()||Ly(t),co(t,n(t.value))}function IS(t){t.version++,Ry(),Uf(t),xS?.(t)}function Kf(t){if(t.dirty=!1,t.version>0&&!ao(t))return;t.version++;let n=Ii(t);try{t.cleanup(),t.fn()}finally{dr(t,n)}}var vt,Sl,Hf,_S,nt,lr,Ml,Al,Ls,CS,Py,xS,js,Yf,ur=h(()=>{vt=null,Sl=!1,Hf=1,_S=null,nt=Symbol("SIGNAL");lr={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};
1Ml=Symbol("UNSET"),Al=Symbol("COMPUTING"),Ls=Symbol("ERRORED"),CS=X(D({},lr),{value:Ml,dirty:!0,error:null,equal:Fl,kind:"computed",producerMustRecompute(t){return t.value===Ml||t.value===Al},producerRecomputeValue(t){if(t.value===Al)throw new Error("");let n=t.value;t.value=Al;let e=Ii(t),i,r=!1;try{i=t.computation(),P(null),r=n!==Ml&&n!==Ls&&i!==Ls&&t.equal(n,i)}catch(o){i=Ls,t.error=o}finally{dr(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});Py=wS;xS=null;js=X(D({},lr),{equal:Fl,value:void 0,kind:"signal"});Yf=X(D({},lr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"})});function V(t){return typeof t=="function"}var Ze=h(()=>{});function Si(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 Bs=h(()=>{});var Pl,jy=h(()=>{Bs();Pl=Si(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: 2${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` 3 `)}`:"",this.name="UnsubscriptionError",this.errors=e})});function fr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Ll=h(()=>{});function Vl(t){return t instanceof Ee||t&&"closed"in t&&V(t.remove)&&V(t.add)&&V(t.unsubscribe)}function By(t){V(t)?t():t.unsubscribe()}var Ee,Zf,uo=h(()=>{Ze();jy();Ll();Ee=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 o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(V(i))try{i()}catch(o){n=o instanceof Pl?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{By(o)}catch(s){n=n??[],s instanceof Pl?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Pl(n)}}add(n){var e;if(n&&n!==this)if(this.closed)By(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)&&fr(e,n)}remove(n){let{_finalizers:e}=this;e&&fr(e,n),n instanceof t&&n._removeParent(this)}};Ee.EMPTY=(()=>{let t=new Ee;return t.closed=!0,t})();Zf=Ee.EMPTY});var mn,Hs=h(()=>{mn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var fo,Qf=h(()=>{fo={setTimeout(t,n,...e){let{delegate:i}=fo;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=fo;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function jl(t){fo.setTimeout(()=>{let{onUnhandledError:n}=mn;if(n)n(t);else throw t})}var Xf=h(()=>{Hs();Qf()});function hr(){}var Bl=h(()=>{});function Uy(t){return Jf("E",void 0,t)}function $y(t){return Jf("N",t,void 0)}function Jf(t,n,e){return{kind:t,value:n,error:e}}var Hy,zy=h(()=>{Hy=Jf("C",void 0,void 0)});function ho(t){if(mn.useDeprecatedSynchronousErrorHandling){let n=!pr;if(n&&(pr={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=pr;if(pr=null,e)throw i}}else t()}function Gy(t){mn.useDeprecatedSynchronousErrorHandling&&pr&&(pr.errorThrown=!0,pr.error=t)}var pr,Hl=h(()=>{Hs();pr=null});function eh(t,n){return TS.call(t,n)}function Ul(t){mn.useDeprecatedSynchronousErrorHandling?Gy(t):jl(t)}function SS(t){throw t}function th(t,n){let{onStoppedNotification:e}=mn;e&&fo.setTimeout(()=>e(t,n))}var mr,TS,nh,gn,MS,Us=h(()=>{Ze();uo();Hs();Xf();Bl();zy();Qf();Hl();mr=class extends Ee{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Vl(n)&&n.add(this)):this.destination=MS}static create(n,e,i){return new gn(n,e,i)}next(n){this.isStopped?th($y(n),this):this._next(n)}error(n){this.isStopped?th(Uy(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?th(Hy,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()}}},TS=Function.prototype.bind;nh=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Ul(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Ul(i)}else Ul(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Ul(e)}}},gn=class extends mr{constructor(n,e,i){super();let r;if(V(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;
3this&&mn.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&eh(n.next,o),error:n.error&&eh(n.error,o),complete:n.complete&&eh(n.complete,o)}):r=n}this.destination=new nh(r)}};MS={closed:!0,next:hr,error:SS,complete:hr}});var po,$l=h(()=>{po=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function Ct(t){return t}var Mi=h(()=>{});function Wy(t){return t.length===0?Ct:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var qy=h(()=>{Mi()});function Yy(t){var n;return(n=t??mn.Promise)!==null&&n!==void 0?n:Promise}function AS(t){return t&&V(t.next)&&V(t.error)&&V(t.complete)}function kS(t){return t&&t instanceof mr||AS(t)&&Vl(t)}var J,wt=h(()=>{Us();uo();$l();qy();Hs();Ze();Hl();J=(()=>{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,r){let o=kS(e)?e:new gn(e,i,r);return ho(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=Yy(i),new i((r,o)=>{let s=new gn({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[po](){return this}pipe(...e){return Wy(e)(this)}toPromise(e){return e=Yy(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})()});function RS(t){return V(t?.lift)}function q(t){return n=>{if(RS(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")}}var Oe=h(()=>{Ze()});function U(t,n,e,i,r){return new ih(t,n,e,i,r)}var ih,Ve=h(()=>{Us();ih=class extends mr{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(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))}}}});var Ky,Zy=h(()=>{Bs();Ky=Si(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var w,zl,mo=h(()=>{wt();uo();Zy();Ll();Hl();w=(()=>{class t extends J{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new zl(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Ky}next(e){ho(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){ho(()=>{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(){ho(()=>{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:r,observers:o}=this;return i||r?Zf:(this.currentObservers=null,o.push(e),new Ee(()=>{this.currentObservers=null,fr(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new J;return e.source=this,e}}return t.create=(n,e)=>new zl(n,e),t})(),zl=class extends w{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:Zf}}});var it,Qy=h(()=>{mo();it=class extends w{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 $s,rh=h(()=>{$s={now(){return($s.delegate||Date).now()},delegate:void 0}});var rt,oh=h(()=>{mo();rh();rt=class extends w{constructor(n=1/0,e=1/0,i=$s){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:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){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 Gl,Xy=h(()=>{uo();
3Gl=class extends Ee{constructor(n,e){super()}schedule(n,e=0){return this}}});var zs,Jy=h(()=>{zs={setInterval(t,n,...e){let{delegate:i}=zs;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=zs;return(n?.clearInterval||clearInterval)(t)},delegate:void 0}});var Wl,eb=h(()=>{Xy();Jy();Ll();Wl=class extends Gl{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 r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return zs.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&&zs.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,r;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,fr(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}});var go,tb=h(()=>{rh();go=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)}};go.now=$s.now});var ql,nb=h(()=>{tb();ql=class extends go{constructor(n,e=go.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 oi,ib,vo=h(()=>{eb();nb();oi=new ql(Wl),ib=oi});var On,Yl=h(()=>{wt();On=new J(t=>t.complete())});function Kl(t){return t&&V(t.schedule)}var sh=h(()=>{Ze()});function ah(t){return t[t.length-1]}function Zl(t){return V(ah(t))?t.pop():void 0}function Nn(t){return Kl(ah(t))?t.pop():void 0}function rb(t,n){return typeof ah(t)=="number"?t.pop():n}var gr=h(()=>{Ze();sh()});function sb(t,n,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(f){s(f)}}function l(d){try{c(i.throw(d))}catch(f){s(f)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function ob(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 vr(t){return this instanceof vr?(this.v=t,this):new vr(t)}function ab(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(m){return function(g){return Promise.resolve(g).then(m,f)}}function a(m,g){i[m]&&(r[m]=function(C){return new Promise(function(I,R){o.push([m,C,I,R])>1||l(m,C)})},g&&(r[m]=g(r[m])))}function l(m,g){try{c(i[m](g))}catch(C){p(o[0][3],C)}}function c(m){m.value instanceof vr?Promise.resolve(m.value.v).then(d,f):p(o[0][2],m)}function d(m){l("next",m)}function f(m){l("throw",m)}function p(m,g){m(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}function lb(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 ob=="function"?ob(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o
3](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var lh=h(()=>{});var yo,Ql=h(()=>{yo=t=>t&&typeof t.length=="number"&&typeof t!="function"});function Xl(t){return V(t?.then)}var ch=h(()=>{Ze()});function Jl(t){return V(t[po])}var dh=h(()=>{$l();Ze()});function ec(t){return Symbol.asyncIterator&&V(t?.[Symbol.asyncIterator])}var uh=h(()=>{Ze()});function tc(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.`)}var fh=h(()=>{});function OS(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var nc,hh=h(()=>{nc=OS()});function ic(t){return V(t?.[nc])}var ph=h(()=>{hh();Ze()});function rc(t){return ab(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield vr(e.read());if(r)return yield vr(void 0);yield yield vr(i)}}finally{e.releaseLock()}})}function oc(t){return V(t?.getReader)}var sc=h(()=>{lh();Ze()});function ne(t){if(t instanceof J)return t;if(t!=null){if(Jl(t))return NS(t);if(yo(t))return FS(t);if(Xl(t))return PS(t);if(ec(t))return cb(t);if(ic(t))return LS(t);if(oc(t))return VS(t)}throw tc(t)}function NS(t){return new J(n=>{let e=t[po]();if(V(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function FS(t){return new J(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function PS(t){return new J(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,jl)})}function LS(t){return new J(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function cb(t){return new J(n=>{jS(t,n).catch(e=>n.error(e))})}function VS(t){return cb(rc(t))}function jS(t,n){var e,i,r,o;return sb(this,void 0,void 0,function*(){try{for(e=lb(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){r={error:s}}
3finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}var Qe=h(()=>{lh();Ql();ch();wt();dh();uh();fh();ph();sc();Ze();Xf();$l()});function yt(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}var yr=h(()=>{});function ac(t,n=0){return q((e,i)=>{e.subscribe(U(i,r=>yt(i,t,()=>i.next(r),n),()=>yt(i,t,()=>i.complete(),n),r=>yt(i,t,()=>i.error(r),n)))})}var mh=h(()=>{yr();Oe();Ve()});function lc(t,n=0){return q((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}var gh=h(()=>{Oe()});function db(t,n){return ne(t).pipe(lc(n),ac(n))}var ub=h(()=>{Qe();mh();gh()});function fb(t,n){return ne(t).pipe(lc(n),ac(n))}var hb=h(()=>{Qe();mh();gh()});function pb(t,n){return new J(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}var mb=h(()=>{wt()});function gb(t,n){return new J(e=>{let i;return yt(e,n,()=>{i=t[nc](),yt(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>V(i?.return)&&i.return()})}var vb=h(()=>{wt();hh();Ze();yr()});function cc(t,n){if(!t)throw new Error("Iterable cannot be null");return new J(e=>{yt(e,n,()=>{let i=t[Symbol.asyncIterator]();yt(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}var vh=h(()=>{wt();yr()});function yb(t,n){return cc(rc(t),n)}var bb=h(()=>{vh();sc()});function _b(t,n){if(t!=null){if(Jl(t))return db(t,n);if(yo(t))return pb(t,n);if(Xl(t))return fb(t,n);if(ec(t))return cc(t,n);if(ic(t))return gb(t,n);if(oc(t))return yb(t,n)}throw tc(t)}var Eb=h(()=>{ub();hb();mb();vb();vh();dh();ch();Ql();ph();uh();fh();sc();bb()});function Ne(t,n){return n?_b(t,n):ne(t)}var bo=h(()=>{Eb();Qe()});function Z(...t){let n=Nn(t);return Ne(t,n)}var Db=h(()=>{gr();bo()});function Fn(t,n){let e=V(t)?t:()=>t,i=r=>r.error(e());return new J(n?r=>n.schedule(i,0,r):i)}var Cb=h(()=>{wt();Ze()});function Ai(t){return!!t&&(t instanceof J||V(t.lift)&&V(t.subscribe))}var wb=h(()=>{wt();Ze()});var _o,dc=h(()=>{Bs();_o=Si(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})});function ut(t,n){let e=typeof n=="object";return new Promise((i,r)=>{let o=new gn({next:s=>{i(s),o.unsubscribe()},error:r,complete:()=>{e?i(n.defaultValue):r(new _o)}});t.subscribe(o)})}var xb=h(()=>{dc();Us()});function uc(t){return t instanceof Date&&!isNaN(t)}var yh=h(()=>{});function fc(t,n){let{first:e,each:i,with:r=HS,scheduler:o=n??oi,meta:s=null}=uc(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&i==null)throw new TypeError("No timeout provided.");return q((a,l)=>{let c,d,f=null,p=0,m=g=>{d=yt(l,o,()=>{try{c.unsubscribe(),ne(r({meta:s,lastValue:f,seen:p})).subscribe(l)}catch(C){l.error(C)}},g)};c=a.subscribe(U(l,g=>{d?.unsubscribe(),p++,l.next(f=g),i>0&&m(i)},void 0,void 0,()=>{d?.closed||d?.unsubscribe(),f=null})),!p&&m(e!=null?typeof e=="number"?e:+e-o.now():i)})}function HS(t){throw new BS(t)}var BS,Ib=h(()=>{vo();yh();Oe();Qe();Bs();Ve();yr();BS=Si(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e})});function x(t,n){return q((e,i)=>{let r=0;e.subscribe(U(i,o=>{i.next(t.call(n,o,r++))}))})}var br=h(()=>{Oe();Ve()});function $S(t,n){return US(n)?t(...n):t(n)}function Eo(t){return x(n=>$S(t,n))}var US,hc=h(()=>{br();({isArray:US}=Array)});function pc(t){if(t.length===1){let n=t[0];if(zS(n))return{args:n,keys:null};if(YS(n)){let e=qS(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function YS(t){return t&&typeof t=="object"&&GS(t)===WS}var zS,GS,WS,qS,bh=h(()=>{({isArray:zS}=Array),{getPrototypeOf:GS,prototype:WS,keys:qS}=Object});function mc(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}var _h=h(()=>{});function Eh(...t){let n=Nn(t),e=Zl(t),{args:i,keys:r}=pc(t);if(i.length===0)return Ne([],n);let o=new J(KS(i,n,r?s=>mc(r,s):Ct));return e?o.pipe(Eo(e)):o}function KS(t,n,e=Ct){return i=>{Tb(n,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)Tb(n,()=>{let c=Ne(t[l],n),d=!1;c.subscribe(U(i,f=>{o[l]=f,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}
3))},i)},i)}}function Tb(t,n,e){t?yt(e,t,n):n()}var Sb=h(()=>{wt();bh();bo();Mi();hc();gr();_h();Ve();yr()});function Mb(t,n,e,i,r,o,s,a){let l=[],c=0,d=0,f=!1,p=()=>{f&&!l.length&&!c&&n.complete()},m=C=>c<i?g(C):l.push(C),g=C=>{o&&n.next(C),c++;let I=!1;ne(e(C,d++)).subscribe(U(n,R=>{r?.(R),o?m(R):n.next(R)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&c<i;){let R=l.shift();s?yt(n,s,()=>g(R)):g(R)}p()}catch(R){n.error(R)}}))};return t.subscribe(U(n,m,()=>{f=!0,p()})),()=>{a?.()}}var Ab=h(()=>{Qe();yr();Ve()});function jt(t,n,e=1/0){return V(n)?jt((i,r)=>x((o,s)=>n(i,o,r,s))(ne(t(i,r))),e):(typeof n=="number"&&(e=n),q((i,r)=>Mb(i,r,t,e)))}var Do=h(()=>{br();Qe();Oe();Ab();Ze()});function gc(t=1/0){return jt(Ct,t)}var Dh=h(()=>{Do();Mi()});function kb(){return gc(1)}var Rb=h(()=>{Dh()});function si(...t){return kb()(Ne(t,Nn(t)))}var vc=h(()=>{Rb();gr();bo()});function Pn(t){return new J(n=>{ne(t()).subscribe(n)})}var Ob=h(()=>{wt();Qe()});function Gs(...t){let n=Zl(t),{args:e,keys:i}=pc(t),r=new J(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let f=!1;ne(e[d]).subscribe(U(o,p=>{f||(f=!0,c--),a[d]=p},()=>l--,void 0,()=>{(!l||!f)&&(c||o.next(i?mc(i,a):a),o.complete())}))}});return n?r.pipe(Eo(n)):r}var Nb=h(()=>{wt();bh();Qe();gr();Ve();hc();_h()});function _r(t,n,e,i){if(V(e)&&(i=e,e=void 0),i)return _r(t,n,e).pipe(Eo(i));let[r,o]=tM(t)?QS.map(s=>a=>t[s](n,a,e)):JS(t)?ZS.map(Fb(t,n)):eM(t)?XS.map(Fb(t,n)):[];if(!r&&yo(t))return jt(s=>_r(s,n,e))(ne(t));if(!r)throw new TypeError("Invalid event target");return new J(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function Fb(t,n){return e=>i=>t[e](n,i)}function JS(t){return V(t.addListener)&&V(t.removeListener)}function eM(t){return V(t.on)&&V(t.off)}function tM(t){return V(t.addEventListener)&&V(t.removeEventListener)}var ZS,QS,XS,Pb=h(()=>{Qe();wt();Do();Ql();Ze();hc();ZS=["addListener","removeListener"],QS=["addEventListener","removeEventListener"],XS=["on","off"]});function Bt(t=0,n,e=ib){let i=-1;return n!=null&&(Kl(n)?e=n:i=n),new J(r=>{let o=uc(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}var Ws=h(()=>{wt();vo();sh();yh()});function ai(...t){let n=Nn(t),e=rb(t,1/0),i=t;return i.length?i.length===1?ne(i[0]):gc(e)(Ne(i,n)):On}var Lb=h(()=>{Dh();Qe();Yl();gr();bo()});function L(t,n){return q((e,i)=>{let r=0;e.subscribe(U(i,o=>t.call(n,o,r++)&&i.next(o)))})}var yc=h(()=>{Oe();Ve()});var Vb=h(()=>{});function jb(t){return q((n,e)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};n.subscribe(U(e,c=>{i=!0,r=c,o||ne(t(c)).subscribe(o=U(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}var Bb=h(()=>{Oe();Qe();Ve()});function Co(t,n=oi){return jb(()=>Bt(t,n))}var Hb=h(()=>{vo();Bb();Ws()});function ze(t){return q((n,e)=>{let i=null,r=!1,o;i=n.subscribe(U(e,void 0,void 0,s=>{o=ne(t(s,ze(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}var Ub=h(()=>{Qe();Ve();Oe()});function qs(t,n){return V(n)?jt(t,n,1):jt(t,1)}var $b=h(()=>{Do();Ze()});function bc(t,n=oi){return q((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+t,d=n.now();if(d<c){r=this.schedule(void 0,c-d),i.add(r);return}a()}e.subscribe(U(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}var zb=h(()=>{vo();Oe();Ve()});function Gb(t){return q((n,e)=>{let i=!1;n.subscribe(U(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}var Wb=h(()=>{Oe();Ve()});function He(t){return t<=0?()=>On:q((n,e)=>{let i=0;n.subscribe(U(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}var Ys=h(()=>{Yl();Oe();Ve()});function qb(){return q((t,n)=>{t.subscribe(U(n,hr))})}var Yb=h(()=>{Oe();Ve();Bl()});function Ks(t){return x(()=>t)}var Ch=h(()=>{br()});function wh(t,n){return n?e=>si(n.pipe(He(1),qb()),e.pipe(wh(t))):jt((e,i)=>ne(t(e,i)).pipe(He(1),Ks(e)))}var Kb=h(()=>{vc();Ys();Yb();Ch();Do();Qe()});function wo(t,n=oi){let e=Bt(t,n);return wh(()=>e)}var xh=h(()=>{vo();Kb();Ws()});function xo(t,n=Ct){return t=t??nM,q((e,i)=>{let r,o=!0;e.subscribe(U(i,s=>{let a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function nM(t,n){return t===n}var Zb=h(()=>{Mi();Oe();Ve()});function Qb(t=iM){return q((n,e)=>{let i=!1;n.subscribe(U(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function iM(){return new _o}var Xb=h(()=>{dc();Oe();Ve()});function _c(t,n){return n?e=>e.pipe(_c((i,r)=>ne(t(i,r)).pipe(x((o,s)=>n(i,o,r,s))))):q((e,i)=>{let r=0,o=null,s=!1;e.subscribe(U(i,a=>{o||(o=U(i,void 0,()=>{o=null,s&&i.complete()}),ne(t(a,r++)).subscribe(o))},()=>{s=!0,!o&&i.complete()}
3))})}var Jb=h(()=>{br();Qe();Oe();Ve()});function Io(t){return q((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}var e_=h(()=>{Oe()});function Ec(t,n){let e=arguments.length>=2;return i=>i.pipe(t?L((r,o)=>t(r,o,i)):Ct,He(1),e?Gb(n):Qb(()=>new _o))}var t_=h(()=>{dc();yc();Ys();Wb();Xb();Mi()});function Dc(){return q((t,n)=>{let e,i=!1;t.subscribe(U(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}var n_=h(()=>{Oe();Ve()});function Ih(t=1/0){let n;t&&typeof t=="object"?n=t:n={count:t};let{count:e=1/0,delay:i,resetOnSuccess:r=!1}=n;return e<=0?Ct:q((o,s)=>{let a=0,l,c=()=>{let d=!1;l=o.subscribe(U(s,f=>{r&&(a=0),s.next(f)},void 0,f=>{if(a++<e){let p=()=>{l?(l.unsubscribe(),l=null,c()):d=!0};if(i!=null){let m=typeof i=="number"?Bt(i):ne(i(f,a)),g=U(s,()=>{g.unsubscribe(),p()},()=>{s.complete()});m.subscribe(g)}else p()}else s.error(f)})),d&&(l.unsubscribe(),l=null,c())};c()})}var i_=h(()=>{Oe();Ve();Mi();Ws();Qe()});function Th(t){return q((n,e)=>{let i,r=!1,o,s=()=>{i=n.subscribe(U(e,void 0,void 0,a=>{o||(o=new w,ne(t(o)).subscribe(U(e,()=>i?s():r=!0))),o&&o.next(a)})),r&&(i.unsubscribe(),i=null,r=!1,s())};s()})}var r_=h(()=>{Qe();mo();Oe();Ve()});function o_(t={}){let{connector:n=()=>new w,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,f=!1,p=()=>{a?.unsubscribe(),a=void 0},m=()=>{p(),s=l=void 0,d=f=!1},g=()=>{let C=s;m(),C?.unsubscribe()};return q((C,I)=>{c++,!f&&!d&&p();let R=l=l??n();I.add(()=>{c--,c===0&&!f&&!d&&(a=Sh(g,r))}),R.subscribe(I),!s&&c>0&&(s=new gn({next:xe=>R.next(xe),error:xe=>{f=!0,p(),a=Sh(m,e,xe),R.error(xe)},complete:()=>{d=!0,p(),a=Sh(m,i),R.complete()}}),ne(C).subscribe(s))})(o)}}function Sh(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new gn({next:()=>{i.unsubscribe(),t()}});return ne(n(...e)).subscribe(i)}var s_=h(()=>{Qe();mo();Us();Oe()});function xt(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,o_({connector:()=>new rt(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var a_=h(()=>{oh();s_()});function Mh(t){return L((n,e)=>t<=e)}var l_=h(()=>{yc()});function Qt(...t){let n=Nn(t);return q((e,i)=>{(n?si(t,e,n):si(t,e)).subscribe(i)})}var Ah=h(()=>{vc();gr();Oe()});function Te(t,n){return q((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(U(i,l=>{r?.unsubscribe();let c=0,d=o++;ne(t(l,d)).subscribe(r=U(i,f=>i.next(n?n(l,f,d,c++):f),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var c_=h(()=>{Qe();Oe();Ve()});function Xe(t){return q((n,e)=>{ne(t).subscribe(U(e,()=>e.complete(),hr)),!e.closed&&n.subscribe(e)})}var d_=h(()=>{Oe();Ve();Qe();Bl()});function To(t,n,e){let i=V(t)||n||e?{next:t,error:n,complete:e}:t;return i?q((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(U(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.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)}))}):Ct}var u_=h(()=>{Ze();Oe();Ve();Mi()});var De=h(()=>{wt();mo();Qy();oh();uo();wb();xb();Sb();vc();Ob();Nb();bo();Pb();Lb();Db();Cb();Ws();Yl();Vb();xh();br();i_();Ah();Ys()});function Cc(){return kh}function Ln(t){let n=kh;return kh=t,n}function So(t){return t===f_||t?.name==="\u0275NotFound"}var kh,f_,Rh=h(()=>{f_=Symbol("NotFound")});function h_(t){let n=P(null);try{return t()}finally{P(n)}}var p_=h(()=>{ur();});var Oh=h(()=>{ur();});var m_=h(()=>{Rh();});function rM(t){return`NG0${Math.abs(t)}`}function xr(t,n){return`${rM(t)}${n?": "+n:""}`}function Ie(t){for(let n in t)if(t[n]===Ie)return n;throw Error("")}function __(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Rc(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Rc).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(` 4`);return i>=0?e.slice(0,i):e}function Oc(t,n){return t?n?`${t} ${n}`:t:n||""}function vn(t){return t.__forward_ref__=vn,t}function ft(t){return Wh(t)?t():t}function Wh(t){return typeof t=="function"&&t.hasOwnProperty(oM)&&t.__forward_ref__===vn}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ae(t){return{providers:t.providers||[],imports:t.imports||[]}}function Nc(t){return sM(t,Fc)}function sM(t,n){return t.hasOwnProperty(n)&&t[n]||null}function aM(t){let n=t?.[Fc]??null;return n||null}function Fh(t){return t&&t.hasOwnProperty(Ic)?t[Ic]:null}function qh(t){return t&&!!t.\u0275providers}function Pi(t){return Zh(t,"@Component"),t[ia]||null}function Kh(t){return Zh(t,"@Directive"),t[ra]||null}function E_(t){return Zh(t,"@Pipe"),t[Yh]||null}function Zh(t,n){if(t==null)throw new A(-919,!1)}function Li(t){return typeof t=="string"?t:t==null?"":String(t)}function Qh(t,n){return C_("",-200,n)}function Pc(t,n){throw new A(-201,!1)}function C_(t,n,e){let i=new A(n,t);return i[D_]=n,i[lM]=t,e&&(i[cM]=e),i}function dM(t){return t[D_]}function w_(){return Ph}function It(t){let n=Ph;return Ph=t,n}function Xh(t,n,e){let i=Nc(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(n!==void 0)return n;Pc(t,"")}function hM(t,n=0){let e=Cc();if(e===void 0)throw new A(-203,!1);if(e===null)return Xh(t,void 0,n);{let i=pM(n),r=e.retrieve(t,i);if(So(r)){if(i.optional)return null;throw r}return r}}function b(t,n=0){return(w_()||hM)(ft(t),n)}function u(t,n){return b(t,Dr(n))}function Dr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function pM(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function Vh(t){let n=[];for(let e=0;e<t.length;e++){let i=ft(t[e]);if(Array.isArray(i)){if(i.length===0)throw new A(900,!1);let r,o=0;for(let s=0;s<i.length;s++){let a=i[s],l=mM(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}n.push(b(r,o))}else n.push(b(i))}return n}function mM(t){return t[fM]}function Ri(t,n){let e=t.hasOwnProperty(Qs);return e?t[Qs]:null}function x_(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function I_(t){return t.flat(Number.POSITIVE_INFINITY)}
vendor: 7,699 bytes, line 4
4function Lc(t,n){t.forEach(e=>Array.isArray(e)?Lc(e,n):n(e))}function Jh(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function oa(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function T_(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function S_(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function Vc(t,n,e){let i=Ao(t,n);return i>=0?t[i|1]=e:(i=~i,S_(t,i,n,e)),i}function jc(t,n){let e=Ao(t,n);if(e>=0)return t[e|1]}function Ao(t,n){return gM(t,n,1)}function gM(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=t[o<<e];if(n===s)return o<<e;s>n?r=o:i=o+1}return~(r<<e)}function jn(t){return{\u0275providers:t}}function Bc(...t){return{\u0275providers:np(!0,t),\u0275fromNgModule:!0}}function np(t,...n){let e=[],i=new Set,r,o=s=>{e.push(s)};return Lc(n,s=>{let a=s;Tc(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&M_(r,o),e}function M_(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];ip(r,o=>{n(o,i)})}}function Tc(t,n,e,i){if(t=ft(t),!t)return!1;let r=null,o=Fh(t),s=!o&&Pi(t);if(!o&&!s){let l=t.ngModule;if(o=Fh(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Tc(c,n,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;Lc(o.imports,d=>{Tc(d,n,e,i)&&(c||=[],c.push(d))}),c!==void 0&&M_(c,n)}if(!a){let c=Ri(r)||(()=>new r);n({provide:r,useFactory:c,deps:bt},r),n({provide:tp,useValue:r,multi:!0},r),n({provide:ji,useValue:()=>b(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;ip(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function ip(t,n){for(let e of t)qh(e)&&(e=e.\u0275providers),Array.isArray(e)?ip(e,n):n(e)}function A_(t){return t!==null&&typeof t=="object"&&vM in t}function yM(t){return!!(t&&t.useExisting)}function bM(t){return!!(t&&t.useFactory)}function Cr(t){return typeof t=="function"}function k_(t){return!!t.useClass}function ko(){return Nh===void 0&&(Nh=new Xs),Nh}function jh(t){let n=Nc(t),e=n!==null?n.factory:Ri(t);if(e!==null)return e;if(t instanceof y)throw new A(-204,!1);if(t instanceof Function)return _M(t);throw new A(-204,!1)}function _M(t){if(t.length>0)throw new A(-204,!1);let e=aM(t);return e!==null?()=>e.factory(t):()=>new t}function EM(t){if(A_(t))return Mo(void 0,t.useValue);{let n=rp(t);return Mo(n,wc)}}function rp(t,n,e){let i;if(Cr(t)){let r=ft(t);return Ri(r)||jh(r)}else if(A_(t))i=()=>ft(t.useValue);else if(bM(t))i=()=>t.useFactory(...Vh(t.deps||[]));else if(yM(t))i=(r,o)=>b(ft(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=ft(t&&(t.useClass||t.provide));if(DM(t))i=()=>new r(...Vh(t.deps));else return Ri(r)||jh(r)}return i}function Zs(t){if(t.destroyed)throw new A(-205,!1)}function Mo(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function DM(t){return!!t.deps}function CM(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function wM(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function Bh(t,n){for(let e of t)Array.isArray(e)?Bh(e,n):e&&qh(e)?Bh(e.\u0275providers,n):n(e)}function Ro(t,n){let e;t instanceof wr?(Zs(t),e=t):e=new Lh(t);let i,r=Ln(e),o=It(void 0);try{return n()}finally{Ln(r),It(o)}}function R_(){return w_()!==void 0||Cc()!=null}function fi(t){return Array.isArray(t)&&typeof t[O_]=="object"}function _n(t){return Array.isArray(t)&&t[O_]===!0}function lp(t){return(t.flags&4)!==0}function Hn(t){return t.componentOffset>-1}function la(t){return(t.flags&1)===1}function Un(t){return!!t.template}function Fo(t){return(t[Y]&512)!==0}function Rr(t){return(t[Y]&256)===256}function N_(){return xc||(xc={},ki(Se.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),ki(Se.STYLE,void 0,[["*",["style"]]]),ki(Se.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),ki(Se.URL,cp,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),ki(Se.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),ki(Se.URL,Js,[["a",["href","xlink:href"]]]),ki(Se.ATTRIBUTE_NO_BINDING,Js,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),ki(Se.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),xc}function ki(t,n,e){for(let[i,r]of e){let o=n&&i!=="unknown"?`:${n}:${i}`:i;o=o.toLowerCase();for(let s of r)xc[`${o}|${s.toLowerCase()}`]=t}}function F_(t,n,e){let i=N_(),r=t.toLowerCase(),o=n.toLowerCase(),s=e&&r!=="*"&&r!=="unknown"?i[`:${e}:${r}|${o}`]:void 0,a=e?i[`:${e}:*|${o}`]:void 0;return s??a??i[`${r}|${o}`]??i[`*|${o}`]??Se.NONE}function Jt(t){for(;Array.isArray(t);)t=t[yn];return t}function dp(t,n){return Jt(n[t])}function $t(t,n){return Jt(n[t.index])}function Uc(t,n){return t.data[n]}function $c(t,n){return t[n]}function up(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function en(t,n){let e=n[t];return fi(e)?e:e[yn]}function P_(t){return(t[Y]&4)===4}function zc(t){return(t[Y]&128)===128}function L_(t){return _n(t[ot])}function tn(t,n){return n==null?null:t[n]}function fp(t){t[Mr]=0}function Gc(t){t[Y]&1024||(t[Y]|=1024,zc(t)&&Or(t))}function V_(t,n){for(;t>0;)n=n[Sr],t--;return n}function Po(t){return!!(t[Y]&9216||t[Ut]?.dirty)}function Wc(t){t[bn].changeDetectionScheduler?.notify(8),t[Y]&64&&(t[Y]|=1024),Po(t)&&Or(t)}function Or(t){t[bn].changeDetectionScheduler?.notify(0);let n=Ni(t);for(;n!==null&&!(n[Y]&8192||(n[Y]|=8192,!zc(n)));)n=Ni(n)}function hp(t,n){if(Rr(t))throw new A(911,!1);t[li]===null&&(t[li]=[]),t[li].push(n)}function j_(t,n){if(t[li]===null)return;let e=t[li].indexOf(n);e!==-1&&t[li].splice(e,1)}function Ni(t){let n=t[ot];return _n(n)?n[ot]:n}function pp(t){return t[Oo]??=[]}function mp(t){return t.cleanup??=[]}function B_(t,n,e,i){let r=pp(n);r.push(e),t.firstCreatePass&&mp(t).push(i,r.length-1)}function H_(){return te.lFrame.elementDepthCount}function U_(){te.lFrame.elementDepthCount++}function gp(){te.lFrame.elementDepthCount--}function vp(){return te.bindingsEnabled}function yp(){return te.skipHydrationRootTNode!==null}function bp(t){return te.skipHydrationRootTNode===t}
vendor: 5,459 bytes, line 4
4function _p(){te.skipHydrationRootTNode=null}function $(){return te.lFrame.lView}function je(){return te.lFrame.tView}function nn(t){return te.lFrame.contextLView=t,t[We]}function rn(t){return te.lFrame.contextLView=null,t}function _t(){let t=Ep();for(;t!==null&&t.type===64;)t=t.parent;return t}function Ep(){return te.lFrame.currentTNode}function $_(){let t=te.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Lo(t,n){let e=te.lFrame;e.currentTNode=t,e.isParent=n}function Dp(){return te.lFrame.isParent}function Cp(){te.lFrame.isParent=!1}function z_(){return te.lFrame.contextLView}function wp(){return Hh}function ea(t){let n=Hh;return Hh=t,n}function xp(){let t=te.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function G_(){return te.lFrame.bindingIndex}function W_(t){return te.lFrame.bindingIndex=t}function hi(){return te.lFrame.bindingIndex++}function qc(t){let n=te.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function q_(){return te.lFrame.inI18n}function Y_(t,n){let e=te.lFrame;e.bindingIndex=e.bindingRootIndex=t,Yc(n)}function K_(){return te.lFrame.currentDirectiveIndex}function Yc(t){te.lFrame.currentDirectiveIndex=t}function Z_(t){let n=te.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Kc(){return te.lFrame.currentQueryIndex}function ca(t){te.lFrame.currentQueryIndex=t}function xM(t){let n=t[B];return n.type===2?n.declTNode:n.type===1?t[Tt]:null}function Ip(t,n,e){if(e&4){let r=n,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=xM(o),r===null||(o=o[Sr],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=te.lFrame=Q_();return i.currentTNode=n,i.lView=t,!0}function Zc(t){let n=Q_(),e=t[B];te.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Q_(){let t=te.lFrame,n=t===null?null:t.child;return n===null?X_(t):n}function X_(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 J_(){let t=te.lFrame;return te.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function Qc(){let t=J_();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 eE(t){return(te.lFrame.contextLView=V_(t,te.lFrame.contextLView))[We]}function En(){return te.lFrame.selectedIndex}function $i(t){te.lFrame.selectedIndex=t}function Vo(){let t=te.lFrame;return Uc(t.tView,t.selectedIndex)}function jo(){te.lFrame.currentNamespace=Js}function Sp(){return te.lFrame.currentNamespace}function Xc(){return tE}function Jc(t){tE=t}function Uh(t,n=null,e=null,i){let r=nE(t,n,e,i);return r.resolveInjectorInitializers(),r}function nE(t,n=null,e=null,i,r=new Set){let o=[e||bt,Bc(t)],s;return new wr(o,n||ko(),s||null,r)}function IM(){return new Sc($())}function Mc(...t){}function Ap(t){let n,e;function i(){t=Mc;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch(r){}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function rE(t){return queueMicrotask(()=>t()),()=>{t=Mc}}function Rp(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 MM(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){Ap(()=>{t.callbackScheduled=!1,zh(t),t.isCheckStableRunning=!0,Rp(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),zh(t)}function AM(t){let n=()=>{MM(t)},e=TM++;t._inner=t._inner.fork({name:"angular",properties:{[kp]:!0,[ta]:e,[ta+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(kM(l))return i.invokeTask(o,s,a,l);try{return y_(t),i.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),b_(t)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return y_(t),i.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!RM(l)&&n(),b_(t)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,zh(t),Rp(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function zh(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function y_(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function b_(t){t._nesting--,Rp(t)}function kM(t){return oE(t,"__ignore_ng_zone__")}function RM(t){return oE(t,"__scheduler_tick__")}function oE(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}function st(t,n){let[e,i,r]=Wf(t,n?.equal),o=e,s=o[nt];return o.set=i,o.update=r,o.asReadonly=aE.bind(o),o}function aE(){let t=this[nt];if(t.readonlyFn===void 0){let n=()=>this();n[nt]=t,t.readonlyFn=n}return t.readonlyFn}
4function OM(){return new Bo($(),_t())}function zt(t,n){let e=n?.injector??u(j),i=n?.manualCleanup!==!0?e.get(Mt):null,r,o=e.get(Bo,null,{optional:!0}),s=e.get(Ht);return o!==null?(r=PM(o.view,s,t),i instanceof Sc&&i._lView===o.view&&(i=null)):r=LM(t,e.get(td),s),r.injector=e,i!==null&&(r.onDestroyFns=[i.onDestroy(()=>r.destroy())]),new Ac(r)}function PM(t,n,e){let i=Object.create(FM);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=cE(i,e),t[Oi]??=new Set,t[Oi].add(i),i.consumerMarkedDirty(i),i}function LM(t,n,e){let i=Object.create(NM);return i.fn=cE(i,t),i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function cE(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}var ci,kc,A,Fi,oM,Fc,Ic,y,ia,ra,Yh,Qs,Ir,g_,D_,lM,cM,Ph,uM,Er,fM,Lh,Vi,bt,ji,ep,tp,Xs,vM,sa,wc,v_,Nh,Ge,wr,yn,B,Y,ot,Xt,Tt,Tr,Oo,We,di,bn,Me,No,op,Sr,St,Bi,Mr,Bn,ui,sp,li,Hc,Oi,Ut,Ar,Hi,Fe,O_,ap,Ui,aa,kr,Ue,Se,xc,Js,cp,te,Hh,Tp,tE,j,z,Mt,Sc,Mp,iE,zi,$h,me,kp,ta,TM,T,SM,na,Vn,$n,sE,Bo,Ht,Ho,ed,Uo,td,Gh,Ac,lE,NM,FM,da=h(()=>{ur();De();Rh();Oh();m_();ci=class{full;major;minor;patch;constructor(n){this.full=n;let e=n.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},kc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",A=class extends Error{code;constructor(n,e){super(xr(n,e)),this.code=n}};Fi=globalThis;oM=Ie({__forward_ref__:Ie});Fc=Ie({\u0275prov:Ie}),Ic=Ie({\u0275inj:Ie}),y=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=v({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};ia=Ie({\u0275cmp:Ie}),ra=Ie({\u0275dir:Ie}),Yh=Ie({\u0275pipe:Ie}),Qs=Ie({\u0275fac:Ie}),Ir=Ie({__NG_ELEMENT_ID__:Ie}),g_=Ie({__NG_ENV_ID__:Ie});D_=Ie({ngErrorCode:Ie}),lM=Ie({ngErrorMessage:Ie}),cM=Ie({ngTokenPath:Ie});uM={},Er=uM,fM="__NG_DI_FLAG__",Lh=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=Dr(e)||0;try{return this.injector.get(n,i&8?null:Er,i)}catch(r){if(So(r))return r;throw r}}};Vi={},bt=[],ji=new y(""),ep=new y("",-1),tp=new y(""),Xs=class{get(n,e=Er){if(e===Er){let r=C_("",-201);throw r.name="\u0275NotFound",r}return e}};vM=Ie({provide:String,useValue:Ie});sa=new y(""),wc={},v_={};Ge=class{},wr=class extends Ge{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,Bh(n,s=>this.processProvider(s)),this.records.set(ep,Mo(void 0,this)),r.has("environment")&&this.records.set(Ge,Mo(void 0,this));let o=this.records.get(sa);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(tp,bt,{self:!0}))}retrieve(n,e){let i=Dr(e)||0;try{return this.get(n,Er,i)}catch(r){if(So(r))return r;throw r}}destroy(){Zs(this),this._destroyed=!0;let n=P(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(),P(n)}}onDestroy(n){return Zs(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Zs(this);let e=Ln(this),i=It(void 0),r;try{return n()}finally{Ln(e),It(i)}}get(n,e=Er,i){if(Zs(this),n.hasOwnProperty(g_))return n[g_](this);let r=Dr(i),o,s=Ln(this),a=It(void 0);try{if(!(r&4)){let c=this.records.get(n);if(c===void 0){let d=wM(n)&&Nc(n);d&&this.injectableDefInScope(d)?c=Mo(jh(n),wc):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let l=r&2?ko():this.parent;return e=r&8&&e===Er?null:e,l.get(n,e)}catch(l){let c=dM(l);throw c===-200||c===-201?new A(c,null):l}finally{It(a),Ln(s)}}resolveInjectorInitializers(){let n=P(null),e=Ln(this),i=It(void 0),r;try{let o=this.get(ji,bt,{self:!0});for(let s of o)s()}finally{Ln(e),It(i),P(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=ft(n);let e=Cr(n)?n:ft(n&&n.provide),i=EM(n);if(!Cr(n)&&n.multi===!0){let r=this.records.get(e);r||(r=Mo(void 0,wc,!0),r.factory=()=>Vh(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=P(null);try{if(e.value===v_)throw Qh("");return e.value===wc&&(e.value=v_,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&CM(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{P(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=ft(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)}};
4yn=0,B=1,Y=2,ot=3,Xt=4,Tt=5,Tr=6,Oo=7,We=8,di=9,bn=10,Me=11,No=12,op=13,Sr=14,St=15,Bi=16,Mr=17,Bn=18,ui=19,sp=20,li=21,Hc=22,Oi=23,Ut=24,Ar=25,Hi=26,Fe=27,O_=1,ap=6,Ui=7,aa=8,kr=9,Ue=10;Se=(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[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(Se||{}),Js="svg",cp="math";te={lFrame:X_(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Hh=!1;Tp=J_;tE=!0;j=class t{static THROW_IF_NOT_FOUND=Er;static NULL=new Xs;static create(n,e){if(Array.isArray(n))return Uh({name:""},e,n,"");{let i=n.name??"";return Uh({name:i},n.parent,n.providers,i)}}static \u0275prov=v({token:t,providedIn:"any",factory:()=>b(ep)});static __NG_ELEMENT_ID__=-1},z=new y(""),Mt=(()=>{class t{static __NG_ELEMENT_ID__=IM;static __NG_ENV_ID__=e=>e}return t})(),Sc=class extends Mt{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Rr(this._lView)}onDestroy(n){let e=this._lView;return hp(e,n),()=>j_(e,n)}};Mp=!1,iE=new y(""),zi=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new it(!1);debugTaskTracker=u(iE,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new J(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),$h=class extends w{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,R_()&&(this.destroyRef=u(Mt,{optional:!0})??void 0,this.pendingTasks=u(zi,{optional:!0})??void 0)}emit(n){let e=P(null);try{super.next(n)}finally{P(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return n instanceof Ee&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},me=$h;kp="isAngularZone",ta=kp+"_ID",TM=0,T=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new me(!1);onMicrotaskEmpty=new me(!1);onStable=new me(!1);onError=new me(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Mp}=n;if(typeof Zone>"u")throw new A(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=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,AM(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(kp)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new A(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,SM,Mc,Mc);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},SM={};na=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new me;onMicrotaskEmpty=new me;onStable=new me;onError=new me;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,r){return n.apply(e,i)}};Vn=class{_console=console;handleError(n){this._console.error("ERROR",n)}},$n=new y("",{factory:()=>{let t=u(T),n=u(Ge),e;return i=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw i}):(e??=n.get(Vn),e.handleError(i))})}}}),sE={provide:ji,useValue:()=>{let t=u(Vn,{optional:!0})},multi:!0};Bo=(()=>{class t{view;node;
vendor: 5,664 bytes, line 4
4constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=OM}return t})();Ht=class{},Ho=new y("",{factory:()=>!0}),ed=new y(""),Uo=(()=>{class t{internalPendingTasks=u(zi);scheduler=u(Ht);errorHandler=u($n);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let i=this.add();e().catch(this.errorHandler).finally(i)}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),td=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new Gh})}return t})(),Gh=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,i]of this.queues)e===null?n||=this.flushQueue(i):n||=e.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}},Ac=class{[nt];constructor(n){this[nt]=n}destroy(){this[nt].destroy()}};lE=X(D({},Yf),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=ea(!1);try{Kf(this)}finally{ea(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=P(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],P(t)}}}),NM=X(D({},lE),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Ti(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),FM=X(D({},lE),{consumerMarkedDirty(){this.view[Y]|=8192,Or(this.view),this.notifier.notify(13)},destroy(){if(Ti(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[Oi]?.delete(this)}})});var he=h(()=>{Hb();Ub();$b();zb();xh();Zb();Jb();yc();e_();t_();br();Ch();Do();n_();r_();a_();l_();Ah();c_();Ys();d_();u_();Ib()});function Da(t){return{toString:t}.toString()}function qM(t){return typeof t=="function"}function $E(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function zE(t){return t.type.prototype.ngOnChanges&&(t.setInput=KM),YM}function YM(){let t=WE(this),n=t?.current;if(n){let e=t.previous;if(e===Vi)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function KM(t,n,e,i,r){let o=this.declaredInputs[i],s=WE(t)||ZM(t,{previous:Vi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new ud(c&&c.currentValue,e,l===Vi),$E(t,n,r,e)}function WE(t){return t[GE]||null}function ZM(t,n){return t[GE]=n}function QM(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let s=zE(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function qE(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;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)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function sd(t,n,e){YE(t,n,3,e)}function ad(t,n,e,i){(t[Y]&3)===e&&YE(t,n,e,i)}function Op(t,n){let e=t[Y];(e&3)===n&&(e&=16383,e+=1,t[Y]=e)}function YE(t,n,e,i){let r=i!==void 0?t[Mr]&65535:0,o=i??-1,s=n.length-1,a=0;for(let l=r;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[Mr]+=65536),(a<o||o==-1)&&(XM(t,e,n,l),t[Mr]=(t[Mr]&4294901760)+l+2),l++}function uE(t,n){we(ve.LifecycleHookStart,t,n);let e=P(null);try{n.call(t)}finally{P(e),we(ve.LifecycleHookEnd,t,n)}}function XM(t,n,e,i){let r=e[i]<0,o=e[i+1],s=r?-e[i]:e[i],a=t[s];r?t[Y]>>14<t[Mr]>>16&&(t[Y]&3)===n&&(t[Y]+=16384,uE(a,o)):uE(a,o)}function JM(t){return(t.flags&8)!==0}function eA(t){return(t.flags&16)!==0}function tA(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,o)}else{let o=r,s=e[++i];iA(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),i++}}return i}function nA(t){return t===3||t===4||t===6}function iA(t){return t.charCodeAt(0)===64}function Go(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 r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?fE(t,e,r,null,n[++i]):fE(t,e,r,null,null))}}return t}function fE(t,n,e,i,r){let o=0,s=t.length;if(n===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}s!==-1&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function KE(t){return t!==zo}function fd(t){return t&32767}function rA(t){return t>>16}function hd(t,n){let e=rA(t),i=n;for(;e>0;)i=i[Sr],e--;return i}function pd(t){let n=$p;return $p=t,n}function aA(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Ir)&&(i=e[Ir]),i==null&&(i=e[Ir]=sA++);let r=i&ZE,o=1<<r;n.data[t+(r>>QE)]|=o}function md(t,n){let e=XE(t,n);if(e!==-1)return e;let i=n[B];i.firstCreatePass&&(t.injectorIndex=n.length,Np(i.data,t),Np(n,null),Np(i.blueprint,null));let r=Tm(t,n),o=t.injectorIndex;
vendor: 5,290 bytes, line 4
4if(KE(r)){let s=fd(r),a=hd(r,n),l=a[B].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Np(t,n){t.push(0,0,0,0,0,0,0,0,n)}function XE(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Tm(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=iD(r),i===null)return zo;if(e++,r=r[Sr],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return zo}function zp(t,n,e){aA(t,n,e)}function JE(t,n,e){if(e&8||t!==void 0)return t;Pc(n,"NodeInjector")}function eD(t,n,e,i){if(e&8&&i===void 0&&(i=null),(e&3)===0){let r=t[di],o=It(void 0);try{return r?r.get(n,i,e&8):Xh(n,i,e&8)}finally{It(o)}}return JE(i,n,e)}function tD(t,n,e,i=0,r){if(t!==null){if(n[Y]&2048&&!(i&2)){let s=uA(t,n,e,i,zn);if(s!==zn)return s}let o=nD(t,n,e,i,zn);if(o!==zn)return o}return eD(n,e,i,r)}function nD(t,n,e,i,r){let o=cA(e);if(typeof o=="function"){if(!Ip(n,t,i))return i&1?JE(r,e,i):eD(n,e,i,r);try{let s;if(s=o(i),s==null&&!(i&8))Pc(e);else return s}finally{Tp()}}else if(typeof o=="number"){let s=null,a=XE(t,n),l=zo,c=i&1?n[St][Tt]:null;for((a===-1||i&4)&&(l=a===-1?Tm(t,n):n[a+8],l===zo||!pE(i,!1)?a=-1:(s=n[B],a=fd(l),n=hd(l,n)));a!==-1;){let d=n[B];if(hE(o,a,d.data)){let f=lA(a,n,e,s,i,c);if(f!==zn)return f}l=n[a+8],l!==zo&&pE(i,n[B].data[a+8]===c)&&hE(o,a,n)?(s=d,a=fd(l),n=hd(l,n)):a=-1}}return r}function lA(t,n,e,i,r,o){let s=n[B],a=s.data[t+8],l=i==null?Hn(a)&&$p:i!=s&&(a.type&3)!==0,c=r&1&&o===a,d=ld(a,s,e,l,c);return d!==null?pa(n,s,d,a,r):zn}function ld(t,n,e,i,r){let o=t.providerIndexes,s=n.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,f=i?a:a+d,p=r?a+d:c;for(let m=f;m<p;m++){let g=s[m];if(m<l&&e===g||m>=l&&g.type===e)return m}if(r){let m=s[l];if(m&&Un(m)&&m.type===e)return l}return null}function pa(t,n,e,i,r){let o=t[e],s=n.data;if(o instanceof Fr){let a=o;if(a.resolving)throw Qh("");let l=pd(a.canSeeViewProviders);a.resolving=!0;let c=s[e].type||s[e],d,f=a.injectImpl?It(a.injectImpl):null,p=Ip(t,i,0);try{o=t[e]=a.factory(void 0,r,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&QM(e,s[e],n)}finally{f!==null&&It(f),pd(l),a.resolving=!1,Tp()}}return o}function cA(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Ir)?t[Ir]:void 0;return typeof n=="number"?n>=0?n&ZE:dA:n}function hE(t,n,e){let i=1<<t;return!!(e[n+(t>>QE)]&i)}function pE(t,n){return!(t&2)&&!(t&1&&n)}function dA(){return new Nr(_t(),$())}function ct(t){return Da(()=>{let n=t.prototype.constructor,e=n[Qs]||Gp(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[Qs]||Gp(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Gp(t){return Wh(t)?()=>{let n=Gp(ft(t));return n&&n()}:Ri(t)}function uA(t,n,e,i,r){let o=t,s=n;for(;o!==null&&s!==null&&s[Y]&2048&&!Fo(s);){let a=nD(o,s,e,i|2,zn);if(a!==zn)return a;let l=o.parent;if(!l){let c=s[sp];if(c){let d=c.get(e,zn,i&-5);if(d!==zn)return d}l=iD(s),s=s[Sr]}o=l}return r}function iD(t){let n=t[B],e=n.type;return e===2?n.declTNode:e===1?t[Tt]:null}function fA(){return Zo(_t(),$())}function Zo(t,n){return new K($t(t,n))}function rD(t){return t instanceof K?t.nativeElement:t}function hA(){return this._results[Symbol.iterator]()}function oD(t){return(t.flags&128)===128}function mA(){return pA++}function gA(t){sD.set(t[ui],t)}function Wp(t){sD.delete(t[ui])}function Wo(t,n){fi(n)?(t[mE]=n[ui],gA(n)):t[mE]=n}function aD(t){return cD(t[No])}function lD(t){return cD(t[Xt])}function cD(t){for(;t!==null&&!_n(t);)t=t[Xt];return t}function Mm(t){qp=t}function dD(){if(qp!==void 0)return qp;if(typeof document<"u")return document;throw new A(210,!1)}function yA(t,n){if(t==null||typeof t!="object")return;let e=gE.get(t);e||(e=new WeakSet,gE.set(t,e)),e.add(n)}function _A(t,n,e,i){bA(t,n,e,i)}function Id(t){return(t.flags&32)===32}function mD(t,n,e=!1){return EA(t,n,e)}function gD(t,n){let e=t.contentQueries;if(e!==null){let i=P(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],s=e[r+1];if(s!==-1){let a=t.data[s];ca(o),a.contentQueries(2,n[s],s)}}}finally{P(i)}}}function Yp(t,n,e){ca(0);let i=P(null);try{n(t,e)}finally{P(i)}}function vD(t,n,e){if(lp(n)){let i=P(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{P(i)}}}function xA(){if(nd===void 0&&(nd=null,Fi.trustedTypes))try{nd=Fi.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return nd}function Td(t){return xA()?.createHTML(t)||t}function IA(){if(id===void 0&&(id=null,Fi.trustedTypes))try{id=Fi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return id}function vE(t){return IA()?.createHTML(t)||t}function on(t){return t instanceof pi?t.changingThisBreaksApplicationSecurity:t}function gi(t,n){let e=yD(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${kc})`)}return e===n}function yD(t){return t instanceof pi&&t.getTypeName()||null}function Am(t){return new Kp(t)}function km(t){return new Zp(t)}function Rm(t){return new Qp(t)}
vendor: 4,357 bytes, line 4
4function Om(t){return new Xp(t)}function Nm(t){return new Jp(t)}function TA(t){let n=new tm(t);return SA()?new em(n):n}function SA(){try{return!!new window.DOMParser().parseFromString(Td(""),"text/html")}catch(t){return!1}}function wa(t){return t=String(t),t.match(MA)?t:"unsafe:"+t}function vi(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function xa(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}function LA(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function VA(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw CD(n);return n}function jA(t){let n=t.firstChild;if(n&&LA(t,n))throw CD(n);return n}function bE(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function CD(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function _E(t){return t.replace(/&/g,"&").replace(BA,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(HA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function Sd(t,n){let e=null;try{rd=rd||TA(t);let i=n?String(n):"";e=rd.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=rd.getInertBodyElement(i)}while(i!==o);let a=new nm().sanitizeChildren(EE(e)||e);return Td(a)}finally{if(e){let i=EE(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function EE(t){return"content"in t&&UA(t)?t.content:null}function UA(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function $A(t,n){return t.createText(n)}function zA(t,n,e){t.setValue(n,e)}function wD(t,n,e){return t.createElement(n,e)}function vd(t,n,e,i,r){t.insertBefore(n,e,i,r)}function xD(t,n,e){t.appendChild(n,e)}function DE(t,n,e,i,r){i!==null?vd(t,n,e,i,r):xD(t,n,e)}function ID(t,n,e,i){t.removeChild(null,n,e,i)}function GA(t,n,e){t.setAttribute(n,"style",e)}function WA(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function TD(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&tA(t,n,i),r!==null&&WA(t,n,r),o!==null&&GA(t,n,o)}function qA(t,n=!0){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1){if(n)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,e),t.slice(e+1)]}function Qo(t,n,e){if(n!==void 0&&e!==void 0&&YA(n,e)!==Se.HTML)return t;let i=SD();return i?vE(i.sanitize(Se.HTML,t)||""):gi(t,"HTML")?vE(on(t)):Sd(dD(),Li(t))}function jr(t){let n=SD();return n?n.sanitize(Se.URL,t)||"":gi(t,"URL")?on(t):wa(Li(t))}function SD(){let t=$();return t&&t[bn].sanitizer}function YA(t,n){let[e,i]=KA(t);return F_(i,n,e)}function KA(t){t=t.toLowerCase();let n=qA(t,!1);if(n[0])return n;let i=En()===-1?null:Vo(),r=i?.namespace;if(t==="#host"&&i?.type===2){let o=$t(i,$());if(o.tagName&&(t=o.tagName.toLowerCase()),r==null){let s=o.namespaceURI;r=s&&wA[s]}}return[r,t]}function ZA(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}function QA(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&ZA(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(Fm(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function Fm(t){return t.type===4&&t.value!==MD}function XA(t,n,e){let i=t.type===4&&!e?MD:t.value;return n===i}function JA(t,n,e){let i=4,r=t.attrs,o=r!==null?nk(r):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!Dn(i)&&!Dn(l))return!1;if(s&&Dn(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!XA(t,l,e)||l===""&&n.length===1){if(Dn(i))return!1;s=!0}}else if(i&8){if(r===null||!QA(t,r,l,e)){if(Dn(i))return!1;s=!0}}else{let c=n[++a],d=ek(l,r,Fm(t),e);if(d===-1){if(Dn(i))return!1;s=!0;continue}if(c!==""){let f;if(d>o?f="":f=r[d+1].toLowerCase(),i&2&&c!==f){if(Dn(i))return!1;s=!0}}}}return Dn(i)||s}function Dn(t){return(t&1)===0}function ek(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let s=n[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++r];for(;
vendor: 25,005 bytes, line 4
4typeof a=="string";)a=n[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return ik(n,t)}function AD(t,n,e=!1){for(let i=0;i<n.length;i++)if(JA(t,n[i],e))return!0;return!1}function tk(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function nk(t){for(let n=0;n<t.length;n++){let e=t[n];if(nA(e))return n}return t.length}function ik(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 rk(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function CE(t,n){return t?":not("+n.trim()+")":n}function ok(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!Dn(s)&&(n+=CE(o,r),r=""),i=s,o=o||!Dn(i);e++}return r!==""&&(n+=CE(o,r)),n}function sk(t){return t.map(ok).join(",")}function ak(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!Dn(r))break;r=o}i++}return e.length&&n.push(1,...e),n}function Pm(t,n,e,i,r,o,s,a,l,c,d){let f=Fe+i,p=f+r,m=lk(f,p),g=typeof c=="function"?c():c;return m[B]={type:t,blueprint:m,template:e,queries:null,viewQuery:a,declTNode:n,data:m.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:g,incompleteFirstPass:!1,ssrId:d}}function lk(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:At);return e}function ck(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Pm(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Lm(t,n,e,i,r,o,s,a,l,c,d){let f=n.blueprint.slice();return f[yn]=r,f[Y]=i|4|128|8|64|1024,(c!==null||t&&t[Y]&2048)&&(f[Y]|=2048),fp(f),f[ot]=f[Sr]=t,f[We]=e,f[bn]=s||t&&t[bn],f[Me]=a||t&&t[Me],f[di]=l||t&&t[di]||null,f[Tt]=o,f[ui]=mA(),f[Tr]=d,f[sp]=c,f[St]=n.type==2?t[St]:f,f}function dk(t,n,e){let i=$t(n,t),r=ck(e),o=t[bn].rendererFactory,s=Vm(t,Lm(t,r,null,kD(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=s}function kD(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function RD(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function Vm(t,n){return t[No]?t[op][Xt]=n:t[No]=n,t[op]=n,n}function E(t=1){OD(je(),$(),En()+t,!1)}function OD(t,n,e,i){if(!i)if((n[Y]&3)===3){let o=t.preOrderCheckHooks;o!==null&&sd(n,o,e)}else{let o=t.preOrderHooks;o!==null&&ad(n,o,0,e)}$i(e)}function im(t,n,e,i){let r=P(null);try{let[o,s,a]=t.inputs[e],l=null;(s&Md.SignalBased)!==0&&(l=n[o][nt]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):a!==null&&(i=a.call(n,i)),t.setInput!==null?t.setInput(n,l,i,e,o):$E(n,l,o,i)}finally{P(r)}}function jm(t,n){return uk(t,n)}function fk(t,n){let e=rm.get(t);if(!e||e.length===0)return;let i=n.parentNode,r=n.previousSibling;for(let o=e.length-1;o>=0;o--){let s=e[o],a=s.parentNode;s===n?(e.splice(o,1),ua.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(r&&s===r||a&&i&&a!==i)&&(e.splice(o,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function hk(t,n){let e=rm.get(t);e?e.includes(n)||e.push(n):rm.set(t,[n])}function yi(t){wE.has(t)||(wE.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Wt(t,n){let e=n?.injector??u(j);return yi("NgAfterNextRender"),mk(t,e,n,!0)}function pk(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function mk(t,n,e,i){let r=n.get(kd);r.impl??=n.get(Hm);let o=n.get(In,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(Mt):null,a=n.get(Bo,null,{optional:!0}),l=new ma(r.impl,pk(t),a?.view,i,s,o?.snapshot(null));return r.impl.register(l),l}function FD(t,n,e){let i=t.get(ND);if(Array.isArray(n))for(let r of n)i.queue.add(r),e?.detachedLeaveAnimationFns?.push(r);else i.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);i.scheduler&&i.scheduler(t)}function gk(t,n){let e=t.get(ND);if(n.detachedLeaveAnimationFns){for(let i of n.detachedLeaveAnimationFns)e.queue.delete(i);n.detachedLeaveAnimationFns=void 0}}function vk(t,n){for(let[e,i]of n)FD(t,i.animateFns)}function xE(t,n,e,i){let r=t?.[Hi]?.enter;n!==null&&r&&r.has(e.index)&&vk(i,r)}function $o(t,n,e,i,r,o,s,a){if(r!=null){let l,c=!1;_n(r)?l=r:fi(r)&&(c=!0,r=r[yn]);let d=Jt(r);t===0&&i!==null?(xE(a,i,o,e),s==null?xD(n,i,d):vd(n,i,d,s||null,!0)):t===1&&i!==null?(xE(a,i,o,e),vd(n,i,d,s||null,!0),fk(o,d)):t===2?(a?.[Hi]?.leave?.has(o.index)&&hk(o,d),ua.delete(d),IE(a,o,e,f=>{if(ua.has(d)){ua.delete(d);return}ID(n,d,c,f)})):t===3&&(ua.delete(d),IE(a,o,e,()=>{n.destroyNode(d)})),l!=null&&Sk(n,t,e,l,o,i,s)}}function yk(t,n){PD(t,n),n[yn]=null,n[Tt]=null}function bk(t,n,e,i,r,o){i[yn]=r,i[Tt]=n,Od(t,i,e,1,r,o)}function PD(t,n){n[bn].changeDetectionScheduler?.notify(9),Od(t,n,n[Me],2,null,null)}function _k(t){let n=t[No];if(!n)return Fp(t[B],t);for(;n;){let e=null;if(fi(n))e=n[No];else{let i=n[Ue];i&&(e=i)}if(!e){for(;n&&!n[Xt]&&n!==t;)fi(n)&&Fp(n[B],n),n=n[ot];n===null&&(n=t),fi(n)&&Fp(n[B],n),e=n&&n[Xt]}n=e}}function Um(t,n){let e=t[kr],i=e.indexOf(n);e.splice(i,1)}function Rd(t,n){if(Rr(n))return;let e=n[Me];e.destroyNode&&Od(t,n,e,3,null,null),_k(n)}function Fp(t,n){if(Rr(n))return;let e=P(null);try{n[Y]&=-129,n[Y]|=256,n[Ut]&&Ti(n[Ut]),Ck(t,n),Dk(t,n),n[B].type===1&&n[Me].destroy();let i=n[Bi];if(i!==null&&_n(n[ot])){i!==n[ot]&&Um(i,n);let r=n[Bn];r!==null&&r.detachView(t)}Wp(n)}finally{P(e)}}function IE(t,n,e,i){let r=t?.[Hi];if(r==null||r.leave==null||!r.leave.has(n.index))return i(!1);t&&Pr.add(t[ui]),FD(e,()=>{if(r.leave&&r.leave.has(n.index)){let s=r.leave.get(n.index),a=[];if(s){for(let l=0;l<s.animateFns.length;l++){let c=s.animateFns[l],{promise:d}=c();a.push(d)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(a),Ek(t,i)}else t&&Pr.delete(t[ui]),i(!1)},r)}function Ek(t,n){let e=t[Hi]?.running;if(e){e.then(()=>{t[Hi].running=void 0,Pr.delete(t[ui]),n(!0)});return}n(!1)}function Dk(t,n){let e=t.cleanup,i=n[Oo];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else{let a=i[e[s+1]];e[s].call(a)}i!==null&&(n[Oo]=null);let r=n[li];if(r!==null){n[li]=null;for(let s=0;s<r.length;s++){let a=r[s];a()}}let o=n[Oi];if(o!==null){n[Oi]=null;for(let s of o)s.destroy()}}function Ck(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof Fr)){let o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];we(ve.LifecycleHookStart,a,l);try{l.call(a)}finally{we(ve.LifecycleHookEnd,a,l)}}else{we(ve.LifecycleHookStart,r,o);try{o.call(r)}finally{we(ve.LifecycleHookEnd,r,o)}}}}}function LD(t,n,e){return wk(t,n.parent,e)}function wk(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[yn];if(Hn(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===wn.None||r===wn.Emulated)return null}return $t(i,e)}function VD(t,n,e){return Ik(t,n,e)}function xk(t,n,e){return t.type&40?$t(t,e):null}function $m(t,n,e,i){let r=LD(t,i,n),o=n[Me],s=i.parent||n[Tt],a=VD(s,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)DE(o,r,e[l],a,!1);else DE(o,r,e,a,!1);TE!==void 0&&TE(o,i,n,e,r)}function fa(t,n){if(n!==null){let e=n.type;if(e&3)return $t(n,t);if(e&4)return om(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return fa(t,i);{let r=t[n.index];return _n(r)?om(-1,r):Jt(r)}}else{if(e&128)return fa(t,n.next);if(e&32)return jm(n,t)()||Jt(t[n.index]);{let i=jD(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Ni(t[St]);return fa(r,i)}else return fa(t,n.next)}}}return null}function jD(t,n){if(n!==null){let i=t[St][Tt],r=n.projection;return i.projection[r]}return null}function om(t,n){let e=Ue+t+1;if(e<n.length){let i=n[e],r=i[B].firstChild;if(r!==null)return fa(i,r)}return n[Ui]}function zm(t,n,e,i,r,o,s){for(;e!=null;){let a=i[di];if(e.type===128){e=e.next;continue}let l=i[e.index],c=e.type;if(s&&n===0&&(l&&Wo(Jt(l),i),e.flags|=2),!Id(e))if(c&8)zm(t,n,e.child,i,r,o,!1),$o(n,t,a,r,l,e,o,i);else if(c&32){let d=jm(e,i),f;for(;f=d();)$o(n,t,a,r,f,e,o,i);$o(n,t,a,r,l,e,o,i)}else c&16?BD(t,n,i,e,r,o):$o(n,t,a,r,l,e,o,i);e=s?e.projectionNext:e.next}}function Od(t,n,e,i,r,o){zm(e,i,t.firstChild,n,r,o,!1)}function Tk(t,n,e){let i=n[Me],r=LD(t,e,n),o=e.parent||n[Tt],s=VD(o,e,n);BD(i,0,n,e,r,s)}function BD(t,n,e,i,r,o){let s=e[St],l=s[Tt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];$o(n,t,e[di],r,d,i,o,e)}else{let c=l,d=s[ot];oD(i)&&(c.flags|=128),zm(t,n,c,d,r,o,!0)}}function Sk(t,n,e,i,r,o,s){let a=i[Ui],l=Jt(i);a!==l&&$o(n,t,e,o,a,r,s);for(let c=Ue;c<i.length;c++){let d=i[c];Od(d[B],d,t,n,o,a)}}function Mk(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:Gn.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Gn.Important),t.setStyle(e,i,r,o))}}function HD(t,n,e,i,r){let o=En(),s=i&2;try{$i(-1),s&&n.length>Fe&&OD(t,n,Fe,!1);let a=s?ve.TemplateUpdateStart:ve.TemplateCreateStart;we(a,r,e),e(i,r)}finally{$i(o);let a=s?ve.TemplateUpdateEnd:ve.TemplateCreateEnd;we(a,r,e)}}function Gm(t,n,e){Fk(t,n,e),(e.flags&64)===64&&Pk(t,n,e)}function Nd(t,n,e=$t){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let s=i[o+1],a=s===-1?e(n,t):t[s];t[r++]=a}}}function Ak(t,n,e,i){let o=i.get(pD,hD)||e===wn.ShadowDom||e===wn.ExperimentalIsolatedShadowDom,s=t.selectRootElement(n,o);return kk(s),s}function kk(t){Rk(t)}function Ok(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Nk(t,n,e,i,r,o){let s=n[B];if(Fd(t,s,n,e,i)){Hn(t)&&$D(n,t.index);return}t.type&3&&(e=Ok(e)),UD(t,n,e,i,r,o)}function UD(t,n,e,i,r,o){if(t.type&3){let s=$t(t,n);i=o!=null?o(i,t.value||"",e):i,r.setProperty(s,e,i)}else t.type&12}function $D(t,n){let e=en(n,t);e[Y]&16||(e[Y]|=64)}function Fk(t,n,e){let i=e.directiveStart,r=e.directiveEnd;Hn(e)&&dk(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||md(e,n);let o=e.initialInputs;for(let s=i;s<r;s++){let a=t.data[s],l=pa(n,t,s,e);if(Wo(l,n),o!==null&&jk(n,s-i,l,a,e,o),Un(a)){let c=en(e.index,n);c[We]=pa(n,t,s,e)}}}function Pk(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,s=K_();try{$i(o);for(let a=i;a<r;a++){let l=t.data[a],c=n[a];Yc(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Lk(l,c)}}finally{$i(-1),Yc(s)}}function Lk(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function zD(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];AD(n,o.selectors,!1)&&(i??=[],Un(o)?i.unshift(o):i.push(o))}return i}function Vk(t,n,e,i,r,o){let s=$t(t,n);GD(n[Me],s,o,t.value,e,i,r)}function GD(t,n,e,i,r,o,s){if(o==null)t.removeAttribute(n,r,e);else{let a=s==null?Li(o):s(o,i||"",r);t.setAttribute(n,r,a,e)}}function jk(t,n,e,i,r,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];im(i,e,l,c)}}function WD(t,n,e,i,r){let o=Fe+e,s=n[B],a=r(s,n,t,i,e);n[o]=a,Lo(t,!0);let l=t.type===2;return l?(TD(n[Me],a,t),(H_()===0||la(t))&&Wo(a,n),U_()):Wo(a,n),Xc()&&(!l||!Id(t))&&$m(s,n,a,t),t}function qD(t){let n=t;return Dp()?Cp():(n=n.parent,Lo(n,!1)),n}function Bk(t,n){let e=t[di];if(!e)return;let i;try{i=e.get($n,null)}catch(r){i=null}i?.(n)}function Fd(t,n,e,i,r){let o=t.inputs?.[i],s=t.hostDirectiveInputs?.[i],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1],f=n.data[c];im(f,e[c],d,r),a=!0}if(o)for(let l of o){let c=e[l],d=n.data[l];im(d,c,i,r),a=!0}return a}function Hk(t,n){let e=en(n,t),i=e[B];Uk(i,e);let r=e[yn];r!==null&&e[Tr]===null&&(e[Tr]=mD(r,e[di])),we(ve.ComponentStart);try{Wm(i,e,e[We])}finally{we(ve.ComponentEnd,e[We])}}function Uk(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Wm(t,n,e){Zc(n);try{let i=t.viewQuery;i!==null&&Yp(1,i,e);let r=t.template;r!==null&&HD(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[Bn]?.finishViewCreation(t),t.staticContentQueries&&gD(t,n),t.staticViewQueries&&Yp(2,t.viewQuery,e);let o=t.components;o!==null&&$k(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[Y]&=-5,Qc()}}function $k(t,n){for(let e=0;e<n.length;e++)Hk(t,n[e])}function Ia(t,n,e,i){let r=P(null);try{let o=n.tView,a=t[Y]&4096?4096:16,l=Lm(t,o,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[Bi]=c;let d=t[Bn];return d!==null&&(l[Bn]=d.createEmbeddedView(o)),Wm(o,l,e),l}finally{P(r)}}function qo(t,n){return!n||n.firstChild===null||oD(t)}function ga(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(Jt(o)),_n(o)&&YD(o,i);let s=e.type;if(s&8)ga(t,n,e.child,i);else if(s&32){let a=jm(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=jD(n,e);if(Array.isArray(a))i.push(...a);else{let l=Ni(n[St]);ga(l[B],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function YD(t,n){for(let e=Ue;e<t.length;e++){let i=t[e],r=i[B].firstChild;r!==null&&ga(i[B],i,r,n)}t[Ui]!==t[yn]&&n.push(t[Ui])}function KD(t){if(t[Ar]!==null){for(let n of t[Ar])n.impl.addSequence(n);t[Ar].length=0}}function zk(t){return t[Ut]??Gk(t)}function Gk(t){let n=ZD.pop()??Object.create(qk);return n.lView=t,n}function Wk(t){t.lView[Ut]!==t&&(t.lView=null,ZD.push(t))}function Yk(t){let n=t[Ut]??Object.create(Kk);return n.lView=t,n}function QD(t){return t.type!==2}function XD(t){if(t[Oi]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[Oi])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[Y]&8192)}}function JD(t,n=0){let i=t[bn].rendererFactory,r=!1;r||i.begin?.();try{Qk(t,n)}finally{r||i.end?.()}}function Qk(t,n){let e=wp();try{ea(!0),sm(t,n);let i=0;for(;Po(t);){if(i===Zk)throw new A(103,!1);i++,sm(t,1)}}finally{ea(e)}}function Xk(t,n,e,i){if(Rr(n))return;let r=n[Y],o=!1,s=!1;Zc(n);let a=!0,l=null,c=null;o||(QD(t)?(c=zk(n),l=Ii(c)):Rl()===null?(a=!1,c=Yk(n),l=Ii(c)):n[Ut]&&(Ti(n[Ut]),n[Ut]=null));try{fp(n),W_(t.bindingStartIndex),e!==null&&HD(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let m=t.preOrderCheckHooks;m!==null&&sd(n,m,null)}else{let m=t.preOrderHooks;m!==null&&ad(n,m,0,null),Op(n,0)}if(s||Jk(n),XD(n),eC(n,0),t.contentQueries!==null&&gD(t,n),!o)if(d){let m=t.contentCheckHooks;m!==null&&sd(n,m)}else{let m=t.contentHooks;m!==null&&ad(n,m,1),Op(n,1)}tR(t,n);let f=t.components;f!==null&&nC(n,f,0);let p=t.viewQuery;if(p!==null&&Yp(2,p,i),!o)if(d){let m=t.viewCheckHooks;m!==null&&sd(n,m)}else{let m=t.viewHooks;m!==null&&ad(n,m,2),Op(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Hc]){for(let m of n[Hc])m();n[Hc]=null}o||(KD(n),n[Y]&=-73)}catch(d){throw o||Or(n),d}finally{c!==null&&(dr(c,l),a&&Wk(c)),Qc()}}function eC(t,n){for(let e=aD(t);e!==null;e=lD(e))for(let i=Ue;i<e.length;i++){let r=e[i];tC(r,n)}}function Jk(t){for(let n=aD(t);n!==null;n=lD(n)){if(!(n[Y]&2))continue;let e=n[kr];for(let i=0;i<e.length;i++){let r=e[i];Gc(r)}}}function eR(t,n,e){we(ve.ComponentStart);let i=en(n,t);try{tC(i,e)}finally{we(ve.ComponentEnd,i[We])}}function tC(t,n){zc(t)&&sm(t,n)}function sm(t,n){let i=t[B],r=t[Y],o=t[Ut],s=!!(n===0&&r&16);if(s||=!!(r&64&&n===0),s||=!!(r&1024),s||=!!(o?.dirty&&ao(o)),s||=!1,o&&(o.dirty=!1),t[Y]&=-9217,s)Xk(i,t,i.template,t[We]);else if(r&8192){let a=P(null);try{XD(t),eC(t,1);let l=i.components;l!==null&&nC(t,l,1),KD(t)}finally{P(a)}}}function nC(t,n,e){for(let i=0;i<n.length;i++)eR(t,n[i],e)}function tR(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)$i(~r);else{let o=r,s=e[++i],a=e[++i];Y_(s,o);let l=n[o];we(ve.HostBindingsUpdateStart,l);try{a(2,l)}finally{we(ve.HostBindingsUpdateEnd,l)}}}}finally{$i(-1)}}function qm(t,n){let e=wp()?64:1088;for(t[bn].changeDetectionScheduler?.notify(n);t;){t[Y]|=e;let i=Ni(t);if(Fo(t)&&!i)return t;t=i}return null}function iC(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function rC(t,n){let e=Ue+n;if(e<t.length)return t[e]}function Ta(t,n,e,i=!0){let r=n[B];if(nR(r,n,t,e),i){let s=om(e,t),a=n[Me],l=a.parentNode(t[Ui]);l!==null&&bk(r,t[Tt],a,n,l,s)}let o=n[Tr];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function oC(t,n){let e=va(t,n);return e!==void 0&&Rd(e[B],e),e}function va(t,n){if(t.length<=Ue)return;let e=Ue+n,i=t[e];if(i){let r=i[Bi];r!==null&&r!==t&&Um(r,i),n>0&&(t[e-1][Xt]=i[Xt]);let o=oa(t,Ue+n);yk(i[B],i);let s=o[Bn];s!==null&&s.detachView(o[B]),i[ot]=null,i[Xt]=null,i[Y]&=-129}return i}function nR(t,n,e,i){let r=Ue+i,o=e.length;i>0&&(e[r-1][Xt]=n),i<o-Ue?(n[Xt]=e[r],Jh(e,Ue+i,n)):(e.push(n),n[Xt]=null),n[ot]=e;let s=n[Bi];s!==null&&e!==s&&sC(s,n);let a=n[Bn];a!==null&&a.insertView(t),Wc(n),n[Y]|=128}function sC(t,n){let e=t[kr],i=n[ot];if(fi(i))t[Y]|=2;else{let r=i[ot][St];n[St]!==r&&(t[Y]|=2)}e===null?t[kr]=[n]:e.push(n)}function Ym(t){return Po(t._lView)||!!(t._lView[Y]&64)}function Km(t){Gc(t._lView)}function iR(){return Pd(_t(),$())}function Pd(t,n){return t.type&4?new xn(n,t,Zo(t,n)):null}function Xo(t,n,e,i,r){let o=t.data[n];if(o===null)o=rR(t,n,e,i,r),q_()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let s=$_();o.injectorIndex=s===null?-1:s.injectorIndex}return Lo(o,!0),o}function rR(t,n,e,i,r){let o=Ep(),s=Dp(),a=s?o:o&&o.parent,l=t.data[n]=sR(t,a,e,n,i,r);return oR(t,l,o,s),l}function oR(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function sR(t,n,e,i,r,o){let s=n?n.injectorIndex:-1,a=0;return yp()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,namespace:Sp(),attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function aR(t){let n=t[ap]??[],i=t[ot][Me],r=[];for(let o of n)o.data[fD]!==void 0?r.push(o):lR(o,i);t[ap]=r}function lR(t,n){let e=0,i=t.firstChild;if(i){let r=t.data[uD];for(;e<r;){let o=i.nextSibling;ID(n,i,!1),i=o,e++}}}function yd(t,n){return cR(t,n)}function aC(t,n,e){return dR(t,n,e)}function uR(){let t=$(),n=_t(),e=en(n.index,t);return(fi(e)?e:t)[Me]}function bd(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)r=Oc(r,a);else if(o==2){let l=a,c=n[++s];i=Oc(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function de(t,n=0){let e=$();if(e===null)return b(t,n);let i=_t();return tD(i,e,ft(t),n)}function dC(t,n,e,i,r){let o=i===null?null:{"":-1},s=r(t,e);if(s!==null){let a=s,l=null,c=null;for(let d of s)if(d.resolveHostDirectives!==null){[a,l,c]=d.resolveHostDirectives(s);break}pR(t,n,e,a,o,l,c)}o!==null&&i!==null&&fR(e,i,o)}function fR(t,n,e){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new A(-301,!1);i.push(n[r],o)}}function hR(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function pR(t,n,e,i,r,o,s){let a=i.length,l=null;for(let p=0;p<a;p++){let m=i[p];l===null&&Un(m)&&(l=m,hR(t,e,p)),zp(md(e,n),t,m.type)}_R(e,t.data.length,a),l?.viewProvidersResolver&&l.viewProvidersResolver(l);for(let p=0;p<a;p++){let m=i[p];m.providersResolver&&m.providersResolver(m)}let c=!1,d=!1,f=RD(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let p=0;p<a;p++){let m=i[p];if(e.mergedAttrs=Go(e.mergedAttrs,m.hostAttrs),gR(t,e,n,f,m),bR(f,m,r),s!==null&&s.has(m)){let[C,I]=s.get(m);e.directiveToIndex.set(m.type,[f,C+e.directiveStart,I+e.directiveStart])}else(o===null||!o.has(m))&&e.directiveToIndex.set(m.type,f);m.contentQueries!==null&&(e.flags|=4),(m.hostBindings!==null||m.hostAttrs!==null||m.hostVars!==0)&&(e.flags|=64);let g=m.type.prototype;!c&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),c=!0),!d&&(g.ngOnChanges||g.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),d=!0),f++}mR(t,e,o)}function mR(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))SE(0,n,r,i),SE(1,n,r,i),AE(n,i,!1);else{let o=e.get(r);ME(0,n,o,i),ME(1,n,o,i),AE(n,i,!0)}}}function SE(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s;t===0?s=n.inputs??={}:s=n.outputs??={},s[o]??=[],s[o].push(i),uC(n,o)}}function ME(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s=r[o],a;t===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(i,o),uC(n,s)}}function uC(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function AE(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||Fm(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<i.length;){let l=i[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!e&&r.hasOwnProperty(l)){let c=r[l];for(let d of c)if(d===n){s??=[],s.push(l,i[a+1]);break}}else if(e&&o.hasOwnProperty(l)){let c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===n){s??=[],s.push(c[d+1],i[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function gR(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=Ri(r.type,!0)),s=new Fr(o,Un(r),de,null);t.blueprint[i]=s,e[i]=s,vR(t,n,i,RD(t,e,r.hostVars,At),r)}function vR(t,n,e,i,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;yR(s)!=a&&s.push(a),s.push(e,i,o)}}function yR(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function bR(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Un(n)&&(e[""]=t)}}function _R(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function fC(t,n,e,i,r,o,s,a){let l=n[B],c=l.consts,d=tn(c,s),f=Xo(l,t,e,i,d);return o&&dC(l,n,f,tn(c,a),r),f.mergedAttrs=Go(f.mergedAttrs,f.attrs),f.attrs!==null&&bd(f,f.attrs,!1),f.mergedAttrs!==null&&bd(f,f.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,f),f}function hC(t,n){qE(t,n),lp(n)&&t.queries.elementEnd(n)}function ER(t,n,e,i,r,o){let s=n.consts,a=tn(s,r),l=Xo(n,t,e,i,a);if(l.mergedAttrs=Go(l.mergedAttrs,l.attrs),o!=null){let c=tn(s,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return l.attrs!==null&&bd(l,l.attrs,!1),l.mergedAttrs!==null&&bd(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function pC(t,n,e){return t[n]=e}function Gt(t,n,e){if(e===At)return!1;let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function mC(t,n,e,i){let r=Gt(t,n,e);return Gt(t,n+1,i)||r}function dd(t,n,e){return function i(r){let o=i.__ngNativeEl__;o!==void 0&&yA(r,o);let s=Hn(t)?en(t.index,n):n;qm(s,5);let a=n[We],l=kE(n,a,e,r),c=i.__ngNextListenerFn__;for(;c;)l=kE(n,a,c,r)&&l,c=c.__ngNextListenerFn__;return l}}function kE(t,n,e,i){let r=P(null);try{return we(ve.OutputStart,n,e),e(i)!==!1}catch(o){return Bk(t,o),!1}finally{we(ve.OutputEnd,n,e),P(r)}}function gC(t,n,e,i,r,o,s,a){let l=la(t),c=!1,d=null;if(!i&&l&&(d=CR(n,e,o,t.index)),d!==null){let f=d.__ngLastListenerFn__||d;f.__ngNextListenerFn__=s,d.__ngLastListenerFn__=s,c=!0}else{let f=$t(t,e),p=i?i(f):f;_A(e,p,o,a),i||(a.__ngNativeEl__=f);let m=r.listen(p,o,a);if(!DR(o)){let g=i?C=>i(Jt(C[t.index])):t.index;vC(g,n,e,o,a,m,!1)}}return c}function DR(t){return t.startsWith("animation")||t.startsWith("transition")}function CR(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===e&&r[o+1]===i){let a=n[Oo],l=r[o+2];return a&&a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function vC(t,n,e,i,r,o,s){let a=n.firstCreatePass?mp(n):null,l=pp(e),c=l.length;l.push(r,o),a&&a.push(i,t,c,(c+1)*(s?-1:1))}function RE(t,n,e,i,r,o){let s=n[e],a=n[B],c=a.data[e].outputs[i],f=s[c].subscribe(o);vC(t.index,a,n,r,o,f,!0)}
vendor: 9,334 bytes, line 4
4function yC(t){return t.debugInfo?.className||t.type.name||null}function wR(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&Md.SignalBased)!==0};return r&&(o.transform=r),o})}function xR(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function IR(t,n,e){let i=n instanceof Ge?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new lm(e,i):e}function TR(t){let n=t.get(Je,null);if(n===null)throw new A(407,!1);let e=t.get(cC,null),i=t.get(Ht,null),r=t.get(In,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1,tracingService:r}}function SR(t,n){let e=bC(t);return wD(n,e,e==="svg"?Js:e==="math"?cp:null)}function MR(t){if(t?.toLowerCase()==="script")throw new A(905,!1)}function bC(t){return(t.selectors[0][0]||"div").toLowerCase()}function AR(t,n,e,i){let r=t?["ng-version","21.2.21"]:ak(n.selectors[0]),o=null,s=null,a=0;if(e)for(let d of e)a+=d[cm].requiredVars,d.create&&(d.targetIdx=0,(o??=[]).push(d)),d.update&&(d.targetIdx=0,(s??=[]).push(d));if(i)for(let d=0;d<i.length;d++){let f=i[d];if(typeof f!="function")for(let p of f.bindings){a+=p[cm].requiredVars;let m=d+1;p.create&&(p.targetIdx=m,(o??=[]).push(p)),p.update&&(p.targetIdx=m,(s??=[]).push(p))}}let l=[n];if(i)for(let d of i){let f=typeof d=="function"?d:d.type,p=Kh(f);l.push(p)}return Pm(0,null,kR(o,s),1,a,l,null,null,null,[r],null)}function kR(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let i of t)i.create();if(e&2&&n)for(let i of n)i.update()}}function OE(t){let n=t[cm].kind;return n==="input"||n==="twoWay"}function RR(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null)}}function OR(){let t=_t();return _C(t,$())}function NE(t){return t[aa]}function Pp(t){return t[aa]||(t[aa]=[])}function _C(t,n){let e,i=n[t.index];return _n(i)?e=i:(e=iC(i,n,null,t),n[t.index]=e,Vm(n,e)),FR(e,n,t,i),new um(e,t,n)}function NR(t,n){let e=t[Me],i=e.createComment(""),r=$t(n,t),o=e.parentNode(r);return vd(e,o,i,e.nextSibling(r),!1),i}function LR(t,n,e){return PR(t,n,e)}function VR(t,n,e,i){if(t[Ui])return;let r;e.type&8?r=Jt(i):r=NR(n,e),t[Ui]=r}function jR(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 BR(t,n){return t.type&11?Zo(t,n):t.type&4?Pd(t,n):null}function HR(t,n,e,i){return e===-1?BR(n,t):e===-2?UR(t,n,i):pa(t,t[B],e,n)}function UR(t,n,e){if(e===K)return Zo(n,t);if(e===xn)return Pd(n,t);if(e===kt)return _C(n,t)}function EC(t,n,e,i){let r=n[Bn].queries[i];if(r.matches===null){let o=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 d=o[c];a.push(HR(n,d,s[l+1],e.metadata.read))}}r.matches=a}return r.matches}function gm(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let s=EC(t,n,r,e);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)i.push(s[a/2]);else{let c=o[a+1],d=n[-l];for(let f=Ue;f<d.length;f++){let p=d[f];p[Bi]===p[ot]&&gm(p[B],p,c,i)}if(d[kr]!==null){let f=d[kr];for(let p=0;p<f.length;p++){let m=f[p];gm(m[B],m,c,i)}}}}}return i}function Zm(t,n){return t[Bn].queries[n].queryList}function DC(t,n,e){let i=new gd((e&4)===4);return B_(t,n,i,i.destroy),(n[Bn]??=new hm).queries.push(new fm(i))-1}function CC(t,n,e){let i=je();return i.firstCreatePass&&(xC(i,new Ed(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),DC(i,$(),n)}function wC(t,n,e,i){let r=je();if(r.firstCreatePass){let o=_t();xC(r,new Ed(n,e,i),o.index),zR(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return DC(r,$(),e)}function $R(t){return t.split(",").map(n=>n.trim())}function xC(t,n,e){t.queries===null&&(t.queries=new pm),t.queries.track(new mm(n,e))}function zR(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 Qm(t,n){return t.queries.getByIndex(n)}function IC(t,n){let e=t[B],i=Qm(e,n);return i.crossesNgTemplate?gm(e,t,n,[]):EC(e,t,i,n)}function TC(t,n,e){let i,r=Vs(()=>{i._dirtyCounter();let o=GR(i,t);if(n&&o===void 0)throw new A(-951,!1);return o});return i=r[nt],i._dirtyCounter=st(0),i._flatValue=void 0,r}function Xm(t){return TC(!0,!1,t)}function Jm(t){return TC(!0,!0,t)}function SC(t,n){let e=t[nt];e._lView=$(),e._queryIndex=n,e._queryList=Zm(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function GR(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[Y]&4)return n?void 0:bt;let r=Zm(e,i),o=IC(e,i);return r.reset(o,rD),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function MC(t,n,e=null){return new ya({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function H(t){return Da(()=>{let n=AC(t),e=X(D({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Sm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(WR).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||wn.Emulated,styles:t.styles||bt,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&yi("NgStandalone"),kC(e);let i=t.dependencies;return e.directiveDefs=FE(i,qR),e.pipeDefs=FE(i,E_),e.id=ZR(e),e})}function qR(t){return Pi(t)||Kh(t)}function ue(t){return Da(()=>({type:t.type,bootstrap:t.bootstrap||bt,declarations:t.declarations||bt,imports:t.imports||bt,exports:t.exports||bt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function YR(t,n){if(t==null)return Vi;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a,l;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o,l=r[3]||null):(o=r,s=r,a=Md.None,l=null),e[o]=[i,a,l],n[o]=s}return e}function KR(t){if(t==null)return Vi;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function ee(t){return Da(()=>{let n=AC(t);return kC(n),n})}function bi(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 AC(t){let n={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||Vi,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||bt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:YR(t.inputs,n),outputs:KR(t.outputs),debugInfo:null}}function kC(t){t.features?.forEach(n=>n(t))}function FE(t,n){return t?()=>{let e=typeof t=="function"?t():t,i=[];for(let r of e){let o=n(r);o!==null&&i.push(o)}return i}:null}function ZR(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,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];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function QR(t){return Object.getPrototypeOf(t.prototype).constructor}function Be(t){let n=QR(t.type),e=!0,i=[t];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let r,o=Object.hasOwn(n,ia)?n[ia]:void 0,s=Object.hasOwn(n,ra)?n[ra]:void 0;if(Un(t))r=o??s;else{if(o)throw new A(903,!1);r=s}if(r){if(e){i.push(r);let l=t;l.inputs=Lp(t.inputs),l.declaredInputs=Lp(t.declaredInputs),l.outputs=Lp(t.outputs);let c=r.hostBindings;c&&nO(t,c);let d=r.viewQuery,f=r.contentQueries;if(d&&eO(t,d),f&&tO(t,f),XR(t,r),__(t.outputs,r.outputs),Un(r)&&r.data.animation){let p=t.data;p.animation=(p.animation||[]).concat(r.data.animation)}}let a=r.features;if(a)for(let l=0;l<a.length;l++){let c=a[l];c&&c.ngInherit&&c(t),c===Be&&(e=!1)}}n=Object.getPrototypeOf(n)}JR(i)}function XR(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e])}}function JR(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Go(r.hostAttrs,e=Go(e,r.hostAttrs))}}function Lp(t){return t===Vi?{}:t===bt?[]:t}function eO(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function tO(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function nO(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function RC(t,n,e,i,r,o,s,a){if(e.firstCreatePass){t.mergedAttrs=Go(t.mergedAttrs,t.attrs);let d=t.tView=Pm(2,t,r,o,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),d.queries=e.queries.embeddedTView(t))}a&&(t.flags|=a),Lo(t,!1);let l=rO(e,n,t,i);Xc()&&$m(e,n,l,t),Wo(l,n);let c=iC(l,n,l,t);n[i+Fe]=c,Vm(n,c),LR(c,t,n)}function iO(t,n,e,i,r,o,s,a,l,c,d){let f=e+Fe,p;return n.firstCreatePass?(p=Xo(n,f,4,s||null,a||null),vp()&&dC(n,t,p,tn(n.consts,c),zD),qE(n,p)):p=n.data[f],RC(p,t,n,e,i,r,o,l),la(p
vendor: 4,257 bytes, line 4
4)&&Gm(n,t,p),c!=null&&Nd(t,p,d),p}function ba(t,n,e,i,r,o,s,a,l,c,d){let f=e+Fe,p;if(n.firstCreatePass){if(p=Xo(n,f,4,s||null,a||null),c!=null){let m=tn(n.consts,c);p.localNames=[];for(let g=0;g<m.length;g+=2)p.localNames.push(m[g],-1)}}else p=n.data[f];return RC(p,t,n,e,i,r,o,l),c!=null&&Nd(t,p,d),p}function sn(t,n,e,i,r,o,s,a){let l=$(),c=je(),d=tn(c.consts,o);return iO(l,c,t,n,e,i,r,d,void 0,s,a),sn}function oO(t,n,e,i){return Jc(!0),n[Me].createComment("")}function Jo(t){return typeof t=="function"&&t[nt]!==void 0}function Br(t){return!!t&&typeof t.then=="function"}function Vd(t){return!!t&&typeof t.subscribe=="function"}function Sa(t){return jn([{provide:tg,multi:!0,useValue:t}])}function NC(){Gf(()=>{let t="";throw new A(600,t)})}function FC(t){return t.isBoundToModule}function ha(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function jd(t,n){let e=$(),i=hi();if(Gt(e,i,n)){let r=je(),o=Vo();if(Fd(o,r,e,t,n))Hn(o)&&$D(e,o.index);else{let a=$t(o,e);GD(e[Me],a,null,o.value,t,n,null)}}return jd}function oe(t,n,e,i){let r=$(),o=hi();if(Gt(r,o,n)){let s=je(),a=Vo();Vk(a,r,t,n,e,i)}return oe}function Vp(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function aO(t,n,e,i){let r,o,s=0,a=t.length-1,l=void 0;if(Array.isArray(n)){P(i);let c=n.length-1;for(P(null);s<=a&&s<=c;){let d=t.at(s),f=n[s],p=Vp(s,d,s,f,e);if(p!==0){p<0&&t.updateValue(s,f),s++;continue}let m=t.at(a),g=n[c],C=Vp(a,m,c,g,e);if(C!==0){C<0&&t.updateValue(a,g),a--,c--;continue}let I=e(s,d),R=e(a,m),xe=e(s,f);if(Object.is(xe,R)){let Dt=e(c,g);Object.is(Dt,I)?(t.swap(s,a),t.updateValue(a,g),c--,a--):t.move(a,s),t.updateValue(s,f),s++;continue}if(r??=new Dd,o??=LE(t,s,a,e),ym(t,r,s,xe))t.updateValue(s,f),s++,a++;else if(o.has(xe))r.set(I,t.detach(s)),a--;else{let Dt=t.create(s,n[s]);t.attach(s,Dt),s++,a++}}for(;s<=c;)PE(t,r,e,s,n[s]),s++}else if(n!=null){P(i);let c=n[Symbol.iterator]();P(null);let d=c.next();for(;!d.done&&s<=a;){let f=t.at(s),p=d.value,m=Vp(s,f,s,p,e);if(m!==0)m<0&&t.updateValue(s,p),s++,d=c.next();else{r??=new Dd,o??=LE(t,s,a,e);let g=e(s,p);if(ym(t,r,s,g))t.updateValue(s,p),s++,a++,d=c.next();else if(!o.has(g))t.attach(s,t.create(s,p)),s++,a++,d=c.next();else{let C=e(s,f);r.set(C,t.detach(s)),a--}}}for(;!d.done;)PE(t,r,e,t.length,d.value),d=c.next()}for(;s<=a;)t.destroy(t.detach(a--));r?.forEach(c=>{t.destroy(c)})}function ym(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function PE(t,n,e,i,r){if(ym(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function LE(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}function ie(t,n,e,i,r,o,s,a){yi("NgControlFlow");let l=$(),c=je(),d=tn(c.consts,o);return ba(l,c,t,n,e,i,r,d,256,s,a),ig}function ig(t,n,e,i,r,o,s,a){yi("NgControlFlow");let l=$(),c=je(),d=tn(c.consts,o);return ba(l,c,t,n,e,i,r,d,512,s,a),ig}function re(t,n){yi("NgControlFlow");let e=$(),i=hi(),r=e[i]!==At?e[i]:-1,o=r!==-1?Cd(e,Fe+r):void 0,s=0;if(Gt(e,i,t)){let a=P(null);try{if(o!==void 0&&oC(o,s),t!==-1){let l=Fe+t,c=Cd(e,l),d=Dm(e[B],l),f=aC(c,d,e),p=Ia(e,d,n,{dehydratedView:f});Ta(c,p,s,qo(d,f))}}finally{P(a)}}else if(o!==void 0){let a=rC(o,s);a!==void 0&&(a[We]=n)}}function Bd(t,n){return n}function Hd(t,n,e,i,r,o,s,a,l,c,d,f,p){yi("NgControlFlow");let m=$(),g=je(),C=l!==void 0,I=$(),R=a?s.bind(I[St][We]):s,xe=new _m(C,R);I[Fe+t]=xe,ba(m,g,t+1,n,e,i,r,tn(g.consts,o),256),C&&ba(m,g,t+2,l,c,d,f,tn(g.consts,p),512)}function Ud(t){let n=P(null),e=En();try{let i=$(),r=i[B],o=i[e],s=e+1,a=Cd(i,s);if(o.liveCollection===void 0){let c=Dm(r,s);o.liveCollection=new Em(a,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if(aO(l,t,o.trackByFn,n),l.updateIndexes(),o.hasEmptyBlock){let c=hi(),d=l.length===0;if(Gt(i,c,d)){let f=e+2,p=Cd(i,f);if(d){let m=Dm(r,f),g=aC(p,m,i),C=Ia(i,m,void 0,{dehydratedView:g});Ta(p,C,0,qo(m,g))}else r.firstUpdatePass&&aR(p),oC(p,0)}}}finally{P(n)}}function Cd(t,n){return t[n]}function lO(t,n){if(t.length<=Ue)return;let e=Ue+n,i=t[e],r=i?i[Hi]:void 0;if(i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=i[di];gk(o,r),Pr.delete(i[ui]),r.detachedLeaveAnimationFns=void 0}}function cO(t,n){if(t.length<=Ue)return;let e=Ue+n,i=t[e],r=i?i[Hi]:void 0;
vendor: 6,571 bytes, line 4
4r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function dO(t,n){return va(t,n)}function uO(t,n){return rC(t,n)}function Dm(t,n){return Uc(t,n)}function fe(t,n,e){let i=$(),r=hi();if(Gt(i,r,n)){let o=je(),s=Vo();Nk(s,i,t,n,i[Me],e)}return fe}function Cm(t,n,e,i,r){Fd(n,t,e,r?"class":"style",i)}function S(t,n,e,i){let r=$(),o=r[B],s=t+Fe,a=o.firstCreatePass?fC(s,r,2,n,zD,vp(),e,i):o.data[s];if(Hn(a)){let l=r[bn].tracingService;if(l&&l.componentCreate){let c=o.data[a.directiveStart+a.componentOffset];return l.componentCreate(yC(c),()=>(VE(t,n,r,a,i),S))}}return VE(t,n,r,a,i),S}function VE(t,n,e,i,r){if(WD(i,e,t,n,PC),la(i)){let o=e[B];Gm(o,e,i),vD(o,i,e)}r!=null&&Nd(e,i)}function O(){let t=je(),n=_t(),e=qD(n);return t.firstCreatePass&&hC(t,e),bp(e)&&_p(),gp(),e.classesWithoutHost!=null&&JM(e)&&Cm(t,e,$(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&eA(e)&&Cm(t,e,$(),e.stylesWithoutHost,!1),O}function le(t,n,e,i){return S(t,n,e,i),O(),le}function G(t,n,e,i){let r=$(),o=r[B],s=t+Fe,a=o.firstCreatePass?ER(s,o,2,n,e,i):o.data[s];return WD(a,r,t,n,PC),i!=null&&Nd(r,a),G}function Q(){let t=_t(),n=qD(t);return bp(n)&&_p(),gp(),Q}function et(t,n,e,i){return G(t,n,e,i),Q(),et}function qn(){return $()}function an(t,n,e){let i=$(),r=hi();if(Gt(i,r,n)){let o=je(),s=Vo();UD(s,i,t,n,i[Me],e)}return an}function rg(t,n,e){typeof n!="string"&&(e=n,n=t[_a.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),jE[n]=t,e&&(jE[n][_a.ExtraData]=e)}function LC(t){typeof t=="string"&&(fO=t.toLowerCase().replace(/_/g,"-"))}function be(t,n,e){let i=$(),r=je(),o=_t();return hO(r,i,i[Me],o,t,n,e),be}function Yi(t,n,e){let i=$(),r=je(),o=_t();return(o.type&3||e)&&gC(o,r,i,e,i[Me],t,n,dd(o,i,n)),Yi}function hO(t,n,e,i,r,o,s){let a=!0,l=null;if((i.type&3||s)&&(l??=dd(i,n,o),gC(i,t,n,s,e,r,o,l)&&(a=!1)),a){let c=i.outputs?.[r],d=i.hostDirectiveOutputs?.[r];if(d&&d.length)for(let f=0;f<d.length;f+=2){let p=d[f],m=d[f+1];l??=dd(i,n,o),RE(i,n,p,m,r,l)}if(c&&c.length)for(let f of c)l??=dd(i,n,o),RE(i,n,f,r,r,l)}}function W(t=1){return eE(t)}function pO(t,n){let e=null,i=tk(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?AD(t,o,!0):rk(i,o))return r}return e}function ln(t){let n=$()[St][Tt];if(!n.projection){let e=t?t.length:1,i=n.projection=T_(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let s=t?pO(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function Pe(t,n=0,e,i,r,o){let s=$(),a=je(),l=i?t+1:null;l!==null&&ba(s,a,l,i,r,o,null,e);let c=Xo(a,Fe+t,16,null,e||null);c.projection===null&&(c.projection=n),Cp();let f=!s[Tr]||yp();s[St][Tt].projection[c.projection]===null&&l!==null?mO(s,a,l):f&&!Id(c)&&Tk(a,s,c)}function mO(t,n,e){let i=Fe+e,r=n.data[i],o=t[i],s=yd(o,r.tView.ssrId),a=Ia(t,r,void 0,{dehydratedView:s});Ta(o,a,0,qo(r,s))}function $d(t,n,e,i){return wC(t,n,e,i),$d}function Pt(t,n,e){return CC(t,n,e),Pt}function Ae(t){let n=$(),e=je(),i=Kc();ca(i+1);let r=Qm(e,i);if(t.dirty&&P_(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=IC(n,i);t.reset(o,rD),t.notifyOnChanges()}return!0}return!1}function ke(){return Zm($(),Kc())}function zd(t,n,e,i,r){return SC(n,wC(t,e,i,r)),zd}function Gd(t,n,e,i){return SC(t,CC(n,e,i)),Gd}function Wd(t=1){ca(Kc()+t)}function es(t){let n=z_();return $c(n,Fe+t)}function od(t,n){return t<<17|n<<2}function Lr(t){return t>>17&32767}function gO(t){return(t&2)==2}function vO(t,n){return t&131071|n<<17}function wm(t){return t|2}function Ko(t){return(t&131068)>>2}function jp(t,n){return t&-131069|n<<2}function yO(t){return(t&1)===1}function xm(t){return t|1}function bO(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=Lr(s),l=Ko(s);t[i]=e;let c=!1,d;if(Array.isArray(e)){let f=e;d=f[1],(d===null||Ao(f,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let p=Lr(t[a+1]);t[i+1]=od(p,a),p!==0&&(t[p+1]=jp(t[p+1],i)),t[a+1]=vO(t[a+1],i)}else t[i+1]=od(a,0),a!==0&&(t[a+1]=jp(t[a+1],i)),a=i;else t[i+1]=od(l,0),a===0?a=i:t[l+1]=jp(t[l+1],i),l=i;c&&(t[i+1]=wm(t[i+1])),BE(t,d,i,!0),BE(t,d,i,!1),_O(n,d,t,i,o),s=od(a,l),o?n.classBindings=s:n.styleBindings=s}function _O(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&Ao(o,n)>=0&&(e[i+1]=xm(e[i+1]))}function BE(t,n,e,i){let r=t[e+1],o=n===null,s=i?Lr(r):Ko(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];EO(l,n)&&(a=!0,t[s+1]=i?xm(c):wm(c)),s=i?Lr(c):Ko(c)}a&&(t[e+1]=i?wm(r):xm(r))}function EO(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Ao(t,n)>=0:!1}function DO(t){return t.substring(Cn.key,Cn.keyEnd)}function CO(t){return wO(t),VC(t,jC(t,0,Cn.textEnd))}function VC(t,n){let e=Cn.textEnd;return e===n?-1:(n=Cn.keyEnd=xO(t,Cn.key=n,e),jC(t,n,e))}function wO(t){Cn.key=0,Cn.keyEnd=0,Cn.value=0,Cn.valueEnd=0,Cn.textEnd=t.length}function jC(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function xO(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function Ki(t,n,e){return BC(t,n,e,!1),Ki}function pe(t,n){return BC(t,n,null,!0),pe}function Aa(t){TO(OO,IO,t,!0)}function IO(t,n){for(let e=CO(n);e>=0;e=VC(n,e))Vc(t,DO(n),!0)}function BC(t,n,e,i){let r=$(),o=je(),s=qc(2);if(o.firstUpdatePass&&UC(o,t,s,i),n!==At&&Gt(r,s,n)){let a=o.data[En()];$C(o,a,r,r[Me],t,r[s+1]=FO(n,e),i,s)}}function TO(t,n,e,i){let r=je(),o=qc(2);r.firstUpdatePass&&UC(r,null,o,i);let s=$();if(e!==At&&Gt(s,o,e)){let a=r.data[En()];if(zC(a,i)&&!HC(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Oc(l,e||"")),Cm(r,a,s,e,i)}else NO(r,a,s,s[Me],s[o+1],s[o+1]=RO(t,n,e),i,o)}}function HC(t,n){return n>=t.expandoStartIndex}function UC(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[En()],s=HC(t,e);zC(o,i)&&n===null&&!s&&(n=!1),n=SO(r,o,n,i),bO(r,o,n,e,s,i)}}function SO(t,n,e,i){let r=Z_(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=Bp(null,t,n,e,i),e=Ea(e,n.attrs,i),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==r)if(e=Bp(r,t,n,e,i),o===null){let l=MO(t,n,i);l!==void 0&&Array.isArray(l)&&(l=Bp(null,t,n,l[1],i),l=Ea(l,n.attrs,i),AO(t,n,i,l))}else o=kO(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function MO(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Ko(i)!==0)return t[Lr(i)]}function AO(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[Lr(r)]=i}function kO(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;i=Ea(i,s,e)}return Ea(i,n.attrs,e)}function Bp(t,n,e,i,r){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;
vendor: 8,347 bytes, line 4
4for(a===-1?a=e.directiveStart:a++;a<s&&(o=n[a],i=Ea(i,o.hostAttrs,r),o!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function Ea(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?r=s:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Vc(t,s,e?!0:n[++o]))}return t===void 0?null:t}function RO(t,n,e){if(e==null||e==="")return bt;let i=[],r=on(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(r instanceof Set)for(let o of r)t(i,o,!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function OO(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&Vc(t,i,e)}function NO(t,n,e,i,r,o,s,a){r===At&&(r=bt);let l=0,c=0,d=0<r.length?r[0]:null,f=0<o.length?o[0]:null;for(;d!==null||f!==null;){let p=l<r.length?r[l+1]:void 0,m=c<o.length?o[c+1]:void 0,g=null,C;d===f?(l+=2,c+=2,p!==m&&(g=f,C=m)):f===null||d!==null&&d<f?(l+=2,g=d):(c+=2,g=f,C=m),g!==null&&$C(t,n,e,i,g,C,s,a),d=l<r.length?r[l]:null,f=c<o.length?o[c]:null}}function $C(t,n,e,i,r,o,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],d=yO(c)?HE(l,n,e,r,Ko(c),s):void 0;if(!wd(d)){wd(o)||gO(c)&&(o=HE(l,null,e,r,a,s));let f=dp(En(),e);Mk(i,s,f,r,o)}}function HE(t,n,e,i,r,o){let s=n===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,f=d===null,p=e[r+1];p===At&&(p=f?bt:void 0);let m=f?jc(p,i):d===i?p:void 0;if(c&&!wd(m)&&(m=jc(l,i)),wd(m)&&(a=m,s))return a;let g=t[r+1];r=s?Lr(g):Ko(g)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=jc(l,i))}return a}function wd(t){return t!==void 0}function FO(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Rc(on(t)))),t}function zC(t,n){return(t.flags&(n?8:16))!==0}function F(t,n=""){let e=$(),i=je(),r=t+Fe,o=i.firstCreatePass?Xo(i,r,1,n,null):i.data[r],s=PO(i,e,o,n);e[r]=s,Xc()&&$m(i,e,s,o),Lo(o,!1)}function LO(t,n,e,i=""){return Gt(t,hi(),e)?n+Li(e)+i:At}function GC(t,n,e,i,r,o=""){let s=G_(),a=mC(t,s,e,r);return qc(2),a?n+Li(e)+i+Li(r)+o:At}function se(t){return tt("",t),se}function tt(t,n,e){let i=$(),r=LO(i,t,n,e);return r!==At&&WC(i,En(),r),tt}function qd(t,n,e,i,r){let o=$(),s=GC(o,t,n,e,i,r);return s!==At&&WC(o,En(),s),qd}function WC(t,n,e){let i=dp(n,t);zA(t[Me],i,e)}function Lt(t){return Gt($(),hi(),t)?Li(t):At}function og(t,n,e,i,r=""){return GC($(),t,n,e,i,r)}function UE(t,n,e){let i=je();i.firstCreatePass&&qC(n,i.data,i.blueprint,Un(t),e)}function qC(t,n,e,i,r){if(t=ft(t),Array.isArray(t))for(let o=0;o<t.length;o++)qC(t[o],n,e,i,r);else{let o=je(),s=$(),a=_t(),l=Cr(t)?t:ft(t.provide),c=rp(t),d=a.providerIndexes&1048575,f=a.directiveStart,p=a.providerIndexes>>20;if(Cr(t)||!t.multi){let m=new Fr(c,r,de,null),g=Up(l,n,r?d:d+p,f);g===-1?(zp(md(a,s),o,l),Hp(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(m),s.push(m)):(e[g]=m,s[g]=m)}else{let m=Up(l,n,d+p,f),g=Up(l,n,d,d+p),C=m>=0&&e[m],I=g>=0&&e[g];if(r&&!I||!r&&!C){zp(md(a,s),o,l);let R=BO(r?jO:VO,e.length,r,i,c,t);!r&&I&&(e[g].providerFactory=R),Hp(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(R),s.push(R)}else{let R=YC(e[r?g:m],c,!r&&i);Hp(o,t,m>-1?m:g,R)}!r&&i&&I&&e[g].componentProviders++}}}function Hp(t,n,e,i){let r=Cr(n),o=k_(n);if(r||o){let l=(o?ft(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function YC(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Up(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function VO(t,n,e,i,r){return Im(this.multi,[])}function jO(t,n,e,i,r){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=pa(i,i[B],this.providerFactory.index,r);s=l.slice(0,a),Im(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],Im(o,s);return s}function Im(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function BO(t,n,e,i,r,o){let s=new Fr(t,e,de,null);return s.multi=[],s.index=n,s.componentProviders=0,YC(s,r,i&&!e),s}function pt(t,n){return e=>{e.providersResolver=(i,r)=>UE(i,r?r(t):t,!1),n&&(e.viewProvidersResolver=(i,r)=>UE(i,r?r(n):n,!0))}}function KC(t,n){let e=t[n];return e===At?void 0:e}function HO(t,n,e,i,r,o){let s=n+e;return Gt(t,s,r)?pC(t,s+1,o?i.call(o,r):i(r)):KC(t,s+1)}function UO(t,n,e,i,r,o,s){let a=n+e;return mC(t,a,r,o)?pC(t,a+2,s?i.call(s,r,o):i(r,o)):KC(t,a+2)}function M(t,n){let e=je(),i,r=t+Fe;e.firstCreatePass?(i=$O(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=Ri(i.type,!0)),s,a=It(de);try{let l=pd(!1),c=o();return pd(l),up(e,$(),r,c),c}finally{It(a)}}function $O(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function k(t,n,e){let i=t+Fe,r=$(),o=$c(r,i);return ZC(r,i)?HO(r,xp(),n,o.transform,e,o):o.transform(e)}function Yd(t,n,e,i){let r=t+Fe,o=$(),s=$c(o,r);return ZC(o,r)?UO(o,xp(),n,s.transform,e,i,s):s.transform(e,i)}function ZC(t,n){return t[B].data[n].pure}function ka(t,n){return Pd(t,n)}function XC(){return[{provide:Ht,useExisting:QC},{provide:T,useClass:na},{provide:Ho,useValue:!0}]}function zO(){return typeof $localize<"u"&&$localize.locale||Ma}var ud,ht,GE,dE,we,ve,zo,Fr,$p,oA,ZE,QE,sA,zn,Nr,K,gd,Sm,sD,pA,mE,qp,qi,vA,xd,mi,Ca,Vr,uD,fD,hD,pD,gE,bA,EA,wn,DA,CA,wA,nd,id,pi,Kp,Zp,Qp,Xp,Jp,em,tm,MA,bD,_D,ED,AA,kA,RA,yE,DD,OA,NA,FA,PA,nm,BA,HA,rd,MD,At,Md,Gn,uk,U8,rm,ua,Pr,Ad,In,wE,kd,Bm,Hm,ma,ND,Ik,TE,Rk,ZD,qk,Kk,Zk,Gi,xn,cR,dR,lC,Ld,am,Wn,Je,qe,cC,cd,lm,cm,dm,Yo,_d,kt,um,FR,PR,fm,hm,Ed,pm,mm,Wi,ya,WR,rO,eg,tg,ng,OC,sO,Ft,vm,Dd,bm,_m,Em,PC,jE,_a,Ma,fO,Cn,PO,QC,Zi,sg=h(()=>{da();Oh();ur();De();he();ud=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}},ht=(()=>{let t=()=>zE;return t.ngInherit=!0,t})();GE="__ngSimpleChanges__";dE=[],we=function(t,n=null,e){for(let i=0;i<dE.length;i++){let r=dE[i];r(t,n,e)}},ve=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(ve||{});zo=-1,Fr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};$p=!0;oA=256,ZE=oA-1,QE=5,sA=0,zn={};Nr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return tD(this._tNode,this._lView,n,Dr(i),e)}};K=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=fA}return t})();gd=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new w}constructor(n=!1){this._emitDistinctChangesOnly=n}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)}
4forEach(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=I_(n);(this._changesDetected=!x_(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.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=hA};Sm=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(Sm||{}),sD=new Map,pA=0;mE="__ngContext__";qi=new y("",{factory:()=>vA}),vA="ng",xd=new y(""),mi=new y("",{providedIn:"platform",factory:()=>"unknown"}),Ca=new y(""),Vr=new y("",{factory:()=>u(z).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),uD="r",fD="di",hD=!1,pD=new y("",{factory:()=>hD}),gE=new WeakMap;bA=(t,n,e,i)=>{};EA=()=>null;wn=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(wn||{}),DA="svg",CA="math",wA={"http://www.w3.org/2000/svg":DA,"http://www.w3.org/1998/Math/MathML":CA};pi=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${kc})`}},Kp=class extends pi{getTypeName(){return"HTML"}},Zp=class extends pi{getTypeName(){return"Style"}},Qp=class extends pi{getTypeName(){return"Script"}},Xp=class extends pi{getTypeName(){return"URL"}},Jp=class extends pi{getTypeName(){return"ResourceURL"}};em=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Td(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.f
vendor: 7,981 bytes, line 4
4irstChild?.remove(),e)}catch(e){return null}}},tm=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Td(n),e}};MA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;bD=vi("area,br,col,hr,img,wbr"),_D=vi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ED=vi("rp,rt"),AA=xa(ED,_D),kA=xa(_D,vi("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")),RA=xa(ED,vi("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")),yE=xa(bD,kA,RA,AA),DD=vi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),OA=vi("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"),NA=vi("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"),FA=xa(DD,OA,NA),PA=vi("script,style,template"),nm=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];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){r.push(e),e=jA(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=VA(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=bE(n).toLowerCase();if(!yE.hasOwnProperty(e))return this.sanitizedSomething=!0,!PA.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),s=o.name,a=s.toLowerCase();if(!FA.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;DD[a]&&(l=wa(l)),this.buf.push(" ",s,'="',_E(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=bE(n).toLowerCase();yE.hasOwnProperty(e)&&!bD.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(_E(n))}};BA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,HA=/([^\#-~ |!])/g;MD="ng-template";At={};Md=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(Md||{});Gn=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Gn||{});U8=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function",rm=new WeakMap,ua=new WeakSet;Pr=new Set,Ad=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Ad||{}),In=new y(""),wE=new Set;kd=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Bm=[0,1,2,3],Hm=(()=>{class t{ngZone=u(T);scheduler=u(Ht);errorHandler=u(Vn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(In,{optional:!0})}execute(){let e=this.sequences.size>0;e&&we(ve.AfterRenderHooksStart),this.executing=!0;for(let i of Bm)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&we(ve.AfterRenderHooksEnd)}register(e){let{view:i}=e;i!==void 0?((i[Ar]??=[]).push(e),Or(i),i[Y]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(Ad.AFTER_NEXT_RENDER,e):e()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),ma=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,s=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Ar];n&&(this.view[Ar]=n.filter(e=>e!==this))}};ND=new y("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:u(Ge)})});Ik=xk;Rk=()=>null;ZD=[];qk=X(D({},lr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Or(t.lView)},consumerOnSignalRead(){this.lView[Ut]=this}});Kk=X(D({},lr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Ni(t.lView);for(;n&&!QD(n[B]);)n=Ni(n);n&&Gc(n)},consumerOnSignalRead(){this.lView[Ut]=this}});Zk=100;Gi=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[B];return ga(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[We]}set context(n){this._lView[We]=n}get destroyed(){return Rr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ot];if(_n(n)){let e=n[aa],i=e?e.indexOf(this):-1;i>-1&&(va(n,i),oa(e,i))}this._attachedToViewContainer=!1}Rd(this._lView[B],this._lView)}onDestroy(n){hp(this._lView,n)}markForCheck(){qm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Y]&=-129}reattach(){Wc(this._lView),this._lView[Y]|=128}detectChanges(){this._lView[Y]|=1024,JD(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Fo(this._lView),e=this._lView[Bi];e!==null&&!n&&Um(e,this._lView),PD(this._lView[B],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=n;let e=Fo(this._lView),i=this._lView[Bi];i!==null&&!e&&sC(i,this._lView),Wc(this._lView)}};xn=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=iR;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let o=Ia(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new Gi(o)}}return t})();cR=()=>null,dR=()=>null;lC=class{},Ld=class{}
4,am=class{resolveComponentFactory(n){throw new A(917,!1)}},Wn=class{static NULL=new am},Je=class{},qe=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>uR()}return t})();cC=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>null})}return t})(),cd={},lm=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,cd,i);return r!==cd||e===cd?r:this.parentInjector.get(n,e,i)}};cm=Symbol("BINDING");dm=class extends Wn{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=Pi(n);return new Yo(e,this.ngModule)}};Yo=class extends Ld{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=wR(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=xR(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=sk(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,s){we(ve.DynamicComponentStart);let a=P(null);try{let l=this.componentDef,c=IR(l,r||this.ngModule,n),d=TR(c),f=d.tracingService;return f&&f.componentCreate?f.componentCreate(yC(l),()=>this.createComponentRef(d,c,e,i,o,s)):this.createComponentRef(d,c,e,i,o,s)}finally{P(a)}}createComponentRef(n,e,i,r,o,s){let a=this.componentDef,l=AR(r,a,s,o),c=n.rendererFactory.createRenderer(null,a),d=r?Ak(c,r,a.encapsulation,e):SR(a,c);MR(d?.tagName);let f=s?.some(OE)||o?.some(g=>typeof g!="function"&&g.bindings.some(OE)),p=Lm(null,l,null,512|kD(a),null,null,n,c,e,null,mD(d,e,!0));p[Fe]=d,Zc(p);let m=null;try{let g=fC(Fe,p,2,"#host",()=>l.directiveRegistry,!0,0);TD(c,d,g),Wo(d,p),Gm(l,p,g),vD(l,g,p),hC(l,g),i!==void 0&&RR(g,this.ngContentSelectors,i),m=en(g.index,p),p[We]=m[We],Wm(l,p,null)}catch(g){throw m!==null&&Wp(m),Wp(p),g}finally{we(ve.DynamicComponentEnd),Qc()}return new _d(this.componentType,p,!!f)}};_d=class extends lC{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=Uc(e[B],Fe),this.location=Zo(this._tNode,e),this.instance=en(this._tNode.index,e)[We],this.hostView=this.changeDetectorRef=new Gi(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=Fd(i,r[B],r,n,e);this.previousInputValues.set(n,e);let s=en(i.index,r);qm(s,1)}get injector(){return new Nr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};kt=(()=>{class t{static __NG_ELEMENT_ID__=OR}return t})();um=class t extends kt{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Zo(this._hostTNode,this._hostLView)}get injector(){return new Nr(this._hostTNode,this._hostLView)}get parentInjector(){let n=Tm(this._hostTNode,this._hostLView);if(KE(n)){let e=hd(n,this._hostLView),i=fd(n),r=e[B].data[i+8];return new Nr(r,e)}else return new Nr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=NE(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Ue}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=yd(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,qo(this._hostTNode,s)),a}createComponent(n,e,i,r,o,s,a){let l=n&&!qM(n),c;if(l)c=e;else{let I=e||{};c=I.index,i=I.injector,r=I.projectableNodes,o=I.environmentInjector||I.ngModuleRef,s=I.directives,a=I.bindings}let d=l?n:new Yo(Pi(n)),f=i||this.parentInjector;if(!o&&d.ngModule==null){let R=(l?f:this.parentInjector).get(Ge,null);R&&(o=R)}let p=Pi(d.componentType??{}),m=yd(this._lContainer,p?.id??null),g=m?.firstChild??null,C=d.create(f,r,g,o,s,a);return this.insertImpl(C.hostView,c,qo(this._hostTNode,m)),C}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(L_(r)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=r[ot],c=new t(l,l[Tt],l[ot]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return Ta(s,r,o,i),n.attachToViewContainerRef(),Jh(Pp(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=NE(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=va(this._lContainer,e);i&&(oa(Pp(this._lContainer),e),Rd(i[B],i))}detach(n){let e=this._adjustIndex(n,-1),i=va(this._lContainer,e);return i&&oa(Pp(this._lContainer),e)!=null?new Gi(i):null}_adjustIndex(n,e=0){return n??this.length+e}};FR=VR,PR=()=>!1;fm=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},hm=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let s=e.getByIndex(o),a=this.queries[s.indexInDeclarationView];
vendor: 3,389 bytes, line 4
4r.push(a.clone())}return new t(r)}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++)Qm(n,e).matches!==null&&this.queries[e].setDirty()}},Ed=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=$R(n):this.predicate=n}},pm=class t{queries;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 r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}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)}},mm=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,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 r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,jR(e,o)),this.matchTNodeWithReadOption(n,e,ld(e,n,o,!1,!1))}else i===xn?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,ld(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===K||r===kt||r===xn&&e.type&4)this.addMatch(e.index,-2);else{let o=ld(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};Wi=class{},ya=class extends Wi{injector;componentFactoryResolver=new dm(this);instance=null;constructor(n){super();let e=new wr([...n.providers,{provide:Wi,useValue:this},{provide:Wn,useValue:this.componentFactoryResolver}],n.parent||ko(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};WR=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=np(!1,e.type),r=i.length>0?MC([i],this._injector,""):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:t,providedIn:"environment",factory:()=>new t(b(Ge))})}return t})();
vendor: 6,353 bytes, line 4
4rO=oO;eg=new y("");tg=new y("");ng=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(tg,{optional:!0})??[];injector=u(j);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Ro(this.injector,r);if(Br(o))e.push(o);else if(Vd(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),OC=new y("");sO=10,Ft=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u($n);afterRenderManager=u(kd);zonelessEnabled=u(Ho);rootEffectScheduler=u(td);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new w;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=u(zi);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(x(e=>!e))}constructor(){u(In,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u(Ge);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=j.NULL){return this._injector.get(T).run(()=>{we(ve.BootstrapComponentStart);let s=e instanceof Ld;if(!this._injector.get(ng).done){let g="";throw new A(405,g)}let l;s?l=e:l=this._injector.get(Wn).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let c=FC(l)?void 0:this._injector.get(Wi),d=i||l.selector,f=l.create(r,[],d,c),p=f.location.nativeElement,m=f.injector.get(eg,null);return m?.registerApplication(p),f.onDestroy(()=>{this.detachView(f.hostView),ha(this.components,f),m?.unregisterApplication(p)}),this._loadComponent(f),we(ve.BootstrapComponentEnd,f),f})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){we(ve.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ad.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw we(ve.ChangeDetectionEnd),new A(101,!1);let e=P(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,P(e),this.afterTick.next(),we(ve.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Je,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<sO;){we(ve.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{we(ve.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!Po(r))continue;let o=i&&!this.zonelessEnabled?0:1;JD(r,o),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Po(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;ha(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(OC,[]).forEach(r=>r(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._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>ha(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new A(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();vm=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};Dd=class{kvMap=new Map;_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 r=this._vMap;for(;r.has(i);)i=r.get(i);r.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 r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};bm=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Ue}};_m=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};Em=class extends vm{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-Ue}at(n){return this.getLView(n)[We].$implicit}attach(n,e){let i=e[Tr];this.needsIndexUpdate||=n!==this.length,Ta(this.lContainer,e,n,qo(this.templateTNode,i)),lO(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,cO(this.lContainer,n),dO(this.lContainer,n)}create(n,e){let i=yd(this.lContainer,this.templateTNode.tView.ssrId);return Ia(this.hostLView,this.templateTNode,new bm(this.lContainer,e,n),{dehydratedView:i})}destroy(n){Rd(n[B],n)}updateValue(n,e){this.getLView(n)[We].$implicit=e}reset(){this.needsIndexUpdate=!1}
4updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[We].$index=n}getLView(n){return uO(this.lContainer,n)}};PC=(t,n,e,i,r)=>(Jc(!0),wD(n[Me],i,Sp()));jE=Object.create(null);_a=(function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t})(_a||{}),Ma="en-US",fO=Ma;Cn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};PO=(t,n,e,i)=>(Jc(!0),$A(n[Me],i));QC=(()=>{class t{applicationErrorHandler=u($n);appRef=u(Ft);taskService=u(zi);ngZone=u(T);zonelessEnabled=u(Ho);tracing=u(In,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ee;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ta):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(ed,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}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 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?rE:Ap;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.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ta+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.applicationErrorHandler(i)}finally{this.taskService.remove(e),this.cleanup()}}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 \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();Zi=new y("",{factory:()=>u(Zi,{optional:!0,skipSelf:!0})||zO()})});function mt(t){return h_(t)}function Re(t,n){return Vs(t,n?.equal)}var Kd=h(()=>{ur();p_();});
4function rw(t,n){let e=Object.create(lN);e.value=t,e.transformFn=n?.transform;function i(){if(cr(e),e.value===iw){let r=null;throw new A(-950,r)}return e.value}return i[nt]=e,i}function JC(t,n){return rw(t,n)}function cN(t){return rw(iw,t)}function ew(t,n){return Xm(n)}function dN(t,n){return Jm(n)}function tw(t,n){return Xm(n)}function uN(t,n){return Jm(n)}function pN({ngZoneFactory:t,scheduleInRootZone:n}){return t??=()=>new T(X(D({},aw()),{scheduleInRootZone:n})),[{provide:Ho,useValue:!1},{provide:T,useFactory:t},{provide:ji,multi:!0,useFactory:()=>{let e=u(fN,{optional:!0});return()=>e.initialize()}},{provide:ji,multi:!0,useFactory:()=>{let e=u(mN);return()=>{e.initialize()}}},{provide:ed,useValue:n??Mp}]}function sw(t){let n=t?.scheduleInRootZone,e=pN({ngZoneFactory:()=>{let i=aw(t);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&yi("NgZone_CoalesceEvent"),new T(i)},scheduleInRootZone:n});return jn([{provide:hN,useValue:!0},e])}function aw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function Ra(t){return!t.moduleRef}function vN(t){let n=Ra(t)?t.r3Injector:t.moduleRef.injector,e=n.get(T);return e.run(()=>{Ra(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get($n),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),Ra(t)){let o=()=>n.destroy(),s=t.platformInjector.get(lg);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(lg);s.add(o),t.moduleRef.onDestroy(()=>{ha(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(o)})}return bN(i,e,()=>{let o=n.get(zi),s=o.add(),a=n.get(ng);return a.runInitializers(),a.donePromise.then(()=>{let l=n.get(Zi,Ma);if(LC(l||Ma),!n.get(gN,!0))return Ra(t)?n.get(Ft):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Ra(t)){let d=n.get(Ft);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return yN?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(s)})})})}function bN(t,n,e){try{let i=e();return Br(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}function _N(t=[],n){return j.create({name:n,providers:[{provide:sa,useValue:"platform"},{provide:lg,useValue:new Set([()=>Zd=null])},...t]})}function EN(t=[]){if(Zd)return Zd;let n=_N(t);return Zd=n,NC(),DN(n),n}function DN(t){let n=t.get(xd,null);Ro(t,()=>{n?.forEach(e=>e())})}function wN(t){return xN(_t(),$(),(t&16)===16)}function xN(t,n,e){if(Hn(t)&&!e){let i=en(t.index,n);return new Gi(i,i)}else if(t.type&175){let i=n[St];return new Gi(i,n)}return null}function lw(t){let{rootComponent:n,appProviders:e,platformProviders:i,platformRef:r}=t;we(ve.BootstrapApplicationStart);try{let o=r?.injector??EN(i),s=[XC(),sE,...e||[]],a=new ya({providers:s,parent:o,debugName:"",runEnvironmentInitializers:!1});return vN({r3Injector:a.injector,platformInjector:o,rootComponent:n})}catch(o){return Promise.reject(o)}finally{we(ve.BootstrapApplicationEnd)}}function $e(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function dg(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function dw(t,n){let e=n?.injector??u(j),i=e.get(Ht),r=e.get(kd),o=e.get(In,null,{optional:!0});r.impl??=e.get(Hm);let s=t;typeof s=="function"&&(s={mixedReadWrite:t});let a=e.get(Bo,null,{optional:!0}),l=new cg(r.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,i,e,o?.snapshot(null));return r.impl.register(l),l}function Qd(t,n){let e=Pi(t),i=n.elementInjector||ko();return new Yo(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var iw,lN,qt,Oa,ow,fN,hN,mN,lg,gN,yN,Zd,CN,Q6,gt,ag,cw,IN,cg,_=h(()=>{sg();sg();da();da();Kd();Kd();De();ur();iw=Symbol("InputSignalNode#UNSET"),lN=X(D({},js),{transformFn:void 0,applyValueToInputSignal(t,n){co(t,n)}});qt=(JC.required=cN,JC);Oa=(ew.required=dN,ew);ow=(tw.required=uN,tw),fN=(()=>{class t{zone=u(T);changeDetectionScheduler=u(Ht);
4applicationRef=u(Ft);applicationErrorHandler=u($n);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hN=new y("",{factory:()=>!1});mN=(()=>{class t{subscription=new Ee;initialized=!1;zone=u(T);pendingTasks=u(zi);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(()=>{T.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{T.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),lg=new y(""),gN=new y("");Zd=null;CN=1e4,Q6=CN-1e3,gt=(()=>{class t{static __NG_ELEMENT_ID__=wN}return t})();ag=Symbol("NOT_SET"),cw=new Set,IN=X(D({},js),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ag,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==ag&&!ao(this))return this.signal;try{for(let r of this.cleanup??cw)r()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=Ii(this),i;try{i=this.userFn.apply(null,n)}finally{dr(this,e)}return(this.value===ag||!this.equal(this.value,i))&&(this.value=i,this.version++),this.signal}}),cg=class extends ma{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,e,i,r,o,s=null){super(n,[void 0,void 0,void 0,void 0],i,!1,o.get(Mt),s),this.scheduler=r;for(let a of Bm){let l=e[a];if(l===void 0)continue;let c=Object.create(IN);c.sequence=this,c.phase=a,c.userFn=l,c.dirty=!0,c.signal=()=>(cr(c),c.value),c.signal[nt]=c,c.registerCleanupFn=d=>(c.cleanup??=new Set).add(d),this.nodes[a]=c,this.hooks[a]=d=>c.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??cw)e()}finally{Ti(n)}}}});function SN(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function MN(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function AN(t,n){if(!ug){let e=Element.prototype;ug=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?ug.call(t,n):!1}function kN(t){let n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[SN(i)]=[e,r]}),n}function RN(t,n){return n.get(Wn).resolveComponentFactory(t).inputs}function ON(t,n){let e=t.childNodes,i=n.map(()=>[]),r=-1;n.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=e.length;o<s;++o){let a=e[o],l=NN(a,n,r);l!==-1&&i[l].push(a)}return i}function NN(t,n,e){let i=e;return MN(t)&&n.some((r,o)=>r!=="*"&&AN(t,r)?(i=o,!0):!1),i}function uw(t,n){let e=RN(t,n.injector),i=n.strategyFactory||new fg(t,n.injector),r=kN(e);class o extends pg{injector;static observedAttributes=Object.keys(r);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 d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}_ngElementStrategy;
4constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){let[f,p]=r[a];this.ngElementStrategy.setInputValue(f,c,p)}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,isSignal:l})=>{Object.defineProperty(o.prototype,s,{get(){let c=this.ngElementStrategy.getInputValue(s);return l&&Jo(c)?c():c},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),o}var TN,ug,FN,fg,hg,pg,fw=h(()=>{_();De();he();TN={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)}};FN=10,fg=class{componentFactory;inputMap=new Map;constructor(n,e){this.componentFactory=e.get(Wn).resolveComponentFactory(n);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new hg(this.componentFactory,n,this.inputMap)}},hg=class{componentFactory;injector;inputMap;eventEmitters=new rt(1);events=this.eventEmitters.pipe(Te(n=>ai(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,e,i){this.componentFactory=n,this.injector=e,this.inputMap=i,this.ngZone=this.injector.get(T),this.appRef=this.injector.get(Ft),this.cdScheduler=e.get(Ht),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=TN.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},FN))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e){if(this.componentRef===null){this.initialInputValues.set(n,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,e),Ym(this.componentRef.hostView)&&(Km(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(n){let e=j.create({providers:[],parent:this.injector}),i=ON(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[n,e]of this.initialInputValues)this.setInputValue(n,e);this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=n.instance[i];return new J(s=>{let a=o.subscribe(l=>s.next({name:r,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(e)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},pg=class extends HTMLElement{ngElementEventsSubscription=null}});function cn(){return hw}function mg(t){hw??=t}var hw,Na,ts,pw,Xd=h(()=>{_();_();hw=null;Na=class{},ts=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(pw),providedIn:"platform"})}return t})(),pw=(()=>{class t extends ts{_location;_history;_doc=u(z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return cn().getBaseHref(this._doc)}onPopState(e){let i=cn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=cn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>new t,providedIn:"platform"})}return t})()});function vw(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function mw(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Qi(t){return t&&t[0]!=="?"?`?${t}`:t}function VN(){return new eu(b(Jd))}function jN(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function gw(t){return t.replace(/\/index\.html$/,"")}function BN(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Jd,PN,LN,eu,yw=h(()=>{_();_();De();Xd();Jd=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(LN),providedIn:"root"})}return t})(),PN=new y(""),LN=(()=>{class t extends Jd{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
vendor: 4,997 bytes, line 4
4HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return vw(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Qi(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Qi(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Qi(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(b(ts),b(PN,8))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),eu=(()=>{class t{_subject=new w;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=BN(mw(gw(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Qi(i))}normalize(e){return t.stripTrailingSlash(jN(this._basePath,gw(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qi(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qi(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Qi;static joinWithSlash=vw;static stripTrailingSlash=mw;static \u0275fac=function(i){return new(i||t)(b(Jd))};static \u0275prov=v({token:t,factory:()=>VN(),providedIn:"root"})}return t})()});function UN(t,n){return new A(2100,!1)}var yg,gg,vg,$N,zN,tu,bw=h(()=>{_();_();yg=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=u(j);constructor(e){this._viewContainerRef=e}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 r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(de(kt))};static \u0275dir=ee({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ht]})}return t})();gg=class{createSubscription(n,e,i){return mt(()=>n.subscribe({next:e,error:i}))}dispose(n){mt(()=>n.unsubscribe())}},vg=class{createSubscription(n,e,i){return n.then(r=>e?.(r),r=>i?.(r)),{unsubscribe:()=>{e=null,i=null}}}dispose(n){n.unsubscribe()}},$N=new vg,zN=new gg,tu=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=u($n);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i),i=>this.applicationErrorHandler(i))}_selectStrategy(e){if(Br(e))return $N;if(Vd(e))return zN;throw UN(t,e)}
4_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(i){return new(i||t)(de(gt,16))};static \u0275pipe=bi({name:"async",type:t,pure:!1})}return t})()});function Fa(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var Hr,bg=h(()=>{Hr=class{}});function _g(t,n,e){return rg(t,n,e)}function _i(t){return t===Eg}var Eg,Tn=h(()=>{yw();bw();Xd();_();_();bg();Eg="browser"});function _w(t){for(let n of t)n.remove()}function Ew(t,n){let e=n.createElement("style");return e.textContent=t,e}function qN(t,n,e,i){let r=t.head?.querySelectorAll(`style[${Dg}="${n}"],link[${Dg}="${n}"]`);if(r)for(let o of r)o.removeAttribute(Dg),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function wg(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}function XN(t){return KN.replace(Tg,t)}function JN(t){return YN.replace(Tg,t)}function ww(t,n){return n.map(e=>e.replace(Tg,t))}function Dw(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Pa,nu,ou,xg,Dg,Ig,Cg,Tg,Cw,YN,KN,ZN,QN,Sg,La,iu,Va,ru,xw=h(()=>{Tn();_();_();Pa=class{_doc;constructor(n){this._doc=n}manager},nu=(()=>{class t extends Pa{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(b(z))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),ou=new y(""),xg=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(s=>{s.manager=this});let r=e.filter(s=>!(s instanceof nu));this._plugins=r.slice().reverse();let o=e.find(s=>s instanceof nu);o&&this._plugins.push(o)}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new A(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(b(ou),b(T))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Dg="ng-app-id";Ig=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,qN(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,Ew);i?.forEach(r=>this.addUsage(r,this.external,wg))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(_w(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])_w(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,Ew(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,wg(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(b(z),b(qi),b(Vr,8),b(mi))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Cg={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"},Tg=/%COMP%/g,Cw="%COMP%",YN=`_nghost-${Cw}`,KN=`_ngcontent-${Cw}`,ZN=!0,QN=new y("",{factory:()=>ZN});Sg=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,i,r,o,s,a,l=null,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=l,this.tracingService=c,this.defaultRenderer=new La(e,s,a,this.tracingService)}
vendor: 3,834 bytes, line 4
4createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof ru?r.applyToHost(e):r instanceof Va&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.tracingService;switch(i.encapsulation){case wn.Emulated:o=new ru(l,c,i,this.appId,d,s,a,f);break;case wn.ShadowDom:return new iu(l,e,i,s,a,this.nonce,f,c);case wn.ExperimentalIsolatedShadowDom:return new iu(l,e,i,s,a,this.nonce,f);default:o=new Va(l,c,i,d,s,a,f);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(b(xg),b(Ig),b(qi),b(QN),b(z),b(T),b(Vr),b(In,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),La=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r){this.eventManager=n,this.doc=e,this.ngZone=i,this.tracingService=r}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Cg[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Dw(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(Dw(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 A(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=Cg[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=Cg[i];r?n.removeAttributeNS(r,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,r){r&(Gn.DashCase|Gn.Important)?n.style.setProperty(e,i,r&Gn.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Gn.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,r){if(typeof n=="string"&&(n=cn().getGlobalEventTarget(this.doc,n),!n))throw new A(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};iu=class extends La{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,i,r,o,s,a,l){super(n,r,o,a),this.hostEl=e,this.sharedStylesHost=l,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let c=i.styles;c=ww(i.id,c);for(let f of c){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=f,this.shadowRoot.appendChild(p)}let d=i.getExternalStyles?.();if(d)for(let f of d){let p=wg(f,r);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}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&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Va=class extends La{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let c=i.styles;this.styles=l?ww(l,c):c,this.styleUrls=i.getExternalStyles?.(l)}
4applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Pr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ru=class extends Va{contentAttr;hostAttr;constructor(n,e,i,r,o,s,a,l){let c=r+"-"+i.id;super(n,e,i,o,s,a,l,c),this.contentAttr=XN(c),this.hostAttr=JN(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}}});function eF(){return ja=ja||document.head.querySelector("base"),ja?ja.getAttribute("href"):null}function tF(t){return new URL(t,document.baseURI).pathname}function Mg(t,n){return dt(this,null,function*(){return lw(oF(t,n))})}function oF(t,n){return{platformRef:n?.platformRef,appProviders:[...dF,...t?.providers??[]],platformProviders:cF}}function sF(){su.makeCurrent()}function aF(){return new Vn}function lF(){return Mm(document),document}var su,ja,nF,Iw,iF,rF,Tw,cF,dF,Sw=h(()=>{Tn();_();_();xw();su=class t extends Na{supportsDOMEvents=!0;static makeCurrent(){mg(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}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=eF();return e==null?null:tF(e)}resetBaseElement(){ja=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Fa(document.cookie,n)}},ja=null;nF=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Iw=["alt","control","meta","shift"],iF={"\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"},rF={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Tw=(()=>{class t extends Pa{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let s=t.parseEventName(i),a=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>cn().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Iw.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=iF[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Iw.forEach(s=>{if(s!==r){let a=rF[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(b(z))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();cF=[{provide:mi,useValue:Eg},{provide:xd,useValue:sF,multi:!0},{provide:z,useFactory:lF}],dF=[{provide:sa,useValue:"root"},{provide:Vn,useFactory:aF},{provide:ou,useClass:nu,multi:!0},{provide:ou,useClass:Tw,multi:!0},Sg,Ig,xg,{provide:Je,useExisting:Sg},{provide:Hr,useClass:nF},[]]});function uF(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}function Mw(t){return encodeURIComponent(t).replace(fF,(n,e)=>hF[e]??n)}function au(t){return`${t}`}function pF(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Aw(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function kw(t){return typeof Blob<"u"&&t instanceof Blob}function Rw(t){return typeof FormData<"u"&&t instanceof FormData}function mF(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function jw(t,n){if(!u(EF)||t.method==="GET"||t.method==="HEAD")return n(t);try{let r=u(ts).href,{origin:o}=new URL(r),{origin:s}=new URL(t.url,o);if(o!==s)return n(t)}catch(r){return n(t)}let e=u(Vw).getToken(),i=u(xF);return e!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,e)})),n(t)}function Bw(t,n){return n(t)}function TF(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)})}
4function SF(t,n,e){return(i,r)=>Ro(e,()=>n(i,o=>t(o,r)))}function MF(){let t=null;return(n,e)=>{t===null&&(t=(u(Ei,{optional:!0})??[]).reduceRight(TF,Bw));let i=u(Uo);if(u(Og)){let o=i.add();return t(n,e).pipe(Io(o))}else return t(n,e)}}function Ag(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,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}function AF(t,n){return{\u0275kind:t,\u0275providers:n}}function Fg(...t){let n=[Yn,uu,{provide:fu,useExisting:uu},{provide:Ba,useFactory:()=>u(bF,{optional:!0})??u(kg)},{provide:Rg,useValue:jw,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return jn(n)}function Pg(){return AF(Ng.LegacyInterceptors,[{provide:Fw,useFactory:MF},{provide:Rg,useExisting:Fw,multi:!0}])}var dn,lu,cu,fF,hF,Sn,Ow,Nw,Pw,Lw,gF,Xi,Ur,is,du,ce,ns,vF,yF,bF,_F,kg,EF,DF,CF,wF,xF,IF,Vw,Ei,Rg,Hw,Og,Ba,uu,fu,Yn,Ng,Fw,Lg=h(()=>{_();_();he();bg();Xd();De();dn=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` 5`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEac
vendor: 5,978 bytes, line 5
5h((e,i)=>{this.addHeaderEntry(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();for(let[e,i]of n.headers.entries())this.headers.set(e,i),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 r=n.op==="a"?(this.headers.get(e)||[]).slice():[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=Array.isArray(o)?o:[o],a=this.headers.get(e);if(!a)return;a=a.filter(l=>s.indexOf(l)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}},lu=class{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()}},cu=class{encodeKey(n){return Mw(n)}encodeValue(n){return Mw(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};fF=/%(\d[a-f0-9])/gi,hF={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};Sn=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new cu,n.fromString){if(n.fromObject)throw new A(2805,!1);this.map=uF(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(au):[au(i)];this.map.set(e,r)})):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 r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,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(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=n.op==="a"?(this.map.get(n.param)||[]).slice():[];e.push(au(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=(this.map.get(n.param)||[]).slice(),r=i.indexOf(au(n.value));r!==-1&&i.splice(r,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}}};Ow="Content-Type",Nw="Accept",Pw="text/plain",Lw="application/json",gF=`${Lw}, ${Pw}, */*`,Xi=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(pF(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new A(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new dn,this.context??=new lu,!this.params)this.params=new Sn,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=="str
5ing"||Aw(this.body)||kw(this.body)||Rw(this.body)||mF(this.body)?this.body:this.body instanceof Sn?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||Rw(this.body)?null:kw(this.body)?this.body.type||null:Aw(this.body)?null:typeof this.body=="string"?Pw:this.body instanceof Sn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Lw:null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,l=n.mode||this.mode,c=n.redirect||this.redirect,d=n.credentials||this.credentials,f=n.referrer??this.referrer,p=n.integrity||this.integrity,m=n.referrerPolicy||this.referrerPolicy,g=n.transferCache??this.transferCache,C=n.timeout??this.timeout,I=n.body!==void 0?n.body:this.body,R=n.withCredentials??this.withCredentials,xe=n.reportProgress??this.reportProgress,Dt=n.headers||this.headers,Ke=n.params||this.params,ri=n.context??this.context;return n.setHeaders!==void 0&&(Dt=Object.keys(n.setHeaders).reduce((pn,ar)=>pn.set(ar,n.setHeaders[ar]),Dt)),n.setParams&&(Ke=Object.keys(n.setParams).reduce((pn,ar)=>pn.set(ar,n.setParams[ar]),Ke)),new t(e,i,I,{params:Ke,headers:Dt,context:ri,reportProgress:xe,responseType:r,withCredentials:R,transferCache:g,keepalive:o,cache:a,priority:s,timeout:C,mode:l,redirect:c,credentials:d,referrer:f,integrity:p,referrerPolicy:m})}},Ur=(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})(Ur||{}),is=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,i="OK"){this.headers=n.headers||new dn,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},du=class t extends is{constructor(n={}){super(n)}type=Ur.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})}},ce=class t extends is{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Ur.Response;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,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},ns=class extends is{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),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}},vF=200,yF=204,bF=new y(""),_F=/^\)\]\}',?\n/,kg=(()=>{class t{xhrFactory;tracingService=u(In,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new A(-2800,!1);let i=this.xhrFactory;return Z(null).pipe(Te(()=>new J(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((I,R)=>s.setRequestHeader(I,R.join(","))),e.headers.has(Nw)||s.setRequestHeader(Nw,gF),!e.headers.has(Ow)){let I=e.detectContentTypeHeader();I!==null&&s.setRequestHeader(Ow,I)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let I=e.responseType.toLowerCase();s.responseType=I!=="json"?I:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let I=s.statusText||"OK",R=new dn(s.getAllResponseHeaders()),xe=s.responseURL||e.url;return l=new du({headers:R,status:s.status,statusText:I,url:xe}),l},d=this.maybePropagateTrace(()=>{let{headers:I,status:R,statusText:xe,url:Dt}=c(),Ke=null;R!==yF&&(Ke=typeof s.response>"u"?s.responseText:s.response),R===0&&(R=Ke?vF:0);let ri=R>=200&&R<300;if(e.responseType==="json"&&typeof Ke=="string"){let pn=Ke;Ke=Ke.replace(_F,"");try{Ke=Ke!==""?JSON.parse(Ke):null}catch(ar){Ke=pn,ri&&(ri=!1,Ke={error:ar,text:Ke})}}ri?(o.next(new ce({body:Ke,headers:I,status:R,statusText:xe,url:Dt||void 0})),o.complete()):o.error(new ns({error:Ke,headers:I,status:R,statusText:xe,url:Dt||void 0}))}),f=this.maybePropagateTrace(I=>{let{url:R}=c(),xe=new ns({error:I,status:s.status||0,statusText:s.statusText||"Unknown Error",url:R||void 0});o.error(xe)}),p=f;e.timeout&&(p=this.maybePropagateTrace(I=>{let{url:R}=c(),xe=new ns({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:R||void 0});o.error(xe)}));let m=!1,g=this.maybePropagateTrace(I=>{m||(o.next(c()),m=!0);let R={type:Ur.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(R.total=I.total),e.responseType==="text"&&s.responseText&&(R.partialText=s.responseText),o.next(R)}),C=this.maybePropagateTrace(I=>{let R={type:Ur.UploadProgress,loaded:I.loaded};I.lengthComputable&&(R.total=I.total),o.next(R)});return s.addEventListener("load",d),s.addEventListener("error",f),s.addEventListener("timeout",p),s.addEventListener("abort",f),e.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",C)),s.send(a),o.next({type:Ur.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",d),s.removeEventListener("timeout",p),e.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",C)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||t)(b(Hr))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),EF=new y("",{factory:()=>!0}),DF="XSRF-TOKEN",CF=new y("",{factory:()=>DF}),wF="X-XSRF-TOKEN",xF=new y("",{factory:()=>wF}),IF=(()=>{class t{cookieName=u(CF);doc=u(z);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Fa(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vw=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=b(IF),r},providedIn:"root"})}return t})();Ei=new y(""),Rg=new y("",{factory:()=>[jw]}),Hw=new y(""),Og=new y("",{factory:()=>!0});Ba=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=b(kg),r},providedIn:"root"})}return t})(),uu=(()=>{class t{backend;injector;chain=null;pendingTasks=u(Uo);contributeToStability=u(Og);constructor(e,i){this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=this.injector.get(fu,null,{skipSelf:!0}),r=i!==null&&this.backend===i,o=this.injector.get(Hw,[],r?{self:!0}
5:void 0),s=Array.from(new Set([...this.injector.get(Rg),...o]));this.chain=s.reduceRight((a,l)=>SF(a,l,this.injector),Bw)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Io(i))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(b(Ba),b(Ge))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fu=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=b(uu),r},providedIn:"root"})}return t})();Yn=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Xi)o=e;else{let l;r.headers instanceof dn?l=r.headers:l=new dn(r.headers);let c;r.params&&(r.params instanceof Sn?c=r.params:c=new Sn({fromObject:r.params})),o=new Xi(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let s=Z(o).pipe(qs(l=>this.handler.handle(l)));if(e instanceof Xi||r.observe==="events")return s;let a=s.pipe(L(l=>l instanceof ce));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(x(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new A(2806,!1);return l.body}));case"blob":return a.pipe(x(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new A(2807,!1);return l.body}));case"text":return a.pipe(x(l=>{if(l.body!==null&&typeof l.body!="string")throw new A(2808,!1);return l.body}));default:return a.pipe(x(l=>l.body))}case"response":return a;default:throw new A(2809,!1)}}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 Sn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Ag(r,i))}post(e,i,r={}){return this.request("POST",e,Ag(r,i))}put(e,i,r={}){return this.request("PUT",e,Ag(r,i))}static \u0275fac=function(i){return new(i||t)(b(fu))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ng=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(Ng||{});Fw=new y("")});var Le=h(()=>{Lg();Lg();});var Ji,kF,Ha=h(()=>{Sw();Tn();_();_();Ji=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=b(kF),r},providedIn:"root"})}return t})(),kF=(()=>{class t extends Ji{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case Se.NONE:return i;case Se.HTML:return gi(i,"HTML")?on(i):Sd(this._doc,String(i)).toString();case Se.STYLE:return gi(i,"Style")?on(i):i;case Se.SCRIPT:if(gi(i,"Script"))return on(i);throw new A(5200,!1);case Se.URL:return gi(i,"URL")?on(i):wa(String(i));case Se.RESOURCE_URL:if(gi(i,"ResourceURL"))return on(i);throw new A(5201,!1);default:throw new A(5202,!1)}}bypassSecurityTrustHtml(e){return Am(e)}bypassSecurityTrustStyle(e){return km(e)}bypassSecurityTrustScript(e){return Rm(e)}bypassSecurityTrustUrl(e){return Om(e)}bypassSecurityTrustResourceUrl(e){return Nm(e)}static \u0275fac=function(i){return new(i||t)(b(z))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var Vg,Ce,Kn=h(()=>{_();_();Tn();try{Vg=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){Vg=!1}Ce=(()=>{class t{_platformId=u(mi);isBrowser=this._platformId?_i(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);
5TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Vg)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function $w(){if(jg==null){let t=typeof document<"u"?document.head:null;jg=!!(t&&(t.createShadowRoot||t.attachShadow))}return jg}function Bg(t){if($w()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Ua(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Vt(t){return t.composedPath?t.composedPath()[0]:t.target}var jg,$a=h(()=>{});function Hg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var zw=h(()=>{});var hu,Rt,rs=h(()=>{_();_();hu=new WeakMap,Rt=(()=>{class t{_appRef;_injector=u(j);_environmentInjector=u(Ge);load(e){let i=this._appRef=this._appRef||this._injector.get(Ft),r=hu.get(i);r||(r={loaders:new Set,refs:[]},hu.set(i,r),i.onDestroy(()=>{hu.get(i)?.refs.forEach(o=>o.destroy()),hu.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Qd(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function Ye(t){return t==null?"":typeof t=="string"?t:`${t}px`}var Gw=h(()=>{});function Ug(t){return Array.isArray(t)?t:[t]}var Ww=h(()=>{});function Mn(t,n=0){return qw(t)?Number(t):arguments.length===2?n:0}function qw(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Yt(t){return t instanceof K?t.nativeElement:t}var za=h(()=>{_()});function Yw(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?NF.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var OF,NF,Zn,pu=h(()=>{_();_();OF=new y("cdk-dir-doc",{providedIn:"root",factory:()=>u(z)}),NF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;Zn=(()=>{class t{get value(){return this.valueSignal()}valueSignal=st("ltr");change=new me;constructor(){let e=u(OF,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(Yw(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function Kw(){if($r==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return $r=!1,$r;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)$r=!0;else{let t=Element.prototype.scrollTo;t?$r=!/\{\s*\[native code\]\s*\}/.test(t.toString()):$r=!1}}return $r}var $r,Zw=h(()=>{});var er,zr=h(()=>{_();pu();er=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ue({type:t});static \u0275inj=ae({})}return t})()});var FF,os,PF,ss,$g=h(()=>{_();_();De();he();Kn();za();FF=20,os=(()=>{class t{_ngZone=u(T);_platform=u(Ce);_renderer=u(Je).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new w;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=FF){return this._platform.isBrowser?new J(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Co(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Z()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEac
5h((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(L(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=Yt(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),PF=20,ss=(()=>{class t{_platform=u(Ce);_listeners;_viewportSize=null;_change=new w;_document=u(z);constructor(){let e=u(T),i=u(Je).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body?.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body?.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=PF){return e>0?this._change.pipe(Co(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var zg,Ot,mu=h(()=>{_();_();zg={}
5,Ot=class t{_appId=u(qi);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),zg.hasOwnProperty(n)||(zg[n]=0),`${n}${e?t._infix+"-":""}${zg[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}});var Ga,tr,as,Gg,ls,gu,Wa,qa=h(()=>{_();_();Ga=class{_attachedHost=null;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},tr=class extends Ga{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,e,i,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r,this.bindings=o||null}},as=class extends Ga{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Gg=class extends Ga{element;constructor(n){super(),this.element=n instanceof K?n.nativeElement:n}},ls=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof tr)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof as)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Gg)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},gu=class extends ls{outletElement;_appRef;_defaultInjector;constructor(n,e,i){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=i}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(Wi,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||j.NULL,o=r.get(Ge,i.injector);e=Qd(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},Wa=(()=>{class t extends ls{_moduleRef=u(Wi,{optional:!0});_document=u(z);_viewContainerRef=u(kt);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new me;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;
5return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Be]})}return t})()});function cs(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var vu=h(()=>{});function fs(t){return new yu(t.get(ss),t.get(z))}function o0(t,n){return new bu(t.get(os),t.get(T),t.get(ss),n)}function Wg(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,s=t.left>e.right;return i||r||o||s})}function Xw(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,s=t.right>e.right;return i||r||o||s})}function wu(t,n){return new _u(t.get(os),t.get(ss),t.get(T),n)}function Jw(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}function Yg(t){return t&&t.nodeType===1}function Iu(t,n){return new Du(n,t.get(ss),t.get(z),t.get(Ce),t.get(xu))}function Gr(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function t0(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(LF);return!e||e==="px"?parseFloat(n):null}return t||null}function n0(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function VF(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}function hs(t){return new Cu}function ps(t,n){t.get(Rt).load(d0);let e=t.get(xu),i=t.get(z),r=t.get(Ot),o=t.get(Ft),s=t.get(Zn),a=t.get(qe,null,{optional:!0})||t.get(Je).createRenderer(null,null),l=new ds(n),c=t.get(f0,null,{optional:!0})?.usePopover??!0;l.direction=l.direction||s.value,"showPopover"in i.body?l.usePopover=n?.usePopover??c:l.usePopover=!1;let d=i.createElement("div"),f=i.createElement("div");d.id=r.getId("cdk-overlay-"),d.classList.add("cdk-overlay-pane"),f.appendChild(d),l.usePopover&&(f.setAttribute("popover","manual"),f.classList.add("cdk-overlay-popover"));let p=l.usePopover?l.positionStrategy?.getPopoverInsertionPoint?.():null;return Yg(p)?p.after(f):p?.type==="parent"?p.element.appendChild(f):e.getContainerElement().appendChild(f),new us(new gu(d,o,t),f,d,l,t.get(T),t.get(l0),i,t.get(eu),t.get(c0),n?.disableAnimations??t.get(Ca,null,{optional:!0})==="NoopAnimations",t.get(Ge),a)}var Qw,yu,bu,Ya,_u,s0,ds,Eu,a0,l0,c0,d0,xu,qg,us,e0,LF,Du,i0,Cu,u0,f0,Kg,Zg=h(()=>{_();_();Tn();Kn();$a();zw();rs();De();Gw();Ww();$g();Zw();he();mu();pu();qa();Qw=Kw();yu=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ye(-this._previousScrollPosition.left),n.style.top=Ye(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Qw&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Qw&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};bu=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler
5=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(L(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},Ya=class{enable(){}disable(){}attach(){}};_u=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Wg(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},s0=(()=>{class t{_injector=u(j);constructor(){}noop=()=>new Ya;close=e=>o0(this._injector,e);block=()=>fs(this._injector);reposition=e=>wu(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ds=class{positionStrategy;scrollStrategy=new Ya;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}},Eu=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}},a0=(()=>{class t{_attachedOverlays=[];_document=u(z);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,i,r){return r.observers.length<1?!1:e.eventPredicate?e.eventPredicate(i):!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),l0=(()=>{class t extends a0{_ngZone=u(T);_renderer=u(Je).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--){let o=i[r];if(this.canReceiveEvent(o,e,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=ct(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),c0=(()=>{class t extends a0{_platform=u(Ce);_ngZone=u(T);_renderer=u(Je).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}
5detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Vt(e)};_clickListener=e=>{let i=Vt(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s],l=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,e,l))){if(Jw(a.overlayElement,i)||Jw(a.overlayElement,r))break;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=ct(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();d0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper { 6 pointer-events: none; 7 top: 0; 8 left: 0; 9 height: 100%; 10 width: 100%; 11} 12 13.cdk-overlay-container { 14 position: fixed; 15} 16@layer cdk-overlay { 17 .cdk-overlay-container { 18 z-index: 1000; 19 } 20} 21.cdk-overlay-container:empty { 22 display: none; 23} 24 25.cdk-global-overlay-wrapper { 26 display: flex; 27 position: absolute; 28} 29@layer cdk-overlay { 30 .cdk-global-overlay-wrapper { 31 z-index: 1000; 32 } 33} 34 35.cdk-overlay-pane { 36 position: absolute; 37 pointer-events: auto; 38 box-sizing: border-box; 39 display: flex; 40 max-width: 100%; 41 max-height: 100%; 42} 43@layer cdk-overlay { 44 .cdk-overlay-pane { 45 z-index: 1000; 46 } 47} 48 49.cdk-overlay-backdrop { 50 position: absolute; 51 top: 0; 52 bottom: 0; 53 left: 0; 54 right: 0; 55 pointer-events: auto; 56 -webkit-tap-highlight-color: transparent; 57 opacity: 0; 58 touch-action: manipulation; 59} 60@layer cdk-overlay { 61 .cdk-overlay-backdrop { 62 z-index: 1000; 63 transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1); 64 } 65} 66@media (prefers-reduced-motion) { 67 .cdk-overlay-backdrop { 68 transition-duration: 1ms; 69 } 70} 71 72.cdk-overlay-backdrop-showing { 73 opacity: 1; 74} 75@media (forced-colors: active) { 76 .cdk-overlay-backdrop-showing { 77 opacity: 0.6; 78 } 79} 80 81@layer cdk-overlay { 82 .cdk-overlay-dark-backdrop { 83 background: rgba(0, 0, 0, 0.32); 84 } 85} 86 87.cdk-overlay-transparent-backdrop { 88 transition: visibility 1ms linear, opacity 1ms linear; 89 visibility: hidden; 90 opacity: 1; 91} 92.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop { 93 opacity: 0; 94 visibility: visible; 95} 96 97.cdk-overlay-backdrop-noop-animation { 98 transition: none; 99} 100 101.cdk-overlay-connected-position-bounding-box { 102 position: absolute; 103 display: flex; 104 flex-direction: column; 105 min-width: 1px; 106 min-height: 1px; 107} 108@layer cdk-overlay { 109 .cdk-overlay-connected-position-bounding-box { 110 z-index: 1000; 111 } 112} 113 114.cdk-global-scrollblock { 115 position: fixed; 116 width: 100%; 117 overflow-y: scroll; 118} 119 120.cdk-overlay-popover { 121 background: none; 122 border: none; 123 padding: 0; 124 outline: 0; 125 overflow: visible; 126 position: fixed; 127 pointer-events: none; 128 white-space: normal; 129 color: inherit; 130 text-decoration: none; 131 width: 100%; 132 height: 100%; 133 inset: auto; 134 top: 0; 135 left: 0; 136} 137.cdk-overlay-popover::backdrop { 138 display: none; 139} 140.cdk-overlay-popover .cdk-overlay-backdrop { 141 position: fixed; 142 z-index: auto; 143} 144`],encapsulation:2,changeDetection:0})}return t})(),xu=(()=>{class t{_platform=u(Ce);_containerElement;_document=u(z);_styleLoader=u(Rt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Hg()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),Hg()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(d0)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qg=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};us=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new w;_attachments=new w;_detachments=new w;_positionStrategy;_scrollStrategy;_locationChanges=Ee.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new w;_outsidePointerEvents=new w;_afterNextRenderRef;constructor(n,e,i,r,o,s,a,l,c,d=!1,f,p){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=f,this._renderer=p,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(n){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(n);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Wt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){if(this._disposed)return;let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
144pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=D(D({},this._config),n),this._updateElementSize()}setDirection(n){this._config=X(D({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=Ye(this._config.width),n.height=Ye(this._config.height),n.minWidth=Ye(this._config.minWidth),n.minHeight=Ye(this._config.minHeight),n.maxWidth=Ye(this._config.maxWidth),n.maxHeight=Ye(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Yg(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new qg(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=Ug(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Wt(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},e0="cdk-overlay-connected-position-bounding-box",LF=/([A-Za-z%]+)$/;Du=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new w;_resizeSubscription=Ee.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
vendor: 6,169 bytes, line 144
144constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(e0),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Gr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(e0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof K?this._origin.nativeElement:Yg(this._origin)?this._origin:null}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=n0(e),{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,f=s+o.width-i.width,p=0-a,m=a+o.height-i.height,g=this._subtractOverflows(o.width,d,f),C=this._subtractOverflows(o.height,p,m),I=g*C;return{visibleArea:I,isCompletelyWithinViewport:o.width*o.height===I,fitsInViewportVertically:C===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=t0(this._overlayRef.getConfig().minHeight),a=t0(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||s!=null&&s<=r,c=n.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=n0(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,f=0;return r.width<=o.width?d=c||-s:d=n.x<this._getViewportMarginStart()?o.left-i.left-n.x:0,r.height<=o.height?f=l||-a:f=n.y<this._getViewportMarginTop()?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:f},{x:n.x+d,y:n.y+f}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!VF(this._lastScrollVisibility,i)){let r=new Eu(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;
144n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,s,a;if(e.overlayY==="top")s=n.y,o=i.height-s+this._getViewportMarginBottom();else if(e.overlayY==="bottom")a=i.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),o=i.height-a+this._getViewportMarginTop();else{let m=Math.min(i.bottom-n.y+i.top,n.y),g=this._lastBoundingBoxSize.height;o=m*2,s=n.y-m,o>g&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-g/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,f,p;if(c)p=i.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),d=n.x-this._getViewportMarginStart();else if(l)f=n.x,d=i.right-n.x-this._getViewportMarginEnd();else{let m=Math.min(i.right-n.x+i.left,n.x),g=this._lastBoundingBoxSize.width;d=m*2,f=n.x-m,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(f=n.x-g/2)}return{top:s,left:f,bottom:a,right:p,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="auto",r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.width=Ye(i.width),r.height=Ye(i.height),r.top=Ye(i.top)||"auto",r.bottom=Ye(i.bottom)||"auto",r.left=Ye(i.left)||"auto",r.right=Ye(i.right)||"auto",e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Ye(o)),s&&(r.maxWidth=Ye(s))}this._lastBoundingBoxSize=i,Gr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Gr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Gr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Gr(i,this._getExactOverlayY(e,n,d)),Gr(i,this._getExactOverlayX(e,n,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Ye(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Ye(s.maxWidth):o&&(i.maxWidth="")),Gr(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=Ye(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=Ye(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Xw(n,i),isOriginOutsideView:Wg(n,i),isOverlayClipped:Xw(e,i),isOverlayOutsideView:Wg(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._getViewportMarginTop(),left:i.left+this._getViewportMarginStart(),right:i.left+n-this._getViewportMarginEnd(),bottom:i.top+e-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}
144_addPanelClasses(n){this._pane&&Ug(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof K)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();n&&(e.style.display="block");let i=e.getBoundingClientRect();return n&&(e.style.display=""),i}};i0="cdk-global-overlay-wrapper";Cu=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(i0),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,f=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",m="",g="",C="";l?C="flex-start":d==="center"?(C="center",p?g=f:m=f):p?d==="left"||d==="end"?(C="flex-end",m=f):(d==="right"||d==="start")&&(C="flex-start",g=f):d==="left"||d==="start"?(C="flex-start",m=f):(d==="right"||d==="end")&&(C="flex-end",g=f),n.position=this._cssPosition,n.marginLeft=l?"0":m,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":g,e.justifyContent=C,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(i0),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},u0=(()=>{class t{_injector=u(j);constructor(){}global(){return hs()}flexibleConnectedTo(e){return Iu(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),f0=new y("OVERLAY_DEFAULT_CONFIG");Kg=(()=>{class t{scrollStrategies=u(s0);_positionBuilder=u(u0);_injector=u(j);constructor(){}create(e){return ps(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var Tu=h(()=>{Zg();$g()});function Ka(t){return t.buttons===0||t.detail===0}function Za(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 Qg=h(()=>{});function p0(){if(Qa==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Qa=!0}))}finally{Qa=Qa||!1}return Qa}function ms(t){return p0()?t:!!t.capture}var Qa,Xg=h(()=>{});var m0,g0,v0,Jg,y0,Xa,b0,Su,Wr,ev=h(()=>{_();_();De();he();Qg();$a();Kn();Xg();za();m0=new y("cdk-input-modality-detector-options"),g0={ignoreKeys:[18,17,224,91,16]},v0=650,Jg={passive:!0,capture:!0},y0=(()=>{class t{_platform=u(Ce);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new it(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>
vendor: 9,328 bytes, lines 144-163
144i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Vt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<v0||(this._modality.next(Ka(e)?"keyboard":"mouse"),this._mostRecentTarget=Vt(e))};_onTouchstart=e=>{if(Za(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Vt(e)};constructor(){let e=u(T),i=u(z),r=u(m0,{optional:!0});if(this._options=D(D({},g0),r),this.modalityDetected=this._modality.pipe(Mh(1)),this.modalityChanged=this.modalityDetected.pipe(xo()),this._platform.isBrowser){let o=u(Je).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,Jg),o.listen(i,"mousedown",this._onMousedown,Jg),o.listen(i,"touchstart",this._onTouchstart,Jg)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Xa=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Xa||{}),b0=new y("cdk-focus-monitor-default-options"),Su=ms({passive:!0,capture:!0}),Wr=(()=>{class t{_ngZone=u(T);_platform=u(Ce);_inputModalityDetector=u(y0);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(z);_stopInputModalityDetector=new w;constructor(){let e=u(b0,{optional:!0});this._detectionMode=e?.detectionMode||Xa.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=Vt(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=Yt(e);if(!this._platform.isBrowser||r.nodeType!==1)return Z();let o=Bg(r)||this._document,s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new w,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=Yt(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=Yt(e),s=this._document.activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.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===Xa.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===Xa.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?v0:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=Vt(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,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,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Su),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Su)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Xe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Su),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Su),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var Mu,Ja=h(()=>{rs();_();Mu=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden { 145 border: 0; 146 clip: rect(0 0 0 0); 147 height: 1px; 148 margin: -1px; 149 overflow: hidden; 150 padding: 0; 151 position: absolute; 152 width: 1px; 153 white-space: nowrap; 154 outline: 0; 155 -webkit-appearance: none; 156 -moz-appearance: none; 157 left: 0; 158} 159[dir=rtl] .cdk-visually-hidden { 160 left: auto; 161 right: 0; 162} 163`],encapsulation:2,changeDetection:0})}return t})()});function jF(t,n){if(!_0.has(t))try{qr||(qr=document.createElement("style"),n&&qr.setAttribute("nonce",n),qr.setAttribute("type","text/css"),document.head.appendChild(qr)),qr.sheet&&(qr.sheet.insertRule(`@media ${t} {body{ }}`,0),_0.add(t))}catch(e){console.error(e)}}function BF(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var _0,qr,el,E0=h(()=>{_();_();Kn();_0=new Set,el=(()=>{class t{_platform=u(Ce);_nonce=u(Vr,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):BF}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&jF(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var HF,D0,C0=h(()=>{_();HF=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),D0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ue({type:t});static \u0275inj=ae({providers:[HF]})}return t})()});function UF(t){try{return t.frameElement}catch(n){return null}}function $F(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function zF(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function GF(t){return qF(t)&&t.type=="hidden"}function WF(t){return YF(t)&&t.hasAttribute("href")}function qF(t){return t.nodeName.toLowerCase()=="input"}function YF(t){return t.nodeName.toLowerCase()=="a"}function x0(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function w0(t){if(!x0(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function KF(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function ZF(t){return GF(t)?!1:zF(t)||WF(t)||t.hasAttribute("contenteditable")||x0(t)}function QF(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var nv,tv,I0,T0=h(()=>{_();_();Kn();rs();Ja();nv=(()=>{class t{_platform=u(Ce);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return $F(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=UF(QF(e));if(i&&(w0(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=w0(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!KF(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIRE
163FOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return ZF(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();tv=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,i,r,o=!1,s){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Wt(n,{injector:this._injector}):setTimeout(n)}},I0=(()=>{class t{_checker=u(nv);_ngZone=u(T);_document=u(z);_injector=u(j);constructor(){u(Rt).load(Mu)}create(e,i=!1){return new tv(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function XF(t,n){}function nP(t){let n=st(t),e=new me;return{valueSignal:n,get value(){return n()},change:e,ngOnDestroy(){e.complete()}}}function iv(t,n){let e=t.length;for(;e--;)n(t[e])}var nr,rv,tl,JF,eP,tP,S0,M0=h(()=>{_();_();De();qa();T0();ev();Kn();$a();Zg();he();vu();mu();pu();nr=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;
vendor: 6,591 bytes, lines 163-170
163autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext},rv=(()=>{class t extends ls{_elementRef=u(K);_focusTrapFactory=u(I0);_config;_interactivityChecker=u(nv);_ngZone=u(T);_focusMonitor=u(Wr);_renderer=u(qe);_changeDetectorRef=u(gt);_injector=u(j);_platform=u(Ce);_document=u(z);_portalOutlet;_focusTrapped=new w;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=u(nr,{optional:!0})||new nr,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),s(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),s=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||Wt(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=Ua(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=Ua();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Ua()))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Pt(Wa,7),i&2){let o;Ae(o=ke())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&oe("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Be],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&sn(0,XF,0,0,"ng-template",0)},dependencies:[Wa],styles:[`.cdk-dialog-container { 164 display: block; 165 width: 100%; 166 height: 100%; 167 min-height: inherit; 168 max-height: inherit; 169} 170`],encapsulation:2})}return t})(),tl=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new w;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!cs(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this._canClose(n)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(n,e,this.componentInstance))}},JF=new y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=u(j);return()=>fs(t)}}),eP=new y("DialogData"),tP=new y("DefaultDialogConfig");S0=(()=>{class t{_injector=u(j);_defaultOptions=u(tP,{optional:!0});_parentDialog=u(t,{optional:!0,skipSelf:!0});_overlayContainer=u(xu);_idGenerator=u(Ot);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new w;_afterOpenedAtThisLevel=new w;_ariaHiddenElements=new Map;_scrollStrategy=u(JF);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Pn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Qt(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new nr;i=D(D({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);
170let o=this._getOverlayConfig(i),s=ps(this._injector,o),a=new tl(s,i),l=this._attachContainer(s,a,i);if(a.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(He(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,a,l,i),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){iv(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){iv(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),iv(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new ds({positionStrategy:e.positionStrategy||hs().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,s=[{provide:nr,useValue:r},{provide:tl,useValue:i},{provide:us,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=rv;let l=new tr(a,r.viewContainerRef,j.create({parent:o||this._injector,providers:s}));return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof xn){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=D(D({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new as(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new tr(e,o.viewContainerRef,s));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:eP,useValue:e.data},{provide:tl,useValue:i}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(Zn,null,{optional:!0}))&&a.push({provide:Zn,useValue:nP(e.direction)}),j.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function Di(t){return t!=null&&`${t}`!="false"}var gs=h(()=>{za()});var ov=h(()=>{E0()});function rP(){return u(iP,{optional:!0})?.animationsDisabled||u(Ca,{optional:!0})==="NoopAnimations"?"di-disabled":(A0??=u(el).matchMedia("(prefers-reduced-motion)").matches,A0?"reduced-motion":"enabled")}function un(){return rP()!=="enabled"}var iP,A0,vs=h(()=>{ov();_();iP=new y("MATERIAL_ANIMATIONS"),A0=null});function oP(t,n,e){let i=Ru(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(R0)))}function sP(t,n,e){let i=Ru(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(R0)):t.removeAttribute(n)}function Ru(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}function sv(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function k0(t,n){t.id||(t.id=`${O0}-${n}-${av++}`)}var R0,O0,ku,av,N0,Yr=h(()=>{_();_();Kn();rs();Ja();ev();mu();Qg();R0=" ";O0="cdk-describedby-message",ku="cdk-describedby-host",av=0,N0=(()=>{class t{_platform=u(Ce);_document=u(z);_messageRegistry=new Map;_messagesContainer=null;_id=`${av++}`;constructor(){u(Rt).load(Mu),this._id=u(qi)+"-"+av++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=sv(i,r);
170typeof i!="string"?(k0(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=sv(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${ku}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(ku);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");k0(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(sv(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=Ru(e,"aria-describedby").filter(r=>r.indexOf(O0)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);oP(e,"aria-describedby",r.messageElement.id),e.setAttribute(ku,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,sP(e,"aria-describedby",r.messageElement.id),e.removeAttribute(ku)}_isElementDescribedByMessage(e,i){let r=Ru(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function aP(t,n){}function V0(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Mn(t.substring(0,t.length-2)):t.endsWith("s")?Mn(t.substring(0,t.length-1))*1e3:t==="0"?0:null}function uP(t,n,e){return t._closeInteractionType=n,t.close(e)}var Ou,lv,F0,P0,lP,cP,dP,L0,ys,cv,fP,hP,pP,Nu,dv=h(()=>{Tu();_();_();M0();gs();qa();vs();De();he();vu();Yr();Ou=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},lv="mdc-dialog--open",F0="mdc-dialog--opening",P0="mdc-dialog--closing",lP=150,cP=75,dP=(()=>{class t extends rv{_animationStateChanged=new me;_animationsEnabled=!un();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?V0(this._config.enterAnimationDuration)??lP:0;_exitAnimationDuration=this._animationsEnabled?V0(this._config.exitAnimationDuration)??cP:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(L0,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(F0,lv)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(lv),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(lv),this._animationsEnabled?(this._hostElement.style.setProperty(L0,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(P0)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(F0,P0)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ct(t)))(r||t)}})();static \u0275cmp=H({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(an("id",r._config.id),oe("aria-modal",r._config.ariaModal)("role",r._
vendor: 5,841 bytes, lines 170-342
170config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),pe("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Be],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(S(0,"div",0)(1,"div",1),sn(2,aP,0,0,"ng-template",2),O()())},dependencies:[Wa],styles:[`.mat-mdc-dialog-container { 171 width: 100%; 172 height: 100%; 173 display: block; 174 box-sizing: border-box; 175 max-height: inherit; 176 min-height: inherit; 177 min-width: inherit; 178 max-width: inherit; 179 outline: 0; 180} 181 182.cdk-overlay-pane.mat-mdc-dialog-panel { 183 max-width: var(--mat-dialog-container-max-width, 560px); 184 min-width: var(--mat-dialog-container-min-width, 280px); 185} 186@media (max-width: 599px) { 187 .cdk-overlay-pane.mat-mdc-dialog-panel { 188 max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px)); 189 } 190} 191 192.mat-mdc-dialog-inner-container { 193 display: flex; 194 flex-direction: row; 195 align-items: center; 196 justify-content: space-around; 197 box-sizing: border-box; 198 height: 100%; 199 opacity: 0; 200 transition: opacity linear var(--mat-dialog-transition-duration, 0ms); 201 max-height: inherit; 202 min-height: inherit; 203 min-width: inherit; 204 max-width: inherit; 205} 206.mdc-dialog--closing .mat-mdc-dialog-inner-container { 207 transition: opacity 75ms linear; 208 transform: none; 209} 210.mdc-dialog--open .mat-mdc-dialog-inner-container { 211 opacity: 1; 212} 213._mat-animation-noopable .mat-mdc-dialog-inner-container { 214 transition: none; 215} 216 217.mat-mdc-dialog-surface { 218 display: flex; 219 flex-direction: column; 220 flex-grow: 0; 221 flex-shrink: 0; 222 box-sizing: border-box; 223 width: 100%; 224 height: 100%; 225 position: relative; 226 overflow-y: auto; 227 outline: 0; 228 transform: scale(0.8); 229 transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1); 230 max-height: inherit; 231 min-height: inherit; 232 min-width: inherit; 233 max-width: inherit; 234 box-shadow: var(--mat-dialog-container-elevation-shadow, none); 235 border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px)); 236 background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white)); 237} 238[dir=rtl] .mat-mdc-dialog-surface { 239 text-align: right; 240} 241.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface { 242 transform: none; 243} 244._mat-animation-noopable .mat-mdc-dialog-surface { 245 transition: none; 246} 247.mat-mdc-dialog-surface::before { 248 position: absolute; 249 box-sizing: border-box; 250 width: 100%; 251 height: 100%; 252 top: 0; 253 left: 0; 254 border: 2px solid transparent; 255 border-radius: inherit; 256 content: ""; 257 pointer-events: none; 258} 259 260.mat-mdc-dialog-title { 261 display: block; 262 position: relative; 263 flex-shrink: 0; 264 box-sizing: border-box; 265 margin: 0 0 1px; 266 padding: var(--mat-dialog-headline-padding, 6px 24px 13px); 267} 268.mat-mdc-dialog-title::before { 269 display: inline-block; 270 width: 0; 271 height: 40px; 272 content: ""; 273 vertical-align: 0; 274} 275[dir=rtl] .mat-mdc-dialog-title { 276 text-align: right; 277} 278.mat-mdc-dialog-container .mat-mdc-dialog-title { 279 color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 280 font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit)); 281 line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem)); 282 font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem)); 283 font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400)); 284 letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em)); 285} 286 287.mat-mdc-dialog-content { 288 display: block; 289 flex-grow: 1; 290 box-sizing: border-box; 291 margin: 0; 292 overflow: auto; 293 max-height: 65vh; 294} 295.mat-mdc-dialog-content > :first-child { 296 margin-top: 0; 297} 298.mat-mdc-dialog-content > :last-child { 299 margin-bottom: 0; 300} 301.mat-mdc-dialog-container .mat-mdc-dialog-content { 302 color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6))); 303 font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit)); 304 line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem)); 305 font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem)); 306 font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400)); 307 letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em)); 308} 309.mat-mdc-dialog-container .mat-mdc-dialog-content { 310 padding: var(--mat-dialog-content-padding, 20px 24px); 311} 312.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content { 313 padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0); 314} 315.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content { 316 padding-top: 0; 317} 318 319.mat-mdc-dialog-actions { 320 display: flex; 321 position: relative; 322 flex-shrink: 0; 323 flex-wrap: wrap; 324 align-items: center; 325 box-sizing: border-box; 326 min-height: 52px; 327 margin: 0; 328 border-top: 1px solid transparent; 329 padding: var(--mat-dialog-actions-padding, 16px 24px); 330 justify-content: var(--mat-dialog-actions-alignment, flex-end); 331} 332@media (forced-colors: active) { 333 .mat-mdc-dialog-actions { 334 border-top-color: CanvasText; 335 } 336} 337.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] { 338 justify-content: start; 339} 340.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] { 341 justify-content: center; 342}
343.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] { 344 justify-content: flex-end; 345} 346.mat-mdc-dialog-actions .mat-button-base + .mat-button-base, 347.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { 348 margin-left: 8px; 349} 350[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base, 351[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { 352 margin-left: 0; 353 margin-right: 8px; 354} 355 356.mat-mdc-dialog-component-host { 357 display: contents; 358} 359`],encapsulation:2})}return t})(),L0="--mat-dialog-transition-duration";ys=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(ys||{}),cv=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new rt(1);_beforeClosed=new rt(1);_result;_closeFallbackTimeout;_state=ys.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._config=e,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(L(r=>r.state==="opened"),He(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(L(r=>r.state==="closed"),He(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),ai(this.backdropClick(),this.keydownEvents().pipe(L(r=>r.keyCode===27&&!this.disableClose&&!cs(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),uP(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){let e=this._config.closePredicate;e&&!e(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(L(i=>i.state==="closing"),He(1)).subscribe(i=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=ys.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=ys.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};fP=new y("MatMdcDialogData"),hP=new y("mat-mdc-dialog-default-options"),pP=new y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(j);return()=>fs(t)}}),Nu=(()=>{class t{_defaultOptions=u(hP,{optional:!0});_scrollStrategy=u(pP);_parentDialog=u(t,{optional:!0,skipSelf:!0});_idGenerator=u(Ot);_injector=u(j);_dialog=u(S0);_animationsDisabled=un();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new w;_afterOpenedAtThisLevel=new w;dialogConfigClass=Ou;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Pn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Qt(void 0)));constructor(){this._dialogRefConstructor=cv,this._dialogContainerType=dP,this._dialogDataToken=fP}open(e,i){let r;i=D(D({},this._defaultOptions||new Ou),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,X(D({},i),{positionStrategy:hs(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||i.enterAnimationDuration?.toLocaleStr
359ing()==="0"||i.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:nr,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function uv(){if(bs)return bs;if(typeof document!="object"||!document)return bs=new Set(j0),bs;let t=document.createElement("input");return bs=new Set(j0.filter(n=>(t.setAttribute("type",n),t.type===n))),bs}var bs,j0,_s=h(()=>{Kn();$a();Xg();j0=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"]});function vP(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var fn,fv,B0,hv,nl,mP,H0,U0,$0,gP,Fu,z0,G0=h(()=>{_s();_();_();Yr();gs();Ja();fn=(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})(fn||{}),fv=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=fn.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},B0=ms({passive:!0,capture:!0}),hv=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,B0)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,B0)))}_delegateEventHandler=n=>{let e=Vt(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},nl={enterDuration:225,exitDuration:150},mP=800,H0=ms({passive:!0,capture:!0}),U0=["mousedown","touchstart"],$0=["mouseup","mouseleave","touchend","touchcancel"],gP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple { 360 overflow: hidden; 361 position: relative; 362} 363.mat-ripple:not(:empty) { 364 transform: translateZ(0); 365} 366 367.mat-ripple.mat-ripple-unbounded { 368 overflow: visible; 369} 370 371.mat-ripple-element { 372 position: absolute; 373 border-radius: 50%; 374 pointer-events: none; 375 transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1); 376 transform: scale3d(0, 0, 0); 377 background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent)); 378} 379@media (forced-colors: active) { 380 .mat-ripple-element { 381 display: none; 382 } 383} 384.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element { 385 display: none; 386} 387`],encapsulation:2,changeDetection:0})}return t})(),Fu=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new hv;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=Yt(i)),o&&o.get(Rt).load(gP)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=D(D({},nl),i.animation);
vendor: 1,978 bytes, line 387
387i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||vP(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let f=window.getComputedStyle(d),p=f.transitionProperty,m=f.transitionDuration,g=p==="none"||m==="0s"||m==="0s, 0s"||r.width===0&&r.height===0,C=new fv(this,d,i,g);d.style.transform="scale3d(1, 1, 1)",C.state=fn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=C);let I=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let R=()=>{I&&(I.fallbackTimer=null),clearTimeout(Dt),this._finishRippleTransition(C)},xe=()=>this._destroyRipple(C),Dt=setTimeout(xe,c+100);d.addEventListener("transitionend",R),d.addEventListener("transitioncancel",xe),I={onTransitionEnd:R,onTransitionCancel:xe,fallbackTimer:Dt}}),this._activeRipples.set(C,I),(g||!c)&&this._finishRippleTransition(C),C}fadeOutRipple(n){if(n.state===fn.FADING_OUT||n.state===fn.HIDDEN)return;let e=n.element,i=D(D({},nl),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=fn.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=Yt(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,U0.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(()=>
387{$0.forEach(e=>{this._triggerElement.addEventListener(e,this,H0)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===fn.FADING_IN?this._startFadeOutTransition(n):n.state===fn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=fn.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=fn.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=Ka(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+mP;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Za(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===fn.VISIBLE||n.config.terminateOnPointerUp&&n.state===fn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(U0.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&($0.forEach(e=>n.removeEventListener(e,this,H0)),this._pointerUpEventsRegistered=!1))}};z0=new y("mat-ripple-global-options")});var yP,bP,pv,mv,W0,Pu,q0,Y0=h(()=>{_();_();_s();vs();G0();yP={capture:!0},bP=["focus","mousedown","mouseenter","touchstart"],pv="mat-ripple-loader-uninitialized",mv="mat-ripple-loader-class-name",W0="mat-ripple-loader-centered",Pu="mat-ripple-loader-disabled",q0=(()=>{class t{_document=u(z);_animationsDisabled=un();_globalRippleOptions=u(z0,{optional:!0});_platform=u(Ce);_ngZone=u(T);_injector=u(j);_eventCleanups;_hosts=new Map;constructor(){let e=u(Je).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>bP.map(i=>e.listen(this._document,i,this._onInteraction,yP)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(pv,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(mv))&&e.setAttribute(mv,i.className||""),i.centered&&e.setAttribute(W0,""),i.disabled&&e.setAttribute(Pu,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(Pu,""):e.removeAttribute(Pu)}_onInteraction=e=>{let i=Vt(e);if(i instanceof HTMLElement){let r=i.closest(`[${pv}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(mv)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??nl.enterDuration,s=this._animationsDisabled?0:r?.animation?.exitDuration??nl.exitDuration,a={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(Pu),rippleConfig:{centered:e.hasAttribute(W0),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:s}}},l=new Fu(a,this._ngZone,i,this._platform,this._injector),c=!a.rippleDisabled;c&&l.setupTriggerEvents(e),this._hosts.set(e,{target:a,renderer:l,hasSetUpEvents:c}),e.removeAttribute(pv)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var K0,Z0=h(()=>{_();K0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator { 388 position: relative; 389} 390.mat-focus-indicator::before { 391 top: 0; 392 left: 0; 393 right: 0; 394 bottom: 0; 395 position: absolute; 396 box-sizing: border-box; 397 pointer-events: none; 398 display: var(--mat-focus-indicator-display, none); 399 border-width: var(--mat-focus-indicator-border-width, 3px); 400 border-style: var(--mat-focus-indicator-border-style, solid); 401 border-color: var(--mat-focus-indicator-border-color, transparent); 402 border-radius: var(--mat-focus-indicator-border-radius, 4px); 403} 404.mat-focus-indicator:focus-visible::before { 405 content: ""; 406} 407 408@media (forced-colors: active) { 409 html { 410 --mat-focus-indicator-display: block; 411 } 412} 413`],encapsulation:2,changeDetection:0})}return t})()});function Q0(t){return t==null?void 0:dg(t)}var _P,EP,DP,Lu,Kr,X0=h(()=>{_();_();Yr();Ja();Y0();Z0();vs();_P=["mat-icon-button",""],EP=["*"],DP=new y("MAT_BUTTON_CONFIG");Lu=(()=>{class t{_elementRef=u(K);_ngZone=u(T);_animationsDisabled=un();_config=u(DP,{optional:!0});_focusMonitor=u(Wr);_cleanupClick;_renderer=u(qe);_rippleLoader=u(q0);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){u(Rt).load(K0);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),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)}
413_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null: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)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,r){i&2&&(oe("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),Aa(r.color?"mat-"+r.color:""),pe("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",$e],disabled:[2,"disabled","disabled",$e],ariaDisabled:[2,"aria-disabled","ariaDisabled",$e],disabledInteractive:[2,"disabledInteractive","disabledInteractive",$e],tabIndex:[2,"tabIndex","tabIndex",Q0],_tabindex:[2,"tabindex","_tabindex",Q0]}})}return t})(),Kr=(()=>{class t extends Lu{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[Be],attrs:_P,ngContentSelectors:EP,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(ln(),et(0,"span",0),Pe(1),et(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button { 414 -webkit-user-select: none; 415 user-select: none; 416 display: inline-block; 417 position: relative; 418 box-sizing: border-box; 419 border: none; 420 outline: none; 421 background-color: transparent; 422 fill: currentColor; 423 text-decoration: none; 424 cursor: pointer; 425 z-index: 0; 426 overflow: visible; 427 border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%)); 428 flex-shrink: 0; 429 text-align: center; 430 width: var(--mat-icon-button-state-layer-size, 40px); 431 height: var(--mat-icon-button-state-layer-size, 40px); 432 padding: calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2); 433 font-size: var(--mat-icon-button-icon-size, 24px); 434 color: var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant)); 435 -webkit-tap-highlight-color: transparent; 436} 437.mat-mdc-icon-button .mat-mdc-button-ripple, 438.mat-mdc-icon-button .mat-mdc-button-persistent-ripple, 439.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 440 top: 0; 441 left: 0; 442 right: 0; 443 bottom: 0; 444 position: absolute; 445 pointer-events: none; 446 border-radius: inherit; 447} 448.mat-mdc-icon-button .mat-mdc-button-ripple { 449 overflow: hidden; 450} 451.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 452 content: ""; 453 opacity: 0; 454} 455.mat-mdc-icon-button .mdc-button__label, 456.mat-mdc-icon-button .mat-icon { 457 z-index: 1; 458 position: relative; 459} 460.mat-mdc-icon-button .mat-focus-indicator { 461 top: 0; 462 left: 0; 463 right: 0; 464 bottom: 0; 465 position: absolute; 466 border-radius: inherit; 467} 468.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before { 469 content: ""; 470 border-radius: inherit; 471} 472.mat-mdc-icon-button .mat-ripple-element { 473 background-color: var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 474} 475.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 476 background-color: var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant)); 477} 478.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 479 background-color: var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 480} 481.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before { 482 opacity: var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 483} 484.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 { 485 opacity: var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 486} 487.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before { 488 opacity: var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 489} 490.mat-mdc-icon-button .mat-mdc-button-touch-target { 491 position: absolute; 492 top: 50%; 493 height: var(--mat-icon-button-touch-target-size, 48px); 494 display: var(--mat-icon-button-touch-target-display, block); 495 left: 50%; 496 width: var(--mat-icon-button-touch-target-size, 48px); 497 transform: translate(-50%, -50%); 498} 499.mat-mdc-icon-button._mat-animation-noopable { 500 transition: none !important; 501 animation: none !important; 502} 503.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled { 504 cursor: default; 505 pointer-events: none; 506 color: var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 507} 508.mat-mdc-icon-button.mat-mdc-button-disabled-interactive { 509 pointer-events: auto; 510} 511.mat-mdc-icon-button img, 512.mat-mdc-icon-button svg { 513 width: var(--mat-icon-button-icon-size, 24px); 514 height: var(--mat-icon-button-icon-size, 24px); 515 vertical-align: baseline; 516} 517.mat-mdc-icon-button .mat-mdc-button-persistent-ripple { 518 border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%)); 519} 520.mat-mdc-icon-button[hidden] { 521 display: none; 522} 523.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 { 524 background: transparent; 525 opacity: 1; 526} 527`,`@media (forced-colors: active) { 528 .mat-mdc-button:not(.mdc-button--outlined), 529 .mat-mdc-unelevated-button:not(.mdc-button--outlined), 530 .mat-mdc-raised-button:not(.mdc-button--outlined), 531 .mat-mdc-outlined-button:not(.mdc-button--outlined), 532 .mat-mdc-button-base.mat-tonal-button, 533 .mat-mdc-icon-button.mat-mdc-icon-button, 534 .mat-mdc-outlined-button .mdc-button__ripple { 535 outline: solid 1px; 536 } 537} 538`],encapsulation:2,changeDetection:0})}return t})()});var J0,ex=h(()=>{zr();_();J0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ue({type:t});static \u0275inj=ae({imports:[er]})}return t})()});function xP(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var CP,nx,ix,wP,tx,rx,IP,gv,ox,Vu,Zr=h(()=>{X0();_();_();zr();ex();CP=["matButton",""],nx=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ix=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],wP=["mat-fab",""],tx=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),rx=(()=>{class t extends Lu{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=xP(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?tx.get(this._appearance):null,o=tx.get(e);r&&i.remove(...r),i.add(...o),this._appearance=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[Be],attrs:CP,ngContentSelectors:ix,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(ln(nx),et(0,"span",0),Pe(1),G(2,"span",1),Pe(3,1),Q(),Pe(4,2),et(5,"span",2)(6,"span",3)),i&2&&pe("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base { 539 text-decoration: none; 540} 541.mat-mdc-button-base .mat-icon { 542 min-height: fit-content; 543 flex-shrink: 0; 544} 545@media (hover: none) { 546 .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before { 547 opacity: 0; 548 } 549} 550 551.mdc-button { 552 -webkit-user-select: none; 553 user-select: none; 554 position: relative; 555 display: inline-flex; 556 align-items: center; 557 justify-content: center; 558 box-sizing: border-box; 559 min-width: 64px; 560 border: none; 561 outline: none; 562 line-height: inherit; 563 -webkit-appearance: none; 564 overflow: visible; 565 vertical-align: middle; 566 background: transparent; 567 padding: 0 8px; 568} 569.mdc-button::-moz-focus-inner { 570 padding: 0; 571 border: 0; 572} 573.mdc-button:active { 574 outline: none; 575} 576.mdc-button:hover {
577 cursor: pointer; 578} 579.mdc-button:disabled { 580 cursor: default; 581 pointer-events: none; 582} 583.mdc-button[hidden] { 584 display: none; 585} 586.mdc-button .mdc-button__label { 587 position: relative; 588} 589 590.mat-mdc-button { 591 padding: 0 var(--mat-button-text-horizontal-padding, 12px); 592 height: var(--mat-button-text-container-height, 40px); 593 font-family: var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font)); 594 font-size: var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size)); 595 letter-spacing: var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking)); 596 text-transform: var(--mat-button-text-label-text-transform); 597 font-weight: var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight)); 598} 599.mat-mdc-button, .mat-mdc-button .mdc-button__ripple { 600 border-radius: var(--mat-button-text-container-shape, var(--mat-sys-corner-full)); 601} 602.mat-mdc-button:not(:disabled) { 603 color: var(--mat-button-text-label-text-color, var(--mat-sys-primary)); 604} 605.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled { 606 cursor: default; 607 pointer-events: none; 608 color: var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 609} 610.mat-mdc-button.mat-mdc-button-disabled-interactive { 611 pointer-events: auto; 612} 613.mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) { 614 padding: 0 var(--mat-button-text-with-icon-horizontal-padding, 16px); 615} 616.mat-mdc-button > .mat-icon { 617 margin-right: var(--mat-button-text-icon-spacing, 8px); 618 margin-left: var(--mat-button-text-icon-offset, -4px); 619} 620[dir=rtl] .mat-mdc-button > .mat-icon { 621 margin-right: var(--mat-button-text-icon-offset, -4px); 622 margin-left: var(--mat-button-text-icon-spacing, 8px); 623} 624.mat-mdc-button .mdc-button__label + .mat-icon { 625 margin-right: var(--mat-button-text-icon-offset, -4px); 626 margin-left: var(--mat-button-text-icon-spacing, 8px); 627} 628[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon { 629 margin-right: var(--mat-button-text-icon-spacing, 8px); 630 margin-left: var(--mat-button-text-icon-offset, -4px); 631} 632.mat-mdc-button .mat-ripple-element { 633 background-color: var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 634} 635.mat-mdc-button .mat-mdc-button-persistent-ripple::before { 636 background-color: var(--mat-button-text-state-layer-color, var(--mat-sys-primary)); 637} 638.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 639 background-color: var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 640} 641.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before { 642 opacity: var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 643} 644.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 645 opacity: var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 646} 647.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before { 648 opacity: var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 649} 650.mat-mdc-button .mat-mdc-button-touch-target { 651 position: absolute; 652 top: 50%; 653 height: var(--mat-button-text-touch-target-size, 48px); 654 display: var(--mat-button-text-touch-target-display, block); 655 left: 0; 656 right: 0; 657 transform: translateY(-50%); 658} 659 660.mat-mdc-unelevated-button { 661 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 662 height: var(--mat-button-filled-container-height, 40px); 663 font-family: var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font)); 664 font-size: var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size)); 665 letter-spacing: var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking)); 666 text-transform: var(--mat-button-filled-label-text-transform); 667 font-weight: var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight)); 668 padding: 0 var(--mat-button-filled-horizontal-padding, 24px); 669} 670.mat-mdc-unelevated-button > .mat-icon { 671 margin-right: var(--mat-button-filled-icon-spacing, 8px); 672 margin-left: var(--mat-button-filled-icon-offset, -8px); 673} 674[dir=rtl] .mat-mdc-unelevated-button > .mat-icon { 675 margin-right: var(--mat-button-filled-icon-offset, -8px); 676 margin-left: var(--mat-button-filled-icon-spacing, 8px); 677} 678.mat-mdc-unelevated-button .mdc-button__label + .mat-icon { 679 margin-right: var(--mat-button-filled-icon-offset, -8px); 680 margin-left: var(--mat-button-filled-icon-spacing, 8px); 681} 682[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon { 683 margin-right: var(--mat-button-filled-icon-spacing, 8px); 684 margin-left: var(--mat-button-filled-icon-offset, -8px); 685} 686.mat-mdc-unelevated-button .mat-ripple-element { 687 background-color: var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 688} 689.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before { 690 background-color: var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary)); 691} 692.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 693 background-color: var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 694} 695.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before { 696 opacity: var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 697} 698.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 699 opacity: var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 700} 701.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before { 702 opacity: var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 703} 704.mat-mdc-unelevated-button .mat-mdc-button-touch-target { 705 position: absolute; 706 top: 50%; 707 height: var(--mat-button-filled-touch-target-size, 48px); 708 display: var(--mat-button-filled-touch-target-display, block); 709 left: 0; 710 right: 0; 711 transform: translateY(-50%); 712} 713.mat-mdc-unelevated-button:not(:disabled) { 714 color: var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary)); 715 background-color: var(--mat-button-filled-container-color, var(--mat-sys-primary)); 716} 717.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple { 718 border-radius: var(--mat-button-filled-container-shape, var(--mat-sys-corner-full)); 719} 720.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled { 721 cursor: default; 722 pointer-events: none; 723 color: var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 724 background-color: var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 725} 726.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive { 727 pointer-events: auto; 728} 729 730.mat-mdc-raised-button { 731 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 732 box-shadow: var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1)); 733 height: var(--mat-button-protected-container-height, 40px); 734 font-family: var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font)); 735 font-size: var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size)); 736 letter-spacing: var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking)); 737 text-transform: var(--mat-button-protected-label-text-transform); 738 font-weight: var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight)); 739 padding: 0 var(--mat-button-protected-horizontal-padding, 24px); 740} 741.mat-mdc-raised-button > .mat-icon { 742 margin-right: var(--mat-button-protected-icon-spacing, 8px); 743 margin-left: var(--mat-button-protected-icon-offset, -8px); 744} 745[dir=rtl] .mat-mdc-raised-button > .mat-icon { 746 margin-right: var(--mat-button-protected-icon-offset, -8px); 747 margin-left: var(--mat-button-protected-icon-spacing, 8px); 748} 749.mat-mdc-raised-button .mdc-button__label + .mat-icon { 750 margin-right: var(--mat-button-protected-icon-offset, -8px); 751 margin-left: var(--mat-button-protected-icon-spacing, 8px); 752} 753[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon { 754 margin-right: var(--mat-button-protected-icon-spacing, 8px); 755 margin-left: var(--mat-button-protected-icon-offset, -8px); 756} 757.mat-mdc-raised-button .mat-ripple-element { 758 background-color: var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 759} 760.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before { 761 background-color: var(--mat-button-protected-state-layer-color, var(--mat-sys-primary)); 762} 763.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 764 background-color: var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 765} 766.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before { 767 opacity: var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 768} 769.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 770 opacity: var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 771} 772.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before { 773 opacity: var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 774} 775.mat-mdc-raised-button .mat-mdc-button-touch-target { 776 position: absolute; 777 top: 50%; 778 height: var(--mat-button-protected-touch-target-size, 48px); 779 display: var(--mat-button-protected-touch-target-display, block); 780 left: 0; 781 right: 0; 782 transform: translateY(-50%); 783} 784.mat-mdc-raised-button:not(:disabled) { 785 color: var(--mat-button-protected-label-text-color, var(--mat-sys-primary)); 786 background-color: var(--mat-button-protected-container-color, var(--mat-sys-surface)); 787} 788.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple { 789 border-radius: var(--mat-button-protected-container-shape, var(--mat-sys-corner-full)); 790} 791@media (hover: hover) { 792 .mat-mdc-raised-button:hover { 793 box-shadow: var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2)); 794 } 795} 796.mat-mdc-raised-button:focus { 797 box-shadow: var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1)); 798} 799.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active { 800 box-shadow: var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1)); 801} 802.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled { 803 cursor: default; 804 pointer-events: none; 805 color: var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 806 background-color: var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 807} 808.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled { 809 box-shadow: var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0)); 810} 811.mat-mdc-raised-button.mat-mdc-button-disabled-interactive { 812 pointer-events: auto; 813} 814 815.mat-mdc-outlined-button { 816 border-style: solid; 817 transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1); 818 height: var(--mat-button-outlined-container-height, 40px); 819 font-family: var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font)); 820 font-size: var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size)); 821 letter-spacing: var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking)); 822 text-transform: var(--mat-button-outlined-label-text-transform); 823 font-weight: var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight)); 824 border-radius: var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full)); 825 border-width: var(--mat-button-outlined-outline-width, 1px); 826 padding: 0 var(--mat-button-outlined-horizontal-padding, 24px); 827} 828.mat-mdc-outlined-button > .mat-icon { 829 margin-right: var(--mat-button-outlined-icon-spacing, 8px); 830 margin-left: var(--mat-button-outlined-icon-offset, -8px); 831} 832[dir=rtl] .mat-mdc-outlined-button > .mat-icon { 833 margin-right: var(--mat-button-outlined-icon-offset, -8px); 834 margin-left: var(--mat-button-outlined-icon-spacing, 8px); 835} 836.mat-mdc-outlined-button .mdc-button__label + .mat-icon { 837 margin-right: var(--mat-button-outlined-icon-offset, -8px); 838 margin-left: var(--mat-button-outlined-icon-spacing, 8px); 839} 840[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon { 841 margin-right: var(--mat-button-outlined-icon-spacing, 8px); 842 margin-left: var(--mat-button-outlined-icon-offset, -8px); 843} 844.mat-mdc-outlined-button .mat-ripple-element { 845 background-color: var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 846} 847.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before { 848 background-color: var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary)); 849} 850.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 851 background-color: var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 852} 853.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before { 854 opacity: var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 855} 856.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 857 opacity: var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 858} 859.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before { 860 opacity: var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 861} 862.mat-mdc-outlined-button .mat-mdc-button-touch-target { 863 position: absolute; 864 top: 50%; 865 height: var(--mat-button-outlined-touch-target-size, 48px); 866 display: var(--mat-button-outlined-touch-target-display, block); 867 left: 0; 868 right: 0; 869 transform: translateY(-50%); 870} 871.mat-mdc-outlined-button:not(:disabled) { 872 color: var(--mat-button-outlined-label-text-color, var(--mat-sys-primary)); 873 border-color: var(--mat-button-outlined-outline-color, var(--mat-sys-outline)); 874} 875.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled { 876 cursor: default; 877 pointer-events: none; 878 color: var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 879 border-color: var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 880} 881.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive { 882 pointer-events: auto; 883} 884 885.mat-tonal-button { 886 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 887 height: var(--mat-button-tonal-container-height, 40px); 888 font-family: var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font)); 889 font-size: var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size)); 890 lette
890r-spacing: var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking)); 891 text-transform: var(--mat-button-tonal-label-text-transform); 892 font-weight: var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight)); 893 padding: 0 var(--mat-button-tonal-horizontal-padding, 24px); 894} 895.mat-tonal-button:not(:disabled) { 896 color: var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container)); 897 background-color: var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container)); 898} 899.mat-tonal-button, .mat-tonal-button .mdc-button__ripple { 900 border-radius: var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full)); 901} 902.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled { 903 cursor: default; 904 pointer-events: none; 905 color: var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 906 background-color: var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 907} 908.mat-tonal-button.mat-mdc-button-disabled-interactive { 909 pointer-events: auto; 910} 911.mat-tonal-button > .mat-icon { 912 margin-right: var(--mat-button-tonal-icon-spacing, 8px); 913 margin-left: var(--mat-button-tonal-icon-offset, -8px); 914} 915[dir=rtl] .mat-tonal-button > .mat-icon { 916 margin-right: var(--mat-button-tonal-icon-offset, -8px); 917 margin-left: var(--mat-button-tonal-icon-spacing, 8px); 918} 919.mat-tonal-button .mdc-button__label + .mat-icon { 920 margin-right: var(--mat-button-tonal-icon-offset, -8px); 921 margin-left: var(--mat-button-tonal-icon-spacing, 8px); 922} 923[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon { 924 margin-right: var(--mat-button-tonal-icon-spacing, 8px); 925 margin-left: var(--mat-button-tonal-icon-offset, -8px); 926} 927.mat-tonal-button .mat-ripple-element { 928 background-color: var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 929} 930.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 931 background-color: var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container)); 932} 933.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 934 background-color: var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 935} 936.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before { 937 opacity: var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 938} 939.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 940 opacity: var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 941} 942.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before { 943 opacity: var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 944} 945.mat-tonal-button .mat-mdc-button-touch-target { 946 position: absolute; 947 top: 50%; 948 height: var(--mat-button-tonal-touch-target-size, 48px); 949 display: var(--mat-button-tonal-touch-target-display, block); 950 left: 0; 951 right: 0; 952 transform: translateY(-50%); 953} 954 955.mat-mdc-button, 956.mat-mdc-unelevated-button, 957.mat-mdc-raised-button, 958.mat-mdc-outlined-button, 959.mat-tonal-button { 960 -webkit-tap-highlight-color: transparent; 961} 962.mat-mdc-button .mat-mdc-button-ripple, 963.mat-mdc-button .mat-mdc-button-persistent-ripple, 964.mat-mdc-button .mat-mdc-button-persistent-ripple::before, 965.mat-mdc-unelevated-button .mat-mdc-button-ripple, 966.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple, 967.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, 968.mat-mdc-raised-button .mat-mdc-button-ripple, 969.mat-mdc-raised-button .mat-mdc-button-persistent-ripple, 970.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, 971.mat-mdc-outlined-button .mat-mdc-button-ripple, 972.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple, 973.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, 974.mat-tonal-button .mat-mdc-button-ripple, 975.mat-tonal-button .mat-mdc-button-persistent-ripple, 976.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 977 top: 0; 978 left: 0; 979 right: 0; 980 bottom: 0; 981 position: absolute; 982 pointer-events: none; 983 border-radius: inherit; 984} 985.mat-mdc-button .mat-mdc-button-ripple, 986.mat-mdc-unelevated-button .mat-mdc-button-ripple, 987.mat-mdc-raised-button .mat-mdc-button-ripple, 988.mat-mdc-outlined-button .mat-mdc-button-ripple, 989.mat-tonal-button .mat-mdc-button-ripple { 990 overflow: hidden; 991} 992.mat-mdc-button .mat-mdc-button-persistent-ripple::before, 993.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, 994.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, 995.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, 996.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 997 content: ""; 998 opacity: 0; 999} 1000.mat-mdc-button .mdc-button__label, 1001.mat-mdc-button .mat-icon, 1002.mat-mdc-unelevated-button .mdc-button__label, 1003.mat-mdc-unelevated-button .mat-icon, 1004.mat-mdc-raised-button .mdc-button__label, 1005.mat-mdc-raised-button .mat-icon, 1006.mat-mdc-outlined-button .mdc-button__label, 1007.mat-mdc-outlined-button .mat-icon, 1008.mat-tonal-button .mdc-button__label, 1009.mat-tonal-button .mat-icon { 1010 z-index: 1; 1011 position: relative; 1012} 1013.mat-mdc-button .mat-focus-indicator, 1014.mat-mdc-unelevated-button .mat-focus-indicator, 1015.mat-mdc-raised-button .mat-focus-indicator, 1016.mat-mdc-outlined-button .mat-focus-indicator, 1017.mat-tonal-button .mat-focus-indicator { 1018 top: 0; 1019 left: 0; 1020 right: 0; 1021 bottom: 0; 1022 position: absolute; 1023 border-radius: inherit; 1024} 1025.mat-mdc-button:focus-visible > .mat-focus-indicator::before, 1026.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before, 1027.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before, 1028.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before, 1029.mat-tonal-button:focus-visible > .mat-focus-indicator::before { 1030 content: ""; 1031 border-radius: inherit; 1032} 1033.mat-mdc-button._mat-animation-noopable, 1034.mat-mdc-unelevated-button._mat-animation-noopable, 1035.mat-mdc-raised-button._mat-animation-noopable, 1036.mat-mdc-outlined-button._mat-animation-noopable, 1037.mat-tonal-button._mat-animation-noopable { 1038 transition: none !important; 1039 animation: none !important; 1040} 1041.mat-mdc-button > .mat-icon, 1042.mat-mdc-unelevated-button > .mat-icon, 1043.mat-mdc-raised-button > .mat-icon, 1044.mat-mdc-outlined-button > .mat-icon, 1045.mat-tonal-button > .mat-icon { 1046 display: inline-block; 1047 position: relative; 1048 vertical-align: top; 1049 font-size: 1.125rem; 1050 height: 1.125rem; 1051 width: 1.125rem; 1052} 1053 1054.mat-mdc-outlined-button .mat-mdc-button-ripple, 1055.mat-mdc-outlined-button .mdc-button__ripple { 1056 top: -1px; 1057 left: -1px; 1058 bottom: -1px; 1059 right: -1px; 1060} 1061 1062.mat-mdc-unelevated-button .mat-focus-indicator::before, 1063.mat-tonal-button .mat-focus-indicator::before, 1064.mat-mdc-raised-button .mat-focus-indicator::before { 1065 margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1); 1066} 1067 1068.mat-mdc-outlined-button .mat-focus-indicator::before { 1069 margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1); 1070} 1071`,`@media (forced-colors: active) { 1072 .mat-mdc-button:not(.mdc-button--outlined), 1073 .mat-mdc-unelevated-button:not(.mdc-button--outlined), 1074 .mat-mdc-raised-button:not(.mdc-button--outlined), 1075 .mat-mdc-outlined-button:not(.mdc-button--outlined), 1076 .mat-mdc-button-base.mat-tonal-button, 1077 .mat-mdc-icon-button.mat-mdc-icon-button, 1078 .mat-mdc-outlined-button .mdc-button__ripple { 1079 outline: solid 1px; 1080 } 1081} 1082`],encapsulation:2,changeDetection:0})}return t})();IP=new y("mat-mdc-fab-default-options",{providedIn:"root",factory:()=>gv}),gv={color:"accent"},ox=(()=>{class t extends Lu{_options=u(IP,{optional:!0});_isFab=!0;extended=!1;constructor(){super(),this._options=this._options||gv,this.color=this._options.color||gv.color}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["button","mat-fab",""],["a","mat-fab",""],["button","matFab",""],["a","matFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mat-mdc-fab"],hostVars:4,hostBindings:function(i,r){i&2&&pe("mdc-fab--extended",r.extended)("mat-mdc-extended-fab",r.extended)},inputs:{extended:[2,"extended","extended",$e]},exportAs:["matButton","matAnchor"],features:[Be],attrs:wP,ngContentSelectors:ix,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(ln(nx),et(0,"span",0),Pe(1),G(2,"span",1),Pe(3,1),Q(),Pe(4,2),et(5,"span",2)(6,"span",3)),i&2&&pe("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-fab-base { 1083 -webkit-user-select: none; 1084 user-select: none; 1085 position: relative; 1086 display: inline-flex; 1087 align-items: center; 1088 justify-content: center; 1089 box-sizing: border-box; 1090 width: 56px; 1091 height: 56px; 1092 padding: 0; 1093 border: none; 1094 fill: currentColor; 1095 text-decoration: none; 1096 cursor: pointer; 1097 -moz-appearance: none; 1098 -webkit-appearance: none; 1099 overflow: visible; 1100 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1); 1101 flex-shrink: 0; 1102 -webkit-tap-highlight-color: transparent; 1103} 1104.mat-mdc-fab-base .mat-mdc-button-ripple, 1105.mat-mdc-fab-base .mat-mdc-button-persistent-ripple, 1106.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before { 1107 top: 0; 1108 left: 0; 1109 right: 0; 1110 bottom: 0; 1111 position: absolute; 1112 pointer-events: none; 1113 border-radius: inherit; 1114} 1115.mat-mdc-fab-base .mat-mdc-button-ripple { 1116 overflow: hidden; 1117} 1118.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before { 1119 content: ""; 1120 opacity: 0; 1121} 1122.mat-mdc-fab-base .mdc-button__label, 1123.mat-mdc-fab-base .mat-icon { 1124 z-index: 1; 1125 position: relative; 1126} 1127.mat-mdc-fab-base .mat-focus-indicator { 1128 top: 0; 1129 left: 0; 1130 right: 0; 1131 bottom: 0; 1132 position: absolute; 1133} 1134.mat-mdc-fab-base:focus-visible > .mat-focus-indicator::before { 1135 content: ""; 1136} 1137.mat-mdc-fab-base._mat-animation-noopable { 1138 transition: none !important; 1139 animation: none !important; 1140} 1141.mat-mdc-fab-base::before { 1142 position: absolute; 1143 box-sizing: border-box; 1144 width: 100%; 1145 height: 100%; 1146 top: 0; 1147 left: 0; 1148 border: 1px solid transparent; 1149 border-radius: inherit; 1150 content: ""; 1151 pointer-events: none; 1152} 1153.mat-mdc-fab-base[hidden] { 1154 display: none; 1155} 1156.mat-mdc-fab-base::-moz-focus-inner { 1157 padding: 0; 1158 border: 0; 1159} 1160.mat-mdc-fab-base:active, .mat-mdc-fab-base:focus { 1161 outline: none; 1162} 1163.mat-mdc-fab-base:hover {
1164 cursor: pointer; 1165} 1166.mat-mdc-fab-base > svg { 1167 width: 100%; 1168} 1169.mat-mdc-fab-base .mat-icon, .mat-mdc-fab-base .material-icons { 1170 transition: transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1); 1171 fill: currentColor; 1172 will-change: transform; 1173} 1174.mat-mdc-fab-base .mat-focus-indicator::before { 1175 margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1); 1176} 1177.mat-mdc-fab-base[disabled], .mat-mdc-fab-base.mat-mdc-button-disabled { 1178 cursor: default; 1179 pointer-events: none; 1180} 1181.mat-mdc-fab-base[disabled], .mat-mdc-fab-base[disabled]:focus, .mat-mdc-fab-base.mat-mdc-button-disabled, .mat-mdc-fab-base.mat-mdc-button-disabled:focus { 1182 box-shadow: none; 1183} 1184.mat-mdc-fab-base.mat-mdc-button-disabled-interactive { 1185 pointer-events: auto; 1186} 1187 1188.mat-mdc-fab { 1189 background-color: var(--mat-fab-container-color, var(--mat-sys-primary-container)); 1190 border-radius: var(--mat-fab-container-shape, var(--mat-sys-corner-large)); 1191 color: var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit)); 1192 box-shadow: var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3)); 1193} 1194@media (hover: hover) { 1195 .mat-mdc-fab:hover { 1196 box-shadow: var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4)); 1197 } 1198} 1199.mat-mdc-fab:focus { 1200 box-shadow: var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3)); 1201} 1202.mat-mdc-fab:active, .mat-mdc-fab:focus:active { 1203 box-shadow: var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3)); 1204} 1205.mat-mdc-fab[disabled], .mat-mdc-fab.mat-mdc-button-disabled { 1206 cursor: default; 1207 pointer-events: none; 1208 color: var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1209 background-color: var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 1210} 1211.mat-mdc-fab.mat-mdc-button-disabled-interactive { 1212 pointer-events: auto; 1213} 1214.mat-mdc-fab .mat-mdc-button-touch-target { 1215 position: absolute; 1216 top: 50%; 1217 height: var(--mat-fab-touch-target-size, 48px); 1218 display: var(--mat-fab-touch-target-display, block); 1219 left: 50%; 1220 width: var(--mat-fab-touch-target-size, 48px); 1221 transform: translate(-50%, -50%); 1222} 1223.mat-mdc-fab .mat-ripple-element { 1224 background-color: var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 1225} 1226.mat-mdc-fab .mat-mdc-button-persistent-ripple::before { 1227 background-color: var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container)); 1228} 1229.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 1230 background-color: var(--mat-fab-disabled-state-layer-color); 1231} 1232.mat-mdc-fab:hover > .mat-mdc-button-persistent-ripple::before { 1233 opacity: var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 1234} 1235.mat-mdc-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 1236 opacity: var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 1237} 1238.mat-mdc-fab:active > .mat-mdc-button-persistent-ripple::before { 1239 opacity: var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 1240} 1241 1242.mat-mdc-mini-fab { 1243 width: 40px; 1244 height: 40px; 1245 background-color: var(--mat-fab-small-container-color, var(--mat-sys-primary-container)); 1246 border-radius: var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium)); 1247 color: var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit)); 1248 box-shadow: var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3)); 1249} 1250@media (hover: hover) { 1251 .mat-mdc-mini-fab:hover { 1252 box-shadow: var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4)); 1253 } 1254} 1255.mat-mdc-mini-fab:focus { 1256 box-shadow: var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3)); 1257} 1258.mat-mdc-mini-fab:active, .mat-mdc-mini-fab:focus:active { 1259 box-shadow: var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3)); 1260} 1261.mat-mdc-mini-fab[disabled], .mat-mdc-mini-fab.mat-mdc-button-disabled { 1262 cursor: default; 1263 pointer-events: none; 1264 color: var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1265 background-color: var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 1266} 1267.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive { 1268 pointer-events: auto; 1269} 1270.mat-mdc-mini-fab .mat-mdc-button-touch-target { 1271 position: absolute; 1272 top: 50%; 1273 height: var(--mat-fab-small-touch-target-size, 48px); 1274 display: var(--mat-fab-small-touch-target-display); 1275 left: 50%; 1276 width: var(--mat-fab-small-touch-target-size, 48px); 1277 transform: translate(-50%, -50%); 1278} 1279.mat-mdc-mini-fab .mat-ripple-element { 1280 background-color: var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 1281} 1282.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before { 1283 background-color: var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container)); 1284} 1285.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 1286 background-color: var(--mat-fab-small-disabled-state-layer-color); 1287} 1288.mat-mdc-mini-fab:hover > .mat-mdc-button-persistent-ripple::before { 1289 opacity: var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 1290} 1291.mat-mdc-mini-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 1292 opacity: var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 1293} 1294.mat-mdc-mini-fab:active > .mat-mdc-button-persistent-ripple::before { 1295 opacity: var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 1296} 1297 1298.mat-mdc-extended-fab { 1299 -moz-osx-font-smoothing: grayscale; 1300 -webkit-font-smoothing: antialiased; 1301 padding-left: 20px; 1302 padding-right: 20px; 1303 width: auto; 1304 max-width: 100%; 1305 line-height: normal; 1306 box-shadow: var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3)); 1307 height: var(--mat-fab-extended-container-height, 56px); 1308 border-radius: var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large)); 1309 font-family: var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font)); 1310 font-size: var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size)); 1311 font-weight: var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight)); 1312 letter-spacing: var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking)); 1313} 1314@media (hover: hover) { 1315 .mat-mdc-extended-fab:hover { 1316 box-shadow: var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4)); 1317 } 1318} 1319.mat-mdc-extended-fab:focus { 1320 box-shadow: var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3)); 1321} 1322.mat-mdc-extended-fab:active, .mat-mdc-extended-fab:focus:active { 1323 box-shadow: var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3)); 1324} 1325.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab.mat-mdc-button-disabled { 1326 cursor: default; 1327 pointer-events: none; 1328} 1329.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab[disabled]:focus, .mat-mdc-extended-fab.mat-mdc-button-disabled, .mat-mdc-extended-fab.mat-mdc-button-disabled:focus { 1330 box-shadow: none; 1331} 1332.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive { 1333 pointer-events: auto; 1334} 1335[dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .mat-icon, [dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .material-icons, 1336.mat-mdc-extended-fab > .mat-icon, 1337.mat-mdc-extended-fab > .material-icons { 1338 margin-left: -8px; 1339 margin-right: 12px; 1340} 1341.mat-mdc-extended-fab .mdc-button__label + .mat-icon, 1342.mat-mdc-extended-fab .mdc-button__label + .material-icons, [dir=rtl] .mat-mdc-extended-fab > .mat-icon, [dir=rtl] .mat-mdc-extended-fab > .material-icons { 1343 margin-left: 12px; 1344 margin-right: -8px; 1345} 1346.mat-mdc-extended-fab .mat-mdc-button-touch-target { 1347 width: 100%; 1348} 1349`],encapsulation:2,changeDetection:0})}return t})(),Vu=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ue({type:t});static \u0275inj=ae({imports:[J0,er]})}return t})()});var TP,SP,MP,AP,ax,kP,RP,OP,NP,FP,Ci,lx,cx=h(()=>{he();gs();vu();_();_();_s();Yr();zr();Tu();qa();ov();De();vs();TP=["tooltip"],SP=20,MP=new y("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(j);return()=>wu(t,{scrollThrottle:SP})}}),AP=new y("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})}),ax="tooltip-panel",kP={passive:!0},RP=8,OP=8,NP=24,FP=200,Ci=(()=>{class t{_elementRef=u(K);_ngZone=u(T);_platform=u(Ce);_ariaDescriber=u(N0);_focusMonitor=u(Wr);_dir=u(Zn);_injector=u(j);
1349_viewContainerRef=u(kt);_mediaMatcher=u(el);_document=u(z);_renderer=u(qe);_animationsDisabled=un();_defaultOptions=u(AP,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=lx;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Di(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=Di(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Mn(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Mn(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new w;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=RP}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Xe(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(i=>i()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new tr(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Xe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&s._origin instanceof K)return this._overlayRef;this._detach()}let i=this._injector.get(os).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${ax}`,o=Iu(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i).withPopoverLocation("global");return o.positionChanges.pipe(Xe(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=ps(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(MP)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Xe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Xe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Xe(this._destroyed)).subscribe(s=>{s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Xe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(D(D({},r.main),o.main)),this._addOffset(D(D({},r.fallback),o.fallback))])}_addOffset(e){let i=OP,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Wt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e instanceof Set?Array.from(e):e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=r==="end"?"left":"right":s=r==="start"?"left"
1349:"right":s=i==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let a=this._overlayRef;if(a){let l=`${this._cssClassPrefix}-${ax}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",e=>{let i=e.relatedTarget;(!i||!this._overlayRef?.overlayElement.contains(i))&&this.hide()}),this._addListener("wheel",e=>{if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",e),this._addListener("touchcancel",e)}}}_addListener(e,i){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,e,i,kP))}_isTouchPlatform(){let e=this._defaultOptions?.detectHoverCapability;return typeof e=="function"?!e():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!e&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||Wt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=e=>e.type==="keydown"?this._isTooltipVisible()&&e.keyCode===27&&!cs(e):!0;static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&pe("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),lx=(()=>{class t{_changeDetectorRef=u(gt);_elementRef=u(K);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=un();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new w;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>NP&&e.width>=FP}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Pt(TP,7),i&2){let o;Ae(o=ke())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&be("mouseleave",function(s){return r._handleMouseLeave(s)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){i&1&&(G(0,"div",1,0),Yi("animationend",function(s){return r._handleAnimationEnd(s)}),G(2,"div",2),F(3),Q()()),i&2&&(Aa(r.tooltipClass),pe("mdc-tooltip--multiline",r._isMultiline),E(3),se(r.message))},styles:[`.mat-mdc-tooltip { 1350 position: relative; 1351 transform: scale(0); 1352 display: inline-flex; 1353} 1354.mat-mdc-tooltip::before { 1355 content: ""; 1356 top: 0; 1357 right: 0; 1358 bottom: 0; 1359 left: 0; 1360 z-index: -1; 1361 position: absolute; 1362} 1363.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before { 1364 top: -8px; 1365} 1366.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before { 1367 bottom: -8px; 1368} 1369.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before { 1370 left: -8px; 1371} 1372.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before { 1373 right: -8px; 1374} 1375.mat-mdc-tooltip._mat-animation-noopable { 1376 animation: none; 1377 transform: scale(1); 1378} 1379 1380.mat-mdc-tooltip-surface { 1381 word-break: normal;
1382 overflow-wrap: anywhere; 1383 padding: 4px 8px; 1384 min-width: 40px; 1385 max-width: 200px; 1386 min-height: 24px; 1387 max-height: 40vh; 1388 box-sizing: border-box; 1389 overflow: hidden; 1390 text-align: center; 1391 will-change: transform, opacity; 1392 background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface)); 1393 color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface)); 1394 border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small)); 1395 font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font)); 1396 font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size)); 1397 font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight)); 1398 line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height)); 1399 letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking)); 1400} 1401.mat-mdc-tooltip-surface::before { 1402 position: absolute; 1403 box-sizing: border-box; 1404 width: 100%; 1405 height: 100%; 1406 top: 0; 1407 left: 0; 1408 border: 1px solid transparent; 1409 border-radius: inherit; 1410 content: ""; 1411 pointer-events: none; 1412} 1413.mdc-tooltip--multiline .mat-mdc-tooltip-surface { 1414 text-align: left; 1415} 1416[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface { 1417 text-align: right; 1418} 1419 1420.mat-mdc-tooltip-panel { 1421 line-height: normal; 1422} 1423.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive { 1424 pointer-events: none; 1425} 1426 1427@keyframes mat-mdc-tooltip-show { 1428 0% { 1429 opacity: 0; 1430 transform: scale(0.8); 1431 } 1432 100% { 1433 opacity: 1; 1434 transform: scale(1); 1435 } 1436} 1437@keyframes mat-mdc-tooltip-hide { 1438 0% { 1439 opacity: 1; 1440 transform: scale(1); 1441 } 1442 100% { 1443 opacity: 0; 1444 transform: scale(0.8); 1445 } 1446} 1447.mat-mdc-tooltip-show { 1448 animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards; 1449} 1450 1451.mat-mdc-tooltip-hide { 1452 animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards; 1453} 1454`],encapsulation:2,changeDetection:0})}return t})()});var il=h(()=>{cx()});var vv,yv,dx=h(()=>{_();vv=new y("MAT_DATE_LOCALE",{providedIn:"root",factory:()=>u(Zi)}),yv=new y("mat-date-formats")});var ux,fx=h(()=>{_();ux=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var ju,hx=h(()=>{ju=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}}});var px=h(()=>{dx()});var bv,mx,gx=h(()=>{_();_();De();he();bv=class{_box;_destroyed=new w;_resizeSubject=new w;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new J(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(L(e=>e.some(i=>i.target===n)),xt({bufferSize:1,refCount:!0}),Xe(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},mx=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=u(T);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new bv(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function UP(t,n){t&1&&le(0,"span",21)}function $P(t,n){if(t&1&&(S(0,"label",20),Pe(1,1),ie(2,UP,1,0,"span",21),O()),t&2){let e=W(2);fe("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),oe("for",e._control.disableAutomaticLabeling?null:e._control.id),E(2),re(!e.hideRequiredMarker&&e._control.required?2:-1)}}function zP(t,n){if(t&1&&ie(0,$P,3,5,"label",20),t&2){let e=W();re(e._hasFloatingLabel()?0:-1)}}function GP(t,n){t&1&&le(0,"div",7)}function WP(t,n){}function qP(t,n){if(t&1&&sn(0,WP,0,0,"ng-template",13),t&2){W(2);let e=es(1);fe("ngTemplateOutlet",e)}}function YP(t,n){if(t&1&&(S(0,"div",9),ie(1,qP,1,1,null,13),O()),t&2){let e=W();fe("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),E(),re(e._forceDisplayInfixLabel()?-1:1)}}function KP(t,n){t&1&&(S(0,"div",10,2),Pe(2,2),O())}function ZP(t,n){t&1&&(S(0,"div",11,3),Pe(2,3),O())}function QP(t,n){}function XP(t,n){if(t&1&&sn(0,QP,0,0,"ng-template",13),t&2){W();let e=es(1);fe("ngTemplateOutlet",e)}}function JP(t,n){t&1&&(S(0,"div",14,4),Pe(2,4),O())}function e1(t,n){t&1&&(S(0,"div",15,5),Pe(2,5),O())}function t1(t,n){t&1&&le(0,"div",16)}function n1(t,n){t&1&&(S(0,"div",18),Pe(1,6),O())}function i1(t,n){if(t&1&&(S(0,"mat-hint",22),F(1),O()),t&2){let e=W(2);fe("id",e._hintLabelId),E(),se(e.hintLabel)}}function r1(t,n){if(t&1&&(S(0,"div",19),ie(1,i1,2,2,"mat-hint",22),Pe(2,7),le(3,"div",23),Pe(4,8),O()),t&2){let e=W();E(),re(e.hintLabel?1:-1)}}function o1(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}
1454var PP,LP,VP,vx,yx,bx,_x,jP,BP,HP,rl,Ev,Dv,_v,Tx,Cv,wv,Sx,Ex,Dx,Bu,Cx,wx,Hu,Uu,$u,xx,s1,Ix,a1,zu,Gu=h(()=>{Yr();zr();gs();_s();Tn();_();_();De();he();gx();vs();PP=["notch"],LP=["matFormFieldNotchedOutline",""],VP=["*"],vx=["iconPrefixContainer"],yx=["textPrefixContainer"],bx=["iconSuffixContainer"],_x=["textSuffixContainer"],jP=["textField"],BP=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],HP=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];rl=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,selectors:[["mat-label"]]})}return t})(),Ev=new y("MatError"),Dv=(()=>{class t{id=u(Ot).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,r){i&2&&an("id",r.id)},inputs:{id:"id"},features:[pt([{provide:Ev,useExisting:t}])]})}return t})(),_v=(()=>{class t{align="start";id=u(Ot).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(an("id",r.id),oe("align",null),pe("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),Tx=new y("MatPrefix"),Cv=new y("MatSuffix"),wv=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[pt([{provide:Cv,useExisting:t}])]})}return t})(),Sx=new y("FloatingLabelParent"),Ex=(()=>{class t{_elementRef=u(K);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(mx);_ngZone=u(T);_parent=u(Sx);_resizeSubscription=new Ee;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return o1(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&pe("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();Dx="mdc-line-ripple--active",Bu="mdc-line-ripple--deactivating",Cx=(()=>{class t{_elementRef=u(K);_cleanupTransitionEnd;constructor(){let e=u(T),i=u(qe);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Bu),e.add(Dx)}deactivate(){this._elementRef.nativeElement.classList.add(Bu)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(Bu);e.propertyName==="opacity"&&r&&i.remove(Dx,Bu)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),wx=(()=>{class t{_elementRef=u(K);_ngZone=u(T);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}
1454_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Pt(PP,5),i&2){let o;Ae(o=ke())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&pe("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:LP,ngContentSelectors:VP,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(ln(),et(0,"div",1),G(1,"div",2,0),Pe(3),Q(),et(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Hu=(()=>{class t{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t})}return t})(),Uu=new y("MatFormField"),$u=new y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),xx="fill",s1="auto",Ix="fixed",a1="translateY(-50%)",zu=(()=>{class t{_elementRef=u(K);_changeDetectorRef=u(gt);_platform=u(Ce);_idGenerator=u(Ot);_ngZone=u(T);_defaults=u($u,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Oa("iconPrefixContainer");_textPrefixContainerSignal=Oa("textPrefixContainer");_iconSuffixContainerSignal=Oa("iconSuffixContainer");_textSuffixContainerSignal=Oa("textSuffixContainer");_prefixSuffixContainers=Re(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=ow(rl);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Di(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||s1}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||xx;this._appearanceSignal.set(i)}_appearanceSignal=st(xx);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Ix}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Ix}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new w;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=un();constructor(){let e=this._defaults,i=u(Zn);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),zt(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}
1454ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Re(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Qt([void 0,void 0]),x(()=>[i.errorState,i.userAriaDescribedBy]),Dc(),L(([[o,s],[a,l]])=>o!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(Xe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),ai(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){dw({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Re(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];
1454if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,s=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let i=this._control.describedByIds,r;if(i){let o=this._describedByIds||e;r=e.concat(i.filter(s=>s&&!o.includes(s)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,s=e?.getBoundingClientRect().width??0,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",f=`${s+a}px`,m=`calc(${d} * (${f} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,g=`var(--mat-mdc-form-field-label-transform, ${a1} translateX(${m}))`,C=s+a+l+c;return[g,C]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(zd(o,r._labelChild,rl,5),$d(o,Hu,5)(o,Tx,5)(o,Cv,5)(o,Ev,5)(o,_v,5)),i&2){Wd();let s;Ae(s=ke())&&(r._formFieldControl=s.first),Ae(s=ke())&&(r._prefixChildren=s),Ae(s=ke())&&(r._suffixChildren=s),Ae(s=ke())&&(r._errorChildren=s),Ae(s=ke())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Gd(r._iconPrefixContainerSignal,vx,5)(r._textPrefixContainerSignal,yx,5)(r._iconSuffixContainerSignal,bx,5)(r._textSuffixContainerSignal,_x,5),Pt(jP,5)(vx,5)(yx,5)(bx,5)(_x,5)(Ex,5)(wx,5)(Cx,5)),i&2){Wd(4);let o;Ae(o=ke())&&(r._textField=o.first),Ae(o=ke())&&(r._iconPrefixContainer=o.first),Ae(o=ke())&&(r._textPrefixContainer=o.first),Ae(o=ke())&&(r._iconSuffixContainer=o.first),Ae(o=ke())&&(r._textSuffixContainer=o.first),Ae(o=ke())&&(r._floatingLabel=o.first),Ae(o=ke())&&(r._notchedOutline=o.first),Ae(o=ke())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,r){i&2&&pe("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[pt([{provide:Uu,useExisting:t},{provide:Sx,useExisting:t}])],ngContentSelectors:HP,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormField
1454FloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1&&(ln(BP),sn(0,zP,1,1,"ng-template",null,0,ka),S(2,"div",6,1),be("click",function(s){return r._control.onContainerClick(s)}),ie(4,GP,1,0,"div",7),S(5,"div",8),ie(6,YP,2,2,"div",9),ie(7,KP,3,0,"div",10),ie(8,ZP,3,0,"div",11),S(9,"div",12),ie(10,XP,1,1,null,13),Pe(11),O(),ie(12,JP,3,0,"div",14),ie(13,e1,3,0,"div",15),O(),ie(14,t1,1,0,"div",16),O(),S(15,"div",17),ie(16,n1,2,0,"div",18)(17,r1,5,1,"div",19),O()),i&2){let o;E(2),pe("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),E(2),re(!r._hasOutline()&&!r._control.disabled?4:-1),E(2),re(r._hasOutline()?6:-1),E(),re(r._hasIconPrefix?7:-1),E(),re(r._hasTextPrefix?8:-1),E(2),re(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),E(2),re(r._hasTextSuffix?12:-1),E(),re(r._hasIconSuffix?13:-1),E(),re(r._hasOutline()?-1:14),E(),pe("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let s=r._getSubscriptMessageType();E(),re((o=s)==="error"?16:o==="hint"?17:-1)}},dependencies:[Ex,wx,yg,Cx,_v],styles:[`.mdc-text-field { 1455 display: inline-flex; 1456 align-items: baseline; 1457 padding: 0 16px; 1458 position: relative; 1459 box-sizing: border-box; 1460 overflow: hidden; 1461 will-change: opacity, transform, color; 1462 border-top-left-radius: 4px; 1463 border-top-right-radius: 4px; 1464 border-bottom-right-radius: 0; 1465 border-bottom-left-radius: 0; 1466} 1467 1468.mdc-text-field__input { 1469 width: 100%; 1470 min-width: 0; 1471 border: none; 1472 border-radius: 0; 1473 background: none; 1474 padding: 0; 1475 -moz-appearance: none; 1476 -webkit-appearance: none; 1477 height: 28px; 1478} 1479.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button { 1480 display: none; 1481} 1482.mdc-text-field__input::-ms-clear { 1483 display: none; 1484} 1485.mdc-text-field__input:focus { 1486 outline: none; 1487} 1488.mdc-text-field__input:invalid { 1489 box-shadow: none; 1490} 1491.mdc-text-field__input::placeholder { 1492 opacity: 0; 1493} 1494.mdc-text-field__input::-moz-placeholder { 1495 opacity: 0; 1496} 1497.mdc-text-field__input::-webkit-input-placeholder { 1498 opacity: 0; 1499} 1500.mdc-text-field__input:-ms-input-placeholder { 1501 opacity: 0; 1502} 1503.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder { 1504 opacity: 1; 1505} 1506.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { 1507 opacity: 1; 1508} 1509.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { 1510 opacity: 1; 1511} 1512.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { 1513 opacity: 1; 1514} 1515.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder { 1516 opacity: 0; 1517} 1518.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder { 1519 opacity: 0; 1520} 1521.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder { 1522 opacity: 0; 1523} 1524.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder { 1525 opacity: 0; 1526} 1527.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input { 1528 height: 100%; 1529} 1530.mdc-text-field--outlined .mdc-text-field__input { 1531 display: flex; 1532 border: none !important; 1533 background-color: transparent; 1534} 1535.mdc-text-field--disabled .mdc-text-field__input { 1536 pointer-events: auto; 1537} 1538.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input { 1539 color: var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface)); 1540 caret-color: var(--mat-form-field-filled-caret-color, var(--mat-sys-primary)); 1541} 1542.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { 1543 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1544} 1545.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { 1546 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1547} 1548.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { 1549 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1550} 1551.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { 1552 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1553} 1554.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input { 1555 color: var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface)); 1556 caret-color: var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary)); 1557} 1558.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { 1559 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1560} 1561.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { 1562 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1563} 1564.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { 1565 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1566} 1567.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { 1568 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1569} 1570.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { 1571 caret-color: var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error)); 1572} 1573.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { 1574 caret-color: var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error)); 1575} 1576.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input { 1577 color: var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1578} 1579.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input { 1580 color: var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1581} 1582@media (forced-colors: active) { 1583 .mdc-text-field--disabled .mdc-text-field__input { 1584 background-color: Window; 1585 } 1586} 1587 1588.mdc-text-field--filled { 1589 height: 56px; 1590 border-bottom-right-radius: 0; 1591 border-bottom-left-radius: 0; 1592 border-top-left-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small)); 1593 border-top-right-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small)); 1594} 1595.mdc-text-field--filled:not(.mdc-text-field--disabled) { 1596 background-color: var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant)); 1597} 1598.mdc-text-field--filled.mdc-text-field--disabled { 1599 background-color: var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent)); 1600} 1601 1602.mdc-text-field--outlined { 1603 height: 56px; 1604 overflow: visible; 1605 padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 1606 padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px); 1607} 1608[dir=rtl] .mdc-text-field--outlined { 1609 padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px); 1610 padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 1611} 1612 1613.mdc-floating-label { 1614 position: absolute; 1615 left: 0; 1616 transform-origin: left top; 1617 line-height: 1.15rem; 1618 text-align: left; 1619 text-overflow: ellipsis; 1620 white-space: nowrap; 1621 cursor: text; 1622 overflow: hidden; 1623 will-change: transform; 1624} 1625[dir=rtl] .mdc-floating-label { 1626 right: 0; 1627 left: auto; 1628 transform-origin: right top; 1629 text-align: right; 1630} 1631.mdc-text-field .mdc-floating-label { 1632 top: 50%; 1633 transform: translateY(-50%); 1634 pointer-events: none; 1635} 1636.mdc-notched-outline .mdc-floating-label { 1637 display: inline-block; 1638 position: relative; 1639 max-width: 100%; 1640} 1641.mdc-text-field--outlined .mdc-floating-label { 1642 left: 4px; 1643 right: auto; 1644} 1645[dir=rtl] .mdc-text-field--outlined .mdc-floating-label { 1646 left: auto; 1647 right: 4px; 1648} 1649.mdc-text-field--filled .mdc-floating-label { 1650 left: 16px; 1651 right: auto; 1652} 1653[dir=rtl] .mdc-text-field--filled .mdc-floating-label { 1654 left: auto; 1655 right: 16px; 1656} 1657.mdc-text-field--disabled .mdc-floating-label { 1658 cursor: default; 1659} 1660@media (forced-colors: active) { 1661 .mdc-text-field--disabled .mdc-floating-label { 1662 z-index: 1; 1663 } 1664} 1665.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label { 1666 display: none; 1667} 1668.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label { 1669 color: var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant)); 1670} 1671.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { 1672 color: var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary)); 1673} 1674.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1674over .mdc-floating-label { 1675 color: var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant)); 1676} 1677.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label { 1678 color: var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1679} 1680.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { 1681 color: var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error)); 1682} 1683.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { 1684 color: var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error)); 1685} 1686.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { 1687 color: var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container)); 1688} 1689.mdc-text-field--filled .mdc-floating-label { 1690 font-family: var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font)); 1691 font-size: var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size)); 1692 font-weight: var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight)); 1693 letter-spacing: var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking)); 1694} 1695.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label { 1696 color: var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant)); 1697} 1698.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { 1699 color: var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary)); 1700} 1701.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label { 1702 color: var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface)); 1703} 1704.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label { 1705 color: var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1706} 1707.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { 1708 color: var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error)); 1709} 1710.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { 1711 color: var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error)); 1712} 1713.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { 1714 color: var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container)); 1715} 1716.mdc-text-field--outlined .mdc-floating-label { 1717 font-family: var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font)); 1718 font-size: var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size)); 1719 font-weight: var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight)); 1720 letter-spacing: var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking)); 1721} 1722 1723.mdc-floating-label--float-above { 1724 cursor: auto; 1725 transform: translateY(-106%) scale(0.75); 1726} 1727.mdc-text-field--filled .mdc-floating-label--float-above { 1728 transform: translateY(-106%) scale(0.75); 1729} 1730.mdc-text-field--outlined .mdc-floating-label--float-above { 1731 transform: translateY(-37.25px) scale(1); 1732 font-size: 0.75rem; 1733} 1734.mdc-notched-outline .mdc-floating-label--float-above { 1735 text-overflow: clip; 1736} 1737.mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1738 max-width: 133.3333333333%; 1739} 1740.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1741 transform: translateY(-34.75px) scale(0.75); 1742} 1743.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1744 font-size: 1rem; 1745} 1746 1747.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after { 1748 margin-left: 1px; 1749 margin-right: 0; 1750 content: "*"; 1751} 1752[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after { 1753 margin-left: 0; 1754 margin-right: 1px; 1755} 1756 1757.mdc-notched-outline { 1758 display: flex; 1759 position: absolute; 1760 top: 0; 1761 right: 0; 1762 left: 0; 1763 box-sizing: border-box; 1764 width: 100%; 1765 max-width: 100%; 1766 height: 100%; 1767 text-align: left; 1768 pointer-events: none; 1769} 1770[dir=rtl] .mdc-notched-outline { 1771 text-align: right; 1772} 1773.mdc-text-field--outlined .mdc-notched-outline { 1774 z-index: 1; 1775} 1776 1777.mat-mdc-notch-piece { 1778 box-sizing: border-box; 1779 height: 100%; 1780 pointer-events: none; 1781 border: none; 1782 border-top: 1px solid; 1783 border-bottom: 1px solid; 1784} 1785.mdc-text-field--focused .mat-mdc-notch-piece { 1786 border-width: 2px; 1787} 1788.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece { 1789 border-color: var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline)); 1790 border-width: var(--mat-form-field-outlined-outline-width, 1px); 1791} 1792.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1792over .mat-mdc-notch-piece { 1793 border-color: var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface)); 1794} 1795.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece { 1796 border-color: var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary)); 1797} 1798.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece { 1799 border-color: var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 1800} 1801.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece { 1802 border-color: var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error)); 1803} 1804.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece { 1805 border-color: var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container)); 1806} 1807.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece { 1808 border-color: var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error)); 1809} 1810.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece { 1811 border-width: var(--mat-form-field-outlined-focus-outline-width, 2px); 1812} 1813 1814.mdc-notched-outline__leading { 1815 border-left: 1px solid; 1816 border-right: none; 1817 border-top-right-radius: 0; 1818 border-bottom-right-radius: 0; 1819 border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1820 border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1821} 1822.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading { 1823 width: max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 1824} 1825[dir=rtl] .mdc-notched-outline__leading { 1826 border-left: none; 1827 border-right: 1px solid; 1828 border-bottom-left-radius: 0; 1829 border-top-left-radius: 0; 1830 border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1831 border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1832} 1833 1834.mdc-notched-outline__trailing { 1835 flex-grow: 1; 1836 border-left: none; 1837 border-right: 1px solid; 1838 border-top-left-radius: 0; 1839 border-bottom-left-radius: 0; 1840 border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1841 border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1842} 1843[dir=rtl] .mdc-notched-outline__trailing { 1844 border-left: 1px solid; 1845 border-right: none; 1846 border-top-right-radius: 0; 1847 border-bottom-right-radius: 0; 1848 border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1849 border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1850} 1851 1852.mdc-notched-outline__notch { 1853 flex: 0 0 auto; 1854 width: auto; 1855} 1856.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch { 1857 max-width: min(var(--mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2)); 1858} 1859.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1860 max-width: min(100%, calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2)); 1861} 1862.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1863 padding-top: 1px; 1864} 1865.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1866 padding-top: 2px; 1867} 1868.mdc-notched-outline--notched .mdc-notched-outline__notch { 1869 padding-left: 0; 1870 padding-right: 8px; 1871 border-top: none; 1872} 1873[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch { 1874 padding-left: 8px; 1875 padding-right: 0; 1876} 1877.mdc-notched-outline--no-label .mdc-notched-outline__notch { 1878 display: none; 1879} 1880 1881.mdc-line-ripple::before, .mdc-line-ripple::after { 1882 position: absolute; 1883 bottom: 0; 1884 left: 0; 1885 width: 100%; 1886 border-bottom-style: solid; 1887 content: ""; 1888} 1889.mdc-line-ripple::before { 1890 z-index: 1; 1891 border-bottom-width: var(--mat-form-field-filled-active-indicator-height, 1px); 1892} 1893.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before { 1894 border-bottom-color: var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant)); 1895} 1896.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1896over .mdc-line-ripple::before { 1897 border-bottom-color: var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface)); 1898} 1899.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before { 1900 border-bottom-color: var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1901} 1902.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before { 1903 border-bottom-color: var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error)); 1904} 1905.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before { 1906 border-bottom-color: var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container)); 1907} 1908.mdc-line-ripple::after { 1909 transform: scaleX(0); 1910 opacity: 0; 1911 z-index: 2; 1912} 1913.mdc-text-field--filled .mdc-line-ripple::after { 1914 border-bottom-width: var(--mat-form-field-filled-focus-active-indicator-height, 2px); 1915} 1916.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after { 1917 border-bottom-color: var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary)); 1918} 1919.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after { 1920 border-bottom-color: var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error)); 1921} 1922 1923.mdc-line-ripple--active::after { 1924 transform: scaleX(1); 1925 opacity: 1; 1926} 1927 1928.mdc-line-ripple--deactivating::after { 1929 opacity: 0; 1930} 1931 1932.mdc-text-field--disabled { 1933 pointer-events: none; 1934} 1935 1936.mat-mdc-form-field-textarea-control { 1937 vertical-align: middle; 1938 resize: vertical; 1939 box-sizing: border-box; 1940 height: auto; 1941 margin: 0; 1942 padding: 0; 1943 border: none; 1944 overflow: auto; 1945} 1946 1947.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control { 1948 -moz-osx-font-smoothing: grayscale; 1949 -webkit-font-smoothing: antialiased; 1950 font: inherit; 1951 letter-spacing: inherit; 1952 text-decoration: inherit; 1953 text-transform: inherit; 1954 border: none; 1955} 1956 1957.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label { 1958 -moz-osx-font-smoothing: grayscale; 1959 -webkit-font-smoothing: antialiased; 1960 line-height: normal; 1961 pointer-events: all; 1962 will-change: auto; 1963} 1964 1965.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label { 1966 cursor: inherit; 1967} 1968 1969.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input, 1970.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control { 1971 height: auto; 1972} 1973 1974.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] { 1975 height: 23px; 1976} 1977 1978.mat-mdc-text-field-wrapper { 1979 height: auto; 1980 flex: auto; 1981 will-change: auto; 1982} 1983 1984.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { 1985 padding-left: 0; 1986 --mat-mdc-form-field-label-offset-x: -16px; 1987} 1988 1989.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { 1990 padding-right: 0; 1991} 1992 1993[dir=rtl] .mat-mdc-text-field-wrapper { 1994 padding-left: 16px; 1995 padding-right: 16px; 1996} 1997[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { 1998 padding-left: 0; 1999} 2000[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { 2001 padding-right: 0; 2002} 2003 2004.mat-form-field-disabled .mdc-text-field__input::placeholder { 2005 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2006} 2007.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder { 2008 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2009} 2010.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder { 2011 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2012} 2013.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder { 2014 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2015} 2016 2017.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder { 2018 transition-delay: 40ms; 2019 transition-duration: 110ms; 2020 opacity: 1; 2021} 2022 2023.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label { 2024 left: auto; 2025 right: auto; 2026} 2027 2028.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input { 2029 display: inline-block; 2030} 2031 2032.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch { 2033 padding-top: 0; 2034} 2035 2036.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { 2037 border-left: 1px solid transparent; 2038} 2039 2040[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { 2041 border-left: none; 2042 border-right: 1px solid transparent; 2043} 2044 2045.mat-mdc-form-field-infix { 2046 min-height: var(--mat-form-field-container-height, 56px); 2047 padding-top: var(--mat-form-field-filled-with-label-container-padding-top, 24px); 2048 padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom, 8px); 2049} 2050.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix { 2051 padding-top: var(--mat-form-field-container-vertical-padding, 16px); 2052 padding-bottom: var(--mat-form-field-container-vertical-padding, 16px); 2053} 2054 2055.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label { 2056 top: calc(var(--mat-form-field-container-height, 56px) / 2); 2057} 2058 2059.mdc-text-field--filled .mat-mdc-floating-label { 2060 display: var(--mat-form-field-filled-label-display, block); 2061} 2062 2063.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 2064 --mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) 2065 scale(var(--mat-mdc-form-field-floating-label-scale, 0.75)); 2066 transform: var(--mat-mdc-form-field-label-transform); 2067} 2068 2069@keyframes _mat-form-field-subscript-animation { 2070 from { 2071 opacity: 0; 2072 transform: translateY(-5px); 2073 } 2074 to { 2075 opacity: 1; 2076 transform: translateY(0); 2077 } 2078} 2079.mat-mdc-form-field-subscript-wrapper { 2080 box-sizing: border-box; 2081 width: 100%; 2082 position: relative; 2083} 2084 2085.mat-mdc-form-field-hint-wrapper, 2086.mat-mdc-form-field-error-wrapper { 2087 position: absolute; 2088 top: 0; 2089 left: 0; 2090 right: 0; 2091 padding: 0 16px; 2092 opacity: 1; 2093 transform: translateY(0); 2094 animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2); 2095} 2096 2097.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper, 2098.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper { 2099 position: static; 2100} 2101 2102.mat-mdc-form-field-bottom-align::before { 2103 content: ""; 2104 display: inline-block; 2105 height: 16px; 2106} 2107 2108.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before { 2109 content: unset; 2110} 2111 2112.mat-mdc-form-field-hint-end { 2113 order: 1; 2114} 2115 2116.mat-mdc-form-field-hint-wrapper { 2117 display: flex; 2118} 2119 2120.mat-mdc-form-field-hint-spacer { 2121 flex: 1 0 1em; 2122} 2123 2124.mat-mdc-form-field-error { 2125 display: block; 2126 color: var(--mat-form-field-error-text-color, var(--mat-sys-error)); 2127} 2128 2129.mat-mdc-form-field-subscript-wrapper, 2130.mat-mdc-form-field-bottom-align::before { 2131 -moz-osx-font-smoothing: grayscale; 2132 -webkit-font-smoothing: antialiased; 2133 font-family: var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font)); 2134 line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height)); 2135 font-size: var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size)); 2136 letter-spacing: var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking)); 2137 font-weight: var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight)); 2138} 2139 2140.mat-mdc-form-field-focus-overlay { 2141 top: 0; 2142 left: 0; 2143 right: 0; 2144 bottom: 0; 2145 position: absolute; 2146 opacity: 0; 2147 pointer-events: none; 2148 background-color: var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface)); 2149} 2150.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay { 2151 opacity: var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2152} 2153.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay { 2154 opacity: var(--mat-form-field-focus-state-layer-opacity, 0); 2155} 2156 2157select.mat-mdc-form-field-input-control { 2158 -moz-appearance: none; 2159 -webkit-appearance: none; 2160 background-color: transparent; 2161 display: inline-flex; 2162 box-sizing: border-box; 2163} 2164select.mat-mdc-form-field-input-control:not(:disabled) { 2165 cursor: pointer; 2166} 2167select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option { 2168 color: var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10)); 2169} 2170select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled { 2171 color: var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent)); 2172} 2173 2174.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {
2175 content: ""; 2176 width: 0; 2177 height: 0; 2178 border-left: 5px solid transparent; 2179 border-right: 5px solid transparent; 2180 border-top: 5px solid; 2181 position: absolute; 2182 right: 0; 2183 top: 50%; 2184 margin-top: -2.5px; 2185 pointer-events: none; 2186 color: var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant)); 2187} 2188[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after { 2189 right: auto; 2190 left: 0; 2191} 2192.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after { 2193 color: var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary)); 2194} 2195.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after { 2196 color: var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2197} 2198.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { 2199 padding-right: 15px; 2200} 2201[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { 2202 padding-right: 0; 2203 padding-left: 15px; 2204} 2205 2206@media (forced-colors: active) { 2207 .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper { 2208 outline: solid 1px; 2209 } 2210} 2211@media (forced-colors: active) { 2212 .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper { 2213 outline-color: GrayText; 2214 } 2215} 2216 2217@media (forced-colors: active) { 2218 .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper { 2219 outline: dashed 3px; 2220 } 2221} 2222 2223@media (forced-colors: active) { 2224 .mat-mdc-form-field.mat-focused .mdc-notched-outline { 2225 border: dashed 3px; 2226 } 2227} 2228 2229.mat-mdc-form-field-input-control[type=date], .mat-mdc-form-field-input-control[type=datetime], .mat-mdc-form-field-input-control[type=datetime-local], .mat-mdc-form-field-input-control[type=month], .mat-mdc-form-field-input-control[type=week], .mat-mdc-form-field-input-control[type=time] { 2230 line-height: 1; 2231} 2232.mat-mdc-form-field-input-control::-webkit-datetime-edit { 2233 line-height: 1; 2234 padding: 0; 2235 margin-bottom: -2px; 2236} 2237 2238.mat-mdc-form-field { 2239 --mat-mdc-form-field-floating-label-scale: 0.75; 2240 display: inline-flex; 2241 flex-direction: column; 2242 min-width: 0; 2243 text-align: left; 2244 -moz-osx-font-smoothing: grayscale; 2245 -webkit-font-smoothing: antialiased; 2246 font-family: var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font)); 2247 line-height: var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height)); 2248 font-size: var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size)); 2249 letter-spacing: var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking)); 2250 font-weight: var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight)); 2251} 2252.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above { 2253 font-size: calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale)); 2254} 2255.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 2256 font-size: var(--mat-form-field-outlined-label-text-populated-size); 2257} 2258[dir=rtl] .mat-mdc-form-field { 2259 text-align: right; 2260} 2261 2262.mat-mdc-form-field-flex { 2263 display: inline-flex; 2264 align-items: baseline; 2265 box-sizing: border-box; 2266 width: 100%; 2267} 2268 2269.mat-mdc-text-field-wrapper { 2270 width: 100%; 2271 z-index: 0; 2272} 2273 2274.mat-mdc-form-field-icon-prefix, 2275.mat-mdc-form-field-icon-suffix { 2276 align-self: center; 2277 line-height: 0; 2278 pointer-events: auto; 2279 position: relative; 2280 z-index: 1; 2281} 2282.mat-mdc-form-field-icon-prefix > .mat-icon, 2283.mat-mdc-form-field-icon-suffix > .mat-icon { 2284 padding: 0 12px; 2285 box-sizing: content-box; 2286} 2287 2288.mat-mdc-form-field-icon-prefix { 2289 color: var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant)); 2290} 2291.mat-form-field-disabled .mat-mdc-form-field-icon-prefix { 2292 color: var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2293} 2294 2295.mat-mdc-form-field-icon-suffix { 2296 color: var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant)); 2297} 2298.mat-form-field-disabled .mat-mdc-form-field-icon-suffix { 2299 color: var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2300} 2301.mat-form-field-invalid .mat-mdc-form-field-icon-suffix { 2302 color: var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error)); 2303} 2304.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix { 2305 color: var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container)); 2306} 2307.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix { 2308 color: var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error)); 2309} 2310 2311.mat-mdc-form-field-icon-prefix, 2312[dir=rtl] .mat-mdc-form-field-icon-suffix { 2313 padding: 0 4px 0 0; 2314} 2315 2316.mat-mdc-form-field-icon-suffix, 2317[dir=rtl] .mat-mdc-form-field-icon-prefix { 2318 padding: 0 0 0 4px; 2319} 2320 2321.mat-mdc-form-field-subscript-wrapper .mat-icon, 2322.mat-mdc-form-field label .mat-icon { 2323 width: 1em; 2324 height: 1em; 2325 font-size: inherit; 2326} 2327 2328.mat-mdc-form-field-infix { 2329 flex: auto; 2330 min-width: 0; 2331 width: 180px; 2332 position: relative; 2333 box-sizing: border-box; 2334} 2335.mat-mdc-form-field-infix:has(textarea[cols]) { 2336 width: auto; 2337} 2338 2339.mat-mdc-form-field .mdc-notched-outline__notch { 2340 margin-left: -1px; 2341 -webkit-clip-path: inset(-9em -999em -9em 1px); 2342 clip-path: inset(-9em -999em -9em 1px); 2343} 2344[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch { 2345 margin-left: 0; 2346 margin-right: -1px; 2347 -webkit-clip-path: inset(-9em 1px -9em -999em); 2348 clip-path: inset(-9em 1px -9em -999em); 2349} 2350 2351.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label { 2352 transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1); 2353} 2354.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input { 2355 transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1); 2356} 2357.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder { 2358 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 2359} 2360.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder { 2361 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 2362} 2363.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder { 2364 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 2365} 2366.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder { 2367 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 2368} 2369.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder { 2370 transition-delay: 40ms; 2371 transition-duration: 110ms; 2372} 2373.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { 2374 transition-delay: 40ms; 2375 transition-duration: 110ms; 2376} 2377.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { 2378 transition-delay: 40ms; 2379 transition-duration: 110ms; 2380} 2381.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { 2382 transition-delay: 40ms; 2383 transition-duration: 110ms; 2384} 2385.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before { 2386 transition-duration: 75ms; 2387} 2388.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after { 2389 transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1); 2390} 2391.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper, 2392.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper { 2393 animation-duration: 300ms; 2394} 2395 2396.mdc-notched-outline .mdc-floating-label { 2397 max-width: calc(100% + 1px); 2398} 2399 2400.mdc-notched-outline--upgraded .mdc-floating-label--float-above { 2401 max-width: calc(133.3333333333% + 1px); 2402} 2403`],encapsulation:2,changeDetection:0})}return t})()});var ol,sl=h(()=>{Gu();Gu();zr();C0();_();ol=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ue({type:t});static \u0275inj=ae({imports:[D0,zu,er]})}return t})()});function m1(){return window}
2403function al(t){let n;return t instanceof y?n=u(t):n=t,n}var c1,d1,Ax,kx,u1,f1,h1,Rx,Mv,Av,Ox,Nx,Es,Qr,Qn,Fx,Px,Lx,Vx,jx,xv,Iv,p1,Wu,Xr,wi,at,Tv,g1,xi,v1,Xn,kv,Bx,Rv,Mx,y1,qu,Sv,Hx,b1,_1,E1,D1,C1,Ov,Ux,$x,Yu=h(()=>{_();_();px();sl();De();he();Le();c1={parse:{dateInput:"DD.MM.YYYY"},display:{dateInput:"DD.MM.YYYY",monthYearLabel:"MMMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM"}},d1=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["kf-initial-spinner"]],decls:3,vars:0,consts:[[1,"kf-initial-spinner-overlay"],["width","40px","height","40px","viewBox","0 0 44 44","xmlns","http://www.w3.org/2000/svg",1,"kf-initial-spinner"],["fill","none","stroke-width","4","stroke-linecap","round","cx","22","cy","22","r","20",1,"kf-initial-spinner-circle"]],template:function(i,r){i&1&&(G(0,"div",0),jo(),G(1,"svg",1),et(2,"circle",2),Q()())},styles:["[_nghost-%COMP%]{position:fixed;z-index:1000;left:0;top:0;width:100vw;height:100vh;opacity:1;background-color:#fff}.kf-initial-spinner-hidden[_nghost-%COMP%] .kf-initial-spinner-overlay[_ngcontent-%COMP%]{background-color:var(--color-background-background)}.kf-initial-spinner-hidden[_nghost-%COMP%] .kf-initial-spinner-overlay[_ngcontent-%COMP%] .kf-initial-spinner[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .kf-initial-spinner-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background-color:#0003;opacity:1}[_nghost-%COMP%] .kf-initial-spinner-overlay[_ngcontent-%COMP%] .kf-initial-spinner[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spl-rotate 1.4s linear infinite;opacity:1}[_nghost-%COMP%] .kf-initial-spinner-overlay[_ngcontent-%COMP%] .kf-initial-spinner-circle[_ngcontent-%COMP%]{opacity:1;stroke-dasharray:123;stroke:#fff;transform-origin:center;animation:_ngcontent-%COMP%_spl-dashoffset 1.4s ease-in-out infinite}@keyframes _ngcontent-%COMP%_spl-rotate{to{transform:rotate(270deg)}}@keyframes _ngcontent-%COMP%_spl-dashoffset{0%{stroke-dashoffset:123}50%{stroke-dashoffset:31;transform:rotate(135deg)}to{stroke-dashoffset:123;transform:rotate(450deg)}}"]})}}return t})(),Ax=new y("KFThemeBathePath"),kx=new y("KFThemeServiceName"),u1=new y("KFThemeScopeSelector"),f1=new y("Class name for kf-theme-scope",{providedIn:"root",factory(){return"kf-theme-scope"}}),h1=new y("KFThemeLoglevel"),Rx=new y("KFThemeLoglevelConfigObject"),Mv=new y("KFThemeBasePathConfigObject"),Av=new y("KFThemeServiceNameConfigObject"),Ox=new y("KFThemeSpinnerConfigObject"),Nx=new y("KFThemeResourcesPathConfigObject"),Es={name:"@de.fiduciagad.kundenportal/kf-theme",version:"12.13.1"},Qr=(function(t){return t.DARK="DARK",t.LIGHT="LIGHT",t})(Qr||{}),Qn={version:Es.version,THEME_SERVICE_NAME:"kf-theme/assets?f=",THEME_SERVICE_NAME_KEY:"themeServiceName",THEME_BASE_PATH_KEY:"themeBasePath",themeColors:"",themeID:"",themeData:"",themeIsDark:null,themeAppearanceDefault:Qr.LIGHT,useImages:!0,isThemeInitialised:!1,themeFirstIsDark:null,themeDefaultId:"9998",themeBaseId:"8840_1",onThemeLoaded:null,basePath:null},Fx=new y("writable for theme id",{providedIn:"root",factory(){return new rt(1)}}),Px=new y("writable for useImage of theme",{providedIn:"root",factory(){return new rt(1)}}),Lx=new y("writable for appearance of theme",{providedIn:"root",factory(){return new rt(1)}}),Vx=new y("writable for the information of theming being initialized.",{providedIn:"root",factory(){return new rt(1)}}),jx=(()=>{class t{constructor(){this.theme=u(Fx).asObservable(),this.useImage=u(Px).asObservable(),this.getAppearance=u(Lx).asObservable(),this.themingInitialized=u(Vx).asObservable()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),xv=class{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}},Iv=class{constructor(n,e,i){this.backend=n,this.injector=e,this.interceptors=i,this.chain=null}handle(n){if(this.chain===null){let e=this.injector.get(this.interceptors,[]);this.chain=e.reduceRight((i,r)=>new xv(i,r),this.backend)}return this.chain.handle(n)}},p1=new y("KF_THEME_HTTP_INTERCEPTORS"),Wu=(()=>{class t extends Yn{constructor(){let e=u(Ba),i=u(j);super(new Iv(e,i,p1))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Xr=(()=>{class t{get nativeWindow(){return m1()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),wi=(()=>{class t{constructor(){this.windowRef=u(Xr),this.kfThemeBasePathConfigObject=u(Mv,{optional:!0}),this.kfThemeServiceNameConfigObject=u(Av,{optional:!0}),this.kfThemeBasePath=u(Ax,{optional:!0}),this.kfThemeServiceName=u(kx,{optional:!0})}
2403getKfThemeBasePath(){return this.kfThemeBasePathConfigObject??this.kfThemeBasePath}getKfThemeServiceName(){return this.kfThemeServiceNameConfigObject??this.kfThemeServiceName}getAppearanceFromString(e){return Qr[e.toUpperCase()]}isHtml(e){return e?e.indexOf("<html")!==-1:!1}isSvg(e){let i=e.indexOf("<svg"),r=e.indexOf("<html");return i!==-1&&(r===-1||i<r)}isDarkTheme(e){let i=e.match(/--config-is-dark-theme:\s*(\d);/);return i?!!parseInt(i[1],10):!1}calcUseImages(e){let i=e.match(/--config-use-images:\s*(\d);/);return i?!!parseInt(i[1],10):!0}getAssetsServiceSrc(e){return this.getKfThemeServiceName()?this.getKfThemeServiceName()+e:this.getBasePath()+this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME+e}retry(e={count:2,delay:0,resetOnSuccess:!0}){return Ih(e)}getLoggerServiceSrc(){return this.replaceServiceDestinationWith("logger")}getResourcesServiceSrc(){return this.replaceServiceDestinationWith("resources")}replaceServiceDestinationWith(e){let i=this.getKfThemeServiceName();return(i||this.getBasePath()+this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME).replace("/assets?f=","/")+e}getBasePath(){if(this.getKfThemeBasePath())return this.getKfThemeBasePath();let e=/^\/services_[a-z]{3,}\/(portal|demo)\d*\/?/i,i=this.windowRef.nativeWindow.location.pathname;if(e.test(i)){let o=e.exec?.(i);i=o?o[0]:""}let r=i.endsWith("/")?i:i+"/";return r=r&&r.indexOf(".")===-1?r:"",r}addBasePath(e){let i=this.getKfThemeBasePath(),r=e;return i?(i.endsWith("/")&&(i=i.slice(0,i.length-1)),r=r.replace(/^(\.\/)|^(\/)|^(\..\/)/,""),`${i}/${r}`):e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),at=(()=>{class t{static{this.DEBUG="DEBUG"}static{this.INFO="INFO"}static{this.WARN="WARN"}static{this.ERROR="ERROR"}constructor(e,i,r){this.logLevel=e,this.entryDate=new Date().toISOString(),this.message=`${i} ${this.formatParams(r)}`}formatParams(e){let i=e?.join(",");if(e?.some(r=>typeof r=="object")){i="";for(let r of e)i+=JSON.stringify(r)+","}return i||""}}return t})(),Tv=class{isEnabled(){return!0}log(n){let e=this.getConsoleMsg(n.message);switch(n.logLevel){case at.DEBUG:console.debug(e);break;case at.ERROR:console.error(e);break;case at.INFO:console.info(e);break;case at.WARN:console.warn(e);break}}getConsoleMsg(n){return`KfTheme: (${Es.version}): ${n}`}},g1=(()=>{class t{static createService(){let e=u(Xr);return e.nativeWindow.kfThemeInfo||(e.nativeWindow.kfThemeInfo=new jx),e.nativeWindow.kfThemeInfo}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:()=>t.createService(),providedIn:"root"})}}return t})(),xi=(()=>{class t{constructor(e,i,r=u(wi),o,s,a,l,c,d,f,p){this.windowRef=e,this.infoService=i,this.utilService=r,this.kfThemeResourcesPathConfigObject=o,this.kfThemeBasePath=s,this.kfThemeBasePathConfigObject=a,this.kfThemeLoglevel=l,this.kfThemeLoglevelConfigObject=c,this.kfThemeServiceName=d,this.kfThemeServiceNameConfigObject=f,this.kfThemeScopeSelector=p,this.useImageSubject=u(Px),this.appearanceSubject=u(Lx),this.subscriptions=[],this.isDarkTheme=!1,this.useImages=this.windowRef.nativeWindow.kfTheme?.useImages??!0,this.destroy$=new w,this.config$=new w,this.themeLoaded$=new it(!!document.getElementById("theme-styles-full")?.innerHTML),e.nativeWindow.kfTheme.onThemeLoaded.pipe(Xe(this.destroy$)).subscribe(({success:m})=>this.themeLoaded$.next(m)),this.subscriptions.push(this.infoService.getAppearance.subscribe(m=>{this.isDarkTheme=m===Qr.DARK,this.refreshConfig()})),this.subscriptions.push(this.infoService.useImage.subscribe(m=>{this.useImages=m,this.refreshConfig()}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.subscriptions&&(this.subscriptions.forEach(e=>{e.unsubscribe()}),this.subscriptions.length=0)}getKfThemeBasePath(){return this.kfThemeBasePathConfigObject??this.kfThemeBasePath}getKfThemeServiceName(){return this.kfThemeServiceNameConfigObject??this.kfThemeServiceName}getKfThemeResourcesPath(){return this.kfThemeResourcesPathConfigObject?this.kfThemeResourcesPathConfigObject:this.utilService.getResourcesServiceSrc()}getKfThemeScopeSelector(){return this.kfThemeScopeSelector}getKfThemeLoglevel(){return this.kfThemeLoglevelConfigObject??this.kfThemeLoglevel}getKfThemeInfo(){return`${Es.name}:${Es.version}.`}isDevEnv(){let e=this.windowRef.nativeWindow.location.hostname;return["localhost","127.0.0.1","local","fiducia.de","bankenit.de"].find(r=>e.endsWith(r))!==void 0}setUseImage(e){this.useImageSubject.next(e),this.windowRef.nativeWindow.kfTheme.useImages=e,this.useImages=e,this.refreshConfig()}getUseImages(){return this.useImages}setDarkTheme(e){this.appearanceSubject.next(e?Qr.DARK:Qr.LIGHT),this.isDarkTheme=e,this.refreshConfig()}refreshConfig(){this.config$.next({useImages:this.useImages,isDark:this.isDarkTheme})}getDarkTheme(){return this.isDarkTheme}static{this.\u0275fac=function(i){return new(i||t)(b(Xr),b(g1),b(wi),b(Nx,8),b(Ax,8),b(Mv,8),b(h1,8),b(Rx,8),b(kx,8),b(Av,8),b(u1,8))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),v1=(()=>{class t{constructor(e,i){this.http=e,this.utilsService=i,this.enabled=!0,this.processing=!1,this.subscription=new Ee,this.logBuffer=[],this.headers=new dn({"Content-Type":"application/json; charset=utf-8"}),this.logging$=Bt(3e4).pipe(Ec(),To(()=>this.processMessageBuffer()))}static{this.MESSAGE_BUFFER_MAX_SIZE=50}isEnabled(){return this.enabled}log(e){this.logBuffer.push(e),this.logBuffer.length>=t.MESSAGE_BUFFER_MAX_SIZE?this.processMessageBuffer():this.startTimer()}ngOnDestroy(){this.subscription.unsubscribe()}startTimer(){let e=this.logging$.subscribe(()=>{this.subscription.remove(e),e.unsubscribe()});this.subscription.add(e)}processMessageBuffer(){if(!this.processing&&this.logBuffer.length>0){this.processing=!0;try{this.postMessages(),this.logBuffer=[],this.processing=!1,this.logBuffer.length>=t.MESSAGE_BUFFER_MAX_SIZE&&this.processMessageBuffer()}catch(e){console.error(e)}}}postMessages(){let i=this.http.post(this.utilsService.getLoggerServiceSrc(),{messages:this.logBuffer},{headers:this.headers}).pipe(ze(()=>Z([]))).subscribe(()=>{this.subscription.remove(i),i.unsubscribe()});this.subscription.add(i)}static{this.\u0275fac=function(i){return new(i||t)(b(Wu),b(wi))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Xn=class t{static{this.LOG_LEVELS=[at.DEBUG,at.INFO,at.WARN,at.ERROR]}constructor(n,e){this.envService=n,this.loggerRemote=e,this.loggers=[],n.isDevEnv()&&this.loggers.push(new Tv),n.getKfThemeLoglevel()?this.setLogLevel(n.getKfThemeLoglevel()):this.setLogLevel(at.INFO),this.info(`KfTheme-Info: ${n.getKfThemeInfo()}`)}setLogLevel(n){t.LOG_LEVELS.findIndex(e=>n.toUpperCase()===e.toUpperCase())>-1?this.level=n.toUpperCase():(this.level=at.INFO,this.error(`KfTheme: Could not set loglevel to ${n}. Using 'INFO' as default.`)),this.debug(`KfTheme: Loglevel set to ${this.level}.`)}debug(n,...e){this.level===at.DEBUG&&this.writeToLog(n,at.DEBUG,e)}info(n,...e){t.LOG_LEVELS.indexOf(this.level)<=t.LOG_LEVELS.indexOf(at.INFO)&&this.writeToLog(n,at.INFO,e)}warn(n,...e){t.LOG_LEVELS.indexOf(this.level)<=t.LOG_LEVELS.indexOf(at.WARN)&&this.writeToLog(n,at.WARN,e)}error(n,...e){this.writeToLog(n,at.ERROR,e)}log(n,...e){this.writeToLog(n,at.DEBUG,e)}writeToLog(n,e,i){let r=new at(e,n,i);
2403this.loggers.forEach(o=>{o.isEnabled()&&o.log(r)})}static{this.\u0275fac=function(e){return new(e||t)(b(xi),b(v1))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}},kv=(()=>{class t{static{this.APPEARANCE_COOKIE_NAME="theme_appearance"}static{this.THEME_COOKIE_NAME="theme"}constructor(e,i,r){this.windowRef=e,this.environment=i,this.logger=r}setThemeToCookie(e){this.setCookie(t.THEME_COOKIE_NAME,e)}setAppearanceToCookie(e){this.setCookie(t.APPEARANCE_COOKIE_NAME,e)}setCookie(e,i){if(e&&i){let{hostname:r}=this.windowRef.nativeWindow.location;this.windowRef.nativeWindow.document.cookie=`${e}=${encodeURIComponent(i)}; domain=${encodeURIComponent(r)}; path=/;SameSite=None;secure`}}getThemeFromCookie(){let e=this.getCookie(t.THEME_COOKIE_NAME,/^((\d)+((_)?(\d)+))$/m);return e&&this.logger.info(`Found theme '${e}' in cookie.`),e}getAppearanceFromCookie(){let e=this.getCookie(t.APPEARANCE_COOKIE_NAME);return e&&this.logger.info(`Found appearance '${e}' in cookie.`),e||""}getCookie(e,i=null){let o=("; "+this.windowRef.nativeWindow.document.cookie).split("; "+e+"=");if(o.length==2)return o.pop()?.split(";").shift();if(o.length>2)return this.getCookieMultiplKeyOccurences(o,e,i)}getCookieMultiplKeyOccurences(e,i,r=null){let o,s;for(;e.length>1;){if(s=e.pop()?.split(";").shift(),r&&(s=r.test(s)?s:null),!o&&s&&(o=s),o!==s||!s){this.logger.warn(`cookie value for key: ${i} was null or had different values: ${o} | ${s} .`),o=null;break}s=null}return o??null}getItemFromSessionStorage(e){return this.windowRef.nativeWindow.sessionStorage&&this.windowRef.nativeWindow.sessionStorage.getItem(e)||""}getThemeFromSessionStorage(){let e=this.getItemFromSessionStorage(t.THEME_COOKIE_NAME);return e&&this.logger.info(`Found theme '${e}' in session-storage.`),e}getAppearanceFromSessionStorage(){let e=this.getItemFromSessionStorage(t.APPEARANCE_COOKIE_NAME);return e&&this.logger.info(`Found appearance '${e}' in SessionStorage.`),e}getThemeFromApp(){let e;return typeof this.windowRef.nativeWindow.nativeAppTheming?.requiredThemeId=="function"&&(e=this.windowRef.nativeWindow.nativeAppTheming?.requiredThemeId()),e}getThemeAppearanceFromApp(){let e;return typeof this.windowRef.nativeWindow.nativeAppTheming?.requiredAppearance=="function"&&(e=this.windowRef.nativeWindow.nativeAppTheming?.requiredAppearance()),e}getThemeFromURL(){if(this.environment.isDevEnv()){let e=/(?:&|\?)theme=((\d)+((_)?(\d)+))(?:$|&|#)/gm,i=this.windowRef.nativeWindow.location.href,r=e.exec(i);if(r){let o=r[1];return this.setThemeToCookie(o),o&&this.logger.info(`Found theme '${o}' in URL.`),o}}return null}getThemeAppearanceFromURL(){if(this.environment.isDevEnv()){let e=/(?:&|\?)(?:appearance=){1}(.+?(?=$|&|#))/gm,i=this.windowRef.nativeWindow.location.href,r=e.exec(i);if(r){let o=r[1];return this.setAppearanceToCookie(o),this.logger.info(`Found appearance '${o}' in URL.`),o}}return""}getThemeId(){return this.getThemeFromURL()||this.getThemeFromApp()||this.getThemeFromSessionStorage()||this.getThemeFromCookie()||Qn.themeDefaultId}getThemeAppearance(){let e=this.getThemeAppearanceFromURL()||this.getThemeAppearanceFromApp()||this.getAppearanceFromSessionStorage()||this.getAppearanceFromCookie()||Qn.themeAppearanceDefault;return Qr[e.toUpperCase()]}static{this.\u0275fac=function(i){return new(i||t)(b(Xr),b(xi),b(Xn))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Bx=(()=>{class t{constructor(e,i,r){this.logger=e,this.utils=i,this.theme=r}getAssetPath(e,i=!1,r=!1){let o;if(i)o=this.getAssetPathLocal(e);else if(o=this.utils.getAssetsServiceSrc(e),r){let s=this.theme.getThemeId();o=/\?/.test(o)?`${o}&t=${s||""}`:o}return o}getAssetPathLocal(e){return this.utils.addBasePath(e)}getCssFilePath(e,i=!1,r){let o=this.getAssetPath(e,i);if(this.logger.debug(`use url ${o} with fallback = ${i}`),r){let s=/\?/.test(o)?"&a=":"?a=";o=o+s+r}return o}static{this.\u0275fac=function(i){return new(i||t)(b(Xn),b(wi),b(kv))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Rv=(()=>{class t{constructor(e,i,r,o,s){this.httpClient=e,this.utils=i,this.logger=r,this.environment=o,this.assetsPathService=s,this.themeSubject=u(Fx),this.scopeClass=u(f1)}loadBundle(e,i=!1){return this.getCssFile(!1,e,i)}loadColors(e,i=!1,r){return this.getCssFile(!0,e,i,r)}processCss(e){return this.processUrls(e)}setKfThemeScope(){let e=this.environment.getKfThemeScopeSelector()??"body";this.logger.debug(`Setting scope to '${e}'.`);let i=document.querySelector(e);i?i.classList.add(this.scopeClass):this.logger.warn(`KF_THEME_SCOPE_SELECTOR is defined (${this.environment.getKfThemeScopeSelector()}), but no matching element could be found.`)}
2403sendThemeIdToInfoService(e){e&&this.themeSubject.next(e)}determineThemeId(e){let i=this.getThemeIdFromContentDisposition(e);return i||(i=this.getThemeIdFromUrl(e)),i}getThemeIdFromContentDisposition(e){let i,r=e.headers?.get("content-disposition");return r&&(i=this.extractThemeId(r)),i}getThemeIdFromUrl(e){let i=/[\/\\]+/,r=e.url?.split(".css")[0].split(i).pop();return r||void 0}getCssFile(e,i,r=!1,o){let s=this.assetsPathService.getCssFilePath(i,r,o);return this.httpClient.get(s,{observe:"response",responseType:"text"}).pipe(Te(a=>{if(this.utils.isHtml(a.body)){let l=new Error("Invalid respone:"+a);return Fn(()=>l)}else return e&&this.sendThemeIdToInfoService(this.determineThemeId(a)),Z(a.body)}),this.utils.retry())}processUrls(e){if(e){let i=/url\(['"]?\/assets\/(fonts|icons)\/[a-z0-9+*@#?_/. -]+['"]?\)( format\([a-z0-9"'-]+\))?[;,]/gi,r=/url\(['"]?(\/assets\/(fonts|icons)\/[a-z0-9+*@#?_/. -]+)['"]?\)( format\([a-z0-9"'-]+\))?[;,]/i,o=/url\(['"]?\/assets\/[a-z0-9-_/ ]+\.(jpg|svg|png|gif)['"]?\)/gi,s=/url\(['"]?(\/assets\/[a-z0-9-_/ ]+\.(jpg|svg|png|gif))['"]?\)/i,a=e.match(i),l=e.match(o),c=this.utils.getBasePath();return a&&a.forEach(d=>{let f=r.exec(d);if(f){let p=this.assetsPathService.getAssetPath(f[1]),m=d.replace(/\/assets\//,`${c}assets/`);e=e?.replace(d,`url("${p}")${f[3]||""}, ${m}`)}}),l&&l.forEach(d=>{let f=s.exec(d);if(f){let p=this.assetsPathService.getAssetPath(f[1]);e=e?.replace(d,`url("${p}")`)}}),e}return""}extractThemeId(e){let i=e.replace("_dark",""),r=/[\\/](\d+_?\d*)\.css/,o=i.match(r);return o?o[1]:void 0}static{this.\u0275fac=function(i){return new(i||t)(b(Wu),b(wi),b(Xn),b(xi),b(Bx))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Mx=[{id:"",isDark:!1},{id:"8840_1",isDark:!1},{id:"8888_89",isDark:!1},{id:"9998",isDark:!1}],y1=(()=>{class t{constructor(e,i,r){this.httpClient=e,this.logger=i,this.utils=r,this.themes=Mx}getThemes$(){let e=this.utils.getAssetsServiceSrc("/themes").replace("/assets?f=","");return this.httpClient.get(e).pipe(Te(i=>{let r=i.themeProfiles.sort().map(o=>({id:o,isDark:!1}));return Z(r)}),ze(i=>(this.logger.warn(JSON.stringify(i)),Z(Mx))))}loadThemesListService(){let i=this.utils.getAssetsServiceSrc("/themes");this.httpClient.get(i.replace("/assets?f=","")).pipe(ze(r=>(this.logger.warn(JSON.stringify(r)),Z({})))).subscribe(r=>{r!==null&&r.themeProfiles&&(this.themes=r.themeProfiles.sort().map(o=>({id:o,isDark:!1})))})}getThemesList(){return this.themes}static{this.\u0275fac=function(i){return new(i||t)(b(Wu),b(Xn),b(wi))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),qu=(()=>{class t{constructor(e){this.environment=e,this.THEME_STYLES_FULL_ID="theme-styles-full",this.THEME_COLORS_ID="theme-colors",this._THEME_STYLES_ID="theme-styles"}getOrCreateStyleElement(e){let i=document.getElementById(e);if(!i){i=document.createElement("style"),i.setAttribute("id",e);let r=this.getFirstStyleElement();r?document.head.insertBefore(i,r):document.head.appendChild(i)}return i}getFirstStyleElement(){for(let e=0;e<document.head.childNodes.length;e++){let i=document.head.childNodes[e];if(document.head.childNodes[e].nodeName==="STYLE")return i}return null}getStyleElementFull(){return this.styleElementFull||(this.styleElementFull=this.getOrCreateStyleElement(this.THEME_STYLES_FULL_ID)),this.styleElementFull}getStyleElementBase(){return this.styleElementBase||(this.styleElementBase=this.getOrCreateStyleElement(this._THEME_STYLES_ID)),this.styleElementBase}getStyleElementColors(){return this.styleElementColors||(this.styleElementColors=this.getOrCreateStyleElement(this.THEME_COLORS_ID)),this.styleElementColors}getRootScopeElement(){if(this.environment.getKfThemeScopeSelector()){let e=document.body.querySelector(this.environment.getKfThemeScopeSelector());if(e)return e}return document.body}setStyleFull(e){this.getStyleElementFull().innerHTML=e}setScopeToStyleFull(e=""){this.getStyleElementFull().setAttribute("scope",e)}setStyleBase(e){this.getStyleElementBase().innerHTML=e}setStyleColors(e,i,r){this.getStyleElementColors().setAttribute("theme",i||""),this.get
2403StyleElementColors().setAttribute("appearance",r||""),this.getStyleElementColors().innerHTML=e}getStyleColorsContent(){return this.getStyleElementColors().innerHTML}getStyleColorsTheme(){return this.getStyleElementColors().getAttribute("theme")}getStyleColorsAppearance(){return this.getStyleElementColors().getAttribute("appearance")}getStyleFullContent(){return this.getStyleElementFull().innerHTML}isBundleAlreadyLoaded(){return this.styleElementFull&&this.styleElementFull.innerHTML!==""}getStyleFullScope(){let e=document.getElementById(this.THEME_STYLES_FULL_ID);return e?e.getAttribute("scope"):null}getStyleBaseContent(){return this.getStyleElementBase().innerHTML}static{this.\u0275fac=function(i){return new(i||t)(b(xi))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Sv=class{constructor(){this.spinner={discard:!1,hide:!1}}},Hx=(()=>{class t{constructor(e,i,r){this.componentFactoryResolver=e,this.injector=i,this.spinner=null,this.componentRef=null;let o=u(Ox,{optional:!0});this.discardSpinner=o?.discard??r?.spinner.discard,this.hideSpinner=o?.hide??r?.spinner.hide}add(){this.discardSpinner||(this.componentRef=this.componentFactoryResolver.resolveComponentFactory(d1).create(this.injector),this.spinner=this.componentRef.hostView.rootNodes[0],this.hideSpinner&&this.spinner.classList.add("kf-initial-spinner-hidden"),document.body.appendChild(this.spinner))}remove(){this.spinner!==null&&document.body.contains(this.spinner)&&(document.body.removeChild(this.spinner),this.componentRef?.destroy())}static{this.\u0275fac=function(i){return new(i||t)(b(Wn),b(j),b(Sv,8))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),b1=(()=>{class t{constructor(e,i,r,o,s){this.logger=e,this.css=i,this.windowRef=r,this.html=o,this.environment=s}processThemeDataFull(e){let i=this.css.processCss(e);this.html.setStyleFull(i),this.html.setScopeToStyleFull(this.environment.getKfThemeScopeSelector()),this.windowRef.nativeWindow.dispatchEvent&&this.windowRef.nativeWindow.dispatchEvent(new Event("resize"))}getBundleLoadedFromHostpage(){try{for(let e=0;e<=document.styleSheets.length-1;e++){let i=document.styleSheets[e];if(i.title==="kf-theme-bundle"&&i.cssRules.length>0)return i.disabled=this.hasCurrentLocationKfThemeBundleParam()&&this.environment.isDevEnv(),i}}catch(e){this.logger.error("Exception reading bundle from hostpage:",e)}}markBundleAsLoadedFromHostpage(e){this.logger.info("Css-bundle was loaded from host-page."),e.ownerNode.setAttribute("id",this.html.THEME_STYLES_FULL_ID),e.ownerNode.setAttribute("scope",this.environment.getKfThemeScopeSelector())}getBundle(e=!1){this.css.setKfThemeScope();let i=this.getBundleLoadedFromHostpage();if(i&&!i.disabled)return this.markBundleAsLoadedFromHostpage(i),Z(!0);this.logger.debug("Css-bundle not found in host-page.");let r=this.getBundlePath();return this.css.loadBundle(r,e).pipe(Te(o=>(this.processThemeDataFull(o),this.logger.debug(`bundle was successfully loaded from ${r}`),Z(!0))),ze(o=>(this.logger.warn(`error ${JSON.stringify(o)}`),this.getFallbackBundle())))}getBundlePath(){let e=this.getBundleParameterFromURL();return e?`./assets/bundle-${e}.css`:"./assets/bundle.css"}getFallbackBundle(){let e="./assets/bundle.css";return this.logger.debug("getFallbackBundle()"),this.css.loadBundle(e,!0).pipe(Te(i=>(this.processThemeDataFull(i),this.logger.debug(`getFallbackBundle() finish ${e}`),Z(!0))),ze(i=>(this.logger.warn(`error ${JSON.stringify(i)}`),Z(!1))))}getBundleParameterFromURL(){if(this.environment.isDevEnv()){let e=/(?:&|\?)(?:kf-theme-bundle=){1}(.+?(?=$|&|#))/gm,i=this.windowRef.nativeWindow.location.href,r=e.exec(i);if(r)return r[1]}return null}hasCurrentLocationKfThemeBundleParam(){return new URLSearchParams(window?.location?.search).has("kf-theme-bundle")}static{this.\u0275fac=function(i){return new(i||t)(b(Xn),b(Rv),b(Xr),b(qu),b(xi))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),_1=(()=>{class t{constructor(e,i){this.html=e,this.logger=i}extractColorsThemeInfoFromURL(e){try{let r=new URL(e).searchParams,o=r.get("f"),s=r.get("a"),a=null;if(o){let l=o.split("/");l.length>0&&(a=l[l.length-1].split(".")[0])}return a?{themeId:a,appearance:s||"LIGHT",css:null}:null}catch(i){return this.logger.error(`Invalid URL:', ${e}`),null}}findLinkElementByStyleSheet(e){return!e?.ownerNode||e.ownerNode.nodeName!=="LINK"?null:e.ownerNode}setCssToColorsThemeInfo(e,i){e&&(e.css=i)}hasColorsInHostPage(e,i){return e?.id===this.html.THEME_COLORS_ID&&e?.href!==null&&i.cssRules.length>0}getColorsLoadedFromHostPageInfo(){try{for(let e=0;e<=document.styleSheets.length-1;e++){let i=document.styleSheets[e],r=this.findLinkElementByStyleSheet(i);if(this.hasColorsInHostPage(r,i)){this.logger.info(`Css-colors-profile was loaded from host-page (link element with id '${this.html.THEME_COLORS_ID}').`);let o=r?this.extractColorsThemeInfoFromURL(r?.href):null;return this.setCssToColorsThemeInfo(o,i.cssRules[0].cssText),o}}}catch(e){this.logger.error("Exception reading colors from hostpage:",e)}return null}static{this.\u0275fac=function(i){return new(i||t)(b(qu),b(Xn))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),E1=(()=>{class t{set themeID(e){this.windowRef.nativeWindow.kfTheme.themeID=e}set isThemeInitialised(e){this.windowRef.nativeWindow.kfTheme.isThemeInitialised=e}get onThemeLoaded(){return this.windowRef.nativeWindow.kfTheme.onThemeLoaded}constructor(e,i,r,o,s,a,l,c,d,f){this.logger=e,this.css=i,this.windowRef=r,this.html=o,this.utils=s,this.initialSpinner=a,this.environment=l,this.theme=c,this.themeDataFull=d,this.cssHostPageLoadingService=f,this.fontsLoaded$=document.fonts?Ne(document.fonts.ready).pipe(x(()=>!0),xt(1)):Z(!0),this.subscription=new Ee,this.themingInitializedSubject=u(Vx)}ngOnDestroy(){this.subscription.unsubscribe()}loadTheme(e){let i=Z(!0),r=Z(!0);(!this.html.isBundleAlreadyLoaded()||this.html.getStyleFullScope()!==(this.environment.getKfThemeScopeSelector()||"null"))&&(i=this.themeDataFull.getBundle(!1)),(this.theme.getThemeId()!==this.html.getStyleColorsTheme()||this.theme.getThemeAppearance()!==this.html.getStyleColorsAppearance())&&(this.themeID=this.theme.getThemeId(),r=this.loadAndProcessThemeColors(e));let o=Eh([r,i,this.fontsLoaded$]).pipe(wo(10)).subscribe(s=>{this.finishInitialization(!s.find(a=>!a)),this.subscription.remove(o),o.unsubscribe()});this.subscription.add(o)}writeColorsThemeInfoToCookie(e){e?.themeId&&this.theme.setThemeToCookie(e.themeId),e?.appearance&&this.theme.setAppearanceToCookie(e.appearance)}storeProfileData(e){this.initEnv(e),this.applyDark(),this.applyImage()}loadAndProcessThemeColors(e){let i=this.cssHostPageLoadingService.getColorsLoadedFromHostPageInfo();if(i)return this.storeProfileData(i.css),this.writeColorsThemeInfoToCookie(i),Z(!0);let r=this.theme.getThemeId();return this.css.loadColors(`./assets/${r}.css`,!1,e).pipe(Te(o=>(this.logger.debug(`./assets/${r}.css`),this.utils.isHtml(o)?(this.logger.debug(`${r} cant be loaded.`),Fn(o)):(this.processThemeColors(o,r,e),Z(!0)))),ze(()=>this.getThemeColorsFallback()),ze(()=>this.getDefaultThemeColors()),ze(()=>(console.error(`The theme ${r} could not be loaded and no fallback was configured/found!`),Z(!1))))}getThemeColorsFallback(){let e=this.theme.getThemeId(),i=this.theme.getThemeAppearance();return this.css.loadColors(`./assets/${e}.css`,!0,i).pipe(Te(r=>this.utils.isHtml(r)?Fn(r):(this.processThemeColors(r,e,i),Z(!0))))}getDefaultThemeColors(){let e=this.theme.getThemeId(),i=this.theme.getThemeAppearance();return e!==Qn.themeDefaultId?(this.themeID=Qn.themeDefaultId,this.css.loadColors(`./assets/${Qn.themeDefaultId}.css`,!0,i).pipe(Te(r=>this.utils.isHtml(r)?Fn(r):(this.processThemeColors(r,Qn.themeDefaultId,i),Z(!0))))):
2403Fn(!1)}processThemeColors(e,i,r){this.html.setStyleColors(this.css.processCss(e),i,r),this.storeProfileData(e)}initEnv(e){e&&(this.environment.setDarkTheme(this.utils.isDarkTheme(e)),this.environment.setUseImage(this.utils.calcUseImages(e)))}finishInitialization(e){e&&(this.html.getRootScopeElement().classList.toggle("theme-initialization",!1),this.html.getRootScopeElement().classList.toggle("theme-initialized",!0)),this.initialSpinner.remove(),this.isThemeInitialised=!0,this.logger.debug(`finish initialization; success: ${e}`),this.onThemeLoaded.next({success:e}),this.themingInitializedSubject.next()}applyDark(){let e=this.environment.getDarkTheme(),i=this.html.getRootScopeElement();i.classList.remove(e?"kf-theme-light":"kf-theme-dark"),i.classList.add(e?"kf-theme-dark":"kf-theme-light")}applyImage(){let e=this.html.getRootScopeElement();this.environment.getUseImages()?e.classList.remove("kf-use-images-off"):e.classList.add("kf-use-images-off")}static{this.\u0275fac=function(i){return new(i||t)(b(Xn),b(Rv),b(Xr),b(qu),b(wi),b(Hx),b(xi),b(kv),b(b1),b(_1))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),D1=()=>{window.kfTheme?window.kfTheme=Object.assign(JSON.parse(JSON.stringify(Qn)),window.kfTheme):(window.kfTheme=JSON.parse(JSON.stringify(Qn)),window.kfTheme.onThemeLoaded=new rt(1),window.kfTheme.applyThemeByID=()=>{console.error("kf-theme@"+Es.version+": window.kfTheme.applyThemeByID() initialisation not completed yet.")})};D1();C1=(()=>{class t{constructor(e,i,r,o,s,a,l,c,d,f){this.css=e,this.windowRef=i,this.logger=r,this.environment=o,this.themeList=s,this.utils=a,this.theme=l,this.html=c,this.initialSpinner=d,this.themeDataService=f,this.appMarkerClass="kf-theme-app-scope",this.createKfThemeInfoServiceAtWindow(),t.init(i,this),setTimeout(()=>{this.html.getRootScopeElement().setAttribute("kf-theme-version",Es.version);let p=this.getThemeIdFromStores(),m=this.getAppearanceFromStores();this.windowRef.nativeWindow.isThemeInitialised?this.logger.debug("Warning: another instance of KFThemeService already initialised."):(this.windowRef.nativeWindow.isThemeInitialised=!0,this.basePath=this.utils.getBasePath(),this.initialSpinner.add(),this.startInitialization(),this.logger.debug(`internal call of applyThemeByID('${p}')`),p=="undefined_undefined"&&(p="",this.logger.debug('replace themeID "undefined_undefined" to ""')),this.applyThemeByID(p,m))},0)}createKfThemeInfoServiceAtWindow(){this.windowRef.nativeWindow.kfThemeInfo||(this.windowRef.nativeWindow.kfThemeInfo=new jx)}static init(e,i){e.nativeWindow.kfTheme?e.nativeWindow.kfTheme=Object.assign(JSON.parse(JSON.stringify(Qn)),e.nativeWindow.kfTheme):(e.nativeWindow.kfTheme=JSON.parse(JSON.stringify(Qn)),e.nativeWindow.kfTheme.onThemeLoaded=new rt(1)),e.nativeWindow.kfTheme.applyThemeByID=(r,o)=>{i.logger.debug(`window.kfTheme.applyThemeByID('${r}', '${o}')`),i.applyThemeByID(r,o)},e.nativeWindow.kfTheme.updateThemingInfoForApp=()=>{i.logger.debug("window.kfTheme.updateThemingInfoForApp()"),i.updateThemingInfoForApp()}}static setThemeID(e){window.kfTheme.themeID=e}static setBasePath(e){window.kfTheme.basePath=e}getThemeIdFromStores(){return this.theme.getThemeFromURL()||this.theme.getThemeFromSessionStorage()||this.theme.getThemeFromCookie()||""}getAppearanceFromStores(){let e=this.theme.getThemeAppearanceFromURL()||this.theme.getAppearanceFromSessionStorage()||this.theme.getAppearanceFromCookie();return this.utils.getAppearanceFromString(e)}get THEME_SERVICE_NAME(){return this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME}set THEME_SERVICE_NAME(e){this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME=e}get THEME_BASE_PATH_KEY(){return this.windowRef.nativeWindow.kfTheme.THEME_BASE_PATH_KEY}set THEME_BASE_PATH_KEY(e){this.windowRef.nativeWindow.kfTheme.THEME_BASE_PATH_KEY=e}get THEME_SERVICE_NAME_KEY(){return this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME_KEY}set THEME_SERVICE_NAME_KEY(e){this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME_KEY=e}get themeColors(){return this.windowRef.nativeWindow.kfTheme.themeColors}set themeColors(e){this.windowRef.nativeWindow.kfTheme.themeColors=e}get themeID(){return this.windowRef.nativeWindow.kfTheme.themeID}set themeID(e){this.windowRef.nativeWindow.kfTheme.themeID=e}get themeData(){return this.windowRef.nativeWindow.kfTheme.themeData}set themeData(e){this.windowRef.nativeWindow.kfTheme.themeData=e}get themeIsDark(){return this.windowRef.nativeWindow.kfTheme.themeIsDark}set themeIsDark(e){this.windowRef.nativeWindow.kfTheme.themeIsDark=e}get useImages(){return this.windowRef.nativeWindow.kfTheme.useImages}set useImages(e){this.windowRef.nativeWindow.kfTheme.useImages=e}get isThemeInitialised(){return this.windowRef.nativeWindow.kfTheme.isThemeInitialised}set isThemeInitialised(e){this.windowRef.nativeWindow.kfTheme.isThemeInitialised=e}get themeFirstIsDark(){return this.windowRef.nativeWindow.kfTheme.themeFirstIsDark}set themeFirstIsDark(e){this.windowRef.nativeWindow.kfTheme.themeFirstIsDark=e}get themeDefaultId(){return this.windowRef.nativeWindow.kfTheme.themeDefaultId}set themeDefaultId(e){this.windowRef.nativeWindow.kfTheme.themeDefaultId=e}get themeAppearanceDefault(){return this.windowRef.nativeWindow.kfTheme.themeAppearanceDefault}set themeAppearanceDefault(e){this.windowRef.nativeWindow.kfTheme.themeAppearanceDefault=e}get themeBaseId(){return this.windowRef.nativeWindow.kfTheme.themeBaseId}set themeBaseId(e){this.windowRef.nativeWindow.kfTheme.themeBaseId=e}get onThemeLoaded(){return this.windowRef.nativeWindow.kfTheme.onThemeLoaded}set onThemeLoaded(e){this.windowRef.nativeWindow.kfTheme.onThemeLoaded=e}get basePath(){return this.windowRef.nativeWindow.kfTheme.basePath}set basePath(e){this.windowRef.nativeWindow.kfTheme.basePath=e}startInitialization(){this.logger.debug("start initialisation"),this.html.getRootScopeElement().classList.toggle("theme-initialization",!0)}getThemeId(){return this.theme.getThemeId()}applyTheme(e,i){this.logger.debug(`deprecated call of applyTheme('${e}', '${i}')`),this.applyThemeByID(e+"_"+i)}updateThemingInfoForApp(e=null){if(typeof this.windowRef.nativeWindow.nativeAppTheming?.requiredThemingInfo=="function"){this.addAppMarkerToBody();let r;try{r=JSON.parse(this.windowRef.nativeWindow.nativeAppTheming?.requiredThemingInfo())}catch(o){return this.logger.error(`Cannot read requiredThemingInfo from nativeAppTheming! ${o}`),!1}return this.logger.info(`Using themeInfo from app: ${r?.themeId} | ${r?.appearance}.`),(!r.themeId||r.themeId==="")&&(e&&e!==""?r.themeId=e:r.themeId=this.getThemeIdFromStores()),this.applyThemeByIDInternal(r.themeId,r.appearance),!0}else if(typeof this.windowRef.nativeWindow.nativeAppTheming?.requiredThemeId=="function"){let r=this.windowRef.nativeWindow.nativeAppTheming?.requiredThemeId();return this.logger.info(`Using theme from app: ${r}.`),this.applyThemeByIDInternal(r,""),!0}return!1}
2403addAppMarkerToBody(){this.html.getRootScopeElement().classList.contains(this.appMarkerClass)||this.html.getRootScopeElement().classList.add(this.appMarkerClass)}applyThemeByID(e,i){this.logger.debug(`applyThemeByID ${e} with appearance ${i}`),this.updateThemingInfoForApp(e)||this.applyThemeByIDInternal(e,i||"")}applyThemeByIDInternal(e,i){if(e==="0_0"||e==="undefined_undefined"){this.logger.debug(`wrong theme id provided: ${e}`);return}e===""&&(e=this.themeDefaultId);let r=this.utils.getAppearanceFromString(i);r||(r=this.getAppearanceFromStores()??this.themeAppearanceDefault),this.theme.setThemeToCookie(e),this.theme.setAppearanceToCookie(r),this.themeID=e,this.windowRef.nativeWindow.isThemeInitialised?this.themeDataService.loadTheme(r):this.logger.debug(`Skip calling method this.loadTheme() ${e}`)}applyThemeVariables(e=""){e!==""&&(this.html.setStyleColors(this.css.processCss(e)),this.environment.setDarkTheme(this.utils.isDarkTheme(e)),this.environment.setUseImage(this.utils.calcUseImages(e)),this.themeDataService.applyDark(),this.themeDataService.applyImage())}getCSSVariables(){return this.html.getStyleColorsContent()}getCSSVariableValue(e){return getComputedStyle(this.html.getRootScopeElement()).getPropertyValue(e).trim()}loadThemesListService(){this.themeList.loadThemesListService()}getThemes(){return this.themeList.getThemesList()}getThemeServiceName(){return this.environment.getKfThemeServiceName()}getAssetsServiceSrc(e){return this.utils.getAssetsServiceSrc(e)}getThemeFromCookie(){return this.theme.getThemeFromCookie()}static{this.\u0275fac=function(i){return new(i||t)(b(Rv),b(Xr),b(Xn),b(xi),b(y1),b(wi),b(kv),b(qu),b(H
2403x),b(E1))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ov=(()=>{class t{constructor(e,i,r){this.kfHttpClientService=e,this.utils=i,this.assetsPathService=r,this.assetObservables=new Map}loadImage(e,i=!1,r=!0,o=!1,s=!0){let a=this.assetsPathService.getAssetPath(e,i,r);if(o&&(/\?/.test(a)?a=a+"&n=true":a=a+"?n=true"),this.assetObservables.has(a))return this.assetObservables.get(a)??Z(void 0);let l=a.includes(".svg")?{observe:"response",responseType:"text"}:{observe:"body",responseType:"blob"},c=this.createAssetObservable(a,i,l).pipe(ze(()=>s?this.createFallbackAssetObservable(e,i,l):Z({replaceFixedColors:!1,img:!1,svg:!1,content:null,url:""}))).pipe(xt(1));return this.assetObservables.set(a,c),c}createAssetObservable(e,i,r){return this.kfHttpClientService.get(e,r).pipe(Te(o=>{let s=this.mapResultToAsset(o,r.responseType);return s||Fn(`error fetching asset from url ${e}`)}),x(o=>{if(o)return o.replaceFixedColors=i,o}))}createFallbackAssetObservable(e,i,r){let o={replaceFixedColors:!1,img:!1,svg:!1,content:null,url:""};return i?Z(o):this.createAssetObservable(this.utils.addBasePath(e),!0,r).pipe(ze(()=>Z(o)))}mapResultToAsset(e,i){if(e){if(i==="blob")return this.getBase64Image(e).pipe(x(r=>({img:!0,svg:!1,content:r})));if(i==="text"&&e.body&&this.utils.isSvg(e.body))return Z({img:!1,svg:!0,content:e.body,url:e.url})}return null}getBase64Image(e){let i=new FileReader;return i.onload=()=>{i.result},i.readAsDataURL(e),_r(i,"load").pipe(x(()=>i.result===null?"":i.result.toString()))}cancelLoadImage(){}static{this.\u0275fac=function(i){return new(i||t)(b(Wu),b(wi),b(Bx))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ux=()=>[{provide:$u,useValue:{hideRequiredMarker:!0}},{provide:Zi,useValue:"de-DE"},{provide:vv,useValue:"de-DE"},{provide:yv,useValue:c1}],$x=t=>[Sa(()=>dt(null,null,function*(){u(C1)})),{provide:Rx,useFactory:()=>al(t)?.logLevel},{provide:Mv,useFactory:()=>al(t)?.basePath},{provide:Av,useFactory:()=>al(t)?.kfThemeServicePath},{provide:Ox,useFactory:()=>al(t)?.spinner},{provide:Nx,useFactory:()=>al(t)?.kfThemeResourcesPath}]});function Nv(t,n){let e=n?.injector??u(j),i=new rt(1),r=zt(()=>{let o;try{o=t()}catch(s){mt(()=>i.error(s));return}mt(()=>i.next(o))},{injector:e,manualCleanup:!0});return e.get(Mt).onDestroy(()=>{r.destroy(),i.complete()}),i.asObservable()}function Ds(t,n){let i=!n?.manualCleanup?n?.injector?.get(Mt)??u(Mt):null,r=x1(n?.equal),o;n?.requireSync?o=st({kind:0},{equal:r}):o=st({kind:1,value:n?.initialValue},{equal:r});let s,a=t.subscribe({next:l=>o.set({kind:1,value:l}),error:l=>{o.set({kind:2,error:l}),s?.()},complete:()=>{s?.()}});if(n?.requireSync&&o().kind===0)throw new A(601,!1);return s=i?.onDestroy(a.unsubscribe.bind(a)),Re(()=>{let l=o();switch(l.kind){case 1:return l.value;case 2:throw l.error;case 0:throw new A(601,!1)}},{equal:n?.equal})}function x1(t=Object.is){return(n,e)=>n.kind===1&&e.kind===1&&t(n.value,e.value)}var Fv=h(()=>{De();da();
2403Kd();});function I1(t,n){if(t&1&&(jo(),G(0,"svg",1),et(1,"use"),Q()),t&2){let e=W();E(),oe("href",e,null,"xlink")}}function T1(t,n){if(t&1&&ie(0,I1,2,1,":svg:svg",1),t&2){let e=W();re(e.showAltText?-1:0)}}function S1(t,n){if(t&1&&(G(0,"div",0),F(1),Q()),t&2){let e=W();E(),tt(" ",e.alt," ")}}function M1(t,n){if(t&1&&et(0,"div",0),t&2){let e=W();an("innerHTML",e.sanitizedIcon(),Qo)}}function A1(t,n){if(t&1&&(G(0,"div",1),F(1),Q()),t&2){let e=W();E(),tt(" ",e.alt()," ")}}function k1(t,n){if(t&1&&et(0,"div",0),t&2){let e=W();an("innerHTML",e.sanitizedIcon(),Qo)}}function R1(t,n){if(t&1&&(G(0,"div",1),F(1),Q()),t&2){let e=W();E(),tt(" ",e.alt()," ")}}function O1(t,n){if(t&1&&le(0,"kf-icon-external",0),t&2){let e=W();fe("url",e.url)("alt",e._alt)}}function N1(t,n){if(t&1&&le(0,"kf-icon-animated",1),t&2){let e=W();fe("name",e.name)("size",e.size)("alt",e._alt)}}function F1(t,n){if(t&1&&le(0,"kf-icon-font",2),t&2){let e=W(3);fe("name",e.name)("size",e.size)}}function P1(t,n){if(t&1&&le(0,"kf-icon-single",3),t&2){let e=W(3);fe("name",e.name)("size",e.size)("url",e.url)("alt",e._alt)}}function L1(t,n){t&1&&ie(0,F1,1,2,"kf-icon-font",2)(1,P1,1,4,"kf-icon-single",3),t&2&&re(n.status==="loaded"?0:1)}function V1(t,n){if(t&1&&(ie(0,L1,2,1),M(1,"async")),t&2){let e,i=W();re((e=k(1,1,i.fontStatus$))?0:-1,e)}}var Ku,Pv,j1,zx,B1,H1,Gx,U1,$1,z1,G1,W1,q1,Y1,K1,Jn,Cs=h(()=>{_();_();De();he();Tn();Yu();Yu();Ha();Fv();Ku=(()=>{class t{static{this.DEFAULT_SIZE=24}getSizeForFontName(e,i){try{let r=e?.match(/(\d+)(.svg)?$/);if(r?.length)return parseInt(r[0],10)}catch(r){}return i??t.DEFAULT_SIZE}getSize(e,i,r){let o=r??t.DEFAULT_SIZE;if(!r)try{let s=e?.match(/(\d+)(.svg)?$/);s?.length&&(o=parseInt(s[0],10));let a=i?.match(/(\d+).svg$/);a?.length&&(o=parseInt(a[1],10))}catch(s){}return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Pv=(()=>{class t{constructor(e){this.kfAssets=e,this.iconsElement=null,this.cachedObservables=new Map}init(){this.iconsElement=document.getElementById("kf-icons-svg"),this.iconsElement||(this.iconsElement=document.createElement("div"),this.iconsElement.setAttribute("id","kf-icons-svg"),this.iconsElement.style.display="none",this.iconsElement.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"></svg>',document.body.appendChild(this.iconsElement))}getIconId(e,i=!1){let r=i?this.getIconNameFromUrl(e):e,o=i?r:"sprite-symbol";if(this.cachedObservables.has(o))return i?this.cachedObservables.get(r):Z(`#${r}`);let s=this.loadIcon(e,i).pipe(x(a=>{let l=i?this.mapSvgToSprite(a?.content,r):a?.content;return this.setSprite(l,i),`#${r}`}),xt());return this.cachedObservables.set(o,s),s}mapSvgToSprite(e,i){let r=e?.match(/<svg(.|\n)+?>/gm);if(e&&r?.length){let o=r[0].replace(/(width|height)="(.+?)"\s*/g,"");return e=e.replace(r[0],o).replace(/(id|version|xmlns:xlink|xmlns)="(.+?)"\s*/g,'xmlns="http://www.w3.org/2000/svg"').replace(/(width|height)="(.+?)px"\s*/g,"").replace(/<svg/,`<symbol id="${i}"`).replace("</svg>","</symbol>").replace(/<\?xml.+\?>/,"").replace(/fill="#[a-f0-9]+"/gi,'fill="currentColor"').replace(/stroke="#[a-f0-9]+"/gi,'stroke="currentColor"').replace(/fill-opacity="[a-f0-9.]+"/gi,"").replace(/fill:\s*#.{3,6};/g,"fill: currentColor;").replace(/stroke:\s*#.{3,6}/g,"stroke: currentColor;").replace(/<title>.+<\/title>/,"").replace(/<desc>.+<\/desc>/,"").replace(/<!--.+-->/,""),e}return null}getIconNameFromUrl(e){let i=e.split("/");return i[i.length-1].replace(".svg","")}setSprite(e,i){e&&this.iconsElement&&(i?this.iconsElement.children[0].innerHTML+=e:this.iconsElement.children[0].innerHTML+=e.replace(/<svg(.+?)\s*>/,"").replace("</svg>","").replace(/<\?xml.+\?>/,""))}loadIcon(e,i=!1){return i?this.kfAssets.loadImage(e):this.kfAssets.loadImage("./assets/svg/sprite-symbol.svg",!1,!1)}ngOnDestroy(){this.cachedObservables.clear()}static{this.\u0275fac=function(i){return new(i||t)(b(Ov))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),j1=(()=>{class t{get url(){return this._url}set url(e){this._url=e,this.loadExternalIcon$.next(!!this._url)}constructor(e,i,r){this.kfIconService=e,this.ref=i,this.changeDetector=r,this._url=null,this.svgAttachTimeout=500,this.alt=null,this.showAltText=!1,this.iconLoadSubscription=Ee.EMPTY,this.loadExternalIcon$=new it(!1),this.externalIcon$=this.loadExternalIcon$.pipe(Te(o=>{if(o&&this.url){let s=this.kfIconService.getIconId(this.url,!0);return this.iconLoadSubscription=s?.subscribe(()=>this.checkSVGLoaded())??Ee.EMPTY,s??On}return On}))}checkSVGLoaded(){setTimeout(()=>{let e=this.ref.nativeElement.getElementsByTagName("use")?.item(0),i=this.getBBox(e);this.showAltText=!i||i.width===0||i.height===0,this.changeDetector.markForCheck()},this.svgAttachTimeout)}getBBox(e){return e&&typeof e.getBBox=="function"?e.getBBox():null}ngOnDestroy(){this.iconLoadSubscription?.unsubscribe(),this.loadExternalIcon$.complete()}static{this.\u0275fac=function(i){return new(i||t)(de(Pv),de(K),de(gt))}}static{this.\u0275cmp=H({type:t,selectors:[["kf-icon-external"]],inputs:{url:"url",alt:"alt"},decls:3,vars:4,consts:[["aria-hidden","true",1,"kf-icon-alt"],[1,"kf-icon"]],template:function(i,r){if(i&1&&(ie(0,T1,1,1),M(1,"async"),ie(2,S1,2,1,"div",0)),i&2){let o;re((o=k(1,2,r.externalIcon$))?0:-1,o),E(2),re(r.showAltText&&r.alt?2:-1)}},dependencies:[tu],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}[_nghost-%COMP%] svg{width:100%;height:100%;display:inline-block;vertical-align:top}[_nghost-%COMP%] .kf-icon-alt[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:small}"],changeDetection:0})}}return t})(),zx=(()=>{class t{transform(e,i){let r=/-/g;return e?e.match(/_\d+(.svg)?$/)?e.replace(".svg","").replace(r,"_"):`${e}
2403_${this.getSize(e,i)}`.replace(".svg","").replace(r,"_"):""}getSize(e,i){if(i!==null)return i;{let r=24;try{let o=e.match(/\d+$/);o?.length&&(r=parseInt(o[0],10))}catch(o){}return r}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=bi({name:"iconName",type:t,pure:!0})}}return t})(),B1=(()=>{class t{constructor(e){this.iconFontSizeService=e}transform(e,i){return`kf-icon-font-${this.iconFontSizeService.getSizeForFontName(e,i)}`}static{this.\u0275fac=function(i){return new(i||t)(de(Ku,16))}}static{this.\u0275pipe=bi({name:"iconFont",type:t,pure:!0})}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),H1=(()=>{class t{constructor(){this.size=null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["kf-icon-font"]],inputs:{size:"size",name:"name"},decls:4,vars:9,consts:[["aria-hidden","true","translate","no",1,"kf-icon-font-container"]],template:function(i,r){i&1&&(G(0,"div",0),M(1,"iconFont"),F(2),M(3,"iconName"),Q()),i&2&&(Ki("font-family",Yd(1,3,r.name,r.size)),E(2),tt(" ",Yd(3,6,r.name,r.size),` 2404`))},dependencies:[zx,B1],styles:['[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;font-style:normal;fill:currentColor;font-weight:400;line-height:1;letter-spacing:normal;text-transform:none;vertical-align:middle;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";height:100%;width:100%}[_nghost-%COMP%] .kf-icon-font-container[_ngcontent-%COMP%]{display:flex;height:100%;flex:1;justify-items:center;text-overflow:ellipsis;align-items:center}'],changeDetection:0})}}return t})(),Gx=(()=>{class t{constructor(e){this.kfAssetsService=e}loadSingleIcon(e,i,r){let o=this.getIconNameWithSize(r,i),s=this.getFolderPathForIcon(o,i);return this.kfAssetsService.loadImage(`${e}/${s}/${o}.svg`,!1,!1).pipe(x(a=>a?.content?X(D({},a),{content:this.prepareSvgIcon(a.content)}):void 0))}getFolderPathForIcon(e,i){let r=/_(\d+)$/,o=e.match(r);return(o?parseInt(o[1],10):null)??i}getIconNameWithSize(e,i){return new zx().transform(e,i)}prepareSvgIcon(e){return e.replace(/(width|height)="(.+?)px"\s*/g,"").replace(/<\?xml.+\?>/,"").replace(/fill-opacity="[a-f0-9.]+"/gi,"").replace(/fill:\s*#.{3,6};/g,"fill: currentColor;").replace(/fill="#[a-f0-9]+"/gi,'fill="currentColor"').replace(/fill="black"/gi,'fill="currentColor"').replace(/stroke:\s*#.{3,6}/g,"stroke: currentColor;").replace(/stroke="#[a-f0-9]+"/gi,'stroke="currentColor"').replace(/<title>.+<\/title>/,"").replace(/<desc>.+<\/desc>/,"").replace(/<!--.+-->/,"").replace(/\s\s+/gm,"")}static{this.\u0275fac=function(i){return new(i||t)(b(Ov))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),U1=(()=>{class t{constructor(){this.name=qt(null),this.size=qt(null),this.url=qt(null),this.alt=qt(null),this.sanitizer=u(Ji),this.iconSingleService=u(Gx),this.iconSizeService=u(Ku),this.iconSizeInRemIfLoaded=Re(()=>{if(this.showAltText())return null;let e=this.requestedIconSizeInPx();return e?e/16:null}),this.sanitizedIcon=Re(()=>this.iconData()?.content?this.iconData()?.content:""),this.showAltText=Re(()=>this.iconData().status==="error"),this.iconParams=Re(()=>({name:this.name(),url:this.url(),size:this.size()})),this.iconData=Ds(Nv(this.iconParams).pipe(bc(10),Te(e=>e.name?this.iconSingleService.loadSingleIcon("./assets/svg-icons",this.requestedIconSizeInPx(),e.name).pipe(x(i=>({content:this.sanitizer.bypassSecurityTrustHtml(i?.content??""),status:"success"})),Qt({status:"loading",content:null}),ze(()=>Z({status:"error",content:null}))):Z({status:"error",content:null}))),{initialValue:{content:null,status:"loading"}}),this.requestedIconSizeInPx=Re(()=>{let{name:e,url:i,size:r}=this.iconParams();return this.iconSizeService.getSize(e,i,r)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["kf-icon-single"]],hostVars:4,hostBindings:function(i,r){i&2&&Ki("width",r.iconSizeInRemIfLoaded(),"rem")("height",r.iconSizeInRemIfLoaded(),"rem")},inputs:{name:[1,"name"],size:[1,"size"],url:[1,"url"],alt:[1,"alt"]},decls:2,vars:1,consts:[["aria-hidden","true",1,"kf-icon-single",3,"innerHTML"],["aria-hidden","true",1,"kf-icon-alt"]],template:function(i,r){i&1&&ie(0,M1,1,1,"div",0)(1,A1,2,1,"div",1),i&2&&re(r.showAltText()?r.alt()?1:-1:0)},styles:["[_nghost-%COMP%]{display:inline-block;vertical-align:top}[_nghost-%COMP%] .kf-icon-single[_ngcontent-%COMP%], [_nghost-%COMP%] svg{width:100%;height:100%;display:inline-block;vertical-align:top}[_nghost-%COMP%] .kf-icon-alt[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:small}"],changeDetection:0})}}return t})(),$1=(t,n)=>(t.hasService()||(t.kfIconService=n),t.kfIconService),z1=(()=>{class t{get kfIconService(){return this._kfIconService}set kfIconService(e){this._kfIconService=e,this._kfIconService.init()}hasService(){return!!this._kfIconService}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})(),G1=(()=>{class t extends Pv{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=ct(t)))(r||t)}})()}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),W1=(()=>{class t{constructor(){this.startOnLoad=qt(!1,{transform:$e}),this.loop=qt(!1,{transform:$e}),this.playOnHover=qt(!1,{transform:$e}),this.playOnPress=qt(!1,{transform:$e}),this.respectReducedMotion=qt(!1,{transform:$e}),this.svgLoaded=new w,this.duration=0,this.LOOP_INTERVAL=100,this.mediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)"),this.prefersReducedMotion=Ds(_r(this.mediaQuery,"change").pipe(x(e=>e.matches)),{initialValue:this.mediaQuery.matches}),this.host=u(K),this.loopEffect=zt(()=>{this.loop()&&!this.shouldReduceMotion()?this.play():this.clearLoopTimer()}),this.startOnLoadEffect=zt(()=>{this.startOnLoad()&&!this.shouldReduceMotion()&&this.play()}),this.respectReducedMotionEffect=zt(()=>{this.respectReducedMotion()&&this.stop()})}ngAfterViewInit(){this.svgLoadedSubscription=this.svgLoaded.pipe(wo(1)).subscribe(()=>{this.svg=this.getSvg(),this.duration=this.getSvgDuration(),(this.startOnLoad()||this.loop())&&this.play()})}ngOnDestroy(){this.clearLoopTimer(),this.svgLoadedSubscription?.unsubscribe()}onHoverStart(){this.playOnHover()&&!this.shouldReduceMotion()&&this.play()}onPressStart(){this.playOnPress()&&!this.shouldReduceMotion()&&this.play()}play(){!this.svg||this.shouldReduceMotion()||(this.svg.setCurrentTime(0),this.svg.unpauseAnimations(),this.loop()&&this.startLoopWatcher())}stop(){this.svg&&(this.svg.pauseAnimations(),this.svg.setCurrentTime(0))}shouldReduceMotion(){return this.respectReducedMotion()&&this.prefersReducedMotion()}
2404startLoopWatcher(){!this.svg||!this.duration||this.loopTimerId||this.shouldReduceMotion()||this.check()}getSvg(){return this.host.nativeElement.querySelector("kf-icon svg")}clearLoopTimer(){this.loopTimerId!==void 0&&(clearTimeout(this.loopTimerId),this.loopTimerId=void 0)}check(){if(!this.svg||this.shouldReduceMotion()){this.clearLoopTimer();return}this.svg.getCurrentTime()>=this.duration&&(this.svg.setCurrentTime(0),this.svg.unpauseAnimations()),this.loopTimerId=window.setTimeout(()=>this.check(),this.LOOP_INTERVAL)}getSvgDuration(){if(!this.svg)return 0;let e=Array.from(this.svg.querySelectorAll("animate, animateTransform, animateMotion"));return Math.max(...e.map(i=>i.getSimpleDuration()||0),0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=ee({type:t,selectors:[["","kfIconAnimated",""]],hostBindings:function(i,r){i&1&&be("mouseenter",function(){return r.onHoverStart()})("mousedown",function(){return r.onPressStart()})("touchstart",function(){return r.onPressStart()})},inputs:{startOnLoad:[1,"startOnLoad"],loop:[1,"loop"],playOnHover:[1,"playOnHover"],playOnPress:[1,"playOnPress"],respectReducedMotion:[1,"respectReducedMotion"]}})}}return t})(),q1=(()=>{class t{constructor(){this.name=qt(null),this.size=qt(null),this.alt=qt(null),this.sanitizer=u(Ji),this.iconAnimatedService=u(Gx),this.iconSizeService=u(Ku),this.animatedIconDirective=u(W1,{optional:!0}),this.svgLoadedEffect=zt(()=>{this.iconData()?.content&&this.animatedIconDirective?.svgLoaded.next()}),this.iconSizeInRemIfLoaded=Re(()=>{if(this.showAltText())return null;let e=this.requestedIconSizeInPx();return e?e/16:null}),this.sanitizedIcon=Re(()=>this.iconData()?.content?this.iconData()?.content:""),this.showAltText=Re(()=>this.iconData().status==="error"),this.iconParams=Re(()=>({name:this.name(),size:this.size()})),this.iconData=Ds(Nv(this.iconParams).pipe(bc(10),Te(e=>e.name?this.iconAnimatedService.loadSingleIcon("./assets/animated-icons",this.requestedIconSizeInPx(),e.name).pipe(x(i=>({content:this.sanitizer.bypassSecurityTrustHtml(i?.content??""),status:"success"})),Qt({status:"loading",content:null}),ze(()=>Z({status:"error",content:null}))):Z({status:"error",content:null}))),{initialValue:{content:null,status:"loading"}}),this.requestedIconSizeInPx=Re(()=>{let{name:e,size:i}=this.iconParams();return this.iconSizeService.getSize(e,null,i)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["kf-icon-animated"]],hostVars:4,hostBindings:function(i,r){i&2&&Ki("width",r.iconSizeInRemIfLoaded(),"rem")("height",r.iconSizeInRemIfLoaded(),"rem")},inputs:{name:[1,"name"],size:[1,"size"],alt:[1,"alt"]},decls:2,vars:1,consts:[["aria-hidden","true",1,"kf-icon-animated",3,"innerHTML"],["aria-hidden","true",1,"kf-icon-alt"]],template:function(i,r){i&1&&ie(0,k1,1,1,"div",0)(1,R1,2,1,"div",1),i&2&&re(r.showAltText()?r.alt()?1:-1:0)},styles:["[_nghost-%COMP%]{display:inline-block;vertical-align:top}[_nghost-%COMP%] .kf-icon-animated[_ngcontent-%COMP%], [_nghost-%COMP%] svg{width:100%;height:100%;display:inline-block;vertical-align:top}[_nghost-%COMP%] .kf-icon-alt[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:small}"],changeDetection:0})}}return t})(),Y1=(()=>{class t{constructor(){this.fontLoadedCache=new Set,this.fontStatusObservables=new Map,this.fontLoadTimeoutMs=600,this.themeReadyTimeoutMs=3e3,this.document=u(z),this.environmentService=u(xi)}getFontStatus(e,i){if(this.fontLoadedCache.has(e))return Z({status:"loaded"});if(this.fontStatusObservables.has(e))return this.fontStatusObservables.get(e);let o=this.environmentService.themeLoaded$.pipe(L(Boolean),fc({first:this.themeReadyTimeoutMs}),He(1),Te(()=>this.isFontLoaded(e,i).pipe(x(s=>(s.status==="loaded"&&this.fontLoadedCache.add(e),s)))),ze(()=>Z({status:"unloaded"})),xt({bufferSize:1,refCount:!0}),Io(()=>{this.fontStatusObservables.delete(e)}));return this.fontStatusObservables.set(e,o),o}isFontLoaded(e,i){let r=`kf-icon-font-${e}`,o=`${e}px "${r}"`,s=document.fonts;return Ne(s.load(o)).pipe(fc({first:this.fontLoadTimeoutMs}),x(a=>({status:a.length>0&&this.checkFontRenders(e,o,i)?"loaded":"unloaded"})),ze(()=>Z({status:"unloaded"}
2404)))}checkFontRenders(e,i,r){let s=this.document.createElement("canvas").getContext("2d",{willReadFrequently:!0}),l=r??`ic_orden_mit_euro_${e}`;if(!s)return!1;s.font=`${e}px monospace`;let c=s.measureText(l).width;s.font=`${i}, monospace`;let d=s.measureText(l).width;return c!==d}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),K1=new y("ICON_FONT_LOADER",{providedIn:"root",factory:()=>u(Y1)}),Jn=(()=>{class t{constructor(){this.destroy$=new w,this.el=u(K),this.iconSizeService=u(Ku),this.iconFontLoader=u(K1),this.size=null,this.name=null,this.isAnimated=!1,this._alt=null,this._userAriaLabel=null,this.url=null,this.expand=!1}static{this.DEFAULT_SIZE=24}static{this.BASE_FONT_SIZE=16}set alt(e){this._alt=e,this._userAriaLabel||this.setAriaLabel(e)}set userAriaLabel(e){this.setAriaLabel(e),this._userAriaLabel=e}ngOnChanges(e){(e.name||e.url||e.size)&&this.setIconFontLoadedState()}setIconFontLoadedState(){this.fontStatus$=this.iconFontLoader.getFontStatus(this.iconSizeService.getSize(this.name,this.url,this.size),this.name)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setAriaLabel(e){e?this.el.nativeElement.setAttribute("aria-label",e):this.el.nativeElement.removeAttribute("aria-label")}get fontFamily(){let e=this.url;return e?null:`'kf-icon-font-${this.iconSizeService.getSize(this.name,e,this.size)}'`}get iconSize(){return this.expand?"100%":`${this.iconSizeService.getSize(this.name,this.url,this.size)/t.BASE_FONT_SIZE}rem`}get iconFontSize(){if(this.expand){let e=this.el?.nativeElement?.clientWidth||t.DEFAULT_SIZE,i=this.el?.nativeElement?.clientHeight||t.DEFAULT_SIZE;return`${(e>i?i:e)/t.BASE_FONT_SIZE}rem`}return`${this.iconSizeService.getSize(this.name,this.url,this.size)/t.BASE_FONT_SIZE}rem`}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["kf-icon"]],hostVars:12,hostBindings:function(i,r){i&2&&(Ki("font-family",r.fontFamily)("width",r.iconSize)("height",r.iconSize)("font-size",r.iconFontSize),pe("kf-icon-custom",r.url)("kf-icon-expand",r.expand))},inputs:{size:"size",name:"name",isAnimated:"isAnimated",alt:"alt",userAriaLabel:[0,"aria-label","userAriaLabel"],url:"url",expand:"expand"},features:[pt([{provide:Pv,useFactory:$1,deps:[z1,G1]}]),ht],decls:3,vars:1,consts:[[3,"url","alt"],[3,"name","size","alt"],[3,"name","size"],[3,"name","size","url","alt"]],template:function(i,r){i&1&&ie(0,O1,1,2,"kf-icon-external",0)(1,N1,1,3,"kf-icon-animated",1)(2,V1,2,3),i&2&&re(r.url?0:r.isAnimated?1:r.name?2:-1)},dependencies:[j1,H1,U1,q1,tu],styles:[".mat-menu-panel[_nghost-%COMP%]:not(kf-icon-custom):not(kf-icon-single), .mat-menu-panel [_nghost-%COMP%]:not(kf-icon-custom):not(kf-icon-single){margin-right:.8rem}[_nghost-%COMP%]{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle}.kf-icon-expand[_nghost-%COMP%]{display:flex}.kf-icon-link-text[_nghost-%COMP%]{margin-bottom:.25rem}"],changeDetection:0})}}return t})()});var lt,Jr=h(()=>{lt=(function(t){return t[t.DISABLED=0]="DISABLED",t[t.READY=1]="READY",t[t.OFFLINE=2]="OFFLINE",t[t.CLOSED=3]="CLOSED",t})(lt||{})});var ei,ws=h(()=>{De();Jr();_();ei=(()=>{class t{constructor(){this.uiState=new it(lt.DISABLED),this.resizedEvent=new w}sendResizedEvent(e,i){let r={element:e,width:i.target.clientWidth,height:i.target.clientHeight};this.resizedEvent.next(r)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var ir,ll=h(()=>{De();_();ir=(()=>{class t{constructor(){this.conversationId=new w,this.question=new w,this.answer=new w}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function xs(){let t=typeof Zone<"u"?Zone.current:void 0,n=window;return n.okpGlobal&&n.okpGlobal.portalContext?n.okpGlobal.portalContext:t&&t._properties.PortalContext?t._properties.PortalContext:new An}var An,Is=h(()=>{An=class{getLocalizationService(){console.warn(`${this.constructor.name}.getLocalizationService not implemented.`)}getLoggingService(){console.warn(`${this.constructor.name}.getLoggingService not implemented.`)}getNavigationService(){console.warn(`${this.constructor.name}.getNavigationService not implemented.`)}getCttService(){console.warn(`${this.constructor.name}.getCttService not implemented.`)}getSecurityService(){console.warn(`${this.constructor.name}
2404.getSecurityService not implemented.`)}getApiEndpointService(){console.warn(`${this.constructor.name}.getApiEndpointService not implemented.`)}getDataExchangeService(){console.warn(`${this.constructor.name}.getDataExchangeService not implemented.`)}getWebComponentService(){console.warn(`${this.constructor.name}.getWebComponentService not implemented.`)}getVpContextService(){console.warn(`${this.constructor.name}.getVpContextService not implemented.`)}getMarketingService(){console.warn(`${this.constructor.name}.getMarketingService not implemented.`)}}});function Qu(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,r,o,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((r=t.length)==n.length){for(o=0;o<r;o++)if(!Qu(t[o],n[o]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(o in t){if(!Qu(t[o],n[o]))return!1;s[o]=!0}for(o in n)if(!(o in s)&&typeof n[o]<"u")return!1;return!0}return!1}function rr(t){return typeof t<"u"&&t!==null}function fl(t){return Zu(t)&&!$v(t)&&t!==null}function Zu(t){return typeof t=="object"}function $v(t){return Array.isArray(t)}function zv(t){return typeof t=="string"}function Z1(t){return typeof t=="function"}function Lv(t,n){let e=Object.assign({},t);return Zu(t)?(Zu(t)&&Zu(n)&&Object.keys(n).forEach(i=>{fl(n[i])?i in t?e[i]=Lv(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e):Lv({},n)}function Vv(t,n){let e=n.split(".");n="";do n+=e.shift(),rr(t)&&rr(t[n])&&(fl(t[n])||$v(t[n])||!e.length)?(t=t[n],n=""):e.length?n+=".":t=void 0;while(e.length);return t}function Q1(t,n,e){let i=n.split("."),r=t;for(let o=0;o<i.length;o++){let s=i[o];o===i.length-1?r[s]=e:((!r[s]||!fl(r[s]))&&(r[s]={}),r=r[s])}}var Ts,Wx,dl,qx,Ss,Yx,Ms,Kx,ul,jv,Bv,Hv,Uv,cl,Kt,ti,hn,Zt=h(()=>{_();_();De();he();Ts=class{},Wx=(()=>{class t extends Ts{getTranslation(e){return Z({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ct(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),dl=class{},qx=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();Ss=class{},Yx=(()=>{class t extends Ss{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(zv(e))return this.interpolateString(e,i);if(Z1(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(r,o)=>{let s=Vv(i,o);return rr(s)?s:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ct(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Ms=class{},Kx=(()=>{class t extends Ms{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ct(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),ul=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new me;onLangChange=new me;onDefaultLangChange=new me},jv=new y("ISOLATE_TRANSLATE_SERVICE"),Bv=new y("USE_DEFAULT_LANG"),Hv=new y("DEFAULT_LANGUAGE"),Uv=new y("USE_EXTEND"),cl=t=>Ai(t)?t:Z(t),Kt=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(e){this.store.defaultLang=e}get currentLang(){return this.store.currentLang}set currentLang(e){this.store.currentLang=e}get langs(){return this.store.langs}set langs(e){this.store.langs=e}get translations(){return this.store.translations}set translations(e){this.store.translations=e}constructor(e,i,r,o,s,a=!0,l=!1,c=!1,d){this.store=e,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=a,this.extend=c,l&&(this.store=new ul),d&&this.setDefaultLang(d)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(He(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return Z(this.translations[e]);this.currentLang||(this.currentLang=e);let i=this.retrieveTranslations(e);return Ai(i)?(i.pipe(He(1)).subscribe(()=>{this.changeLang(e)}),i):(this.changeLang(e),Z(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(xt(1),He(1));return this.loadingTranslations=i.pipe(x(r=>this.compiler.compileTranslations(r,e)),xt(1),He(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?D(D({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){let o=this.compiler.compileTranslations(i,e);(r||this.extend)&&this.translations[e]?this.translations[e]=Lv(this.translations[e],o):this.translations[e]=o,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let i=e.filter(r=>!this.langs.includes(r));i.length>0&&(this.langs=[...this.langs,...i])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,i,r){let o;
2404if(e&&(o=this.runInterpolation(Vv(e,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Vv(this.translations[this.defaultLang],i),r)),o===void 0){let s={key:i,translateService:this};typeof r<"u"&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return o!==void 0?o:i}runInterpolation(e,i){if($v(e))return e.map(r=>this.runInterpolation(r,i));if(fl(e)){let r={};for(let o in e){let s=this.runInterpolation(e[o],i);s!==void 0&&(r[o]=s)}return r}else return this.parser.interpolate(e,i)}getParsedResult(e,i,r){if(i instanceof Array){let o={},s=!1;for(let l of i)o[l]=this.getParsedResultForKey(e,l,r),s=s||Ai(o[l]);if(!s)return o;let a=i.map(l=>cl(o[l]));return Gs(a).pipe(x(l=>{let c={};return l.forEach((d,f)=>{c[i[f]]=d}),c}))}return this.getParsedResultForKey(e,i,r)}get(e,i){if(!rr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(qs(r=>cl(this.getParsedResult(r,e,i)))):cl(this.getParsedResult(this.translations[this.currentLang],e,i))}getStreamOnTranslationChange(e,i){if(!rr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return si(Pn(()=>this.get(e,i)),this.onTranslationChange.pipe(Te(r=>{let o=this.getParsedResult(r.translations,e,i);return cl(o)})))}stream(e,i){if(!rr(e)||!e.length)throw new Error('Parameter "key" required');return si(Pn(()=>this.get(e,i)),this.onLangChange.pipe(Te(r=>{let o=this.getParsedResult(r.translations,e,i);return cl(o)})))}instant(e,i){if(!rr(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],e,i);return Ai(r)?Array.isArray(e)?e.reduce((o,s)=>(o[s]=s,o),{}):e:r}set(e,i,r=this.currentLang){Q1(this.translations[r],e,zv(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}
2404resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(i){return new(i||t)(b(ul),b(Ts),b(Ms),b(Ss),b(dl),b(Bv),b(jv),b(Uv),b(Hv))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ti=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,r){let o=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(r,e,i);Ai(s)?s.subscribe(o):o(s)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||!e.length)return e;if(Qu(e,this.lastKey)&&Qu(i,this.lastParams))return this.value;let r;if(rr(i[0])&&i.length)if(zv(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else fl(i[0])&&(r=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)(de(Kt,16),de(gt,16))};static \u0275pipe=bi({name:"translate",type:t,pure:!1});static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),hn=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Ts,useClass:Wx},e.compiler||{provide:Ms,useClass:Kx},e.parser||{provide:Ss,useClass:Yx},e.missingTranslationHandler||{provide:dl,useClass:qx},ul,{provide:jv,useValue:e.isolate},{provide:Bv,useValue:e.useDefaultLang},{provide:Uv,useValue:e.extend},{provide:Hv,useValue:e.defaultLanguage},Kt]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Ts,useClass:Wx},e.compiler||{provide:Ms,useClass:Kx},e.parser||{provide:Ss,useClass:Yx},e.missingTranslationHandler||{provide:dl,useClass:qx},{provide:jv,useValue:e.isolate},{provide:Bv,useValue:e.useDefaultLang},{provide:Uv,useValue:e.extend},{provide:Hv,useValue:e.defaultLanguage},Kt]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=ue({type:t});static \u0275inj=ae({})}return t})()});var As,ks=h(()=>{_();As=(()=>{class t{constructor(){this.rootUrl="/"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var Qx,Xx=h(()=>{ks();_();ks();Le();Qx=(()=>{class t{constructor(e,i){this.config=e,this.http=i}get rootUrl(){return this._rootUrl||this.config.rootUrl}set rootUrl(e){this._rootUrl=e}static{this.\u0275fac=function(i){return new(i||t)(b(As),b(Yn))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac})}}return t})()});var Gv,X1,pl,Wv,qv,Yv,_e,Et=h(()=>{Le();Gv=class{encodeKey(n){return encodeURIComponent(n)}encodeValue(n){return encodeURIComponent(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}},X1=new Gv,pl=class{constructor(n,e,i,r,o){this.name=n,this.value=e,this.options=i,this.options=i||{},(this.options.style===null||this.options.style===void 0)&&(this.options.style=r),(this.options.explode===null||this.options.explode===void 0)&&(this.options.explode=
2404o)}serializeValue(n,e=","){if(n==null)return"";if(n instanceof Array)return n.map(i=>this.serializeValue(i).split(e).join(encodeURIComponent(e))).join(e);if(typeof n=="object"){let i=[];for(let r of Object.keys(n)){let o=n[r];o!=null&&(o=this.serializeValue(o).split(e).join(encodeURIComponent(e)),this.options.explode?i.push(`${r}=${o}`):(i.push(r),i.push(o)))}return i.join(e)}else return String(n)}},Wv=class extends pl{constructor(n,e,i){super(n,e,i,"simple",!1)}append(n){let e=this.value;e==null&&(e="");let i=this.options.style==="label"?".":"",r=this.options.explode?i===""?",":i:",",o=!1;return this.options.style==="matrix"&&(i=`;${this.name}=`,this.options.explode&&typeof e=="object"&&(i=";",e instanceof Array?(e=e.map(s=>`${this.name}=${this.serializeValue(s,";")}`),e=e.join(";"),o=!0):(e=this.serializeValue(e,";"),o=!0))),e=i+(o?e:this.serializeValue(e,r)),n=n.replace(`{${this.name}}`,e),n=n.replace(`{${i}${this.name}${this.options.explode?"*":""}}`,e),n}serializeValue(n,e=","){var i=typeof n=="string"?encodeURIComponent(n):super.serializeValue(n,e);return i=i.replace(/%3D/g,"="),i=i.replace(/%3B/g,";"),i=i.replace(/%2C/g,","),i}},qv=class extends pl{constructor(n,e,i){super(n,e,i,"form",!0)}append(n){if(this.value instanceof Array)if(this.options.explode)for(let e of this.value)n=n.append(this.name,this.serializeValue(e));else{let e=this.options.style==="spaceDelimited"?" ":this.options.style==="pipeDelimited"?"|":",";return n.append(this.name,this.serializeValue(this.value,e))}else if(this.value!==null&&typeof this.value=="object")if(this.options.style==="deepObject")for(let e of Object.keys(this.value)){let i=this.value[e];i!=null&&(n=n.append(`${this.name}[${e}]`,this.serializeValue(i)))}else if(this.options.explode)for(let e of Object.keys(this.value)){let i=this.value[e];i!=null&&(n=n.append(e,this.serializeValue(i)))}else{let e=[];for(let i of Object.keys(this.value)){let r=this.value[i];r!=null&&(e.push(i),e.push(r))}n=n.append(this.name,this.serializeValue(e))}else this.value!==null&&this.value!==void 0&&(n=n.append(this.name,this.serializeValue(this.value)));return n}},Yv=class extends pl{constructor(n,e,i){super(n,e,i,"simple",!1)}append(n){if(this.value!==null&&this.value!==void 0)if(this.value instanceof Array)for(let e of this.value)n=n.append(this.name,this.serializeValue(e));else n=n.append(this.name,this.serializeValue(this.value));return n}},_e=class{constructor(n,e,i){this.rootUrl=n,this.operationPath=e,this.method=i,this._path=new Map,this._query=new Map,this._header=new Map}path(n,e,i){this._path.set(n,new Wv(n,e,i||{}))}query(n,e,i){this._query.set(n,new qv(n,e,i||{}))}header(n,e,i){this._header.set(n,new Yv(n,e,i||{}))}body(n,e="application/json"){if(n instanceof Blob?this._bodyContentType=n.type:this._bodyContentType=e,this._bodyContentType==="application/x-www-form-urlencoded"&&n!==null&&typeof n=="object"){let i=[];for(let r of Object.keys(n)){let o=n[r];o instanceof Array||(o=[o]);for(let s of o){let a=this.formDataValue(s);a!==null&&i.push([r,a])}}this._bodyContent=i.map(r=>`${encodeURIComponent(r[0])}=${encodeURIComponent(r[1])}`).join("&")}else if(this._bodyContentType==="multipart/form-data"){let i=new FormData;if(n!=null)for(let r of Object.keys(n)){let o=n[r];if(o instanceof Array)for(let s of o){let a=this.formDataValue(s);a!==null&&i.append(r,a)}else{let s=this.formDataValue(o);s!==null&&i.set(r,s)}}this._bodyContent=i}else this._bodyContent=n}formDataValue(n){return n==null?null:n instanceof Blob?n:typeof n=="object"?new Blob([JSON.stringify(n)],{type:"application/json"}):String(n)}build(n){n=n||{};let e=this.operationPath;for(let s of this._path.values())e=s.append(e);let i=this.rootUrl+e,r=new Sn({encoder:X1});for(let s of this._query.values())r=s.append(r);let o=new dn;n.accept&&(o=o.append("Accept",n.accept));for(let s of this._header.values())o=s.append(o);return this._bodyContentType&&!(this._bodyContent instanceof FormData)&&(o=o.set("Content-Type",this._bodyContentType)),new Xi(this.method.toUpperCase(),i,this._bodyContent,{params:r,headers:o,responseType:n.responseType,reportProgress:n.reportProgress,context:n.context})}}});function Xu(t,n,e,i){let r=new _e(n,Xu.PATH,"post");return e&&(r.header("x-conversationid",e["x-conversationid"],{}),r.header("Authorization",e.Authorization,{}),r.body(e.body,"application/json")),t.request(r.build({responseType:"json",accept:"application/json",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var Jx=h(()=>{Le();he();Et();Xu.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation/question"});function Ju(t,n,e,i){let r=new _e(n,Ju.PATH,"delete");return e&&r.header("x-conversationid",e["x-conversationid"],{}),t.request(r.build({responseType:"text",accept:"*/*",context:i})).pipe(L(o=>o instanceof ce),x(o=>o.clone({body:void 0})))}var eI=h(()=>{Le();he();Et();Ju.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation/feedback"});function ef(t,n,e,i){let r=new _e(n,ef.PATH,"get");return e&&r.path("answerId",e.answerId,{}),t.request(r.build({responseType:"json",accept:"application/json",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var tI=h(()=>{Le();he();Et();ef.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/answer/{answerId}"});function tf(t,n,e,i){let r=new _e(n,tf.PATH,"get");return e&&r.header("x-conversationid",e["x-conversationid"],{}),t.request(r.build({responseType:"json",accept:"application/json",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var nI=h(()=>{Le();he();Et();tf.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/history/conversation"});function nf(t,n,e,i){let r=new _e(n,nf.PATH,"get");return e&&r.header("x-conversationid",e["x-conversationid"],{}),t.request(r.build({responseType:"json",accept:"application/json",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var iI=h(()=>{Le();he();Et();nf.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation"});function rf(t,n,e,i){let r=new _e(n,rf.PATH,"get");return e&&(r.query("limit",e.limit,{}),r.query("page",e.page,{}),r.query("addEmptyConversations",e.addEmptyConversations,{}),r.query("categories",e.categories,{}),r.query("startDate",e.startDate,{}),r.query("endDate",e.endDate,{}),r.query("spam",e.spam,{}),r.query("feedback",e.feedback,{}),r.query("noRelevantContent",e.noRelevantContent,{}),r.header("Accept",e.Accept,{})),t.request(r.build({responseType:"blob",accept:"application/octet-stream",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var rI=h(()=>{Le();he();Et();rf.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/history/conversations"});function of(t,n,e,i){let r=new _e(n,of.PATH,"get");return e&&r.path("dialogId",e.dialogId,{}),t.request(r.build({responseType:"json",accept:"application/json",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var oI=h(()=>{Le();he();Et();of.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/dialog/{dialogId}"});function sf(t,n,e,i){let r=new _e(n,sf.PATH,"get");return e&&r.path("questionId",e.questionId,{}),t.request(r.build({responseType:"json",accept:"application/json",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var sI=h(()=>{Le();he();Et();sf.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/question/{questionId}"});function af(t,n,e,i){let r=new _e(n,af.PATH,"get");return t.request(r.build({responseType:"json",accept:"application/json",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var aI=h(()=>{Le();he();Et();af.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/settings"});function lf(t,n,e,i){let r=new _e(n,lf.PATH,"get");return t.request(r.build({responseType:"json",accept:"application/json",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var lI=h(()=>{Le();he();Et();lf.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/statistics"});function cf(t,n,e,i){let r=new _e(n,cf.PATH,"post");return e&&(r.header("x-conversationid",e["x-conversationid"],{}),r.body(e.body,"application/json")),t.request(r.build({responseType:"text",accept:"*/*",context:i})).pipe(L(o=>o instanceof ce),x(o=>o.clone({body:void 0})))}var cI=h(()=>{Le();he();Et();cf.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation/feedback"});function df(t,n,e,i){let r=new _e(n,df.PATH,"post");return e&&(r.header("Referer",e.Referer,{}),r.header("Authorization",e.Authorization,{}),r.body(e.body,"application/json")),t.request(r.build({responseType:"json",accept:"application/json",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var dI=h(()=>{Le();he();Et();df.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation"});function uf(t,n,e,i){let r=new _e(n,uf.PATH,"post");return e&&r.header("x-conversationid",e["x-conversationid"],{}),t.request(r.build({responseType:"json",accept:"application/json",context:i})).pipe(L(o=>o instanceof ce),x(o=>o))}var uI=h(()=>{Le();he();Et();uf.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation/dialog"});function ff(t,n,e,i){let r=new _e(n,ff.PATH,"put");return e&&r.header("x-conversationid",e["x-conversationid"],{}),t.request(r.build({responseType:"text",accept:"*/*",context:i})).pipe(L(o=>o instanceof ce),x(o=>o.clone({body:void 0})))}var fI=h(()=>{Le();he();Et();ff.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation"});function hf(t,n,e,i){let r=new _e(n,hf.PATH,"put");return e&&r.path("dialogId",e.dialogId,{}),t.request(r.build({responseType:"text",accept:"*/*",context:i})).pipe(L(o=>o instanceof ce),x(o=>o.clone({body:void 0})))}var hI=h(()=>{Le();he();Et();hf.PATH="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/dialog/{dialogId}"});var eo,pf=h(()=>{De();Xx();ks();Jx();eI();tI();nI();iI();rI();oI();sI();aI();lI();cI();dI();uI();fI();hI();_();ks();Le();eo=(()=>{class t extends Qx{constructor(e,i){super(e,i)}static{this.GetAnswerPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/answer/{answerId}"}getAnswer$Response(e,i){let r=ef(this.http,this.rootUrl,e,i);return ut(r)}getAnswer(e,i){return this.getAnswer$Response(e,i).then(o=>o.body)}static{this.GetConversationDialoguesPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation"}getConversationDialogues$Response(e,i){let r=nf(this.http,this.rootUrl,e,i);return ut(r)}getConversationDialogues(e,i){return this.getConversationDialogues$Response(e,i).then(o=>o.body)}static{this.StopConversationPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation"}stopConversation$Response(e,i){let r=ff(this.http,this.rootUrl,e,i);return ut(r)}stopConversation(e,i){return this.stopConversation$Response(e,i).then(o=>o.body)}static{this.StartConversationPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation"}startConversation$Response(e,i){let r=df(this.http,this.rootUrl,e,i);return ut(r)}startConversation(e,i){return this.startConversation$Response(e,i).then(o=>o.body)}static{this.StartDialogPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation/dialog"}startDialog$Response(e,i){let r=uf(this.http,this.rootUrl,e,i);return ut(r)}startDialog(e,i){return this.startDialog$Response(e,i).then(o=>o.body)}static{this.SendFeedbackPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation/feedback"}sendFeedback$Response(e,i){let r=cf(this.http,this.rootUrl,e,i);return ut(r)}
2404sendFeedback(e,i){return this.sendFeedback$Response(e,i).then(o=>o.body)}static{this.DeleteFeedbackPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation/feedback"}deleteFeedback$Response(e,i){let r=Ju(this.http,this.rootUrl,e,i);return ut(r)}deleteFeedback(e,i){return this.deleteFeedback$Response(e,i).then(o=>o.body)}static{this.AddQuestionPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/conversation/question"}addQuestion$Response(e,i){let r=Xu(this.http,this.rootUrl,e,i);return ut(r)}addQuestion(e,i){return this.addQuestion$Response(e,i).then(o=>o.body)}static{this.GetDialogPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/dialog/{dialogId}"}getDialog$Response(e,i){let r=of(this.http,this.rootUrl,e,i);return ut(r)}getDialog(e,i){return this.getDialog$Response(e,i).then(o=>o.body)}static{this.StopDialogPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/dialog/{dialogId}"}stopDialog$Response(e,i){let r=hf(this.http,this.rootUrl,e,i);return ut(r)}stopDialog(e,i){return this.stopDialog$Response(e,i).then(o=>o.body)}static{this.GetConversationPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/history/conversation"}getConversation$Response(e,i){let r=tf(this.http,this.rootUrl,e,i);return ut(r)}getConversation(e,i){return this.getConversation$Response(e,i).then(o=>o.body)}static{this.GetConversationsPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/history/conversations"}getConversations$Response(e,i){let r=rf(this.http,this.rootUrl,e,i);return ut(r)}getConversations(e,i){return this.getConversations$Response(e,i).then(o=>o.body)}static{this.GetQuestionPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/question/{questionId}"}getQuestion$Response(e,i){let r=sf(this.http,this.rootUrl,e,i);return ut(r)}getQuestion(e,i){return this.getQuestion$Response(e,i).then(o=>o.body)}static{this.GetSettingsValuesPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/settings"}getSettingsValues$Response(e,i){let r=af(this.http,this.rootUrl,e,i);return ut(r)}getSettingsValues(e,i){return this.getSettingsValues$Response(e,i).then(o=>o.body)}static{this.GetStatisticsPath="/rest/de.bankenit.vac.chatgateway.api.v1.ChatGatewayApi/statistics"}getStatistics$Response(e,i){let r=lf(this.http,this.rootUrl,e,i);return ut(r)}getStatistics(e,i){return this.getStatistics$Response(e,i).then(o=>o.body)}static{this.\u0275fac=function(i){return new(i||t)(b(As),b(Yn))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var pI=h(()=>{pf()});function J1(t){let n=t,e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return e===1&&i===0?1:5}var mI,gI=h(()=>{mI=["de",[["AM","PM"]],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."]],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{ATS:["\xF6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"\u0440."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl\xA3"],GHS:[void 0,"\u20B5"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],RWF:[void 0,"F.Rw"],SYP:[void 0,"SYP"],THB:["\u0E3F"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",J1]});var vI,yI=h(()=>{vI=[[["Mitternacht","morgens","vorm.","mittags","nachm.","abends","nachts"],void 0,["Mitternacht","morgens","vormittags","mittags","nachmittags","abends","nachts"]],[["Mitternacht","Morgen","Vorm.","Mittag","Nachm.","Abend","Nacht"],void 0,["Mitternacht","Morgen","Vormittag","Mittag","Nachmittag","Abend","Nacht"]],["00:00",["05:00","10:00"],["10:00","12:00"],["12:00","13:00"],["13:00","18:00"],["18:00","24:00"],["00:00","05:00"]]]});function eL(t){let n=t,e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return e===1&&i===0?1:5}var bI,_I=h(()=>{bI=["en-GB",[["a","p"],["am","pm"]],[["am","pm"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2404ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"GBP","\xA3","British Pound",{JPY:["JP\xA5","\xA5"],USD:["US$","$"]},"ltr",eL]});var EI,DI=h(()=>{EI=[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],void 0],[["midnight","noon","morning","afternoon","evening","night"],void 0,void 0],["00:00","12:00",["00:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","24:00"]]]});var wI,CI=h(()=>{wI={VAC:{GENERAL:{DEFAULT_BOT_NAME:"Chatbot",OPEN_BUTTON:"Chatbot \xF6ffnen"},HEADER:{BETA_REMARK:"Ich bin ganz neu und lerne jeden Tag hinzu!",INFO_BUTTON:"Weitere Informationen anzeigen",CLOSE_BUTTON:"Chatbot schlie\xDFen"},CONTENT:{CHAT_HISTORY_TEXT:"Chatverlauf",YOU_WRITE:"Du",LOADING:"Warte auf Antwort vom Server",DEFAULT_WELCOME_MESSAGE:`Hallo, ich bin der Chatbot Ihrer Bank und beantworte Ihnen gerne Fragen rund um uns und unser Angebot. Meine Antworten werden mithilfe k\xFCnstlicher Intelligenz generiert. Dabei k\xF6nnen ungenaue, unvollst\xE4ndige oder fehlerhafte Informationen entstehen. Sie sind unverbindlich und ersetzen keine individuelle Beratung. Bitte geben Sie keine personenbezogenen oder vertraulichen Daten ein. Bankmitarbeitende k\xF6nnen Einsicht in Ihre Chatverl\xE4ufe nehmen. Weitere Informationen zu mir finden Sie in meinem Infobereich. 2405 2406Es gelten unsere Nutzungsbedingungen.`,REFERENCES:"Quellen:",REFERENCE:"Quelle",POSITIVE_FEEDBACK:"Diese Antwort wurde positiv bewertet",NEGATIVE_FEEDBACK:"Diese Antwort wurde negativ bewertet",POSITIVE_FEEDBACK_BUTTON:"Antwort als hilfreich bewerten",NEGATIVE_FEEDBACK_BUTTON:"Antwort negativ bewerten",OFFLINE_MESSAGE:"Service steht derzeit nicht zur Verf\xFCgung. Bitte versuchen Sie es sp\xE4ter nochmal.",ERROR_MESSAGE:"Ihre Frage konnte nicht beantwortet werden. Bitte versuchen Sie es sp\xE4ter erneut. Sollte das Problem dauerhaft bestehen, nehmen Sie Kontakt mit uns auf."},FOOTER:{INPUT_PLACEHOLDER:"Ihre Frage",MAX_INPUT:"von 200 Zeichen",SEND_BUTTON:"Frage senden",INPUT_ERROR_MESSAGE:"Frage erforderlich"},INFO_POPUP:{FAQ_TITLE:"FAQ",FAQ_INTRO:"Der Chatbot wurde entwickelt, um Ihnen schnell bei h\xE4ufig gestellten Fragen zu unseren Bankdienstleistungen behilflich zu sein.",FAQ_TITLE_01:"Wie funktioniert der Chatbot?",FAQ_TEXT_01:"Mithilfe von k\xFCnstlicher Intelligenz und maschinellem Lernen analysiert der Bot Ihre Fragen und versucht, die besten Antworten aus seiner Datenbank abzurufen. Er lernt kontinuierlich dazu, um genauere und effizientere Antworten zu bieten.",FAQ_TITLE_02:"Konversation mit dem Chatbot",FAQ_TEXT_02:"Der Bot erm\xF6glicht nicht nur vordefinierte Fragen, sondern auch eine interaktive Konversation. Sie k\xF6nnen aktiv nachfragen und eigene Informationen einbringen.",FAQ_TITLE_03:"Beispielanfragen",FAQ_TEXT_03_A:'Kreditkarte: "Wie kann ich eine Kreditkarte beantragen?"',FAQ_TEXT_03_B:'\xDCberweisungen: "Wie f\xFChre ich eine \xDCberweisung durch?"',FAQ_TEXT_03_C:'\xD6ffnungszeiten: "Wann haben Sie ge\xF6ffnet?"',FAQ_TEXT_03_D:'Kontoschlie\xDFung: "Wie kann ich mein Konto schlie\xDFen?"',FAQ_TITLE_04:"Nachfragen beim Chatbot",FAQ_TEXT_04:"Um pr\xE4zise Informationen zu erhalten, k\xF6nnen Sie aktiv nachfragen:",FAQ_TEXT_04_A:'Vertiefende Informationen: "Ich ben\xF6tige mehr Details zum Thema Sofort\xFCberweisung?"',FAQ_TEXT_04_B:'Aktualit\xE4t: "Gibt es neue Entwicklungen bei den Kontogeb\xFChren?"',FAQ_TEXT_04_C:'Zus\xE4tzliche Hilfe: "Wie kann ich einen Termin vereinbaren?"',FAQ_TITLE_05:"Was der Chatbot kann",FAQ_TEXT_05:"Der Chatbot bietet schnelle Antworten auf h\xE4ufige Fragen, ist effizient und verl\xE4sslich. Er wird regelm\xE4\xDFig aktualisiert, um auf dem neuesten Stand zu bleiben.",FAQ_TITLE_06:"Wie bewertet der Chatbot, wenn er nicht menschlich ist?",FAQ_TEXT_06:"Obwohl der Chatbot nicht menschlich ist, wurde er so entwickelt, dass er menschen\xE4hnliche Konversationen f\xFChren kann. Er erkennt Schl\xFCsselw\xF6rter, interpretiert den Kontext und gibt relevante Antworten. Es ist wichtig zu verstehe
2406n, dass der Bot keine eigenen \xDCberlegungen oder Emotionen hat. Er basiert rein auf vorprogrammierten Mustern und Algorithmen. Um Ihre Frage zu verstehen, verwendet der Virtual Agent fortschrittliche Sprachverarbeitungsalgorithmen. Er lernt kontinuierlich dazu, indem er auf neue Fragen und Anfragen reagiert und seine Antwortmuster verbessert. Dabei k\xF6nnen Sie nicht nur vordefinierte Fragen stellen, sondern auch aktiv mit dem Bot konversieren und eigene Fragen oder Nachfragen einbringen.",FAQ_TITLE_07:"Wie wird sichergestellt, dass die Antworten nachvollziehbar und korrekt sind?",FAQ_TEXT_07:"Die Qualit\xE4t der Antworten des Chatbot wird durch kontinuierliches Training sichergestellt. Die Bank aktualisiert regelm\xE4\xDFig die Datenbank des Bots mit neuen Informationen, um sicherzustellen, dass er auf dem neuesten Stand ist. Emotionen, komplexe oder individuelle Anfragen sowie Aktualit\xE4tsverz\xF6gerungen in der Datenbank k\xF6nnen zu Ungenauigkeiten f\xFChren. In kritischen oder komplexen Situationen ist menschlicher Support f\xFCr pr\xE4zise Beurteilungen unerl\xE4sslich.",DSGVO_TITLE:"Datenschutz",DSGVO_TEXT:"Bitte beachten Sie unsere",DSGVO_LINK:"Datenschutzbestimmungen",GENDER_TITLE:"Gender-Hinweis",GENDER_TEXT:'Um unsere Inhalte m\xF6glichst leserfreundlich zu gestalten, verwenden wir im Chatbot das "generische Maskulinum". Wir m\xF6chten betonen, dass wir diese verk\xFCrzte Sprachform geschlechtsneutral und aus rein redaktionellen Gr\xFCnden nutzen. Sie beinhaltet keine Wertung.',CLOSE_BUTTON:"Schlie\xDFen"}}}});var II,xI=h(()=>{II={VAC:{GENERAL:{DEFAULT_BOT_NAME:"Chatbot",OPEN_BUTTON:"Open Chatbot"},HEADER:{BETA_REMARK:"I'm brand new and learning every day!",INFO_BUTTON:"Show more information",CLOSE_BUTTON:"Close Chatbot"},CONTENT:{CHAT_HISTORY_TEXT:"Chat history",YOU_WRITE:"You",LOADING:"Waiting for response from server",DEFAULT_WELCOME_MESSAGE:`Hello, I am your bank's chatbot and will be happy to answer any questions you may have about us and our services. My responses are generated using artificial intelligence. This may result in inaccurate, incomplete, or incorrect information. They are non-binding and do not replace individual advice. Please do not enter any personal or confidential data. Bank employees may view your chat history. You can find further information about me in the info section. 2407 2408Our terms of use apply.`,REFERENCES:"Sources:",REFERENCE:"Source",POSITIVE_FEEDBACK:"This answer received positive feedback",NEGATIVE_FEEDBACK:"This answer received negative feedback",POSITIVE_FEEDBACK_BUTTON:"Mark answer as helpful",NEGATIVE_FEEDBACK_BUTTON:"Mark answer as negative",OFFLINE_MESSAGE:"Service is currently unavailable. Please try again later.",ERROR_MESSAGE:"Your question could not be answered. Please try again later. If the problem persists, please contact us."},FOOTER:{INPUT_PLACEHOLDER:"Your question",MAX_INPUT:"of 200 characters",SEND_BUTTON:"Send question",INPUT_ERROR_MESSAGE:"Question required"},INFO_POPUP:{FAQ_TITLE:"FAQ",FAQ_INTRO:"The chatbot was developed to help you quickly with frequently asked questions about our banking services.",FAQ_TITLE_01:"How does the chatbot work?",FAQ_TEXT_01:"Using artificial intelligence and machine learning, the bot analyzes your questions and tries to retrieve the best answers from its database. It learns continuously to provide more accurate and efficient answers.",FAQ_TITLE_02:"Conversation with the chatbot",FAQ_TEXT_02:"The bot not only enables predefined questions, but also an interactive conversation. You can actively ask questions and contribute your own information.",FAQ_TITLE_03:"Example questions",FAQ_TEXT_03_A:'Credit card: "How can I apply for a credit card?"',FAQ_TEXT_03_B:'Bank transfers: "How do I make a bank transfer"',FAQ_TEXT_03_C:'Opening hours: "When are you open?"',FAQ_TEXT_03_D:'Account closure: "How can I close my account?"',FAQ_TITLE_04:"Inquire with the chatbot",FAQ_TEXT_04:"To obtain precise information, you can actively inquire:",FAQ_TEXT_04_A:'More detailed information: "I need more details about instant bank transfers?"',FAQ_TEXT_04_B:'Up-to-dateness: "Are there any new developments in account fees?"',FAQ_TEXT_04_C:'Additional help: "How can I make an appointment?"',FAQ_TITLE_05:"What the chatbot is able to do",FAQ_TEXT_05:"The chatbot offers quick answers to frequently asked questions, is efficie
2408nt and reliable. It is updated regularly to keep it up to date.",FAQ_TITLE_06:"How does the chatbot rate if it is not human?",FAQ_TEXT_06:"Although the chatbot is not human, it has been developed in such a way that it can have human-like conversations. It recognizes keywords, interprets the context and gives relevant answers. It is important to understand that the bot has no reasoning or emotions of its own. It is purely based on pre-programmed patterns and algorithms. To understand your question, the Virtual Agent uses advanced language processing algorithms. It learns continuously by reacting to new questions and queries and improving its response patterns. You can not only ask predefined questions, but also actively converse with the bot and add your own questions or follow-up questions.",FAQ_TITLE_07:"How is it ensured that the answers are comprehensible and correct?",FAQ_TEXT_07:"The quality of the chatbot's answers is ensured through continuous training. The bank regularly updates the bot's database with new information to ensure that it is up to date. Emotions, complex or individual requests and delays in updating the database can lead to inaccuracies. In critical or complex situations, human support is essential for accurate assessments.",DSGVO_TITLE:"Data protection",DSGVO_TEXT:"Please note our",DSGVO_LINK:"privacy policy",GENDER_TITLE:"Gender note",GENDER_TEXT:'In order to make our content as reader-friendly as possible, we use the "generic masculine" in the chatbot. We would like to emphasize that we use this abbreviated form of language in a gender-neutral manner and for purely editorial reasons. It does not imply any judgment.',CLOSE_BUTTON:"Close"}}}});var TI,SI,MI,AI,kI,to,RI,ml=h(()=>{Tn();gI();yI();_I();DI();CI();xI();TI="VAC.GENERAL.DEFAULT_BOT_NAME",SI="VAC.CONTENT.DEFAULT_WELCOME_MESSAGE",MI="VAC.CONTENT.OFFLINE_MESSAGE",AI="VAC.CONTENT.ERROR_MESSAGE",kI="VAC.FOOTER.INPUT_ERROR_MESSAGE",to=(function(t){return t.deDE="de-DE",t.enGB="en-GB",t})(to||{}),RI=t=>{_g(mI,to.deDE,vI),_g(bI,to.enGB,EI),t.setTranslation(to.deDE,wI),t.setTranslation(to.enGB,II),t.use(to.deDE),t.setDefaultLang(to.deDE)}});var or,gl=h(()=>{_();De();Is();Zt();pI();ks();ml();_();or=(()=>{class t{static{this.SERVICE_NAME="de-bankenit-vac-chatgateway-v1"}static{this.SERVICE_PATH=""}constructor(){this.portalContext=u(An),this.apiConfiguration=u(As),this.translateService=u(Kt),this.chatGatewayApiService=u(eo);let e=this.portalContext.getApiEndpointService();this.apiConfiguration.rootUrl=e.getServiceUrl(t.SERVICE_NAME,t.SERVICE_PATH),this.botName=new it(""),this.welcomeMessage=new it(""),this.dsgvoUrl=new it(""),this.pathToAvatar=new it(""),this.activatedFeatureList=new it([])}setBotNameOrDefault(e){e?this.botName.next(e):this.botName.next(this.translateService.instant(TI))}setWelcomeMessageOrDefault(e){e?this.welcomeMessage.next(e):this.translateService.stream(SI).subscribe(i=>this.welcomeMessage.next(i))}setDsgvoUrl(e){this.dsgvoUrl.next(e)}setPathToAvatar(e){this.pathToAvatar.next(e)}setActivatedFeatureList(e){this.activatedFeatureList.next(e)}loadSettings(){return Ne(this.chatGatewayApiService.getSettingsValues()).pipe(x(e=>e))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var OI,NI=h(()=>{_();Zt();gl();_();Zt();OI=(()=>{class t{constructor(){this.customizationService=u(or),this.dsgvoUrlSub=this.customizationService.dsgvoUrl.subscribe(e=>this.dsgvoUrl=e)}ngOnDestroy(){this.dsgvoUrlSub?.unsubscribe()}openDsgvoLink(){this.dsgvoUrl&&window.open(this.dsgvoUrl,"_blank")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["app-info-popup"]],decls:84,vars:84,consts:[[1,"popup-faq"],[1,"kf-body-1"],[1,"popup-subtitle"],[1,"popup-dsgvo"],[1,"subtitle-sect"],["href","javascript:void(0)",3,"click"],[1,"popup-gender-info"]],template:function(i,r){i&1&&(G(0,"section",0)(1,"h2"),M(2,"translate"),F(3),M(4,"translate"),Q(),G(5,"p",1),F(6),M(7,"translate"),Q(),G(8,"div",2),F(9),M(10,"translate"),Q(),G(11,"p"),F(12),M(13,"translate"),Q(),G(14,"div",2),F(15),M(16,"translate"),Q(),G(17,"p"),F(18),M(19,"translate"),Q(),G(20,"div",2),F(21),M(22,"translate"),Q(),G(23,"ol")(24,"li"),F(25),M(26,"translate"),Q(),G(27,"li"),F(28),M(29,"translate"),Q(),G(30,"li"),F(31),M(32,"translate"),Q(),G(33,"li"),F(34),M(35,"translate"),Q()(),G(36,"div",2),F(37),M(38,"translate"),Q(),G(39,"p"),F(40),M(41,"translate"),Q(),G(42,"ol")(43,"li"),F(44),M(45,"translate"),Q(),G(46,"li"),F(47),M(48,"translate"),Q(),G(49,"li"),F(50),M(51,"translate"),Q()(),G(52,"div",2),F(53),M(54,"translate"),Q(),G(55,"p"),F(56),M(57,"translate"),Q(),G(58,"div",2),F(59),M(60,"translate"),Q(),G(61,"p"),F(62),M(63,"translate"),Q()(),G(64,"section",3)(65,"h2",4),M(66,"translate"),F(67),M(68,"translate"),Q(),G(69,"p"),F(70),M(71,"translate"),G(72,"a",5),Yi("click",function(){return r.openDsgvoLink()}),F(73),M(74,"translate"),Q(),F(75,". "),Q()(),G(76,"section",6)(77,"h2",4),M(78,"translate"),F(79),M(80,"translate"),Q(),G(81,"p"),F(82),M(83,"translate"),Q()()),i&2&&(E(),oe("aria-label",k(2,28,"VAC.INFO_POPUP.FAQ_TITLE")),E(2),se(k(4,30,"VAC.INFO_POPUP.FAQ_TITLE")),E(3),tt(" ",k(7,32,"VAC.INFO_POPUP.FAQ_INTRO")," "),E(3),se(k(10,34,"VAC.INFO_POPUP.FAQ_TITLE_01")),E(3),se(k(13,36,"VAC.INFO_POPUP.FAQ_TEXT_01")),E(3),se(k(16,38,"VAC.INFO_POPUP.FAQ_TITLE_02")),E(3),se(k(19,40,"VAC.INFO_POPUP.FAQ_TEXT_02")),E(3),se(k(22,42,"VAC.INFO_POPUP.FAQ_TITLE_03")),E(4),se(k(26,44,"VAC.INFO_POPUP.FAQ_TEXT_03_A")),E(3),se(k(29,46,"VAC.INFO_POPUP.FAQ_TEXT_03_B")),E(3),se(k(32,48,"VAC.INFO_POPUP.FAQ_TEXT_03_C")),E(3),se(k(35,50,"VAC.INFO_POPUP.FAQ_TEXT_03_D")),E(3),se(k(38,52,"VAC.INFO_POPUP.FAQ_TITLE_04")),E(3),se(k(41,54,"VAC.INFO_POPUP.FAQ_TEXT_04")),E(4),se(k(45,56,"VAC.INFO_POPUP.FAQ_TEXT_04_A")),E(3),se(k(48,58,"VAC.INFO_POPUP.FAQ_TEXT_04_B")),E(3),se(k(51,60,"VAC.INFO_POPUP.FAQ_TEXT_04_C")),E(3),se(k(54,62,"VAC.INFO_POPUP.FAQ_TITLE_05")),E(3),se(k(57,64,"VAC.INFO_POPUP.FAQ_TEXT_05")),E(3),se(k(60,66,"VAC.INFO_POPUP.FAQ_TITLE_06")),E(3),se(k(63,68,"VAC.INFO_POPUP.FAQ_TEXT_06")),E(3),oe("aria-label",k(66,70,"VAC.INFO_POPUP.DSGVO_TITLE")),E(2),tt(" ",k(68,72,"VAC.INFO_POPUP.DSGVO_TITLE")," "),E(3),tt(" ",k(71,74,"VAC.INFO_POPUP.DSGVO_TEXT")," "),E(3),se(k(74,76,"VAC.INFO_POPUP.DSGVO_LINK")),E(4),oe("aria-label",k(78,78,"VAC.INFO_POPUP.GENDER_TITLE")),E(2),tt(" ",k(80,80,"VAC.INFO_POPUP.GENDER_TITLE")," "),E(3),se(k(83,82,"VAC.INFO_POPUP.GENDER_TEXT")))},dependencies:[hn,ti],styles:[".popup-subtitle[_ngcontent-%COMP%]{font-weight:700}.subtitle-sect[_ngcontent-%COMP%]{margin-top:4vh}.popup-gender-info[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin-bottom:0rem}"]})}}return t})()});function iL(t,n){if(t&1){let e=qn();S(0,"div",7)(1,"div",8),le(2,"app-info-popup"),S(3,"div",9)(4,"button",10),be("click",function(){nn(e);let r=W();return rn(r.closeInfoPopup())}),F(5),M(6,"translate"),O()()()()}t&2&&(E(5),tt(" ",k(6,1,"VAC.INFO_POPUP.CLOSE_BUTTON")," "))}var FI,PI=h(()=>{_();Zr();il();Cs();NI();Zt();dv();ws();gl();Jr();_();Zt();FI=(()=>
2408{class t{constructor(){this.dialog=u(Nu),this.eventService=u(ei),this.customizationService=u(or)}ngOnInit(){this.botNameSub=this.customizationService.botName.subscribe(e=>this.botName=e)}ngOnDestroy(){this.botNameSub?.unsubscribe()}openInfoPopup(e){this.dialogRef=this.dialogRef?.getState()!==ys.OPEN&&this.dialog.open(e,{panelClass:"kf-popup-wrap",autoFocus:!1})}closeInfoPopup(){this.dialogRef?.close()}closeChat(){this.eventService.uiState.next(lt.CLOSED)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["app-header"]],decls:15,vars:22,consts:[["infoPopup",""],[1,"header-container"],["tabindex","0",1,"header-title","truncate",3,"matTooltip","matTooltipPosition"],[1,"header-buttons"],["mat-icon-button","","tabindex","0",3,"click","matTooltip","matTooltipPosition"],["name","ic_infozeichen_24"],["name","ic_schliessen_24"],[1,"kf-popup"],[1,"kf-popup-container"],[1,"info-popup-close-button"],["color","primary","mat-stroked-button","","tabindex","0",3,"click"]],template:function(i,r){if(i&1){let o=qn();S(0,"section",1)(1,"h2",2),M(2,"translate"),F(3),O(),S(4,"div",3)(5,"button",4),M(6,"translate"),M(7,"translate"),be("click",function(){nn(o);let a=es(14);return rn(r.openInfoPopup(a))}),le(8,"kf-icon",5),O(),S(9,"button",4),M(10,"translate"),M(11,"translate"),be("click",function(){return r.closeChat()}),le(12,"kf-icon",6),O()()(),sn(13,iL,7,3,"ng-template",null,0,ka)}i&2&&(E(),fe("matTooltip",Lt(k(2,12,"VAC.HEADER.BETA_REMARK")))("matTooltipPosition","below"),E(2),tt(" ",r.botName," "),E(2),fe("matTooltip",Lt(k(6,14,"VAC.HEADER.INFO_BUTTON")))("matTooltipPosition","below"),oe("aria-label",k(7,16,"VAC.HEADER.INFO_BUTTON")),E(4),fe("matTooltip",Lt(k(10,18,"VAC.HEADER.CLOSE_BUTTON")))("matTooltipPosition","below"),oe("aria-label",k(11,20,"VAC.HEADER.CLOSE_BUTTON")))},dependencies:[Kr,Ci,Jn,OI,rx,hn,ti],styles:[".truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[aria-disabled=true][_ngcontent-%COMP%]{opacity:.4}.header-container[_ngcontent-%COMP%]{display:flex!important;align-items:center}.header-title[_ngcontent-%COMP%]{flex-grow:1;color:var(--options-headline-color);font-size:1.375rem;line-height:2rem;padding:1rem 0rem 0rem 1rem;margin-top:3px;margin-left:3px}.header-buttons[_ngcontent-%COMP%]{display:flex;margin-right:.25rem}.info-popup-close-button[_ngcontent-%COMP%]{display:flex;justify-content:center;padding-top:1.5rem}"]})}}return t})()});function Xv(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function $I(t){ro=t}function ge(t,n=""){let e=typeof t=="string"?t:t.source,i={replace:(r,o)=>{let s=typeof o=="string"?o:o.source;return s=s.replace(Nt.caret,"$1"),e=e.replace(r,s),i},getRegex:()=>new RegExp(e,n)};return i}function ni(t,n){if(n){if(Nt.escapeTest.test(t))return t.replace(Nt.escapeReplace,jI)}else if(Nt.escapeTestNoEncode.test(t))return t.replace(Nt.escapeReplaceNoEncode,jI);return t}function BI(t){try{t=encodeURI(t).replace(Nt.percentDecode,"%")}catch(n){return null}return t}function HI(t,n){let e=t.replace(Nt.findPipe,(o,s,a)=>{let l=!1,c=s;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),i=e.split(Nt.splitPipe),r=0;if(i[0].trim()||i.shift(),i.length>0&&!i.at(-1)?.trim()&&i.pop(),n)if(i.length>n)i.splice(n);else for(;i.length<n;)i.push("");for(;r<i.length;r++)i[r]=i[r].trim().replace(Nt.slashPipe,"|");return i}function yl(t,n,e){let i=t.length;if(i===0)return"";let r=0;for(;r<i;){let o=t.charAt(i-r-1);if(o===n&&!e)r++;else if(o!==n&&e)r++;else break}return t.slice(0,i-r)}function HL(t,n){if(t.indexOf(n[1])===-1)return-1;let e=0;for(let i=0;i<t.length;i++)if(t[i]==="\\")i++;else if(t[i]===n[0])e++;else if(t[i]===n[1]&&(e--,e<0))return i;return e>0?-2:-1}function UL(t,n=0){let e=n,i="";for(let r of t)if(r===" "){let o=4-e%4;i+=" ".repeat(o),e+=o}else i+=r,e++;return i}function UI(t,n,e,i,r){let o=n.href,s=n.title||null,a=t[1].replace(r.other.outputLinkReplace,"$1");i.state.inLink=!0;let l={type:t[0].charAt(0)==="!"?"image":"link",raw:e,href:o,title:s,text:a,tokens:i.inl
2408ineTokens(a)};return i.state.inLink=!1,l}function $L(t,n,e){let i=t.match(e.other.indentCodeCompensation);if(i===null)return n;let r=i[1];return n.split(` 2409`).map(o=>{let s=o.match(e.other.beginningSpace);if(s===null)return o;let[a]=s;return a.length>=r.length?o.slice(r.length):o}).join(` 2410`)}function ye(t,n){return io.parse(t,n)}var ro,no,rL,Nt,oL,sL,aL,_l,lL,Jv,zI,GI,cL,ey,dL,ty,uL,fL,yf,ny,hL,WI,pL,iy,LI,mL,gL,vL,yL,qI,bL,Rs,bf,ry,_L,YI,EL,DL,CL,KI,wL,xL,ZI,IL,TL,SL,ML,AL,kL,RL,OL,NL,FL,gf,PL,QI,XI,LL,VI,oy,VL,Kv,jL,mf,vl,BL,jI,vf,kn,ii,sy,Rn,bl,zL,io,noe,ioe,roe,ooe,soe,aoe,loe,ay=h(()=>{ro=Xv();no={exec:()=>null};rL=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch(t){return!1}})(),Nt={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}>`)},oL=/^(?:[ \t]*(?:\n|$))+/,sL=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,aL=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,_l=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,lL=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Jv=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,zI=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,GI=ge(zI).replace(/bull/g,Jv).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),cL=ge(zI).replace(/bull/g,Jv).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ey=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,dL=/^[^\n]+/,ty=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,uL=ge(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ty).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),fL=ge(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Jv).getRegex(),yf="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ny=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,hL=ge("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
vendor: 16,384 bytes, lines 2410-2433
2410)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",ny).replace("tag",yf).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),WI=ge(ey).replace("hr",_l).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",yf).getRegex(),pL=ge(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",WI).getRegex(),iy={blockquote:pL,code:sL,def:uL,fences:aL,heading:lL,hr:_l,html:hL,lheading:GI,list:fL,newline:oL,paragraph:WI,table:no,text:dL},LI=ge("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",_l).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",yf).getRegex(),mL=X(D({},iy),{lheading:cL,table:LI,paragraph:ge(ey).replace("hr",_l).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",LI).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",yf).getRegex()}),gL=X(D({},iy),{html:ge(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ny).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:no,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ge(ey).replace("hr",_l).replace("heading",` *#{1,6} *[^ 2411]`).replace("lheading",GI).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),vL=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,yL=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,qI=/^( {2,}|\\)\n(?!\s*$)/,bL=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Rs=/[\p{P}\p{S}]/u,bf=/[\s\p{P}\p{S}]/u,ry=/[^\s\p{P}\p{S}]/u,_L=ge(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,bf).getRegex(),YI=/(?!~)[\p{P}\p{S}]/u,EL=/(?!~)[\s\p{P}\p{S}]/u,DL=/(?:[^\s\p{P}\p{S}]|~)/u,CL=ge(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",rL?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),KI=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,wL=ge(KI,"u").replace(/punct/g,Rs).getRegex(),xL=ge(KI,"u").replace(/punct/g,YI).getRegex(),ZI="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",IL=ge(ZI,"gu").replace(/notPunctSpace/g,ry).replace(/punctSpace/g,bf).replace(/punct/g,Rs).getRegex(),TL=ge(ZI,"gu").replace(/notPunctSpace/g,DL).replace(/punctSpace/g,EL).replace(/punct/g,YI).getRegex(),SL=ge("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,ry).replace(/punctSpace/g,bf).replace(/punct/g,Rs).getRegex(),ML=ge(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Rs).getRegex(),AL="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",kL=ge(AL,"gu").replace(/notPunctSpace/g,ry).replace(/punctSpace/g,bf).replace(/punct/g,Rs).getRegex(),RL=ge(/\\(punct)/,"gu").replace(/punct/g,Rs).getRegex(),OL=ge(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),NL=ge(ny).replace("(?:-->|$)","-->").getRegex(),FL=ge("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",NL).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),gf=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,PL=ge(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",gf).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),QI=ge(/^!?\[(label)\]\[(ref)\]/).replace("label",gf).replace("ref",ty).getRegex(),XI=ge(/^!?\[(ref)\](?:\[\])?/).replace("ref",ty).getRegex(),LL=ge("reflink|nolink(?!\\()","g").replace("reflink",QI).replace("nolink",XI).getRegex(),VI=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,oy={_backpedal:no,anyPunctuation:RL,autolink:OL,blockSkip:CL,br:qI,code:yL,del:no,delLDelim:no,delRDelim:no,emStrongLDelim:wL,emStrongRDelimAst:IL,emStrongRDelimUnd:SL,escape:vL,link:PL,nolink:XI,punctuation:_L,reflink:QI,reflinkSearch:LL,tag:FL,text:bL,url:no},VL=X(D({},oy),{link:ge(/^!?\[(label)\]\((.*?)\)/).replace("label",gf).getRegex(),reflink:ge(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",gf).getRegex()}),Kv=X(D({},oy),{emStrongRDelimAst:TL,emStrongLDelim:xL,delLDelim:ML,delRDelim:kL,url:ge(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",VI).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:ge(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",VI).getRegex()}),jL=X(D({},Kv),{br:ge(qI).replace("{2,}","*").getRegex(),text:ge(Kv.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),mf={normal:iy,gfm:mL,pedantic:gL},vl={normal:oy,gfm:Kv,breaks:jL,pedantic:VL},BL={"&":"&","<":"<",">":">",'"':""","'":"'"},jI=t=>BL[t];vf=class{options;rules;lexer;constructor(t){this.options=t||ro}space(t){let n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){let n=this.rules.block.code.exec(t);if(n){let e=n[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:yl(e,` 2412`)}}}fences(t){let n=this.rules.block.fences.exec(t);if(n){let e=n[0],i=$L(e,n[3]||"",this.rules);return{type:"code",raw:e,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:i}}}heading(t){let n=this.rules.block.heading.exec(t);if(n){let e=n[2].trim();if(this.rules.other.endingHash.test(e)){let i=yl(e,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(e=i.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(t){let n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:yl(n[0],` 2413`)}}blockquote(t){let n=this.rules.block.blockquote.exec(t);if(n){let e=yl(n[0],` 2414`).split(` 2415`),i="",r="",o=[];for(;e.length>0;){let s=!1,a=[],l;for(l=0;l<e.length;l++)if(this.rules.other.blockquoteStart.test(e[l]))a.push(e[l]),s=!0;else if(!s)a.push(e[l]);else break;e=e.slice(l);let c=a.join(` 2416`),d=c.replace(this.rules.other.blockquoteSetextReplace,` 2417 $1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i} 2418${c}`:c,r=r?`${r} 2419${d}`:d;let f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(d,o,!0),this.lexer.state.top=f,e.length===0)break;let p=o.at(-1);if(p?.type==="code")break;if(p?.type==="blockquote"){let m=p,g=m.raw+` 2420`+e.join(` 2421`),C=this.blockquote(g);o[o.length-1]=C,i=i.substring(0,i.length-m.raw.length)+C.raw,r=r.substring(0,r.length-m.text.length)+C.text;break}else if(p?.type==="list"){let m=p,g=m.raw+` 2422`+e.join(` 2423`),C=this.list(g);o[o.length-1]=C,i=i.substring(0,i.length-p.raw.length)+C.raw,r=r.substring(0,r.length-m.raw.length)+C.raw,e=g.substring(o.at(-1).raw.length).split(` 2424`);continue}}return{type:"blockquote",raw:i,tokens:o,text:r}}}list(t){let n=this.rules.block.list.exec(t);if(n){let e=n[1].trim(),i=e.length>1,r={type:"list",raw:"",ordered:i,start:i?+e.slice(0,-1):"",loose:!1,items:[]};e=i?`\\d{1,9}\\${e.slice(-1)}`:`\\${e}`,this.options.pedantic&&(e=i?e:"[*+-]");let o=this.rules.other.listItemRegex(e),s=!1;for(;t;){let l=!1,c="",d="";if(!(n=o.exec(t))||this.rules.block.hr.test(t))break;c=n[0],t=t.substring(c.length);let f=UL(n[2].split(` 2425`,1)[0],n[1].length),p=t.split(` 2426`,1)[0],m=!f.trim(),g=0;if(this.options.pedantic?(g=2,d=f.trimStart()):m?g=n[1].length+1:(g=f.search(this.rules.other.nonSpaceChar),g=g>4?1:g,d=f.slice(g),g+=n[1].length),m&&this.rules.other.blankLine.test(p)&&(c+=p+` 2427`,t=t.substring(p.length+1),l=!0),!l){let C=this.rules.other.nextBulletRegex(g),I=this.rules.other.hrRegex(g),R=this.rules.other.fencesBeginRegex(g),xe=this.rules.other.headingBeginRegex(g),Dt=this.rules.other.htmlBeginRegex(g),Ke=this.rules.other.blockquoteBeginRegex(g);for(;t;){let ri=t.split(` 2428`,1)[0],pn;if(p=ri,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),pn=p):pn=p.replace(this.rules.other.tabCharGlobal," "),R.test(p)||xe.test(p)||Dt.test(p)||Ke.test(p)||C.test(p)||I.test(p))break;if(pn.search(this.rules.other.nonSpaceChar)>=g||!p.trim())d+=` 2429`+pn.slice(g);else{if(m||f.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||R.test(f)||xe.test(f)||I.test(f))break;d+=` 2430`+p}m=!p.trim(),c+=ri+` 2431`,t=t.substring(ri.length+1),f=pn.slice(g)}}r.loose||(s?r.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(s=!0)),r.items.push({type:"list_item",raw:c,task:!!this.options.gfm&&this.rules.other.listIsTask.test(d),loose:!1,text:d,tokens:[]}),r.raw+=c}let a=r.items.at(-1);if(a)a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd();else return;r.raw=r.raw.trimEnd();for(let l of r.items){if(this.lexer.state.top=!1,l.tokens=this.lexer.blockTokens(l.text,[]),l.task){if(l.text=l.text.replace(this.rules.other.listReplaceTask,""),l.tokens[0]?.type==="text"||l.tokens[0]?.type==="paragraph"){l.tokens[0].raw=l.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),l.tokens[0].text=l.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let d=this.lexer.inlineQueue.length-1;d>=0;d--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[d].src)){this.lexer.inlineQueue[d].src=this.lexer.inlineQueue[d].src.replace(this.rules.other.listReplaceTask,"");break}}let c=this.rules.other.listTaskCheckbox.exec(l.raw);if(c){let d={type:"checkbox",raw:c[0]+" ",checked:c[0]!=="[ ]"};l.checked=d.checked,r.loose?l.tokens[0]&&["paragraph","text"].includes(l.tokens[0].type)&&"tokens"in l.tokens[0]&&l.tokens[0].tokens?(l.tokens[0].raw=d.raw+l.tokens[0].raw,l.tokens[0].text=d.raw+l.tokens[0].text,l.tokens[0].tokens.unshift(d)):l.tokens.unshift({type:"paragraph",raw:d.raw,text:d.raw,tokens:[d]}):l.tokens.unshift(d)}}if(!r.loose){let c=l.tokens.filter(f=>f.type==="space"),d=c.length>0&&c.some(f=>this.rules.other.anyLine.test(f.raw));r.loose=d}}if(r.loose)for(let l of r.items){l.loose=!0;for(let c of l.tokens)c.type==="text"&&(c.type="paragraph")}return r}}html(t){let n=this.rules.block.html.exec(t);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(t){let n=this.rules.block.def.exec(t);if(n){let e=n[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=n[2]?n[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:e,raw:n[0],href:i,title:r}}}table(t){let n=this.rules.block.table.exec(t);if(!n||!this.rules.other.tableDelimiter.test(n[2]))return;let e=HI(n[1]),i=n[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=n[3]?.trim()?n[3].replace(this.rules.other.tableRowBlankLine,"").split(` 2432`):[],o={type:"table",raw:n[0],header:[],align:[],rows:[]};if(e.length===i.length){for(let s of i)this.rules.other.tableAlignRight.test(s)?o.align.push("right"):this.rules.other.tableAlignCenter.test(s)?o.align.push("center"):this.rules.other.tableAlignLeft.test(s)?o.align.push("left"):o.align.push(null);for(let s=0;s<e.length;s++)o.header.push({text:e[s],tokens:this.lexer.inline(e[s]),header:!0,align:o.align[s]});for(let s of r)o.rows.push(HI(s,o.header.length).map((a,l)=>({text:a,tokens:this.lexer.inline(a),header:!1,align:o.align[l]})));return o}}lheading(t){let n=this.rules.block.lheading.exec(t);if(n){let e=n[1].trim();return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(t){let n=this.rules.block.paragraph.exec(t);if(n){let e=n[1].charAt(n[1].length-1)===` 2433`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:e,tokens:this.lexer.inline(e)}}}text(t){let n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){let n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:n[1]}}tag(t){let n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&this.rules.other.startATag.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){let n=this.rules.inline.link.exec(t);if(n){let e=n[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let o=yl(e.slice(0,-1),"\\");if((e.length-o.length)%2===0)return}else{let o=HL(n[2],"()");if(o===-2)return;if(o>-1){let s=(n[0].indexOf("!")===0?5:4)+n[1].length+o;n[2]=n[2].substring(0,o),n[0]=n[0].substring(0,s).trim(),n[3]=""}}let i=n[2],r="";if(this.options.pedantic){let o=this.rules.other.pedanticHrefTitle.exec(i);o&&(i=o[1],r=o[3])}else r=n[3]?n[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?i=i.slice(1):i=i.slice(1,-1)),UI(n,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer,this.rules)}}reflink(t,n){let e;if((e=this.rules.inline.reflink.exec(t))||(e=this.rules.inline.nolink.exec(t))){let i=(e[2]||e[1]).replace(this.rules.other.multipleSpaceGlobal," "),r=n[i.toLowerCase()];if(!r){let o=e[0].charAt(0);return{type:"text",raw:o,text:o}}return UI(e,r,e[0],this.lexer,this.rules)}}emStrong(t,n,e=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!(!i||!i[1]&&!i[2]&&!i[3]&&!i[4]||i[4]&&e.match(this.rules.other.unicodeAlphaNumeric))&&(!(i[1]||i[3])||!e||this.rules.inlin
vendor: 6,504 bytes, lines 2433-2447
2433e.punctuation.exec(e))){let r=[...i[0]].length-1,o,s,a=r,l=0,c=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,n=n.slice(-1*t.length+r);(i=c.exec(n))!==null;){if(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!o)continue;if(s=[...o].length,i[3]||i[4]){a+=s;continue}else if((i[5]||i[6])&&r%3&&!((r+s)%3)){l+=s;continue}if(a-=s,a>0)continue;s=Math.min(s,s+a+l);let d=[...i[0]][0].length,f=t.slice(0,r+i.index+d+s);if(Math.min(r,s)%2){let m=f.slice(1,-1);return{type:"em",raw:f,text:m,tokens:this.lexer.inlineTokens(m)}}let p=f.slice(2,-2);return{type:"strong",raw:f,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(t){let n=this.rules.inline.code.exec(t);if(n){let e=n[2].replace(this.rules.other.newLineCharGlobal," "),i=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return i&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:n[0],text:e}}}br(t){let n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t,n,e=""){let i=this.rules.inline.delLDelim.exec(t);if(i&&(!i[1]||!e||this.rules.inline.punctuation.exec(e))){let r=[...i[0]].length-1,o,s,a=r,l=this.rules.inline.delRDelim;for(l.lastIndex=0,n=n.slice(-1*t.length+r);(i=l.exec(n))!==null;){if(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!o||(s=[...o].length,s!==r))continue;if(i[3]||i[4]){a+=s;continue}if(a-=s,a>0)continue;s=Math.min(s,s+a);let c=[...i[0]][0].length,d=t.slice(0,r+i.index+c+s),f=d.slice(r,-r);return{type:"del",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}}}autolink(t){let n=this.rules.inline.autolink.exec(t);if(n){let e,i;return n[2]==="@"?(e=n[1],i="mailto:"+e):(e=n[1],i=e),{type:"link",raw:n[0],text:e,href:i,tokens:[{type:"text",raw:e,text:e}]}}}url(t){let n;if(n=this.rules.inline.url.exec(t)){let e,i;if(n[2]==="@")e=n[0],i="mailto:"+e;else{let r;do r=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])?.[0]??"";while(r!==n[0]);e=n[0],n[1]==="www."?i="http://"+n[0]:i=n[0]}return{type:"link",raw:n[0],text:e,href:i,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(t){let n=this.rules.inline.text.exec(t);if(n){let e=this.lexer.state.inRawBlock;return{type:"text",raw:n[0],text:n[0],escaped:e}}}},kn=class Zv{tokens;options;state;inlineQueue;tokenizer;constructor(n){this.tokens=[],this.tokens.links=Object.create(null),this.options=n||ro,this.options.tokenizer=this.options.tokenizer||new vf,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let e={other:Nt,block:mf.normal,inline:vl.normal};this.options.pedantic?(e.block=mf.pedantic,e.inline=vl.pedantic):this.options.gfm&&(e.block=mf.gfm,this.options.breaks?e.inline=vl.breaks:e.inline=vl.gfm),this.tokenizer.rules=e}static get rules(){return{block:mf,inline:vl}}static lex(n,e){return new Zv(e).lex(n)}static lexInline(n,e){return new Zv(e).inlineTokens(n)}lex(n){n=n.replace(Nt.carriageReturn,` 2434`),this.blockTokens(n,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let i=this.inlineQueue[e];this.inlineTokens(i.src,i.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(n,e=[],i=!1){for(this.tokenizer.lexer=this,this.options.pedantic&&(n=n.replace(Nt.tabCharGlobal," ").replace(Nt.spaceLine,""));n;){let r;if(this.options.extensions?.block?.some(s=>(r=s.call({lexer:this},n,e))?(n=n.substring(r.raw.length),e.push(r),!0):!1))continue;if(r=this.tokenizer.space(n)){n=n.substring(r.raw.length);let s=e.at(-1);r.raw.length===1&&s!==void 0?s.raw+=` 2435`:e.push(r);continue}if(r=this.tokenizer.code(n)){n=n.substring(r.raw.length);let s=e.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(` 2436`)?"":` 2437`)+r.raw,s.text+=` 2438`+r.text,this.inlineQueue.at(-1).src=s.text):e.push(r);continue}if(r=this.tokenizer.fences(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.heading(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.hr(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.blockquote(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.list(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.html(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.def(n)){n=n.substring(r.raw.length);let s=e.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(` 2439`)?"":` 2440`)+r.raw,s.text+=` 2441`+r.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},e.push(r));continue}if(r=this.tokenizer.table(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.lheading(n)){n=n.substring(r.raw.length),e.push(r);continue}let o=n;if(this.options.extensions?.startBlock){let s=1/0,a=n.slice(1),l;this.options.extensions.startBlock.forEach(c=>{l=c.call({lexer:this},a),typeof l=="number"&&l>=0&&(s=Math.min(s,l))}),s<1/0&&s>=0&&(o=n.substring(0,s+1))}if(this.state.top&&(r=this.tokenizer.paragraph(o))){let s=e.at(-1);i&&s?.type==="paragraph"?(s.raw+=(s.raw.endsWith(` 2442`)?"":` 2443`)+r.raw,s.text+=` 2444`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):e.push(r),i=o.length!==n.length,n=n.substring(r.raw.length);continue}if(r=this.tokenizer.text(n)){n=n.substring(r.raw.length);let s=e.at(-1);s?.type==="text"?(s.raw+=(s.raw.endsWith(` 2445`)?"":` 2446`)+r.raw,s.text+=` 2447`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):e.push(r);continue}if(n){let s="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,e}inline(n,e=[]){return this.inlineQueue.push({src:n,tokens:e}),e}inlineTokens(n,e=[]){this.tokenizer.lexer=this;let i=n,r=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(i))!==null;)l.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(i))!==null;)i=i.slice(0,r.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o;for(;(r=this.tokenizer.rules.inline.blockSkip.exec(i))!==null;)o=r[2]?r[2].length:0,i=i.slice(0,r.index+o)+"["+"a".repeat(r[0].length-o-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);i=this.options.hooks?.emStrongMask?.call({lexer:this},i)??i;let s=!1,a="";for(;n;
vendor: 5,063 bytes, lines 2447-2465
2447){s||(a=""),s=!1;let l;if(this.options.extensions?.inline?.some(d=>(l=d.call({lexer:this},n,e))?(n=n.substring(l.raw.length),e.push(l),!0):!1))continue;if(l=this.tokenizer.escape(n)){n=n.substring(l.raw.length),e.push(l);continue}if(l=this.tokenizer.tag(n)){n=n.substring(l.raw.length),e.push(l);continue}if(l=this.tokenizer.link(n)){n=n.substring(l.raw.length),e.push(l);continue}if(l=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(l.raw.length);let d=e.at(-1);l.type==="text"&&d?.type==="text"?(d.raw+=l.raw,d.text+=l.text):e.push(l);continue}if(l=this.tokenizer.emStrong(n,i,a)){n=n.substring(l.raw.length),e.push(l);continue}if(l=this.tokenizer.codespan(n)){n=n.substring(l.raw.length),e.push(l);continue}if(l=this.tokenizer.br(n)){n=n.substring(l.raw.length),e.push(l);continue}if(l=this.tokenizer.del(n,i,a)){n=n.substring(l.raw.length),e.push(l);continue}if(l=this.tokenizer.autolink(n)){n=n.substring(l.raw.length),e.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(n))){n=n.substring(l.raw.length),e.push(l);continue}let c=n;if(this.options.extensions?.startInline){let d=1/0,f=n.slice(1),p;this.options.extensions.startInline.forEach(m=>{p=m.call({lexer:this},f),typeof p=="number"&&p>=0&&(d=Math.min(d,p))}),d<1/0&&d>=0&&(c=n.substring(0,d+1))}if(l=this.tokenizer.inlineText(c)){n=n.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(a=l.raw.slice(-1)),s=!0;let d=e.at(-1);d?.type==="text"?(d.raw+=l.raw,d.text+=l.text):e.push(l);continue}if(n){let d="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return e}},ii=class{options;parser;constructor(t){this.options=t||ro}space(t){return""}code({text:t,lang:n,escaped:e}){let i=(n||"").match(Nt.notSpaceStart)?.[0],r=t.replace(Nt.endingNewline,"")+` 2448`;return i?'<pre><code class="language-'+ni(i)+'">'+(e?r:ni(r,!0))+`</code></pre> 2449`:"<pre><code>"+(e?r:ni(r,!0))+`</code></pre> 2450`}blockquote({tokens:t}){return`<blockquote> 2451${this.parser.parse(t)}</blockquote> 2452`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:n}){return`<h${n}>${this.parser.parseInline(t)}</h${n}> 2453`}hr(t){return`<hr> 2454`}list(t){let n=t.ordered,e=t.start,i="";for(let s=0;s<t.items.length;s++){let a=t.items[s];i+=this.listitem(a)}let r=n?"ol":"ul",o=n&&e!==1?' start="'+e+'"':"";return"<"+r+o+`> 2455`+i+"</"+r+`> 2456`}listitem(t){return`<li>${this.parser.parse(t.tokens)}</li> 2457`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p> 2458`}table(t){let n="",e="";for(let r=0;r<t.header.length;r++)e+=this.tablecell(t.header[r]);n+=this.tablerow({text:e});let i="";for(let r=0;r<t.rows.length;r++){let o=t.rows[r];e="";for(let s=0;s<o.length;s++)e+=this.tablecell(o[s]);i+=this.tablerow({text:e})}return i&&(i=`<tbody>${i}</tbody>`),`<table> 2459<thead> 2460`+n+`</thead> 2461`+i+`</table> 2462`}tablerow({text:t}){return`<tr> 2463${t}</tr> 2464`}tablecell(t){let n=this.parser.parseInline(t.tokens),e=t.header?"th":"td";return(t.align?`<${e} align="${t.align}">`:`<${e}>`)+n+`</${e}> 2465`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${ni(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:n,tokens:e}){let i=this.parser.parseInline(e),r=BI(t);if(r===null)return i;t=r;let o='<a href="'+t+'"';return n&&(o+=' title="'+ni(n)+'"'),o+=">"+i+"</a>",o}image({href:t,title:n,text:e,tokens:i}){i&&(e=this.parser.parseInline(i,this.parser.textRenderer));let r=BI(t);if(r===null)return ni(e);t=r;let o=`<img src="${t}" alt="${ni(e)}"`;return n&&(o+=` title="${ni(n)}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:ni(t.text)}},sy=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}checkbox({raw:t}){return t}},Rn=class Qv{options;renderer;textRenderer;constructor(n){this.options=n||ro,this.options.renderer=this.options.renderer||new ii,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new sy}static parse(n,e){return new Qv(e).parse(n)}static parseInline(n,e){return new Qv(e).parseInline(n)}parse(n){this.renderer.parser=this;let e="";for(let i=0;i<n.length;i++){let r=n[i];if(this.options.extensions?.renderers?.[r.type]){let s=r,a=this.options.extensions.renderers[s.type].call({parser:this},s);if(a!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(s.type)){e+=a||"";continue}}let o=r;switch(o.type){case"space":{e+=this.renderer.space(o);break}case"hr":{e+=this.renderer.hr(o);break}case"heading":{e+=this.renderer.heading(o);break}case"code":{e+=this.renderer.code(o);break}case"table":{e+=this.renderer.table(o);break}
2465case"blockquote":{e+=this.renderer.blockquote(o);break}case"list":{e+=this.renderer.list(o);break}case"checkbox":{e+=this.renderer.checkbox(o);break}case"html":{e+=this.renderer.html(o);break}case"def":{e+=this.renderer.def(o);break}case"paragraph":{e+=this.renderer.paragraph(o);break}case"text":{e+=this.renderer.text(o);break}default:{let s='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return e}parseInline(n,e=this.renderer){this.renderer.parser=this;let i="";for(let r=0;r<n.length;r++){let o=n[r];if(this.options.extensions?.renderers?.[o.type]){let a=this.options.extensions.renderers[o.type].call({parser:this},o);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){i+=a||"";continue}}let s=o;switch(s.type){case"escape":{i+=e.text(s);break}case"html":{i+=e.html(s);break}case"link":{i+=e.link(s);break}case"image":{i+=e.image(s);break}case"checkbox":{i+=e.checkbox(s);break}case"strong":{i+=e.strong(s);break}case"em":{i+=e.em(s);break}case"codespan":{i+=e.codespan(s);break}case"br":{i+=e.br(s);break}case"del":{i+=e.del(s);break}case"text":{i+=e.text(s);break}default:{let a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return i}},bl=class{options;block;constructor(t){this.options=t||ro}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(t=this.block){return t?kn.lex:kn.lexInline}provideParser(t=this.block){return t?Rn.parse:Rn.parseInline}},zL=class{defaults=Xv();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Rn;Renderer=ii;TextRenderer=sy;Lexer=kn;Tokenizer=vf;Hooks=bl;constructor(...t){this.use(...t)}walkTokens(t,n){let e=[];for(let i of t)switch(e=e.concat(n.call(this,i)),i.type){case"table":{let r=i;for(let o of r.header)e=e.concat(this.walkTokens(o.tokens,n));for(let o of r.rows)for(let s of o)e=e.concat(this.walkTokens(s.tokens,n));break}case"list":{let r=i;e=e.concat(this.walkTokens(r.items,n));break}default:{let r=i;this.defaults.extensions?.childTokens?.[r.type]?this.defaults.extensions.childTokens[r.type].forEach(o=>{let s=r[o].flat(1/0);e=e.concat(this.walkTokens(s,n))}):r.tokens&&(e=e.concat(this.walkTokens(r.tokens,n)))}}return e}use(...t){let n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(e=>{let i=D({},e);if(i.async=this.defaults.async||i.async||!1,e.extensions&&(e.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){let o=n.renderers[r.name];o?n.renderers[r.name]=function(...s){let a=r.renderer.apply(this,s);return a===!1&&(a=o.apply(this,s)),a}:n.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let o=n[r.level];o?o.unshift(r.tokenizer):n[r.level]=[r.tokenizer],r.start&&(r.level==="block"?n.startBlock?n.startBlock.push(r.start):n.startBlock=[r.start]:r.level==="inline"&&(n.startInline?n.startInline.push(r.start):n.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(n.childTokens[r.name]=r.childTokens)}),i.extensions=n),e.renderer){let r=this.defaults.renderer||new ii(this.defaults);for(let o in e.renderer){if(!(o in r))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;let s=o,a=e.renderer[s],l=r[s];r[s]=(...c)=>{let d=a.apply(r,c);return d===!1&&(d=l.apply(r,c)),d||""}}i.renderer=r}if(e.tokenizer){let r=this.defaults.tokenizer||new vf(this.defaults);for(let o in e.tokenizer){if(!(o in r))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;let s=o,a=e.tokenizer[s],l=r[s];r[s]=(...c)=>{let d=a.apply(r,c);return d===!1&&(d=l.apply(r,c)),d}}i.tokenizer=r}if(e.hooks){let r=this.defaults.hooks||new bl;for(let o in e.hooks){if(!(o in r))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;let s=o,a=e.hooks[s],l=r[s];bl.passThroughHooks.has(o)?r[s]=c=>{if(this.defaults.async&&bl.passThroughHooksRespectAsync.has(o))return dt(this,null,function*(){let f=yield a.call(r,c);return l.call(r,f)});let d=a.call(r,c);return l.call(r,d)}:r[s]=(...c)=>{if(this.defaults.async)return dt(this,null,function*(){let f=yield a.apply(r,c);return f===!1&&(f=yield l.apply(r,c)),f});let d=a.apply(r,c);return d===!1&&(d=l.apply(r,c)),d}}i.hooks=r}if(e.walkTokens){let r=this.defaults.walkTokens,o=e.walkTokens;i.walkTokens=function(s){let a=[];return a.push(o.call(this,s)),r&&(a=a.concat(r.call(this,s))),a}}this.defaults=D(D({},this.defaults),i)}),this}setOptions(t){return this.defaults=D(D({},this.defaults),t),this}lexer(t,n){return kn.lex(t,n??this.defaults)}parser(t,n){return Rn.parse(t,n??this.defaults)}parseMarkdown(t){return(n,e)=>{let i=D({},e),r=D(D({},this.defaults),i),o=this.onError(!!r.silent,!!r.async);if(this.defaults.async===!0&&i.async===!1)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return o(new Error("marked(): input parameter is undefined or null"));
2465if(typeof n!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(r.hooks&&(r.hooks.options=r,r.hooks.block=t),r.async)return dt(this,null,function*(){let s=r.hooks?yield r.hooks.preprocess(n):n,a=yield(r.hooks?yield r.hooks.provideLexer(t):t?kn.lex:kn.lexInline)(s,r),l=r.hooks?yield r.hooks.processAllTokens(a):a;r.walkTokens&&(yield Promise.all(this.walkTokens(l,r.walkTokens)));let c=yield(r.hooks?yield r.hooks.provideParser(t):t?Rn.parse:Rn.parseInline)(l,r);return r.hooks?yield r.hooks.postprocess(c):c}).catch(o);try{r.hooks&&(n=r.hooks.preprocess(n));let s=(r.hooks?r.hooks.provideLexer(t):t?kn.lex:kn.lexInline)(n,r);r.hooks&&(s=r.hooks.processAllTokens(s)),r.walkTokens&&this.walkTokens(s,r.walkTokens);let a=(r.hooks?r.hooks.provideParser(t):t?Rn.parse:Rn.parseInline)(s,r);return r.hooks&&(a=r.hooks.postprocess(a)),a}catch(s){return o(s)}}}onError(t,n){return e=>{if(e.message+=` 2466Please report this to https://github.com/markedjs/marked.`,t){let i="<p>An error occurred:</p><pre>"+ni(e.message+"",!0)+"</pre>";return n?Promise.resolve(i):i}if(n)return Promise.reject(e);throw e}}},io=new zL;ye.options=ye.setOptions=function(t){return io.setOptions(t),ye.defaults=io.defaults,$I(ye.defaults),ye};ye.getDefaults=Xv;ye.defaults=ro;ye.use=function(...t){return io.use(...t),ye.defaults=io.defaults,$I(ye.defaults),ye};ye.walkTokens=function(t,n){return io.walkTokens(t,n)};ye.parseInline=io.parseInline;ye.Parser=Rn;ye.parser=Rn.parse;ye.Renderer=ii;ye.TextRenderer=sy;ye.Lexer=kn;ye.lexer=kn.lex;ye.Tokenizer=vf;ye.Hooks=bl;ye.parse=ye;noe=ye.options,ioe=ye.setOptions,roe=ye.use,ooe=ye.walkTokens,soe=ye.parseInline,aoe=Rn.parse,loe=kn.lex});function JL(t){return typeof t=="function"}function tT(t){return[JI,t?.loader??[],t?.clipboardOptions??[],t?.markedOptions??[],t?.mermaidOptions??[],t?.markedExtensions??[],t?.sanitize??[]]}var GL,WL,qL,YL,KL,ZL,cy,QL,XL,eV,tV,nV,iV,rV,oV,JI,ly,eT,_f=h(()=>{_();_();Fv();De();he();Tn();Le();Ha();ay();ay();GL=["*"],WL="Copy",qL="Copied",YL=(()=>{class t{constructor(){this._buttonClick$=new w,this.copied=Ds(this._buttonClick$.pipe(Te(()=>ai(Z(!0),Bt(3e3).pipe(Ks(!1)))),xo(),xt(1))),this.copiedText=Re(()=>this.copied()?qL:WL)}onCopyToClipboardClick(){this._buttonClick$.next()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["markdown-clipboard"]],decls:2,vars:3,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(i,r){i&1&&(G(0,"button",0),Yi("click",function(){return r.onCopyToClipboardClick()}),F(1),Q()),i&2&&(pe("copied",r.copied()),E(),se(r.copiedText()))},encapsulation:2,changeDetection:0})}}return t})(),KL=new y("CLIPBOARD_OPTIONS"),ZL=new y("MARKED_EXTENSIONS"),cy=new y("MARKED_OPTIONS"),QL=new y("MERMAID_OPTIONS"),XL=new y("SANITIZE");eV="[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information",tV="[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information",nV="[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information",iV="[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information",rV="[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function",oV="[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information",JI=(()=>{class t{get options(){return this._options}set options(e){this._options=D(D({},this.DEFAULT_MARKED_OPTIONS),e)}get renderer(){return this.options.renderer}set renderer(e){this.options.renderer=e}constructor(){this.clipboardOptions=u(KL,{optional:!0}),this.extensions=u(ZL,{optional:!0}),this.http=u(Yn,{optional:!0}),this.mermaidOptions=u(QL,{optional:!0}),this.platform=u(mi),this.sanitize=u(XL,{optional:!0}),this.sanitizer=u(Ji),this.DEFAULT_MARKED_OPTIONS={renderer:new ii},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this.DEFAULT_SECURITY_CONTEXT=Se.HTML,this._options=null,this._reload$=new w,this.reload$=this._reload$.asObservable(),this.options=u(cy,{optional:!0})}parse(e,i=this.DEFAULT_PARSE_OPTIONS){let{decodeHtml:r,inline:o,emoji:s,mermaid:a,disableSanitizer:l}=i,c=D(D({},this.options),i.markedOptions),d=c.renderer||this.renderer||new ii;this.extensions&&(this.renderer=this.extendsRendererForExtensions(d)),a&&(this.renderer=this.extendsRendererForMermaid(d));let f=this.trimIndentation(e),p=r?this.decodeHtml(f):f,m=s?this.parseEmoji(p):p,g=this.parseMarked(m,c,o);return l?g:this.sanitizeHtml(g)}render(e,i=this.DEFAULT_RENDER_OPTIONS,r){let{clipboard:o,clipboardOptions:s,katex:a,katexOptions:l,mermaid:c,mermaidOptions:d}=i;a&&this.renderKatex(e,D(D({},this.DEFAULT_KATEX_OPTIONS),l)),c&&this.renderMermaid(e,D(D(D({},this.DEFAULT_MERMAID_OPTIONS),this.mermaidOptions),d)),o&&this.renderClipboard(e,r,D(D(D({}
2466,this.DEFAULT_CLIPBOARD_OPTIONS),this.clipboardOptions),s)),this.highlight(e)}reload(){this._reload$.next()}getSource(e){if(!this.http)throw new Error(oV);return this.http.get(e,{responseType:"text"}).pipe(x(i=>this.handleExtension(e,i)))}highlight(e){if(!_i(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;e||(e=document);let i=e.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(i,r=>r.classList.add("language-none")),Prism.highlightAllUnder(e)}decodeHtml(e){if(!_i(this.platform))return e;let i=document.createElement("textarea");return i.innerHTML=e,i.value}extendsRendererForExtensions(e){let i=e;return i.\u0275NgxMarkdownRendererExtendedForExtensions===!0||(this.extensions&&this.extensions.length>0&&ye.use(...this.extensions),i.\u0275NgxMarkdownRendererExtendedForExtensions=!0),e}extendsRendererForMermaid(e){let i=e;if(i.\u0275NgxMarkdownRendererExtendedForMermaid===!0)return e;let r=e.code;return e.code=o=>o.lang==="mermaid"?`<div class="mermaid">${o.text}</div>`:r(o),i.\u0275NgxMarkdownRendererExtendedForMermaid=!0,e}handleExtension(e,i){let r=e.lastIndexOf("://"),o=r>-1?e.substring(r+4):e,s=o.lastIndexOf("/"),a=s>-1?o.substring(s+1).split("?")[0]:"",l=a.lastIndexOf("."),c=l>-1?a.substring(l+1):"";return c&&c!=="md"?"```"+c+` 2467`+i+"\n```":i}parseMarked(e,i,r=!1){if(i.renderer){let o=D({},i.renderer);delete o.\u0275NgxMarkdownRendererExtendedForExtensions,delete o.\u0275NgxMarkdownRendererExtendedForMermaid,delete i.renderer,ye.use({renderer:o})}return r?ye.parseInline(e,i):ye.parse(e,i)}parseEmoji(e){if(!_i(this.platform))return e;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error(eV);return joypixels.shortnameToUnicode(e)}renderKatex(e,i){if(_i(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error(tV);renderMathInElement(e,i)}}renderClipboard(e,i,r){if(!_i(this.platform))return;if(typeof ClipboardJS>"u")throw new Error(iV);if(!i)throw new Error(rV);let{buttonComponent:o,buttonTemplate:s}=r,a=e.querySelectorAll("pre");for(let l=0;l<a.length;l++){let c=a.item(l),d=document.createElement("div");d.style.position="relative",c.parentNode.insertBefore(d,c),d.appendChild(c);let f=document.createElement("div");f.classList.add("markdown-clipboard-toolbar"),f.style.position="absolute",f.style.top=".5em",f.style.right=".5em",f.style.zIndex="1",d.insertAdjacentElement("beforeend",f),d.onmouseenter=()=>f.classList.add("hover"),d.onmouseleave=()=>f.classList.remove("hover");let p;if(o){let g=i.createComponent(o);p=g.hostView,g.changeDetectorRef.markForCheck()}else if(s)p=i.createEmbeddedView(s);else{let g=i.createComponent(YL);p=g.hostView,g.changeDetectorRef.markForCheck()}let m;p.rootNodes.forEach(g=>{f.appendChild(g),m=new ClipboardJS(g,{text:()=>c.innerText})}),p.onDestroy(()=>m.destroy())}}renderMermaid(e,i=this.DEFAULT_MERMAID_OPTIONS){if(!_i(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error(nV);let r=e.querySelectorAll(".mermaid");r.length!==0&&(mermaid.initialize(i),mermaid.run({nodes:r}))}trimIndentation(e){if(!e)return"";let i;return e.split(` 2468`).map(r=>{let o=i;return r.length>0&&(o=isNaN(o)?r.search(/\S|$/):Math.min(r.search(/\S|$/),o)),isNaN(i)&&(i=o),o?r.substring(o):r}).join(` 2469`)}sanitizeHtml(e){return dt(this,null,function*(){return JL(this.sanitize)?this.sanitize(yield e):this.sanitize!==Se.NONE?this.sanitizer.sanitize(this.sanitize??this.DEFAULT_SECURITY_CONTEXT,e)??"":e})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac})}}return t})(),ly=(function(t){return t.CommandLine="command-line",t.LineHighlight="line-highlight",t.LineNumbers="line-numbers",t})(ly||{}),eT=(()=>{class t{constructor(){this.element=u(K),this.markdownService=u(JI),this.viewContainerRef=u(kt),this.error=new me,this.load=new me,this.ready=new me,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new w}get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(e){this._disableSanitizer=this.coerceBooleanProperty(e)}get inline(){return this._inline}set inline(e){this._inline=this.coerceBooleanProperty(e)}get clipboard(){return this._clipboard}set clipboard(e){this._clipboard=this.coerceBooleanProperty(e)}get emoji(){return this._emoji}set emoji(e){this._emoji=this.coerceBooleanProperty(e)}get katex(){return this._katex}set katex(e){this._katex=this.coerceBooleanProperty(e)}get mermaid(){return this._mermaid}set mermaid(e){this._mermaid=this.coerceBooleanProperty(e)}get lineHighlight(){return this._lineHighlight}set lineHighlight(e){this._lineHighlight=this.coerceBooleanProperty(e)}get lineNumbers(){return this._lineNumbers}set lineNumbers(e){this._lineNumbers=this.coerceBooleanProperty(e)}get commandLine(){return this._commandLine}set commandLine(e){this._commandLine=this.coerceBooleanProperty(e)}ngOnChanges(){this.loadContent()}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Xe(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(e,i=!1){return dt(this,null,function*(){let r={decodeHtml:i,inline:this.inl
2469ine,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},o={clipboard:this.clipboard,clipboardOptions:this.getClipboardOptions(),katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},s=yield this.markdownService.parse(e,r);this.element.nativeElement.innerHTML=s,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,o,this.viewContainerRef),this.ready.emit()})}coerceBooleanProperty(e){return e!=null&&`${String(e)}`!="false"}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:e=>{this.render(e).then(()=>{this.load.emit(e)})},error:e=>this.error.emit(e)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,ly.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,ly.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(e,i){let r=e.querySelectorAll("pre");for(let o=0;o<r.length;o++){let s=i instanceof Array?i:[i];r.item(o).classList.add(...s)}}setPluginOptions(e,i){let r=e.querySelectorAll("pre");for(let o=0;o<r.length;
2469o++)Object.keys(i).forEach(s=>{let a=i[s];if(a){let l=this.toLispCase(s);r.item(o).setAttribute(l,a.toString())}})}toLispCase(e){let i=e.match(/([A-Z])/g);if(!i)return e;let r=e.toString();for(let o=0,s=i.length;o<s;o++)r=r.replace(new RegExp(i[o]),"-"+i[o].toLowerCase());return r.slice(0,1)==="-"&&(r=r.slice(1)),r}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},features:[ht],ngContentSelectors:GL,decls:1,vars:0,template:function(i,r){i&1&&(ln(),Pe(0))},encapsulation:2})}}return t})()});var Os,nT=h(()=>{Os=(function(t){return t.OK="OK",t.ERROR="ERROR",t.DENIED="DENIED",t})(Os||{})});var iT,rT=h(()=>{De();nT();_();iT=(()=>{class t{static{this.PERMISSION_DENIED=1}
2469constructor(){this.locationSubject=new w}getCurrentPosition(){return navigator.geolocation&&navigator.geolocation.getCurrentPosition?navigator.geolocation.getCurrentPosition(e=>this.handleSuccess(e),e=>this.handleError(e)):this.locationSubject.next({status:Os.ERROR}),this.locationSubject.asObservable()}handleSuccess(e){this.locationSubject.next({status:Os.OK,latitude:e.coords.latitude.toString(),longitude:e.coords.longitude.toString()})}handleError(e){t.PERMISSION_DENIED===e.code?this.locationSubject.next({status:Os.DENIED}):this.locationSubject.next({status:Os.ERROR})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var El,dy=h(()=>{El=(function(t){return t.FOOTER="FOOTER",t})(El||{})});var uy,oT=h(()=>{uy=(function(t){return t.GPS="GPS",t})(uy||{})});function aV(t,n){if(t&1){let e=qn();S(0,"img",10),be("error",function(){nn(e);let r=W(2);return rn(r.avatarError=!0)}),O()}if(t&2){let e=W(2);fe("src",e.pathToAvatar,jr)}}function lV(t,n){t&1&&le(0,"kf-icon",7)}function cV(t,n){if(t&1&&(S(0,"div",2)(1,"div",5),ie(2,aV,1,1,"img",6)(3,lV,1,0,"kf-icon",7),S(4,"p"),F(5),O()(),S(6,"div",8),le(7,"markdown",9),O()()),t&2){let e=W();E(2),re(e.pathToAvatar&&!e.avatarError?2:3),E(3),se(e.botName),E(2),fe("data",e.welcomeMessage)}}function dV(t,n){t&1&&(S(0,"div",3),M(1,"translate"),le(2,"div",11),O()),t&2&&oe("aria-label",k(1,1,"VAC.CONTENT.LOADING"))}function uV(t,n){if(t&1&&(S(0,"div",12)(1,"p",5),F(2),M(3,"translate"),O(),S(4,"div",13)(5,"p"),F(6),O()()()),t&2){let e=W().$implicit;E(2),se(k(3,2,"VAC.CONTENT.YOU_WRITE")),E(4),se(e.question.value)}}function fV(t,n){if(t&1){let e=qn();S(0,"img",10),be("error",function(){nn(e);let r=W(3);return rn(r.avatarError=!0)}),O()}if(t&2){let e=W(3);fe("src",e.pathToAvatar,jr)}}function hV(t,n){t&1&&le(0,"kf-icon",7)}function pV(t,n){if(t&1&&(S(0,"a",16),M(1,"translate"),F(2),O()),t&2){let e=W(),i=e.$implicit,r=e.$index;oe("aria-label",og("",k(1,9,"VAC.CONTENT.REFERENCE")," ",r+1)),fe("href",Lt(i),jr)("matTooltip",Lt(i))("matTooltipPosition","above"),E(2),tt("[",r+1,"]")}}function mV(t,n){if(t&1&&(S(0,"span"),ie(1,pV,3,11,"a",16),O()),t&2){let e=n.$index;E(),re(e<3?1:-1)}}function gV(t,n){if(t&1&&(S(0,"div",14)(1,"p"),F(2),M(3,"translate"),O(),Hd(4,mV,2,1,"span",null,Bd),O()),t&2){let e=W(2).$implicit;E(2),se(k(3,1,"VAC.CONTENT.REFERENCES")),E(2),Ud(e.answer.reference)}}function vV(t,n){if(t&1){let e=qn();S(0,"button",17),M(1,"translate"),M(2,"translate"),be("click",function(){nn(e);let r=W(4);return rn(r.onToggleFeedback("POSITIV"))}),le(3,"kf-icon",18),O(),S(4,"button",17),M(5,"translate"),M(6,"translate"),be("click",function(){nn(e);let r=W(4);return rn(r.onToggleFeedback("NEGATIV"))}),le(7,"kf-icon",19),O()}if(t&2){let e=W(3).$index,i=W();pe("kf-icon-button-neutral",!i.isPositiveFeedback(e)),fe("matTooltip",Lt(k(1,12,"VAC.CONTENT.POSITIVE_FEEDBACK_BUTTON")))("matTooltipPosition","below"),oe("aria-label",k(2,14,"VAC.CONTENT.POSITIVE_FEEDBACK_BUTTON")),E(4),pe("kf-icon-button-neutral",!i.isNegativeFeedback(e)),fe("matTooltip",Lt(k(5,16,"VAC.CONTENT.NEGATIVE_FEEDBACK_BUTTON")))("matTooltipPosition","below"),oe("aria-label",k(6,18,"VAC.CONTENT.NEGATIVE_FEEDBACK_BUTTON"))}}function yV(t,n){t&1&&(S(0,"div",20),le(1,"kf-icon",18),M(2,"translate"),O()),t&2&&(E(),oe("aria-label",k(2,1,"VAC.CONTENT.POSITIVE_FEEDBACK")))}function bV(t,n){t&1&&(S(0,"div",20),le(1,"kf-icon",19),M(2,"translate"),O()),t&2&&(E(),oe("aria-label",k(2,1,"VAC.CONTENT.NEGATIVE_FEEDBACK")))}function _V(t,n){if(t&1&&ie(0,yV,3,3,"div",20)(1,bV,3,3,"div",20),t&2){let e=W(3).$index,i=W();re(i.isPositiveFeedback(e)?0:i.isNegativeFeedback(e)?1:-1)}}function EV(t,n){if(t&1&&(S(0,"div",15),ie(1,vV,8,20)(2,_V,2,1),O()),t&2){let e=W(2).$index,i=W();E(),re(e===i.qaPairs.length-1?1:2)}}function DV(t,n){if(t&1&&(S(0,"div",2)(1,"div",5),ie(2,fV,1,1,"img",6)(3,hV,1,0,"kf-icon",7),S(4,"p"),F(5),O()(),S(6,"div",8),le(7,"markdown",9),O(),ie(8,gV,6,3,"div",14),ie(9,EV,3,1,"div",15),O()),t&2){let e=W().$implicit,i=W();E(2),re(i.pathToAvatar&&!i.avatarError?2:3),E(3),se(i.botName),E(2),fe("data",e.answer.value),E(),re(e.answer.reference&&e.answer.reference.length>0?8:-1),E(),re(i.activatedFeatureList.includes("SMAFE-3972")?9:-1)}}function CV(t,n){t&1&&(S(0,"div",3),M(1,"translate"),le(2,"div",11),O()),t&2&&oe("aria-label",k(1,1,"VAC.
2469CONTENT.LOADING"))}function wV(t,n){if(t&1&&(ie(0,uV,7,4,"div",12),ie(1,DV,10,5,"div",2)(2,CV,3,3,"div",3)),t&2){let e=n.$implicit;re(e.question.value?0:-1),E(),re(e.answer.value?1:2)}}var sV,sT,aT=h(()=>{_();De();Cs();il();Zr();Zt();_f();ws();gl();ll();pf();rT();Jr();dy();oT();ml();_();Zr();Zt();sV=["content"];sT=(()=>{class t{constructor(){this.cd=u(gt),this.translateService=u(Kt),this.eventService=u(ei),this.customizationService=u(or),this.conversationService=u(ir),this.chatGatewayApiService=u(eo),this.locationService=u(iT),this.qaPairs=[],this.feedback=[],this.pathToAvatar="",this.avatarError=!1,this.activatedFeatureList=[],this.headerHeight="4rem",this.footerHeight="6.125rem"}ngOnInit(){this.uiStateSub=this.eventService.uiState.subscribe(e=>this.onNewUiState(e)),this.resizedEventSub=this.eventService.resizedEvent.subscribe(e=>this.onResized(e)),this.welcomeMessageSub=this.customizationService.welcomeMessage.subscribe(e=>this.onNewWelcomeMessage(e)),this.conversationIdSub=this.conversationService.conversationId.subscribe(e=>this.onNewConversationId(e)),this.questionSub=this.conversationService.question.subscribe(e=>this.onNewQuestion(e)),this.botNameSub=this.customizationService.botName.subscribe(e=>this.botName=e),this.pathToAvatarSub=this.customizationService.pathToAvatar.subscribe(e=>this.pathToAvatar=e),this.activatedFeatureListSub=this.customizationService.activatedFeatureList.subscribe(e=>this.activatedFeatureList=e)}ngOnDestroy(){this.uiStateSub?.unsubscribe(),this.resizedEventSub?.unsubscribe(),this.conversationIdSub?.unsubscribe(),this.questionSub?.unsubscribe(),this.welcomeMessageSub?.unsubscribe(),this.botNameSub?.unsubscribe(),this.pathToAvatarSub?.unsubscribe(),this.activatedFeatureListSub?.unsubscribe()}isPositiveFeedback(e){return this.feedback[e]==="POSITIV"}isNegativeFeedback(e){return this.feedback[e]==="NEGATIV"}onToggleFeedback(e){if(this.feedback.length>0){let i=this.feedback.length-1;this.feedback[i]===e?(this.feedback[i]=null,this.deleteFeedbackFromBackend()):(this.feedback[i]=e,this.sendFeedbackToBackend(this.feedback[i]))}}onNewUiState(e){lt.OFFLINE===e&&this.translateService.stream(MI).subscribe(i=>{this.addAnswerToUi({value:i})})}onResized(e){e.element===El.FOOTER&&(this.footerHeight=e.height+"px",this.contentContainer.nativeElement.style.setProperty("height",`calc(100% - ${this.headerHeight} - ${this.footerHeight})`),this.cd.detectChanges())}onNewWelcomeMessage(e){this.welcomeMessage=e,this.cd.detectChanges()}onNewConversationId(e){this.conversationId=e}onNewQuestion(e){this.disableUi(),this.addQuestionToUi(e),this.sendQuestionToBackend(e)}addQuestionToUi(e){let i={question:e,answer:{value:""}};this.qaPairs.push(i),this.feedback.push(null),this.scrollToBottom(),this.cd.detectChanges()}enableUi(){this.eventService.uiState.next(lt.READY)}disableUi(){this.eventService.uiState.next(lt.DISABLED)}sendQuestionToBackend(e){let i={"x-conversationid":this.conversationId.value,body:e};Ne(this.chatGatewayApiService.addQuestion(i)).subscribe({next:r=>this.handleAnswer(r),error:()=>this.handleError()})}deleteFeedbackFromBackend(){let e={"x-conversationid":this.conversationId.value};Ne(this.chatGatewayApiService.deleteFeedback(e)).subscribe()}sendFeedbackToBackend(e){let i={"x-conversationid":this.conversationId.value,body:{assessment:e}};Ne(this.chatGatewayApiService.sendFeedback(i)).subscribe()}handleAnswer(e){e.action?this.triggerAction(e.action):(this.addAnswerToUi(e),this.enableUi())}handleError(){this.translateService.stream(AI).subscribe(e=>{this.addAnswerToUi({value:`${e}`}),this.enableUi()})}triggerAction(e){uy.GPS===e?this.locationService.getCurrentPosition().pipe(He(1)).subscribe(i=>this.sendQuestionToBackend({value:"",location:i})):this.handleError()}addAnswerToUi(e){let i=this.qaPairs[this.qaPairs.length-1];if(i)i.answer=e;else{let r={question:{value:""},answer:e};this.qaPairs.push(r),this.feedback.push(null)}this.scrollToBottom(),this.cd.detectChanges()}scrollToBottom(){setTimeout(()=>this.contentContainer.nativeElement.scrollTop=this.contentContainer.nativeElement.scrollHeight)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["app-content"]],viewQuery:function(i,r){if(i&1&&Pt(sV,5),i&2){let o;Ae(o=ke())&&(r.contentContainer=o.first)}},decls:8,vars:4,consts:[["content",""],["tabindex","0",1,"content-container"],[1,"answer-bubble"],[1,"answer-bubble","dot-bubble"],["aria-live","polite"],[1,"bubble-header"],["alt","",3,"src"],["name","ic_genogpt_faqbot_32"],[1,"answer"],[3,"data"],["alt","",3,"error","src"],[1,"answer","dot-typing"],[1,"question-bubble"],[1,"question"],[1,"reference"],[1,"feedback"],["target","_blank","rel","noopener noreferrer",3,"href","matTooltip","matTooltipPosition"],["matIconButton","","type","button",1,"kf-icon-button-small",3,"click","matTooltip","matTooltipPosition"],["name","ic_daumen-hoch_24"],["name","ic_daumen-runter_24"],[1,"feedback-icon"]],template:function(i,r){i&1&&(S(0,"section",1,0),M(2,"translate"),ie(3,cV,8,3,"div",2)(4,dV,3,3,"div",3),S(5,"div",4),Hd(6,wV,3,2,null,null,Bd),O()()),i&2&&(oe("aria-label",k(2,2,"VAC.CONTENT.CHAT_HISTORY_TEXT")),E(3),re(r.welcomeMessage?3:4),E(3),Ud(r.qaPairs))},dependencies:[Jn,Vu,Kr,Ci,hn,eT,ti],styles:[".content-container[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:auto;padding:0rem 1rem;border-top:.063rem solid var(--color-grey-200);border-bottom:.063rem solid var(--color-grey-200)}.qa-bubble[_ngcontent-%COMP%], .answer-bubble[_ngcontent-%COMP%], .question-bubble[_ngcontent-%COMP%]{position:relative;width:fit-content;max-width:95%;font-size:.813rem;line-height:1.125rem;word-wrap:break-word}.question-bubble[_ngcontent-%COMP%]{color:var(--color-background-stage-contrast);background-color:var(--color-background-stage);margin:1rem 0rem 1rem auto;border:.063rem solid var(--color-primary-500);border-radius:.5rem .5rem 0rem;-webkit-border-radius:.5rem .5rem 0rem .5rem;-moz-border-radius:.5rem .5rem 0rem .5rem}.answer-bubble[_ngcontent-%COMP%]{color:var(--color-foreground-text);background-color:var(--color-grey-blue-50);margin:1rem auto 1rem 0rem;border:.063rem solid var(--color-grey-400);border-radius:.5rem .5rem .5rem 0rem;-webkit-border-radius:.5rem .5rem .5rem 0rem;-moz-border-radius:.5rem .5rem .5rem 0rem}.answer-bubble[_ngcontent-%COMP%] .bubble-header[_ngcontent-%COMP%]{margin-left:.6rem}.bubble-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.3rem;font-weight:700;margin:.5rem .75rem}.bubble-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2rem;height:2rem;border-radius:50%}.bubble-header[_ngcontent-%COMP%] kf-icon[_ngcontent-%COMP%]{color:var(--color-primary-variant)}.question[_ngcontent-%COMP%]{margin:.5rem .75rem}.answer[_ngcontent-%COMP%]{margin:.5rem .75rem 0rem}.question[_ngcontent-%COMP%]{white-space:break-spaces}.answer[_ngcontent-%COMP%]{overflow-x:auto}.reference[_ngcontent-%COMP%]{display:flex;padding:.5rem .75rem;border-top:.063rem solid var(--color-grey-400)}.answer-bubble[_ngcontent-%COMP%], .feedback[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .feedback-icon[_ngcontent-%COMP%]{background-color:var(--color-grey-blue-50)!important;box-shadow:none;border:1px solid var(--color-grey-400);margin-right:.5rem}.feedback[_ngcontent-%COMP%]{position:absolute;right:0;bottom:-.75rem}.feedback[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--options-button-focus-box-sha
2469dow);outline-style:solid;outline-color:transparent;outline-width:2px;outline-offset:2px}.feedback[_ngcontent-%COMP%] kf-icon[_ngcontent-%COMP%]{width:1rem!important;height:1rem!important;min-width:1rem;min-height:1rem;font-size:1rem!important}.feedback-icon[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:1.5rem;height:1.5rem;color:var(--button-tertiary-color);border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.reference[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-left:.313rem}.question[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .answer[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .reference[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin-bottom:0rem}.dot-bubble[_ngcontent-%COMP%]{padding:.5rem 1.5rem .5rem .5rem}.dot-typing[_ngcontent-%COMP%]{position:relative;left:-9985px;width:3px;height:3px;border-radius:2px;background-color:var(--color-primary-500);color:var(--color-primary-500);box-shadow:9985px 0 0 0 var(--color-primary-500),9995px 0 0 0 var(--color-primary-500),10005px 0 0 0 var(--color-primary-500);animation:_ngcontent-%COMP%_dot-typing-animation 1.5s infinite linear}@keyframes _ngcontent-%COMP%_dot-typing-animation{0%{box-shadow:9985px 0 0 0 var(--color-foreground-text),9992px 0 0 0 var(--color-foreground-text),9999px 0 0 0 var(--color-foreground-text)}15%{box-shadow:9985px -4px 0 0 var(--color-foreground-text),9992px 0 0 0 var(--color-foreground-text),9999px 0 0 0 var(--color-foreground-text)}30%{box-shadow:9985px 0 0 0 var(--color-foreground-text),9992px 0 0 0 var(--color-foreground-text),9999px 0 0 0 var(--color-foreground-text)}45%{box-shadow:9985px 0 0 0 var(--color-foreground-text),9992px -4px 0 0 var(--color-foreground-text),9999px 0 0 0 var(--color-foreground-text)}60%{box-shadow:9985px 0 0 0 var(--color-foreground-text),9992px 0 0 0 var(--color-foreground-text),9999px 0 0 0 var(--color-foreground-text)}75%{box-shadow:9985px 0 0 0 var(--color-foreground-text),9992px 0 0 0 var(--color-foreground-text),9999px -4px 0 0 var(--color-foreground-text)}90%{box-shadow:9985px 0 0 0 var(--color-foreground-text),9992px 0 0 0 var(--color-foreground-text),9999px 0 0 0 var(--color-foreground-text)}to{box-shadow:9985px 0 0 0 var(--color-foreground-text),9992px 0 0 0 var(--color-foreground-text),9999px 0 0 0 var(--color-foreground-text)}}"]})}}return t})()});function TV(){let t=cn()?cn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function py(t){return t==null||my(t)===0}function my(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}function AV(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function kV(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function RV(t){return py(t.value)?{required:!0}:null}function OV(t){return t.value===!0?null:{required:!0}}function NV(t){return py(t.value)||MV.test(t.value)?null:{email:!0}}function FV(t){return n=>{let e=n.value?.length??my(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function mT(t){return n=>{let e=n.value?.length??my(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function PV(t){if(!t)return Df;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(py(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Df(t){return null}function gT(t){return t!=null}function vT(t){return Br(t)?Ne(t):t}function yT(t){let n={};return t.forEach(e=>{n=e!=null?D(D({},n),e):n}),Object.keys(n).length===0?null:n}function bT(t,n){return n.map(e=>e(t))}function LV(t){return!t.validate}function _T(t){return t.map(n=>LV(n)?n:e=>n.validate(e))}function ET(t){if(!t)return null;let n=t.filter(gT);return n.length==0?null:function(e){return yT(bT(e,n))}}
vendor: 3,417 bytes, line 2469
2469function vy(t){return t!=null?ET(_T(t)):null}function DT(t){if(!t)return null;let n=t.filter(gT);return n.length==0?null:function(e){let i=bT(e,n).map(vT);return Gs(i).pipe(x(yT))}}function yy(t){return t!=null?DT(_T(t)):null}function lT(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function CT(t){return t._rawValidators}function wT(t){return t._rawAsyncValidators}function fy(t){return t?Array.isArray(t)?t:[t]:[]}function Cf(t,n){return Array.isArray(t)?t.includes(n):t===n}function cT(t,n){let e=fy(n);return fy(t).forEach(r=>{Cf(e,r)||e.push(r)}),e}function dT(t,n){return fy(n).filter(e=>!Cf(t,e))}function IT(t){return(Pf(t)?t.validators:t)||null}function VV(t){return Array.isArray(t)?vy(t):t||null}function TT(t,n){return(Pf(n)?n.asyncValidators:t)||null}function jV(t){return Array.isArray(t)?yy(t):t||null}function Pf(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function BV(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new A(1e3,"");if(!i[e])throw new A(1001,"")}function HV(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new A(-1002,"")})}function Af(t,n,e=by){_y(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),$V(t,n),GV(t,n),zV(t,n),UV(t,n)}function kf(t,n,e=!0){let i=()=>{};n?.valueAccessor?.registerOnChange(i),n?.valueAccessor?.registerOnTouched(i),Of(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Rf(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function UV(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function _y(t,n){let e=CT(t);n.validator!==null?t.setValidators(lT(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=wT(t);n.asyncValidator!==null?t.setAsyncValidators(lT(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();Rf(n._rawValidators,r),Rf(n._rawAsyncValidators,r)}function Of(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=CT(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=wT(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return Rf(n._rawValidators,i),Rf(n._rawAsyncValidators,i),e}function $V(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&ST(t,n)})}function zV(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&ST(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function ST(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function GV(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function MT(t,n){t==null,_y(t,n)}function WV(t,n){return Of(t,n)}function qV(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function YV(t){return Object.getPrototypeOf(t.constructor)===xV}
2469function AT(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function KV(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===Nf?e=o:YV(o)?i=o:r=o}),r||i||e||null}function ZV(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function uT(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function fT(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}function nj(t){return typeof t=="number"?t:parseInt(t,10)}var hT,xV,pT,IV,SV,Nf,Ff,gy,MV,oo,wf,Ps,so,hy,xT,Dl,Ef,Ns,Cl,sr,xf,xl,Il,Fs,If,Tf,Sf,Mf,Lf,by,QV,wl,Ey,kT,RT,XV,JV,OT,ej,Dy,tj,Cy,ij,rj,wy,oj,NT,Vf=h(()=>{_();_();De();he();Tn();hT=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}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 \u0275fac=function(i){return new(i||t)(de(qe),de(K))};static \u0275dir=ee({type:t})}return t})(),xV=(()=>{class t extends hT{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ct(t)))(r||t)}})();static \u0275dir=ee({type:t,features:[Be]})}return t})(),pT=new y(""),IV={provide:pT,useExisting:vn(()=>Nf),multi:!0};SV=new y(""),Nf=(()=>{class t extends hT{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!TV())}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 \u0275fac=function(i){return new(i||t)(de(qe),de(K),de(SV,8))};static \u0275dir=ee({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,r){i&1&&be("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[pt([IV]),Be]})}return t})();Ff=new y(""),gy=new y(""),MV=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,oo=class{static min(n){return AV(n)}static max(n){return kV(n)}static required(n){return RV(n)}static requiredTrue(n){return OV(n)}static email(n){return NV(n)}static minLength(n){return FV(n)}static maxLength(n){return mT(n)}static pattern(n){return PV(n)}static nullValidator(n){return Df()}static compose(n){return ET(n)}static composeAsync(n){return DT(n)}};wf=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=vy(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=yy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){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}},Ps=class extends wf{name;get formDirective(){return null}get path(){return null}},so=class extends wf{_parent=null;name=null;valueAccessor=null},hy=class{_cd;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}
vendor: 4,441 bytes, line 2469
2469get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},xT=(()=>{class t extends hy{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(de(so,2))};static \u0275dir=ee({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&pe("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Be]})}return t})(),Dl="VALID",Ef="INVALID",Ns="PENDING",Cl="DISABLED",sr=class{},xf=class extends sr{value;source;constructor(n,e){super(),this.value=n,this.source=e}},xl=class extends sr{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},Il=class extends sr{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},Fs=class extends sr{status;source;constructor(n,e){super(),this.status=n,this.source=e}},If=class extends sr{source;constructor(n){super(),this.source=n}},Tf=class extends sr{source;constructor(n){super(),this.source=n}};Sf=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){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 mt(this.statusReactive)}set status(n){mt(()=>this.statusReactive.set(n))}_status=Re(()=>this.statusReactive());statusReactive=st(void 0);get valid(){return this.status===Dl}get invalid(){return this.status===Ef}get pending(){return this.status===Ns}get disabled(){return this.status===Cl}get enabled(){return this.status!==Cl}errors;get pristine(){return mt(this.pristineReactive)}set pristine(n){mt(()=>this.pristineReactive.set(n))}_pristine=Re(()=>this.pristineReactive());pristineReactive=st(!0);get dirty(){return!this.pristine}get touched(){return mt(this.touchedReactive)}set touched(n){mt(()=>this.touchedReactive.set(n))}_touched=Re(()=>this.touchedReactive());touchedReactive=st(!1);get untouched(){return!this.touched}_events=new w;events=this._events.asObservable();valueChanges;statusChanges;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(cT(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(cT(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(dT(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(dT(n,this._rawAsyncValidators))}hasValidator(n){return Cf(this._rawValidators,n)}hasAsyncValidator(n){return Cf(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;n.onlySelf||this._parent?.markAsTouched(X(D({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Il(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}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(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),n.onlySelf||this._parent?._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Il(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(X(D({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new xl(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;
2469this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new xl(!0,i))}markAsPending(n={}){this.status=Ns;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Fs(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(X(D({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Cl,this.errors=null,this._forEachChild(r=>{r.disable(X(D({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new xf(this.value,i)),this._events.next(new Fs(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(X(D({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Dl,this._forEachChild(i=>{i.enable(X(D({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(X(D({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){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===Dl||this.status===Ns)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new xf(this.value,e)),this._events.next(new Fs(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(X(D({},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()?Cl:Dl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Ns,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=vT(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!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,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return 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 Fs(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new me,this.statusChanges=new me}_calculateStatus(){return this._allControlsDisabled()?Cl:this.errors?Ef:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ns)?Ns:this._anyControlsHaveStatus(Ef)?Ef:Dl}_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(),r=this.pristine!==i;this.pristine=i,n.onlySelf||this._parent?._updatePristine(n,e),r&&this._events.next(new xl(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Il(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Pf(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}
vendor: 7,816 bytes, line 2469
2469_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=VV(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=jV(this._rawAsyncValidators)}},Mf=class extends Sf{constructor(n,e,i){super(IT(e),TT(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){HV(this,!0,n),Object.keys(n).forEach(i=>{BV(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,X(D({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Tf(this))}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}},Lf=new y("",{factory:()=>by}),by="always";QV={provide:Ps,useExisting:vn(()=>Ey)},wl=Promise.resolve(),Ey=(()=>{class t extends Ps{callSetDisabledState;get submitted(){return mt(this.submittedReactive)}_submitted=Re(()=>this.submittedReactive());submittedReactive=st(!1);_directives=new Set;form;ngSubmit=new me;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Mf({},vy(e),yy(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){wl.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Af(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){wl.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){wl.then(()=>{let i=this._findContainer(e.path),r=new Mf({});MT(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){wl.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){wl.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),AT(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new If(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(de(Ff,10),de(gy,10),de(Lf,8))};static \u0275dir=ee({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&be("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[pt([QV]),Be]})}return t})();kT=class extends Sf{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(IT(e),TT(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Pf(e)&&(e.nonNullable||e.initialValueIsDefault)&&(fT(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),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new Tf(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){uT(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){uT(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){fT(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}},RT=kT,XV=t=>t instanceof kT,JV=(()=>{class t extends Ps{callSetDisabledState;get submitted(){return mt(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Re(()=>this._submittedReactive());_submittedReactive=st(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Of(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let i=this.form.get(e.path);return Af(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}
2469removeControl(e){kf(e.control||null,e,!1),ZV(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,i){this.form.get(e.path).setValue(i)}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,AT(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new If(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(kf(i||null,e),XV(r)&&(Af(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);MT(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let i=this.form?.get(e.path);i&&WV(i,e)&&i.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){_y(this.form,this),this._oldForm&&Of(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(i){return new(i||t)(de(Ff,10),de(gy,10),de(Lf,8))};static \u0275dir=ee({type:t,features:[Be,ht]})}return t})(),OT=new y(""),ej={provide:so,useExisting:vn(()=>Dy)},Dy=(()=>{class t extends so{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new me;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=KV(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&kf(i,this,!1),Af(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}qV(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&kf(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(i){return new(i||t)(de(Ff,10),de(gy,10),de(pT,10),de(OT,8),de(Lf,8))};static \u0275dir=ee({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[pt([ej]),Be,ht]})}return t})(),tj={provide:Ps,useExisting:vn(()=>Cy)},Cy=(()=>{class t extends JV{form=null;ngSubmit=new me;get control(){return this.form}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ct(t)))(r||t)}})();static \u0275dir=ee({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&be("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[pt([tj]),Be]})}return t})();ij=(()=>{class t{_validator=Df;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Df,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,features:[ht]})}return t})(),rj={provide:Ff,useExisting:vn(()=>wy),multi:!0},wy=(()=>{class t extends ij{maxlength;inputName="maxlength";normalizeInput=e=>nj(e);createValidator=e=>mT(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=ct(t)))(r||t)}})();static \u0275dir=ee({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&oe("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[pt([rj]),Be]})}return t})(),oj=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ue({type:t});static \u0275inj=ae({})}return t})(),NT=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:OT,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Lf,useValue:e.callSetDisabledState??by}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=ue({type:t});static \u0275inj=ae({imports:[oj]})}return t})()});var FT,aj,PT,LT,VT,xy=h(()=>{_();_();De();Kn();rs();za();he();FT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`textarea.cdk-textarea-autosize { 2470 resize: none; 2471} 2472 2473textarea.cdk-textarea-autosize-measuring { 2474 padding: 2px 0 !important; 2475 box-sizing: content-box !important; 2476 height: auto !important; 2477 overflow: hidden !important; 2478} 2479 2480textarea.cdk-textarea-autosize-measuring-firefox { 2481 padding: 2px 0 !important; 2482 box-sizing: content-box !important; 2483 height: 0 !important; 2484} 2485 2486@keyframes cdk-text-field-autofill-start { /*!*/ } 2487@keyframes cdk-text-field-autofill-end { /*!*/ } 2488.cdk-text-field-autofill-monitored:-webkit-autofill {
2489 animation: cdk-text-field-autofill-start 0s 1ms; 2490} 2491 2492.cdk-text-field-autofill-monitored:not(:-webkit-autofill) { 2493 animation: cdk-text-field-autofill-end 0s 1ms; 2494} 2495`],encapsulation:2,changeDetection:0})}return t})(),aj={passive:!0},PT=(()=>{class t{_platform=u(Ce);_ngZone=u(T);_renderer=u(Je).createRenderer(null,null);_styleLoader=u(Rt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return On;this._styleLoader.load(FT);let i=Yt(e),r=this._monitoredElements.get(i);if(r)return r.subject;let o=new w,s="cdk-text-field-autofilled",a=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(i,"animationstart",a,aj)));return this._monitoredElements.set(i,{subject:o,unlisten:l}),o}stopMonitoring(e){let i=Yt(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),LT=(()=>{class t{_elementRef=u(K);_platform=u(Ce);_ngZone=u(T);_renderer=u(qe);_resizeEvents=new w;_previousValue;_initialHeight;_destroyed=new w;_listenerCleanups;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows}set minRows(e){this._minRows=Mn(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=Mn(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_cachedLineHeight;_cachedPlaceholderHeight;_document=u(z);_hasFocus=!1;_isViewInited=!1;constructor(){u(Rt).load(FT),this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){let e=this.minRows&&this._cachedLineHeight?`${this.minRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){let e=this.maxRows&&this._cachedLineHeight?`${this.maxRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[this._renderer.listen("window","resize",()=>this._resizeEvents.next()),this._renderer.listen(this._textareaElement,"focus",this._handleFocusEvent),this._renderer.listen(this._textareaElement,"blur",this._handleFocusEvent)],this._resizeEvents.pipe(Co(16)).subscribe(()=>{this._cachedLineHeight=this._cachedPlaceholderHeight=void 0,this.resizeToFitContent(!0)})}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._listenerCleanups?.forEach(e=>e()),this._resizeEvents.complete(),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1),i=e.style;e.rows=1,i.position="absolute",i.visibility="hidden",i.border="none",i.padding="0",i.height="",i.minHeight="",i.maxHeight="",i.top=i.bottom=i.left=i.right="auto",i.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){let e=this._textareaElement,i=e.style.marginBottom||"",r=this._platform.FIREFOX,o=this._hasFocus,s=r?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";o&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(s);let a=e.scrollHeight-4;return e.classList.remove(s),o&&(e.style.marginBottom=i),a}
2495_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||this._cachedPlaceholderHeight!=null)return;if(!this.placeholder){this._cachedPlaceholderHeight=0;return}let e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}_handleFocusEvent=e=>{this._hasFocus=e.type==="focus"};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;let i=this._elementRef.nativeElement,r=i.value;if(!e&&this._minRows===this._previousMinRows&&r===this._previousValue)return;let o=this._measureScrollHeight(),s=Math.max(o,this._cachedPlaceholderHeight||0);i.style.height=`${s}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i))}),this._previousValue=r,this._previousMinRows=this._minRows}reset(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_scrollToCaretPosition(e){let{selectionStart:i,selectionEnd:r}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,r)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(i,r){i&1&&be("input",function(){return r._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",$e],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return t})(),VT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ue({type:t});static \u0275inj=ae({})}return t})()});var jT,BT=h(()=>{_();jT=new y("MAT_INPUT_VALUE_ACCESSOR")});var cj,dj,HT,UT,Iy=h(()=>{gs();_s();xy();_();_();Yr();Vf();De();BT();Gu();fx();hx();zr();sl();cj=["button","checkbox","file","hidden","image","radio","range","reset","submit"],dj=new y("MAT_INPUT_CONFIG"),HT=(()=>{class t{_elementRef=u(K);_platform=u(Ce);ngControl=u(so,{optional:!0,self:!0});_autofillMonitor=u(PT);_ngZone=u(T);_formField=u(Uu,{optional:!0});_renderer=u(qe);_uid=u(Ot).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=u(dj,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new w;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=Di(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(oo.required)??!1}set required(e){this._required=Di(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&uv().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Di(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>uv().has(e));constructor(){let e=u(Ey,{optional:!0}),i=u(Cy,{optional:!0}),r=u(ux),o=u(jT,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();o?Jo(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(s,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new ju(r,this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=a==="select",this._isTextarea=a==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&zt(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){cj.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;
2495e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ee({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){i&1&&be("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(an("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),oe("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),pe("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",$e]},exportAs:["matInput"],features:[pt([{provide:Hu,useExisting:t}]),ht]})}return t})(),UT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ue({type:t});static \u0275inj=ae({imports:[ol,ol,VT,er]})}return t})()});var $T,zT=h(()=>{_();_();Cs();Ha();$T=(()=>{class t{set message(e){this._messageHtml=this.getSafeInnerHTML(e)}constructor(e){this.sanitized=e,this._messageHtml="",this.breakAll=!1}getSafeInnerHTML(e){return this.sanitized.sanitize(Se.HTML,e)}static{this.\u0275fac=function(i){return new(i||t)(de(Ji))}}static{this.\u0275cmp=H({type:t,selectors:[["kf-input-error"]],inputs:{message:"message",breakAll:"breakAll"},decls:3,vars:3,consts:[[1,"kf-input-error"],["name","ic_warnschild_24"],[1,"kf-error-message",3,"innerHTML"]],template:function(i,r){i&1&&(S(0,"span",0),le(1,"kf-icon",1)(2,"span",2),O()),i&2&&(E(2),pe("kf-error-message-break-all",r.breakAll),fe("innerHTML",r._messageHtml,Qo))},dependencies:[Jn],styles:[".kf-input-error[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-content:center;color:var(--kf-error-text-color)}.kf-input-error[_ngcontent-%COMP%] kf-icon[_ngcontent-%COMP%]{min-width:1.5rem;max-width:1.5rem}.kf-input-error[_ngcontent-%COMP%] .kf-error-message[_ngcontent-%COMP%]{margin-left:.25rem;font-size:var(--kf-error-text-font-size);line-height:var(--kf-error-text-line-height, 1.5rem)}.kf-input-error[_ngcontent-%COMP%] .kf-error-message.kf-error-message-break-all[_ngcontent-%COMP%]{word-break:break-all}"]})}}return t})()});function pj(t,n){if(t&1&&(S(0,"span",5),F(1),M(2,"translate"),O()),t&2){let e=W();E(),qd("",e.questionControl.value.trim().length," ",k(2,2,"VAC.FOOTER.MAX_INPUT"))}}function mj(t,n){if(t&1&&le(0,"kf-input-error",9),t&2){let e=W();fe("message",e.getInputErrorMessage())}}var fj,hj,jf,GT=h(()=>{_();Vf();sl();Iy();Zr();il();Cs();zT();Zt();ws();ll();Jr();dy();ml();_();Vf();sl();Iy();xy();Zt();fj=["footer"],hj=["question"];jf=class t{constructor(){this.isSendingQuestion=!1,this.questionControl=new RT(t.DEFAULT_FORM_STATE,[oo.required]),this.translateService=u(Kt),this.eventService=u(ei
2495),this.conversationService=u(ir)}static{this.MAX_FOOTER_HEIGHT=176}static{this.DEFAULT_FORM_STATE={value:"",disabled:!1}}static{this.shiftEvent=new KeyboardEvent("keydown",{key:"Shift",code:"ShiftLeft",keyCode:16,which:16})}ngOnInit(){this.uiStateSub=this.eventService.uiState.subscribe(n=>this.onNewUiState(n))}ngAfterViewInit(){this.resizeObserver=new ResizeObserver(n=>this.handleFooterResize(n)),this.resizeObserver.observe(this.footerContainer.nativeElement),this.questionInput.nativeElement.addEventListener("keydown",n=>this.handleKeyDownEvent(n)),this.questionInput.nativeElement.addEventListener("paste",()=>this.handleKeyDownEvent(t.shiftEvent))}ngOnDestroy(){this.uiStateSub?.unsubscribe(),this.resizeObserver?.disconnect()}handleFooterResize(n){let e=n[0];this.eventService.sendResizedEvent(El.FOOTER,e),e.target.clientHeight>=t.MAX_FOOTER_HEIGHT?this.questionInput.nativeElement.style.overflowY="auto":this.questionInput.nativeElement.style.overflowY="hidden"}handleKeyDownEvent(n){n.key==="Enter"&&!n.shiftKey&&n.preventDefault()}onNewUiState(n){this.uiState=n,this.isDisabled()?this.questionControl.reset(t.DEFAULT_FORM_STATE):(this.isSendingQuestion=!1,this.questionControl.markAsUntouched())}onEnter(){if(this.isInputTextValid()&&!this.isDisabled()){this.isSendingQuestion=!0;let n={value:this.questionControl.value.trim()};this.conversationService.question.next(n),this.questionControl.setErrors(null),this.questionControl.clearValidators(),this.questionControl.updateValueAndValidity()}else this.questionControl.setValidators([oo.required]),this.questionControl.updateValueAndValidity()}isInputTextValid(){return this.questionControl.value.trim().length>0}isDisabled(){return lt.DISABLED===this.uiState||lt.OFFLINE===this.uiState}getInputErrorMessage(){return this.translateService.instant(kI)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=H({type:t,selectors:[["app-footer"]],viewQuery:function(e,i){if(e&1&&Pt(fj,5)(hj,5),e&2){let r;Ae(r=ke())&&(i.footerContainer=r.first),Ae(r=ke())&&(i.questionInput=r.first)}},decls:17,vars:18,consts:[["footer",""],["question",""],[1,"footer-container"],[3,"keyup.enter","hideRequiredMarker"],["aria-hidden","true",1,"kf-field-char-counter"],["id","area-counter-hint",2,"display","none"],["matInput","","maxlength","200","cdkTextareaAutosize","","cdkAutosizeMinRows","1","cdkAutosizeMaxRows","5","aria-describedby","area-counter-hint",3,"formControl"],["mat-icon-button","","matSuffix","","color","primary","tabindex","0",3,"click","disabled","aria-disabled","matTooltip","matTooltipPosition"],["name","ic_senden_24"],[3,"message"]],template:function(e,i){e&1&&(S(0,"section",2,0)(2,"mat-form-field",3),be("keyup.enter",function(){return i.onEnter()}),S(3,"mat-label"),F(4),M(5,"translate"),O(),S(6,"div",4),F(7),O(),ie(8,pj,3,4,"span",5),le(9,"textarea",6,1),S(11,"button",7),M(12,"translate"),M(13,"translate"),be("click",function(){return i.onEnter()}),le(14,"kf-icon",8),O(),S(15,"mat-error"),ie(16,mj,1,1,"kf-input-error",9),O()()()),e&2&&(E(2),fe("hideRequiredMarker",!0),E(2),se(k(5,12,"VAC.FOOTER.INPUT_PLACEHOLDER")),E(3),tt("",i.questionControl.value.trim().length,"/200"),E(),re(!i.isSendingQuestion&&i.questionControl.value.trim().length>0?8:-1),E(),fe("formControl",i.questionControl),E(2),fe("matTooltip",Lt(k(12,14,"VAC.FOOTER.SEND_BUTTON")))("disabled",i.isDisabled()),jd("aria-disabled",!i.isInputTextValid()),fe("matTooltipPosition","above"),oe("aria-label",k(13,16,"VAC.FOOTER.SEND_BUTTON")),E(5),re(i.questionControl.invalid?16:-1))},dependencies:[NT,Nf,xT,wy,Dy,ol,zu,rl,Dv,wv,UT,HT,LT,Kr,Ci,Jn,$T,hn,ti],styles:[".truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[aria-disabled=true][_ngcontent-%COMP%]{opacity:.4}.footer-container[_ngcontent-%COMP%]{padding:1rem 1rem 0rem}"]})}}});function yj(){return typeof window>"u"?void 0:window.okpGlobal?.[vj]}function WT(){return jn([{provide:Tl,useFactory:()=>yj()}])}var Tl,gj,vj,Ty=h(()=>{_();Tl=class{},gj=new ci("1.0.0"),vj=`@faq_bot_navigation/api_v${gj.major}`});var qT,YT=h(()=>{_();Ty();_();qT=(()=>{class t{constructor(){this.navigationApi=u(Tl,{optional:!0})}static{this.MAX_ENTRIES=300}resolveNavigationInfo(){return(this.navigationApi?.getNavigationEntries()??[]).slice(0,t.MAX_ENTRIES).map(i=>({title:i.title,gv_route:i.key,link:i.link}))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var Bf,Sy=h(()=>{_();De();Zt();PI();aT();GT();Is();ws();ll();YT();pf();Jr();_();Zt();Bf=(()=>{class t{constructor(){this.portalContext=u(An),this.translateService=u(Kt),this.eventService=u(ei
2495),this.conversationService=u(ir),this.navigationInfoService=u(qT),this.chatGatewayApiService=u(eo),this.portalContext.getLocalizationService()?.localeChanges?.subscribe(i=>this.translateService.use(i))}ngOnInit(){this.startConversation()}ngOnDestroy(){this.conversationId&&this.stopConversation(),this.eventService.uiState.next(lt.DISABLED)}startConversation(){let i={body:{navigation:this.navigationInfoService.resolveNavigationInfo()}};Ne(this.chatGatewayApiService.startConversation(i)).subscribe({next:r=>this.onConversationStarted(r),error:()=>this.handleError()})}onConversationStarted(e){this.conversationId=e,this.conversationService.conversationId.next(e),this.eventService.uiState.next(lt.READY)}stopConversation(){let e={"x-conversationid":this.conversationId.value};Ne(this.chatGatewayApiService.stopConversation(e)).subscribe(()=>this.onConversationStopped())}onConversationStopped(){this.conversationId=null,this.conversationService.conversationId.next(null)}handleError(){this.eventService.uiState.next(lt.OFFLINE)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["app-chat"]],decls:5,vars:3,consts:[[1,"chat-container"]],template:function(i,r){i&1&&(S(0,"section",0),M(1,"translate"),le(2,"app-header")(3,"app-content")(4,"app-footer"),O()),i&2&&oe("aria-label",k(1,1,"VAC.GENERAL.DEFAULT_BOT_NAME"))},dependencies:[hn,FI,sT,jf,ti],styles:[".chat-container[_ngcontent-%COMP%]{height:100%;overflow:hidden}"]})}}return t})()});function bj(t,n){if(t&1){let e=qn();S(0,"img",4),be("error",function(){nn(e);let r=W();return rn(r.avatarError=!0)}),O()}if(t&2){let e=W();fe("src",e.pathToAvatar,jr)}}function _j(t,n){t&1&&le(0,"kf-icon",3)}var Ej,Dj,KT,ZT=h(()=>{_();Tu();dv();Zr();il();Cs();ws();ll();gl();Sy();Jr();_();Zr();Ej="vac-faq-bot",Dj="open",KT=(()=>{class t{constructor(){this.overlay=u(Kg),this.dialog=u(Nu),this.eventService=u(ei
2495),this.conversationService=u(ir),this.customizationService=u(or),this.popupRef=null,this.greetingMessage="Hallo, ich bin ein Chatbot. Was kann ich f\xFCr Sie tun?",this.pathToAvatar="",this.avatarError=!1}ngOnInit(){this.uiStateSub=this.eventService.uiState.subscribe(e=>this.onNewUiState(e)),this.conversationIdSub=this.conversationService.conversationId.subscribe(e=>this.onNewConversationId(e)),this.loadSettings()}ngAfterViewInit(){new URLSearchParams(window.location.search).get(Ej)===Dj&&this.openChat()}ngOnDestroy(){this.uiStateSub?.unsubscribe(),this.conversationIdSub?.unsubscribe()}onNewUiState(e){if(this.popupRef)switch(e){case lt.CLOSED:{this.popupRef.close();break}case lt.OFFLINE:{this.customizationService.setWelcomeMessageOrDefault();break}default:break}}onNewConversationId(e){e&&this.customizationService.setWelcomeMessageOrDefault(e.welcomeMessage)}loadSettings(){this.customizationService.setBotNameOrDefault(),this.customizationService.loadSettings().subscribe(e=>{this.customizationService.setBotNameOrDefault(e.botname),this.customizationService.setDsgvoUrl(e.datenschutz?e.datenschutz:""),e.begruessungsnachricht&&(this.greetingMessage=e.begruessungsnachricht),e.pathToAvatar&&(this.pathToAvatar=e.pathToAvatar,this.avatarError=!1,this.customizationService.setPathToAvatar(this.pathToAvatar)),this.customizationService.setActivatedFeatureList(e.activatedFeatureList)})}openChat(){this.popupRef||(this.popupRef=this.dialog.open(Bf,{panelClass:"vac-chatui",autoFocus:!1,hasBackdrop:!1,scrollStrategy:this.overlay.scrollStrategies.noop()}),this.popupRef.afterClosed().subscribe(()=>this.popupRef=null))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=H({type:t,selectors:[["app-vac-chatui-homepage"]],decls:4,vars:4,consts:[["aria-label","Chatbot",1,"vac-avatar-container"],["mat-fab","","color","secondary","aria-label","Chatbot \xF6ffnen",1,"avatar",3,"click","matTooltip","matTooltipPosition"],["alt","",3,"src"],["size","64","name","ic_genogpt_faqbot_32"],["alt","",3,"error","src"]],template:function(i,r){i&1&&(S(0,"aside",0)(1,"button",1),be("click",function(){return r.openChat()}),ie(2,bj,1,1,"img",2)(3,_j,1,0,"kf-icon",3),O()()),i&2&&(E(),fe("matTooltip",Lt(r.greetingMessage))("matTooltipPosition","left"),E(),re(r.pathToAvatar&&!r.avatarError?2:3))},dependencies:[Vu,ox,Ci,Jn],styles:[".vac-avatar-container[_ngcontent-%COMP%]{position:fixed;right:2rem;bottom:2rem;z-index:1000;width:4.5rem;height:4.5rem}.avatar[_ngcontent-%COMP%]{width:4.5rem;height:4.5rem;overflow:hidden;background-color:#fff;border-radius:50%;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.avatar[_ngcontent-%COMP%]:hover{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.avatar[_ngcontent-%COMP%]:focus{box-shadow:var(--options-button-focus-box-shadow);outline-style:solid;outline-color:transparent;outline-width:2px;outline-offset:2px}.avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;min-width:4.5rem;min-height:4.5rem}.avatar[_ngcontent-%COMP%] kf-icon[_ngcontent-%COMP%]{color:var(--color-primary-variant)}@media(min-width:62rem){.vac-avatar-container[_ngcontent-%COMP%]{right:5rem!important;bottom:5rem!important}} .vac-chatui{min-width:18.75rem;width:90vw;max-width:90vw!important;min-height:18.75rem;height:90vh;position:fixed!important;right:1rem;bottom:3.5rem}@media(orientation:landscape){ .vac-chatui{min-height:15rem}}@media(min-width:30rem){ .vac-chatui{width:70vw;min-height:18.75rem;height:85vh}}@media(min-height:26.25rem){ .vac-chatui{bottom:-1.5rem}}@media(min-width:48rem){ .vac-chatui{width:22.5rem;height:80vh}}@media(min-width:62rem){ .vac-chatui{right:4rem;bottom:1rem}}"]})}}return t})()});function QT(t){return Object.hasOwn(t,"isLoggedIn")||(t.isLoggedIn=()=>!0),t}var XT=h(()=>{});function Ij(){return Pn(()=>My.ensureTokenForApiCall())}var Cj,wj,xj,JT,My,Tj,eS,Sj,Mj,tS,Aj,nS,iS=h(()=>{De();he();_();Is();XT();Cj=({maxRetryAttempts:t=3,scalingDuration:n=1e3,includedStatusCodes:e=[],preRetryHook:i=void 0}={})=>r=>r.pipe(jt((o,s)=>{let a=s+1;if(a>t||!e.find(c=>c===o.status))throw o;let l=Bt(a*n);return i?l.pipe(_c(()=>i.pipe(ze(()=>{throw o})))):l})),wj=/\/(login|oauth\/(token|auth|revoke))/gi,xj=(t,n)=>t.url.match(wj)||t.url.indexOf("/content")>=0&&t.url.indexOf("portal-content/content")===-1?n(t):n(t).pipe(Th(Cj({maxRetryAttempts:1,scalingDuration:100,includedStatusCodes:[401]}))),JT=(()=>{class t{intercept(e,i){return xj(e,r=>i.handle(r))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac})}}return t})();Tj=(t,n)=>{let e=/assets\/|\/(login|oauth\/(token|auth)|assets|config\/externalRouteConfig|portal-logging|banking-private)|portal-oauth\/message|atruvia\.scene7\.com/gi;return t.url.match(e)?n(t):(My||(My=xs().getSecurityService()),Ij().pipe(Te(()=>(t=t.clone({withCredentials:!0}),n(t)))))},eS=(()=>{class t{intercept(e,i){return Tj(e,r=>i.handle(r))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac})}}return t})(),Sj=/\/oauth\/token/gi,Mj=(t,n)=>{let e;return e||(e=QT(xs().getSecurityService())),!t.url.match(Sj)||!e.isLoggedIn()?n(t):n(t).pipe(ze(i=>{let r=o=>o.status===400&&o.error.error==="invalid_grant";return(i.status===401||i.status===403||r(i))&&e.relogin(),Fn(i)}))},tS=(()=>{class t{intercept(e,i){return Mj(e,r=>i.handle(r))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac})}}return t})(),Aj=(t,n)=>{if(t.url?.match(/atruvia\.scene7\.com/gi))return n(t);let e=xs().getLocalizationService();return n(e?.getLocale()?t.clone({setHeaders:{"X-VP-App-Locale":e.getLocale()}}):t)},nS=(()=>{class t{intercept(e,i){return Aj(e,r=>i.handle(r))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac})}}return t})()});var rS,oS=h(()=>{_f();rS=()=>{let t=new ii;return t.link=({href:n,tokens:e})=>{let i=e[0].text;return`<a href="${n}" target="_blank" rel="noopener noreferrer">${i}</a>`},t}});var sS,aS=h(()=>{_();Is();Le();he();_();sS=(()=>{class t{constructor(){this.portalContext=u(An),this.loggingService=this.portalContext.getLoggingService()}intercept(e,i){return this.loggingService.dlog("calling",e.url),i.handle(e).pipe(To({next:r=>r instanceof ce?this.logSuccess(r):null,error:r=>this.logError(r)}))}logSuccess(e){this.loggingService.dlog("received success from server",e)}logError(e){this.loggingService.error("received error from server",e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function kj(){return{renderer:rS(),gfm:!0,breaks:!1,pedantic:!1}}var lS,cS=h(()=>{_();Le();_f();Zt();Is();ml();oS();aS();Sy();_();lS=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ue({type:t})}static{this.\u0275inj=ae({providers:[{provide:An,useFactory:xs},Sa(()=>RI(u(Kt))),{provide:Ei,useClass:sS,multi:!0},tT({markedOptions:{provide:cy,useFactory:kj}})],imports:[hn.forRoot(),Bf]})}}return t})()});var Rj,dS,uS=h(()=>{_();Le();iS();Yu();Ty();cS();Rj=()=>({provide:T,useValue:window.ngZone}),dS={providers:[Rj(),sw(),Fg(Pg()),{provide:Ei,useClass:eS,multi:!0},{provide:Ei,useClass:JT,multi:!0},{provide:Ei,useClass:nS,multi:!0},{provide:Ei,useClass:tS,multi:!0},$x({logLevel:"WARN",basePath:"/services_cloud/portal",kfThemeServicePath:"/kf-theme/assets?f=",spinner:{hide:!1,discard:!1}}),Ux(),WT(),Bc(lS)]}});var Oj=bS(hS=>{fw();Ha();ZT();uS();var fS="vac-chatui-homepage";
2495dt(null,null,function*(){if(!customElements.get(fS)){let t=yield Mg(dS),n=uw(KT,t);customElements.define(fS,n)}}).catch(console.log)});export default Oj(); 2496/*! Bundled license information: 2497 2498@angular/core/fesm2022/_effect-chunk.mjs: 2499@angular/core/fesm2022/_not_found-chunk.mjs: 2500@angular/core/fesm2022/_untracked-chunk.mjs: 2501@angular/core/fesm2022/primitives-signals.mjs: 2502@angular/core/fesm2022/primitives-di.mjs: 2503@angular/core/fesm2022/_effect-chunk2.mjs: 2504@angular/core/fesm2022/_debug_node-chunk.mjs: 2505@angular/core/fesm2022/_resource-chunk.mjs: 2506@angular/core/fesm2022/core.mjs: 2507@angular/elements/fesm2022/elements.mjs: 2508@angular/common/fesm2022/_platform_location-chunk.mjs: 2509@angular/common/fesm2022/_location-chunk.mjs: 2510@angular/common/fesm2022/_common_module-chunk.mjs: 2511@angular/common/fesm2022/_xhr-chunk.mjs: 2512@angular/common/fesm2022/common.mjs: 2513@angular/platform-browser/fesm2022/_dom_renderer-chunk.mjs: 2514@angular/platform-browser/fesm2022/_browser-chunk.mjs: 2515@angular/common/fesm2022/_module-chunk.mjs: 2516@angular/common/fesm2022/http.mjs: 2517@angular/platform-browser/fesm2022/platform-browser.mjs: 2518@angular/core/fesm2022/rxjs-interop.mjs: 2519@angular/forms/fesm2022/forms.mjs: 2520 (** 2521 * @license Angular v21.2.21 2522 * (c) 2010-2026 Google LLC. https://angular.dev/ 2523 * License: MIT 2524 *) 2525 2526@angular/common/locales/de.js: 2527@angular/common/locales/extra/de.js: 2528@angular/common/locales/en-GB.js: 2529@angular/common/locales/extra/en-GB.js: 2530 (** 2531 * @license 2532 * Copyright Google LLC All Rights Reserved. 2533 * 2534 * Use of this source code is governed by an MIT-style license that can be 2535 * found in the LICENSE file at https://angular.dev/license 2536 *) 2537*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.