bpm-core 0.0.146 → 0.0.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/225.6a4c9553019f62bc.js +1 -0
- package/3rdpartylicenses.txt +627 -0
- package/74.b58a969479dc2b91.js +1 -0
- package/909.7e353111980d7c37.js +1 -0
- package/flags.b2133e947e8c730e.webp +0 -0
- package/flags@2x.9e947ca1fe95c31b.webp +0 -0
- package/globe.98e105ca81b63f37.webp +0 -0
- package/globe@2x.974df6f829af5e5b.webp +0 -0
- package/index.html +13 -0
- package/main.9b4b52e1ff7e4198.js +1 -0
- package/package.json +2 -2
- package/polyfills.5d97dd2ab1a79a0a.js +1 -0
- package/runtime.ae137a8508f4ee91.js +1 -0
- package/scripts.85f7523a59377d77.js +1 -0
- package/styles.3accdfa44b591291.css +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkbpm_core=self.webpackChunkbpm_core||[]).push([[792],{152:(Ke,re,w)=>{"use strict";w.d(re,{B:()=>W});var E=w(3236),$=w(9974),A=w(4360);function W(i,B=E.E){return(0,$.N)((L,Z)=>{let Y=null,ie=null,ne=null;const P=()=>{if(Y){Y.unsubscribe(),Y=null;const xe=ie;ie=null,Z.next(xe)}};function Ze(){const xe=ne+i,He=B.now();if(He<xe)return Y=this.schedule(void 0,xe-He),void Z.add(Y);P()}L.subscribe((0,A._)(Z,xe=>{ie=xe,ne=B.now(),Y||(Y=B.schedule(Ze,i),Z.add(Y))},()=>{P(),Z.complete()},void 0,()=>{ie=Y=null}))})}},274:(Ke,re,w)=>{"use strict";w.d(re,{H:()=>A});var E=w(1397),$=w(8071);function A(W,i){return(0,$.T)(i)?(0,E.Z)(W,i,1):(0,E.Z)(W,1)}},345:(Ke,re,w)=>{"use strict";w.d(re,{hE:()=>i,up:()=>xt});var E=w(9361),$=w(1360);let i=(()=>{class he{_doc;constructor(Ee){this._doc=Ee}getTitle(){return this._doc.title}setTitle(Ee){this._doc.title=Ee||""}static \u0275fac=function($e){return new($e||he)($.KVO(E.q))};static \u0275prov=$.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),xt=(()=>{class he{static \u0275fac=function($e){return new($e||he)};static \u0275prov=$.jDH({token:he,factory:function($e){let bt=null;return bt=$e?new($e||he):$.KVO(ke),bt},providedIn:"root"})}return he})(),ke=(()=>{class he extends xt{_doc;constructor(Ee){super(),this._doc=Ee}sanitize(Ee,$e){if(null==$e)return null;switch(Ee){case $.WPN.NONE:return $e;case $.WPN.HTML:return(0,$.ZF7)($e,"HTML")?(0,$.rcV)($e):(0,$.h9k)(this._doc,String($e)).toString();case $.WPN.STYLE:return(0,$.ZF7)($e,"Style")?(0,$.rcV)($e):$e;case $.WPN.SCRIPT:if((0,$.ZF7)($e,"Script"))return(0,$.rcV)($e);throw new $.wOt(5200,!1);case $.WPN.URL:return(0,$.ZF7)($e,"URL")?(0,$.rcV)($e):(0,$.$MX)(String($e));case $.WPN.RESOURCE_URL:if((0,$.ZF7)($e,"ResourceURL"))return(0,$.rcV)($e);throw new $.wOt(5201,!1);default:throw new $.wOt(5202,!1)}}bypassSecurityTrustHtml(Ee){return(0,$.Kcf)(Ee)}bypassSecurityTrustStyle(Ee){return(0,$.cWb)(Ee)}bypassSecurityTrustScript(Ee){return(0,$.UyX)(Ee)}bypassSecurityTrustUrl(Ee){return(0,$.osQ)(Ee)}bypassSecurityTrustResourceUrl(Ee){return(0,$.e5t)(Ee)}static \u0275fac=function($e){return new($e||he)($.KVO(E.q))};static \u0275prov=$.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})()},467:(Ke,re,w)=>{"use strict";function E(A,W,i,B,L,Z,Y){try{var ie=A[Z](Y),ne=ie.value}catch(P){return void i(P)}ie.done?W(ne):Promise.resolve(ne).then(B,L)}function $(A){return function(){var W=this,i=arguments;return new Promise(function(B,L){var Z=A.apply(W,i);function Y(ne){E(Z,B,L,Y,ie,"next",ne)}function ie(ne){E(Z,B,L,Y,ie,"throw",ne)}Y(void 0)})}}w.d(re,{A:()=>$})},591:(Ke,re,w)=>{"use strict";function E($){return new TypeError(`You provided ${null!==$&&"object"==typeof $?"an invalid object":`'${$}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}w.d(re,{L:()=>E})},777:(Ke,re,w)=>{"use strict";w.d(re,{M:()=>i});var E=w(1680),$=w(8203),A=w(1360);let i=(()=>{class B{constructor(){(0,A.WQX)(E.H)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(Y){return new(Y||B)};static \u0275mod=A.$C({type:B});static \u0275inj=A.G2t({imports:[$.jI,$.jI]})}return B})()},980:(Ke,re,w)=>{"use strict";w.d(re,{j:()=>$});var E=w(9974);function $(A){return(0,E.N)((W,i)=>{try{W.subscribe(i)}finally{i.add(A)}})}},983:(Ke,re,w)=>{"use strict";w.d(re,{w:()=>$});const $=new(w(1985).c)(i=>i.complete())},1026:(Ke,re,w)=>{"use strict";w.d(re,{$:()=>E});const E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},1203:(Ke,re,w)=>{"use strict";w.d(re,{F:()=>$,m:()=>A});var E=w(3669);function $(...W){return A(W)}function A(W){return 0===W.length?E.D:1===W.length?W[0]:function(B){return W.reduce((L,Z)=>Z(L),B)}}},1360:(Ke,re,w)=>{"use strict";function $(e,n){return Object.is(e,n)}w.d(re,{bc$:()=>nD,iLQ:()=>xd,sZ2:()=>ga,Hbi:()=>Uk,o8S:()=>co,BIS:()=>wx,gRc:()=>vO,Ql9:()=>dk,OM3:()=>pd,Ocv:()=>_k,abz:()=>ns,Z63:()=>go,aKT:()=>cl,uvJ:()=>eo,zcH:()=>Cr,bkB:()=>ir,ES_:()=>xw,$GK:()=>vt,nKC:()=>Ae,zZn:()=>Pi,_q3:()=>xI,MKu:()=>AI,xe9:()=>SI,Co$:()=>ng,Vns:()=>Ws,SKi:()=>On,Xx1:()=>ec,Agw:()=>Cx,PLl:()=>uv,rOR:()=>Vw,sFG:()=>$E,_9s:()=>gb,czy:()=>Oa,WPN:()=>Sa,kdw:()=>ta,C4Q:()=>js,NYb:()=>mM,giA:()=>gM,xvI:()=>lk,RxE:()=>lO,c1b:()=>Hf,gXe:()=>Eo,mal:()=>wv,Tzd:()=>Cv,Af3:()=>Es,L39:()=>uN,EWP:()=>c_,sbv:()=>fS,a0P:()=>kN,Ol2:()=>ig,w6W:()=>L1,QZP:()=>RI,SmG:()=>Ik,Rfq:()=>fo,oKB:()=>_o,WQX:()=>nt,hFB:()=>Lw,Hps:()=>rv,QuC:()=>Wr,EmA:()=>mr,Udg:()=>fN,phd:()=>Eg,HJs:()=>NN,N4e:()=>Ds,vPA:()=>Mc,O8t:()=>ms,H3F:()=>uC,H8p:()=>Ja,KH2:()=>Kl,Ua0:()=>ll,wOt:()=>j,WHO:()=>pM,e01:()=>yC,Lf2:()=>ul,lNU:()=>Ne,h9k:()=>ty,$MX:()=>Xc,ZF7:()=>wa,Kcf:()=>ID,e5t:()=>Xv,UyX:()=>Gv,cWb:()=>xD,osQ:()=>Wv,H5H:()=>Wg,Zy3:()=>ze,mq5:()=>b0,JZv:()=>Cn,TL3:()=>Hk,LfX:()=>te,plB:()=>cr,jNT:()=>CC,zjR:()=>wC,ngT:()=>io,TL$:()=>Rc,Tbb:()=>wn,rcV:()=>rr,nM4:()=>eC,Vt3:()=>og,OA$:()=>iu,Jv_:()=>AA,R7$:()=>El,BMQ:()=>Ag,HbH:()=>nT,ZvI:()=>r0,AVh:()=>n0,vxM:()=>h0,wni:()=>J,C6U:()=>Qe,SS7:()=>hI,VBU:()=>Qb,FsC:()=>DS,jDH:()=>Wt,G2t:()=>R,$C:()=>Kb,EJ8:()=>qb,rXU:()=>_d,nrm:()=>$g,eu8:()=>Ug,bVm:()=>fh,qex:()=>uh,k0s:()=>dh,j41:()=>ch,RV6:()=>y0,xGo:()=>dp,Mr5:()=>zg,KVO:()=>ai,kS0:()=>up,QTQ:()=>yb,bIt:()=>Yg,lsd:()=>je,joV:()=>_w,qSk:()=>gw,XpG:()=>H0,nI1:()=>jA,bMT:()=>$A,i5U:()=>UA,brH:()=>HA,SdG:()=>z0,NAR:()=>vh,Y8G:()=>JC,FS9:()=>s,Mz_:()=>a,lJ4:()=>RA,eq3:()=>kA,l_i:()=>NA,NyB:()=>rt,mGM:()=>Ce,sdS:()=>Vt,Dyx:()=>Vg,Z7z:()=>g0,fX1:()=>m0,Vm6:()=>p0,Njj:()=>w_,eBV:()=>cu,npT:()=>ny,B4B:()=>qc,n$t:()=>rm,xc7:()=>t0,zvX:()=>Gg,DNE:()=>cg,C5r:()=>zA,EFF:()=>fi,JRh:()=>Nn,SpI:()=>Bd,Lme:()=>n_,E5c:()=>wi,GBs:()=>de}),w(467);let A=null,W=!1,i=1;const B=Symbol("SIGNAL");function L(e){const n=A;return A=e,n}const ne={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function P(e){if(W)throw new Error("");if(null===A)return;A.consumerOnSignalRead(e);const n=A.nextProducerIndex++;Ge(A),n<A.producerNode.length&&A.producerNode[n]!==e&&Me(A)&&De(A.producerNode[n],A.producerIndexOfThis[n]),A.producerNode[n]!==e&&(A.producerNode[n]=e,A.producerIndexOfThis[n]=Me(A)?be(e,A,n):0),A.producerLastReadVersion[n]=e.version}function xe(e){if((!Me(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==i)){if(!e.producerMustRecompute(e)&&!ke(e))return void st(e);e.producerRecomputeValue(e),st(e)}}function He(e){if(void 0===e.liveConsumerNode)return;const n=W;W=!0;try{for(const o of e.liveConsumerNode)o.dirty||lt(o)}finally{W=n}}function ft(){return!1!==A?.consumerAllowSignalWrites}function lt(e){e.dirty=!0,He(e),e.consumerMarkedDirty?.(e)}function st(e){e.dirty=!1,e.lastCleanEpoch=i}function gt(e){return e&&(e.nextProducerIndex=0),L(e)}function xt(e,n){if(L(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Me(e))for(let o=e.nextProducerIndex;o<e.producerNode.length;o++)De(e.producerNode[o],e.producerIndexOfThis[o]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ke(e){Ge(e);for(let n=0;n<e.producerNode.length;n++){const o=e.producerNode[n],l=e.producerLastReadVersion[n];if(l!==o.version||(xe(o),l!==o.version))return!0}return!1}function se(e){if(Ge(e),Me(e))for(let n=0;n<e.producerNode.length;n++)De(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function be(e,n,o){if(ct(e),0===e.liveConsumerNode.length&&at(e))for(let l=0;l<e.producerNode.length;l++)e.producerIndexOfThis[l]=be(e.producerNode[l],e,l);return e.liveConsumerIndexOfThis.push(o),e.liveConsumerNode.push(n)-1}function De(e,n){if(ct(e),1===e.liveConsumerNode.length&&at(e))for(let l=0;l<e.producerNode.length;l++)De(e.producerNode[l],e.producerIndexOfThis[l]);const o=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[o],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[o],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const l=e.liveConsumerIndexOfThis[n],d=e.liveConsumerNode[n];Ge(d),d.producerIndexOfThis[l]=n}}function Me(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ge(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ct(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function at(e){return void 0!==e.producerNode}function Ot(e,n){const o=Object.create(Te);o.computation=e,void 0!==n&&(o.equal=n);const l=()=>{if(xe(o),P(o),o.value===he)throw o.error;return o.value};return l[B]=o,l}const yt=Symbol("UNSET"),rn=Symbol("COMPUTING"),he=Symbol("ERRORED"),Te={...ne,value:yt,dirty:!0,error:null,equal:$,kind:"computed",producerMustRecompute:e=>e.value===yt||e.value===rn,producerRecomputeValue(e){if(e.value===rn)throw new Error("Detected cycle in computations.");const n=e.value;e.value=rn;const o=gt(e);let l,d=!1;try{l=e.computation(),L(null),d=n!==yt&&n!==he&&l!==he&&e.equal(n,l)}catch(u){l=he,e.error=u}finally{xt(e,o)}d?e.value=n:(e.value=l,e.version++)}};let $e=function Ee(){throw new Error};function bt(e){$e(e)}let Q=null;function pe(e,n){ft()||bt(e),e.equal(e.value,n)||(e.value=n,function Mt(e){e.version++,function Ze(){i++}(),He(e),Q?.()}(e))}const Ue={...ne,equal:$,value:void 0,kind:"signal"};let ln;function tn(){return ln}function Zt(e){const n=ln;return ln=e,n}const Pn=Symbol("NotFound");Error;var xi=w(4412),Vi=w(1413),Fn=w(8359),Xi=w(6354);const Ne="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class j extends Error{code;constructor(n,o){super(ze(n,o)),this.code=n}}function ze(e,n){return`${function ae(e){return`NG0${Math.abs(e)}`}(e)}${n?": "+n:""}`}const me=Symbol("InputSignalNode#UNSET"),mt={...Ue,transformFn:void 0,applyValueToInputSignal(e,n){pe(e,n)}};function ye(e,n){const o=Object.create(mt);function l(){if(P(o),o.value===me)throw new j(-950,null);return o.value}return o.value=e,o.transformFn=n?.transform,l[B]=o,l}function Ie(e){return{toString:e}.toString()}const $t="__parameters__";function uo(e,n,o){return Ie(()=>{const l=function Qi(e){return function(...o){if(e){const l=e(...o);for(const d in l)this[d]=l[d]}}}(n);function d(...u){if(this instanceof d)return l.apply(this,u),this;const h=new d(...u);return p.annotation=h,p;function p(m,C,S){const O=m.hasOwnProperty($t)?m[$t]:Object.defineProperty(m,$t,{value:[]})[$t];for(;O.length<=S;)O.push(null);return(O[S]=O[S]||[]).push(h),m}}return d.prototype.ngMetadataName=e,d.annotationCls=d,d})}const Cn=globalThis;function Ut(e){for(let n in e)if(e[n]===Ut)return n;throw Error("Could not find renamed property on target object.")}function Vr(e,n){for(const o in n)n.hasOwnProperty(o)&&!e.hasOwnProperty(o)&&(e[o]=n[o])}function wn(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(wn).join(", ")}]`;if(null==e)return""+e;const n=e.overriddenName||e.name;if(n)return`${n}`;const o=e.toString();if(null==o)return""+o;const l=o.indexOf("\n");return l>=0?o.slice(0,l):o}function Ki(e,n){return e?n?`${e} ${n}`:e:n||""}const Xo=Ut({__forward_ref__:Ut});function fo(e){return e.__forward_ref__=fo,e.toString=function(){return wn(this())},e}function Et(e){return pi(e)?e():e}function pi(e){return"function"==typeof e&&e.hasOwnProperty(Xo)&&e.__forward_ref__===fo}function Wt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function R(e){return{providers:e.providers||[],imports:e.imports||[]}}function U(e){return ce(e,ue)||ce(e,Fe)}function te(e){return null!==U(e)}function ce(e,n){return e.hasOwnProperty(n)?e[n]:null}function fe(e){return e&&(e.hasOwnProperty(Re)||e.hasOwnProperty(Ve))?e[Re]:null}const ue=Ut({\u0275prov:Ut}),Re=Ut({\u0275inj:Ut}),Fe=Ut({ngInjectableDef:Ut}),Ve=Ut({ngInjectorDef:Ut});class Ae{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,o){this._desc=n,this.\u0275prov=void 0,"number"==typeof o?this.__NG_ELEMENT_ID__=o:void 0!==o&&(this.\u0275prov=Wt({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ys(e){return e&&!!e.\u0275providers}const $r=Ut({\u0275cmp:Ut}),Ka=Ut({\u0275dir:Ut}),ea=Ut({\u0275pipe:Ut}),T=Ut({\u0275mod:Ut}),z=Ut({\u0275fac:Ut}),I=Ut({__NG_ELEMENT_ID__:Ut}),k=Ut({__NG_ENV_ID__:Ut});function K(e){return"string"==typeof e?e:null==e?"":String(e)}function Dn(e,n){throw new j(-200,e)}function kt(e,n){throw new j(-201,!1)}var vt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(vt||{});let pn;function $n(){return pn}function Bn(e){const n=pn;return pn=e,n}function po(e,n,o){const l=U(e);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:o&vt.Optional?null:void 0!==n?n:void kt()}const Ao={},Ur="__NG_DI_FLAG__";class qa{injector;constructor(n){this.injector=n}retrieve(n,o){return this.injector.get(n,o.optional?Pn:Ao,o)}}const bs="ngTempTokenPath",Tt=/\n/gm,Cs="__source";function Hr(e,n=vt.Default){if(void 0===tn())throw new j(-203,!1);if(null===tn())return po(e,void 0,n);{const o=tn();let l;return l=o instanceof qa?o.injector:o,l.get(e,n&vt.Optional?null:void 0,n)}}function ai(e,n=vt.Default){return($n()||Hr)(Et(e),n)}function nt(e,n=vt.Default){return ai(e,Ro(n))}function Ro(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Zl(e){const n=[];for(let o=0;o<e.length;o++){const l=Et(e[o]);if(Array.isArray(l)){if(0===l.length)throw new j(900,!1);let d,u=vt.Default;for(let h=0;h<l.length;h++){const p=l[h],m=Jl(p);"number"==typeof m?-1===m?d=p.token:u|=m:d=p}n.push(ai(d,u))}else n.push(ai(l))}return n}function ko(e,n){return e[Ur]=n,e.prototype[Ur]=n,e}function Jl(e){return e[Ur]}const ec=ko(uo("Optional"),8),ta=ko(uo("SkipSelf"),4);function _t(e,n){return e.hasOwnProperty(z)?e[z]:null}function zr(e,n){e.forEach(o=>Array.isArray(o)?zr(o,n):n(o))}function zd(e,n,o){n>=e.length?e.push(o):e.splice(n,0,o)}function na(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Ri(e,n,o){let l=ia(e,n);return l>=0?e[1|l]=o:(l=~l,function Wd(e,n,o,l){let d=e.length;if(d==n)e.push(o,l);else if(1===d)e.push(l,e[0]),e[0]=o;else{for(d--,e.push(e[d-1],e[d]);d>n;)e[d]=e[d-2],d--;e[n]=o,e[n+1]=l}}(e,l,n,o)),l}function ws(e,n){const o=ia(e,n);if(o>=0)return e[1|o]}function ia(e,n){return function Eh(e,n,o){let l=0,d=e.length>>o;for(;d!==l;){const u=l+(d-l>>1),h=e[u<<o];if(n===h)return u<<o;h>n?d=u:l=u+1}return~(d<<o)}(e,n,1)}const gi={},Jt=[],go=new Ae(""),Xd=new Ae("",-1),Gr=new Ae("");class pr{get(n,o=Ao){if(o===Ao){const l=new Error(`NullInjectorError: No provider for ${wn(n)}!`);throw l.name="NullInjectorError",l}return o}}function _i(e,n){const o=e[T]||null;if(!o&&!0===n)throw new Error(`Type ${wn(e)} does not have '\u0275mod' property.`);return o}function Xt(e){return e[$r]||null}function ei(e){return e[Ka]||null}function ji(e){return e[ea]||null}function Wr(e){const n=Xt(e)||ei(e)||ji(e);return null!==n&&n.standalone}function mr(e){return{\u0275providers:e}}function _o(...e){return{\u0275providers:Xr(0,e),\u0275fromNgModule:!0}}function Xr(e,...n){const o=[],l=new Set;let d;const u=h=>{o.push(h)};return zr(n,h=>{const p=h;Za(p,u,[],l)&&(d||=[],d.push(p))}),void 0!==d&&Qd(d,u),o}function Qd(e,n){for(let o=0;o<e.length;o++){const{ngModule:l,providers:d}=e[o];Kd(d,u=>{n(u,l)})}}function Za(e,n,o,l){if(!(e=Et(e)))return!1;let d=null,u=fe(e);const h=!u&&Xt(e);if(u||h){if(h&&!h.standalone)return!1;d=e}else{const m=e.ngModule;if(u=fe(m),!u)return!1;d=m}const p=l.has(d);if(h){if(p)return!1;if(l.add(d),h.dependencies){const m="function"==typeof h.dependencies?h.dependencies():h.dependencies;for(const C of m)Za(C,n,o,l)}}else{if(!u)return!1;{if(null!=u.imports&&!p){let C;l.add(d);try{zr(u.imports,S=>{Za(S,n,o,l)&&(C||=[],C.push(S))})}finally{}void 0!==C&&Qd(C,n)}if(!p){const C=_t(d)||(()=>new d);n({provide:d,useFactory:C,deps:Jt},d),n({provide:Gr,useValue:d,multi:!0},d),n({provide:go,useValue:()=>ai(d),multi:!0},d)}const m=u.providers;if(null!=m&&!p){const C=e;Kd(m,S=>{n(S,C)})}}}return d!==e&&void 0!==e.providers}function Kd(e,n){for(let o of e)ys(o)&&(o=o.\u0275providers),Array.isArray(o)?Kd(o,n):n(o)}const f_=Ut({provide:String,useValue:Ut});function qd(e){return null!==e&&"object"==typeof e&&f_ in e}function gr(e){return"function"==typeof e}const Ja=new Ae(""),el={},tl={};let oa;function Zo(){return void 0===oa&&(oa=new pr),oa}class eo{}class Qr extends eo{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,o,l,d){super(),this.parent=o,this.source=l,this.scopes=d,ac(n,h=>this.processProvider(h)),this.records.set(Xd,Kr(void 0,this)),d.has("environment")&&this.records.set(eo,Kr(void 0,this));const u=this.records.get(Ja);null!=u&&"string"==typeof u.value&&this.scopes.add(u.value),this.injectorDefTypes=new Set(this.get(Gr,Jt,vt.Self))}retrieve(n,o){return this.get(n,o.optional?Pn:Ao,o)}destroy(){ra(this),this._destroyed=!0;const n=L(null);try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of o)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),L(n)}}onDestroy(n){return ra(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){ra(this);const o=Zt(this),l=Bn(void 0);try{return n()}finally{Zt(o),Bn(l)}}get(n,o=Ao,l=vt.Default){if(ra(this),n.hasOwnProperty(k))return n[k](this);l=Ro(l);const u=Zt(this),h=Bn(void 0);try{if(!(l&vt.SkipSelf)){let m=this.records.get(n);if(void 0===m){const C=function Rh(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ae}(n)&&U(n);m=C&&this.injectableDefInScope(C)?Kr(oc(n),el):null,this.records.set(n,m)}if(null!=m)return this.hydrate(n,m,l)}return(l&vt.Self?Zo():this.parent).get(n,o=l&vt.Optional&&o===Ao?null:o)}catch(p){if("NullInjectorError"===p.name){if((p[bs]=p[bs]||[]).unshift(wn(n)),u)throw p;return function d_(e,n,o,l){const d=e[bs];throw n[Cs]&&d.unshift(n[Cs]),e.message=function Dh(e,n,o,l=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let d=wn(n);if(Array.isArray(n))d=n.map(wn).join(" -> ");else if("object"==typeof n){let u=[];for(let h in n)if(n.hasOwnProperty(h)){let p=n[h];u.push(h+":"+("string"==typeof p?JSON.stringify(p):wn(p)))}d=`{${u.join(", ")}}`}return`${o}${l?"("+l+")":""}[${d}]: ${e.replace(Tt,"\n ")}`}("\n"+e.message,d,o,l),e.ngTokenPath=d,e[bs]=null,e}(p,n,"R3InjectorError",this.source)}throw p}finally{Bn(h),Zt(u)}}resolveInjectorInitializers(){const n=L(null),o=Zt(this),l=Bn(void 0);try{const u=this.get(go,Jt,vt.Self);for(const h of u)h()}finally{Zt(o),Bn(l),L(n)}}toString(){const n=[],o=this.records;for(const l of o.keys())n.push(wn(l));return`R3Injector[${n.join(", ")}]`}processProvider(n){let o=gr(n=Et(n))?n:Et(n&&n.provide);const l=function xh(e){return qd(e)?Kr(void 0,e.useValue):Kr(sc(e),el)}(n);if(!gr(n)&&!0===n.multi){let d=this.records.get(o);d||(d=Kr(void 0,el,!0),d.factory=()=>Zl(d.multi),this.records.set(o,d)),o=n,d.multi.push(n)}this.records.set(o,l)}hydrate(n,o,l){const d=L(null);try{return o.value===tl?Dn(wn(n)):o.value===el&&(o.value=tl,o.value=o.factory(void 0,l)),"object"==typeof o.value&&o.value&&function Oh(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{L(d)}}injectableDefInScope(n){if(!n.providedIn)return!1;const o=Et(n.providedIn);return"string"==typeof o?"any"===o||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(n){const o=this._onDestroyHooks.indexOf(n);-1!==o&&this._onDestroyHooks.splice(o,1)}}function oc(e){const n=U(e),o=null!==n?n.factory:_t(e);if(null!==o)return o;if(e instanceof Ae)throw new j(204,!1);if(e instanceof Function)return function rc(e){if(e.length>0)throw new j(204,!1);const o=function ve(e){return e&&(e[ue]||e[Fe])||null}(e);return null!==o?()=>o.factory(e):()=>new e}(e);throw new j(204,!1)}function sc(e,n,o){let l;if(gr(e)){const d=Et(e);return _t(d)||oc(d)}if(qd(e))l=()=>Et(e.useValue);else if(function Th(e){return!(!e||!e.useFactory)}(e))l=()=>e.useFactory(...Zl(e.deps||[]));else if(function Mh(e){return!(!e||!e.useExisting)}(e))l=(d,u)=>ai(Et(e.useExisting),void 0!==u&&u&vt.Optional?vt.Optional:void 0);else{const d=Et(e&&(e.useClass||e.provide));if(!function Ah(e){return!!e.deps}(e))return _t(d)||oc(d);l=()=>new d(...Zl(e.deps))}return l}function ra(e){if(e.destroyed)throw new j(205,!1)}function Kr(e,n,o=!1){return{factory:e,value:n,multi:o?[]:void 0}}function ac(e,n){for(const o of e)Array.isArray(o)?ac(o,n):o&&ys(o)?ac(o.\u0275providers,n):n(o)}function Ds(e,n){let o;e instanceof Qr?(ra(e),o=e):o=new qa(e);const d=Zt(o),u=Bn(void 0);try{return n()}finally{Zt(d),Bn(u)}}function Yd(){return void 0!==$n()||null!=tn()}function Es(e){if(!Yd())throw new j(-203,!1)}const an=0,We=1,Ct=2,Kt=3,Qn=4,Kn=5,li=6,Ms=7,qt=8,Tn=9,Po=10,It=11,_r=12,aa=13,qr=14,xn=15,Jo=16,Ts=17,Fo=18,Yr=19,la=20,to=21,Lo=23,Vn=24,ot=26,lc=1,_=7,v=9,b=10;function M(e){return Array.isArray(e)&&"object"==typeof e[lc]}function F(e){return Array.isArray(e)&&!0===e[lc]}function N(e){return!!(4&e.flags)}function oe(e){return e.componentOffset>-1}function Se(e){return!(1&~e.flags)}function Ye(e){return!!e.template}function Nt(e){return!!(512&e[Ct])}function mn(e){return!(256&~e[Ct])}class __{previousValue;currentValue;firstChange;constructor(n,o,l){this.previousValue=n,this.currentValue=o,this.firstChange=l}isFirstChange(){return this.firstChange}}function v_(e,n,o,l){null!==n?n.applyValueToInputSignal(n,l):e[o]=l}const iu=(()=>{const e=()=>$h;return e.ngInherit=!0,e})();function $h(e){return e.type.prototype.ngOnChanges&&(e.setInput=sw),rw}function rw(){const e=b_(this),n=e?.current;if(n){const o=e.previous;if(o===gi)e.previous=n;else for(let l in n)o[l]=n[l];e.current=null,this.ngOnChanges(n)}}function sw(e,n,o,l,d){const u=this.declaredInputs[l],h=b_(e)||function aw(e,n){return e[y_]=n}(e,{previous:gi,current:null}),p=h.current||(h.current={}),m=h.previous,C=m[u];p[u]=new __(C&&C.currentValue,o,m===gi),v_(e,n,d,o)}const y_="__ngSimpleChanges__";function b_(e){return e[y_]||null}const gn=function(e,n=null,o){},ou="svg";function cn(e){for(;Array.isArray(e);)e=e[an];return e}function ol(e,n){return cn(n[e])}function Ui(e,n){return cn(n[e.index])}function Zr(e,n){return e.data[n]}function ua(e,n){return e[n]}function rl(e,n,o,l){o>=e.data.length&&(e.data[o]=null,e.blueprint[o]=null),n[o]=l}function Ei(e,n){const o=n[e];return M(o)?o:o[an]}function zh(e){return!(128&~e[Ct])}function Vo(e,n){return null==n?null:e[n]}function Gh(e){e[Ts]=0}function uc(e){1024&e[Ct]||(e[Ct]|=1024,zh(e)&&fa(e))}function su(e){return!!(9216&e[Ct]||e[Vn]?.dirty)}function Xh(e){e[Po].changeDetectionScheduler?.notify(8),64&e[Ct]&&(e[Ct]|=1024),su(e)&&fa(e)}function fa(e){e[Po].changeDetectionScheduler?.notify(0);let n=Jr(e);for(;null!==n&&!(8192&n[Ct])&&(n[Ct]|=8192,zh(n));)n=Jr(n)}function au(e,n){if(mn(e))throw new j(911,!1);null===e[to]&&(e[to]=[]),e[to].push(n)}function Jr(e){const n=e[Kt];return F(n)?n[Kt]:n}function Kh(e){return e[Ms]??=[]}function lu(e){return e.cleanup??=[]}const Pt={lFrame:x_(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let hc=!1;function Yh(){return Pt.bindingsEnabled}function Is(){return null!==Pt.skipHydrationRootTNode}function _e(){return Pt.lFrame.lView}function Rt(){return Pt.lFrame.tView}function cu(e){return Pt.lFrame.contextLView=e,e[qt]}function w_(e){return Pt.lFrame.contextLView=null,e}function Yt(){let e=mc();for(;null!==e&&64===e.type;)e=e.parent;return e}function mc(){return Pt.lFrame.currentTNode}function jo(e,n){const o=Pt.lFrame;o.currentTNode=e,o.isParent=n}function du(){return Pt.lFrame.isParent}function uu(){Pt.lFrame.isParent=!1}function ep(){return hc}function fu(e){const n=hc;return hc=e,n}function Ni(){const e=Pt.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function bo(){return Pt.lFrame.bindingIndex}function $o(){return Pt.lFrame.bindingIndex++}function tr(e){const n=Pt.lFrame,o=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,o}function S_(e,n){const o=Pt.lFrame;o.bindingIndex=o.bindingRootIndex=e,M_(n)}function M_(e){Pt.lFrame.currentDirectiveIndex=e}function sl(e){const n=Pt.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function hu(){return Pt.lFrame.currentQueryIndex}function vc(e){Pt.lFrame.currentQueryIndex=e}function mw(e){const n=e[We];return 2===n.type?n.declTNode:1===n.type?e[Kn]:null}function T_(e,n,o){if(o&vt.SkipSelf){let d=n,u=e;for(;!(d=d.parent,null!==d||o&vt.Host||(d=mw(u),null===d||(u=u[qr],10&d.type))););if(null===d)return!1;n=d,e=u}const l=Pt.lFrame=I_();return l.currentTNode=n,l.lView=e,!0}function np(e){const n=I_(),o=e[We];Pt.lFrame=n,n.currentTNode=o.firstChild,n.lView=e,n.tView=o,n.contextLView=e,n.bindingIndex=o.bindingStartIndex,n.inI18n=!1}function I_(){const e=Pt.lFrame,n=null===e?null:e.child;return null===n?x_(e):n}function x_(e){const 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:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function A_(){const e=Pt.lFrame;return Pt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const O_=A_;function pu(){const e=A_();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ci(){return Pt.lFrame.selectedIndex}function ha(e){Pt.lFrame.selectedIndex=e}function An(){const e=Pt.lFrame;return Zr(e.tView,e.selectedIndex)}function gw(){Pt.lFrame.currentNamespace=ou}function _w(){!function VI(){Pt.lFrame.currentNamespace=null}()}let N_=!0;function yc(){return N_}function es(e){N_=e}function P_(e,n){for(let o=n.directiveStart,l=n.directiveEnd;o<l;o++){const u=e.data[o].type.prototype,{ngAfterContentInit:h,ngAfterContentChecked:p,ngAfterViewInit:m,ngAfterViewChecked:C,ngOnDestroy:S}=u;h&&(e.contentHooks??=[]).push(-o,h),p&&((e.contentHooks??=[]).push(o,p),(e.contentCheckHooks??=[]).push(o,p)),m&&(e.viewHooks??=[]).push(-o,m),C&&((e.viewHooks??=[]).push(o,C),(e.viewCheckHooks??=[]).push(o,C)),null!=S&&(e.destroyHooks??=[]).push(o,S)}}function pa(e,n,o){F_(e,n,3,o)}function ip(e,n,o,l){(3&e[Ct])===o&&F_(e,n,o,l)}function gu(e,n){let o=e[Ct];(3&o)===n&&(o&=16383,o+=1,e[Ct]=o)}function F_(e,n,o,l){const u=l??-1,h=n.length-1;let p=0;for(let m=void 0!==l?65535&e[Ts]:0;m<h;m++)if("number"==typeof n[m+1]){if(p=n[m],null!=l&&p>=l)break}else n[m]<0&&(e[Ts]+=65536),(p<u||-1==u)&&(bc(e,o,n,m),e[Ts]=(4294901760&e[Ts])+m+2),m++}function L_(e,n){gn(4,e,n);const o=L(null);try{n.call(e)}finally{L(o),gn(5,e,n)}}function bc(e,n,o,l){const d=o[l]<0,u=o[l+1],p=e[d?-o[l]:o[l]];d?e[Ct]>>14<e[Ts]>>16&&(3&e[Ct])===n&&(e[Ct]+=16384,L_(p,u)):L_(p,u)}const ma=-1;class _u{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,o,l){this.factory=n,this.canSeeViewProviders=o,this.injectImpl=l}}function yw(e){return 3===e||4===e||6===e}function B_(e){return 64===e.charCodeAt(0)}function al(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let o=-1;for(let l=0;l<n.length;l++){const d=n[l];"number"==typeof d?o=d:0===o||V_(e,o,d,0,-1===o||2===o?n[++l]:null)}}return e}function V_(e,n,o,l,d){let u=0,h=e.length;if(-1===n)h=-1;else for(;u<e.length;){const p=e[u++];if("number"==typeof p){if(p===n){h=-1;break}if(p>n){h=u-1;break}}}for(;u<e.length;){const p=e[u];if("number"==typeof p)break;if(p===o)return void(null!==d&&(e[u+1]=d));u++,null!==d&&u++}-1!==h&&(e.splice(h,0,n),u=h+1),e.splice(u++,0,o),null!==d&&e.splice(u++,0,d)}function j_(e){return e!==ma}function vu(e){return 32767&e}function Cc(e,n){let o=function bw(e){return e>>16}(e),l=n;for(;o>0;)l=l[qr],o--;return l}let sp=!0;function ap(e){const n=sp;return sp=e,n}const $_=255,U_=5;let Cw=0;const ts={};function yu(e,n){const o=ww(e,n);if(-1!==o)return o;const l=n[We];l.firstCreatePass&&(e.injectorIndex=n.length,En(l.data,e),En(n,null),En(l.blueprint,null));const d=lp(e,n),u=e.injectorIndex;if(j_(d)){const h=vu(d),p=Cc(d,n),m=p[We].data;for(let C=0;C<8;C++)n[u+C]=p[h+C]|m[h+C]}return n[u+8]=d,u}function En(e,n){e.push(0,0,0,0,0,0,0,0,n)}function ww(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function lp(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let o=0,l=null,d=n;for(;null!==d;){if(l=Mw(d),null===l)return ma;if(o++,d=d[qr],-1!==l.injectorIndex)return l.injectorIndex|o<<16}return ma}function z_(e,n,o){!function H_(e,n,o){let l;"string"==typeof o?l=o.charCodeAt(0)||0:o.hasOwnProperty(I)&&(l=o[I]),null==l&&(l=o[I]=Cw++);const d=l&$_;n.data[e+(d>>U_)]|=1<<d}(e,n,o)}function Dw(e,n,o){if(o&vt.Optional||void 0!==e)return e;kt()}function Ew(e,n,o,l){if(o&vt.Optional&&void 0===l&&(l=null),!(o&(vt.Self|vt.Host))){const d=e[Tn],u=Bn(void 0);try{return d?d.get(n,l,o&vt.Optional):po(n,l,o&vt.Optional)}finally{Bn(u)}}return Dw(l,0,o)}function Sw(e,n,o,l=vt.Default,d){if(null!==e){if(2048&n[Ct]&&!(l&vt.Self)){const h=function QI(e,n,o,l,d){let u=e,h=n;for(;null!==u&&null!==h&&2048&h[Ct]&&!Nt(h);){const p=G_(u,h,o,l|vt.Self,ts);if(p!==ts)return p;let m=u.parent;if(!m){const C=h[la];if(C){const S=C.get(o,ts,l);if(S!==ts)return S}m=Mw(h),h=h[qr]}u=m}return d}(e,n,o,l,ts);if(h!==ts)return h}const u=G_(e,n,o,l,ts);if(u!==ts)return u}return Ew(n,o,l,d)}function G_(e,n,o,l,d){const u=function W_(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(I)?e[I]:void 0;return"number"==typeof n?n>=0?n&$_:XI:n}(o);if("function"==typeof u){if(!T_(n,e,l))return l&vt.Host?Dw(d,0,l):Ew(n,o,l,d);try{let h;if(h=u(l),null!=h||l&vt.Optional)return h;kt()}finally{O_()}}else if("number"==typeof u){let h=null,p=ww(e,n),m=ma,C=l&vt.Host?n[xn][Kn]:null;for((-1===p||l&vt.SkipSelf)&&(m=-1===p?lp(e,n):n[p+8],m!==ma&&Q_(l,!1)?(h=n[We],p=vu(m),n=Cc(m,n)):p=-1);-1!==p;){const S=n[We];if(X_(u,p,S.data)){const O=WI(p,n,o,h,l,C);if(O!==ts)return O}m=n[p+8],m!==ma&&Q_(l,n[We].data[p+8]===C)&&X_(u,p,n)?(h=S,p=vu(m),n=Cc(m,n)):p=-1}}return d}function WI(e,n,o,l,d,u){const h=n[We],p=h.data[e+8],S=cp(p,h,o,null==l?oe(p)&&sp:l!=h&&!!(3&p.type),d&vt.Host&&u===p);return null!==S?bu(n,h,S,p,d):ts}function cp(e,n,o,l,d){const u=e.providerIndexes,h=n.data,p=1048575&u,m=e.directiveStart,S=u>>20,H=d?p+S:e.directiveEnd;for(let V=l?p:p+S;V<H;V++){const ee=h[V];if(V<m&&o===ee||V>=m&&ee.type===o)return V}if(d){const V=h[m];if(V&&Ye(V)&&V.type===o)return m}return null}function bu(e,n,o,l,d){let u=e[o];const h=n.data;if(u instanceof _u){const p=u;p.resolving&&Dn(function ge(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():K(e)}(h[o]));const m=ap(p.canSeeViewProviders);p.resolving=!0;const S=p.injectImpl?Bn(p.injectImpl):null;T_(e,l,vt.Default);try{u=e[o]=p.factory(void 0,d,h,e,l),n.firstCreatePass&&o>=l.directiveStart&&function mu(e,n,o){const{ngOnChanges:l,ngOnInit:d,ngDoCheck:u}=n.type.prototype;if(l){const h=$h(n);(o.preOrderHooks??=[]).push(e,h),(o.preOrderCheckHooks??=[]).push(e,h)}d&&(o.preOrderHooks??=[]).push(0-e,d),u&&((o.preOrderHooks??=[]).push(e,u),(o.preOrderCheckHooks??=[]).push(e,u))}(o,h[o],n)}finally{null!==S&&Bn(S),ap(m),p.resolving=!1,O_()}}return u}function X_(e,n,o){return!!(o[n+(e>>U_)]&1<<e)}function Q_(e,n){return!(e&vt.Self||e&vt.Host&&n)}class qn{_tNode;_lView;constructor(n,o){this._tNode=n,this._lView=o}get(n,o,l){return Sw(this._tNode,this._lView,n,Ro(l),o)}}function XI(){return new qn(Yt(),_e())}function dp(e){return Ie(()=>{const n=e.prototype.constructor,o=n[z]||Cu(n),l=Object.prototype;let d=Object.getPrototypeOf(e.prototype).constructor;for(;d&&d!==l;){const u=d[z]||Cu(d);if(u&&u!==o)return u;d=Object.getPrototypeOf(d)}return u=>new u})}function Cu(e){return pi(e)?()=>{const n=Cu(Et(e));return n&&n()}:_t(e)}function Mw(e){const n=e[We],o=n.type;return 2===o?n.declTNode:1===o?e[Kn]:null}function up(e){return function GI(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const o=e.attrs;if(o){const l=o.length;let d=0;for(;d<l;){const u=o[d];if(yw(u))break;if(0===u)d+=2;else if("number"==typeof u)for(d++;d<l&&"string"==typeof o[d];)d++;else{if(u===n)return o[d+1];d+=2}}}return null}(Yt(),e)}function K_(e,n=null,o=null,l){const d=q_(e,n,o,l);return d.resolveInjectorInitializers(),d}function q_(e,n=null,o=null,l,d=new Set){const u=[o||Jt,_o(e)];return l=l||("object"==typeof e?void 0:wn(e)),new Qr(u,n||Zo(),l||null,d)}class Pi{static THROW_IF_NOT_FOUND=Ao;static NULL=new pr;static create(n,o){if(Array.isArray(n))return K_({name:""},o,n,"");{const l=n.name??"";return K_({name:l},n.parent,n.providers,l)}}static \u0275prov=Wt({token:Pi,providedIn:"any",factory:()=>ai(Xd)});static __NG_ELEMENT_ID__=-1}class xw{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>up(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}new Ae("").__NG_ELEMENT_ID__=e=>{const n=Yt();if(null===n)throw new j(204,!1);if(2&n.type)return n.value;if(e&vt.Optional)return null;throw new j(204,!1)};const Y_=!1;let ns=(()=>class e{static __NG_ELEMENT_ID__=ix;static __NG_ENV_ID__=o=>o})();class Aw extends ns{_lView;constructor(n){super(),this._lView=n}onDestroy(n){const o=this._lView;return mn(o)?(n(),()=>{}):(au(o,n),()=>function Qh(e,n){if(null===e[to])return;const o=e[to].indexOf(n);-1!==o&&e[to].splice(o,1)}(o,n))}}function ix(){return new Aw(_e())}class xs{}const Eu=new Ae("",{providedIn:"root",factory:()=>!1}),Ow=new Ae(""),Z_=new Ae("");let ll=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new xi.t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const o=this.taskId++;return this.pendingTasks.add(o),o}has(o){return this.pendingTasks.has(o)}remove(o){this.pendingTasks.delete(o),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=Wt({token:e,providedIn:"root",factory:()=>new e})}return e})();const ir=class ox extends Vi.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Yd()&&(this.destroyRef=nt(ns,{optional:!0})??void 0,this.pendingTasks=nt(ll,{optional:!0})??void 0)}emit(n){const o=L(null);try{super.next(n)}finally{L(o)}}subscribe(n,o,l){let d=n,u=o||(()=>null),h=l;if(n&&"object"==typeof n){const m=n;d=m.next?.bind(m),u=m.error?.bind(m),h=m.complete?.bind(m)}this.__isAsync&&(u=this.wrapInTimeout(u),d&&(d=this.wrapInTimeout(d)),h&&(h=this.wrapInTimeout(h)));const p=super.subscribe({next:d,error:u,complete:h});return n instanceof Fn.yU&&n.add(p),p}wrapInTimeout(n){return o=>{const l=this.pendingTasks?.add();setTimeout(()=>{try{n(o)}finally{void 0!==l&&this.pendingTasks?.remove(l)}})}}};function Su(...e){}function mp(e){let n,o;function l(){e=Su;try{void 0!==o&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(o),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),l()}),"function"==typeof requestAnimationFrame&&(o=requestAnimationFrame(()=>{e(),l()})),()=>l()}function Dc(e){return queueMicrotask(()=>e()),()=>{e=Su}}const J_="isAngularZone",Ft=J_+"_ID";let Mu=0;class On{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ir(!1);onMicrotaskEmpty=new ir(!1);onStable=new ir(!1);onError=new ir(!1);constructor(n){const{enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:l=!1,shouldCoalesceRunChangeDetection:d=!1,scheduleInRootZone:u=Y_}=n;if(typeof Zone>"u")throw new j(908,!1);Zone.assertZonePatched();const h=this;h._nesting=0,h._outer=h._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(h._inner=h._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(h._inner=h._inner.fork(Zone.longStackTraceZoneSpec)),h.shouldCoalesceEventChangeDetection=!d&&l,h.shouldCoalesceRunChangeDetection=d,h.callbackScheduled=!1,h.scheduleInRootZone=u,function ev(e){const n=()=>{!function kw(e){function n(){mp(()=>{e.callbackScheduled=!1,tv(e),e.isCheckStableRunning=!0,_p(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),tv(e))}(e)},o=Mu++;e._inner=e._inner.fork({name:"angular",properties:{[J_]:!0,[Ft]:o,[Ft+o]:!0},onInvokeTask:(l,d,u,h,p,m)=>{if(function iv(e){return vp(e,"__ignore_ng_zone__")}(m))return l.invokeTask(u,h,p,m);try{return Nw(e),l.invokeTask(u,h,p,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===h.type||e.shouldCoalesceRunChangeDetection)&&n(),nv(e)}},onInvoke:(l,d,u,h,p,m,C)=>{try{return Nw(e),l.invoke(u,h,p,m,C)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function rx(e){return vp(e,"__scheduler_tick__")}(m)&&n(),nv(e)}},onHasTask:(l,d,u,h)=>{l.hasTask(u,h),d===u&&("microTask"==h.change?(e._hasPendingMicrotasks=h.microTask,tv(e),_p(e)):"macroTask"==h.change&&(e.hasPendingMacrotasks=h.macroTask))},onHandleError:(l,d,u,h)=>(l.handleError(u,h),e.runOutsideAngular(()=>e.onError.emit(h)),!1)})}(h)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(J_)}static assertInAngularZone(){if(!On.isInAngularZone())throw new j(909,!1)}static assertNotInAngularZone(){if(On.isInAngularZone())throw new j(909,!1)}run(n,o,l){return this._inner.run(n,o,l)}runTask(n,o,l,d){const u=this._inner,h=u.scheduleEventTask("NgZoneEvent: "+d,n,gp,Su,Su);try{return u.runTask(h,o,l)}finally{u.cancelTask(h)}}runGuarded(n,o,l){return this._inner.runGuarded(n,o,l)}runOutsideAngular(n){return this._outer.run(n)}}const gp={};function _p(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function tv(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Nw(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function nv(e){e._nesting--,_p(e)}class Ec{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ir;onMicrotaskEmpty=new ir;onStable=new ir;onError=new ir;run(n,o,l){return n.apply(o,l)}runGuarded(n,o,l){return n.apply(o,l)}runOutsideAngular(n){return n()}runTask(n,o,l,d){return n.apply(o,l)}}function vp(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class Cr{_console=console;handleError(n){this._console.error("ERROR",n)}}const sx=new Ae("",{providedIn:"root",factory:()=>{const e=nt(On),n=nt(Cr);return o=>e.runOutsideAngular(()=>n.handleError(o))}});function yp(e,n){return ye(e,n)}const Lw=(yp.required=function bp(e){return ye(me,e)},yp);function Bw(){return Sc(Yt(),_e())}function Sc(e,n){return new cl(Ui(e,n))}let cl=(()=>class e{nativeElement;constructor(o){this.nativeElement=o}static __NG_ELEMENT_ID__=Bw})();function ov(e){return e instanceof cl?e.nativeElement:e}function rv(e){return"function"==typeof e&&void 0!==e[B]}function Mc(e,n){const o=function X(e,n){const o=Object.create(Ue);o.value=e,void 0!==n&&(o.equal=n);const l=()=>(P(o),o.value);return l[B]=o,l}(e,n?.equal),l=o[B];return o.set=d=>pe(l,d),o.update=d=>function Le(e,n){ft()||bt(e),pe(e,n(e.value))}(l,d),o.asReadonly=Tu.bind(o),o}function Tu(){const e=this[B];if(void 0===e.readonlyFn){const n=()=>this();n[B]=e,e.readonlyFn=n}return e.readonlyFn}function ax(){return this._results[Symbol.iterator]()}class Vw{_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 Vi.B}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,o){return this._results.reduce(n,o)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,o){this.dirty=!1;const l=function Jn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function nc(e,n,o){if(e.length!==n.length)return!1;for(let l=0;l<e.length;l++){let d=e[l],u=n[l];if(o&&(d=o(d),u=o(u)),u!==d)return!1}return!0}(this._results,l,o))&&(this._results=l,this.length=l.length,this.last=l[this.length-1],this.first=l[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=ax}function Ic(e){return!(128&~e.flags)}var xc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(xc||{});const Au=new Map;let jw=0;function wp(e){Au.delete(e[Yr])}const Dp="__ngContext__";function no(e,n){M(n)?(e[Dp]=n[Yr],function Uw(e){Au.set(e[Yr],e)}(n)):e[Dp]=n}function Qw(e){return qw(e[_r])}function Kw(e){return qw(e[Qn])}function qw(e){for(;null!==e&&!F(e);)e=e[Qn];return e}let is;function Rc(e){is=e}function or(){if(void 0!==is)return is;if(typeof document<"u")return document;throw new j(210,!1)}const ga=new Ae("",{providedIn:"root",factory:()=>dv}),dv="ng",uv=new Ae(""),Cx=new Ae("",{providedIn:"platform",factory:()=>"unknown"}),nD=new Ae(""),wx=new Ae("",{providedIn:"root",factory:()=>or().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Bu=new Ae("",{providedIn:"root",factory:()=>!1});var ju=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ju||{});const ul=new Ae(""),yv=new Set;function io(e){yv.has(e)||(yv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Ap=(()=>class e{view;node;constructor(o,l){this.view=o,this.node=l}static __NG_ELEMENT_ID__=sD})();function sD(){return new Ap(_e(),Yt())}var Fc=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Fc||{});let Op=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Wt({token:e,providedIn:"root",factory:()=>new e})}return e})();const bv=[Fc.EarlyRead,Fc.Write,Fc.MixedReadWrite,Fc.Read];let Rp=(()=>{class e{ngZone=nt(On);scheduler=nt(xs);errorHandler=nt(Cr,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){nt(ul,{optional:!0})}execute(){const o=this.sequences.size>0;o&&gn(16),this.executing=!0;for(const l of bv)for(const d of this.sequences)if(!d.erroredOrDestroyed&&d.hooks[l])try{d.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,d.hooks[l])(d.pipelinedValue),d.snapshot))}catch(u){d.erroredOrDestroyed=!0,this.errorHandler?.handleError(u)}this.executing=!1;for(const l of this.sequences)l.afterRun(),l.once&&(this.sequences.delete(l),l.destroy());for(const l of this.deferredRegistrations)this.sequences.add(l);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),o&&gn(17)}register(o){const{view:l}=o;void 0!==l?((l[25]??=[]).push(o),fa(l),l[Ct]|=8192):this.executing?this.deferredRegistrations.add(o):this.addSequence(o)}addSequence(o){this.sequences.add(o),this.scheduler.notify(7)}unregister(o){this.executing&&this.sequences.has(o)?(o.erroredOrDestroyed=!0,o.pipelinedValue=void 0,o.once=!0):(this.sequences.delete(o),this.deferredRegistrations.delete(o))}maybeTrace(o,l){return l?l.run(ju.AFTER_NEXT_RENDER,o):o()}static \u0275prov=Wt({token:e,providedIn:"root",factory:()=>new e})}return e})();class kp{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,o,l,d,u,h=null){this.impl=n,this.hooks=o,this.view=l,this.once=d,this.snapshot=h,this.unregisterOnDestroy=u?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const n=this.view?.[25];n&&(this.view[25]=n.filter(o=>o!==this))}}function Cv(e,n){!n?.injector&&Es();const o=n?.injector??nt(Pi);return io("NgAfterRender"),Dv(e,o,n,!1)}function wv(e,n){!n?.injector&&Es();const o=n?.injector??nt(Pi);return io("NgAfterNextRender"),Dv(e,o,n,!0)}function Dv(e,n,o,l){const d=n.get(Op);d.impl??=n.get(Rp);const u=n.get(ul,null,{optional:!0}),h=o?.phase??Fc.MixedReadWrite,p=!0!==o?.manualCleanup?n.get(ns):null,m=n.get(Ap,null,{optional:!0}),C=new kp(d.impl,function Tx(e,n){if(e instanceof Function){const o=[void 0,void 0,void 0,void 0];return o[n]=e,o}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,h),m?.view,l,p,u?.snapshot(null));return d.impl.register(C),C}let Av=(e,n,o,l)=>{},$p=()=>null;function Rv(e,n,o=!1){return $p(e,n,o)}function Ca(e,n){const o=e.contentQueries;if(null!==o){const l=L(null);try{for(let d=0;d<o.length;d+=2){const h=o[d+1];if(-1!==h){const p=e.data[h];vc(o[d]),p.contentQueries(2,n[h],h)}}}finally{L(l)}}}function Do(e,n,o){vc(0);const l=L(null);try{n(e,o)}finally{L(l)}}function qp(e,n,o){if(N(n)){const l=L(null);try{const u=n.directiveEnd;for(let h=n.directiveStart;h<u;h++){const p=e.data[h];p.contentQueries&&p.contentQueries(1,o[h],h)}}finally{L(l)}}}var Eo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Eo||{});let Yp,Yu;function ks(e){return function Zp(){if(void 0===Yp&&(Yp=null,Cn.trustedTypes))try{Yp=Cn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yp}()?.createHTML(e)||e}function Jp(){if(void 0===Yu&&(Yu=null,Cn.trustedTypes))try{Yu=Cn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yu}function Uv(e){return Jp()?.createHTML(e)||e}function em(e){return Jp()?.createScriptURL(e)||e}class cs{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ne})`}}class MD extends cs{getTypeName(){return"HTML"}}class Ns extends cs{getTypeName(){return"Style"}}class Ii extends cs{getTypeName(){return"Script"}}class TD extends cs{getTypeName(){return"URL"}}class Hv extends cs{getTypeName(){return"ResourceURL"}}function rr(e){return e instanceof cs?e.changingThisBreaksApplicationSecurity:e}function wa(e,n){const o=function zv(e){return e instanceof cs&&e.getTypeName()||null}(e);if(null!=o&&o!==n){if("ResourceURL"===o&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${o} (see ${Ne})`)}return o===n}function ID(e){return new MD(e)}function xD(e){return new Ns(e)}function Gv(e){return new Ii(e)}function Wv(e){return new TD(e)}function Xv(e){return new Hv(e)}class tm{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const o=(new window.DOMParser).parseFromString(ks(n),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(n):(o.firstChild?.remove(),o)}catch{return null}}}class Qv{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const o=this.inertDocument.createElement("template");return o.innerHTML=ks(n),o}}const AD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xc(e){return(e=String(e)).match(AD)?e:"unsafe:"+e}function ds(e){const n={};for(const o of e.split(","))n[o]=!0;return n}function Zu(...e){const n={};for(const o of e)for(const l in o)o.hasOwnProperty(l)&&(n[l]=!0);return n}const Da=ds("area,br,col,hr,img,wbr"),Ju=ds("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),nm=ds("rp,rt"),ef=Zu(Da,Zu(Ju,ds("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")),Zu(nm,ds("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")),Zu(nm,Ju)),Yv=ds("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ea=Zu(Yv,ds("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"),ds("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")),im=ds("script,style,template");class om{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let o=n.firstChild,l=!0,d=[];for(;o;)if(o.nodeType===Node.ELEMENT_NODE?l=this.startElement(o):o.nodeType===Node.TEXT_NODE?this.chars(o.nodeValue):this.sanitizedSomething=!0,l&&o.firstChild)d.push(o),o=RD(o);else for(;o;){o.nodeType===Node.ELEMENT_NODE&&this.endElement(o);let u=tf(o);if(u){o=u;break}o=d.pop()}return this.buf.join("")}startElement(n){const o=Zv(n).toLowerCase();if(!ef.hasOwnProperty(o))return this.sanitizedSomething=!0,!im.hasOwnProperty(o);this.buf.push("<"),this.buf.push(o);const l=n.attributes;for(let d=0;d<l.length;d++){const u=l.item(d),h=u.name,p=h.toLowerCase();if(!Ea.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let m=u.value;Yv[p]&&(m=Xc(m)),this.buf.push(" ",h,'="',Ps(m),'"')}return this.buf.push(">"),!0}endElement(n){const o=Zv(n).toLowerCase();ef.hasOwnProperty(o)&&!Da.hasOwnProperty(o)&&(this.buf.push("</"),this.buf.push(o),this.buf.push(">"))}chars(n){this.buf.push(Ps(n))}}function tf(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw Jv(n);return n}function RD(e){const n=e.firstChild;if(n&&function OD(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw Jv(n);return n}function Zv(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function Jv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const kD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ey=/([^\#-~ |!])/g;function Ps(e){return e.replace(/&/g,"&").replace(kD,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(ey,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let di;function ty(e,n){let o=null;try{di=di||function Wc(e){const n=new Qv(e);return function ml(){try{return!!(new window.DOMParser).parseFromString(ks(""),"text/html")}catch{return!1}}()?new tm(n):n}(e);let l=n?String(n):"";o=di.getInertBodyElement(l);let d=5,u=l;do{if(0===d)throw new Error("Failed to sanitize html because the input is unstable");d--,l=u,u=o.innerHTML,o=di.getInertBodyElement(l)}while(l!==u);return ks((new om).sanitizeChildren(nf(o)||o))}finally{if(o){const l=nf(o)||o;for(;l.firstChild;)l.firstChild.remove()}}}function nf(e){return"content"in e&&function ND(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Sa=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Sa||{});function ny(e){const n=gl();return n?Uv(n.sanitize(Sa.HTML,e)||""):wa(e,"HTML")?Uv(rr(e)):ty(or(),K(e))}function qc(e){const n=gl();return n?n.sanitize(Sa.URL,e)||"":wa(e,"URL")?rr(e):Xc(K(e))}function rf(e){const n=gl();if(n)return em(n.sanitize(Sa.RESOURCE_URL,e)||"");if(wa(e,"ResourceURL"))return em(rr(e));throw new j(904,!1)}function rm(e,n,o){return function Mr(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?rf:qc}(n,o)(e)}function gl(){const e=_e();return e&&e[Po].sanitizer}const iy=/^>|^->|<!--|-->|--!>|<!-$/g,oy=/(<|>)/g;function so(e){return e instanceof Function?e():e}function Xx(e,n,o){let l=e.length;for(;;){const d=e.indexOf(n,o);if(-1===d)return d;if(0===d||e.charCodeAt(d-1)<=32){const u=n.length;if(d+u===l||e.charCodeAt(d+u)<=32)return d}o=d+1}}const GD="ng-template";function Qx(e,n,o,l){let d=0;if(l){for(;d<n.length&&"string"==typeof n[d];d+=2)if("class"===n[d]&&-1!==Xx(n[d+1].toLowerCase(),o,0))return!0}else if(_y(e))return!1;if(d=n.indexOf(1,d),d>-1){let u;for(;++d<n.length&&"string"==typeof(u=n[d]);)if(u.toLowerCase()===o)return!0}return!1}function _y(e){return 4===e.type&&e.value!==GD}function Kx(e,n,o){return n===(4!==e.type||o?e.value:GD)}function WD(e,n,o){let l=4;const d=e.attrs,u=null!==d?function Jc(e){for(let n=0;n<e.length;n++)if(yw(e[n]))return n;return e.length}(d):0;let h=!1;for(let p=0;p<n.length;p++){const m=n[p];if("number"!=typeof m){if(!h)if(4&l){if(l=2|1&l,""!==m&&!Kx(e,m,o)||""===m&&1===n.length){if(Ho(l))return!1;h=!0}}else if(8&l){if(null===d||!Qx(e,d,m,o)){if(Ho(l))return!1;h=!0}}else{const C=n[++p],S=qx(m,d,_y(e),o);if(-1===S){if(Ho(l))return!1;h=!0;continue}if(""!==C){let O;if(O=S>u?"":d[S+1].toLowerCase(),2&l&&C!==O){if(Ho(l))return!1;h=!0}}}}else{if(!h&&!Ho(l)&&!Ho(m))return!1;if(h&&Ho(m))continue;h=!1,l=m|1&l}}return Ho(l)||h}function Ho(e){return!(1&e)}function qx(e,n,o,l){if(null===n)return-1;let d=0;if(l||!o){let u=!1;for(;d<n.length;){const h=n[d];if(h===e)return d;if(3===h||6===h)u=!0;else{if(1===h||2===h){let p=n[++d];for(;"string"==typeof p;)p=n[++d];continue}if(4===h)break;if(0===h){d+=4;continue}}d+=u?1:2}return-1}return function uf(e,n){let o=e.indexOf(4);if(o>-1)for(o++;o<e.length;){const l=e[o];if("number"==typeof l)return-1;if(l===n)return o;o++}return-1}(n,e)}function XD(e,n,o=!1){for(let l=0;l<n.length;l++)if(WD(e,n[l],o))return!0;return!1}function _l(e,n){e:for(let o=0;o<n.length;o++){const l=n[o];if(e.length===l.length){for(let d=0;d<e.length;d++)if(e[d]!==l[d])continue e;return!0}}return!1}function vl(e,n){return e?":not("+n.trim()+")":n}function yl(e){let n=e[0],o=1,l=2,d="",u=!1;for(;o<e.length;){let h=e[o];if("string"==typeof h)if(2&l){const p=e[++o];d+="["+h+(p.length>0?'="'+p+'"':"")+"]"}else 8&l?d+="."+h:4&l&&(d+=" "+h);else""!==d&&!Ho(h)&&(n+=vl(u,d),d=""),l=h,u=u||!Ho(l);o++}return""!==d&&(n+=vl(u,d)),n}const Lt={};function ff(e,n){return e.createComment(function sm(e){return e.replace(iy,n=>n.replace(oy,"\u200b$1\u200b"))}(n))}function Cl(e,n,o){return e.createElement(n,o)}function Ma(e,n,o,l,d){e.insertBefore(n,o,l,d)}function hf(e,n,o){e.appendChild(n,o)}function yy(e,n,o,l,d){null!==l?Ma(e,n,o,l,d):hf(e,n,o)}function wl(e,n,o){const{mergedAttrs:l,classes:d,styles:u}=o;null!==l&&function zI(e,n,o){let l=0;for(;l<o.length;){const d=o[l];if("number"==typeof d){if(0!==d)break;l++;const u=o[l++],h=o[l++],p=o[l++];e.setAttribute(n,h,p,u)}else{const u=d,h=o[++l];B_(u)?e.setProperty(n,u,h):e.setAttribute(n,u,h),l++}}}(e,n,l),null!==d&&function pf(e,n,o){""===o?e.removeAttribute(n,"class"):e.setAttribute(n,"class",o)}(e,n,d),null!==u&&function by(e,n,o){e.setAttribute(n,"style",o)}(e,n,u)}function Cy(e,n,o,l,d,u,h,p,m,C,S){const O=ot+l,H=O+d,V=function Zx(e,n){const o=[];for(let l=0;l<n;l++)o.push(l<e?null:Lt);return o}(O,H),ee="function"==typeof C?C():C;return V[We]={type:e,blueprint:V,template:o,queries:null,viewQuery:p,declTNode:n,data:V.slice().fill(null,O),bindingStartIndex:O,expandoStartIndex:H,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:"function"==typeof u?u():u,pipeRegistry:"function"==typeof h?h():h,firstChild:null,schemas:m,consts:ee,incompleteFirstPass:!1,ssrId:S}}function ed(e,n,o,l,d,u,h,p,m,C,S){const O=n.blueprint.slice();return O[an]=d,O[Ct]=1228|l,(null!==C||e&&2048&e[Ct])&&(O[Ct]|=2048),Gh(O),O[Kt]=O[qr]=e,O[qt]=o,O[Po]=h||e&&e[Po],O[It]=p||e&&e[It],O[Tn]=m||e&&e[Tn]||null,O[Kn]=u,O[Yr]=function $w(){return jw++}(),O[li]=S,O[la]=C,O[xn]=2==n.type?e[xn]:O,O}function us(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function fs(e,n,o,l){if(0===o)return-1;const d=n.length;for(let u=0;u<o;u++)n.push(l),e.blueprint.push(l),e.data.push(null);return d}function Dl(e,n){return e[_r]?e[aa][Qn]=n:e[_r]=n,e[aa]=n,n}function El(e=1){td(Rt(),_e(),ci()+e,!1)}function td(e,n,o,l){if(!l)if(3&~n[Ct]){const u=e.preOrderHooks;null!==u&&ip(n,u,0,o)}else{const u=e.preOrderCheckHooks;null!==u&&pa(n,u,o)}ha(o)}var Ta=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ta||{});function fm(e,n,o,l){const d=L(null);try{const[u,h,p]=e.inputs[o];let m=null;!!(h&Ta.SignalBased)&&(m=n[u][B]),null!==m&&void 0!==m.transformFn?l=m.transformFn(l):null!==p&&(l=p.call(n,l)),null!==e.setInput?e.setInput(n,m,l,o,u):v_(n,m,u,l)}finally{L(d)}}function mf(e,n,o,l,d){const u=ci(),h=2&l;try{ha(-1),h&&n.length>ot&&td(e,n,ot,!1),gn(h?2:0,d),o(l,d)}finally{ha(u),gn(h?3:1,d)}}function Ia(e,n,o){(function mm(e,n,o){const l=o.directiveStart,d=o.directiveEnd;oe(o)&&function Jx(e,n,o){const l=Ui(n,e),d=function QD(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Cy(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}(o),u=e[Po].rendererFactory,h=Dl(e,ed(e,d,null,us(o),l,n,null,u.createRenderer(l,o),null,null,null));e[n.index]=h}(n,o,e.data[l+o.componentOffset]),e.firstCreatePass||yu(o,n);const u=o.initialInputs;for(let h=l;h<d;h++){const p=e.data[h],m=bu(n,e,h,o);no(m,n),null!==u&&JD(0,h-l,m,p,0,u),Ye(p)&&(Ei(o.index,n)[qt]=bu(n,e,h,o))}})(e,n,o),!(64&~o.flags)&&function ZD(e,n,o){const l=o.directiveStart,d=o.directiveEnd,u=o.index,h=function LI(){return Pt.lFrame.currentDirectiveIndex}();try{ha(u);for(let p=l;p<d;p++){const m=e.data[p],C=n[p];M_(p),(null!==m.hostBindings||0!==m.hostVars||null!==m.hostAttrs)&&Sy(m,C)}}finally{ha(-1),M_(h)}}(e,n,o)}function hm(e,n,o=Ui){const l=n.localNames;if(null!==l){let d=n.index+1;for(let u=0;u<l.length;u+=2){const h=l[u+1],p=-1===h?o(n,e):e[h];e[d++]=p}}}let Ty,Dy=()=>null;function ao(e,n,o,l,d,u,h,p){if(p||!vf(n,e,o,l,d)){if(3&n.type){const m=Ui(n,o);l=function e1(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(l),d=null!=h?h(d,n.value||"",l):d,u.setProperty(m,l,d)}}else oe(n)&&function pm(e,n){const o=Ei(n,e);16&o[Ct]||(o[Ct]|=64)}(o,n.index)}function Sy(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function nd(e,n){const o=e.directiveRegistry;let l=null;if(o)for(let d=0;d<o.length;d++){const u=o[d];XD(n,u.selectors,!1)&&(l??=[],Ye(u)?l.unshift(u):l.push(u))}return l}function Tr(e,n,o,l,d,u){const h=Ui(e,n);!function My(e,n,o,l,d,u,h){if(null==u)e.removeAttribute(n,d,o);else{const p=null==h?K(u):h(u,l||"",d);e.setAttribute(n,d,p,o)}}(n[It],h,u,e.value,o,l,d)}function JD(e,n,o,l,d,u){const h=u[n];if(null!==h)for(let p=0;p<h.length;p+=2)fm(l,o,h[p],h[p+1])}function xa(e,n,o){return(null===e||Ye(e))&&(o=function Hh(e){for(;Array.isArray(e);){if("object"==typeof e[lc])return e;e=e[an]}return null}(o[n.index])),o[It]}function vf(e,n,o,l,d){const u=e.inputs?.[l],h=e.hostDirectiveInputs?.[l];let p=!1;if(h)for(let m=0;m<h.length;m+=2){const C=h[m];fm(n.data[C],o[C],h[m+1],d),p=!0}if(u)for(const m of u)fm(n.data[m],o[m],l,d),p=!0;return p}function ui(e,n){const o=Ei(n,e),l=o[We];!function t1(e,n){for(let o=n.length;o<e.blueprint.length;o++)n.push(e.blueprint[o])}(l,o);const d=o[an];null!==d&&null===o[li]&&(o[li]=Rv(d,o[Tn])),gn(18),yf(l,o,o[qt]),gn(19,o[qt])}function yf(e,n,o){np(n);try{const l=e.viewQuery;null!==l&&Do(1,l,o);const d=e.template;null!==d&&mf(e,n,d,1,o),e.firstCreatePass&&(e.firstCreatePass=!1),n[Fo]?.finishViewCreation(e),e.staticContentQueries&&Ca(e,n),e.staticViewQueries&&Do(2,e.viewQuery,o);const u=e.components;null!==u&&function bf(e,n){for(let o=0;o<n.length;o++)ui(e,n[o])}(n,u)}catch(l){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),l}finally{n[Ct]&=-5,pu()}}function Sl(e,n,o,l){const d=L(null);try{const u=n.tView,m=ed(e,u,o,4096&e[Ct]?4096:16,null,n,null,null,l?.injector??null,l?.embeddedViewInjector??null,l?.dehydratedView??null);m[Jo]=e[n.index];const S=e[Fo];return null!==S&&(m[Fo]=S.createEmbeddedView(u)),yf(u,m,o),m}finally{L(d)}}function Aa(e,n){return!n||null===n.firstChild||Ic(e)}function Iy(e,n){return Ty(e,n)}var Oa=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Oa||{});function Bs(e){return!(32&~e.flags)}function Ra(e,n,o,l,d){if(null!=l){let u,h=!1;F(l)?u=l:M(l)&&(h=!0,l=l[an]);const p=cn(l);0===e&&null!==o?null==d?hf(n,o,p):Ma(n,o,p,d||null,!0):1===e&&null!==o?Ma(n,o,p,d||null,!0):2===e?function Ls(e,n,o){e.removeChild(null,n,o)}(n,p,h):3===e&&n.destroyNode(p),null!=u&&function oE(e,n,o,l,d){const u=o[_];u!==cn(o)&&Ra(n,e,l,u,d);for(let p=b;p<o.length;p++){const m=o[p];Mf(m[We],m,e,n,l,u)}}(n,e,u,o,d)}}function Ml(e,n){n[Po].changeDetectionScheduler?.notify(9),Mf(e,n,n[It],2,null,null)}function wf(e,n){const o=e[v],l=o.indexOf(n);o.splice(l,1)}function id(e,n){if(mn(n))return;const o=n[It];o.destroyNode&&Mf(e,n,o,3,null,null),function tE(e){let n=e[_r];if(!n)return xy(e[We],e);for(;n;){let o=null;if(M(n))o=n[_r];else{const l=n[b];l&&(o=l)}if(!o){for(;n&&!n[Qn]&&n!==e;)M(n)&&xy(n[We],n),n=n[Kt];null===n&&(n=e),M(n)&&xy(n[We],n),o=n&&n[Qn]}n=o}}(n)}function xy(e,n){if(mn(n))return;const o=L(null);try{n[Ct]&=-129,n[Ct]|=256,n[Vn]&&se(n[Vn]),function Ay(e,n){let o;if(null!=e&&null!=(o=e.destroyHooks))for(let l=0;l<o.length;l+=2){const d=n[o[l]];if(!(d instanceof _u)){const u=o[l+1];if(Array.isArray(u))for(let h=0;h<u.length;h+=2){const p=d[u[h]],m=u[h+1];gn(4,p,m);try{m.call(p)}finally{gn(5,p,m)}}else{gn(4,d,u);try{u.call(d)}finally{gn(5,d,u)}}}}}(e,n),function nE(e,n){const o=e.cleanup,l=n[Ms];if(null!==o)for(let h=0;h<o.length-1;h+=2)if("string"==typeof o[h]){const p=o[h+3];p>=0?l[p]():l[-p].unsubscribe(),h+=2}else o[h].call(l[o[h+1]]);null!==l&&(n[Ms]=null);const d=n[to];if(null!==d){n[to]=null;for(let h=0;h<d.length;h++)(0,d[h])()}const u=n[Lo];if(null!==u){n[Lo]=null;for(const h of u)h.destroy()}}(e,n),1===n[We].type&&n[It].destroy();const l=n[Jo];if(null!==l&&F(n[Kt])){l!==n[Kt]&&wf(l,n);const d=n[Fo];null!==d&&d.detachView(e)}wp(n)}finally{L(o)}}function gm(e,n,o){return function _m(e,n,o){let l=n;for(;null!==l&&168&l.type;)l=(n=l).parent;if(null===l)return o[an];if(oe(l)){const{encapsulation:d}=e.data[l.directiveStart+l.componentOffset];if(d===Eo.None||d===Eo.Emulated)return null}return Ui(l,o)}(e,n.parent,o)}function Df(e,n,o){return od(e,n,o)}let vm,od=function Oy(e,n,o){return 40&e.type?Ui(e,o):null};function Ef(e,n,o,l){const d=gm(e,l,n),u=n[It],p=Df(l.parent||n[Kn],l,n);if(null!=d)if(Array.isArray(o))for(let m=0;m<o.length;m++)yy(u,d,o[m],p,!1);else yy(u,d,o,p,!1);void 0!==vm&&vm(u,l,n,o,d)}function ar(e,n){if(null!==n){const o=n.type;if(3&o)return Ui(n,e);if(4&o)return Tl(-1,e[n.index]);if(8&o){const l=n.child;if(null!==l)return ar(e,l);{const d=e[n.index];return F(d)?Tl(-1,d):cn(d)}}if(128&o)return ar(e,n.next);if(32&o)return Iy(n,e)()||cn(e[n.index]);{const l=Ry(e,n);return null!==l?Array.isArray(l)?l[0]:ar(Jr(e[xn]),l):ar(e,n.next)}}return null}function Ry(e,n){return null!==n?e[xn][Kn].projection[n.projection]:null}function Tl(e,n){const o=b+e+1;if(o<n.length){const l=n[o],d=l[We].firstChild;if(null!==d)return ar(l,d)}return n[_]}function Sf(e,n,o,l,d,u,h){for(;null!=o;){if(128===o.type){o=o.next;continue}const p=l[o.index],m=o.type;if(h&&0===n&&(p&&no(cn(p),l),o.flags|=2),!Bs(o))if(8&m)Sf(e,n,o.child,l,d,u,!1),Ra(n,e,d,p,u);else if(32&m){const C=Iy(o,l);let S;for(;S=C();)Ra(n,e,d,S,u);Ra(n,e,d,p,u)}else 16&m?iE(e,n,l,o,d,u):Ra(n,e,d,p,u);o=h?o.projectionNext:o.next}}function Mf(e,n,o,l,d,u){Sf(o,l,e.firstChild,n,d,u,!1)}function iE(e,n,o,l,d,u){const h=o[xn],m=h[Kn].projection[l.projection];if(Array.isArray(m))for(let C=0;C<m.length;C++)Ra(n,e,d,m[C],u);else{let C=m;const S=h[Kt];Ic(l)&&(C.flags|=128),Sf(e,n,C,S,d,u,!0)}}function xl(e,n,o,l,d=!1){for(;null!==o;){if(128===o.type){o=d?o.projectionNext:o.next;continue}const u=n[o.index];null!==u&&l.push(cn(u)),F(u)&&rd(u,l);const h=o.type;if(8&h)xl(e,n,o.child,l);else if(32&h){const p=Iy(o,n);let m;for(;m=p();)l.push(m)}else if(16&h){const p=Ry(n,o);if(Array.isArray(p))l.push(...p);else{const m=Jr(n[xn]);xl(m[We],m,p,l,!0)}}o=d?o.projectionNext:o.next}return l}function rd(e,n){for(let o=b;o<e.length;o++){const l=e[o],d=l[We].firstChild;null!==d&&xl(l[We],l,d,n)}e[_]!==e[an]&&n.push(e[_])}function Ny(e){if(null!==e[25]){for(const n of e[25])n.impl.addSequence(n);e[25].length=0}}let Py=[];const sE={...ne,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{fa(e.lView)},consumerOnSignalRead(){this.lView[Vn]=this}},By={...ne,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Jr(e.lView);for(;n&&!Vs(n[We]);)n=Jr(n);n&&uc(n)},consumerOnSignalRead(){this.lView[Vn]=this}};function Vs(e){return 2!==e.type}function Vy(e){if(null===e[Lo])return;let n=!0;for(;n;){let o=!1;for(const l of e[Lo])l.dirty&&(o=!0,null===l.zone||Zone.current===l.zone?l.run():l.zone.run(()=>l.run()));n=o&&!!(8192&e[Ct])}}function Tf(e,n=!0,o=0){const d=e[Po].rendererFactory;d.begin?.();try{!function $y(e,n){const o=ep();try{fu(!0),wm(e,n);let l=0;for(;su(e);){if(100===l)throw new j(103,!1);l++,wm(e,1)}}finally{fu(o)}}(e,o)}catch(h){throw n&&function _f(e,n){const o=e[Tn],l=o?o.get(Cr,null):null;l&&l.handleError(n)}(e,h),h}finally{d.end?.()}}function Hy(e,n,o,l){if(mn(n))return;const d=n[Ct];np(n);let p=!0,m=null,C=null;Vs(e)?(C=function Fy(e){return e[Vn]??function rE(e){const n=Py.pop()??Object.create(sE);return n.lView=e,n}(e)}(n),m=gt(C)):null===function Z(){return A}()?(p=!1,C=function Ly(e){const n=e[Vn]??Object.create(By);return n.lView=e,n}(n),m=gt(C)):n[Vn]&&(se(n[Vn]),n[Vn]=null);try{Gh(n),function E_(e){return Pt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==o&&mf(e,n,o,2,l);const S=!(3&~d);if(S){const V=e.preOrderCheckHooks;null!==V&&pa(n,V,null)}else{const V=e.preOrderHooks;null!==V&&ip(n,V,0,null),gu(n,0)}if(function bm(e){for(let n=Qw(e);null!==n;n=Kw(n)){if(!(2&n[Ct]))continue;const o=n[v];for(let l=0;l<o.length;l++)uc(o[l])}}(n),Vy(n),sd(n,0),null!==e.contentQueries&&Ca(e,n),S){const V=e.contentCheckHooks;null!==V&&pa(n,V)}else{const V=e.contentHooks;null!==V&&ip(n,V,1),gu(n,1)}!function lE(e,n){const o=e.hostBindingOpCodes;if(null!==o)try{for(let l=0;l<o.length;l++){const d=o[l];if(d<0)ha(~d);else{const u=d,h=o[++l],p=o[++l];S_(h,u);const m=n[u];gn(24,m),p(2,m),gn(25,m)}}}finally{ha(-1)}}(e,n);const O=e.components;null!==O&&Dm(n,O,0);const H=e.viewQuery;if(null!==H&&Do(2,H,l),S){const V=e.viewCheckHooks;null!==V&&pa(n,V)}else{const V=e.viewHooks;null!==V&&ip(n,V,2),gu(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[22]){for(const V of n[22])V();n[22]=null}Ny(n),n[Ct]&=-73}catch(S){throw fa(n),S}finally{null!==C&&(xt(C,m),p&&function ym(e){e.lView[Vn]!==e&&(e.lView=null,Py.push(e))}(C)),pu()}}function sd(e,n){for(let o=Qw(e);null!==o;o=Kw(o))for(let l=b;l<o.length;l++)Cm(o[l],n)}function aE(e,n,o){gn(18);const l=Ei(n,e);Cm(l,o),gn(19,l[qt])}function Cm(e,n){zh(e)&&wm(e,n)}function wm(e,n){const l=e[We],d=e[Ct],u=e[Vn];let h=!!(0===n&&16&d);if(h||=!!(64&d&&0===n),h||=!!(1024&d),h||=!(!u?.dirty||!ke(u)),h||=!1,u&&(u.dirty=!1),e[Ct]&=-9217,h)Hy(l,e,l.template,e[qt]);else if(8192&d){Vy(e),sd(e,1);const p=l.components;null!==p&&Dm(e,p,1),Ny(e)}}function Dm(e,n,o){for(let l=0;l<n.length;l++)aE(e,n[l],o)}function Al(e,n){const o=ep()?64:1088;for(e[Po].changeDetectionScheduler?.notify(n);e;){e[Ct]|=o;const l=Jr(e);if(Nt(e)&&!l)return e;e=l}return null}function zy(e,n,o,l){return[e,!0,0,n,null,l,null,o,null,null]}function Em(e,n){const o=b+n;if(o<e.length)return e[o]}function ad(e,n,o,l=!0){const d=n[We];if(function Wy(e,n,o,l){const d=b+l,u=o.length;l>0&&(o[d-1][Qn]=n),l<u-b?(n[Qn]=o[d],zd(o,b+l,n)):(o.push(n),n[Qn]=null),n[Kt]=o;const h=n[Jo];null!==h&&o!==h&&Sm(h,n);const p=n[Fo];null!==p&&p.insertView(e),Xh(n),n[Ct]|=128}(d,n,e,o),l){const h=Tl(o,e),p=n[It],m=p.parentNode(e[_]);null!==m&&function n1(e,n,o,l,d,u){l[an]=d,l[Kn]=n,Mf(e,l,o,1,d,u)}(d,e[Kn],p,n,m,h)}const u=n[li];null!==u&&null!==u.firstChild&&(u.firstChild=null)}function Gy(e,n){const o=If(e,n);return void 0!==o&&id(o[We],o),o}function If(e,n){if(e.length<=b)return;const o=b+n,l=e[o];if(l){const d=l[Jo];null!==d&&d!==e&&wf(d,l),n>0&&(e[o-1][Qn]=l[Qn]);const u=na(e,b+n);!function Cf(e,n){Ml(e,n),n[an]=null,n[Kn]=null}(l[We],l);const h=u[Fo];null!==h&&h.detachView(u[We]),l[Kt]=null,l[Qn]=null,l[Ct]&=-129}return l}function Sm(e,n){const o=e[v],l=n[Kt];(M(l)||n[xn]!==l[Kt][xn])&&(e[Ct]|=2),null===o?e[v]=[n]:o.push(n)}let xf=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){const n=this._lView,o=n[We];return xl(o,n,o.firstChild,[])}constructor(n,o,l=!0){this._lView=n,this._cdRefInjectingView=o,this.notifyErrorHandler=l}get context(){return this._lView[qt]}set context(n){this._lView[qt]=n}get destroyed(){return mn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Kt];if(F(n)){const o=n[8],l=o?o.indexOf(this):-1;l>-1&&(If(n,l),na(o,l))}this._attachedToViewContainer=!1}id(this._lView[We],this._lView)}onDestroy(n){au(this._lView,n)}markForCheck(){Al(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ct]&=-129}reattach(){Xh(this._lView),this._lView[Ct]|=128}detectChanges(){this._lView[Ct]|=1024,Tf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new j(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=Nt(this._lView),o=this._lView[Jo];null!==o&&!n&&wf(o,this._lView),Ml(this._lView[We],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new j(902,!1);this._appRef=n;const o=Nt(this._lView),l=this._lView[Jo];null!==l&&!o&&Sm(l,this._lView),Xh(this._lView)}},js=(()=>class e{static __NG_ELEMENT_ID__=r1})();const i1=js,o1=class extends i1{_declarationLView;_declarationTContainer;elementRef;constructor(n,o,l){super(),this._declarationLView=n,this._declarationTContainer=o,this.elementRef=l}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,o){return this.createEmbeddedViewImpl(n,o)}createEmbeddedViewImpl(n,o,l){const d=Sl(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:o,dehydratedView:l});return new xf(d)}};function r1(){return ld(Yt(),_e())}function ld(e,n){return 4&e.type?new o1(n,e,Sc(e,n)):null}function Rl(e,n,o,l,d){let u=e.data[n];if(null===u)u=function Mm(e,n,o,l,d){const u=mc(),h=du(),m=e.data[n]=function Jy(e,n,o,l,d,u){let h=n?n.injectorIndex:-1,p=0;return Is()&&(p|=128),{type:o,index:l,insertBeforeIndex:null,injectorIndex:h,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:p,providerIndexes:0,value:d,attrs:u,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}}(0,h?u:u&&u.parent,o,n,l,d);return function vE(e,n,o,l){null===e.firstChild&&(e.firstChild=n),null!==o&&(l?null==o.child&&null!==n.parent&&(o.child=n):null===o.next&&(o.next=n,n.prev=o))}(e,m,u,h),m}(e,n,o,l,d),function pw(){return Pt.lFrame.inI18n}()&&(u.flags|=32);else if(64&u.type){u.type=o,u.value=l,u.attrs=d;const h=function gc(){const e=Pt.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();u.injectorIndex=null===h?-1:h.injectorIndex}return jo(u,!0),u}let VE=()=>null;function La(e,n){return VE(e,n)}let jE=class{},Fm=class{};class b1{resolveComponentFactory(n){throw Error(`No component factory found for ${wn(n)}.`)}}let pd=class{static NULL=new b1};class gb{}let $E=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function C1(){const e=_e(),o=Ei(Yt().index,e);return(M(o)?o:e)[It]}()})(),UE=(()=>{class e{static \u0275prov=Wt({token:e,providedIn:"root",factory:()=>null})}return e})();function cr(e){return!!_i(e)}const Uf={};class gd{injector;parentInjector;constructor(n,o){this.injector=n,this.parentInjector=o}get(n,o,l){l=Ro(l);const d=this.injector.get(n,Uf,l);return d!==Uf||o===Uf?d:this.parentInjector.get(n,o,l)}}function Bm(e,n,o){let l=o?e.styles:null,d=o?e.classes:null,u=0;if(null!==n)for(let h=0;h<n.length;h++){const p=n[h];"number"==typeof p?u=p:1==u?d=Ki(d,p):2==u&&(l=Ki(l,p+": "+n[++h]+";"))}o?e.styles=l:e.stylesWithoutHost=l,o?e.classes=d:e.classesWithoutHost=d}function _d(e,n=vt.Default){const o=_e();return null===o?ai(e,n):Sw(Yt(),o,Et(e),n)}function yb(){throw new Error("invalid")}function bb(e,n,o,l,d){const u=null===l?null:{"":-1},h=d(e,o);if(null!==h){let p,m=null,C=null;const S=function zs(e){let n=null,o=!1;for(let h=0;h<e.length;h++){const p=e[h];if(0===h&&Ye(p)&&(n=p),null!==p.findHostDirectiveDefs){o=!0;break}}if(!o)return null;let l=null,d=null,u=null;for(const h of e)null!==h.findHostDirectiveDefs&&(l??=[],d??=new Map,u??=new Map,Nl(h,l,u,d)),h===n&&(l??=[],l.push(h));return null!==l?(l.push(...null===n?e:e.slice(1)),[l,d,u]):null}(h);null===S?p=h:[p,m,C]=S,function wb(e,n,o,l,d,u,h){const p=l.length;let m=!1;for(let H=0;H<p;H++){const V=l[H];!m&&Ye(V)&&(m=!0,Cb(e,o,H)),z_(yu(o,n),e,V.type)}!function QE(e,n,o){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+o,e.providerIndexes=n}(o,e.data.length,p);for(let H=0;H<p;H++){const V=l[H];V.providersResolver&&V.providersResolver(V)}let C=!1,S=!1,O=fs(e,n,p,null);p>0&&(o.directiveToIndex=new Map);for(let H=0;H<p;H++){const V=l[H];if(o.mergedAttrs=al(o.mergedAttrs,V.hostAttrs),zE(e,o,n,O,V),XE(O,V,d),null!==h&&h.has(V)){const[we,qe]=h.get(V);o.directiveToIndex.set(V.type,[O,we+o.directiveStart,qe+o.directiveStart])}else(null===u||!u.has(V))&&o.directiveToIndex.set(V.type,O);null!==V.contentQueries&&(o.flags|=4),(null!==V.hostBindings||null!==V.hostAttrs||0!==V.hostVars)&&(o.flags|=64);const ee=V.type.prototype;!C&&(ee.ngOnChanges||ee.ngOnInit||ee.ngDoCheck)&&((e.preOrderHooks??=[]).push(o.index),C=!0),!S&&(ee.ngOnChanges||ee.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(o.index),S=!0),O++}!function Db(e,n,o){for(let l=n.directiveStart;l<n.directiveEnd;l++){const d=e.data[l];if(null!==o&&o.has(d)){const u=o.get(d);Vm(0,n,u,l),Vm(1,n,u,l),HE(n,l,!0)}else Gs(0,n,d,l),Gs(1,n,d,l),HE(n,l,!1)}}(e,o,u)}(e,n,o,p,u,m,C)}null!==u&&null!==l&&function Sn(e,n,o){const l=e.localNames=[];for(let d=0;d<n.length;d+=2){const u=o[n[d+1]];if(null==u)throw new j(-301,!1);l.push(n[d],u)}}(o,l,u)}function Nl(e,n,o,l){const d=n.length;e.findHostDirectiveDefs(e,n,l),o.set(e,[d,n.length-1])}function Cb(e,n,o){n.componentOffset=o,(e.components??=[]).push(n.index)}function Gs(e,n,o,l){const d=0===e?o.inputs:o.outputs;for(const u in d)if(d.hasOwnProperty(u)){let h;h=0===e?n.inputs??={}:n.outputs??={},h[u]??=[],h[u].push(l),jm(n,u)}}function Vm(e,n,o,l){const d=0===e?o.inputs:o.outputs;for(const u in d)if(d.hasOwnProperty(u)){const h=d[u];let p;p=0===e?n.hostDirectiveInputs??={}:n.hostDirectiveOutputs??={},p[h]??=[],p[h].push(l,u),jm(n,h)}}function jm(e,n){"class"===n?e.flags|=8:"style"===n&&(e.flags|=16)}function HE(e,n,o){const{attrs:l,inputs:d,hostDirectiveInputs:u}=e;if(null===l||!o&&null===d||o&&null===u||_y(e))return e.initialInputs??=[],void e.initialInputs.push(null);let h=null,p=0;for(;p<l.length;){const m=l[p];if(0!==m)if(5!==m){if("number"==typeof m)break;if(!o&&d.hasOwnProperty(m)){const C=d[m];for(const S of C)if(S===n){h??=[],h.push(m,l[p+1]);break}}else if(o&&u.hasOwnProperty(m)){const C=u[m];for(let S=0;S<C.length;S+=2)if(C[S]===n){h??=[],h.push(C[S+1],l[p+1]);break}}p+=2}else p+=2;else p+=4}e.initialInputs??=[],e.initialInputs.push(h)}function zE(e,n,o,l,d){e.data[l]=d;const u=d.factory||(d.factory=_t(d.type)),h=new _u(u,Ye(d),_d);e.blueprint[l]=h,o[l]=h,function GE(e,n,o,l,d){const u=d.hostBindings;if(u){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const p=~n.index;(function WE(e){let n=e.length;for(;n>0;){const o=e[--n];if("number"==typeof o&&o<0)return o}return 0})(h)!=p&&h.push(p),h.push(o,l,u)}}(e,n,l,fs(e,o,d.hostVars,Lt),d)}function XE(e,n,o){if(o){if(n.exportAs)for(let l=0;l<n.exportAs.length;l++)o[n.exportAs[l]]=e;Ye(n)&&(o[""]=e)}}function Eb(e,n,o,l,d,u,h,p){const m=n.consts,S=Rl(n,e,2,l,Vo(m,h));return u&&bb(n,o,S,Vo(m,p),d),S.mergedAttrs=al(S.mergedAttrs,S.attrs),null!==S.attrs&&Bm(S,S.attrs,!1),null!==S.mergedAttrs&&Bm(S,S.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,S),S}function Sb(e,n){P_(e,n),N(n)&&e.queries.elementEnd(n)}class Mb extends pd{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const o=Xt(n);return new vd(o,this.ngModule)}}class vd extends Fm{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function M1(e){return Object.keys(e).map(n=>{const[o,l,d]=e[n],u={propName:o,templateName:n,isSignal:!!(l&Ta.SignalBased)};return d&&(u.transform=d),u})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function KE(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}(this.componentDef.outputs),this.cachedOutputs}constructor(n,o){super(),this.componentDef=n,this.ngModule=o,this.componentType=n.type,this.selector=function vy(e){return e.map(yl).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!o}create(n,o,l,d){gn(22);const u=L(null);try{const h=this.componentDef,p=l?["ng-version","19.2.15"]:function cm(e){const n=[],o=[];let l=1,d=2;for(;l<e.length;){let u=e[l];if("string"==typeof u)2===d?""!==u&&n.push(u,e[++l]):8===d&&o.push(u);else{if(!Ho(d))break;d=u}l++}return o.length&&n.push(1,...o),n}(this.componentDef.selectors[0]),m=Cy(0,null,null,1,0,null,null,null,null,[p],null),C=function qE(e,n,o){let l=n instanceof eo?n:n?.injector;return l&&null!==e.getStandaloneInjector&&(l=e.getStandaloneInjector(l)||l),l?new gd(o,l):o}(h,d||this.ngModule,n),S=function YE(e){const n=e.get(gb,null);if(null===n)throw new j(407,!1);return{rendererFactory:n,sanitizer:e.get(UE,null),changeDetectionScheduler:e.get(xs,null)}}(C),O=S.rendererFactory.createRenderer(null,h),H=l?function KD(e,n,o,l){const u=l.get(Bu,!1)||o===Eo.ShadowDom,h=e.selectRootElement(n,u);return function wy(e){Dy(e)}(h),h}(O,l,h.encapsulation,C):function ZE(e,n){const o=(e.selectors[0][0]||"div").toLowerCase();return Cl(n,o,"svg"===o?ou:"math"===o?"math":null)}(h,O),V=ed(null,m,null,512|us(h),null,null,S,O,C,null,Rv(H,C,!0));V[ot]=H,np(V);let ee=null;try{const we=Eb(ot,m,V,"#host",()=>[this.componentDef],!0,0);H&&(wl(O,H,we),no(H,V)),Ia(m,V,we),qp(m,we,V),Sb(m,we),void 0!==o&&function yd(e,n,o){const l=e.projection=[];for(let d=0;d<n.length;d++){const u=o[d];l.push(null!=u&&u.length?Array.from(u):null)}}(we,this.ngContentSelectors,o),ee=Ei(we.index,V),V[qt]=ee[qt],yf(m,V,null)}catch(we){throw null!==ee&&wp(ee),wp(V),we}finally{gn(23),pu()}return new JE(this.componentType,V)}finally{L(u)}}}class JE extends jE{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,o){super(),this._rootLView=o,this._tNode=Zr(o[We],ot),this.location=Sc(this._tNode,o),this.instance=Ei(this._tNode.index,o)[qt],this.hostView=this.changeDetectorRef=new xf(o,void 0,!1),this.componentType=n}setInput(n,o){const l=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),o))return;const d=this._rootLView;vf(l,d[We],d,n,o),this.previousInputValues.set(n,o),Al(Ei(l.index,d),1)}get injector(){return new qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}let Hf=(()=>class e{static __NG_ELEMENT_ID__=T1})();function T1(){return Tb(Yt(),_e())}const ii=Hf,$m=class extends ii{_lContainer;_hostTNode;_hostLView;constructor(n,o,l){super(),this._lContainer=n,this._hostTNode=o,this._hostLView=l}get element(){return Sc(this._hostTNode,this._hostLView)}get injector(){return new qn(this._hostTNode,this._hostLView)}get parentInjector(){const n=lp(this._hostTNode,this._hostLView);if(j_(n)){const o=Cc(n,this._hostLView),l=vu(n);return new qn(o[We].data[l+8],o)}return new qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const o=bd(this._lContainer);return null!==o&&o[n]||null}get length(){return this._lContainer.length-b}createEmbeddedView(n,o,l){let d,u;"number"==typeof l?d=l:null!=l&&(d=l.index,u=l.injector);const h=La(this._lContainer,n.ssrId),p=n.createEmbeddedViewImpl(o||{},u,h);return this.insertImpl(p,d,Aa(this._hostTNode,h)),p}createComponent(n,o,l,d,u){const h=n&&!function nl(e){return"function"==typeof e}(n);let p;if(h)p=o;else{const ee=o||{};p=ee.index,l=ee.injector,d=ee.projectableNodes,u=ee.environmentInjector||ee.ngModuleRef}const m=h?n:new vd(Xt(n)),C=l||this.parentInjector;if(!u&&null==m.ngModule){const we=(h?C:this.parentInjector).get(eo,null);we&&(u=we)}const S=Xt(m.componentType??{}),O=La(this._lContainer,S?.id??null),V=m.create(C,d,O?.firstChild??null,u);return this.insertImpl(V.hostView,p,Aa(this._hostTNode,O)),V}insert(n,o){return this.insertImpl(n,o,!0)}insertImpl(n,o,l){const d=n._lView;if(function C_(e){return F(e[Kt])}(d)){const p=this.indexOf(n);if(-1!==p)this.detach(p);else{const m=d[Kt],C=new $m(m,m[Kn],m[Kt]);C.detach(C.indexOf(n))}}const u=this._adjustIndex(o),h=this._lContainer;return ad(h,d,u,l),n.attachToViewContainerRef(),zd(Um(h),u,n),n}move(n,o){return this.insert(n,o)}indexOf(n){const o=bd(this._lContainer);return null!==o?o.indexOf(n):-1}remove(n){const o=this._adjustIndex(n,-1),l=If(this._lContainer,o);l&&(na(Um(this._lContainer),o),id(l[We],l))}detach(n){const o=this._adjustIndex(n,-1),l=If(this._lContainer,o);return l&&null!=na(Um(this._lContainer),o)?new xf(l):null}_adjustIndex(n,o=0){return n??this.length+o}};function bd(e){return e[8]}function Um(e){return e[8]||(e[8]=[])}function Tb(e,n){let o;const l=n[e.index];return F(l)?o=l:(o=zy(l,n,null,e),n[e.index]=o,Dl(n,o)),Ib(o,n,e,l),new $m(o,e,n)}let Ib=function Ab(e,n,o,l){if(e[_])return;let d;d=8&o.type?cn(l):function eS(e,n){const o=e[It],l=o.createComment(""),d=Ui(n,e),u=o.parentNode(d);return Ma(o,u,l,o.nextSibling(d),!1),l}(n,o),e[_]=d},Hm=()=>!1;class zm{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new zm(this.queryList)}setDirty(){this.queryList.setDirty()}}class Gm{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const o=n.queries;if(null!==o){const l=null!==n.contentQueries?n.contentQueries[0]:o.length,d=[];for(let u=0;u<l;u++){const h=o.getByIndex(u);d.push(this.queries[h.indexInDeclarationView].clone())}return new Gm(d)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let o=0;o<this.queries.length;o++)null!==qm(n,o).matches&&this.queries[o].setDirty()}}class Ob{flags;read;predicate;constructor(n,o,l=null){this.flags=o,this.read=l,this.predicate="string"==typeof n?function Cd(e){return e.split(",").map(n=>n.trim())}(n):n}}class Wm{queries;constructor(n=[]){this.queries=n}elementStart(n,o){for(let l=0;l<this.queries.length;l++)this.queries[l].elementStart(n,o)}elementEnd(n){for(let o=0;o<this.queries.length;o++)this.queries[o].elementEnd(n)}embeddedTView(n){let o=null;for(let l=0;l<this.length;l++){const d=null!==o?o.length:0,u=this.getByIndex(l).embeddedTView(n,d);u&&(u.indexInDeclarationView=l,null!==o?o.push(u):o=[u])}return null!==o?new Wm(o):null}template(n,o){for(let l=0;l<this.queries.length;l++)this.queries[l].template(n,o)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Xm{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,o=-1){this.metadata=n,this._declarationNodeIndex=o}elementStart(n,o){this.isApplyingToNode(o)&&this.matchTNode(n,o)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,o){this.elementStart(n,o)}embeddedTView(n,o){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,o),new Xm(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const o=this._declarationNodeIndex;let l=n.parent;for(;null!==l&&8&l.type&&l.index!==o;)l=l.parent;return o===(null!==l?l.index:-1)}return this._appliesToNextNode}matchTNode(n,o){const l=this.metadata.predicate;if(Array.isArray(l))for(let d=0;d<l.length;d++){const u=l[d];this.matchTNodeWithReadOption(n,o,oS(o,u)),this.matchTNodeWithReadOption(n,o,cp(o,n,u,!1,!1))}else l===js?4&o.type&&this.matchTNodeWithReadOption(n,o,-1):this.matchTNodeWithReadOption(n,o,cp(o,n,l,!1,!1))}matchTNodeWithReadOption(n,o,l){if(null!==l){const d=this.metadata.read;if(null!==d)if(d===cl||d===Hf||d===js&&4&o.type)this.addMatch(o.index,-2);else{const u=cp(o,n,d,!1,!1);null!==u&&this.addMatch(o.index,u)}else this.addMatch(o.index,l)}}addMatch(n,o){null===this.matches?this.matches=[n,o]:this.matches.push(n,o)}}function oS(e,n){const o=e.localNames;if(null!==o)for(let l=0;l<o.length;l+=2)if(o[l]===n)return o[l+1];return null}function sS(e,n,o,l){return-1===o?function rS(e,n){return 11&e.type?Sc(e,n):4&e.type?ld(e,n):null}(n,e):-2===o?function aS(e,n,o){return o===cl?Sc(n,e):o===js?ld(n,e):o===Hf?Tb(n,e):void 0}(e,n,l):bu(e,e[We],o,n)}function Rb(e,n,o,l){const d=n[Fo].queries[l];if(null===d.matches){const u=e.data,h=o.matches,p=[];for(let m=0;null!==h&&m<h.length;m+=2){const C=h[m];p.push(C<0?null:sS(n,u[C],h[m+1],o.metadata.read))}d.matches=p}return d.matches}function Qm(e,n,o,l){const d=e.queries.getByIndex(o),u=d.matches;if(null!==u){const h=Rb(e,n,d,o);for(let p=0;p<u.length;p+=2){const m=u[p];if(m>0)l.push(h[p/2]);else{const C=u[p+1],S=n[-m];for(let O=b;O<S.length;O++){const H=S[O];H[Jo]===H[Kt]&&Qm(H[We],H,C,l)}if(null!==S[v]){const O=S[v];for(let H=0;H<O.length;H++){const V=O[H];Qm(V[We],V,C,l)}}}}}return l}function Km(e,n){return e[Fo].queries[n].queryList}function kb(e,n,o){const l=new Vw(!(4&~o));return function cw(e,n,o,l){const d=Kh(n);d.push(o),e.firstCreatePass&&lu(e).push(l,d.length-1)}(e,n,l,l.destroy),(n[Fo]??=new Gm).queries.push(new zm(l))-1}function Pb(e,n,o,l){const d=Rt();if(d.firstCreatePass){const u=Yt();xr(d,new Ob(n,o,l),u.index),function lS(e,n){const o=e.contentQueries||(e.contentQueries=[]);n!==(o.length?o[o.length-1]:-1)&&o.push(e.queries.length-1,n)}(d,e),!(2&~o)&&(d.staticContentQueries=!0)}return kb(d,_e(),o)}function xr(e,n,o){null===e.queries&&(e.queries=new Wm),e.queries.track(new Xm(n,o))}function qm(e,n){return e.queries.getByIndex(n)}function Fb(e,n){const o=e[We],l=qm(o,n);return l.crossesNgTemplate?Qm(o,e,n,[]):Rb(o,e,l,n)}function Ym(e,n,o){let l;const d=Ot(()=>{l._dirtyCounter();const u=function cS(e,n){const o=e._lView,l=e._queryIndex;if(void 0===o||void 0===l||4&o[Ct])return n?void 0:Jt;const d=Km(o,l),u=Fb(o,l);return d.reset(u,ov),n?d.first:d._changesDetected||void 0===e._flatValue?e._flatValue=d.toArray():e._flatValue}(l,e);if(n&&void 0===u)throw new j(-951,!1);return u});return l=d[B],l._dirtyCounter=Mc(0),l._flatValue=void 0,d}function $b(e,n){return function Lb(e){return Ym(!0,!1)}()}const fS=($b.required=function Ub(e,n){return function Bb(e){return Ym(!0,!0)}()},$b);let Ws=class{},ng=class{};function L1(e,n){return new Wf(e,n??null,[])}class Wf extends Ws{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Mb(this);constructor(n,o,l,d=!0){super(),this.ngModuleType=n,this._parent=o;const u=_i(n);this._bootstrapComponents=so(u.bootstrap),this._r3Injector=q_(n,o,[{provide:Ws,useValue:this},{provide:pd,useValue:this.componentFactoryResolver},...l],wn(n),new Set(["environment"])),d&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Ed extends ng{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Wf(this.moduleType,n,[])}}class bS extends Ws{injector;componentFactoryResolver=new Mb(this);instance=null;constructor(n){super();const o=new Qr([...n.providers,{provide:Ws,useValue:this},{provide:pd,useValue:this.componentFactoryResolver}],n.parent||Zo(),n.debugName,new Set(["environment"]));this.injector=o,n.runEnvironmentInitializers&&o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function ig(e,n,o=null){return new bS({providers:e,parent:n,debugName:o,runEnvironmentInitializers:!0}).injector}let B1=(()=>{class e{_injector;cachedInjectors=new Map;constructor(o){this._injector=o}getOrCreateStandaloneInjector(o){if(!o.standalone)return null;if(!this.cachedInjectors.has(o)){const l=Xr(0,o.type),d=l.length>0?ig([l],this._injector,`Standalone[${o.type.name}]`):null;this.cachedInjectors.set(o,d)}return this.cachedInjectors.get(o)}ngOnDestroy(){try{for(const o of this.cachedInjectors.values())null!==o&&o.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Wt({token:e,providedIn:"environment",factory:()=>new e(ai(eo))})}return e})();function Qb(e){return Ie(()=>{const n=Yb(e),o={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===xc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?d=>d.get(B1).getOrCreateStandaloneInjector(o):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Eo.Emulated,styles:e.styles||Jt,_:null,schemas:e.schemas||null,tView:null,id:""};n.standalone&&io("NgStandalone"),Zb(o);const l=e.dependencies;return o.directiveDefs=Xf(l,!1),o.pipeDefs=Xf(l,!0),o.id=function SS(e){let n=0;const l=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const u of l.join("|"))n=Math.imul(31,n)+u.charCodeAt(0)|0;return n+=2147483648,"c"+n}(o),o})}function V1(e){return Xt(e)||ei(e)}function j1(e){return null!==e}function Kb(e){return Ie(()=>({type:e.type,bootstrap:e.bootstrap||Jt,declarations:e.declarations||Jt,imports:e.imports||Jt,exports:e.exports||Jt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function CS(e,n){if(null==e)return gi;const o={};for(const l in e)if(e.hasOwnProperty(l)){const d=e[l];let u,h,p,m;Array.isArray(d)?(p=d[0],u=d[1],h=d[2]??u,m=d[3]||null):(u=d,h=d,p=Ta.None,m=null),o[u]=[l,p,m],n[u]=h}return o}function wS(e){if(null==e)return gi;const n={};for(const o in e)e.hasOwnProperty(o)&&(n[e[o]]=o);return n}function DS(e){return Ie(()=>{const n=Yb(e);return Zb(n),n})}function qb(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Yb(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||gi,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||Jt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:CS(e.inputs,n),outputs:wS(e.outputs),debugInfo:null}}function Zb(e){e.features?.forEach(n=>n(e))}function Xf(e,n){if(!e)return null;const o=n?ji:V1;return()=>("function"==typeof e?e():e).map(l=>o(l)).filter(j1)}function og(e){let n=function MS(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),o=!0;const l=[e];for(;n;){let d;if(Ye(e))d=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new j(903,!1);d=n.\u0275dir}if(d){if(o){l.push(d);const h=e;h.inputs=rg(e.inputs),h.declaredInputs=rg(e.declaredInputs),h.outputs=rg(e.outputs);const p=d.hostBindings;p&&Jb(e,p);const m=d.viewQuery,C=d.contentQueries;if(m&&xS(e,m),C&&AS(e,C),TS(e,d),Vr(e.outputs,d.outputs),Ye(d)&&d.data.animation){const S=e.data;S.animation=(S.animation||[]).concat(d.data.animation)}}const u=d.features;if(u)for(let h=0;h<u.length;h++){const p=u[h];p&&p.ngInherit&&p(e),p===og&&(o=!1)}}n=Object.getPrototypeOf(n)}!function IS(e){let n=0,o=null;for(let l=e.length-1;l>=0;l--){const d=e[l];d.hostVars=n+=d.hostVars,d.hostAttrs=al(d.hostAttrs,o=al(o,d.hostAttrs))}}(l)}function TS(e,n){for(const o in n.inputs){if(!n.inputs.hasOwnProperty(o)||e.inputs.hasOwnProperty(o))continue;const l=n.inputs[o];void 0!==l&&(e.inputs[o]=l,e.declaredInputs[o]=n.declaredInputs[o])}}function rg(e){return e===gi?{}:e===Jt?[]:e}function xS(e,n){const o=e.viewQuery;e.viewQuery=o?(l,d)=>{n(l,d),o(l,d)}:n}function AS(e,n){const o=e.contentQueries;e.contentQueries=o?(l,d,u)=>{n(l,d,u),o(l,d,u)}:n}function Jb(e,n){const o=e.hostBindings;e.hostBindings=o?(l,d)=>{n(l,d),o(l,d)}:n}function eC(e){const n=o=>{const l=Array.isArray(e);null===o.hostDirectives?(o.findHostDirectiveDefs=tC,o.hostDirectives=l?e.map(ag):[e]):l?o.hostDirectives.unshift(...e.map(ag)):o.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function tC(e,n,o){if(null!==e.hostDirectives)for(const l of e.hostDirectives)if("function"==typeof l){const d=l();for(const u of d)sg(ag(u),n,o)}else sg(l,n,o)}function sg(e,n,o){const l=ei(e.directive);(function nC(e,n){for(const o in n)n.hasOwnProperty(o)&&(e[n[o]]=e[o])})(l.declaredInputs,e.inputs),tC(l,n,o),o.set(l,e),n.push(l)}function ag(e){return"function"==typeof e?{directive:Et(e),inputs:gi,outputs:gi}:{directive:Et(e.directive),inputs:Qf(e.inputs),outputs:Qf(e.outputs)}}function Qf(e){if(void 0===e||0===e.length)return gi;const n={};for(let o=0;o<e.length;o+=2)n[e[o]]=e[o+1];return n}function Kf(e){return!!lg(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function lg(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ar(e,n,o){return e[n]=o}function Hn(e,n,o){return!Object.is(e[n],o)&&(e[n]=o,!0)}function Ba(e,n,o,l){const d=Hn(e,n,o);return Hn(e,n+1,l)||d}function qf(e,n,o,l,d){const u=Ba(e,n,o,l);return Hn(e,n+2,d)||u}function Md(e,n,o,l,d,u,h,p,m,C){const S=o+ot,O=n.firstCreatePass?function FS(e,n,o,l,d,u,h,p,m){const C=n.consts,S=Rl(n,e,4,h||null,p||null);Yh()&&bb(n,o,S,Vo(C,m),nd),S.mergedAttrs=al(S.mergedAttrs,S.attrs),P_(n,S);const O=S.tView=Cy(2,S,l,d,u,n.directiveRegistry,n.pipeRegistry,null,n.schemas,C,null);return null!==n.queries&&(n.queries.template(n,S),O.queries=n.queries.embeddedTView(S)),S}(S,n,e,l,d,u,h,p,m):n.data[S];jo(O,!1);const H=oC(n,e,O,o);yc()&&Ef(n,e,H,O),no(H,e);const V=zy(H,e,H,O);return e[S]=V,Dl(e,V),function xb(e,n,o){return Hm(e,n,o)}(V,O,e),Se(O)&&Ia(n,e,O),null!=m&&hm(e,O,C),O}function cg(e,n,o,l,d,u,h,p){const m=_e(),C=Rt();return Md(m,C,e,n,o,l,d,Vo(C.consts,u),h,p),cg}let oC=function rC(e,n,o,l){return es(!0),n[It].createComment("")};let uC=(()=>{class e{log(o){console.log(o)}warn(o){console.warn(o)}static \u0275fac=function(l){return new(l||e)};static \u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const pM=new Ae(""),yC=new Ae("");let wg,mM=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(o,l,d){this._ngZone=o,this.registry=l,Yd()&&(this._destroyRef=nt(ns,{optional:!0})??void 0),wg||(function _M(e){wg=e}(d),d.addToWindow(l)),this._watchAngularEvents(),o.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const o=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),l=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{On.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{o.unsubscribe(),l.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let o=this._callbacks.pop();clearTimeout(o.timeoutId),o.doneCb()}});else{let o=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(o)||(clearTimeout(l.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(o=>({source:o.source,creationLocation:o.creationLocation,data:o.data})):[]}addCallback(o,l,d){let u=-1;l&&l>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==u),o()},l)),this._callbacks.push({doneCb:o,timeoutId:u,updateCb:d})}whenStable(o,l,d){if(d&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(o,l,d),this._runCallbacksIfReady()}registerApplication(o){this.registry.registerApplication(o,this)}unregisterApplication(o){this.registry.unregisterApplication(o)}findProviders(o,l,d){return[]}static \u0275fac=function(l){return new(l||e)(ai(On),ai(gM),ai(yC))};static \u0275prov=Wt({token:e,factory:e.\u0275fac})}return e})(),gM=(()=>{class e{_applications=new Map;registerApplication(o,l){this._applications.set(o,l)}unregisterApplication(o){this._applications.delete(o)}unregisterAllApplications(){this._applications.clear()}getTestability(o){return this._applications.get(o)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(o,l=!0){return wg?.findTestabilityInTree(this,o,l)??null}static \u0275fac=function(l){return new(l||e)};static \u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),bC=(()=>{class e{static \u0275prov=Wt({token:e,providedIn:"root",factory:()=>new Dg})}return e})();class Dg{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}remove(n){const l=this.queues.get(n.zone);l.has(n)&&(l.delete(n),this.queuedEffectCount--)}enqueue(n){const o=n.zone;this.queues.has(o)||this.queues.set(o,new Set);const l=this.queues.get(o);l.has(n)||(this.queuedEffectCount++,l.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,o]of this.queues)null===n?this.flushQueue(o):n.run(()=>this.flushQueue(o))}flushQueue(n){for(const o of n)n.delete(o),this.queuedEffectCount--,o.run()}}function CC(e){return!!e&&"function"==typeof e.then}function wC(e){return!!e&&"function"==typeof e.subscribe}const DC=new Ae("");function Eg(e){return mr([{provide:DC,multi:!0,useValue:e}])}let EC=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((o,l)=>{this.resolve=o,this.reject=l});appInits=nt(DC,{optional:!0})??[];injector=nt(Pi);constructor(){}runInitializers(){if(this.initialized)return;const o=[];for(const d of this.appInits){const u=Ds(this.injector,d);if(CC(u))o.push(u);else if(wC(u)){const h=new Promise((p,m)=>{u.subscribe({complete:p,error:m})});o.push(h)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(o).then(()=>{l()}).catch(d=>{this.reject(d)}),0===o.length&&l(),this.initialized=!0}static \u0275fac=function(l){return new(l||e)};static \u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const xd=new Ae("");let co=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=nt(sx);afterRenderManager=nt(Op);zonelessEnabled=nt(Eu);rootEffectScheduler=nt(bC);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Vi.B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=nt(ll).hasPendingTasks.pipe((0,Xi.T)(o=>!o));constructor(){nt(ul,{optional:!0})}whenStable(){let o;return new Promise(l=>{o=this.isStable.subscribe({next:d=>{d&&l()}})}).finally(()=>{o.unsubscribe()})}_injector=nt(eo);_rendererFactory=null;get injector(){return this._injector}bootstrap(o,l){return this.bootstrapImpl(o,l)}bootstrapImpl(o,l,d=Pi.NULL){gn(10);const u=o instanceof Fm;if(!this._injector.get(EC).done)throw new j(405,"");let p;p=u?o:this._injector.get(pd).resolveComponentFactory(o),this.componentTypes.push(p.componentType);const m=function vM(e){return e.isBoundToModule}(p)?void 0:this._injector.get(Ws),S=p.create(d,[],l||p.selector,m),O=S.location.nativeElement,H=S.injector.get(pM,null);return H?.registerApplication(O),S.onDestroy(()=>{this.detachView(S.hostView),ih(this.components,S),H?.unregisterApplication(O)}),this._loadComponent(S),gn(11,S),S}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){gn(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(ju.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new j(101,!1);const o=L(null);try{this._runningTick=!0,this.synchronize()}catch(l){this.internalErrorHandler(l)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,L(o),this.afterTick.next(),gn(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(gb,null,{optional:!0}));let o=0;for(;0!==this.dirtyFlags&&o++<10;)gn(14),this.synchronizeOnce(),gn(15)}synchronizeOnce(){if(16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const o=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:l,notifyErrorHandler:d}of this.allViews)yM(l,d,o,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:o})=>su(o))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(o){const l=o;this._views.push(l),l.attachToAppRef(this)}detachView(o){const l=o;ih(this._views,l),l.detachFromAppRef()}_loadComponent(o){this.attachView(o.hostView),this.tick(),this.components.push(o),this._injector.get(xd,[]).forEach(d=>d(o))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(o=>o()),this._views.slice().forEach(o=>o.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(o){return this._destroyListeners.push(o),()=>ih(this._destroyListeners,o)}destroy(){if(this._destroyed)throw new j(406,!1);const o=this._injector;o.destroy&&!o.destroyed&&o.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(l){return new(l||e)};static \u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ih(e,n){const o=e.indexOf(n);o>-1&&e.splice(o,1)}function yM(e,n,o,l){(o||su(e))&&Tf(e,n,o&&!l?0:1)}function Ag(e,n,o,l){const d=_e();return Hn(d,$o(),n)&&(Rt(),Tr(An(),d,e,n,o,l)),Ag}function jl(e,n,o,l){return Hn(e,$o(),o)?n+K(o)+l:Lt}function rh(e,n){return e<<17|n<<2}function Ha(e){return e>>17&32767}function Rg(e){return 2|e}function za(e){return(131068&e)>>2}function Wl(e,n){return-131069&e|n<<2}function kd(e){return 1|e}function sh(e,n,o,l){const d=e[o+1],u=null===n;let h=l?Ha(d):za(d),p=!1;for(;0!==h&&(!1===p||u);){const C=e[h+1];KC(e[h],n)&&(p=!0,e[h+1]=l?kd(C):Rg(C)),h=l?Ha(C):za(C)}p&&(e[o+1]=l?Rg(d):kd(d))}function KC(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&ia(e,n)>=0}const yi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function QM(e){return e.substring(yi.key,yi.keyEnd)}function qC(e,n){const o=yi.textEnd;return o===n?-1:(n=yi.keyEnd=function ZM(e,n,o){for(;n<o&&e.charCodeAt(n)>32;)n++;return n}(e,yi.key=n,o),Xl(e,n,o))}function Xl(e,n,o){for(;n<o&&e.charCodeAt(n)<=32;)n++;return n}function JC(e,n,o){const l=_e();return Hn(l,$o(),n)&&ao(Rt(),An(),l,e,n,l[It],o,!1),JC}function e0(e,n,o,l,d){vf(n,e,o,d?"class":"style",l)}function t0(e,n,o){return Nr(e,n,o,!1),t0}function n0(e,n){return Nr(e,n,null,!0),n0}function nT(e){Pr(sA,ps,e,!0)}function ps(e,n){for(let o=function qM(e){return function ZC(e){yi.key=0,yi.keyEnd=0,yi.value=0,yi.valueEnd=0,yi.textEnd=e.length}(e),qC(e,Xl(e,0,yi.textEnd))}(n);o>=0;o=qC(n,o))Ri(e,QM(n),!0)}function Nr(e,n,o,l){const d=_e(),u=Rt(),h=tr(2);u.firstUpdatePass&&iT(u,e,h,l),n!==Lt&&Hn(d,h,n)&&Ng(u,u.data[ci()],d,d[It],e,d[h+1]=function cT(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=wn(rr(e)))),e}(n,o),l,h)}function Pr(e,n,o,l){const d=Rt(),u=tr(2);d.firstUpdatePass&&iT(d,null,u,l);const h=_e();if(o!==Lt&&Hn(h,u,o)){const p=d.data[ci()];if(dT(p,l)&&!o0(d,u)){let m=l?p.classesWithoutHost:p.stylesWithoutHost;null!==m&&(o=Ki(m,o||"")),e0(d,p,h,o,l)}else!function aT(e,n,o,l,d,u,h,p){d===Lt&&(d=Jt);let m=0,C=0,S=0<d.length?d[0]:null,O=0<u.length?u[0]:null;for(;null!==S||null!==O;){const H=m<d.length?d[m+1]:void 0,V=C<u.length?u[C+1]:void 0;let we,ee=null;S===O?(m+=2,C+=2,H!==V&&(ee=O,we=V)):null===O||null!==S&&S<O?(m+=2,ee=S):(C+=2,ee=O,we=V),null!==ee&&Ng(e,n,o,l,ee,we,h,p),S=m<d.length?d[m]:null,O=C<u.length?u[C]:null}}(d,p,h,h[It],h[u+1],h[u+1]=function rA(e,n,o){if(null==o||""===o)return Jt;const l=[],d=rr(o);if(Array.isArray(d))for(let u=0;u<d.length;u++)e(l,d[u],!0);else if("object"==typeof d)for(const u in d)d.hasOwnProperty(u)&&e(l,u,d[u]);else"string"==typeof d&&n(l,d);return l}(e,n,o),l,u)}}function o0(e,n){return n>=e.expandoStartIndex}function iT(e,n,o,l){const d=e.data;if(null===d[o+1]){const u=d[ci()],h=o0(e,o);dT(u,l)&&null===n&&!h&&(n=!1),n=function iA(e,n,o,l){const d=sl(e);let u=l?n.residualClasses:n.residualStyles;if(null===d)0===(l?n.classBindings:n.styleBindings)&&(o=ah(o=kg(null,e,n,o,l),n.attrs,l),u=null);else{const h=n.directiveStylingLast;if(-1===h||e[h]!==d)if(o=kg(d,e,n,o,l),null===u){let m=function oA(e,n,o){const l=o?n.classBindings:n.styleBindings;if(0!==za(l))return e[Ha(l)]}(e,n,l);void 0!==m&&Array.isArray(m)&&(m=kg(null,e,n,m[1],l),m=ah(m,n.attrs,l),function oT(e,n,o,l){e[Ha(o?n.classBindings:n.styleBindings)]=l}(e,n,l,m))}else u=function rT(e,n,o){let l;const d=n.directiveEnd;for(let u=1+n.directiveStylingLast;u<d;u++)l=ah(l,e[u].hostAttrs,o);return ah(l,n.attrs,o)}(e,n,l)}return void 0!==u&&(l?n.residualClasses=u:n.residualStyles=u),o}(d,u,n,l),function eA(e,n,o,l,d,u){let h=u?n.classBindings:n.styleBindings,p=Ha(h),m=za(h);e[l]=o;let S,C=!1;if(Array.isArray(o)?(S=o[1],(null===S||ia(o,S)>0)&&(C=!0)):S=o,d)if(0!==m){const H=Ha(e[p+1]);e[l+1]=rh(H,p),0!==H&&(e[H+1]=Wl(e[H+1],l)),e[p+1]=function QC(e,n){return 131071&e|n<<17}(e[p+1],l)}else e[l+1]=rh(p,0),0!==p&&(e[p+1]=Wl(e[p+1],l)),p=l;else e[l+1]=rh(m,0),0===p?p=l:e[m+1]=Wl(e[m+1],l),m=l;C&&(e[l+1]=Rg(e[l+1])),sh(e,S,l,!0),sh(e,S,l,!1),function XM(e,n,o,l,d){const u=d?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof n&&ia(u,n)>=0&&(o[l+1]=kd(o[l+1]))}(n,S,e,l,u),h=rh(p,m),u?n.classBindings=h:n.styleBindings=h}(d,u,n,o,h,l)}}function kg(e,n,o,l,d){let u=null;const h=o.directiveEnd;let p=o.directiveStylingLast;for(-1===p?p=o.directiveStart:p++;p<h&&(u=n[p],l=ah(l,u.hostAttrs,d),u!==e);)p++;return null!==e&&(o.directiveStylingLast=p),l}function ah(e,n,o){const l=o?1:2;let d=-1;if(null!==n)for(let u=0;u<n.length;u++){const h=n[u];"number"==typeof h?d=h:d===l&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ri(e,h,!!o||n[++u]))}return void 0===e?null:e}function sA(e,n,o){const l=String(n);""!==l&&!l.includes(" ")&&Ri(e,l,o)}function Ng(e,n,o,l,d,u,h,p){if(!(3&n.type))return;const m=e.data,C=m[p+1],S=function J1(e){return!(1&~e)}(C)?lT(m,n,o,d,za(C),h):void 0;Pg(S)||(Pg(u)||function Og(e){return!(2&~e)}(C)&&(u=lT(m,null,o,d,p,h)),function ky(e,n,o,l,d){if(n)d?e.addClass(o,l):e.removeClass(o,l);else{let u=-1===l.indexOf("-")?void 0:Oa.DashCase;null==d?e.removeStyle(o,l,u):("string"==typeof d&&d.endsWith("!important")&&(d=d.slice(0,-10),u|=Oa.Important),e.setStyle(o,l,d,u))}}(l,h,ol(ci(),o),d,u))}function lT(e,n,o,l,d,u){const h=null===n;let p;for(;d>0;){const m=e[d],C=Array.isArray(m),S=C?m[1]:m,O=null===S;let H=o[d+1];H===Lt&&(H=O?Jt:void 0);let V=O?ws(H,l):S===l?H:void 0;if(C&&!Pg(V)&&(V=ws(m,l)),Pg(V)&&(p=V,h))return p;const ee=e[d+1];d=h?Ha(ee):za(ee)}if(null!==n){let m=u?n.residualClasses:n.residualStyles;null!=m&&(p=ws(m,l))}return p}function Pg(e){return void 0!==e}function dT(e,n){return!!(e.flags&(n?8:16))}function r0(e,n,o){Pr(Ri,ps,jl(_e(),e,n,o),!0)}class mT{destroy(n){}updateValue(n,o){}swap(n,o){const l=Math.min(n,o),d=Math.max(n,o),u=this.detach(d);if(d-l>1){const h=this.detach(l);this.attach(l,u),this.attach(d,h)}else this.attach(l,u)}move(n,o){this.attach(o,this.detach(n))}}function Lg(e,n,o,l,d){return e===o&&Object.is(n,l)?1:Object.is(d(e,n),d(o,l))?-1:0}function Bg(e,n,o,l){return!(void 0===n||!n.has(l)||(e.attach(o,n.get(l)),n.delete(l),0))}function d0(e,n,o,l,d){if(Bg(e,n,l,o(l,d)))e.updateValue(l,d);else{const u=e.create(l,d);e.attach(l,u)}}function u0(e,n,o,l){const d=new Set;for(let u=n;u<=o;u++)d.add(l(u,e.at(u)));return d}class f0{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const o=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(o)?(this.kvMap.set(n,this._vMap.get(o)),this._vMap.delete(o)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,o){if(this.kvMap.has(n)){let l=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const d=this._vMap;for(;d.has(l);)l=d.get(l);d.set(l,o)}else this.kvMap.set(n,o)}forEach(n){for(let[o,l]of this.kvMap)if(n(l,o),void 0!==this._vMap){const d=this._vMap;for(;d.has(l);)l=d.get(l),n(l,o)}}}function h0(e,n){io("NgControlFlow");const o=_e(),l=$o(),d=o[l]!==Lt?o[l]:-1,u=-1!==d?lh(o,ot+d):void 0;if(Hn(o,l,e)){const p=L(null);try{if(void 0!==u&&Gy(u,0),-1!==e){const m=ot+e,C=lh(o,m),S=jg(o[We],m),O=La(C,S.tView.ssrId);ad(C,Sl(o,S,n,{dehydratedView:O}),0,Aa(S,O))}}finally{L(p)}}else if(void 0!==u){const p=Em(u,0);void 0!==p&&(p[qt]=n)}}class _T{lContainer;$implicit;$index;constructor(n,o,l){this.lContainer=n,this.$implicit=o,this.$index=l}get $count(){return this.lContainer.length-b}}function p0(e){return e}function m0(e,n){return n}class vT{hasEmptyBlock;trackByFn;liveCollection;constructor(n,o,l){this.hasEmptyBlock=n,this.trackByFn=o,this.liveCollection=l}}function g0(e,n,o,l,d,u,h,p,m,C,S,O,H){io("NgControlFlow");const V=_e(),ee=Rt(),we=void 0!==m,qe=_e(),Je=p?h.bind(qe[xn][qt]):h,Pe=new vT(we,Je);qe[ot+e]=Pe,Md(V,ee,e+1,n,o,l,d,Vo(ee.consts,u)),we&&Md(V,ee,e+2,m,C,S,O,Vo(ee.consts,H))}class yT extends mT{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,o,l){super(),this.lContainer=n,this.hostLView=o,this.templateTNode=l}get length(){return this.lContainer.length-b}at(n){return this.getLView(n)[qt].$implicit}attach(n,o){const l=o[li];this.needsIndexUpdate||=n!==this.length,ad(this.lContainer,o,n,Aa(this.templateTNode,l))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function bT(e,n){return If(e,n)}(this.lContainer,n)}create(n,o){const l=La(this.lContainer,this.templateTNode.tView.ssrId),d=Sl(this.hostLView,this.templateTNode,new _T(this.lContainer,o,n),{dehydratedView:l});return this.operationsCounter?.recordCreate(),d}destroy(n){id(n[We],n),this.operationsCounter?.recordDestroy()}updateValue(n,o){this.getLView(n)[qt].$implicit=o}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[qt].$index=n}getLView(n){return function CT(e,n){return Em(e,n)}(this.lContainer,n)}}function Vg(e){const n=L(null),o=ci();try{const l=_e(),d=l[We],u=l[o],h=o+1,p=lh(l,h);if(void 0===u.liveCollection){const C=jg(d,h);u.liveCollection=new yT(p,l,C)}else u.liveCollection.reset();const m=u.liveCollection;if(function gT(e,n,o){let l,d,u=0,h=e.length-1;if(Array.isArray(n)){let m=n.length-1;for(;u<=h&&u<=m;){const C=e.at(u),S=n[u],O=Lg(u,C,u,S,o);if(0!==O){O<0&&e.updateValue(u,S),u++;continue}const H=e.at(h),V=n[m],ee=Lg(h,H,m,V,o);if(0!==ee){ee<0&&e.updateValue(h,V),h--,m--;continue}const we=o(u,C),qe=o(h,H),Je=o(u,S);if(Object.is(Je,qe)){const Pe=o(m,V);Object.is(Pe,we)?(e.swap(u,h),e.updateValue(h,V),m--,h--):e.move(h,u),e.updateValue(u,S),u++}else if(l??=new f0,d??=u0(e,u,h,o),Bg(e,l,u,Je))e.updateValue(u,S),u++,h++;else if(d.has(Je))l.set(we,e.detach(u)),h--;else{const Pe=e.create(u,n[u]);e.attach(u,Pe),u++,h++}}for(;u<=m;)d0(e,l,o,u,n[u]),u++}else if(null!=n){const m=n[Symbol.iterator]();let C=m.next();for(;!C.done&&u<=h;){const S=e.at(u),O=C.value,H=Lg(u,S,u,O,o);if(0!==H)H<0&&e.updateValue(u,O),u++,C=m.next();else{l??=new f0,d??=u0(e,u,h,o);const V=o(u,O);if(Bg(e,l,u,V))e.updateValue(u,O),u++,h++,C=m.next();else if(d.has(V)){const ee=o(u,S);l.set(ee,e.detach(u)),h--}else e.attach(u,e.create(u,O)),u++,h++,C=m.next()}}for(;!C.done;)d0(e,l,o,e.length,C.value),C=m.next()}for(;u<=h;)e.destroy(e.detach(h--));l?.forEach(m=>{e.destroy(m)})}(m,e,u.trackByFn),m.updateIndexes(),u.hasEmptyBlock){const C=$o(),S=0===m.length;if(Hn(l,C,S)){const O=o+2,H=lh(l,O);if(S){const V=jg(d,O),ee=La(H,V.tView.ssrId);ad(H,Sl(l,V,void 0,{dehydratedView:ee}),0,Aa(V,ee))}else Gy(H,0)}}}finally{L(n)}}function lh(e,n){return e[n]}function jg(e,n){return Zr(e,n)}function ch(e,n,o,l){const d=_e(),u=Rt(),h=ot+e,p=d[It],m=u.firstCreatePass?Eb(h,u,d,n,nd,Yh(),o,l):u.data[h],C=_0(u,d,m,p,n,e);d[h]=C;const S=Se(m);return jo(m,!0),wl(p,C,m),!Bs(m)&&yc()&&Ef(u,d,C,m),(0===function dw(){return Pt.lFrame.elementDepthCount}()||S)&&no(C,d),function uw(){Pt.lFrame.elementDepthCount++}(),S&&(Ia(u,d,m),qp(u,m,d)),null!==l&&hm(d,m),ch}function dh(){let e=Yt();du()?uu():(e=e.parent,jo(e,!1));const n=e;(function hw(e){return Pt.skipHydrationRootTNode===e})(n)&&function Jh(){Pt.skipHydrationRootTNode=null}(),function fw(){Pt.lFrame.elementDepthCount--}();const o=Rt();return o.firstCreatePass&&Sb(o,n),null!=n.classesWithoutHost&&function $I(e){return!!(8&e.flags)}(n)&&e0(o,n,_e(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function vw(e){return!!(16&e.flags)}(n)&&e0(o,n,_e(),n.stylesWithoutHost,!1),dh}function $g(e,n,o,l){return ch(e,n,o,l),dh(),$g}let _0=(e,n,o,l,d,u)=>(es(!0),Cl(l,d,function k_(){return Pt.lFrame.currentNamespace}()));function uh(e,n,o){const l=_e(),d=Rt(),u=e+ot,h=d.firstCreatePass?function ET(e,n,o,l,d){const u=n.consts,h=Vo(u,l),p=Rl(n,e,8,"ng-container",h);null!==h&&Bm(p,h,!0);const m=Vo(u,d);return Yh()&&bb(n,o,p,m,nd),p.mergedAttrs=al(p.mergedAttrs,p.attrs),null!==n.queries&&n.queries.elementStart(n,p),p}(u,d,l,n,o):d.data[u];jo(h,!0);const p=v0(d,l,h,e);return l[u]=p,yc()&&Ef(d,l,p,h),no(p,l),Se(h)&&(Ia(d,l,h),qp(d,h,l)),null!=o&&hm(l,h),uh}function fh(){let e=Yt();const n=Rt();return du()?uu():(e=e.parent,jo(e,!1)),n.firstCreatePass&&(P_(n,e),N(e)&&n.queries.elementEnd(e)),fh}function Ug(e,n,o){return uh(e,n,o),fh(),Ug}let v0=(e,n,o,l)=>(es(!0),ff(n[It],""));function y0(){return _e()}function zg(e,n,o){const l=_e();return Hn(l,$o(),n)&&ao(Rt(),An(),l,e,n,l[It],o,!0),zg}function Gg(e,n,o){const l=_e();if(Hn(l,$o(),n)){const u=Rt(),h=An();ao(u,h,l,e,n,xa(sl(u.data),h,l),o,!0)}return Gg}const Ga=void 0;var TT=["en",[["a","p"],["AM","PM"],Ga],[["AM","PM"],Ga,Ga],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ga,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ga,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ga,"{1} 'at' {0}",Ga],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function MT(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let Ql={};function Wg(e){const n=function xT(e){return e.toLowerCase().replace(/_/g,"-")}(e);let o=Nd(n);if(o)return o;const l=n.split("-")[0];if(o=Nd(l),o)return o;if("en"===l)return TT;throw new j(701,!1)}function b0(e){return Wg(e)[Kl.PluralCase]}function Nd(e){return e in Ql||(Ql[e]=Cn.ng&&Cn.ng.common&&Cn.ng.common.locales&&Cn.ng.common.locales[e]),Ql[e]}var Kl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Kl||{});const Pd="en-US";let C0=Pd;function V0(e,n,o){return function l(d){if(d===Function)return o;Al(oe(e)?Ei(e.index,n):n,5);const h=n[qt];let p=j0(n,h,o,d),m=l.__ngNextListenerFn__;for(;m;)p=j0(n,h,m,d)&&p,m=m.__ngNextListenerFn__;return p}}function j0(e,n,o,l){const d=L(null);try{return gn(6,n,o),!1!==o(l)}catch(u){return function cI(e,n){const o=e[Tn],l=o?o.get(Cr,null):null;l&&l.handleError(n)}(e,u),!1}finally{gn(7,n,o),L(d)}}function $0(e,n,o,l,d,u){const p=n[We],S=n[o][p.data[o].outputs[l]],O=p.firstCreatePass?lu(p):null,H=Kh(n),V=S.subscribe(u),ee=H.length;H.push(u,V),O&&O.push(d,e.index,ee,-(ee+1))}function Yg(e,n,o,l){const d=_e(),u=Rt(),h=Yt();return function Zg(e,n,o,l,d,u,h){const p=Se(l),C=e.firstCreatePass?lu(e):null,S=Kh(n);let O=!0;if(3&l.type||h){const H=Ui(l,n),V=h?h(H):H,ee=S.length,we=h?Je=>h(cn(Je[l.index])):l.index;let qe=null;if(!h&&p&&(qe=function dI(e,n,o,l){const d=e.cleanup;if(null!=d)for(let u=0;u<d.length-1;u+=2){const h=d[u];if(h===o&&d[u+1]===l){const p=n[Ms],m=d[u+2];return p.length>m?p[m]:null}"string"==typeof h&&(u+=2)}return null}(e,n,d,l.index)),null!==qe)(qe.__ngLastListenerFn__||qe).__ngNextListenerFn__=u,qe.__ngLastListenerFn__=u,O=!1;else{!function ni(e,n,o,l){Av(e,n,o,l)}(n,V,d,u=V0(l,n,u));const Je=o.listen(V,d,u);S.push(u,Je),C&&C.push(d,we,ee,ee+1)}}else u=V0(l,n,u);if(O){const H=l.outputs?.[d],V=l.hostDirectiveOutputs?.[d];if(V&&V.length)for(let ee=0;ee<V.length;ee+=2)$0(l,n,V[ee],V[ee+1],d,u);if(H&&H.length)for(const ee of H)$0(l,n,ee,d,d,u)}}(u,d,d[It],h,e,n,l),Yg}function H0(e=1){return function R_(e){return(Pt.lFrame.contextLView=function Wh(e,n){for(;e>0;)n=n[qr],e--;return n}(e,Pt.lFrame.contextLView))[qt]}(e)}function uI(e,n){let o=null;const l=function Yx(e){const n=e.attrs;if(null!=n){const o=n.indexOf(5);if(!(1&o))return n[o+1]}return null}(e);for(let d=0;d<n.length;d++){const u=n[d];if("*"!==u){if(null===l?XD(e,u,!0):_l(l,u))return d}else o=d}return o}function vh(e){const n=_e()[xn][Kn];if(!n.projection){const l=n.projection=function ic(e,n){const o=[];for(let l=0;l<e;l++)o.push(n);return o}(e?e.length:1,null),d=l.slice();let u=n.child;for(;null!==u;){if(128!==u.type){const h=e?uI(u,e):0;null!==h&&(d[h]?d[h].projectionNext=u:l[h]=u,d[h]=u)}u=u.next}}}function z0(e,n=0,o,l,d,u){const h=_e(),p=Rt(),m=l?e+1:null;null!==m&&Md(h,p,m,l,d,u,null,o);const C=Rl(p,ot+e,16,null,o||null);null===C.projection&&(C.projection=n),uu();const O=!h[li]||Is();null===h[xn][Kn].projection[C.projection]&&null!==m?function fI(e,n,o){const l=ot+o,d=n.data[l],u=e[l],h=La(u,d.tView.ssrId);ad(u,Sl(e,d,void 0,{dehydratedView:h}),0,Aa(d,h))}(h,p,m):O&&!Bs(C)&&function Il(e,n,o){iE(n[It],0,n,o,gm(e,o,n),Df(o.parent||n[Kn],o,n))}(p,h,C)}function s(e,n,o){return a(e,"",n,"",o),s}function a(e,n,o,l,d){const u=_e(),h=jl(u,n,o,l);return h!==Lt&&ao(Rt(),An(),u,e,h,u[It],d,!1),a}function J(e,n,o,l){Pb(e,n,o,l)}function de(e,n,o){!function Nb(e,n,o){const l=Rt();return l.firstCreatePass&&(xr(l,new Ob(e,n,o),-1),!(2&~n)&&(l.staticViewQueries=!0)),kb(l,_e(),n)}(e,n,o)}function Ce(e){const n=_e(),o=Rt(),l=hu();vc(l+1);const d=qm(o,l);if(e.dirty&&function ru(e){return!(4&~e[Ct])}(n)===!(2&~d.metadata.flags)){if(null===d.matches)e.reset([]);else{const u=Fb(n,l);e.reset(u,ov),e.notifyOnChanges()}return!0}return!1}function je(){return Km(_e(),hu())}function Qe(e,n,o,l,d){!function jb(e,n){const o=e[B];o._lView=_e(),o._queryIndex=n,o._queryList=Km(o._lView,n),o._queryList.onDirty(()=>o._dirtyCounter.update(l=>l+1))}(n,Pb(e,o,l,d))}function rt(e=1){vc(hu()+e)}function Vt(e){return ua(function yo(){return Pt.lFrame.contextLView}(),ot+e)}function fi(e,n=""){const o=_e(),l=Rt(),d=e+ot,u=l.firstCreatePass?Rl(l,d,1,n,null):l.data[d],h=dr(l,o,u,n,e);o[d]=h,yc()&&Ef(l,o,h,u),jo(u,!1)}let dr=(e,n,o,l,d)=>(es(!0),function bl(e,n){return e.createText(n)}(n[It],l));function Nn(e){return Bd("",e,""),Nn}function Bd(e,n,o){const l=_e(),d=jl(l,e,n,o);return d!==Lt&&Wa(l,ci(),d),Bd}function n_(e,n,o,l,d){const u=_e(),h=function $l(e,n,o,l,d,u){const p=Ba(e,bo(),o,d);return tr(2),p?n+K(o)+l+K(d)+u:Lt}(u,e,n,o,l,d);return h!==Lt&&Wa(u,ci(),h),n_}function wi(e,n,o,l,d,u,h){const p=_e(),m=function Ul(e,n,o,l,d,u,h,p){const C=qf(e,bo(),o,d,h);return tr(3),C?n+K(o)+l+K(d)+u+K(h)+p:Lt}(p,e,n,o,l,d,u,h);return m!==Lt&&Wa(p,ci(),m),wi}function Wa(e,n,o){const l=ol(n,e);!function dm(e,n,o){e.setValue(n,o)}(e[It],l,o)}const IA={};function hI(e){const n=Rt(),o=_e(),l=e+ot;return jo(Rl(n,l,128,null,null),!1),rl(n,o,l,IA),hI}function pI(e,n,o,l,d){if(e=Et(e),Array.isArray(e))for(let u=0;u<e.length;u++)pI(e[u],n,o,l,d);else{const u=Rt(),h=_e(),p=Yt();let m=gr(e)?e:Et(e.provide);const C=sc(e),S=1048575&p.providerIndexes,O=p.directiveStart,H=p.providerIndexes>>20;if(gr(e)||!e.multi){const V=new _u(C,d,_d),ee=gI(m,n,d?S:S+H,O);-1===ee?(z_(yu(p,h),u,m),mI(u,e,n.length),n.push(m),p.directiveStart++,p.directiveEnd++,d&&(p.providerIndexes+=1048576),o.push(V),h.push(V)):(o[ee]=V,h[ee]=V)}else{const V=gI(m,n,S+H,O),ee=gI(m,n,S,S+H),qe=ee>=0&&o[ee];if(d&&!qe||!d&&!(V>=0&&o[V])){z_(yu(p,h),u,m);const Je=function CR(e,n,o,l,d){const u=new _u(e,o,_d);return u.multi=[],u.index=n,u.componentProviders=0,xA(u,d,l&&!o),u}(d?bR:yR,o.length,d,l,C);!d&&qe&&(o[ee].providerFactory=Je),mI(u,e,n.length,0),n.push(m),p.directiveStart++,p.directiveEnd++,d&&(p.providerIndexes+=1048576),o.push(Je),h.push(Je)}else mI(u,e,V>-1?V:ee,xA(o[d?ee:V],C,!d&&l));!d&&l&&qe&&o[ee].componentProviders++}}}function mI(e,n,o,l){const d=gr(n),u=function Ih(e){return!!e.useClass}(n);if(d||u){const m=(u?Et(n.useClass):n).prototype.ngOnDestroy;if(m){const C=e.destroyHooks||(e.destroyHooks=[]);if(!d&&n.multi){const S=C.indexOf(o);-1===S?C.push(o,[l,m]):C[S+1].push(l,m)}else C.push(o,m)}}}function xA(e,n,o){return o&&e.componentProviders++,e.multi.push(n)-1}function gI(e,n,o,l){for(let d=o;d<l;d++)if(n[d]===e)return d;return-1}function yR(e,n,o,l,d){return _I(this.multi,[])}function bR(e,n,o,l,d){const u=this.multi;let h;if(this.providerFactory){const p=this.providerFactory.componentProviders,m=bu(l,l[We],this.providerFactory.index,d);h=m.slice(0,p),_I(u,h);for(let C=p;C<m.length;C++)h.push(m[C])}else h=[],_I(u,h);return h}function _I(e,n){for(let o=0;o<e.length;o++)n.push((0,e[o])());return n}function AA(e,n=[]){return o=>{o.providersResolver=(l,d)=>function vR(e,n,o){const l=Rt();if(l.firstCreatePass){const d=Ye(e);pI(o,l.data,l.blueprint,d,!0),pI(n,l.data,l.blueprint,d,!1)}}(l,d?d(e):e,n)}}function RA(e,n,o){const l=Ni()+e,d=_e();return d[l]===Lt?Ar(d,l,o?n.call(o):n()):function Sd(e,n){return e[n]}(d,l)}function kA(e,n,o,l){return PA(_e(),Ni(),e,n,o,l)}function NA(e,n,o,l,d){return FA(_e(),Ni(),e,n,o,l,d)}function i_(e,n){const o=e[n];return o===Lt?void 0:o}function PA(e,n,o,l,d,u){const h=n+o;return Hn(e,h,d)?Ar(e,h+1,u?l.call(u,d):l(d)):i_(e,h+1)}function FA(e,n,o,l,d,u,h){const p=n+o;return Ba(e,p,d,u)?Ar(e,p+2,h?l.call(h,d,u):l(d,u)):i_(e,p+2)}function jA(e,n){const o=Rt();let l;const d=e+ot;o.firstCreatePass?(l=function RR(e,n){if(n)for(let o=n.length-1;o>=0;o--){const l=n[o];if(e===l.name)return l}}(n,o.pipeRegistry),o.data[d]=l,l.onDestroy&&(o.destroyHooks??=[]).push(d,l.onDestroy)):l=o.data[d];const u=l.factory||(l.factory=_t(l.type)),p=Bn(_d);try{const m=ap(!1),C=u();return ap(m),rl(o,_e(),d,C),C}finally{Bn(p)}}function $A(e,n,o){const l=e+ot,d=_e(),u=ua(d,l);return o_(d,l)?PA(d,Ni(),n,u.transform,o,u):u.transform(o)}function UA(e,n,o,l){const d=e+ot,u=_e(),h=ua(u,d);return o_(u,d)?FA(u,Ni(),n,h.transform,o,l,h):h.transform(o,l)}function HA(e,n,o,l,d){const u=e+ot,h=_e(),p=ua(h,u);return o_(h,u)?function LA(e,n,o,l,d,u,h,p){const m=n+o;return qf(e,m,d,u,h)?Ar(e,m+3,p?l.call(p,d,u,h):l(d,u,h)):i_(e,m+3)}(h,Ni(),n,p.transform,o,l,d,p):p.transform(o,l,d)}function o_(e,n){return e[We].data[n].pure}function zA(e,n){return ld(e,n)}class lO{full;major;minor;patch;constructor(n){this.full=n;const o=n.split(".");this.major=o[0],this.minor=o[1],this.patch=o.slice(2).join(".")}}const lk=new lO("19.2.15");class ck{ngModuleFactory;componentFactories;constructor(n,o){this.ngModuleFactory=n,this.componentFactories=o}}let dk=(()=>{class e{compileModuleSync(o){return new Ed(o)}compileModuleAsync(o){return Promise.resolve(this.compileModuleSync(o))}compileModuleAndAllComponentsSync(o){const l=this.compileModuleSync(o),u=so(_i(o).declarations).reduce((h,p)=>{const m=Xt(p);return m&&h.push(new vd(m)),h},[]);return new ck(l,u)}compileModuleAndAllComponentsAsync(o){return Promise.resolve(this.compileModuleAndAllComponentsSync(o))}clearCache(){}clearCacheFor(o){}getModuleId(o){}static \u0275fac=function(l){return new(l||e)};static \u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hk=(()=>{class e{zone=nt(On);changeDetectionScheduler=nt(xs);applicationRef=nt(co);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(l){return new(l||e)};static \u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wI({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:o}){return e??=()=>new On({...DI(),scheduleInRootZone:o}),[{provide:On,useFactory:e},{provide:go,multi:!0,useFactory:()=>{const l=nt(hk,{optional:!0});return()=>l.initialize()}},{provide:go,multi:!0,useFactory:()=>{const l=nt(mk);return()=>{l.initialize()}}},!0===n?{provide:Ow,useValue:!0}:[],{provide:Z_,useValue:o??Y_}]}function DI(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let mk=(()=>{class e{subscription=new Fn.yU;initialized=!1;zone=nt(On);pendingTasks=nt(ll);initialize(){if(this.initialized)return;this.initialized=!0;let o=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(o=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{On.assertNotInAngularZone(),queueMicrotask(()=>{null!==o&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(o),o=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{On.assertInAngularZone(),o??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(l){return new(l||e)};static \u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),s_=(()=>{class e{appRef=nt(co);taskService=nt(ll);ngZone=nt(On);zonelessEnabled=nt(Eu);tracing=nt(ul,{optional:!0});disableScheduling=nt(Ow,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Fn.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ft):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(nt(Z_,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ec||!this.zoneIsDefined)}notify(o){if(!this.zonelessEnabled&&5===o)return;let l=!1;switch(o){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,l=!0;break;case 12:this.appRef.dirtyFlags|=16,l=!0;break;case 11:l=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(l))return;const d=this.useMicrotaskScheduler?Dc:mp;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>d(()=>this.tick())):this.ngZone.runOutsideAngular(()=>d(()=>this.tick()))}shouldScheduleTick(o){return!(this.disableScheduling&&!o||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ft+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(l){throw this.taskService.remove(o),l}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Dc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const o=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(o)}}static \u0275fac=function(l){return new(l||e)};static \u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const SI=new Ae("",{providedIn:"root",factory:()=>nt(SI,vt.Optional|vt.SkipSelf)||function gk(){return typeof $localize<"u"&&$localize.locale||Pd}()}),_k=new Ae("",{providedIn:"root",factory:()=>"USD"}),Q0=new Ae(""),wk=new Ae("");function a_(e){return!e.moduleRef}let wh=null;function Ik(){}let vO=(()=>class e{static __NG_ELEMENT_ID__=xk})();function xk(e){return function Ak(e,n,o){if(oe(e)&&!o){const l=Ei(e.index,n);return new xf(l,l)}return 175&e.type?new xf(n[xn],n):null}(Yt(),_e(),!(16&~e))}class wO{constructor(){}supports(n){return Kf(n)}create(n){return new Pk(n)}}const Nk=(e,n)=>n;class Pk{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||Nk}forEachItem(n){let o;for(o=this._itHead;null!==o;o=o._next)n(o)}forEachOperation(n){let o=this._itHead,l=this._removalsHead,d=0,u=null;for(;o||l;){const h=!l||o&&o.currentIndex<EO(l,d,u)?o:l,p=EO(h,d,u),m=h.currentIndex;if(h===l)d--,l=l._nextRemoved;else if(o=o._next,null==h.previousIndex)d++;else{u||(u=[]);const C=p-d,S=m-d;if(C!=S){for(let H=0;H<C;H++){const V=H<u.length?u[H]:u[H]=0,ee=V+H;S<=ee&&ee<C&&(u[H]=V+1)}u[h.previousIndex]=S-C}}p!==m&&n(h,p,m)}}forEachPreviousItem(n){let o;for(o=this._previousItHead;null!==o;o=o._nextPrevious)n(o)}forEachAddedItem(n){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)n(o)}forEachMovedItem(n){let o;for(o=this._movesHead;null!==o;o=o._nextMoved)n(o)}forEachRemovedItem(n){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)n(o)}forEachIdentityChange(n){let o;for(o=this._identityChangesHead;null!==o;o=o._nextIdentityChange)n(o)}diff(n){if(null==n&&(n=[]),!Kf(n))throw new j(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let d,u,h,o=this._itHead,l=!1;if(Array.isArray(n)){this.length=n.length;for(let p=0;p<this.length;p++)u=n[p],h=this._trackByFn(p,u),null!==o&&Object.is(o.trackById,h)?(l&&(o=this._verifyReinsertion(o,u,h,p)),Object.is(o.item,u)||this._addIdentityChange(o,u)):(o=this._mismatch(o,u,h,p),l=!0),o=o._next}else d=0,function NS(e,n){if(Array.isArray(e))for(let o=0;o<e.length;o++)n(e[o]);else{const o=e[Symbol.iterator]();let l;for(;!(l=o.next()).done;)n(l.value)}}(n,p=>{h=this._trackByFn(d,p),null!==o&&Object.is(o.trackById,h)?(l&&(o=this._verifyReinsertion(o,p,h,d)),Object.is(o.item,p)||this._addIdentityChange(o,p)):(o=this._mismatch(o,p,h,d),l=!0),o=o._next,d++}),this.length=d;return this._truncate(o),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,o,l,d){let u;return null===n?u=this._itTail:(u=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(n.item,o)||this._addIdentityChange(n,o),this._reinsertAfter(n,u,d)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(l,d))?(Object.is(n.item,o)||this._addIdentityChange(n,o),this._moveAfter(n,u,d)):n=this._addAfter(new Fk(o,l),u,d),n}_verifyReinsertion(n,o,l,d){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==u?n=this._reinsertAfter(u,n._prev,d):n.currentIndex!=d&&(n.currentIndex=d,this._addToMoves(n,d)),n}_truncate(n){for(;null!==n;){const o=n._next;this._addToRemovals(this._unlink(n)),n=o}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,o,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const d=n._prevRemoved,u=n._nextRemoved;return null===d?this._removalsHead=u:d._nextRemoved=u,null===u?this._removalsTail=d:u._prevRemoved=d,this._insertAfter(n,o,l),this._addToMoves(n,l),n}_moveAfter(n,o,l){return this._unlink(n),this._insertAfter(n,o,l),this._addToMoves(n,l),n}_addAfter(n,o,l){return this._insertAfter(n,o,l),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,o,l){const d=null===o?this._itHead:o._next;return n._next=d,n._prev=o,null===d?this._itTail=n:d._prev=n,null===o?this._itHead=n:o._next=n,null===this._linkedRecords&&(this._linkedRecords=new DO),this._linkedRecords.put(n),n.currentIndex=l,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const o=n._prev,l=n._next;return null===o?this._itHead=l:o._next=l,null===l?this._itTail=o:l._prev=o,n}_addToMoves(n,o){return n.previousIndex===o||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new DO),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,o){return n.item=o,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Fk{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,o){this.item=n,this.trackById=o}}class Lk{_head=null;_tail=null;add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,o){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===o||o<=l.currentIndex)&&Object.is(l.trackById,n))return l;return null}remove(n){const o=n._prevDup,l=n._nextDup;return null===o?this._head=l:o._nextDup=l,null===l?this._tail=o:l._prevDup=o,null===this._head}}class DO{map=new Map;put(n){const o=n.trackById;let l=this.map.get(o);l||(l=new Lk,this.map.set(o,l)),l.add(n)}get(n,o){const d=this.map.get(n);return d?d.get(n,o):null}remove(n){const o=n.trackById;return this.map.get(o).remove(n)&&this.map.delete(o),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function EO(e,n,o){const l=e.previousIndex;if(null===l)return l;let d=0;return o&&l<o.length&&(d=o[l]),l+n+d}class SO{constructor(){}supports(n){return n instanceof Map||lg(n)}create(){return new Bk}}class Bk{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let o;for(o=this._mapHead;null!==o;o=o._next)n(o)}forEachPreviousItem(n){let o;for(o=this._previousMapHead;null!==o;o=o._nextPrevious)n(o)}forEachChangedItem(n){let o;for(o=this._changesHead;null!==o;o=o._nextChanged)n(o)}forEachAddedItem(n){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)n(o)}forEachRemovedItem(n){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)n(o)}diff(n){if(n){if(!(n instanceof Map||lg(n)))throw new j(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let o=this._mapHead;if(this._appendAfter=null,this._forEach(n,(l,d)=>{if(o&&o.key===d)this._maybeAddToChanges(o,l),this._appendAfter=o,o=o._next;else{const u=this._getOrCreateRecordForKey(d,l);o=this._insertBeforeOrAppend(o,u)}}),o){o._prev&&(o._prev._next=null),this._removalsHead=o;for(let l=o;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,o){if(n){const l=n._prev;return o._next=n,o._prev=l,n._prev=o,l&&(l._next=o),n===this._mapHead&&(this._mapHead=o),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=o,o._prev=this._appendAfter):this._mapHead=o,this._appendAfter=o,null}_getOrCreateRecordForKey(n,o){if(this._records.has(n)){const d=this._records.get(n);this._maybeAddToChanges(d,o);const u=d._prev,h=d._next;return u&&(u._next=h),h&&(h._prev=u),d._next=null,d._prev=null,d}const l=new Vk(n);return this._records.set(n,l),l.currentValue=o,this._addToAdditions(l),l}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,o){Object.is(o,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=o,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,o){n instanceof Map?n.forEach(o):Object.keys(n).forEach(l=>o(n[l],l))}}class Vk{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}}function MO(){return new xI([new wO])}let xI=(()=>{class e{factories;static \u0275prov=Wt({token:e,providedIn:"root",factory:MO});constructor(o){this.factories=o}static create(o,l){if(null!=l){const d=l.factories.slice();o=o.concat(d)}return new e(o)}static extend(o){return{provide:e,useFactory:l=>e.create(o,l||MO()),deps:[[e,new ta,new ec]]}}find(o){const l=this.factories.find(d=>d.supports(o));if(null!=l)return l;throw new j(901,!1)}}return e})();function TO(){return new AI([new SO])}let AI=(()=>{class e{static \u0275prov=Wt({token:e,providedIn:"root",factory:TO});factories;constructor(o){this.factories=o}static create(o,l){if(l){const d=l.factories.slice();o=o.concat(d)}return new e(o)}static extend(o){return{provide:e,useFactory:l=>e.create(o,l||TO()),deps:[[e,new ta,new ec]]}}find(o){const l=this.factories.find(d=>d.supports(o));if(l)return l;throw new j(901,!1)}}return e})(),Uk=(()=>{class e{constructor(o){}static \u0275fac=function(l){return new(l||e)(ai(co))};static \u0275mod=Kb({type:e});static \u0275inj=R({})}return e})();function Hk(e){const{rootComponent:n,appProviders:o,platformProviders:l,platformRef:d}=e;gn(8);try{const u=d?.injector??function Tk(e=[]){if(wh)return wh;const n=function mO(e=[],n){return Pi.create({name:n,providers:[{provide:Ja,useValue:"platform"},{provide:Q0,useValue:new Set([()=>wh=null])},...e]})}(e);return wh=n,function SC(){!function Oe(e){$e=e}(()=>{throw new j(600,!1)})}(),function gO(e){const n=e.get(uv,null);Ds(e,()=>{n?.forEach(o=>o())})}(n),n}(l),h=[wI({}),{provide:xs,useExisting:s_},...o||[]];return function hO(e){const n=a_(e)?e.r3Injector:e.moduleRef.injector,o=n.get(On);return o.run(()=>{a_(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const l=n.get(Cr,null);let d;if(o.runOutsideAngular(()=>{d=o.onError.subscribe({next:u=>{l.handleError(u)}})}),a_(e)){const u=()=>n.destroy(),h=e.platformInjector.get(Q0);h.add(u),n.onDestroy(()=>{d.unsubscribe(),h.delete(u)})}else{const u=()=>e.moduleRef.destroy(),h=e.platformInjector.get(Q0);h.add(u),e.moduleRef.onDestroy(()=>{ih(e.allPlatformModules,e.moduleRef),d.unsubscribe(),h.delete(u)})}return function Ek(e,n,o){try{const l=o();return CC(l)?l.catch(d=>{throw n.runOutsideAngular(()=>e.handleError(d)),d}):l}catch(l){throw n.runOutsideAngular(()=>e.handleError(l)),l}}(l,o,()=>{const u=n.get(EC);return u.runInitializers(),u.donePromise.then(()=>{if(function RT(e){"string"==typeof e&&(C0=e.toLowerCase().replace(/_/g,"-"))}(n.get(SI,Pd)||Pd),!n.get(wk,!0))return a_(e)?n.get(co):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(a_(e)){const m=n.get(co);return void 0!==e.rootComponent&&m.bootstrap(e.rootComponent),m}return function Dk(e,n){const o=e.injector.get(co);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(l=>o.bootstrap(l));else{if(!e.instance.ngDoBootstrap)throw new j(-403,!1);e.instance.ngDoBootstrap(o)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({r3Injector:new bS({providers:h,parent:u,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:u,rootComponent:n})}catch(u){return Promise.reject(u)}finally{gn(9)}}function uN(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function fN(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}function ms(e){return function Ht(e){const n=L(null);try{return e()}finally{L(n)}}(e)}function c_(e,n){return Ot(e,n?.equal)}class _N{[B];constructor(n){this[B]=n}destroy(){this[B].destroy()}}function RI(e,n){!n?.injector&&Es();const o=n?.injector??nt(Pi);let d,l=!0!==n?.manualCleanup?o.get(ns):null;const u=o.get(Ap,null,{optional:!0}),h=o.get(xs);return null===u||n?.forceRoot?d=function CN(e,n,o){const l=Object.create(vN);return l.fn=e,l.scheduler=n,l.notifier=o,l.zone=typeof Zone<"u"?Zone.current:null,l.scheduler.schedule(l),l.notifier.notify(12),l}(e,o.get(bC),h):(d=function bN(e,n,o){const l=Object.create(yN);return l.view=e,l.zone=typeof Zone<"u"?Zone.current:null,l.notifier=n,l.fn=o,e[Lo]??=new Set,e[Lo].add(l),l.consumerMarkedDirty(l),l}(u.view,h,e),l instanceof Aw&&l._lView===u.view&&(l=null)),d.injector=o,null!==l&&(d.onDestroyFn=l.onDestroy(()=>d.destroy())),new _N(d)}const $O={...ne,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Su,run(){if(this.dirty=!1,this.hasRun&&!ke(this))return;this.hasRun=!0;const e=l=>(this.cleanupFns??=[]).push(l),n=gt(this),o=fu(!1);try{this.maybeCleanup(),this.fn(e)}finally{fu(o),xt(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},vN={...$O,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){se(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}},yN={...$O,consumerMarkedDirty(){this.view[Ct]|=8192,fa(this.view),this.notifier.notify(13)},destroy(){se(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Lo]?.delete(this)}};function kN(e,n){const o=Xt(e),l=n.elementInjector||Zo();return new vd(o).create(l,n.projectableNodes,n.hostElement,n.environmentInjector)}function NN(e){const n=Xt(e);if(!n)return null;const o=new vd(n);return{get selector(){return o.selector},get type(){return o.componentType},get inputs(){return o.inputs},get outputs(){return o.outputs},get ngContentSelectors(){return o.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}},1397:(Ke,re,w)=>{"use strict";w.d(re,{Z:()=>Z});var E=w(6354),$=w(8750),A=w(9974),W=w(5225),i=w(4360),L=w(8071);function Z(Y,ie,ne=1/0){return(0,L.T)(ie)?Z((P,Ze)=>(0,E.T)((xe,He)=>ie(P,xe,Ze,He))((0,$.Tg)(Y(P,Ze))),ne):("number"==typeof ie&&(ne=ie),(0,A.N)((P,Ze)=>function B(Y,ie,ne,P,Ze,xe,He,ft){const lt=[];let st=0,gt=0,xt=!1;const ke=()=>{xt&&!lt.length&&!st&&ie.complete()},se=De=>st<P?be(De):lt.push(De),be=De=>{xe&&ie.next(De),st++;let Me=!1;(0,$.Tg)(ne(De,gt++)).subscribe((0,i._)(ie,Ge=>{Ze?.(Ge),xe?se(Ge):ie.next(Ge)},()=>{Me=!0},void 0,()=>{if(Me)try{for(st--;lt.length&&st<P;){const Ge=lt.shift();He?(0,W.N)(ie,He,()=>be(Ge)):be(Ge)}ke()}catch(Ge){ie.error(Ge)}}))};return Y.subscribe((0,i._)(ie,se,()=>{xt=!0,ke()})),()=>{ft?.()}}(P,Ze,Y,ne)))}},1413:(Ke,re,w)=>{"use strict";w.d(re,{B:()=>L});var E=w(1985),$=w(8359);const W=(0,w(1853).L)(Y=>function(){Y(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var i=w(7908),B=w(9786);let L=(()=>{class Y extends E.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ne){const P=new Z(this,this);return P.operator=ne,P}_throwIfClosed(){if(this.closed)throw new W}next(ne){(0,B.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const P of this.currentObservers)P.next(ne)}})}error(ne){(0,B.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ne;const{observers:P}=this;for(;P.length;)P.shift().error(ne)}})}complete(){(0,B.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ne}=this;for(;ne.length;)ne.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ne;return(null===(ne=this.observers)||void 0===ne?void 0:ne.length)>0}_trySubscribe(ne){return this._throwIfClosed(),super._trySubscribe(ne)}_subscribe(ne){return this._throwIfClosed(),this._checkFinalizedStatuses(ne),this._innerSubscribe(ne)}_innerSubscribe(ne){const{hasError:P,isStopped:Ze,observers:xe}=this;return P||Ze?$.Kn:(this.currentObservers=null,xe.push(ne),new $.yU(()=>{this.currentObservers=null,(0,i.o)(xe,ne)}))}_checkFinalizedStatuses(ne){const{hasError:P,thrownError:Ze,isStopped:xe}=this;P?ne.error(Ze):xe&&ne.complete()}asObservable(){const ne=new E.c;return ne.source=this,ne}}return Y.create=(ie,ne)=>new Z(ie,ne),Y})();class Z extends L{constructor(ie,ne){super(),this.destination=ie,this.source=ne}next(ie){var ne,P;null===(P=null===(ne=this.destination)||void 0===ne?void 0:ne.next)||void 0===P||P.call(ne,ie)}error(ie){var ne,P;null===(P=null===(ne=this.destination)||void 0===ne?void 0:ne.error)||void 0===P||P.call(ne,ie)}complete(){var ie,ne;null===(ne=null===(ie=this.destination)||void 0===ie?void 0:ie.complete)||void 0===ne||ne.call(ie)}_subscribe(ie){var ne,P;return null!==(P=null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(ie))&&void 0!==P?P:$.Kn}}},1584:(Ke,re,w)=>{"use strict";w.d(re,{O:()=>i});var E=w(1985),$=w(3236),A=w(9470);function i(B=0,L,Z=$.b){let Y=-1;return null!=L&&((0,A.m)(L)?Z=L:Y=L),new E.c(ie=>{let ne=function W(B){return B instanceof Date&&!isNaN(B)}(B)?+B-Z.now():B;ne<0&&(ne=0);let P=0;return Z.schedule(function(){ie.closed||(ie.next(P++),0<=Y?this.schedule(void 0,Y):ie.complete())},ne)})}},1635:(Ke,re,w)=>{"use strict";function P(Q,X,le,pe){return new(le||(le=Promise))(function(Be,Ue){function Mt(un){try{it(pe.next(un))}catch(wt){Ue(wt)}}function vn(un){try{it(pe.throw(un))}catch(wt){Ue(wt)}}function it(un){un.done?Be(un.value):function Le(Be){return Be instanceof le?Be:new le(function(Ue){Ue(Be)})}(un.value).then(Mt,vn)}it((pe=pe.apply(Q,X||[])).next())})}function ke(Q){return this instanceof ke?(this.v=Q,this):new ke(Q)}function se(Q,X,le){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Le,pe=le.apply(Q,X||[]),Be=[];return Le=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Mt("next"),Mt("throw"),Mt("return",function Ue(Ht){return function(ln){return Promise.resolve(ln).then(Ht,wt)}}),Le[Symbol.asyncIterator]=function(){return this},Le;function Mt(Ht,ln){pe[Ht]&&(Le[Ht]=function(tn){return new Promise(function(Zt,Pn){Be.push([Ht,tn,Zt,Pn])>1||vn(Ht,tn)})},ln&&(Le[Ht]=ln(Le[Ht])))}function vn(Ht,ln){try{!function it(Ht){Ht.value instanceof ke?Promise.resolve(Ht.value.v).then(un,wt):Mn(Be[0][2],Ht)}(pe[Ht](ln))}catch(tn){Mn(Be[0][3],tn)}}function un(Ht){vn("next",Ht)}function wt(Ht){vn("throw",Ht)}function Mn(Ht,ln){Ht(ln),Be.shift(),Be.length&&vn(Be[0][0],Be[0][1])}}function De(Q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var le,X=Q[Symbol.asyncIterator];return X?X.call(Q):(Q=function ft(Q){var X="function"==typeof Symbol&&Symbol.iterator,le=X&&Q[X],pe=0;if(le)return le.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&pe>=Q.length&&(Q=void 0),{value:Q&&Q[pe++],done:!Q}}};throw new TypeError(X?"Object is not iterable.":"Symbol.iterator is not defined.")}(Q),le={},pe("next"),pe("throw"),pe("return"),le[Symbol.asyncIterator]=function(){return this},le);function pe(Be){le[Be]=Q[Be]&&function(Ue){return new Promise(function(Mt,vn){!function Le(Be,Ue,Mt,vn){Promise.resolve(vn).then(function(it){Be({value:it,done:Mt})},Ue)}(Mt,vn,(Ue=Q[Be](Ue)).done,Ue.value)})}}}w.d(re,{AQ:()=>se,N3:()=>ke,sH:()=>P,xN:()=>De}),"function"==typeof SuppressedError&&SuppressedError},1680:(Ke,re,w)=>{"use strict";w.d(re,{A:()=>bt,F:()=>be,H:()=>$e,I:()=>Y,a:()=>se});var E=w(1360),$=w(9361),A=w(9536),W=w(4790),i=w(9046),B=w(2476),L=w(2318);let Y=(()=>{class Oe{_platform=(0,E.WQX)(A.P);constructor(){}isDisabled(X){return X.hasAttribute("disabled")}isVisible(X){return function ne(Oe){return!!(Oe.offsetWidth||Oe.offsetHeight||"function"==typeof Oe.getClientRects&&Oe.getClientRects().length)}(X)&&"visible"===getComputedStyle(X).visibility}isTabbable(X){if(!this._platform.isBrowser)return!1;const le=function ie(Oe){try{return Oe.frameElement}catch{return null}}(function ke(Oe){return Oe.ownerDocument&&Oe.ownerDocument.defaultView||window}(X));if(le&&(-1===st(le)||!this.isVisible(le)))return!1;let pe=X.nodeName.toLowerCase(),Le=st(X);return X.hasAttribute("contenteditable")?-1!==Le:!("iframe"===pe||"object"===pe||this._platform.WEBKIT&&this._platform.IOS&&!function gt(Oe){let Q=Oe.nodeName.toLowerCase(),X="input"===Q&&Oe.type;return"text"===X||"password"===X||"select"===Q||"textarea"===Q}(X))&&("audio"===pe?!!X.hasAttribute("controls")&&-1!==Le:"video"===pe?-1!==Le&&(null!==Le||this._platform.FIREFOX||X.hasAttribute("controls")):X.tabIndex>=0)}isFocusable(X,le){return function xt(Oe){return!function Ze(Oe){return function He(Oe){return"input"==Oe.nodeName.toLowerCase()}(Oe)&&"hidden"==Oe.type}(Oe)&&(function P(Oe){let Q=Oe.nodeName.toLowerCase();return"input"===Q||"select"===Q||"button"===Q||"textarea"===Q}(Oe)||function xe(Oe){return function ft(Oe){return"a"==Oe.nodeName.toLowerCase()}(Oe)&&Oe.hasAttribute("href")}(Oe)||Oe.hasAttribute("contenteditable")||lt(Oe))}(X)&&!this.isDisabled(X)&&(le?.ignoreVisibility||this.isVisible(X))}static \u0275fac=function(le){return new(le||Oe)};static \u0275prov=E.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})();function lt(Oe){if(!Oe.hasAttribute("tabindex")||void 0===Oe.tabIndex)return!1;let Q=Oe.getAttribute("tabindex");return!(!Q||isNaN(parseInt(Q,10)))}function st(Oe){if(!lt(Oe))return null;const Q=parseInt(Oe.getAttribute("tabindex")||"",10);return isNaN(Q)?-1:Q}class se{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(Q){this._enabled=Q,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Q,this._startAnchor),this._toggleAnchorTabIndex(Q,this._endAnchor))}_enabled=!0;constructor(Q,X,le,pe,Le=!1,Be){this._element=Q,this._checker=X,this._ngZone=le,this._document=pe,this._injector=Be,Le||this.attachAnchors()}destroy(){const Q=this._startAnchor,X=this._endAnchor;Q&&(Q.removeEventListener("focus",this.startAnchorListener),Q.remove()),X&&(X.removeEventListener("focus",this.endAnchorListener),X.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(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(Q){return new Promise(X=>{this._executeOnStable(()=>X(this.focusInitialElement(Q)))})}focusFirstTabbableElementWhenReady(Q){return new Promise(X=>{this._executeOnStable(()=>X(this.focusFirstTabbableElement(Q)))})}focusLastTabbableElementWhenReady(Q){return new Promise(X=>{this._executeOnStable(()=>X(this.focusLastTabbableElement(Q)))})}_getRegionBoundary(Q){const X=this._element.querySelectorAll(`[cdk-focus-region-${Q}], [cdkFocusRegion${Q}], [cdk-focus-${Q}]`);return"start"==Q?X.length?X[0]:this._getFirstTabbableElement(this._element):X.length?X[X.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Q){const X=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(X){if(!this._checker.isFocusable(X)){const le=this._getFirstTabbableElement(X);return le?.focus(Q),!!le}return X.focus(Q),!0}return this.focusFirstTabbableElement(Q)}focusFirstTabbableElement(Q){const X=this._getRegionBoundary("start");return X&&X.focus(Q),!!X}focusLastTabbableElement(Q){const X=this._getRegionBoundary("end");return X&&X.focus(Q),!!X}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Q){if(this._checker.isFocusable(Q)&&this._checker.isTabbable(Q))return Q;const X=Q.children;for(let le=0;le<X.length;le++){const pe=X[le].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(X[le]):null;if(pe)return pe}return null}_getLastTabbableElement(Q){if(this._checker.isFocusable(Q)&&this._checker.isTabbable(Q))return Q;const X=Q.children;for(let le=X.length-1;le>=0;le--){const pe=X[le].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(X[le]):null;if(pe)return pe}return null}_createAnchor(){const Q=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Q),Q.classList.add("cdk-visually-hidden"),Q.classList.add("cdk-focus-trap-anchor"),Q.setAttribute("aria-hidden","true"),Q}_toggleAnchorTabIndex(Q,X){Q?X.setAttribute("tabindex","0"):X.removeAttribute("tabindex")}toggleAnchors(Q){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Q,this._startAnchor),this._toggleAnchorTabIndex(Q,this._endAnchor))}_executeOnStable(Q){this._injector?(0,E.mal)(Q,{injector:this._injector}):setTimeout(Q)}}let be=(()=>{class Oe{_checker=(0,E.WQX)(Y);_ngZone=(0,E.WQX)(E.SKi);_document=(0,E.WQX)($.q);_injector=(0,E.WQX)(E.zZn);constructor(){(0,E.WQX)(W._).load(i.Y)}create(X,le=!1){return new se(X,this._checker,this._ngZone,this._document,le,this._injector)}static \u0275fac=function(le){return new(le||Oe)};static \u0275prov=E.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})();var rn=function(Oe){return Oe[Oe.NONE=0]="NONE",Oe[Oe.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Oe[Oe.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Oe}(rn||{});const he="cdk-high-contrast-black-on-white",Te="cdk-high-contrast-white-on-black",Ee="cdk-high-contrast-active";let $e=(()=>{class Oe{_platform=(0,E.WQX)(A.P);_hasCheckedHighContrastMode;_document=(0,E.WQX)($.q);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,E.WQX)(B.B).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return rn.NONE;const X=this._document.createElement("div");X.style.backgroundColor="rgb(1,2,3)",X.style.position="absolute",this._document.body.appendChild(X);const le=this._document.defaultView||window,pe=le&&le.getComputedStyle?le.getComputedStyle(X):null,Le=(pe&&pe.backgroundColor||"").replace(/ /g,"");switch(X.remove(),Le){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return rn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return rn.BLACK_ON_WHITE}return rn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const X=this._document.body.classList;X.remove(Ee,he,Te),this._hasCheckedHighContrastMode=!0;const le=this.getHighContrastMode();le===rn.BLACK_ON_WHITE?X.add(Ee,he):le===rn.WHITE_ON_BLACK&&X.add(Ee,Te)}}static \u0275fac=function(le){return new(le||Oe)};static \u0275prov=E.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})(),bt=(()=>{class Oe{constructor(){(0,E.WQX)($e)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(le){return new(le||Oe)};static \u0275mod=E.$C({type:Oe});static \u0275inj=E.G2t({imports:[L.w5]})}return Oe})()},1845:(Ke,re,w)=>{"use strict";w.d(re,{D:()=>L});var E=w(1360),$=w(9361);const A=new E.nKC("cdk-dir-doc",{providedIn:"root",factory:function W(){return(0,E.WQX)($.q)}}),i=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let L=(()=>{class Z{value="ltr";change=new E.bkB;constructor(){const ie=(0,E.WQX)(A,{optional:!0});ie&&(this.value=function B(Z){const Y=Z?.toLowerCase()||"";return"auto"===Y&&typeof navigator<"u"&&navigator?.language?i.test(navigator.language)?"rtl":"ltr":"rtl"===Y?"rtl":"ltr"}((ie.body?ie.body.dir:null)||(ie.documentElement?ie.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(ne){return new(ne||Z)};static \u0275prov=E.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})()},1853:(Ke,re,w)=>{"use strict";function E($){const W=$(i=>{Error.call(i),i.stack=(new Error).stack});return W.prototype=Object.create(Error.prototype),W.prototype.constructor=W,W}w.d(re,{L:()=>E})},1959:(Ke,re,w)=>{"use strict";function E($){return Array.isArray($)?$:[$]}w.d(re,{c:()=>E})},1985:(Ke,re,w)=>{"use strict";w.d(re,{c:()=>Z});var E=w(7707),$=w(8359),A=w(3494),W=w(1203),i=w(1026),B=w(8071),L=w(9786);let Z=(()=>{class P{constructor(xe){xe&&(this._subscribe=xe)}lift(xe){const He=new P;return He.source=this,He.operator=xe,He}subscribe(xe,He,ft){const lt=function ne(P){return P&&P instanceof E.vU||function ie(P){return P&&(0,B.T)(P.next)&&(0,B.T)(P.error)&&(0,B.T)(P.complete)}(P)&&(0,$.Uv)(P)}(xe)?xe:new E.Ms(xe,He,ft);return(0,L.Y)(()=>{const{operator:st,source:gt}=this;lt.add(st?st.call(lt,gt):gt?this._subscribe(lt):this._trySubscribe(lt))}),lt}_trySubscribe(xe){try{return this._subscribe(xe)}catch(He){xe.error(He)}}forEach(xe,He){return new(He=Y(He))((ft,lt)=>{const st=new E.Ms({next:gt=>{try{xe(gt)}catch(xt){lt(xt),st.unsubscribe()}},error:lt,complete:ft});this.subscribe(st)})}_subscribe(xe){var He;return null===(He=this.source)||void 0===He?void 0:He.subscribe(xe)}[A.s](){return this}pipe(...xe){return(0,W.m)(xe)(this)}toPromise(xe){return new(xe=Y(xe))((He,ft)=>{let lt;this.subscribe(st=>lt=st,st=>ft(st),()=>He(lt))})}}return P.create=Ze=>new P(Ze),P})();function Y(P){var Ze;return null!==(Ze=P??i.$.Promise)&&void 0!==Ze?Ze:Promise}},2318:(Ke,re,w)=>{"use strict";w.d(re,{w5:()=>B});var E=w(1360);let A=(()=>{class L{create(Y){return typeof MutationObserver>"u"?null:new MutationObserver(Y)}static \u0275fac=function(ie){return new(ie||L)};static \u0275prov=E.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}return L})(),B=(()=>{class L{static \u0275fac=function(ie){return new(ie||L)};static \u0275mod=E.$C({type:L});static \u0275inj=E.G2t({providers:[A]})}return L})()},2350:(Ke,re,w)=>{"use strict";w.d(re,{nX:()=>bs,Pu:()=>It,Zp:()=>pn,nU:()=>Ie,c1:()=>Jl,XR:()=>xn,wF:()=>Ve,lW:()=>hn,mo:()=>pt,Z:()=>Fe,J2:()=>Jo,J_:()=>Kt,bw:()=>Qn,tD:()=>d_,Ix:()=>ot,D$:()=>Kn,n3:()=>Zl,OY:()=>T,Sd:()=>ye,bK:()=>_r,gk:()=>Lo,Lg:()=>aa,wO:()=>ri,Us:()=>k,we:()=>Dh});var E=w(9361),$=w(6048),A=w(1360),W=w(4402),i=w(6648),B=w(7673),L=w(4412),Z=w(4572);const ie=(0,w(1853).L)(_=>function(){_(this),this.name="EmptyError",this.message="no elements in sequence"});var ne=w(8793),P=w(9030),Ze=w(1203),xe=w(8810),He=w(983),ft=w(1985),lt=w(8359),st=w(9974),gt=w(4360);function xt(){return(0,st.N)((_,y)=>{let v=null;_._refCount++;const b=(0,gt._)(y,void 0,void 0,void 0,()=>{if(!_||_._refCount<=0||0<--_._refCount)return void(v=null);const M=_._connection,F=v;v=null,M&&(!F||M===F)&&M.unsubscribe(),y.unsubscribe()});_.subscribe(b),b.closed||(v=_.connect())})}class ke extends ft.c{constructor(y,v){super(),this.source=y,this.subjectFactory=v,this._subject=null,this._refCount=0,this._connection=null,(0,st.S)(y)&&(this.lift=y.lift)}_subscribe(y){return this.getSubject().subscribe(y)}getSubject(){const y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:y}=this;this._subject=this._connection=null,y?.unsubscribe()}connect(){let y=this._connection;if(!y){y=this._connection=new lt.yU;const v=this.getSubject();y.add(this.source.subscribe((0,gt._)(v,void 0,()=>{this._teardown(),v.complete()},b=>{this._teardown(),v.error(b)},()=>this._teardown()))),y.closed&&(this._connection=null,y=lt.yU.EMPTY)}return y}refCount(){return xt()(this)}}var se=w(1413),be=w(6354),De=w(5558),Me=w(6697),Ge=w(9172),ct=w(5964),at=w(1397);function Ot(_){return(0,st.N)((y,v)=>{let b=!1;y.subscribe((0,gt._)(v,M=>{b=!0,v.next(M)},()=>{b||v.next(_),v.complete()}))})}function yt(_=rn){return(0,st.N)((y,v)=>{let b=!1;y.subscribe((0,gt._)(v,M=>{b=!0,v.next(M)},()=>b?v.complete():v.error(_())))})}function rn(){return new ie}var he=w(3669);function Te(_,y){const v=arguments.length>=2;return b=>b.pipe(_?(0,ct.p)((M,F)=>_(M,F,b)):he.D,(0,Me.s)(1),v?Ot(y):yt(()=>new ie))}var Ee=w(274),$e=w(8141),bt=w(9437);function X(_){return _<=0?()=>He.w:(0,st.N)((y,v)=>{let b=[];y.subscribe((0,gt._)(v,M=>{b.push(M),_<b.length&&b.shift()},()=>{for(const M of b)v.next(M);v.complete()},void 0,()=>{b=null}))})}var pe=w(980),Le=w(6977),Be=w(345);const Ue="primary",Mt=Symbol("RouteTitle");class vn{params;constructor(y){this.params=y||{}}has(y){return Object.prototype.hasOwnProperty.call(this.params,y)}get(y){if(this.has(y)){const v=this.params[y];return Array.isArray(v)?v[0]:v}return null}getAll(y){if(this.has(y)){const v=this.params[y];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function it(_){return new vn(_)}function un(_,y,v){const b=v.path.split("/");if(b.length>_.length||"full"===v.pathMatch&&(y.hasChildren()||b.length<_.length))return null;const M={};for(let F=0;F<b.length;F++){const N=b[F],oe=_[F];if(":"===N[0])M[N.substring(1)]=oe;else if(N!==oe.path)return null}return{consumed:_.slice(0,b.length),posParams:M}}function Mn(_,y){const v=_?Ht(_):void 0,b=y?Ht(y):void 0;if(!v||!b||v.length!=b.length)return!1;let M;for(let F=0;F<v.length;F++)if(M=v[F],!ln(_[M],y[M]))return!1;return!0}function Ht(_){return[...Object.keys(_),...Object.getOwnPropertySymbols(_)]}function ln(_,y){if(Array.isArray(_)&&Array.isArray(y)){if(_.length!==y.length)return!1;const v=[..._].sort(),b=[...y].sort();return v.every((M,F)=>b[F]===M)}return _===y}function tn(_){return _.length>0?_[_.length-1]:null}function Zt(_){return(0,W.A)(_)?_:(0,A.jNT)(_)?(0,i.H)(Promise.resolve(_)):(0,B.of)(_)}const Pn={exact:function Vi(_,y,v){if(!mt(_.segments,y.segments)||!Ne(_.segments,y.segments,v)||_.numberOfChildren!==y.numberOfChildren)return!1;for(const b in y.children)if(!_.children[b]||!Vi(_.children[b],y.children[b],v))return!1;return!0},subset:Xi},Wi={exact:function xi(_,y){return Mn(_,y)},subset:function Fn(_,y){return Object.keys(y).length<=Object.keys(_).length&&Object.keys(y).every(v=>ln(_[v],y[v]))},ignored:()=>!0};function hi(_,y,v){return Pn[v.paths](_.root,y.root,v.matrixParams)&&Wi[v.queryParams](_.queryParams,y.queryParams)&&!("exact"===v.fragment&&_.fragment!==y.fragment)}function Xi(_,y,v){return tt(_,y,y.segments,v)}function tt(_,y,v,b){if(_.segments.length>v.length){const M=_.segments.slice(0,v.length);return!(!mt(M,v)||y.hasChildren()||!Ne(M,v,b))}if(_.segments.length===v.length){if(!mt(_.segments,v)||!Ne(_.segments,v,b))return!1;for(const M in y.children)if(!_.children[M]||!Xi(_.children[M],y.children[M],b))return!1;return!0}{const M=v.slice(0,_.segments.length),F=v.slice(_.segments.length);return!!(mt(_.segments,M)&&Ne(_.segments,M,b)&&_.children[Ue])&&tt(_.children[Ue],y,F,b)}}function Ne(_,y,v){return y.every((b,M)=>Wi[v](_[M].parameters,b.parameters))}class j{root;queryParams;fragment;_queryParamMap;constructor(y=new ae([],{}),v={},b=null){this.root=y,this.queryParams=v,this.fragment=b}get queryParamMap(){return this._queryParamMap??=it(this.queryParams),this._queryParamMap}toString(){return zt.serialize(this)}}class ae{segments;children;parent=null;constructor(y,v){this.segments=y,this.children=v,Object.values(v).forEach(b=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $t(this)}}class ze{path;parameters;_parameterMap;constructor(y,v){this.path=y,this.parameters=v}get parameterMap(){return this._parameterMap??=it(this.parameters),this._parameterMap}toString(){return Wo(this)}}function mt(_,y){return _.length===y.length&&_.every((v,b)=>v.path===y[b].path)}let ye=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275prov=A.jDH({token:_,factory:()=>new Ie,providedIn:"root"})}return _})();class Ie{parse(y){const v=new jr(y);return new j(v.parseRootSegment(),v.parseQueryParams(),v.parseFragment())}serialize(y){const v=`/${Gt(y.root,!0)}`,b=function Vr(_){const y=Object.entries(_).map(([v,b])=>Array.isArray(b)?b.map(M=>`${Qi(v)}=${Qi(M)}`).join("&"):`${Qi(v)}=${Qi(b)}`).filter(v=>v);return y.length?`?${y.join("&")}`:""}(y.queryParams);return`${v}${b}${"string"==typeof y.fragment?`#${function uo(_){return encodeURI(_)}(y.fragment)}`:""}`}}const zt=new Ie;function $t(_){return _.segments.map(y=>Wo(y)).join("/")}function Gt(_,y){if(!_.hasChildren())return $t(_);if(y){const v=_.children[Ue]?Gt(_.children[Ue],!1):"",b=[];return Object.entries(_.children).forEach(([M,F])=>{M!==Ue&&b.push(`${M}:${Gt(F,!1)}`)}),b.length>0?`${v}(${b.join("//")})`:v}{const v=function q(_,y){let v=[];return Object.entries(_.children).forEach(([b,M])=>{b===Ue&&(v=v.concat(y(M,b)))}),Object.entries(_.children).forEach(([b,M])=>{b!==Ue&&(v=v.concat(y(M,b)))}),v}(_,(b,M)=>M===Ue?[Gt(_.children[Ue],!1)]:[`${M}:${Gt(b,!1)}`]);return 1===Object.keys(_.children).length&&null!=_.children[Ue]?`${$t(_)}/${v[0]}`:`${$t(_)}/(${v.join("//")})`}}function Ai(_){return encodeURIComponent(_).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qi(_){return Ai(_).replace(/%3B/gi,";")}function Lr(_){return Ai(_).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Cn(_){return decodeURIComponent(_)}function Br(_){return Cn(_.replace(/\+/g,"%20"))}function Wo(_){return`${Lr(_.path)}${function Ut(_){return Object.entries(_).map(([y,v])=>`;${Lr(y)}=${Lr(v)}`).join("")}(_.parameters)}`}const wn=/^[^\/()?;#]+/;function Ki(_){const y=_.match(wn);return y?y[0]:""}const gs=/^[^\/()?;=#]+/,fo=/^[^=?&#]+/,pi=/^[^&#]+/;class jr{url;remaining;constructor(y){this.url=y,this.remaining=y}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ae([],{}):new ae([],this.parseChildren())}parseQueryParams(){const y={};if(this.consumeOptional("?"))do{this.parseQueryParam(y)}while(this.consumeOptional("&"));return y}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const y=[];for(this.peekStartsWith("(")||y.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),y.push(this.parseSegment());let v={};this.peekStartsWith("/(")&&(this.capture("/"),v=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(y.length>0||Object.keys(v).length>0)&&(b[Ue]=new ae(y,v)),b}parseSegment(){const y=Ki(this.remaining);if(""===y&&this.peekStartsWith(";"))throw new A.wOt(4009,!1);return this.capture(y),new ze(Cn(y),this.parseMatrixParams())}parseMatrixParams(){const y={};for(;this.consumeOptional(";");)this.parseParam(y);return y}parseParam(y){const v=function Xo(_){const y=_.match(gs);return y?y[0]:""}(this.remaining);if(!v)return;this.capture(v);let b="";if(this.consumeOptional("=")){const M=Ki(this.remaining);M&&(b=M,this.capture(b))}y[Cn(v)]=Cn(b)}parseQueryParam(y){const v=function Et(_){const y=_.match(fo);return y?y[0]:""}(this.remaining);if(!v)return;this.capture(v);let b="";if(this.consumeOptional("=")){const N=function yn(_){const y=_.match(pi);return y?y[0]:""}(this.remaining);N&&(b=N,this.capture(b))}const M=Br(v),F=Br(b);if(y.hasOwnProperty(M)){let N=y[M];Array.isArray(N)||(N=[N],y[M]=N),N.push(F)}else y[M]=F}parseParens(y){const v={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=Ki(this.remaining),M=this.remaining[b.length];if("/"!==M&&")"!==M&&";"!==M)throw new A.wOt(4010,!1);let F;b.indexOf(":")>-1?(F=b.slice(0,b.indexOf(":")),this.capture(F),this.capture(":")):y&&(F=Ue);const N=this.parseChildren();v[F]=1===Object.keys(N).length?N[Ue]:new ae([],N),this.consumeOptional("//")}return v}peekStartsWith(y){return this.remaining.startsWith(y)}consumeOptional(y){return!!this.peekStartsWith(y)&&(this.remaining=this.remaining.substring(y.length),!0)}capture(y){if(!this.consumeOptional(y))throw new A.wOt(4011,!1)}}function Qo(_){return _.segments.length>0?new ae([],{[Ue]:_}):_}function Ko(_){const y={};for(const[b,M]of Object.entries(_.children)){const F=Ko(M);if(b===Ue&&0===F.segments.length&&F.hasChildren())for(const[N,oe]of Object.entries(F.children))y[N]=oe;else(F.segments.length>0||F.hasChildren())&&(y[b]=F)}return function Ln(_){if(1===_.numberOfChildren&&_.children[Ue]){const y=_.children[Ue];return new ae(_.segments.concat(y.segments),y.children)}return _}(new ae(_.segments,y))}function ri(_){return _ instanceof j}function Yi(_){let y;const M=Qo(function v(F){const N={};for(const Se of F.children){const Ye=v(Se);N[Se.outlet]=Ye}const oe=new ae(F.url,N);return F===_&&(y=oe),oe}(_.root));return y??M}function Di(_,y,v,b){let M=_;for(;M.parent;)M=M.parent;if(0===y.length)return xo(M,M,M,v,b);const F=function ur(_){if("string"==typeof _[0]&&1===_.length&&"/"===_[0])return new ht(!0,0,_);let y=0,v=!1;const b=_.reduce((M,F,N)=>{if("object"==typeof F&&null!=F){if(F.outlets){const oe={};return Object.entries(F.outlets).forEach(([Se,Ye])=>{oe[Se]="string"==typeof Ye?Ye.split("/"):Ye}),[...M,{outlets:oe}]}if(F.segmentPath)return[...M,F.segmentPath]}return"string"!=typeof F?[...M,F]:0===N?(F.split("/").forEach((oe,Se)=>{0==Se&&"."===oe||(0==Se&&""===oe?v=!0:".."===oe?y++:""!=oe&&M.push(oe))}),M):[...M,F]},[]);return new ht(v,y,b)}(y);if(F.toRoot())return xo(M,M,new ae([],{}),v,b);const N=function _s(_,y,v){if(_.isAbsolute)return new ho(y,!0,0);if(!v)return new ho(y,!1,NaN);if(null===v.parent)return new ho(v,!0,0);const b=fn(_.commands[0])?0:1;return function vs(_,y,v){let b=_,M=y,F=v;for(;F>M;){if(F-=M,b=b.parent,!b)throw new A.wOt(4005,!1);M=b.segments.length}return new ho(b,!1,M-F)}(v,v.segments.length-1+b,_.numberOfDoubleDots)}(F,M,_),oe=N.processChildren?qo(N.segmentGroup,N.index,F.commands):Wt(N.segmentGroup,N.index,F.commands);return xo(M,N.segmentGroup,oe,v,b)}function fn(_){return"object"==typeof _&&null!=_&&!_.outlets&&!_.segmentPath}function Bt(_){return"object"==typeof _&&null!=_&&_.outlets}function xo(_,y,v,b,M){let N,F={};b&&Object.entries(b).forEach(([Se,Ye])=>{F[Se]=Array.isArray(Ye)?Ye.map(Nt=>`${Nt}`):`${Ye}`}),N=_===y?v:jn(_,y,v);const oe=Qo(Ko(N));return new j(oe,F,M)}function jn(_,y,v){const b={};return Object.entries(_.children).forEach(([M,F])=>{b[M]=F===y?v:jn(F,y,v)}),new ae(_.segments,b)}class ht{isAbsolute;numberOfDoubleDots;commands;constructor(y,v,b){if(this.isAbsolute=y,this.numberOfDoubleDots=v,this.commands=b,y&&b.length>0&&fn(b[0]))throw new A.wOt(4003,!1);const M=b.find(Bt);if(M&&M!==tn(b))throw new A.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ho{segmentGroup;processChildren;index;constructor(y,v,b){this.segmentGroup=y,this.processChildren=v,this.index=b}}function Wt(_,y,v){if(_??=new ae([],{}),0===_.segments.length&&_.hasChildren())return qo(_,y,v);const b=function R(_,y,v){let b=0,M=y;const F={match:!1,pathIndex:0,commandIndex:0};for(;M<_.segments.length;){if(b>=v.length)return F;const N=_.segments[M],oe=v[b];if(Bt(oe))break;const Se=`${oe}`,Ye=b<v.length-1?v[b+1]:null;if(M>0&&void 0===Se)break;if(Se&&Ye&&"object"==typeof Ye&&void 0===Ye.outlets){if(!ve(Se,Ye,N))return F;b+=2}else{if(!ve(Se,{},N))return F;b++}M++}return{match:!0,pathIndex:M,commandIndex:b}}(_,y,v),M=v.slice(b.commandIndex);if(b.match&&b.pathIndex<_.segments.length){const F=new ae(_.segments.slice(0,b.pathIndex),{});return F.children[Ue]=new ae(_.segments.slice(b.pathIndex),_.children),qo(F,0,M)}return b.match&&0===M.length?new ae(_.segments,{}):b.match&&!_.hasChildren()?U(_,y,v):b.match?qo(_,0,M):U(_,y,v)}function qo(_,y,v){if(0===v.length)return new ae(_.segments,{});{const b=function Zn(_){return Bt(_[0])?_[0].outlets:{[Ue]:_}}(v),M={};if(Object.keys(b).some(F=>F!==Ue)&&_.children[Ue]&&1===_.numberOfChildren&&0===_.children[Ue].segments.length){const F=qo(_.children[Ue],y,v);return new ae(_.segments,F.children)}return Object.entries(b).forEach(([F,N])=>{"string"==typeof N&&(N=[N]),null!==N&&(M[F]=Wt(_.children[F],y,N))}),Object.entries(_.children).forEach(([F,N])=>{void 0===b[F]&&(M[F]=N)}),new ae(_.segments,M)}}function U(_,y,v){const b=_.segments.slice(0,y);let M=0;for(;M<v.length;){const F=v[M];if(Bt(F)){const Se=te(F.outlets);return new ae(b,Se)}if(0===M&&fn(v[0])){b.push(new ze(_.segments[y].path,ce(v[0]))),M++;continue}const N=Bt(F)?F.outlets[Ue]:`${F}`,oe=M<v.length-1?v[M+1]:null;N&&oe&&fn(oe)?(b.push(new ze(N,ce(oe))),M+=2):(b.push(new ze(N,{})),M++)}return new ae(b,{})}function te(_){const y={};return Object.entries(_).forEach(([v,b])=>{"string"==typeof b&&(b=[b]),null!==b&&(y[v]=U(new ae([],{}),0,b))}),y}function ce(_){const y={};return Object.entries(_).forEach(([v,b])=>y[v]=`${b}`),y}function ve(_,y,v){return _==v.path&&Mn(y,v.parameters)}const fe="imperative";var ue=function(_){return _[_.NavigationStart=0]="NavigationStart",_[_.NavigationEnd=1]="NavigationEnd",_[_.NavigationCancel=2]="NavigationCancel",_[_.NavigationError=3]="NavigationError",_[_.RoutesRecognized=4]="RoutesRecognized",_[_.ResolveStart=5]="ResolveStart",_[_.ResolveEnd=6]="ResolveEnd",_[_.GuardsCheckStart=7]="GuardsCheckStart",_[_.GuardsCheckEnd=8]="GuardsCheckEnd",_[_.RouteConfigLoadStart=9]="RouteConfigLoadStart",_[_.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",_[_.ChildActivationStart=11]="ChildActivationStart",_[_.ChildActivationEnd=12]="ChildActivationEnd",_[_.ActivationStart=13]="ActivationStart",_[_.ActivationEnd=14]="ActivationEnd",_[_.Scroll=15]="Scroll",_[_.NavigationSkipped=16]="NavigationSkipped",_}(ue||{});class Re{id;url;constructor(y,v){this.id=y,this.url=v}}class Fe extends Re{type=ue.NavigationStart;navigationTrigger;restoredState;constructor(y,v,b="imperative",M=null){super(y,v),this.navigationTrigger=b,this.restoredState=M}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ve extends Re{urlAfterRedirects;type=ue.NavigationEnd;constructor(y,v,b){super(y,v),this.urlAfterRedirects=b}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ae=function(_){return _[_.Redirect=0]="Redirect",_[_.SupersededByNewNavigation=1]="SupersededByNewNavigation",_[_.NoDataFromResolver=2]="NoDataFromResolver",_[_.GuardRejected=3]="GuardRejected",_}(Ae||{}),pt=function(_){return _[_.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",_[_.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",_}(pt||{});class Dt extends Re{reason;code;type=ue.NavigationCancel;constructor(y,v,b,M){super(y,v),this.reason=b,this.code=M}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hn extends Re{reason;code;type=ue.NavigationSkipped;constructor(y,v,b,M){super(y,v),this.reason=b,this.code=M}}class si extends Re{error;target;type=ue.NavigationError;constructor(y,v,b,M){super(y,v),this.error=b,this.target=M}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class mi extends Re{urlAfterRedirects;state;type=ue.RoutesRecognized;constructor(y,v,b,M){super(y,v),this.urlAfterRedirects=b,this.state=M}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zi extends Re{urlAfterRedirects;state;type=ue.GuardsCheckStart;constructor(y,v,b,M){super(y,v),this.urlAfterRedirects=b,this.state=M}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ji extends Re{urlAfterRedirects;state;shouldActivate;type=ue.GuardsCheckEnd;constructor(y,v,b,M,F){super(y,v),this.urlAfterRedirects=b,this.state=M,this.shouldActivate=F}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class fr extends Re{urlAfterRedirects;state;type=ue.ResolveStart;constructor(y,v,b,M){super(y,v),this.urlAfterRedirects=b,this.state=M}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xa extends Re{urlAfterRedirects;state;type=ue.ResolveEnd;constructor(y,v,b,M){super(y,v),this.urlAfterRedirects=b,this.state=M}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hr{route;type=ue.RouteConfigLoadStart;constructor(y){this.route=y}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Qa{route;type=ue.RouteConfigLoadEnd;constructor(y){this.route=y}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ys{snapshot;type=ue.ChildActivationStart;constructor(y){this.snapshot=y}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $r{snapshot;type=ue.ChildActivationEnd;constructor(y){this.snapshot=y}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ka{snapshot;type=ue.ActivationStart;constructor(y){this.snapshot=y}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ea{snapshot;type=ue.ActivationEnd;constructor(y){this.snapshot=y}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class T{routerEvent;position;anchor;type=ue.Scroll;constructor(y,v,b){this.routerEvent=y,this.position=v,this.anchor=b}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class z{}class I{url;navigationBehaviorOptions;constructor(y,v){this.url=y,this.navigationBehaviorOptions=v}}function k(_){switch(_.type){case ue.ActivationEnd:return`ActivationEnd(path: '${_.snapshot.routeConfig?.path||""}')`;case ue.ActivationStart:return`ActivationStart(path: '${_.snapshot.routeConfig?.path||""}')`;case ue.ChildActivationEnd:return`ChildActivationEnd(path: '${_.snapshot.routeConfig?.path||""}')`;case ue.ChildActivationStart:return`ChildActivationStart(path: '${_.snapshot.routeConfig?.path||""}')`;case ue.GuardsCheckEnd:return`GuardsCheckEnd(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}', state: ${_.state}, shouldActivate: ${_.shouldActivate})`;case ue.GuardsCheckStart:return`GuardsCheckStart(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}', state: ${_.state})`;case ue.NavigationCancel:return`NavigationCancel(id: ${_.id}, url: '${_.url}')`;case ue.NavigationSkipped:return`NavigationSkipped(id: ${_.id}, url: '${_.url}')`;case ue.NavigationEnd:return`NavigationEnd(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}')`;case ue.NavigationError:return`NavigationError(id: ${_.id}, url: '${_.url}', error: ${_.error})`;case ue.NavigationStart:return`NavigationStart(id: ${_.id}, url: '${_.url}')`;case ue.ResolveEnd:return`ResolveEnd(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}', state: ${_.state})`;case ue.ResolveStart:return`ResolveStart(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}', state: ${_.state})`;case ue.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${_.route.path})`;case ue.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${_.route.path})`;case ue.RoutesRecognized:return`RoutesRecognized(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}', state: ${_.state})`;case ue.Scroll:return`Scroll(anchor: '${_.anchor}', position: '${_.position?`${_.position[0]}, ${_.position[1]}`:null}')`}}function nn(_){return _.outlet||Ue}function kt(_){if(!_)return null;if(_.routeConfig?._injector)return _.routeConfig._injector;for(let y=_.parent;y;y=y.parent){const v=y.routeConfig;if(v?._loadedInjector)return v._loadedInjector;if(v?._injector)return v._injector}return null}class vt{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return kt(this.route?.snapshot)??this.rootInjector}constructor(y){this.rootInjector=y,this.children=new pn(this.rootInjector)}}let pn=(()=>{class _{rootInjector;contexts=new Map;constructor(v){this.rootInjector=v}onChildOutletCreated(v,b){const M=this.getOrCreateContext(v);M.outlet=b,this.contexts.set(v,M)}onChildOutletDestroyed(v){const b=this.getContext(v);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const v=this.contexts;return this.contexts=new Map,v}onOutletReAttached(v){this.contexts=v}getOrCreateContext(v){let b=this.getContext(v);return b||(b=new vt(this.rootInjector),this.contexts.set(v,b)),b}getContext(v){return this.contexts.get(v)||null}static \u0275fac=function(b){return new(b||_)(A.KVO(A.uvJ))};static \u0275prov=A.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();class $n{_root;constructor(y){this._root=y}get root(){return this._root.value}parent(y){const v=this.pathFromRoot(y);return v.length>1?v[v.length-2]:null}children(y){const v=Bn(y,this._root);return v?v.children.map(b=>b.value):[]}firstChild(y){const v=Bn(y,this._root);return v&&v.children.length>0?v.children[0].value:null}siblings(y){const v=po(y,this._root);return v.length<2?[]:v[v.length-2].children.map(M=>M.value).filter(M=>M!==y)}pathFromRoot(y){return po(y,this._root).map(v=>v.value)}}function Bn(_,y){if(_===y.value)return y;for(const v of y.children){const b=Bn(_,v);if(b)return b}return null}function po(_,y){if(_===y.value)return[y];for(const v of y.children){const b=po(_,v);if(b.length)return b.unshift(y),b}return[]}class Oi{value;children;constructor(y,v){this.value=y,this.children=v}toString(){return`TreeNode(${this.value})`}}function mo(_){const y={};return _&&_.children.forEach(v=>y[v.value.outlet]=v),y}class Ao extends $n{snapshot;constructor(y,v){super(y),this.snapshot=v,Cs(this,y)}toString(){return this.snapshot.toString()}}function Ur(_){const y=function qa(_){const F=new Tt([],{},{},"",{},Ue,_,null,{});return new Oo("",new Oi(F,[]))}(_),v=new L.t([new ze("",{})]),b=new L.t({}),M=new L.t({}),F=new L.t({}),N=new L.t(""),oe=new bs(v,b,F,N,M,Ue,_,y.root);return oe.snapshot=y.root,new Ao(new Oi(oe,[]),y)}class bs{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(y,v,b,M,F,N,oe,Se){this.urlSubject=y,this.paramsSubject=v,this.queryParamsSubject=b,this.fragmentSubject=M,this.dataSubject=F,this.outlet=N,this.component=oe,this._futureSnapshot=Se,this.title=this.dataSubject?.pipe((0,be.T)(Ye=>Ye[Mt]))??(0,B.of)(void 0),this.url=y,this.params=v,this.queryParams=b,this.fragment=M,this.data=F}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,be.T)(y=>it(y))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,be.T)(y=>it(y))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Yl(_,y,v="emptyOnly"){let b;const{routeConfig:M}=_;return b=null===y||"always"!==v&&""!==M?.path&&(y.component||y.routeConfig?.loadComponent)?{params:{..._.params},data:{..._.data},resolve:{..._.data,..._._resolvedData??{}}}:{params:{...y.params,..._.params},data:{...y.data,..._.data},resolve:{..._.data,...y.data,...M?.data,..._._resolvedData}},M&&nt(M)&&(b.resolve[Mt]=M.title),b}class Tt{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Mt]}constructor(y,v,b,M,F,N,oe,Se,Ye){this.url=y,this.params=v,this.queryParams=b,this.fragment=M,this.data=F,this.outlet=N,this.component=oe,this.routeConfig=Se,this._resolve=Ye}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=it(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=it(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Oo extends $n{url;constructor(y,v){super(v),this.url=y,Cs(this,v)}toString(){return Hr(this._root)}}function Cs(_,y){y.value._routerState=_,y.children.forEach(v=>Cs(_,v))}function Hr(_){const y=_.children.length>0?` { ${_.children.map(Hr).join(", ")} } `:"";return`${_.value}${y}`}function ai(_){if(_.snapshot){const y=_.snapshot,v=_._futureSnapshot;_.snapshot=v,Mn(y.queryParams,v.queryParams)||_.queryParamsSubject.next(v.queryParams),y.fragment!==v.fragment&&_.fragmentSubject.next(v.fragment),Mn(y.params,v.params)||_.paramsSubject.next(v.params),function wt(_,y){if(_.length!==y.length)return!1;for(let v=0;v<_.length;++v)if(!Mn(_[v],y[v]))return!1;return!0}(y.url,v.url)||_.urlSubject.next(v.url),Mn(y.data,v.data)||_.dataSubject.next(v.data)}else _.snapshot=_._futureSnapshot,_.dataSubject.next(_._futureSnapshot.data)}function Ya(_,y){const v=Mn(_.params,y.params)&&function me(_,y){return mt(_,y)&&_.every((v,b)=>Mn(v.parameters,y[b].parameters))}(_.url,y.url);return v&&!(!_.parent!=!y.parent)&&(!_.parent||Ya(_.parent,y.parent))}function nt(_){return"string"==typeof _.title||null===_.title}const Ro=new A.nKC("");let Zl=(()=>{class _{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ue;activateEvents=new A.bkB;deactivateEvents=new A.bkB;attachEvents=new A.bkB;detachEvents=new A.bkB;routerOutletData=(0,A.hFB)(void 0);parentContexts=(0,A.WQX)(pn);location=(0,A.WQX)(A.c1b);changeDetector=(0,A.WQX)(A.gRc);inputBinder=(0,A.WQX)(Jl,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(v){if(v.name){const{firstChange:b,previousValue:M}=v.name;if(b)return;this.isTrackedInParentContexts(M)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(M)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(v){return this.parentContexts.getContext(v)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const v=this.parentContexts.getContext(this.name);v?.route&&(v.attachRef?this.attach(v.attachRef,v.route):this.activateWith(v.route,v.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A.wOt(4012,!1);this.location.detach();const v=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(v.instance),v}attach(v,b){this.activated=v,this._activatedRoute=b,this.location.insert(v.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(v.instance)}deactivate(){if(this.activated){const v=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(v)}}activateWith(v,b){if(this.isActivated)throw new A.wOt(4013,!1);this._activatedRoute=v;const M=this.location,N=v.snapshot.component,oe=this.parentContexts.getOrCreateContext(this.name).children,Se=new ko(v,oe,M.injector,this.routerOutletData);this.activated=M.createComponent(N,{index:M.length,injector:Se,environmentInjector:b}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(b){return new(b||_)};static \u0275dir=A.FsC({type:_,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[A.OA$]})}return _})();class ko{route;childContexts;parent;outletData;constructor(y,v,b,M){this.route=y,this.childContexts=v,this.parent=b,this.outletData=M}get(y,v){return y===bs?this.route:y===pn?this.childContexts:y===Ro?this.outletData:this.parent.get(y,v)}}const Jl=new A.nKC("");let d_=(()=>{class _{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(v){this.unsubscribeFromRouteData(v),this.subscribeToRouteData(v)}unsubscribeFromRouteData(v){this.outletDataSubscriptions.get(v)?.unsubscribe(),this.outletDataSubscriptions.delete(v)}subscribeToRouteData(v){const{activatedRoute:b}=v,M=(0,Z.z)([b.queryParams,b.params,b.data]).pipe((0,De.n)(([F,N,oe],Se)=>(oe={...F,...N,...oe},0===Se?(0,B.of)(oe):Promise.resolve(oe)))).subscribe(F=>{if(!v.isActivated||!v.activatedComponentRef||v.activatedRoute!==b||null===b.component)return void this.unsubscribeFromRouteData(v);const N=(0,A.HJs)(b.component);if(N)for(const{templateName:oe}of N.inputs)v.activatedComponentRef.setInput(oe,F[oe]);else this.unsubscribeFromRouteData(v)});this.outletDataSubscriptions.set(v,M)}static \u0275fac=function(b){return new(b||_)};static \u0275prov=A.jDH({token:_,factory:_.\u0275fac})}return _})(),Dh=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275cmp=A.VBU({type:_,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(b,M){1&b&&A.nrm(0,"router-outlet")},dependencies:[Zl],encapsulation:2})}return _})();function Hd(_){const y=_.children&&_.children.map(Hd),v=y?{..._,children:y}:{..._};return!v.component&&!v.loadComponent&&(y||v.loadChildren)&&v.outlet&&v.outlet!==Ue&&(v.component=Dh),v}function Yo(_,y,v){if(v&&_.shouldReuseRoute(y.value,v.value.snapshot)){const b=v.value;b._futureSnapshot=y.value;const M=function ta(_,y,v){return y.children.map(b=>{for(const M of v.children)if(_.shouldReuseRoute(b.value,M.value.snapshot))return Yo(_,b,M);return Yo(_,b)})}(_,y,v);return new Oi(b,M)}{if(_.shouldAttach(y.value)){const F=_.retrieve(y.value);if(null!==F){const N=F.route;return N.value._futureSnapshot=y.value,N.children=y.children.map(oe=>Yo(_,oe)),N}}const b=function tc(_){return new bs(new L.t(_.url),new L.t(_.params),new L.t(_.queryParams),new L.t(_.fragment),new L.t(_.data),_.outlet,_.component,_)}(y.value),M=y.children.map(F=>Yo(_,F));return new Oi(b,M)}}class _t{redirectTo;navigationBehaviorOptions;constructor(y,v){this.redirectTo=y,this.navigationBehaviorOptions=v}}const nc="ngNavigationCancelingError";function Jn(_,y){const{redirectTo:v,navigationBehaviorOptions:b}=ri(y)?{redirectTo:y,navigationBehaviorOptions:void 0}:y,M=zr(!1,Ae.Redirect);return M.url=v,M.navigationBehaviorOptions=b,M}function zr(_,y){const v=new Error(`NavigationCancelingError: ${_||""}`);return v[nc]=!0,v.cancellationCode=y,v}function na(_){return!!_&&_[nc]}class Wd{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(y,v,b,M,F){this.routeReuseStrategy=y,this.futureState=v,this.currState=b,this.forwardEvent=M,this.inputBindingEnabled=F}activate(y){const v=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(v,b,y),ai(this.futureState.root),this.activateChildRoutes(v,b,y)}deactivateChildRoutes(y,v,b){const M=mo(v);y.children.forEach(F=>{const N=F.value.outlet;this.deactivateRoutes(F,M[N],b),delete M[N]}),Object.values(M).forEach(F=>{this.deactivateRouteAndItsChildren(F,b)})}deactivateRoutes(y,v,b){const M=y.value,F=v?v.value:null;if(M===F)if(M.component){const N=b.getContext(M.outlet);N&&this.deactivateChildRoutes(y,v,N.children)}else this.deactivateChildRoutes(y,v,b);else F&&this.deactivateRouteAndItsChildren(v,b)}deactivateRouteAndItsChildren(y,v){y.value.component&&this.routeReuseStrategy.shouldDetach(y.value.snapshot)?this.detachAndStoreRouteSubtree(y,v):this.deactivateRouteAndOutlet(y,v)}detachAndStoreRouteSubtree(y,v){const b=v.getContext(y.value.outlet),M=b&&y.value.component?b.children:v,F=mo(y);for(const N of Object.values(F))this.deactivateRouteAndItsChildren(N,M);if(b&&b.outlet){const N=b.outlet.detach(),oe=b.children.onOutletDeactivated();this.routeReuseStrategy.store(y.value.snapshot,{componentRef:N,route:y,contexts:oe})}}deactivateRouteAndOutlet(y,v){const b=v.getContext(y.value.outlet),M=b&&y.value.component?b.children:v,F=mo(y);for(const N of Object.values(F))this.deactivateRouteAndItsChildren(N,M);b&&(b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated()),b.attachRef=null,b.route=null)}activateChildRoutes(y,v,b){const M=mo(v);y.children.forEach(F=>{this.activateRoutes(F,M[F.value.outlet],b),this.forwardEvent(new ea(F.value.snapshot))}),y.children.length&&this.forwardEvent(new $r(y.value.snapshot))}activateRoutes(y,v,b){const M=y.value,F=v?v.value:null;if(ai(M),M===F)if(M.component){const N=b.getOrCreateContext(M.outlet);this.activateChildRoutes(y,v,N.children)}else this.activateChildRoutes(y,v,b);else if(M.component){const N=b.getOrCreateContext(M.outlet);if(this.routeReuseStrategy.shouldAttach(M.snapshot)){const oe=this.routeReuseStrategy.retrieve(M.snapshot);this.routeReuseStrategy.store(M.snapshot,null),N.children.onOutletReAttached(oe.contexts),N.attachRef=oe.componentRef,N.route=oe.route.value,N.outlet&&N.outlet.attach(oe.componentRef,oe.route.value),ai(oe.route.value),this.activateChildRoutes(y,null,N.children)}else N.attachRef=null,N.route=M,N.outlet&&N.outlet.activateWith(M,N.injector),this.activateChildRoutes(y,null,N.children)}else this.activateChildRoutes(y,null,b)}}class Ri{path;route;constructor(y){this.path=y,this.route=this.path[this.path.length-1]}}class ws{component;route;constructor(y,v){this.component=y,this.route=v}}function ia(_,y,v){const b=_._root;return Jt(b,y?y._root:null,v,[b.value])}function gi(_,y){const v=Symbol(),b=y.get(_,v);return b===v?"function"!=typeof _||(0,A.LfX)(_)?y.get(_):_:b}function Jt(_,y,v,b,M={canDeactivateChecks:[],canActivateChecks:[]}){const F=mo(y);return _.children.forEach(N=>{(function go(_,y,v,b,M={canDeactivateChecks:[],canActivateChecks:[]}){const F=_.value,N=y?y.value:null,oe=v?v.getContext(_.value.outlet):null;if(N&&F.routeConfig===N.routeConfig){const Se=function Xd(_,y,v){if("function"==typeof v)return v(_,y);switch(v){case"pathParamsChange":return!mt(_.url,y.url);case"pathParamsOrQueryParamsChange":return!mt(_.url,y.url)||!Mn(_.queryParams,y.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ya(_,y)||!Mn(_.queryParams,y.queryParams);default:return!Ya(_,y)}}(N,F,F.routeConfig.runGuardsAndResolvers);Se?M.canActivateChecks.push(new Ri(b)):(F.data=N.data,F._resolvedData=N._resolvedData),Jt(_,y,F.component?oe?oe.children:null:v,b,M),Se&&oe&&oe.outlet&&oe.outlet.isActivated&&M.canDeactivateChecks.push(new ws(oe.outlet.component,N))}else N&&Gr(y,oe,M),M.canActivateChecks.push(new Ri(b)),Jt(_,null,F.component?oe?oe.children:null:v,b,M)})(N,F[N.value.outlet],v,b.concat([N.value]),M),delete F[N.value.outlet]}),Object.entries(F).forEach(([N,oe])=>Gr(oe,v.getContext(N),M)),M}function Gr(_,y,v){const b=mo(_),M=_.value;Object.entries(b).forEach(([F,N])=>{Gr(N,M.component?y?y.children.getContext(F):null:y,v)}),v.canDeactivateChecks.push(new ws(M.component&&y&&y.outlet&&y.outlet.isActivated?y.outlet.component:null,M))}function pr(_){return"function"==typeof _}function Sh(_){return _ instanceof ie||"EmptyError"===_?.name}const _o=Symbol("INITIAL_VALUE");function Xr(){return(0,De.n)(_=>(0,Z.z)(_.map(y=>y.pipe((0,Me.s)(1),(0,Ge.Z)(_o)))).pipe((0,be.T)(y=>{for(const v of y)if(!0!==v){if(v===_o)return _o;if(!1===v||Qd(v))return v}return!0}),(0,ct.p)(y=>y!==_o),(0,Me.s)(1)))}function Qd(_){return ri(_)||_ instanceof _t}function Ja(_){return(0,Ze.F)((0,$e.M)(y=>{if("boolean"!=typeof y)throw Jn(0,y)}),(0,be.T)(y=>!0===y))}class tl{segmentGroup;constructor(y){this.segmentGroup=y||null}}class oa extends Error{urlTree;constructor(y){super(),this.urlTree=y}}function Zo(_){return(0,xe.$)(new tl(_))}class oc{urlSerializer;urlTree;constructor(y,v){this.urlSerializer=y,this.urlTree=v}lineralizeSegments(y,v){let b=[],M=v.root;for(;;){if(b=b.concat(M.segments),0===M.numberOfChildren)return(0,B.of)(b);if(M.numberOfChildren>1||!M.children[Ue])return(0,xe.$)(new A.wOt(4e3,!1));M=M.children[Ue]}}applyRedirectCommands(y,v,b,M,F){if("string"!=typeof v){const oe=v,{queryParams:Se,fragment:Ye,routeConfig:Nt,url:Un,outlet:$i,params:mn,data:ti,title:Bo}=M,ki=(0,A.N4e)(F,()=>oe({params:mn,data:ti,queryParams:Se,fragment:Ye,routeConfig:Nt,url:Un,outlet:$i,title:Bo}));if(ki instanceof j)throw new oa(ki);v=ki}const N=this.applyRedirectCreateUrlTree(v,this.urlSerializer.parse(v),y,b);if("/"===v[0])throw new oa(N);return N}applyRedirectCreateUrlTree(y,v,b,M){const F=this.createSegmentGroup(y,v.root,b,M);return new j(F,this.createQueryParams(v.queryParams,this.urlTree.queryParams),v.fragment)}createQueryParams(y,v){const b={};return Object.entries(y).forEach(([M,F])=>{if("string"==typeof F&&":"===F[0]){const oe=F.substring(1);b[M]=v[oe]}else b[M]=F}),b}createSegmentGroup(y,v,b,M){const F=this.createSegments(y,v.segments,b,M);let N={};return Object.entries(v.children).forEach(([oe,Se])=>{N[oe]=this.createSegmentGroup(y,Se,b,M)}),new ae(F,N)}createSegments(y,v,b,M){return v.map(F=>":"===F.path[0]?this.findPosParam(y,F,M):this.findOrReturn(F,b))}findPosParam(y,v,b){const M=b[v.path.substring(1)];if(!M)throw new A.wOt(4001,!1);return M}findOrReturn(y,v){let b=0;for(const M of v){if(M.path===y.path)return v.splice(b),M;b++}return y}}const rc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xh(_,y,v,b,M){const F=sc(_,y,v);return F.matched?(b=function K(_,y){return _.providers&&!_._injector&&(_._injector=(0,A.Ol2)(_.providers,y,`Route: ${_.path}`)),_._injector??y}(y,b),function el(_,y,v,b){const M=y.canMatch;if(!M||0===M.length)return(0,B.of)(!0);const F=M.map(N=>{const oe=gi(N,_);return Zt(function mr(_){return _&&pr(_.canMatch)}(oe)?oe.canMatch(y,v):(0,A.N4e)(_,()=>oe(y,v)))});return(0,B.of)(F).pipe(Xr(),Ja())}(b,y,v).pipe((0,be.T)(N=>!0===N?F:{...rc}))):(0,B.of)(F)}function sc(_,y,v){if("**"===y.path)return function ra(_){return{matched:!0,parameters:_.length>0?tn(_).parameters:{},consumedSegments:_,remainingSegments:[],positionalParamSegments:{}}}(v);if(""===y.path)return"full"===y.pathMatch&&(_.hasChildren()||v.length>0)?{...rc}:{matched:!0,consumedSegments:[],remainingSegments:v,parameters:{},positionalParamSegments:{}};const M=(y.matcher||un)(v,_,y);if(!M)return{...rc};const F={};Object.entries(M.posParams??{}).forEach(([oe,Se])=>{F[oe]=Se.path});const N=M.consumed.length>0?{...F,...M.consumed[M.consumed.length-1].parameters}:F;return{matched:!0,consumedSegments:M.consumed,remainingSegments:v.slice(M.consumed.length),parameters:N,positionalParamSegments:M.posParams??{}}}function Kr(_,y,v,b){return v.length>0&&function Rh(_,y,v){return v.some(b=>Ds(_,y,b)&&nn(b)!==Ue)}(_,v,b)?{segmentGroup:new ae(y,Oh(b,new ae(v,_.children))),slicedSegments:[]}:0===v.length&&function ac(_,y,v){return v.some(b=>Ds(_,y,b))}(_,v,b)?{segmentGroup:new ae(_.segments,Ah(_,v,b,_.children)),slicedSegments:v}:{segmentGroup:new ae(_.segments,_.children),slicedSegments:v}}function Ah(_,y,v,b){const M={};for(const F of v)if(Ds(_,y,F)&&!b[nn(F)]){const N=new ae([],{});M[nn(F)]=N}return{...b,...M}}function Oh(_,y){const v={};v[Ue]=y;for(const b of _)if(""===b.path&&nn(b)!==Ue){const M=new ae([],{});v[nn(b)]=M}return v}function Ds(_,y,v){return(!(_.hasChildren()||y.length>0)||"full"!==v.pathMatch)&&""===v.path}class Es{}class Nh{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(y,v,b,M,F,N,oe){this.injector=y,this.configLoader=v,this.rootComponentType=b,this.config=M,this.urlTree=F,this.paramsInheritanceStrategy=N,this.urlSerializer=oe,this.applyRedirects=new oc(this.urlSerializer,this.urlTree)}noMatchError(y){return new A.wOt(4002,`'${y.segmentGroup}'`)}recognize(){const y=Kr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(y).pipe((0,be.T)(({children:v,rootSnapshot:b})=>{const M=new Oi(b,v),F=new Oo("",M),N=function qi(_,y,v=null,b=null){return Di(Yi(_),y,v,b)}(b,[],this.urlTree.queryParams,this.urlTree.fragment);return N.queryParams=this.urlTree.queryParams,F.url=this.urlSerializer.serialize(N),{state:F,tree:N}}))}match(y){const v=new Tt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Ue,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,y,Ue,v).pipe((0,be.T)(b=>({children:b,rootSnapshot:v})),(0,bt.W)(b=>{if(b instanceof oa)return this.urlTree=b.urlTree,this.match(b.urlTree.root);throw b instanceof tl?this.noMatchError(b):b}))}processSegmentGroup(y,v,b,M,F){return 0===b.segments.length&&b.hasChildren()?this.processChildren(y,v,b,F):this.processSegment(y,v,b,b.segments,M,!0,F).pipe((0,be.T)(N=>N instanceof Oi?[N]:[]))}processChildren(y,v,b,M){const F=[];for(const N of Object.keys(b.children))"primary"===N?F.unshift(N):F.push(N);return(0,i.H)(F).pipe((0,Ee.H)(N=>{const oe=b.children[N],Se=function sn(_,y){const v=_.filter(b=>nn(b)===y);return v.push(..._.filter(b=>nn(b)!==y)),v}(v,N);return this.processSegmentGroup(y,Se,oe,N,M)}),function Q(_,y){return(0,st.N)(function Oe(_,y,v,b,M){return(F,N)=>{let oe=v,Se=y,Ye=0;F.subscribe((0,gt._)(N,Nt=>{const Un=Ye++;Se=oe?_(Se,Nt,Un):(oe=!0,Nt),b&&N.next(Se)},M&&(()=>{oe&&N.next(Se),N.complete()})))}}(_,y,arguments.length>=2,!0))}((N,oe)=>(N.push(...oe),N)),Ot(null),function le(_,y){const v=arguments.length>=2;return b=>b.pipe(_?(0,ct.p)((M,F)=>_(M,F,b)):he.D,X(1),v?Ot(y):yt(()=>new ie))}(),(0,at.Z)(N=>{if(null===N)return Zo(b);const oe=Jd(N);return function Xn(_){_.sort((y,v)=>y.value.outlet===Ue?-1:v.value.outlet===Ue?1:y.value.outlet.localeCompare(v.value.outlet))}(oe),(0,B.of)(oe)}))}processSegment(y,v,b,M,F,N,oe){return(0,i.H)(v).pipe((0,Ee.H)(Se=>this.processSegmentAgainstRoute(Se._injector??y,v,Se,b,M,F,N,oe).pipe((0,bt.W)(Ye=>{if(Ye instanceof tl)return(0,B.of)(null);throw Ye}))),Te(Se=>!!Se),(0,bt.W)(Se=>{if(Sh(Se))return function Yd(_,y,v){return 0===y.length&&!_.children[v]}(b,M,F)?(0,B.of)(new Es):Zo(b);throw Se}))}processSegmentAgainstRoute(y,v,b,M,F,N,oe,Se){return nn(b)===N||N!==Ue&&Ds(M,F,b)?void 0===b.redirectTo?this.matchSegmentAgainstRoute(y,M,b,F,N,Se):this.allowRedirects&&oe?this.expandSegmentAgainstRouteUsingRedirect(y,M,v,b,F,N,Se):Zo(M):Zo(M)}expandSegmentAgainstRouteUsingRedirect(y,v,b,M,F,N,oe){const{matched:Se,parameters:Ye,consumedSegments:Nt,positionalParamSegments:Un,remainingSegments:$i}=sc(v,M,F);if(!Se)return Zo(v);"string"==typeof M.redirectTo&&"/"===M.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const mn=new Tt(F,Ye,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,eu(M),nn(M),M.component??M._loadedComponent??null,M,tu(M)),ti=Yl(mn,oe,this.paramsInheritanceStrategy);mn.params=Object.freeze(ti.params),mn.data=Object.freeze(ti.data);const Bo=this.applyRedirects.applyRedirectCommands(Nt,M.redirectTo,Un,mn,y);return this.applyRedirects.lineralizeSegments(M,Bo).pipe((0,at.Z)(ki=>this.processSegment(y,b,v,ki.concat($i),N,!1,oe)))}matchSegmentAgainstRoute(y,v,b,M,F,N){const oe=xh(v,b,M,y);return"**"===b.path&&(v.children={}),oe.pipe((0,De.n)(Se=>Se.matched?this.getChildConfig(y=b._injector??y,b,M).pipe((0,De.n)(({routes:Ye})=>{const Nt=b._loadedInjector??y,{parameters:Un,consumedSegments:$i,remainingSegments:mn}=Se,ti=new Tt($i,Un,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,eu(b),nn(b),b.component??b._loadedComponent??null,b,tu(b)),Bo=Yl(ti,N,this.paramsInheritanceStrategy);ti.params=Object.freeze(Bo.params),ti.data=Object.freeze(Bo.data);const{segmentGroup:ki,slicedSegments:il}=Kr(v,$i,mn,Ye);if(0===il.length&&ki.hasChildren())return this.processChildren(Nt,Ye,ki,ti).pipe((0,be.T)(cc=>new Oi(ti,cc)));if(0===Ye.length&&0===il.length)return(0,B.of)(new Oi(ti,[]));const h_=nn(b)===F;return this.processSegment(Nt,Ye,ki,il,h_?Ue:F,!0,ti).pipe((0,be.T)(cc=>new Oi(ti,cc instanceof Oi?[cc]:[])))})):Zo(v)))}getChildConfig(y,v,b){return v.children?(0,B.of)({routes:v.children,injector:y}):v.loadChildren?void 0!==v._loadedRoutes?(0,B.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):function Ih(_,y,v,b){const M=y.canLoad;if(void 0===M||0===M.length)return(0,B.of)(!0);const F=M.map(N=>{const oe=gi(N,_);return Zt(function Xt(_){return _&&pr(_.canLoad)}(oe)?oe.canLoad(y,v):(0,A.N4e)(_,()=>oe(y,v)))});return(0,B.of)(F).pipe(Xr(),Ja())}(y,v,b).pipe((0,at.Z)(M=>M?this.configLoader.loadChildren(y,v).pipe((0,$e.M)(F=>{v._loadedRoutes=F.routes,v._loadedInjector=F.injector})):function Qr(){return(0,xe.$)(zr(!1,Ae.GuardRejected))}())):(0,B.of)({routes:[],injector:y})}}function Zd(_){const y=_.value.routeConfig;return y&&""===y.path}function Jd(_){const y=[],v=new Set;for(const b of _){if(!Zd(b)){y.push(b);continue}const M=y.find(F=>b.value.routeConfig===F.value.routeConfig);void 0!==M?(M.children.push(...b.children),v.add(M)):y.push(b)}for(const b of v){const M=Jd(b.children);y.push(new Oi(b.value,M))}return y.filter(b=>!v.has(b))}function eu(_){return _.data||{}}function tu(_){return _.resolve||{}}function nu(_){const y=_.children.map(v=>nu(v)).flat();return[_,...y]}function an(_){return(0,De.n)(y=>{const v=_(y);return v?(0,i.H)(v).pipe((0,be.T)(()=>y)):(0,B.of)(y)})}let We=(()=>{class _{buildTitle(v){let b,M=v.root;for(;void 0!==M;)b=this.getResolvedTitleForRoute(M)??b,M=M.children.find(F=>F.outlet===Ue);return b}getResolvedTitleForRoute(v){return v.data[Mt]}static \u0275fac=function(b){return new(b||_)};static \u0275prov=A.jDH({token:_,factory:()=>(0,A.WQX)(Ct),providedIn:"root"})}return _})(),Ct=(()=>{class _ extends We{title;constructor(v){super(),this.title=v}updateTitle(v){const b=this.buildTitle(v);void 0!==b&&this.title.setTitle(b)}static \u0275fac=function(b){return new(b||_)(A.KVO(Be.hE))};static \u0275prov=A.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();const Kt=new A.nKC("",{providedIn:"root",factory:()=>({})}),Qn=new A.nKC("");let Kn=(()=>{class _{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,A.WQX)(A.Ql9);loadComponent(v){if(this.componentLoaders.get(v))return this.componentLoaders.get(v);if(v._loadedComponent)return(0,B.of)(v._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(v);const b=Zt(v.loadComponent()).pipe((0,be.T)(qt),(0,$e.M)(F=>{this.onLoadEndListener&&this.onLoadEndListener(v),v._loadedComponent=F}),(0,pe.j)(()=>{this.componentLoaders.delete(v)})),M=new ke(b,()=>new se.B).pipe(xt());return this.componentLoaders.set(v,M),M}loadChildren(v,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,B.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const F=function li(_,y,v,b){return Zt(_.loadChildren()).pipe((0,be.T)(qt),(0,at.Z)(M=>M instanceof A.Co$||Array.isArray(M)?(0,B.of)(M):(0,i.H)(y.compileModuleAsync(M))),(0,be.T)(M=>{b&&b(_);let F,N,oe=!1;return Array.isArray(M)?(N=M,!0):(F=M.create(v).injector,N=F.get(Qn,[],{optional:!0,self:!0}).flat()),{routes:N.map(Hd),injector:F}}))}(b,this.compiler,v,this.onLoadEndListener).pipe((0,pe.j)(()=>{this.childrenLoaders.delete(b)})),N=new ke(F,()=>new se.B).pipe(xt());return this.childrenLoaders.set(b,N),N}static \u0275fac=function(b){return new(b||_)};static \u0275prov=A.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();function qt(_){return function Ms(_){return _&&"object"==typeof _&&"default"in _}(_)?_.default:_}let Tn=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275prov=A.jDH({token:_,factory:()=>(0,A.WQX)(Po),providedIn:"root"})}return _})(),Po=(()=>{class _{shouldProcessUrl(v){return!0}extract(v){return v}merge(v,b){return v}static \u0275fac=function(b){return new(b||_)};static \u0275prov=A.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();const It=new A.nKC(""),_r=new A.nKC("");function aa(_,y,v){const b=_.get(_r),M=_.get(E.q);return _.get(A.SKi).runOutsideAngular(()=>{if(!M.startViewTransition||b.skipNextTransition)return b.skipNextTransition=!1,new Promise(Ye=>setTimeout(Ye));let F;const N=new Promise(Ye=>{F=Ye}),oe=M.startViewTransition(()=>(F(),function qr(_){return new Promise(y=>{(0,A.mal)({read:()=>setTimeout(y)},{injector:_})})}(_))),{onViewTransitionCreated:Se}=b;return Se&&(0,A.N4e)(_,()=>Se({transition:oe,from:y,to:v})),N})}const xn=new A.nKC("");let Jo=(()=>{class _{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new se.B;transitionAbortSubject=new se.B;configLoader=(0,A.WQX)(Kn);environmentInjector=(0,A.WQX)(A.uvJ);destroyRef=(0,A.WQX)(A.abz);urlSerializer=(0,A.WQX)(ye);rootContexts=(0,A.WQX)(pn);location=(0,A.WQX)($.aZ);inputBindingEnabled=null!==(0,A.WQX)(Jl,{optional:!0});titleStrategy=(0,A.WQX)(We);options=(0,A.WQX)(Kt,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,A.WQX)(Tn);createViewTransition=(0,A.WQX)(It,{optional:!0});navigationErrorHandler=(0,A.WQX)(xn,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,B.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=M=>this.events.next(new Qa(M)),this.configLoader.onLoadStartListener=M=>this.events.next(new hr(M)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(v){const b=++this.navigationId;this.transitions?.next({...v,extractedUrl:this.urlHandlingStrategy.extract(v.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:b})}setupNavigations(v){return this.transitions=new L.t(null),this.transitions.pipe((0,ct.p)(b=>null!==b),(0,De.n)(b=>{let M=!1,F=!1;return(0,B.of)(b).pipe((0,De.n)(N=>{if(this.navigationId>b.id)return this.cancelNavigationTransition(b,"",Ae.SupersededByNewNavigation),He.w;this.currentTransition=b,this.currentNavigation={id:N.id,initialUrl:N.rawUrl,extractedUrl:N.extractedUrl,targetBrowserUrl:"string"==typeof N.extras.browserUrl?this.urlSerializer.parse(N.extras.browserUrl):N.extras.browserUrl,trigger:N.source,extras:N.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const oe=!v.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!oe&&"reload"!==(N.extras.onSameUrlNavigation??v.onSameUrlNavigation)){const Ye="";return this.events.next(new hn(N.id,this.urlSerializer.serialize(N.rawUrl),Ye,pt.IgnoredSameUrlNavigation)),N.resolve(!1),He.w}if(this.urlHandlingStrategy.shouldProcessUrl(N.rawUrl))return(0,B.of)(N).pipe((0,De.n)(Ye=>(this.events.next(new Fe(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),Ye.source,Ye.restoredState)),Ye.id!==this.navigationId?He.w:Promise.resolve(Ye))),function Ph(_,y,v,b,M,F){return(0,at.Z)(N=>function Ss(_,y,v,b,M,F,N="emptyOnly"){return new Nh(_,y,v,b,M,N,F).recognize()}(_,y,v,b,N.extractedUrl,M,F).pipe((0,be.T)(({state:oe,tree:Se})=>({...N,targetSnapshot:oe,urlAfterRedirects:Se}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,v.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,$e.M)(Ye=>{b.targetSnapshot=Ye.targetSnapshot,b.urlAfterRedirects=Ye.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ye.urlAfterRedirects};const Nt=new mi(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),this.urlSerializer.serialize(Ye.urlAfterRedirects),Ye.targetSnapshot);this.events.next(Nt)}));if(oe&&this.urlHandlingStrategy.shouldProcessUrl(N.currentRawUrl)){const{id:Ye,extractedUrl:Nt,source:Un,restoredState:$i,extras:mn}=N,ti=new Fe(Ye,this.urlSerializer.serialize(Nt),Un,$i);this.events.next(ti);const Bo=Ur(this.rootComponentType).snapshot;return this.currentTransition=b={...N,targetSnapshot:Bo,urlAfterRedirects:Nt,extras:{...mn,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Nt,(0,B.of)(b)}{const Ye="";return this.events.next(new hn(N.id,this.urlSerializer.serialize(N.extractedUrl),Ye,pt.IgnoredByUrlHandlingStrategy)),N.resolve(!1),He.w}}),(0,$e.M)(N=>{const oe=new Zi(N.id,this.urlSerializer.serialize(N.extractedUrl),this.urlSerializer.serialize(N.urlAfterRedirects),N.targetSnapshot);this.events.next(oe)}),(0,be.T)(N=>(this.currentTransition=b={...N,guards:ia(N.targetSnapshot,N.currentSnapshot,this.rootContexts)},b)),function Za(_,y){return(0,at.Z)(v=>{const{targetSnapshot:b,currentSnapshot:M,guards:{canActivateChecks:F,canDeactivateChecks:N}}=v;return 0===N.length&&0===F.length?(0,B.of)({...v,guardsResult:!0}):function u_(_,y,v,b){return(0,i.H)(_).pipe((0,at.Z)(M=>function gr(_,y,v,b,M){const F=y&&y.routeConfig?y.routeConfig.canDeactivate:null;if(!F||0===F.length)return(0,B.of)(!0);const N=F.map(oe=>{const Se=kt(y)??M,Ye=gi(oe,Se);return Zt(function Wr(_){return _&&pr(_.canDeactivate)}(Ye)?Ye.canDeactivate(_,y,v,b):(0,A.N4e)(Se,()=>Ye(_,y,v,b))).pipe(Te())});return(0,B.of)(N).pipe(Xr())}(M.component,M.route,v,y,b)),Te(M=>!0!==M,!0))}(N,b,M,_).pipe((0,at.Z)(oe=>oe&&function _i(_){return"boolean"==typeof _}(oe)?function Kd(_,y,v,b){return(0,i.H)(y).pipe((0,Ee.H)(M=>(0,ne.x)(function qd(_,y){return null!==_&&y&&y(new ys(_)),(0,B.of)(!0)}(M.route.parent,b),function f_(_,y){return null!==_&&y&&y(new Ka(_)),(0,B.of)(!0)}(M.route,b),function Th(_,y,v){const b=y[y.length-1],F=y.slice(0,y.length-1).reverse().map(N=>function Eh(_){const y=_.routeConfig?_.routeConfig.canActivateChild:null;return y&&0!==y.length?{node:_,guards:y}:null}(N)).filter(N=>null!==N).map(N=>(0,P.v)(()=>{const oe=N.guards.map(Se=>{const Ye=kt(N.node)??v,Nt=gi(Se,Ye);return Zt(function ji(_){return _&&pr(_.canActivateChild)}(Nt)?Nt.canActivateChild(b,_):(0,A.N4e)(Ye,()=>Nt(b,_))).pipe(Te())});return(0,B.of)(oe).pipe(Xr())}));return(0,B.of)(F).pipe(Xr())}(_,M.path,v),function Mh(_,y,v){const b=y.routeConfig?y.routeConfig.canActivate:null;if(!b||0===b.length)return(0,B.of)(!0);const M=b.map(F=>(0,P.v)(()=>{const N=kt(y)??v,oe=gi(F,N);return Zt(function ei(_){return _&&pr(_.canActivate)}(oe)?oe.canActivate(y,_):(0,A.N4e)(N,()=>oe(y,_))).pipe(Te())}));return(0,B.of)(M).pipe(Xr())}(_,M.route,v))),Te(M=>!0!==M,!0))}(b,F,_,y):(0,B.of)(oe)),(0,be.T)(oe=>({...v,guardsResult:oe})))})}(this.environmentInjector,N=>this.events.next(N)),(0,$e.M)(N=>{if(b.guardsResult=N.guardsResult,N.guardsResult&&"boolean"!=typeof N.guardsResult)throw Jn(0,N.guardsResult);const oe=new Ji(N.id,this.urlSerializer.serialize(N.extractedUrl),this.urlSerializer.serialize(N.urlAfterRedirects),N.targetSnapshot,!!N.guardsResult);this.events.next(oe)}),(0,ct.p)(N=>!!N.guardsResult||(this.cancelNavigationTransition(N,"",Ae.GuardRejected),!1)),an(N=>{if(0!==N.guards.canActivateChecks.length)return(0,B.of)(N).pipe((0,$e.M)(oe=>{const Se=new fr(oe.id,this.urlSerializer.serialize(oe.extractedUrl),this.urlSerializer.serialize(oe.urlAfterRedirects),oe.targetSnapshot);this.events.next(Se)}),(0,De.n)(oe=>{let Se=!1;return(0,B.of)(oe).pipe(function Fh(_,y){return(0,at.Z)(v=>{const{targetSnapshot:b,guards:{canActivateChecks:M}}=v;if(!M.length)return(0,B.of)(v);const F=new Set(M.map(Se=>Se.route)),N=new Set;for(const Se of F)if(!N.has(Se))for(const Ye of nu(Se))N.add(Ye);let oe=0;return(0,i.H)(N).pipe((0,Ee.H)(Se=>F.has(Se)?function Lh(_,y,v,b){const M=_.routeConfig,F=_._resolve;return void 0!==M?.title&&!nt(M)&&(F[Mt]=M.title),function No(_,y,v,b){const M=Ht(_);if(0===M.length)return(0,B.of)({});const F={};return(0,i.H)(M).pipe((0,at.Z)(N=>function sa(_,y,v,b){const M=kt(y)??b,F=gi(_,M);return Zt(F.resolve?F.resolve(y,v):(0,A.N4e)(M,()=>F(y,v)))}(_[N],y,v,b).pipe(Te(),(0,$e.M)(oe=>{if(oe instanceof _t)throw Jn(new Ie,oe);F[N]=oe}))),X(1),(0,be.T)(()=>F),(0,bt.W)(N=>Sh(N)?He.w:(0,xe.$)(N)))}(F,_,y,b).pipe((0,be.T)(N=>(_._resolvedData=N,_.data=Yl(_,_.parent,v).resolve,null)))}(Se,b,_,y):(Se.data=Yl(Se,Se.parent,_).resolve,(0,B.of)(void 0))),(0,$e.M)(()=>oe++),X(1),(0,at.Z)(Se=>oe===N.size?(0,B.of)(v):He.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,$e.M)({next:()=>Se=!0,complete:()=>{Se||this.cancelNavigationTransition(oe,"",Ae.NoDataFromResolver)}}))}),(0,$e.M)(oe=>{const Se=new Xa(oe.id,this.urlSerializer.serialize(oe.extractedUrl),this.urlSerializer.serialize(oe.urlAfterRedirects),oe.targetSnapshot);this.events.next(Se)}))}),an(N=>{const oe=Se=>{const Ye=[];Se.routeConfig?.loadComponent&&!Se.routeConfig._loadedComponent&&Ye.push(this.configLoader.loadComponent(Se.routeConfig).pipe((0,$e.M)(Nt=>{Se.component=Nt}),(0,be.T)(()=>{})));for(const Nt of Se.children)Ye.push(...oe(Nt));return Ye};return(0,Z.z)(oe(N.targetSnapshot.root)).pipe(Ot(null),(0,Me.s)(1))}),an(()=>this.afterPreactivation()),(0,De.n)(()=>{const{currentSnapshot:N,targetSnapshot:oe}=b,Se=this.createViewTransition?.(this.environmentInjector,N.root,oe.root);return Se?(0,i.H)(Se).pipe((0,be.T)(()=>b)):(0,B.of)(b)}),(0,be.T)(N=>{const oe=function ec(_,y,v){const b=Yo(_,y._root,v?v._root:void 0);return new Ao(b,y)}(v.routeReuseStrategy,N.targetSnapshot,N.currentRouterState);return this.currentTransition=b={...N,targetRouterState:oe},this.currentNavigation.targetRouterState=oe,b}),(0,$e.M)(()=>{this.events.next(new z)}),((_,y,v,b)=>(0,be.T)(M=>(new Wd(y,M.targetRouterState,M.currentRouterState,v,b).activate(_),M)))(this.rootContexts,v.routeReuseStrategy,N=>this.events.next(N),this.inputBindingEnabled),(0,Me.s)(1),(0,$e.M)({next:N=>{M=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ve(N.id,this.urlSerializer.serialize(N.extractedUrl),this.urlSerializer.serialize(N.urlAfterRedirects))),this.titleStrategy?.updateTitle(N.targetRouterState.snapshot),N.resolve(!0)},complete:()=>{M=!0}}),(0,Le.Q)(this.transitionAbortSubject.pipe((0,$e.M)(N=>{throw N}))),(0,pe.j)(()=>{!M&&!F&&this.cancelNavigationTransition(b,"",Ae.SupersededByNewNavigation),this.currentTransition?.id===b.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,bt.W)(N=>{if(this.destroyed)return b.resolve(!1),He.w;if(F=!0,na(N))this.events.next(new Dt(b.id,this.urlSerializer.serialize(b.extractedUrl),N.message,N.cancellationCode)),function zd(_){return na(_)&&ri(_.url)}(N)?this.events.next(new I(N.url,N.navigationBehaviorOptions)):b.resolve(!1);else{const oe=new si(b.id,this.urlSerializer.serialize(b.extractedUrl),N,b.targetSnapshot??void 0);try{const Se=(0,A.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(oe));if(!(Se instanceof _t))throw this.events.next(oe),N;{const{message:Ye,cancellationCode:Nt}=Jn(0,Se);this.events.next(new Dt(b.id,this.urlSerializer.serialize(b.extractedUrl),Ye,Nt)),this.events.next(new I(Se.redirectTo,Se.navigationBehaviorOptions))}}catch(Se){this.options.resolveNavigationPromiseOnError?b.resolve(!1):b.reject(Se)}}return He.w}))}))}cancelNavigationTransition(v,b,M){const F=new Dt(v.id,this.urlSerializer.serialize(v.extractedUrl),b,M);this.events.next(F),v.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const v=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),b=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return v.toString()!==b?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(b){return new(b||_)};static \u0275prov=A.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();function Ts(_){return _!==fe}let Fo=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275prov=A.jDH({token:_,factory:()=>(0,A.WQX)(la),providedIn:"root"})}return _})();class Yr{shouldDetach(y){return!1}store(y,v){}shouldAttach(y){return!1}retrieve(y){return null}shouldReuseRoute(y,v){return y.routeConfig===v.routeConfig}}let la=(()=>{class _ extends Yr{static \u0275fac=(()=>{let v;return function(M){return(v||(v=A.xGo(_)))(M||_)}})();static \u0275prov=A.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),to=(()=>{class _{urlSerializer=(0,A.WQX)(ye);options=(0,A.WQX)(Kt,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,A.WQX)($.aZ);urlHandlingStrategy=(0,A.WQX)(Tn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new j;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:v,initialUrl:b,targetBrowserUrl:M}){const F=void 0!==v?this.urlHandlingStrategy.merge(v,b):b,N=M??F;return N instanceof j?this.urlSerializer.serialize(N):N}commitTransition({targetRouterState:v,finalUrl:b,initialUrl:M}){b&&v?(this.currentUrlTree=b,this.rawUrlTree=this.urlHandlingStrategy.merge(b,M),this.routerState=v):this.rawUrlTree=M}routerState=Ur(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:v}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,v??this.rawUrlTree)}static \u0275fac=function(b){return new(b||_)};static \u0275prov=A.jDH({token:_,factory:()=>(0,A.WQX)(ca),providedIn:"root"})}return _})(),ca=(()=>{class _ extends to{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(v){return this.location.subscribe(b=>{"popstate"===b.type&&setTimeout(()=>{v(b.url,b.state,"popstate")})})}handleRouterEvent(v,b){v instanceof Fe?this.updateStateMemento():v instanceof hn?this.commitTransition(b):v instanceof mi?"eager"===this.urlUpdateStrategy&&(b.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(b),b)):v instanceof z?(this.commitTransition(b),"deferred"===this.urlUpdateStrategy&&!b.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(b),b)):v instanceof Dt&&(v.code===Ae.GuardRejected||v.code===Ae.NoDataFromResolver)?this.restoreHistory(b):v instanceof si?this.restoreHistory(b,!0):v instanceof Ve&&(this.lastSuccessfulId=v.id,this.currentPageId=this.browserPageId)}setBrowserUrl(v,{extras:b,id:M}){const{replaceUrl:F,state:N}=b;if(this.location.isCurrentPathEqualTo(v)||F){const oe=this.browserPageId,Se={...N,...this.generateNgRouterState(M,oe)};this.location.replaceState(v,"",Se)}else{const oe={...N,...this.generateNgRouterState(M,this.browserPageId+1)};this.location.go(v,"",oe)}}restoreHistory(v,b=!1){if("computed"===this.canceledNavigationResolution){const F=this.currentPageId-this.browserPageId;0!==F?this.location.historyGo(F):this.getCurrentUrlTree()===v.finalUrl&&0===F&&(this.resetInternalState(v),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(b&&this.resetInternalState(v),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(v,b){return"computed"===this.canceledNavigationResolution?{navigationId:v,\u0275routerPageId:b}:{navigationId:v}}static \u0275fac=(()=>{let v;return function(M){return(v||(v=A.xGo(_)))(M||_)}})();static \u0275prov=A.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();function Lo(_,y){_.events.pipe((0,ct.p)(v=>v instanceof Ve||v instanceof Dt||v instanceof si||v instanceof hn),(0,be.T)(v=>v instanceof Ve||v instanceof hn?0:v instanceof Dt&&(v.code===Ae.Redirect||v.code===Ae.SupersededByNewNavigation)?2:1),(0,ct.p)(v=>2!==v),(0,Me.s)(1)).subscribe(()=>{y()})}const Vn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},vr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ot=(()=>{class _{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,A.WQX)(A.H3F);stateManager=(0,A.WQX)(to);options=(0,A.WQX)(Kt,{optional:!0})||{};pendingTasks=(0,A.WQX)(A.Ua0);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,A.WQX)(Jo);urlSerializer=(0,A.WQX)(ye);location=(0,A.WQX)($.aZ);urlHandlingStrategy=(0,A.WQX)(Tn);_events=new se.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,A.WQX)(Fo);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,A.WQX)(Qn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,A.WQX)(Jl,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:v=>{this.console.warn(v)}}),this.subscribeToNavigationEvents()}eventsSubscription=new lt.yU;subscribeToNavigationEvents(){const v=this.navigationTransitions.events.subscribe(b=>{try{const M=this.navigationTransitions.currentTransition,F=this.navigationTransitions.currentNavigation;if(null!==M&&null!==F)if(this.stateManager.handleRouterEvent(b,F),b instanceof Dt&&b.code!==Ae.Redirect&&b.code!==Ae.SupersededByNewNavigation)this.navigated=!0;else if(b instanceof Ve)this.navigated=!0;else if(b instanceof I){const N=b.navigationBehaviorOptions,oe=this.urlHandlingStrategy.merge(b.url,M.currentRawUrl),Se={browserUrl:M.extras.browserUrl,info:M.extras.info,skipLocationChange:M.extras.skipLocationChange,replaceUrl:M.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Ts(M.source),...N};this.scheduleNavigation(oe,fe,null,Se,{resolve:M.resolve,reject:M.reject,promise:M.promise})}(function vo(_){return!(_ instanceof z||_ instanceof I)})(b)&&this._events.next(b)}catch(M){this.navigationTransitions.transitionAbortSubject.next(M)}});this.eventsSubscription.add(v)}resetRootComponentType(v){this.routerState.root.component=v,this.navigationTransitions.rootComponentType=v}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fe,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((v,b,M)=>{this.navigateToSyncWithBrowser(v,M,b)})}navigateToSyncWithBrowser(v,b,M){const F={replaceUrl:!0},N=M?.navigationId?M:null;if(M){const Se={...M};delete Se.navigationId,delete Se.\u0275routerPageId,0!==Object.keys(Se).length&&(F.state=Se)}const oe=this.parseUrl(v);this.scheduleNavigation(oe,b,N,F)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(v){this.config=v.map(Hd),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(v,b={}){const{relativeTo:M,queryParams:F,fragment:N,queryParamsHandling:oe,preserveFragment:Se}=b,Ye=Se?this.currentUrlTree.fragment:N;let Un,Nt=null;switch(oe??this.options.defaultQueryParamsHandling){case"merge":Nt={...this.currentUrlTree.queryParams,...F};break;case"preserve":Nt=this.currentUrlTree.queryParams;break;default:Nt=F||null}null!==Nt&&(Nt=this.removeEmptyProps(Nt));try{Un=Yi(M?M.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof v[0]||"/"!==v[0][0])&&(v=[]),Un=this.currentUrlTree.root}return Di(Un,v,Nt,Ye??null)}navigateByUrl(v,b={skipLocationChange:!1}){const M=ri(v)?v:this.parseUrl(v),F=this.urlHandlingStrategy.merge(M,this.rawUrlTree);return this.scheduleNavigation(F,fe,null,b)}navigate(v,b={skipLocationChange:!1}){return function lc(_){for(let y=0;y<_.length;y++)if(null==_[y])throw new A.wOt(4008,!1)}(v),this.navigateByUrl(this.createUrlTree(v,b),b)}serializeUrl(v){return this.urlSerializer.serialize(v)}parseUrl(v){try{return this.urlSerializer.parse(v)}catch{return this.urlSerializer.parse("/")}}isActive(v,b){let M;if(M=!0===b?{...Vn}:!1===b?{...vr}:b,ri(v))return hi(this.currentUrlTree,v,M);const F=this.parseUrl(v);return hi(this.currentUrlTree,F,M)}removeEmptyProps(v){return Object.entries(v).reduce((b,[M,F])=>(null!=F&&(b[M]=F),b),{})}scheduleNavigation(v,b,M,F,N){if(this.disposed)return Promise.resolve(!1);let oe,Se,Ye;N?(oe=N.resolve,Se=N.reject,Ye=N.promise):Ye=new Promise((Un,$i)=>{oe=Un,Se=$i});const Nt=this.pendingTasks.add();return Lo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Nt))}),this.navigationTransitions.handleNavigationRequest({source:b,restoredState:M,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:v,extras:F,resolve:oe,reject:Se,promise:Ye,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ye.catch(Un=>Promise.reject(Un))}static \u0275fac=function(b){return new(b||_)};static \u0275prov=A.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},2476:(Ke,re,w)=>{"use strict";w.d(re,{B:()=>gt});var E=w(1360),$=w(1413),A=w(4572),W=w(8793),i=w(1985),B=w(6697),L=w(5245),Z=w(152),Y=w(6354),ie=w(9172),ne=w(6977),P=w(9536),Ze=w(1959);const xe=new Set;let He,ft=(()=>{class ke{_platform=(0,E.WQX)(P.P);_nonce=(0,E.WQX)(E.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):st}matchMedia(be){return(this._platform.WEBKIT||this._platform.BLINK)&&function lt(ke,se){if(!xe.has(ke))try{He||(He=document.createElement("style"),se&&He.setAttribute("nonce",se),He.setAttribute("type","text/css"),document.head.appendChild(He)),He.sheet&&(He.sheet.insertRule(`@media ${ke} {body{ }}`,0),xe.add(ke))}catch(be){console.error(be)}}(be,this._nonce),this._matchMedia(be)}static \u0275fac=function(De){return new(De||ke)};static \u0275prov=E.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})();function st(ke){return{matches:"all"===ke||""===ke,media:ke,addListener:()=>{},removeListener:()=>{}}}let gt=(()=>{class ke{_mediaMatcher=(0,E.WQX)(ft);_zone=(0,E.WQX)(E.SKi);_queries=new Map;_destroySubject=new $.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(be){return xt((0,Ze.c)(be)).some(Me=>this._registerQuery(Me).mql.matches)}observe(be){const Me=xt((0,Ze.c)(be)).map(ct=>this._registerQuery(ct).observable);let Ge=(0,A.z)(Me);return Ge=(0,W.x)(Ge.pipe((0,B.s)(1)),Ge.pipe((0,L.i)(1),(0,Z.B)(0))),Ge.pipe((0,Y.T)(ct=>{const at={matches:!1,breakpoints:{}};return ct.forEach(({matches:Ot,query:yt})=>{at.matches=at.matches||Ot,at.breakpoints[yt]=Ot}),at}))}_registerQuery(be){if(this._queries.has(be))return this._queries.get(be);const De=this._mediaMatcher.matchMedia(be),Ge={observable:new i.c(ct=>{const at=Ot=>this._zone.run(()=>ct.next(Ot));return De.addListener(at),()=>{De.removeListener(at)}}).pipe((0,ie.Z)(De),(0,Y.T)(({matches:ct})=>({query:be,matches:ct})),(0,ne.Q)(this._destroySubject)),mql:De};return this._queries.set(be,Ge),Ge}static \u0275fac=function(De){return new(De||ke)};static \u0275prov=E.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})();function xt(ke){return ke.map(se=>se.split(",")).reduce((se,be)=>se.concat(be)).map(se=>se.trim())}},2771:(Ke,re,w)=>{"use strict";w.d(re,{m:()=>A});var E=w(1413),$=w(6129);class A extends E.B{constructor(i=1/0,B=1/0,L=$.U){super(),this._bufferSize=i,this._windowTime=B,this._timestampProvider=L,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=B===1/0,this._bufferSize=Math.max(1,i),this._windowTime=Math.max(1,B)}next(i){const{isStopped:B,_buffer:L,_infiniteTimeWindow:Z,_timestampProvider:Y,_windowTime:ie}=this;B||(L.push(i),!Z&&L.push(Y.now()+ie)),this._trimBuffer(),super.next(i)}_subscribe(i){this._throwIfClosed(),this._trimBuffer();const B=this._innerSubscribe(i),{_infiniteTimeWindow:L,_buffer:Z}=this,Y=Z.slice();for(let ie=0;ie<Y.length&&!i.closed;ie+=L?1:2)i.next(Y[ie]);return this._checkFinalizedStatuses(i),B}_trimBuffer(){const{_bufferSize:i,_timestampProvider:B,_buffer:L,_infiniteTimeWindow:Z}=this,Y=(Z?1:2)*i;if(i<1/0&&Y<L.length&&L.splice(0,L.length-Y),!Z){const ie=B.now();let ne=0;for(let P=1;P<L.length&&L[P]<=ie;P+=2)ne=P;ne&&L.splice(0,ne+1)}}}},2881:(Ke,re,w)=>{"use strict";w.d(re,{MD:()=>ea,OI:()=>pi,QX:()=>fr,Sq:()=>Qo,T3:()=>_s,YU:()=>Et,bT:()=>ri,e1:()=>Bt,fG:()=>xo,fw:()=>A,ux:()=>fn,vh:()=>Ae});var E=w(1360),$=w(6048);let A=(()=>{class T extends $.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(I,k){super(),this._platformLocation=I,null!=k&&(this._baseHref=k)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(I){this._removeListenerFns.push(this._platformLocation.onPopState(I),this._platformLocation.onHashChange(I))}getBaseHref(){return this._baseHref}path(I=!1){const k=this._platformLocation.hash??"#";return k.length>0?k.substring(1):k}prepareExternalUrl(I){const k=(0,$.om)(this._baseHref,I);return k.length>0?"#"+k:k}pushState(I,k,K,ge){const et=this.prepareExternalUrl(K+(0,$.Q)(ge))||this._platformLocation.pathname;this._platformLocation.pushState(I,k,et)}replaceState(I,k,K,ge){const et=this.prepareExternalUrl(K+(0,$.Q)(ge))||this._platformLocation.pathname;this._platformLocation.replaceState(I,k,et)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(I=0){this._platformLocation.historyGo?.(I)}static \u0275fac=function(k){return new(k||T)(E.KVO($.Vw),E.KVO($.kB,8))};static \u0275prov=E.jDH({token:T,factory:T.\u0275fac})}return T})();var i=function(T){return T[T.Decimal=0]="Decimal",T[T.Percent=1]="Percent",T[T.Currency=2]="Currency",T[T.Scientific=3]="Scientific",T}(i||{}),L=function(T){return T[T.Format=0]="Format",T[T.Standalone=1]="Standalone",T}(L||{}),Z=function(T){return T[T.Narrow=0]="Narrow",T[T.Abbreviated=1]="Abbreviated",T[T.Wide=2]="Wide",T[T.Short=3]="Short",T}(Z||{}),Y=function(T){return T[T.Short=0]="Short",T[T.Medium=1]="Medium",T[T.Long=2]="Long",T[T.Full=3]="Full",T}(Y||{});function gt(T,z){return Te((0,E.H5H)(T)[E.KH2.DateFormat],z)}function xt(T,z){return Te((0,E.H5H)(T)[E.KH2.TimeFormat],z)}function ke(T,z){return Te((0,E.H5H)(T)[E.KH2.DateTimeFormat],z)}function se(T,z){const I=(0,E.H5H)(T),k=I[E.KH2.NumberSymbols][z];if(typeof k>"u"){if(12===z)return I[E.KH2.NumberSymbols][0];if(13===z)return I[E.KH2.NumberSymbols][1]}return k}function Ot(T){if(!T[E.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${T[E.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Te(T,z){for(let I=z;I>-1;I--)if(typeof T[I]<"u")return T[I];throw new Error("Locale data API: locale data undefined")}function Ee(T){const[z,I]=T.split(":");return{hours:+z,minutes:+I}}const Q=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,X={},le=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function pe(T,z,I,k){let K=function Ne(T){if(ae(T))return T;if("number"==typeof T&&!isNaN(T))return new Date(T);if("string"==typeof T){if(T=T.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(T)){const[K,ge=1,et=1]=T.split("-").map(dt=>+dt);return Le(K,ge-1,et)}const I=parseFloat(T);if(!isNaN(T-I))return new Date(I);let k;if(k=T.match(Q))return function j(T){const z=new Date(0);let I=0,k=0;const K=T[8]?z.setUTCFullYear:z.setFullYear,ge=T[8]?z.setUTCHours:z.setHours;T[9]&&(I=Number(T[9]+T[10]),k=Number(T[9]+T[11])),K.call(z,Number(T[1]),Number(T[2])-1,Number(T[3]));const et=Number(T[4]||0)-I,dt=Number(T[5]||0)-k,Dn=Number(T[6]||0),nn=Math.floor(1e3*parseFloat("0."+(T[7]||0)));return ge.call(z,et,dt,Dn,nn),z}(k)}const z=new Date(T);if(!ae(z))throw new Error(`Unable to convert "${T}" into a date`);return z}(T);z=Be(I,z)||z;let dt,et=[];for(;z;){if(dt=le.exec(z),!dt){et.push(z);break}{et=et.concat(dt.slice(1));const sn=et.pop();if(!sn)break;z=sn}}let Dn=K.getTimezoneOffset();k&&(Dn=Fn(k,Dn),K=function tt(T,z){const K=T.getTimezoneOffset();return function Xi(T,z){return(T=new Date(T.getTime())).setMinutes(T.getMinutes()+z),T}(T,-1*(Fn(z,K)-K))}(K,k));let nn="";return et.forEach(sn=>{const kt=function Vi(T){if(xi[T])return xi[T];let z;switch(T){case"G":case"GG":case"GGG":z=wt(3,Z.Abbreviated);break;case"GGGG":z=wt(3,Z.Wide);break;case"GGGGG":z=wt(3,Z.Narrow);break;case"y":z=it(0,1,0,!1,!0);break;case"yy":z=it(0,2,0,!0,!0);break;case"yyy":z=it(0,3,0,!1,!0);break;case"yyyy":z=it(0,4,0,!1,!0);break;case"Y":z=hi(1);break;case"YY":z=hi(2,!0);break;case"YYY":z=hi(3);break;case"YYYY":z=hi(4);break;case"M":case"L":z=it(1,1,1);break;case"MM":case"LL":z=it(1,2,1);break;case"MMM":z=wt(2,Z.Abbreviated);break;case"MMMM":z=wt(2,Z.Wide);break;case"MMMMM":z=wt(2,Z.Narrow);break;case"LLL":z=wt(2,Z.Abbreviated,L.Standalone);break;case"LLLL":z=wt(2,Z.Wide,L.Standalone);break;case"LLLLL":z=wt(2,Z.Narrow,L.Standalone);break;case"w":z=Wi(1);break;case"ww":z=Wi(2);break;case"W":z=Wi(1,!0);break;case"d":z=it(2,1);break;case"dd":z=it(2,2);break;case"c":case"cc":z=it(7,1);break;case"ccc":z=wt(1,Z.Abbreviated,L.Standalone);break;case"cccc":z=wt(1,Z.Wide,L.Standalone);break;case"ccccc":z=wt(1,Z.Narrow,L.Standalone);break;case"cccccc":z=wt(1,Z.Short,L.Standalone);break;case"E":case"EE":case"EEE":z=wt(1,Z.Abbreviated);break;case"EEEE":z=wt(1,Z.Wide);break;case"EEEEE":z=wt(1,Z.Narrow);break;case"EEEEEE":z=wt(1,Z.Short);break;case"a":case"aa":case"aaa":z=wt(0,Z.Abbreviated);break;case"aaaa":z=wt(0,Z.Wide);break;case"aaaaa":z=wt(0,Z.Narrow);break;case"b":case"bb":case"bbb":z=wt(0,Z.Abbreviated,L.Standalone,!0);break;case"bbbb":z=wt(0,Z.Wide,L.Standalone,!0);break;case"bbbbb":z=wt(0,Z.Narrow,L.Standalone,!0);break;case"B":case"BB":case"BBB":z=wt(0,Z.Abbreviated,L.Format,!0);break;case"BBBB":z=wt(0,Z.Wide,L.Format,!0);break;case"BBBBB":z=wt(0,Z.Narrow,L.Format,!0);break;case"h":z=it(3,1,-12);break;case"hh":z=it(3,2,-12);break;case"H":z=it(3,1);break;case"HH":z=it(3,2);break;case"m":z=it(4,1);break;case"mm":z=it(4,2);break;case"s":z=it(5,1);break;case"ss":z=it(5,2);break;case"S":z=it(6,1);break;case"SS":z=it(6,2);break;case"SSS":z=it(6,3);break;case"Z":case"ZZ":case"ZZZ":z=Ht(0);break;case"ZZZZZ":z=Ht(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":z=Ht(1);break;case"OOOO":case"ZZZZ":case"zzzz":z=Ht(2);break;default:return null}return xi[T]=z,z}(sn);nn+=kt?kt(K,I,Dn):"''"===sn?"'":sn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),nn}function Le(T,z,I){const k=new Date(0);return k.setFullYear(T,z,I),k.setHours(0,0,0),k}function Be(T,z){const I=function P(T){return(0,E.H5H)(T)[E.KH2.LocaleId]}(T);if(X[I]??={},X[I][z])return X[I][z];let k="";switch(z){case"shortDate":k=gt(T,Y.Short);break;case"mediumDate":k=gt(T,Y.Medium);break;case"longDate":k=gt(T,Y.Long);break;case"fullDate":k=gt(T,Y.Full);break;case"shortTime":k=xt(T,Y.Short);break;case"mediumTime":k=xt(T,Y.Medium);break;case"longTime":k=xt(T,Y.Long);break;case"fullTime":k=xt(T,Y.Full);break;case"short":const K=Be(T,"shortTime"),ge=Be(T,"shortDate");k=Ue(ke(T,Y.Short),[K,ge]);break;case"medium":const et=Be(T,"mediumTime"),dt=Be(T,"mediumDate");k=Ue(ke(T,Y.Medium),[et,dt]);break;case"long":const Dn=Be(T,"longTime"),nn=Be(T,"longDate");k=Ue(ke(T,Y.Long),[Dn,nn]);break;case"full":const sn=Be(T,"fullTime"),kt=Be(T,"fullDate");k=Ue(ke(T,Y.Full),[sn,kt])}return k&&(X[I][z]=k),k}function Ue(T,z){return z&&(T=T.replace(/\{([^}]+)}/g,function(I,k){return null!=z&&k in z?z[k]:I})),T}function Mt(T,z,I="-",k,K){let ge="";(T<0||K&&T<=0)&&(K?T=1-T:(T=-T,ge=I));let et=String(T);for(;et.length<z;)et="0"+et;return k&&(et=et.slice(et.length-z)),ge+et}function it(T,z,I=0,k=!1,K=!1){return function(ge,et){let dt=function un(T,z){switch(T){case 0:return z.getFullYear();case 1:return z.getMonth();case 2:return z.getDate();case 3:return z.getHours();case 4:return z.getMinutes();case 5:return z.getSeconds();case 6:return z.getMilliseconds();case 7:return z.getDay();default:throw new Error(`Unknown DateType value "${T}".`)}}(T,ge);if((I>0||dt>-I)&&(dt+=I),3===T)0===dt&&-12===I&&(dt=12);else if(6===T)return function vn(T,z){return Mt(T,3).substring(0,z)}(dt,z);const Dn=se(et,5);return Mt(dt,z,Dn,k,K)}}function wt(T,z,I=L.Format,k=!1){return function(K,ge){return function Mn(T,z,I,k,K,ge){switch(I){case 2:return function He(T,z,I){const k=(0,E.H5H)(T),ge=Te([k[E.KH2.MonthsFormat],k[E.KH2.MonthsStandalone]],z);return Te(ge,I)}(z,K,k)[T.getMonth()];case 1:return function xe(T,z,I){const k=(0,E.H5H)(T),ge=Te([k[E.KH2.DaysFormat],k[E.KH2.DaysStandalone]],z);return Te(ge,I)}(z,K,k)[T.getDay()];case 0:const et=T.getHours(),dt=T.getMinutes();if(ge){const nn=function yt(T){const z=(0,E.H5H)(T);return Ot(z),(z[E.KH2.ExtraData][2]||[]).map(k=>"string"==typeof k?Ee(k):[Ee(k[0]),Ee(k[1])])}(z),sn=function rn(T,z,I){const k=(0,E.H5H)(T);Ot(k);const ge=Te([k[E.KH2.ExtraData][0],k[E.KH2.ExtraData][1]],z)||[];return Te(ge,I)||[]}(z,K,k),kt=nn.findIndex(vt=>{if(Array.isArray(vt)){const[pn,$n]=vt,Bn=et>=pn.hours&&dt>=pn.minutes,po=et<$n.hours||et===$n.hours&&dt<$n.minutes;if(pn.hours<$n.hours){if(Bn&&po)return!0}else if(Bn||po)return!0}else if(vt.hours===et&&vt.minutes===dt)return!0;return!1});if(-1!==kt)return sn[kt]}return function Ze(T,z,I){const k=(0,E.H5H)(T),ge=Te([k[E.KH2.DayPeriodsFormat],k[E.KH2.DayPeriodsStandalone]],z);return Te(ge,I)}(z,K,k)[et<12?0:1];case 3:return function ft(T,z){return Te((0,E.H5H)(T)[E.KH2.Eras],z)}(z,k)[T.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${I}`)}}(K,ge,T,z,I,k)}}function Ht(T){return function(z,I,k){const K=-1*k,ge=se(I,5),et=K>0?Math.floor(K/60):Math.ceil(K/60);switch(T){case 0:return(K>=0?"+":"")+Mt(et,2,ge)+Mt(Math.abs(K%60),2,ge);case 1:return"GMT"+(K>=0?"+":"")+Mt(et,1,ge);case 2:return"GMT"+(K>=0?"+":"")+Mt(et,2,ge)+":"+Mt(Math.abs(K%60),2,ge);case 3:return 0===k?"Z":(K>=0?"+":"")+Mt(et,2,ge)+":"+Mt(Math.abs(K%60),2,ge);default:throw new Error(`Unknown zone width "${T}"`)}}}const ln=0,tn=4;function Pn(T){const z=T.getDay(),I=0===z?-3:tn-z;return Le(T.getFullYear(),T.getMonth(),T.getDate()+I)}function Wi(T,z=!1){return function(I,k){let K;if(z){const ge=new Date(I.getFullYear(),I.getMonth(),1).getDay()-1,et=I.getDate();K=1+Math.floor((et+ge)/7)}else{const ge=Pn(I),et=function Zt(T){const z=Le(T,ln,1).getDay();return Le(T,0,1+(z<=tn?tn:tn+7)-z)}(ge.getFullYear()),dt=ge.getTime()-et.getTime();K=1+Math.round(dt/6048e5)}return Mt(K,T,se(k,5))}}function hi(T,z=!1){return function(I,k){return Mt(Pn(I).getFullYear(),T,se(k,5),z)}}const xi={};function Fn(T,z){T=T.replace(/:/g,"");const I=Date.parse("Jan 01, 1970 00:00:00 "+T)/6e4;return isNaN(I)?z:I}function ae(T){return T instanceof Date&&!isNaN(T.valueOf())}const ze=/^(\d+)?\.((\d+)(-(\d+))?)?$/,q="0";function Vr(T){const z=parseInt(T);if(isNaN(z))throw new Error("Invalid integer literal when parsing "+T);return z}const Xo=/\s+/,fo=[];let Et=(()=>{class T{_ngEl;_renderer;initialClasses=fo;rawClass;stateMap=new Map;constructor(I,k){this._ngEl=I,this._renderer=k}set klass(I){this.initialClasses=null!=I?I.trim().split(Xo):fo}set ngClass(I){this.rawClass="string"==typeof I?I.trim().split(Xo):I}ngDoCheck(){for(const k of this.initialClasses)this._updateState(k,!0);const I=this.rawClass;if(Array.isArray(I)||I instanceof Set)for(const k of I)this._updateState(k,!0);else if(null!=I)for(const k of Object.keys(I))this._updateState(k,!!I[k]);this._applyStateDiff()}_updateState(I,k){const K=this.stateMap.get(I);void 0!==K?(K.enabled!==k&&(K.changed=!0,K.enabled=k),K.touched=!0):this.stateMap.set(I,{enabled:k,changed:!0,touched:!0})}_applyStateDiff(){for(const I of this.stateMap){const k=I[0],K=I[1];K.changed?(this._toggleClass(k,K.enabled),K.changed=!1):K.touched||(K.enabled&&this._toggleClass(k,!1),this.stateMap.delete(k)),K.touched=!1}}_toggleClass(I,k){(I=I.trim()).length>0&&I.split(Xo).forEach(K=>{k?this._renderer.addClass(this._ngEl.nativeElement,K):this._renderer.removeClass(this._ngEl.nativeElement,K)})}static \u0275fac=function(k){return new(k||T)(E.rXU(E.aKT),E.rXU(E.sFG))};static \u0275dir=E.FsC({type:T,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return T})(),pi=(()=>{class T{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(I){this._viewContainerRef=I}_needToReCreateNgModuleInstance(I){return void 0!==I.ngComponentOutletNgModule||void 0!==I.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(I){return void 0!==I.ngComponentOutlet||void 0!==I.ngComponentOutletContent||void 0!==I.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(I)}ngOnChanges(I){if(this._needToReCreateComponentInstance(I)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const k=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(I)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,E.w6W)(this.ngComponentOutletNgModule,yn(k)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(yn(k)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:k,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const I of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(I,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(I){for(const[k,K]of this._inputsUsed)K?(I.setInput(k,this.ngComponentOutletInputs[k]),this._inputsUsed.set(k,!1)):(I.setInput(k,void 0),this._inputsUsed.delete(k))}static \u0275fac=function(k){return new(k||T)(E.rXU(E.c1b))};static \u0275dir=E.FsC({type:T,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[E.OA$]})}return T})();function yn(T){return T.get(E.Vns).injector}class jr{$implicit;ngForOf;index;count;constructor(z,I,k,K){this.$implicit=z,this.ngForOf=I,this.index=k,this.count=K}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Qo=(()=>{class T{_viewContainer;_template;_differs;set ngForOf(I){this._ngForOf=I,this._ngForOfDirty=!0}set ngForTrackBy(I){this._trackByFn=I}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(I,k,K){this._viewContainer=I,this._template=k,this._differs=K}set ngForTemplate(I){I&&(this._template=I)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const I=this._ngForOf;!this._differ&&I&&(this._differ=this._differs.find(I).create(this.ngForTrackBy))}if(this._differ){const I=this._differ.diff(this._ngForOf);I&&this._applyChanges(I)}}_applyChanges(I){const k=this._viewContainer;I.forEachOperation((K,ge,et)=>{if(null==K.previousIndex)k.createEmbeddedView(this._template,new jr(K.item,this._ngForOf,-1,-1),null===et?void 0:et);else if(null==et)k.remove(null===ge?void 0:ge);else if(null!==ge){const dt=k.get(ge);k.move(dt,et),Ko(dt,K)}});for(let K=0,ge=k.length;K<ge;K++){const dt=k.get(K).context;dt.index=K,dt.count=ge,dt.ngForOf=this._ngForOf}I.forEachIdentityChange(K=>{Ko(k.get(K.currentIndex),K)})}static ngTemplateContextGuard(I,k){return!0}static \u0275fac=function(k){return new(k||T)(E.rXU(E.c1b),E.rXU(E.C4Q),E.rXU(E._q3))};static \u0275dir=E.FsC({type:T,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return T})();function Ko(T,z){T.context.$implicit=z.item}let ri=(()=>{class T{_viewContainer;_context=new qi;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(I,k){this._viewContainer=I,this._thenTemplateRef=k}set ngIf(I){this._context.$implicit=this._context.ngIf=I,this._updateView()}set ngIfThen(I){Yi(I),this._thenTemplateRef=I,this._thenViewRef=null,this._updateView()}set ngIfElse(I){Yi(I),this._elseTemplateRef=I,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(I,k){return!0}static \u0275fac=function(k){return new(k||T)(E.rXU(E.c1b),E.rXU(E.C4Q))};static \u0275dir=E.FsC({type:T,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return T})();class qi{$implicit=null;ngIf=null}function Yi(T,z){if(T&&!T.createEmbeddedView)throw new E.wOt(2020,!1)}class Di{_viewContainerRef;_templateRef;_created=!1;constructor(z,I){this._viewContainerRef=z,this._templateRef=I}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(z){z&&!this._created?this.create():!z&&this._created&&this.destroy()}}let fn=(()=>{class T{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(I){this._ngSwitch=I,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(I){this._defaultViews.push(I)}_matchCase(I){const k=I===this._ngSwitch;return this._lastCasesMatched||=k,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),k}_updateDefaultCases(I){if(this._defaultViews.length>0&&I!==this._defaultUsed){this._defaultUsed=I;for(const k of this._defaultViews)k.enforceState(I)}}static \u0275fac=function(k){return new(k||T)};static \u0275dir=E.FsC({type:T,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return T})(),Bt=(()=>{class T{ngSwitch;_view;ngSwitchCase;constructor(I,k,K){this.ngSwitch=K,K._addCase(),this._view=new Di(I,k)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(k){return new(k||T)(E.rXU(E.c1b),E.rXU(E.C4Q),E.rXU(fn,9))};static \u0275dir=E.FsC({type:T,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return T})(),xo=(()=>{class T{constructor(I,k,K){K._addDefault(new Di(I,k))}static \u0275fac=function(k){return new(k||T)(E.rXU(E.c1b),E.rXU(E.C4Q),E.rXU(fn,9))};static \u0275dir=E.FsC({type:T,selectors:[["","ngSwitchDefault",""]]})}return T})(),_s=(()=>{class T{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(I){this._viewContainerRef=I}ngOnChanges(I){if(this._shouldRecreateView(I)){const k=this._viewContainerRef;if(this._viewRef&&k.remove(k.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const K=this._createContextForwardProxy();this._viewRef=k.createEmbeddedView(this.ngTemplateOutlet,K,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(I){return!!I.ngTemplateOutlet||!!I.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(I,k,K)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,k,K),get:(I,k,K)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,k,K)}})}static \u0275fac=function(k){return new(k||T)(E.rXU(E.c1b))};static \u0275dir=E.FsC({type:T,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[E.OA$]})}return T})();function Zn(T,z){return new E.wOt(2100,!1)}const Fe=new E.nKC(""),Ve=new E.nKC("");let Ae=(()=>{class T{locale;defaultTimezone;defaultOptions;constructor(I,k,K){this.locale=I,this.defaultTimezone=k,this.defaultOptions=K}transform(I,k,K,ge){if(null==I||""===I||I!=I)return null;try{return pe(I,k??this.defaultOptions?.dateFormat??"mediumDate",ge||this.locale,K??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(et){throw Zn()}}static \u0275fac=function(k){return new(k||T)(E.rXU(E.xe9,16),E.rXU(Fe,24),E.rXU(Ve,24))};static \u0275pipe=E.EJ8({name:"date",type:T,pure:!0})}return T})(),fr=(()=>{class T{_locale;constructor(I){this._locale=I}transform(I,k,K){if(!function Qa(T){return!(null==T||""===T||T!=T)}(I))return null;K||=this._locale;try{return function Lr(T,z,I){return function Ai(T,z,I,k,K,ge,et=!1){let dt="",Dn=!1;if(isFinite(T)){let nn=function Wo(T){let k,K,ge,et,dt,z=Math.abs(T)+"",I=0;for((K=z.indexOf("."))>-1&&(z=z.replace(".","")),(ge=z.search(/e/i))>0?(K<0&&(K=ge),K+=+z.slice(ge+1),z=z.substring(0,ge)):K<0&&(K=z.length),ge=0;z.charAt(ge)===q;ge++);if(ge===(dt=z.length))k=[0],K=1;else{for(dt--;z.charAt(dt)===q;)dt--;for(K-=ge,k=[],et=0;ge<=dt;ge++,et++)k[et]=Number(z.charAt(ge))}return K>22&&(k=k.splice(0,21),I=K-1,K=1),{digits:k,exponent:I,integerLen:K}}(T);et&&(nn=function Br(T){if(0===T.digits[0])return T;const z=T.digits.length-T.integerLen;return T.exponent?T.exponent+=2:(0===z?T.digits.push(0,0):1===z&&T.digits.push(0),T.integerLen+=2),T}(nn));let sn=z.minInt,kt=z.minFrac,vt=z.maxFrac;if(ge){const mo=ge.match(ze);if(null===mo)throw new Error(`${ge} is not a valid digit info`);const Ao=mo[1],Ur=mo[3],qa=mo[5];null!=Ao&&(sn=Vr(Ao)),null!=Ur&&(kt=Vr(Ur)),null!=qa?vt=Vr(qa):null!=Ur&&kt>vt&&(vt=kt)}!function Ut(T,z,I){if(z>I)throw new Error(`The minimum number of digits after fraction (${z}) is higher than the maximum (${I}).`);let k=T.digits,K=k.length-T.integerLen;const ge=Math.min(Math.max(z,K),I);let et=ge+T.integerLen,dt=k[et];if(et>0){k.splice(Math.max(T.integerLen,et));for(let kt=et;kt<k.length;kt++)k[kt]=0}else{K=Math.max(0,K),T.integerLen=1,k.length=Math.max(1,et=ge+1),k[0]=0;for(let kt=1;kt<et;kt++)k[kt]=0}if(dt>=5)if(et-1<0){for(let kt=0;kt>et;kt--)k.unshift(0),T.integerLen++;k.unshift(1),T.integerLen++}else k[et-1]++;for(;K<Math.max(0,ge);K++)k.push(0);let Dn=0!==ge;const nn=z+T.integerLen,sn=k.reduceRight(function(kt,vt,pn,$n){return $n[pn]=(vt+=kt)<10?vt:vt-10,Dn&&(0===$n[pn]&&pn>=nn?$n.pop():Dn=!1),vt>=10?1:0},0);sn&&(k.unshift(sn),T.integerLen++)}(nn,kt,vt);let pn=nn.digits,$n=nn.integerLen;const Bn=nn.exponent;let po=[];for(Dn=pn.every(mo=>!mo);$n<sn;$n++)pn.unshift(0);for(;$n<0;$n++)pn.unshift(0);$n>0?po=pn.splice($n,pn.length):(po=pn,pn=[0]);const Oi=[];for(pn.length>=z.lgSize&&Oi.unshift(pn.splice(-z.lgSize,pn.length).join(""));pn.length>z.gSize;)Oi.unshift(pn.splice(-z.gSize,pn.length).join(""));pn.length&&Oi.unshift(pn.join("")),dt=Oi.join(se(I,k)),po.length&&(dt+=se(I,K)+po.join("")),Bn&&(dt+=se(I,6)+"+"+Bn)}else dt=se(I,9);return dt=T<0&&!Dn?z.negPre+dt+z.negSuf:z.posPre+dt+z.posSuf,dt}(T,function Cn(T,z="-"){const I={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},k=T.split(";"),K=k[0],ge=k[1],et=-1!==K.indexOf(".")?K.split("."):[K.substring(0,K.lastIndexOf(q)+1),K.substring(K.lastIndexOf(q)+1)],dt=et[0],Dn=et[1]||"";I.posPre=dt.substring(0,dt.indexOf("#"));for(let sn=0;sn<Dn.length;sn++){const kt=Dn.charAt(sn);kt===q?I.minFrac=I.maxFrac=sn+1:"#"===kt?I.maxFrac=sn+1:I.posSuf+=kt}const nn=dt.split(",");if(I.gSize=nn[1]?nn[1].length:0,I.lgSize=nn[2]||nn[1]?(nn[2]||nn[1]).length:0,ge){const sn=K.length-I.posPre.length-I.posSuf.length,kt=ge.indexOf("#");I.negPre=ge.substring(0,kt).replace(/'/g,""),I.negSuf=ge.slice(kt+sn).replace(/'/g,"")}else I.negPre=z+I.posPre,I.negSuf=I.posSuf;return I}(function be(T,z){return(0,E.H5H)(T)[E.KH2.NumberFormats][z]}(z,i.Decimal),se(z,5)),z,1,0,I)}(function ys(T){if("string"==typeof T&&!isNaN(Number(T)-parseFloat(T)))return Number(T);if("number"!=typeof T)throw new Error(`${T} is not a number`);return T}(I),K,k)}catch(ge){throw Zn()}}static \u0275fac=function(k){return new(k||T)(E.rXU(E.xe9,16))};static \u0275pipe=E.EJ8({name:"number",type:T,pure:!0})}return T})();let ea=(()=>{class T{static \u0275fac=function(k){return new(k||T)};static \u0275mod=E.$C({type:T});static \u0275inj=E.G2t({})}return T})()},3073:(Ke,re,w)=>{"use strict";w.d(re,{D:()=>i});const{isArray:E}=Array,{getPrototypeOf:$,prototype:A,keys:W}=Object;function i(L){if(1===L.length){const Z=L[0];if(E(Z))return{args:Z,keys:null};if(function B(L){return L&&"object"==typeof L&&$(L)===A}(Z)){const Y=W(Z);return{args:Y.map(ie=>Z[ie]),keys:Y}}}return{args:L,keys:null}}},3236:(Ke,re,w)=>{"use strict";w.d(re,{E:()=>A,b:()=>W});var E=w(6780);const A=new(w(9687).q)(E.R),W=A},3441:(Ke,re,w)=>{"use strict";w.r(re),w.d(re,{LayoutComponent:()=>ze});var E=w(9361),$=w(2881),A=w(1680),W=w(9396),i=w(1845),B=w(5254),L=w(9355),Z=w(7035),Y=w(7336),ie=w(9536),ne=w(3980),P=w(1360),Ze=w(1413),xe=w(8750),He=w(1985),ft=w(1397),lt=w(7441),st=w(8071),gt=w(6450);const xt=["addListener","removeListener"],ke=["addEventListener","removeEventListener"],se=["on","off"];function be(me,mt,q,ye){if((0,st.T)(q)&&(ye=q,q=void 0),ye)return be(me,mt,q).pipe((0,gt.I)(ye));const[Ie,zt]=function ct(me){return(0,st.T)(me.addEventListener)&&(0,st.T)(me.removeEventListener)}(me)?ke.map($t=>Gt=>me[$t](mt,Gt,q)):function Me(me){return(0,st.T)(me.addListener)&&(0,st.T)(me.removeListener)}(me)?xt.map(De(me,mt)):function Ge(me){return(0,st.T)(me.on)&&(0,st.T)(me.off)}(me)?se.map(De(me,mt)):[];if(!Ie&&(0,lt.X)(me))return(0,ft.Z)($t=>be($t,mt,q))((0,xe.Tg)(me));if(!Ie)throw new TypeError("Invalid event target");return new He.c($t=>{const Gt=(...Ai)=>$t.next(1<Ai.length?Ai:Ai[0]);return Ie(Gt),()=>zt(Gt)})}function De(me,mt){return q=>ye=>me[q](mt,ye)}var at=w(7786),Ot=w(5964),yt=w(6354),rn=w(3703),he=w(6977),Te=w(6697),Ee=w(9172),$e=w(152),bt=w(777);const Oe=["*"],Q=["content"],X=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],le=["mat-drawer","mat-drawer-content","*"];function pe(me,mt){if(1&me){const q=P.RV6();P.j41(0,"div",1),P.bIt("click",function(){P.eBV(q);const Ie=P.XpG();return P.Njj(Ie._onBackdropClicked())}),P.k0s()}if(2&me){const q=P.XpG();P.AVh("mat-drawer-shown",q._isShowingBackdrop())}}function Le(me,mt){1&me&&(P.j41(0,"mat-drawer-content"),P.SdG(1,2),P.k0s())}const Be=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ue=["mat-sidenav","mat-sidenav-content","*"];function Mt(me,mt){if(1&me){const q=P.RV6();P.j41(0,"div",1),P.bIt("click",function(){P.eBV(q);const Ie=P.XpG();return P.Njj(Ie._onBackdropClicked())}),P.k0s()}if(2&me){const q=P.XpG();P.AVh("mat-drawer-shown",q._isShowingBackdrop())}}function vn(me,mt){1&me&&(P.j41(0,"mat-sidenav-content"),P.SdG(1,2),P.k0s())}const wt=new P.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Ht(){return!1}}),Mn=new P.nKC("MAT_DRAWER_CONTAINER");let ln=(()=>{class me extends ne.uv{_platform=(0,P.WQX)(ie.P);_changeDetectorRef=(0,P.WQX)(P.gRc);_container=(0,P.WQX)(Zt);constructor(){super((0,P.WQX)(P.aKT),(0,P.WQX)(ne.R),(0,P.WQX)(P.SKi))}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;const{start:q,end:ye}=this._container;return null!=q&&"over"!==q.mode&&q.opened||null!=ye&&"over"!==ye.mode&&ye.opened}static \u0275fac=function(ye){return new(ye||me)};static \u0275cmp=P.VBU({type:me,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(ye,Ie){2&ye&&(P.xc7("margin-left",Ie._container._contentMargins.left,"px")("margin-right",Ie._container._contentMargins.right,"px"),P.AVh("mat-drawer-content-hidden",Ie._shouldBeHidden()))},features:[P.Jv_([{provide:ne.uv,useExisting:me}]),P.Vt3],ngContentSelectors:Oe,decls:1,vars:0,template:function(ye,Ie){1&ye&&(P.NAR(),P.SdG(0))},encapsulation:2,changeDetection:0})}return me})(),tn=(()=>{class me{_elementRef=(0,P.WQX)(P.aKT);_focusTrapFactory=(0,P.WQX)(A.F);_focusMonitor=(0,P.WQX)(W.F);_platform=(0,P.WQX)(ie.P);_ngZone=(0,P.WQX)(P.SKi);_renderer=(0,P.WQX)(P.sFG);_interactivityChecker=(0,P.WQX)(A.I);_doc=(0,P.WQX)(E.q,{optional:!0});_container=(0,P.WQX)(Mn,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached;_anchor;get position(){return this._position}set position(q){(q="end"===q?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(q),this._position=q,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(q){this._mode=q,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(q){this._disableClose=(0,B.c)(q)}_disableClose=!1;get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(q){("true"===q||"false"===q||null==q)&&(q=(0,B.c)(q)),this._autoFocus=q}_autoFocus;get opened(){return this._opened}set opened(q){this.toggle((0,B.c)(q))}_opened=!1;_openedVia;_animationStarted=new Ze.B;_animationEnd=new Ze.B;openedChange=new P.bkB(!0);_openedStream=this.openedChange.pipe((0,Ot.p)(q=>q),(0,yt.T)(()=>{}));openedStart=this._animationStarted.pipe((0,Ot.p)(()=>this.opened),(0,rn.u)(void 0));_closedStream=this.openedChange.pipe((0,Ot.p)(q=>!q),(0,yt.T)(()=>{}));closedStart=this._animationStarted.pipe((0,Ot.p)(()=>!this.opened),(0,rn.u)(void 0));_destroyed=new Ze.B;onPositionChanged=new P.bkB;_content;_modeChanged=new Ze.B;_injector=(0,P.WQX)(P.zZn);_changeDetectorRef=(0,P.WQX)(P.gRc);constructor(){this.openedChange.pipe((0,he.Q)(this._destroyed)).subscribe(q=>{q?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{const q=this._elementRef.nativeElement;be(q,"keydown").pipe((0,Ot.p)(ye=>ye.keyCode===Z.g&&!this.disableClose&&!(0,Y.rp)(ye)),(0,he.Q)(this._destroyed)).subscribe(ye=>this._ngZone.run(()=>{this.close(),ye.stopPropagation(),ye.preventDefault()})),this._eventCleanups=[this._renderer.listen(q,"transitionrun",this._handleTransitionEvent),this._renderer.listen(q,"transitionend",this._handleTransitionEvent),this._renderer.listen(q,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this._opened)})}_forceFocus(q,ye){this._interactivityChecker.isFocusable(q)||(q.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ie=()=>{zt(),$t(),q.removeAttribute("tabindex")},zt=this._renderer.listen(q,"blur",Ie),$t=this._renderer.listen(q,"mousedown",Ie)})),q.focus(ye)}_focusByCssSelector(q,ye){let Ie=this._elementRef.nativeElement.querySelector(q);Ie&&this._forceFocus(Ie,ye)}_takeFocus(){if(!this._focusTrap)return;const q=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,P.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof q.focus&&q.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(q){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,q):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const q=this._doc.activeElement;return!!q&&this._elementRef.nativeElement.contains(q)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(q=>q()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(q){return this.toggle(!0,q)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(q=!this.opened,ye){q&&ye&&(this._openedVia=ye);const Ie=this._setOpen(q,!q&&this._isFocusWithinDrawer(),this._openedVia||"program");return q||(this._openedVia=null),Ie}_setOpen(q,ye,Ie){return q===this._opened?Promise.resolve(q?"open":"close"):(this._opened=q,this._container?._transitionsEnabled?this._setIsAnimating(!0):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",q),!q&&ye&&this._restoreFocus(Ie),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(zt=>{this.openedChange.pipe((0,Te.s)(1)).subscribe($t=>zt($t?"open":"close"))}))}_setIsAnimating(q){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",q)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(q){if(!this._platform.isBrowser)return;const ye=this._elementRef.nativeElement,Ie=ye.parentNode;"end"===q?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Ie.insertBefore(this._anchor,ye)),Ie.appendChild(ye)):this._anchor&&this._anchor.parentNode.insertBefore(ye,this._anchor)}_handleTransitionEvent=q=>{q.target===this._elementRef.nativeElement&&this._ngZone.run(()=>{"transitionrun"===q.type?this._animationStarted.next(q):("transitionend"===q.type&&this._setIsAnimating(!1),this._animationEnd.next(q))})};static \u0275fac=function(ye){return new(ye||me)};static \u0275cmp=P.VBU({type:me,selectors:[["mat-drawer"]],viewQuery:function(ye,Ie){if(1&ye&&P.GBs(Q,5),2&ye){let zt;P.mGM(zt=P.lsd())&&(Ie._content=zt.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:11,hostBindings:function(ye,Ie){2&ye&&(P.BMQ("align",null),P.xc7("visibility",Ie._container||Ie.opened?null:"hidden"),P.AVh("mat-drawer-end","end"===Ie.position)("mat-drawer-over","over"===Ie.mode)("mat-drawer-push","push"===Ie.mode)("mat-drawer-side","side"===Ie.mode))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Oe,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(ye,Ie){1&ye&&(P.NAR(),P.j41(0,"div",1,0),P.SdG(2),P.k0s())},dependencies:[ne.uv],encapsulation:2,changeDetection:0})}return me})(),Zt=(()=>{class me{_dir=(0,P.WQX)(i.D,{optional:!0});_element=(0,P.WQX)(P.aKT);_ngZone=(0,P.WQX)(P.SKi);_changeDetectorRef=(0,P.WQX)(P.gRc);_animationMode=(0,P.WQX)(P.bc$,{optional:!0});_transitionsEnabled=!1;_allDrawers;_drawers=new P.rOR;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(q){this._autosize=(0,B.c)(q)}_autosize=(0,P.WQX)(wt);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(q){this._backdropOverride=null==q?null:(0,B.c)(q)}_backdropOverride;backdropClick=new P.bkB;_start;_end;_left;_right;_destroyed=new Ze.B;_doCheckSubject=new Ze.B;_contentMargins={left:null,right:null};_contentMarginChanges=new Ze.B;get scrollable(){return this._userContent||this._content}_injector=(0,P.WQX)(P.zZn);constructor(){const q=(0,P.WQX)(ie.P),ye=(0,P.WQX)(ne.Xj);this._dir?.change.pipe((0,he.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),ye.change().pipe((0,he.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),"NoopAnimations"!==this._animationMode&&q.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Ee.Z)(this._allDrawers),(0,he.Q)(this._destroyed)).subscribe(q=>{this._drawers.reset(q.filter(ye=>!ye._container||ye._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Ee.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(q=>{this._watchDrawerToggle(q),this._watchDrawerPosition(q),this._watchDrawerMode(q)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,$e.B)(10),(0,he.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(q=>q.open())}close(){this._drawers.forEach(q=>q.close())}updateContentMargins(){let q=0,ye=0;if(this._left&&this._left.opened)if("side"==this._left.mode)q+=this._left._getWidth();else if("push"==this._left.mode){const Ie=this._left._getWidth();q+=Ie,ye-=Ie}if(this._right&&this._right.opened)if("side"==this._right.mode)ye+=this._right._getWidth();else if("push"==this._right.mode){const Ie=this._right._getWidth();ye+=Ie,q-=Ie}q=q||null,ye=ye||null,(q!==this._contentMargins.left||ye!==this._contentMargins.right)&&(this._contentMargins={left:q,right:ye},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(q){q._animationStarted.pipe((0,he.Q)(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==q.mode&&q.openedChange.pipe((0,he.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(q.opened))}_watchDrawerPosition(q){q.onPositionChanged.pipe((0,he.Q)(this._drawers.changes)).subscribe(()=>{(0,P.mal)({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(q){q._modeChanged.pipe((0,he.Q)((0,at.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(q){const ye=this._element.nativeElement.classList,Ie="mat-drawer-container-has-open";q?ye.add(Ie):ye.remove(Ie)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(q=>{"end"==q.position?this._end=q:this._start=q}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(q=>q&&!q.disableClose&&this._drawerHasBackdrop(q)).forEach(q=>q._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(q){return null!=q&&q.opened}_drawerHasBackdrop(q){return null==this._backdropOverride?!!q&&"side"!==q.mode:this._backdropOverride}static \u0275fac=function(ye){return new(ye||me)};static \u0275cmp=P.VBU({type:me,selectors:[["mat-drawer-container"]],contentQueries:function(ye,Ie,zt){if(1&ye&&(P.wni(zt,ln,5),P.wni(zt,tn,5)),2&ye){let $t;P.mGM($t=P.lsd())&&(Ie._content=$t.first),P.mGM($t=P.lsd())&&(Ie._allDrawers=$t)}},viewQuery:function(ye,Ie){if(1&ye&&P.GBs(ln,5),2&ye){let zt;P.mGM(zt=P.lsd())&&(Ie._userContent=zt.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ye,Ie){2&ye&&P.AVh("mat-drawer-container-explicit-backdrop",Ie._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[P.Jv_([{provide:Mn,useExisting:me}])],ngContentSelectors:le,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ye,Ie){1&ye&&(P.NAR(X),P.DNE(0,pe,1,2,"div",0),P.SdG(1),P.SdG(2,1),P.DNE(3,Le,2,0,"mat-drawer-content")),2&ye&&(P.vxM(Ie.hasBackdrop?0:-1),P.R7$(3),P.vxM(Ie._content?-1:3))},dependencies:[ln],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0})}return me})(),Pn=(()=>{class me extends ln{static \u0275fac=(()=>{let q;return function(Ie){return(q||(q=P.xGo(me)))(Ie||me)}})();static \u0275cmp=P.VBU({type:me,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[P.Jv_([{provide:ne.uv,useExisting:me}]),P.Vt3],ngContentSelectors:Oe,decls:1,vars:0,template:function(ye,Ie){1&ye&&(P.NAR(),P.SdG(0))},encapsulation:2,changeDetection:0})}return me})(),Wi=(()=>{class me extends tn{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(q){this._fixedInViewport=(0,B.c)(q)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(q){this._fixedTopGap=(0,L.c)(q)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(q){this._fixedBottomGap=(0,L.c)(q)}_fixedBottomGap=0;static \u0275fac=(()=>{let q;return function(Ie){return(q||(q=P.xGo(me)))(Ie||me)}})();static \u0275cmp=P.VBU({type:me,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:15,hostBindings:function(ye,Ie){2&ye&&(P.BMQ("align",null),P.xc7("top",Ie.fixedInViewport?Ie.fixedTopGap:null,"px")("bottom",Ie.fixedInViewport?Ie.fixedBottomGap:null,"px"),P.AVh("mat-drawer-end","end"===Ie.position)("mat-drawer-over","over"===Ie.mode)("mat-drawer-push","push"===Ie.mode)("mat-drawer-side","side"===Ie.mode)("mat-sidenav-fixed",Ie.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[P.Jv_([{provide:tn,useExisting:me}]),P.Vt3],ngContentSelectors:Oe,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(ye,Ie){1&ye&&(P.NAR(),P.j41(0,"div",1,0),P.SdG(2),P.k0s())},dependencies:[ne.uv],encapsulation:2,changeDetection:0})}return me})(),hi=(()=>{class me extends Zt{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let q;return function(Ie){return(q||(q=P.xGo(me)))(Ie||me)}})();static \u0275cmp=P.VBU({type:me,selectors:[["mat-sidenav-container"]],contentQueries:function(ye,Ie,zt){if(1&ye&&(P.wni(zt,Pn,5),P.wni(zt,Wi,5)),2&ye){let $t;P.mGM($t=P.lsd())&&(Ie._content=$t.first),P.mGM($t=P.lsd())&&(Ie._allDrawers=$t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ye,Ie){2&ye&&P.AVh("mat-drawer-container-explicit-backdrop",Ie._backdropOverride)},exportAs:["matSidenavContainer"],features:[P.Jv_([{provide:Mn,useExisting:me},{provide:Zt,useExisting:me}]),P.Vt3],ngContentSelectors:Ue,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ye,Ie){1&ye&&(P.NAR(Be),P.DNE(0,Mt,1,2,"div",0),P.SdG(1),P.SdG(2,1),P.DNE(3,vn,2,0,"mat-sidenav-content")),2&ye&&(P.vxM(Ie.hasBackdrop?0:-1),P.R7$(3),P.vxM(Ie._content?-1:3))},dependencies:[Pn],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0})}return me})(),xi=(()=>{class me{static \u0275fac=function(ye){return new(ye||me)};static \u0275mod=P.$C({type:me});static \u0275inj=P.G2t({imports:[bt.M,ne.Gj,ne.Gj,bt.M]})}return me})();var Fn=w(2350),Xi=w(4471);const tt=["sidenav"],Ne=["*",[["","workflow",""]]],j=["*","[workflow]"];function ae(me,mt){1&me&&P.eu8(0)}let ze=(()=>{class me{document;router;sidenavService;sidenav;sideContent;sidenavSubscription;form;hubContainerMini=!0;formTitle;isLoading=!1;serviceBrief=[];constructor(q,ye,Ie){this.document=q,this.router=ye,this.sidenavService=Ie}ngOnInit(){this.sidenavSubscription=this.sidenavService.subject.subscribe(q=>{this.sideContent=q.componentName,this.sidenav.mode=q.mode,this.sidenav.position=q.position,"open"===q.eventName?this.openSideNav():this.closeSideNav()})}ngOnDestroy(){this.sidenavSubscription&&this.sidenavSubscription.unsubscribe()}onClose(){this.document.body.classList.remove("NoScroll"),this.document.documentElement.classList.remove("NoScroll")}backdropClick(){this.sidenav.close().then(q=>{}),this.sidenavService.closeSidenav(),this.document.body.classList.remove("NoScroll"),this.document.documentElement.classList.remove("NoScroll")}openSideNav(){this.sidenav.open().then(q=>{}),this.document.body.classList.add("NoScroll"),this.document.documentElement.classList.add("NoScroll")}closeSideNav(){this.sidenav.close().then(q=>{})}static \u0275fac=function(ye){return new(ye||me)(P.rXU(E.q),P.rXU(Fn.Ix),P.rXU(Xi.S))};static \u0275cmp=P.VBU({type:me,selectors:[["core-layout"]],viewQuery:function(ye,Ie){if(1&ye&&P.GBs(tt,7),2&ye){let zt;P.mGM(zt=P.lsd())&&(Ie.sidenav=zt.first)}},inputs:{form:"form",hubContainerMini:"hubContainerMini",formTitle:"formTitle",isLoading:"isLoading",serviceBrief:"serviceBrief"},ngContentSelectors:j,decls:9,vars:4,consts:[["sidenav",""],[1,"d-flex"],[1,"flex-grow-1",3,"backdropClick","hasBackdrop"],["autoFocus","false","fixedInViewport","",3,"closedStart","position"],[4,"ngComponentOutlet"],[1,"hadPadding","service-wrapper",3,"ngClass"]],template:function(ye,Ie){if(1&ye){const zt=P.RV6();P.NAR(Ne),P.j41(0,"section",1)(1,"mat-sidenav-container",2),P.bIt("backdropClick",function(){return P.eBV(zt),P.Njj(Ie.backdropClick())}),P.j41(2,"mat-sidenav",3,0),P.bIt("closedStart",function(){return P.eBV(zt),P.Njj(Ie.onClose())}),P.DNE(4,ae,1,0,"ng-container",4),P.k0s(),P.j41(5,"mat-sidenav-content")(6,"main",5),P.SdG(7),P.SdG(8,1),P.k0s()()()()}2&ye&&(P.R7$(),P.Y8G("hasBackdrop",!0),P.R7$(),P.Y8G("position","end"),P.R7$(2),P.Y8G("ngComponentOutlet",Ie.sideContent),P.R7$(2),P.Y8G("ngClass",Ie.hubContainerMini?"hub-container-mini":"hub-container"))},dependencies:[xi,Wi,hi,Pn,$.OI,$.YU],styles:["[_nghost-%COMP%] .mat-drawer-container{overflow:visible;margin-top:var(--main-toolbar-height);min-height:calc(100vh - var(--main-toolbar-height));background-color:var(--body-bg)!important;z-index:initial!important;min-width:calc(100% - var(--main-aside-width));width:calc(100% - var(--main-aside-width))}[_nghost-%COMP%] .mat-drawer-container .mat-drawer-content{display:flex;flex-direction:column;overflow:visible}.hup-wrapper [_nghost-%COMP%] .mat-drawer-container .mat-drawer-content{min-height:auto}[_nghost-%COMP%] footer{bottom:-65px}.mat-drawer[_ngcontent-%COMP%]{border-radius:10px!important;margin:1rem;box-shadow:0 8px 16px 7px rgba(var(--rgb-black),.06);background-color:var(--white)}@media (max-width: 767px){.mat-drawer[_ngcontent-%COMP%]{padding:0;border-radius:0;margin:0;width:100%}}.customize-btn[_ngcontent-%COMP%]{min-width:166px}.zer-pt[_ngcontent-%COMP%]{padding-top:0!important}"]})}return me})()},3494:(Ke,re,w)=>{"use strict";w.d(re,{s:()=>E});const E="function"==typeof Symbol&&Symbol.observable||"@@observable"},3669:(Ke,re,w)=>{"use strict";function E($){return $}w.d(re,{D:()=>E})},3700:(Ke,re,w)=>{"use strict";function E(A){return 0===A.buttons||0===A.detail}function $(A){const W=A.touches&&A.touches[0]||A.changedTouches&&A.changedTouches[0];return!(!W||-1!==W.identifier||null!=W.radiusX&&1!==W.radiusX||null!=W.radiusY&&1!==W.radiusY)}w.d(re,{a:()=>$,i:()=>E})},3703:(Ke,re,w)=>{"use strict";w.d(re,{u:()=>$});var E=w(6354);function $(A){return(0,E.T)(()=>A)}},3980:(Ke,re,w)=>{"use strict";w.d(re,{uv:()=>un,Gj:()=>Fn,R:()=>it,E9:()=>Xi,Xj:()=>Mn});var E=w(1360),$=w(1413),A=w(7673),W=w(1985),i=w(6780),B=w(8359);const L={schedule(tt){let Ne=requestAnimationFrame,j=cancelAnimationFrame;const{delegate:ae}=L;ae&&(Ne=ae.requestAnimationFrame,j=ae.cancelAnimationFrame);const ze=Ne(me=>{j=void 0,tt(me)});return new B.yU(()=>j?.(ze))},requestAnimationFrame(...tt){const{delegate:Ne}=L;return(Ne?.requestAnimationFrame||requestAnimationFrame)(...tt)},cancelAnimationFrame(...tt){const{delegate:Ne}=L;return(Ne?.cancelAnimationFrame||cancelAnimationFrame)(...tt)},delegate:void 0};var Y=w(9687);new class ie extends Y.q{flush(Ne){let j;this._active=!0,Ne?j=Ne.id:(j=this._scheduled,this._scheduled=void 0);const{actions:ae}=this;let ze;Ne=Ne||ae.shift();do{if(ze=Ne.execute(Ne.state,Ne.delay))break}while((Ne=ae[0])&&Ne.id===j&&ae.shift());if(this._active=!1,ze){for(;(Ne=ae[0])&&Ne.id===j&&ae.shift();)Ne.unsubscribe();throw ze}}}(class Z extends i.R{constructor(Ne,j){super(Ne,j),this.scheduler=Ne,this.work=j}requestAsyncId(Ne,j,ae=0){return null!==ae&&ae>0?super.requestAsyncId(Ne,j,ae):(Ne.actions.push(this),Ne._scheduled||(Ne._scheduled=L.requestAnimationFrame(()=>Ne.flush(void 0))))}recycleAsyncId(Ne,j,ae=0){var ze;if(null!=ae?ae>0:this.delay>0)return super.recycleAsyncId(Ne,j,ae);const{actions:me}=Ne;null!=j&&j===Ne._scheduled&&(null===(ze=me[me.length-1])||void 0===ze?void 0:ze.id)!==j&&(L.cancelAnimationFrame(j),Ne._scheduled=void 0)}});let xe,Ze=1;const He={};function ft(tt){return tt in He&&(delete He[tt],!0)}const lt={setImmediate(tt){const Ne=Ze++;return He[Ne]=!0,xe||(xe=Promise.resolve()),xe.then(()=>ft(Ne)&&tt()),Ne},clearImmediate(tt){ft(tt)}},{setImmediate:gt,clearImmediate:xt}=lt,ke={setImmediate(...tt){const{delegate:Ne}=ke;return(Ne?.setImmediate||gt)(...tt)},clearImmediate(tt){const{delegate:Ne}=ke;return(Ne?.clearImmediate||xt)(tt)},delegate:void 0};new class be extends Y.q{flush(Ne){this._active=!0;const j=this._scheduled;this._scheduled=void 0;const{actions:ae}=this;let ze;Ne=Ne||ae.shift();do{if(ze=Ne.execute(Ne.state,Ne.delay))break}while((Ne=ae[0])&&Ne.id===j&&ae.shift());if(this._active=!1,ze){for(;(Ne=ae[0])&&Ne.id===j&&ae.shift();)Ne.unsubscribe();throw ze}}}(class se extends i.R{constructor(Ne,j){super(Ne,j),this.scheduler=Ne,this.work=j}requestAsyncId(Ne,j,ae=0){return null!==ae&&ae>0?super.requestAsyncId(Ne,j,ae):(Ne.actions.push(this),Ne._scheduled||(Ne._scheduled=ke.setImmediate(Ne.flush.bind(Ne,void 0))))}recycleAsyncId(Ne,j,ae=0){var ze;if(null!=ae?ae>0:this.delay>0)return super.recycleAsyncId(Ne,j,ae);const{actions:me}=Ne;null!=j&&(null===(ze=me[me.length-1])||void 0===ze?void 0:ze.id)!==j&&(ke.clearImmediate(j),Ne._scheduled===j&&(Ne._scheduled=void 0))}});var Ge=w(3236),ct=w(9974),at=w(8750),Ot=w(4360),rn=w(1584);function he(tt,Ne=Ge.E){return function yt(tt){return(0,ct.N)((Ne,j)=>{let ae=!1,ze=null,me=null,mt=!1;const q=()=>{if(me?.unsubscribe(),me=null,ae){ae=!1;const Ie=ze;ze=null,j.next(Ie)}mt&&j.complete()},ye=()=>{me=null,mt&&j.complete()};Ne.subscribe((0,Ot._)(j,Ie=>{ae=!0,ze=Ie,me||(0,at.Tg)(tt(Ie)).subscribe(me=(0,Ot._)(j,q,ye))},()=>{mt=!0,(!ae||!me||me.closed)&&j.complete()}))})}(()=>(0,rn.O)(tt,Ne))}var Te=w(5964),Ee=w(9355),$e=w(9536),bt=w(1845),Oe=w(9273),Q=w(8203),X=w(9361);let it=(()=>{class tt{_ngZone=(0,E.WQX)(E.SKi);_platform=(0,E.WQX)($e.P);_renderer=(0,E.WQX)(E._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new $.B;_scrolledCount=0;scrollContainers=new Map;register(j){this.scrollContainers.has(j)||this.scrollContainers.set(j,j.elementScrolled().subscribe(()=>this._scrolled.next(j)))}deregister(j){const ae=this.scrollContainers.get(j);ae&&(ae.unsubscribe(),this.scrollContainers.delete(j))}scrolled(j=20){return this._platform.isBrowser?new W.c(ae=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const ze=j>0?this._scrolled.pipe(he(j)).subscribe(ae):this._scrolled.subscribe(ae);return this._scrolledCount++,()=>{ze.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,A.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((j,ae)=>this.deregister(ae)),this._scrolled.complete()}ancestorScrolled(j,ae){const ze=this.getAncestorScrollContainers(j);return this.scrolled(ae).pipe((0,Te.p)(me=>!me||ze.indexOf(me)>-1))}getAncestorScrollContainers(j){const ae=[];return this.scrollContainers.forEach((ze,me)=>{this._scrollableContainsElement(me,j)&&ae.push(me)}),ae}_scrollableContainsElement(j,ae){let ze=(0,Ee.a)(ae),me=j.getElementRef().nativeElement;do{if(ze==me)return!0}while(ze=ze.parentElement);return!1}static \u0275fac=function(ae){return new(ae||tt)};static \u0275prov=E.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})(),un=(()=>{class tt{elementRef=(0,E.WQX)(E.aKT);scrollDispatcher=(0,E.WQX)(it);ngZone=(0,E.WQX)(E.SKi);dir=(0,E.WQX)(bt.D,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new $.B;_renderer=(0,E.WQX)(E.sFG);_cleanupScroll;_elementScrolled=new $.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",j=>this._elementScrolled.next(j))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(j){const ae=this.elementRef.nativeElement,ze=this.dir&&"rtl"==this.dir.value;null==j.left&&(j.left=ze?j.end:j.start),null==j.right&&(j.right=ze?j.start:j.end),null!=j.bottom&&(j.top=ae.scrollHeight-ae.clientHeight-j.bottom),ze&&(0,Oe.g)()!=Oe.R.NORMAL?(null!=j.left&&(j.right=ae.scrollWidth-ae.clientWidth-j.left),(0,Oe.g)()==Oe.R.INVERTED?j.left=j.right:(0,Oe.g)()==Oe.R.NEGATED&&(j.left=j.right?-j.right:j.right)):null!=j.right&&(j.left=ae.scrollWidth-ae.clientWidth-j.right),this._applyScrollToOptions(j)}_applyScrollToOptions(j){const ae=this.elementRef.nativeElement;(0,Oe.s)()?ae.scrollTo(j):(null!=j.top&&(ae.scrollTop=j.top),null!=j.left&&(ae.scrollLeft=j.left))}measureScrollOffset(j){const ae="left",me=this.elementRef.nativeElement;if("top"==j)return me.scrollTop;if("bottom"==j)return me.scrollHeight-me.clientHeight-me.scrollTop;const mt=this.dir&&"rtl"==this.dir.value;return"start"==j?j=mt?"right":ae:"end"==j&&(j=mt?ae:"right"),mt&&(0,Oe.g)()==Oe.R.INVERTED?j==ae?me.scrollWidth-me.clientWidth-me.scrollLeft:me.scrollLeft:mt&&(0,Oe.g)()==Oe.R.NEGATED?j==ae?me.scrollLeft+me.scrollWidth-me.clientWidth:-me.scrollLeft:j==ae?me.scrollLeft:me.scrollWidth-me.clientWidth-me.scrollLeft}static \u0275fac=function(ae){return new(ae||tt)};static \u0275dir=E.FsC({type:tt,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return tt})(),Mn=(()=>{class tt{_platform=(0,E.WQX)($e.P);_listeners;_viewportSize;_change=new $.B;_document=(0,E.WQX)(X.q,{optional:!0});constructor(){const j=(0,E.WQX)(E.SKi),ae=(0,E.WQX)(E._9s).createRenderer(null,null);j.runOutsideAngular(()=>{if(this._platform.isBrowser){const ze=me=>this._change.next(me);this._listeners=[ae.listen("window","resize",ze),ae.listen("window","orientationchange",ze)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(j=>j()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const j={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),j}getViewportRect(){const j=this.getViewportScrollPosition(),{width:ae,height:ze}=this.getViewportSize();return{top:j.top,left:j.left,bottom:j.top+ze,right:j.left+ae,height:ze,width:ae}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const j=this._document,ae=this._getWindow(),ze=j.documentElement,me=ze.getBoundingClientRect();return{top:-me.top||j.body.scrollTop||ae.scrollY||ze.scrollTop||0,left:-me.left||j.body.scrollLeft||ae.scrollX||ze.scrollLeft||0}}change(j=20){return j>0?this._change.pipe(he(j)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const j=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:j.innerWidth,height:j.innerHeight}:{width:0,height:0}}static \u0275fac=function(ae){return new(ae||tt)};static \u0275prov=E.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})(),Fn=(()=>{class tt{static \u0275fac=function(ae){return new(ae||tt)};static \u0275mod=E.$C({type:tt});static \u0275inj=E.G2t({})}return tt})(),Xi=(()=>{class tt{static \u0275fac=function(ae){return new(ae||tt)};static \u0275mod=E.$C({type:tt});static \u0275inj=E.G2t({imports:[Q.jI,Fn,Q.jI,Fn]})}return tt})()},4360:(Ke,re,w)=>{"use strict";w.d(re,{_:()=>$});var E=w(7707);function $(W,i,B,L,Z){return new A(W,i,B,L,Z)}class A extends E.vU{constructor(i,B,L,Z,Y,ie){super(i),this.onFinalize=Y,this.shouldUnsubscribe=ie,this._next=B?function(ne){try{B(ne)}catch(P){i.error(P)}}:super._next,this._error=Z?function(ne){try{Z(ne)}catch(P){i.error(P)}finally{this.unsubscribe()}}:super._error,this._complete=L?function(){try{L()}catch(ne){i.error(ne)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:B}=this;super.unsubscribe(),!B&&(null===(i=this.onFinalize)||void 0===i||i.call(this))}}}},4362:(Ke,re,w)=>{var E={"./ds-activity-log_16.entry.js":[8909,909],"./ds-loading-page.entry.js":[606,225],"./ds-splash.entry.js":[7074,74]};function $(A){if(!w.o(E,A))return Promise.resolve().then(()=>{var B=new Error("Cannot find module '"+A+"'");throw B.code="MODULE_NOT_FOUND",B});var W=E[A],i=W[0];return w.e(W[1]).then(()=>w(i))}$.keys=()=>Object.keys(E),$.id=4362,Ke.exports=$},4402:(Ke,re,w)=>{"use strict";w.d(re,{A:()=>A});var E=w(1985),$=w(8071);function A(W){return!!W&&(W instanceof E.c||(0,$.T)(W.lift)&&(0,$.T)(W.subscribe))}},4412:(Ke,re,w)=>{"use strict";w.d(re,{t:()=>$});var E=w(1413);class $ extends E.B{constructor(W){super(),this._value=W}get value(){return this.getValue()}_subscribe(W){const i=super._subscribe(W);return!i.closed&&W.next(this._value),i}getValue(){const{hasError:W,thrownError:i,_value:B}=this;if(W)throw i;return this._throwIfClosed(),B}next(W){super.next(this._value=W)}}},4471:(Ke,re,w)=>{"use strict";w.d(re,{S:()=>i});var E=w(1413),$=w(4412),A=w(2771),W=w(1360);let i=(()=>{class B{subject=new E.B;sideNavOpened=new $.t(!1);data=new A.m;field=new A.m;mode=new A.m;index=new A.m;value=new $.t(!1);contentData={};afterClosed=new A.m;publish(Z,Y,ie="end",ne="over",P){this.sideNavOpened.next(!0),P&&(this.contentData=P),this.subject.next({eventName:Z,componentName:Y,position:ie,mode:ne,content:P})}closeSidenav(Z){this.publish("close",null),this.afterClosed.next(Z),this.afterClosed=new A.m,this.contentData={}}static \u0275fac=function(Y){return new(Y||B)};static \u0275prov=W.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},4572:(Ke,re,w)=>{"use strict";w.d(re,{z:()=>ie});var E=w(1985),$=w(3073),A=w(6648),W=w(3669),i=w(6450),B=w(9326),L=w(8496),Z=w(4360),Y=w(5225);function ie(...Ze){const xe=(0,B.lI)(Ze),He=(0,B.ms)(Ze),{args:ft,keys:lt}=(0,$.D)(Ze);if(0===ft.length)return(0,A.H)([],xe);const st=new E.c(function ne(Ze,xe,He=W.D){return ft=>{P(xe,()=>{const{length:lt}=Ze,st=new Array(lt);let gt=lt,xt=lt;for(let ke=0;ke<lt;ke++)P(xe,()=>{const se=(0,A.H)(Ze[ke],xe);let be=!1;se.subscribe((0,Z._)(ft,De=>{st[ke]=De,be||(be=!0,xt--),xt||ft.next(He(st.slice()))},()=>{--gt||ft.complete()}))},ft)},ft)}}(ft,xe,lt?gt=>(0,L.e)(lt,gt):W.D));return He?st.pipe((0,i.I)(He)):st}function P(Ze,xe,He){Ze?(0,Y.N)(He,Ze,xe):xe()}},4761:(Ke,re,w)=>{"use strict";w.d(re,{l:()=>$});const $=function E(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4790:(Ke,re,w)=>{"use strict";w.d(re,{_:()=>A});var E=w(1360);const $=new WeakMap;let A=(()=>{class W{_appRef;_injector=(0,E.WQX)(E.zZn);_environmentInjector=(0,E.WQX)(E.uvJ);load(B){const L=this._appRef=this._appRef||this._injector.get(E.o8S);let Z=$.get(L);Z||(Z={loaders:new Set,refs:[]},$.set(L,Z),L.onDestroy(()=>{$.get(L)?.refs.forEach(Y=>Y.destroy()),$.delete(L)})),Z.loaders.has(B)||(Z.loaders.add(B),Z.refs.push((0,E.a0P)(B,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(L){return new(L||W)};static \u0275prov=E.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})()},5055:(Ke,re,w)=>{"use strict";w.d(re,{l:()=>A});var E=w(3494),$=w(8071);function A(W){return(0,$.T)(W[E.s])}},5196:(Ke,re,w)=>{"use strict";w.d(re,{C:()=>A,U:()=>W});var E=w(1635),$=w(8071);function A(i){return(0,E.AQ)(this,arguments,function*(){const L=i.getReader();try{for(;;){const{value:Z,done:Y}=yield(0,E.N3)(L.read());if(Y)return yield(0,E.N3)(void 0);yield yield(0,E.N3)(Z)}}finally{L.releaseLock()}})}function W(i){return(0,$.T)(i?.getReader)}},5225:(Ke,re,w)=>{"use strict";function E($,A,W,i=0,B=!1){const L=A.schedule(function(){W(),B?$.add(this.schedule(null,i)):this.unsubscribe()},i);if($.add(L),!B)return L}w.d(re,{N:()=>E})},5245:(Ke,re,w)=>{"use strict";w.d(re,{i:()=>$});var E=w(5964);function $(A){return(0,E.p)((W,i)=>A<=i)}},5254:(Ke,re,w)=>{"use strict";function E($){return null!=$&&"false"!=`${$}`}w.d(re,{c:()=>E})},5327:(Ke,re,w)=>{"use strict";var E=w(6048),$=w(9377),A=w(9361),W=w(2881),i=w(1360);const B=new i.nKC("");let L=(()=>{class s{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(c=>{c.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,c,f){return this._findPluginFor(r).addEventListener(t,r,c,f)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(f=>f.supports(t)),!r)throw new i.wOt(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||s)(i.KVO(B),i.KVO(i.SKi))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();class Z{_doc;constructor(a){this._doc=a}manager}const Y="ng-app-id";function ie(s){for(const a of s)a.remove()}function ne(s,a){const t=a.createElement("style");return t.textContent=s,t}function Ze(s,a){const t=a.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",s),t}let xe=(()=>{class s{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,r,c,f={}){this.doc=t,this.appId=r,this.nonce=c,this.isServer=(0,$.Vy)(f),function P(s,a,t,r){const c=s.head?.querySelectorAll(`style[${Y}="${a}"],link[${Y}="${a}"]`);if(c)for(const f of c)f.removeAttribute(Y),f instanceof HTMLLinkElement?r.set(f.href.slice(f.href.lastIndexOf("/")+1),{usage:0,elements:[f]}):f.textContent&&t.set(f.textContent,{usage:0,elements:[f]})}(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(const c of t)this.addUsage(c,this.inline,ne);r?.forEach(c=>this.addUsage(c,this.external,Ze))}removeStyles(t,r){for(const c of t)this.removeUsage(c,this.inline);r?.forEach(c=>this.removeUsage(c,this.external))}addUsage(t,r,c){const f=r.get(t);f?f.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(g=>this.addElement(g,c(t,this.doc)))})}removeUsage(t,r){const c=r.get(t);c&&(c.usage--,c.usage<=0&&(ie(c.elements),r.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])ie(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[r,{elements:c}]of this.inline)c.push(this.addElement(t,ne(r,this.doc)));for(const[r,{elements:c}]of this.external)c.push(this.addElement(t,Ze(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Y,this.appId),t.appendChild(r)}static \u0275fac=function(r){return new(r||s)(i.KVO(A.q),i.KVO(i.sZ2),i.KVO(i.BIS,8),i.KVO(i.Agw))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();const He={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"},ft=/%COMP%/g,be=new i.nKC("",{providedIn:"root",factory:()=>!0});function Ge(s,a){return a.map(t=>t.replace(ft,s))}let at=(()=>{class s{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,r,c,f,g,D,x,G=null,J=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=c,this.removeStylesOnCompDestroy=f,this.doc=g,this.platformId=D,this.ngZone=x,this.nonce=G,this.tracingService=J,this.platformIsServer=(0,$.Vy)(D),this.defaultRenderer=new Ot(t,g,x,this.platformIsServer,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===i.gXe.ShadowDom&&(r={...r,encapsulation:i.gXe.Emulated});const c=this.getOrCreateRenderer(t,r);return c instanceof $e?c.applyToHost(t):c instanceof Ee&&c.applyStyles(),c}getOrCreateRenderer(t,r){const c=this.rendererByCompId;let f=c.get(r.id);if(!f){const g=this.doc,D=this.ngZone,x=this.eventManager,G=this.sharedStylesHost,J=this.removeStylesOnCompDestroy,de=this.platformIsServer,Ce=this.tracingService;switch(r.encapsulation){case i.gXe.Emulated:f=new $e(x,G,r,this.appId,J,g,D,de,Ce);break;case i.gXe.ShadowDom:return new Te(x,G,t,r,g,D,this.nonce,de,Ce);default:f=new Ee(x,G,r,J,g,D,de,Ce)}c.set(r.id,f)}return f}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||s)(i.KVO(L),i.KVO(xe),i.KVO(i.sZ2),i.KVO(be),i.KVO(A.q),i.KVO(i.Agw),i.KVO(i.SKi),i.KVO(i.BIS),i.KVO(i.Lf2,8))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();class Ot{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(a,t,r,c,f){this.eventManager=a,this.doc=t,this.ngZone=r,this.platformIsServer=c,this.tracingService=f}destroy(){}destroyNode=null;createElement(a,t){return t?this.doc.createElementNS(He[t]||t,a):this.doc.createElement(a)}createComment(a){return this.doc.createComment(a)}createText(a){return this.doc.createTextNode(a)}appendChild(a,t){(he(a)?a.content:a).appendChild(t)}insertBefore(a,t,r){a&&(he(a)?a.content:a).insertBefore(t,r)}removeChild(a,t){t.remove()}selectRootElement(a,t){let r="string"==typeof a?this.doc.querySelector(a):a;if(!r)throw new i.wOt(-5104,!1);return t||(r.textContent=""),r}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,t,r,c){if(c){t=c+":"+t;const f=He[c];f?a.setAttributeNS(f,t,r):a.setAttribute(t,r)}else a.setAttribute(t,r)}removeAttribute(a,t,r){if(r){const c=He[r];c?a.removeAttributeNS(c,t):a.removeAttribute(`${r}:${t}`)}else a.removeAttribute(t)}addClass(a,t){a.classList.add(t)}removeClass(a,t){a.classList.remove(t)}setStyle(a,t,r,c){c&(i.czy.DashCase|i.czy.Important)?a.style.setProperty(t,r,c&i.czy.Important?"important":""):a.style[t]=r}removeStyle(a,t,r){r&i.czy.DashCase?a.style.removeProperty(t):a.style[t]=""}setProperty(a,t,r){null!=a&&(a[t]=r)}setValue(a,t){a.nodeValue=t}listen(a,t,r,c){if("string"==typeof a&&!(a=(0,E.rb)().getGlobalEventTarget(this.doc,a)))throw new i.wOt(5102,!1);let f=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(f=this.tracingService.wrapEventListener(a,t,f)),this.eventManager.addEventListener(a,t,f,c)}decoratePreventDefault(a){return t=>{if("__ngUnwrap__"===t)return a;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>a(t)):a(t))&&t.preventDefault()}}}function he(s){return"TEMPLATE"===s.tagName&&void 0!==s.content}class Te extends Ot{sharedStylesHost;hostEl;shadowRoot;constructor(a,t,r,c,f,g,D,x,G){super(a,f,g,x,G),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let J=c.styles;J=Ge(c.id,J);for(const Ce of J){const je=document.createElement("style");D&&je.setAttribute("nonce",D),je.textContent=Ce,this.shadowRoot.appendChild(je)}const de=c.getExternalStyles?.();if(de)for(const Ce of de){const je=Ze(Ce,f);D&&je.setAttribute("nonce",D),this.shadowRoot.appendChild(je)}}nodeOrShadowRoot(a){return a===this.hostEl?this.shadowRoot:a}appendChild(a,t){return super.appendChild(this.nodeOrShadowRoot(a),t)}insertBefore(a,t,r){return super.insertBefore(this.nodeOrShadowRoot(a),t,r)}removeChild(a,t){return super.removeChild(null,t)}parentNode(a){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(a)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ee extends Ot{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(a,t,r,c,f,g,D,x,G){super(a,f,g,D,x),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=c;let J=r.styles;this.styles=G?Ge(G,J):J,this.styleUrls=r.getExternalStyles?.(G)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class $e extends Ee{contentAttr;hostAttr;constructor(a,t,r,c,f,g,D,x,G){const J=c+"-"+r.id;super(a,t,r,f,g,D,x,G,J),this.contentAttr=function De(s){return"_ngcontent-%COMP%".replace(ft,s)}(J),this.hostAttr=function Me(s){return"_nghost-%COMP%".replace(ft,s)}(J)}applyToHost(a){this.applyStyles(),this.setAttribute(a,this.hostAttr,"")}createElement(a,t){const r=super.createElement(a,t);return super.setAttribute(r,this.contentAttr,""),r}}class bt extends E.qj{supportsDOMEvents=!0;static makeCurrent(){(0,E.ig)(new bt)}onAndCancel(a,t,r,c){return a.addEventListener(t,r,c),()=>{a.removeEventListener(t,r,c)}}dispatchEvent(a,t){a.dispatchEvent(t)}remove(a){a.remove()}createElement(a,t){return(t=t||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,t){return"window"===t?window:"document"===t?a:"body"===t?a.body:null}getBaseHref(a){const t=function Q(){return Oe=Oe||document.head.querySelector("base"),Oe?Oe.getAttribute("href"):null}();return null==t?null:function X(s){return new URL(s,document.baseURI).pathname}(t)}resetBaseElement(){Oe=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return(0,$.bS)(document.cookie,a)}}let Oe=null,pe=(()=>{class s{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})(),Le=(()=>{class s extends Z{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,c,f){return t.addEventListener(r,c,f),()=>this.removeEventListener(t,r,c,f)}removeEventListener(t,r,c,f){return t.removeEventListener(r,c,f)}static \u0275fac=function(r){return new(r||s)(i.KVO(A.q))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();const Be=["alt","control","meta","shift"],Ue={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Mt={alt:s=>s.altKey,control:s=>s.ctrlKey,meta:s=>s.metaKey,shift:s=>s.shiftKey};let vn=(()=>{class s extends Z{constructor(t){super(t)}supports(t){return null!=s.parseEventName(t)}addEventListener(t,r,c,f){const g=s.parseEventName(r),D=s.eventCallback(g.fullKey,c,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,E.rb)().onAndCancel(t,g.domEventName,D,f))}static parseEventName(t){const r=t.toLowerCase().split("."),c=r.shift();if(0===r.length||"keydown"!==c&&"keyup"!==c)return null;const f=s._normalizeKey(r.pop());let g="",D=r.indexOf("code");if(D>-1&&(r.splice(D,1),g="code."),Be.forEach(G=>{const J=r.indexOf(G);J>-1&&(r.splice(J,1),g+=G+".")}),g+=f,0!=r.length||0===f.length)return null;const x={};return x.domEventName=c,x.fullKey=g,x}static matchEventFullKeyCode(t,r){let c=Ue[t.key]||t.key,f="";return r.indexOf("code.")>-1&&(c=t.code,f="code."),!(null==c||!c)&&(c=c.toLowerCase()," "===c?c="space":"."===c&&(c="dot"),Be.forEach(g=>{g!==c&&(0,Mt[g])(t)&&(f+=g+".")}),f+=c,f===r)}static eventCallback(t,r,c){return f=>{s.matchEventFullKeyCode(f,t)&&c.runGuarded(()=>r(f))}}static _normalizeKey(t){return"esc"===t?"escape":t}static \u0275fac=function(r){return new(r||s)(i.KVO(A.q))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();function wt(s){return{appProviders:[...xi,...s?.providers??[]],platformProviders:Zt}}const Zt=[{provide:i.Agw,useValue:$.Zn},{provide:i.PLl,useValue:function Ht(){bt.makeCurrent()},multi:!0},{provide:A.q,useFactory:function tn(){return(0,i.TL$)(document),document}}],hi=[{provide:i.e01,useClass:class le{addToWindow(a){i.JZv.getAngularTestability=(r,c=!0)=>{const f=a.findTestabilityInTree(r,c);if(null==f)throw new i.wOt(5103,!1);return f},i.JZv.getAllAngularTestabilities=()=>a.getAllTestabilities(),i.JZv.getAllAngularRootElements=()=>a.getAllRootElements(),i.JZv.frameworkStabilizers||(i.JZv.frameworkStabilizers=[]),i.JZv.frameworkStabilizers.push(r=>{const c=i.JZv.getAllAngularTestabilities();let f=c.length;const g=function(){f--,0==f&&r()};c.forEach(D=>{D.whenStable(g)})})}findTestabilityInTree(a,t,r){return null==t?null:a.getTestability(t)??(r?(0,E.rb)().isShadowRoot(t)?this.findTestabilityInTree(a,t.host,!0):this.findTestabilityInTree(a,t.parentElement,!0):null)}}},{provide:i.WHO,useClass:i.NYb,deps:[i.SKi,i.giA,i.e01]},{provide:i.NYb,useClass:i.NYb,deps:[i.SKi,i.giA,i.e01]}],xi=[{provide:i.H8p,useValue:"root"},{provide:i.zcH,useFactory:function ln(){return new i.zcH}},{provide:B,useClass:Le,multi:!0,deps:[A.q]},{provide:B,useClass:vn,multi:!0,deps:[A.q]},at,xe,L,{provide:i._9s,useExisting:at},{provide:$.N0,useClass:pe},[]];let Vi=(()=>{class s{constructor(){}static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({providers:[...xi,...hi],imports:[W.MD,i.Hbi]})}return s})();var Fn=w(9647);w(467);var j=w(274),ae=w(5964),ze=w(6354),me=w(980),mt=w(5558),q=w(7673),ye=w(1985),Ie=w(6648);class zt{}class $t{}class Gt{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(a){a?"string"==typeof a?this.lazyInit=()=>{this.headers=new Map,a.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const c=t.slice(0,r),f=t.slice(r+1).trim();this.addHeaderEntry(c,f)}})}:typeof Headers<"u"&&a instanceof Headers?(this.headers=new Map,a.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(a).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(a){return this.init(),this.headers.has(a.toLowerCase())}get(a){this.init();const t=this.headers.get(a.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(a){return this.init(),this.headers.get(a.toLowerCase())||null}append(a,t){return this.clone({name:a,value:t,op:"a"})}set(a,t){return this.clone({name:a,value:t,op:"s"})}delete(a,t){return this.clone({name:a,value:t,op:"d"})}maybeSetNormalizedName(a,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,a)}init(){this.lazyInit&&(this.lazyInit instanceof Gt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(a=>this.applyUpdate(a)),this.lazyUpdate=null))}copyFrom(a){a.init(),Array.from(a.headers.keys()).forEach(t=>{this.headers.set(t,a.headers.get(t)),this.normalizedNames.set(t,a.normalizedNames.get(t))})}clone(a){const t=new Gt;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Gt?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([a]),t}applyUpdate(a){const t=a.name.toLowerCase();switch(a.op){case"a":case"s":let r=a.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(a.name,t);const c=("a"===a.op?this.headers.get(t):void 0)||[];c.push(...r),this.headers.set(t,c);break;case"d":const f=a.value;if(f){let g=this.headers.get(t);if(!g)return;g=g.filter(D=>-1===f.indexOf(D)),0===g.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,g)}else this.headers.delete(t),this.normalizedNames.delete(t)}}addHeaderEntry(a,t){const r=a.toLowerCase();this.maybeSetNormalizedName(a,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(a,t){const r=(Array.isArray(t)?t:[t]).map(f=>f.toString()),c=a.toLowerCase();this.headers.set(c,r),this.maybeSetNormalizedName(a,c)}forEach(a){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>a(this.normalizedNames.get(t),this.headers.get(t)))}}class Qi{encodeKey(a){return Br(a)}encodeValue(a){return Br(a)}decodeKey(a){return decodeURIComponent(a)}decodeValue(a){return decodeURIComponent(a)}}const Lr=/%(\d[a-f0-9])/gi,Cn={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Br(s){return encodeURIComponent(s).replace(Lr,(a,t)=>Cn[t]??a)}function Wo(s){return`${s}`}class Ut{map;encoder;updates=null;cloneFrom=null;constructor(a={}){if(this.encoder=a.encoder||new Qi,a.fromString){if(a.fromObject)throw new i.wOt(2805,!1);this.map=function uo(s,a){const t=new Map;return s.length>0&&s.replace(/^\?/,"").split("&").forEach(c=>{const f=c.indexOf("="),[g,D]=-1==f?[a.decodeKey(c),""]:[a.decodeKey(c.slice(0,f)),a.decodeValue(c.slice(f+1))],x=t.get(g)||[];x.push(D),t.set(g,x)}),t}(a.fromString,this.encoder)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach(t=>{const r=a.fromObject[t],c=Array.isArray(r)?r.map(Wo):[Wo(r)];this.map.set(t,c)})):this.map=null}has(a){return this.init(),this.map.has(a)}get(a){this.init();const t=this.map.get(a);return t?t[0]:null}getAll(a){return this.init(),this.map.get(a)||null}keys(){return this.init(),Array.from(this.map.keys())}append(a,t){return this.clone({param:a,value:t,op:"a"})}appendAll(a){const t=[];return Object.keys(a).forEach(r=>{const c=a[r];Array.isArray(c)?c.forEach(f=>{t.push({param:r,value:f,op:"a"})}):t.push({param:r,value:c,op:"a"})}),this.clone(t)}set(a,t){return this.clone({param:a,value:t,op:"s"})}delete(a,t){return this.clone({param:a,value:t,op:"d"})}toString(){return this.init(),this.keys().map(a=>{const t=this.encoder.encodeKey(a);return this.map.get(a).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(a=>""!==a).join("&")}clone(a){const t=new Ut({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(a),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(a=>this.map.set(a,this.cloneFrom.map.get(a))),this.updates.forEach(a=>{switch(a.op){case"a":case"s":const t=("a"===a.op?this.map.get(a.param):void 0)||[];t.push(Wo(a.value)),this.map.set(a.param,t);break;case"d":if(void 0===a.value){this.map.delete(a.param);break}{let r=this.map.get(a.param)||[];const c=r.indexOf(Wo(a.value));-1!==c&&r.splice(c,1),r.length>0?this.map.set(a.param,r):this.map.delete(a.param)}}}),this.cloneFrom=this.updates=null)}}class wn{map=new Map;set(a,t){return this.map.set(a,t),this}get(a){return this.map.has(a)||this.map.set(a,a.defaultValue()),this.map.get(a)}delete(a){return this.map.delete(a),this}has(a){return this.map.has(a)}keys(){return this.map.keys()}}function gs(s){return typeof ArrayBuffer<"u"&&s instanceof ArrayBuffer}function Xo(s){return typeof Blob<"u"&&s instanceof Blob}function fo(s){return typeof FormData<"u"&&s instanceof FormData}const pi="Content-Type",jr="X-Request-URL",Qo="text/plain",Ko="application/json",Ln=`${Ko}, ${Qo}, */*`;class ri{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(a,t,r,c){let f;if(this.url=t,this.method=a.toUpperCase(),function Ki(s){switch(s){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||c?(this.body=void 0!==r?r:null,f=c):f=r,f&&(this.reportProgress=!!f.reportProgress,this.withCredentials=!!f.withCredentials,f.responseType&&(this.responseType=f.responseType),f.headers&&(this.headers=f.headers),f.context&&(this.context=f.context),f.params&&(this.params=f.params),this.transferCache=f.transferCache),this.headers??=new Gt,this.context??=new wn,this.params){const g=this.params.toString();if(0===g.length)this.urlWithParams=t;else{const D=t.indexOf("?");this.urlWithParams=t+(-1===D?"?":D<t.length-1?"&":"")+g}}else this.params=new Ut,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||gs(this.body)||Xo(this.body)||fo(this.body)||function Et(s){return typeof URLSearchParams<"u"&&s instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ut?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||fo(this.body)?null:Xo(this.body)?this.body.type||null:gs(this.body)?null:"string"==typeof this.body?Qo:this.body instanceof Ut?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?Ko:null}clone(a={}){const t=a.method||this.method,r=a.url||this.url,c=a.responseType||this.responseType,f=a.transferCache??this.transferCache,g=void 0!==a.body?a.body:this.body,D=a.withCredentials??this.withCredentials,x=a.reportProgress??this.reportProgress;let G=a.headers||this.headers,J=a.params||this.params;const de=a.context??this.context;return void 0!==a.setHeaders&&(G=Object.keys(a.setHeaders).reduce((Ce,je)=>Ce.set(je,a.setHeaders[je]),G)),a.setParams&&(J=Object.keys(a.setParams).reduce((Ce,je)=>Ce.set(je,a.setParams[je]),J)),new ri(t,r,g,{params:J,headers:G,context:de,reportProgress:x,responseType:c,withCredentials:D,transferCache:f})}}var qi=function(s){return s[s.Sent=0]="Sent",s[s.UploadProgress=1]="UploadProgress",s[s.ResponseHeader=2]="ResponseHeader",s[s.DownloadProgress=3]="DownloadProgress",s[s.Response=4]="Response",s[s.User=5]="User",s}(qi||{});class Yi{headers;status;statusText;url;ok;type;constructor(a,t=200,r="OK"){this.headers=a.headers||new Gt,this.status=void 0!==a.status?a.status:t,this.statusText=a.statusText||r,this.url=a.url||null,this.ok=this.status>=200&&this.status<300}}class Di extends Yi{constructor(a={}){super(a)}type=qi.ResponseHeader;clone(a={}){return new Di({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}class fn extends Yi{body;constructor(a={}){super(a),this.body=void 0!==a.body?a.body:null}type=qi.Response;clone(a={}){return new fn({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}class Bt extends Yi{name="HttpErrorResponse";message;error;ok=!1;constructor(a){super(a,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${a.url||"(unknown url)"}`:`Http failure response for ${a.url||"(unknown url)"}: ${a.status} ${a.statusText}`,this.error=a.error||null}}function ur(s,a){return{body:a,headers:s.headers,context:s.context,observe:s.observe,params:s.params,reportProgress:s.reportProgress,responseType:s.responseType,withCredentials:s.withCredentials,transferCache:s.transferCache}}let ho=(()=>{class s{handler;constructor(t){this.handler=t}request(t,r,c={}){let f;if(t instanceof ri)f=t;else{let x,G;x=c.headers instanceof Gt?c.headers:new Gt(c.headers),c.params&&(G=c.params instanceof Ut?c.params:new Ut({fromObject:c.params})),f=new ri(t,r,void 0!==c.body?c.body:null,{headers:x,context:c.context,params:G,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials,transferCache:c.transferCache})}const g=(0,q.of)(f).pipe((0,j.H)(x=>this.handler.handle(x)));if(t instanceof ri||"events"===c.observe)return g;const D=g.pipe((0,ae.p)(x=>x instanceof fn));switch(c.observe||"body"){case"body":switch(f.responseType){case"arraybuffer":return D.pipe((0,ze.T)(x=>{if(null!==x.body&&!(x.body instanceof ArrayBuffer))throw new i.wOt(2806,!1);return x.body}));case"blob":return D.pipe((0,ze.T)(x=>{if(null!==x.body&&!(x.body instanceof Blob))throw new i.wOt(2807,!1);return x.body}));case"text":return D.pipe((0,ze.T)(x=>{if(null!==x.body&&"string"!=typeof x.body)throw new i.wOt(2808,!1);return x.body}));default:return D.pipe((0,ze.T)(x=>x.body))}case"response":return D;default:throw new i.wOt(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Ut).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,c={}){return this.request("PATCH",t,ur(c,r))}post(t,r,c={}){return this.request("POST",t,ur(c,r))}put(t,r,c={}){return this.request("PUT",t,ur(c,r))}static \u0275fac=function(r){return new(r||s)(i.KVO(zt))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();const Zn=new i.nKC("");function te(s,a){return a(s)}const fe=new i.nKC(""),ue=new i.nKC(""),Re=new i.nKC(""),Fe=new i.nKC("",{providedIn:"root",factory:()=>!0});let pt=(()=>{class s extends zt{backend;injector;chain=null;pendingTasks=(0,i.WQX)(i.Ua0);contributeToStability=(0,i.WQX)(Fe);constructor(t,r){super(),this.backend=t,this.injector=r}handle(t){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(ue),...this.injector.get(Re,[])]));this.chain=r.reduceRight((c,f)=>function ve(s,a,t){return(r,c)=>(0,i.N4e)(t,()=>a(r,f=>s(f,c)))}(c,f,this.injector),te)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(t,c=>this.backend.handle(c)).pipe((0,me.j)(()=>this.pendingTasks.remove(r)))}return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||s)(i.KVO($t),i.KVO(i.uvJ))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();const $r=/^\)\]\}',?\n/,Ka=RegExp(`^${jr}:`,"m");let T=(()=>{class s{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new i.wOt(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?(0,Ie.H)(r.\u0275loadImpl()):(0,q.of)(null)).pipe((0,mt.n)(()=>new ye.c(f=>{const g=r.build();if(g.open(t.method,t.urlWithParams),t.withCredentials&&(g.withCredentials=!0),t.headers.forEach((Xe,rt)=>g.setRequestHeader(Xe,rt.join(","))),t.headers.has("Accept")||g.setRequestHeader("Accept",Ln),!t.headers.has(pi)){const Xe=t.detectContentTypeHeader();null!==Xe&&g.setRequestHeader(pi,Xe)}if(t.responseType){const Xe=t.responseType.toLowerCase();g.responseType="json"!==Xe?Xe:"text"}const D=t.serializeBody();let x=null;const G=()=>{if(null!==x)return x;const Xe=g.statusText||"OK",rt=new Gt(g.getAllResponseHeaders()),Vt=function ea(s){return"responseURL"in s&&s.responseURL?s.responseURL:Ka.test(s.getAllResponseHeaders())?s.getResponseHeader(jr):null}(g)||t.url;return x=new Di({headers:rt,status:g.status,statusText:Xe,url:Vt}),x},J=()=>{let{headers:Xe,status:rt,statusText:Vt,url:on}=G(),Qt=null;204!==rt&&(Qt=typeof g.response>"u"?g.responseText:g.response),0===rt&&(rt=Qt?200:0);let _n=rt>=200&&rt<300;if("json"===t.responseType&&"string"==typeof Qt){const bi=Qt;Qt=Qt.replace($r,"");try{Qt=""!==Qt?JSON.parse(Qt):null}catch(oi){Qt=bi,_n&&(_n=!1,Qt={error:oi,text:Qt})}}_n?(f.next(new fn({body:Qt,headers:Xe,status:rt,statusText:Vt,url:on||void 0})),f.complete()):f.error(new Bt({error:Qt,headers:Xe,status:rt,statusText:Vt,url:on||void 0}))},de=Xe=>{const{url:rt}=G(),Vt=new Bt({error:Xe,status:g.status||0,statusText:g.statusText||"Unknown Error",url:rt||void 0});f.error(Vt)};let Ce=!1;const je=Xe=>{Ce||(f.next(G()),Ce=!0);let rt={type:qi.DownloadProgress,loaded:Xe.loaded};Xe.lengthComputable&&(rt.total=Xe.total),"text"===t.responseType&&g.responseText&&(rt.partialText=g.responseText),f.next(rt)},Qe=Xe=>{let rt={type:qi.UploadProgress,loaded:Xe.loaded};Xe.lengthComputable&&(rt.total=Xe.total),f.next(rt)};return g.addEventListener("load",J),g.addEventListener("error",de),g.addEventListener("timeout",de),g.addEventListener("abort",de),t.reportProgress&&(g.addEventListener("progress",je),null!==D&&g.upload&&g.upload.addEventListener("progress",Qe)),g.send(D),f.next({type:qi.Sent}),()=>{g.removeEventListener("error",de),g.removeEventListener("abort",de),g.removeEventListener("load",J),g.removeEventListener("timeout",de),t.reportProgress&&(g.removeEventListener("progress",je),null!==D&&g.upload&&g.upload.removeEventListener("progress",Qe)),g.readyState!==g.DONE&&g.abort()}})))}static \u0275fac=function(r){return new(r||s)(i.KVO($.N0))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();const z=new i.nKC(""),k=new i.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ge=new i.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class et{}let dt=(()=>{class s{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,r){this.doc=t,this.cookieName=r}getToken(){const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,$.bS)(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||s)(i.KVO(A.q),i.KVO(k))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();function Dn(s,a){const t=s.url.toLowerCase();if(!(0,i.WQX)(z)||"GET"===s.method||"HEAD"===s.method||t.startsWith("http://")||t.startsWith("https://"))return a(s);const r=(0,i.WQX)(et).getToken(),c=(0,i.WQX)(ge);return null!=r&&!s.headers.has(c)&&(s=s.clone({headers:s.headers.set(c,r)})),a(s)}var Tt=function(s){return s[s.State=0]="State",s[s.Transition=1]="Transition",s[s.Sequence=2]="Sequence",s[s.Group=3]="Group",s[s.Animate=4]="Animate",s[s.Keyframes=5]="Keyframes",s[s.Style=6]="Style",s[s.Trigger=7]="Trigger",s[s.Reference=8]="Reference",s[s.AnimateChild=9]="AnimateChild",s[s.AnimateRef=10]="AnimateRef",s[s.Query=11]="Query",s[s.Stagger=12]="Stagger",s}(Tt||{});const Oo="*";function Cs(s,a){return{type:Tt.Trigger,name:s,definitions:a,options:{}}}function Hr(s,a=null){return{type:Tt.Animate,styles:a,timings:s}}function nt(s){return{type:Tt.Style,styles:s,offset:null}}function Ro(s,a,t){return{type:Tt.State,name:s,styles:a,options:t}}function ko(s,a,t=null){return{type:Tt.Transition,expr:s,animation:a,options:t}}class Yo{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(a=0,t=0){this.totalTime=a+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const t="start"==a?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class ta{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(a){this.players=a;let t=0,r=0,c=0;const f=this.players.length;0==f?queueMicrotask(()=>this._onFinish()):this.players.forEach(g=>{g.onDone(()=>{++t==f&&this._onFinish()}),g.onDestroy(()=>{++r==f&&this._onDestroy()}),g.onStart(()=>{++c==f&&this._onStart()})}),this.totalTime=this.players.reduce((g,D)=>Math.max(g,D.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const t=a*this.totalTime;this.players.forEach(r=>{const c=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(c)})}getPosition(){const a=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const t="start"==a?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}var _t=w(1413),nc=w(345);const Jn=["toast-component",""];function zr(s,a){if(1&s){const t=i.RV6();i.j41(0,"button",5),i.bIt("click",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.remove())}),i.j41(1,"span",6),i.EFF(2,"\xd7"),i.k0s()()}}function zd(s,a){if(1&s&&(i.qex(0),i.EFF(1),i.bVm()),2&s){const t=i.XpG(2);i.R7$(),i.SpI("[",t.duplicatesCount+1,"]")}}function na(s,a){if(1&s&&(i.j41(0,"div"),i.EFF(1),i.DNE(2,zd,2,1,"ng-container",4),i.k0s()),2&s){const t=i.XpG();i.HbH(t.options.titleClass),i.BMQ("aria-label",t.title),i.R7$(),i.SpI(" ",t.title," "),i.R7$(),i.Y8G("ngIf",t.duplicatesCount)}}function ic(s,a){if(1&s&&i.nrm(0,"div",7),2&s){const t=i.XpG();i.HbH(t.options.messageClass),i.Y8G("innerHTML",t.message,i.npT)}}function Gd(s,a){if(1&s&&(i.j41(0,"div",8),i.EFF(1),i.k0s()),2&s){const t=i.XpG();i.HbH(t.options.messageClass),i.BMQ("aria-label",t.message),i.R7$(),i.SpI(" ",t.message," ")}}function Wd(s,a){if(1&s&&(i.j41(0,"div"),i.nrm(1,"div",9),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.xc7("width",t.width()+"%")}}class Xd{_attachedHost;component;viewContainerRef;injector;constructor(a,t){this.component=a,this.injector=t}attach(a,t){return this._attachedHost=a,a.attach(this,t)}detach(){const a=this._attachedHost;if(a)return this._attachedHost=void 0,a.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class Gr{_attachedPortal;_disposeFn;attach(a,t){return this._attachedPortal=a,this.attachComponentPortal(a,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(a){this._disposeFn=a}}class pr{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new _t.B;_activate=new _t.B;_manualClose=new _t.B;_resetTimeout=new _t.B;_countDuplicate=new _t.B;constructor(a){this._overlayRef=a}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(a,t){a&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class _i{toastId;config;message;title;toastType;toastRef;_onTap=new _t.B;_onAction=new _t.B;constructor(a,t,r,c,f,g){this.toastId=a,this.config=t,this.message=r,this.title=c,this.toastType=f,this.toastRef=g,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(a){this._onAction.next(a)}onAction(){return this._onAction.asObservable()}}const ei=new i.nKC("ToastConfig");class ji extends Gr{_hostDomElement;_componentFactoryResolver;_appRef;constructor(a,t,r){super(),this._hostDomElement=a,this._componentFactoryResolver=t,this._appRef=r}attachComponentPortal(a,t){const r=this._componentFactoryResolver.resolveComponentFactory(a.component);let c;return c=r.create(a.injector),this._appRef.attachView(c.hostView),this.setDisposeFn(()=>{this._appRef.detachView(c.hostView),c.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(c),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(c)),c}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let Wr=(()=>{class s{_document=(0,i.WQX)(A.q);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();class mr{_portalHost;constructor(a){this._portalHost=a}attach(a,t=!0){return this._portalHost.attach(a,t)}detach(){return this._portalHost.detach()}}let Sh=(()=>{class s{_overlayContainer=(0,i.WQX)(Wr);_componentFactoryResolver=(0,i.WQX)(i.OM3);_appRef=(0,i.WQX)(i.o8S);_document=(0,i.WQX)(A.q);_paneElements=new Map;create(t,r){return this._createOverlayRef(this.getPaneElement(t,r))}getPaneElement(t="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[t]||(this._paneElements.get(r)[t]=this._createPaneElement(t,r)),this._paneElements.get(r)[t]}_createPaneElement(t,r){const c=this._document.createElement("div");return c.id="toast-container",c.classList.add(t),c.classList.add("toast-container"),r?r.getContainerElement().appendChild(c):this._overlayContainer.getContainerElement().appendChild(c),c}_createPortalHost(t){return new ji(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new mr(this._createPortalHost(t))}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),_o=(()=>{class s{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,r,c,f,g){this.overlay=r,this._injector=c,this.sanitizer=f,this.ngZone=g,this.toastrConfig={...t.default,...t.config},t.config.iconClasses&&(this.toastrConfig.iconClasses={...t.default.iconClasses,...t.config.iconClasses})}show(t,r,c={},f=""){return this._preBuildNotification(f,t,r,this.applyConfig(c))}success(t,r,c={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,r,this.applyConfig(c))}error(t,r,c={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,r,this.applyConfig(c))}info(t,r,c={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,r,this.applyConfig(c))}warning(t,r,c={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,r,this.applyConfig(c))}clear(t){for(const r of this.toasts)if(void 0!==t){if(r.toastId===t)return void r.toastRef.manualClose()}else r.toastRef.manualClose()}remove(t){const r=this._findToast(t);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const c=this.toasts[this.currentlyActive].toastRef;c.isInactive()||(this.currentlyActive=this.currentlyActive+1,c.activate())}return!0}findDuplicate(t="",r="",c,f){const{includeTitleDuplicates:g}=this.toastrConfig;for(const D of this.toasts)if((!g||g&&D.title===t)&&D.message===r)return D.toastRef.onDuplicate(c,f),D;return null}applyConfig(t={}){return{...this.toastrConfig,...t}}_findToast(t){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===t)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(t,r,c,f){return f.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,r,c,f)):this._buildNotification(t,r,c,f)}_buildNotification(t,r,c,f){if(!f.toastComponent)throw new Error("toastComponent required");const g=this.findDuplicate(c,r,this.toastrConfig.resetTimeoutOnDuplicate&&f.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&c||r)&&this.toastrConfig.preventDuplicates&&null!==g)return g;this.previousToastMessage=r;let D=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(D=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const x=this.overlay.create(f.positionClass,this.overlayContainer);this.index=this.index+1;let G=r;r&&f.enableHtml&&(G=this.sanitizer.sanitize(i.WPN.HTML,r));const J=new pr(x),de=new _i(this.index,f,G,c,t,J),je=i.zZn.create({providers:[{provide:_i,useValue:de}],parent:this._injector}),Qe=new Xd(f.toastComponent,je),Xe=x.attach(Qe,f.newestOnTop);J.componentInstance=Xe.instance;const rt={toastId:this.index,title:c||"",message:r||"",toastRef:J,onShown:J.afterActivate(),onHidden:J.afterClosed(),onTap:de.onTap(),onAction:de.onAction(),portal:Xe};return D||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{rt.toastRef.activate()})),this.toasts.push(rt),rt}static \u0275fac=function(r){return new(r||s)(i.KVO(ei),i.KVO(Sh),i.KVO(i.zZn),i.KVO(nc.up),i.KVO(i.SKi))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();const Qd={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class s{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=(0,i.vPA)(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if("inactive"===this.state().value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,c){this.toastrService=t,this.toastPackage=r,this.ngZone=c,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(f=>{this.duplicatesCount=f}),this.state=(0,i.vPA)({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>({...t,value:"active"})),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width()||100===this.width()||!this.options.timeOut)return;const t=(new Date).getTime();this.width.set((this.hideTime-t)/this.options.timeOut*100),"increasing"===this.options.progressAnimation&&this.width.update(c=>100-c),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>({...t,value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state().value&&(clearTimeout(this.timeout),this.state.update(t=>({...t,value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state().value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state().value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state().value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),r)):this.timeout=setTimeout(()=>t(),r)}outsideInterval(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),r)):this.intervalId=setInterval(()=>t(),r)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(r){return new(r||s)(i.rXU(_o),i.rXU(_i),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:s,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(r,c){1&r&&i.bIt("click",function(){return c.tapToast()})("mouseenter",function(){return c.stickAround()})("mouseleave",function(){return c.delayedHideToast()}),2&r&&(i.zvX("@flyInOut",c._state),i.HbH(c.toastClasses),i.xc7("display",c.displayStyle))},attrs:Jn,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,c){1&r&&i.DNE(0,zr,3,0,"button",0)(1,na,3,5,"div",1)(2,ic,1,3,"div",2)(3,Gd,2,4,"div",3)(4,Wd,2,2,"div",4),2&r&&(i.Y8G("ngIf",c.options.closeButton),i.R7$(),i.Y8G("ngIf",c.title),i.R7$(),i.Y8G("ngIf",c.message&&c.options.enableHtml),i.R7$(),i.Y8G("ngIf",c.message&&!c.options.enableHtml),i.R7$(),i.Y8G("ngIf",c.options.progressBar))},dependencies:[W.bT],encapsulation:2,data:{animation:[Cs("flyInOut",[Ro("inactive",nt({opacity:0})),Ro("active",nt({opacity:1})),Ro("removed",nt({opacity:0})),ko("inactive => active",Hr("{{ easeTime }}ms {{ easing }}")),ko("active => removed",Hr("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return s})()},Za=(s={})=>(0,i.EmA)([{provide:ei,useValue:{default:Qd,config:s}}]);let u_=(()=>{class s{static forRoot(t={}){return{ngModule:s,providers:[Za(t)]}}static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({})}return s})();function gr(s){return new i.wOt(3e3,!1)}function No(s){switch(s.length){case 0:return new Yo;case 1:return s[0];default:return new ta(s)}}function sa(s,a,t=new Map,r=new Map){const c=[],f=[];let g=-1,D=null;if(a.forEach(x=>{const G=x.get("offset"),J=G==g,de=J&&D||new Map;x.forEach((Ce,je)=>{let Qe=je,Xe=Ce;if("offset"!==je)switch(Qe=s.normalizePropertyName(Qe,c),Xe){case"!":Xe=t.get(je);break;case Oo:Xe=r.get(je);break;default:Xe=s.normalizeStyleValue(je,Qe,Xe,c)}de.set(Qe,Xe)}),J||f.push(de),D=de,g=G}),c.length)throw function kh(){return new i.wOt(3502,!1)}();return f}function an(s,a,t,r){switch(a){case"start":s.onStart(()=>r(t&&We(t,"start",s)));break;case"done":s.onDone(()=>r(t&&We(t,"done",s)));break;case"destroy":s.onDestroy(()=>r(t&&We(t,"destroy",s)))}}function We(s,a,t){const f=Ct(s.element,s.triggerName,s.fromState,s.toState,a||s.phaseName,t.totalTime??s.totalTime,!!t.disabled),g=s._data;return null!=g&&(f._data=g),f}function Ct(s,a,t,r,c="",f=0,g){return{element:s,triggerName:a,fromState:t,toState:r,phaseName:c,totalTime:f,disabled:!!g}}function Kt(s,a,t){let r=s.get(a);return r||s.set(a,r=t),r}function Qn(s){const a=s.indexOf(":");return[s.substring(1,a),s.slice(a+1)]}const Kn=typeof document>"u"?null:document.documentElement;function li(s){const a=s.parentNode||s.host||null;return a===Kn?null:a}let qt=null,Tn=!1;function aa(s,a){for(;a;){if(a===s)return!0;a=li(a)}return!1}function qr(s,a,t){if(t)return Array.from(s.querySelectorAll(a));const r=s.querySelector(a);return r?[r]:[]}const Fo="ng-enter",Yr="ng-leave",la="ng-trigger",to=".ng-trigger",ca="ng-animating",Lo=".ng-animating";function Vn(s){if("number"==typeof s)return s;const a=s.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:vr(parseFloat(a[1]),a[2])}function vr(s,a){return"s"===a?1e3*s:s}function ot(s,a,t){return s.hasOwnProperty("duration")?s:function lc(s,a,t){let c,f=0,g="";if("string"==typeof s){const D=s.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===D)return a.push(gr()),{duration:0,delay:0,easing:""};c=vr(parseFloat(D[1]),D[2]);const x=D[3];null!=x&&(f=vr(parseFloat(x),D[4]));const G=D[5];G&&(g=G)}else c=s;if(!t){let D=!1,x=a.length;c<0&&(a.push(function Ih(){return new i.wOt(3100,!1)}()),D=!0),f<0&&(a.push(function Ja(){return new i.wOt(3101,!1)}()),D=!0),D&&a.splice(x,0,gr())}return{duration:c,delay:f,easing:g}}(s,a,t)}function y(s,a,t){a.forEach((r,c)=>{const f=Ye(c);t&&!t.has(c)&&t.set(c,s.style[f]),s.style[f]=r})}function v(s,a){a.forEach((t,r)=>{const c=Ye(r);s.style[c]=""})}function b(s){return Array.isArray(s)?1==s.length?s[0]:function Ya(s,a=null){return{type:Tt.Sequence,steps:s,options:a}}(s):s}const F=new RegExp("{{\\s*(.+?)\\s*}}","g");function N(s){let a=[];if("string"==typeof s){let t;for(;t=F.exec(s);)a.push(t[1]);F.lastIndex=0}return a}function oe(s,a,t){const r=`${s}`,c=r.replace(F,(f,g)=>{let D=a[g];return null==D&&(t.push(function tl(){return new i.wOt(3003,!1)}()),D=""),D.toString()});return c==r?s:c}const Se=/-+([a-z0-9])/g;function Ye(s){return s.replace(Se,(...a)=>a[1].toUpperCase())}function mn(s,a,t){switch(a.type){case Tt.Trigger:return s.visitTrigger(a,t);case Tt.State:return s.visitState(a,t);case Tt.Transition:return s.visitTransition(a,t);case Tt.Sequence:return s.visitSequence(a,t);case Tt.Group:return s.visitGroup(a,t);case Tt.Animate:return s.visitAnimate(a,t);case Tt.Keyframes:return s.visitKeyframes(a,t);case Tt.Style:return s.visitStyle(a,t);case Tt.Reference:return s.visitReference(a,t);case Tt.AnimateChild:return s.visitAnimateChild(a,t);case Tt.AnimateRef:return s.visitAnimateRef(a,t);case Tt.Query:return s.visitQuery(a,t);case Tt.Stagger:return s.visitStagger(a,t);default:throw function oa(){return new i.wOt(3004,!1)}()}}function ti(s,a){return window.getComputedStyle(s)[a]}let Bo=(()=>{class s{validateStyleProperty(t){return function Po(s){qt||(qt=function _r(){return typeof document<"u"?document.body:null}()||{},Tn=!!qt.style&&"WebkitAppearance"in qt.style);let a=!0;return qt.style&&!function Ms(s){return"ebkit"==s.substring(1,6)}(s)&&(a=s in qt.style,!a&&Tn&&(a="Webkit"+s.charAt(0).toUpperCase()+s.slice(1)in qt.style)),a}(t)}containsElement(t,r){return aa(t,r)}getParentElement(t){return li(t)}query(t,r,c){return qr(t,r,c)}computeStyle(t,r,c){return c||""}animate(t,r,c,f,g,D=[],x){return new Yo(c,f)}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();class ki{static NOOP=new Bo}class il{}const cc=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class nw extends il{normalizePropertyName(a,t){return Ye(a)}normalizeStyleValue(a,t,r,c){let f="";const g=r.toString().trim();if(cc.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)f="px";else{const D=r.match(/^[+-]?[\d\.]+([a-z]*)$/);D&&0==D[1].length&&c.push(function Zo(){return new i.wOt(3005,!1)}())}return g+f}}const Vh=new Set(["true","1"]),jh=new Set(["false","0"]);function ow(s,a){const t=Vh.has(s)||jh.has(s),r=Vh.has(a)||jh.has(a);return(c,f)=>{let g="*"==s||s==c,D="*"==a||a==f;return!g&&t&&"boolean"==typeof c&&(g=c?Vh.has(s):jh.has(s)),!D&&r&&"boolean"==typeof f&&(D=f?Vh.has(a):jh.has(a)),g&&D}}const v_=new RegExp("s*:selfs*,?","g");function iu(s,a,t,r){return new rw(s).build(a,t,r)}class rw{_driver;constructor(a){this._driver=a}build(a,t,r){const c=new b_(t);return this._resetContextStyleTimingState(c),mn(this,b(a),c)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,t){let r=t.queryCount=0,c=t.depCount=0;const f=[],g=[];return"@"==a.name.charAt(0)&&t.errors.push(function eo(){return new i.wOt(3006,!1)}()),a.definitions.forEach(D=>{if(this._resetContextStyleTimingState(t),D.type==Tt.State){const x=D,G=x.name;G.toString().split(/\s*,\s*/).forEach(J=>{x.name=J,f.push(this.visitState(x,t))}),x.name=G}else if(D.type==Tt.Transition){const x=this.visitTransition(D,t);r+=x.queryCount,c+=x.depCount,g.push(x)}else t.errors.push(function Qr(){return new i.wOt(3007,!1)}())}),{type:Tt.Trigger,name:a.name,states:f,transitions:g,queryCount:r,depCount:c,options:null}}visitState(a,t){const r=this.visitStyle(a.styles,t),c=a.options&&a.options.params||null;if(r.containsDynamicStyles){const f=new Set,g=c||{};r.styles.forEach(D=>{D instanceof Map&&D.forEach(x=>{N(x).forEach(G=>{g.hasOwnProperty(G)||f.add(G)})})}),f.size&&t.errors.push(function oc(){return new i.wOt(3008,!1)}(0,f.values()))}return{type:Tt.State,name:a.name,style:r,options:c?{params:c}:null}}visitTransition(a,t){t.queryCount=0,t.depCount=0;const r=mn(this,b(a.animation),t),c=function PI(s,a){const t=[];return"string"==typeof s?s.split(/\s*,\s*/).forEach(r=>function m_(s,a,t){if(":"==s[0]){const x=function g_(s,a){switch(s){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r)<parseFloat(t);default:return a.push(function Ds(){return new i.wOt(3016,!1)}()),"* => *"}}(s,t);if("function"==typeof x)return void a.push(x);s=x}const r=s.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function ac(){return new i.wOt(3015,!1)}()),a;const c=r[1],f=r[2],g=r[3];a.push(ow(c,g)),"<"==f[0]&&("*"!=c||"*"!=g)&&a.push(ow(g,c))}(r,t,a)):t.push(s),t}(a.expr,t.errors);return{type:Tt.Transition,matchers:c,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:da(a.options)}}visitSequence(a,t){return{type:Tt.Sequence,steps:a.steps.map(r=>mn(this,r,t)),options:da(a.options)}}visitGroup(a,t){const r=t.currentTime;let c=0;const f=a.steps.map(g=>{t.currentTime=r;const D=mn(this,g,t);return c=Math.max(c,t.currentTime),D});return t.currentTime=c,{type:Tt.Group,steps:f,options:da(a.options)}}visitAnimate(a,t){const r=function Uh(s,a){if(s.hasOwnProperty("duration"))return s;if("number"==typeof s)return gn(ot(s,a).duration,0,"");const t=s;if(t.split(/\s+/).some(f=>"{"==f.charAt(0)&&"{"==f.charAt(1))){const f=gn(0,0,"");return f.dynamic=!0,f.strValue=t,f}const c=ot(t,a);return gn(c.duration,c.delay,c.easing)}(a.timings,t.errors);t.currentAnimateTimings=r;let c,f=a.styles?a.styles:nt({});if(f.type==Tt.Keyframes)c=this.visitKeyframes(f,t);else{let g=a.styles,D=!1;if(!g){D=!0;const G={};r.easing&&(G.easing=r.easing),g=nt(G)}t.currentTime+=r.duration+r.delay;const x=this.visitStyle(g,t);x.isEmptyStep=D,c=x}return t.currentAnimateTimings=null,{type:Tt.Animate,timings:r,style:c,options:null}}visitStyle(a,t){const r=this._makeStyleAst(a,t);return this._validateStyleAst(r,t),r}_makeStyleAst(a,t){const r=[],c=Array.isArray(a.styles)?a.styles:[a.styles];for(let D of c)"string"==typeof D?D===Oo?r.push(D):t.errors.push(new i.wOt(3002,!1)):r.push(new Map(Object.entries(D)));let f=!1,g=null;return r.forEach(D=>{if(D instanceof Map&&(D.has("easing")&&(g=D.get("easing"),D.delete("easing")),!f))for(let x of D.values())if(x.toString().indexOf("{{")>=0){f=!0;break}}),{type:Tt.Style,styles:r,easing:g,offset:a.offset,containsDynamicStyles:f,options:null}}_validateStyleAst(a,t){const r=t.currentAnimateTimings;let c=t.currentTime,f=t.currentTime;r&&f>0&&(f-=r.duration+r.delay),a.styles.forEach(g=>{"string"!=typeof g&&g.forEach((D,x)=>{const G=t.collectedStyles.get(t.currentQuerySelector),J=G.get(x);let de=!0;J&&(f!=c&&f>=J.startTime&&c<=J.endTime&&(t.errors.push(function xh(){return new i.wOt(3010,!1)}()),de=!1),f=J.startTime),de&&G.set(x,{startTime:f,endTime:c}),t.options&&function M(s,a,t){const r=a.params||{},c=N(s);c.length&&c.forEach(f=>{r.hasOwnProperty(f)||t.push(function el(){return new i.wOt(3001,!1)}())})}(D,t.options,t.errors)})})}visitKeyframes(a,t){const r={type:Tt.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function sc(){return new i.wOt(3011,!1)}()),r;let f=0;const g=[];let D=!1,x=!1,G=0;const J=a.steps.map(Vt=>{const on=this._makeStyleAst(Vt,t);let Qt=null!=on.offset?on.offset:function aw(s){if("string"==typeof s)return null;let a=null;if(Array.isArray(s))s.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;a=parseFloat(r.get("offset")),r.delete("offset")}});else if(s instanceof Map&&s.has("offset")){const t=s;a=parseFloat(t.get("offset")),t.delete("offset")}return a}(on.styles),_n=0;return null!=Qt&&(f++,_n=on.offset=Qt),x=x||_n<0||_n>1,D=D||_n<G,G=_n,g.push(_n),on});x&&t.errors.push(function ra(){return new i.wOt(3012,!1)}()),D&&t.errors.push(function Kr(){return new i.wOt(3200,!1)}());const de=a.steps.length;let Ce=0;f>0&&f<de?t.errors.push(function Ah(){return new i.wOt(3202,!1)}()):0==f&&(Ce=1/(de-1));const je=de-1,Qe=t.currentTime,Xe=t.currentAnimateTimings,rt=Xe.duration;return J.forEach((Vt,on)=>{const Qt=Ce>0?on==je?1:Ce*on:g[on],_n=Qt*rt;t.currentTime=Qe+Xe.delay+_n,Xe.duration=_n,this._validateStyleAst(Vt,t),Vt.offset=Qt,r.styles.push(Vt)}),r}visitReference(a,t){return{type:Tt.Reference,animation:mn(this,b(a.animation),t),options:da(a.options)}}visitAnimateChild(a,t){return t.depCount++,{type:Tt.AnimateChild,options:da(a.options)}}visitAnimateRef(a,t){return{type:Tt.AnimateRef,animation:this.visitReference(a.animation,t),options:da(a.options)}}visitQuery(a,t){const r=t.currentQuerySelector,c=a.options||{};t.queryCount++,t.currentQuery=a;const[f,g]=function sw(s){const a=!!s.split(/\s*,\s*/).find(t=>":self"==t);return a&&(s=s.replace(v_,"")),s=s.replace(/@\*/g,to).replace(/@\w+/g,t=>to+"-"+t.slice(1)).replace(/:animating/g,Lo),[s,a]}(a.selector);t.currentQuerySelector=r.length?r+" "+f:f,Kt(t.collectedStyles,t.currentQuerySelector,new Map);const D=mn(this,b(a.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:Tt.Query,selector:f,limit:c.limit||0,optional:!!c.optional,includeSelf:g,animation:D,originalSelector:a.selector,options:da(a.options)}}visitStagger(a,t){t.currentQuery||t.errors.push(function Oh(){return new i.wOt(3013,!1)}());const r="full"===a.timings?{duration:0,delay:0,easing:"full"}:ot(a.timings,t.errors,!0);return{type:Tt.Stagger,animation:mn(this,b(a.animation),t),timings:r,options:null}}}class b_{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(a){this.errors=a}}function da(s){return s?(s={...s}).params&&(s.params=function y_(s){return s?{...s}:null}(s.params)):s={},s}function gn(s,a,t){return{duration:s,delay:a,easing:t}}function ou(s,a,t,r,c,f,g=null,D=!1){return{type:1,element:s,keyframes:a,preStyleProps:t,postStyleProps:r,duration:c,delay:f,totalTime:c+f,easing:g,subTimeline:D}}class dc{_map=new Map;get(a){return this._map.get(a)||[]}append(a,t){let r=this._map.get(a);r||this._map.set(a,r=[]),r.push(...t)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const ol=new RegExp(":enter","g"),lw=new RegExp(":leave","g");function Zr(s,a,t,r,c,f=new Map,g=new Map,D,x,G=[]){return(new ua).buildKeyframes(s,a,t,r,c,f,g,D,x,G)}class ua{buildKeyframes(a,t,r,c,f,g,D,x,G,J=[]){G=G||new dc;const de=new Ei(a,t,G,c,f,J,[]);de.options=x;const Ce=x.delay?Vn(x.delay):0;de.currentTimeline.delayNextStep(Ce),de.currentTimeline.setStyles([g],null,de.errors,x),mn(this,r,de);const je=de.timelines.filter(Qe=>Qe.containsAnimation());if(je.length&&D.size){let Qe;for(let Xe=je.length-1;Xe>=0;Xe--){const rt=je[Xe];if(rt.element===t){Qe=rt;break}}Qe&&!Qe.allowOnlyTimelineStyles()&&Qe.setStyles([D],null,de.errors,x)}return je.length?je.map(Qe=>Qe.buildKeyframes()):[ou(t,[],[],[],0,Ce,"",!1)]}visitTrigger(a,t){}visitState(a,t){}visitTransition(a,t){}visitAnimateChild(a,t){const r=t.subInstructions.get(t.element);if(r){const c=t.createSubContext(a.options),f=t.currentTimeline.currentTime,g=this._visitSubInstructions(r,c,c.options);f!=g&&t.transformIntoNewTimeline(g)}t.previousNode=a}visitAnimateRef(a,t){const r=t.createSubContext(a.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],t,r),this.visitReference(a.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=a}_applyAnimationRefDelays(a,t,r){for(const c of a){const f=c?.delay;if(f){const g="number"==typeof f?f:Vn(oe(f,c?.params??{},t.errors));r.delayNextStep(g)}}}_visitSubInstructions(a,t,r){let f=t.currentTimeline.currentTime;const g=null!=r.duration?Vn(r.duration):null,D=null!=r.delay?Vn(r.delay):null;return 0!==g&&a.forEach(x=>{const G=t.appendInstructionToTimeline(x,g,D);f=Math.max(f,G.duration+G.delay)}),f}visitReference(a,t){t.updateOptions(a.options,!0),mn(this,a.animation,t),t.previousNode=a}visitSequence(a,t){const r=t.subContextCount;let c=t;const f=a.options;if(f&&(f.params||f.delay)&&(c=t.createSubContext(f),c.transformIntoNewTimeline(),null!=f.delay)){c.previousNode.type==Tt.Style&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=rl);const g=Vn(f.delay);c.delayNextStep(g)}a.steps.length&&(a.steps.forEach(g=>mn(this,g,c)),c.currentTimeline.applyStylesToKeyframe(),c.subContextCount>r&&c.transformIntoNewTimeline()),t.previousNode=a}visitGroup(a,t){const r=[];let c=t.currentTimeline.currentTime;const f=a.options&&a.options.delay?Vn(a.options.delay):0;a.steps.forEach(g=>{const D=t.createSubContext(a.options);f&&D.delayNextStep(f),mn(this,g,D),c=Math.max(c,D.currentTimeline.currentTime),r.push(D.currentTimeline)}),r.forEach(g=>t.currentTimeline.mergeTimelineCollectedStyles(g)),t.transformIntoNewTimeline(c),t.previousNode=a}_visitTiming(a,t){if(a.dynamic){const r=a.strValue;return ot(t.params?oe(r,t.params,t.errors):r,t.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,t){const r=t.currentAnimateTimings=this._visitTiming(a.timings,t),c=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),c.snapshotCurrentStyles());const f=a.style;f.type==Tt.Keyframes?this.visitKeyframes(f,t):(t.incrementTime(r.duration),this.visitStyle(f,t),c.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=a}visitStyle(a,t){const r=t.currentTimeline,c=t.currentAnimateTimings;!c&&r.hasCurrentStyleProperties()&&r.forwardFrame();const f=c&&c.easing||a.easing;a.isEmptyStep?r.applyEmptyStep(f):r.setStyles(a.styles,f,t.errors,t.options),t.previousNode=a}visitKeyframes(a,t){const r=t.currentAnimateTimings,c=t.currentTimeline.duration,f=r.duration,D=t.createSubContext().currentTimeline;D.easing=r.easing,a.styles.forEach(x=>{D.forwardTime((x.offset||0)*f),D.setStyles(x.styles,x.easing,t.errors,t.options),D.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(D),t.transformIntoNewTimeline(c+f),t.previousNode=a}visitQuery(a,t){const r=t.currentTimeline.currentTime,c=a.options||{},f=c.delay?Vn(c.delay):0;f&&(t.previousNode.type===Tt.Style||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=rl);let g=r;const D=t.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!c.optional,t.errors);t.currentQueryTotal=D.length;let x=null;D.forEach((G,J)=>{t.currentQueryIndex=J;const de=t.createSubContext(a.options,G);f&&de.delayNextStep(f),G===t.element&&(x=de.currentTimeline),mn(this,a.animation,de),de.currentTimeline.applyStylesToKeyframe(),g=Math.max(g,de.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(g),x&&(t.currentTimeline.mergeTimelineCollectedStyles(x),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=a}visitStagger(a,t){const r=t.parentContext,c=t.currentTimeline,f=a.timings,g=Math.abs(f.duration),D=g*(t.currentQueryTotal-1);let x=g*t.currentQueryIndex;switch(f.duration<0?"reverse":f.easing){case"reverse":x=D-x;break;case"full":x=r.currentStaggerTime}const J=t.currentTimeline;x&&J.delayNextStep(x);const de=J.currentTime;mn(this,a.animation,t),t.previousNode=a,r.currentStaggerTime=c.currentTime-de+(c.startTime-r.currentTimeline.startTime)}}const rl={};class Ei{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=rl;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(a,t,r,c,f,g,D,x){this._driver=a,this.element=t,this.subInstructions=r,this._enterClassName=c,this._leaveClassName=f,this.errors=g,this.timelines=D,this.currentTimeline=x||new ru(this._driver,t,0),D.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,t){if(!a)return;const r=a;let c=this.options;null!=r.duration&&(c.duration=Vn(r.duration)),null!=r.delay&&(c.delay=Vn(r.delay));const f=r.params;if(f){let g=c.params;g||(g=this.options.params={}),Object.keys(f).forEach(D=>{(!t||!g.hasOwnProperty(D))&&(g[D]=oe(f[D],g,this.errors))})}}_copyOptions(){const a={};if(this.options){const t=this.options.params;if(t){const r=a.params={};Object.keys(t).forEach(c=>{r[c]=t[c]})}}return a}createSubContext(a=null,t,r){const c=t||this.element,f=new Ei(this._driver,c,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(c,r||0));return f.previousNode=this.previousNode,f.currentAnimateTimings=this.currentAnimateTimings,f.options=this._copyOptions(),f.updateOptions(a),f.currentQueryIndex=this.currentQueryIndex,f.currentQueryTotal=this.currentQueryTotal,f.parentContext=this,this.subContextCount++,f}transformIntoNewTimeline(a){return this.previousNode=rl,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,t,r){const c={duration:t??a.duration,delay:this.currentTimeline.currentTime+(r??0)+a.delay,easing:""},f=new zh(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,c,a.stretchStartingKeyframe);return this.timelines.push(f),c}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,t,r,c,f,g){let D=[];if(c&&D.push(this.element),a.length>0){a=(a=a.replace(ol,"."+this._enterClassName)).replace(lw,"."+this._leaveClassName);let G=this._driver.query(this.element,a,1!=r);0!==r&&(G=r<0?G.slice(G.length+r,G.length):G.slice(0,r)),D.push(...G)}return!f&&0==D.length&&g.push(function Rh(){return new i.wOt(3014,!1)}()),D}}class ru{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(a,t,r,c){this._driver=a,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=c,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+a),t&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,t){return this.applyStylesToKeyframe(),new ru(this._driver,a,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,t){this._localTimelineStyles.set(a,t),this._globalTimelineStyles.set(a,t),this._styleSummary.set(a,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||Oo),this._currentKeyframe.set(t,Oo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,t,r,c){t&&this._previousKeyframe.set("easing",t);const f=c&&c.params||{},g=function Vo(s,a){const t=new Map;let r;return s.forEach(c=>{if("*"===c){r??=a.keys();for(let f of r)t.set(f,Oo)}else for(let[f,g]of c)t.set(f,g)}),t}(a,this._globalTimelineStyles);for(let[D,x]of g){const G=oe(x,f,r);this._pendingStyles.set(D,G),this._localTimelineStyles.has(D)||this._backFill.set(D,this._globalTimelineStyles.get(D)??Oo),this._updateStyle(D,G)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,t)=>{this._currentKeyframe.set(t,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,a)}))}snapshotCurrentStyles(){for(let[a,t]of this._localTimelineStyles)this._pendingStyles.set(a,t),this._updateStyle(a,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let t in this._currentKeyframe)a.push(t);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((t,r)=>{const c=this._styleSummary.get(r);(!c||t.time>c.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let c=[];this._keyframes.forEach((D,x)=>{const G=new Map([...this._backFill,...D]);G.forEach((J,de)=>{"!"===J?a.add(de):J===Oo&&t.add(de)}),r||G.set("offset",x/this.duration),c.push(G)});const f=[...a.values()],g=[...t.values()];if(r){const D=c[0],x=new Map(D);D.set("offset",0),x.set("offset",1),c=[D,x]}return ou(this.element,c,f,g,this.duration,this.startTime,this.easing,!1)}}class zh extends ru{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(a,t,r,c,f,g,D=!1){super(a,t,g.delay),this.keyframes=r,this.preStyleProps=c,this.postStyleProps=f,this._stretchStartingKeyframe=D,this.timings={duration:g.duration,delay:g.delay,easing:g.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:t,duration:r,easing:c}=this.timings;if(this._stretchStartingKeyframe&&t){const f=[],g=r+t,D=t/g,x=new Map(a[0]);x.set("offset",0),f.push(x);const G=new Map(a[0]);G.set("offset",C_(D)),f.push(G);const J=a.length-1;for(let de=1;de<=J;de++){let Ce=new Map(a[de]);const je=Ce.get("offset");Ce.set("offset",C_((t+je*r)/g)),f.push(Ce)}r=g,t=0,c="",a=f}return ou(this.element,a,this.preStyleProps,this.postStyleProps,r,t,c,!0)}}function C_(s,a=3){const t=Math.pow(10,a-1);return Math.round(s*t)/t}function Gh(s,a,t,r,c,f,g,D,x,G,J,de,Ce){return{type:0,element:s,triggerName:a,isRemovalTransition:c,fromState:t,fromStyles:f,toState:r,toStyles:g,timelines:D,queriedElements:x,preStyleProps:G,postStyleProps:J,totalTime:de,errors:Ce}}const uc={};class Wh{_triggerName;ast;_stateStyles;constructor(a,t,r){this._triggerName=a,this.ast=t,this._stateStyles=r}match(a,t,r,c){return function Xh(s,a,t,r,c){return s.some(f=>f(a,t,r,c))}(this.ast.matchers,a,t,r,c)}buildStyles(a,t,r){let c=this._stateStyles.get("*");return void 0!==a&&(c=this._stateStyles.get(a?.toString())||c),c?c.buildStyles(t,r):new Map}build(a,t,r,c,f,g,D,x,G,J){const de=[],Ce=this.ast.options&&this.ast.options.params||uc,Qe=this.buildStyles(r,D&&D.params||uc,de),Xe=x&&x.params||uc,rt=this.buildStyles(c,Xe,de),Vt=new Set,on=new Map,Qt=new Map,_n="void"===c,bi={params:fa(Xe,Ce),delay:this.ast.options?.delay},oi=J?[]:Zr(a,t,this.ast.animation,f,g,Qe,rt,bi,G,de);let kn=0;return oi.forEach(Ci=>{kn=Math.max(Ci.duration+Ci.delay,kn)}),de.length?Gh(t,this._triggerName,r,c,_n,Qe,rt,[],[],on,Qt,kn,de):(oi.forEach(Ci=>{const Fr=Ci.element,ql=Kt(on,Fr,new Set);Ci.preStyleProps.forEach(Ys=>ql.add(Ys));const Jg=Kt(Qt,Fr,new Set);Ci.postStyleProps.forEach(Ys=>Jg.add(Ys)),Fr!==t&&Vt.add(Fr)}),Gh(t,this._triggerName,r,c,_n,Qe,rt,oi,[...Vt.values()],on,Qt,kn))}}function fa(s,a){const t={...a};return Object.entries(s).forEach(([r,c])=>{null!=c&&(t[r]=c)}),t}class au{styles;defaultParams;normalizer;constructor(a,t,r){this.styles=a,this.defaultParams=t,this.normalizer=r}buildStyles(a,t){const r=new Map,c=fa(a,this.defaultParams);return this.styles.styles.forEach(f=>{"string"!=typeof f&&f.forEach((g,D)=>{g&&(g=oe(g,c,t));const x=this.normalizer.normalizePropertyName(D,t);g=this.normalizer.normalizeStyleValue(D,x,g,t),r.set(D,g)})}),r}}class Jr{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(a,t,r){this.name=a,this.ast=t,this._normalizer=r,t.states.forEach(c=>{this.states.set(c.name,new au(c.style,c.options&&c.options.params||{},r))}),lu(this.states,"true","1"),lu(this.states,"false","0"),t.transitions.forEach(c=>{this.transitionFactories.push(new Wh(a,c,this.states))}),this.fallbackTransition=function Kh(s,a){return new Wh(s,{type:Tt.Transition,animation:{type:Tt.Sequence,steps:[],options:null},matchers:[(g,D)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,t,r,c){return this.transitionFactories.find(g=>g.match(a,t,r,c))||null}matchStyles(a,t,r){return this.fallbackTransition.buildStyles(a,t,r)}}function lu(s,a,t){s.has(a)?s.has(t)||s.set(t,s.get(a)):s.has(t)&&s.set(a,s.get(t))}const cw=new dc;class Pt{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(a,t,r){this.bodyNode=a,this._driver=t,this._normalizer=r}register(a,t){const r=[],f=iu(this._driver,t,r,[]);if(r.length)throw function Nh(){return new i.wOt(3503,!1)}();this._animations.set(a,f)}_buildPlayer(a,t,r){const c=a.element,f=sa(this._normalizer,a.keyframes,t,r);return this._driver.animate(c,f,a.duration,a.delay,a.easing,[],!0)}create(a,t,r={}){const c=[],f=this._animations.get(a);let g;const D=new Map;if(f?(g=Zr(this._driver,t,f,Fo,Yr,new Map,new Map,r,cw,c),g.forEach(J=>{const de=Kt(D,J.element,new Map);J.postStyleProps.forEach(Ce=>de.set(Ce,null))})):(c.push(function Xn(){return new i.wOt(3300,!1)}()),g=[]),c.length)throw function Zd(){return new i.wOt(3504,!1)}();D.forEach((J,de)=>{J.forEach((Ce,je)=>{J.set(je,this._driver.computeStyle(de,je,Oo))})});const G=No(g.map(J=>{const de=D.get(J.element);return this._buildPlayer(J,new Map,de)}));return this._playersById.set(a,G),G.onDestroy(()=>this.destroy(a)),this.players.push(G),G}destroy(a){const t=this._getPlayer(a);t.destroy(),this._playersById.delete(a);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(a){const t=this._playersById.get(a);if(!t)throw function Jd(){return new i.wOt(3301,!1)}();return t}listen(a,t,r,c){const f=Ct(t,"","","");return an(this._getPlayer(a),r,f,c),()=>{}}command(a,t,r,c){if("register"==r)return void this.register(a,c[0]);if("create"==r)return void this.create(a,t,c[0]||{});const f=this._getPlayer(a);switch(r){case"play":f.play();break;case"pause":f.pause();break;case"reset":f.reset();break;case"restart":f.restart();break;case"finish":f.finish();break;case"init":f.init();break;case"setPosition":f.setPosition(parseFloat(c[0]));break;case"destroy":this.destroy(a)}}}const fc="ng-animate-queued",hc="ng-animate-disabled",Yh=[],Is={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},hw={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},er="__ng_removed";class Zh{namespaceId;value;options;get params(){return this.options.params}constructor(a,t=""){this.namespaceId=t;const r=a&&a.hasOwnProperty("value");if(this.value=function Yt(s){return s??null}(r?a.value:a),r){const{value:f,...g}=a;this.options=g}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const t=a.params;if(t){const r=this.options.params;Object.keys(t).forEach(c=>{null==r[c]&&(r[c]=t[c])})}}}const pc="void",Jh=new Zh(pc);class _e{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(a,t,r){this.id=a,this.hostElement=t,this._engine=r,this._hostClassName="ng-tns-"+a,yo(t,this._hostClassName)}listen(a,t,r,c){if(!this._triggers.has(t))throw function nl(){return new i.wOt(3302,!1)}();if(null==r||0==r.length)throw function eu(){return new i.wOt(3303,!1)}();if(!function gc(s){return"start"==s||"done"==s}(r))throw function tu(){return new i.wOt(3400,!1)}();const f=Kt(this._elementListeners,a,[]),g={name:t,phase:r,callback:c};f.push(g);const D=Kt(this._engine.statesByElement,a,new Map);return D.has(t)||(yo(a,la),yo(a,la+"-"+t),D.set(t,Jh)),()=>{this._engine.afterFlush(()=>{const x=f.indexOf(g);x>=0&&f.splice(x,1),this._triggers.has(t)||D.delete(t)})}}register(a,t){return!this._triggers.has(a)&&(this._triggers.set(a,t),!0)}_getTrigger(a){const t=this._triggers.get(a);if(!t)throw function Ph(){return new i.wOt(3401,!1)}();return t}trigger(a,t,r,c=!0){const f=this._getTrigger(t),g=new cu(this.id,t,a);let D=this._engine.statesByElement.get(a);D||(yo(a,la),yo(a,la+"-"+t),this._engine.statesByElement.set(a,D=new Map));let x=D.get(t);const G=new Zh(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&x&&G.absorbOptions(x.options),D.set(t,G),x||(x=Jh),G.value!==pc&&x.value===G.value){if(!function fu(s,a){const t=Object.keys(s),r=Object.keys(a);if(t.length!=r.length)return!1;for(let c=0;c<t.length;c++){const f=t[c];if(!a.hasOwnProperty(f)||s[f]!==a[f])return!1}return!0}(x.params,G.params)){const Xe=[],rt=f.matchStyles(x.value,x.params,Xe),Vt=f.matchStyles(G.value,G.params,Xe);Xe.length?this._engine.reportError(Xe):this._engine.afterFlush(()=>{v(a,rt),y(a,Vt)})}return}const Ce=Kt(this._engine.playersByElement,a,[]);Ce.forEach(Xe=>{Xe.namespaceId==this.id&&Xe.triggerName==t&&Xe.queued&&Xe.destroy()});let je=f.matchTransition(x.value,G.value,a,G.params),Qe=!1;if(!je){if(!c)return;je=f.fallbackTransition,Qe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:t,transition:je,fromState:x,toState:G,player:g,isFallbackTransition:Qe}),Qe||(yo(a,fc),g.onStart(()=>{_c(a,fc)})),g.onDone(()=>{let Xe=this.players.indexOf(g);Xe>=0&&this.players.splice(Xe,1);const rt=this._engine.playersByElement.get(a);if(rt){let Vt=rt.indexOf(g);Vt>=0&&rt.splice(Vt,1)}}),this.players.push(g),Ce.push(g),g}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(t=>t.delete(a)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(c=>c.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const t=this._engine.playersByElement.get(a);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,t){const r=this._engine.driver.query(a,to,!0);r.forEach(c=>{if(c[er])return;const f=this._engine.fetchNamespacesByElement(c);f.size?f.forEach(g=>g.triggerLeaveAnimation(c,t,!1,!0)):this.clearElementCache(c)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(c=>this.clearElementCache(c)))}triggerLeaveAnimation(a,t,r,c){const f=this._engine.statesByElement.get(a),g=new Map;if(f){const D=[];if(f.forEach((x,G)=>{if(g.set(G,x.value),this._triggers.has(G)){const J=this.trigger(a,G,pc,c);J&&D.push(J)}}),D.length)return this._engine.markElementAsRemoved(this.id,a,!0,t,g),r&&No(D).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const t=this._elementListeners.get(a),r=this._engine.statesByElement.get(a);if(t&&r){const c=new Set;t.forEach(f=>{const g=f.name;if(c.has(g))return;c.add(g);const x=this._triggers.get(g).fallbackTransition,G=r.get(g)||Jh,J=new Zh(pc),de=new cu(this.id,g,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:g,transition:x,fromState:G,toState:J,player:de,isFallbackTransition:!0})})}}removeNode(a,t){const r=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,t),this.triggerLeaveAnimation(a,t,!0))return;let c=!1;if(r.totalAnimations){const f=r.players.length?r.playersByQueriedElement.get(a):[];if(f&&f.length)c=!0;else{let g=a;for(;g=g.parentNode;)if(r.statesByElement.get(g)){c=!0;break}}}if(this.prepareLeaveAnimationListeners(a),c)r.markElementAsRemoved(this.id,a,!1,t);else{const f=a[er];(!f||f===Is)&&(r.afterFlush(()=>this.clearElementCache(a)),r.destroyInnerAnimations(a),r._onRemovalComplete(a,t))}}insertNode(a,t){yo(a,this._hostClassName)}drainQueuedTransitions(a){const t=[];return this._queue.forEach(r=>{const c=r.player;if(c.destroyed)return;const f=r.element,g=this._elementListeners.get(f);g&&g.forEach(D=>{if(D.name==r.triggerName){const x=Ct(f,r.triggerName,r.fromState.value,r.toState.value);x._data=a,an(r.player,D.phase,x,D.callback)}}),c.markedForDestroy?this._engine.afterFlush(()=>{c.destroy()}):t.push(r)}),this._queue=[],t.sort((r,c)=>{const f=r.transition.ast.depCount,g=c.transition.ast.depCount;return 0==f||0==g?f-g:this._engine.driver.containsElement(r.element,c.element)?1:-1})}destroy(a){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class Rt{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(a,t)=>{};_onRemovalComplete(a,t){this.onRemovalComplete(a,t)}constructor(a,t,r){this.bodyNode=a,this.driver=t,this._normalizer=r}get queuedPlayers(){const a=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&a.push(r)})}),a}createNamespace(a,t){const r=new _e(a,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[a]=r}_balanceNamespaceList(a,t){const r=this._namespaceList,c=this.namespacesByHostElement;if(r.length-1>=0){let g=!1,D=this.driver.getParentElement(t);for(;D;){const x=c.get(D);if(x){const G=r.indexOf(x);r.splice(G+1,0,a),g=!0;break}D=this.driver.getParentElement(D)}g||r.unshift(a)}else r.push(a);return c.set(t,a),a}register(a,t){let r=this._namespaceLookup[a];return r||(r=this.createNamespace(a,t)),r}registerTrigger(a,t,r){let c=this._namespaceLookup[a];c&&c.register(t,r)&&this.totalAnimations++}destroy(a,t){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(a);this.namespacesByHostElement.delete(r.hostElement);const c=this._namespaceList.indexOf(r);c>=0&&this._namespaceList.splice(c,1),r.destroy(t),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const t=new Set,r=this.statesByElement.get(a);if(r)for(let c of r.values())if(c.namespaceId){const f=this._fetchNamespace(c.namespaceId);f&&t.add(f)}return t}trigger(a,t,r,c){if(mc(t)){const f=this._fetchNamespace(a);if(f)return f.trigger(t,r,c),!0}return!1}insertNode(a,t,r,c){if(!mc(t))return;const f=t[er];if(f&&f.setForRemoval){f.setForRemoval=!1,f.setForMove=!0;const g=this.collectedLeaveElements.indexOf(t);g>=0&&this.collectedLeaveElements.splice(g,1)}if(a){const g=this._fetchNamespace(a);g&&g.insertNode(t,r)}c&&this.collectEnterElement(t)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,t){t?this.disabledNodes.has(a)||(this.disabledNodes.add(a),yo(a,hc)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),_c(a,hc))}removeNode(a,t,r){if(mc(t)){const c=a?this._fetchNamespace(a):null;c?c.removeNode(t,r):this.markElementAsRemoved(a,t,!1,r);const f=this.namespacesByHostElement.get(t);f&&f.id!==a&&f.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(a,t,r,c,f){this.collectedLeaveElements.push(t),t[er]={namespaceId:a,setForRemoval:c,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:f}}listen(a,t,r,c,f){return mc(t)?this._fetchNamespace(a).listen(t,r,c,f):()=>{}}_buildInstruction(a,t,r,c,f){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,r,c,a.fromState.options,a.toState.options,t,f)}destroyInnerAnimations(a){let t=this.driver.query(a,to,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(a,Lo,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(a){const t=this.playersByElement.get(a);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(a){const t=this.playersByQueriedElement.get(a);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return No(this.players).onDone(()=>a());a()})}processLeaveNode(a){const t=a[er];if(t&&t.setForRemoval){if(a[er]=Is,t.namespaceId){this.destroyInnerAnimations(a);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(a)}this._onRemovalComplete(a,t.setForRemoval)}a.classList?.contains(hc)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(a=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,c)=>this._balanceNamespaceList(r,c)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)yo(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{t=this._flushAnimations(r,a)}finally{for(let c=0;c<r.length;c++)r[c]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?No(t).onDone(()=>{r.forEach(c=>c())}):r.forEach(c=>c())}}reportError(a){throw function Fh(){return new i.wOt(3402,!1)}()}_flushAnimations(a,t){const r=new dc,c=[],f=new Map,g=[],D=new Map,x=new Map,G=new Map,J=new Set;this.disabledNodes.forEach(ut=>{J.add(ut);const St=this.driver.query(ut,".ng-animate-queued",!0);for(let At=0;At<St.length;At++)J.add(St[At])});const de=this.bodyNode,Ce=Array.from(this.statesByElement.keys()),je=uu(Ce,this.collectedEnterElements),Qe=new Map;let Xe=0;je.forEach((ut,St)=>{const At=Fo+Xe++;Qe.set(St,At),ut.forEach(dn=>yo(dn,At))});const rt=[],Vt=new Set,on=new Set;for(let ut=0;ut<this.collectedLeaveElements.length;ut++){const St=this.collectedLeaveElements[ut],At=St[er];At&&At.setForRemoval&&(rt.push(St),Vt.add(St),At.hasAnimation?this.driver.query(St,".ng-star-inserted",!0).forEach(dn=>Vt.add(dn)):on.add(St))}const Qt=new Map,_n=uu(Ce,Array.from(Vt));_n.forEach((ut,St)=>{const At=Yr+Xe++;Qt.set(St,At),ut.forEach(dn=>yo(dn,At))}),a.push(()=>{je.forEach((ut,St)=>{const At=Qe.get(St);ut.forEach(dn=>_c(dn,At))}),_n.forEach((ut,St)=>{const At=Qt.get(St);ut.forEach(dn=>_c(dn,At))}),rt.forEach(ut=>{this.processLeaveNode(ut)})});const bi=[],oi=[];for(let ut=this._namespaceList.length-1;ut>=0;ut--)this._namespaceList[ut].drainQueuedTransitions(t).forEach(At=>{const dn=At.player,fi=At.element;if(bi.push(dn),this.collectedEnterElements.length){const wi=fi[er];if(wi&&wi.setForMove){if(wi.previousTriggersValues&&wi.previousTriggersValues.has(At.triggerName)){const Js=wi.previousTriggersValues.get(At.triggerName),To=this.statesByElement.get(At.element);if(To&&To.has(At.triggerName)){const Vd=To.get(At.triggerName);Vd.value=Js,To.set(At.triggerName,Vd)}}return void dn.destroy()}}const dr=!de||!this.driver.containsElement(de,fi),Mo=Qt.get(fi),Zs=Qe.get(fi),Nn=this._buildInstruction(At,r,Zs,Mo,dr);if(Nn.errors&&Nn.errors.length)return void oi.push(Nn);if(dr)return dn.onStart(()=>v(fi,Nn.fromStyles)),dn.onDestroy(()=>y(fi,Nn.toStyles)),void c.push(dn);if(At.isFallbackTransition)return dn.onStart(()=>v(fi,Nn.fromStyles)),dn.onDestroy(()=>y(fi,Nn.toStyles)),void c.push(dn);const Bd=[];Nn.timelines.forEach(wi=>{wi.stretchStartingKeyframe=!0,this.disabledNodes.has(wi.element)||Bd.push(wi)}),Nn.timelines=Bd,r.append(fi,Nn.timelines),g.push({instruction:Nn,player:dn,element:fi}),Nn.queriedElements.forEach(wi=>Kt(D,wi,[]).push(dn)),Nn.preStyleProps.forEach((wi,Js)=>{if(wi.size){let To=x.get(Js);To||x.set(Js,To=new Set),wi.forEach((Vd,bh)=>To.add(bh))}}),Nn.postStyleProps.forEach((wi,Js)=>{let To=G.get(Js);To||G.set(Js,To=new Set),wi.forEach((Vd,bh)=>To.add(bh))})});if(oi.length){const ut=[];oi.forEach(St=>{ut.push(function nu(){return new i.wOt(3505,!1)}())}),bi.forEach(St=>St.destroy()),this.reportError(ut)}const kn=new Map,Ci=new Map;g.forEach(ut=>{const St=ut.element;r.has(St)&&(Ci.set(St,St),this._beforeAnimationBuild(ut.player.namespaceId,ut.instruction,kn))}),c.forEach(ut=>{const St=ut.element;this._getPreviousPlayers(St,!1,ut.namespaceId,ut.triggerName,null).forEach(dn=>{Kt(kn,St,[]).push(dn),dn.destroy()})});const Fr=rt.filter(ut=>Ni(ut,x,G)),ql=new Map;du(ql,this.driver,on,G,Oo).forEach(ut=>{Ni(ut,x,G)&&Fr.push(ut)});const Ys=new Map;je.forEach((ut,St)=>{du(Ys,this.driver,new Set(ut),x,"!")}),Fr.forEach(ut=>{const St=ql.get(ut),At=Ys.get(ut);ql.set(ut,new Map([...St?.entries()??[],...At?.entries()??[]]))});const yh=[],e_=[],t_={};g.forEach(ut=>{const{element:St,player:At,instruction:dn}=ut;if(r.has(St)){if(J.has(St))return At.onDestroy(()=>y(St,dn.toStyles)),At.disabled=!0,At.overrideTotalTime(dn.totalTime),void c.push(At);let fi=t_;if(Ci.size>1){let Mo=St;const Zs=[];for(;Mo=Mo.parentNode;){const Nn=Ci.get(Mo);if(Nn){fi=Nn;break}Zs.push(Mo)}Zs.forEach(Nn=>Ci.set(Nn,fi))}const dr=this._buildAnimation(At.namespaceId,dn,kn,f,Ys,ql);if(At.setRealPlayer(dr),fi===t_)yh.push(At);else{const Mo=this.playersByElement.get(fi);Mo&&Mo.length&&(At.parentPlayer=No(Mo)),c.push(At)}}else v(St,dn.fromStyles),At.onDestroy(()=>y(St,dn.toStyles)),e_.push(At),J.has(St)&&c.push(At)}),e_.forEach(ut=>{const St=f.get(ut.element);if(St&&St.length){const At=No(St);ut.setRealPlayer(At)}}),c.forEach(ut=>{ut.parentPlayer?ut.syncPlayerEvents(ut.parentPlayer):ut.destroy()});for(let ut=0;ut<rt.length;ut++){const St=rt[ut],At=St[er];if(_c(St,Yr),At&&At.hasAnimation)continue;let dn=[];if(D.size){let dr=D.get(St);dr&&dr.length&&dn.push(...dr);let Mo=this.driver.query(St,Lo,!0);for(let Zs=0;Zs<Mo.length;Zs++){let Nn=D.get(Mo[Zs]);Nn&&Nn.length&&dn.push(...Nn)}}const fi=dn.filter(dr=>!dr.destroyed);fi.length?FI(this,St,fi):this.processLeaveNode(St)}return rt.length=0,yh.forEach(ut=>{this.players.push(ut),ut.onDone(()=>{ut.destroy();const St=this.players.indexOf(ut);this.players.splice(St,1)}),ut.play()}),yh}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,t,r,c,f){let g=[];if(t){const D=this.playersByQueriedElement.get(a);D&&(g=D)}else{const D=this.playersByElement.get(a);if(D){const x=!f||f==pc;D.forEach(G=>{G.queued||!x&&G.triggerName!=c||g.push(G)})}}return(r||c)&&(g=g.filter(D=>!(r&&r!=D.namespaceId||c&&c!=D.triggerName))),g}_beforeAnimationBuild(a,t,r){const f=t.element,g=t.isRemovalTransition?void 0:a,D=t.isRemovalTransition?void 0:t.triggerName;for(const x of t.timelines){const G=x.element,J=G!==f,de=Kt(r,G,[]);this._getPreviousPlayers(G,J,g,D,t.toState).forEach(je=>{const Qe=je.getRealPlayer();Qe.beforeDestroy&&Qe.beforeDestroy(),je.destroy(),de.push(je)})}v(f,t.fromStyles)}_buildAnimation(a,t,r,c,f,g){const D=t.triggerName,x=t.element,G=[],J=new Set,de=new Set,Ce=t.timelines.map(Qe=>{const Xe=Qe.element;J.add(Xe);const rt=Xe[er];if(rt&&rt.removedBeforeQueried)return new Yo(Qe.duration,Qe.delay);const Vt=Xe!==x,on=function D_(s){const a=[];return ep(s,a),a}((r.get(Xe)||Yh).map(kn=>kn.getRealPlayer())).filter(kn=>!!kn.element&&kn.element===Xe),Qt=f.get(Xe),_n=g.get(Xe),bi=sa(this._normalizer,Qe.keyframes,Qt,_n),oi=this._buildPlayer(Qe,bi,on);if(Qe.subTimeline&&c&&de.add(Xe),Vt){const kn=new cu(a,D,Xe);kn.setRealPlayer(oi),G.push(kn)}return oi});G.forEach(Qe=>{Kt(this.playersByQueriedElement,Qe.element,[]).push(Qe),Qe.onDone(()=>function w_(s,a,t){let r=s.get(a);if(r){if(r.length){const c=r.indexOf(t);r.splice(c,1)}0==r.length&&s.delete(a)}return r}(this.playersByQueriedElement,Qe.element,Qe))}),J.forEach(Qe=>yo(Qe,ca));const je=No(Ce);return je.onDestroy(()=>{J.forEach(Qe=>_c(Qe,ca)),y(x,t.toStyles)}),de.forEach(Qe=>{Kt(c,Qe,[]).push(je)}),je}_buildPlayer(a,t,r){return t.length>0?this.driver.animate(a.element,t,a.duration,a.delay,a.easing,r):new Yo(a.duration,a.delay)}}class cu{namespaceId;triggerName;element;_player=new Yo;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(a,t,r){this.namespaceId=a,this.triggerName=t,this.element=r}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((t,r)=>{t.forEach(c=>an(a,r,void 0,c))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const t=this._player;t.triggerCallback&&a.onStart(()=>t.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,t){Kt(this._queuedCallbacks,a,[]).push(t)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const t=this._player;t.triggerCallback&&t.triggerCallback(a)}}function mc(s){return s&&1===s.nodeType}function jo(s,a){const t=s.style.display;return s.style.display=a??"none",t}function du(s,a,t,r,c){const f=[];t.forEach(x=>f.push(jo(x)));const g=[];r.forEach((x,G)=>{const J=new Map;x.forEach(de=>{const Ce=a.computeStyle(G,de,c);J.set(de,Ce),(!Ce||0==Ce.length)&&(G[er]=hw,g.push(G))}),s.set(G,J)});let D=0;return t.forEach(x=>jo(x,f[D++])),g}function uu(s,a){const t=new Map;if(s.forEach(D=>t.set(D,[])),0==a.length)return t;const c=new Set(a),f=new Map;function g(D){if(!D)return 1;let x=f.get(D);if(x)return x;const G=D.parentNode;return x=t.has(G)?G:c.has(G)?1:g(G),f.set(D,x),x}return a.forEach(D=>{const x=g(D);1!==x&&t.get(x).push(D)}),t}function yo(s,a){s.classList?.add(a)}function _c(s,a){s.classList?.remove(a)}function FI(s,a,t){No(t).onDone(()=>s.processLeaveNode(a))}function ep(s,a){for(let t=0;t<s.length;t++){const r=s[t];r instanceof ta?ep(r.players,a):a.push(r)}}function Ni(s,a,t){const r=t.get(s);if(!r)return!1;let c=a.get(s);return c?r.forEach(f=>c.add(f)):a.set(s,r),t.delete(s),!0}class bo{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(a,t)=>{};constructor(a,t,r){this._driver=t,this._normalizer=r,this._transitionEngine=new Rt(a.body,t,r),this._timelineEngine=new Pt(a.body,t,r),this._transitionEngine.onRemovalComplete=(c,f)=>this.onRemovalComplete(c,f)}registerTrigger(a,t,r,c,f){const g=a+"-"+c;let D=this._triggerCache[g];if(!D){const x=[],J=iu(this._driver,f,x,[]);if(x.length)throw function Ss(){return new i.wOt(3404,!1)}();D=function Qh(s,a,t){return new Jr(s,a,t)}(c,J,this._normalizer),this._triggerCache[g]=D}this._transitionEngine.registerTrigger(t,c,D)}register(a,t){this._transitionEngine.register(a,t)}destroy(a,t){this._transitionEngine.destroy(a,t)}onInsert(a,t,r,c){this._transitionEngine.insertNode(a,t,r,c)}onRemove(a,t,r){this._transitionEngine.removeNode(a,t,r)}disableAnimations(a,t){this._transitionEngine.markElementAsDisabled(a,t)}process(a,t,r,c){if("@"==r.charAt(0)){const[f,g]=Qn(r);this._timelineEngine.command(f,t,g,c)}else this._transitionEngine.trigger(a,t,r,c)}listen(a,t,r,c,f){if("@"==r.charAt(0)){const[g,D]=Qn(r);return this._timelineEngine.listen(g,t,D,f)}return this._transitionEngine.listen(a,t,r,c,f)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let $o=(()=>{class s{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,r,c){this._element=t,this._startStyles=r,this._endStyles=c;let f=s.initialStylesByElement.get(t);f||s.initialStylesByElement.set(t,f=new Map),this._initialStyles=f}start(){this._state<1&&(this._startStyles&&y(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(y(this._element,this._initialStyles),this._endStyles&&(y(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(s.initialStylesByElement.delete(this._element),this._startStyles&&(v(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(v(this._element,this._endStyles),this._endStyles=null),y(this._element,this._initialStyles),this._state=3)}}return s})();function tr(s){let a=null;return s.forEach((t,r)=>{(function pw(s){return"display"===s||"position"===s})(r)&&(a=a||new Map,a.set(r,t))}),a}class tp{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(a,t,r,c){this.element=a,this.keyframes=t,this.options=r,this._specialStyles=c,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const t=[];return a.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(a,t,r){return a.animate(this._convertKeyframesToObject(t),r)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,c)=>{"offset"!==c&&a.set(c,this._finished?r:ti(this.element,c))}),this.currentSnapshot=a}triggerCallback(a){const t="start"===a?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class S_{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}containsElement(a,t){return aa(a,t)}getParentElement(a){return li(a)}query(a,t,r){return qr(a,t,r)}computeStyle(a,t,r){return ti(a,t)}animate(a,t,r,c,f,g=[]){const x={duration:r,delay:c,fill:0==c?"both":"forwards"};f&&(x.easing=f);const G=new Map,J=g.filter(je=>je instanceof tp);(function Un(s,a){return 0===s||0===a})(r,c)&&J.forEach(je=>{je.currentSnapshot.forEach((Qe,Xe)=>G.set(Xe,Qe))});let de=function vo(s){return s.length?s[0]instanceof Map?s:s.map(a=>new Map(Object.entries(a))):[]}(t).map(je=>new Map(je));de=function $i(s,a,t){if(t.size&&a.length){let r=a[0],c=[];if(t.forEach((f,g)=>{r.has(g)||c.push(g),r.set(g,f)}),c.length)for(let f=1;f<a.length;f++){let g=a[f];c.forEach(D=>g.set(D,ti(s,D)))}}return a}(a,de,G);const Ce=function E_(s,a){let t=null,r=null;return Array.isArray(a)&&a.length?(t=tr(a[0]),a.length>1&&(r=tr(a[a.length-1]))):a instanceof Map&&(t=tr(a)),t||r?new $o(s,t,r):null}(a,de);return new tp(a,de,x,Ce)}}const hu="@.disabled";class vc{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(a,t,r,c){this.namespaceId=a,this.delegate=t,this.engine=r,this._onDestroy=c}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,t){return this.delegate.createElement(a,t)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,t){this.delegate.appendChild(a,t),this.engine.onInsert(this.namespaceId,t,a,!1)}insertBefore(a,t,r,c=!0){this.delegate.insertBefore(a,t,r),this.engine.onInsert(this.namespaceId,t,a,c)}removeChild(a,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(a,t){return this.delegate.selectRootElement(a,t)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,t,r,c){this.delegate.setAttribute(a,t,r,c)}removeAttribute(a,t,r){this.delegate.removeAttribute(a,t,r)}addClass(a,t){this.delegate.addClass(a,t)}removeClass(a,t){this.delegate.removeClass(a,t)}setStyle(a,t,r,c){this.delegate.setStyle(a,t,r,c)}removeStyle(a,t,r){this.delegate.removeStyle(a,t,r)}setProperty(a,t,r){"@"==t.charAt(0)&&t==hu?this.disableAnimations(a,!!r):this.delegate.setProperty(a,t,r)}setValue(a,t){this.delegate.setValue(a,t)}listen(a,t,r,c){return this.delegate.listen(a,t,r,c)}disableAnimations(a,t){this.engine.disableAnimations(a,t)}}class mw extends vc{factory;constructor(a,t,r,c,f){super(t,r,c,f),this.factory=a,this.namespaceId=t}setProperty(a,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==hu?this.disableAnimations(a,r=void 0===r||!!r):this.engine.process(this.namespaceId,a,t.slice(1),r):this.delegate.setProperty(a,t,r)}listen(a,t,r,c){if("@"==t.charAt(0)){const f=function T_(s){switch(s){case"body":return document.body;case"document":return document;case"window":return window;default:return s}}(a);let g=t.slice(1),D="";return"@"!=g.charAt(0)&&([g,D]=function np(s){const a=s.indexOf(".");return[s.substring(0,a),s.slice(a+1)]}(g)),this.engine.listen(this.namespaceId,f,g,D,x=>{this.factory.scheduleListenerCallback(x._data||-1,r,x)})}return this.delegate.listen(a,t,r,c)}}class I_{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(a,t,r){this.delegate=a,this.engine=t,this._zone=r,t.onRemovalComplete=(c,f)=>{f?.removeChild(null,c)}}createRenderer(a,t){const c=this.delegate.createRenderer(a,t);if(!a||!t?.data?.animation){const G=this._rendererCache;let J=G.get(c);return J||(J=new vc("",c,this.engine,()=>G.delete(c)),G.set(c,J)),J}const f=t.id,g=t.id+"-"+this._currentId;this._currentId++,this.engine.register(g,a);const D=G=>{Array.isArray(G)?G.forEach(D):this.engine.registerTrigger(f,g,a,G.name,G)};return t.data.animation.forEach(D),new mw(this,g,c,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(a,t,r){if(a>=0&&a<this._microtaskId)return void this._zone.run(()=>t(r));const c=this._animationCallbacksBuffer;0==c.length&&queueMicrotask(()=>{this._zone.run(()=>{c.forEach(f=>{const[g,D]=f;g(D)}),this._animationCallbacksBuffer=[]})}),c.push([t,r])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(a){this.engine.flush(),this.delegate.componentReplaced?.(a)}}const pu=[{provide:il,useFactory:function A_(){return new nw}},{provide:bo,useClass:(()=>{class s extends bo{constructor(t,r,c){super(t,r,c)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||s)(i.KVO(A.q),i.KVO(ki),i.KVO(il))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})()},{provide:i._9s,useFactory:function O_(s,a,t){return new I_(s,a,t)},deps:[at,bo,i.SKi]}],R_=[{provide:ki,useClass:Bo},{provide:i.bc$,useValue:"NoopAnimations"},...pu],ci=[{provide:ki,useFactory:()=>new S_},{provide:i.bc$,useFactory:()=>"BrowserAnimations"},...pu];let ha=(()=>{class s{static withConfig(t){return{ngModule:s,providers:t.disableAnimations?R_:ci}}static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({providers:ci,imports:[Vi]})}return s})(),k_=(()=>{class s{static \u0275prov=(0,i.jDH)({token:s,providedIn:"root",factory:()=>new N_((0,i.WQX)(A.q),window)})}return s})();class N_{document;window;offset=()=>[0,0];constructor(a,t){this.document=a,this.window=t}setOffset(a){this.offset=Array.isArray(a)?()=>a:a}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(a){this.window.scrollTo(a[0],a[1])}scrollToAnchor(a){const t=function yc(s,a){const t=s.getElementById(a)||s.getElementsByName(a)[0];if(t)return t;if("function"==typeof s.createTreeWalker&&s.body&&"function"==typeof s.body.attachShadow){const r=s.createTreeWalker(s.body,NodeFilter.SHOW_ELEMENT);let c=r.currentNode;for(;c;){const f=c.shadowRoot;if(f){const g=f.getElementById(a)||f.querySelector(`[name="${a}"]`);if(g)return g}c=r.nextNode()}}return null}(this.document,a);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(a){this.window.history.scrollRestoration=a}scrollToElement(a){const t=a.getBoundingClientRect(),r=t.left+this.window.pageXOffset,c=t.top+this.window.pageYOffset,f=this.offset();this.window.scrollTo(r-f[0],c-f[1])}}var Ft=w(2350),Mu=w(6365),On=w(1397);class ev{}let nv=(()=>{class s{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,c,f){this.router=t,this.injector=r,this.preloadingStrategy=c,this.loader=f}setUpPreloading(){this.subscription=this.router.events.pipe((0,ae.p)(t=>t instanceof Ft.wF),(0,j.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const c=[];for(const f of r){f.providers&&!f._injector&&(f._injector=(0,i.Ol2)(f.providers,t,`Route: ${f.path}`));const g=f._injector??t,D=f._loadedInjector??g;(f.loadChildren&&!f._loadedRoutes&&void 0===f.canLoad||f.loadComponent&&!f._loadedComponent)&&c.push(this.preloadConfig(g,f)),(f.children||f._loadedRoutes)&&c.push(this.processRoutes(D,f.children??f._loadedRoutes))}return(0,Ie.H)(c).pipe((0,Mu.U)())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let c;c=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):(0,q.of)(null);const f=c.pipe((0,On.Z)(g=>null===g?(0,q.of)(void 0):(r._loadedRoutes=g.routes,r._loadedInjector=g.injector,this.processRoutes(g.injector??t,g.routes))));if(r.loadComponent&&!r._loadedComponent){const g=this.loader.loadComponent(r);return(0,Ie.H)([f,g]).pipe((0,Mu.U)())}return f})}static \u0275fac=function(r){return new(r||s)(i.KVO(Ft.Ix),i.KVO(i.uvJ),i.KVO(ev),i.KVO(Ft.D$))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();const Ec=new i.nKC("");let iv=(()=>{class s{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,r,c,f,g={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=c,this.zone=f,this.options=g,g.scrollPositionRestoration||="disabled",g.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Ft.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ft.wF?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Ft.lW&&t.code===Ft.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Ft.OY&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ft.OY(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){i.QTQ()};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();function br(s,a){return{\u0275kind:s,\u0275providers:a}}function Fw(){const s=(0,i.WQX)(i.zZn);return a=>{const t=s.get(i.o8S);if(a!==t.components[0])return;const r=s.get(Ft.Ix),c=s.get(yp);1===s.get(bp)&&r.initialNavigation(),s.get(cl,null,i.$GK.Optional)?.setUpPreloading(),s.get(Ec,null,i.$GK.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),c.closed||(c.next(),c.complete(),c.unsubscribe())}}const yp=new i.nKC("",{factory:()=>new _t.B}),bp=new i.nKC("",{providedIn:"root",factory:()=>1}),cl=new i.nKC("");function ov(s){return br(0,[{provide:cl,useExisting:nv},{provide:ev,useExisting:s}])}function sv(s){return(0,i.ngT)("NgRouterViewTransitions"),br(9,[{provide:Ft.Pu,useValue:Ft.Lg},{provide:Ft.bK,useValue:{skipNextTransition:!!s?.skipInitialTransition,...s}}])}const Tc=[E.aZ,{provide:Ft.Sd,useClass:Ft.nU},Ft.Ix,Ft.Zp,{provide:Ft.nX,useFactory:function vp(s){return s.routerState.root},deps:[Ft.Ix]},Ft.D$,[]];let Iu=(()=>{class s{constructor(){}static forRoot(t,r){return{ngModule:s,providers:[Tc,[],{provide:Ft.bw,multi:!0,useValue:t},[],r?.errorHandler?{provide:Ft.XR,useValue:r.errorHandler}:[],{provide:Ft.J_,useValue:r||{}},r?.useHash?{provide:E.hb,useClass:W.fw}:{provide:E.hb,useClass:E.Sm},{provide:Ec,useFactory:()=>{const s=(0,i.WQX)(k_),a=(0,i.WQX)(i.SKi),t=(0,i.WQX)(Ft.J_),r=(0,i.WQX)(Ft.J2),c=(0,i.WQX)(Ft.Sd);return t.scrollOffset&&s.setOffset(t.scrollOffset),new iv(c,r,s,a,t)}},r?.preloadingStrategy?ov(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?lv(r):[],r?.bindToComponentInputs?br(8,[Ft.tD,{provide:Ft.c1,useExisting:Ft.tD}]).\u0275providers:[],r?.enableViewTransitions?sv().\u0275providers:[],[{provide:xc,useFactory:Fw},{provide:i.iLQ,multi:!0,useExisting:xc}]]}}static forChild(t){return{ngModule:s,providers:[{provide:Ft.bw,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({})}return s})();function lv(s){return["disabled"===s.initialNavigation?br(3,[(0,i.phd)(()=>{(0,i.WQX)(Ft.Ix).setUpLocationChangeListener()}),{provide:bp,useValue:2}]).\u0275providers:[],"enabledBlocking"===s.initialNavigation?br(2,[{provide:bp,useValue:0},(0,i.phd)(()=>{const a=(0,i.WQX)(i.zZn);return a.get(E.hj,Promise.resolve()).then(()=>new Promise(r=>{const c=a.get(Ft.Ix),f=a.get(yp);(0,Ft.gk)(c,()=>{r(!0)}),a.get(Ft.J2).afterPreactivation=()=>(r(!0),f.closed?(0,q.of)(void 0):f),c.initialNavigation()}))})]).\u0275providers:[]]}const xc=new i.nKC(""),jw=[{path:"",loadComponent:()=>Promise.resolve().then(w.bind(w,3441)).then(s=>s.LayoutComponent)}];let $w=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({imports:[Iu.forRoot(jw),Iu]})}return s})();var Uw=w(3441);const Si=null,Hi=null,Oc="serviceResponce",As="GET",Ou="POST",is="WM",Rc="DP",dv="igate.users.search.v3",Mp="/group/i-gate/wm-bpm/forms/-/proxy/portrait?email=",_a="requestDetails",kc="Approval",Pu="UNSATISFIED",Nc="PENDING",Pc="REJECTED",os="REJECT",Lu="SENDBACK",Bu="CANCELLED",Vu="CANCEL",ju="SAVE_CHANGES",Rp="waitingFeedback",kp="feedbackResponded";var Lp=w(9030);class jc{_attachedHost;attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class Os extends jc{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(a,t,r,c,f){super(),this.component=a,this.viewContainerRef=t,this.injector=r,this.projectableNodes=f}}class ss extends jc{templateRef;viewContainerRef;context;injector;constructor(a,t,r,c){super(),this.templateRef=a,this.viewContainerRef=t,this.context=r,this.injector=c}get origin(){return this.templateRef.elementRef}attach(a,t=this.context){return this.context=t,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class zu extends jc{element;constructor(a){super(),this.element=a instanceof i.aKT?a.nativeElement:a}}class Rs{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof Os?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof ss?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof zu?(this._attachedPortal=a,this.attachDomPortal(a)):void 0}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(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Vp extends Rs{outletElement;_appRef;_defaultInjector;_document;constructor(a,t,r,c,f){super(),this.outletElement=a,this._appRef=r,this._defaultInjector=c,this._document=f}attachComponentPortal(a){let t;if(a.viewContainerRef){const r=a.injector||a.viewContainerRef.injector,c=r.get(i.Vns,null,{optional:!0})||void 0;t=a.viewContainerRef.createComponent(a.component,{index:a.viewContainerRef.length,injector:r,ngModuleRef:c,projectableNodes:a.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else{const r=this._appRef,c=a.injector||this._defaultInjector||i.zZn.NULL,f=c.get(i.uvJ,r.injector);t=(0,i.a0P)(a.component,{elementInjector:c,environmentInjector:f,projectableNodes:a.projectableNodes||void 0}),r.attachView(t.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=a,t}attachTemplatePortal(a){let t=a.viewContainerRef,r=t.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return r.rootNodes.forEach(c=>this.outletElement.appendChild(c)),r.detectChanges(),this.setDisposeFn(()=>{let c=t.indexOf(r);-1!==c&&t.remove(c)}),this._attachedPortal=a,r}attachDomPortal=a=>{const t=a.element,r=this._document.createComment("dom-portal");t.parentNode.insertBefore(r,t),this.outletElement.appendChild(t),this._attachedPortal=a,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let Gu=(()=>{class s extends Rs{_moduleRef=(0,i.WQX)(i.Vns,{optional:!0});_document=(0,i.WQX)(A.q);_viewContainerRef=(0,i.WQX)(i.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new i.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);const r=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,c=r.createComponent(t.component,{index:r.length,injector:t.injector||r.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]),super.setDisposeFn(()=>c.destroy()),this._attachedPortal=t,this._attachedRef=c,this.attached.emit(c),c}attachTemplatePortal(t){t.setAttachedHost(this);const r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=t=>{const r=t.element,c=this._document.createComment("dom-portal");t.setAttachedHost(this),r.parentNode.insertBefore(c,r),this._getRootNode().appendChild(r),this._attachedPortal=t,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(r,c)})};_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.Vt3]})}return s})(),wr=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({})}return s})();var Dr=w(1680),Er=w(9536),$c=w(7418),Sr=w(9629);function pD(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var as=w(4790),ro=w(8359),ls=w(7786),zi=w(6977),Wu=w(9974),Uc=w(4360);function ni(s){return null==s?"":"string"==typeof s?s:`${s}px`}var Ov=w(1959),Ti=w(3980),mD=w(9273),ya=w(1845);const Hc={};let Gi=(()=>{class s{_appId=(0,i.WQX)(i.sZ2);getId(t){return"ng"!==this._appId&&(t+=this._appId),Hc.hasOwnProperty(t)||(Hc[t]=0),`${t}${Hc[t]++}`}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();var en=w(7035),Co=w(7336),jp=w(8203);const $p=(0,mD.s)();class gD{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(a,t){this._viewportRuler=a,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=ni(-this._previousScrollPosition.left),a.style.top=ni(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,r=a.style,c=this._document.body.style,f=r.scrollBehavior||"",g=c.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),$p&&(r.scrollBehavior=c.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$p&&(r.scrollBehavior=f,c.scrollBehavior=g)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.documentElement,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}}class Rv{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(a,t,r,c){this._scrollDispatcher=a,this._ngZone=t,this._viewportRuler=r,this._config=c}attach(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0).pipe((0,ae.p)(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.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())}}class Xu{enable(){}disable(){}attach(){}}function Up(s,a){return a.some(t=>s.bottom<t.top||s.top>t.bottom||s.right<t.left||s.left>t.right)}function kv(s,a){return a.some(t=>s.top<t.top||s.bottom>t.bottom||s.left<t.left||s.right>t.right)}class zc{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(a,t,r,c){this._scrollDispatcher=a,this._viewportRuler=t,this._ngZone=r,this._config=c}attach(a){this._overlayRef=a}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:c}=this._viewportRuler.getViewportSize();Up(t,[{width:r,height:c,bottom:c,right:r,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}}let Nv=(()=>{class s{_scrollDispatcher=(0,i.WQX)(Ti.R);_viewportRuler=(0,i.WQX)(Ti.Xj);_ngZone=(0,i.WQX)(i.SKi);_document=(0,i.WQX)(A.q);constructor(){}noop=()=>new Xu;close=t=>new Rv(this._scrollDispatcher,this._ngZone,this._viewportRuler,t);block=()=>new gD(this._viewportRuler,this._document);reposition=t=>new zc(this._scrollDispatcher,this._viewportRuler,this._ngZone,t);static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();class ba{positionStrategy;scrollStrategy=new Xu;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(a){if(a){const t=Object.keys(a);for(const r of t)void 0!==a[r]&&(this[r]=a[r])}}}class _D{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(a,t,r,c,f){this.offsetX=r,this.offsetY=c,this.panelClass=f,this.originX=a.originX,this.originY=a.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class Vx{connectionPair;scrollableViewProperties;constructor(a,t){this.connectionPair=a,this.scrollableViewProperties=t}}let Pv=(()=>{class s{_attachedOverlays=[];_document=(0,i.WQX)(A.q);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Ku=(()=>{class s extends Pv{_ngZone=(0,i.WQX)(i.SKi);_renderer=(0,i.WQX)(i._9s).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),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=t=>{const r=this._attachedOverlays;for(let c=r.length-1;c>-1;c--)if(r[c]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[c]._keydownEvents.next(t));break}};static \u0275fac=(()=>{let t;return function(c){return(t||(t=i.xGo(s)))(c||s)}})();static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Hp=(()=>{class s extends Pv{_platform=(0,i.WQX)(Er.P);_ngZone=(0,i.WQX)(i.SKi);_renderer=(0,i.WQX)(i._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(t){if(super.add(t),!this._isAttached){const r=this._document.body,c={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[(0,$c._)(this._renderer,r,"pointerdown",this._pointerDownListener,c),(0,$c._)(this._renderer,r,"click",this._clickListener,c),(0,$c._)(this._renderer,r,"auxclick",this._clickListener,c),(0,$c._)(this._renderer,r,"contextmenu",this._clickListener,c)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=(0,Sr._)(t)};_clickListener=t=>{const r=(0,Sr._)(t),c="click"===t.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;const f=this._attachedOverlays.slice();for(let g=f.length-1;g>-1;g--){const D=f[g];if(D._outsidePointerEvents.observers.length<1||!D.hasAttached())continue;if(hl(D.overlayElement,r)||hl(D.overlayElement,c))break;const x=D._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>x.next(t)):x.next(t)}};static \u0275fac=(()=>{let t;return function(c){return(t||(t=i.xGo(s)))(c||s)}})();static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function hl(s,a){const t=typeof ShadowRoot<"u"&&ShadowRoot;let r=a;for(;r;){if(r===s)return!0;r=t&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}let vD=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,c){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return s})(),Fv=(()=>{class s{_platform=(0,i.WQX)(Er.P);_containerElement;_document=(0,i.WQX)(A.q);_styleLoader=(0,i.WQX)(as._);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||pD()){const c=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let f=0;f<c.length;f++)c[f].remove()}const r=this._document.createElement("div");r.classList.add(t),pD()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(vD)}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();class Lv{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(a,t,r,c){this._renderer=t,this._ngZone=r,this.element=a.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",c)}detach(){this._ngZone.runOutsideAngular(()=>{const a=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(a,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),a.style.pointerEvents="none",a.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()}}class zp{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new _t.B;_attachments=new _t.B;_detachments=new _t.B;_positionStrategy;_scrollStrategy;_locationChanges=ro.yU.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new _t.B;_outsidePointerEvents=new _t.B;_renders=new _t.B;_afterRenderRef;_afterNextRenderRef;constructor(a,t,r,c,f,g,D,x,G,J=!1,de,Ce){this._portalOutlet=a,this._host=t,this._pane=r,this._config=c,this._ngZone=f,this._keyboardDispatcher=g,this._document=D,this._location=x,this._outsideClickDispatcher=G,this._animationsDisabled=J,this._injector=de,this._renderer=Ce,c.scrollStrategy&&(this._scrollStrategy=c.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=c.positionStrategy,this._afterRenderRef=(0,i.O8t)(()=>(0,i.Tzd)(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(a);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,i.mal)(()=>{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._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){const a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),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,a&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}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(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config={...this._config,...a},this._updateElementSize()}setDirection(a){this._config={...this._config,direction:a},this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=ni(this._config.width),a.height=ni(this._config.height),a.minWidth=ni(this._config.minWidth),a.minHeight=ni(this._config.minHeight),a.maxWidth=ni(this._config.maxWidth),a.maxHeight=ni(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Lv(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),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._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(a))}):this._backdropRef.element.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(a,t,r){const c=(0,Ov.c)(t||[]).filter(f=>!!f);c.length&&(r?a.classList.add(...c):a.classList.remove(...c))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const a=this._renders.pipe((0,zi.Q)((0,ls.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(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()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a?.disable(),a?.detach?.()}}const Gp="cdk-overlay-connected-position-bounding-box",Wp=/([A-Za-z%]+)$/;class Bv{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_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;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new _t.B;_resizeSubscription=ro.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(a,t,r,c,f){this._viewportRuler=t,this._document=r,this._platform=c,this._overlayContainer=f,this.setOrigin(a)}attach(a){this._validatePositions(),a.hostElement.classList.add(Gp),this._overlayRef=a,this._boundingBox=a.hostElement,this._pane=a.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)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const a=this._originRect,t=this._overlayRect,r=this._viewportRect,c=this._containerRect,f=[];let g;for(let D of this._preferredPositions){let x=this._getOriginPoint(a,c,D),G=this._getOverlayPoint(x,t,D),J=this._getOverlayFit(G,t,r,D);if(J.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(D,x);this._canFitWithFlexibleDimensions(J,G,r)?f.push({position:D,origin:x,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(x,D)}):(!g||g.overlayFit.visibleArea<J.visibleArea)&&(g={overlayFit:J,overlayPoint:G,originPoint:x,position:D,overlayRect:t})}if(f.length){let D=null,x=-1;for(const G of f){const J=G.boundingBoxRect.width*G.boundingBoxRect.height*(G.position.weight||1);J>x&&(x=J,D=G)}return this._isPushed=!1,void this._applyPosition(D.position,D.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(g.position,g.originPoint);this._applyPosition(g.position,g.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&wo(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Gp),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,a);this._applyPosition(a,t)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,t,r){let c,f;if("center"==r.originX)c=a.left+a.width/2;else{const g=this._isRtl()?a.right:a.left,D=this._isRtl()?a.left:a.right;c="start"==r.originX?g:D}return t.left<0&&(c-=t.left),f="center"==r.originY?a.top+a.height/2:"top"==r.originY?a.top:a.bottom,t.top<0&&(f-=t.top),{x:c,y:f}}_getOverlayPoint(a,t,r){let c,f;return c="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,f="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:a.x+c,y:a.y+f}}_getOverlayFit(a,t,r,c){const f=Vv(t);let{x:g,y:D}=a,x=this._getOffset(c,"x"),G=this._getOffset(c,"y");x&&(g+=x),G&&(D+=G);let Ce=0-D,je=D+f.height-r.height,Qe=this._subtractOverflows(f.width,0-g,g+f.width-r.width),Xe=this._subtractOverflows(f.height,Ce,je),rt=Qe*Xe;return{visibleArea:rt,isCompletelyWithinViewport:f.width*f.height===rt,fitsInViewportVertically:Xe===f.height,fitsInViewportHorizontally:Qe==f.width}}_canFitWithFlexibleDimensions(a,t,r){if(this._hasFlexibleDimensions){const c=r.bottom-t.y,f=r.right-t.x,g=Xp(this._overlayRef.getConfig().minHeight),D=Xp(this._overlayRef.getConfig().minWidth);return(a.fitsInViewportVertically||null!=g&&g<=c)&&(a.fitsInViewportHorizontally||null!=D&&D<=f)}return!1}_pushOverlayOnScreen(a,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const c=Vv(t),f=this._viewportRect,g=Math.max(a.x+c.width-f.width,0),D=Math.max(a.y+c.height-f.height,0),x=Math.max(f.top-r.top-a.y,0),G=Math.max(f.left-r.left-a.x,0);let J=0,de=0;return J=c.width<=f.width?G||-g:a.x<this._viewportMargin?f.left-r.left-a.x:0,de=c.height<=f.height?x||-D:a.y<this._viewportMargin?f.top-r.top-a.y:0,this._previousPushAmount={x:J,y:de},{x:a.x+J,y:a.y+de}}_applyPosition(a,t){if(this._setTransformOrigin(a),this._setOverlayElementStyles(t,a),this._setBoundingBoxStyles(t,a),a.panelClass&&this._addPanelClasses(a.panelClass),this._positionChanges.observers.length){const r=this._getScrollVisibility();if(a!==this._lastPosition||!this._lastScrollVisibility||!function yD(s,a){return s===a||s.isOriginClipped===a.isOriginClipped&&s.isOriginOutsideView===a.isOriginOutsideView&&s.isOverlayClipped===a.isOverlayClipped&&s.isOverlayOutsideView===a.isOverlayOutsideView}(this._lastScrollVisibility,r)){const c=new Vx(a,r);this._positionChanges.next(c)}this._lastScrollVisibility=r}this._lastPosition=a,this._isInitialRender=!1}_setTransformOrigin(a){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let r,c=a.overlayY;r="center"===a.overlayX?"center":this._isRtl()?"start"===a.overlayX?"right":"left":"start"===a.overlayX?"left":"right";for(let f=0;f<t.length;f++)t[f].style.transformOrigin=`${r} ${c}`}_calculateBoundingBoxRect(a,t){const r=this._viewportRect,c=this._isRtl();let f,g,D,J,de,Ce;if("top"===t.overlayY)g=a.y,f=r.height-g+this._viewportMargin;else if("bottom"===t.overlayY)D=r.height-a.y+2*this._viewportMargin,f=r.height-D+this._viewportMargin;else{const je=Math.min(r.bottom-a.y+r.top,a.y),Qe=this._lastBoundingBoxSize.height;f=2*je,g=a.y-je,f>Qe&&!this._isInitialRender&&!this._growAfterOpen&&(g=a.y-Qe/2)}if("end"===t.overlayX&&!c||"start"===t.overlayX&&c)Ce=r.width-a.x+2*this._viewportMargin,J=a.x-this._viewportMargin;else if("start"===t.overlayX&&!c||"end"===t.overlayX&&c)de=a.x,J=r.right-a.x;else{const je=Math.min(r.right-a.x+r.left,a.x),Qe=this._lastBoundingBoxSize.width;J=2*je,de=a.x-je,J>Qe&&!this._isInitialRender&&!this._growAfterOpen&&(de=a.x-Qe/2)}return{top:g,left:de,bottom:D,right:Ce,width:J,height:f}}_setBoundingBoxStyles(a,t){const r=this._calculateBoundingBoxRect(a,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const c={};if(this._hasExactPosition())c.top=c.left="0",c.bottom=c.right=c.maxHeight=c.maxWidth="",c.width=c.height="100%";else{const f=this._overlayRef.getConfig().maxHeight,g=this._overlayRef.getConfig().maxWidth;c.height=ni(r.height),c.top=ni(r.top),c.bottom=ni(r.bottom),c.width=ni(r.width),c.left=ni(r.left),c.right=ni(r.right),c.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",c.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",f&&(c.maxHeight=ni(f)),g&&(c.maxWidth=ni(g))}this._lastBoundingBoxSize=r,wo(this._boundingBox.style,c)}_resetBoundingBoxStyles(){wo(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){wo(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,t){const r={},c=this._hasExactPosition(),f=this._hasFlexibleDimensions,g=this._overlayRef.getConfig();if(c){const J=this._viewportRuler.getViewportScrollPosition();wo(r,this._getExactOverlayY(t,a,J)),wo(r,this._getExactOverlayX(t,a,J))}else r.position="static";let D="",x=this._getOffset(t,"x"),G=this._getOffset(t,"y");x&&(D+=`translateX(${x}px) `),G&&(D+=`translateY(${G}px)`),r.transform=D.trim(),g.maxHeight&&(c?r.maxHeight=ni(g.maxHeight):f&&(r.maxHeight="")),g.maxWidth&&(c?r.maxWidth=ni(g.maxWidth):f&&(r.maxWidth="")),wo(this._pane.style,r)}_getExactOverlayY(a,t,r){let c={top:"",bottom:""},f=this._getOverlayPoint(t,this._overlayRect,a);return this._isPushed&&(f=this._pushOverlayOnScreen(f,this._overlayRect,r)),"bottom"===a.overlayY?c.bottom=this._document.documentElement.clientHeight-(f.y+this._overlayRect.height)+"px":c.top=ni(f.y),c}_getExactOverlayX(a,t,r){let g,c={left:"",right:""},f=this._getOverlayPoint(t,this._overlayRect,a);return this._isPushed&&(f=this._pushOverlayOnScreen(f,this._overlayRect,r)),g=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===g?c.right=this._document.documentElement.clientWidth-(f.x+this._overlayRect.width)+"px":c.left=ni(f.x),c}_getScrollVisibility(){const a=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(c=>c.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:kv(a,r),isOriginOutsideView:Up(a,r),isOverlayClipped:kv(t,r),isOverlayOutsideView:Up(t,r)}}_subtractOverflows(a,...t){return t.reduce((r,c)=>r-Math.max(c,0),a)}_getNarrowedViewportRect(){const a=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+a-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:a-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,t){return"x"===t?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&(0,Ov.c)(a).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof i.aKT)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const t=a.width||0,r=a.height||0;return{top:a.y,bottom:a.y+r,left:a.x,right:a.x+t,height:r,width:t}}}function wo(s,a){for(let t in a)a.hasOwnProperty(t)&&(s[t]=a[t]);return s}function Xp(s){if("number"!=typeof s&&null!=s){const[a,t]=s.split(Wp);return t&&"px"!==t?null:parseFloat(a)}return s||null}function Vv(s){return{top:Math.floor(s.top),right:Math.floor(s.right),bottom:Math.floor(s.bottom),left:Math.floor(s.left),width:Math.floor(s.width),height:Math.floor(s.height)}}const Qp="cdk-global-overlay-wrapper";class bD{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(a){const t=a.getConfig();this._overlayRef=a,this._width&&!t.width&&a.updateSize({width:this._width}),this._height&&!t.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(Qp),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._xOffset=a,this._xPosition="left",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._xOffset=a,this._xPosition="right",this}start(a=""){return this._xOffset=a,this._xPosition="start",this}end(a=""){return this._xOffset=a,this._xPosition="end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._xPosition="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:c,height:f,maxWidth:g,maxHeight:D}=r,x=!("100%"!==c&&"100vw"!==c||g&&"100%"!==g&&"100vw"!==g),G=!("100%"!==f&&"100vh"!==f||D&&"100%"!==D&&"100vh"!==D),J=this._xPosition,de=this._xOffset,Ce="rtl"===this._overlayRef.getConfig().direction;let je="",Qe="",Xe="";x?Xe="flex-start":"center"===J?(Xe="center",Ce?Qe=de:je=de):Ce?"left"===J||"end"===J?(Xe="flex-end",je=de):("right"===J||"start"===J)&&(Xe="flex-start",Qe=de):"left"===J||"start"===J?(Xe="flex-start",je=de):("right"===J||"end"===J)&&(Xe="flex-end",Qe=de),a.position=this._cssPosition,a.marginLeft=x?"0":je,a.marginTop=G?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=x?"0":Qe,t.justifyContent=Xe,t.alignItems=G?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(Qp),r.justifyContent=r.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let CD=(()=>{class s{_viewportRuler=(0,i.WQX)(Ti.Xj);_document=(0,i.WQX)(A.q);_platform=(0,i.WQX)(Er.P);_overlayContainer=(0,i.WQX)(Fv);constructor(){}global(){return new bD}flexibleConnectedTo(t){return new Bv(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Li=(()=>{class s{scrollStrategies=(0,i.WQX)(Nv);_overlayContainer=(0,i.WQX)(Fv);_positionBuilder=(0,i.WQX)(CD);_keyboardDispatcher=(0,i.WQX)(Ku);_injector=(0,i.WQX)(i.zZn);_ngZone=(0,i.WQX)(i.SKi);_document=(0,i.WQX)(A.q);_directionality=(0,i.WQX)(ya.D);_location=(0,i.WQX)(E.aZ);_outsideClickDispatcher=(0,i.WQX)(Hp);_animationsModuleType=(0,i.WQX)(i.bc$,{optional:!0});_idGenerator=(0,i.WQX)(Gi);_renderer=(0,i.WQX)(i._9s).createRenderer(null,null);_appRef;_styleLoader=(0,i.WQX)(as._);constructor(){}create(t){this._styleLoader.load(vD);const r=this._createHostElement(),c=this._createPaneElement(r),f=this._createPortalOutlet(c),g=new ba(t);return g.direction=g.direction||this._directionality.value,new zp(f,r,c,g,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(i.uvJ),this._renderer)}position(){return this._positionBuilder}_createPaneElement(t){const r=this._document.createElement("div");return r.id=this._idGenerator.getId("cdk-overlay-"),r.classList.add("cdk-overlay-pane"),t.appendChild(r),r}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(i.o8S)),new Vp(t,null,this._appRef,this._injector,this._document)}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();const wD=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],jv=new i.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const s=(0,i.WQX)(Li);return()=>s.scrollStrategies.reposition()}});let Gc=(()=>{class s{elementRef=(0,i.WQX)(i.aKT);constructor(){}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return s})(),DD=(()=>{class s{_overlay=(0,i.WQX)(Li);_dir=(0,i.WQX)(ya.D,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=ro.yU.EMPTY;_attachSubscription=ro.yU.EMPTY;_detachSubscription=ro.yU.EMPTY;_positionSubscription=ro.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,i.WQX)(jv);_disposeOnNavigation=!1;_ngZone=(0,i.WQX)(i.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}backdropClick=new i.bkB;positionChange=new i.bkB;attach=new i.bkB;detach=new i.bkB;overlayKeydown=new i.bkB;overlayOutsideClick=new i.bkB;constructor(){const t=(0,i.WQX)(i.C4Q),r=(0,i.WQX)(i.c1b);this._templatePortal=new ss(t,r),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=wD);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===en.g&&!this.disableClose&&!(0,Co.rp)(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{const c=this._getOriginElement(),f=(0,Sr._)(r);(!c||c!==f&&!c.contains(f))&&this.overlayOutsideClick.next(r)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new ba({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(r.width=this.width),(this.height||0===this.height)&&(r.height=this.height),(this.minWidth||0===this.minWidth)&&(r.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){const r=this.positions.map(c=>({originX:c.originX,originY:c.originY,overlayX:c.overlayX,overlayY:c.overlayY,offsetX:c.offsetX||this.offsetX,offsetY:c.offsetY||this.offsetY,panelClass:c.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Gc?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Gc?this.origin.elementRef.nativeElement:this.origin instanceof i.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Av(s,a=!1){return(0,Wu.N)((t,r)=>{let c=0;t.subscribe((0,Uc._)(r,f=>{const g=s(f,c++);(g||a)&&r.next(f),!g&&r.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",i.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",i.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",i.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",i.L39],push:[2,"cdkConnectedOverlayPush","push",i.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",i.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i.OA$]})}return s})();const Kp={provide:jv,deps:[Li],useFactory:function ED(s){return()=>s.scrollStrategies.reposition()}};let pl=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({providers:[Li,Kp],imports:[jp.jI,wr,Ti.E9,Ti.E9]})}return s})();var qu=w(9396),Ca=w(9172),Do=w(6697);function qp(s,a){}class Eo{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext}let Zp=(()=>{class s extends Rs{_elementRef=(0,i.WQX)(i.aKT);_focusTrapFactory=(0,i.WQX)(Dr.F);_config;_interactivityChecker=(0,i.WQX)(Dr.I);_ngZone=(0,i.WQX)(i.SKi);_overlayRef=(0,i.WQX)(zp);_focusMonitor=(0,i.WQX)(qu.F);_renderer=(0,i.WQX)(i.sFG);_changeDetectorRef=(0,i.WQX)(i.gRc);_injector=(0,i.WQX)(i.zZn);_platform=(0,i.WQX)(Er.P);_document=(0,i.WQX)(A.q,{optional:!0});_portalOutlet;_focusTrapped=new _t.B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=(0,i.WQX)(Eo,{optional:!0})||new Eo,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){const r=this._ariaLabelledByQueue.indexOf(t);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();const r=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),r}attachTemplatePortal(t){this._portalOutlet.hasAttached();const r=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),r}attachDomPortal=t=>{this._portalOutlet.hasAttached();const r=this._portalOutlet.attachDomPortal(t);return this._contentAttached(),r};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,r){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const c=()=>{f(),g(),t.removeAttribute("tabindex")},f=this._renderer.listen(t,"blur",c),g=this._renderer.listen(t,"mousedown",c)})),t.focus(r)}_focusByCssSelector(t,r){let c=this._elementRef.nativeElement.querySelector(t);c&&this._forceFocus(c,r)}_trapFocus(t){this._isDestroyed||(0,i.mal)(()=>{const r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(t);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(t)||this._focusDialogContainer(t);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',t);break;default:this._focusByCssSelector(this._config.autoFocus,t)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){const t=this._config.restoreFocus;let r=null;if("string"==typeof t?r=this._document.querySelector(t):"boolean"==typeof t?r=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(r=t),this._config.restoreFocus&&r&&"function"==typeof r.focus){const c=(0,Sr.c)(),f=this._elementRef.nativeElement;(!c||c===this._document.body||c===f||f.contains(c))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(t){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(t)}_containsFocus(){const t=this._elementRef.nativeElement,r=(0,Sr.c)();return t===r||t.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,Sr.c)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["cdk-dialog-container"]],viewQuery:function(r,c){if(1&r&&i.GBs(Gu,7),2&r){let f;i.mGM(f=i.lsd())&&(c._portalOutlet=f.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,c){2&r&&i.BMQ("id",c._config.id||null)("role",c._config.role)("aria-modal",c._config.ariaModal)("aria-labelledby",c._config.ariaLabel?null:c._ariaLabelledByQueue[0])("aria-label",c._config.ariaLabel)("aria-describedby",c._config.ariaDescribedBy||null)},features:[i.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,c){1&r&&i.DNE(0,qp,0,0,"ng-template",0)},dependencies:[Gu],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2})}return s})();class ks{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new _t.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(a,t){this.overlayRef=a,this.config=t,this.disableClose=t.disableClose,this.backdropClick=a.backdropClick(),this.keydownEvents=a.keydownEvents(),this.outsidePointerEvents=a.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(r=>{r.keyCode===en.g&&!this.disableClose&&!(0,Co.rp)(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=a.detachments().subscribe(()=>{!1!==t.closeOnOverlayDetachments&&this.close()})}close(a,t){if(this.containerInstance){const r=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(a),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(a="",t=""){return this.overlayRef.updateSize({width:a,height:t}),this}addPanelClass(a){return this.overlayRef.addPanelClass(a),this}removePanelClass(a){return this.overlayRef.removePanelClass(a),this}}const $v=new i.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const s=(0,i.WQX)(Li);return()=>s.scrollStrategies.block()}}),Yu=new i.nKC("DialogData"),Jp=new i.nKC("DefaultDialogConfig");let em=(()=>{class s{_overlay=(0,i.WQX)(Li);_injector=(0,i.WQX)(i.zZn);_defaultOptions=(0,i.WQX)(Jp,{optional:!0});_parentDialog=(0,i.WQX)(s,{optional:!0,skipSelf:!0});_overlayContainer=(0,i.WQX)(Fv);_idGenerator=(0,i.WQX)(Gi);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new _t.B;_afterOpenedAtThisLevel=new _t.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,i.WQX)($v);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,Lp.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Ca.Z)(void 0)));constructor(){}open(t,r){(r={...this._defaultOptions||new Eo,...r}).id=r.id||this._idGenerator.getId("cdk-dialog-"),r.id&&this.getDialogById(r.id);const f=this._getOverlayConfig(r),g=this._overlay.create(f),D=new ks(g,r),x=this._attachContainer(g,D,r);if(D.containerInstance=x,!this.openDialogs.length){const G=this._overlayContainer.getContainerElement();x._focusTrapped?x._focusTrapped.pipe((0,Do.s)(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(G)}):this._hideNonDialogContentFromAssistiveTechnology(G)}return this._attachDialogContent(t,D,x,r),this.openDialogs.push(D),D.closed.subscribe(()=>this._removeOpenDialog(D,!0)),this.afterOpened.next(D),D}closeAll(){cs(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(r=>r.id===t)}ngOnDestroy(){cs(this._openDialogsAtThisLevel,t=>{!1===t.config.closeOnDestroy&&this._removeOpenDialog(t,!1)}),cs(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){const r=new ba({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(r.backdropClass=t.backdropClass),r}_attachContainer(t,r,c){const f=c.injector||c.viewContainerRef?.injector,g=[{provide:Eo,useValue:c},{provide:ks,useValue:r},{provide:zp,useValue:t}];let D;c.container?"function"==typeof c.container?D=c.container:(D=c.container.type,g.push(...c.container.providers(c))):D=Zp;const x=new Os(D,c.viewContainerRef,i.zZn.create({parent:f||this._injector,providers:g}));return t.attach(x).instance}_attachDialogContent(t,r,c,f){if(t instanceof i.C4Q){const g=this._createInjector(f,r,c,void 0);let D={$implicit:f.data,dialogRef:r};f.templateContext&&(D={...D,..."function"==typeof f.templateContext?f.templateContext():f.templateContext}),c.attachTemplatePortal(new ss(t,null,D,g))}else{const g=this._createInjector(f,r,c,this._injector),D=c.attachComponentPortal(new Os(t,f.viewContainerRef,g));r.componentRef=D,r.componentInstance=D.instance}}_createInjector(t,r,c,f){const g=t.injector||t.viewContainerRef?.injector,D=[{provide:Yu,useValue:t.data},{provide:ks,useValue:r}];return t.providers&&("function"==typeof t.providers?D.push(...t.providers(r,t,c)):D.push(...t.providers)),t.direction&&(!g||!g.get(ya.D,null,{optional:!0}))&&D.push({provide:ya.D,useValue:{value:t.direction,change:(0,q.of)()}}),i.zZn.create({parent:g||f,providers:D})}_removeOpenDialog(t,r){const c=this.openDialogs.indexOf(t);c>-1&&(this.openDialogs.splice(c,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((f,g)=>{f?g.setAttribute("aria-hidden",f):g.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(t){if(t.parentElement){const r=t.parentElement.children;for(let c=r.length-1;c>-1;c--){const f=r[c];f!==t&&"SCRIPT"!==f.nodeName&&"STYLE"!==f.nodeName&&!f.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(f,f.getAttribute("aria-hidden")),f.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function cs(s,a){let t=s.length;for(;t--;)a(s[t])}let MD=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({providers:[em],imports:[pl,wr,Dr.A,wr]})}return s})();var Ns=w(9355),Ii=w(777);function TD(s,a){}class Hv{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;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;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration}const rr="mdc-dialog--open",wa="mdc-dialog--opening",zv="mdc-dialog--closing";let Gv=(()=>{class s extends Zp{_animationMode=(0,i.WQX)(i.bc$,{optional:!0});_animationStateChanged=new i.bkB;_animationsEnabled="NoopAnimations"!==this._animationMode;_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Xv(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?Xv(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Wv,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(wa,rr)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(rr),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(rr),this._animationsEnabled?(this._hostElement.style.setProperty(Wv,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(zv)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,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(wa,zv)}_waitForAnimationToComplete(t,r){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(t){const r=super.attachComponentPortal(t);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}static \u0275fac=(()=>{let t;return function(c){return(t||(t=i.xGo(s)))(c||s)}})();static \u0275cmp=i.VBU({type:s,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,c){2&r&&(i.Mr5("id",c._config.id),i.BMQ("aria-modal",c._config.ariaModal)("role",c._config.role)("aria-labelledby",c._config.ariaLabel?null:c._ariaLabelledByQueue[0])("aria-label",c._config.ariaLabel)("aria-describedby",c._config.ariaDescribedBy||null),i.AVh("_mat-animation-noopable",!c._animationsEnabled)("mat-mdc-dialog-container-with-actions",c._actionSectionCount>0))},features:[i.Vt3],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(r,c){1&r&&(i.j41(0,"div",0)(1,"div",1),i.DNE(2,TD,0,0,"ng-template",2),i.k0s()())},dependencies:[Gu],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}\n'],encapsulation:2})}return s})();const Wv="--mat-dialog-transition-duration";function Xv(s){return null==s?null:"number"==typeof s?s:s.endsWith("ms")?(0,Ns.c)(s.substring(0,s.length-2)):s.endsWith("s")?1e3*(0,Ns.c)(s.substring(0,s.length-1)):"0"===s?0:null}var Wc=function(s){return s[s.OPEN=0]="OPEN",s[s.CLOSING=1]="CLOSING",s[s.CLOSED=2]="CLOSED",s}(Wc||{});class tm{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new _t.B;_beforeClosed=new _t.B;_result;_closeFallbackTimeout;_state=Wc.OPEN;_closeInteractionType;constructor(a,t,r){this._ref=a,this._containerInstance=r,this.disableClose=t.disableClose,this.id=a.id,a.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe((0,ae.p)(c=>"opened"===c.state),(0,Do.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe((0,ae.p)(c=>"closed"===c.state),(0,Do.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ls.h)(this.backdropClick(),this.keydownEvents().pipe((0,ae.p)(c=>c.keyCode===en.g&&!this.disableClose&&!(0,Co.rp)(c)))).subscribe(c=>{this.disableClose||(c.preventDefault(),Qv(this,"keydown"===c.type?"keyboard":"mouse"))})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe((0,ae.p)(t=>"closing"===t.state),(0,Do.s)(1)).subscribe(t=>{this._beforeClosed.next(a),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=Wc.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(a){let t=this._ref.config.positionStrategy;return a&&(a.left||a.right)?a.left?t.left(a.left):t.right(a.right):t.centerHorizontally(),a&&(a.top||a.bottom)?a.top?t.top(a.top):t.bottom(a.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(a="",t=""){return this._ref.updateSize(a,t),this}addPanelClass(a){return this._ref.addPanelClass(a),this}removePanelClass(a){return this._ref.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=Wc.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Qv(s,a,t){return s._closeInteractionType=a,s.close(t)}const ml=new i.nKC("MatMdcDialogData"),AD=new i.nKC("mat-mdc-dialog-default-options"),Xc=new i.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const s=(0,i.WQX)(Li);return()=>s.scrollStrategies.block()}});let Da=(()=>{class s{_overlay=(0,i.WQX)(Li);_defaultOptions=(0,i.WQX)(AD,{optional:!0});_scrollStrategy=(0,i.WQX)(Xc);_parentDialog=(0,i.WQX)(s,{optional:!0,skipSelf:!0});_idGenerator=(0,i.WQX)(Gi);_dialog=(0,i.WQX)(em);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new _t.B;_afterOpenedAtThisLevel=new _t.B;dialogConfigClass=Hv;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,Lp.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Ca.Z)(void 0)));constructor(){this._dialogRefConstructor=tm,this._dialogContainerType=Gv,this._dialogDataToken=ml}open(t,r){let c;(r={...this._defaultOptions||new Hv,...r}).id=r.id||this._idGenerator.getId("mat-mdc-dialog-"),r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();const f=this._dialog.open(t,{...r,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:Eo,useValue:r}]},templateContext:()=>({dialogRef:c}),providers:(g,D,x)=>(c=new this._dialogRefConstructor(g,r,x),c.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:x},{provide:this._dialogDataToken,useValue:D.data},{provide:this._dialogRefConstructor,useValue:c}])});return c.componentRef=f.componentRef,c.componentInstance=f.componentInstance,this.openDialogs.push(c),this.afterOpened.next(c),c.afterClosed().subscribe(()=>{const g=this.openDialogs.indexOf(c);g>-1&&(this.openDialogs.splice(g,1),this.openDialogs.length||this._getAfterAllClosed().next())}),c}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(r=>r.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let r=t.length;for(;r--;)t[r].close()}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Ju=(()=>{class s{dialogRef=(0,i.WQX)(tm,{optional:!0});_elementRef=(0,i.WQX)(i.aKT);_dialog=(0,i.WQX)(Da);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=ef(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const r=t._matDialogClose||t._matDialogCloseResult;r&&(this.dialogResult=r.currentValue)}_onButtonClick(t){Qv(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(r,c){1&r&&i.bIt("click",function(g){return c._onButtonClick(g)}),2&r&&i.BMQ("aria-label",c.ariaLabel||null)("type",c.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[i.OA$]})}return s})(),nm=(()=>{class s{_dialogRef=(0,i.WQX)(tm,{optional:!0});_elementRef=(0,i.WQX)(i.aKT);_dialog=(0,i.WQX)(Da);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=ef(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s})}return s})(),Kv=(()=>{class s extends nm{id=(0,i.WQX)(Gi).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let t;return function(c){return(t||(t=i.xGo(s)))(c||s)}})();static \u0275dir=i.FsC({type:s,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(r,c){2&r&&i.Mr5("id",c.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[i.Vt3]})}return s})(),qv=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[i.nM4([Ti.uv])]})}return s})();function ef(s,a){let t=s.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-mdc-dialog-container");)t=t.parentElement;return t?a.find(r=>r.id===t.id):null}let Hx=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({providers:[Da],imports:[MD,pl,wr,Ii.M,Ii.M]})}return s})();var Qc=w(9437),Ea=w(8810);const im=new i.nKC("MyLibConfig");let om=(()=>{class s{http;config;apiUrl="";constructor(t,r){this.http=t,this.config=r;const c=window?.wmConfig?.language?window.wmConfig.language:"en";this.apiUrl=this.config.proxyServiceBaseUrl+c+this.config.proxyFullAddress+this.config.proxyServiceExecute,console.log("Config: ",this.config)}feedbackForm=!1;feedBackSent=!1;pendingForm=!1;responderForm=!1;feedbackResponse={requestFrom:null,requestTo:null,requestFeedback:null,responseFeedback:null};createRequestBody(t,r,c,f=null){return{method:t,destination:Rc,serviceName:r,formName:this.config.formName,urlParameters:{inboxid:this.config.formId,...c},body:f}}performPostRequest(t){return this.http.post(this.apiUrl,t,{headers:new Gt({authToken:this.config.authToken,"Content-Type":"application/x-www-form-urlencoded"}),observe:"body"}).pipe((0,ze.T)(r=>r),(0,Qc.W)(r=>(0,Ea.$)(r)))}getFeedback(t){const r=this.createRequestBody(As,"igate.get.inbox.item.feedback",{email:t});return this.performPostRequest(r)}submitFeedback(t){const[r,c]=t,f=this.createRequestBody(Ou,"igate.create.inbox.item.feedback",{},{request:c,to:r});return this.performPostRequest(f)}addResponse(t){const[r,c]=t,f=this.createRequestBody("PUT","igate.update.inbox.item.feedback",{},{response:c,feedbackId:r});return this.performPostRequest(f)}static \u0275fac=function(r){return new(r||s)(i.KVO(ho),i.KVO(im))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"any"})}return s})();var OD=w(3073),tf=w(8750),RD=w(9326),Zv=w(6450),Jv=w(8496);let ey=(()=>{class s{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(r){return new(r||s)(i.rXU(i.sFG),i.rXU(i.aKT))};static \u0275dir=i.FsC({type:s})}return s})(),Ps=(()=>{class s extends ey{static \u0275fac=(()=>{let t;return function(c){return(t||(t=i.xGo(s)))(c||s)}})();static \u0275dir=i.FsC({type:s,features:[i.Vt3]})}return s})();const di=new i.nKC(""),ND={provide:di,useExisting:(0,i.Rfq)(()=>Kc),multi:!0},ny=new i.nKC("");let Kc=(()=>{class s extends ey{_compositionMode;_composing=!1;constructor(t,r,c){super(t,r),this._compositionMode=c,null==this._compositionMode&&(this._compositionMode=!function Sa(){const s=(0,E.rb)()?(0,E.rb)().getUserAgent():"";return/android (\d+)/.test(s.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||s)(i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(ny,8))};static \u0275dir=i.FsC({type:s,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(r,c){1&r&&i.bIt("input",function(g){return c._handleInput(g.target.value)})("blur",function(){return c.onTouched()})("compositionstart",function(){return c._compositionStart()})("compositionend",function(g){return c._compositionEnd(g.target.value)})},standalone:!1,features:[i.Jv_([ND]),i.Vt3]})}return s})();function qc(s){return null==s||0===rf(s)}function rf(s){return null==s?null:Array.isArray(s)||"string"==typeof s?s.length:s instanceof Set?s.size:null}const vi=new i.nKC(""),Fs=new i.nKC(""),PD=/^(?=.{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])?)*$/;class Mr{static min(a){return function rm(s){return a=>{if(null==a.value||null==s)return null;const t=parseFloat(a.value);return!isNaN(t)&&t<s?{min:{min:s,actual:a.value}}:null}}(a)}static max(a){return function FD(s){return a=>{if(null==a.value||null==s)return null;const t=parseFloat(a.value);return!isNaN(t)&&t>s?{max:{max:s,actual:a.value}}:null}}(a)}static required(a){return LD(a)}static requiredTrue(a){return function gl(s){return!0===s.value?null:{required:!0}}(a)}static email(a){return function iy(s){return qc(s.value)||PD.test(s.value)?null:{email:!0}}(a)}static minLength(a){return function oy(s){return a=>{const t=a.value?.length??rf(a.value);return null===t||0===t?null:t<s?{minlength:{requiredLength:s,actualLength:t}}:null}}(a)}static maxLength(a){return function ry(s){return a=>{const t=a.value?.length??rf(a.value);return null!==t&&t>s?{maxlength:{requiredLength:s,actualLength:t}}:null}}(a)}static pattern(a){return function sm(s){if(!s)return sf;let a,t;return"string"==typeof s?(t="","^"!==s.charAt(0)&&(t+="^"),t+=s,"$"!==s.charAt(s.length-1)&&(t+="$"),a=new RegExp(t)):(t=s.toString(),a=s),r=>{if(qc(r.value))return null;const c=r.value;return a.test(c)?null:{pattern:{requiredPattern:t,actualValue:c}}}}(a)}static nullValidator(a){return null}static compose(a){return VD(a)}static composeAsync(a){return lf(a)}}function LD(s){return qc(s.value)?{required:!0}:null}function sf(s){return null}function sy(s){return null!=s}function ay(s){return(0,i.jNT)(s)?(0,Ie.H)(s):s}function ly(s){let a={};return s.forEach(t=>{a=null!=t?{...a,...t}:a}),0===Object.keys(a).length?null:a}function cy(s,a){return a.map(t=>t(s))}function af(s){return s.map(a=>function BD(s){return!s.validate}(a)?a:t=>a.validate(t))}function VD(s){if(!s)return null;const a=s.filter(sy);return 0==a.length?null:function(t){return ly(cy(t,a))}}function dy(s){return null!=s?VD(af(s)):null}function lf(s){if(!s)return null;const a=s.filter(sy);return 0==a.length?null:function(t){return function kD(...s){const a=(0,RD.ms)(s),{args:t,keys:r}=(0,OD.D)(s),c=new ye.c(f=>{const{length:g}=t;if(!g)return void f.complete();const D=new Array(g);let x=g,G=g;for(let J=0;J<g;J++){let de=!1;(0,tf.Tg)(t[J]).subscribe((0,Uc._)(f,Ce=>{de||(de=!0,G--),D[J]=Ce},()=>x--,void 0,()=>{(!x||!de)&&(G||f.next(r?(0,Jv.e)(r,D):D),f.complete())}))}});return a?c.pipe((0,Zv.I)(a)):c}(cy(t,a).map(ay)).pipe((0,ze.T)(ly))}}function uy(s){return null!=s?lf(af(s)):null}function jD(s,a){return null===s?[a]:Array.isArray(s)?[...s,a]:[s,a]}function $D(s){return s._rawValidators}function UD(s){return s._rawAsyncValidators}function fy(s){return s?Array.isArray(s)?s:[s]:[]}function cf(s,a){return Array.isArray(s)?s.includes(a):s===a}function Yc(s,a){const t=fy(a);return fy(s).forEach(c=>{cf(t,c)||t.push(c)}),t}function Zc(s,a){return fy(a).filter(t=>!cf(s,t))}class am{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(a){this._rawValidators=a||[],this._composedValidatorFn=dy(this._rawValidators)}_setAsyncValidators(a){this._rawAsyncValidators=a||[],this._composedAsyncValidatorFn=uy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(a){this._onDestroyCallbacks.push(a)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(a=>a()),this._onDestroyCallbacks=[]}reset(a=void 0){this.control&&this.control.reset(a)}hasError(a,t){return!!this.control&&this.control.hasError(a,t)}getError(a,t){return this.control?this.control.getError(a,t):null}}class Bi extends am{name;get formDirective(){return null}get path(){return null}}class Uo extends am{_parent=null;name=null;valueAccessor=null}class hy{_cd;constructor(a){this._cd=a}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let sr=(()=>{class s extends hy{constructor(t){super(t)}static \u0275fac=function(r){return new(r||s)(i.rXU(Uo,2))};static \u0275dir=i.FsC({type:s,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,c){2&r&&i.AVh("ng-untouched",c.isUntouched)("ng-touched",c.isTouched)("ng-pristine",c.isPristine)("ng-dirty",c.isDirty)("ng-valid",c.isValid)("ng-invalid",c.isInvalid)("ng-pending",c.isPending)},standalone:!1,features:[i.Vt3]})}return s})(),so=(()=>{class s extends hy{constructor(t){super(t)}static \u0275fac=function(r){return new(r||s)(i.rXU(Bi,10))};static \u0275dir=i.FsC({type:s,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,c){2&r&&i.AVh("ng-untouched",c.isUntouched)("ng-touched",c.isTouched)("ng-pristine",c.isPristine)("ng-dirty",c.isDirty)("ng-valid",c.isValid)("ng-invalid",c.isInvalid)("ng-pending",c.isPending)("ng-submitted",c.isSubmitted)},standalone:!1,features:[i.Vt3]})}return s})();const Jc="VALID",uf="INVALID",_l="PENDING",vl="DISABLED";class yl{}class vy extends yl{value;source;constructor(a,t){super(),this.value=a,this.source=t}}class cm extends yl{pristine;source;constructor(a,t){super(),this.pristine=a,this.source=t}}class Lt extends yl{touched;source;constructor(a,t){super(),this.touched=a,this.source=t}}class bl extends yl{status;source;constructor(a,t){super(),this.status=a,this.source=t}}class dm extends yl{source;constructor(a){super(),this.source=a}}class ff extends yl{source;constructor(a){super(),this.source=a}}function Cl(s){return(Ls(s)?s.validators:s)||null}function hf(s,a){return(Ls(a)?a.asyncValidators:s)||null}function Ls(s){return null!=s&&!Array.isArray(s)&&"object"==typeof s}function um(s,a,t){const r=s.controls;if(!(a?Object.keys(r):r).length)throw new i.wOt(1e3,"");if(!r[t])throw new i.wOt(1001,"")}function by(s,a,t){s._forEachChild((r,c)=>{if(void 0===t[c])throw new i.wOt(1002,"")})}class pf{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(a,t){this._assignValidators(a),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(a){this._rawValidators=this._composedValidatorFn=a}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}get parent(){return this._parent}get status(){return(0,i.O8t)(this.statusReactive)}set status(a){(0,i.O8t)(()=>this.statusReactive.set(a))}_status=(0,i.EWP)(()=>this.statusReactive());statusReactive=(0,i.vPA)(void 0);get valid(){return this.status===Jc}get invalid(){return this.status===uf}get pending(){return this.status==_l}get disabled(){return this.status===vl}get enabled(){return this.status!==vl}errors;get pristine(){return(0,i.O8t)(this.pristineReactive)}set pristine(a){(0,i.O8t)(()=>this.pristineReactive.set(a))}_pristine=(0,i.EWP)(()=>this.pristineReactive());pristineReactive=(0,i.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,i.O8t)(this.touchedReactive)}set touched(a){(0,i.O8t)(()=>this.touchedReactive.set(a))}_touched=(0,i.EWP)(()=>this.touchedReactive());touchedReactive=(0,i.vPA)(!1);get untouched(){return!this.touched}_events=new _t.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(a){this._assignValidators(a)}setAsyncValidators(a){this._assignAsyncValidators(a)}addValidators(a){this.setValidators(Yc(a,this._rawValidators))}addAsyncValidators(a){this.setAsyncValidators(Yc(a,this._rawAsyncValidators))}removeValidators(a){this.setValidators(Zc(a,this._rawValidators))}removeAsyncValidators(a){this.setAsyncValidators(Zc(a,this._rawAsyncValidators))}hasValidator(a){return cf(this._rawValidators,a)}hasAsyncValidator(a){return cf(this._rawAsyncValidators,a)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(a={}){const t=!1===this.touched;this.touched=!0;const r=a.sourceControl??this;this._parent&&!a.onlySelf&&this._parent.markAsTouched({...a,sourceControl:r}),t&&!1!==a.emitEvent&&this._events.next(new Lt(!0,r))}markAllAsTouched(a={}){this.markAsTouched({onlySelf:!0,emitEvent:a.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(a))}markAsUntouched(a={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=a.sourceControl??this;this._forEachChild(c=>{c.markAsUntouched({onlySelf:!0,emitEvent:a.emitEvent,sourceControl:r})}),this._parent&&!a.onlySelf&&this._parent._updateTouched(a,r),t&&!1!==a.emitEvent&&this._events.next(new Lt(!1,r))}markAsDirty(a={}){const t=!0===this.pristine;this.pristine=!1;const r=a.sourceControl??this;this._parent&&!a.onlySelf&&this._parent.markAsDirty({...a,sourceControl:r}),t&&!1!==a.emitEvent&&this._events.next(new cm(!1,r))}markAsPristine(a={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=a.sourceControl??this;this._forEachChild(c=>{c.markAsPristine({onlySelf:!0,emitEvent:a.emitEvent})}),this._parent&&!a.onlySelf&&this._parent._updatePristine(a,r),t&&!1!==a.emitEvent&&this._events.next(new cm(!0,r))}markAsPending(a={}){this.status=_l;const t=a.sourceControl??this;!1!==a.emitEvent&&(this._events.next(new bl(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.markAsPending({...a,sourceControl:t})}disable(a={}){const t=this._parentMarkedDirty(a.onlySelf);this.status=vl,this.errors=null,this._forEachChild(c=>{c.disable({...a,onlySelf:!0})}),this._updateValue();const r=a.sourceControl??this;!1!==a.emitEvent&&(this._events.next(new vy(this.value,r)),this._events.next(new bl(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...a,skipPristineCheck:t},this),this._onDisabledChange.forEach(c=>c(!0))}enable(a={}){const t=this._parentMarkedDirty(a.onlySelf);this.status=Jc,this._forEachChild(r=>{r.enable({...a,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent}),this._updateAncestors({...a,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(a,t){this._parent&&!a.onlySelf&&(this._parent.updateValueAndValidity(a),a.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(a){this._parent=a}getRawValue(){return this.value}updateValueAndValidity(a={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Jc||this.status===_l)&&this._runAsyncValidator(r,a.emitEvent)}const t=a.sourceControl??this;!1!==a.emitEvent&&(this._events.next(new vy(this.value,t)),this._events.next(new bl(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.updateValueAndValidity({...a,sourceControl:t})}_updateTreeValidity(a={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(a)),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vl:Jc}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(a,t){if(this.asyncValidator){this.status=_l,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const r=ay(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(c=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(c,{emitEvent:t,shouldHaveEmitted:a})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const a=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,a}return!1}setErrors(a,t={}){this.errors=a,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(a){let t=a;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,c)=>r&&r._find(c),this)}getError(a,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[a]:null}hasError(a,t){return!!this.getError(a,t)}get root(){let a=this;for(;a._parent;)a=a._parent;return a}_updateControlsErrors(a,t,r){this.status=this._calculateStatus(),a&&this.statusChanges.emit(this.status),(a||r)&&this._events.next(new bl(this.status,t)),this._parent&&this._parent._updateControlsErrors(a,t,r)}_initObservables(){this.valueChanges=new i.bkB,this.statusChanges=new i.bkB}_calculateStatus(){return this._allControlsDisabled()?vl:this.errors?uf:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_l)?_l:this._anyControlsHaveStatus(uf)?uf:Jc}_anyControlsHaveStatus(a){return this._anyControls(t=>t.status===a)}_anyControlsDirty(){return this._anyControls(a=>a.dirty)}_anyControlsTouched(){return this._anyControls(a=>a.touched)}_updatePristine(a,t){const r=!this._anyControlsDirty(),c=this.pristine!==r;this.pristine=r,this._parent&&!a.onlySelf&&this._parent._updatePristine(a,t),c&&this._events.next(new cm(this.pristine,t))}_updateTouched(a={},t){this.touched=this._anyControlsTouched(),this._events.next(new Lt(this.touched,t)),this._parent&&!a.onlySelf&&this._parent._updateTouched(a,t)}_onDisabledChange=[];_registerOnCollectionChange(a){this._onCollectionChange=a}_setUpdateStrategy(a){Ls(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)}_parentMarkedDirty(a){return!a&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(a){return null}_assignValidators(a){this._rawValidators=Array.isArray(a)?a.slice():a,this._composedValidatorFn=function Ma(s){return Array.isArray(s)?dy(s):s||null}(this._rawValidators)}_assignAsyncValidators(a){this._rawAsyncValidators=Array.isArray(a)?a.slice():a,this._composedAsyncValidatorFn=function yy(s){return Array.isArray(s)?uy(s):s||null}(this._rawAsyncValidators)}}class wl extends pf{constructor(a,t,r){super(Cl(t),hf(r,t)),this.controls=a,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(a,t){return this.controls[a]?this.controls[a]:(this.controls[a]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(a,t,r={}){this.registerControl(a,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(a,t={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(a,t,r={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],t&&this.registerControl(a,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}setValue(a,t={}){by(this,0,a),Object.keys(a).forEach(r=>{um(this,!0,r),this.controls[r].setValue(a[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(a,t={}){null!=a&&(Object.keys(a).forEach(r=>{const c=this.controls[r];c&&c.patchValue(a[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(a={},t={}){this._forEachChild((r,c)=>{r.reset(a?a[c]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(a,t,r)=>(a[r]=t.getRawValue(),a))}_syncPendingControls(){let a=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&a(r,t)})}_setUpControls(){this._forEachChild(a=>{a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(a){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&a(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,c)=>((r.enabled||this.disabled)&&(t[c]=r.value),t))}_reduceChildren(a,t){let r=a;return this._forEachChild((c,f)=>{r=t(r,c,f)}),r}_allControlsDisabled(){for(const a of Object.keys(this.controls))if(this.controls[a].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null}}class ed extends wl{}const us=new i.nKC("",{providedIn:"root",factory:()=>fs}),fs="always";function Dl(s,a){return[...a.path,s]}function El(s,a,t=fs){mf(s,a),a.valueAccessor.writeValue(s.value),(s.disabled||"always"===t)&&a.valueAccessor.setDisabledState?.(s.disabled),function hm(s,a){a.valueAccessor.registerOnChange(t=>{s._pendingValue=t,s._pendingChange=!0,s._pendingDirty=!0,"change"===s.updateOn&&wy(s,a)})}(s,a),function Dy(s,a){const t=(r,c)=>{a.valueAccessor.writeValue(r),c&&a.viewToModelUpdate(r)};s.registerOnChange(t),a._registerOnDestroy(()=>{s._unregisterOnChange(t)})}(s,a),function KD(s,a){a.valueAccessor.registerOnTouched(()=>{s._pendingTouched=!0,"blur"===s.updateOn&&s._pendingChange&&wy(s,a),"submit"!==s.updateOn&&s.markAsTouched()})}(s,a),function fm(s,a){if(a.valueAccessor.setDisabledState){const t=r=>{a.valueAccessor.setDisabledState(r)};s.registerOnDisabledChange(t),a._registerOnDestroy(()=>{s._unregisterOnDisabledChange(t)})}}(s,a)}function td(s,a,t=!0){const r=()=>{};a.valueAccessor&&(a.valueAccessor.registerOnChange(r),a.valueAccessor.registerOnTouched(r)),Ia(s,a),s&&(a._invokeOnDestroyCallbacks(),s._registerOnCollectionChange(()=>{}))}function Ta(s,a){s.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(a)})}function mf(s,a){const t=$D(s);null!==a.validator?s.setValidators(jD(t,a.validator)):"function"==typeof t&&s.setValidators([t]);const r=UD(s);null!==a.asyncValidator?s.setAsyncValidators(jD(r,a.asyncValidator)):"function"==typeof r&&s.setAsyncValidators([r]);const c=()=>s.updateValueAndValidity();Ta(a._rawValidators,c),Ta(a._rawAsyncValidators,c)}function Ia(s,a){let t=!1;if(null!==s){if(null!==a.validator){const c=$D(s);if(Array.isArray(c)&&c.length>0){const f=c.filter(g=>g!==a.validator);f.length!==c.length&&(t=!0,s.setValidators(f))}}if(null!==a.asyncValidator){const c=UD(s);if(Array.isArray(c)&&c.length>0){const f=c.filter(g=>g!==a.asyncValidator);f.length!==c.length&&(t=!0,s.setAsyncValidators(f))}}}const r=()=>{};return Ta(a._rawValidators,r),Ta(a._rawAsyncValidators,r),t}function wy(s,a){s._pendingDirty&&s.markAsDirty(),s.setValue(s._pendingValue,{emitModelToViewChange:!1}),a.viewToModelUpdate(s._pendingValue),s._pendingChange=!1}function Ey(s,a){mf(s,a)}function mm(s,a){if(!s.hasOwnProperty("model"))return!1;const t=s.model;return!!t.isFirstChange()||!Object.is(a,t.currentValue)}function Sy(s,a){s._syncPendingControls(),a.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function nd(s,a){if(!a)return null;let t,r,c;return Array.isArray(a),a.forEach(f=>{f.constructor===Kc?t=f:function ZD(s){return Object.getPrototypeOf(s.constructor)===Ps}(f)?r=f:c=f}),c||r||t||null}const JD={provide:Bi,useExisting:(0,i.Rfq)(()=>xa)},gf=Promise.resolve();let xa=(()=>{class s extends Bi{callSetDisabledState;get submitted(){return(0,i.O8t)(this.submittedReactive)}_submitted=(0,i.EWP)(()=>this.submittedReactive());submittedReactive=(0,i.vPA)(!1);_directives=new Set;form;ngSubmit=new i.bkB;options;constructor(t,r,c){super(),this.callSetDisabledState=c,this.form=new wl({},dy(t),uy(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){gf.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),El(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){gf.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){gf.then(()=>{const r=this._findContainer(t.path),c=new wl({});Ey(c,t),r.registerControl(t.name,c),c.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){gf.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){gf.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),Sy(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new dm(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1),this.form._events.next(new ff(this.form))}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(r){return new(r||s)(i.rXU(vi,10),i.rXU(Fs,10),i.rXU(us,8))};static \u0275dir=i.FsC({type:s,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,c){1&r&&i.bIt("submit",function(g){return c.onSubmit(g)})("reset",function(){return c.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[i.Jv_([JD]),i.Vt3]})}return s})();function _f(s,a){const t=s.indexOf(a);t>-1&&s.splice(t,1)}function vf(s){return"object"==typeof s&&null!==s&&2===Object.keys(s).length&&"value"in s&&"disabled"in s}const ui=class extends pf{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(a=null,t,r){super(Cl(t),hf(r,t)),this._applyFormState(a),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ls(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vf(a)?a.value:a)}setValue(a,t={}){this.value=this._pendingValue=a,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(a,t={}){this.setValue(a,t)}reset(a=this.defaultValue,t={}){this._applyFormState(a),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(a){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(a){this._onChange.push(a)}_unregisterOnChange(a){_f(this._onChange,a)}registerOnDisabledChange(a){this._onDisabledChange.push(a)}_unregisterOnDisabledChange(a){_f(this._onDisabledChange,a)}_forEachChild(a){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(a){vf(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}},Bs={provide:Uo,useExisting:(0,i.Rfq)(()=>Cf)},Ra=Promise.resolve();let Cf=(()=>{class s extends Uo{_changeDetectorRef;callSetDisabledState;control=new ui;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new i.bkB;constructor(t,r,c,f,g,D){super(),this._changeDetectorRef=g,this.callSetDisabledState=D,this._parent=t,this._setValidators(r),this._setAsyncValidators(c),this.valueAccessor=nd(0,f)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),mm(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){El(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Ra.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,c=0!==r&&(0,i.L39)(r);Ra.then(()=>{c&&!this.control.disabled?this.control.disable():!c&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Dl(t,this._parent):[t]}static \u0275fac=function(r){return new(r||s)(i.rXU(Bi,9),i.rXU(vi,10),i.rXU(Fs,10),i.rXU(di,10),i.rXU(i.gRc,8),i.rXU(us,8))};static \u0275dir=i.FsC({type:s,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[i.Jv_([Bs]),i.Vt3,i.OA$]})}return s})(),Ml=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return s})();const Df=new i.nKC(""),Oy={provide:Uo,useExisting:(0,i.Rfq)(()=>od)};let od=(()=>{class s extends Uo{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new i.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,c,f,g){super(),this._ngModelWarningConfig=f,this.callSetDisabledState=g,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=nd(0,c)}ngOnChanges(t){if(this._isControlChanged(t)){const r=t.form.previousValue;r&&td(r,this,!1),El(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}mm(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&td(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||s)(i.rXU(vi,10),i.rXU(Fs,10),i.rXU(di,10),i.rXU(Df,8),i.rXU(us,8))};static \u0275dir=i.FsC({type:s,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[i.Jv_([Oy]),i.Vt3,i.OA$]})}return s})();const vm={provide:Bi,useExisting:(0,i.Rfq)(()=>Ir)};let Ir=(()=>{class s extends Bi{callSetDisabledState;get submitted(){return(0,i.O8t)(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=(0,i.EWP)(()=>this._submittedReactive());_submittedReactive=(0,i.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new i.bkB;constructor(t,r,c){super(),this.callSetDisabledState=c,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ia(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return El(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){td(t.control||null,t,!1),function Tr(s,a){const t=s.indexOf(a);t>-1&&s.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),Sy(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new dm(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new ff(this.form))}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,c=this.form.get(t.path);r!==c&&(td(r||null,t),(s=>s instanceof ui)(c)&&(El(c,t,this.callSetDisabledState),t.control=c))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);Ey(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function qD(s,a){return Ia(s,a)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){mf(this.form,this),this._oldForm&&Ia(this._oldForm,this)}static \u0275fac=function(r){return new(r||s)(i.rXU(vi,10),i.rXU(Fs,10),i.rXU(us,8))};static \u0275dir=i.FsC({type:s,selectors:[["","formGroup",""]],hostBindings:function(r,c){1&r&&i.bIt("submit",function(g){return c.onSubmit(g)})("reset",function(){return c.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[i.Jv_([vm]),i.Vt3,i.OA$]})}return s})();const Mf={provide:Uo,useExisting:(0,i.Rfq)(()=>Il)};let Il=(()=>{class s extends Uo{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new i.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,c,f,g){super(),this._ngModelWarningConfig=g,this._parent=t,this._setValidators(r),this._setAsyncValidators(c),this.valueAccessor=nd(0,f)}ngOnChanges(t){this._added||this._setUpControl(),mm(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Dl(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||s)(i.rXU(Bi,13),i.rXU(vi,10),i.rXU(Fs,10),i.rXU(di,10),i.rXU(Df,8))};static \u0275dir=i.FsC({type:s,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[i.Jv_([Mf]),i.Vt3,i.OA$]})}return s})(),Vs=(()=>{class s{_validator=sf;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):sf,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,features:[i.OA$]})}return s})();const Uy={provide:vi,useExisting:(0,i.Rfq)(()=>sd),multi:!0};let sd=(()=>{class s extends Vs{required;inputName="required";normalizeInput=i.L39;createValidator=t=>LD;enabled(t){return t}static \u0275fac=(()=>{let t;return function(c){return(t||(t=i.xGo(s)))(c||s)}})();static \u0275dir=i.FsC({type:s,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,c){2&r&&i.BMQ("required",c._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[i.Jv_([Uy]),i.Vt3]})}return s})(),Wy=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({})}return s})();class Sm extends pf{constructor(a,t,r){super(Cl(t),hf(r,t)),this.controls=a,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(a){return this.controls[this._adjustIndex(a)]}push(a,t={}){this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(a,t,r={}){this.controls.splice(a,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(a,t={}){let r=this._adjustIndex(a);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(a,t,r={}){let c=this._adjustIndex(a);c<0&&(c=0),this.controls[c]&&this.controls[c]._registerOnCollectionChange(()=>{}),this.controls.splice(c,1),t&&(this.controls.splice(c,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(a,t={}){by(this,0,a),a.forEach((r,c)=>{um(this,!1,c),this.at(c).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(a,t={}){null!=a&&(a.forEach((r,c)=>{this.at(c)&&this.at(c).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(a=[],t={}){this._forEachChild((r,c)=>{r.reset(a[c],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(a=>a.getRawValue())}clear(a={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}_adjustIndex(a){return a<0?a+this.length:a}_syncPendingControls(){let a=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){this.controls.forEach((t,r)=>{a(t,r)})}_updateValue(){this.value=this.controls.filter(a=>a.enabled||this.disabled).map(a=>a.value)}_anyControls(a){return this.controls.some(t=>t.enabled&&a(t))}_setUpControls(){this._forEachChild(a=>this._registerControl(a))}_allControlsDisabled(){for(const a of this.controls)if(a.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}_find(a){return this.at(a)??null}}function cE(s){return!!s&&(void 0!==s.asyncValidators||void 0!==s.validators||void 0!==s.updateOn)}let js=(()=>{class s{useNonNullable=!1;get nonNullable(){const t=new s;return t.useNonNullable=!0,t}group(t,r=null){const c=this._reduceControls(t);let f={};return cE(r)?f=r:null!==r&&(f.validators=r.validator,f.asyncValidators=r.asyncValidator),new wl(c,f)}record(t,r=null){const c=this._reduceControls(t);return new ed(c,r)}control(t,r,c){let f={};return this.useNonNullable?(cE(r)?f=r:(f.validators=r,f.asyncValidators=c),new ui(t,{...f,nonNullable:!0})):new ui(t,r,c)}array(t,r,c){const f=t.map(g=>this._createControl(g));return new Sm(f,r,c)}_reduceControls(t){const r={};return Object.keys(t).forEach(c=>{r[c]=this._createControl(t[c])}),r}_createControl(t){return t instanceof ui||t instanceof pf?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),ld=(()=>{class s{static withConfig(t){return{ngModule:s,providers:[{provide:us,useValue:t.callSetDisabledState??fs}]}}static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({imports:[Wy]})}return s})(),$s=(()=>{class s{static withConfig(t){return{ngModule:s,providers:[{provide:Df,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:us,useValue:t.callSetDisabledState??fs}]}}static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({imports:[Wy]})}return s})(),Af=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,c){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,changeDetection:0})}return s})();var dE=w(5955),uE=w(3700),zo=function(s){return s[s.FADING_IN=0]="FADING_IN",s[s.VISIBLE=1]="VISIBLE",s[s.FADING_OUT=2]="FADING_OUT",s[s.HIDDEN=3]="HIDDEN",s}(zo||{});class fE{_renderer;element;config;_animationForciblyDisabledThroughCss;state=zo.HIDDEN;constructor(a,t,r,c=!1){this._renderer=a,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=c}fadeOut(){this._renderer.fadeOutRipple(this)}}const hE=(0,dE.n)({passive:!0,capture:!0});class pE{_events=new Map;addHandler(a,t,r,c){const f=this._events.get(t);if(f){const g=f.get(r);g?g.add(c):f.set(r,new Set([c]))}else this._events.set(t,new Map([[r,new Set([c])]])),a.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,hE)})}removeHandler(a,t,r){const c=this._events.get(a);if(!c)return;const f=c.get(t);f&&(f.delete(r),0===f.size&&c.delete(t),0===c.size&&(this._events.delete(a),document.removeEventListener(a,this._delegateEventHandler,hE)))}_delegateEventHandler=a=>{const t=(0,Sr._)(a);t&&this._events.get(a.type)?.forEach((r,c)=>{(c===t||c.contains(t))&&r.forEach(f=>f.handleEvent(a))})}}const mE={enterDuration:225,exitDuration:150},Xy=(0,dE.n)({passive:!0,capture:!0}),Qy=["mousedown","touchstart"],Of=["mouseup","mouseleave","touchend","touchcancel"];let cd=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,c){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,changeDetection:0})}return s})();class Ol{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new pE;constructor(a,t,r,c,f){this._target=a,this._ngZone=t,this._platform=c,c.isBrowser&&(this._containerElement=(0,Ns.a)(r)),f&&f.get(as._).load(cd)}fadeInRipple(a,t,r={}){const c=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),f={...mE,...r.animation};r.centered&&(a=c.left+c.width/2,t=c.top+c.height/2);const g=r.radius||function Rf(s,a,t){const r=Math.max(Math.abs(s-t.left),Math.abs(s-t.right)),c=Math.max(Math.abs(a-t.top),Math.abs(a-t.bottom));return Math.sqrt(r*r+c*c)}(a,t,c),D=a-c.left,x=t-c.top,G=f.enterDuration,J=document.createElement("div");J.classList.add("mat-ripple-element"),J.style.left=D-g+"px",J.style.top=x-g+"px",J.style.height=2*g+"px",J.style.width=2*g+"px",null!=r.color&&(J.style.backgroundColor=r.color),J.style.transitionDuration=`${G}ms`,this._containerElement.appendChild(J);const de=window.getComputedStyle(J),je=de.transitionDuration,Qe="none"===de.transitionProperty||"0s"===je||"0s, 0s"===je||0===c.width&&0===c.height,Xe=new fE(this,J,r,Qe);J.style.transform="scale3d(1, 1, 1)",Xe.state=zo.FADING_IN,r.persistent||(this._mostRecentTransientRipple=Xe);let rt=null;return!Qe&&(G||f.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Vt=()=>{rt&&(rt.fallbackTimer=null),clearTimeout(Qt),this._finishRippleTransition(Xe)},on=()=>this._destroyRipple(Xe),Qt=setTimeout(on,G+100);J.addEventListener("transitionend",Vt),J.addEventListener("transitioncancel",on),rt={onTransitionEnd:Vt,onTransitionCancel:on,fallbackTimer:Qt}}),this._activeRipples.set(Xe,rt),(Qe||!G)&&this._finishRippleTransition(Xe),Xe}fadeOutRipple(a){if(a.state===zo.FADING_OUT||a.state===zo.HIDDEN)return;const t=a.element,r={...mE,...a.config.animation};t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",a.state=zo.FADING_OUT,(a._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(a)}fadeOutAll(){this._getActiveRipples().forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){const t=(0,Ns.a)(a);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,Qy.forEach(r=>{Ol._eventManager.addHandler(this._ngZone,r,t,this)}))}handleEvent(a){"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Of.forEach(t=>{this._triggerElement.addEventListener(t,this,Xy)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(a){a.state===zo.FADING_IN?this._startFadeOutTransition(a):a.state===zo.FADING_OUT&&this._destroyRipple(a)}_startFadeOutTransition(a){const t=a===this._mostRecentTransientRipple,{persistent:r}=a.config;a.state=zo.VISIBLE,!r&&(!t||!this._isPointerDown)&&a.fadeOut()}_destroyRipple(a){const t=this._activeRipples.get(a)??null;this._activeRipples.delete(a),this._activeRipples.size||(this._containerRect=null),a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),a.state=zo.HIDDEN,null!==t&&(a.element.removeEventListener("transitionend",t.onTransitionEnd),a.element.removeEventListener("transitioncancel",t.onTransitionCancel),null!==t.fallbackTimer&&clearTimeout(t.fallbackTimer)),a.element.remove()}_onMousedown(a){const t=(0,uE.i)(a),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!r&&(this._isPointerDown=!0,this.fadeInRipple(a.clientX,a.clientY,this._target.rippleConfig))}_onTouchStart(a){if(!this._target.rippleDisabled&&!(0,uE.a)(a)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=a.changedTouches;if(t)for(let r=0;r<t.length;r++)this.fadeInRipple(t[r].clientX,t[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(a=>{!a.config.persistent&&(a.state===zo.VISIBLE||a.config.terminateOnPointerUp&&a.state===zo.FADING_IN)&&a.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const a=this._triggerElement;a&&(Qy.forEach(t=>Ol._eventManager.removeHandler(t,a,this)),this._pointerUpEventsRegistered&&(Of.forEach(t=>a.removeEventListener(t,this,Xy)),this._pointerUpEventsRegistered=!1))}}const Ky=new i.nKC("mat-ripple-global-options");let ka=(()=>{class s{_elementRef=(0,i.WQX)(i.aKT);_animationMode=(0,i.WQX)(i.bc$,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const t=(0,i.WQX)(i.SKi),r=(0,i.WQX)(Er.P),c=(0,i.WQX)(Ky,{optional:!0}),f=(0,i.WQX)(i.zZn);this._globalOptions=c||{},this._rippleRenderer=new Ol(this,t,this._elementRef,r,f)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,r=0,c){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,r,{...this.rippleConfig,...c}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,c){2&r&&i.AVh("mat-ripple-unbounded",c.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return s})();const qy=["mat-internal-form-field",""],_E=["*"];let dd=(()=>{class s{labelPosition;static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(r,c){2&r&&i.AVh("mdc-form-field--align-end","before"===c.labelPosition)},inputs:{labelPosition:"labelPosition"},attrs:qy,ngContentSelectors:_E,decls:1,vars:0,template:function(r,c){1&r&&(i.NAR(),i.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}\n"],encapsulation:2,changeDetection:0})}return s})();const Yy=["switch"],Zy=["*"];function Rl(s,a){1&s&&(i.j41(0,"span",10),i.qSk(),i.j41(1,"svg",12),i.nrm(2,"path",13),i.k0s(),i.j41(3,"svg",14),i.nrm(4,"path",15),i.k0s()())}const Mm=new i.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),vE={provide:di,useExisting:(0,i.Rfq)(()=>Tm),multi:!0};class Jy{source;checked;constructor(a,t){this.source=a,this.checked=t}}let Tm=(()=>{class s{_elementRef=(0,i.WQX)(i.aKT);_focusMonitor=(0,i.WQX)(qu.F);_changeDetectorRef=(0,i.WQX)(i.gRc);defaults=(0,i.WQX)(Mm);_onChange=t=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(t){return new Jy(this,t)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations;_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new i.bkB;toggleChange=new i.bkB;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){(0,i.WQX)(as._).load(Af);const t=(0,i.WQX)(new i.ES_("tabindex"),{optional:!0}),r=this.defaults,c=(0,i.WQX)(i.bc$,{optional:!0});this.tabIndex=null==t?0:parseInt(t)||0,this.color=r.color||"accent",this._noopAnimations="NoopAnimations"===c,this.id=this._uniqueId=(0,i.WQX)(Gi).getId("mat-mdc-slide-toggle-"),this.hideIcon=r.hideIcon??!1,this.disabledInteractive=r.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&!0!==t.value?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Jy(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["mat-slide-toggle"]],viewQuery:function(r,c){if(1&r&&i.GBs(Yy,5),2&r){let f;i.mGM(f=i.lsd())&&(c._switchElement=f.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(r,c){2&r&&(i.Mr5("id",c.id),i.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),i.HbH(c.color?"mat-"+c.color:""),i.AVh("mat-mdc-slide-toggle-focused",c._focused)("mat-mdc-slide-toggle-checked",c.checked)("_mat-animation-noopable",c._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",i.L39],color:"color",disabled:[2,"disabled","disabled",i.L39],disableRipple:[2,"disableRipple","disableRipple",i.L39],tabIndex:[2,"tabIndex","tabIndex",t=>null==t?0:(0,i.Udg)(t)],checked:[2,"checked","checked",i.L39],hideIcon:[2,"hideIcon","hideIcon",i.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",i.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[i.Jv_([vE,{provide:vi,useExisting:s,multi:!0}]),i.OA$],ngContentSelectors:Zy,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(r,c){if(1&r){const f=i.RV6();i.NAR(),i.j41(0,"div",1)(1,"button",2,0),i.bIt("click",function(){return i.eBV(f),i.Njj(c._handleClick())}),i.nrm(3,"span",3),i.j41(4,"span",4)(5,"span",5)(6,"span",6),i.nrm(7,"span",7),i.k0s(),i.j41(8,"span",8),i.nrm(9,"span",9),i.k0s(),i.DNE(10,Rl,5,0,"span",10),i.k0s()()(),i.j41(11,"label",11),i.bIt("click",function(D){return i.eBV(f),i.Njj(D.stopPropagation())}),i.SdG(12),i.k0s()()}if(2&r){const f=i.sdS(2);i.Y8G("labelPosition",c.labelPosition),i.R7$(),i.AVh("mdc-switch--selected",c.checked)("mdc-switch--unselected",!c.checked)("mdc-switch--checked",c.checked)("mdc-switch--disabled",c.disabled)("mat-mdc-slide-toggle-disabled-interactive",c.disabledInteractive),i.Y8G("tabIndex",c.disabled&&!c.disabledInteractive?-1:c.tabIndex)("disabled",c.disabled&&!c.disabledInteractive),i.BMQ("id",c.buttonId)("name",c.name)("aria-label",c.ariaLabel)("aria-labelledby",c._getAriaLabelledBy())("aria-describedby",c.ariaDescribedby)("aria-required",c.required||null)("aria-checked",c.checked)("aria-disabled",c.disabled&&c.disabledInteractive?"true":null),i.R7$(8),i.Y8G("matRippleTrigger",f)("matRippleDisabled",c.disableRipple||c.disabled)("matRippleCentered",!0),i.R7$(),i.vxM(c.hideIcon?-1:10),i.R7$(),i.Y8G("for",c.buttonId),i.BMQ("id",c._labelId)}},dependencies:[ka,dd],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height, 32px);border-radius:var(--mdc-switch-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width, 2px);border-color:var(--mat-switch-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width, 2px);border-color:var(--mat-switch-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size, 16px);height:var(--mat-switch-unselected-handle-size, 16px);margin:var(--mat-switch-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size, 24px);height:var(--mat-switch-selected-handle-size, 24px);margin:var(--mat-switch-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size, 24px);height:var(--mat-switch-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size, 28px);height:var(--mat-switch-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size, 40px);height:var(--mdc-switch-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 16px);height:var(--mdc-switch-unselected-icon-size, 16px);fill:var(--mdc-switch-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 16px);height:var(--mdc-switch-selected-icon-size, 16px);fill:var(--mdc-switch-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}\n'],encapsulation:2,changeDetection:0})}return s})();const Na={pageTimeOut:"Looks like the server is taking too long to respond, this can be caused by either poor connectivity or an error with our servers. Please try again in a while",pageErrorLoading:"An error occurred, Please try after sometimes. If the error continues, please contact the IT Helpdesk",reset:"Reset",submit:"Submit",selectYourOption:"Select your option",optional:"Optional",Optional:"Optional",browse:"Browse",requestDetailsTitle:"Request Details",hrRequestDetailsTitle:"Request Details (Grievance Employee)",applyRequestFor:"Apply Request For",searchForEmployee:"Search for employee",directManager:"Direct Manager",employeeEmail:"Email",generalDepartmentName:"General Dep.Name",departmentName:"Department",generalDepartmentCode:"General Dep. Code",humanResourcesLocation:"HR location",nationality:"Nationality",businessPhone:"Business Phone",viewAllDetails:"View All Details",jobPosition:"Job Position",sector:"Sector",delegateTo:"Delegated to",processedBy:"Processed by",gregorian:"Gregorian",hijri:"Hijri",successSubmited:"Thank you for submitting this form",lenghtMin15Max500:"Please enter minimum 15 characters and maximum 500 characters",lenghtMin15Max1000:"Please enter minimum 15 characters and maximum 1000 characters",minLength15:"Please enter a minimum of 15 characters",maxlength500:"500 is the maximum number of characters supported",maxSize:"Maximum file size is 10MB",unsupportedType:"Maximum file size allowed is 10MB and accepted extensions are (pdf, doc, docx, ppt, pptx, pps, ppsx, odt, xls, xlsx, zip, msg, csv, txt, rtf, html, mp4, m4v, mov, wmv, avi, mpg, ogv, 3gp, 3g2, jpg, jpej, png, gif, bmp)",unsupportedTypeImgPdf:"Maximum file size allowed is 10MB and accepted extensions are (pdf, jpg, jpej, png, bmp)",unsupportedTypeImgPdf2:"Maximum file size allowed is 10MB and accepted extensions are (pdf, docx, xlsx, jpg, email, pptx)",unsupportedTypeImg:"Maximum file size allowed is 10MB and accepted extensions are (jpg, jpej, png, bmp)",unsupportedTypePdf:"Maximum file size allowed is 10MB and accepted extension is (pdf)",noUsersFound:"Please enter valid search data",formTableFormId:"Form ID",formTableFormStatus:"Form Status",formTableCreationDate:"Creation Date",formTablePendingWith:"Pending With",formTableBackToInbox:"Back to Inbox",requestFeedback:"Request Feedback",requestTo:"Request To",feedback:"Feedback",viewFeedback:"View Feedback",requestFrom:"Request From",feedbackQuestion:"Feedback Question",employeeSearch:"Employee Search",searchEmployeeTooltip_1:"Enter minimum 3 character to start employee search",searchEmployeeTooltip_2:"Type umber to search by employee number",searchEmployeeTooltip_3:"To search by email. use @ before or after search character",searchEmployeeTooltip_4:"Seperate First name, Second Name, Family Name with space to search by First Name, Second Name and Family Name",onBehalfFlag:"Request On-behalf",onBehalfOfEmail:"Employee Name",commentHistory:"Comments History",NODATA:"No Data",termsAndConditions:"Terms And Conditions","no-files":" No documents attached","drag-files":"Drag and drop file here","limit-error":"limit error","size-error":"size error","type-error":"type error","duplicated-error":"This file already exist",thisIsInvalidFile:"This is invalid file",add:"Add",addAttachments:"Add Attachments",attachmentdescription:"File Description",attachmentcomment:"Comments",addAttachment:"Add Attachment",locationOfIncident:"Location Of The Incident",FileName:"File Name",FileDescription:"File Description",Attachments:"Attachments",Attachment:"Attachment",comment:"Comments",comments:"Comments",description:"Description",MyRequests:"My Requests",processingDate:"Processing Date",Approvals:"Approvals",submittedSuccessfully:"Your request submitted successfully",support:" Supported files: JPG,PNG & PDF",support2:"Maximum file size allowed is ",mb:"MB",support3:"Maximum file size is 300 KB",maxAllowedSize:"Maximum file size allowed is 10MB",ViewDetails:"View Details",NoData2:"No Data found",NoData1:"No Comments found",NoData:"No Data found",Filters:"Filter",ApplyFilters:"Apply",Discard:"Discard",employeeID:"Employee ID",Delete:"Delete",fullName:"Full Name",welcomeBack:"Welcome back",welcome:"Welcome ",logout:"Logout",otherLang:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",Hello:"Hello",Cancel:"Cancel",validEmailError:"Please enter valid Email ",validFieldError:"Please enter valid ",validSelectError:"Please select ",validSearchError:"Please search for valid ",delete:"Delete",Areyousureyouwantdelete:"Are you sure you want to delete?","drf-confirmatton-msg":"There are still pending stakeholders actions. Please confirm if you want to move to the next level without these actions.","Yes-Proceed":" Yes - Proceed","No-Discard":"No - Discard",yes:" Yes, Delete",NoAttachments:"There are no Attachments",cancel:"Cancel",View:"View",edit:"Edit",Viewapprovalcycle:"View Approval Cycle",approvalCycle:"Approval Cycle",link:"Link",AttachmentInvoices:"Attachment Invoices",AttachmentsOfBank:"Attachments of Bank Statement or Credit Card",DepositVoucherAttachments:"Deposit Voucher Attachments",placeholder:"Enter value here",approve:"Approve",downloadLink:"Download Link",serviceBrief:"Service Brief",PreviousRequests:"Previous Requests","Product Implementation":"Product Implementation","Sales Order and Quality Assurance":"Sales Order and Quality Assurance","Billing Support and Contracts":"Billing Support and Contracts","Sales Excellence":"Sales Excellence","Order Engineering and Delivery Management":"Order Engineering and Delivery Management","Third Party Control and Projects":"Third Party Control and Projects","Enterprise Customer Care":"Enterprise Customer Care","Enterprise Account Sales":"Enterprise Account Sales","Government Accounts Sales":"Government Accounts Sales","Marketing Communications":"Marketing Communications","Customer Experience Excellence":"Customer Experience Excellence","Commercial Regulation":"Commercial Regulation","Enterprise Commercial Finance":"Enterprise Commercial Finance","Product Pricing and Profitability":"Product Pricing and Profitability","Data Protection and Privacy":"Data Protection and Privacy","Customer Value Management":"Customer Value Management",termNote1:"1. The requesting department is responsible for the validity of the attached papers and supervision of labor",termNote2:"2. The worker must be on the sponsorship of the contracting company. In the case of subcontracting, the contract between the two parties must be attached, signed, stamped and updated. And the worker must be on the sponsorship of the subcontracting company",termNote3:"3. The profession of the worker in his residence must be identical to his work and in accordance with the nature of his work",termNote4:"4. For persons who attend a visit visa, a valid visit visa must be attached, with attachment of proof of the relationship with the stc company, either (contract / or letter from the requesting party stating the mission of the visit to the company (stc)). They will be granted a permission for the duration of their stay with the visa.",termNote5:"5. The entry permit card must not be used by someone else, and should be returned to the security department once you're finished. In case it is lost, please call Security and Safety Department 8001231616 or 0114251616 (the main center). A new entry permit application is required to be exchanged for a lost card. With a fine of 500 riyals for the first time and 1000 riyals for the second time, and on the third time it is forbidden to enter and referred to the relevant government agencies.",termNote6:"6. The contracting company bears all legal consequences of any damage caused by the worker inside the work sites of the company (stc).",termNote7:"7. We hope to print the form (from the print button at the top of the form) after approval by the Card Services Division, and bring it upon review to issue a card.",termNote8:"8. The main contractor and subcontractors shall comply with safety and security instructions as stipulated in the contracts concluded with all the contractors of the company (stc) and subject to periodic inspection procedures for the sites by safety inspectors to ensure compliance with safety instructions and safe work policy and violations. Financial violations and fines will be released if they are shown and described in financial values via vendor relations department:",termNote9:"9. The requesting department shall include the technical reports recommended for exchange and safety violations, if any. It is deducted from the entitlement, in implementation of the list of fines and penalties for safety violations against contractors signed by the Vice President for Procurement.",termNote10:"10. Collecting the ID cards of the main center in the card-issuing center-Gate 3 , as for the rest of the regions, you can collect it from the Department of Security of Regions.",termNote11:"11. The list of penalties and fines is applied to vehicles violators inside the STC sites where the violating vehicles are stopped by putting the brakes on them, and the company fully disclaims any damage caused by the brake upon tying or untying",messageErrorPhoneNumber:"Please enter valid mobile number.",serviceAgreement:"Service agreement",lengthError:"can't upload more than",userAlreadyExist:"User already exists",INTERNAL:"Internal: Make the document/record available for viewing within the company only",SPECIFIC_OR_CONFIDENTIAL:"Specific or confidential: Publication of the document/record with viewing permit limited to: <br>* Specific Names <br>* Specific organizational unit <br>* Specific administrative levels",AVAILABLE:"Available: make the document/record available for viewing within and outside the company.",other:"Other",others:"Others",selectAll:"Select All",URGENT:"1 day",NORMAL:"3 days",select:"Select",addMultiAttachments:"Add Multi Attachments",flagStatusUpdated:"Flag status updated successfully",AllRequests:"All Requests",applyFilters:"Apply Filters",clear:"Clear",filters:"Filters",month:"Month",year:"Year",status:"Status",downloadAll:"Download All Attachment",startDate:"Start Date",endDate:"End Date",textArea:"Text area",enter:"Enter"},Im={pageErrorLoading:"\u062d\u062f\u062b \u062e\u0637\u0623\u060c \u064a\u0631\u062c\u0649 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629 \u0644\u0627\u062d\u0642\u0627. \u0625\u0630\u0627 \u0627\u0633\u062a\u0645\u0631 \u0627\u0644\u062e\u0637\u0623\u060c \u064a\u0631\u062c\u0649 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0645\u0643\u062a\u0628 \u0645\u0633\u0627\u0639\u062f\u0629 \u062a\u0642\u0646\u064a\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a",pageTimeOut:"\u064a\u0628\u062f\u0648 \u0623\u0646 \u0627\u0644\u062e\u0627\u062f\u0645 \u064a\u0633\u062a\u063a\u0631\u0642 \u0648\u0642\u062a\u064b\u0627 \u0637\u0648\u064a\u0644\u0627\u064b \u0644\u0644\u0631\u062f\u060c \u0648\u0642\u062f \u064a\u062d\u062f\u062b \u0647\u0630\u0627 \u0628\u0633\u0628\u0628 \u0636\u0639\u0641 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0623\u0648 \u062e\u0637\u0623 \u0641\u064a \u062e\u0648\u0627\u062f\u0645\u0646\u0627. \u064a\u0631\u062c\u0649 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649 \u0628\u0639\u062f \u0642\u0644\u064a\u0644",reset:"\u0625\u0639\u0627\u062f\u0629 \u062a\u0647\u064a\u0626\u0629",submit:"\u0625\u0631\u0633\u0627\u0644",selectYourOption:"\u0627\u0644\u0631\u062c\u0627\u0621 \u0627\u0644\u0625\u062e\u062a\u064a\u0627\u0631",optional:"\u0625\u062e\u062a\u064a\u0627\u0631\u064a",Optional:"\u0625\u062e\u062a\u064a\u0627\u0631\u064a",browse:"\u062a\u0635\u0641\u062d",MyRequests:"\u0637\u0644\u0628\u0627\u062a\u064a",maxAllowedSize:"\u062d\u062c\u0645 \u0627\u0644\u0645\u0644\u0641 \u064a\u062c\u0628 \u0623\u0644\u0627 \u064a\u062a\u0639\u062f\u0649 10 \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",requestDetailsTitle:"\u062a\u0641\u0627\u0635\u064a\u0644 \u0627\u0644\u0637\u0644\u0628",hrRequestDetailsTitle:"\u062a\u0641\u0627\u0635\u064a\u0644 \u0627\u0644\u0637\u0644\u0628 (\u0627\u0644\u0645\u0648\u0627\u0631\u062f \u0627\u0644\u0628\u0634\u0631\u064a\u0629)",applyRequestFor:"\u062a\u0642\u062f\u064a\u0645 \u0627\u0644\u0637\u0644\u0628 \u0644\u0640",searchForEmployee:"\u0627\u0644\u0628\u062d\u062b \u0639\u0646 \u0645\u0648\u0638\u0641",directManager:"\u0627\u0644\u0645\u062f\u064a\u0631 \u0627\u0644\u0645\u0628\u0627\u0634\u0631",employeeEmail:"\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a",generalDepartmentName:"\u0627\u0644\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0639\u0627\u0645\u0629",departmentName:"\u0627\u0644\u0642\u0633\u0645",generalDepartmentCode:"\u0631\u0645\u0632 \u0627\u0644\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0639\u0627\u0645\u0629",humanResourcesLocation:"\u0634\u0626\u0648\u0646 \u0627\u0644\u0645\u0648\u0638\u0641\u064a\u0646",nationality:"\u0627\u0644\u062c\u0646\u0633\u064a\u0629",businessPhone:"\u0647\u0627\u062a\u0641 \u0627\u0644\u0639\u0645\u0644",Viewapprovalcycle:"\u0639\u0631\u0636 \u062f\u0648\u0631\u0629 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629",approvalCycle:" \u062f\u0648\u0631\u0629 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629",viewAllDetails:"\u0639\u0631\u0636 \u062c\u0645\u064a\u0639 \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644",jobPosition:"\u0627\u0644\u0648\u0638\u064a\u0641\u0629",sector:"\u0627\u0644\u0642\u0637\u0627\u0639",delegateTo:"\u0641\u0648\u0636",processedBy:"\u062a\u0645\u062a \u0645\u0639\u0627\u0644\u062c\u062a\u0647 \u0628\u0648\u0627\u0633\u0637\u0629",gregorian:"\u0645\u064a\u0644\u0627\u062f\u064a",hijri:"\u0647\u062c\u0631\u064a",successSubmited:".\u0634\u0643\u0631\u0627\u064b \u0644\u0625\u0631\u0633\u0627\u0644\u0643 \u0627\u0644\u0646\u0645\u0648\u0630\u062c",lenghtMin15Max500:"\u0627\u0644\u0631\u062c\u0627\u0621 \u0625\u062f\u062e\u0627\u0644 15 \u062d\u0631\u0641 \u0643\u062d\u062f \u0623\u062f\u0646\u0649 \u0648 500 \u062d\u0631\u0641 \u0643\u062d\u062f \u0623\u0642\u0635\u0649",lenghtMin15Max1000:"\u0627\u0644\u0631\u062c\u0627\u0621 \u0625\u062f\u062e\u0627\u0644 15 \u062d\u0631\u0641 \u0643\u062d\u062f \u0623\u062f\u0646\u0649 \u0648 1000 \u062d\u0631\u0641 \u0643\u062d\u062f \u0623\u0642\u0635\u0649",minLength15:"\u0627\u0644\u0631\u062c\u0627\u0621 \u0643\u062a\u0627\u0628\u0629 15 \u062d\u0631\u0641 \u0628\u062d\u062f \u0623\u062f\u0646\u0649",maxlength500:"\u0627\u0644\u062d\u062f \u0627\u0644\u0623\u0642\u0635\u0649 \u0627\u0644\u0645\u0633\u0645\u0648\u062d 500 \u062d\u0631\u0641",maxSize:"\u062d\u062c\u0645 \u0627\u0644\u0645\u0644\u0641 \u064a\u062c\u0628 \u0623\u0644\u0627 \u064a\u062a\u0639\u062f\u0649 10 \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",unsupportedType:"\u0627\u0644\u062d\u062f \u0627\u0644\u0623\u0642\u0635\u0649 \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0644\u062d\u062c\u0645 \u0627\u0644\u0645\u0644\u0641 10 \u0645\u064a\u062c\u0627\u0628\u064a\u062a \u0648 \u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0645\u0644\u0641\u0627\u062a \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0625\u0636\u0627\u0641\u062a\u0647\u0627 pdf, doc, docx, ppt, pptx, pps, ppsx, odt, xls, xlsx, zip, csv, txt, rtf, html, mp4, m4v, mov, wmv, avi, mpg, ogv, 3gp, 3g2, jpg, jpej, png, gif, bmp",unsupportedTypeImgPdf:"\u0627\u0644\u062d\u062f \u0627\u0644\u0623\u0642\u0635\u0649 \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0644\u062d\u062c\u0645 \u0627\u0644\u0645\u0644\u0641 10 \u0645\u064a\u062c\u0627\u0628\u064a\u062a \u0648 \u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0645\u0644\u0641\u0627\u062a \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0625\u0636\u0627\u0641\u062a\u0647\u0627 (pdf, jpg, jpej, png, bmp)",unsupportedTypeImgPdf2:"\u0627\u0644\u062d\u062f \u0627\u0644\u0623\u0642\u0635\u0649 \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0644\u062d\u062c\u0645 \u0627\u0644\u0645\u0644\u0641 10 \u0645\u064a\u062c\u0627\u0628\u064a\u062a \u0648 \u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0645\u0644\u0641\u0627\u062a \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0625\u0636\u0627\u0641\u062a\u0647\u0627 (pdf, docx, xlsx, jpg, email, pptx)",unsupportedTypeImg:"\u0627\u0644\u062d\u062f \u0627\u0644\u0623\u0642\u0635\u0649 \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0644\u062d\u062c\u0645 \u0627\u0644\u0645\u0644\u0641 10 \u0645\u064a\u062c\u0627\u0628\u064a\u062a \u0648 \u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0645\u0644\u0641\u0627\u062a \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0625\u0636\u0627\u0641\u062a\u0647\u0627 (jpg, jpej, png, bmp)",unsupportedTypePdf:"\u0627\u0644\u062d\u062f \u0627\u0644\u0623\u0642\u0635\u0649 \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0644\u062d\u062c\u0645 \u0627\u0644\u0645\u0644\u0641 10 \u0645\u064a\u062c\u0627\u0628\u064a\u062a \u0648 \u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0645\u0644\u0641\u0627\u062a \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0625\u0636\u0627\u0641\u062a\u0647\u0627 (pdf)",noUsersFound:"\u0627\u0644\u0631\u062c\u0627\u0621 \u0625\u062f\u062e\u0627\u0644 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0628\u062d\u062b \u0628\u0634\u0643\u0644 \u0635\u062d\u064a\u062d",formTableFormId:"\u0631\u0642\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062c",formTableFormStatus:"\u062d\u0627\u0644\u0629 \u0627\u0644\u0646\u0645\u0648\u0630\u062c",formTableCreationDate:"\u062a\u0627\u0631\u064a\u062e \u0627\u0644\u0646\u0645\u0648\u0630\u062c",formTablePendingWith:"\u0641\u064a \u0627\u0646\u062a\u0638\u0627\u0631",formTableBackToInbox:"\u0639\u0648\u062f\u0629 \u0625\u0644\u0649 \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0648\u0627\u0631\u062f",requestFeedback:"\u0637\u0644\u0628 \u0625\u0641\u0627\u062f\u0629",requestTo:"\u0623\u0631\u0633\u0644 \u0627\u0644\u0649",feedback:"\u0625\u0641\u0627\u062f\u0629",viewFeedback:"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0625\u0641\u0627\u062f\u0629",requestFrom:"\u0645\u0631\u0633\u0644\u0629 \u0645\u0646",feedbackQuestion:"\u0633\u0624\u0627\u0644 \u0627\u0644\u0625\u0641\u0627\u062f\u0629",employeeSearch:"\u0627\u0644\u0628\u062d\u062b \u0639\u0646 \u0645\u0648\u0638\u0641",searchEmployeeTooltip_1:"\u0623\u062f\u062e\u0644 \u062b\u0644\u0627\u062b\u0629 \u0623\u062d\u0631\u0641 \u0628\u062d\u062f \u0623\u062f\u0646\u0649 \u0644\u062a\u0628\u062f\u0623 \u0627\u0644\u0628\u062d\u062b \u0639\u0646 \u0627\u0644\u0645\u0648\u0638\u0641",searchEmployeeTooltip_2:"\u0623\u062f\u062e\u0644 \u0631\u0642\u0645 \u0644\u0644\u0628\u062d\u062b \u0628\u0631\u0642\u0645 \u0627\u0644\u0645\u0648\u0638\u0641",searchEmployeeTooltip_3:"\u0644\u0644\u0628\u062d\u062b \u0628\u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064a\u062f\u064a \u0623\u062f\u062e\u0644 @ \u0642\u0628\u0644 \u0623\u0648 \u0628\u0639\u062f \u062d\u0631\u0641",searchEmployeeTooltip_4:"\u0623\u062a\u0631\u0643 \u0645\u0633\u0627\u0641\u0629 \u0644\u0644\u0628\u062d\u062b \u0628\u0627\u0644\u0625\u0633\u0645 \u0627\u0644\u0623\u0648\u0644 \u0623\u0648 \u0627\u0644\u062b\u0627\u0646\u064a \u0623\u0648 \u0627\u0644\u0623\u062e\u064a\u0631",onBehalfFlag:"\u0637\u0644\u0628 \u0628\u0627\u0644\u0627\u0646\u0627\u0628\u0629 \u0639\u0646",onBehalfOfEmail:"\u0625\u0633\u0645 \u0627\u0644\u0645\u0648\u0638\u0641",commentHistory:"\u0633\u062c\u0644 \u0627\u0644\u062a\u0639\u0644\u064a\u0642\u0627\u062a",NODATA:"\u0644\u0627 \u064a\u0648\u062c\u062f \u0628\u064a\u0627\u0646\u0627\u062a",termsAndConditions:"\u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0627\u062d\u0643\u0627\u0645","no-files":" \u0644\u0627 \u062a\u0648\u062c\u062f \u0645\u0631\u0641\u0642\u0627\u062a","drag-files":"\u0625\u0633\u062d\u0628 \u0627\u0644\u0645\u0631\u0641\u0642\u0627\u062a \u0647\u0646\u0627","limit-error":"\u0639\u062f\u062f \u0627\u0644\u0645\u0631\u0641\u0642\u0627\u062a \u062a\u062c\u0627\u0648\u0632 \u0627\u0644\u0645\u0637\u0644\u0648\u0628","size-error":"\u062d\u062c\u0645 \u0627\u0644\u0645\u0631\u0641\u0642\u0627\u062a \u062a\u062c\u0627\u0648\u0632 \u0627\u0644\u0645\u0637\u0644\u0648\u0628","type-error":"\u062a\u0648\u0639 \u0627\u0644\u0645\u0631\u0641\u0642\u0627\u062a \u063a\u064a\u0631 \u0645\u0646\u0627\u0633\u0628","duplicated-error":"\u062a\u0645 \u0625\u0631\u0641\u0627\u0642 \u0627\u0644\u0645\u0644\u0641 \u0628\u0627\u0644\u0641\u0639\u0644",thisIsInvalidFile:"\u0647\u0630\u0627 \u0645\u0644\u0641 \u063a\u064a\u0631 \u0635\u0627\u0644\u062d",add:"\u0627\u0636\u0627\u0641\u0629",addAttachments:"\u0627\u0636\u0627\u0641\u0629 \u0645\u0631\u0641\u0642\u0627\u062a",attachmentdescription:"\u0648\u0635\u0641 \u0627\u0644\u0645\u0644\u0641",attachmentcomment:"\u0627\u0644\u062a\u0639\u0644\u064a\u0642\u0627\u062a",addAttachment:"\u0627\u0636\u0627\u0641\u0629 \u0627\u0644\u0645\u0631\u0641\u0642",locationOfIncident:"\u0645\u0648\u0642\u0639 \u0627\u0644\u0628\u0644\u0627\u063a",FileName:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0644\u0641",FileDescription:"\u0648\u0635\u0641 \u0627\u0644\u0645\u0644\u0641",Attachments:"\u0627\u0644\u0645\u0631\u0641\u0642\u0627\u062a",Attachment:"\u0627\u0644\u0645\u0631\u0641\u0642",comment:"\u0645\u0644\u0627\u062d\u0638\u0627\u062a",comments:"\u0645\u0644\u0627\u062d\u0638\u0627\u062a",description:"\u0627\u0644\u0648\u0635\u0641",processingDate:"\u062a\u0627\u0631\u064a\u062e \u0645\u0639\u0627\u0644\u062c\u0629 \u0627\u0644\u0637\u0644\u0628",Approvals:"\u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0627\u062a",submittedSuccessfully:"\u062a\u0645 \u062a\u0642\u062f\u064a\u0645 \u0627\u0644\u0637\u0644\u0628 \u0628\u0646\u062c\u0627\u062d",support:"\u0627\u0644\u0645\u0644\u0641\u0627\u062a \u0627\u0644\u0645\u0633\u0645\u0648\u062d\u0629 : PNG & JPG & PDF",support2:"\u0627\u0644\u062d\u062f \u0627\u0644\u0623\u0642\u0635\u0649 \u0644\u062d\u062c\u0645 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0628\u0647 \u0647\u0648 ",mb:"\u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",support3:" \u0627\u0644\u062d\u062f \u0627\u0644\u0623\u0642\u0635\u0649 \u0644\u062d\u062c\u0645 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0645\u0633\u0645\u0648\u062d \u0628\u0647 \u0647\u0648 300 \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",employeeID:"\u0627\u0644\u0631\u0642\u0645 \u0627\u0644\u0648\u0638\u064a\u0641\u064a ",NoData:"\u0644\u0627 \u062a\u0648\u062c\u062f \u0637\u0644\u0628\u0627\u062a",NoData1:"\u0644\u0627 \u062a\u0648\u062c\u062f \u062a\u0639\u0644\u064a\u0642\u0627\u062a",NoData2:"\u0644\u0627 \u062a\u0648\u062c\u062f \u0628\u064a\u0627\u0646\u0627\u062a",Delete:"\u062d\u0630\u0641",ViewDetails:"\u0639\u0631\u0636 \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644",fullName:"\u0627\u0644\u0625\u0633\u0645",welcomeBack:"\u0645\u0631\u062d\u0628\u0627 \u0628\u0639\u0648\u062f\u062a\u0643",Hello:"\u0645\u0631\u062d\u0628\u0627",Cancel:"\u0625\u0644\u063a\u0627\u0621",validEmailError:"\u064a\u062c\u0628 \u0625\u062f\u062e\u0627\u0644 \u0628\u0631\u064a\u062f \u0627\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0635\u062d\u064a\u062d ",validFieldError:"\u064a\u062c\u0628 \u0625\u062f\u062e\u0627\u0644 ",validSelectError:"\u0628\u0631\u062c\u0627\u0621 \u0627\u062e\u062a\u064a\u0627\u0631 ",validSearchError:"\u0628\u0631\u062c\u0627\u0621 \u0627\u0644\u0628\u062d\u062b \u0639\u0646 ",delete:"\u062d\u0630\u0641",Areyousureyouwantdelete:"\u0647\u0644 \u0623\u0646\u062a \u0645\u062a\u0623\u0643\u062f \u0645\u0646 \u0623\u0646\u0643 \u062a\u0631\u064a\u062f \u062d\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u0637\u0644\u0628\u061f","drf-confirmatton-msg":"\u064a\u0648\u062c\u062f \u0637\u0644\u0628\u0627\u062a \u0644\u0645 \u062a\u062a\u0645 \u062d\u062a\u0649 \u0627\u0644\u0627\u0646 .. \u0627\u0644\u0631\u062c\u0627\u0621 \u0627\u0644\u062a\u0623\u0643\u064a\u062f \u0627\u0630\u0627 \u0631\u063a\u0628\u062a \u0628\u0646\u0642\u0644 \u0627\u0644\u0637\u0644\u0628 \u0644\u0644\u0645\u0631\u062d\u0644\u0647 \u0627\u0644\u062a\u0627\u0644\u064a\u0629 \u0628\u062f\u0648\u0646 \u0645\u062f\u062e\u0644\u0627\u062a\u0647\u0645","Yes-Proceed":" \u0646\u0639\u0645 \u2013 \u0627\u0643\u0645\u0644 \u0627\u0644\u0637\u0644\u0628","No-Discard":" \u0644\u0627 \u2013 \u0627\u0644\u063a\u0627\u0621",yes:" \u0646\u0639\u0645",NoAttachments:"\u0644\u0627 \u062a\u0648\u062c\u062f \u0645\u0631\u0641\u0642\u0627\u062a",cancel:"\u0625\u0644\u063a\u0627\u0621",View:"\u0639\u0631\u0636",edit:"\u062a\u0639\u062f\u064a\u0644",placeholder:"\u0623\u0645\u0644\u0627 \u0647\u0630\u0627 \u0627\u0644\u062d\u0642\u0644",downloadLink:"\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0631\u0627\u0628\u0637",link:"\u0627\u0644\u0631\u0627\u0628\u0637",AttachmentInvoices:"\u0645\u0631\u0641\u0642\u0627\u062a \u0627\u0644\u0641\u0648\u0627\u062a\u064a\u0631",AttachmentsOfBank:"\u0645\u0631\u0641\u0642\u0627\u062a \u0643\u0634\u0641 \u0627\u0644\u062d\u0633\u0627\u0628 \u0627\u0644\u0628\u0646\u0643\u064a \u0623\u0648 \u0627\u0644\u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0625\u0626\u062a\u0645\u0627\u0646\u064a\u0629",DepositVoucherAttachments:"\u0645\u0631\u0641\u0642\u0627\u062a \u0642\u0633\u064a\u0645\u0629 \u0627\u0644\u0625\u064a\u062f\u0627\u0639",serviceBrief:"\u0648\u0635\u0641 \u0627\u0644\u062e\u062f\u0645\u0629",PreviousRequests:"\u0627\u0644\u0637\u0644\u0628\u0627\u062a \u0627\u0644\u0633\u0627\u0628\u0642\u0629","Product Implementation":"Product Implementation","Sales Order and Quality Assurance":"Sales Order and Quality Assurance","Billing Support and Contracts":"Billing Support and Contracts","Sales Excellence":"Sales Excellence","Order Engineering and Delivery Management":"Order Engineering and Delivery Management","Third Party Control and Projects":"Third Party Control and Projects","Enterprise Customer Care":"Enterprise Customer Care","Enterprise Account Sales":"Enterprise Account Sales","Government Accounts Sales":"Government Accounts Sales","Marketing Communications":"Marketing Communications","Customer Experience Excellence":"Customer Experience Excellence","Commercial Regulation":"Commercial Regulation","Enterprise Commercial Finance":"Enterprise Commercial Finance","Product Pricing and Profitability":"Product Pricing and Profitability","Data Protection and Privacy":"Data Protection and Privacy","Customer Value Management":"Customer Value Management",termNote1:"1. \u0627\u0644\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0637\u0627\u0644\u0628\u0629 \u0645\u0633\u0626\u0648\u0644\u0629 \u0639\u0646 \u0635\u062d\u0629 \u0627\u0644\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0645\u0631\u0641\u0642\u0629\u060c \u0648\u0627\u0644\u0625\u0634\u0631\u0627\u0641 \u0639\u0644\u0649 \u0627\u0644\u0639\u0645\u0627\u0644\u0629.",termNote2:"2.\t\u064a\u062c\u0628 \u0623\u0646 \u064a\u0643\u0648\u0646 \u0627\u0644\u0639\u0627\u0645\u0644 \u0639\u0644\u0649 \u0643\u0641\u0627\u0644\u0629 \u0627\u0644\u0634\u0631\u0643\u0629 \u0627\u0644\u0645\u0642\u0627\u0648\u0644\u0629 \u060c \u0648\u0641\u064a \u062d\u0627\u0644\u0629 \u0627\u0644\u062a\u0639\u0627\u0642\u062f \u0645\u0646 \u0627\u0644\u0628\u0627\u0637\u0646 \u064a\u062c\u0628 \u0627\u0631\u0641\u0627\u0642 \u0627\u0644\u0639\u0642\u062f \u0628\u064a\u0646 \u0627\u0644\u0637\u0631\u0641\u064a\u0646 \u0645\u0648\u0642\u0639\u0627 \u0648\u0645\u062e\u062a\u0648\u0645\u0627 \u0648\u062d\u062f\u064a\u062b\u0627 \u060c \u0648\u0623\u0646 \u064a\u0643\u0648\u0646 \u0627\u0644\u0639\u0627\u0645\u0644 \u0639\u0644\u0649 \u0643\u0641\u0627\u0644\u0629 \u0627\u0644\u0634\u0631\u0643\u0629 \u0627\u0644\u0645\u062a\u0639\u0627\u0642\u062f \u0645\u0646 \u0627\u0644\u0628\u0627\u0637\u0646 .",termNote3:"3. \u064a\u062c\u0628 \u0623\u0646 \u062a\u0643\u0648\u0646 \u0645\u0647\u0646\u0629 \u0627\u0644\u0639\u0627\u0645\u0644 \u0641\u064a \u0625\u0642\u0627\u0645\u062a\u0647 \u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0645\u0627 \u064a\u0642\u0648\u0645 \u0628\u0647 \u0645\u0646 \u0623\u0639\u0645\u0627\u0644 \u0648\u0628\u0645\u0627 \u064a\u062a\u0648\u0627\u0641\u0642 \u0645\u0639 \u0637\u0628\u064a\u0639\u0629 \u0639\u0645\u0644\u0647",termNote4:"4. \u0628\u0627\u0644\u0646\u0633\u0628\u0629 \u0644\u0644\u0623\u0634\u062e\u0627\u0635 \u0627\u0644\u0630\u064a\u0646 \u064a\u062d\u0636\u0631\u0648\u0646 \u0628\u062a\u0623\u0634\u064a\u0631\u0629 \u0632\u064a\u0627\u0631\u0629 \u064a\u0644\u0632\u0645 \u0627\u0631\u0641\u0627\u0642 \u062a\u0623\u0634\u064a\u0631\u0629 \u0627\u0644\u0632\u064a\u0627\u0631\u0629 \u0633\u0627\u0631\u064a\u0629 \u0627\u0644\u0645\u0641\u0639\u0648\u0644 \u060c \u0645\u0639 \u0625\u0631\u0641\u0627\u0642 \u0645\u0627\u064a\u062b\u0628\u062a \u0627\u0644\u0639\u0644\u0627\u0642\u0629 \u0645\u0639 \u0634\u0631\u0643\u0629 (stc) .\u0625\u0645\u0627 \u0639\u0642\u062f / \u0623\u0648 \u062e\u0637\u0627\u0628 \u0645\u0646 \u0627\u0644\u062c\u0647\u0629 \u0627\u0644\u0637\u0627\u0644\u0628\u0629 \u0645\u0648\u0636\u062d\u0627\u064b \u0645\u0647\u0627\u0645 \u0627\u0644\u0632\u064a\u0627\u0631\u0629 \u0644\u0634\u0631\u0643\u0629 (stc). \u0648\u064a\u0645\u0646\u062d \u0641\u062a\u0631\u0629 \u062a\u0635\u0631\u064a\u062d \u0628\u0645\u062f\u0629 \u0623\u0642\u0627\u0645\u062a\u0647 \u0628\u0627\u0644\u062a\u0623\u0634\u064a\u0631\u0629",termNote5:"5. \u064a\u0645\u0646\u0639 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0628\u0637\u0627\u0642\u0629 \u062a\u0635\u0631\u064a\u062d \u0627\u0644\u062f\u062e\u0648\u0644 \u0645\u0646 \u0642\u0628\u0644 \u0634\u062e\u0635 \u0623\u062e\u0631 \u060c \u0648\u064a\u062c\u0628 \u0625\u0639\u0627\u062f\u062a\u0647\u0627 \u0639\u0646\u062f \u0627\u0644\u0625\u0646\u062a\u0647\u0627\u0621 \u0625\u0644\u0649 \u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0623\u0645\u0646 . \u0648\u0641\u064a \u062d\u0627\u0644 \u0636\u064a\u0627\u0639\u0647\u0627 \u064a\u062c\u0628 \u0625\u0628\u0644\u0627\u063a \u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0623\u0645\u0646 \u0648\u0627\u0644\u0633\u0644\u0627\u0645\u0629 \u0639\u0644\u0649 \u0627\u0644\u0647\u0627\u062a\u0641 8001231616 \u0623\u0648 0114251616 ( \u0627\u0644\u0645\u0631\u0643\u0632 \u0627\u0644\u0631\u0626\u064a\u0633\u064a ). \u062b\u0645 \u064a\u0644\u0632\u0645 \u062a\u0642\u062f\u064a\u0645 \u0637\u0644\u0628 \u062a\u0635\u0631\u064a\u062d \u062f\u062e\u0648\u0644 \u062c\u062f\u064a\u062f \u0644\u064a\u062a\u0645 \u0635\u0631\u0641 \u0628\u0637\u0627\u0642\u0629 \u0628\u062f\u0644 \u0641\u0627\u0642\u062f \u0645\u0639 \u0641\u0631\u0636 \u063a\u0631\u0627\u0645\u0629 \u0645\u0627\u0644\u064a\u0629 500 \u0631\u064a\u0627\u0644 \u0644\u0644\u0645\u0631\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 \u06481000 \u0631\u064a\u0627\u0644 \u0644\u0644\u0645\u0631\u0629 \u0627\u0644\u062b\u0627\u0646\u064a\u0629 \u060c \u0648\u0641\u064a \u0627\u0644\u0645\u0631\u0629 \u0627\u0644\u062b\u0627\u0644\u062b\u0629 \u064a\u0645\u0646\u0639 \u0645\u0646 \u0627\u0644\u062f\u062e\u0648\u0644 \u0648\u064a\u062d\u0627\u0644 \u0644\u0644\u062c\u0647\u0627\u062a \u0627\u0644\u062d\u0643\u0648\u0645\u064a\u0629 \u0630\u0627\u062a \u0627\u0644\u0639\u0644\u0627\u0642\u0629.",termNote6:"6. \u062a\u062a\u062d\u0645\u0644 \u0627\u0644\u0634\u0631\u0643\u0629 \u0627\u0644\u0645\u0642\u0627\u0648\u0644\u0629 \u0643\u0627\u0641\u0629 \u0627\u0644\u062a\u0628\u0639\u0627\u062a \u0627\u0644\u0642\u0627\u0646\u0648\u0646\u064a\u0629 \u0644\u0623\u064a \u0627\u0636\u0631\u0627\u0631 \u064a\u062d\u062f\u062b\u0647\u0627 \u0627\u0644\u0639\u0627\u0645\u0644 \u062f\u0627\u062e\u0644 \u0645\u0648\u0627\u0642\u0639 \u0627\u0644\u0639\u0645\u0644 \u0628\u0634\u0631\u0643\u0629 (stc)",termNote7:"7. \u0646\u0623\u0645\u0644 \u0637\u0628\u0627\u0639\u0629 \u0627\u0644\u0646\u0645\u0648\u0630\u062c (\u0645\u0646 \u0632\u0631 \u0627\u0644\u0637\u0628\u0627\u0639\u0629 \u0623\u0639\u0644\u0649 \u0627\u0644\u0646\u0645\u0648\u0630\u062c) \u0628\u0639\u062f \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u064a\u0647 \u0645\u0646 \u0642\u0628\u0644 \u0634\u0639\u0628\u0629 \u062e\u062f\u0645\u0627\u062a \u0627\u0644\u0628\u0637\u0627\u0642\u0627\u062a\u060c \u0648\u0625\u062d\u0636\u0627\u0631\u0647 \u0639\u0646\u062f \u0627\u0644\u0645\u0631\u0627\u062c\u0639\u0629 \u0644\u064a\u062a\u0645 \u0625\u0635\u062f\u0627\u0631 \u0627\u0644\u0628\u0637\u0627\u0642\u0629",termNote8:"8. \u064a\u0644\u062a\u0632\u0645 \u0627\u0644\u0645\u0642\u0627\u0648\u0644 \u0627\u0644\u0631\u0626\u064a\u0633\u064a \u0648\u0645\u0642\u0627\u0648\u0644\u064a \u0627\u0644\u0628\u0627\u0637\u0646 \u0628\u062a\u0639\u0644\u064a\u0645\u0627\u062a \u0627\u0644\u0623\u0645\u0646 \u0648\u0627\u0644\u0633\u0644\u0627\u0645\u0629 \u0643\u0645\u0627 \u0646\u0635\u062a \u0639\u0644\u0649 \u0630\u0644\u0643 \u0627\u0644\u0639\u0642\u0648\u062f \u0627\u0644\u0645\u0628\u0631\u0645\u0629 \u0645\u0639 \u062c\u0645\u064a\u0639 \u0645\u0642\u0627\u0648\u0644\u064a \u0634\u0631\u0643\u0629 (stc) \u0648\u0627\u0644\u062e\u0636\u0648\u0639 \u0644\u0625\u062c\u0631\u0627\u0621\u0627\u062a \u0627\u0644\u062a\u0641\u062a\u064a\u0634 \u0627\u0644\u062f\u0648\u0631\u064a\u0629 \u0644\u0644\u0645\u0648\u0627\u0642\u0639 \u0645\u0646 \u0642\u0628\u0644 \u0645\u0641\u062a\u0634\u064a \u0627\u0644\u0633\u0644\u0627\u0645\u0629 \u0644\u0644\u062a\u0623\u0643\u062f \u0645\u0646 \u0627\u0644\u0625\u0644\u062a\u0632\u0627\u0645 \u0628\u062a\u0639\u0644\u064a\u0645\u0627\u062a \u0627\u0644\u0633\u0644\u0627\u0645\u0629 \u0648\u0633\u064a\u0627\u0633\u0629 \u0627\u0644\u0639\u0645\u0644 \u0627\u0644\u0622\u0645\u0646 \u0648\u0633\u0648\u0641 \u064a\u062a\u0645 \u062a\u062d\u0631\u064a\u0631 \u0645\u062e\u0627\u0644\u0641\u0627\u062a \u0648\u063a\u0631\u0627\u0645\u0627\u062a \u0645\u0627\u0644\u064a\u0629 \u0641\u064a \u062d\u0627\u0644 \u0648\u062c\u0648\u062f\u0647\u0627 \u0645\u0648\u0636\u062d\u0629 \u0648\u0645\u0648\u0635\u0648\u0641\u0629 \u0628\u0627\u0644\u0642\u064a\u0645 \u0627\u0644\u0645\u0627\u0644\u064a\u0629 \u0639\u0628\u0631 \u0639\u0644\u0627\u0642\u0627\u062a \u0627\u0644\u0645\u0648\u0631\u062f\u064a\u0646 \u0639\u0644\u0649 \u0627\u0644\u0631\u0627\u0628\u0637 :",termNote9:"9. \u062a\u0644\u062a\u0632\u0645 \u0627\u0644\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0637\u0627\u0644\u0628\u0629 \u0628\u062a\u0636\u0645\u064a\u0646 \u0627\u0644\u062a\u0642\u0627\u0631\u064a\u0631 \u0627\u0644\u0641\u0646\u064a\u0629 \u0627\u0644\u0645\u0648\u0635\u064a\u0629 \u0628\u0627\u0644\u0635\u0631\u0641 \u0645\u062e\u0627\u0644\u0641\u0627\u062a \u0627\u0644\u0633\u0644\u0627\u0645\u0629 \u0625\u0646 \u0648\u062c\u062f\u062a \u0648\u062a\u062e\u0635\u0645 \u0645\u0646 \u0627\u0644\u0627\u0633\u062a\u062d\u0642\u0627\u0642 \u0648\u0630\u0644\u0643 \u062a\u0637\u0628\u064a\u0642\u0627\u064b \u0644\u0625\u062c\u0631\u0627\u0621 \u0644\u0627\u0626\u062d\u0629 \u0627\u0644\u063a\u0631\u0627\u0645\u0627\u062a \u0648\u0627\u0644\u062c\u0632\u0627\u0621\u0627\u062a \u0644\u0645\u062e\u0627\u0644\u0641\u0627\u062a \u0627\u0644\u0633\u0644\u0627\u0645\u0629 \u0639\u0644\u0649 \u0627\u0644\u0645\u0642\u0627\u0648\u0644\u064a\u0646",termNote10:"10. \u062a\u0633\u0644\u064a\u0645 \u0628\u0637\u0627\u0642\u0627\u062a \u0627\u0644\u0645\u0631\u0643\u0632 \u0627\u0644\u0631\u0626\u064a\u0633\u064a \u0641\u064a \u0645\u0631\u0643\u0632 \u0625\u0635\u062f\u0627\u0631 \u0627\u0644\u0628\u0637\u0627\u0642\u0627\u062a \u0628\u0648\u0627\u0628\u0629 \u0631\u0642\u0645 3 , \u0623\u0645\u0627 \u0628\u0642\u064a\u0629 \u0627\u0644\u0645\u0646\u0627\u0637\u0642 \u062a\u0633\u0644\u0645 \u0641\u064a \u0625\u062f\u0627\u0631\u0629 \u0623\u0645\u0646 \u0627\u0644\u0645\u0646\u0627\u0637\u0642",termNote11:"11. \u064a\u062a\u0645 \u062a\u0637\u0628\u064a\u0642 \u0644\u0627\u0626\u062d\u0629 \u0627\u0644\u062c\u0632\u0627\u0621\u0627\u062a \u0648\u0627\u0644\u063a\u0631\u0627\u0645\u0627\u062a \u0639\u0644\u0649 \u0627\u0644\u0645\u062e\u0627\u0644\u0641\u064a\u0646 \u062f\u0627\u062e\u0644 \u0645\u0648\u0627\u0642\u0639 STC \u062d\u064a\u062b \u064a\u062a\u0645 \u0625\u064a\u0642\u0627\u0641 \u0627\u0644\u0645\u0631\u0643\u0628\u0627\u062a \u0627\u0644\u0645\u062e\u0627\u0644\u0641\u0629 \u0639\u0646 \u0637\u0631\u064a\u0642 \u0648\u0636\u0639 \u0627\u0644\u0643\u0648\u0627\u0628\u062d \u0639\u0644\u064a\u0647\u0627\u060c \u0648\u062a\u062e\u0644\u064a \u0627\u0644\u0634\u0631\u0643\u0629 \u0645\u0633\u0624\u0648\u0644\u064a\u062a\u0647\u0627 \u0628\u0634\u0643\u0644 \u0643\u0627\u0645\u0644 \u0639\u0646 \u0623\u064a \u0623\u0636\u0631\u0627\u0631 \u064a\u062a\u0633\u0628\u0628 \u0628\u0647\u0627 \u0627\u0644\u0643\u0627\u0628\u062d \u0639\u0646\u062f \u0627\u0644\u062a\u0631\u0643\u064a\u0628 \u0623\u0648 \u0627\u0644\u0641\u0643",messageErrorPhoneNumber:"\u0627\u0644\u0631\u062c\u0627\u0621 \u0627\u062f\u062e\u0627\u0644 \u0631\u0642\u0645 \u062c\u0648\u0627\u0644 \u0635\u062d\u064a\u062d",serviceAgreement:" \u0627\u0644\u0634\u0631\u0648\u0637 \u0648 \u0627\u0644\u0636\u0648\u0627\u0628\u0637",lengthError:"\u0644\u0627 \u064a\u0645\u0643\u0646 \u0623\u062f\u062e\u0627\u0644 \u0623\u0643\u062b\u0631 \u0645\u0646",userAlreadyExist:"\u0647\u0630\u0627 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0645\u0648\u062c\u0648\u062f \u0645\u0633\u0628\u0642\u0627\u064b",INTERNAL:"\u062f\u0627\u062e\u0644\u064a: \u0625\u062a\u0627\u062d\u0629 \u0627\u0644\u0648\u062b\u064a\u0642\u0629/\u0627\u0644\u0633\u062c\u0644 \u0644\u0644\u0625\u0637\u0644\u0627\u0639 \u062f\u0627\u062e\u0644 \u0627\u0644\u0634\u0631\u0643\u0629 \u0641\u0642\u0637",SPECIFIC_OR_CONFIDENTIAL:"\u0645\u062d\u062f\u062f/\u0633\u0631\u064a: \u0646\u0634\u0631 \u0627\u0644\u0648\u062b\u064a\u0642\u0629/\u0627\u0644\u0633\u062c\u0644 \u0628\u0635\u0644\u0627\u062d\u064a\u0629 \u0625\u0637\u0644\u0627\u0639 \u0645\u0642\u0635\u0648\u0631\u0629 \u0639\u0644\u0649: <br> \u0623\u0633\u0645\u0627\u0621 \u0645\u062d\u062f\u062f\u0629 <br> \u0648\u062d\u062f\u0629 \u062a\u0646\u0638\u064a\u0645\u064a\u0629 \u0645\u062d\u062f\u062f\u0629<br> \u0645\u0633\u062a\u0648\u064a\u0627\u062a \u0625\u062f\u0627\u0631\u064a\u0629 \u0645\u062d\u062f\u062f\u0629",AVAILABLE:"\u0645\u062a\u0627\u062d: \u0625\u062a\u0627\u062d\u0629 \u0627\u0644\u0648\u062b\u064a\u0642\u0629/\u0627\u0644\u0633\u062c\u0644 \u0644\u0644\u0625\u0637\u0644\u0627\u0639 \u062f\u0627\u062e\u0644 \u0648 \u062e\u0627\u0631\u062c \u0627\u0644\u0634\u0631\u0643\u0629",other:"\u0622\u062e\u0631",others:"\u0622\u062d\u0631\u0648\u0646",selectAll:"\u0627\u062e\u062a\u0631 \u0627\u0644\u0643\u0644",URGENT:"1 \u064a\u0648\u0645",NORMAL:"3 \u0623\u064a\u0627\u0645",select:"\u0627\u062e\u062a\u0631",addMultiAttachments:"\u0625\u0636\u0627\u0641\u0629 \u0623\u0643\u062b\u0631 \u0645\u0646 \u0645\u0644\u0641",welcome:"\u0645\u0631\u062d\u0628\u0627 ",logout:"\u062a\u0633\u062c\u064a\u0644 \u062e\u0631\u0648\u062c",otherLang:"English",flagStatusUpdated:"\u062a\u0645 \u0627\u0644\u062a\u062d\u062f\u064a\u062b \u0628\u0646\u062c\u0627\u062d",AllRequests:"\u0639\u062f\u062f \u0627\u0644\u0637\u0644\u0628\u0627\u062a",clear:"\u0645\u0633\u062d",applyFilters:"\u062a\u0635\u0641\u064a\u0629",filters:"\u062a\u0635\u0641\u064a\u0629",month:"\u0627\u0644\u0634\u0647\u0631",year:"\u0627\u0644\u0633\u0646\u0629",status:"\u0627\u0644\u062d\u0627\u0644\u0629",downloadAll:"\u062a\u062d\u0645\u064a\u0644 \u062c\u0645\u064a\u0639 \u0627\u0644\u0645\u0631\u0641\u0642\u0627\u062a",startDate:"\u062a\u0627\u0631\u064a\u062e \u0627\u0644\u0628\u062f\u0627\u064a\u0629",endDate:"\u062a\u0627\u0631\u064a\u062e \u0627\u0644\u0646\u0647\u0627\u064a\u0629",textArea:"\u062e\u0627\u0646\u0629 \u0627\u0644\u0646\u0635",enter:"\u0627\u062f\u062e\u0644"};let Pa=(()=>{class s{coreLocales;language;constructor(){this.language=window.wmConfig.language,this.coreLocales={en:Na,ar:Im}}transform(t){let r=null;try{r=this.coreLocales[this.language][t]}catch{r=null}return r||t}getLanguage(){return this.language}static \u0275fac=function(r){return new(r||s)};static \u0275pipe=i.EJ8({name:"translate",type:s,pure:!0})}return s})();const bE={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Nf(s){return(a={})=>{const t=a.width?String(a.width):s.defaultWidth;return s.formats[t]||s.formats[s.defaultWidth]}}const ib={date:Nf({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Nf({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Nf({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},xm={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ud(s){return(a,t)=>{let c;if("formatting"===(t?.context?String(t.context):"standalone")&&s.formattingValues){const g=s.defaultFormattingWidth||s.defaultWidth,D=t?.width?String(t.width):g;c=s.formattingValues[D]||s.formattingValues[g]}else{const g=s.defaultWidth,D=t?.width?String(t.width):s.defaultWidth;c=s.values[D]||s.values[g]}return c[s.argumentCallback?s.argumentCallback(a):a]}}const ob={ordinalNumber:(s,a)=>{const t=Number(s),r=t%100;if(r>20||r<10)switch(r%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:ud({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ud({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:s=>s-1}),month:ud({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ud({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ud({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function kl(s){return(a,t={})=>{const r=t.width,f=a.match(r&&s.matchPatterns[r]||s.matchPatterns[s.defaultMatchWidth]);if(!f)return null;const g=f[0],D=r&&s.parsePatterns[r]||s.parsePatterns[s.defaultParseWidth],x=Array.isArray(D)?function fd(s,a){for(let t=0;t<s.length;t++)if(a(s[t]))return t}(D,de=>de.test(g)):function TE(s,a){for(const t in s)if(Object.prototype.hasOwnProperty.call(s,t)&&a(s[t]))return t}(D,de=>de.test(g));let G;return G=s.valueCallback?s.valueCallback(x):x,G=t.valueCallback?t.valueCallback(G):G,{value:G,rest:a.slice(g.length)}}}const Rm={ordinalNumber:function Lf(s){return(a,t={})=>{const r=a.match(s.matchPattern);if(!r)return null;const c=r[0],f=a.match(s.parsePattern);if(!f)return null;let g=s.valueCallback?s.valueCallback(f[0]):f[0];return g=t.valueCallback?t.valueCallback(g):g,{value:g,rest:a.slice(c.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:s=>parseInt(s,10)}),era:kl({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:kl({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:s=>s+1}),month:kl({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:kl({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:kl({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},kE={code:"en-US",formatDistance:(s,a,t)=>{let r;const c=bE[s];return r="string"==typeof c?c:1===a?c.one:c.other.replace("{{count}}",a.toString()),t?.addSuffix?t.comparison&&t.comparison>0?"in "+r:r+" ago":r},formatLong:ib,formatRelative:(s,a,t,r)=>xm[s],localize:ob,match:Rm,options:{weekStartsOn:0,firstWeekContainsDate:1}};let db={};function Bf(){return db}Math.pow(10,8);const ub=6048e5,mb=Symbol.for("constructDateFrom");function Us(s,a){return"function"==typeof s?s(a):s&&"object"==typeof s&&mb in s?s[mb](a):s instanceof Date?new s.constructor(a):new Date(a)}function lr(s,a){return Us(a||s,s)}function La(s){const a=lr(s),t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),+s-+t}function Fm(s,a){const t=lr(s,a?.in);return t.setHours(0,0,0,0),t}function UE(s,a){const t=lr(s,a?.in);return function pd(s,a,t){const[r,c]=function jE(s,...a){const t=Us.bind(null,s||a.find(r=>"object"==typeof r));return a.map(t)}(t?.in,s,a),f=Fm(r),g=Fm(c),D=+f-La(f),x=+g-La(g);return Math.round((D-x)/864e5)}(t,function $E(s,a){const t=lr(s,a?.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}(t))+1}function cr(s,a){const t=Bf(),r=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??t.weekStartsOn??t.locale?.options?.weekStartsOn??0,c=lr(s,a?.in),f=c.getDay(),g=(f<r?7:0)+f-r;return c.setDate(c.getDate()-g),c.setHours(0,0,0,0),c}function md(s,a){return cr(s,{...a,weekStartsOn:1})}function vb(s,a){const t=lr(s,a?.in),r=t.getFullYear(),c=Us(t,0);c.setFullYear(r+1,0,4),c.setHours(0,0,0,0);const f=md(c),g=Us(t,0);g.setFullYear(r,0,4),g.setHours(0,0,0,0);const D=md(g);return t.getTime()>=f.getTime()?r+1:t.getTime()>=D.getTime()?r:r-1}function Uf(s,a){const t=lr(s,a?.in),r=t.getFullYear(),c=Bf(),f=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,g=Us(a?.in||s,0);g.setFullYear(r+1,0,f),g.setHours(0,0,0,0);const D=cr(g,a),x=Us(a?.in||s,0);x.setFullYear(r,0,f),x.setHours(0,0,0,0);const G=cr(x,a);return+t>=+D?r+1:+t>=+G?r:r-1}function Sn(s,a){return(s<0?"-":"")+Math.abs(s).toString().padStart(a,"0")}const zs={y(s,a){const t=s.getFullYear(),r=t>0?t:1-t;return Sn("yy"===a?r%100:r,a.length)},M(s,a){const t=s.getMonth();return"M"===a?String(t+1):Sn(t+1,2)},d:(s,a)=>Sn(s.getDate(),a.length),a(s,a){const t=s.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];default:return"am"===t?"a.m.":"p.m."}},h:(s,a)=>Sn(s.getHours()%12||12,a.length),H:(s,a)=>Sn(s.getHours(),a.length),m:(s,a)=>Sn(s.getMinutes(),a.length),s:(s,a)=>Sn(s.getSeconds(),a.length),S(s,a){const t=a.length,r=s.getMilliseconds();return Sn(Math.trunc(r*Math.pow(10,t-3)),a.length)}},Cb={G:function(s,a,t){const r=s.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return t.era(r,{width:"abbreviated"});case"GGGGG":return t.era(r,{width:"narrow"});default:return t.era(r,{width:"wide"})}},y:function(s,a,t){if("yo"===a){const r=s.getFullYear();return t.ordinalNumber(r>0?r:1-r,{unit:"year"})}return zs.y(s,a)},Y:function(s,a,t,r){const c=Uf(s,r),f=c>0?c:1-c;return"YY"===a?Sn(f%100,2):"Yo"===a?t.ordinalNumber(f,{unit:"year"}):Sn(f,a.length)},R:function(s,a){return Sn(vb(s),a.length)},u:function(s,a){return Sn(s.getFullYear(),a.length)},Q:function(s,a,t){const r=Math.ceil((s.getMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return Sn(r,2);case"Qo":return t.ordinalNumber(r,{unit:"quarter"});case"QQQ":return t.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(r,{width:"narrow",context:"formatting"});default:return t.quarter(r,{width:"wide",context:"formatting"})}},q:function(s,a,t){const r=Math.ceil((s.getMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return Sn(r,2);case"qo":return t.ordinalNumber(r,{unit:"quarter"});case"qqq":return t.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(r,{width:"narrow",context:"standalone"});default:return t.quarter(r,{width:"wide",context:"standalone"})}},M:function(s,a,t){const r=s.getMonth();switch(a){case"M":case"MM":return zs.M(s,a);case"Mo":return t.ordinalNumber(r+1,{unit:"month"});case"MMM":return t.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(r,{width:"narrow",context:"formatting"});default:return t.month(r,{width:"wide",context:"formatting"})}},L:function(s,a,t){const r=s.getMonth();switch(a){case"L":return String(r+1);case"LL":return Sn(r+1,2);case"Lo":return t.ordinalNumber(r+1,{unit:"month"});case"LLL":return t.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(r,{width:"narrow",context:"standalone"});default:return t.month(r,{width:"wide",context:"standalone"})}},w:function(s,a,t,r){const c=function yb(s,a){const t=lr(s,a?.in),r=+cr(t,a)-+function Bm(s,a){const t=Bf(),r=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??t.firstWeekContainsDate??t.locale?.options?.firstWeekContainsDate??1,c=Uf(s,a),f=Us(a?.in||s,0);return f.setFullYear(c,0,r),f.setHours(0,0,0,0),cr(f,a)}(t,a);return Math.round(r/ub)+1}(s,r);return"wo"===a?t.ordinalNumber(c,{unit:"week"}):Sn(c,a.length)},I:function(s,a,t){const r=function Hs(s,a){const t=lr(s,a?.in),r=+md(t)-+function D1(s,a){const t=vb(s,a),r=Us(a?.in||s,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),md(r)}(t);return Math.round(r/ub)+1}(s);return"Io"===a?t.ordinalNumber(r,{unit:"week"}):Sn(r,a.length)},d:function(s,a,t){return"do"===a?t.ordinalNumber(s.getDate(),{unit:"date"}):zs.d(s,a)},D:function(s,a,t){const r=UE(s);return"Do"===a?t.ordinalNumber(r,{unit:"dayOfYear"}):Sn(r,a.length)},E:function(s,a,t){const r=s.getDay();switch(a){case"E":case"EE":case"EEE":return t.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(r,{width:"short",context:"formatting"});default:return t.day(r,{width:"wide",context:"formatting"})}},e:function(s,a,t,r){const c=s.getDay(),f=(c-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(f);case"ee":return Sn(f,2);case"eo":return t.ordinalNumber(f,{unit:"day"});case"eee":return t.day(c,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(c,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(c,{width:"short",context:"formatting"});default:return t.day(c,{width:"wide",context:"formatting"})}},c:function(s,a,t,r){const c=s.getDay(),f=(c-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(f);case"cc":return Sn(f,a.length);case"co":return t.ordinalNumber(f,{unit:"day"});case"ccc":return t.day(c,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(c,{width:"narrow",context:"standalone"});case"cccccc":return t.day(c,{width:"short",context:"standalone"});default:return t.day(c,{width:"wide",context:"standalone"})}},i:function(s,a,t){const r=s.getDay(),c=0===r?7:r;switch(a){case"i":return String(c);case"ii":return Sn(c,a.length);case"io":return t.ordinalNumber(c,{unit:"day"});case"iii":return t.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(r,{width:"short",context:"formatting"});default:return t.day(r,{width:"wide",context:"formatting"})}},a:function(s,a,t){const c=s.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(c,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(c,{width:"narrow",context:"formatting"});default:return t.dayPeriod(c,{width:"wide",context:"formatting"})}},b:function(s,a,t){const r=s.getHours();let c;switch(c=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",a){case"b":case"bb":return t.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(c,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(c,{width:"narrow",context:"formatting"});default:return t.dayPeriod(c,{width:"wide",context:"formatting"})}},B:function(s,a,t){const r=s.getHours();let c;switch(c=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",a){case"B":case"BB":case"BBB":return t.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(c,{width:"narrow",context:"formatting"});default:return t.dayPeriod(c,{width:"wide",context:"formatting"})}},h:function(s,a,t){if("ho"===a){let r=s.getHours()%12;return 0===r&&(r=12),t.ordinalNumber(r,{unit:"hour"})}return zs.h(s,a)},H:function(s,a,t){return"Ho"===a?t.ordinalNumber(s.getHours(),{unit:"hour"}):zs.H(s,a)},K:function(s,a,t){const r=s.getHours()%12;return"Ko"===a?t.ordinalNumber(r,{unit:"hour"}):Sn(r,a.length)},k:function(s,a,t){let r=s.getHours();return 0===r&&(r=24),"ko"===a?t.ordinalNumber(r,{unit:"hour"}):Sn(r,a.length)},m:function(s,a,t){return"mo"===a?t.ordinalNumber(s.getMinutes(),{unit:"minute"}):zs.m(s,a)},s:function(s,a,t){return"so"===a?t.ordinalNumber(s.getSeconds(),{unit:"second"}):zs.s(s,a)},S:function(s,a){return zs.S(s,a)},X:function(s,a,t){const r=s.getTimezoneOffset();if(0===r)return"Z";switch(a){case"X":return Db(r);case"XXXX":case"XX":return Gs(r);default:return Gs(r,":")}},x:function(s,a,t){const r=s.getTimezoneOffset();switch(a){case"x":return Db(r);case"xxxx":case"xx":return Gs(r);default:return Gs(r,":")}},O:function(s,a,t){const r=s.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+wb(r,":");default:return"GMT"+Gs(r,":")}},z:function(s,a,t){const r=s.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+wb(r,":");default:return"GMT"+Gs(r,":")}},t:function(s,a,t){return Sn(Math.trunc(+s/1e3),a.length)},T:function(s,a,t){return Sn(+s,a.length)}};function wb(s,a=""){const t=s>0?"-":"+",r=Math.abs(s),c=Math.trunc(r/60),f=r%60;return 0===f?t+String(c):t+String(c)+a+Sn(f,2)}function Db(s,a){return s%60==0?(s>0?"-":"+")+Sn(Math.abs(s)/60,2):Gs(s,a)}function Gs(s,a=""){const t=s>0?"-":"+",r=Math.abs(s);return t+Sn(Math.trunc(r/60),2)+a+Sn(r%60,2)}const Vm=(s,a)=>{switch(s){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});default:return a.date({width:"full"})}},jm=(s,a)=>{switch(s){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});default:return a.time({width:"full"})}},zE={p:jm,P:(s,a)=>{const t=s.match(/(P+)(p+)?/)||[],r=t[1],c=t[2];if(!c)return Vm(s,a);let f;switch(r){case"P":f=a.dateTime({width:"short"});break;case"PP":f=a.dateTime({width:"medium"});break;case"PPP":f=a.dateTime({width:"long"});break;default:f=a.dateTime({width:"full"})}return f.replace("{{date}}",Vm(r,a)).replace("{{time}}",jm(c,a))}},GE=/^D+$/,WE=/^Y+$/,XE=["D","DD","YY","YYYY"];const qE=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,YE=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ZE=/^'([^]*?)'?$/,vd=/''/g,JE=/[a-zA-Z]/;function yd(s,a,t){const r=Bf(),c=t?.locale??r.locale??kE,f=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,g=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,D=lr(s,t?.in);if(!function KE(s){return!(!function Mb(s){return s instanceof Date||"object"==typeof s&&"[object Date]"===Object.prototype.toString.call(s)}(s)&&"number"!=typeof s||isNaN(+lr(s)))}(D))throw new RangeError("Invalid time value");let x=a.match(YE).map(J=>{const de=J[0];return"p"===de||"P"===de?(0,zE[de])(J,c.formatLong):J}).join("").match(qE).map(J=>{if("''"===J)return{isToken:!1,value:"'"};const de=J[0];if("'"===de)return{isToken:!1,value:Hf(J)};if(Cb[de])return{isToken:!0,value:J};if(de.match(JE))throw new RangeError("Format string contains an unescaped latin alphabet character `"+de+"`");return{isToken:!1,value:J}});c.localize.preprocessor&&(x=c.localize.preprocessor(D,x));const G={firstWeekContainsDate:f,weekStartsOn:g,locale:c};return x.map(J=>{if(!J.isToken)return J.value;const de=J.value;return(!t?.useAdditionalWeekYearTokens&&function S1(s){return WE.test(s)}(de)||!t?.useAdditionalDayOfYearTokens&&function QE(s){return GE.test(s)}(de))&&function Eb(s,a,t){const r=function Sb(s,a,t){const r="Y"===s[0]?"years":"days of the month";return`Use \`${s.toLowerCase()}\` instead of \`${s}\` (in \`${a}\`) for formatting ${r} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(s,a,t);if(console.warn(r),XE.includes(s))throw new RangeError(r)}(de,a,String(s)),(0,Cb[de[0]])(D,de,c.localize,G)}).join("")}function Hf(s){const a=s.match(ZE);return a?a[1].replace(vd,"'"):s}let ii=(()=>{class s{coreLocales;language;constructor(){this.language=window.wmConfig.language,this.coreLocales={en:Na,ar:Im}}translate(t){let r=null;try{r=this.coreLocales[this.language][t]}catch{r=null}return r||t}getLanguage(){return this.language}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"any"})}return s})();const $m=s=>({"flex-grow-1":s}),bd=s=>({breakLine:s});function Um(s,a){if(1&s&&(i.j41(0,"span",1),i.EFF(1),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.JRh(t.label)}}function Tb(s,a){1&s&&i.nrm(0,"span")}function eS(s,a){if(1&s&&(i.j41(0,"div",10)(1,"div",11),i.nrm(2,"img",12),i.k0s(),i.j41(3,"div",13)(4,"h6",14),i.EFF(5),i.k0s(),i.j41(6,"span",15),i.EFF(7),i.k0s()()()),2&s){const t=i.XpG(2);i.R7$(2),i.Y8G("src",t.getImage(t.value),i.B4B),i.R7$(),i.Y8G("ngClass",i.eq3(4,$m,"delete"===t.actionType)),i.R7$(2),i.JRh(t.name),i.R7$(2),i.JRh(t.value)}}function Ib(s,a){if(1&s&&(i.j41(0,"div",16),i.qex(1),i.j41(2,"div",17),i.nrm(3,"img",12),i.k0s(),i.j41(4,"div",18)(5,"h6",14),i.EFF(6),i.k0s(),i.j41(7,"span",15),i.EFF(8),i.k0s()(),i.bVm(),i.k0s()),2&s){const t=a.$implicit,r=i.XpG(4);i.R7$(3),i.Y8G("src",r.getImage(r.value),i.B4B),i.R7$(),i.Y8G("ngClass",i.eq3(4,$m,"delete"===r.actionType)),i.R7$(2),i.SpI(" ",null==t?null:t.personName,""),i.R7$(2),i.SpI(" ",null==t?null:t.personEmail,"")}}function Hm(s,a){if(1&s&&(i.qex(0),i.Z7z(1,Ib,9,6,"div",16,i.Vm6),i.bVm()),2&s){const t=i.XpG(3);i.R7$(),i.Dyx(t.arrayList)}}function xb(s,a){if(1&s&&i.DNE(0,Hm,3,0,"ng-container"),2&s){const t=i.XpG(2);i.vxM(t.multiple?0:-1)}}function Ab(s,a){if(1&s&&(i.j41(0,"span",9),i.DNE(1,eS,8,6,"div",10)(2,xb,1,1),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.vxM(t.multiple?-1:1),i.R7$(),i.vxM(t.multiple?2:-1)}}function tS(s,a){if(1&s&&(i.j41(0,"span",19),i.nrm(1,"mat-slide-toggle",20),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.Y8G("checked",t.value)}}function nS(s,a){if(1&s&&(i.j41(0,"span",19)(1,"span"),i.EFF(2),i.k0s()()),2&s){const t=i.XpG();i.R7$(2),i.JRh(t.value)}}function iS(s,a){if(1&s&&(i.j41(0,"span",19)(1,"div",10)(2,"bdi"),i.EFF(3),i.k0s()()()),2&s){const t=i.XpG();i.R7$(3),i.JRh(t.value)}}function zm(s,a){if(1&s&&(i.j41(0,"span",19)(1,"span"),i.EFF(2),i.nI1(3,"number"),i.k0s()()),2&s){const t=i.XpG();i.R7$(2),i.JRh(i.i5U(3,1,t.value,"1.2-2"))}}function Gm(s,a){if(1&s&&(i.j41(0,"span"),i.EFF(1),i.k0s()),2&s){const t=i.XpG(2);i.R7$(),i.SpI(" ",t.value," ")}}function Ob(s,a){if(1&s&&(i.j41(0,"span"),i.EFF(1),i.k0s()),2&s){const t=i.XpG(2);i.R7$(),i.SpI(" ",t.value," ")}}function Wm(s,a){if(1&s&&(i.j41(0,"span"),i.EFF(1),i.nI1(2,"date"),i.k0s()),2&s){const t=i.XpG(2);i.R7$(),i.SpI(" ",i.brH(2,1,t.value,"dd/MM/yyyy","GMT+3"),"\n")}}function Xm(s,a){if(1&s&&(i.j41(0,"span"),i.EFF(1),i.nI1(2,"date"),i.nI1(3,"date"),i.k0s()),2&s){const t=i.XpG(2);i.R7$(),i.Lme(" ",i.i5U(2,2,null==t.value?null:t.value.startDate,"dd/MM/yyyy")," - ",i.i5U(3,5,null==t.value?null:t.value.endDate,"dd/MM/yyyy")," ")}}function oS(s,a){if(1&s&&(i.j41(0,"span",19),i.DNE(1,Gm,2,1,"span")(2,Ob,2,1,"span")(3,Wm,3,5,"span")(4,Xm,4,8,"span"),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.vxM("hijri"===t.dateType?1:-1),i.R7$(),i.vxM("yearOnly"===t.dateType?2:-1),i.R7$(),i.vxM("hijri"===t.dateType||"yearOnly"===t.dateType||null!=t.value&&t.value.startDate?-1:3),i.R7$(),i.vxM("hijri"!==t.dateType&&"yearOnly"!==t.dateType&&null!=t.value&&t.value.startDate?4:-1)}}function rS(s,a){if(1&s&&(i.j41(0,"span",19),i.EFF(1),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.SpI(" ",t.value," ")}}function sS(s,a){if(1&s&&(i.j41(0,"span",21)(1,"a",22),i.EFF(2),i.nI1(3,"translate"),i.k0s()()),2&s){const t=i.XpG();i.R7$(),i.Y8G("href",t.value,i.B4B),i.R7$(),i.Lme("",i.bMT(3,3,"View")," ",t.label," ")}}function aS(s,a){if(1&s){const t=i.RV6();i.j41(0,"span",23)(1,"a",24),i.bIt("click",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.viewForm(c.value))}),i.EFF(2),i.k0s()()}if(2&s){const t=i.XpG();i.R7$(2),i.SpI("",t.value," ")}}function Rb(s,a){if(1&s&&(i.j41(0,"span",25),i.EFF(1),i.k0s()),2&s){const t=i.XpG();i.Y8G("ngClass",i.eq3(2,bd,!t.insideTable)),i.R7$(),i.SpI(" ",t.value," ")}}function Qm(s,a){1&s&&(i.j41(0,"span"),i.EFF(1,", "),i.k0s())}function Km(s,a){if(1&s&&(i.j41(0,"span"),i.EFF(1),i.DNE(2,Qm,2,0,"span"),i.k0s()),2&s){const t=a.$implicit,r=a.$index,c=i.XpG(2);i.R7$(),i.SpI("",t.value," "),i.R7$(),i.vxM(r!==c.value.length-1?2:-1)}}function kb(s,a){if(1&s&&(i.j41(0,"span",25),i.Z7z(1,Km,3,2,"span",null,i.Vm6),i.k0s()),2&s){const t=i.XpG();i.Y8G("ngClass",i.eq3(1,bd,!t.insideTable)),i.R7$(),i.Dyx(t.value)}}function Nb(s,a){if(1&s&&(i.j41(0,"span",25),i.EFF(1),i.nI1(2,"date"),i.k0s()),2&s){const t=i.XpG();i.Y8G("ngClass",i.eq3(6,bd,!t.insideTable)),i.R7$(),i.SpI(" ",i.brH(2,2,t.value,"shortTime","GMT+3")," ")}}function Pb(s,a){if(1&s&&i.nrm(0,"span",26),2&s){const t=i.XpG();i.Y8G("ngClass",i.eq3(2,bd,!t.insideTable))("innerHTML",t.value,i.npT)}}let Cd=(()=>{class s{i18n;label;value;name;type="text";dateType;multiple;insideTable;hasLabel=!0;arrayList;actionType;download;constructor(t){this.i18n=t}ngOnInit(){"currency"==this.type&&(this.value=this.value.replaceAll(",",""))}viewForm(t){window.open("/group/i-gate/wm-bpm/forms?formId="+t)}getImage(t){return"/group/i-gate/wm-bpm/forms/-/proxy/portrait?email="+t}getDate(t){return yd(new Date(t),"dd/MM/yyyy")}static \u0275fac=function(r){return new(r||s)(i.rXU(ii))};static \u0275cmp=i.VBU({type:s,selectors:[["app-info-item"]],inputs:{label:"label",value:"value",name:"name",type:"type",dateType:"dateType",multiple:"multiple",insideTable:"insideTable",hasLabel:"hasLabel",arrayList:"arrayList",actionType:"actionType",download:"download"},decls:16,vars:15,consts:[[3,"ngSwitch"],[1,"name"],[4,"ngSwitchCase"],["class","disc mt-2 ",4,"ngSwitchCase"],["class","disc",4,"ngSwitchCase"],["class","disc breakLine fc-coral cursor-pointer",4,"ngSwitchCase"],["class","disc breakLine",4,"ngSwitchCase"],["class","disc ",3,"ngClass",4,"ngSwitchCase"],["class","disc ",3,"ngClass","innerHTML",4,"ngSwitchDefault"],[1,"disc","mt-2"],[1,"d-flex","align-items-center"],[1,"img-card","circled-img","small"],["onerror","this.onerror=null;this.src='assets/images/user.svg';","alt","",3,"src"],[1,"line-height-1","mx-2",3,"ngClass"],[1,"fs-14","fw-bold","fc-onyx","mb-0"],[1,"fs-12","fc-dark-gray"],[1,"d-flex","flex-wrap"],[1,"img-card","circled-img","small","mb-3"],[1,"line-height-1","mx-2","mb-3",3,"ngClass"],[1,"disc"],[3,"checked"],[1,"disc","breakLine","fc-coral","cursor-pointer"],["target","_blank",3,"href"],[1,"disc","breakLine"],[3,"click"],[1,"disc",3,"ngClass"],[1,"disc",3,"ngClass","innerHTML"]],template:function(r,c){1&r&&(i.qex(0,0),i.DNE(1,Um,2,1,"span",1)(2,Tb,1,0,"span",2)(3,Ab,3,2,"span",3)(4,tS,2,1,"span",4)(5,nS,3,1,"span",4)(6,iS,4,1,"span",4)(7,zm,4,4,"span",4)(8,oS,5,4,"span",4)(9,rS,2,1,"span",4)(10,sS,4,5,"span",5)(11,aS,3,1,"span",6)(12,Rb,2,4,"span",7)(13,kb,3,3,"span",7)(14,Nb,3,8,"span",7)(15,Pb,1,4,"span",8),i.bVm()),2&r&&(i.Y8G("ngSwitch",c.type),i.R7$(),i.vxM(c.label?1:-1),i.R7$(),i.Y8G("ngSwitchCase","attach"),i.R7$(),i.Y8G("ngSwitchCase","user-picker"),i.R7$(),i.Y8G("ngSwitchCase","toggle"),i.R7$(),i.Y8G("ngSwitchCase","toggleBtn"),i.R7$(),i.Y8G("ngSwitchCase","telephone"),i.R7$(),i.Y8G("ngSwitchCase","currency"),i.R7$(),i.Y8G("ngSwitchCase","date"),i.R7$(),i.Y8G("ngSwitchCase","dateHijri"),i.R7$(),i.Y8G("ngSwitchCase","link"),i.R7$(),i.Y8G("ngSwitchCase","formIdLink"),i.R7$(),i.Y8G("ngSwitchCase","text"),i.R7$(),i.Y8G("ngSwitchCase","multipleSelect"),i.R7$(),i.Y8G("ngSwitchCase","time"))},dependencies:[Tm,W.e1,W.QX,W.vh,W.YU,W.fG,W.ux,Pa],styles:[".slide-end[_nghost-%COMP%] .disc[_ngcontent-%COMP%]{text-align:end}.user-picker[_nghost-%COMP%]{border-radius:4px;padding:1rem;background-color:var(--light-gray);max-width:320px;width:100%}.user-picker[_nghost-%COMP%] .name[_ngcontent-%COMP%]{display:none}.user-picker[_nghost-%COMP%] .disc[_ngcontent-%COMP%]{width:100%}.name[_ngcontent-%COMP%]{width:270px;font-size:.875rem;font-weight:var(--font-medium);color:var(--dark-gray);margin-bottom:0;display:inline-block}.disc[_ngcontent-%COMP%]{width:calc(100% - 270px);font-size:.875rem;font-weight:var(--font-regular);color:var(--black);display:inline-block}@media (max-width: 768px){.name[_ngcontent-%COMP%], .disc[_ngcontent-%COMP%]{width:100%!important}}.breakLine[_ngcontent-%COMP%]{line-break:anywhere}a[_ngcontent-%COMP%]{color:#0d6efd!important}a[_ngcontent-%COMP%]:hover{cursor:pointer}"]})}return s})();var xr=w(4471);function lS(s,a){if(1&s&&(i.j41(0,"h6",16),i.EFF(1),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.JRh(null==t.profile?null:t.profile.jobPosition)}}function qm(s,a){if(1&s&&(i.j41(0,"div",10),i.nrm(1,"ds-icon",17),i.j41(2,"a",12)(3,"bdi"),i.EFF(4),i.k0s()()()),2&s){const t=i.XpG();i.R7$(2),i.Y8G("href","tel:"+(null==t.profile?null:t.profile.businessPhone),i.B4B),i.R7$(2),i.JRh(null==t.profile?null:t.profile.businessPhone)}}function Fb(s,a){if(1&s&&i.nrm(0,"app-info-item",20),2&s){const t=i.XpG(2);i.Y8G("label",t.i18n.translate("employeeID"))("value",null==t.profile?null:t.profile.employeeNumber)}}function Ym(s,a){if(1&s&&i.nrm(0,"app-info-item",20),2&s){const t=i.XpG(2);i.Y8G("label",t.i18n.translate("departmentName"))("value",null==t.profile?null:t.profile.departmentName)}}function Lb(s,a){if(1&s&&i.nrm(0,"app-info-item",20),2&s){const t=i.XpG(2);i.Y8G("label",t.i18n.translate("generalDepartmentName"))("value",null==t.profile?null:t.profile.generalDepartmentName)}}function Bb(s,a){if(1&s&&i.nrm(0,"app-info-item",20),2&s){const t=i.XpG(2);i.Y8G("label",t.i18n.translate("directManager"))("value",null==t.profile?null:t.profile.directManagerName)}}function Vb(s,a){if(1&s&&i.nrm(0,"app-info-item",20),2&s){const t=i.XpG(2);i.Y8G("label",t.i18n.translate("humanResourcesLocation"))("value",null==t.profile?null:t.profile.humanResourcesLocation)}}function jb(s,a){if(1&s&&i.nrm(0,"app-info-item",20),2&s){const t=i.XpG(2);i.Y8G("label",t.i18n.translate("nationality"))("value",null==t.profile?null:t.profile.nationality)}}function cS(s,a){if(1&s&&i.nrm(0,"app-info-item",20),2&s){const t=i.XpG(2);i.Y8G("label",t.i18n.translate("sector"))("value",null==t.profile?null:t.profile.sectorName)}}function I1(s,a){if(1&s&&(i.j41(0,"div",18),i.DNE(1,Fb,1,2,"app-info-item",19)(2,Ym,1,2,"app-info-item",19)(3,Lb,1,2,"app-info-item",19)(4,Bb,1,2,"app-info-item",19)(5,Vb,1,2,"app-info-item",19)(6,jb,1,2,"app-info-item",19)(7,cS,1,2,"app-info-item",19),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.Y8G("ngIf",null==t.profile?null:t.profile.employeeNumber),i.R7$(),i.Y8G("ngIf",null==t.profile?null:t.profile.departmentName),i.R7$(),i.Y8G("ngIf",null==t.profile?null:t.profile.generalDepartmentName),i.R7$(),i.Y8G("ngIf",null==t.profile?null:t.profile.directManagerName),i.R7$(),i.Y8G("ngIf",null==t.profile?null:t.profile.humanResourcesLocation),i.R7$(),i.Y8G("ngIf",null==t.profile?null:t.profile.nationality),i.R7$(),i.Y8G("ngIf",null==t.profile?null:t.profile.sectorName)}}function x1(s,a){1&s&&(i.qex(0),i.nrm(1,"ds-message",21),i.bVm()),2&s&&(i.R7$(),i.BMQ("label","noData"))}let dS=(()=>{class s{i18n;sidenavService;data;profileFormVisibility;profile;message;close=new i.bkB;constructor(t,r,c){this.i18n=t,this.sidenavService=r,this.data=c,this.profile=r.data}closeSidenav(){this.sidenavService.publish("close",null)}static \u0275fac=function(r){return new(r||s)(i.rXU(ii),i.rXU(xr.S),i.rXU(ml))};static \u0275cmp=i.VBU({type:s,selectors:[["app-profile-section"]],inputs:{profileFormVisibility:"profileFormVisibility"},outputs:{close:"close"},features:[i.Jv_([{provide:ml,useValue:{}}])],decls:20,vars:10,consts:[[1,"main-sidenav"],[1,"sidenav-title","bc-white"],["icon","close",1,"fc-black","fs-20","p-3","cursor-pointer",3,"click"],[1,"sidenav-body","p-0"],[1,"d-flex","flex-column","align-items-center","gap-3","sidenav-user","bc-off-white","text-center"],[1,"mb-2",3,"image"],[1,"d-flex","flex-column","gap-1"],[1,"fs-16","fc-black","fw-medium","mb-0"],["class","fs-12 fc-dark-gray fw-normal mb-0",4,"ngIf"],[1,"d-flex","flex-wrap","gap-2"],[1,"fs-12","fc-black","d-flex","align-items-center","gap-2","box-shadow","bc-white","radius-4","p-2","profile-box"],["icon","mail-o",1,"fc-coral","fs-20"],[1,"fc-black",3,"href"],["class","fs-12 fc-black d-flex align-items-center gap-2 box-shadow bc-white radius-4 p-2 profile-box",4,"ngIf"],["class","info-section no-bg px-4 pb-4",4,"ngIf"],[4,"ngIf"],[1,"fs-12","fc-dark-gray","fw-normal","mb-0"],["icon","phone",1,"fc-coral","fs-20"],[1,"info-section","no-bg","px-4","pb-4"],["class","info-item w-100",3,"label","value",4,"ngIf"],[1,"info-item","w-100",3,"label","value"],["type","emptyList"]],template:function(r,c){1&r&&(i.j41(0,"div",0)(1,"div",1)(2,"h3"),i.EFF(3),i.k0s(),i.j41(4,"ds-icon",2),i.bIt("click",function(){return c.closeSidenav()}),i.k0s()(),i.j41(5,"div",3)(6,"div",4),i.nrm(7,"ds-avatar",5),i.j41(8,"div",6)(9,"h4",7),i.EFF(10),i.k0s(),i.DNE(11,lS,2,1,"h6",8),i.k0s(),i.j41(12,"div",9)(13,"div",10),i.nrm(14,"ds-icon",11),i.j41(15,"a",12),i.EFF(16),i.k0s()(),i.DNE(17,qm,5,2,"div",13),i.k0s()(),i.DNE(18,I1,8,7,"div",14)(19,x1,2,1,"ng-container",15),i.k0s()()),2&r&&(i.R7$(3),i.SpI(" ",null==c.profile?null:c.profile.fullName,""),i.R7$(4),i.Mz_("image","/group/i-gate/wm-bpm/forms/-/proxy/portrait?email=",null==c.profile?null:c.profile.employeeEmail,""),i.R7$(3),i.JRh(null==c.profile?null:c.profile.fullName),i.R7$(),i.Y8G("ngIf",null==c.profile?null:c.profile.jobPosition),i.R7$(4),i.Y8G("href","mailTo:"+(null==c.profile?null:c.profile.employeeEmail),i.B4B),i.R7$(),i.JRh(null==c.profile?null:c.profile.employeeEmail),i.R7$(),i.Y8G("ngIf",null==c.profile?null:c.profile.businessPhone),i.R7$(),i.Y8G("ngIf",(null==c.profile?null:c.profile.departmentName)||(null==c.profile?null:c.profile.generalDepartmentName)||(null==c.profile?null:c.profile.directManagerName)||(null==c.profile?null:c.profile.humanResourcesLocation)||(null==c.profile?null:c.profile.nationality)||(null==c.profile?null:c.profile.generalDepartmentCode)),i.R7$(),i.Y8G("ngIf",!(null!=c.profile&&c.profile.departmentName||null!=c.profile&&c.profile.generalDepartmentName||null!=c.profile&&c.profile.directManagerName||null!=c.profile&&c.profile.humanResourcesLocation||null!=c.profile&&c.profile.nationality||null!=c.profile&&c.profile.generalDepartmentCode)))},dependencies:[Cd,W.bT],styles:["[_nghost-%COMP%] .main-sidenav{width:550px}@media (max-width: 871px){[_nghost-%COMP%] .main-sidenav{width:100vw}}[_nghost-%COMP%] .main-sidenav .sidenav-body .sidenav-user{padding:2.5rem 1.5rem}[_nghost-%COMP%] .main-sidenav .sidenav-body .sidenav-user a{transition:var(--default-transition)}[_nghost-%COMP%] .main-sidenav .sidenav-body .sidenav-user a:hover{text-decoration:underline}[_nghost-%COMP%] .main-sidenav .sidenav-body ds-avatar .avatar{--default-size: 95px}[_nghost-%COMP%] .main-sidenav .sidenav-body .employee-id:hover .copy-icon{opacity:1}[_nghost-%COMP%] .main-sidenav .sidenav-body .employee-id .copy-icon{opacity:0;transition:all .2s linear}[_nghost-%COMP%] .main-sidenav .sidenav-body .profile-box{justify-content:center}@media (min-width: 768px){[_nghost-%COMP%] .main-sidenav .sidenav-body .profile-box{min-width:200px}}[_nghost-%COMP%] .main-sidenav .sidenav-body .info-section>.info-item{padding:1.5rem 0;--info-gap: .5rem}[_nghost-%COMP%] .main-sidenav .sidenav-body .info-section>.info-item.department-code bdi{unicode-bidi:plaintext}[_nghost-%COMP%] .main-sidenav .sidenav-body .info-section>.info-item:not(:last-child){border-bottom:1px solid var(--gray)}[_nghost-%COMP%] .main-sidenav .sidenav-body .info-section>.info-item>.name{--name-width: 100%;--name-fw: var(--font-regular)}[_nghost-%COMP%] .main-sidenav .sidenav-body .info-section>.info-item>.disc{--disc-width: 100%}"]})}return s})();class uS{header;profileInfoDrop;commentsDrop;inboxItem;sections;lovs;messages;confidentialComments;constructor(a,t,r,c,f,g,D,x){this.header=a,this.profileInfoDrop=t,this.commentsDrop=r,this.inboxItem=c,this.sections=f,this.lovs=g,this.messages=D,this.confidentialComments=x}}class $b{requesterName;requesterPhoto;formId;creationDate;status;details;constructor(a,t,r,c,f,g){this.requesterName=a,this.requesterPhoto=t,this.formId=r,this.creationDate=c,this.status=f,this.details=g}}class Ub{onBehalfAuthorized;employeeNumber;employeeEmail;fullName;generalDepartmentName;jobPosition;sectorName;departmentName;generalDepartmentCode;humanResourcesLocation;nationality;businessPhone;directManagerName;seniorSectorName;constructor(a,t,r,c,f,g,D,x,G,J,de,Ce,je,Qe){this.onBehalfAuthorized=a,this.employeeNumber=t,this.employeeEmail=r,this.fullName=c,this.generalDepartmentName=f,this.jobPosition=g,this.sectorName=D,this.departmentName=x,this.generalDepartmentCode=G,this.humanResourcesLocation=J,this.nationality=de,this.businessPhone=Ce,this.directManagerName=je,this.seniorSectorName=Qe}}class fS{profilePicture;employeeName;commentBody;commentDate;attachment;jobPosition;constructor(a,t,r,c,f,g){this.profilePicture=a,this.employeeName=t,this.commentBody=r,this.commentDate=c,this.attachment=f,this.jobPosition=g}}class Hb{id;header;body;constructor(a,t,r){this.id=a,this.header=t,this.body=r}}class zf{processedBy;processingDate;personTo;personToThumbnail;delegatedTo;delegatedToThumbnail;status;hasComments;readOnly;constructor(a,t,r,c,f,g,D,x,G){this.processedBy=a,this.processingDate=t,this.personTo=r,this.personToThumbnail=c,this.delegatedTo=f,this.delegatedToThumbnail=g,this.status=D,this.hasComments=x,this.readOnly=G}}class wd{errorFields;info;warning;error;originalMsgs;constructor(a,t,r,c,f){this.errorFields=a,this.info=t,this.warning=r,this.error=c,this.originalMsgs=f}}class A1{flagPriority;isFlagged;canRequestFeedback;hasFeedback;isPending;isRequested;isResponded;constructor(a,t,r,c,f,g,D){this.flagPriority=a,this.isFlagged=t,this.canRequestFeedback=r,this.hasFeedback=c,this.isPending=f,this.isRequested=g,this.isResponded=D}}let hS=(()=>{class s{_animationMode=(0,i.WQX)(i.bc$,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,c){2&r&&i.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===c.state)("mat-pseudo-checkbox-checked","checked"===c.state)("mat-pseudo-checkbox-disabled",c.disabled)("mat-pseudo-checkbox-minimal","minimal"===c.appearance)("mat-pseudo-checkbox-full","full"===c.appearance)("_mat-animation-noopable","NoopAnimations"===c._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(r,c){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],encapsulation:2,changeDetection:0})}return s})();var O1=w(9046);const R1=["text"],k1=[[["mat-icon"]],"*"],N1=["mat-icon","*"];function P1(s,a){if(1&s&&i.nrm(0,"mat-pseudo-checkbox",1),2&s){const t=i.XpG();i.Y8G("disabled",t.disabled)("state",t.selected?"checked":"unchecked")}}function pS(s,a){if(1&s&&i.nrm(0,"mat-pseudo-checkbox",3),2&s){const t=i.XpG();i.Y8G("disabled",t.disabled)}}function Pl(s,a){if(1&s&&(i.j41(0,"span",4),i.EFF(1),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.SpI("(",t.group.label,")")}}const Fl=new i.nKC("MAT_OPTION_PARENT_COMPONENT"),zb=new i.nKC("MatOptgroup");class Zm{source;isUserInput;constructor(a,t=!1){this.source=a,this.isUserInput=t}}let Jm=(()=>{class s{_element=(0,i.WQX)(i.aKT);_changeDetectorRef=(0,i.WQX)(i.gRc);_parent=(0,i.WQX)(Fl,{optional:!0});group=(0,i.WQX)(zb,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,i.WQX)(Gi).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new i.bkB;_text;_stateChanges=new _t.B;constructor(){const t=(0,i.WQX)(as._);t.load(Af),t.load(O1.Y),this._signalDisableRipple=!!this._parent&&(0,i.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,r){const c=this._getHostElement();"function"==typeof c.focus&&c.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===en.c||t.keyCode===en.S)&&!(0,Co.rp)(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Zm(this,t))}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["mat-option"]],viewQuery:function(r,c){if(1&r&&i.GBs(R1,7),2&r){let f;i.mGM(f=i.lsd())&&(c._text=f.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,c){1&r&&i.bIt("click",function(){return c._selectViaInteraction()})("keydown",function(g){return c._handleKeydown(g)}),2&r&&(i.Mr5("id",c.id),i.BMQ("aria-selected",c.selected)("aria-disabled",c.disabled.toString()),i.AVh("mdc-list-item--selected",c.selected)("mat-mdc-option-multiple",c.multiple)("mat-mdc-option-active",c.active)("mdc-list-item--disabled",c.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",i.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:N1,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(r,c){1&r&&(i.NAR(k1),i.DNE(0,P1,1,2,"mat-pseudo-checkbox",1),i.SdG(1),i.j41(2,"span",2,0),i.SdG(4,1),i.k0s(),i.DNE(5,pS,1,1,"mat-pseudo-checkbox",3)(6,Pl,2,1,"span",4),i.nrm(7,"div",5)),2&r&&(i.vxM(c.multiple?0:-1),i.R7$(5),i.vxM(c.multiple||!c.selected||c.hideSingleSelectionIndicator?-1:5),i.R7$(),i.vxM(c.group&&c.group._inert?6:-1),i.R7$(),i.Y8G("matRippleTrigger",c._getHostElement())("matRippleDisabled",c.disabled||c.disableRipple))},dependencies:[hS,ka],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return s})();var Dd=w(8141),gS=w(152);class tg{_letterKeyStream=new _t.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new _t.B;selectedItem=this._selectedItem;constructor(a,t){const r="number"==typeof t?.debounceInterval?t.debounceInterval:200;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(a),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(a){this._selectedItemIndex=a}setItems(a){this._items=a}handleKey(a){const t=a.keyCode;a.key&&1===a.key.length?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(t>=en.A&&t<=en.Z||t>=en.b&&t<=en.N)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(a){this._letterKeyStream.pipe((0,Dd.M)(t=>this._pressedLetters.push(t)),(0,gS.B)(a),(0,ae.p)(()=>this._pressedLetters.length>0),(0,ze.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let r=1;r<this._items.length+1;r++){const f=this._items[(this._selectedItemIndex+r)%this._items.length];if(!this._skipPredicateFn?.(f)&&0===f.getLabel?.().toLocaleUpperCase().trim().indexOf(t)){this._selectedItem.next(f);break}}this._pressedLetters=[]})}}class Gb{_items;_activeItemIndex=-1;_activeItem=(0,i.vPA)(null);_wrap=!1;_typeaheadSubscription=ro.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=a=>a.disabled;constructor(a,t){this._items=a,a instanceof i.rOR?this._itemChangesSubscription=a.changes.subscribe(r=>this._itemsChanged(r.toArray())):(0,i.Hps)(a)&&(this._effectRef=(0,i.QZP)(()=>this._itemsChanged(a()),{injector:t}))}tabOut=new _t.B;change=new _t.B;skipPredicate(a){return this._skipPredicateFn=a,this}withWrap(a=!0){return this._wrap=a,this}withVerticalOrientation(a=!0){return this._vertical=a,this}withHorizontalOrientation(a){return this._horizontal=a,this}withAllowedModifierKeys(a){return this._allowedModifierKeys=a,this}withTypeAhead(a=200){this._typeaheadSubscription.unsubscribe();const t=this._getItemsArray();return this._typeahead=new tg(t,{debounceInterval:"number"==typeof a?a:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(a=!0){return this._homeAndEnd=a,this}withPageUpDown(a=!0,t=10){return this._pageUpAndDown={enabled:a,delta:t},this}setActiveItem(a){const t=this._activeItem();this.updateActiveItem(a),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(a){const t=a.keyCode,c=["altKey","ctrlKey","metaKey","shiftKey"].every(f=>!a[f]||this._allowedModifierKeys.indexOf(f)>-1);switch(t){case en.T:return void this.tabOut.next();case en.D:if(this._vertical&&c){this.setNextItemActive();break}return;case en.U:if(this._vertical&&c){this.setPreviousItemActive();break}return;case en.R:if(this._horizontal&&c){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case en.L:if(this._horizontal&&c){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case en.H:if(this._homeAndEnd&&c){this.setFirstItemActive();break}return;case en.E:if(this._homeAndEnd&&c){this.setLastItemActive();break}return;case en.a:if(this._pageUpAndDown.enabled&&c){const f=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(f>0?f:0,1);break}return;case en.P:if(this._pageUpAndDown.enabled&&c){const f=this._activeItemIndex+this._pageUpAndDown.delta,g=this._getItemsArray().length;this._setActiveItemByIndex(f<g?f:g-1,-1);break}return;default:return void((c||(0,Co.rp)(a,"shiftKey"))&&this._typeahead?.handleKey(a))}this._typeahead?.reset(),a.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(a){const t=this._getItemsArray(),r="number"==typeof a?a:t.indexOf(a);this._activeItem.set(t[r]??null),this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)}_setActiveInWrapMode(a){const t=this._getItemsArray();for(let r=1;r<=t.length;r++){const c=(this._activeItemIndex+a*r+t.length)%t.length;if(!this._skipPredicateFn(t[c]))return void this.setActiveItem(c)}}_setActiveInDefaultMode(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)}_setActiveItemByIndex(a,t){const r=this._getItemsArray();if(r[a]){for(;this._skipPredicateFn(r[a]);)if(!r[a+=t])return;this.setActiveItem(a)}}_getItemsArray(){return(0,i.Hps)(this._items)?this._items():this._items instanceof i.rOR?this._items.toArray():this._items}_itemsChanged(a){this._typeahead?.setItems(a);const t=this._activeItem();if(t){const r=a.indexOf(t);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}}}class Wb extends Gb{setActiveItem(a){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(a),this.activeItem&&this.activeItem.setActiveStyles()}}var Gf=w(4402);function Wf(s,a,t){const r=Xb(s,a);t=t.trim(),!r.some(c=>c.trim()===t)&&(r.push(t),s.setAttribute(a,r.join(" ")))}function Ed(s,a,t){const r=Xb(s,a);t=t.trim();const c=r.filter(f=>f!==t);c.length?s.setAttribute(a,c.join(" ")):s.removeAttribute(a)}function Xb(s,a){return s.getAttribute(a)?.match(/\S+/g)??[]}class qb extends Dr.a{_focusTrapManager;_inertStrategy;get enabled(){return this._enabled}set enabled(a){this._enabled=a,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(a,t,r,c,f,g,D,x){super(a,t,r,c,D.defer,x),this._focusTrapManager=f,this._inertStrategy=g,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}class Yb{_listener=null;preventFocus(a){this._listener&&a._document.removeEventListener("focus",this._listener,!0),this._listener=t=>this._trapFocus(a,t),a._ngZone.runOutsideAngular(()=>{a._document.addEventListener("focus",this._listener,!0)})}allowFocus(a){this._listener&&(a._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(a,t){const r=t.target,c=a._element;r&&!c.contains(r)&&!r.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{a.enabled&&!c.contains(a._document.activeElement)&&a.focusFirstTabbableElement()})}}const Zb=new i.nKC("FOCUS_TRAP_INERT_STRATEGY");let Xf=(()=>{class s{_focusTrapStack=[];register(t){this._focusTrapStack=this._focusTrapStack.filter(c=>c!==t);let r=this._focusTrapStack;r.length&&r[r.length-1]._disable(),r.push(t),t._enable()}deregister(t){t._disable();const r=this._focusTrapStack,c=r.indexOf(t);-1!==c&&(r.splice(c,1),r.length&&r[r.length-1]._enable())}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),ES=(()=>{class s{_checker=(0,i.WQX)(Dr.I);_ngZone=(0,i.WQX)(i.SKi);_focusTrapManager=(0,i.WQX)(Xf);_document=(0,i.WQX)(A.q);_inertStrategy;_injector=(0,i.WQX)(i.zZn);constructor(){const t=(0,i.WQX)(Zb,{optional:!0});this._inertStrategy=t||new Yb}create(t,r={defer:!1}){let c;return c="boolean"==typeof r?{defer:r}:r,new qb(t,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c,this._injector)}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();var SS=w(2476);var TS=w(3236),IS=w(8793),rg=w(5343),AS=w(3703);function Jb(s,a){return a?t=>(0,IS.x)(a.pipe((0,Do.s)(1),function xS(){return(0,Wu.N)((s,a)=>{s.subscribe((0,Uc._)(a,rg.l))})}()),t.pipe(Jb(s))):(0,On.Z)((t,r)=>(0,tf.Tg)(s(t,r)).pipe((0,Do.s)(1),(0,AS.u)(t)))}var OS=w(1584),lo=w(5254),tC=w(2771),sg=w(7707);function Qf(s,a,...t){if(!0===a)return void s();if(!1===a)return;const r=new sg.Ms({next:()=>{r.unsubscribe(),s()}});return(0,tf.Tg)(a(...t)).subscribe(r)}function nC(s,a,t){let r,c=!1;return s&&"object"==typeof s?({bufferSize:r=1/0,windowTime:a=1/0,refCount:c=!1,scheduler:t}=s):r=s??1/0,function ag(s={}){const{connector:a=()=>new _t.B,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:c=!0}=s;return f=>{let g,D,x,G=0,J=!1,de=!1;const Ce=()=>{D?.unsubscribe(),D=void 0},je=()=>{Ce(),g=x=void 0,J=de=!1},Qe=()=>{const Xe=g;je(),Xe?.unsubscribe()};return(0,Wu.N)((Xe,rt)=>{G++,!de&&!J&&Ce();const Vt=x=x??a();rt.add(()=>{G--,0===G&&!de&&!J&&(D=Qf(Qe,c))}),Vt.subscribe(rt),!g&&G>0&&(g=new sg.Ms({next:on=>Vt.next(on),error:on=>{de=!0,Ce(),D=Qf(je,t,on),Vt.error(on)},complete:()=>{J=!0,Ce(),D=Qf(je,r),Vt.complete()}}),(0,tf.Tg)(Xe).subscribe(g))})(f)}}({connector:()=>new tC.m(r,a,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}class iC{_box;_destroyed=new _t.B;_resizeSubject=new _t.B;_resizeObserver;_elementObservables=new Map;constructor(a){this._box=a,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(a){return this._elementObservables.has(a)||this._elementObservables.set(a,new ye.c(t=>{const r=this._resizeSubject.subscribe(t);return this._resizeObserver?.observe(a,{box:this._box}),()=>{this._resizeObserver?.unobserve(a),r.unsubscribe(),this._elementObservables.delete(a)}}).pipe((0,ae.p)(t=>t.some(r=>r.target===a)),nC({bufferSize:1,refCount:!0}),(0,zi.Q)(this._destroyed))),this._elementObservables.get(a)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Kf=(()=>{class s{_cleanupErrorListener;_observers=new Map;_ngZone=(0,i.WQX)(i.SKi);constructor(){}ngOnDestroy(){for(const[,t]of this._observers)t.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(t,r){const c=r?.box||"content-box";return this._observers.has(c)||this._observers.set(c,new iC(c)),this._observers.get(c).observe(t)}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();const kS=["notch"],NS=["matFormFieldNotchedOutline",""],lg=["*"],PS=["textField"],Ar=["iconPrefixContainer"],Sd=["textPrefixContainer"],Hn=["iconSuffixContainer"],Ba=["textSuffixContainer"],qf=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Go=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function FS(s,a){1&s&&i.nrm(0,"span",20)}function Md(s,a){if(1&s&&(i.j41(0,"label",19),i.SdG(1,1),i.DNE(2,FS,1,0,"span",20),i.k0s()),2&s){const t=i.XpG(2);i.Y8G("floating",t._shouldLabelFloat())("monitorResize",t._hasOutline())("id",t._labelId),i.BMQ("for",t._control.disableAutomaticLabeling?null:t._control.id),i.R7$(2),i.vxM(!t.hideRequiredMarker&&t._control.required?2:-1)}}function cg(s,a){if(1&s&&i.DNE(0,Md,3,5,"label",19),2&s){const t=i.XpG();i.vxM(t._hasFloatingLabel()?0:-1)}}function oC(s,a){1&s&&i.nrm(0,"div",7)}function rC(s,a){}function LS(s,a){if(1&s&&i.DNE(0,rC,0,0,"ng-template",13),2&s){i.XpG(2);const t=i.sdS(1);i.Y8G("ngTemplateOutlet",t)}}function BS(s,a){if(1&s&&(i.j41(0,"div",9),i.DNE(1,LS,1,1,null,13),i.k0s()),2&s){const t=i.XpG();i.Y8G("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat()),i.R7$(),i.vxM(t._forceDisplayInfixLabel()?-1:1)}}function Yf(s,a){1&s&&(i.j41(0,"div",10,2),i.SdG(2,2),i.k0s())}function VS(s,a){1&s&&(i.j41(0,"div",11,3),i.SdG(2,3),i.k0s())}function jS(s,a){}function $S(s,a){if(1&s&&i.DNE(0,jS,0,0,"ng-template",13),2&s){i.XpG();const t=i.sdS(1);i.Y8G("ngTemplateOutlet",t)}}function Zf(s,a){1&s&&(i.j41(0,"div",14,4),i.SdG(2,4),i.k0s())}function sC(s,a){1&s&&(i.j41(0,"div",15,5),i.SdG(2,5),i.k0s())}function US(s,a){1&s&&i.nrm(0,"div",16)}function HS(s,a){1&s&&i.SdG(0,6)}function $1(s,a){if(1&s&&(i.j41(0,"mat-hint",21),i.EFF(1),i.k0s()),2&s){const t=i.XpG(2);i.Y8G("id",t._hintLabelId),i.R7$(),i.JRh(t.hintLabel)}}function zS(s,a){if(1&s&&(i.DNE(0,$1,2,2,"mat-hint",21),i.SdG(1,7),i.nrm(2,"div",22),i.SdG(3,8)),2&s){const t=i.XpG();i.vxM(t.hintLabel?0:-1)}}let Td=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["mat-label"]]})}return s})();const aC=new i.nKC("MatError");let Or=(()=>{class s{id=(0,i.WQX)(Gi).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(r,c){2&r&&i.Mr5("id",c.id)},inputs:{id:"id"},features:[i.Jv_([{provide:aC,useExisting:s}])]})}return s})(),Jf=(()=>{class s{align="start";id=(0,i.WQX)(Gi).getId("mat-mdc-hint-");static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(r,c){2&r&&(i.Mr5("id",c.id),i.BMQ("align",null),i.AVh("mat-mdc-form-field-hint-end","end"===c.align))},inputs:{align:"align",id:"id"}})}return s})();const dg=new i.nKC("MatPrefix");let GS=(()=>{class s{set _isTextSelector(t){this._isText=!0}_isText=!1;static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[i.Jv_([{provide:dg,useExisting:s}])]})}return s})();const ug=new i.nKC("MatSuffix");let lC=(()=>{class s{set _isTextSelector(t){this._isText=!0}_isText=!1;static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[i.Jv_([{provide:ug,useExisting:s}])]})}return s})();const Va=new i.nKC("FloatingLabelParent");let fg=(()=>{class s{_elementRef=(0,i.WQX)(i.aKT);get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,i.WQX)(Kf);_ngZone=(0,i.WQX)(i.SKi);_parent=(0,i.WQX)(Va);_resizeSubscription=new ro.yU;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function hg(s){if(null!==s.offsetParent)return s.scrollWidth;const t=s.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);const r=t.scrollWidth;return t.remove(),r}(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(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,c){2&r&&i.AVh("mdc-floating-label--float-above",c.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return s})();const cC="mdc-line-ripple--active",ja="mdc-line-ripple--deactivating";let WS=(()=>{class s{_elementRef=(0,i.WQX)(i.aKT);_cleanupTransitionEnd;constructor(){const t=(0,i.WQX)(i.SKi),r=(0,i.WQX)(i.sFG);t.runOutsideAngular(()=>{this._cleanupTransitionEnd=r.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const t=this._elementRef.nativeElement.classList;t.remove(ja),t.add(cC)}deactivate(){this._elementRef.nativeElement.classList.add(ja)}_handleTransitionEnd=t=>{const r=this._elementRef.nativeElement.classList,c=r.contains(ja);"opacity"===t.propertyName&&c&&r.remove(cC,ja)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return s})(),dC=(()=>{class s{_elementRef=(0,i.WQX)(i.aKT);_ngZone=(0,i.WQX)(i.SKi);open=!1;_notch;constructor(){}ngAfterViewInit(){const t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){this._notch.nativeElement.style.width=this.open&&t?`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,c){if(1&r&&i.GBs(kS,5),2&r){let f;i.mGM(f=i.lsd())&&(c._notch=f.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,c){2&r&&i.AVh("mdc-notched-outline--notched",c.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:NS,ngContentSelectors:lg,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(r,c){1&r&&(i.NAR(),i.nrm(0,"div",1),i.j41(1,"div",2,0),i.SdG(3),i.k0s(),i.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}return s})(),pg=(()=>{class s{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s})}return s})();const $a=new i.nKC("MatFormField"),XS=new i.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let mg=(()=>{class s{_elementRef=(0,i.WQX)(i.aKT);_changeDetectorRef=(0,i.WQX)(i.gRc);_dir=(0,i.WQX)(ya.D);_platform=(0,i.WQX)(Er.P);_idGenerator=(0,i.WQX)(Gi);_ngZone=(0,i.WQX)(i.SKi);_injector=(0,i.WQX)(i.zZn);_defaults=(0,i.WQX)(XS,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,i.sbv)(Td);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,lo.c)(t)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(t){const r=this._appearance;this._appearance=t||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==r&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance="fill";get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,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-");get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}_destroyed=new _t.B;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_animationsDisabled;constructor(){const t=this._defaults;t&&(t.appearance&&(this.appearance=t.appearance),this._hideRequiredMarker=!!t?.hideRequiredMarker,t.color&&(this.color=t.color)),this._animationsDisabled="NoopAnimations"===(0,i.WQX)(i.bc$,{optional:!0})}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(),this._initializeOutlineLabelOffsetSubscriptions()}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()}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,i.EWP)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(t){const r=this._control,c="mat-mdc-form-field-type-";t&&this._elementRef.nativeElement.classList.remove(c+t.controlType),r.controlType&&this._elementRef.nativeElement.classList.add(c+r.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=r.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=r.stateChanges.pipe((0,Ca.Z)([void 0,void 0]),(0,ze.T)(()=>[r.errorState,r.userAriaDescribedBy]),function eC(){return(0,Wu.N)((s,a)=>{let t,r=!1;s.subscribe((0,Uc._)(a,c=>{const f=t;t=c,r&&a.next([f,c]),r=!0}))})}(),(0,ae.p)(([[f,g],[D,x]])=>f!==D||g!==x)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),r.ngControl&&r.ngControl.valueChanges&&(this._valueChanges=r.ngControl.valueChanges.pipe((0,zi.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,ls.h)(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(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),(0,i.Tzd)(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe((0,zi.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=(0,i.EWP)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(t){const r=this._control?this._control.ngControl:null;return r&&r[t]}_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(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const r=this._hintChildren?this._hintChildren.find(f=>"start"===f.align):null,c=this._hintChildren?this._hintChildren.find(f=>"end"===f.align):null;r?t.push(r.id):this._hintLabel&&t.push(this._hintLabelId),c&&t.push(c.id)}else this._errorChildren&&t.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;const t=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(t.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdate=!0);const r=this._iconPrefixContainer?.nativeElement,c=this._textPrefixContainer?.nativeElement,f=this._iconSuffixContainer?.nativeElement,g=this._textSuffixContainer?.nativeElement,D=r?.getBoundingClientRect().width??0,x=c?.getBoundingClientRect().width??0,G=f?.getBoundingClientRect().width??0,J=g?.getBoundingClientRect().width??0;t.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${D+x}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`,this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${D+x+G+J}px)`)}_isAttachedToDom(){const t=this._elementRef.nativeElement;if(t.getRootNode){const r=t.getRootNode();return r&&r!==t}return document.documentElement.contains(t)}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["mat-form-field"]],contentQueries:function(r,c,f){if(1&r&&(i.C6U(f,c._labelChild,Td,5),i.wni(f,pg,5),i.wni(f,dg,5),i.wni(f,ug,5),i.wni(f,aC,5),i.wni(f,Jf,5)),2&r){let g;i.NyB(),i.mGM(g=i.lsd())&&(c._formFieldControl=g.first),i.mGM(g=i.lsd())&&(c._prefixChildren=g),i.mGM(g=i.lsd())&&(c._suffixChildren=g),i.mGM(g=i.lsd())&&(c._errorChildren=g),i.mGM(g=i.lsd())&&(c._hintChildren=g)}},viewQuery:function(r,c){if(1&r&&(i.GBs(PS,5),i.GBs(Ar,5),i.GBs(Sd,5),i.GBs(Hn,5),i.GBs(Ba,5),i.GBs(fg,5),i.GBs(dC,5),i.GBs(WS,5)),2&r){let f;i.mGM(f=i.lsd())&&(c._textField=f.first),i.mGM(f=i.lsd())&&(c._iconPrefixContainer=f.first),i.mGM(f=i.lsd())&&(c._textPrefixContainer=f.first),i.mGM(f=i.lsd())&&(c._iconSuffixContainer=f.first),i.mGM(f=i.lsd())&&(c._textSuffixContainer=f.first),i.mGM(f=i.lsd())&&(c._floatingLabel=f.first),i.mGM(f=i.lsd())&&(c._notchedOutline=f.first),i.mGM(f=i.lsd())&&(c._lineRipple=f.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(r,c){2&r&&i.AVh("mat-mdc-form-field-label-always-float",c._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",c._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",c._hasIconSuffix)("mat-form-field-invalid",c._control.errorState)("mat-form-field-disabled",c._control.disabled)("mat-form-field-autofilled",c._control.autofilled)("mat-form-field-appearance-fill","fill"==c.appearance)("mat-form-field-appearance-outline","outline"==c.appearance)("mat-form-field-hide-placeholder",c._hasFloatingLabel()&&!c._shouldLabelFloat())("mat-focused",c._control.focused)("mat-primary","accent"!==c.color&&"warn"!==c.color)("mat-accent","accent"===c.color)("mat-warn","warn"===c.color)("ng-untouched",c._shouldForward("untouched"))("ng-touched",c._shouldForward("touched"))("ng-pristine",c._shouldForward("pristine"))("ng-dirty",c._shouldForward("dirty"))("ng-valid",c._shouldForward("valid"))("ng-invalid",c._shouldForward("invalid"))("ng-pending",c._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[i.Jv_([{provide:$a,useExisting:s},{provide:Va,useExisting:s}])],ngContentSelectors:Go,decls:20,vars:25,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",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",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(r,c){if(1&r){const f=i.RV6();i.NAR(qf),i.DNE(0,cg,1,1,"ng-template",null,0,i.C5r),i.j41(2,"div",6,1),i.bIt("click",function(D){return i.eBV(f),i.Njj(c._control.onContainerClick(D))}),i.DNE(4,oC,1,0,"div",7),i.j41(5,"div",8),i.DNE(6,BS,2,2,"div",9)(7,Yf,3,0,"div",10)(8,VS,3,0,"div",11),i.j41(9,"div",12),i.DNE(10,$S,1,1,null,13),i.SdG(11),i.k0s(),i.DNE(12,Zf,3,0,"div",14)(13,sC,3,0,"div",15),i.k0s(),i.DNE(14,US,1,0,"div",16),i.k0s(),i.j41(15,"div",17),i.SS7(16),i.j41(17,"div",18),i.DNE(18,HS,1,0)(19,zS,4,1),i.k0s()()}if(2&r){let f;i.R7$(2),i.AVh("mdc-text-field--filled",!c._hasOutline())("mdc-text-field--outlined",c._hasOutline())("mdc-text-field--no-label",!c._hasFloatingLabel())("mdc-text-field--disabled",c._control.disabled)("mdc-text-field--invalid",c._control.errorState),i.R7$(2),i.vxM(c._hasOutline()||c._control.disabled?-1:4),i.R7$(2),i.vxM(c._hasOutline()?6:-1),i.R7$(),i.vxM(c._hasIconPrefix?7:-1),i.R7$(),i.vxM(c._hasTextPrefix?8:-1),i.R7$(2),i.vxM(!c._hasOutline()||c._forceDisplayInfixLabel()?10:-1),i.R7$(2),i.vxM(c._hasTextSuffix?12:-1),i.R7$(),i.vxM(c._hasIconSuffix?13:-1),i.R7$(),i.vxM(c._hasOutline()?-1:14),i.R7$(),i.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===c.subscriptSizing);const g=c._getSubscriptMessageType();i.R7$(2),i.AVh("mat-mdc-form-field-error-wrapper","error"===g)("mat-mdc-form-field-hint-wrapper","hint"===g),i.R7$(),i.vxM("error"===(f=g)?18:"hint"===f?19:-1)}},dependencies:[fg,dC,W.T3,WS,Jf],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.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{transform:translateY(-34.75px) scale(0.75)}.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{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.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{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.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{border-left:1px solid rgba(0,0,0,0)}[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{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.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]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.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{transition-delay:40ms;transition-duration:110ms}.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{transition-delay:40ms;transition-duration:110ms}.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{transition-delay:40ms;transition-duration:110ms}.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{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n'],encapsulation:2,changeDetection:0})}return s})(),gg=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({imports:[Ii.M,Ii.M]})}return s})(),qS=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({imports:[Ii.M]})}return s})(),eh=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({imports:[gg,Ii.M,qS]})}return s})();const YS=["panel"],ZS=["*"];function JS(s,a){if(1&s&&(i.j41(0,"div",1,0),i.SdG(2),i.k0s()),2&s){const t=a.id,r=i.XpG();i.HbH(r._classList),i.AVh("mat-mdc-autocomplete-visible",r.showPanel)("mat-mdc-autocomplete-hidden",!r.showPanel)("mat-autocomplete-panel-animations-enabled",!r._animationsDisabled)("mat-primary","primary"===r._color)("mat-accent","accent"===r._color)("mat-warn","warn"===r._color),i.Y8G("id",r.id),i.BMQ("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby(t))}}class _g{source;option;constructor(a,t){this.source=a,this.option=t}}const pC=new i.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function mC(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}});let gC=(()=>{class s{_changeDetectorRef=(0,i.WQX)(i.gRc);_elementRef=(0,i.WQX)(i.aKT);_defaults=(0,i.WQX)(pC);_animationsDisabled="NoopAnimations"===(0,i.WQX)(i.bc$,{optional:!0});_activeOptionChanges=ro.yU.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(t){this._color=t,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new i.bkB;opened=new i.bkB;closed=new i.bkB;optionActivated=new i.bkB;set classList(t){this._classList=t,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}id=(0,i.WQX)(Gi).getId("mat-autocomplete-");inertGroups;constructor(){const t=(0,i.WQX)(Er.P);this.inertGroups=t?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Wb(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const r=new _g(this,t);this.optionSelected.emit(r)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_skipPredicate(){return!1}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["mat-autocomplete"]],contentQueries:function(r,c,f){if(1&r&&(i.wni(f,Jm,5),i.wni(f,zb,5)),2&r){let g;i.mGM(g=i.lsd())&&(c.options=g),i.mGM(g=i.lsd())&&(c.optionGroups=g)}},viewQuery:function(r,c){if(1&r&&(i.GBs(i.C4Q,7),i.GBs(YS,5)),2&r){let f;i.mGM(f=i.lsd())&&(c.template=f.first),i.mGM(f=i.lsd())&&(c.panel=f.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",i.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",i.L39],requireSelection:[2,"requireSelection","requireSelection",i.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",i.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",i.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[i.Jv_([{provide:Fl,useExisting:s}])],ngContentSelectors:ZS,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(r,c){1&r&&(i.NAR(),i.DNE(0,JS,3,17,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0})}return s})();const eM={provide:di,useExisting:(0,i.Rfq)(()=>vg),multi:!0},_C=new i.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const s=(0,i.WQX)(Li);return()=>s.scrollStrategies.reposition()}}),nM={provide:_C,deps:[Li],useFactory:function tM(s){return()=>s.scrollStrategies.reposition()}};let vg=(()=>{class s{_environmentInjector=(0,i.WQX)(i.uvJ);_element=(0,i.WQX)(i.aKT);_overlay=(0,i.WQX)(Li);_viewContainerRef=(0,i.WQX)(i.c1b);_zone=(0,i.WQX)(i.SKi);_changeDetectorRef=(0,i.WQX)(i.gRc);_dir=(0,i.WQX)(ya.D,{optional:!0});_formField=(0,i.WQX)($a,{optional:!0,host:!0});_viewportRuler=(0,i.WQX)(Ti.Xj);_scrollStrategy=(0,i.WQX)(_C);_renderer=(0,i.WQX)(i.sFG);_defaults=(0,i.WQX)(pC,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new _t.B;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=ro.yU.EMPTY;_breakpointObserver=(0,i.WQX)(SS.B);_handsetLandscapeSubscription=ro.yU.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new _t.B;_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&Ed(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,ls.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ae.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ae.p)(()=>this._overlayAttached)):(0,q.of)()).pipe((0,ze.T)(t=>t instanceof Zm?t:null))}optionSelections=(0,Lp.v)(()=>{const t=this.autocomplete?this.autocomplete.options:null;return t?t.changes.pipe((0,Ca.Z)(t),(0,mt.n)(()=>(0,ls.h)(...t.map(r=>r.onSelectionChange)))):this._initialized.pipe((0,mt.n)(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new ye.c(t=>{const r=f=>{const g=(0,Sr._)(f),D=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,x=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&g!==this._element.nativeElement&&!this._hasFocus()&&(!D||!D.contains(g))&&(!x||!x.contains(g))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(g)&&t.next(f)},c=[this._renderer.listen("document","click",r),this._renderer.listen("document","auxclick",r),this._renderer.listen("document","touchend",r)];return()=>{c.forEach(f=>f())}})}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const r=t.keyCode,c=(0,Co.rp)(t);if(r===en.g&&!c&&t.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&r===en.c&&this.panelOpen&&!c)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const f=this.autocomplete._keyManager.activeItem,g=r===en.U||r===en.D;r===en.T||g&&!c&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):g&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(g||this.autocomplete._keyManager.activeItem!==f)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let r=t.target,c=r.value;if("number"===r.type&&(c=""==c?null:parseFloat(c)),this._previousValue!==c){if(this._previousValue=c,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(c),c){if(this.panelOpen&&!this.autocomplete.requireSelection){const f=this.autocomplete.options?.find(g=>g.selected);f&&c!==this._getDisplayValue(f.value)&&f.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._hasFocus()){const f=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(f)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return(0,Sr.c)()===this._element.nativeElement}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=new ye.c(c=>{(0,i.mal)(()=>{c.next()},{injector:this._environmentInjector})}),r=this.autocomplete.options?.changes.pipe((0,Dd.M)(()=>this._positionStrategy.reapplyLastPosition()),function RS(s,a=TS.E){const t=(0,OS.O)(s,a);return Jb(()=>t)}(0))??(0,q.of)();return(0,ls.h)(t,r).pipe((0,mt.n)(()=>this._zone.run(()=>{const c=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),c!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,Do.s)(1)).subscribe(c=>this._setValueAndClose(c))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(t){const r=this.autocomplete;return r&&r.displayWith?r.displayWith(t):t}_assignOptionValue(t){const r=this._getDisplayValue(t);null==t&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(r??"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){const r=this.autocomplete,c=t?t.source:this._pendingAutoselectedOption;c?(this._clearPreviousSelectedOption(c),this._assignOptionValue(c.value),this._onChange(c.value),r._emitSelectEvent(c),this._element.nativeElement.focus()):r.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(t,r){this.autocomplete?.options?.forEach(c=>{c!==t&&c.selected&&c.deselect(r)})}_openPanelInternal(t=this._element.nativeElement.value){this._attachOverlay(t),this._floatLabel(),this._trackedModal&&Wf(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(t){let r=this._overlayRef;r?(this._positionStrategy.setOrigin(this._getConnectedElement()),r.updateSize({width:this._getPanelWidth()})):(this._portal=new ss(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),r=this._overlay.create(this._getOverlayConfig()),this._overlayRef=r,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&r&&r.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe("(max-width: 959.98px) and (orientation: landscape)").subscribe(f=>{f.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),r&&!r.hasAttached()&&(r.attach(this._portal),this._valueOnAttach=t,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const c=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&c!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=t=>{(t.keyCode===en.g&&!(0,Co.rp)(t)||t.keyCode===en.U&&(0,Co.rp)(t,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),t.stopPropagation(),t.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const t=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=t.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=t.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new ba({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const r=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=this._aboveClass,f=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:c},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:c}];let g;g="above"===this.position?f:"below"===this.position?r:[...r,...f],t.withPositions(g)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const t=this.autocomplete;if(t.autoActiveFirstOption){let r=-1;for(let c=0;c<t.options.length;c++)if(!t.options.get(c).disabled){r=c;break}t._keyManager.setActiveItem(r)}else t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this.autocompleteDisabled}_scrollToOption(t){const r=this.autocomplete,c=function F1(s,a,t){if(t.length){let r=a.toArray(),c=t.toArray(),f=0;for(let g=0;g<s+1;g++)r[g].group&&r[g].group===c[f]&&f++;return f}return 0}(t,r.options,r.optionGroups);if(0===t&&1===c)r._setScrollTop(0);else if(r.panel){const f=r.options.toArray()[t];if(f){const g=f._getHostElement(),D=function mS(s,a,t,r){return s<t?s:s+a>t+r?Math.max(0,s-r+a):t}(g.offsetTop,g.offsetHeight,r._getScrollTop(),r.panel.nativeElement.offsetHeight);r._setScrollTop(D)}}}_trackedModal=null;_applyModalPanelOwnership(){const t=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;const r=this.autocomplete.id;this._trackedModal&&Ed(this._trackedModal,"aria-owns",r),Wf(t,"aria-owns",r),this._trackedModal=t}_clearFromModal(){this._trackedModal&&(Ed(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(r,c){1&r&&i.bIt("focusin",function(){return c._handleFocus()})("blur",function(){return c._onTouched()})("input",function(g){return c._handleInput(g)})("keydown",function(g){return c._handleKeydown(g)})("click",function(){return c._handleClick()}),2&r&&i.BMQ("autocomplete",c.autocompleteAttribute)("role",c.autocompleteDisabled?null:"combobox")("aria-autocomplete",c.autocompleteDisabled?null:"list")("aria-activedescendant",c.panelOpen&&c.activeOption?c.activeOption.id:null)("aria-expanded",c.autocompleteDisabled?null:c.panelOpen.toString())("aria-controls",c.autocompleteDisabled||!c.panelOpen||null==c.autocomplete?null:c.autocomplete.id)("aria-haspopup",c.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",i.L39]},exportAs:["matAutocompleteTrigger"],features:[i.Jv_([eM]),i.OA$]})}return s})(),iM=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({providers:[nM],imports:[pl,eh,Ii.M,Ti.Gj,eh,Ii.M]})}return s})();const Ll_beforeTranspileSection=s=>s,Ll_beforeSendPayload=s=>s,Ll_afterSendPayload=s=>s;function zn(s){s||((0,i.Af3)(zn),s=(0,i.WQX)(i.abz));const a=new ye.c(t=>s.onDestroy(t.next.bind(t)));return t=>t.pipe((0,zi.Q)(a))}let Rr=(()=>{class s{http;config;apiUrl="";authToken;refreshToken;projectConfig;userData;localUser;loggedInUserData;currentActor;authorizedEmail;requesterEmail;currentSubmitter;language;activities=[];approvals;historyDataLoaded;historyData=[];isMobile;destroyRef=(0,i.WQX)(i.abz);constructor(t,r){this.http=t,this.config=r;const c=window?.wmConfig?.language?window.wmConfig.language:"en";this.apiUrl=this.config.proxyServiceBaseUrl+c+this.config.proxyFullAddress+this.config.proxyServiceExecute,console.log("Config: ",this.config),this.localUser={formPrefix:"CEP",formId:"CEP5595432",inboxUri:"/group/hub/inbox",baseUrl:"/group/i-gate/wm-bpm/forms/-/proxy",showPrint:!0,language:"en",isMobile:!0,outlook:!1,loggedInUserEmail:"ibrahimmaa.c@stc.com.sa"},this.projectConfig=this.config.production?window.wmConfig:btoa(JSON.stringify(this.localUser)),this.userData=this.projectConfig,this.language=window?.wmConfig?.language?window.wmConfig.language:"en",this.isMobile=this.projectConfig?.isMobile}getLoggedInUserData(){let t=this.loggedInUserId();this.employeeProfile(t).pipe(zn(this.destroyRef)).subscribe(r=>{this.loggedInUserData=r?.Users?.[0],console.log("getLoggedInUserData",r)})}loadForm(){const t=this.buildAuthUrl();return this.http.get(t,{observe:"response"}).pipe((0,ze.T)(r=>{const c=r.body;this.authToken=c.token,this.getLoggedInUserData(),this.refreshToken=c.refreshToken;const f=this.buildBody(),g=this.getRequestOptions();return this.callPost(f,g)}),(0,mt.n)(r=>r),(0,Qc.W)(r=>(0,Ea.$)(r)))}buildAuthUrl(){return`${this.config.proxyServiceBaseUrl}${window?.wmConfig?.language?window.wmConfig.language:"en"}${this.config.proxyFullAddress}${this.config.proxyServiceAuthorization}?ts=${(new Date).valueOf()}`}buildBody(){const t={method:As,destination:is,serviceName:"form",formName:this.config.formName,formId:""};return this.config.formId?t.formId=this.config.formId:delete t.formId,t}employeeProfile(t){return this.http.post(this.apiUrl,{method:As,formName:this.config.formName,destination:Rc,serviceName:dv,parameters:{q:t}},{headers:new Gt({authToken:this.authToken,"Content-Type":"application/x-www-form-urlencoded"}),observe:"body"}).pipe((0,ze.T)(c=>c),(0,Qc.W)(c=>(0,Ea.$)(c)))}getRequestOptions(){const t=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent),r=(new Date).valueOf()?.toString(),c=navigator.userAgent;return{headers:new Gt({authToken:this.authToken,"Content-Type":"application/x-www-form-urlencoded",feHeader:'{"isMobile":'+this.isMobile+', ",aIsMobile":'+t+",ts:"+r+",loggedInUserEmail:"+this.loggedInUserId()+",formName:"+this.config.formName+",user-agent:"+c+"}"}),observe:"body"}}getDraftId(t){return t.toUpperCase().startsWith("DRAFT")}submitForm(...t){const[r,c]=t,f=this.getHttpMethod();let g=this.beforeTranspileSectionWrapper(r).id,D=this.getServiceName(c),x=this.getFormName(c),G=this.getBodyObject(f,D,c,x,this.populatedPayload(g,r),this.config.formId);const J=this.getRequestOptions();return this.submit(G,J)}getHttpMethod(){return this.config.formId&&!this.getDraftId(this.config.formId)?"PUT":Ou}beforeTranspileSectionWrapper(t){return Ll_beforeTranspileSection?Ll_beforeTranspileSection(t):t}getServiceName(t){return t===ju?"draft":"form"}getFormName(t){return t===ju?"common":this.config.formName}populatedPayload(t,r){let c;return t===_a?c={request:{details:r.body.details}}:(c={workflowSteps:{}},c.workflowSteps.details=r.body.details,c.workflowSteps.actor=this.currentSubmitter.actor,c.workflowSteps.actor.email=this.currentActor,c.workflowSteps.status="PENDING"),c}getBodyObject(t,r,c,f,g,D){let x={method:t,destination:is,serviceName:r,parameters:{action:c},formName:f,body:g,formId:D,queryParameters:{}};return this.config.formId&&(x.formId=this.config.formId),(!this.authorizedEmail||!this.authorizedEmail.length||this.authorizedEmail===this.requesterEmail)&&delete x.queryParameters,Ll_beforeSendPayload&&(x.body.payload=Ll_beforeSendPayload(x.body.payload)),x}callPost(t,r){const c=window?.wmConfig?.language?window.wmConfig.language:"en";return this.http.post(this.config.proxyServiceBaseUrl+c+this.config.proxyFullAddress+this.config.proxyServiceExecute,encodeURIComponent(JSON.stringify(t)),r).pipe((0,ze.T)(g=>this.successWm(g)),(0,Qc.W)(g=>(0,Ea.$)(g)))}submit(t,r){const c=window?.wmConfig?.language?window.wmConfig.language:"en";return(0,Ie.H)(this.http.post(this.config.proxyServiceBaseUrl+c+this.config.proxyFullAddress+this.config.proxyServiceExecute,encodeURIComponent(JSON.stringify(t)),r).toPromise().then(g=>{let D=g.data.form;Ll_afterSendPayload&&(D=Ll_afterSendPayload(D));let x={id:null,status:null,nextApprover:{name:null,email:null,role:null},creationDate:null};return x.id=D.formId,x.status=D.formStatus,D.currentActor&&(x.nextApprover={name:D.currentActor.name,email:D.currentActor.email,role:D.formStep}),x.creationDate=D.creationDate,x},g=>{throw g}))}successWm(...t){let[r]=t,c=!1,f=new uS(Hi,Hi,Hi,Hi,Hi,Hi,Hi);this.requesterEmail=r.data.requester.employeeEmail,this.authorizedEmail=r.data.requester.authorizedEmail;let g=r.data.form,D="TRUE"===g.readOnly.toUpperCase()||"FALSE"!==g.readOnly.toUpperCase()&&Hi;f.header=new $b(r.data.requester.fullName,Mp+r.data.requester.employeeEmail,g.formId?g.formId:Si,g.creationDate?g.creationDate:Si,g.formStatus,g.details);let x=r.data.requester;f.profileInfoDrop=new Ub(x.onBehalfAuthorized?JSON.parse(x.onBehalfAuthorized):null,x.employeeId,x.employeeEmail,x.fullName,x.generalDepartmentName,x.jobPosition,x.sectorName,x.departmentName,x.generalDepartmentCode,x.humanResourceLocation,x.nationality,x.businessPhone,x.directManagerName,x.seniorSectorName),f.sections=[];let G=!1;r.data.request.details.comment&&(G=!0),f.sections.push(new Hb(_a,new zf(Si,Si,Si,Si,Si,Si,Si,G,!!r.data.workflowSteps||D),r.data.request)),f.header.formId&&(f.commentsDrop=f.commentsDrop?f.commentsDrop:[],this.loadHistory(f.header.formId).pipe(zn(this.destroyRef)).subscribe(Ce=>{Ce&&Ce.items.forEach(je=>{"0"!==je.sequenceNumber&&je.processedBy&&f.commentsDrop.push(new fS(Mp+je.processedBy.email,je.processedBy.firstName+" "+je.processedBy.secondMiddleName+" "+je.processedBy.familyName,je.comments,je.modifiedDate,je.attachments,je.processedBy.job))})}));const J=this.getInboxType(f);f.header.formId&&!this.isOpenOnInbox()&&this.getInboxItem(f.header.formId,J).pipe(zn(this.destroyRef)).subscribe(Ce=>{if(Ce){const je=Ce.item;f.inboxItem=new A1(je.flagging.flagPriority,je.flagging.isFlagged,je.feedback.canRequestFeedback,je.feedback.hasFeedback,je.feedback.isPending,je.feedback.isRequested,je.feedback.isResponded)}});let de=r.data.workflowSteps;return de&&de.constructor===Array&&de.length>0&&de.forEach((Ce,je)=>{let Xe=!(JSON.stringify(Ce.details)===JSON.stringify({})||!Ce.details.comment&&!Ce.comment),rt=Ce.actor.email===Ce.actor.recipient.email?Ce.actor.recipient:Ce.actor.delegate?Ce.actor.delegate:null;if(c&&"REQUESTER"===Ce.actor.recipient.role?(console.log("wasSendBack && REQUESTER"),f.sections=[new Hb(_a,new zf(Si,Si,Si,Si,Si,Si,Si,G,!!r.data.workflowSteps||D),r.data.request)]):c&&(console.log("Pop"),f.sections.length>1&&f.sections.pop(),c=!1),Ce.details.decision&&Ce.details.decision.key===Lu)c=!0;else if(JSON.stringify(Ce.details)!==JSON.stringify({})){let Vt=Ce.date,on=rt?this.getShortName(rt.name)?.toString():"",Qt=Ce.actor.recipient?.name?this.getShortName(Ce.actor.recipient.name)?.toString():"",_n=Ce.actor.delegate?.name?this.getShortName(Ce.actor.delegate.name)?.toString():"",bi=Mp+Ce.actor.recipient.email,oi=Ce.actor.delegate?.email?Mp+Ce.actor.delegate.email:"",kn=Ce.actor.status;f.sections.push(new Hb(Ce.actor.recipient.role.toLowerCase()+kc,new zf(on,Vt,Qt,bi,_n,oi,kn,Xe,je<de.length-1||D),{details:Ce.details,processingDate:Ce.date})),this.currentSubmitter={actor:Ce.actor,recipient:Ce.recipient,delegate:Ce.actor.delegate}}}),f.lovs=r?.meta?.lovs?r.meta.lovs:null,r?.meta?.messages&&(f.messages=new wd({},[],[],[]),r.meta.messages.forEach(Ce=>{f.messages.originalMsgs.push(Ce),f.messages[Ce.type].push(Ce.message)})),f.sections[f.sections.length-1].header.readOnly=D,f}loadFile(...t){const[r]=t;return this.http.get(`${this.config.proxyFullAddress}${this.config.proxyServiceForms}${this.config.formId}${this.config.proxyServiceAttachment}${r}`,{observe:"response"})}dataURItoBlob(t){const r=atob(t),c=new ArrayBuffer(r.length),f=new Uint8Array(c);for(let g=0;g<r.length;g++)f[g]=r.charCodeAt(g);return new Blob([c],{type:"image/jpeg"})}saveFile(t){const r=this.dataURItoBlob(t.fileContents),c=new File([r],t.fileName,{type:t.mimeType}),f=URL.createObjectURL(c),g=document.createElement("a");g.href=f,g.download=t.fileName,g.click(),URL.revokeObjectURL(f)}setFlagPriority(t){let r={method:"PUT",destination:Rc,serviceName:"igate.update.inbox.item",formName:this.config.formName,urlParameters:{inboxid:this.config.formId},body:{flag:t}},c=this.getRequestOptions();return this.generalCallApi(r,"successInboxItem",c)}loadHistory(...t){const[r]=t,c={method:As,destination:is,serviceName:"workflowItems",formId:r||this.config.formId,formName:"bpm"};let f=this.getRequestOptions();return this.generalCallApi(c,"loadHistory",f)}getInboxItem(...t){const[r,c]=t,f={formName:this.config.formName,method:As,destination:Rc,serviceName:"igate.get.inbox.item",urlParameters:{inboxid:r,inboxtype:c}};let g=this.getRequestOptions();return this.generalCallApi(f,"getInboxItem",g)}perspectiveApproves(t){this.config.production||(t={});let r="form/"+this.config.formName;this.config.formId&&(r="form/"+this.config.formId);let c={method:Ou,destination:is,serviceName:r,formName:"approvers",body:{request:{details:t}}},f=this.getRequestOptions();return this.generalCallApi(c,Oc,f)}getAttachments(t,...r){let c={method:Ou,destination:is,serviceName:"attachment",formName:"common",body:{attachment:{fileName:this.config.production?t.fileName:"",mimeType:this.config.production?t.mimeType:"",fileContents:this.config.production?t.fileContents:""},comment:t.attachmentcomment,description:t.fileDescription}},f=this.getRequestOptions();return this.generalCallApi(c,Oc,f)}searchEmployee(...t){let[r]=t,c={method:As,formName:this.config.formName,destination:Rc,serviceName:dv,parameters:{q:r,limit:10}},f=this.getRequestOptions();return this.generalCallApi(c,Oc,f)}customSearchEmployee(t,r,c={}){let f={method:As,formName:this.config.formName,destination:is,serviceName:r,queryParameters:{q:t,limit:10,...c}},g=this.getRequestOptions();return this.generalCallApi(f,Oc,g)}myRequests(t){let r={method:As,destination:is,serviceName:"form",formName:"history",queryParameters:{formName:this.config.formName,year:t.year,month:t.month,email:this.loggedInUserId()}},c=this.getRequestOptions();return this.generalCallApi(r,Oc,c)}generalCallApi(t,r,c){return this.http.post(this.config.proxyServiceBaseUrl+this.language+this.config.proxyFullAddress+this.config.proxyServiceExecute,encodeURIComponent(JSON.stringify(t)),c).pipe((0,ze.T)(g=>g),(0,Qc.W)(g=>(0,Ea.$)(g)))}uploadFormData(t){let r={headers:new Gt({authToken:this.authToken}),observe:"response"};return this.http.post(this.config.proxyServiceBaseUrl+this.language+this.config.proxyFullAddress+"/uploadAttachmentMultiPart",t,r).pipe((0,ze.T)(f=>f),(0,Qc.W)(f=>(0,Ea.$)(f)))}loggedInUserId(){return this.userData.loggedInUserEmail}getShortName(t){if(t){let r=t.split(" ");return 1==r.length?[r[0]]:"al"==r[r.length-2].toLowerCase()?[r[0],r[r.length-2],r[r.length-1]].join(" "):[r[0],r[r.length-1]].join(" ")}return null}isMobileApp(){return window.wmConfig.isMobile}getInboxType(t){let r=null;return r=this.loggedInUserId()===t.profileInfoDrop.employeeEmail?"sent":"pending",r}isOpenOnInbox(){return window.wmConfig.outlook}static \u0275fac=function(r){return new(r||s)(i.KVO(ho),i.KVO(im))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();var dM=w(4412);let Bl,nh=(()=>{class s{actionStatesSubject=new dM.t({});actionStates$=this.actionStatesSubject.asObservable();resetAction$=new _t.B;setActionValid(t,r){const c=this.actionStatesSubject.value;c[t]=r,this.actionStatesSubject.next(c)}resetForm(){return this.resetAction$}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"any"})}return s})(),yg=(()=>{class s{injector;i18n;toasterService;coreService;sanitizer;fb;actionStateService;tooltip;isReadOnly;hint="";loading;placeholder;type;showErrorMessage;showHint;showIfEmpty;insideTable;mask;label;matSuffix;hasTooltip=!1;name;randomID;multiple=!1;customErrorMessages;searchControl=new ui;toggleButtonControl=new ui;employeeSearchControl=new ui;telephoneControl=new ui;attachments=[];startDateControl=new ui;endDateControl=new ui;Validators=Mr;minDateValue;maxDateValue;maxDate;datepickerObj;minDate;customMaxDate;customMinDate;value;control;required;mandatory;isDisabled=!1;onChangeFn=()=>{};onTouchedFn=()=>{};constructor(t,r,c,f,g,D,x){this.injector=t,this.i18n=r,this.toasterService=c,this.coreService=f,this.sanitizer=g,this.fb=D,this.actionStateService=x}ngOnInit(){this.setFormControl()}setFormControl(){try{const t=this.injector.get(Uo);switch(t.constructor){case Il:this.control=this.injector.get(Ir).getControl(t);break;case Cf:this.control=t.control;break;default:this.control=t.form}}catch{this.control=new ui}this.setFormValidators()}setFormValidators(){this.required?(this.searchControl.setValidators(Mr.required),this.employeeSearchControl.setValidators(Mr.required)):(this.searchControl.clearValidators(),this.employeeSearchControl.clearValidators()),this.searchControl.updateValueAndValidity(),this.employeeSearchControl.updateValueAndValidity()}writeValue(t){this.value=t,this.value?(this.startDateControl.setValue(this.value?.startDate),this.endDateControl.setValue(this.value?.endDate),this.toggleButtonControl.setValue(t),this.searchControl.setValue(t.value),this.telephoneControl.setValue(t),""===this.value.value&&this.control.reset(),this.employeeSearchControl.setValue(t.personName)):(this.startDateControl.reset(),this.endDateControl.reset(),this.telephoneControl.reset(),this.toggleButtonControl.reset(),this.attachments=[],this.searchControl.reset(),this.employeeSearchControl.reset())}registerOnChange(t){this.onChangeFn=t}registerOnTouched(t){this.onTouchedFn=t}setDisabledState(t){this.isDisabled=t}setValue(t){this.value=t,this.onChangeFn(t)}static \u0275fac=function(r){return new(r||s)(i.rXU(i.zZn),i.rXU(ii),i.rXU(_o),i.rXU(Rr),i.rXU(nc.up),i.rXU(js),i.rXU(nh))};static \u0275dir=i.FsC({type:s,selectors:[["","appControlValueAccessor",""]],inputs:{tooltip:"tooltip",isReadOnly:"isReadOnly",hint:"hint",loading:"loading",placeholder:"placeholder",type:"type",showErrorMessage:"showErrorMessage",showHint:"showHint",showIfEmpty:"showIfEmpty",insideTable:"insideTable",mask:"mask",label:"label",matSuffix:"matSuffix",hasTooltip:"hasTooltip",name:"name",randomID:"randomID",multiple:"multiple",customErrorMessages:"customErrorMessages",maxDate:"maxDate",minDate:"minDate",customMaxDate:"customMaxDate",customMinDate:"customMinDate",required:"required",mandatory:"mandatory"}})}return s})();const bg=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function vC(){if(Bl)return Bl;if("object"!=typeof document||!document)return Bl=new Set(bg),Bl;let s=document.createElement("input");return Bl=new Set(bg.filter(a=>(s.setAttribute("type",a),s.type===a))),Bl}var Cg=w(983);let X1=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(r,c){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,changeDetection:0})}return s})();const fM={passive:!0};let Q1=(()=>{class s{_platform=(0,i.WQX)(Er.P);_ngZone=(0,i.WQX)(i.SKi);_renderer=(0,i.WQX)(i._9s).createRenderer(null,null);_styleLoader=(0,i.WQX)(as._);_monitoredElements=new Map;constructor(){}monitor(t){if(!this._platform.isBrowser)return Cg.w;this._styleLoader.load(X1);const r=(0,Ns.a)(t),c=this._monitoredElements.get(r);if(c)return c.subject;const f=new _t.B,g="cdk-text-field-autofilled",D=G=>{"cdk-text-field-autofill-start"!==G.animationName||r.classList.contains(g)?"cdk-text-field-autofill-end"===G.animationName&&r.classList.contains(g)&&(r.classList.remove(g),this._ngZone.run(()=>f.next({target:G.target,isAutofilled:!1}))):(r.classList.add(g),this._ngZone.run(()=>f.next({target:G.target,isAutofilled:!0})))},x=this._ngZone.runOutsideAngular(()=>(r.classList.add("cdk-text-field-autofill-monitored"),(0,$c._)(this._renderer,r,"animationstart",D,fM)));return this._monitoredElements.set(r,{subject:f,unlisten:x}),f}stopMonitoring(t){const r=(0,Ns.a)(t),c=this._monitoredElements.get(r);c&&(c.unlisten(),c.subject.complete(),r.classList.remove("cdk-text-field-autofill-monitored"),r.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(r))}ngOnDestroy(){this._monitoredElements.forEach((t,r)=>this.stopMonitoring(r))}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),yC=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({})}return s})();const mM=new i.nKC("MAT_INPUT_VALUE_ACCESSOR");let _M=(()=>{class s{isErrorState(t,r){return!!(t&&t.invalid&&(t.touched||r&&r.submitted))}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();class wg{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(a,t,r,c,f){this._defaultMatcher=a,this.ngControl=t,this._parentFormGroup=r,this._parentForm=c,this._stateChanges=f}updateErrorState(){const a=this.errorState,t=this._parentFormGroup||this._parentForm,r=this.matcher||this._defaultMatcher,c=this.ngControl?this.ngControl.control:null,f=r?.isErrorState(c,t)??!1;f!==a&&(this.errorState=f,this._stateChanges.next())}}var bC=w(2318);let Dg=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({imports:[Ii.M,bC.w5,Ii.M]})}return s})();const wC=["button","checkbox","file","hidden","image","radio","range","reset","submit"],DC=new i.nKC("MAT_INPUT_CONFIG");let Eg=(()=>{class s{_elementRef=(0,i.WQX)(i.aKT);_platform=(0,i.WQX)(Er.P);ngControl=(0,i.WQX)(Uo,{optional:!0,self:!0});_autofillMonitor=(0,i.WQX)(Q1);_ngZone=(0,i.WQX)(i.SKi);_formField=(0,i.WQX)($a,{optional:!0});_renderer=(0,i.WQX)(i.sFG);_uid=(0,i.WQX)(Gi).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=(0,i.WQX)(DC,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new _t.B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=(0,lo.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(t){this._id=t||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Mr.required)??!1}set required(t){this._required=(0,lo.c)(t)}_required;get type(){return this._type}set type(t){const r=this._type;this._type=t||"text",this._validateType(),!this._isTextarea&&vC().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==r&&this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(t){t!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(t):this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=(0,lo.c)(t)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>vC().has(t));constructor(){const t=(0,i.WQX)(xa,{optional:!0}),r=(0,i.WQX)(Ir,{optional:!0}),c=(0,i.WQX)(_M),f=(0,i.WQX)(mM,{optional:!0,self:!0}),g=this._elementRef.nativeElement,D=g.nodeName.toLowerCase();f?(0,i.Hps)(f.value)?this._signalBasedValueAccessor=f:this._inputValueAccessor=f:this._inputValueAccessor=g,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(g,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new wg(c,this.ngControl,r,t,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===D,this._isTextarea="textarea"===D,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=g.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&(0,i.QZP)(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.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(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){if(t!==this.focused){if(!this._isNativeSelect&&t&&this.disabled&&this.disabledInteractive){const r=this._elementRef.nativeElement;"number"===r.type?(r.type="text",r.setSelectionRange(0,0),r.type="number"):r.setSelectionRange(0,0)}this.focused=t,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){const t=this._getPlaceholder();if(t!==this._previousPlaceholder){const r=this._elementRef.nativeElement;this._previousPlaceholder=t,t?r.setAttribute("placeholder",t):r.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){wC.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,r=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&r&&r.label)}return this.focused&&!this.disabled||!this.empty}setDescribedByIds(t){const r=this._elementRef.nativeElement,c=r.getAttribute("aria-describedby");let f;if(c){const g=this._formFieldDescribedBy||t;f=t.concat(c.split(" ").filter(D=>D&&!g.includes(D)))}else f=t;this._formFieldDescribedBy=t,f.length?r.setAttribute("aria-describedby",f.join(" ")):r.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}_iOSKeyupListener=t=>{const r=t.target;!r.value&&0===r.selectionStart&&0===r.selectionEnd&&(r.setSelectionRange(1,1),r.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){this._cleanupWebkitWheel?.(),"number"===this._type&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(r,c){1&r&&i.bIt("focus",function(){return c._focusChanged(!0)})("blur",function(){return c._focusChanged(!1)})("input",function(){return c._onInput()}),2&r&&(i.Mr5("id",c.id)("disabled",c.disabled&&!c.disabledInteractive)("required",c.required),i.BMQ("name",c.name||null)("readonly",c._getReadonlyAttribute())("aria-disabled",c.disabled&&c.disabledInteractive?"true":null)("aria-invalid",c.empty&&c.required?null:c.errorState)("aria-required",c.required)("id",c.id),i.AVh("mat-input-server",c._isServer)("mat-mdc-form-field-textarea-control",c._isInFormField&&c._isTextarea)("mat-mdc-form-field-input-control",c._isInFormField)("mat-mdc-input-disabled-interactive",c.disabledInteractive)("mdc-text-field__input",c._isInFormField)("mat-mdc-native-select-inline",c._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",i.L39]},exportAs:["matInput"],features:[i.Jv_([{provide:pg,useExisting:s}]),i.OA$]})}return s})(),EC=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({imports:[Ii.M,Dg,Dg,yC,Ii.M]})}return s})();const xd=["focusTrapElement"],K1=["*"],SC=(s,a)=>({value:s,params:a});function vM(s,a){if(1&s){const t=i.RV6();i.j41(0,"div",1,0),i.bIt("@transformPopover.done",function(c){i.eBV(t);const f=i.XpG();return i.Njj(f._onAnimationDone(c))}),i.SdG(2),i.k0s()}if(2&s){const t=i.XpG();i.Y8G("ngClass",t._classList)("@transformPopover",i.l_i(2,SC,t.state,t.params))}}const q1=Cs("transformPopover",[Ro("enter",nt({opacity:1,transform:"scale(1)"}),{params:{startAtScale:.3}}),Ro("void, exit",nt({opacity:0,transform:"scale({{endAtScale}})"}),{params:{endAtScale:.5}}),ko("* => enter",[nt({opacity:0,transform:"scale({{endAtScale}})"}),Hr("{{openTransition}}",nt({opacity:1,transform:"scale(1)"}))]),ko("* => void, * => exit",[Hr("{{closeTransition}}",nt({opacity:0,transform:"scale({{endAtScale}})"}))])]),MC=["noop","block","reposition","close"],Sg=["before","start","center","end","after"],co=["above","start","center","end","below"];function Od(s,a,t){return`Invalid ${s}: '${a}'. Valid options are ${t.map(r=>`'${r}'`).join(", ")}.`}let Mg=(()=>{class s{_overlay;_ngZone;_dir;popoverOpened=new _t.B;popoverClosed=new _t.B;_overlayRef;_popover;_viewContainerRef;_anchor;_portal;_notificationsSubscription;_positionChangeSubscription;_popoverOpen=!1;_onDestroy=new _t.B;constructor(t,r,c){this._overlay=t,this._ngZone=r,this._dir=c}ngOnDestroy(){this._destroyPopover(),this._notificationsSubscription&&this._notificationsSubscription.unsubscribe(),this._positionChangeSubscription&&this._positionChangeSubscription.unsubscribe(),this._onDestroy.next(),this._onDestroy.complete(),this.popoverOpened.complete(),this.popoverClosed.complete()}anchor(t,r,c){if(this._popover===t&&this._viewContainerRef===r&&this._overlayRef)return this._anchor=c instanceof i.aKT?c.nativeElement:c,this._overlayRef.getConfig().positionStrategy.setOrigin(this._anchor),void this._overlayRef.updatePosition();this._destroyPopover(),this._popover=t,this._viewContainerRef=r,this._anchor=c instanceof i.aKT?c.nativeElement:c}isPopoverOpen(){return this._popoverOpen}togglePopover(){return this._popoverOpen?this.closePopover():this.openPopover()}openPopover(t={}){this._popoverOpen||(this._applyOpenOptions(t),this._createOverlay(),this._subscribeToBackdrop(),this._subscribeToEscape(),this._subscribeToDetachments(),this._saveOpenedState())}closePopover(t){this._overlayRef&&(this._saveClosedState(t),this._overlayRef.detach())}repositionPopover(){this.updatePopoverConfig()}updatePopoverConfig(){this._destroyPopoverOnceClosed()}realignPopoverToAnchor(){this._overlayRef&&this._overlayRef.getConfig().positionStrategy.reapplyLastPosition()}getAnchorElement(){return this._anchor}_applyOpenOptions(t){this._popover._restoreFocusOverride=!1!==t.restoreFocus,this._popover._autoFocusOverride=!1!==t.autoFocus}_createOverlay(){if(!this._overlayRef){this._portal=new ss(this._popover._templateRef,this._viewContainerRef);const t={horizontalAlign:this._popover.horizontalAlign,verticalAlign:this._popover.verticalAlign,hasBackdrop:(0,lo.c)(this._popover.hasBackdrop),backdropClass:this._popover.backdropClass,scrollStrategy:this._popover.scrollStrategy,forceAlignment:(0,lo.c)(this._popover.forceAlignment),lockAlignment:(0,lo.c)(this._popover.lockAlignment),panelClass:this._popover.panelClass},r=this._getOverlayConfig(t,this._anchor);this._subscribeToPositionChanges(r.positionStrategy),this._overlayRef=this._overlay.create(r)}return this._overlayRef.attach(this._portal),this._overlayRef}_destroyPopover(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}_destroyPopoverOnceClosed(){this.isPopoverOpen()&&this._overlayRef?this._overlayRef.detachments().pipe((0,Do.s)(1),(0,zi.Q)(this._onDestroy)).subscribe(()=>this._destroyPopover()):this._destroyPopover()}_subscribeToBackdrop(){this._overlayRef.backdropClick().pipe((0,Dd.M)(()=>this._popover.backdropClicked.emit()),(0,ae.p)(()=>this._popover.interactiveClose),(0,zi.Q)(this.popoverClosed),(0,zi.Q)(this._onDestroy)).subscribe(()=>this.closePopover())}_subscribeToEscape(){this._overlayRef.keydownEvents().pipe((0,Dd.M)(t=>this._popover.overlayKeydown.emit(t)),(0,ae.p)(t=>t.keyCode===en.g),(0,ae.p)(()=>this._popover.interactiveClose),(0,zi.Q)(this.popoverClosed),(0,zi.Q)(this._onDestroy)).subscribe(()=>this.closePopover())}_subscribeToDetachments(){this._overlayRef.detachments().pipe((0,zi.Q)(this._onDestroy)).subscribe(()=>this._saveClosedState())}_saveOpenedState(){this._popoverOpen||(this._popover._state="enter",this._popover._open=this._popoverOpen=!0,this.popoverOpened.next(),this._popover.opened.emit())}_saveClosedState(t){this._popoverOpen&&(this._popover._open=this._popoverOpen=!1,this._popover._startExitAnimation(),this.popoverClosed.next(t),this._popover.closed.emit(t))}_getDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_getOverlayConfig(t,r){return new ba({positionStrategy:this._getPositionStrategy(t.horizontalAlign,t.verticalAlign,t.forceAlignment,t.lockAlignment,r),hasBackdrop:t.hasBackdrop,backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._getScrollStrategyInstance(t.scrollStrategy),direction:this._getDirection(),panelClass:t.panelClass})}_subscribeToPositionChanges(t){this._positionChangeSubscription&&this._positionChangeSubscription.unsubscribe(),this._positionChangeSubscription=t.positionChanges.pipe((0,zi.Q)(this._onDestroy)).subscribe(r=>{this._ngZone.run(()=>{this._popover._setAlignmentClasses(function Qs(s){return"start"===s?"after":"end"===s?"before":"center"}(r.connectionPair.overlayX),function Tg(s){return"top"===s?"below":"bottom"===s?"above":"center"}(r.connectionPair.overlayY))})})}_getScrollStrategyInstance(t){switch(t){case"block":return this._overlay.scrollStrategies.block();case"reposition":return this._overlay.scrollStrategies.reposition();case"close":return this._overlay.scrollStrategies.close();default:return this._overlay.scrollStrategies.noop()}}_getPositionStrategy(t,r,c,f,g){const x=[Xs(t,r)],G=this._overlay.position().flexibleConnectedTo(g).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0).withLockedPosition(f);if(!c){const J=this._getFallbacks(t,r);x.push(...J)}return G.withPositions(x)}_getFallbacks(t,r){const D="above"!==r&&"below"!==r?["above","start","center","end","below"]:["above","below"],x=[];return OC(t,"before"!==t&&"after"!==t?["before","start","center","end","after"]:["before","after"]).forEach(G=>{OC(r,D).forEach(J=>{x.push(Xs(G,J))})}),x.slice(1,x.length)}static \u0275fac=function(r){return new(r||s)(i.KVO(Li),i.KVO(i.SKi),i.KVO(ya.D,8))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();function Xs(s,a){const{originX:t,overlayX:r}=function AC(s){switch(s){case"before":return{originX:"start",overlayX:"end"};case"start":return{originX:"start",overlayX:"start"};case"end":return{originX:"end",overlayX:"end"};case"after":return{originX:"end",overlayX:"start"};default:return{originX:"center",overlayX:"center"}}}(s),{originY:c,overlayY:f}=function Ig(s){switch(s){case"above":return{originY:"top",overlayY:"bottom"};case"start":return{originY:"top",overlayY:"top"};case"end":return{originY:"bottom",overlayY:"bottom"};case"below":return{originY:"bottom",overlayY:"top"};default:return{originY:"center",overlayY:"center"}}}(a);return new _D({originX:t,originY:c},{overlayX:r,overlayY:f})}function OC(s,a){const t=a.indexOf(s),r=[s],c=a.slice(0,t),f=a.slice(t+1,a.length).reverse();for(;c.length&&f.length;)r.push(f.pop()),r.push(c.pop());for(;f.length;)r.push(f.pop());for(;c.length;)r.push(c.pop());return r}const RC=new i.nKC("DefaultTransition");let NC=(()=>{class s{elementRef;viewContainerRef;get popover(){return this._popover}set popover(t){if(t instanceof oh)t.anchor=this;else if(""!==t)throw function yM(){return Error("SatPopoverAnchor#satPopoverAnchor must be an instance of SatPopover.")}()}_popover;constructor(t,r){this.elementRef=t,this.viewContainerRef=r}ngAfterViewInit(){if(!this.popover)throw function TC(){return Error('SatPopoverAnchor must be associated with a SatPopover component. Examples: <sat-popover [anchor]="satPopoverAnchorTemplateRef"> or <button satPopoverAnchor [satPopoverAnchor]="satPopoverTemplateRef">')}()}static \u0275fac=function(r){return new(r||s)(i.rXU(i.aKT),i.rXU(i.c1b))};static \u0275dir=i.FsC({type:s,selectors:[["","satPopoverAnchor",""]],inputs:{popover:[0,"satPopoverAnchor","popover"]},exportAs:["satPopoverAnchor"]})}return s})(),oh=(()=>{class s{_focusTrapFactory;_viewContainerRef;_defaultTransition;_document;get anchor(){return this._anchor}set anchor(t){if(t instanceof NC)t._popover=this,this._anchoringService.anchor(this,t.viewContainerRef,t.elementRef),this._anchor=t;else if(t instanceof i.aKT||t instanceof HTMLElement)this._anchoringService.anchor(this,this._viewContainerRef,t),this._anchor=t;else if(t)throw function ih(){return Error("SatPopover#anchor must be an instance of SatPopoverAnchor, ElementRef, or HTMLElement.")}()}_anchor;get horizontalAlign(){return this._horizontalAlign}set horizontalAlign(t){this._validateHorizontalAlign(t),this._horizontalAlign!==t&&(this._horizontalAlign=t,this._anchoringService.repositionPopover())}_horizontalAlign="center";get xAlign(){return this.horizontalAlign}set xAlign(t){this.horizontalAlign=t}get verticalAlign(){return this._verticalAlign}set verticalAlign(t){this._validateVerticalAlign(t),this._verticalAlign!==t&&(this._verticalAlign=t,this._anchoringService.repositionPopover())}_verticalAlign="center";get yAlign(){return this.verticalAlign}set yAlign(t){this.verticalAlign=t}get forceAlignment(){return this._forceAlignment}set forceAlignment(t){const r=(0,lo.c)(t);this._forceAlignment!==r&&(this._forceAlignment=r,this._anchoringService.repositionPopover())}_forceAlignment=!1;get lockAlignment(){return this._lockAlignment}set lockAlignment(t){const r=(0,lo.c)(t);this._lockAlignment!==r&&(this._lockAlignment=(0,lo.c)(t),this._anchoringService.repositionPopover())}_lockAlignment=!1;get autoFocus(){return this._autoFocus&&this._autoFocusOverride}set autoFocus(t){this._autoFocus=(0,lo.c)(t)}_autoFocus=!0;_autoFocusOverride=!0;get restoreFocus(){return this._restoreFocus&&this._restoreFocusOverride}set restoreFocus(t){this._restoreFocus=(0,lo.c)(t)}_restoreFocus=!0;_restoreFocusOverride=!0;get scrollStrategy(){return this._scrollStrategy}set scrollStrategy(t){this._validateScrollStrategy(t),this._scrollStrategy!==t&&(this._scrollStrategy=t,this._anchoringService.updatePopoverConfig())}_scrollStrategy="reposition";get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,lo.c)(t)}_hasBackdrop=!1;get interactiveClose(){return this._interactiveClose}set interactiveClose(t){this._interactiveClose=(0,lo.c)(t)}_interactiveClose=!0;get openTransition(){return this._openTransition}set openTransition(t){t&&(this._openTransition=t)}_openTransition;get closeTransition(){return this._closeTransition}set closeTransition(t){t&&(this._closeTransition=t)}_closeTransition;get openAnimationStartAtScale(){return this._openAnimationStartAtScale}set openAnimationStartAtScale(t){const r=(0,Ns.c)(t);isNaN(r)||(this._openAnimationStartAtScale=r)}_openAnimationStartAtScale=.3;get closeAnimationEndAtScale(){return this._closeAnimationEndAtScale}set closeAnimationEndAtScale(t){const r=(0,Ns.c)(t);isNaN(r)||(this._closeAnimationEndAtScale=r)}_closeAnimationEndAtScale=.5;backdropClass="";panelClass="";opened=new i.bkB;closed=new i.bkB;afterOpen=new i.bkB;afterClose=new i.bkB;backdropClicked=new i.bkB;overlayKeydown=new i.bkB;_templateRef;_classList={};_open=!1;_state="enter";_anchoringService;_focusTrapElement;_previouslyFocusedElement;_focusTrap;constructor(t,r,c,f,g=document){this._focusTrapFactory=t,this._viewContainerRef=c,this._defaultTransition=f,this._document=g,this._anchoringService=r,this._openTransition=f,this._closeTransition=f}ngOnInit(){this._setAlignmentClasses()}open(t={}){if(!this._anchor)throw function Y1(){return Error("SatPopover does not have an anchor.")}();this._anchoringService.openPopover(t)}close(t){this._anchoringService.closePopover(t)}toggle(){this._anchoringService.togglePopover()}realign(){this._anchoringService.realignPopoverToAnchor()}isOpen(){return this._open}setCustomAnchor(t,r){this._anchor=r,this._anchoringService.anchor(this,t,r)}get state(){return this._state}get params(){return{openTransition:this.openTransition,closeTransition:this.closeTransition,startAtScale:this.openAnimationStartAtScale,endAtScale:this.closeAnimationEndAtScale}}_onAnimationDone({toState:t}){"enter"===t?(this._trapFocus(),this.afterOpen.emit()):("exit"===t||"void"===t)&&(this._restoreFocusAndDestroyTrap(),this.afterClose.emit())}_startExitAnimation(){this._state="exit"}_setAlignmentClasses(t=this.horizontalAlign,r=this.verticalAlign){this._classList["sat-popover-before"]="before"===t||"end"===t,this._classList["sat-popover-after"]="after"===t||"start"===t,this._classList["sat-popover-above"]="above"===r||"end"===r,this._classList["sat-popover-below"]="below"===r||"start"===r,this._classList["sat-popover-center"]="center"===t||"center"===r}_trapFocus(){this._savePreviouslyFocusedElement(),this._focusTrapElement&&(!this._focusTrap&&this._focusTrapElement&&(this._focusTrap=this._focusTrapFactory.create(this._focusTrapElement.nativeElement)),this.autoFocus&&this._focusTrap.focusInitialElementWhenReady())}_restoreFocusAndDestroyTrap(){const t=this._previouslyFocusedElement;t&&"focus"in t&&this.restoreFocus&&this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null,this._focusTrap&&(this._focusTrap.destroy(),this._focusTrap=void 0)}_savePreviouslyFocusedElement(){this._document&&(this._previouslyFocusedElement=this._document.activeElement)}_validateHorizontalAlign(t){if(-1===Sg.indexOf(t))throw function IC(s){return Error(Od("horizontalAlign/xAlign",s,Sg))}(t)}_validateVerticalAlign(t){if(-1===co.indexOf(t))throw function xC(s){return Error(Od("verticalAlign/yAlign",s,co))}(t)}_validateScrollStrategy(t){if(-1===MC.indexOf(t))throw function Ad(s){return Error(Od("scrollStrategy",s,MC))}(t)}static \u0275fac=function(r){return new(r||s)(i.rXU(ES),i.rXU(Mg),i.rXU(i.c1b),i.rXU(RC),i.rXU(A.q,8))};static \u0275cmp=i.VBU({type:s,selectors:[["sat-popover"]],viewQuery:function(r,c){if(1&r&&(i.GBs(i.C4Q,7),i.GBs(xd,5)),2&r){let f;i.mGM(f=i.lsd())&&(c._templateRef=f.first),i.mGM(f=i.lsd())&&(c._focusTrapElement=f.first)}},inputs:{anchor:"anchor",horizontalAlign:"horizontalAlign",xAlign:"xAlign",verticalAlign:"verticalAlign",yAlign:"yAlign",forceAlignment:"forceAlignment",lockAlignment:"lockAlignment",autoFocus:"autoFocus",restoreFocus:"restoreFocus",scrollStrategy:"scrollStrategy",hasBackdrop:"hasBackdrop",interactiveClose:"interactiveClose",openTransition:"openTransition",closeTransition:"closeTransition",openAnimationStartAtScale:"openAnimationStartAtScale",closeAnimationEndAtScale:"closeAnimationEndAtScale",backdropClass:"backdropClass",panelClass:"panelClass"},outputs:{opened:"opened",closed:"closed",afterOpen:"afterOpen",afterClose:"afterClose",backdropClicked:"backdropClicked",overlayKeydown:"overlayKeydown"},features:[i.Jv_([Mg])],ngContentSelectors:K1,decls:1,vars:0,consts:[["focusTrapElement",""],[1,"sat-popover-container",3,"ngClass"]],template:function(r,c){1&r&&(i.NAR(),i.DNE(0,vM,3,5,"ng-template"))},dependencies:[W.MD,W.YU],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.cdk-overlay-backdrop-showing{opacity:1}@media (forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.sat-popover-container.sat-popover-before.sat-popover-above{transform-origin:right bottom}[dir=rtl] .sat-popover-container.sat-popover-before.sat-popover-above{transform-origin:left bottom}.sat-popover-container.sat-popover-before.sat-popover-center{transform-origin:right center}[dir=rtl] .sat-popover-container.sat-popover-before.sat-popover-center{transform-origin:left center}.sat-popover-container.sat-popover-before.sat-popover-below{transform-origin:right top}[dir=rtl] .sat-popover-container.sat-popover-before.sat-popover-below{transform-origin:left top}.sat-popover-container.sat-popover-center.sat-popover-above{transform-origin:center bottom}.sat-popover-container.sat-popover-center.sat-popover-below{transform-origin:center top}.sat-popover-container.sat-popover-after.sat-popover-above{transform-origin:left bottom}[dir=rtl] .sat-popover-container.sat-popover-after.sat-popover-above{transform-origin:right bottom}.sat-popover-container.sat-popover-after.sat-popover-center{transform-origin:left center}[dir=rtl] .sat-popover-container.sat-popover-after.sat-popover-center{transform-origin:right center}.sat-popover-container.sat-popover-after.sat-popover-below{transform-origin:left top}[dir=rtl] .sat-popover-container.sat-popover-after.sat-popover-below{transform-origin:right top}\n"],encapsulation:2,data:{animation:[q1]}})}return s})(),Rd=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({providers:[{provide:RC,useValue:"200ms cubic-bezier(0.25, 0.8, 0.25, 1)"}],imports:[W.MD,pl,Dr.A,jp.jI,oh,jp.jI]})}return s})();function Gn(s,a){if(1&s){const t=i.RV6();i.j41(0,"span",4)(1,"ds-icon",9),i.bIt("click",function(c){return i.eBV(t),i.XpG(),i.sdS(7).toggle(),i.Njj(c.stopImmediatePropagation())}),i.k0s()()}if(2&s){i.XpG();const t=i.sdS(7);i.R7$(),i.Y8G("satPopoverAnchor",t)}}function FC(s,a){1&s&&(i.j41(0,"span",10),i.EFF(1),i.nI1(2,"translate"),i.k0s()),2&s&&(i.R7$(),i.SpI(" ",i.bMT(2,1,"optional")," "))}let kr=(()=>{class s{i18n;tooltip;label="";optional=!1;constructor(t){this.i18n=t}static \u0275fac=function(r){return new(r||s)(i.rXU(ii))};static \u0275cmp=i.VBU({type:s,selectors:[["app-form-label"]],inputs:{tooltip:"tooltip",label:"label",optional:"optional"},decls:10,vars:5,consts:[["popover",""],[1,"d-flex","justify-content-between"],[1,"d-flex"],[1,"form-label","mb-0"],[1,"form-label","mb-0","mx-1"],["class","optional-input",4,"ngIf"],["verticalAlign","below",3,"hasBackdrop"],[1,"default-popover","p-3","fs-14"],[1,"fs-12","signature-notes",3,"innerHTML"],["icon","info fs-18",1,"cursor-pointer",3,"click","satPopoverAnchor"],[1,"optional-input"]],template:function(r,c){1&r&&(i.j41(0,"div",1)(1,"div",2)(2,"span",3),i.EFF(3),i.k0s(),i.DNE(4,Gn,2,1,"span",4),i.k0s(),i.DNE(5,FC,3,3,"span",5),i.k0s(),i.j41(6,"sat-popover",6,0)(8,"div",7),i.nrm(9,"span",8),i.k0s()()),2&r&&(i.R7$(3),i.JRh(c.label),i.R7$(),i.vxM(c.tooltip?4:-1),i.R7$(),i.Y8G("ngIf",c.optional),i.R7$(),i.Y8G("hasBackdrop",!0),i.R7$(3),i.Y8G("innerHTML",c.tooltip,i.npT))},dependencies:[W.bT,Rd,oh,NC,Pa],encapsulation:2})}return s})();class CM{_msg;get msg(){return this._msg}set msg(a){this._msg=a}constructor(a,t){this.update(a,t)}update(a,t){if(a){for(const r in t)if(a[r]){const c=t[r],f="function"==typeof c?c(a):c,g=window.wmConfig.language;return void(this.msg=f[g])}this.msg=null}else this.msg=null}}let xg=(()=>{class s{errors={};customErrorMessages;validationErrorMsgs=new CM({},this.getDefaultErrorMsgs());isErrorMsgVisible=!1;ngOnChanges(t){if(t?.errors||t?.customErrorMessages){const r={...this.getDefaultErrorMsgs(),...this.customErrorMessages};this.validationErrorMsgs.update(this.errors,r),this.isErrorMsgVisible=!!this.validationErrorMsgs.msg}}getDefaultErrorMsgs(){return{required:{en:"This field is required",ar:"\u0647\u0630\u0647 \u0627\u0644\u062e\u0627\u0646\u0629 \u0645\u0637\u0644\u0648\u0628\u0647"},minlength:t=>{const r=t.minlength;return{en:`Minimum length is ${r.requiredLength} characters. You entered ${r.actualLength}.`,ar:`\u064a\u062c\u0628 \u0623\u0644\u0627 \u064a\u0642\u0644 \u0639\u062f\u062f \u0627\u0644\u0623\u062d\u0631\u0641 \u0639\u0646 ${r.requiredLength}. \u0644\u0642\u062f \u0623\u062f\u062e\u0644\u062a ${r.actualLength} \u062d\u0631\u0641\u064b\u0627.`}},maxlength:t=>{const r=t.maxlength;return{en:`Maximum length is ${r.requiredLength} characters. You entered ${r.actualLength}.`,ar:`\u064a\u062c\u0628 \u0623\u0644\u0627 \u064a\u0632\u064a\u062f \u0639\u062f\u062f \u0627\u0644\u0623\u062d\u0631\u0641 \u0639\u0646 ${r.requiredLength}. \u0644\u0642\u062f \u0623\u062f\u062e\u0644\u062a ${r.actualLength} \u062d\u0631\u0641\u064b\u0627.`}},validatePhoneNumber:{en:"Please enter valid number",ar:"\u0628\u0631\u062c\u0627\u0621 \u0625\u062f\u062e\u0627\u0644 \u0631\u0642\u0645 \u0635\u062d\u064a\u062d"},invalidTimeFormat:{en:"Invalid time format",ar:"\u0635\u064a\u063a\u0629 \u0627\u0644\u0648\u0642\u062a \u063a\u064a\u0631 \u0635\u062d\u064a\u062d\u0629"},max:t=>{const r=t.max;return{en:`The number must not exceed ${r.max}. You entered ${r.actual}.`,ar:`\u064a\u062c\u0628 \u0623\u0644\u0627 \u064a\u062a\u062c\u0627\u0648\u0632 \u0627\u0644\u0631\u0642\u0645 ${r.max}. \u0644\u0642\u062f \u0623\u062f\u062e\u0644\u062a ${r.actual}.`}},min:t=>{const r=t.min;return{en:`The number must be at least ${r.min}. You entered ${r.actual}.`,ar:`\u064a\u062c\u0628 \u0623\u0646 \u064a\u0643\u0648\u0646 \u0627\u0644\u0631\u0642\u0645 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644 ${r.min}. \u0644\u0642\u062f \u0623\u062f\u062e\u0644\u062a ${r.actual}.`}}}}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["app-validation-errors"],["","app-validation-errors",""]],hostAttrs:[1,"mat-mdc-form-field-error"],hostVars:3,hostBindings:function(r,c){2&r&&(i.zvX("@fadeInDown",c.isErrorMsgVisible?"visible":"hidden"),i.xc7("display",c.isErrorMsgVisible?"":"none"))},inputs:{errors:"errors",customErrorMessages:"customErrorMessages"},features:[i.OA$],decls:1,vars:1,template:function(r,c){1&r&&i.EFF(0),2&r&&i.JRh(c.validationErrorMsgs.msg)},dependencies:[W.MD],encapsulation:2,data:{animation:[Cs("fadeInDown",[Ro("hidden",nt({opacity:0,transform:"translateY(-5px)"})),Ro("visible",nt({opacity:1,transform:"translateY(0%)"})),ko("void => visible",[nt({opacity:0,transform:"translateY(-5px)"}),Hr("300ms ease-in-out")]),ko("hidden => visible",[Hr("300ms ease-in-out")])])]}})}return s})();const wM=s=>({"custom-validation":s}),DM=s=>({"fc-oasis-light-imp":s}),EM=s=>({"mt-0":s}),LC=s=>({"user-picker":s});function Z1(s,a){if(1&s&&i.nrm(0,"app-form-label",5),2&s){const t=i.XpG(2);i.Y8G("label",t.label)("optional",!(t.required||t.mandatory))("tooltip",t.tooltip)}}function SM(s,a){1&s&&i.nrm(0,"span",10)}function MM(s,a){if(1&s){const t=i.RV6();i.j41(0,"mat-option",15),i.bIt("onSelectionChange",function(c){const f=i.eBV(t).$implicit,g=i.XpG(2);return i.Njj(g.selectOption(f,c))}),i.j41(1,"div",16)(2,"div",17),i.nrm(3,"ds-avatar",18),i.k0s(),i.j41(4,"div",19)(5,"h6",20),i.EFF(6),i.k0s(),i.j41(7,"span",21),i.EFF(8),i.k0s()()()()}if(2&s){const t=a.$implicit,r=i.XpG(2);i.Y8G("value",null==t?null:t.personName),i.R7$(3),i.Y8G("image",r.getImage(null==t?null:t.email)),i.R7$(3),i.SpI(" ",null==t?null:t.name," "),i.R7$(2),i.JRh(null==t?null:t.description)}}function TM(s,a){if(1&s&&(i.j41(0,"mat-hint"),i.nrm(1,"span",22)(2,"span",23),i.j41(3,"span",24),i.EFF(4),i.k0s()()),2&s){const t=i.XpG(2);i.R7$(),i.Y8G("ngClass",i.eq3(2,DM,t.value)),i.R7$(3),i.JRh(t.hint)}}function IM(s,a){if(1&s&&i.nrm(0,"mat-error",12),2&s){const t=i.XpG(2);i.Y8G("errors",null==t.control?null:t.control.errors)("customErrorMessages",t.customErrorMessages)}}function xM(s,a){1&s&&(i.j41(0,"mat-error",13),i.EFF(1),i.nI1(2,"translate"),i.k0s()),2&s&&(i.R7$(),i.JRh(i.bMT(2,1,"userAlreadyExist")))}function AM(s,a){if(1&s&&(i.j41(0,"label"),i.EFF(1),i.j41(2,"span",31),i.EFF(3),i.k0s()()),2&s){const t=i.XpG().$implicit;i.R7$(),i.SpI(" ",null==t?null:t.personName," "),i.R7$(2),i.JRh(null==t?null:t.personEmail)}}function OM(s,a){if(1&s){const t=i.RV6();i.j41(0,"ds-button",32),i.bIt("click",function(){i.eBV(t);const c=i.XpG(),f=c.$implicit,g=c.$index,D=i.XpG(3);return i.Njj(D.deleteRow(g,f))}),i.nrm(1,"ds-icon",33),i.k0s()}}function RM(s,a){if(1&s&&(i.j41(0,"div",26)(1,"div",27)(2,"div",28),i.nrm(3,"ds-avatar",29),i.DNE(4,AM,4,2,"label"),i.k0s(),i.DNE(5,OM,2,0,"ds-button",30),i.k0s()()),2&s){const t=a.$implicit,r=a.$index,c=i.XpG(3);i.Y8G("ngClass",i.eq3(4,EM,0===r)),i.R7$(3),i.Y8G("image",c.getImage(null==t?null:t.personEmail)),i.R7$(),i.vxM(null!=t&&t.personName?4:-1),i.R7$(),i.vxM(c.isReadOnly?-1:5)}}function kM(s,a){if(1&s&&(i.j41(0,"div",14)(1,"div",25),i.Z7z(2,RM,6,6,"div",26,i.Vm6),i.k0s()()),2&s){const t=i.XpG(2);i.R7$(2),i.Dyx(t.arrayList)}}function NM(s,a){if(1&s){const t=i.RV6();i.qex(0),i.DNE(1,Z1,1,3,"app-form-label",5),i.j41(2,"mat-form-field",6)(3,"mat-label"),i.EFF(4),i.k0s(),i.nrm(5,"ds-icon",7),i.j41(6,"label",8)(7,"input",9),i.nI1(8,"translate"),i.bIt("input",function(c){i.eBV(t);const f=i.XpG();return i.Njj(f.onLoadOptions(c))}),i.k0s()(),i.DNE(9,SM,1,0,"span",10),i.j41(10,"mat-autocomplete",null,1),i.Z7z(12,MM,9,4,"mat-option",11,i.fX1),i.k0s(),i.DNE(14,TM,5,4,"mat-hint"),i.k0s(),i.DNE(15,IM,1,2,"mat-error",12)(16,xM,3,3,"mat-error",13)(17,kM,4,0,"div",14),i.bVm()}if(2&s){const t=i.sdS(11),r=i.XpG();i.R7$(),i.vxM(r.label?1:-1),i.R7$(),i.ZvI("primary-form ",r.className,""),i.Y8G("floatLabel",r.floatLabel)("ngClass",i.eq3(18,wM,!(null!=r.control&&r.control.errors))),i.R7$(2),i.JRh(r.label),i.R7$(3),i.Y8G("disabled",r.isDisabled)("matAutocomplete",t)("formControl",r.employeeSearchControl)("placeholder",r.placeholder||(r.label?i.bMT(8,16,"select")+" "+r.label:"")),i.R7$(2),i.vxM(r.loading?9:-1),i.R7$(3),i.Dyx(r.data),i.R7$(2),i.vxM(r.showHint?14:-1),i.R7$(),i.vxM(r.control.touched?15:-1),i.R7$(),i.vxM(r.userAlreadyExist?16:-1),i.R7$(),i.vxM(null!=r.arrayList&&r.arrayList.length&&!r.isReadOnly&&r.multiple?17:-1)}}function PM(s,a){if(1&s&&(i.qex(0),i.nrm(1,"app-info-item",34),i.bVm()),2&s){const t=i.XpG();i.R7$(),i.Y8G("hasLabel",!!t.label)("multiple",t.multiple)("ngClass",i.eq3(8,LC,!t.isReadOnly))("actionType",t.isReadOnly?"edit":"delete")("label",t.label)("name",t.control.value.personName)("value",t.control.value.personEmail)("arrayList",t.arrayList)}}let FM=(()=>{class s extends yg{valueName;className="bordered-input";optional=!1;data;floatLabel="auto";error;selected=!1;ApiAlias;parameters;hasCustomAPI=!1;selectedEmployee=new i.bkB;showEdit=!1;arrayList=[];isUniqueUsers=!1;userAlreadyExist=!1;emitedDeletedValue=new i.bkB;destroyRef=(0,i.WQX)(i.abz);hasCustomApi=!1;customApiEmit=new i.bkB;ngOnInit(){super.ngOnInit(),this.actionStateService.resetAction$.pipe(zn(this.destroyRef)).subscribe(t=>{!this.isReadOnly&&this.control.enabled&&this.control.reset()})}deleteRow(t,r){this.isReadOnly||(this.arrayList=this.arrayList?.filter((f,g)=>g!=t),this.emitedDeletedValue.emit({rowData:r,arrayList:this.arrayList})),!this.arrayList?.length&&this.multiple&&(this.employeeSearchControl.markAsTouched(),this.control.setValue([]),this.control.setValidators(this.Validators.required),this.control.updateValueAndValidity())}onLoadOptions(t){const r=t.target.value;this.data=[],r.length>=3?(this.selected=!1,this.loading=!0,this.hasCustomAPI?this.coreService.customSearchEmployee(r,this.ApiAlias,this.parameters).pipe(zn(this.destroyRef)).subscribe({next:c=>{this.loading=!1,this.data=c.Users},error:c=>{},complete:()=>{}}):this.coreService.searchEmployee(r).pipe(zn(this.destroyRef)).subscribe({next:c=>{this.loading=!1,this.data=c.Users},error:c=>{},complete:()=>{}})):0==r.length&&(this.multiple||(this.control.reset(),this.control.markAsTouched()))}includeData(t,r){return!(!t?.email.toLowerCase().includes(r)&&!t?.name.toLowerCase().includes(r))&&t}getImage(t){return"/group/i-gate/wm-bpm/forms/-/proxy/portrait?email="+t}selectOption(t,r){if(this.selectedEmployee.emit(t),this.control.touched||this.onTouchedFn(),this.userAlreadyExist=!1,this.selected=!0,this.data=[],this.multiple){if(this.arrayList?.some(f=>f?.personEmail===t?.email))return void(this.userAlreadyExist=!0);let c={personName:t.name,personEmail:t.email};this.arrayList?.push(c),this.control.setValue(this.arrayList)}else this.control.setValue({personName:t.name,personEmail:t.email}),this.employeeSearchControl.setValue(t.name)}static \u0275fac=(()=>{let t;return function(c){return(t||(t=i.xGo(s)))(c||s)}})();static \u0275cmp=i.VBU({type:s,selectors:[["app-search-employee"]],inputs:{valueName:"valueName",className:"className",optional:"optional",data:"data",floatLabel:"floatLabel",error:"error",ApiAlias:"ApiAlias",parameters:"parameters",hasCustomAPI:"hasCustomAPI",showEdit:"showEdit",arrayList:"arrayList",isUniqueUsers:"isUniqueUsers",hasCustomApi:"hasCustomApi"},outputs:{selectedEmployee:"selectedEmployee",emitedDeletedValue:"emitedDeletedValue",customApiEmit:"customApiEmit"},features:[i.Jv_([{provide:di,useExisting:(0,i.Rfq)(()=>s),multi:!0}]),i.Vt3],decls:18,vars:15,consts:[["searchEmpPopover",""],["auto","matAutocomplete"],["verticalAlign","below",3,"hasBackdrop"],[1,"default-popover","p-3"],[1,"px-3","m-0"],[3,"label","optional","tooltip"],[3,"floatLabel","ngClass"],["icon","search",1,"fc-coral","fs-18"],[1,"mat-form-content"],["type","text","aria-label","Number","matInput","",3,"input","disabled","matAutocomplete","formControl","placeholder"],["matSuffix","",1,"sfi","sfi-spinner","d-inline-block","spin","fc-coral"],[3,"value"],["app-validation-errors","",3,"errors","customErrorMessages"],[1,"mb-2"],[1,"col-12","mt-2"],[3,"onSelectionChange","value"],[1,"d-flex","align-items-center","gap-3"],[1,"dropdown-img"],["onerror","this.onerror=null;this.src='assets/images/user.svg';","slot","prefix","size","small",1,"avatar",3,"image"],[1,"line-height-1"],[1,"fs-14","fw-medium","fc-onyx","mb-0","line-height-1"],[1,"fs-13","fw-normal","fc-dark-gray"],[1,"sfi","sfi-check-circle","font-10","fc-dark-gray",3,"ngClass"],[1,"mx-1"],[1,"fs-12","fc-onyx"],[1,"example-list","n-results"],[1,"example-box","n-col","px-3",3,"ngClass"],[1,"d-flex","flex-grow-1","w-100"],[1,"user-info","flex-grow-1"],["onerror","this.onerror=null;this.src='assets/images/user.svg';","slot","prefix",1,"avatar","prof-img",3,"image"],["size","small","icon","",1,"ds-btn-action"],[1,"title"],["size","small","icon","",1,"ds-btn-action",3,"click"],["icon","trash",1,"fc-coral","fs-20"],["type","user-picker",1,"info-item",3,"hasLabel","multiple","ngClass","actionType","label","name","value","arrayList"]],template:function(r,c){1&r&&(i.DNE(0,NM,18,20,"ng-container")(1,PM,2,10,"ng-container"),i.j41(2,"sat-popover",2,0)(4,"div",3)(5,"ol",4)(6,"li"),i.EFF(7),i.nI1(8,"translate"),i.k0s(),i.j41(9,"li"),i.EFF(10),i.nI1(11,"translate"),i.k0s(),i.j41(12,"li"),i.EFF(13),i.nI1(14,"translate"),i.k0s(),i.j41(15,"li"),i.EFF(16),i.nI1(17,"translate"),i.k0s()()()()),2&r&&(i.vxM(c.isReadOnly?-1:0),i.R7$(),i.vxM(c.isReadOnly&&c.control.value?1:-1),i.R7$(),i.Y8G("hasBackdrop",!0),i.R7$(5),i.JRh(i.bMT(8,7,"searchEmployeeTooltip_1")),i.R7$(3),i.JRh(i.bMT(11,9,"searchEmployeeTooltip_2")),i.R7$(3),i.JRh(i.bMT(14,11,"searchEmployeeTooltip_3")),i.R7$(3),i.JRh(i.bMT(17,13,"searchEmployeeTooltip_4")))},dependencies:[mg,Or,Eg,W.YU,iM,gC,Jm,vg,ld,Kc,sr,Rd,oh,kr,xg,Cd,$s,od,Pa],styles:['.small-input[_ngcontent-%COMP%] ~ .btn[_ngcontent-%COMP%]{height:41px}[_nghost-%COMP%]{flex-grow:1}.agenda-list.inside[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{display:flex;align-items:center;padding:0 1rem;background-color:#fff;border:1px solid silver;height:88px!important}.agenda-list.inside[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:before{position:relative;left:auto;right:auto}.agenda-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{height:66px!important;background-color:#d3d3d3;margin-bottom:1.5rem;cursor:move}.agenda-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover:before{opacity:1}.agenda-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:before{content:"\\e928";font-family:stc-font-icons;left:-1.5rem;color:#a9a9a9;position:absolute;font-size:1.5rem;opacity:0;transition:all .3s linear}[dir=rtl][_ngcontent-%COMP%] .agenda-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:before{left:auto;right:-1.5rem}.agenda-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.example-list[_ngcontent-%COMP%]{width:500px;max-width:100%;border:solid 1px #ccc;min-height:60px;display:block;background:#fff;border-radius:0;overflow:hidden}.example-box[_ngcontent-%COMP%]{color:#000000de;display:flex;box-sizing:border-box;cursor:move;font-size:14px;position:relative;background-color:#f3f3f1;padding:18px;justify-content:space-between;align-items:flex-start;margin-top:10px;padding-inline-start:50px;border:0;flex-direction:column;width:100%}.example-box[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%]{display:flex;align-items:center}.example-box[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%] .drag-icon[_ngcontent-%COMP%]{position:absolute;left:18px;cursor:move}html[dir=rtl][_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%] .drag-icon[_ngcontent-%COMP%]{left:auto;right:18px}.example-box[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%] .prof-img[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;border:2px solid #fff;margin-inline-end:10px}.example-box[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:13px;font-weight:500;color:#1d242d;flex-grow:1}.example-box[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:block;color:#ff375e;font-size:9px}.example-box[_ngcontent-%COMP%] .user-info-reviewer[_ngcontent-%COMP%]{display:flex;gap:.5rem;width:calc(100% + 68px);padding:10px 15px;margin:10px 0 -18px -50px;background-color:#dde0e1}[dir=rtl][_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%] .user-info-reviewer[_ngcontent-%COMP%]{margin:10px -50px -18px 0}.example-box[_ngcontent-%COMP%] .user-info-reviewer[_ngcontent-%COMP%] .drag-icon[_ngcontent-%COMP%]{position:absolute;transform:translateY(-50%);cursor:move}.example-box[_ngcontent-%COMP%] .user-info-reviewer[_ngcontent-%COMP%] .reviewer-info[_ngcontent-%COMP%]{display:flex}.example-box[_ngcontent-%COMP%] .user-info-reviewer[_ngcontent-%COMP%] .reviewer-info[_ngcontent-%COMP%] .prof-img[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:50%;border:1px solid #fff;margin:0 5px}.example-box[_ngcontent-%COMP%] .user-info-reviewer[_ngcontent-%COMP%] .reviewer-info[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:11px;font-weight:500;color:#000;width:100px;margin-top:1px}.example-box[_ngcontent-%COMP%] .user-info-reviewer[_ngcontent-%COMP%] .reviewer-info[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:block;color:#ff375e;font-size:11px}.example-box[_ngcontent-%COMP%] .user-info-reviewer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#a54ee1;font-size:11px;padding:0;margin-bottom:0;display:block;text-align:start}.example-box[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:30px;height:30px;background-color:#ff375e33;text-align:center;line-height:26px;cursor:pointer;flex-shrink:0}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:0;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;overflow:hidden}.cdk-drag-preview[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:none}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-box[_ngcontent-%COMP%]:last-child{border:none}.example-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.n-content[_ngcontent-%COMP%]{max-width:700px;width:100%}.n-results[_ngcontent-%COMP%]{width:100%;border:0;counter-reset:section}.n-results[_ngcontent-%COMP%] .n-col[_ngcontent-%COMP%]{position:relative;background-color:#f3f3f1;padding:10px;justify-content:space-between;align-items:flex-start;margin-top:10px;padding-inline-start:50px;border:0;flex-direction:column;width:100%}.n-results[_ngcontent-%COMP%] .n-col[_ngcontent-%COMP%]:last-child{margin-bottom:30px}.n-results[_ngcontent-%COMP%] .n-col[_ngcontent-%COMP%]:after, .n-results[_ngcontent-%COMP%] .n-col[_ngcontent-%COMP%]:before{display:none}@media (max-width: 991px){.example-box[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%]:before{margin-inline-end:10px;flex-shrink:0}}@media (max-width: 767px){.n-col[_ngcontent-%COMP%]{padding-inline-start:40px}.n-col[_ngcontent-%COMP%] .user-info-reviewer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-bottom:0}}@media (max-width: 321px){.n-results[_ngcontent-%COMP%] .n-col[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:center}.n-results[_ngcontent-%COMP%] .n-col[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%]{justify-content:center}.n-results[_ngcontent-%COMP%] .n-col[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%]:before{position:absolute;top:15px;left:15px}.n-results[_ngcontent-%COMP%] .n-col[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%] .prof-img[_ngcontent-%COMP%]{margin:0 10px 10px}.n-results[_ngcontent-%COMP%] .n-col[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:100%;text-align:center}.n-results[_ngcontent-%COMP%] .n-col[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:100%}} .default-popover{max-width:320px;right:-2.5rem!important}[dir=rtl][_ngcontent-%COMP%] .default-popover{left:-2.5rem!important;right:auto}.dropdown-img[_ngcontent-%COMP%]{width:30px;height:30px;border-radius:50%;border:2px solid #fff}.dropdown-img[_ngcontent-%COMP%] .avatar--medium[_ngcontent-%COMP%]{--default-size: 30px}[_nghost-%COMP%] .avatar{border:0 none!important}']})}return s})(),LM=(()=>{class s{ngControl;mapFn;filterFn;maxLength;constructor(t){this.ngControl=t}handleKeydown(t){if(!this.shouldProceed())return!0;const r=t.key,c=t.target,f=c.value||"",g=c.selectionStart||0,D=c.selectionEnd||0;if(t.ctrlKey||t.metaKey||t.altKey||t.key.length>1&&"Backspace"!==r&&"Delete"!==r)return!0;if("Backspace"===r||"Delete"===r){let de=f,Ce=g;return"Backspace"===r&&(g===D&&g>0?(de=f.slice(0,g-1)+f.slice(D),Ce=Math.max(0,g-1)):de=f.slice(0,g)+f.slice(D)),"Delete"===r&&(de=g===D?f.slice(0,g)+f.slice(D+1):f.slice(0,g)+f.slice(D)),this.updateValue(c,"",f,de,Ce,t),t.preventDefault(),!1}const G=r,J=f.slice(0,g)+G+f.slice(D);return this.updateValue(c,G,f,J,g+1,t),t.preventDefault(),!1}handlePaste(t){if(!this.shouldProceed())return;const r=t.clipboardData?.getData("text")||"",c=t.target;for(let f of r){const g=c.value||"",D=c.selectionStart||0,x=c.selectionEnd||0,G=g.slice(0,D)+f+g.slice(x);this.updateValue(c,f,g,G,D+1,t),t.preventDefault()}}handleDrop(t){if(!this.shouldProceed())return;const r=t.dataTransfer?.getData("text")||"",c=t.target;for(let f of r){const g=c.value||"",D=c.selectionStart||0,x=c.selectionEnd||0,G=g.slice(0,D)+f+g.slice(x);this.updateValue(c,f,g,G,D+1,t),t.preventDefault()}}shouldProceed(){return!!(this.mapFn||this.filterFn||this.hasMaxLength)}hasMaxLength(){return"number"==typeof+this.maxLength&&!isNaN(+this.maxLength)}updateValue(t,r,c,f,g,D){if(!(this.hasMaxLength&&f.length>+this.maxLength)&&(!r||!this.filterFn||this.filterFn(r,c,f,D))){const x=this.mapFn?this.mapFn(r,c,f):f;t.value=x,this.ngControl?.control?this.ngControl.control.setValue(x):t.dispatchEvent(new Event("input",{bubbles:!0})),t.setSelectionRange(g,g)}}static \u0275fac=function(r){return new(r||s)(i.rXU(Uo,10))};static \u0275dir=i.FsC({type:s,selectors:[["","inputMapFilter",""]],hostBindings:function(r,c){1&r&&i.bIt("keydown",function(g){return c.handleKeydown(g)})("paste",function(g){return c.handlePaste(g)})("drop",function(g){return c.handleDrop(g)})},inputs:{mapFn:"mapFn",filterFn:"filterFn",maxLength:"maxLength"}})}return s})();const BM=s=>({"fc-oasis-light-imp":s});function VM(s,a){if(1&s&&i.nrm(0,"app-form-label",1),2&s){const t=i.XpG(2);i.Y8G("label",t.label)("optional",!(t.required||t.mandatory))("tooltip",t.tooltip)}}function jM(s,a){if(1&s&&(i.j41(0,"mat-hint",4),i.nrm(1,"span",6),i.j41(2,"span",7),i.EFF(3),i.k0s()()),2&s){const t=i.XpG(2);i.R7$(),i.Y8G("ngClass",i.eq3(2,BM,t.value)),i.R7$(2),i.JRh(t.hint)}}function $M(s,a){if(1&s&&i.nrm(0,"mat-error",5),2&s){const t=i.XpG(2);i.Y8G("errors",t.control.errors)("customErrorMessages",t.customErrorMessages)}}function UM(s,a){if(1&s){const t=i.RV6();i.qex(0),i.DNE(1,VM,1,3,"app-form-label",1),i.j41(2,"mat-form-field")(3,"mat-label"),i.EFF(4),i.k0s(),i.j41(5,"label",2)(6,"textarea",3,0),i.nI1(8,"translate"),i.bIt("input",function(){i.eBV(t);const c=i.sdS(7),f=i.XpG();return i.Njj(f.setValue(c.value))})("blur",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.onTouchedFn())}),i.EFF(9," "),i.k0s()(),i.DNE(10,jM,4,4,"mat-hint",4),i.k0s(),i.DNE(11,$M,1,2,"mat-error",5),i.bVm()}if(2&s){const t=i.XpG();i.R7$(),i.vxM(t.label?1:-1),i.R7$(),i.ZvI("custom-textarea bordered-input ",t.className,""),i.R7$(2),i.JRh(t.label),i.R7$(2),i.Y8G("placeholder",t.placeholder||(t.label?i.bMT(8,12,"enter")+" "+t.label:""))("value",t.value)("mapFn",t.mapFn)("filterFn",t.filterFn)("maxLength",t.maxLength),i.R7$(4),i.vxM(t.showHint?10:-1),i.R7$(),i.vxM(t.control.touched?11:-1)}}function HM(s,a){if(1&s&&(i.qex(0),i.nrm(1,"app-info-item",8),i.bVm()),2&s){const t=i.XpG();i.R7$(),i.Y8G("insideTable",t.insideTable)("label",t.label)("value",null==t.control?null:t.control.value)("type",t.type)}}let BC=(()=>{class s extends yg{className;preventSpecailChar;maxLength;mapFn;filterFn;destroyRef=(0,i.WQX)(i.abz);ngOnInit(){super.ngOnInit(),this.actionStateService.resetAction$.pipe(zn(this.destroyRef)).subscribe(t=>{!this.isReadOnly&&this.control.enabled&&this.control.reset()})}static \u0275fac=(()=>{let t;return function(c){return(t||(t=i.xGo(s)))(c||s)}})();static \u0275cmp=i.VBU({type:s,selectors:[["app-textarea"]],inputs:{className:"className",preventSpecailChar:"preventSpecailChar",maxLength:"maxLength",mapFn:"mapFn",filterFn:"filterFn"},features:[i.Jv_([{provide:di,useExisting:(0,i.Rfq)(()=>s),multi:!0}]),i.Vt3],decls:2,vars:2,consts:[["textarea",""],[3,"label","optional","tooltip"],[1,"mat-form-content"],["matInput","","inputMapFilter","",3,"input","blur","placeholder","value","mapFn","filterFn","maxLength"],[1,"d-flex","align-items-center","gap-1","mt-1"],["app-validation-errors","",3,"errors","customErrorMessages"],[1,"sfi","sfi-info","fs-17","fc-dark-gray",3,"ngClass"],[1,"fs-12","fc-black","line-height-1"],[1,"info-item","w-100",3,"insideTable","label","value","type"]],template:function(r,c){1&r&&i.DNE(0,UM,12,14,"ng-container")(1,HM,2,4,"ng-container"),2&r&&(i.vxM(c.isReadOnly?-1:0),i.R7$(),i.vxM(c.isReadOnly&&c.control.value&&(c.showIfEmpty||c.control)?1:-1))},dependencies:[Dg,mg,Td,Jf,Or,Eg,kr,xg,Cd,$s,W.YU,Pa,LM],encapsulation:2})}return s})();function zM(s,a){if(1&s&&(i.j41(0,"div",8)(1,"div",9),i.qSk(),i.j41(2,"svg",10),i.nrm(3,"path",11)(4,"path",12)(5,"path",13),i.k0s()(),i.joV(),i.j41(6,"h2",14),i.EFF(7),i.k0s()()),2&s){const t=i.XpG();i.R7$(7),i.SpI(" ",t.i18n.translate("submittedSuccessfully")," ")}}function GM(s,a){if(1&s){const t=i.RV6();i.j41(0,"div",18)(1,"app-search-employee",19,0),i.bIt("emitedValue",function(c){i.eBV(t);const f=i.XpG(2);return i.Njj(f.handleUserSelected(c))}),i.k0s(),i.j41(3,"app-textarea",20,1),i.bIt("emitedValue",function(c){i.eBV(t);const f=i.XpG(2);return i.Njj(f.handleFeedbackQuestion(c))}),i.k0s()()}if(2&s){const t=i.XpG(2);i.R7$(),i.FS9("label",t.i18n.translate("requestTo")),i.Y8G("field",t.searchEmp)("labelTextReadMode",t.i18n.translate("requestTo"))("labelTextWriteMode",t.i18n.translate("requestTo"))("name","searchEmp"),i.R7$(2),i.FS9("label",t.i18n.translate("feedback")),i.Y8G("field",t.employeeInput)("required",!0)("minLength",1)("maxLength",500)("errorMessage",t.i18n.translate("lenghtMin1Max500"))}}function WM(s,a){if(1&s){const t=i.RV6();i.qex(0),i.nrm(1,"app-info-item",23)(2,"app-info-item",23)(3,"app-info-item",23)(4,"app-info-item",23),i.j41(5,"app-textarea",24,1),i.bIt("emitedValue",function(c){i.eBV(t);const f=i.XpG(3);return i.Njj(f.handleFeedbackResponse(c))}),i.k0s(),i.bVm()}if(2&s){const t=i.XpG(3);i.R7$(),i.FS9("label",t.i18n.translate("requestFrom")),i.FS9("value",null==t.feedBackService||null==t.feedBackService.feedbackResponse?null:t.feedBackService.feedbackResponse.requestFrom),i.R7$(),i.FS9("label",t.i18n.translate("requestTo")),i.FS9("value",null==t.feedBackService||null==t.feedBackService.feedbackResponse?null:t.feedBackService.feedbackResponse.requestTo),i.R7$(),i.FS9("label",t.i18n.translate("feedbackQuestion")),i.FS9("value",null==t.feedBackService||null==t.feedBackService.feedbackResponse?null:t.feedBackService.feedbackResponse.requestFeedback),i.R7$(),i.FS9("label",t.i18n.translate("feedback")),i.FS9("value",null==t.feedBackService||null==t.feedBackService.feedbackResponse?null:t.feedBackService.feedbackResponse.responseFeedback),i.R7$(),i.FS9("label",t.i18n.translate("feedback")),i.Y8G("field",t.employeeInput)("required",!0)("minLength",1)("maxLength",500)("errorMessage",t.i18n.translate("lenghtMin1Max500"))}}function Ag(s,a){if(1&s&&(i.qex(0,25),i.nrm(1,"app-info-item",23)(2,"app-info-item",23)(3,"app-info-item",23)(4,"app-info-item",23),i.bVm()),2&s){const t=i.XpG(3);i.R7$(),i.FS9("label",t.i18n.translate("requestFrom")),i.FS9("value",null==t.feedBackService||null==t.feedBackService.feedbackResponse?null:t.feedBackService.feedbackResponse.requestFrom),i.R7$(),i.FS9("label",t.i18n.translate("requestTo")),i.FS9("value",null==t.feedBackService||null==t.feedBackService.feedbackResponse?null:t.feedBackService.feedbackResponse.requestTo),i.R7$(),i.FS9("label",t.i18n.translate("feedbackQuestion")),i.FS9("value",null==t.feedBackService||null==t.feedBackService.feedbackResponse?null:t.feedBackService.feedbackResponse.requestFeedback),i.R7$(),i.FS9("label",t.i18n.translate("feedback")),i.FS9("value",null==t.feedBackService||null==t.feedBackService.feedbackResponse?null:t.feedBackService.feedbackResponse.responseFeedback)}}function Vl(s,a){if(1&s&&(i.j41(0,"div",21),i.DNE(1,WM,7,14,"ng-container",7)(2,Ag,5,8,"ng-container",22),i.k0s()),2&s){const t=i.XpG(2);i.R7$(),i.Y8G("ngIf",t.feedBackService.responderForm),i.R7$(),i.Y8G("ngIf",t.feedBackService.pendingForm)}}function jl(s,a){if(1&s){const t=i.RV6();i.j41(0,"ds-button",29),i.bIt("click",function(){i.eBV(t);const c=i.XpG(3);return i.Njj(c.addFeedback())}),i.EFF(1),i.k0s()}if(2&s){const t=i.XpG(3);i.FS9("disabled",!t.isFeedbackValidated),i.R7$(),i.SpI(" ",t.i18n.translate("submit")," ")}}function $l(s,a){if(1&s){const t=i.RV6();i.j41(0,"ds-button",29),i.bIt("click",function(){i.eBV(t);const c=i.XpG(3);return i.Njj(c.addResponse())}),i.EFF(1),i.k0s()}if(2&s){const t=i.XpG(3);i.FS9("disabled",!t.isResponseValidated),i.R7$(),i.SpI(" ",t.i18n.translate("submit")," ")}}function Ul(s,a){if(1&s&&(i.j41(0,"div",26)(1,"ds-button",27),i.EFF(2),i.k0s(),i.DNE(3,jl,2,2,"ds-button",28)(4,$l,2,2,"ds-button",28),i.k0s()),2&s){const t=i.XpG(2);i.R7$(2),i.SpI(" ",t.i18n.translate("Cancel")," "),i.R7$(),i.Y8G("ngIf",t.feedBackService.feedbackForm),i.R7$(),i.Y8G("ngIf",!t.feedBackService.feedbackForm&&t.feedBackService.responderForm)}}function Hl(s,a){if(1&s&&(i.qex(0),i.DNE(1,GM,5,11,"div",15)(2,Vl,3,2,"div",16)(3,Ul,5,3,"div",17),i.bVm()),2&s){const t=i.XpG();i.R7$(),i.Y8G("ngIf",t.feedBackService.feedbackForm),i.R7$(),i.Y8G("ngIf",!t.feedBackService.feedbackForm),i.R7$(),i.Y8G("ngIf",!t.submitted)}}let zl=(()=>{class s{feedBackService;i18n;data;inboxItem;profile;form;searchEmp;submitted=!1;feedbackStatus=null;feedBackQuestion=null;feedBackResponse=null;isFeedbackValidated=!1;isResponseValidated=!1;employeeInput=null;feedbackId=null;destroyRef=(0,i.WQX)(i.abz);constructor(t,r,c){this.feedBackService=t,this.i18n=r,this.data=c,this.profile=c.profile,this.inboxItem=c.inboxItem,this.form=c.form}ngOnInit(){if(!this.feedBackService.feedBackSent){const t=this.inboxItem;"true"===t?.canRequestFeedback&&(this.feedbackStatus="requestFeedback",this.feedBackService.feedbackForm=!0),"true"===t.isRequested&&"true"===t.hasFeedback&&"false"===t.isPending&&"false"===t.isResponded&&(this.feedbackStatus=Rp,this.feedBackService.pendingForm=!0,this.getFeedBack()),"false"===t.isRequested&&"true"===t.hasFeedback&&"true"===t.isPending&&"false"===t.isResponded&&(this.feedbackStatus="respondToFeedback",this.feedBackService.responderForm=!0,this.getFeedBack()),"true"===t.isRequested&&"true"===t.hasFeedback&&"false"===t.isPending&&"true"===t.isResponded&&(this.feedbackStatus=kp,this.feedBackService.pendingForm=!0,this.getFeedBack())}}getFeedBack(){this.feedBackService.getFeedback(this.profile.employeeEmail).pipe(zn(this.destroyRef)).subscribe(t=>{if(t)if(t instanceof wd)this.showError(t);else{const r=t.items[0];this.feedBackService.feedbackResponse.requestFrom=r.from.firstName+" "+r.from.middleName+" "+r.from.familyName,this.feedBackService.feedbackResponse.requestTo=r.to.firstName+" "+r.to.middleName+" "+r.to.familyName,this.feedBackService.feedbackResponse.requestFeedback=r.query,this.feedBackService.feedbackResponse.responseFeedback=r.response,this.feedbackId=r.id}})}addFeedback(){this.isFeedbackValidated&&this.feedBackService.submitFeedback({email:this.searchEmp.personEmail,question:this.feedBackQuestion}).pipe(zn(this.destroyRef)).subscribe(c=>{c?c instanceof wd?this.showError(c):(this.submitted=!0,this.feedbackStatus=Rp,this.feedBackService.feedbackForm=!1,this.feedBackService.pendingForm=!0,this.feedBackService.feedBackSent=!0,this.feedBackService.feedbackResponse.requestFrom=this.profile.fullName,this.feedBackService.feedbackResponse.requestTo=this.searchEmp.personName,this.feedBackService.feedbackResponse.requestFeedback=this.feedBackQuestion):this.submitted=!0})}addResponse(){this.isFeedbackValidated&&this.feedBackService.addResponse({feedbackId:this.feedbackId,feedbackResponse:this.feedBackResponse}).pipe(zn(this.destroyRef)).subscribe(c=>{c?c instanceof wd?this.showError(c):(this.submitted=!0,this.feedbackStatus=kp,this.feedBackService.responderForm=!1,this.feedBackService.feedBackSent=!0,this.feedBackService.pendingForm=!0,this.feedBackService.feedbackResponse.responseFeedback=this.feedBackResponse):this.submitted=!0})}errorOccured=!1;isSubmiting=!1;errorMsg="";showError(t){this.form?(this.errorOccured=!0,this.errorMsg=t?.error[0]):this.form=new uS(Hi,Hi,Hi,Hi,Hi,Hi,t),window.scrollTo(0,0)}handleFeedbackQuestion(t){this.feedBackQuestion=t,this.handleFeedbackValidation()}handleFeedbackResponse(t){this.feedBackResponse=t,this.handleResponseValidation()}handleUserSelected(t){this.searchEmp={personEmail:t.personEmail,personName:t.personName},this.feedBackQuestion&&this.handleFeedbackValidation()}handleResponseValidation(){this.isResponseValidated=this.feedBackResponse.length>=1&&this.feedBackResponse.length<500}handleFeedbackValidation(){this.isFeedbackValidated=!!(this.feedBackQuestion.length>=1&&this.feedBackQuestion.length<500&&this.searchEmp.personEmail)}static \u0275fac=function(r){return new(r||s)(i.rXU(om),i.rXU(ii),i.rXU(ml))};static \u0275cmp=i.VBU({type:s,selectors:[["app-feedback-section"]],inputs:{inboxItem:"inboxItem",profile:"profile"},decls:9,vars:3,consts:[["employee",""],["request",""],[1,"popup-container"],["mat-dialog-title","",1,"d-flex","align-items-center","justify-content-between"],["square","","icon","","matDialogClose",""],["icon","close",1,"fs-20","fc-black"],["class","d-flex flex-column align-items-center justify-content-center py-4",4,"ngIf"],[4,"ngIf"],[1,"d-flex","flex-column","align-items-center","justify-content-center","py-4"],[1,"text-center","mb-4"],["width","79","height","76","viewBox","0 0 79 76","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M59.9804 0.0998676L1.39239 19.2479C1.02223 19.3692 0.69498 19.5948 0.44999 19.8976C0.205 20.2005 0.0526985 20.5676 0.0113985 20.955C-0.0299016 21.3423 0.0415576 21.7333 0.217184 22.081C0.39281 22.4287 0.665128 22.7183 1.00139 22.9149L23.1454 35.7899C23.487 35.9886 23.8794 36.0828 24.274 36.0608C24.6686 36.0388 25.0481 35.9014 25.3654 35.6659L31.5894 31.0439L26.9674 37.2679C26.7318 37.5852 26.5944 37.9646 26.5722 38.3591C26.5499 38.7537 26.6439 39.1461 26.8424 39.4879L39.7174 61.6289C39.9138 61.9652 40.2031 62.2377 40.5506 62.4135C40.8981 62.5894 41.289 62.6611 41.6763 62.6201C42.0636 62.5791 42.4308 62.4272 42.7338 62.1825C43.0369 61.9378 43.2628 61.6108 43.3844 61.2409L62.5294 2.65187C62.6458 2.29686 62.6615 1.91654 62.5749 1.55313C62.4883 1.18971 62.3026 0.857401 62.0386 0.593071C61.7746 0.328741 61.4425 0.142726 61.0792 0.0556665C60.7159 -0.0313933 60.3355 -0.0160937 59.9804 0.0998676ZM40.9434 55.6999L31.0014 38.6069L42.9894 22.4689C43.2797 22.0798 43.4202 21.5993 43.3852 21.1152C43.3502 20.631 43.142 20.1757 42.7988 19.8325C42.4556 19.4893 42.0002 19.2811 41.5161 19.2461C41.032 19.2111 40.5514 19.3516 40.1624 19.6419L24.0254 31.6279L6.93339 21.6889L57.4514 5.18087L40.9434 55.6999ZM21.2134 44.2759L7.80139 57.6909C7.42253 58.0701 6.90853 58.2833 6.37246 58.2836C5.83638 58.2839 5.32215 58.0712 4.94289 57.6924C4.56363 57.3135 4.35041 56.7995 4.35013 56.2634C4.34985 55.7274 4.56253 55.2131 4.94139 54.8339L18.3564 41.4189C18.7353 41.04 19.2491 40.8272 19.7849 40.8272C20.3207 40.8272 20.8345 41.04 21.2134 41.4189C21.5923 41.7977 21.8051 42.3116 21.8051 42.8474C21.8051 43.3832 21.5923 43.897 21.2134 44.2759ZM3.49139 44.7839C3.30378 44.5963 3.15495 44.3736 3.05341 44.1285C2.95187 43.8834 2.89961 43.6207 2.89961 43.3554C2.89961 43.0901 2.95187 42.8274 3.05341 42.5823C3.15495 42.3371 3.30378 42.1144 3.49139 41.9269L8.78439 36.6339C9.16326 36.255 9.6771 36.0422 10.2129 36.0422C10.7487 36.0422 11.2625 36.255 11.6414 36.6339C12.0203 37.0127 12.2331 37.5266 12.2331 38.0624C12.2331 38.5982 12.0203 39.112 11.6414 39.4909L6.34939 44.7839C6.1618 44.9716 5.93903 45.1206 5.69384 45.2222C5.44864 45.3238 5.18582 45.3762 4.92039 45.3762C4.65497 45.3762 4.39215 45.3238 4.14695 45.2222C3.90176 45.1206 3.67899 44.9716 3.49139 44.7839ZM26.0014 50.9899C26.189 51.1774 26.3378 51.4001 26.4394 51.6453C26.5409 51.8904 26.5932 52.1531 26.5932 52.4184C26.5932 52.6837 26.5409 52.9464 26.4394 53.1915C26.3378 53.4366 26.189 53.6593 26.0014 53.8469L20.7014 59.1409C20.3225 59.5197 19.8087 59.7326 19.2729 59.7326C18.7371 59.7326 18.2233 59.5197 17.8444 59.1409C17.4655 58.762 17.2527 58.2482 17.2527 57.7124C17.2527 57.1766 17.4655 56.6627 17.8444 56.2839L23.1374 50.9909C23.325 50.8032 23.5477 50.6544 23.7928 50.5529C24.0379 50.4513 24.3006 50.3991 24.5659 50.3991C24.8312 50.3991 25.0939 50.4513 25.339 50.5529C25.5841 50.6544 25.8068 50.8032 25.9944 50.9909L26.0014 50.9899Z","fill","#8E9AA0"],["d","M58.0015 75.3119C69.0472 75.3119 78.0015 66.3576 78.0015 55.3119C78.0015 44.2662 69.0472 35.3119 58.0015 35.3119C46.9558 35.3119 38.0015 44.2662 38.0015 55.3119C38.0015 66.3576 46.9558 75.3119 58.0015 75.3119Z","fill","#00C48C"],["d","M56.8804 57.3183L54.0346 54.4725L52.9743 55.5336L56.8774 59.4367L65.8354 50.5267L65.4927 50.0138C63.8557 47.5812 61.1134 46.002 58.0015 46.002C53.0313 46.002 49.0015 50.031 49.0015 55.002C49.0015 59.9729 53.0305 64.002 58.0015 64.002C62.9716 64.002 67.0007 59.9729 67.0015 55.0035H65.5017C65.5017 55.005 65.5017 55.0072 65.5017 55.0095C65.5017 59.1503 62.1453 62.5067 58.0045 62.5067C53.8637 62.5067 50.5072 59.1503 50.5072 55.0095C50.5072 50.8686 53.8637 47.5122 58.0045 47.5122C60.3793 47.5122 62.4962 48.6168 63.87 50.3392L63.882 50.3542L56.8804 57.3183Z","fill","white"],[1,"fs-16","fw-medium","fc-black","mb-4","text-center"],["class","mb-3",4,"ngIf"],["class","info-section",4,"ngIf"],["class","d-flex align-items-center justify-content-center w-100 gap-3",4,"ngIf"],[1,"mb-3"],[3,"emitedValue","label","field","labelTextReadMode","labelTextWriteMode","name"],["name","employeeInput",3,"emitedValue","field","label","required","minLength","maxLength","errorMessage"],[1,"info-section"],["id","responce_form",4,"ngIf"],[1,"info-item","w-100",3,"label","value"],["name","employeeInput",1,"full","mx-3","mt-3","section-item",3,"emitedValue","field","label","required","minLength","maxLength","errorMessage"],["id","responce_form"],[1,"d-flex","align-items-center","justify-content-center","w-100","gap-3"],["shape","outline","matDialogClose",""],[3,"disabled","click",4,"ngIf"],[3,"click","disabled"]],template:function(r,c){1&r&&(i.j41(0,"div",2)(1,"div",3)(2,"h3"),i.EFF(3),i.k0s(),i.j41(4,"ds-button",4),i.nrm(5,"ds-icon",5),i.k0s()(),i.j41(6,"mat-dialog-content"),i.DNE(7,zM,8,1,"div",6)(8,Hl,4,3,"ng-container",7),i.k0s()()),2&r&&(i.R7$(3),i.JRh(c.i18n.translate("requestFeedback")),i.R7$(4),i.Y8G("ngIf",c.submitted),i.R7$(),i.Y8G("ngIf",!c.submitted))},dependencies:[qv,W.bT,FM,BC,Cd,Kv,Ju],styles:[".main-popup{--popup-max-width: 700px !important;--popup-width: 100% !important}"]})}return s})(),Ua=(()=>{class s{_listeners=[];notify(t,r){for(let c of this._listeners)c(t,r)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(r=>t!==r)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();const Ks=new i.nKC("CdkAccordion");let Gl=(()=>{class s{_stateChanges=new _t.B;_openCloseAllActions=new _t.B;id=(0,i.WQX)(Gi).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",i.L39]},exportAs:["cdkAccordion"],features:[i.Jv_([{provide:Ks,useExisting:s}]),i.OA$]})}return s})(),VC=(()=>{class s{accordion=(0,i.WQX)(Ks,{optional:!0,skipSelf:!0});_changeDetectorRef=(0,i.WQX)(i.gRc);_expansionDispatcher=(0,i.WQX)(Ua);_openCloseAllSubscription=ro.yU.EMPTY;closed=new i.bkB;opened=new i.bkB;destroyed=new i.bkB;expandedChange=new i.bkB;id=(0,i.WQX)(Gi).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(t){this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}_expanded=!1;disabled=!1;_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((t,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",i.L39],disabled:[2,"disabled","disabled",i.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i.Jv_([{provide:Ks,useValue:void 0}])]})}return s})(),jC=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({})}return s})();class $C extends Gb{_origin="program";setFocusOrigin(a){return this._origin=a,this}setActiveItem(a){super.setActiveItem(a),this.activeItem&&this.activeItem.focus(this._origin)}}const UC=["body"],HC=["bodyWrapper"],zC=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],GC=["mat-expansion-panel-header","*","mat-action-row"];function WC(s,a){}const XC=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],rh=["mat-panel-title","mat-panel-description","*"];function Ha(s,a){1&s&&(i.j41(0,"span",1),i.qSk(),i.j41(1,"svg",2),i.nrm(2,"path",3),i.k0s()())}const Og=new i.nKC("MAT_ACCORDION"),QC=new i.nKC("MAT_EXPANSION_PANEL");let Rg=(()=>{class s{_template=(0,i.WQX)(i.C4Q);_expansionPanel=(0,i.WQX)(QC,{optional:!0});constructor(){}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["ng-template","matExpansionPanelContent",""]]})}return s})();const za=new i.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Wl=(()=>{class s extends VC{_viewContainerRef=(0,i.WQX)(i.c1b);_animationsDisabled="NoopAnimations"===(0,i.WQX)(i.bc$,{optional:!0});_document=(0,i.WQX)(A.q);_ngZone=(0,i.WQX)(i.SKi);_elementRef=(0,i.WQX)(i.aKT);_renderer=(0,i.WQX)(i.sFG);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=t}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_togglePosition;afterExpand=new i.bkB;afterCollapse=new i.bkB;_inputChanges=new _t.B;accordion=(0,i.WQX)(Og,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=(0,i.WQX)(Gi).getId("mat-expansion-panel-header-");constructor(){super();const t=(0,i.WQX)(za,{optional:!0});this._expansionDispatcher=(0,i.WQX)(Ua),t&&(this.hideToggle=t.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Ca.Z)(null),(0,ae.p)(()=>this.expanded&&!this._portal),(0,Do.s)(1)).subscribe(()=>{this._portal=new ss(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,r=this._body.nativeElement;return t===r||r.contains(t)}return!1}_transitionEndListener=({target:t,propertyName:r})=>{t===this._bodyWrapper?.nativeElement&&"grid-template-rows"===r&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{const t=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(t,"transitionend",this._transitionEndListener),t.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["mat-expansion-panel"]],contentQueries:function(r,c,f){if(1&r&&i.wni(f,Rg,5),2&r){let g;i.mGM(g=i.lsd())&&(c._lazyContent=g.first)}},viewQuery:function(r,c){if(1&r&&(i.GBs(UC,5),i.GBs(HC,5)),2&r){let f;i.mGM(f=i.lsd())&&(c._body=f.first),i.mGM(f=i.lsd())&&(c._bodyWrapper=f.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(r,c){2&r&&i.AVh("mat-expanded",c.expanded)("mat-expansion-panel-spacing",c._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",i.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Jv_([{provide:Og,useValue:void 0},{provide:QC,useExisting:s}]),i.Vt3,i.OA$],ngContentSelectors:GC,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(r,c){1&r&&(i.NAR(zC),i.SdG(0),i.j41(1,"div",2,0)(3,"div",3,1)(5,"div",4),i.SdG(6,1),i.DNE(7,WC,0,0,"ng-template",5),i.k0s(),i.SdG(8,2),i.k0s()()),2&r&&(i.R7$(),i.BMQ("inert",c.expanded?null:""),i.R7$(2),i.Y8G("id",c.id),i.BMQ("aria-labelledby",c._headerId),i.R7$(4),i.Y8G("cdkPortalOutlet",c._portal))},dependencies:[Gu],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,changeDetection:0})}return s})(),kd=(()=>{class s{panel=(0,i.WQX)(Wl,{host:!0});_element=(0,i.WQX)(i.aKT);_focusMonitor=(0,i.WQX)(qu.F);_changeDetectorRef=(0,i.WQX)(i.gRc);_parentChangeSubscription=ro.yU.EMPTY;constructor(){(0,i.WQX)(as._).load(Af);const t=this.panel,r=(0,i.WQX)(za,{optional:!0}),c=(0,i.WQX)(new i.ES_("tabindex"),{optional:!0}),f=t.accordion?t.accordion._stateChanges.pipe((0,ae.p)(g=>!(!g.hideToggle&&!g.togglePosition))):Cg.w;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=(0,ls.h)(t.opened,t.closed,f,t._inputChanges.pipe((0,ae.p)(g=>!!(g.hideToggle||g.disabled||g.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe((0,ae.p)(()=>t._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case en.S:case en.c:(0,Co.rp)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,r){t?this._focusMonitor.focusVia(this._element,t,r):this._element.nativeElement.focus(r)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(r,c){1&r&&i.bIt("click",function(){return c._toggle()})("keydown",function(g){return c._keydown(g)}),2&r&&(i.BMQ("id",c.panel._headerId)("tabindex",c.disabled?-1:c.tabIndex)("aria-controls",c._getPanelId())("aria-expanded",c._isExpanded())("aria-disabled",c.panel.disabled),i.xc7("height",c._getHeaderHeight()),i.AVh("mat-expanded",c._isExpanded())("mat-expansion-toggle-indicator-after","after"===c._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===c._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",t=>null==t?0:(0,i.Udg)(t)]},ngContentSelectors:rh,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(r,c){1&r&&(i.NAR(XC),i.j41(0,"span",0),i.SdG(1),i.SdG(2,1),i.SdG(3,2),i.k0s(),i.DNE(4,Ha,3,0,"span",1)),2&r&&(i.AVh("mat-content-hide-toggle",!c._showToggle()),i.R7$(4),i.vxM(c._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}\n'],encapsulation:2,changeDetection:0})}return s})(),XM=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return s})(),sh=(()=>{class s extends Gl{_keyManager;_ownHeaders=new i.rOR;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe((0,Ca.Z)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(r=>r.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new $C(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let t;return function(c){return(t||(t=i.xGo(s)))(c||s)}})();static \u0275dir=i.FsC({type:s,selectors:[["mat-accordion"]],contentQueries:function(r,c,f){if(1&r&&i.wni(f,kd,5),2&r){let g;i.mGM(g=i.lsd())&&(c._headers=g)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(r,c){2&r&&i.AVh("mat-accordion-multi",c.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",i.L39],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i.Jv_([{provide:Og,useExisting:s}]),i.Vt3]})}return s})(),KC=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({imports:[Ii.M,jC,wr]})}return s})();function KM(s,a){1&s&&i.nrm(0,"ds-icon",6)}function qM(s,a){1&s&&i.nrm(0,"ds-icon",7)}function qC(s,a){if(1&s&&(i.j41(0,"mat-expansion-panel-header",3)(1,"mat-panel-title")(2,"h3",5),i.EFF(3),i.k0s(),i.DNE(4,KM,1,0,"ds-icon",6)(5,qM,1,0,"ds-icon",7),i.k0s()()),2&s){const t=i.XpG().$implicit,r=i.sdS(1);i.R7$(3),i.JRh(t.title),i.R7$(),i.vxM(r.expanded?4:5)}}function YM(s,a){if(1&s&&(i.j41(0,"mat-expansion-panel",2,0),i.DNE(2,qC,6,2,"mat-expansion-panel-header",3),i.j41(3,"p",4),i.EFF(4),i.k0s()()),2&s){const t=a.$implicit;i.Y8G("expanded",0==a.$index),i.R7$(2),i.vxM(t.title?2:-1),i.R7$(2),i.SpI(" ",t.content," ")}}let YC=(()=>{class s{i18n;adminView=!1;faqs;constructor(t){this.i18n=t}static \u0275fac=function(r){return new(r||s)(i.rXU(ii))};static \u0275cmp=i.VBU({type:s,selectors:[["app-faqs"]],inputs:{adminView:"adminView",faqs:"faqs"},decls:3,vars:0,consts:[["expansionPanel","matExpansionPanel"],[1,"primary-accordion"],["hideToggle","",1,"mb-4",3,"expanded"],[1,"expansion-header"],[1,"fs-14","fc-dark-gray"],[1,"fs-14","fw-medium","fc-black","mb-0","flex-grow-1","align-self-center"],["icon","minus",1,"fs-20","fc-dark-gray"],["icon","plus-1",1,"fs-20","fc-coral"]],template:function(r,c){1&r&&(i.j41(0,"mat-accordion",1),i.Z7z(1,YM,5,3,"mat-expansion-panel",2,i.Vm6),i.k0s()),2&r&&(i.R7$(),i.Dyx(c.faqs))},dependencies:[sh,Wl,XM],styles:[".primary-accordion{--accordion-height: 60px;--accordion-radius: 6px;--accordion-bc: var(--light-gray);--accordion-bc-active: var(--white);--accordion-border: 0;--accordion-border-active: 0;--accordion-shadow: none;--accordion-shadow-active: 0 10px 7px rgba(var(--rgb-black), .06);--panel-body-padding: 0 1.5rem 1rem} .primary-accordion .mat-expansion-indicator{display:none}"]})}return s})(),ZC=(()=>{class s{sidenavService;i18n;data=[];constructor(t,r){this.sidenavService=t,this.i18n=r}closeSidenav(){this.sidenavService.publish("close",s)}static \u0275fac=function(r){return new(r||s)(i.rXU(xr.S),i.rXU(ii))};static \u0275cmp=i.VBU({type:s,selectors:[["app-faq-sidenav"]],decls:8,vars:2,consts:[[1,"main-sidenav"],[1,"sidenav-title"],["icon","",3,"click"],["icon","close",1,"fs-20","fc-black"],[1,"sidenav-body"],[3,"faqs"]],template:function(r,c){1&r&&(i.j41(0,"div",0)(1,"div",1)(2,"h3"),i.EFF(3),i.k0s(),i.j41(4,"ds-button",2),i.bIt("click",function(){return c.closeSidenav()}),i.nrm(5,"ds-icon",3),i.k0s()(),i.j41(6,"div",4),i.nrm(7,"app-faqs",5),i.k0s()()),2&r&&(i.R7$(3),i.JRh(c.i18n.translate("serviceBrief")),i.R7$(4),i.Y8G("faqs",c.data))},dependencies:[YC],encapsulation:2})}return s})();function Xl(s,a){if(1&s){const t=i.RV6();i.j41(0,"ds-activity-log",6),i.bIt("downloadEvent",function(c){i.eBV(t);const f=i.XpG();return i.Njj(f.downloadFile(c))}),i.k0s(),i.nrm(1,"a",7)}if(2&s){const t=i.XpG();i.FS9("activitiesData",t.parsedData)}}function ZM(s,a){if(1&s&&i.nrm(0,"ds-message",5),2&s){const t=i.XpG();i.FS9("label",t.i18n.translate("NoData1"))}}let JM=(()=>{class s{sidenavService;i18n;coreService;parsedData;destroyRef=(0,i.WQX)(i.abz);constructor(t,r,c){this.sidenavService=t,this.i18n=r,this.coreService=c,this.parsedData=JSON.stringify(this.coreService.activities)}downloadFile(t){console.log(t.detail.value);const r=t.target.nextElementSibling;this.coreService.loadFile(t.detail.value.id).pipe(zn(this.destroyRef)).subscribe({next:c=>{const f=c.body,g=this.coreService.dataURItoBlob(f.fileContents),D=new File([g],f.fileName,{type:f.mimeType});r.href=URL.createObjectURL(D),r.download=D.name,r.click()},error:c=>{console.error("Error loading file:",c)}})}closeSidenav(){this.sidenavService.publish("close",null)}static \u0275fac=function(r){return new(r||s)(i.rXU(xr.S),i.rXU(ii),i.rXU(Rr))};static \u0275cmp=i.VBU({type:s,selectors:[["app-activities"]],decls:9,vars:2,consts:[[1,"main-sidenav"],[1,"sidenav-title"],["icon","",3,"click"],["icon","close",1,"fs-20","fc-black"],[1,"sidenav-body"],[3,"label"],["readOnly","",3,"downloadEvent","activitiesData"],["href","",1,"d-none"]],template:function(r,c){1&r&&(i.j41(0,"section",0)(1,"div",1)(2,"h3"),i.EFF(3),i.k0s(),i.j41(4,"ds-button",2),i.bIt("click",function(){return c.closeSidenav()}),i.nrm(5,"ds-icon",3),i.k0s()(),i.j41(6,"div",4),i.DNE(7,Xl,2,1)(8,ZM,1,1,"ds-message",5),i.k0s()()),2&r&&(i.R7$(3),i.JRh(c.i18n.translate("commentHistory")),i.R7$(4),i.vxM(c.coreService.activities?7:8))},encapsulation:2})}return s})();const kg={provide:new i.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const s=(0,i.WQX)(Li);return()=>s.scrollStrategies.reposition()}}),deps:[Li],useFactory:function rT(s){return()=>s.scrollStrategies.reposition()}};let aT=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({providers:[kg],imports:[gg,Ii.M,pl,Ti.Gj,Ii.M]})}return s})();class cT{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new _t.B;constructor(a=!1,t,r=!0,c){this._multiple=a,this._emitChanges=r,this.compareWith=c,t&&t.length&&(a?t.forEach(f=>this._markSelected(f)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...a){this._verifyValueAssignment(a),a.forEach(r=>this._markSelected(r));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...a){this._verifyValueAssignment(a),a.forEach(r=>this._unmarkSelected(r));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...a){this._verifyValueAssignment(a);const t=this.selected,r=new Set(a.map(f=>this._getConcreteValue(f)));a.forEach(f=>this._markSelected(f)),t.filter(f=>!r.has(this._getConcreteValue(f,r))).forEach(f=>this._unmarkSelected(f));const c=this._hasQueuedChanges();return this._emitChangeEvent(),c}toggle(a){return this.isSelected(a)?this.deselect(a):this.select(a)}clear(a=!0){this._unmarkAll();const t=this._hasQueuedChanges();return a&&this._emitChangeEvent(),t}isSelected(a){return this._selection.has(this._getConcreteValue(a))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(a){this._multiple&&this.selected&&this._selected.sort(a)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(a){a=this._getConcreteValue(a),this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))}_unmarkSelected(a){a=this._getConcreteValue(a),this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))}_unmarkAll(){this.isEmpty()||this._selection.forEach(a=>this._unmarkSelected(a))}_verifyValueAssignment(a){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(a,t){if(this.compareWith){t=t??this._selection;for(let r of t)if(this.compareWith(a,r))return r;return a}return a}}const r0=["button"],uT=["*"];function fT(s,a){if(1&s&&(i.j41(0,"div",2),i.nrm(1,"mat-pseudo-checkbox",6),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.Y8G("disabled",t.disabled)}}const s0=new i.nKC("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:function hT(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}}),a0=new i.nKC("MatButtonToggleGroup"),pT={provide:di,useExisting:(0,i.Rfq)(()=>c0),multi:!0};class l0{source;value;constructor(a,t){this.source=a,this.value=t}}let c0=(()=>{class s{_changeDetector=(0,i.WQX)(i.gRc);_dir=(0,i.WQX)(ya.D,{optional:!0});_multiple=!1;_disabled=!1;_disabledInteractive=!1;_selectionModel;_rawValue;_controlValueAccessorChangeFn=()=>{};_onTouched=()=>{};_buttonToggles;appearance;get name(){return this._name}set name(t){this._name=t,this._markButtonsForCheck()}_name=(0,i.WQX)(Gi).getId("mat-button-toggle-group-");vertical;get value(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(r=>r.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}valueChange=new i.bkB;get selected(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._markButtonsForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(t){this._disabledInteractive=t,this._markButtonsForCheck()}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}change=new i.bkB;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._markButtonsForCheck()}_hideSingleSelectionIndicator;get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(t){this._hideMultipleSelectionIndicator=t,this._markButtonsForCheck()}_hideMultipleSelectionIndicator;constructor(){const t=(0,i.WQX)(s0,{optional:!0});this.appearance=t&&t.appearance?t.appearance:"standard",this.hideSingleSelectionIndicator=t?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=t?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new cT(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked)),this.multiple||this._initializeTabIndex()}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_keydown(t){if(this.multiple||this.disabled)return;const c=t.target.id,f=this._buttonToggles.toArray().findIndex(D=>D.buttonId===c);let g=null;switch(t.keyCode){case en.S:case en.c:g=this._buttonToggles.get(f)||null;break;case en.U:g=this._getNextButton(f,-1);break;case en.L:g=this._getNextButton(f,"ltr"===this.dir?-1:1);break;case en.D:g=this._getNextButton(f,1);break;case en.R:g=this._getNextButton(f,"ltr"===this.dir?1:-1);break;default:return}g&&(t.preventDefault(),g._onButtonClick(),g.focus())}_emitChangeEvent(t){const r=new l0(t,this.value);this._rawValue=r.value,this._controlValueAccessorChangeFn(r.value),this.change.emit(r)}_syncButtonToggle(t,r,c=!1,f=!1){!this.multiple&&this.selected&&!t.checked&&(this.selected.checked=!1),this._selectionModel?r?this._selectionModel.select(t):this._selectionModel.deselect(t):f=!0,f?Promise.resolve().then(()=>this._updateModelValue(t,c)):this._updateModelValue(t,c)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(r=>null!=t.value&&r===t.value):t.value===this._rawValue)}_initializeTabIndex(){if(this._buttonToggles.forEach(t=>{t.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let t=0;t<this._buttonToggles.length;t++){const r=this._buttonToggles.get(t);if(!r.disabled){r.tabIndex=0;break}}this._markButtonsForCheck()}_getNextButton(t,r){const c=this._buttonToggles;for(let f=1;f<=c.length;f++){const D=c.get((t+r*f+c.length)%c.length);if(D&&!D.disabled)return D}return null}_setSelectionByValue(t){if(this._rawValue=t,!this._buttonToggles)return;const r=this._buttonToggles.toArray();if(this.multiple&&t?(Array.isArray(t),this._clearSelection(),t.forEach(c=>this._selectValue(c,r))):(this._clearSelection(),this._selectValue(t,r)),!this.multiple&&r.every(c=>-1===c.tabIndex))for(const c of r)if(!c.disabled){c.tabIndex=0;break}}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>{t.checked=!1,this.multiple||(t.tabIndex=-1)})}_selectValue(t,r){for(const c of r)if(c.value===t){c.checked=!0,this._selectionModel.select(c),this.multiple||(c.tabIndex=0);break}}_updateModelValue(t,r){r&&this._emitChangeEvent(t),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(t=>t._markForCheck())}static \u0275fac=function(r){return new(r||s)};static \u0275dir=i.FsC({type:s,selectors:[["mat-button-toggle-group"]],contentQueries:function(r,c,f){if(1&r&&i.wni(f,Fg,5),2&r){let g;i.mGM(g=i.lsd())&&(c._buttonToggles=g)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(r,c){1&r&&i.bIt("keydown",function(g){return c._keydown(g)}),2&r&&(i.BMQ("role",c.multiple?"group":"radiogroup")("aria-disabled",c.disabled),i.AVh("mat-button-toggle-vertical",c.vertical)("mat-button-toggle-group-appearance-standard","standard"===c.appearance))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",i.L39],value:"value",multiple:[2,"multiple","multiple",i.L39],disabled:[2,"disabled","disabled",i.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",i.L39],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",i.L39],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",i.L39]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[i.Jv_([pT,{provide:a0,useExisting:s}])]})}return s})(),Fg=(()=>{class s{_changeDetectorRef=(0,i.WQX)(i.gRc);_elementRef=(0,i.WQX)(i.aKT);_focusMonitor=(0,i.WQX)(qu.F);_idGenerator=(0,i.WQX)(Gi);_animationMode=(0,i.WQX)(i.bc$,{optional:!0});_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex}set tabIndex(t){t!==this._tabIndex&&(this._tabIndex=t,this._markForCheck())}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=t}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||null!==this.buttonToggleGroup&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(t){this._disabledInteractive=t}_disabledInteractive;change=new i.bkB;constructor(){(0,i.WQX)(as._).load(Af);const t=(0,i.WQX)(a0,{optional:!0}),r=(0,i.WQX)(new i.ES_("tabindex"),{optional:!0})||"",c=(0,i.WQX)(s0,{optional:!0});this._tabIndex=parseInt(r)||0,this.buttonToggleGroup=t,this.appearance=c&&c.appearance?c.appearance:"standard",this.disabledInteractive=c?.disabledInteractive??!1}ngOnInit(){const t=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){"NoopAnimations"!==this._animationMode&&this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){if(this.disabled)return;const t=!!this.isSingleSelector()||!this._checked;if(t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){const r=this.buttonToggleGroup._buttonToggles.find(c=>0===c.tabIndex);r&&(r.tabIndex=-1),this.tabIndex=0}this.change.emit(new l0(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(r){return new(r||s)};static \u0275cmp=i.VBU({type:s,selectors:[["mat-button-toggle"]],viewQuery:function(r,c){if(1&r&&i.GBs(r0,5),2&r){let f;i.mGM(f=i.lsd())&&(c._buttonElement=f.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(r,c){1&r&&i.bIt("focus",function(){return c.focus()}),2&r&&(i.BMQ("aria-label",null)("aria-labelledby",null)("id",c.id)("name",null),i.AVh("mat-button-toggle-standalone",!c.buttonToggleGroup)("mat-button-toggle-checked",c.checked)("mat-button-toggle-disabled",c.disabled)("mat-button-toggle-disabled-interactive",c.disabledInteractive)("mat-button-toggle-appearance-standard","standard"===c.appearance))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",i.L39],appearance:"appearance",checked:[2,"checked","checked",i.L39],disabled:[2,"disabled","disabled",i.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",i.L39]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:uT,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(r,c){if(1&r){const f=i.RV6();i.NAR(),i.j41(0,"button",1,0),i.bIt("click",function(){return i.eBV(f),i.Njj(c._onButtonClick())}),i.DNE(2,fT,2,1,"div",2),i.j41(3,"span",3),i.SdG(4),i.k0s()(),i.nrm(5,"span",4)(6,"span",5)}if(2&r){const f=i.sdS(1);i.Y8G("id",c.buttonId)("disabled",c.disabled&&!c.disabledInteractive||null),i.BMQ("role",c.isSingleSelector()?"radio":"button")("tabindex",c.disabled&&!c.disabledInteractive?-1:c.tabIndex)("aria-pressed",c.isSingleSelector()?null:c.checked)("aria-checked",c.isSingleSelector()?c.checked:null)("name",c._getButtonName())("aria-label",c.ariaLabel)("aria-labelledby",c.ariaLabelledby)("aria-disabled",c.disabled&&c.disabledInteractive?"true":null),i.R7$(2),i.vxM(c.buttonToggleGroup&&(!c.buttonToggleGroup.multiple&&!c.buttonToggleGroup.hideSingleSelectionIndicator||c.buttonToggleGroup.multiple&&!c.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),i.R7$(4),i.Y8G("matRippleTrigger",f)("matRippleDisabled",c.disableRipple||c.disabled)}},dependencies:[ka,hS],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}@media(forced-colors: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-legacy-button-toggle-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checkbox-wrapper{display:inline-block;justify-content:flex-start;align-items:center;width:0;height:18px;line-height:18px;overflow:hidden;box-sizing:border-box;position:absolute;top:50%;left:16px;transform:translate3d(0, -50%, 0)}[dir=rtl] .mat-button-toggle-checkbox-wrapper{left:auto;right:16px}.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:12px}[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:auto;right:12px}.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper{width:18px}.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper{transition:width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper{transition:none}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-legacy-button-toggle-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-standard-button-toggle-background-color, transparent);font-family:var(--mat-standard-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-standard-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-standard-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-standard-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-standard-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-standard-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-standard-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-standard-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height, 40px)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-animations-enabled .mat-button-toggle-button{transition:padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-button{transition:none}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:30px}[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:0;padding-right:30px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}\n"],encapsulation:2,changeDetection:0})}return s})(),mT=(()=>{class s{static \u0275fac=function(r){return new(r||s)};static \u0275mod=i.$C({type:s});static \u0275inj=i.G2t({imports:[Ii.M,gg,Fg,Ii.M]})}return s})(),Lg=(()=>{class s{transform(t){return{APPROVED:"success",STORED:"success",GM_APPROVAL:"success",COMPLETED:"success",COMPLETE:"success",ACCEPTED:"success",SUBMIT:"success",SUBMIT_TRAINING:"success",VEHICLE_IS_AVAILABLE:"success",VEHICLE_RECEIVED:"success",RETRY:"success",REJECT:"danger",REJECTED:"danger",AUTO_REJECT:"danger",VEHICLE_IS_NOT_AVAILABLE:"danger",SEND_TO_SAFETY_INSPECTOR:"success",SEND_TO_DESIGN_TEAM:"success",SEND_TO_SECURITY_SUPERVISOR:"success",PENDING:"warning",QUEUED:"warning",UNACCEPTABLE:"success",RECEIVED:"success",CLOSED:"success",SENT:"info",SENDBACKTOREQUESTER:"send_back",COLLECT_SITE_FEEDBACK:"success",COLLECT_SITE_VISIT_FEEDBACK:"success",SUBMIT_FEEDBACK:"success",CONFIRM_SITE_HANDOVER:"success",SEND_BACK_TO_REQUESTER:"send_back","SEND BACK TO REQUESTER":"send_back",SENDBACK:"send_back",EXPIRED:"expired",CANCELLED:"pending",CANCELED:"pending",SHIPMENT_DELIVERY_REJECTED:"danger"}[t?.toUpperCase()]||"success"}static \u0275fac=function(r){return new(r||s)};static \u0275pipe=i.EJ8({name:"statusClass",type:s,pure:!0})}return s})();const aA=(s,a)=>({"input-disabled":s,"custom-validation":a}),gT=s=>({"fc-oasis-light-imp":s});function Bg(s,a){if(1&s&&(i.qex(0),i.nrm(1,"app-info-item",2),i.bVm()),2&s){const t=i.XpG();i.R7$(),i.Y8G("label",t.label)("insideTable",t.insideTable)("hasLabel",!!t.label)("value",null==t.control?null:t.control.value.value)}}function d0(s,a){if(1&s&&i.nrm(0,"app-form-label",3),2&s){const t=i.XpG(2);i.Y8G("label",t.label)("optional",!(t.required||t.mandatory))("tooltip",t.tooltip)}}function u0(s,a){1&s&&i.nrm(0,"span",5)}function f0(s,a){1&s&&i.nrm(0,"span",8)}function h0(s,a){if(1&s){const t=i.RV6();i.j41(0,"span",12),i.bIt("click",function(){i.eBV(t);const c=i.XpG(2);return i.Njj(c.clearInput())}),i.k0s()}}function _T(s,a){if(1&s&&(i.j41(0,"figure",15),i.nrm(1,"img",17),i.k0s()),2&s){const t=i.XpG().$implicit;i.R7$(),i.Y8G("src",t.avatar_url,i.B4B)}}function p0(s,a){1&s&&i.nrm(0,"span",16)}function m0(s,a){if(1&s&&(i.j41(0,"mat-option",13)(1,"div",14),i.DNE(2,_T,2,1,"figure",15)(3,p0,1,0,"span",16),i.EFF(4),i.k0s()()),2&s){const t=a.$implicit,r=i.XpG(3);i.Y8G("value",t),i.R7$(2),i.vxM(t.avatar_url?2:-1),i.R7$(),i.vxM(t.avatar_url?3:-1),i.R7$(),i.SpI(" ",t[r.displayedLabel]," ")}}function vT(s,a){if(1&s&&(i.qex(0),i.Z7z(1,m0,5,4,"mat-option",13,i.fX1),i.bVm()),2&s){const t=i.XpG(2);i.R7$(),i.Dyx(t.filteredOptions)}}function g0(s,a){1&s&&(i.qex(0),i.j41(1,"mat-option",18),i.EFF(2,"No Data"),i.k0s(),i.bVm()),2&s&&(i.R7$(),i.Y8G("disabled",!0))}function lA(s,a){if(1&s&&(i.j41(0,"mat-hint"),i.nrm(1,"span",19)(2,"span",20),i.j41(3,"span",21),i.EFF(4),i.k0s()()),2&s){const t=i.XpG(2);i.R7$(),i.Y8G("ngClass",i.eq3(2,gT,t.value)),i.R7$(3),i.JRh(t.hint)}}function cA(s,a){if(1&s&&i.nrm(0,"mat-error",11),2&s){const t=i.XpG(2);i.Y8G("errors",t.control.errors)("customErrorMessages",t.customErrorMessages)}}function yT(s,a){if(1&s){const t=i.RV6();i.qex(0),i.DNE(1,d0,1,3,"app-form-label",3),i.j41(2,"mat-form-field",4),i.DNE(3,u0,1,0,"span",5),i.j41(4,"label",6)(5,"input",7,0),i.nI1(7,"translate"),i.bIt("keydown",function(c){i.eBV(t);const f=i.sdS(6),g=i.XpG();return i.Njj(g.onKeyDown(c,f))})("input",function(c){i.eBV(t);const f=i.XpG();return i.Njj(f.onValueChange(c))})("focusout",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.onFocusOut())}),i.k0s()(),i.DNE(8,f0,1,0,"span",8)(9,h0,1,0,"span",9),i.j41(10,"mat-autocomplete",10,1),i.bIt("optionSelected",function(c){i.eBV(t);const f=i.XpG();return i.Njj(f.getAutoComplete(c.option.value))}),i.DNE(12,vT,3,0,"ng-container")(13,g0,3,1,"ng-container"),i.k0s(),i.DNE(14,lA,5,4,"mat-hint"),i.k0s(),i.DNE(15,cA,1,2,"mat-error",11),i.bVm()}if(2&s){const t=i.sdS(11),r=i.XpG();i.R7$(),i.vxM(r.label?1:-1),i.R7$(),i.ZvI("primary-form ",r.className,""),i.Y8G("ngClass",i.l_i(22,aA,r.disabled||r.loading,!r.control.hasValidator(r.Validators.required)))("floatLabel",r.floatLabel),i.R7$(),i.vxM(r.disabled?-1:3),i.R7$(2),i.Y8G("disabled",r.disabled)("placeholder",r.placeholder||(r.label?i.bMT(7,20,"select")+" "+r.label:""))("formControl",r.searchControl)("name",r.name)("matAutocomplete",t)("value",null==r.value?null:r.value.key),i.R7$(3),i.vxM(r.loading?8:-1),i.R7$(),i.vxM(!r.loading&&null!=r.searchControl&&r.searchControl.value?9:-1),i.R7$(),i.Y8G("displayWith",r.displayFn),i.R7$(2),i.vxM(r.noData?-1:12),i.R7$(),i.vxM(r.noData?13:-1),i.R7$(),i.vxM(r.showHint?14:-1),i.R7$(),i.vxM(r.control.touched?15:-1)}}let Vg=(()=>{class s extends yg{options;selectedValue=new i.bkB;isLengthGreaterThan4=new i.bkB;disabled=!1;displayedLabel="description";key="value";floatLabel="auto";className="bordered-input";destroyRef=(0,i.WQX)(i.abz);ngOnInit(){super.ngOnInit(),this.actionStateService.resetAction$.pipe(zn(this.destroyRef)).subscribe(t=>{!this.isReadOnly&&this.control.enabled&&this.control.reset()})}noData=!1;filteredOptions;clearInput(){this.control.reset(),this.searchControl.reset(),this.isReadOnly||this.setFilteredOptions()}onFocusOut(){this.control.markAsTouched()}onKeyDown(t,r){setTimeout(()=>{(8==t.keyCode||46==t.keyCode)&&!this.control.value&&(this.control&&(this.control.reset(),this.control.markAsTouched()),r.focus())})}ngOnChanges(t){this.setFilteredOptions()}onValueChange(t){this.setFilteredOptions(t)}setFilteredOptions(t){this.options?.length>0?(this.noData=!1,this.filteredOptions=t?.target?.value?this._filter(t.target.value):this.options):this.noData=!0}_filter(t){const r="string"==typeof t?t?.toLowerCase():t;return this.options?.filter(c=>Object.values(c).join("")?.toLowerCase().includes(r))}displayFn(t){return t||""}getAutoComplete(t){this.control.setValue({key:t[this.key],value:t[this.displayedLabel]}),this.searchControl.setValue(t[this.displayedLabel]),this.selectedValue.emit(t)}static \u0275fac=(()=>{let t;return function(c){return(t||(t=i.xGo(s)))(c||s)}})();static \u0275cmp=i.VBU({type:s,selectors:[["app-custom-searchable"]],inputs:{options:"options",disabled:"disabled",displayedLabel:"displayedLabel",key:"key",floatLabel:"floatLabel",className:"className"},outputs:{selectedValue:"selectedValue",isLengthGreaterThan4:"isLengthGreaterThan4"},features:[i.Jv_([{provide:di,useExisting:(0,i.Rfq)(()=>s),multi:!0}]),i.Vt3,i.OA$],decls:2,vars:2,consts:[["autocompleteInput",""],["auto","matAutocomplete"],[1,"info-item","w-100",3,"label","insideTable","hasLabel","value"],[3,"label","optional","tooltip"],[3,"ngClass","floatLabel"],["matPrefix","",1,"sfi","sfi-search","fc-coral","fs-18"],[1,"mat-form-content"],["type","text","aria-label","Number","matInput","",3,"keydown","input","focusout","disabled","placeholder","formControl","name","matAutocomplete","value"],["matSuffix","",1,"sfi","sfi-spinner","d-inline-block","spin","fc-coral"],["matSuffix","",1,"sfi","sfi-close","d-inline-block","fc-coral","cursor-pointer","fs-12"],["autoActiveFirstOption","",3,"optionSelected","displayWith"],["app-validation-errors","",3,"errors","customErrorMessages"],["matSuffix","",1,"sfi","sfi-close","d-inline-block","fc-coral","cursor-pointer","fs-12",3,"click"],[3,"value"],[1,"d-flex","align-items-center"],[1,"img-card","small","circled-img","p-0","m-0"],[1,"mx-2"],["alt","",3,"src"],[1,"text-center",3,"disabled"],[1,"sfi","sfi-check-circle","font-10","fc-dark-gray",3,"ngClass"],[1,"mx-1"],[1,"fs-12","fc-onyx"]],template:function(r,c){1&r&&i.DNE(0,Bg,2,4,"ng-container")(1,yT,16,25,"ng-container"),2&r&&(i.vxM(c.isReadOnly&&null!=c.control&&c.control.value?0:-1),i.R7$(),i.vxM(c.isReadOnly?-1:1))},dependencies:[W.YU,gC,Jm,vg,EC,Eg,mg,Jf,Or,GS,lC,kr,xg,Cd,$s,Kc,sr,od,Pa],styles:[".small-input[_ngcontent-%COMP%] ~ .btn[_ngcontent-%COMP%]{height:41px}[_nghost-%COMP%]{flex-grow:1} [dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:var(--input-padding)!important} [dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:var(--input-padding)!important}"]})}return s})();const lh=()=>[0,1,2,3];function bT(s,a){1&s&&(i.j41(0,"div",22)(1,"div",24),i.nrm(2,"h3",25),i.k0s(),i.j41(3,"div",26)(4,"div",27),i.nrm(5,"span",28)(6,"span",29),i.k0s(),i.nrm(7,"div",30),i.k0s()())}function CT(s,a){1&s&&(i.qex(0),i.DNE(1,bT,8,0,"div",23),i.bVm()),2&s&&(i.R7$(),i.Y8G("ngForOf",i.lJ4(1,lh)))}function jg(s,a){if(1&s){const t=i.RV6();i.j41(0,"div",22)(1,"div",24)(2,"h3",31),i.bIt("click",function(){const c=i.eBV(t).$implicit,f=i.XpG(3);return i.Njj(f.viewForm(null==c||null==c.form?null:c.form.formId))}),i.EFF(3),i.k0s()(),i.j41(4,"div",26)(5,"div",27)(6,"span",32),i.EFF(7),i.k0s(),i.j41(8,"span",33),i.EFF(9),i.nI1(10,"date"),i.k0s()(),i.j41(11,"div",30)(12,"ds-status"),i.nI1(13,"statusClass"),i.EFF(14),i.k0s()()()()}if(2&s){const t=a.$implicit,r=i.XpG(3);i.R7$(3),i.JRh(null==t||null==t.form?null:t.form.formId),i.R7$(4),i.JRh(r.i18n.translate("formTableCreationDate")),i.R7$(2),i.JRh(i.i5U(10,5,null==t||null==t.form?null:t.form.creationDate,"dd/MM/yyyy hh:mm a")),i.R7$(3),i.BMQ("status",i.bMT(13,8,null==t||null==t.form||null==t.form.formStatus?null:t.form.formStatus.key)),i.R7$(2),i.SpI(" ",null==t||null==t.form||null==t.form.formStatus?null:t.form.formStatus.value," ")}}function ch(s,a){if(1&s&&i.DNE(0,jg,15,10,"div",23),2&s){const t=i.XpG(2);i.Y8G("ngForOf",t.previousRequests)}}function dh(s,a){if(1&s&&(i.j41(0,"div",19),i.DNE(1,CT,2,2,"ng-container")(2,ch,1,1,"div",22),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.vxM(t.loading?1:2)}}function $g(s,a){if(1&s){const t=i.RV6();i.j41(0,"tbody")(1,"tr")(2,"td")(3,"span",37),i.bIt("click",function(){const c=i.eBV(t).$implicit,f=i.XpG(3);return i.Njj(f.viewForm(null==c||null==c.form?null:c.form.formId))}),i.EFF(4),i.k0s()(),i.j41(5,"td"),i.EFF(6),i.nI1(7,"date"),i.k0s(),i.j41(8,"td")(9,"ds-status"),i.nI1(10,"statusClass"),i.EFF(11),i.k0s()()()()}if(2&s){const t=a.$implicit;i.R7$(4),i.SpI(" ",null==t||null==t.form?null:t.form.formId," "),i.R7$(2),i.JRh(i.i5U(7,4,null==t||null==t.form?null:t.form.creationDate,"dd/MM/yyyy hh:mm a")),i.R7$(3),i.BMQ("status",i.bMT(10,7,null==t||null==t.form||null==t.form.formStatus?null:t.form.formStatus.key)),i.R7$(2),i.SpI(" ",null==t||null==t.form||null==t.form.formStatus?null:t.form.formStatus.value," ")}}function _0(s,a){if(1&s&&(i.j41(0,"table")(1,"thead")(2,"tr")(3,"th"),i.EFF(4),i.k0s(),i.j41(5,"th"),i.EFF(6),i.k0s(),i.j41(7,"th"),i.EFF(8),i.k0s()()(),i.DNE(9,$g,12,9,"tbody",36),i.k0s()),2&s){const t=i.XpG(2);i.R7$(4),i.JRh(t.i18n.translate("formTableFormId")),i.R7$(2),i.JRh(t.i18n.translate("formTableCreationDate")),i.R7$(2),i.JRh(t.i18n.translate("Status")),i.R7$(),i.Y8G("ngForOf",t.previousRequests)}}function wT(s,a){1&s&&i.nrm(0,"ds-loading-table",38),2&s&&i.Y8G("cols",4)("rows",4)}function DT(s,a){if(1&s&&(i.j41(0,"div",20),i.DNE(1,_0,10,4,"table",34)(2,wT,1,2,"ds-loading-table",35),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.Y8G("ngIf",(null==t.previousRequests?null:t.previousRequests.length)&&!t.loading),i.R7$(),i.Y8G("ngIf",t.loading)}}function ET(s,a){1&s&&i.eu8(0)}function uh(s,a){if(1&s&&i.DNE(0,ET,1,0,"ng-container",39),2&s){i.XpG();const t=i.sdS(27);i.Y8G("ngTemplateOutlet",t)}}function fh(s,a){if(1&s){const t=i.RV6();i.j41(0,"form",40)(1,"div",41)(2,"div",42)(3,"h3",43),i.EFF(4),i.k0s()(),i.j41(5,"div",44),i.nrm(6,"app-custom-searchable",45)(7,"app-custom-searchable",46)(8,"app-custom-searchable",47),i.j41(9,"div",48)(10,"ds-button",49),i.bIt("click",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.clearFilters())}),i.j41(11,"span",50),i.EFF(12),i.k0s()(),i.j41(13,"ds-button",51),i.bIt("click",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.applyFilters())}),i.j41(14,"span",50),i.EFF(15),i.k0s()()()()()()}if(2&s){const t=i.XpG();i.Y8G("formGroup",t.filterFormGroup),i.R7$(4),i.JRh(t.i18n.translate("filters")),i.R7$(2),i.FS9("label",t.i18n.translate("status")),i.Y8G("options",t.statuses)("displayedLabel","value")("key","key"),i.R7$(),i.FS9("label",t.i18n.translate("year")),i.Y8G("options",t.yearsOptions)("displayedLabel","value")("key","key"),i.R7$(),i.FS9("label",t.i18n.translate("month")),i.Y8G("options",t.monthsOptions)("displayedLabel","value")("key","key"),i.R7$(4),i.SpI(" ",t.i18n.translate("clear")," "),i.R7$(3),i.SpI("",t.i18n.translate("applyFilters")," ")}}function Ug(s,a){if(1&s&&i.nrm(0,"ds-message",52),2&s){const t=i.XpG();i.FS9("label",t.i18n.translate("NoData"))}}let v0=(()=>{class s{dialog;sidenavService;coreService;toasterService;i18n;fb;cd;previousRequests=[];destroyRef=(0,i.WQX)(i.abz);loading;filterFormGroup;errorMessage;isOpen=!1;monthsOptions=[{key:"1",value:"1"},{key:"2",value:"2"},{key:"3",value:"3"},{key:"4",value:"4"},{key:"5",value:"5"},{key:"6",value:"6"},{key:"7",value:"7"},{key:"8",value:"8"},{key:"9",value:"9"},{key:"10",value:"10"},{key:"11",value:"11"},{key:"12",value:"12"}];yearsOptions=[{key:(new Date).getFullYear(),value:(new Date).getFullYear()},{key:(new Date).getFullYear()-1,value:(new Date).getFullYear()-1},{key:(new Date).getFullYear()-2,value:(new Date).getFullYear()-2},{key:(new Date).getFullYear()-3,value:(new Date).getFullYear()-3}];statuses=[];searchData={year:null,month:null};constructor(t,r,c,f,g,D,x){this.dialog=t,this.sidenavService=r,this.coreService=c,this.toasterService=f,this.i18n=g,this.fb=D,this.cd=x}ngOnInit(){this.createForm(),this.statuses=[{key:"APPROVED",value:"en"==this.i18n.language?"Approve":"\u0645\u0648\u0627\u0641\u0642\u0629"},{key:"REJECTED",value:"en"==this.i18n.language?"Reject":"\u0645\u0631\u0641\u0648\u0636"},{key:"PENDING",value:"en"==this.i18n.language?"Pending":"\u0645\u0639\u0644\u0642"}]}ngUnsubscribe=new _t.B;currentDateControl(){const t=new Date,r=t.getUTCMonth()+1,c=t.getFullYear();return{month:new ui({key:r,value:r},Mr.required),year:new ui({key:c,value:c},Mr.required)}}createForm(){this.filterFormGroup=this.fb.group({...this.currentDateControl(),status:new ui("",Mr.required)}),this.filterFormGroup.get("status").valueChanges.pipe(zn(this.destroyRef)).subscribe(t=>{this.filterStatus()})}ngAfterViewInit(){this.coreService.historyDataLoaded?this.previousRequests=this.coreService.historyData:this.getRequests(),this.cd.detectChanges()}clearFilters(){this.filterFormGroup.reset(),this.filterFormGroup.get("month").setValue({key:(new Date).getUTCMonth()+1,value:(new Date).getUTCMonth()+1}),this.filterFormGroup.get("year").setValue({key:(new Date).getFullYear(),value:(new Date).getFullYear()+1}),this.filterFormGroup.get("status").setValue(""),this.isOpen=!this.isOpen,this.filterStatus()}applyFilters(){this.isOpen=!this.isOpen,this.getRequests()}getRequests(){const t=this.getFormValues();this.areFormValuesEqual(this.searchData,t)?this.filterStatus():(this.updateSearchData(t),this.requestCoreData())}getFormValues(){return{year:this.getYearValue(),month:this.getMonthValue()}}getYearValue(){return this.filterFormGroup.get("year").value?.key}getMonthValue(){return this.filterFormGroup.get("month").value?.key}areFormValuesEqual(t,r){return t.year==r.year&&t.month==r.month}updateSearchData(t){this.searchData=t}requestCoreData(){this.initializeLoadingAndRequests(),this.loading=!0,this.coreService.historyData=[],this.previousRequests=[],this.coreService.myRequests(this.searchData).pipe(zn(this.destroyRef)).subscribe({next:t=>{this.coreService.historyData=t.history,this.previousRequests=this.coreService.historyData,this.coreService.historyDataLoaded=!0,this.filterStatus()},error:t=>{this.loading=!1,this.errorMessage=t?.error?.meta?.messages?.[0]?.message,this.toasterService.error(this.errorMessage)},complete:()=>{this.loading=!1}})}initializeLoadingAndRequests(){this.loading=!0,this.coreService.historyData=[],this.previousRequests=[]}handleRequestSuccess(t){this.coreService.historyData=t.history,this.previousRequests=this.coreService.historyData,this.coreService.historyDataLoaded=!0,this.filterStatus()}handleRequestError(t){this.loading=!1,this.errorMessage=t?.error?.meta?.messages?.[0]?.message,this.toasterService.error(this.errorMessage)}filterStatus(){const t=this.filterFormGroup.get("status").value?.key;let r;this.previousRequests=this.coreService.historyData,r=t?this.previousRequests.filter(c=>c.form?.formStatus?.key===t):this.previousRequests,this.previousRequests=r}viewForm(t){t&&window.open("/group/i-gate/wm-bpm/forms?formId="+t)}closeSidenav(){this.sidenavService.publish("close",null)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}static \u0275fac=function(r){return new(r||s)(i.rXU(Da),i.rXU(xr.S),i.rXU(Rr),i.rXU(_o),i.rXU(ii),i.rXU(js),i.rXU(i.gRc))};static \u0275cmp=i.VBU({type:s,selectors:[["app-history"]],decls:28,vars:10,consts:[["trigger","cdkOverlayOrigin"],["pageView","matButtonToggleGroup"],["emptyMessage",""],[1,"main-sidenav","history-sidenav"],[1,"sidenav-title"],["icon","",1,"close-sidenav",3,"click"],["icon","close",1,"fs-20","fc-black"],[1,"sidenav-body","bc-light-gray"],[1,"p-3"],[1,"d-flex","align-items-center","justify-content-between","gap-2","mb-3"],[1,"fs-20","fw-medium","fc-black","mb-0","d-flex","align-items-center","flex-grow-1","gap-3"],[1,"title-count","fs-14","fw-normal"],["icon","","size","small","cdkOverlayOrigin","",3,"click"],["icon","filter","slot","prefix",1,"fc-coral","fs-20"],["value","list",1,"icon-toggle","flex-nowrap",3,"click"],["value","card"],[1,"sfi","sfi-card","fs-20"],["value","list"],[1,"sfi","sfi-list-dots","fs-20"],[1,"history-cards-container"],[1,"table-responsive"],["cdkConnectedOverlay","",3,"backdropClick","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayGrowAfterOpen","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"p-4","line-height-1","bc-white","radius-6","box-shadow"],["class","p-4 line-height-1 bc-white radius-6 box-shadow",4,"ngFor","ngForOf"],[1,"d-flex","align-items-center","gap-2","mb-3"],[1,"loading-bg","fs-16","fw-medium","flex-grow-1","mb-0","cursor-pointer","underline","fw-bold"],[1,"row","g-3"],[1,"d-flex","flex-column","col-6"],[1,"fs-11","fc-dark-gray","mb-2","loading-bg"],[1,"fs-12","fw-medium","fc-black","loading-bg"],[1,"d-flex","flex-column","col-6","justify-content-end","align-items-end"],[1,"fs-16","fw-medium","flex-grow-1","mb-0","cursor-pointer","underline","fw-bold",3,"click"],[1,"fs-11","fc-dark-gray","mb-2"],[1,"fs-12","fw-medium","fc-black"],[4,"ngIf"],[3,"cols","rows",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"fw-medium","cursor-pointer","underline","fw-bold",3,"click"],[3,"cols","rows"],[4,"ngTemplateOutlet"],[3,"formGroup"],[1,"filter-container"],[1,"popup-header","border-bottom","pb-2"],[1,"fs-16","fc-black","fw-medium"],[1,"d-flex","flex-column","gap-4","gap-md-3","filter-section","bc-white","mt-0","pt-3"],["formControlName","status",1,"section-item",3,"label","options","displayedLabel","key"],["formControlName","year",1,"section-item",3,"label","options","displayedLabel","key"],["formControlName","month",1,"section-item",3,"label","options","displayedLabel","key"],[1,"d-flex","align-items-center","gap-3","mt-4"],["shape","outline","size","small",3,"click"],[1,"fs-12"],["size","small",1,"w-100",3,"click"],[3,"label"]],template:function(r,c){if(1&r){const f=i.RV6();i.j41(0,"section",3)(1,"div",4)(2,"h3"),i.EFF(3),i.k0s(),i.j41(4,"ds-button",5),i.bIt("click",function(){return i.eBV(f),i.Njj(c.closeSidenav())}),i.nrm(5,"ds-icon",6),i.k0s()(),i.j41(6,"div",7)(7,"section",8)(8,"header",9)(9,"h2",10),i.EFF(10),i.j41(11,"span",11),i.EFF(12),i.k0s()(),i.j41(13,"ds-button",12,0),i.bIt("click",function(){return i.eBV(f),i.Njj(c.isOpen=!c.isOpen)}),i.nrm(15,"ds-icon",13),i.k0s(),i.j41(16,"mat-button-toggle-group",14,1),i.bIt("click",function(D){return i.eBV(f),i.Njj(D.stopImmediatePropagation())}),i.j41(18,"mat-button-toggle",15),i.nrm(19,"span",16),i.k0s(),i.j41(20,"mat-button-toggle",17),i.nrm(21,"span",18),i.k0s()()(),i.DNE(22,dh,3,1,"div",19)(23,DT,3,2,"div",20)(24,uh,1,1,"ng-container"),i.k0s()()(),i.DNE(25,fh,16,16,"ng-template",21),i.bIt("backdropClick",function(){return i.eBV(f),i.Njj(c.isOpen=!1)}),i.DNE(26,Ug,1,1,"ng-template",null,2,i.C5r)}if(2&r){const f=i.sdS(14),g=i.sdS(17);i.R7$(3),i.JRh(c.i18n.translate("PreviousRequests")),i.R7$(7),i.SpI(" ",c.i18n.translate("AllRequests")," "),i.R7$(2),i.JRh(null!=c.previousRequests&&c.previousRequests.length?null==c.previousRequests?null:c.previousRequests.length:"0"),i.R7$(10),i.vxM("card"===g.value?22:-1),i.R7$(),i.vxM("list"===g.value?23:-1),i.R7$(),i.vxM(null!=c.previousRequests&&c.previousRequests.length||c.loading?-1:24),i.R7$(),i.Y8G("cdkConnectedOverlayHasBackdrop",!0)("cdkConnectedOverlayGrowAfterOpen",!0)("cdkConnectedOverlayOrigin",f)("cdkConnectedOverlayOpen",c.isOpen)}},dependencies:[W.MD,W.Sq,W.bT,W.T3,W.vh,aT,Iu,Hx,$s,Ml,sr,so,Ir,Il,mT,c0,Fg,Lg,Gc,Vg,DD],styles:['.history-cards-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;padding:1rem 0}.filter-section[_ngcontent-%COMP%] .mat-form-field.mat-primary{margin-bottom:0}.filter-section[_ngcontent-%COMP%] .select-form-field{--placeholder-fc: var(--dark-gray)}.filter-section[_ngcontent-%COMP%] .select-datepicker{--input-width: 200px}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .mat-button-toggle-group[_ngcontent-%COMP%]{--toggle-bg: var(--white);box-shadow:var(--box-shadow)}[_nghost-%COMP%] table[_ngcontent-%COMP%]{--th-bg: var(--gray);--td-bg: var(--white);--tr-even-bc: var(--white);--tr-odd-bc: var(--white)}ds-button[square][_ngcontent-%COMP%]::part(base){--btn-padding: 0}@media (min-width: 768px){.history-sidenav[_ngcontent-%COMP%]{--sidenav-width: 800px}}[_nghost-%COMP%] .select-filter{--input-height: 35px;--input-width: 120px;--input-border: 1px solid var(--white) !important;--input-border-focuse: 1px solid var(--white);--input-border-active: 1px solid var(--white);box-shadow:var(--box-shadow);--input-bg: var(--white) !important}[_nghost-%COMP%] .decisions-container{max-height:340px;overflow:auto;scroll-behavior:smooth;transition:scroll-behavior .5s ease-in-out;height:340px}@media (max-width: 768px){[_nghost-%COMP%] .decisions-container{max-height:320px;height:320px}}[dir=rtl] [_nghost-%COMP%] .decisions-container--btn.reRequest{transform:scaleX(-1)}@media (min-width: 1200px){[_nghost-%COMP%] .decisions-container--name, [_nghost-%COMP%] .decisions-container--date{max-width:120px}}@media (min-width: 1200px){[dir=rtl] [_nghost-%COMP%] .decisions-container--name{max-width:initial}}[_nghost-%COMP%] .decisions-container--item{display:flex;align-items:center;gap:1rem;min-height:105px;overflow:hidden;position:relative;cursor:pointer}@media (min-width: 991px){[_nghost-%COMP%] .decisions-container--item h4{max-width:calc(100% - 200px);display:inline-block}}[_nghost-%COMP%] .decisions-container--item:not(:last-child){margin-bottom:.75rem}[_nghost-%COMP%] .decisions-container--item ds-status::part(base){--status-width: 60px}[_nghost-%COMP%] .decisions-container--info span{position:relative;display:flex;align-items:center;gap:.5rem}[_nghost-%COMP%] .decisions-container--info span:not(:first-of-type):before{content:"";min-width:3px;width:3px;height:3px;border-radius:50%;background-color:var(--black)}@media (min-width: 991px){[_nghost-%COMP%] .decisions-container--status{position:absolute;top:1rem;right:0}}[_nghost-%COMP%] .decisions-title{display:block;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1} .main-portal mat-form-field.no-padding .mat-form-field-wrapper{padding-bottom:0!important} ds-button[hidden]{display:none!important}ds-button[circle][_ngcontent-%COMP%]::part(base){--btn-color: inherit;--btn-border-color: inherit;--btn-bg-color: inherit;--btn-height: 25px;--btn-min-width: 25px}ds-button[circle][color=red][_ngcontent-%COMP%]{--btn-bg-color: var(--red)}ds-button[circle][color=red][_ngcontent-%COMP%]:hover{--btn-bg-color: var(--white)}ds-button[circle][color=green][_ngcontent-%COMP%]{--btn-bg-color: var(--green)}ds-button[circle][color=green][_ngcontent-%COMP%]:hover{--btn-bg-color: var(--white)}ds-button[circle][color=yellow][_ngcontent-%COMP%]{--btn-bg-color: var(--yellow)}ds-button[circle][color=yellow][_ngcontent-%COMP%]:hover{--btn-bg-color: var(--white)}ds-button[circle][color=coral][_ngcontent-%COMP%]{--btn-bg-color: var(--coral)}ds-button[circle][color=coral][_ngcontent-%COMP%]:hover{--btn-bg-color: var(--white)}ds-button[circle][color=coral][_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%], ds-button[circle][color=coral][_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%] line[_ngcontent-%COMP%]{fill:var(--coral)}ds-button[circle][color=orange][_ngcontent-%COMP%]{--btn-bg-color: var(--orange)}ds-button[circle][color=orange][_ngcontent-%COMP%]:hover{--btn-bg-color: var(--white)}@media (min-width: 991px){.decisions-container--item[_ngcontent-%COMP%] .decisions-container--status[_ngcontent-%COMP%]{width:0;transition:var(--default-transition)}}@media (min-width: 991px){.decisions-container--item[_ngcontent-%COMP%]:hover .decisions-container--status[_ngcontent-%COMP%]{transition:var(--default-transition);width:auto;height:auto;right:1.5rem}} .mat-tooltip{max-width:187px;background:#1d252d} ds-button.dots::part(base){text-decoration:none;padding:0;min-width:auto}@media (max-width: 300px){ ds-button[shape=text]::part(base){padding:0 5px} ds-button.mat-menu-trigger::part(base){padding:0 5px}}.search-form-input[_ngcontent-%COMP%]{color:var(--black);font-weight:var(--font-medium);padding:0 .75rem;border:none;height:100%}.search-form-input[_ngcontent-%COMP%]::placeholder{color:var(--dark-gray);font-weight:var(--font-regular)} .select-user-dropdown{min-width:300px} .filter-container{background-color:var(--white);padding:1.5rem;border-radius:4px}']})}return s})();const ST=["*"],Hg=s=>({"loading-bg loading-width":s});function y0(s,a){if(1&s){const t=i.RV6();i.j41(0,"ds-icon",9),i.bIt("click",function(){i.eBV(t);const c=i.XpG(2);return i.Njj(c.openFaq())}),i.k0s()}}function zg(s,a){if(1&s){const t=i.RV6();i.j41(0,"ds-button",8)(1,"ds-icon",9),i.bIt("click",function(){i.eBV(t);const c=i.XpG(2);return i.Njj(c.openFaq())}),i.k0s()()}}function Gg(s,a){if(1&s){const t=i.RV6();i.j41(0,"ds-button",10),i.bIt("click",function(){i.eBV(t);const c=i.XpG(2);return i.Njj(c.showPreviousRequests())}),i.nrm(1,"ds-icon",11),i.k0s()}}function Ga(s,a){if(1&s&&(i.j41(0,"section",0)(1,"div",2)(2,"div",3)(3,"section")(4,"p",4),i.EFF(5),i.k0s(),i.j41(6,"h1",5),i.EFF(7),i.DNE(8,y0,1,0,"ds-icon",6),i.k0s()(),i.j41(9,"div",7),i.DNE(10,zg,2,0,"ds-button",8)(11,Gg,2,0,"ds-button",8),i.k0s()()()()),2&s){const t=i.XpG();i.R7$(5),i.E5c(" ",t.i18n.translate("Hello")," ",t.coreService.getShortName(null==t.form||null==t.form.header?null:t.form.header.requesterName),", ",t.i18n.translate("welcomeBack"),"! "),i.R7$(2),i.SpI(" ",t.formTitle," "),i.R7$(),i.vxM(t.serviceFaq.length?8:-1),i.R7$(2),i.vxM(t.serviceFaq.length?10:-1),i.R7$(),i.vxM(t.isReadOnly?-1:11)}}function MT(s,a){if(1&s&&(i.j41(0,"ds-status",19),i.EFF(1),i.k0s()),2&s){const t=i.XpG(2);i.FS9("status",t.statusClass(null==t.form||null==t.form.header||null==t.form.header.status?null:t.form.header.status.key)),i.R7$(),i.SpI("",null==t.form||null==t.form.header||null==t.form.header.status?null:t.form.header.status.value," ")}}function TT(s,a){if(1&s){const t=i.RV6();i.j41(0,"ds-button",29),i.bIt("click",function(){i.eBV(t);const c=i.XpG(2);return i.Njj(c.onCommentsFormClick())}),i.nrm(1,"ds-icon",30),i.k0s()}}function Ql(s,a){if(1&s){const t=i.RV6();i.j41(0,"ds-avatar",31),i.bIt("click",function(){i.eBV(t);const c=i.XpG(2);return i.Njj(c.showUserInfo())}),i.k0s()}if(2&s){const t=i.XpG(2);i.FS9("image",null==t.form||null==t.form.header?null:t.form.header.requesterPhoto)}}function dA(s,a){1&s&&(i.j41(0,"span",26),i.EFF(1,"\u2022"),i.k0s())}function Wg(s,a){if(1&s&&(i.j41(0,"div",1)(1,"section")(2,"section",12)(3,"div",13)(4,"div",14),i.nrm(5,"img",15),i.j41(6,"h4",16),i.EFF(7),i.k0s()(),i.j41(8,"div",17)(9,"div",18),i.DNE(10,MT,2,2,"ds-status",19),i.k0s(),i.j41(11,"div",20),i.DNE(12,TT,2,0,"ds-button",21),i.SdG(13),i.k0s()()(),i.j41(14,"div",22),i.DNE(15,Ql,1,1,"ds-avatar",23),i.j41(16,"div",24)(17,"span",25),i.EFF(18),i.k0s(),i.j41(19,"span",26),i.EFF(20,"\u2022"),i.k0s(),i.j41(21,"span",27),i.EFF(22),i.k0s(),i.DNE(23,dA,2,0,"span",28),i.j41(24,"span",27),i.EFF(25),i.k0s()()()()()()),2&s){const t=i.XpG();i.R7$(),i.ZvI("request-main-info ",t.statusClass(null==t.form||null==t.form.header||null==t.form.header.status?null:t.form.header.status.key),""),i.R7$(6),i.SpI(" ",t.formTitle," "),i.R7$(3),i.vxM(t.isLoading?-1:10),i.R7$(2),i.Y8G("ngIf",(null==t.form||null==t.form.commentsDrop?null:t.form.commentsDrop.length)>0&&!t.isLoading),i.R7$(3),i.vxM(t.isLoading?-1:15),i.R7$(2),i.Y8G("ngClass",i.eq3(14,Hg,t.isLoading)),i.R7$(),i.JRh(t.coreService.getShortName(null==t.form||null==t.form.header?null:t.form.header.requesterName)),i.R7$(3),i.Y8G("ngClass",i.eq3(16,Hg,t.isLoading)),i.R7$(),i.SpI(" ",null==t.form||null==t.form.header?null:t.form.header.formId,""),i.R7$(),i.Y8G("ngIf",t.creationDate),i.R7$(),i.Y8G("ngClass",i.eq3(18,Hg,t.isLoading)),i.R7$(),i.SpI(" ",t.creationDate,"")}}const IT={[Pc]:{class:"danger",icon:"close"},[Bu]:{class:"danger",icon:"close"},[os]:{class:"danger",icon:"close"},[Pu]:{class:"danger",icon:"close"},[Vu]:{class:"danger",icon:"close"},[Nc]:{class:"warning",icon:"clock"},default:{class:"success",icon:"check"}};let b0=(()=>{class s{cdRef;coreService;i18n;feedBackService;dialog;sidenavService;toasterService;form;showHistory=!1;isLoading=!1;isReadOnly=!1;showApprovalHistory=!1;approvalHistory;creationDate;formTitle;section;serviceFaq=[];approvals=[];flagPriority;destroyRef=(0,i.WQX)(i.abz);constructor(t,r,c,f,g,D,x){this.cdRef=t,this.coreService=r,this.i18n=c,this.feedBackService=f,this.dialog=g,this.sidenavService=D,this.toasterService=x}ngAfterViewInit(){this.getApprovalHistory(this.approvalHistory),this.form?.header?.creationDate&&(this.creationDate=yd(new Date(this.form?.header?.creationDate),"dd/MM/yyyy hh:mm:ss")),this.cdRef.detectChanges()}onCommentsFormClick(){const t=this.form.commentsDrop,r=[];for(const c of t)r.push(this.transformCommentItem(c));this.coreService.activities=r,this.sidenavService.publish("open",JM)}transformCommentItem(t){return{name:t.employeeName,title:t.jobPosition,image:t.profilePicture,date:yd(new Date(t.commentDate),"yyyy-MM-dd"),time:yd(new Date(t.commentDate),"h:mm a"),comment:t.commentBody,attachments:t.attachment}}feedback(){this.dialog.open(zl,{panelClass:["main-popup"],data:{profile:this.form.profileInfoDrop,inboxItem:this.form.inboxItem,form:this.form}})}showUserInfo(){this.isLoading||(this.sidenavService.data=this.form?.profileInfoDrop,this.sidenavService.publish("open",dS))}setFlagPriority(t){this.flagPriority=t,this.form.inboxItem.flagPriority=t,this.subscribeToSetFlagPriority(t)}subscribeToSetFlagPriority(t){this.coreService.setFlagPriority(t).pipe(zn(this.destroyRef)).subscribe(r=>{r&&this.toasterService.success(this.i18n.translate("flagStatusUpdated"))})}statusClass(t){return(IT[t]||IT.default).class}openFaq(){this.sidenavService.publish("open",ZC,"end","over",this.serviceFaq)}getApprovalHistory(t){t?.forEach((r,c)=>{let f=this.getApprovalStatus(c),g=this.getApprovalStatusLabel(c);const D={id:c+1,name:r.approver.personName,title:r.positionType,image:this.getImageUrl(r.approver.personEmail),status:f,statusLabel:g};this.approvals.push(D)})}getApprovalStatus(t){let r="";return this.form.sections[t+1]&&(r=this.statusClass(this.form.sections[t+1].body.details.decision.key)),r}getApprovalStatusLabel(t){let r="";return this.form.sections[t+1]&&(r=this.form.sections[t+1].body.details.decision.value),r}getImageUrl(t){return"/group/i-gate/wm-bpm/forms/-/proxy/portrait?email="+t}showPreviousRequests(){this.sidenavService.publish("open",v0)}static \u0275fac=function(r){return new(r||s)(i.rXU(i.gRc),i.rXU(Rr),i.rXU(ii),i.rXU(om),i.rXU(Da),i.rXU(xr.S),i.rXU(_o))};static \u0275cmp=i.VBU({type:s,selectors:[["core-service-header"]],inputs:{form:"form",showHistory:"showHistory",isLoading:"isLoading",isReadOnly:"isReadOnly",showApprovalHistory:"showApprovalHistory",approvalHistory:"approvalHistory",creationDate:"creationDate",formTitle:"formTitle",section:"section",serviceFaq:"serviceFaq"},features:[i.Jv_([om,{provide:ml,useValue:{}}])],ngContentSelectors:ST,decls:2,vars:1,consts:[[1,"main-sidenav","main-sidenav-full","mb-4"],[1,"w-100"],[1,"sidenav-title"],[1,"d-flex","align-items-center","gap-3","w-100"],[1,"fs-14","fs-md-12","fw-normal","fc-dark-gray","mb-1"],[1,"fs-26","fs-md-20","fw-bold","fc-black","d-flex","align-items-center","gap-2","mb-1"],["icon","info",1,"fs-22","fc-dark-gray","cursor-pointer"],[1,"d-flex","align-items-center","justify-content-end","gap-2","flex-grow-1"],["size","small","icon",""],["icon","info",1,"fs-22","fc-dark-gray","cursor-pointer",3,"click"],["size","small","icon","",3,"click"],["icon","clock",1,"fs-20","fc-coral"],[1,"request-info"],[1,"request-info--body"],[1,"d-flex","align-items-center","gap-2","flex-grow-1"],["alt","","src","data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMjkiIHZpZXdCb3g9IjAgMCAzMCAyOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI1LjEgMEg0LjlDMi4yIDAgMCAyLjIgMCA0LjlWMjguNkgyNS4xQzI3LjggMjguNiAzMCAyNi40IDMwIDIzLjdWNC45QzMwIDIuMiAyNy44IDAgMjUuMSAwWk0yIDQuOUMyIDMuMyAzLjMgMiA0LjkgMkgyNS4xQzI2LjcgMiAyOCAzLjMgMjggNC45VjIzLjdDMjggMjUuMyAyNi43IDI2LjYgMjUuMSAyNi42SDJWNC45Wk0xMS41IDYuM0M3LjEgNi4zIDMuNSA5LjkgMy41IDE0LjNDMy41IDE4LjcgNy4xIDIyLjMgMTEuNSAyMi4zQzE1LjkgMjIuMyAxOS41IDE4LjcgMTkuNSAxNC4zQzE5LjUgOS45IDE1LjkgNi4zIDExLjUgNi4zWk0xNS4xIDE5QzE0LjEgMTkuOCAxMi44IDIwLjIgMTEuNSAyMC4yQzEwLjIgMjAuMiA4LjkgMTkuOCA3LjkgMTlDOC43IDE3LjcgMTAgMTcgMTEuNSAxN0MxMyAxNyAxNC40IDE3LjggMTUuMSAxOVpNMTMuMSAxMy40QzEzLjEgMTQuMyAxMi40IDE1IDExLjUgMTVDMTAuNiAxNSA5LjkgMTQuMyA5LjkgMTMuNEM5LjkgMTIuNSAxMC42IDExLjggMTEuNSAxMS44QzEyLjQgMTEuOCAxMy4xIDEyLjUgMTMuMSAxMy40Wk0xNS4xIDEzLjRDMTUuMSAxMS40IDEzLjUgOS44IDExLjUgOS44QzkuNSA5LjggNy45IDExLjQgNy45IDEzLjRDNy45IDE0LjIgOC4yIDE1IDguNyAxNS43QzcuOCAxNi4xIDcuMSAxNi44IDYuNSAxNy42QzUuOCAxNi42IDUuNSAxNS41IDUuNSAxNC4zQzUuNSAxMSA4LjIgOC4zIDExLjUgOC4zQzE0LjggOC4zIDE3LjUgMTEgMTcuNSAxNC4zQzE3LjUgMTUuNSAxNy4yIDE2LjYgMTYuNSAxNy42QzE1LjkgMTYuOCAxNS4yIDE2LjIgMTQuMyAxNS43QzE0LjggMTUuMSAxNS4xIDE0LjIgMTUuMSAxMy40Wk0yMSA5LjFDMjEgOC42IDIxLjQgOC4xIDIyIDguMUgyNS41QzI2IDguMSAyNi41IDguNSAyNi41IDkuMUMyNi41IDkuNiAyNi4xIDEwLjEgMjUuNSAxMC4xSDIyQzIxLjQgMTAuMSAyMSA5LjYgMjEgOS4xWk0yMSAxMi41QzIxIDEyIDIxLjQgMTEuNSAyMiAxMS41SDI1LjVDMjYgMTEuNSAyNi41IDExLjkgMjYuNSAxMi41QzI2LjUgMTMgMjYuMSAxMy41IDI1LjUgMTMuNUgyMkMyMS40IDEzLjUgMjEgMTMuMSAyMSAxMi41Wk0yMSAxNkMyMSAxNS41IDIxLjQgMTUgMjIgMTVIMjUuNUMyNiAxNSAyNi41IDE1LjQgMjYuNSAxNkMyNi41IDE2LjUgMjYuMSAxNyAyNS41IDE3SDIyQzIxLjQgMTcgMjEgMTYuNiAyMSAxNlpNMjUuNSAyMC41SDIyQzIxLjUgMjAuNSAyMSAyMC4xIDIxIDE5LjVDMjEgMTguOSAyMS40IDE4LjUgMjIgMTguNUgyNS41QzI2IDE4LjUgMjYuNSAxOC45IDI2LjUgMTkuNUMyNi41IDIwLjEgMjYuMSAyMC41IDI1LjUgMjAuNVoiIGZpbGw9IiNGRjM3NUUiLz4KPC9zdmc+Cg=="],[1,"fs-22","fs-md-16","fc-black","fw-medium","mb-0","flex-grow-1","line-height-1-2"],[1,"d-flex","align-items-center","gap-2","request-info--status-action"],[1,"d-inline-flex","flex-column","align-items-end"],[1,"header-status",3,"status"],[1,"d-flex","align-items-center","gap-2"],["square","","icon","","size","small","class","has-comments",3,"click",4,"ngIf"],[1,"request-info--footer"],["size","xx-small",1,"d-inline-flex","cursor-pointer",3,"image"],[1,"d-flex","align-items-center","flex-wrap","flex-grow-1","gap-1","gap-sm-2","line-height-1","request-info--header__details"],[1,"fs-12","fw-medium","d-none","d-sm-inline-block",3,"ngClass"],[1,"fs-20"],[1,"fs-12",3,"ngClass"],["class","fs-20",4,"ngIf"],["square","","icon","","size","small",1,"has-comments",3,"click"],["icon","clock",1,"fc-coral","fs-20","fs-md-17"],["size","xx-small",1,"d-inline-flex","cursor-pointer",3,"click","image"]],template:function(r,c){1&r&&(i.NAR(),i.DNE(0,Ga,12,7,"section",0)(1,Wg,26,20,"div",1)),2&r&&i.vxM("NEW"===(null==c.form||null==c.form.header||null==c.form.header.status?null:c.form.header.status.key)?0:1)},dependencies:[W.bT,Rd,W.YU],styles:['.loading-width[_ngcontent-%COMP%]{min-width:100px;width:40px;flex-grow:1}.request-main-info[_ngcontent-%COMP%]{--item-bg: var(--light-gray);--item-fc: var(--black);--status-container-bc: #e8ebec;--status-container-brc: var(--dark-gray)}.request-main-info.warning[_ngcontent-%COMP%]{--item-bg: var(--yellow);--status-container-bc: #fff8d9;--status-container-brc: var(--yellow)}.request-main-info.pending[_ngcontent-%COMP%]{--item-bg: #eff0f1;--status-container-bc: #e8ebec;--status-container-brc: #c8ced1}.request-main-info.expired[_ngcontent-%COMP%]{--item-bg: var(--dark-gray);--status-container-bc: #e8ebec;--status-container-brc: var(--dark-gray)}.request-main-info.success[_ngcontent-%COMP%]{--item-bg: var(--green);--status-container-bc: #e6f9f4;--status-container-brc: var(--green)}.request-main-info.info[_ngcontent-%COMP%]{--item-bg: var(--sea-light);--status-container-bc: #fff8d9;--status-container-brc: var(--sea-light)}.request-main-info.danger[_ngcontent-%COMP%]{--item-bg: var(--red);--status-container-bc: #fae9ec;--status-container-brc: var(--red)}.request-main-info.orange[_ngcontent-%COMP%], .request-main-info.send_back[_ngcontent-%COMP%]{--item-bg: var(--orange);--status-container-bc: #fff0eb;--status-container-brc: var(--orange)}.request-info[_ngcontent-%COMP%]{border-radius:0;box-shadow:var(--box-shadow);background-color:var(--white);border-top:5px solid var(--item-bg)}.request-info--footer[_ngcontent-%COMP%]{padding:20px 24px;min-height:45px;display:flex;align-items:center;gap:.75rem;border-top:1px solid var(--light-gray)}@media (max-width: 578px){.request-info--footer[_ngcontent-%COMP%]{padding:.3rem 1rem}}.request-info--footer__details[_ngcontent-%COMP%]{color:var(--item-fc)}.request-info--body[_ngcontent-%COMP%]{padding:2rem;display:flex;align-items:center;gap:.75rem;background-color:#fff}@media (max-width: 578px){.request-info--body[_ngcontent-%COMP%]{padding:1rem;flex-direction:column;align-items:stretch}}.request-info--body[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{min-width:30px;width:30px;text-align:center}.request-info--body[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%}@media (max-width: 578px){.request-info--status-action[_ngcontent-%COMP%]{justify-content:space-between}}.request-info--history[_ngcontent-%COMP%]{margin-top:-.5rem}.request-info--comment[_ngcontent-%COMP%]{background-color:#fff0eb;color:var(--orange);border-radius:0 0 4px 4px}.status-container[_ngcontent-%COMP%]{min-height:40px;padding:.5rem 1rem;display:flex;flex-direction:column;justify-content:center;gap:.5rem;margin-bottom:1.5rem}.status-container.danger[_ngcontent-%COMP%]{--item-bg: var(--red);--status-container-bc: #fae9ec;--status-container-brc: var(--red)}.status-container[_ngcontent-%COMP%] ds-avatar.user-avatar .avatar{min-width:var(--default-size, 45px)!important;width:var(--default-size, 45px)!important;height:var(--default-size, 45px)!important;padding:var(--avatar-padding, 0)!important;background-color:var(--avatar-bg, white);color:var(--avatar-color, black)!important;border:var(--avatar-border, 0)!important;border-radius:var(--avatar-radius, 50%)!important;margin:var(--avatar-margin, 0)!important;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;--default-size: 25px}@media (min-width: 768px){.status-container[_ngcontent-%COMP%] ds-avatar.user-avatar .avatar{--default-size: 31px;--avatar-border: 3px solid var(--light-gray)}}.circle-status[_ngcontent-%COMP%]::part(base){--status-radius: 50%;--status-size: 19px;--status-fs: 100%}ds-button[square][_ngcontent-%COMP%]::part(base){--btn-padding: 0;--default-size-sm: 30px}.send-back-container[_ngcontent-%COMP%]{background-color:#fff0eb;color:var(--orange);padding:.5rem;border-radius:4px}object[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%]{height:79vh} .history-popup{--popup-width: 100vw;--popup-max-width: 100vw;--popup-radius: 15px 15px 0 0;position:absolute!important;bottom:0}[_nghost-%COMP%] .mat-expansion-panel-content{background:#fff!important}[_nghost-%COMP%] .main-sidenav.main-sidenav-full[_ngcontent-%COMP%] .sidenav-title[_ngcontent-%COMP%]{border-bottom:transparent!important}[_nghost-%COMP%] .main-sidenav[_ngcontent-%COMP%] .sidenav-title[_ngcontent-%COMP%]{background-color:transparent!important}[_nghost-%COMP%] .main-sidenav[_ngcontent-%COMP%]{height:60px;min-height:10px!important}[_nghost-%COMP%] .mat-expansion-panel-content[_ngcontent-%COMP%]{background:#fff!important}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:40% calc(60% - 45px) 20px;grid-template-areas:"title details toggle";gap:.75rem;place-content:space-between;align-items:center;flex-grow:1;width:100%}@media (max-width: 991px){[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%]{grid-template-columns:calc(100% - 45px) 20px;grid-template-areas:"title toggle" "details details"}}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .approval-panel-title[_ngcontent-%COMP%]{grid-area:title}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .panel-user-name[_ngcontent-%COMP%]{max-width:120px}@media (max-width: 768px){[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .panel-user-name.panel-ueser-only[_ngcontent-%COMP%]{max-width:140px}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .panel-user-name[_ngcontent-%COMP%]:not(.panel-ueser-only){max-width:90px}}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .approval-panel-details[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;grid-area:details}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .approval-panel-toggle[_ngcontent-%COMP%]{grid-area:toggle;display:flex;align-items:center;justify-content:center;width:20px}[_nghost-%COMP%] ds-avatar.user-avatar .avatar{min-width:var(--default-size, 45px)!important;width:var(--default-size, 45px)!important;height:var(--default-size, 45px)!important;padding:var(--avatar-padding, 0)!important;background-color:var(--avatar-bg, white);color:var(--avatar-color, black)!important;border:var(--avatar-border, 0)!important;border-radius:var(--avatar-radius, 50%)!important;margin:var(--avatar-margin, 0)!important;--default-size: 25px}@media (min-width: 768px){[_nghost-%COMP%] ds-avatar.user-avatar .avatar{--default-size: 31px;--avatar-border: 3px solid var(--light-gray)}}@media (min-width: 768px){[_nghost-%COMP%] .user-avatar-name{padding-inline-end:1rem!important}}[_nghost-%COMP%] .circle-status[_ngcontent-%COMP%]::part(base){--status-radius: 50%;--status-size: 18px;--status-fs: 80% }[_nghost-%COMP%] .panel-title[_ngcontent-%COMP%]{min-width:40%;width:40%}@media (max-width: 576px){[_nghost-%COMP%] .panel-title[_ngcontent-%COMP%]{min-width:100%!important;width:100%!important}}[_nghost-%COMP%] .panel-user-status[_ngcontent-%COMP%]{min-width:60%;width:60%;display:flex;align-items:center;justify-content:space-between}@media (max-width: 576px){[_nghost-%COMP%] .panel-user-status[_ngcontent-%COMP%]{min-width:100%!important;width:100%!important}[_nghost-%COMP%] .panel-user-status[_ngcontent-%COMP%] .user-delegate[_ngcontent-%COMP%]{min-width:auto}[_nghost-%COMP%] .panel-user-status[_ngcontent-%COMP%] .main-status[_ngcontent-%COMP%]::part(base){--status-width: 50px}}']})}return s})();const Nd=new i.nKC("DynamicComponentInjector");let uA=(()=>{class s{setInput(t,r,c){t.setInput(r,c)}getOutput(t,r){const c=t.instance[r];if(!(0,Gf.A)(c))throw new Error(`Component ${r} is not an output!`);return c}}return s.\u0275fac=function(t){return new(t||s)},s.\u0275prov=i.jDH({token:s,factory:s.\u0275fac}),s})(),Kl=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275prov=i.jDH({token:s,factory:a=>uA.\u0275fac(a),providedIn:"root"}),s})();const AT=new i.nKC("EventArgument",{providedIn:"root",factory:function xT(){return"$event"}}),Pd=new i.nKC("IoEventContext"),OT=new i.nKC("IoEventContextProvider");let hh=(()=>{class s{constructor(){this.trackOutputChanges=!1}}return s.\u0275fac=function(t){return new(t||s)},s.\u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Fd=(()=>{class s{constructor(t,r,c,f,g,D,x,G,J){if(this.injector=t,this.differs=r,this.cfr=c,this.options=f,this.compInjector=g,this.eventArgument=D,this.cdr=x,this.eventContextProvider=G,this.componentIO=J,this.lastChangedInputs=new Set,this.inputsDiffer=this.differs.find({}).create(),this.outputsShouldDisconnect$=new _t.B,this.inputs={},this.outputs={},this.options.trackOutputChanges){const de=this.differs.find({}).create();this.outputsChanged=Ce=>!!de.diff(Ce)}}get compRef(){return this.compInjector.componentRef}get componentInst(){return this.compRef?.instance}ngOnDestroy(){this.disconnectOutputs()}update(t,r){if(!this.compRef)return void this.disconnectOutputs();const c=this.updateIO(t,r),f=this.isComponentInstChanged(),g=this.getInputsChanges(f),D=this.outputsChanged(this.outputs);g&&this.updateChangedInputs(g),(f||g)&&this.updateInputs(f||!this.lastChangedInputs.size),(f||D||c.outputsChanged)&&this.bindOutputs()}outputsChanged(t){return!1}isComponentInstChanged(){return this.lastComponentInst!==this.componentInst&&(this.lastComponentInst=this.componentInst,!0)}updateIO(t,r){t||(t={}),r||(r={});const c=this.inputs!==t,f=this.outputs!==r;return this.inputs=t,this.outputs=r,{inputsChanged:c,outputsChanged:f}}updateInputs(t=!1){t&&this.updateCompFactory();const r=this.compRef,c=this.inputs;if(!c||!r)return;const f=this.lastChangedInputs.size?D=>this.lastChangedInputs.has(D):()=>!0,g=this.componentIO;for(const D of Object.keys(c))f(D)&&g.setInput(r,D,c[D])}bindOutputs(){this.disconnectOutputs();const t=this.compRef,r=this.outputs;if(!r||!t)return;const c=this.resolveOutputs(r),f=this.componentIO;(0,ls.h)(...Object.keys(c).map(g=>f.getOutput(t,g).pipe((0,Dd.M)(D=>c[g](D))))).pipe((0,zi.Q)(this.outputsShouldDisconnect$)).subscribe(()=>this.cdr.markForCheck())}disconnectOutputs(){this.outputsShouldDisconnect$.next()}getInputsChanges(t){return t&&this.inputsDiffer.diff({}),this.inputsDiffer.diff(this.inputs)}updateChangedInputs(t){this.lastChangedInputs.clear();const r=c=>this.lastChangedInputs.add(c.key);t.forEachAddedItem(r),t.forEachChangedItem(r),t.forEachRemovedItem(r)}resolveCompFactory(){if(this.compRef)try{try{return this.cfr.resolveComponentFactory(this.compRef.componentType)}catch{return this.cfr.resolveComponentFactory(this.compRef.instance.constructor)}}catch{return}}updateCompFactory(){this.compFactory=this.resolveCompFactory()}resolveOutputs(t){this.updateOutputsEventContext();const r=this.processOutputs(t);return this.compFactory?this.remapIO(r,this.compFactory.outputs):r}updateOutputsEventContext(){if(this.eventContextProvider){const t=i.zZn.create({name:"EventContext",parent:this.injector,providers:[this.eventContextProvider]});this.outputsEventContext=t.get(Pd)}else this.outputsEventContext=this.injector.get(Pd,null)}processOutputs(t){const r={};return Object.keys(t).forEach(c=>{const f=t[c];let g;g="function"==typeof f?f:f&&this.processOutputArgs(f),this.outputsEventContext&&g&&(g=g.bind(this.outputsEventContext)),r[c]=g}),r}processOutputArgs(t){const r=this.eventArgument,c="args"in t?t.args||[]:[r],f=c.indexOf(r),g=t.handler;return-1===f?function(){return g.apply(this,c)}:function(D){const x=[...c];return x[f]=D,g.apply(this,x)}}remapIO(t,r){const c={};return Object.keys(t).forEach(f=>{const g=this.findPropByTplInMapping(f,r)||f;c[g]=t[f]}),c}findPropByTplInMapping(t,r){for(const c of r)if(c.templateName===t)return c.propName;return null}}return s.\u0275fac=function(t){return new(t||s)(i.KVO(i.zZn),i.KVO(i.MKu),i.KVO(i.OM3),i.KVO(hh),i.KVO(Nd),i.KVO(AT),i.KVO(i.gRc),i.KVO(OT,8),i.KVO(Kl))},s.\u0275prov=i.jDH({token:s,factory:s.\u0275fac}),s})(),C0=(()=>{class s{constructor(t){this.ioService=t}ngDoCheck(){this.ioService.update(this.ngComponentOutletNdcDynamicInputs,this.ngComponentOutletNdcDynamicOutputs)}}return s.\u0275fac=function(t){return new(t||s)(i.rXU(Fd))},s.\u0275dir=i.FsC({type:s,selectors:[["","ngComponentOutletNdcDynamicInputs",""],["","ngComponentOutletNdcDynamicOutputs",""]],inputs:{ngComponentOutletNdcDynamicInputs:"ngComponentOutletNdcDynamicInputs",ngComponentOutletNdcDynamicOutputs:"ngComponentOutletNdcDynamicOutputs"},exportAs:["ndcDynamicIo"],features:[i.Jv_([Fd])]}),s})(),RT=(()=>{class s{constructor(t){this.componentOutlet=t}get componentRef(){return this.componentOutlet._componentRef}}return s.\u0275fac=function(t){return new(t||s)(i.rXU(W.OI,1))},s.\u0275dir=i.FsC({type:s,selectors:[["","ngComponentOutlet",""]],exportAs:["ndcComponentOutletInjector"],features:[i.Jv_([{provide:Nd,useExisting:s}])]}),s})(),kT=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=i.$C({type:s}),s.\u0275inj=i.G2t({}),s})();new i.nKC("ReflectRef",{providedIn:"root",factory:()=>window.Reflect});let Xg=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=i.$C({type:s}),s.\u0275inj=i.G2t({imports:[kT]}),s})(),w0=(()=>{class s{constructor(t){this.vcr=t,this.ndcDynamicCreated=new i.bkB,this.componentRef=null}ngOnChanges(t){s.UpdateOnInputs.some(r=>t.hasOwnProperty(r))&&this.createDynamicComponent()}createDynamicComponent(){this.vcr.clear(),this.componentRef=null,this.ndcDynamicComponent&&(this.componentRef=this.vcr.createComponent(this.ndcDynamicComponent,{index:0,injector:this._resolveInjector(),projectableNodes:this.ndcDynamicContent,ngModuleRef:this.ndcDynamicNgModuleRef,environmentInjector:this.ndcDynamicEnvironmentInjector}),this.ndcDynamicCreated.emit(this.componentRef))}_resolveInjector(){let t=this.ndcDynamicInjector||this.vcr.injector;return this.ndcDynamicProviders&&(t=i.zZn.create({providers:this.ndcDynamicProviders,parent:t})),t}}return s.UpdateOnInputs=["ndcDynamicComponent","ndcDynamicInjector","ndcDynamicProviders","ndcDynamicContent","ndcDynamicNgModuleRef","ndcDynamicEnvironmentInjector"],s.\u0275fac=function(t){return new(t||s)(i.rXU(i.c1b))},s.\u0275cmp=i.VBU({type:s,selectors:[["ndc-dynamic"]],inputs:{ndcDynamicComponent:"ndcDynamicComponent",ndcDynamicInjector:"ndcDynamicInjector",ndcDynamicProviders:"ndcDynamicProviders",ndcDynamicContent:"ndcDynamicContent",ndcDynamicNgModuleRef:"ndcDynamicNgModuleRef",ndcDynamicEnvironmentInjector:"ndcDynamicEnvironmentInjector"},outputs:{ndcDynamicCreated:"ndcDynamicCreated"},features:[i.Jv_([{provide:Nd,useExisting:s}]),i.OA$],decls:0,vars:0,template:function(t,r){},encapsulation:2}),s})(),FT=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=i.$C({type:s}),s.\u0275inj=i.G2t({imports:[Xg,w0,Xg]}),s})();const D0=(s,a)=>({"user-avatar-name px-0 px-md-2":s,"p-0":a}),LT=s=>({"panel-user-only":s});function vA(s,a){if(1&s&&(i.j41(0,"bdi",8),i.EFF(1),i.k0s()),2&s){const t=i.XpG();i.R7$(),i.SpI(" ",t.processingDate," ")}}function yA(s,a){if(1&s&&(i.j41(0,"span",20),i.EFF(1),i.k0s()),2&s){const t=i.XpG(3);i.Y8G("ngClass",i.eq3(2,LT,!(null!=t.section&&null!=t.section.header&&t.section.header.delegatedTo))),i.R7$(),i.JRh(null==t.section||null==t.section.header?null:t.section.header.personTo)}}function bA(s,a){if(1&s){const t=i.RV6();i.j41(0,"div",17),i.bIt("click",function(c){i.eBV(t);const f=i.XpG(3);return i.Njj(f.toggleSmallProfileInfo(c,"delegate"))}),i.nrm(1,"img",21),i.j41(2,"div",22),i.nrm(3,"ds-avatar",19),i.j41(4,"span",23),i.EFF(5),i.k0s()()()}if(2&s){const t=i.XpG(3);i.R7$(3),i.FS9("image",null==t.section||null==t.section.header?null:t.section.header.delegatedToThumbnail),i.R7$(2),i.JRh(null==t.section||null==t.section.header?null:t.section.header.delegatedTo)}}function CA(s,a){if(1&s){const t=i.RV6();i.j41(0,"div",17),i.bIt("click",function(c){return i.eBV(t),i.Njj(c.stopImmediatePropagation())}),i.j41(1,"div",18),i.bIt("click",function(c){i.eBV(t);const f=i.XpG(2);return i.Njj(f.toggleSmallProfileInfo(c,"recipient"))}),i.nrm(2,"ds-avatar",19),i.DNE(3,yA,2,4,"span",20),i.k0s(),i.DNE(4,bA,6,2,"div",16),i.k0s()}if(2&s){const t=i.XpG(2);i.R7$(),i.Y8G("ngClass",i.l_i(4,D0,!(null!=t.section&&null!=t.section.header&&t.section.header.delegatedTo),null==t.section||null==t.section.header?null:t.section.header.delegatedTo)),i.R7$(),i.FS9("image",null==t.section||null==t.section.header?null:t.section.header.personToThumbnail),i.R7$(),i.vxM(null!=t.section&&null!=t.section.header&&t.section.header.delegatedTo?-1:3),i.R7$(),i.vxM(null!=t.section&&null!=t.section.header&&t.section.header.delegatedTo?4:-1)}}function E0(s,a){if(1&s&&(i.qex(0),i.DNE(1,CA,5,7,"div",16),i.bVm()),2&s){const t=i.XpG();i.R7$(),i.vxM(null!=t.section&&null!=t.section.header&&t.section.header.personTo?1:-1)}}function _h(s,a){if(1&s&&(i.j41(0,"ds-status",10),i.EFF(1),i.k0s()),2&s){const t=i.XpG();i.FS9("status",t.statusClass(null==t.section||null==t.section.body||null==t.section.body.details||null==t.section.body.details.decision?null:t.section.body.details.decision.key)),i.R7$(),i.SpI("",null==t.section||null==t.section.body||null==t.section.body.details||null==t.section.body.details.decision?null:t.section.body.details.decision.value," ")}}function BT(s,a){1&s&&i.nrm(0,"ds-icon",12)}function VT(s,a){1&s&&i.nrm(0,"ds-icon",13)}function S0(s,a){1&s&&i.eu8(0)}const qs={[Pc]:{class:"danger",icon:"close"},[Bu]:{class:"danger",icon:"close"},[os]:{class:"danger",icon:"close"},[Pu]:{class:"danger",icon:"close"},[Vu]:{class:"danger",icon:"close"},[Nc]:{class:"warning",icon:"clock"},default:{class:"success",icon:"check"}};let jT=(()=>{class s{i18n;coreService;sidenavService;userType="recipient";popoverType="recipient";requestDetails;userPopoverInfo={};section;form;lov;isReadOnly;controllers;segmentDynamicLoaderService;sectionFormComponent=null;sectionName="SECTION_NAME.requestDetails";sectionStatusKey;recipient={isShowing:!1,profile:null};delegate={isShowing:!1,profile:null};input;processingDate;destroyRef=(0,i.WQX)(i.abz);constructor(t,r,c){this.i18n=t,this.coreService=r,this.sidenavService=c}ngOnInit(){this.initSectionFormComponent(),this.initSectionName(),this.initInput(),this.initProcessingDate()}initSectionFormComponent(){this.sectionFormComponent=this.segmentDynamicLoaderService.getComponent(this.section.id)}initSectionName(){this.sectionName=this.section.body.details?.stageName?this.section.body.details.stageName?.value??this.section.body.details.stageName:this.segmentDynamicLoaderService.getSectionName(this.section.id)}initInput(){this.input={isReadOnly:this.isReadOnly,lov:this.lov,section:this.section,form:this.form}}initProcessingDate(){this.section?.header?.processingDate&&(this.processingDate=yd(new Date(this.section.header.processingDate),"dd/MM/yyyy hh:mm:ss"))}get isExpanded(){return!this.form?.sections?.length||!this.form.sections.some(c=>"expandStage"in(c?.body?.details||{}))||"true"===this.section?.body?.details?.expandStage}createUserProfileFromResponse(t){const r=t?.Users[0];return new Ub(!1,r?.employeeNumber,r?.email,r?.name,r?.generalDepartment?.name,r?.position?.name,r?.sector?.name,r?.department?.name,r?.generalDepartment?.code,r?.location,r?.nationality?.desc,r?.contact?.mobile,r?.manager?.name,r?.seniorSectorName?.name)}openOrCreateUserProfile(t,r){this.sidenavService.data=t,this.userPopoverInfo=t,this[r].profile=t,this.sidenavService.publish("open",dS)}toggleSmallProfileInfo(t,r){this.userType=r,t.stopPropagation();let c=this[r];if(c.profile)this.openOrCreateUserProfile(c.profile,r);else{this.popoverType=r;let f=this.getUserEmail(r);this.fetchAndSetUserProfile(f,r)}}getUserEmail(t){return"recipient"===t?this.section.header.personToThumbnail.split("=")[1]:this?.section?.header?.delegatedToThumbnail.split("=")[1]}fetchAndSetUserProfile(t,r){this.coreService.employeeProfile(t).pipe(zn(this.destroyRef)).subscribe(c=>{if(c){let f=this.createUserProfileFromResponse(c);this.openOrCreateUserProfile(f,r)}})}statusClass(t){return(qs[t]||qs.default).class}statusIcon(t){return t=t?t.toLowerCase():"",(qs[t]||qs.default).icon}static \u0275fac=function(r){return new(r||s)(i.rXU(ii),i.rXU(Rr),i.rXU(xr.S))};static \u0275cmp=i.VBU({type:s,selectors:[["app-form-section"]],inputs:{requestDetails:"requestDetails",section:"section",form:"form",lov:"lov",isReadOnly:"isReadOnly",controllers:"controllers",segmentDynamicLoaderService:"segmentDynamicLoaderService",sectionFormComponent:"sectionFormComponent",sectionName:"sectionName"},decls:19,vars:10,consts:[["approvalPanel","matExpansionPanel"],["hideToggle","",1,"mb-4",3,"expanded"],[1,"approval-panel-container"],[1,"d-flex","gap-2","flex-grow-1","approval-panel-title"],["no-opacity","","icon","",1,"circle-status","d-none","d-sm-inline-block",3,"status"],[3,"icon"],[1,"d-flex","flex-column","flex-grow-1"],[1,"fs-16","fw-medium","m-0"],[1,"fs-12","fc-dark-gray","fw-normal","line-height-1","d-block","mt-1"],[1,"approval-panel-details","gap-1"],[1,"main-status",3,"status"],[1,"approval-panel-toggle"],["icon","minus",1,"fs-20","fc-dark-gray"],["icon","plus-1",1,"fs-20","fc-coral"],[1,"border-top","pt-4"],[4,"ngComponentOutlet","ngComponentOutletNdcDynamicInputs"],[1,"d-flex","align-items-center","gap-3"],[1,"d-flex","align-items-center","gap-3",3,"click"],[1,"d-flex","align-items-center","gap-2","radius-3","h-40",3,"click","ngClass"],["size","small",1,"user-avatar",3,"image"],[1,"fs-14","fw-medium","d-inline-block","panel-user-name","text-truncate",3,"ngClass"],["alt","","src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMCAwIDIxIDEzIj48cGF0aCBkPSJNMjEsNy43NjNhMS42MjEsMS42MjEsMCwwLDEtLjQ0Ny41OTMsMS4zMDYsMS4zMDYsMCwwLDEtLjc1LjE5NGMtNy4yODQsMC04LjU2OCwwLTE1Ljg1MywwSDMuNjY5TDMuNjMsOC42Yy4wNzcuMDY0LjE1OC4xMjQuMjI5LjE5NHExLjcxLDEuNjksMy40MiwzLjM4MWExLjAyMywxLjAyMywwLDAsMSwuMjkxLDEuMDc5Ljk5Mi45OTIsMCwwLDEtLjguNzE5LDEuMDUzLDEuMDUzLDAsMCwxLTEtLjMzMVEzLjgzMSwxMS43MTksMS44ODYsOS44Yy0uNDQyLS40MzctLjg3OS0uODgxLTEuMzMtMS4zMDlBNC41NzIsNC41NzIsMCwwLDEsMCw3LjgxNFY3LjE4NUEzMC43ODMsMzAuNzgzLDAsMCwxLDIuNzMsNC4zNzFjMS0xLjAyNywyLjAzOC0yLjAyNSwzLjA2My0zLjAzMkExLjA0OSwxLjA0OSwwLDEsMSw3LjI3NywyLjgyQzYuNCwzLjcsNS41MDksNC41Nyw0LjYyNSw1LjQ0NmMtLjMyMy4zMjEtLjY0NC42NDUtLjk3My45NzYuMDg0LjA1OS4xODEuMDI3LjI3LjAyNyw3LjI1OCwwLDguNTE2LDAsMTUuNzc1LDBBMS4xMjksMS4xMjksMCwwLDEsMjEsNy4yOXYuNDcyWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMC45OTkpIiBmaWxsPSIjYTU0ZWUxIi8+PC9zdmc+",1,"rotate-arrow"],[1,"d-flex","align-items-center","gap-2","px-0","px-md-2","radius-3","user-avatar-name","h-40"],[1,"fs-14","fw-medium","d-inline-block","panel-user-name","text-truncate"]],template:function(r,c){if(1&r&&(i.j41(0,"mat-expansion-panel",1,0)(2,"mat-expansion-panel-header")(3,"div",2)(4,"div",3)(5,"ds-status",4),i.nrm(6,"ds-icon",5),i.k0s(),i.j41(7,"div",6)(8,"span",7),i.EFF(9),i.k0s(),i.DNE(10,vA,2,1,"bdi",8),i.k0s()(),i.j41(11,"div",9),i.DNE(12,E0,2,1,"ng-container")(13,_h,2,2,"ds-status",10),i.k0s(),i.j41(14,"div",11),i.DNE(15,BT,1,0,"ds-icon",12)(16,VT,1,0,"ds-icon",13),i.k0s()()(),i.j41(17,"section",14),i.DNE(18,S0,1,0,"ng-container",15),i.k0s()()),2&r){const f=i.sdS(1);i.Y8G("expanded",c.isExpanded),i.R7$(5),i.FS9("status",c.statusClass(c.sectionStatusKey)),i.R7$(),i.FS9("icon",c.statusIcon(c.sectionStatusKey)),i.R7$(3),i.SpI(" ",c.sectionName,""),i.R7$(),i.vxM(null!=c.section.header&&c.section.header.processedBy?10:-1),i.R7$(2),i.vxM(null!=c.section&&null!=c.section.body&&null!=c.section.body.details&&null!=c.section.body.details.stage0&&c.section.body.details.stage0.isStage0&&"false"!==(null==c.section||null==c.section.body||null==c.section.body.details||null==c.section.body.details.stage0?null:c.section.body.details.stage0.isStage0)?-1:12),i.R7$(),i.vxM(null!=c.section&&null!=c.section.body&&null!=c.section.body.details&&null!=c.section.body.details.decision&&c.section.body.details.decision.key?13:-1),i.R7$(2),i.vxM(f.expanded?15:16),i.R7$(3),i.Y8G("ngComponentOutlet",c.sectionFormComponent)("ngComponentOutletNdcDynamicInputs",c.input)}},dependencies:[KC,Wl,kd,W.OI,C0,Rd,W.YU,FT,RT],styles:['[_nghost-%COMP%] .mat-expansion-panel-content{background:#fff!important}[_nghost-%COMP%] .mat-expansion-panel-content[_ngcontent-%COMP%]{background:#fff!important}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:40% calc(60% - 45px) 20px;grid-template-areas:"title details toggle";gap:.75rem;place-content:space-between;align-items:center;flex-grow:1;width:100%}@media (max-width: 991px){[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%]{grid-template-columns:calc(100% - 45px) 20px;grid-template-areas:"title toggle" "details details"}}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .approval-panel-title[_ngcontent-%COMP%]{grid-area:title}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .panel-user-name[_ngcontent-%COMP%]{max-width:120px}@media (max-width: 768px){[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .panel-user-name.panel-ueser-only[_ngcontent-%COMP%]{max-width:140px}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .panel-user-name[_ngcontent-%COMP%]:not(.panel-ueser-only){max-width:90px}}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .approval-panel-details[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;grid-area:details}[_nghost-%COMP%] .approval-panel-container[_ngcontent-%COMP%] .approval-panel-toggle[_ngcontent-%COMP%]{grid-area:toggle;display:flex;align-items:center;justify-content:center;width:20px}[_nghost-%COMP%] ds-avatar.user-avatar .avatar{min-width:var(--default-size, 45px)!important;width:var(--default-size, 45px)!important;height:var(--default-size, 45px)!important;padding:var(--avatar-padding, 0)!important;background-color:var(--avatar-bg, white);color:var(--avatar-color, black)!important;border:var(--avatar-border, 0)!important;border-radius:var(--avatar-radius, 50%)!important;margin:var(--avatar-margin, 0)!important;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;--default-size: 25px}@media (min-width: 768px){[_nghost-%COMP%] ds-avatar.user-avatar .avatar{--default-size: 31px;--avatar-border: 3px solid var(--light-gray)}}@media (min-width: 768px){[_nghost-%COMP%] .user-avatar-name{padding-inline-end:1rem!important}}[_nghost-%COMP%] .circle-status[_ngcontent-%COMP%]::part(base){--status-radius: 50%;--status-size: 18px;--status-fs: 80% }[_nghost-%COMP%] .panel-title[_ngcontent-%COMP%]{min-width:40%;width:40%}@media (max-width: 576px){[_nghost-%COMP%] .panel-title[_ngcontent-%COMP%]{min-width:100%!important;width:100%!important}}[_nghost-%COMP%] .panel-user-status[_ngcontent-%COMP%]{min-width:60%;width:60%;display:flex;align-items:center;justify-content:space-between}@media (max-width: 576px){[_nghost-%COMP%] .panel-user-status[_ngcontent-%COMP%]{min-width:100%!important;width:100%!important}[_nghost-%COMP%] .panel-user-status[_ngcontent-%COMP%] .user-delegate[_ngcontent-%COMP%]{min-width:auto}[_nghost-%COMP%] .panel-user-status[_ngcontent-%COMP%] .main-status[_ngcontent-%COMP%]::part(base){--status-width: 50px}}']})}return s})();const $T=["*"];function UT(s,a){1&s&&(i.j41(0,"div",4),i.nrm(1,"ds-icon",6),i.k0s())}function HT(s,a){1&s&&(i.j41(0,"div",4),i.nrm(1,"ds-icon",7),i.k0s())}let wA=(()=>{class s{i18n;section;lov;form;constructor(t){this.i18n=t}get isExpanded(){return"true"===this.section?.body?.details?.expandStage}static \u0275fac=function(r){return new(r||s)(i.rXU(ii))};static \u0275cmp=i.VBU({type:s,selectors:[["app-main-request-details"]],inputs:{section:"section",lov:"lov",form:"form"},ngContentSelectors:$T,decls:10,vars:3,consts:[["requestPanel","matExpansionPanel"],[1,"primary-accordion","main-request-accordion","border-top"],["hideToggle","",1,"mb-3",3,"expanded"],[1,"fs-16","fw-medium","fc-coral","m-0","flex-grow-1"],[1,"d-inline-flex","align-items-center","gap-2"],[1,"default-box","box-shadow","p-4","rounded-4"],["icon","minus",1,"fs-20","fc-dark-gray"],["icon","plus-1",1,"fs-20","fc-coral"]],template:function(r,c){if(1&r&&(i.NAR(),i.j41(0,"mat-accordion",1)(1,"mat-expansion-panel",2,0)(3,"mat-expansion-panel-header")(4,"h2",3),i.EFF(5),i.k0s(),i.DNE(6,UT,2,0,"div",4)(7,HT,2,0,"div",4),i.k0s(),i.j41(8,"section",5),i.SdG(9),i.k0s()()()),2&r){const f=i.sdS(2);i.R7$(),i.Y8G("expanded",c.isExpanded||1===(null==c.form||null==c.form.sections?null:c.form.sections.length)),i.R7$(4),i.SpI(" ",c.i18n.translate("requestDetailsTitle")," "),i.R7$(),i.vxM(f.expanded?6:7)}},dependencies:[KC,sh,Wl,kd],styles:[".main-request-accordion[_ngcontent-%COMP%]{--accordion-height: 65px;--accordion-radius: 0 0 4px 4px;--accordion-shadow: 0 7px 10px rgba(var(--rgb-black), 3%);--accordion-border: 1px solid var(--light-gray);--accordion-border-active: 1px solid var(--gray);--panel-padding: 0 1.5rem;--panel-body-padding: 0 0 1.5rem;position:relative;z-index:1}@media (max-width: 576px){.main-request-accordion[_ngcontent-%COMP%]{--accordion-height: 55px;--panel-padding: 0 1rem;--panel-body-padding: 0 1rem 1rem}}.main-request-accordion[_ngcontent-%COMP%] .inner-accordion[_ngcontent-%COMP%]{--accordion-height: 44px;--accordion-bc: var(--light-gray);--accordion-bc-active: var(--white);--accordion-border: 1px solid var(--light-gray);--accordion-border-active: 1px solid var(--light-gray);--panel-body-padding: 0;--accordion-shadow: none;--panel-padding: 0 1.5rem}"]})}return s})();const zT=["f"],M0=["*"];function GT(s,a){1&s&&i.eu8(0)}function WT(s,a){if(1&s&&(i.j41(0,"section",3),i.DNE(1,GT,1,0,"ng-container",5),i.k0s()),2&s){i.XpG();const t=i.sdS(5);i.R7$(),i.Y8G("ngTemplateOutlet",t)}}function Ld(s,a){if(1&s&&i.nrm(0,"app-form-section",6),2&s){const t=i.XpG(2);i.Y8G("segmentDynamicLoaderService",t.segmentDynamicLoaderService)("section",t.sections[1])("lov",null==t.form?null:t.form.lovs)("isReadOnly",t.sections[1].header.readOnly)("form",t.form)("controllers",t.sectionsController)}}function XT(s,a){1&s&&i.eu8(0)}function T0(s,a){if(1&s&&(i.j41(0,"header",8),i.EFF(1),i.k0s()),2&s){const t=i.XpG(2);i.R7$(),i.SpI(" ",t.i18n.translate("Approvals")," ")}}function I0(s,a){if(1&s&&i.nrm(0,"app-form-section",6),2&s){const t=i.XpG().$implicit,r=i.XpG(2);i.Y8G("segmentDynamicLoaderService",r.segmentDynamicLoaderService)("section",t)("lov",null==r.form?null:r.form.lovs)("isReadOnly",t.header.readOnly)("form",r.form)("controllers",r.sectionsController)}}function QT(s,a){if(1&s&&i.DNE(0,I0,1,6,"app-form-section",6),2&s){const t=a.$index,r=i.XpG(2);i.vxM((r.hasStage0?t>1:t>0)?0:-1)}}function x0(s,a){if(1&s&&(i.j41(0,"div",4),i.DNE(1,Ld,1,6,"app-form-section",6),i.j41(2,"app-main-request-details",7),i.DNE(3,XT,1,0,"ng-container",5),i.k0s(),i.DNE(4,T0,2,1,"header",8),i.j41(5,"mat-accordion",9),i.Z7z(6,QT,1,1,null,null,i.Vm6),i.k0s()()),2&s){const t=i.XpG(),r=i.sdS(5);i.R7$(),i.vxM(t.hasStage0?1:-1),i.R7$(),i.Y8G("lov",null==t.form?null:t.form.lovs)("form",t.form)("section",null==t.form?null:t.form.sections[0]),i.R7$(),i.Y8G("ngTemplateOutlet",r),i.R7$(),i.vxM((t.hasStage0?(null==t.form?null:t.form.sections.length)>2:(null==t.form?null:t.form.sections.length)>1)?4:-1),i.R7$(2),i.Dyx(null==t.form?null:t.form.sections)}}function KT(s,a){1&s&&i.SdG(0)}let Qg=(()=>{class s{i18n;cdRef;formStateObject;sectionSubmitted=new i.bkB;sections;isReadOnly;isLoading;form;contentClass="default-box box-shadow p-4";startedListener=!1;sectionsController;showButtonMenu=!1;segmentDynamicLoaderService=null;sectionFormComponent=null;sectionName=_a;destroyRef=(0,i.WQX)(i.abz);constructor(t,r){this.i18n=t,this.cdRef=r}ngAfterViewChecked(){this.formStateObject&&this.form&&!this.startedListener&&(this.formStateObject.valueChanges.pipe(zn(this.destroyRef)).subscribe(t=>{Object.keys(t).forEach(r=>{this.sections[this.sections.length-1].body.details[r]!==t[r]&&void 0!==t[r]&&(this.sections[this.sections.length-1].body.details[r]=t[r])})}),this.sectionsController=this.formStateObject.controls,this.startedListener=!0),this.checkButtons(),this.cdRef.detectChanges()}get isExpandableFromBackend(){return this.form?.sections?.length&&this.form.sections.some(t=>"expandStage"in t?.body?.details)}buttonTypes(t){switch(t){case"APPROVE":default:return"";case"SENDBACK":case"REJECT":return"red"}}checkButtons(){const t=this.form?.lovs?.decision?.options;Array.isArray(t)&&t.forEach(r=>{"APPROVE"!=r?.value&&"REJECT"!=r?.value&&"SENDBACK"!=r?.value&&"SUBMIT"!=r?.value&&"CANCEL"!=r?.value&&(this.showButtonMenu=!0)})}get hasStage0(){return"true"===this.sections?.[1]?.body?.details?.stage0?.isStage0}static \u0275fac=function(r){return new(r||s)(i.rXU(ii),i.rXU(i.gRc))};static \u0275cmp=i.VBU({type:s,selectors:[["app-workflow-section"]],viewQuery:function(r,c){if(1&r&&i.GBs(zT,5),2&r){let f;i.mGM(f=i.lsd())&&(c.formStateObject=f.first)}},inputs:{sections:"sections",isReadOnly:"isReadOnly",isLoading:"isLoading",form:"form",contentClass:"contentClass",sectionsController:"sectionsController",segmentDynamicLoaderService:"segmentDynamicLoaderService",sectionFormComponent:"sectionFormComponent",sectionName:"sectionName"},outputs:{sectionSubmitted:"sectionSubmitted"},ngContentSelectors:M0,decls:6,vars:1,consts:[["f","ngForm"],["contentReqDet",""],["autocomplete","off"],[1,"default-box","box-shadow","p-4","rounded-4"],["id","accordion","role","tablist","aria-multiselectable","true",1,"mt-n3"],[4,"ngTemplateOutlet"],[1,"app-form-section",3,"segmentDynamicLoaderService","section","lov","isReadOnly","form","controllers"],[3,"lov","form","section"],[1,"header-line","fs-12","fw-medium","fc-dark-gray","mt-sm-5","mt-4","mb-4"],[1,"primary-accordion","main-approval"]],template:function(r,c){1&r&&(i.NAR(),i.j41(0,"form",2,0),i.DNE(2,WT,2,1,"section",3)(3,x0,8,6,"div",4),i.k0s(),i.DNE(4,KT,1,0,"ng-template",null,1,i.C5r)),2&r&&(i.R7$(2),i.vxM("NEW"===(null==c.form||null==c.form.header||null==c.form.header.status?null:c.form.header.status.key)?2:3))},dependencies:[sh,W.T3,jT,wA,ld,Ml,so,xa],styles:['@charset "UTF-8";.primary-accordion[_ngcontent-%COMP%]{--accordion-height: auto;--indicator-bc: transparent;--indicator-bc-active: transparent;--indicator-icon: "\\e9bc";--indicator-icon-active: "\\ea34";--indicator-color: var(--coral);--indicator-color-active: var(--dark-gray);--accordion-radius: 4px;--accordion-border-active: 1px solid var(--gray);--accordion-shadow: 0 7px 10px 0 rgba(var(--rgb-black), 3%);--accordion-shadow-active: none;--panel-padding: 1.5rem;--panel-body-padding: 0 1.5rem 1.5rem}@media (max-width: 576px){.primary-accordion[_ngcontent-%COMP%]{--accordion-height: 110px;--panel-padding: 1.5rem 1rem;--panel-body-padding: 0 1rem 1rem}}.primary-accordion.main-approval[_ngcontent-%COMP%]{position:relative}.primary-accordion.main-approval[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;bottom:0;margin:2rem;width:1px;height:calc(100% - 2rem);background-color:var(--dark-gray);z-index:0}@media (max-width: 576px){.workflow-all-btns[_ngcontent-%COMP%] ds-button[_ngcontent-%COMP%]::part(base){--btn-padding: 0 .5rem;--btn-fs: .75rem;--btn-height: var(--default-size-sm);--btn-min-width: var(--default-size-sm)}}']})}return s})();function qT(s,a){if(1&s&&(i.j41(0,"div",12)(1,"div",18)(2,"div",19),i.nrm(3,"img",20),i.k0s(),i.j41(4,"div",21)(5,"h5",22),i.EFF(6),i.k0s(),i.j41(7,"span",23),i.EFF(8),i.k0s()()()()),2&s){const t=i.XpG();i.R7$(3),i.Y8G("src",t.getImage(null==t.successData||null==t.successData.nextApprover?null:t.successData.nextApprover.email),i.B4B),i.R7$(3),i.JRh(null==t.successData||null==t.successData.nextApprover?null:t.successData.nextApprover.name),i.R7$(2),i.JRh(null==t.successData||null==t.successData.nextApprover?null:t.successData.nextApprover.email)}}function A0(s,a){if(1&s&&(i.j41(0,"div",17)(1,"ds-button")(2,"a",24),i.EFF(3),i.k0s()()()),2&s){const t=i.XpG();i.R7$(2),i.FS9("href",t.inboxUri,i.B4B),i.R7$(),i.SpI(" ",t.i18n.translate("formTableBackToInbox"),"")}}let O0=(()=>{class s{data;i18n;coreService;successData;inboxUri;constructor(t,r,c){this.data=t,this.i18n=r,this.coreService=c,this.successData=t,this.inboxUri=window.wmConfig.inboxUri}getImage(t){return t?"/group/i-gate/wm-bpm/forms/-/proxy/portrait?email="+t:""}viewForm(t,r){if(t){if(t?.toLowerCase().includes("draft"))return void window.open(`/group/i-gate/wm-bpm/forms?formName=${r}&formId=${t}`);window.open("/group/i-gate/wm-bpm/forms?formId="+t)}}getStatus(t){switch(t){case"APPROVED":case"COMPLETED":default:return"success";case"REJECTED":case"CANCELLED":return"danger";case"PENDING":return"warning"}}static \u0275fac=function(r){return new(r||s)(i.rXU(ml),i.rXU(ii),i.rXU(Rr))};static \u0275cmp=i.VBU({type:s,selectors:[["app-submit-dialog"]],decls:27,vars:8,consts:[[1,"popup-container"],["mat-dialog-title","",1,"d-flex","align-items-center","justify-content-end"],["matDialogClose","","icon",""],["icon","close",1,"fs-20","fc-black"],[1,"d-flex","flex-column","align-items-center","justify-content-center","py-4"],[1,"text-center","mb-4"],["width","79","height","76","viewBox","0 0 79 76","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M59.9804 0.0998676L1.39239 19.2479C1.02223 19.3692 0.69498 19.5948 0.44999 19.8976C0.205 20.2005 0.0526985 20.5676 0.0113985 20.955C-0.0299016 21.3423 0.0415576 21.7333 0.217184 22.081C0.39281 22.4287 0.665128 22.7183 1.00139 22.9149L23.1454 35.7899C23.487 35.9886 23.8794 36.0828 24.274 36.0608C24.6686 36.0388 25.0481 35.9014 25.3654 35.6659L31.5894 31.0439L26.9674 37.2679C26.7318 37.5852 26.5944 37.9646 26.5722 38.3591C26.5499 38.7537 26.6439 39.1461 26.8424 39.4879L39.7174 61.6289C39.9138 61.9652 40.2031 62.2377 40.5506 62.4135C40.8981 62.5894 41.289 62.6611 41.6763 62.6201C42.0636 62.5791 42.4308 62.4272 42.7338 62.1825C43.0369 61.9378 43.2628 61.6108 43.3844 61.2409L62.5294 2.65187C62.6458 2.29686 62.6615 1.91654 62.5749 1.55313C62.4883 1.18971 62.3026 0.857401 62.0386 0.593071C61.7746 0.328741 61.4425 0.142726 61.0792 0.0556665C60.7159 -0.0313933 60.3355 -0.0160937 59.9804 0.0998676ZM40.9434 55.6999L31.0014 38.6069L42.9894 22.4689C43.2797 22.0798 43.4202 21.5993 43.3852 21.1152C43.3502 20.631 43.142 20.1757 42.7988 19.8325C42.4556 19.4893 42.0002 19.2811 41.5161 19.2461C41.032 19.2111 40.5514 19.3516 40.1624 19.6419L24.0254 31.6279L6.93339 21.6889L57.4514 5.18087L40.9434 55.6999ZM21.2134 44.2759L7.80139 57.6909C7.42253 58.0701 6.90853 58.2833 6.37246 58.2836C5.83638 58.2839 5.32215 58.0712 4.94289 57.6924C4.56363 57.3135 4.35041 56.7995 4.35013 56.2634C4.34985 55.7274 4.56253 55.2131 4.94139 54.8339L18.3564 41.4189C18.7353 41.04 19.2491 40.8272 19.7849 40.8272C20.3207 40.8272 20.8345 41.04 21.2134 41.4189C21.5923 41.7977 21.8051 42.3116 21.8051 42.8474C21.8051 43.3832 21.5923 43.897 21.2134 44.2759ZM3.49139 44.7839C3.30378 44.5963 3.15495 44.3736 3.05341 44.1285C2.95187 43.8834 2.89961 43.6207 2.89961 43.3554C2.89961 43.0901 2.95187 42.8274 3.05341 42.5823C3.15495 42.3371 3.30378 42.1144 3.49139 41.9269L8.78439 36.6339C9.16326 36.255 9.6771 36.0422 10.2129 36.0422C10.7487 36.0422 11.2625 36.255 11.6414 36.6339C12.0203 37.0127 12.2331 37.5266 12.2331 38.0624C12.2331 38.5982 12.0203 39.112 11.6414 39.4909L6.34939 44.7839C6.1618 44.9716 5.93903 45.1206 5.69384 45.2222C5.44864 45.3238 5.18582 45.3762 4.92039 45.3762C4.65497 45.3762 4.39215 45.3238 4.14695 45.2222C3.90176 45.1206 3.67899 44.9716 3.49139 44.7839ZM26.0014 50.9899C26.189 51.1774 26.3378 51.4001 26.4394 51.6453C26.5409 51.8904 26.5932 52.1531 26.5932 52.4184C26.5932 52.6837 26.5409 52.9464 26.4394 53.1915C26.3378 53.4366 26.189 53.6593 26.0014 53.8469L20.7014 59.1409C20.3225 59.5197 19.8087 59.7326 19.2729 59.7326C18.7371 59.7326 18.2233 59.5197 17.8444 59.1409C17.4655 58.762 17.2527 58.2482 17.2527 57.7124C17.2527 57.1766 17.4655 56.6627 17.8444 56.2839L23.1374 50.9909C23.325 50.8032 23.5477 50.6544 23.7928 50.5529C24.0379 50.4513 24.3006 50.3991 24.5659 50.3991C24.8312 50.3991 25.0939 50.4513 25.339 50.5529C25.5841 50.6544 25.8068 50.8032 25.9944 50.9909L26.0014 50.9899Z","fill","#8E9AA0"],["d","M58.0015 75.3119C69.0472 75.3119 78.0015 66.3576 78.0015 55.3119C78.0015 44.2662 69.0472 35.3119 58.0015 35.3119C46.9558 35.3119 38.0015 44.2662 38.0015 55.3119C38.0015 66.3576 46.9558 75.3119 58.0015 75.3119Z","fill","#00C48C"],["d","M56.8804 57.3183L54.0346 54.4725L52.9743 55.5336L56.8774 59.4367L65.8354 50.5267L65.4927 50.0138C63.8557 47.5812 61.1134 46.002 58.0015 46.002C53.0313 46.002 49.0015 50.031 49.0015 55.002C49.0015 59.9729 53.0305 64.002 58.0015 64.002C62.9716 64.002 67.0007 59.9729 67.0015 55.0035H65.5017C65.5017 55.005 65.5017 55.0072 65.5017 55.0095C65.5017 59.1503 62.1453 62.5067 58.0045 62.5067C53.8637 62.5067 50.5072 59.1503 50.5072 55.0095C50.5072 50.8686 53.8637 47.5122 58.0045 47.5122C60.3793 47.5122 62.4962 48.6168 63.87 50.3392L63.882 50.3542L56.8804 57.3183Z","fill","white"],[1,"fs-16","fw-medium","fc-black","mb-4","text-center"],[1,"info-section","reverse","w-100"],[1,"info-item","px-3"],[1,"name","fs-16-imp"],[1,"disc","fs-16-imp"],[1,"cursor-pointer","fc-black","underline",3,"click"],[1,"disc",3,"status"],[1,"d-flex","align-items-center","gap-3","mt-3"],[1,"d-flex","align-items-center","mt-2"],[1,"img-card","circled-img","small"],["onerror","this.onerror=null;this.src='assets/images/user.svg';","alt","",3,"src"],[1,"line-height-1","mx-2"],[1,"fs-14","fw-bold","fc-black","mb-0"],[1,"fs-12","text-color-dark-gray"],[1,"inboxUri",3,"href"]],template:function(r,c){1&r&&(i.j41(0,"div",0)(1,"div",1)(2,"ds-button",2),i.nrm(3,"ds-icon",3),i.k0s()(),i.j41(4,"mat-dialog-content")(5,"div",4)(6,"div",5),i.qSk(),i.j41(7,"svg",6),i.nrm(8,"path",7)(9,"path",8)(10,"path",9),i.k0s()(),i.joV(),i.j41(11,"h2",10),i.EFF(12),i.k0s(),i.j41(13,"div",11)(14,"div",12)(15,"span",13),i.EFF(16),i.k0s(),i.j41(17,"span",14)(18,"a",15),i.bIt("click",function(){return c.viewForm(c.successData.id,null==c.successData?null:c.successData.formName)}),i.EFF(19),i.k0s()()(),i.j41(20,"div",12)(21,"span",13),i.EFF(22),i.k0s(),i.j41(23,"ds-status",16),i.EFF(24),i.k0s()(),i.DNE(25,qT,9,3,"div",12),i.k0s(),i.DNE(26,A0,4,2,"div",17),i.k0s()()()),2&r&&(i.R7$(12),i.SpI(" ",c.i18n.translate("submittedSuccessfully")," "),i.R7$(4),i.JRh(c.i18n.translate("formTableFormId")),i.R7$(3),i.SpI(" ",c.successData.id," "),i.R7$(3),i.JRh(c.i18n.translate("formTableFormStatus")),i.R7$(),i.FS9("status",c.getStatus(null==c.successData||null==c.successData.status?null:c.successData.status.key)),i.R7$(),i.SpI(" ",null==c.successData.status?null:c.successData.status.value," "),i.R7$(),i.vxM("PENDING"===(null==c.successData||null==c.successData.status?null:c.successData.status.key)?25:-1),i.R7$(),i.vxM(c.coreService.isMobileApp()?-1:26))},dependencies:[Ju,qv,Kv],styles:[".inboxUri[_ngcontent-%COMP%]{color:#fff!important}.inboxUri[_ngcontent-%COMP%]:hover{color:#ff375e!important}ds-button[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{color:#ff375e!important}"]})}return s})();function YT(s,a){if(1&s&&i.nrm(0,"ds-approvals",5),2&s){const t=i.XpG();i.FS9("approvalsData",t.coreService.approvals)}}function ZT(s,a){if(1&s&&i.nrm(0,"ds-message",6),2&s){const t=i.XpG();i.FS9("label",t.i18n.translate("NoData2"))}}let JT=(()=>{class s{sidenavService;i18n;coreService;constructor(t,r,c){this.sidenavService=t,this.i18n=r,this.coreService=c}closeSidenav(){this.sidenavService.publish("close",null)}static \u0275fac=function(r){return new(r||s)(i.rXU(xr.S),i.rXU(ii),i.rXU(Rr))};static \u0275cmp=i.VBU({type:s,selectors:[["app-approvals"]],decls:9,vars:2,consts:[[1,"main-sidenav"],[1,"sidenav-title"],["icon","",3,"click"],["icon","close",1,"fs-20","fc-black"],[1,"sidenav-body","p-4"],[3,"approvalsData"],[3,"label"]],template:function(r,c){1&r&&(i.j41(0,"section",0)(1,"div",1)(2,"h3"),i.EFF(3),i.k0s(),i.j41(4,"ds-button",2),i.bIt("click",function(){return c.closeSidenav()}),i.nrm(5,"ds-icon",3),i.k0s()(),i.j41(6,"div",4),i.DNE(7,YT,1,1,"ds-approvals",5)(8,ZT,1,1,"ds-message",6),i.k0s()()),2&r&&(i.R7$(3),i.JRh(c.i18n.translate("approvalCycle")),i.R7$(4),i.vxM(c.coreService.approvals?7:8))},encapsulation:2})}return s})();function Kg(s,a){1&s&&i.nrm(0,"ds-icon",2)}function eI(s,a){1&s&&i.nrm(0,"ds-icon",3)}const R0=[Pc,Bu,"deny","reject","unsatisfied","cancel"],k0=[Nc,"pending"];let tI=(()=>{class s{i18n;sidenavService;coreService;toasterService;section;form;approvals=[];loading=!1;destroyRef=(0,i.WQX)(i.abz);constructor(t,r,c,f){this.i18n=t,this.sidenavService=r,this.coreService=c,this.toasterService=f}getApprovals(){this.isLoading()||(this.initializeApprovals(),this.coreService.perspectiveApproves(this.section.body.details).pipe(zn(this.destroyRef)).subscribe(t=>this.handleResponse(t),t=>this.handleError(t)))}isLoading(){return this.loading}initializeApprovals(){this.approvals=[],this.loading=!0}handleResponse(t){this.loading=!1,t?.approvals&&(this.approvals=t.approvals.map(r=>this.createApprovalObject(r)),this.showProspectiveApprovals())}createApprovalObject(t){const r=this.getStageDetails(t),c=r?this.getClassBasedOnStatus(r.header.status):"";return{id:1,name:t.value,title:t.key,image:`/group/i-gate/wm-bpm/forms/-/proxy/portrait?email=${t.key}`,status:c,statusLabel:c}}getStageDetails(t){return this.form.sections.find(r=>r.id===`${t?.role?.toLowerCase()}Approval`)}handleError(t){this.loading=!1,t?.error?.meta?.messages?.forEach(r=>{this.toasterService.error(r.message)})}transformStatus(t){return t?.toLowerCase()||""}getClassBasedOnStatus(t){const r=this.transformStatus(t);return!t||k0.includes(r)?"success":R0.find(c=>r.includes(c))?"danger":k0.find(c=>r.includes(c))?"warning":"success"}showProspectiveApprovals(){this.coreService.approvals=JSON.stringify(this.approvals),this.sidenavService.publish("open",JT)}static \u0275fac=function(r){return new(r||s)(i.rXU(ii),i.rXU(xr.S),i.rXU(Rr),i.rXU(_o))};static \u0275cmp=i.VBU({type:s,selectors:[["lib-approvals-workflow"]],inputs:{section:"section",form:"form"},decls:4,vars:1,consts:[["color","white","shape","text","square","","size","small",3,"click"],["name","prefix"],[1,"sfi","sfi-spinner","d-inline-block","spin","fc-coral","fs-30-imp"],["icon","workflow",1,"fs-24"]],template:function(r,c){1&r&&(i.j41(0,"ds-button",0),i.bIt("click",function(){return c.getApprovals()}),i.j41(1,"slot",1),i.DNE(2,Kg,1,0,"ds-icon",2)(3,eI,1,0,"ds-icon",3),i.k0s()()),2&r&&(i.R7$(2),i.vxM(c.loading?2:3))},dependencies:[Rd],styles:[".sat-popover-container.sat-popover-before .default-popover:before{display:none}"]})}return s})();const N0=s=>({disabled:s});function nI(s,a){if(1&s&&i.nrm(0,"lib-approvals-workflow",4),2&s){const t=i.XpG(2);i.Y8G("section",t.section)("form",t.form)}}function iI(s,a){if(1&s){const t=i.RV6();i.j41(0,"ds-button",7),i.bIt("click",function(){const c=i.eBV(t).$implicit,f=i.XpG(2);return i.Njj(f.onSubmit(null==c?null:c.value))}),i.EFF(1),i.k0s()}if(2&s){const t=a.$implicit,r=i.XpG(2);i.FS9("loading",r.isSubmitting[t.value]),i.FS9("shape",r.buttonShape(t)),i.FS9("color",r.buttonColor(t)),i.Y8G("ngClass",i.eq3(5,N0,!r.actionStates[t.value]||r.submittingForm)),i.R7$(),i.SpI(" ",null==t?null:t.description," ")}}function oI(s,a){if(1&s){const t=i.RV6();i.j41(0,"div",1)(1,"ds-button",2),i.bIt("click",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.resetForm())}),i.j41(2,"span",3),i.EFF(3),i.k0s()(),i.DNE(4,nI,1,2,"lib-approvals-workflow",4),i.j41(5,"div",5),i.Z7z(6,iI,2,7,"ds-button",6,i.Vm6),i.k0s()()}if(2&s){const t=i.XpG();i.R7$(3),i.JRh(t.i18n.translate("reset")),i.R7$(),i.vxM(1==(null==t.form||null==t.form.sections?null:t.form.sections.length)&&t.showApprovalCycle?4:-1),i.R7$(2),i.Dyx(t.lovOptions)}}function rI(s,a){if(1&s&&i.nrm(0,"lib-approvals-workflow",4),2&s){const t=i.XpG(2);i.Y8G("section",t.section)("form",t.form)}}function sI(s,a){if(1&s){const t=i.RV6();i.j41(0,"div",1)(1,"ds-button",2),i.bIt("click",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.resetForm())}),i.j41(2,"span",3),i.EFF(3),i.k0s()(),i.DNE(4,rI,1,2,"lib-approvals-workflow",4),i.j41(5,"div",5)(6,"ds-button",8),i.bIt("click",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.onSubmit("SUBMIT"))}),i.EFF(7),i.k0s()()()}if(2&s){const t=i.XpG();i.R7$(3),i.JRh(t.i18n.translate("reset")),i.R7$(),i.vxM(1==(null==t.form||null==t.form.sections?null:t.form.sections.length)&&t.showApprovalCycle?4:-1),i.R7$(2),i.FS9("loading",t.isSubmitting.SUBMIT),i.Y8G("ngClass",i.eq3(5,N0,!t.actionStates.SUBMIT||t.submittingForm)),i.R7$(),i.SpI(" ",t.i18n.translate("submit")," ")}}let qg=(()=>{class s{i18n;actionStateService;coreService;dialog;toasterService;cdRef;lovOptions;lovType;fieldsForm;form;section;sections;showApprovalCycle=!0;customCall=!1;resetFormEmit=new i.bkB;customCallEmit=new i.bkB;actionStates;isSubmitting={SUBMIT:!1};submittingForm;destroyRef=(0,i.WQX)(i.abz);constructor(t,r,c,f,g,D){this.i18n=t,this.actionStateService=r,this.coreService=c,this.dialog=f,this.toasterService=g,this.cdRef=D,this.actionStateService.actionStates$.pipe(zn(this.destroyRef)).subscribe(x=>this.actionStates=x)}ngAfterViewInit(){this.lovOptions?.forEach(t=>{this.isSubmitting[t.value]=!1}),this.cdRef.detectChanges()}resetForm(){this.resetFormEmit.emit()}onSubmit(t){this.customCall?this.customCallEmit.emit(t):this.submitForm(t,this.section)}submitForm(t,r){(r=JSON.parse(JSON.stringify(r))).body.details.decision&&(r.body.details.decision.key=t),this.isSubmitting[t]=!0,this.submittingForm=!0,this.coreService.submitForm(r,t).pipe(zn(this.destroyRef)).subscribe(c=>{c&&(this.isSubmitting[t]=!1,this.success(c))},c=>{c?.error?.meta?.messages?.forEach(f=>{this.submittingForm=!1,this.isSubmitting[t]=!1,this.toasterService.error(f.message)})})}success(t){console.log("success",t),this.dialog.open(O0,{data:t,panelClass:["main-popup","confirm-dialog"],scrollStrategy:new Xu}).afterClosed().subscribe(()=>{window.location.reload()})}buttonShape(t){return t?.value===os||t?.value===Vu||t?.value===Lu?"outline":""}buttonColor(t){return t?.value===os||t?.value===Lu?"red":""}static \u0275fac=function(r){return new(r||s)(i.rXU(ii),i.rXU(nh),i.rXU(Rr),i.rXU(Da),i.rXU(_o),i.rXU(i.gRc))};static \u0275cmp=i.VBU({type:s,selectors:[["lib-action-buttons"]],inputs:{lovOptions:"lovOptions",lovType:"lovType",fieldsForm:"fieldsForm",form:"form",section:"section",sections:"sections",showApprovalCycle:"showApprovalCycle",customCall:"customCall"},outputs:{resetFormEmit:"resetFormEmit",customCallEmit:"customCallEmit"},decls:3,vars:1,consts:[[1,"mt-4"],[1,"d-flex","align-items-center","gap-3"],["shape","text","color","red",3,"click"],[1,"fs-16","fw-medium"],[3,"section","form"],[1,"d-flex","flex-wrap","align-items-center","flex-grow-1","flex-row-reverse","gap-3"],[3,"loading","ngClass","shape","color"],[3,"click","loading","ngClass","shape","color"],[3,"click","ngClass","loading"]],template:function(r,c){1&r&&(i.j41(0,"div",0),i.DNE(1,oI,8,2,"div",1)(2,sI,8,7,"div",1),i.k0s()),2&r&&(i.R7$(),i.vxM("button"===c.lovType?1:2))},dependencies:[W.YU,tI],encapsulation:2})}return s})();const P0=(s,a)=>({"form-section-divide form-section":s,"info-section":a});function aI(s,a){if(1&s){const t=i.RV6();i.j41(0,"div",3)(1,"lib-action-buttons",4),i.bIt("customCallEmit",function(c){i.eBV(t);const f=i.XpG();return i.Njj(f.customCallSubmit(c))})("resetFormEmit",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.resetForm())}),i.k0s()()}if(2&s){const t=i.XpG();i.R7$(),i.Y8G("lovOptions",null==t.lov||null==t.lov.decision?null:t.lov.decision.options)("lovType",null==t.lov||null==t.lov.decision?null:t.lov.decision.type)("section",t.section)("form",t.form)("sections",t.form.sections)("showApprovalCycle",!0)("customCall",!1)("fieldsForm",t.formGroup)}}let F0=(()=>{class s{i18n;fb;actionStateService;isReadOnly;section;form;lov;isLoading=!1;className="info-section";formGroup;options=["Option 1","Option 2","Option 3"];DEFAULT_PAGE_SIZE=10;DEFAULT_PAGE_NUMBER=0;pageNumber=this.DEFAULT_PAGE_NUMBER;pageSize=this.DEFAULT_PAGE_SIZE;columnsConfig=[];columns=[];destroyRef=(0,i.WQX)(i.abz);requiredSearchable;isError=!1;categoryData=[{assetDeviceType:null,brand:"Benq",colors:null,assetCompanies:null,descAr:null,descEn:null,estoreVisible:!1,id:"402",model:"B400",files:null,vendors:[{id:71,vendorName:null,vendorNumber:"26",__typename:"VendorDto"}],category:null,assetType:"Scanner",classifications:null,consumedCount:0,consumedPercentage:0,specs:["4GB"],sumQuantity:1,__typename:"AllAssetsDto"},{assetDeviceType:null,brand:"HP",colors:null,assetCompanies:null,descAr:null,descEn:null,estoreVisible:!1,id:"403",model:"EliteBook",files:null,vendors:[{id:71,vendorName:null,vendorNumber:"26",__typename:"VendorDto"}],category:null,assetType:"Laptop",classifications:null,consumedCount:0,consumedPercentage:0,specs:["512GB"],sumQuantity:1,__typename:"AllAssetsDto"},{assetDeviceType:null,brand:"Hp",colors:null,assetCompanies:null,descAr:null,descEn:null,estoreVisible:!1,id:"404",model:"Laser",files:null,vendors:[{id:71,vendorName:null,vendorNumber:"26",__typename:"VendorDto"}],category:null,assetType:"Printer",classifications:null,consumedCount:0,consumedPercentage:0,specs:["2GB"],sumQuantity:1,__typename:"AllAssetsDto"},{assetDeviceType:null,brand:"Asus",colors:null,assetCompanies:null,descAr:null,descEn:null,estoreVisible:!1,id:"405",model:"A500",files:null,vendors:[{id:71,vendorName:null,vendorNumber:"26",__typename:"VendorDto"}],category:null,assetType:"Laptop",classifications:null,consumedCount:0,consumedPercentage:0,specs:["1TB"],sumQuantity:1,__typename:"AllAssetsDto"},{assetDeviceType:null,brand:"Dell",colors:null,assetCompanies:null,descAr:null,descEn:null,estoreVisible:!1,id:"407",model:"Latitude",files:null,vendors:[{id:71,vendorName:null,vendorNumber:"26",__typename:"VendorDto"}],category:null,assetType:"Laptop",classifications:null,consumedCount:0,consumedPercentage:0,specs:["1TB"],sumQuantity:4,__typename:"AllAssetsDto"},{assetDeviceType:null,brand:"Samsung",colors:null,assetCompanies:null,descAr:null,descEn:null,estoreVisible:!1,id:"408",model:"Galaxy",files:null,vendors:[{id:71,vendorName:null,vendorNumber:"26",__typename:"VendorDto"}],category:null,assetType:"Tablet",classifications:null,consumedCount:0,consumedPercentage:0,specs:["256GB"],sumQuantity:1,__typename:"AllAssetsDto"}];totalElements=6;constructor(t,r,c){this.i18n=t,this.fb=r,this.actionStateService=c}ngOnInit(){this.createForm();let t=this.section.body.details;for(const r in t)"decision"!==r&&this.formGroup.patchValue({[r]:t[r]});this.formGroup.get("customSearchable")?.valueChanges.subscribe(r=>{console.log("sector value",r),r?(this.formGroup.get("customSearchable2")?.disable({emitEvent:!1}),console.log("hhhhhhhhhhh",this.lov.typeOfRequest)):(this.formGroup.get("customSearchable2")?.enable({emitEvent:!1}),console.log("hhhhhhhhhhh",this.lov.typeOfRequest)),this.formGroup.get("customSearchable2").updateValueAndValidity()})}initializeTableConfig(){this.initializeColumns(),this.initializeColumnConfig()}initializeColumns(){this.columns=["id","assetType","brand","model","sumQuantity","specs","allocate"]}initializeColumnConfig(){this.columnsConfig=[{label:"Id",type:"text"},{label:"Asset Type",type:"text"},{label:"Brand",type:"text"},{label:"Model",type:"text"},{label:"Quantity",type:"formId"},{label:"Capacity",type:"specs",clickableText:"View"},{label:"Actions",type:"actions",actions:[{viewMode:"allocate",actionName:"Allocate",disabled:!0},{viewMode:"edit",actionName:"Edit",action:"edit",onClick:t=>{this.editAsset(t)}},{viewMode:"delete",actionName:"Delete",action:"delete",onClick:t=>{this.deleteAsset(t)}},{viewMode:"chart",actionName:"Chart",action:"chart"}]}]}createForm(){let t={input1:["",Mr.required]};this.lov?.decision?.options?.forEach(r=>{t[r.value]=[""]}),this.formGroup=this.fb.group({customSearchable:new ui(null,Mr.required),customSearchable2:new ui(null,Mr.required)}),this.formGroup.valueChanges.subscribe(r=>{this.lov?.decision?.options?.forEach(c=>{let f=this.checkValidity(c.value);this.actionStateService.setActionValid(c.value,f),this.section.body.details={...this.section.body.details,...this.formGroup.value}})})}editAsset(t){console.log(t)}startsWithDMOEOrCR(){return t=>{const r=t.value;return r&&(r.startsWith("DMOE-")||r.startsWith("CR-"))?null:{startsWithInvalid:!0}}}deleteAsset(t){console.log(t)}formValue(t){console.log(t.value)}checkValidity(t){switch(t){case"SUBMIT":case"REJECT":case"SENDBACK":return this.formGroup.valid;case"APPROVE":case"SAVE_CHANGES":return!0;default:return!1}}customCallSubmit(t){console.log("customCallSubmit",t)}resetForm(){this.actionStateService.resetAction$.next()}pageChanged(t){this.pageNumber=t.pageIndex,this.pageSize=t.pageSize}static \u0275fac=function(r){return new(r||s)(i.rXU(ii),i.rXU(js),i.rXU(nh))};static \u0275cmp=i.VBU({type:s,selectors:[["app-request-details-section"]],inputs:{isReadOnly:"isReadOnly",section:"section",form:"form",lov:"lov",className:"className"},decls:5,vars:15,consts:[[3,"ngClass","formGroup"],["formControlName","customSearchable","label","Custom-searchable",1,"section-item","mb-0","full",3,"isReadOnly","options","key","displayedLabel"],["formControlName","customSearchable2","label","Custom-searchable",1,"section-item","mb-0","full",3,"isReadOnly","options","disabled","key","displayedLabel"],[1,"mt-4"],[3,"customCallEmit","resetFormEmit","lovOptions","lovType","section","form","sections","showApprovalCycle","customCall","fieldsForm"]],template:function(r,c){if(1&r&&(i.j41(0,"div")(1,"form",0),i.nrm(2,"app-custom-searchable",1)(3,"app-custom-searchable",2),i.k0s()(),i.DNE(4,aI,2,8,"div",3)),2&r){let f;i.R7$(),i.Y8G("ngClass",i.l_i(12,P0,!(null!=c.section&&null!=c.section.header&&c.section.header.readOnly),null==c.section||null==c.section.header?null:c.section.header.readOnly))("formGroup",c.formGroup),i.R7$(),i.Y8G("isReadOnly",c.isReadOnly)("options",null==c.lov||null==c.lov.typeOfRequest?null:c.lov.typeOfRequest.options)("key","value")("displayedLabel","description"),i.R7$(),i.Y8G("isReadOnly",c.isReadOnly)("options",null==c.lov||null==c.lov.typeOfRequest?null:c.lov.typeOfRequest.options)("disabled",null==(f=c.formGroup.get("customSearchable2"))?null:f.disabled)("key","value")("displayedLabel","description"),i.R7$(),i.vxM(null!=c.section&&null!=c.section.header&&c.section.header.readOnly?-1:4)}},dependencies:[W.YU,qg,$s,Ml,sr,so,Ir,Il,Vg],styles:['.form-section-divide[_ngcontent-%COMP%]{--form-section-columns: 1fr 1fr}@media (max-width: 756px){.form-section-divide[_ngcontent-%COMP%]{--form-section-columns: 100%}}.form-section-divide[_ngcontent-%COMP%] .full[_ngcontent-%COMP%]{grid-column:1/-1}.head-title[_ngcontent-%COMP%]{position:relative;margin-bottom:12px}.head-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:inline-block;color:#8e9aa0;font-size:14px;font-weight:500;background-color:#fff;padding-inline-end:20px;position:relative;z-index:2;margin:0}.head-title[_ngcontent-%COMP%]:after{content:"";position:absolute;width:100%;height:1px;background-color:#dee0e2;top:50%;left:0;right:0;transform:translateY(-50%);z-index:1}.chamber[_ngcontent-%COMP%]{margin-bottom:20px}.chamber[_ngcontent-%COMP%] .chamber-content[_ngcontent-%COMP%]{background-color:#f8f8f8;padding:20px}.chamber[_ngcontent-%COMP%] .chamber-content[_ngcontent-%COMP%] .chamber-select[_ngcontent-%COMP%]{display:flex}.chamber[_ngcontent-%COMP%] .chamber-content[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{font-size:14px}.section-item[_ngcontent-%COMP%]{margin-bottom:20px}']})}return s})();const L0=(s,a)=>({"form-section-divide form-section":s,"info-section":a});function lI(s,a){if(1&s){const t=i.RV6();i.j41(0,"div",2)(1,"lib-action-buttons",3),i.bIt("customCallEmit",function(c){i.eBV(t);const f=i.XpG();return i.Njj(f.customCallSubmit(c))})("resetFormEmit",function(){i.eBV(t);const c=i.XpG();return i.Njj(c.resetForm())}),i.k0s()()}if(2&s){const t=i.XpG();i.R7$(),i.Y8G("lovOptions",null==t.lov||null==t.lov.decision?null:t.lov.decision.options)("lovType",null==t.lov||null==t.lov.decision?null:t.lov.decision.type)("section",t.section)("form",t.form)("sections",t.form.sections)("showApprovalCycle",!0)("customCall",!1)("fieldsForm",t.formGroup)}}let B0=(()=>{class s{i18n;fb;actionStateService;isReadOnly;section;form;lov;className="info-section";fieldsForm;numbers=[...Array(100).keys()].map(t=>t+1);destroyRef=(0,i.WQX)(i.abz);formGroup;constructor(t,r,c){this.i18n=t,this.fb=r,this.actionStateService=c}ngOnInit(){this.createForm(),this.formGroup.setValue(this.section.body.details)}createForm(){this.formGroup=this.fb.group({comment:new ui(""),decision:new ui("")}),this.formGroup.valueChanges.subscribe(t=>{this.lov?.decision?.options?.forEach(r=>{let c=this.checkValidity(r.value);this.actionStateService.setActionValid(r.value,c),this.section.body.details=this.formGroup.value})})}checkValidity(t){switch(t){case"APPROVE":return!0;case"REJECT":case"SENDBACK":return this.fieldsForm.valid;default:return!1}}customCallSubmit(t){console.log("customCallSubmit",t)}resetForm(){this.fieldsForm.reset()}static \u0275fac=function(r){return new(r||s)(i.rXU(ii),i.rXU(js),i.rXU(nh))};static \u0275cmp=i.VBU({type:s,selectors:[["app-general-approver-section"]],inputs:{isReadOnly:"isReadOnly",section:"section",form:"form",lov:"lov",className:"className"},decls:4,vars:9,consts:[[3,"ngClass","formGroup"],["formControlName","comment",1,"section-item",3,"label","required","isReadOnly"],[1,"mt-4"],[3,"customCallEmit","resetFormEmit","lovOptions","lovType","section","form","sections","showApprovalCycle","customCall","fieldsForm"]],template:function(r,c){1&r&&(i.j41(0,"div")(1,"form",0),i.nrm(2,"app-textarea",1),i.k0s()(),i.DNE(3,lI,2,8,"div",2)),2&r&&(i.R7$(),i.Y8G("ngClass",i.l_i(6,L0,!(null!=c.section&&null!=c.section.header&&c.section.header.readOnly),null==c.section||null==c.section.header?null:c.section.header.readOnly))("formGroup",c.formGroup),i.R7$(),i.Y8G("label","comment")("required",!1)("isReadOnly",null==c.section||null==c.section.header?null:c.section.header.readOnly),i.R7$(),i.vxM(null!=c.section&&null!=c.section.header&&c.section.header.readOnly?-1:3))},dependencies:[W.YU,qg,$s,Ml,sr,so,sd,Ir,Il,BC],styles:['.form-section-divide[_ngcontent-%COMP%]{--form-section-columns: 1fr 1fr}@media (max-width: 756px){.form-section-divide[_ngcontent-%COMP%]{--form-section-columns: 100%}}.form-section-divide[_ngcontent-%COMP%] .full[_ngcontent-%COMP%]{grid-column:1/-1}.head-title[_ngcontent-%COMP%]{position:relative;margin-bottom:12px}.head-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:inline-block;color:#8e9aa0;font-size:14px;font-weight:500;background-color:#fff;padding-inline-end:20px;position:relative;z-index:2;margin:0}.head-title[_ngcontent-%COMP%]:after{content:"";position:absolute;width:100%;height:1px;background-color:#dee0e2;top:50%;left:0;right:0;transform:translateY(-50%);z-index:1}.chamber[_ngcontent-%COMP%]{margin-bottom:20px}.chamber[_ngcontent-%COMP%] .chamber-content[_ngcontent-%COMP%]{background-color:#f8f8f8;padding:20px}.chamber[_ngcontent-%COMP%] .chamber-content[_ngcontent-%COMP%] .chamber-select[_ngcontent-%COMP%]{display:flex}.chamber[_ngcontent-%COMP%] .chamber-content[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{font-size:14px}']})}return s})();const V0_roleToApprovalSectionMapping={vpr_d:B0,sel_dsg:B0};let j0=(()=>{class s{locales;coreLocales;language;constructor(){this.language=window.wmConfig.language,this.locales={en:Na,ar:Im}}translate(t){let r=null;try{r=this.coreLocales[this.language][t],r||(r=this.locales[this.language][t])}catch{r=null}return r||t}getLanguage(){return this.language}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"any"})}return s})(),cI=(()=>{class s{i18n;requestDetailsSection=F0;roleToApprovalSectionMapping=V0_roleToApprovalSectionMapping;constructor(t){this.i18n=t}getComponent(t){if(t.toLowerCase()===_a.toLowerCase())return this.requestDetailsSection;let r=t.toLowerCase().split(kc.toLowerCase())[0].toLowerCase();return this.roleToApprovalSectionMapping[r]}getSectionName(t){if(t.toLowerCase()===_a.toLowerCase())return this.i18n.translate("requestDetailsTitle");if(t.toLowerCase()==="hrRequestDetails".toLowerCase())return this.i18n.translate("hrRequestDetailsTitle");let r=t.toLowerCase().split(kc.toLowerCase())[0].toLowerCase();return this.i18n.translate(`${r.toLowerCase()}Role`)}getPrintPartialName(t){return t===_a?"sectionrequestDetails":"wpo_dApproval"===t||"wpo_gmApproval"===t?"sectionGeneralApprover":"sectionGeneralApproval"}static \u0275fac=function(r){return new(r||s)(i.KVO(j0))};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"any"})}return s})();function $0(s,a){if(1&s&&(i.nrm(0,"core-service-header",1),i.j41(1,"app-workflow-section",2),i.nrm(2,"app-request-details-section",3),i.k0s()),2&s){const t=i.XpG(2);i.Y8G("isLoading",!1)("formTitle",t.formTitle)("isReadOnly",t.form.sections[0].header.readOnly)("form",t.form),i.R7$(),i.Y8G("segmentDynamicLoaderService",t.segmentDynamicLoader)("form",t.form)("sections",null==t.form?null:t.form.sections),i.R7$(),i.Y8G("section",t.form.sections[0])("form",t.form)("lov",null==t.form?null:t.form.lovs)("isReadOnly",t.form.sections[0].header.readOnly)}}function DA(s,a){if(1&s&&(i.j41(0,"div",5)(1,"span",6),i.EFF(2),i.k0s()()),2&s){const t=a.$implicit;i.R7$(2),i.JRh(null==t?null:t.message)}}function Yg(s,a){if(1&s&&(i.nrm(0,"ds-message"),i.Z7z(1,DA,3,1,"div",5,i.Vm6)),2&s){const t=i.XpG(3);i.R7$(),i.Dyx(t.errorMessage)}}function U0(s,a){1&s&&(i.nrm(0,"ds-message",4),i.nI1(1,"translate")),2&s&&i.Y8G("label",i.bMT(1,1,"pageErrorLoading"))}function dI(s,a){if(1&s&&i.DNE(0,Yg,3,0)(1,U0,2,3,"ds-message",4),2&s){const t=i.XpG(2);i.vxM(null!=t.errorMessage&&t.errorMessage.length?0:1)}}function Zg(s,a){if(1&s&&i.DNE(0,$0,3,11)(1,dI,2,1),2&s){const t=i.XpG();i.vxM(t.noError?0:1)}}function H0(s,a){if(1&s&&i.nrm(0,"core-service-header",0),2&s){const t=i.XpG();i.Y8G("formTitle",t.formTitle)("isLoading",!0)}}let uI=(()=>{class s{segmentDynamicLoader;document;router;sidenavService;i18n;coreService;platformId;loading={form:!1};form;formTitle="Test";noError=!0;errorMessage;constructor(t,r,c,f,g,D,x){this.segmentDynamicLoader=t,this.document=r,this.router=c,this.sidenavService=f,this.i18n=g,this.coreService=D,this.platformId=x,this.loading.form=!0,this.coreService.loadForm().subscribe({next:G=>{this.form=G,this.loading.form=!1},error:G=>{this.noError=!1,this.loading.form=!1,this.errorMessage=G?.error?.meta?.messages}})}ngAfterViewInit(){(0,$.UE)(this.platformId)&&document.documentElement.setAttribute("dir","en"==this.i18n.language?"ltr":"rtl")}static \u0275fac=function(r){return new(r||s)(i.rXU(cI),i.rXU(A.q),i.rXU(Ft.Ix),i.rXU(xr.S),i.rXU(ii),i.rXU(Rr),i.rXU(i.Agw))};static \u0275cmp=i.VBU({type:s,selectors:[["lib-app"]],features:[i.Jv_([{provide:Nd,useValue:{}}])],decls:3,vars:1,consts:[["header","",3,"formTitle","isLoading"],[3,"isLoading","formTitle","isReadOnly","form"],["workflow","",3,"segmentDynamicLoaderService","form","sections"],["className","form-section",3,"section","form","lov","isReadOnly"],[3,"label"],[1,"d-flex","justify-content-center"],[1,"fc-coral","fs-18"]],template:function(r,c){1&r&&(i.j41(0,"core-layout"),i.DNE(1,Zg,2,1)(2,H0,1,2,"core-service-header",0),i.k0s()),2&r&&(i.R7$(),i.vxM(c.loading.form?2:1))},dependencies:[Uw.LayoutComponent,b0,Qg,F0,Pa],encapsulation:2})}return s})();const vh={production:!1,CONFIG_NAME:"wmConfig",proxyAddress:"",proxyPort:"",formConfigApproval:"",formConfigPerGov:"",formConfigPerGovAr:"",formConfigExecute:"",formConfigPayroll:"",formName:"MEO",formId:"",authToken:"",proxyServiceBaseUrl:"http://localhost:3000/",proxyFullAddress:"",proxyServiceAuthorization:"/authenticate",proxyServiceExecute:"/execute?debug=success",proxyServiceAttachment:"/attachments/",proxyServiceForms:"/forms/",proxyServiceLanguageURLPart:"",formConfigAproval:"eyJpbmJveFVyaSI6IlwvZ3JvdXBcL2ktZ2F0ZVwvZS1zZXJ2aWNlc1wvYWR2YW5jZWQtaW5ib3giLCJmb3JtSWQiOiJuZXdfYXByb3ZhbCIsImZvcm1QcmVmaXgiOiJTQ1IiLCJsYW5ndWFnZSI6ImVuIn0=",formConfigNew:"eyJpbmJveFVyaSI6IlwvZ3JvdXBcL2ktZ2F0ZVwvZS1zZXJ2aWNlc1wvYWR2YW5jZWQtaW5ib3giLCJmb3JtUHJlZml4IjoiQ09FIiwibGFuZ3VhZ2UiOiJlbiJ9",formConfigNewAr:"eyJpbmJveFVyaSI6IlwvZ3JvdXBcL2ktZ2F0ZVwvZS1zZXJ2aWNlc1wvYWR2YW5jZWQtaW5ib3giLCJmb3JtUHJlZml4IjoiSFNUIiwibGFuZ3VhZ2UiOiJhciJ9",formConfigSubmit:"eyJpbmJveFVyaSI6IlwvZ3JvdXBcL2ktZ2F0ZVwvZS1zZXJ2aWNlc1wvYWR2YW5jZWQtaW5ib3giLCJmb3JtSWQiOiJuZXdfc3VibWl0IiwiaXNNb2JpbGUiOnRydWUsImZvcm1QcmVmaXgiOiJTQ1IiLCJsYW5ndWFnZSI6ImVuIn0=",formConfigSubmitAr:"eyJpbmJveFVyaSI6IlwvZ3JvdXBcL2ktZ2F0ZVwvZS1zZXJ2aWNlc1wvYWR2YW5jZWQtaW5ib3giLCJmb3JtSWQiOiJuZXdfc3VibWl0IiwiZm9ybVByZWZpeCI6IlNDUiIsImxhbmd1YWdlIjoiYXIifQ=="};let z0=(()=>{class s{cache=new Map;intercept(t,r){if("GET"!==t.method)return r.handle(t);let c=this.getCacheKey(t);return this.cache.get(c)||this.sendAndCache(t,r,c)}sendAndCache(t,r,c){const f=r.handle(t).pipe(nC(1));return this.cache.set(c,f),f}getCacheKey(t){const r=new URL(t.urlWithParams);return r.searchParams.delete("queryParam"),r.toString()}static \u0275fac=function(r){return new(r||s)};static \u0275prov=i.jDH({token:s,factory:s.\u0275fac})}return s})();if(vh.production){(0,i.SmG)();let s=atob(window.wmConfig);window.wmConfig=JSON.parse(s)}else window.wmConfig=vh.formConfigNew;window.wmConfig=JSON.parse(atob(window.wmConfig)),function it(s,a,t){return(0,i.TL3)({rootComponent:s,platformRef:t?.platformRef,...wt(a)})}(uI,{providers:[{provide:fe,useClass:z0,multi:!0},{provide:im,useValue:vh},(0,i.oKB)(Vi,$w,ha,Pa,Iu.forRoot([],{scrollPositionRestoration:"top"}),u_.forRoot({timeOut:1e4,positionClass:"toast-top-right",preventDuplicates:!0})),function vt(...s){const a=[ho,T,pt,{provide:zt,useExisting:pt},{provide:$t,useFactory:()=>(0,i.WQX)(Zn,{optional:!0})??(0,i.WQX)(T)},{provide:ue,useValue:Dn,multi:!0},{provide:z,useValue:!0},{provide:et,useClass:dt}];for(const t of s)a.push(...t.\u0275providers);return(0,i.EmA)(a)}()]}).then(s=>{}).catch(s=>console.error(s)),(window,typeof window>"u"?Promise.resolve():(0,Fn.p)().then(()=>(0,Fn.b)([["ds-loading-page",[[1,"ds-loading-page"]]],["ds-splash",[[1,"ds-splash",{label:[1537]}]]],["ds-activity-log_16",[[1,"ds-activity-log",{activitiesData:[1,"activities-data"],readonly:[4]}],[1,"ds-approvals",{approvalsData:[1,"approvals-data"]}],[1,"ds-slider",{config:[16],slidesLength:[1026,"slides-length"],currentSlide:[1538,"current-slide"],currentSlideNumber:[32],handelEvents:[64],slideTo:[64]},[[9,"resize","handleResize"]]],[1,"ds-alert",{icon:[1537],type:[1537]}],[1,"ds-card",{cardStatus:[1537,"card-status"]}],[4,"ds-file-picker",{dropLabel:[1,"drop-label"],buttonLabel:[1,"button-label"]}],[4,"ds-loading-chart",{type:[1],hostHeight:[32]}],[4,"ds-loading-table",{cols:[2],rows:[2],classes:[1]}],[1,"ds-message",{image:[1537],label:[1537],type:[1537]}],[1,"ds-sla",{maxValue:[1538,"max-value"],value:[1538],canvasScale:[514,"canvas-scale"],innerLineColor:[513,"inner-line-color"],outerLineColor:[513,"outer-line-color"],innerLineWidth:[514,"inner-line-width"],outerLineWidth:[514,"outer-line-width"],customValue:[513,"custom-value"]}],[1,"ds-attachments",{file:[1040],readonly:[4],showDownload:[4,"show-download"],showActions:[4,"show-actions"],showView:[4,"show-view"]}],[1,"ds-status",{status:[1537],noOpacity:[4,"no-opacity"],size:[1],icon:[516]}],[1,"ds-user-card",{imageSize:[1,"image-size"],imageShape:[1,"image-shape"],userInfo:[1,"user-info"]}],[1,"ds-button",{disabled:[516],loading:[516],caret:[516],icon:[516],circle:[516],square:[516],underlined:[516],type:[1],color:[1],shape:[1],size:[1],href:[1],download:[1],target:[1]}],[0,"ds-avatar",{image:[1537],label:[1537],size:[1],shape:[1],imageStatus:[32]}],[0,"ds-icon",{icon:[1]}]]]],undefined))).then(s=>{})},5334:(Ke,re,w)=>{"use strict";w.d(re,{m:()=>A});var E=w(1026),$=w(9270);function A(W){$.f.setTimeout(()=>{const{onUnhandledError:i}=E.$;if(!i)throw W;i(W)})}},5343:(Ke,re,w)=>{"use strict";function E(){}w.d(re,{l:()=>E})},5397:(Ke,re,w)=>{"use strict";w.d(re,{x:()=>A});var E=w(4761),$=w(8071);function A(W){return(0,$.T)(W?.[E.l])}},5558:(Ke,re,w)=>{"use strict";w.d(re,{n:()=>W});var E=w(8750),$=w(9974),A=w(4360);function W(i,B){return(0,$.N)((L,Z)=>{let Y=null,ie=0,ne=!1;const P=()=>ne&&!Y&&Z.complete();L.subscribe((0,A._)(Z,Ze=>{Y?.unsubscribe();let xe=0;const He=ie++;(0,E.Tg)(i(Ze,He)).subscribe(Y=(0,A._)(Z,ft=>Z.next(B?B(Ze,ft,He,xe++):ft),()=>{Y=null,P()}))},()=>{ne=!0,P()}))})}},5955:(Ke,re,w)=>{"use strict";let E;function A(W){return function $(){if(null==E&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>E=!0}))}finally{E=E||!1}return E}()?W:!!W.capture}w.d(re,{n:()=>A})},5964:(Ke,re,w)=>{"use strict";w.d(re,{p:()=>A});var E=w(9974),$=w(4360);function A(W,i){return(0,E.N)((B,L)=>{let Z=0;B.subscribe((0,$._)(L,Y=>W.call(i,Y,Z++)&&L.next(Y)))})}},6048:(Ke,re,w)=>{"use strict";w.d(re,{Q:()=>Ze,Sm:()=>ft,Vw:()=>Z,aZ:()=>lt,hb:()=>xe,hj:()=>Y,ig:()=>B,kB:()=>He,om:()=>ne,qj:()=>L,rb:()=>i});var E=w(1360),$=w(1413),A=w(9361);let W=null;function i(){return W}function B(se){W??=se}class L{}let Z=(()=>{class se{historyGo(De){throw new Error("")}static \u0275fac=function(Me){return new(Me||se)};static \u0275prov=E.jDH({token:se,factory:()=>(0,E.WQX)(ie),providedIn:"platform"})}return se})();const Y=new E.nKC("");let ie=(()=>{class se extends Z{_location;_history;_doc=(0,E.WQX)(A.q);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(De){const Me=i().getGlobalEventTarget(this._doc,"window");return Me.addEventListener("popstate",De,!1),()=>Me.removeEventListener("popstate",De)}onHashChange(De){const Me=i().getGlobalEventTarget(this._doc,"window");return Me.addEventListener("hashchange",De,!1),()=>Me.removeEventListener("hashchange",De)}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(De){this._location.pathname=De}pushState(De,Me,Ge){this._history.pushState(De,Me,Ge)}replaceState(De,Me,Ge){this._history.replaceState(De,Me,Ge)}forward(){this._history.forward()}back(){this._history.back()}historyGo(De=0){this._history.go(De)}getState(){return this._history.state}static \u0275fac=function(Me){return new(Me||se)};static \u0275prov=E.jDH({token:se,factory:()=>new se,providedIn:"platform"})}return se})();function ne(se,be){return se?be?se.endsWith("/")?be.startsWith("/")?se+be.slice(1):se+be:be.startsWith("/")?se+be:`${se}/${be}`:se:be}function P(se){const be=se.search(/#|\?|$/);return"/"===se[be-1]?se.slice(0,be-1)+se.slice(be):se}function Ze(se){return se&&"?"!==se[0]?`?${se}`:se}let xe=(()=>{class se{historyGo(De){throw new Error("")}static \u0275fac=function(Me){return new(Me||se)};static \u0275prov=E.jDH({token:se,factory:()=>(0,E.WQX)(ft),providedIn:"root"})}return se})();const He=new E.nKC("");let ft=(()=>{class se extends xe{_platformLocation;_baseHref;_removeListenerFns=[];constructor(De,Me){super(),this._platformLocation=De,this._baseHref=Me??this._platformLocation.getBaseHrefFromDOM()??(0,E.WQX)(A.q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(De){this._removeListenerFns.push(this._platformLocation.onPopState(De),this._platformLocation.onHashChange(De))}getBaseHref(){return this._baseHref}prepareExternalUrl(De){return ne(this._baseHref,De)}path(De=!1){const Me=this._platformLocation.pathname+Ze(this._platformLocation.search),Ge=this._platformLocation.hash;return Ge&&De?`${Me}${Ge}`:Me}pushState(De,Me,Ge,ct){const at=this.prepareExternalUrl(Ge+Ze(ct));this._platformLocation.pushState(De,Me,at)}replaceState(De,Me,Ge,ct){const at=this.prepareExternalUrl(Ge+Ze(ct));this._platformLocation.replaceState(De,Me,at)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(De=0){this._platformLocation.historyGo?.(De)}static \u0275fac=function(Me){return new(Me||se)(E.KVO(Z),E.KVO(He,8))};static \u0275prov=E.jDH({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})(),lt=(()=>{class se{_subject=new $.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(De){this._locationStrategy=De;const Me=this._locationStrategy.getBaseHref();this._basePath=function ke(se){if(new RegExp("^(https?:)?//").test(se)){const[,De]=se.split(/\/\/[^\/]+/);return De}return se}(P(xt(Me))),this._locationStrategy.onPopState(Ge=>{this._subject.next({url:this.path(!0),pop:!0,state:Ge.state,type:Ge.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(De=!1){return this.normalize(this._locationStrategy.path(De))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(De,Me=""){return this.path()==this.normalize(De+Ze(Me))}normalize(De){return se.stripTrailingSlash(function gt(se,be){if(!se||!be.startsWith(se))return be;const De=be.substring(se.length);return""===De||["/",";","?","#"].includes(De[0])?De:be}(this._basePath,xt(De)))}prepareExternalUrl(De){return De&&"/"!==De[0]&&(De="/"+De),this._locationStrategy.prepareExternalUrl(De)}go(De,Me="",Ge=null){this._locationStrategy.pushState(Ge,"",De,Me),this._notifyUrlChangeListeners(this.prepareExternalUrl(De+Ze(Me)),Ge)}replaceState(De,Me="",Ge=null){this._locationStrategy.replaceState(Ge,"",De,Me),this._notifyUrlChangeListeners(this.prepareExternalUrl(De+Ze(Me)),Ge)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(De=0){this._locationStrategy.historyGo?.(De)}onUrlChange(De){return this._urlChangeListeners.push(De),this._urlChangeSubscription??=this.subscribe(Me=>{this._notifyUrlChangeListeners(Me.url,Me.state)}),()=>{const Me=this._urlChangeListeners.indexOf(De);this._urlChangeListeners.splice(Me,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(De="",Me){this._urlChangeListeners.forEach(Ge=>Ge(De,Me))}subscribe(De,Me,Ge){return this._subject.subscribe({next:De,error:Me??void 0,complete:Ge??void 0})}static normalizeQueryParams=Ze;static joinWithSlash=ne;static stripTrailingSlash=P;static \u0275fac=function(Me){return new(Me||se)(E.KVO(xe))};static \u0275prov=E.jDH({token:se,factory:()=>function st(){return new lt((0,E.KVO)(xe))}(),providedIn:"root"})}return se})();function xt(se){return se.replace(/\/index.html$/,"")}},6129:(Ke,re,w)=>{"use strict";w.d(re,{U:()=>E});const E={now:()=>(E.delegate||Date).now(),delegate:void 0}},6354:(Ke,re,w)=>{"use strict";w.d(re,{T:()=>A});var E=w(9974),$=w(4360);function A(W,i){return(0,E.N)((B,L)=>{let Z=0;B.subscribe((0,$._)(L,Y=>{L.next(W.call(i,Y,Z++))}))})}},6365:(Ke,re,w)=>{"use strict";w.d(re,{U:()=>A});var E=w(1397),$=w(3669);function A(W=1/0){return(0,E.Z)($.D,W)}},6450:(Ke,re,w)=>{"use strict";w.d(re,{I:()=>W});var E=w(6354);const{isArray:$}=Array;function W(i){return(0,E.T)(B=>function A(i,B){return $(B)?i(...B):i(B)}(i,B))}},6648:(Ke,re,w)=>{"use strict";w.d(re,{H:()=>De});var E=w(8750),$=w(5225),A=w(9974),W=w(4360);function i(Me,Ge=0){return(0,A.N)((ct,at)=>{ct.subscribe((0,W._)(at,Ot=>(0,$.N)(at,Me,()=>at.next(Ot),Ge),()=>(0,$.N)(at,Me,()=>at.complete(),Ge),Ot=>(0,$.N)(at,Me,()=>at.error(Ot),Ge)))})}function B(Me,Ge=0){return(0,A.N)((ct,at)=>{at.add(Me.schedule(()=>ct.subscribe(at),Ge))})}var Y=w(1985),ne=w(4761),P=w(8071);function xe(Me,Ge){if(!Me)throw new Error("Iterable cannot be null");return new Y.c(ct=>{(0,$.N)(ct,Ge,()=>{const at=Me[Symbol.asyncIterator]();(0,$.N)(ct,Ge,()=>{at.next().then(Ot=>{Ot.done?ct.complete():ct.next(Ot.value)})},0,!0)})})}var He=w(5055),ft=w(9858),lt=w(7441),st=w(5397),gt=w(7953),xt=w(591),ke=w(5196);function De(Me,Ge){return Ge?function be(Me,Ge){if(null!=Me){if((0,He.l)(Me))return function L(Me,Ge){return(0,E.Tg)(Me).pipe(B(Ge),i(Ge))}(Me,Ge);if((0,lt.X)(Me))return function ie(Me,Ge){return new Y.c(ct=>{let at=0;return Ge.schedule(function(){at===Me.length?ct.complete():(ct.next(Me[at++]),ct.closed||this.schedule())})})}(Me,Ge);if((0,ft.y)(Me))return function Z(Me,Ge){return(0,E.Tg)(Me).pipe(B(Ge),i(Ge))}(Me,Ge);if((0,gt.T)(Me))return xe(Me,Ge);if((0,st.x)(Me))return function Ze(Me,Ge){return new Y.c(ct=>{let at;return(0,$.N)(ct,Ge,()=>{at=Me[ne.l](),(0,$.N)(ct,Ge,()=>{let Ot,yt;try{({value:Ot,done:yt}=at.next())}catch(rn){return void ct.error(rn)}yt?ct.complete():ct.next(Ot)},0,!0)}),()=>(0,P.T)(at?.return)&&at.return()})}(Me,Ge);if((0,ke.U)(Me))return function se(Me,Ge){return xe((0,ke.C)(Me),Ge)}(Me,Ge)}throw(0,xt.L)(Me)}(Me,Ge):(0,E.Tg)(Me)}},6697:(Ke,re,w)=>{"use strict";w.d(re,{s:()=>W});var E=w(983),$=w(9974),A=w(4360);function W(i){return i<=0?()=>E.w:(0,$.N)((B,L)=>{let Z=0;B.subscribe((0,A._)(L,Y=>{++Z<=i&&(L.next(Y),i<=Z&&L.complete())}))})}},6780:(Ke,re,w)=>{"use strict";w.d(re,{R:()=>i});var E=w(8359);class $ extends E.yU{constructor(L,Z){super()}schedule(L,Z=0){return this}}const A={setInterval(B,L,...Z){const{delegate:Y}=A;return Y?.setInterval?Y.setInterval(B,L,...Z):setInterval(B,L,...Z)},clearInterval(B){const{delegate:L}=A;return(L?.clearInterval||clearInterval)(B)},delegate:void 0};var W=w(7908);class i extends ${constructor(L,Z){super(L,Z),this.scheduler=L,this.work=Z,this.pending=!1}schedule(L,Z=0){var Y;if(this.closed)return this;this.state=L;const ie=this.id,ne=this.scheduler;return null!=ie&&(this.id=this.recycleAsyncId(ne,ie,Z)),this.pending=!0,this.delay=Z,this.id=null!==(Y=this.id)&&void 0!==Y?Y:this.requestAsyncId(ne,this.id,Z),this}requestAsyncId(L,Z,Y=0){return A.setInterval(L.flush.bind(L,this),Y)}recycleAsyncId(L,Z,Y=0){if(null!=Y&&this.delay===Y&&!1===this.pending)return Z;null!=Z&&A.clearInterval(Z)}execute(L,Z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Y=this._execute(L,Z);if(Y)return Y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(L,Z){let ie,Y=!1;try{this.work(L)}catch(ne){Y=!0,ie=ne||new Error("Scheduled action threw falsy error")}if(Y)return this.unsubscribe(),ie}unsubscribe(){if(!this.closed){const{id:L,scheduler:Z}=this,{actions:Y}=Z;this.work=this.state=this.scheduler=null,this.pending=!1,(0,W.o)(Y,this),null!=L&&(this.id=this.recycleAsyncId(Z,L,null)),this.delay=null,super.unsubscribe()}}}},6977:(Ke,re,w)=>{"use strict";w.d(re,{Q:()=>i});var E=w(9974),$=w(4360),A=w(8750),W=w(5343);function i(B){return(0,E.N)((L,Z)=>{(0,A.Tg)(B).subscribe((0,$._)(Z,()=>Z.complete(),W.l)),!Z.closed&&L.subscribe(Z)})}},7035:(Ke,re,w)=>{"use strict";w.d(re,{A:()=>X,C:()=>L,D:()=>xt,E:()=>He,H:()=>ft,L:()=>lt,M:()=>Re,N:()=>Ee,P:()=>xe,R:()=>gt,S:()=>P,T:()=>A,U:()=>st,Z:()=>j,a:()=>Ze,b:()=>Me,c:()=>i,d:()=>Z,e:()=>ae,f:()=>B,g:()=>ne});const A=9,i=13,B=16,L=17,Z=18,ne=27,P=32,Ze=33,xe=34,He=35,ft=36,lt=37,st=38,gt=39,xt=40,Me=48,Ee=57,X=65,j=90,ae=91,Re=224},7336:(Ke,re,w)=>{"use strict";function E($,...A){return A.length?A.some(W=>$[W]):$.altKey||$.shiftKey||$.ctrlKey||$.metaKey}w.d(re,{rp:()=>E})},7418:(Ke,re,w)=>{"use strict";w.d(re,{_:()=>$});var E=w(1360);function $(A,W,i,B,L){const Z=parseInt(E.xvI.major),Y=parseInt(E.xvI.minor);return Z>19||19===Z&&Y>0||0===Z&&0===Y?A.listen(W,i,B,L):(W.addEventListener(i,B,L),()=>{W.removeEventListener(i,B,L)})}},7441:(Ke,re,w)=>{"use strict";w.d(re,{X:()=>E});const E=$=>$&&"number"==typeof $.length&&"function"!=typeof $},7673:(Ke,re,w)=>{"use strict";w.d(re,{of:()=>A});var E=w(9326),$=w(6648);function A(...W){const i=(0,E.lI)(W);return(0,$.H)(W,i)}},7707:(Ke,re,w)=>{"use strict";w.d(re,{Ms:()=>ft,vU:()=>P});var E=w(8071),$=w(8359),A=w(1026),W=w(5334),i=w(5343);const B=Y("C",void 0,void 0);function Y(ke,se,be){return{kind:ke,value:se,error:be}}var ie=w(9270),ne=w(9786);class P extends $.yU{constructor(se){super(),this.isStopped=!1,se?(this.destination=se,(0,$.Uv)(se)&&se.add(this)):this.destination=xt}static create(se,be,De){return new ft(se,be,De)}next(se){this.isStopped?gt(function Z(ke){return Y("N",ke,void 0)}(se),this):this._next(se)}error(se){this.isStopped?gt(function L(ke){return Y("E",void 0,ke)}(se),this):(this.isStopped=!0,this._error(se))}complete(){this.isStopped?gt(B,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(se){this.destination.next(se)}_error(se){try{this.destination.error(se)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ze=Function.prototype.bind;function xe(ke,se){return Ze.call(ke,se)}class He{constructor(se){this.partialObserver=se}next(se){const{partialObserver:be}=this;if(be.next)try{be.next(se)}catch(De){lt(De)}}error(se){const{partialObserver:be}=this;if(be.error)try{be.error(se)}catch(De){lt(De)}else lt(se)}complete(){const{partialObserver:se}=this;if(se.complete)try{se.complete()}catch(be){lt(be)}}}class ft extends P{constructor(se,be,De){let Me;if(super(),(0,E.T)(se)||!se)Me={next:se??void 0,error:be??void 0,complete:De??void 0};else{let Ge;this&&A.$.useDeprecatedNextContext?(Ge=Object.create(se),Ge.unsubscribe=()=>this.unsubscribe(),Me={next:se.next&&xe(se.next,Ge),error:se.error&&xe(se.error,Ge),complete:se.complete&&xe(se.complete,Ge)}):Me=se}this.destination=new He(Me)}}function lt(ke){A.$.useDeprecatedSynchronousErrorHandling?(0,ne.l)(ke):(0,W.m)(ke)}function gt(ke,se){const{onStoppedNotification:be}=A.$;be&&ie.f.setTimeout(()=>be(ke,se))}const xt={closed:!0,next:i.l,error:function st(ke){throw ke},complete:i.l}},7786:(Ke,re,w)=>{"use strict";w.d(re,{h:()=>B});var E=w(6365),$=w(8750),A=w(983),W=w(9326),i=w(6648);function B(...L){const Z=(0,W.lI)(L),Y=(0,W.R0)(L,1/0),ie=L;return ie.length?1===ie.length?(0,$.Tg)(ie[0]):(0,E.U)(Y)((0,i.H)(ie,Z)):A.w}},7908:(Ke,re,w)=>{"use strict";function E($,A){if($){const W=$.indexOf(A);0<=W&&$.splice(W,1)}}w.d(re,{o:()=>E})},7953:(Ke,re,w)=>{"use strict";w.d(re,{T:()=>$});var E=w(8071);function $(A){return Symbol.asyncIterator&&(0,E.T)(A?.[Symbol.asyncIterator])}},8071:(Ke,re,w)=>{"use strict";function E($){return"function"==typeof $}w.d(re,{T:()=>E})},8141:(Ke,re,w)=>{"use strict";w.d(re,{M:()=>i});var E=w(8071),$=w(9974),A=w(4360),W=w(3669);function i(B,L,Z){const Y=(0,E.T)(B)||L||Z?{next:B,error:L,complete:Z}:B;return Y?(0,$.N)((ie,ne)=>{var P;null===(P=Y.subscribe)||void 0===P||P.call(Y);let Ze=!0;ie.subscribe((0,A._)(ne,xe=>{var He;null===(He=Y.next)||void 0===He||He.call(Y,xe),ne.next(xe)},()=>{var xe;Ze=!1,null===(xe=Y.complete)||void 0===xe||xe.call(Y),ne.complete()},xe=>{var He;Ze=!1,null===(He=Y.error)||void 0===He||He.call(Y,xe),ne.error(xe)},()=>{var xe,He;Ze&&(null===(xe=Y.unsubscribe)||void 0===xe||xe.call(Y)),null===(He=Y.finalize)||void 0===He||He.call(Y)}))}):W.D}},8203:(Ke,re,w)=>{"use strict";w.d(re,{jI:()=>A});var E=w(1360);let A=(()=>{class W{static \u0275fac=function(L){return new(L||W)};static \u0275mod=E.$C({type:W});static \u0275inj=E.G2t({})}return W})()},8359:(Ke,re,w)=>{"use strict";w.d(re,{Kn:()=>B,yU:()=>i,Uv:()=>L});var E=w(8071);const A=(0,w(1853).L)(Y=>function(ne){Y(this),this.message=ne?`${ne.length} errors occurred during unsubscription:\n${ne.map((P,Ze)=>`${Ze+1}) ${P.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ne});var W=w(7908);class i{constructor(ie){this.initialTeardown=ie,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ie;if(!this.closed){this.closed=!0;const{_parentage:ne}=this;if(ne)if(this._parentage=null,Array.isArray(ne))for(const xe of ne)xe.remove(this);else ne.remove(this);const{initialTeardown:P}=this;if((0,E.T)(P))try{P()}catch(xe){ie=xe instanceof A?xe.errors:[xe]}const{_finalizers:Ze}=this;if(Ze){this._finalizers=null;for(const xe of Ze)try{Z(xe)}catch(He){ie=ie??[],He instanceof A?ie=[...ie,...He.errors]:ie.push(He)}}if(ie)throw new A(ie)}}add(ie){var ne;if(ie&&ie!==this)if(this.closed)Z(ie);else{if(ie instanceof i){if(ie.closed||ie._hasParent(this))return;ie._addParent(this)}(this._finalizers=null!==(ne=this._finalizers)&&void 0!==ne?ne:[]).push(ie)}}_hasParent(ie){const{_parentage:ne}=this;return ne===ie||Array.isArray(ne)&&ne.includes(ie)}_addParent(ie){const{_parentage:ne}=this;this._parentage=Array.isArray(ne)?(ne.push(ie),ne):ne?[ne,ie]:ie}_removeParent(ie){const{_parentage:ne}=this;ne===ie?this._parentage=null:Array.isArray(ne)&&(0,W.o)(ne,ie)}remove(ie){const{_finalizers:ne}=this;ne&&(0,W.o)(ne,ie),ie instanceof i&&ie._removeParent(this)}}i.EMPTY=(()=>{const Y=new i;return Y.closed=!0,Y})();const B=i.EMPTY;function L(Y){return Y instanceof i||Y&&"closed"in Y&&(0,E.T)(Y.remove)&&(0,E.T)(Y.add)&&(0,E.T)(Y.unsubscribe)}function Z(Y){(0,E.T)(Y)?Y():Y.unsubscribe()}},8496:(Ke,re,w)=>{"use strict";function E($,A){return $.reduce((W,i,B)=>(W[i]=A[B],W),{})}w.d(re,{e:()=>E})},8750:(Ke,re,w)=>{"use strict";w.d(re,{Tg:()=>Ze});var E=w(1635),$=w(7441),A=w(9858),W=w(1985),i=w(5055),B=w(7953),L=w(591),Z=w(5397),Y=w(5196),ie=w(8071),ne=w(5334),P=w(3494);function Ze(ke){if(ke instanceof W.c)return ke;if(null!=ke){if((0,i.l)(ke))return function xe(ke){return new W.c(se=>{const be=ke[P.s]();if((0,ie.T)(be.subscribe))return be.subscribe(se);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ke);if((0,$.X)(ke))return function He(ke){return new W.c(se=>{for(let be=0;be<ke.length&&!se.closed;be++)se.next(ke[be]);se.complete()})}(ke);if((0,A.y)(ke))return function ft(ke){return new W.c(se=>{ke.then(be=>{se.closed||(se.next(be),se.complete())},be=>se.error(be)).then(null,ne.m)})}(ke);if((0,B.T)(ke))return st(ke);if((0,Z.x)(ke))return function lt(ke){return new W.c(se=>{for(const be of ke)if(se.next(be),se.closed)return;se.complete()})}(ke);if((0,Y.U)(ke))return function gt(ke){return st((0,Y.C)(ke))}(ke)}throw(0,L.L)(ke)}function st(ke){return new W.c(se=>{(function xt(ke,se){var be,De,Me,Ge;return(0,E.sH)(this,void 0,void 0,function*(){try{for(be=(0,E.xN)(ke);!(De=yield be.next()).done;)if(se.next(De.value),se.closed)return}catch(ct){Me={error:ct}}finally{try{De&&!De.done&&(Ge=be.return)&&(yield Ge.call(be))}finally{if(Me)throw Me.error}}se.complete()})})(ke,se).catch(be=>se.error(be))})}},8793:(Ke,re,w)=>{"use strict";w.d(re,{x:()=>i});var E=w(6365),A=w(9326),W=w(6648);function i(...B){return function $(){return(0,E.U)(1)}()((0,W.H)(B,(0,A.lI)(B)))}},8810:(Ke,re,w)=>{"use strict";w.d(re,{$:()=>A});var E=w(1985),$=w(8071);function A(W,i){const B=(0,$.T)(W)?W:()=>W,L=Z=>Z.error(B());return new E.c(i?Z=>i.schedule(L,0,Z):L)}},9030:(Ke,re,w)=>{"use strict";w.d(re,{v:()=>A});var E=w(1985),$=w(8750);function A(W){return new E.c(i=>{(0,$.Tg)(W()).subscribe(i)})}},9046:(Ke,re,w)=>{"use strict";w.d(re,{Y:()=>$});var E=w(1360);let $=(()=>{class A{static \u0275fac=function(B){return new(B||A)};static \u0275cmp=E.VBU({type:A,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(B,L){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}\n"],encapsulation:2,changeDetection:0})}return A})()},9172:(Ke,re,w)=>{"use strict";w.d(re,{Z:()=>W});var E=w(8793),$=w(9326),A=w(9974);function W(...i){const B=(0,$.lI)(i);return(0,A.N)((L,Z)=>{(B?(0,E.x)(i,L,B):(0,E.x)(i,L)).subscribe(Z)})}},9270:(Ke,re,w)=>{"use strict";w.d(re,{f:()=>E});const E={setTimeout($,A,...W){const{delegate:i}=E;return i?.setTimeout?i.setTimeout($,A,...W):setTimeout($,A,...W)},clearTimeout($){const{delegate:A}=E;return(A?.clearTimeout||clearTimeout)($)},delegate:void 0}},9273:(Ke,re,w)=>{"use strict";w.d(re,{R:()=>E,g:()=>i,s:()=>W});var E=function(B){return B[B.NORMAL=0]="NORMAL",B[B.NEGATED=1]="NEGATED",B[B.INVERTED=2]="INVERTED",B}(E||{});let $,A;function W(){if(null==A){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return A=!1,A;if("scrollBehavior"in document.documentElement.style)A=!0;else{const B=Element.prototype.scrollTo;A=!!B&&!/\{\s*\[native code\]\s*\}/.test(B.toString())}}return A}function i(){if("object"!=typeof document||!document)return E.NORMAL;if(null==$){const B=document.createElement("div"),L=B.style;B.dir="rtl",L.width="1px",L.overflow="auto",L.visibility="hidden",L.pointerEvents="none",L.position="absolute";const Z=document.createElement("div"),Y=Z.style;Y.width="2px",Y.height="1px",B.appendChild(Z),document.body.appendChild(B),$=E.NORMAL,0===B.scrollLeft&&(B.scrollLeft=1,$=0===B.scrollLeft?E.NEGATED:E.INVERTED),B.remove()}return $}},9326:(Ke,re,w)=>{"use strict";w.d(re,{R0:()=>B,lI:()=>i,ms:()=>W});var E=w(8071),$=w(9470);function A(L){return L[L.length-1]}function W(L){return(0,E.T)(A(L))?L.pop():void 0}function i(L){return(0,$.m)(A(L))?L.pop():void 0}function B(L,Z){return"number"==typeof A(L)?L.pop():Z}},9355:(Ke,re,w)=>{"use strict";w.d(re,{a:()=>W,c:()=>$});var E=w(1360);function $(i,B=0){return function A(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}(i)?Number(i):2===arguments.length?B:0}function W(i){return i instanceof E.aKT?i.nativeElement:i}},9361:(Ke,re,w)=>{"use strict";w.d(re,{q:()=>$});const $=new(w(1360).nKC)("")},9377:(Ke,re,w)=>{"use strict";function E(L,Z){Z=encodeURIComponent(Z);for(const Y of L.split(";")){const ie=Y.indexOf("="),[ne,P]=-1==ie?[Y,""]:[Y.slice(0,ie),Y.slice(ie+1)];if(ne.trim()===Z)return decodeURIComponent(P)}return null}w.d(re,{N0:()=>B,UE:()=>W,Vy:()=>i,Zn:()=>$,bS:()=>E});const $="browser",A="server";function W(L){return L===$}function i(L){return L===A}class B{}},9396:(Ke,re,w)=>{"use strict";w.d(re,{F:()=>at});var E=w(1360),$=w(4412),A=w(1413),W=w(7673),i=w(5245),B=w(3669),L=w(9974),Z=w(4360);function ie(yt,rn){return yt===rn}var ne=w(6977),P=w(9361),Ze=w(3700),xe=w(7035),He=w(9629),ft=w(7418),lt=w(9536),st=w(5955),gt=w(9355);const xt=new E.nKC("cdk-input-modality-detector-options"),ke={ignoreKeys:[xe.d,xe.C,xe.M,xe.e,xe.f]},be={passive:!0,capture:!0};let De=(()=>{class yt{_platform=(0,E.WQX)(lt.P);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new $.t(null);_options;_lastTouchMs=0;_onKeydown=he=>{this._options?.ignoreKeys?.some(Te=>Te===he.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,He._)(he))};_onMousedown=he=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,Ze.i)(he)?"keyboard":"mouse"),this._mostRecentTarget=(0,He._)(he))};_onTouchstart=he=>{(0,Ze.a)(he)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,He._)(he))};constructor(){const he=(0,E.WQX)(E.SKi),Te=(0,E.WQX)(P.q),Ee=(0,E.WQX)(xt,{optional:!0});if(this._options={...ke,...Ee},this.modalityDetected=this._modality.pipe((0,i.i)(1)),this.modalityChanged=this.modalityDetected.pipe(function Y(yt,rn=B.D){return yt=yt??ie,(0,L.N)((he,Te)=>{let Ee,$e=!0;he.subscribe((0,Z._)(Te,bt=>{const Oe=rn(bt);($e||!yt(Ee,Oe))&&($e=!1,Ee=Oe,Te.next(bt))}))})}()),this._platform.isBrowser){const $e=(0,E.WQX)(E._9s).createRenderer(null,null);this._listenerCleanups=he.runOutsideAngular(()=>[(0,ft._)($e,Te,"keydown",this._onKeydown,be),(0,ft._)($e,Te,"mousedown",this._onMousedown,be),(0,ft._)($e,Te,"touchstart",this._onTouchstart,be)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(he=>he())}static \u0275fac=function(Te){return new(Te||yt)};static \u0275prov=E.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();var Me=function(yt){return yt[yt.IMMEDIATE=0]="IMMEDIATE",yt[yt.EVENTUAL=1]="EVENTUAL",yt}(Me||{});const Ge=new E.nKC("cdk-focus-monitor-default-options"),ct=(0,st.n)({passive:!0,capture:!0});let at=(()=>{class yt{_ngZone=(0,E.WQX)(E.SKi);_platform=(0,E.WQX)(lt.P);_inputModalityDetector=(0,E.WQX)(De);_origin=null;_lastFocusOrigin;_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=(0,E.WQX)(P.q,{optional:!0});_stopInputModalityDetector=new A.B;constructor(){const he=(0,E.WQX)(Ge,{optional:!0});this._detectionMode=he?.detectionMode||Me.IMMEDIATE}_rootNodeFocusAndBlurListener=he=>{for(let Ee=(0,He._)(he);Ee;Ee=Ee.parentElement)"focus"===he.type?this._onFocus(he,Ee):this._onBlur(he,Ee)};monitor(he,Te=!1){const Ee=(0,gt.a)(he);if(!this._platform.isBrowser||1!==Ee.nodeType)return(0,W.of)();const $e=(0,He.a)(Ee)||this._getDocument(),bt=this._elementInfo.get(Ee);if(bt)return Te&&(bt.checkChildren=!0),bt.subject;const Oe={checkChildren:Te,subject:new A.B,rootNode:$e};return this._elementInfo.set(Ee,Oe),this._registerGlobalListeners(Oe),Oe.subject}stopMonitoring(he){const Te=(0,gt.a)(he),Ee=this._elementInfo.get(Te);Ee&&(Ee.subject.complete(),this._setClasses(Te),this._elementInfo.delete(Te),this._removeGlobalListeners(Ee))}focusVia(he,Te,Ee){const $e=(0,gt.a)(he);$e===this._getDocument().activeElement?this._getClosestElementsInfo($e).forEach(([Oe,Q])=>this._originChanged(Oe,Te,Q)):(this._setOrigin(Te),"function"==typeof $e.focus&&$e.focus(Ee))}ngOnDestroy(){this._elementInfo.forEach((he,Te)=>this.stopMonitoring(Te))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(he){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(he)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:he&&this._isLastInteractionFromInputLabel(he)?"mouse":"program"}_shouldBeAttributedToTouch(he){return this._detectionMode===Me.EVENTUAL||!!he?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(he,Te){he.classList.toggle("cdk-focused",!!Te),he.classList.toggle("cdk-touch-focused","touch"===Te),he.classList.toggle("cdk-keyboard-focused","keyboard"===Te),he.classList.toggle("cdk-mouse-focused","mouse"===Te),he.classList.toggle("cdk-program-focused","program"===Te)}_setOrigin(he,Te=!1){this._ngZone.runOutsideAngular(()=>{this._origin=he,this._originFromTouchInteraction="touch"===he&&Te,this._detectionMode===Me.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(he,Te){const Ee=this._elementInfo.get(Te),$e=(0,He._)(he);!Ee||!Ee.checkChildren&&Te!==$e||this._originChanged(Te,this._getFocusOrigin($e),Ee)}_onBlur(he,Te){const Ee=this._elementInfo.get(Te);!Ee||Ee.checkChildren&&he.relatedTarget instanceof Node&&Te.contains(he.relatedTarget)||(this._setClasses(Te),this._emitOrigin(Ee,null))}_emitOrigin(he,Te){he.subject.observers.length&&this._ngZone.run(()=>he.subject.next(Te))}_registerGlobalListeners(he){if(!this._platform.isBrowser)return;const Te=he.rootNode,Ee=this._rootNodeFocusListenerCount.get(Te)||0;Ee||this._ngZone.runOutsideAngular(()=>{Te.addEventListener("focus",this._rootNodeFocusAndBlurListener,ct),Te.addEventListener("blur",this._rootNodeFocusAndBlurListener,ct)}),this._rootNodeFocusListenerCount.set(Te,Ee+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ne.Q)(this._stopInputModalityDetector)).subscribe($e=>{this._setOrigin($e,!0)}))}_removeGlobalListeners(he){const Te=he.rootNode;if(this._rootNodeFocusListenerCount.has(Te)){const Ee=this._rootNodeFocusListenerCount.get(Te);Ee>1?this._rootNodeFocusListenerCount.set(Te,Ee-1):(Te.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ct),Te.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ct),this._rootNodeFocusListenerCount.delete(Te))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(he,Te,Ee){this._setClasses(he,Te),this._emitOrigin(Ee,Te),this._lastFocusOrigin=Te}_getClosestElementsInfo(he){const Te=[];return this._elementInfo.forEach((Ee,$e)=>{($e===he||Ee.checkChildren&&$e.contains(he))&&Te.push([$e,Ee])}),Te}_isLastInteractionFromInputLabel(he){const{_mostRecentTarget:Te,mostRecentModality:Ee}=this._inputModalityDetector;if("mouse"!==Ee||!Te||Te===he||"INPUT"!==he.nodeName&&"TEXTAREA"!==he.nodeName||he.disabled)return!1;const $e=he.labels;if($e)for(let bt=0;bt<$e.length;bt++)if($e[bt].contains(Te))return!0;return!1}static \u0275fac=function(Te){return new(Te||yt)};static \u0275prov=E.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})()},9437:(Ke,re,w)=>{"use strict";w.d(re,{W:()=>W});var E=w(8750),$=w(4360),A=w(9974);function W(i){return(0,A.N)((B,L)=>{let ie,Z=null,Y=!1;Z=B.subscribe((0,$._)(L,void 0,void 0,ne=>{ie=(0,E.Tg)(i(ne,W(i)(B))),Z?(Z.unsubscribe(),Z=null,ie.subscribe(L)):Y=!0})),Y&&(Z.unsubscribe(),Z=null,ie.subscribe(L))})}},9470:(Ke,re,w)=>{"use strict";w.d(re,{m:()=>$});var E=w(8071);function $(A){return A&&(0,E.T)(A.schedule)}},9536:(Ke,re,w)=>{"use strict";w.d(re,{P:()=>W});var E=w(1360),$=w(9377);let A;try{A=typeof Intl<"u"&&Intl.v8BreakIterator}catch{A=!1}let W=(()=>{class i{_platformId=(0,E.WQX)(E.Agw);isBrowser=this._platformId?(0,$.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!A)&&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(Z){return new(Z||i)};static \u0275prov=E.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},9629:(Ke,re,w)=>{"use strict";let E;function A(B){if(function $(){if(null==E){const B=typeof document<"u"?document.head:null;E=!(!B||!B.createShadowRoot&&!B.attachShadow)}return E}()){const L=B.getRootNode?B.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&L instanceof ShadowRoot)return L}return null}function W(){let B=typeof document<"u"&&document?document.activeElement:null;for(;B&&B.shadowRoot;){const L=B.shadowRoot.activeElement;if(L===B)break;B=L}return B}function i(B){return B.composedPath?B.composedPath()[0]:B.target}w.d(re,{_:()=>i,a:()=>A,c:()=>W})},9647:(Ke,re,w)=>{"use strict";w.d(re,{H:()=>yt,b:()=>wn,c:()=>le,g:()=>X,h:()=>at,p:()=>jn,r:()=>jr});var E=w(467);let A,W,i,B=!1,L=!1,Z=!1,Y=!1,ie=!1;const lt="s-id",st="sty-id",ke="http://www.w3.org/1999/xlink",se={},Ge=R=>"object"==(R=typeof R)||"function"===R;function ct(R){var U,te,ce;return null!==(ce=null===(te=null===(U=R.head)||void 0===U?void 0:U.querySelector('meta[name="csp-nonce"]'))||void 0===te?void 0:te.getAttribute("content"))&&void 0!==ce?ce:void 0}const at=(R,U,...te)=>{let ce=null,ve=null,fe=null,ue=!1,Re=!1;const Fe=[],Ve=pt=>{for(let Dt=0;Dt<pt.length;Dt++)ce=pt[Dt],Array.isArray(ce)?Ve(ce):null!=ce&&"boolean"!=typeof ce&&((ue="function"!=typeof R&&!Ge(ce))&&(ce=String(ce)),ue&&Re?Fe[Fe.length-1].$text$+=ce:Fe.push(ue?Ot(null,ce):ce),Re=ue)};if(Ve(te),U){U.key&&(ve=U.key),U.name&&(fe=U.name);{const pt=U.className||U.class;pt&&(U.class="object"!=typeof pt?pt:Object.keys(pt).filter(Dt=>pt[Dt]).join(" "))}}if("function"==typeof R)return R(null===U?{}:U,Fe,he);const Ae=Ot(R,null);return Ae.$attrs$=U,Fe.length>0&&(Ae.$children$=Fe),Ae.$key$=ve,Ae.$name$=fe,Ae},Ot=(R,U)=>({$flags$:0,$tag$:R,$text$:U,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),yt={},he={forEach:(R,U)=>R.map(Te).forEach(U),map:(R,U)=>R.map(Te).map(U).map(Ee)},Te=R=>({vattrs:R.$attrs$,vchildren:R.$children$,vkey:R.$key$,vname:R.$name$,vtag:R.$tag$,vtext:R.$text$}),Ee=R=>{if("function"==typeof R.vtag){const te=Object.assign({},R.vattrs);return R.vkey&&(te.key=R.vkey),R.vname&&(te.name=R.vname),at(R.vtag,te,...R.vchildren||[])}const U=Ot(R.vtag,R.vtext);return U.$attrs$=R.vattrs,U.$children$=R.vchildren,U.$key$=R.vkey,U.$name$=R.vname,U},bt=(R,U,te,ce,ve,fe,ue)=>{let Re,Fe,Ve,Ae;if(1===fe.nodeType){for(Re=fe.getAttribute("c-id"),Re&&(Fe=Re.split("."),(Fe[0]===ue||"0"===Fe[0])&&(Ve={$flags$:0,$hostId$:Fe[0],$nodeId$:Fe[1],$depth$:Fe[2],$index$:Fe[3],$tag$:fe.tagName.toLowerCase(),$elm$:fe,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},U.push(Ve),fe.removeAttribute("c-id"),R.$children$||(R.$children$=[]),R.$children$[Ve.$index$]=Ve,R=Ve,ce&&"0"===Ve.$depth$&&(ce[Ve.$index$]=Ve.$elm$))),Ae=fe.childNodes.length-1;Ae>=0;Ae--)bt(R,U,te,ce,ve,fe.childNodes[Ae],ue);if(fe.shadowRoot)for(Ae=fe.shadowRoot.childNodes.length-1;Ae>=0;Ae--)bt(R,U,te,ce,ve,fe.shadowRoot.childNodes[Ae],ue)}else if(8===fe.nodeType)Fe=fe.nodeValue.split("."),(Fe[1]===ue||"0"===Fe[1])&&(Re=Fe[0],Ve={$flags$:0,$hostId$:Fe[1],$nodeId$:Fe[2],$depth$:Fe[3],$index$:Fe[4],$elm$:fe,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===Re?(Ve.$elm$=fe.nextSibling,Ve.$elm$&&3===Ve.$elm$.nodeType&&(Ve.$text$=Ve.$elm$.textContent,U.push(Ve),fe.remove(),R.$children$||(R.$children$=[]),R.$children$[Ve.$index$]=Ve,ce&&"0"===Ve.$depth$&&(ce[Ve.$index$]=Ve.$elm$))):Ve.$hostId$===ue&&("s"===Re?(Ve.$tag$="slot",fe["s-sn"]=Fe[5]?Ve.$name$=Fe[5]:"",fe["s-sr"]=!0,ce&&(Ve.$elm$=fn.createElement(Ve.$tag$),Ve.$name$&&Ve.$elm$.setAttribute("name",Ve.$name$),fe.parentNode.insertBefore(Ve.$elm$,fe),fe.remove(),"0"===Ve.$depth$&&(ce[Ve.$index$]=Ve.$elm$)),te.push(Ve),R.$children$||(R.$children$=[]),R.$children$[Ve.$index$]=Ve):"r"===Re&&(ce?fe.remove():(ve["s-cr"]=fe,fe["s-cn"]=!0))));else if(R&&"style"===R.$tag$){const pt=Ot(null,fe.textContent);pt.$elm$=fe,pt.$index$="0",R.$children$=[pt]}},Oe=(R,U)=>{if(1===R.nodeType){let te=0;for(;te<R.childNodes.length;te++)Oe(R.childNodes[te],U);if(R.shadowRoot)for(te=0;te<R.shadowRoot.childNodes.length;te++)Oe(R.shadowRoot.childNodes[te],U)}else if(8===R.nodeType){const te=R.nodeValue.split(".");"o"===te[0]&&(U.set(te[1]+"."+te[2],R),R.nodeValue="",R["s-en"]=te[3])}},X=R=>yn(R).$hostElement$,le=(R,U,te)=>{const ce=X(R);return{emit:ve=>pe(ce,U,{bubbles:!!(4&te),composed:!!(2&te),cancelable:!!(1&te),detail:ve})}},pe=(R,U,te)=>{const ce=Bt.ce(U,te);return R.dispatchEvent(ce),ce},Le=new WeakMap,Be=(R,U,te)=>{let ce=Yi.get(R);ht&&te?(ce=ce||new CSSStyleSheet,"string"==typeof ce?ce=U:ce.replaceSync(U)):ce=U,Yi.set(R,ce)},Ue=(R,U,te,ce)=>{var ve;let fe=vn(U);const ue=Yi.get(fe);if(R=11===R.nodeType?R:fn,ue)if("string"==typeof ue){let Fe,Re=Le.get(R=R.head||R);if(Re||Le.set(R,Re=new Set),!Re.has(fe)){if(R.host&&(Fe=R.querySelector(`[${st}="${fe}"]`)))Fe.innerHTML=ue;else{Fe=fn.createElement("style"),Fe.innerHTML=ue;const Ve=null!==(ve=Bt.$nonce$)&&void 0!==ve?ve:ct(fn);null!=Ve&&Fe.setAttribute("nonce",Ve),R.insertBefore(Fe,R.querySelector("link"))}Re&&Re.add(fe)}}else R.adoptedStyleSheets.includes(ue)||(R.adoptedStyleSheets=[...R.adoptedStyleSheets,ue]);return fe},vn=(R,U)=>"sc-"+R.$tagName$,it=R=>R.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),un=(R,U,te,ce,ve,fe)=>{if(te!==ce){let ue=Ko(R,U),Re=U.toLowerCase();if("class"===U){const Fe=R.classList,Ve=Mn(te),Ae=Mn(ce);Fe.remove(...Ve.filter(pt=>pt&&!Ae.includes(pt))),Fe.add(...Ae.filter(pt=>pt&&!Ve.includes(pt)))}else if("style"===U){for(const Fe in te)(!ce||null==ce[Fe])&&(Fe.includes("-")?R.style.removeProperty(Fe):R.style[Fe]="");for(const Fe in ce)(!te||ce[Fe]!==te[Fe])&&(Fe.includes("-")?R.style.setProperty(Fe,ce[Fe]):R.style[Fe]=ce[Fe])}else if("key"!==U)if("ref"===U)ce&&ce(R);else if(ue||"o"!==U[0]||"n"!==U[1]){const Fe=Ge(ce);if((ue||Fe&&null!==ce)&&!ve)try{if(R.tagName.includes("-"))R[U]=ce;else{const Ae=ce??"";"list"===U?ue=!1:(null==te||R[U]!=Ae)&&(R[U]=Ae)}}catch{}let Ve=!1;Re!==(Re=Re.replace(/^xlink\:?/,""))&&(U=Re,Ve=!0),null==ce||!1===ce?(!1!==ce||""===R.getAttribute(U))&&(Ve?R.removeAttributeNS(ke,U):R.removeAttribute(U)):(!ue||4&fe||ve)&&!Fe&&(ce=!0===ce?"":ce,Ve?R.setAttributeNS(ke,U,ce):R.setAttribute(U,ce))}else U="-"===U[2]?U.slice(3):Ko(Di,Re)?Re.slice(2):Re[2]+U.slice(3),te&&Bt.rel(R,U,te,!1),ce&&Bt.ael(R,U,ce,!1)}},wt=/\s/,Mn=R=>R?R.split(wt):[],Ht=(R,U,te,ce)=>{const ve=11===U.$elm$.nodeType&&U.$elm$.host?U.$elm$.host:U.$elm$,fe=R&&R.$attrs$||se,ue=U.$attrs$||se;for(ce in fe)ce in ue||un(ve,ce,fe[ce],void 0,te,U.$flags$);for(ce in ue)un(ve,ce,fe[ce],ue[ce],te,U.$flags$)},ln=(R,U,te,ce)=>{const ve=U.$children$[te];let ue,Re,Fe,fe=0;if(B||(Z=!0,"slot"===ve.$tag$&&(A&&ce.classList.add(A+"-s"),ve.$flags$|=ve.$children$?2:1)),null!==ve.$text$)ue=ve.$elm$=fn.createTextNode(ve.$text$);else if(1&ve.$flags$)ue=ve.$elm$=fn.createTextNode("");else{if(Y||(Y="svg"===ve.$tag$),ue=ve.$elm$=fn.createElementNS(Y?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&ve.$flags$?"slot-fb":ve.$tag$),Y&&"foreignObject"===ve.$tag$&&(Y=!1),Ht(null,ve,Y),(R=>null!=R)(A)&&ue["s-si"]!==A&&ue.classList.add(ue["s-si"]=A),ve.$children$)for(fe=0;fe<ve.$children$.length;++fe)Re=ln(R,ve,fe,ue),Re&&ue.appendChild(Re);"svg"===ve.$tag$?Y=!1:"foreignObject"===ue.tagName&&(Y=!0)}return ue["s-hn"]=i,3&ve.$flags$&&(ue["s-sr"]=!0,ue["s-cr"]=W,ue["s-sn"]=ve.$name$||"",Fe=R&&R.$children$&&R.$children$[te],Fe&&Fe.$tag$===ve.$tag$&&R.$elm$&&tn(R.$elm$,!1)),ue},tn=(R,U)=>{Bt.$flags$|=1;const te=R.childNodes;for(let ce=te.length-1;ce>=0;ce--){const ve=te[ce];ve["s-hn"]!==i&&ve["s-ol"]&&(Vi(ve).insertBefore(ve,xi(ve)),ve["s-ol"].remove(),ve["s-ol"]=void 0,Z=!0),U&&tn(ve,U)}Bt.$flags$&=-2},Zt=(R,U,te,ce,ve,fe)=>{let Re,ue=R["s-cr"]&&R["s-cr"].parentNode||R;for(ue.shadowRoot&&ue.tagName===i&&(ue=ue.shadowRoot);ve<=fe;++ve)ce[ve]&&(Re=ln(null,te,ve,R),Re&&(ce[ve].$elm$=Re,ue.insertBefore(Re,xi(U))))},Pn=(R,U,te,ce,ve)=>{for(;U<=te;++U)(ce=R[U])&&(ve=ce.$elm$,ae(ce),L=!0,ve["s-ol"]?ve["s-ol"].remove():tn(ve,!0),ve.remove())},hi=(R,U)=>R.$tag$===U.$tag$&&("slot"===R.$tag$?R.$name$===U.$name$:R.$key$===U.$key$),xi=R=>R&&R["s-ol"]||R,Vi=R=>(R["s-ol"]?R["s-ol"]:R).parentNode,Fn=(R,U)=>{const te=U.$elm$=R.$elm$,ce=R.$children$,ve=U.$children$,fe=U.$tag$,ue=U.$text$;let Re;null===ue?(Y="svg"===fe||"foreignObject"!==fe&&Y,"slot"===fe||Ht(R,U,Y),null!==ce&&null!==ve?((R,U,te,ce)=>{let si,mi,ve=0,fe=0,ue=0,Re=0,Fe=U.length-1,Ve=U[0],Ae=U[Fe],pt=ce.length-1,Dt=ce[0],hn=ce[pt];for(;ve<=Fe&&fe<=pt;)if(null==Ve)Ve=U[++ve];else if(null==Ae)Ae=U[--Fe];else if(null==Dt)Dt=ce[++fe];else if(null==hn)hn=ce[--pt];else if(hi(Ve,Dt))Fn(Ve,Dt),Ve=U[++ve],Dt=ce[++fe];else if(hi(Ae,hn))Fn(Ae,hn),Ae=U[--Fe],hn=ce[--pt];else if(hi(Ve,hn))("slot"===Ve.$tag$||"slot"===hn.$tag$)&&tn(Ve.$elm$.parentNode,!1),Fn(Ve,hn),R.insertBefore(Ve.$elm$,Ae.$elm$.nextSibling),Ve=U[++ve],hn=ce[--pt];else if(hi(Ae,Dt))("slot"===Ve.$tag$||"slot"===hn.$tag$)&&tn(Ae.$elm$.parentNode,!1),Fn(Ae,Dt),R.insertBefore(Ae.$elm$,Ve.$elm$),Ae=U[--Fe],Dt=ce[++fe];else{for(ue=-1,Re=ve;Re<=Fe;++Re)if(U[Re]&&null!==U[Re].$key$&&U[Re].$key$===Dt.$key$){ue=Re;break}ue>=0?(mi=U[ue],mi.$tag$!==Dt.$tag$?si=ln(U&&U[fe],te,ue,R):(Fn(mi,Dt),U[ue]=void 0,si=mi.$elm$),Dt=ce[++fe]):(si=ln(U&&U[fe],te,fe,R),Dt=ce[++fe]),si&&Vi(Ve.$elm$).insertBefore(si,xi(Ve.$elm$))}ve>Fe?Zt(R,null==ce[pt+1]?null:ce[pt+1].$elm$,te,ce,fe,pt):fe>pt&&Pn(U,ve,Fe)})(te,ce,U,ve):null!==ve?(null!==R.$text$&&(te.textContent=""),Zt(te,null,U,ve,0,ve.length-1)):null!==ce&&Pn(ce,0,ce.length-1),Y&&"svg"===fe&&(Y=!1)):(Re=te["s-cr"])?Re.parentNode.textContent=ue:R.$text$!==ue&&(te.data=ue)},Xi=R=>{const U=R.childNodes;let te,ce,ve,fe,ue,Re;for(ce=0,ve=U.length;ce<ve;ce++)if(te=U[ce],1===te.nodeType){if(te["s-sr"])for(ue=te["s-sn"],te.hidden=!1,fe=0;fe<ve;fe++)if(Re=U[fe].nodeType,U[fe]["s-hn"]!==te["s-hn"]||""!==ue){if(1===Re&&ue===U[fe].getAttribute("slot")){te.hidden=!0;break}}else if(1===Re||3===Re&&""!==U[fe].textContent.trim()){te.hidden=!0;break}Xi(te)}},tt=[],Ne=R=>{let U,te,ce,ve,fe,ue,Re=0;const Fe=R.childNodes,Ve=Fe.length;for(;Re<Ve;Re++){if(U=Fe[Re],U["s-sr"]&&(te=U["s-cr"])&&te.parentNode)for(ce=te.parentNode.childNodes,ve=U["s-sn"],ue=ce.length-1;ue>=0;ue--)te=ce[ue],!te["s-cn"]&&!te["s-nr"]&&te["s-hn"]!==U["s-hn"]&&(j(te,ve)?(fe=tt.find(Ae=>Ae.$nodeToRelocate$===te),L=!0,te["s-sn"]=te["s-sn"]||ve,fe?fe.$slotRefNode$=U:tt.push({$slotRefNode$:U,$nodeToRelocate$:te}),te["s-sr"]&&tt.map(Ae=>{j(Ae.$nodeToRelocate$,te["s-sn"])&&(fe=tt.find(pt=>pt.$nodeToRelocate$===te),fe&&!Ae.$slotRefNode$&&(Ae.$slotRefNode$=fe.$slotRefNode$))})):tt.some(Ae=>Ae.$nodeToRelocate$===te)||tt.push({$nodeToRelocate$:te}));1===U.nodeType&&Ne(U)}},j=(R,U)=>1===R.nodeType?null===R.getAttribute("slot")&&""===U||R.getAttribute("slot")===U:R["s-sn"]===U||""===U,ae=R=>{R.$attrs$&&R.$attrs$.ref&&R.$attrs$.ref(null),R.$children$&&R.$children$.map(ae)},me=(R,U)=>{U&&!R.$onRenderResolve$&&U["s-p"]&&U["s-p"].push(new Promise(te=>R.$onRenderResolve$=te))},mt=(R,U)=>{if(R.$flags$|=16,!(4&R.$flags$))return me(R,R.$ancestorComponent$),qo(()=>q(R,U));R.$flags$|=512},q=(R,U)=>{const ce=R.$lazyInstance$;let ve;return U?(R.$flags$|=256,R.$queuedListeners$&&(R.$queuedListeners$.map(([fe,ue])=>Gt(ce,fe,ue)),R.$queuedListeners$=null),ve=Gt(ce,"componentWillLoad")):ve=Gt(ce,"componentWillUpdate"),ve=Ai(ve,()=>Gt(ce,"componentWillRender")),Ai(ve,()=>ye(R,ce,U))},ye=function(){var R=(0,E.A)(function*(U,te,ce){const ve=U.$hostElement$,ue=ve["s-rc"];ce&&(R=>{const U=R.$cmpMeta$,te=R.$hostElement$,ce=U.$flags$,fe=Ue(te.shadowRoot?te.shadowRoot:te.getRootNode(),U);10&ce&&(te["s-sc"]=fe,te.classList.add(fe+"-h"))})(U);Ie(U,te),ue&&(ue.map(Fe=>Fe()),ve["s-rc"]=void 0);{const Fe=ve["s-p"],Ve=()=>zt(U);0===Fe.length?Ve():(Promise.all(Fe).then(Ve),U.$flags$|=4,Fe.length=0)}});return function(te,ce,ve){return R.apply(this,arguments)}}(),Ie=(R,U,te)=>{try{U=U.render(),R.$flags$&=-17,R.$flags$|=2,((R,U)=>{const te=R.$hostElement$,ce=R.$cmpMeta$,ve=R.$vnode$||Ot(null,null),fe=(R=>R&&R.$tag$===yt)(U)?U:at(null,null,U);if(i=te.tagName,ce.$attrsToReflect$&&(fe.$attrs$=fe.$attrs$||{},ce.$attrsToReflect$.map(([ue,Re])=>fe.$attrs$[Re]=te[ue])),fe.$tag$=null,fe.$flags$|=4,R.$vnode$=fe,fe.$elm$=ve.$elm$=te.shadowRoot||te,A=te["s-sc"],W=te["s-cr"],B=!!(1&ce.$flags$),L=!1,Fn(ve,fe),Bt.$flags$|=1,Z){Ne(fe.$elm$);let ue,Re,Fe,Ve,Ae,pt,Dt=0;for(;Dt<tt.length;Dt++)ue=tt[Dt],Re=ue.$nodeToRelocate$,Re["s-ol"]||(Fe=fn.createTextNode(""),Fe["s-nr"]=Re,Re.parentNode.insertBefore(Re["s-ol"]=Fe,Re));for(Dt=0;Dt<tt.length;Dt++)if(ue=tt[Dt],Re=ue.$nodeToRelocate$,ue.$slotRefNode$){for(Ve=ue.$slotRefNode$.parentNode,Ae=ue.$slotRefNode$.nextSibling,Fe=Re["s-ol"];Fe=Fe.previousSibling;)if(pt=Fe["s-nr"],pt&&pt["s-sn"]===Re["s-sn"]&&Ve===pt.parentNode&&(pt=pt.nextSibling,!pt||!pt["s-nr"])){Ae=pt;break}(!Ae&&Ve!==Re.parentNode||Re.nextSibling!==Ae)&&Re!==Ae&&(!Re["s-hn"]&&Re["s-ol"]&&(Re["s-hn"]=Re["s-ol"].parentNode.nodeName),Ve.insertBefore(Re,Ae))}else 1===Re.nodeType&&(Re.hidden=!0)}L&&Xi(fe.$elm$),Bt.$flags$&=-2,tt.length=0})(R,U)}catch(ce){Ln(ce,R.$hostElement$)}return null},zt=R=>{const te=R.$hostElement$,ve=R.$lazyInstance$,fe=R.$ancestorComponent$;Gt(ve,"componentDidRender"),64&R.$flags$?Gt(ve,"componentDidUpdate"):(R.$flags$|=64,Qi(te),Gt(ve,"componentDidLoad"),R.$onReadyResolve$(te),fe||$t()),R.$onInstanceResolve$(te),R.$onRenderResolve$&&(R.$onRenderResolve$(),R.$onRenderResolve$=void 0),512&R.$flags$&&Wt(()=>mt(R,!1)),R.$flags$&=-517},$t=R=>{Qi(fn.documentElement),Wt(()=>pe(Di,"appload",{detail:{namespace:"ds-components"}}))},Gt=(R,U,te)=>{if(R&&R[U])try{return R[U](te)}catch(ce){Ln(ce)}},Ai=(R,U)=>R&&R.then?R.then(U):U(),Qi=R=>R.classList.add("hydrated"),Cn=(R,U,te)=>{if(U.$members$){R.watchers&&(U.$watchers$=R.watchers);const ce=Object.entries(U.$members$),ve=R.prototype;if(ce.map(([fe,[ue]])=>{31&ue||2&te&&32&ue?Object.defineProperty(ve,fe,{get(){return((R,U)=>yn(this).$instanceValues$.get(U))(0,fe)},set(Re){((R,U,te,ce)=>{const ve=yn(R),fe=ve.$hostElement$,ue=ve.$instanceValues$.get(U),Re=ve.$flags$,Fe=ve.$lazyInstance$;te=((R,U)=>null==R||Ge(R)?R:4&U?"false"!==R&&(""===R||!!R):2&U?parseFloat(R):1&U?String(R):R)(te,ce.$members$[U][0]);const Ve=Number.isNaN(ue)&&Number.isNaN(te);if((!(8&Re)||void 0===ue)&&te!==ue&&!Ve&&(ve.$instanceValues$.set(U,te),Fe)){if(ce.$watchers$&&128&Re){const pt=ce.$watchers$[U];pt&&pt.map(Dt=>{try{Fe[Dt](te,ue,U)}catch(hn){Ln(hn,fe)}})}2==(18&Re)&&mt(ve,!1)}})(this,fe,Re,U)},configurable:!0,enumerable:!0}):1&te&&64&ue&&Object.defineProperty(ve,fe,{value(...Re){const Fe=yn(this);return Fe.$onInstancePromise$.then(()=>Fe.$lazyInstance$[fe](...Re))}})}),1&te){const fe=new Map;ve.attributeChangedCallback=function(ue,Re,Fe){Bt.jmp(()=>{const Ve=fe.get(ue);if(this.hasOwnProperty(Ve))Fe=this[Ve],delete this[Ve];else if(ve.hasOwnProperty(Ve)&&"number"==typeof this[Ve]&&this[Ve]==Fe)return;this[Ve]=(null!==Fe||"boolean"!=typeof this[Ve])&&Fe})},R.observedAttributes=ce.filter(([ue,Re])=>15&Re[0]).map(([ue,Re])=>{const Fe=Re[1]||ue;return fe.set(Fe,ue),512&Re[0]&&U.$attrsToReflect$.push([ue,Fe]),Fe})}}return R},Br=function(){var R=(0,E.A)(function*(U,te,ce,ve,fe){if(!(32&te.$flags$)){{if(te.$flags$|=32,(fe=qi(ce)).then){const Ve=()=>{};fe=yield fe,Ve()}fe.isProxied||(ce.$watchers$=fe.watchers,Cn(fe,ce,2),fe.isProxied=!0);const Fe=()=>{};te.$flags$|=8;try{new fe(te)}catch(Ve){Ln(Ve)}te.$flags$&=-9,te.$flags$|=128,Fe()}if(fe.style){let Fe=fe.style;const Ve=vn(ce);if(!Yi.has(Ve)){const Ae=()=>{};Be(Ve,Fe,!!(1&ce.$flags$)),Ae()}}}const ue=te.$ancestorComponent$,Re=()=>mt(te,!0);ue&&ue["s-rc"]?ue["s-rc"].push(Re):Re()});return function(te,ce,ve,fe,ue){return R.apply(this,arguments)}}(),Ut=R=>{const U=R["s-cr"]=fn.createComment("");U["s-cn"]=!0,R.insertBefore(U,R.firstChild)},wn=(R,U={})=>{var te;const ve=[],fe=U.exclude||[],ue=Di.customElements,Re=fn.head,Fe=Re.querySelector("meta[charset]"),Ve=fn.createElement("style"),Ae=[],pt=fn.querySelectorAll(`[${st}]`);let Dt,hn=!0,si=0;for(Object.assign(Bt,U),Bt.$resourcesUrl$=new URL(U.resourcesUrl||"./",fn.baseURI).href,Bt.$flags$|=2;si<pt.length;si++)Be(pt[si].getAttribute(st),it(pt[si].innerHTML),!0);R.map(mi=>{mi[1].map(Zi=>{const Ji={$flags$:Zi[0],$tagName$:Zi[1],$members$:Zi[2],$listeners$:Zi[3]};Ji.$members$=Zi[2],Ji.$listeners$=Zi[3],Ji.$attrsToReflect$=[],Ji.$watchers$={};const fr=Ji.$tagName$,Xa=class extends HTMLElement{constructor(hr){super(hr),Qo(hr=this,Ji),1&Ji.$flags$&&hr.attachShadow({mode:"open"})}connectedCallback(){Dt&&(clearTimeout(Dt),Dt=null),hn?Ae.push(this):Bt.jmp(()=>(R=>{if(!(1&Bt.$flags$)){const U=yn(R),te=U.$cmpMeta$,ce=()=>{};if(1&U.$flags$)Ki(R,U,te.$listeners$);else{let ve;if(U.$flags$|=1,ve=R.getAttribute(lt),ve){if(1&te.$flags$){const fe=Ue(R.shadowRoot,te);R.classList.remove(fe+"-h",fe+"-s")}((R,U,te,ce)=>{const fe=R.shadowRoot,ue=[],Fe=fe?[]:null,Ve=ce.$vnode$=Ot(U,null);Bt.$orgLocNodes$||Oe(fn.body,Bt.$orgLocNodes$=new Map),R[lt]=te,R.removeAttribute(lt),bt(Ve,ue,[],Fe,R,R,te),ue.map(Ae=>{const pt=Ae.$hostId$+"."+Ae.$nodeId$,Dt=Bt.$orgLocNodes$.get(pt),hn=Ae.$elm$;Dt&&xo&&""===Dt["s-en"]&&Dt.parentNode.insertBefore(hn,Dt.nextSibling),fe||(hn["s-hn"]=U,Dt&&(hn["s-ol"]=Dt,hn["s-ol"]["s-nr"]=hn)),Bt.$orgLocNodes$.delete(pt)}),fe&&Fe.map(Ae=>{Ae&&fe.appendChild(Ae)})})(R,te.$tagName$,ve,U)}ve||12&te.$flags$&&Ut(R);{let fe=R;for(;fe=fe.parentNode||fe.host;)if(1===fe.nodeType&&fe.hasAttribute("s-id")&&fe["s-p"]||fe["s-p"]){me(U,U.$ancestorComponent$=fe);break}}te.$members$&&Object.entries(te.$members$).map(([fe,[ue]])=>{if(31&ue&&R.hasOwnProperty(fe)){const Re=R[fe];delete R[fe],R[fe]=Re}}),Br(R,U,te)}ce()}})(this))}disconnectedCallback(){Bt.jmp(()=>(()=>{if(!(1&Bt.$flags$)){const U=yn(this);U.$rmListeners$&&(U.$rmListeners$.map(te=>te()),U.$rmListeners$=void 0)}})())}componentOnReady(){return yn(this).$onReadyPromise$}};Ji.$lazyBundleId$=mi[0],!fe.includes(fr)&&!ue.get(fr)&&(ve.push(fr),ue.define(fr,Cn(Xa,Ji,1)))})});{Ve.innerHTML=ve+"{visibility:hidden}.hydrated{visibility:inherit}",Ve.setAttribute("data-styles","");const mi=null!==(te=Bt.$nonce$)&&void 0!==te?te:ct(fn);null!=mi&&Ve.setAttribute("nonce",mi),Re.insertBefore(Ve,Fe?Fe.nextSibling:Re.firstChild)}hn=!1,Ae.length?Ae.map(mi=>mi.connectedCallback()):Bt.jmp(()=>Dt=setTimeout($t,30))},Ki=(R,U,te,ce)=>{te&&te.map(([ve,fe,ue])=>{const Re=Xo(R,ve),Fe=gs(U,ue),Ve=fo(ve);Bt.ael(Re,fe,Fe,Ve),(U.$rmListeners$=U.$rmListeners$||[]).push(()=>Bt.rel(Re,fe,Fe,Ve))})},gs=(R,U)=>te=>{try{256&R.$flags$?R.$lazyInstance$[U](te):(R.$queuedListeners$=R.$queuedListeners$||[]).push([U,te])}catch(ce){Ln(ce)}},Xo=(R,U)=>8&U?Di:R,fo=R=>!!(2&R),pi=new WeakMap,yn=R=>pi.get(R),jr=(R,U)=>pi.set(U.$lazyInstance$=R,U),Qo=(R,U)=>{const te={$flags$:0,$hostElement$:R,$cmpMeta$:U,$instanceValues$:new Map};return te.$onInstancePromise$=new Promise(ce=>te.$onInstanceResolve$=ce),te.$onReadyPromise$=new Promise(ce=>te.$onReadyResolve$=ce),R["s-p"]=[],R["s-rc"]=[],Ki(R,te,U.$listeners$),pi.set(R,te)},Ko=(R,U)=>U in R,Ln=(R,U)=>(0,console.error)(R,U),ri=new Map,qi=(R,U,te)=>{const ce=R.$tagName$.replace(/-/g,"_"),ve=R.$lazyBundleId$,fe=ri.get(ve);if(fe)return fe[ce];if(!te||!BUILD.hotModuleReplacement){const ue=Re=>(ri.set(ve,Re),Re[ce]);switch(ve){case"ds-activity-log_16":return w.e(909).then(w.bind(w,8909)).then(ue,Ln);case"ds-loading-page":return w.e(225).then(w.bind(w,606)).then(ue,Ln);case"ds-splash":return w.e(74).then(w.bind(w,7074)).then(ue,Ln)}}return w(4362)(`./${ve}.entry.js`).then(ue=>(ri.set(ve,ue),ue[ce]),Ln)},Yi=new Map,Di=typeof window<"u"?window:{},fn=Di.document||{head:{}},Bt={$flags$:0,$resourcesUrl$:"",jmp:R=>R(),raf:R=>requestAnimationFrame(R),ael:(R,U,te,ce)=>R.addEventListener(U,te,ce),rel:(R,U,te,ce)=>R.removeEventListener(U,te,ce),ce:(R,U)=>new CustomEvent(R,U)},xo=!0,jn=R=>Promise.resolve(R),ht=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),ur=[],ho=[],_s=(R,U)=>te=>{R.push(te),ie||(ie=!0,U&&4&Bt.$flags$?Wt(Zn):Bt.raf(Zn))},vs=R=>{for(let U=0;U<R.length;U++)try{R[U](performance.now())}catch(te){Ln(te)}R.length=0},Zn=()=>{vs(ur),vs(ho),(ie=ur.length>0)&&Bt.raf(Zn)},Wt=R=>jn().then(R),qo=_s(ho,!0)},9687:(Ke,re,w)=>{"use strict";w.d(re,{q:()=>A});var E=w(6129);class ${constructor(i,B=$.now){this.schedulerActionCtor=i,this.now=B}schedule(i,B=0,L){return new this.schedulerActionCtor(this,i).schedule(L,B)}}$.now=E.U.now;class A extends ${constructor(i,B=$.now){super(i,B),this.actions=[],this._active=!1}flush(i){const{actions:B}=this;if(this._active)return void B.push(i);let L;this._active=!0;do{if(L=i.execute(i.state,i.delay))break}while(i=B.shift());if(this._active=!1,L){for(;i=B.shift();)i.unsubscribe();throw L}}}},9786:(Ke,re,w)=>{"use strict";w.d(re,{Y:()=>A,l:()=>W});var E=w(1026);let $=null;function A(i){if(E.$.useDeprecatedSynchronousErrorHandling){const B=!$;if(B&&($={errorThrown:!1,error:null}),i(),B){const{errorThrown:L,error:Z}=$;if($=null,L)throw Z}}else i()}function W(i){E.$.useDeprecatedSynchronousErrorHandling&&$&&($.errorThrown=!0,$.error=i)}},9858:(Ke,re,w)=>{"use strict";w.d(re,{y:()=>$});var E=w(8071);function $(A){return(0,E.T)(A?.then)}},9974:(Ke,re,w)=>{"use strict";w.d(re,{N:()=>A,S:()=>$});var E=w(8071);function $(W){return(0,E.T)(W?.lift)}function A(W){return i=>{if($(i))return i.lift(function(B){try{return W(B,this)}catch(L){this.error(L)}});throw new TypeError("Unable to lift unknown Observable type")}}}},Ke=>{Ke(Ke.s=5327)}]);
|