import{a as eo,c as io}from"./chunk-WES2VRUZ.js";import{$ as se,$a as Zt,$b as si,$c as Hr,A as Hn,Aa as l,Ac as Ce,Ba as m,Bb as dr,Bc as ui,Bd as yi,C as ge,Ca as S,Cb as Jt,Cc as kr,D as Un,Da as tr,Db as hr,Dc as Qi,Dd as _i,E as De,Ea as ir,Eb as fr,Ec as Ee,F as A,Fb as gr,Fc as di,Fd as Jr,Ga as ae,Gb as yr,H as G,Hb as _r,I as ye,Ia as D,Ib as ei,J as pt,Ja as k,Jc as Nr,K as H,Kb as vr,Kc as Dr,L as F,Lc as Lr,M as N,Ma as Fe,Mb as Sr,Mc as Fr,N as _e,Na as Dt,Nb as O,Nc as Rr,Ne as to,Oa as Lt,Ob as Ie,Oc as Br,P as Kn,Pa as Ft,Pb as br,Q as qn,Qa as ve,Qb as $i,Qc as Vr,R as J,Ra as d,Rb as ht,Rc as ft,S as ee,Sa as M,Sb as Gi,Sc as ie,T as Ui,Ta as V,Tb as ti,Tc as ce,U as $n,Ua as nr,Uc as me,V as Gn,Vb as ii,Vc as Me,W as Qn,Wb as He,X as At,Xb as ni,Y as Qt,Ya as Wt,Yb as ri,Yc as zr,Za as Yt,Zb as oi,Zc as hi,_a as Xt,_c as jr,a as U,aa as Ki,ab as Rt,ad as q,ba as Wn,bb as h,c as Fn,cb as f,cc as ai,cd as Ue,d as Rn,da as Le,db as rr,dc as Cr,e as at,ea as Yn,ed as Ye,f as Tt,fa as u,fd as gt,g as Pt,ga as x,gb as or,gd as Ur,h as Bn,ha as Xn,hb as qi,hc as Er,hd as Ae,i as lt,ib as sr,ic as Mr,id as yt,j as xt,jb as ar,jc as wr,jd as Kr,k as Oe,kd as qr,l as Vn,lc as Tr,ld as $r,m as zn,ma as K,md as Gr,n as Vi,na as Zn,nc as Pr,nd as Qr,o as zi,oa as Jn,ob as Se,oc as xr,od as fi,p as ji,pa as er,pb as lr,pc as Or,pd as Wr,q as Ot,qa as ue,qc as li,qd as Yr,r as ct,ra as v,rb as je,rc as te,rd as Xr,s as oe,sa as kt,sb as cr,sc as ci,sd as _t,t as Hi,ta as Nt,td as vt,u as jn,uc as Ir,ud as St,vc as mi,vd as Wi,w as Ne,wa as j,wb as mr,wc as Bt,x as It,xb as pr,xc as Ar,xd as gi,ya as ut,yb as Q,yc as pi,yd as Zr,z as mt,za as dt,zb as ur,zc as be}from"./chunk-G6FAH2XM.js";function no(n){return new A(3e3,!1)}function _s(){return new A(3100,!1)}function vs(){return new A(3101,!1)}function Ss(n){return new A(3001,!1)}function bs(n){return new A(3003,!1)}function Cs(n){return new A(3004,!1)}function Es(n,t){return new A(3005,!1)}function Ms(){return new A(3006,!1)}function ws(){return new A(3007,!1)}function Ts(n,t){return new A(3008,!1)}function Ps(n){return new A(3002,!1)}function xs(n,t,e,i,r){return new A(3010,!1)}function Os(){return new A(3011,!1)}function Is(){return new A(3012,!1)}function As(){return new A(3200,!1)}function ks(){return new A(3202,!1)}function Ns(){return new A(3013,!1)}function Ds(n){return new A(3014,!1)}function Ls(n){return new A(3015,!1)}function Fs(n){return new A(3016,!1)}function Rs(n,t){return new A(3404,!1)}function Bs(n){return new A(3502,!1)}function Vs(n){return new A(3503,!1)}function zs(){return new A(3300,!1)}function js(n){return new A(3504,!1)}function Hs(n){return new A(3301,!1)}function Us(n,t){return new A(3302,!1)}function Ks(n){return new A(3303,!1)}function qs(n,t){return new A(3400,!1)}function $s(n){return new A(3401,!1)}function Gs(n){return new A(3402,!1)}function Qs(n,t){return new A(3505,!1)}function Ke(n){switch(n.length){case 0:return new ht;case 1:return n[0];default:return new Gi(n)}}function _o(n,t,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(t.forEach(c=>{let p=c.get("offset"),g=p==s,y=g&&a||new Map;c.forEach((P,T)=>{let b=T,w=P;if(T!=="offset")switch(b=n.normalizePropertyName(b,r),w){case ti:w=e.get(T);break;case Ie:w=i.get(T);break;default:w=n.normalizeStyleValue(T,b,w,r);break}y.set(b,w)}),g||o.push(y),a=y,s=p}),r.length)throw Bs(r);return o}function vn(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&Yi(e,"start",n)));break;case"done":n.onDone(()=>i(e&&Yi(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&Yi(e,"destroy",n)));break}}function Yi(n,t,e){let i=e.totalTime,r=!!e.disabled,o=Sn(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,i??n.totalTime,r),s=n._data;return s!=null&&(o._data=s),o}function Sn(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function he(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function ro(n){let t=n.indexOf(":"),e=n.substring(1,t),i=n.slice(t+1);return[e,i]}var Ws=typeof document>"u"?null:document.documentElement;function bn(n){let t=n.parentNode||n.host||null;return t===Ws?null:t}function Ys(n){return n.substring(1,6)=="ebkit"}var Xe=null,oo=!1;function Xs(n){Xe||(Xe=Zs()||{},oo=Xe.style?"WebkitAppearance"in Xe.style:!1);let t=!0;return Xe.style&&!Ys(n)&&(t=n in Xe.style,!t&&oo&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Xe.style)),t}function Zs(){return typeof document<"u"?document.body:null}function vo(n,t){for(;t;){if(t===n)return!0;t=bn(t)}return!1}function So(n,t,e){if(e)return Array.from(n.querySelectorAll(t));let i=n.querySelector(t);return i?[i]:[]}var Cn=(()=>{class n{validateStyleProperty(e){return Xs(e)}containsElement(e,i){return vo(e,i)}getParentElement(e){return bn(e)}query(e,i,r){return So(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],c){return new ht(r,o)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=G({token:n,factory:n.\u0275fac})}}return n})(),et=class{static{this.NOOP=new Cn}},tt=class{};var Js=1e3,bo="{{",ea="}}",Co="ng-enter",nn="ng-leave",vi="ng-trigger",Mi=".ng-trigger",so="ng-animating",rn=".ng-animating";function Re(n){if(typeof n=="number")return n;let t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:on(parseFloat(t[1]),t[2])}function on(n,t){switch(t){case"s":return n*Js;default:return n}}function wi(n,t,e){return n.hasOwnProperty("duration")?n:ta(n,t,e)}function ta(n,t,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof n=="string"){let a=n.match(i);if(a===null)return t.push(no(n)),{duration:0,delay:0,easing:""};r=on(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(o=on(parseFloat(c),a[4]));let p=a[5];p&&(s=p)}else r=n;if(!e){let a=!1,c=t.length;r<0&&(t.push(_s()),a=!0),o<0&&(t.push(vs()),a=!0),a&&t.splice(c,0,no(n))}return{duration:r,delay:o,easing:s}}function ia(n){return n.length?n[0]instanceof Map?n:n.map(t=>new Map(Object.entries(t))):[]}function ke(n,t,e){t.forEach((i,r)=>{let o=En(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i})}function Je(n,t){t.forEach((e,i)=>{let r=En(i);n.style[r]=""})}function Vt(n){return Array.isArray(n)?n.length==1?n[0]:br(n):n}function na(n,t,e){let i=t.params||{},r=Eo(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(Ss(o))})}var sn=new RegExp(`${bo}\\s*(.+?)\\s*${ea}`,"g");function Eo(n){let t=[];if(typeof n=="string"){let e;for(;e=sn.exec(n);)t.push(e[1]);sn.lastIndex=0}return t}function jt(n,t,e){let i=`${n}`,r=i.replace(sn,(o,s)=>{let a=t[s];return a==null&&(e.push(bs(s)),a=""),a.toString()});return r==i?n:r}var ra=/-+([a-z0-9])/g;function En(n){return n.replace(ra,(...t)=>t[1].toUpperCase())}function oa(n,t){return n===0||t===0}function sa(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<t.length;o++){let s=t[o];r.forEach(a=>s.set(a,Mn(n,a)))}}return t}function de(n,t,e){switch(t.type){case O.Trigger:return n.visitTrigger(t,e);case O.State:return n.visitState(t,e);case O.Transition:return n.visitTransition(t,e);case O.Sequence:return n.visitSequence(t,e);case O.Group:return n.visitGroup(t,e);case O.Animate:return n.visitAnimate(t,e);case O.Keyframes:return n.visitKeyframes(t,e);case O.Style:return n.visitStyle(t,e);case O.Reference:return n.visitReference(t,e);case O.AnimateChild:return n.visitAnimateChild(t,e);case O.AnimateRef:return n.visitAnimateRef(t,e);case O.Query:return n.visitQuery(t,e);case O.Stagger:return n.visitStagger(t,e);default:throw Cs(t.type)}}function Mn(n,t){return window.getComputedStyle(n)[t]}var aa=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"]),Ti=class extends tt{normalizePropertyName(t,e){return En(t)}normalizeStyleValue(t,e,i,r){let o="",s=i.toString().trim();if(aa.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(Es(t,i))}return s+o}};var Pi="*";function la(n,t){let e=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>ca(i,e,t)):e.push(n),e}function ca(n,t,e){if(n[0]==":"){let c=ma(n,e);if(typeof c=="function"){t.push(c);return}n=c}let i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(Ls(n)),t;let r=i[1],o=i[2],s=i[3];t.push(ao(r,s));let a=r==Pi&&s==Pi;o[0]=="<"&&!a&&t.push(ao(s,r))}function ma(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return t.push(Fs(n)),"* => *"}}var Si=new Set(["true","1"]),bi=new Set(["false","0"]);function ao(n,t){let e=Si.has(n)||bi.has(n),i=Si.has(t)||bi.has(t);return(r,o)=>{let s=n==Pi||n==r,a=t==Pi||t==o;return!s&&e&&typeof r=="boolean"&&(s=r?Si.has(n):bi.has(n)),!a&&i&&typeof o=="boolean"&&(a=o?Si.has(t):bi.has(t)),s&&a}}var Mo=":self",pa=new RegExp(`s*${Mo}s*,?`,"g");function wo(n,t,e,i){return new an(n).build(t,e,i)}var lo="",an=class{constructor(t){this._driver=t}build(t,e,i){let r=new ln(e);return this._resetContextStyleTimingState(r),de(this,Vt(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector=lo,t.collectedStyles=new Map,t.collectedStyles.set(lo,new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return t.name.charAt(0)=="@"&&e.errors.push(Ms()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==O.State){let c=a,p=c.name;p.toString().split(/\s*,\s*/).forEach(g=>{c.name=g,o.push(this.visitState(c,e))}),c.name=p}else if(a.type==O.Transition){let c=this.visitTransition(a,e);i+=c.queryCount,r+=c.depCount,s.push(c)}else e.errors.push(ws())}),{type:O.Trigger,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){let i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{Eo(c).forEach(p=>{s.hasOwnProperty(p)||o.add(p)})})}),o.size&&e.errors.push(Ts(t.name,[...o.values()]))}return{type:O.State,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let i=de(this,Vt(t.animation),e),r=la(t.expr,e.errors);return{type:O.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Ze(t.options)}}visitSequence(t,e){return{type:O.Sequence,steps:t.steps.map(i=>de(this,i,e)),options:Ze(t.options)}}visitGroup(t,e){let i=e.currentTime,r=0,o=t.steps.map(s=>{e.currentTime=i;let a=de(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:O.Group,steps:o,options:Ze(t.options)}}visitAnimate(t,e){let i=fa(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:$i({});if(o.type==O.Keyframes)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;let p={};i.easing&&(p.easing=i.easing),s=$i(p)}e.currentTime+=i.duration+i.delay;let c=this.visitStyle(s,e);c.isEmptyStep=a,r=c}return e.currentAnimateTimings=null,{type:O.Animate,timings:i,style:r,options:null}}visitStyle(t,e){let i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){let i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)typeof a=="string"?a===Ie?i.push(a):e.errors.push(Ps(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let c of a.values())if(c.toString().indexOf(bo)>=0){o=!0;break}}}),{type:O.Style,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let p=e.collectedStyles.get(e.currentQuerySelector),g=p.get(c),y=!0;g&&(o!=r&&o>=g.startTime&&r<=g.endTime&&(e.errors.push(xs(c,g.startTime,g.endTime,o,r)),y=!1),o=g.startTime),y&&p.set(c,{startTime:o,endTime:r}),e.options&&na(a,e.options,e.errors)})})}visitKeyframes(t,e){let i={type:O.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(Os()),i;let r=1,o=0,s=[],a=!1,c=!1,p=0,g=t.steps.map($=>{let W=this._makeStyleAst($,e),ne=W.offset!=null?W.offset:ha(W.styles),X=0;return ne!=null&&(o++,X=W.offset=ne),c=c||X<0||X>1,a=a||X<p,p=X,s.push(X),W});c&&e.errors.push(Is()),a&&e.errors.push(As());let y=t.steps.length,P=0;o>0&&o<y?e.errors.push(ks()):o==0&&(P=r/(y-1));let T=y-1,b=e.currentTime,w=e.currentAnimateTimings,R=w.duration;return g.forEach(($,W)=>{let ne=P>0?W==T?1:P*W:s[W],X=ne*R;e.currentTime=b+w.delay+X,w.duration=X,this._validateStyleAst($,e),$.offset=ne,i.styles.push($)}),i}visitReference(t,e){return{type:O.Reference,animation:de(this,Vt(t.animation),e),options:Ze(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:O.AnimateChild,options:Ze(t.options)}}visitAnimateRef(t,e){return{type:O.AnimateRef,animation:this.visitReference(t.animation,e),options:Ze(t.options)}}visitQuery(t,e){let i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;let[o,s]=ua(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,he(e.collectedStyles,e.currentQuerySelector,new Map);let a=de(this,Vt(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:O.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Ze(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(Ns());let i=t.timings==="full"?{duration:0,delay:0,easing:"full"}:wi(t.timings,e.errors,!0);return{type:O.Stagger,animation:de(this,Vt(t.animation),e),timings:i,options:null}}};function ua(n){let t=!!n.split(/\s*,\s*/).find(e=>e==Mo);return t&&(n=n.replace(pa,"")),n=n.replace(/@\*/g,Mi).replace(/@\w+/g,e=>Mi+"-"+e.slice(1)).replace(/:animating/g,rn),[n,t]}function da(n){return n?U({},n):null}var ln=class{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function ha(n){if(typeof n=="string")return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function fa(n,t){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let o=wi(n,t).duration;return Xi(o,0,"")}let e=n;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Xi(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=wi(e,t);return Xi(r.duration,r.delay,r.easing)}function Ze(n){return n?(n=U({},n),n.params&&(n.params=da(n.params))):n={},n}function Xi(n,t,e){return{duration:n,delay:t,easing:e}}function wn(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}var Ht=class{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},ga=1,ya=":enter",_a=new RegExp(ya,"g"),va=":leave",Sa=new RegExp(va,"g");function To(n,t,e,i,r,o=new Map,s=new Map,a,c,p=[]){return new cn().buildKeyframes(n,t,e,i,r,o,s,a,c,p)}var cn=class{buildKeyframes(t,e,i,r,o,s,a,c,p,g=[]){p=p||new Ht;let y=new mn(t,e,p,r,o,g,[]);y.options=c;let P=c.delay?Re(c.delay):0;y.currentTimeline.delayNextStep(P),y.currentTimeline.setStyles([s],null,y.errors,c),de(this,i,y);let T=y.timelines.filter(b=>b.containsAnimation());if(T.length&&a.size){let b;for(let w=T.length-1;w>=0;w--){let R=T[w];if(R.element===e){b=R;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([a],null,y.errors,c)}return T.length?T.map(b=>b.buildKeyframes()):[wn(e,[],[],[],0,P,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){let i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(let r of t){let o=r?.delay;if(o){let s=typeof o=="number"?o:Re(jt(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?Re(i.duration):null,a=i.delay!=null?Re(i.delay):null;return s!==0&&t.forEach(c=>{let p=e.appendInstructionToTimeline(c,s,a);o=Math.max(o,p.duration+p.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),de(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==O.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=xi);let s=Re(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>de(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Re(t.options.delay):0;t.steps.forEach(s=>{let a=e.createSubContext(t.options);o&&a.delayNextStep(o),de(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let i=t.strValue,r=e.params?jt(i,e.params,e.errors):i;return wi(r,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=t.style;o.type==O.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(c=>{let p=c.offset||0;a.forwardTime(p*o),a.setStyles(c.styles,c.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){let i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Re(r.delay):0;o&&(e.previousNode.type===O.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=xi);let s=i,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let c=null;a.forEach((p,g)=>{e.currentQueryIndex=g;let y=e.createSubContext(t.options,p);o&&y.delayNextStep(o),p===e.element&&(c=y.currentTimeline),de(this,t.animation,y),y.currentTimeline.applyStylesToKeyframe();let P=y.currentTimeline.currentTime;s=Math.max(s,P)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),c=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=i.currentStaggerTime;break}let g=e.currentTimeline;c&&g.delayNextStep(c);let y=g.currentTime;de(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-y+(r.startTime-i.currentTimeline.startTime)}},xi={},mn=class n{constructor(t,e,i,r,o,s,a,c){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=xi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Oi(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let i=t,r=this.options;i.duration!=null&&(r.duration=Re(i.duration)),i.delay!=null&&(r.delay=Re(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=jt(o[a],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){let r=e||this.element,o=new n(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=xi,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){let r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new pn(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=t.replace(_a,"."+this._enterClassName),t=t.replace(Sa,"."+this._leaveClassName);let c=i!=1,p=this._driver.query(this.element,t,c);i!==0&&(p=i<0?p.slice(p.length+i,p.length):p.slice(0,i)),a.push(...p)}return!o&&a.length==0&&s.push(Ds(e)),a}},Oi=class n{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new n(this._driver,t,e||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+=ga,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Ie),this._currentKeyframe.set(e,Ie);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=ba(t,this._globalTimelineStyles);for(let[a,c]of s){let p=jt(c,o,i);this._pendingStyles.set(a,p),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Ie),this._updateStyle(a,p)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,c)=>{let p=new Map([...this._backFill,...a]);p.forEach((g,y)=>{g===ti?t.add(y):g===Ie&&e.add(y)}),i||p.set("offset",c/this.duration),r.push(p)});let o=[...t.values()],s=[...e.values()];if(i){let a=r[0],c=new Map(a);a.set("offset",0),c.set("offset",1),r=[a,c]}return wn(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},pn=class extends Oi{constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=i+e,a=e/s,c=new Map(t[0]);c.set("offset",0),o.push(c);let p=new Map(t[0]);p.set("offset",co(a)),o.push(p);let g=t.length-1;for(let y=1;y<=g;y++){let P=new Map(t[y]),T=P.get("offset"),b=e+T*i;P.set("offset",co(b/s)),o.push(P)}i=s,e=0,r="",t=o}return wn(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function co(n,t=3){let e=Math.pow(10,t-1);return Math.round(n*e)/e}function ba(n,t){let e=new Map,i;return n.forEach(r=>{if(r==="*"){i??=t.keys();for(let o of i)e.set(o,Ie)}else for(let[o,s]of r)e.set(o,s)}),e}function mo(n,t,e,i,r,o,s,a,c,p,g,y,P){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:c,preStyleProps:p,postStyleProps:g,totalTime:y,errors:P}}var Zi={},Ii=class{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return Ca(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return t!==void 0&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,c,p,g){let y=[],P=this.ast.options&&this.ast.options.params||Zi,T=a&&a.params||Zi,b=this.buildStyles(i,T,y),w=c&&c.params||Zi,R=this.buildStyles(r,w,y),$=new Set,W=new Map,ne=new Map,X=r==="void",ot={params:Po(w,P),delay:this.ast.options?.delay},Pe=g?[]:To(t,e,this.ast.animation,o,s,b,R,ot,p,y),re=0;return Pe.forEach(le=>{re=Math.max(le.duration+le.delay,re)}),y.length?mo(e,this._triggerName,i,r,X,b,R,[],[],W,ne,re,y):(Pe.forEach(le=>{let Ge=le.element,st=he(W,Ge,new Set);le.preStyleProps.forEach(Qe=>st.add(Qe));let kn=he(ne,Ge,new Set);le.postStyleProps.forEach(Qe=>kn.add(Qe)),Ge!==e&&$.add(Ge)}),mo(e,this._triggerName,i,r,X,b,R,Pe,[...$.values()],W,ne,re))}};function Ca(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}function Po(n,t){let e=U({},t);return Object.entries(n).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var un=class{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){let i=new Map,r=Po(t,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=jt(s,r,e));let c=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,c,s,e),i.set(a,s)})}),i}};function Ea(n,t,e){return new dn(n,t,e)}var dn=class{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new un(r.style,o,i))}),po(this.states,"true","1"),po(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new Ii(t,r,this.states))}),this.fallbackTransition=Ma(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}};function Ma(n,t,e){let i=[(s,a)=>!0],r={type:O.Sequence,steps:[],options:null},o={type:O.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Ii(n,o,t)}function po(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}var wa=new Ht,hn=class{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){let i=[],r=[],o=wo(this._driver,e,i,r);if(i.length)throw Vs(i);r.length&&void 0,this._animations.set(t,o)}_buildPlayer(t,e,i){let r=t.element,o=_o(this._normalizer,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){let r=[],o=this._animations.get(t),s,a=new Map;if(o?(s=To(this._driver,e,o,Co,nn,new Map,new Map,i,wa,r),s.forEach(g=>{let y=he(a,g.element,new Map);g.postStyleProps.forEach(P=>y.set(P,null))})):(r.push(zs()),s=[]),r.length)throw js(r);a.forEach((g,y)=>{g.forEach((P,T)=>{g.set(T,this._driver.computeStyle(y,T,Ie))})});let c=s.map(g=>{let y=a.get(g.element);return this._buildPlayer(g,new Map,y)}),p=Ke(c);return this._playersById.set(t,p),p.onDestroy(()=>this.destroy(t)),this.players.push(p),p}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw Hs(t);return e}listen(t,e,i,r){let o=Sn(e,"","","");return vn(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if(i=="register"){this.register(t,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(t,e,s);return}let o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t);break}}},uo="ng-animate-queued",Ta=".ng-animate-queued",Ji="ng-animate-disabled",Pa=".ng-animate-disabled",xa="ng-star-inserted",Oa=".ng-star-inserted",Ia=[],xo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Aa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Te="__ng_removed",Ut=class{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let i=t&&t.hasOwnProperty("value"),r=i?t.value:t;if(this.value=Na(r),i){let o=t,{value:s}=o,a=Fn(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},zt="void",en=new Ut(zt),fn=class{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,we(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw Us(i,e);if(i==null||i.length==0)throw Ks(e);if(!Da(i))throw qs(i,e);let o=he(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);let a=he(this._engine.statesByElement,t,new Map);return a.has(e)||(we(t,vi),we(t,vi+"-"+e),a.set(e,en)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw $s(t);return e}trigger(t,e,i,r=!0){let o=this._getTrigger(e),s=new Kt(this.id,e,t),a=this._engine.statesByElement.get(t);a||(we(t,vi),we(t,vi+"-"+e),this._engine.statesByElement.set(t,a=new Map));let c=a.get(e),p=new Ut(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&p.absorbOptions(c.options),a.set(e,p),c||(c=en),!(p.value===zt)&&c.value===p.value){if(!Ra(c.params,p.params)){let w=[],R=o.matchStyles(c.value,c.params,w),$=o.matchStyles(p.value,p.params,w);w.length?this._engine.reportError(w):this._engine.afterFlush(()=>{Je(t,R),ke(t,$)})}return}let P=he(this._engine.playersByElement,t,[]);P.forEach(w=>{w.namespaceId==this.id&&w.triggerName==e&&w.queued&&w.destroy()});let T=o.matchTransition(c.value,p.value,t,p.params),b=!1;if(!T){if(!r)return;T=o.fallbackTransition,b=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:T,fromState:c,toState:p,player:s,isFallbackTransition:b}),b||(we(t,uo),s.onStart(()=>{bt(t,uo)})),s.onDone(()=>{let w=this.players.indexOf(s);w>=0&&this.players.splice(w,1);let R=this._engine.playersByElement.get(t);if(R){let $=R.indexOf(s);$>=0&&R.splice($,1)}}),this.players.push(s),P.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let i=this._engine.driver.query(t,Mi,!0);i.forEach(r=>{if(r[Te])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){let o=this._engine.statesByElement.get(t),s=new Map;if(o){let a=[];if(o.forEach((c,p)=>{if(s.set(p,c.value),this._triggers.has(p)){let g=this.trigger(t,p,zt,r);g&&a.push(g)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&Ke(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){let r=new Set;e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let c=this._triggers.get(s).fallbackTransition,p=i.get(s)||en,g=new Ut(zt),y=new Kt(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:c,fromState:p,toState:g,player:y,isFallbackTransition:!0})})}}removeNode(t,e){let i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{let o=t[Te];(!o||o===xo)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){we(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let c=Sn(o,i.triggerName,i.fromState.value,i.toState.value);c._data=t,vn(i.player,a.phase,c,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},gn=class{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){let i=new fn(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let c=r.get(a);if(c){let p=i.indexOf(c);i.splice(p+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(t);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,i=this.statesByElement.get(t);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(t,e,i,r){if(Ci(e)){let o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!Ci(e))return;let o=e[Te];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){let s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),we(t,Ji)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),bt(t,Ji))}removeNode(t,e,i){if(Ci(e)){let r=t?this._fetchNamespace(t):null;r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[Te]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return Ci(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,Mi,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,rn,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Ke(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[Te];if(e&&e.setForRemoval){if(t[Te]=xo,e.namespaceId){this.destroyInnerAnimations(t);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Ji)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Pa,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];we(r,xa)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,t)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?Ke(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw Gs(t)}_flushAnimations(t,e){let i=new Ht,r=[],o=new Map,s=[],a=new Map,c=new Map,p=new Map,g=new Set;this.disabledNodes.forEach(_=>{g.add(_);let C=this.driver.query(_,Ta,!0);for(let E=0;E<C.length;E++)g.add(C[E])});let y=this.bodyNode,P=Array.from(this.statesByElement.keys()),T=go(P,this.collectedEnterElements),b=new Map,w=0;T.forEach((_,C)=>{let E=Co+w++;b.set(C,E),_.forEach(I=>we(I,E))});let R=[],$=new Set,W=new Set;for(let _=0;_<this.collectedLeaveElements.length;_++){let C=this.collectedLeaveElements[_],E=C[Te];E&&E.setForRemoval&&(R.push(C),$.add(C),E.hasAnimation?this.driver.query(C,Oa,!0).forEach(I=>$.add(I)):W.add(C))}let ne=new Map,X=go(P,Array.from($));X.forEach((_,C)=>{let E=nn+w++;ne.set(C,E),_.forEach(I=>we(I,E))}),t.push(()=>{T.forEach((_,C)=>{let E=b.get(C);_.forEach(I=>bt(I,E))}),X.forEach((_,C)=>{let E=ne.get(C);_.forEach(I=>bt(I,E))}),R.forEach(_=>{this.processLeaveNode(_)})});let ot=[],Pe=[];for(let _=this._namespaceList.length-1;_>=0;_--)this._namespaceList[_].drainQueuedTransitions(e).forEach(E=>{let I=E.player,Y=E.element;if(ot.push(I),this.collectedEnterElements.length){let Z=Y[Te];if(Z&&Z.setForMove){if(Z.previousTriggersValues&&Z.previousTriggersValues.has(E.triggerName)){let We=Z.previousTriggersValues.get(E.triggerName),fe=this.statesByElement.get(E.element);if(fe&&fe.has(E.triggerName)){let Gt=fe.get(E.triggerName);Gt.value=We,fe.set(E.triggerName,Gt)}}I.destroy();return}}let xe=!y||!this.driver.containsElement(y,Y),pe=ne.get(Y),ze=b.get(Y),B=this._buildInstruction(E,i,ze,pe,xe);if(B.errors&&B.errors.length){Pe.push(B);return}if(xe){I.onStart(()=>Je(Y,B.fromStyles)),I.onDestroy(()=>ke(Y,B.toStyles)),r.push(I);return}if(E.isFallbackTransition){I.onStart(()=>Je(Y,B.fromStyles)),I.onDestroy(()=>ke(Y,B.toStyles)),r.push(I);return}let Ln=[];B.timelines.forEach(Z=>{Z.stretchStartingKeyframe=!0,this.disabledNodes.has(Z.element)||Ln.push(Z)}),B.timelines=Ln,i.append(Y,B.timelines);let ys={instruction:B,player:I,element:Y};s.push(ys),B.queriedElements.forEach(Z=>he(a,Z,[]).push(I)),B.preStyleProps.forEach((Z,We)=>{if(Z.size){let fe=c.get(We);fe||c.set(We,fe=new Set),Z.forEach((Gt,Bi)=>fe.add(Bi))}}),B.postStyleProps.forEach((Z,We)=>{let fe=p.get(We);fe||p.set(We,fe=new Set),Z.forEach((Gt,Bi)=>fe.add(Bi))})});if(Pe.length){let _=[];Pe.forEach(C=>{_.push(Qs(C.triggerName,C.errors))}),ot.forEach(C=>C.destroy()),this.reportError(_)}let re=new Map,le=new Map;s.forEach(_=>{let C=_.element;i.has(C)&&(le.set(C,C),this._beforeAnimationBuild(_.player.namespaceId,_.instruction,re))}),r.forEach(_=>{let C=_.element;this._getPreviousPlayers(C,!1,_.namespaceId,_.triggerName,null).forEach(I=>{he(re,C,[]).push(I),I.destroy()})});let Ge=R.filter(_=>yo(_,c,p)),st=new Map;fo(st,this.driver,W,p,Ie).forEach(_=>{yo(_,c,p)&&Ge.push(_)});let Qe=new Map;T.forEach((_,C)=>{fo(Qe,this.driver,new Set(_),c,ti)}),Ge.forEach(_=>{let C=st.get(_),E=Qe.get(_);st.set(_,new Map([...C?.entries()??[],...E?.entries()??[]]))});let Ri=[],Nn=[],Dn={};s.forEach(_=>{let{element:C,player:E,instruction:I}=_;if(i.has(C)){if(g.has(C)){E.onDestroy(()=>ke(C,I.toStyles)),E.disabled=!0,E.overrideTotalTime(I.totalTime),r.push(E);return}let Y=Dn;if(le.size>1){let pe=C,ze=[];for(;pe=pe.parentNode;){let B=le.get(pe);if(B){Y=B;break}ze.push(pe)}ze.forEach(B=>le.set(B,Y))}let xe=this._buildAnimation(E.namespaceId,I,re,o,Qe,st);if(E.setRealPlayer(xe),Y===Dn)Ri.push(E);else{let pe=this.playersByElement.get(Y);pe&&pe.length&&(E.parentPlayer=Ke(pe)),r.push(E)}}else Je(C,I.fromStyles),E.onDestroy(()=>ke(C,I.toStyles)),Nn.push(E),g.has(C)&&r.push(E)}),Nn.forEach(_=>{let C=o.get(_.element);if(C&&C.length){let E=Ke(C);_.setRealPlayer(E)}}),r.forEach(_=>{_.parentPlayer?_.syncPlayerEvents(_.parentPlayer):_.destroy()});for(let _=0;_<R.length;_++){let C=R[_],E=C[Te];if(bt(C,nn),E&&E.hasAnimation)continue;let I=[];if(a.size){let xe=a.get(C);xe&&xe.length&&I.push(...xe);let pe=this.driver.query(C,rn,!0);for(let ze=0;ze<pe.length;ze++){let B=a.get(pe[ze]);B&&B.length&&I.push(...B)}}let Y=I.filter(xe=>!xe.destroyed);Y.length?La(this,C,Y):this.processLeaveNode(C)}return R.length=0,Ri.forEach(_=>{this.players.push(_),_.onDone(()=>{_.destroy();let C=this.players.indexOf(_);this.players.splice(C,1)}),_.play()}),Ri}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(t);a&&(s=a)}else{let a=this.playersByElement.get(t);if(a){let c=!o||o==zt;a.forEach(p=>{p.queued||!c&&p.triggerName!=r||s.push(p)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:r;for(let c of e.timelines){let p=c.element,g=p!==o,y=he(i,p,[]);this._getPreviousPlayers(p,g,s,a,e.toState).forEach(T=>{let b=T.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),T.destroy(),y.push(T)})}Je(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){let a=e.triggerName,c=e.element,p=[],g=new Set,y=new Set,P=e.timelines.map(b=>{let w=b.element;g.add(w);let R=w[Te];if(R&&R.removedBeforeQueried)return new ht(b.duration,b.delay);let $=w!==c,W=Fa((i.get(w)||Ia).map(re=>re.getRealPlayer())).filter(re=>{let le=re;return le.element?le.element===w:!1}),ne=o.get(w),X=s.get(w),ot=_o(this._normalizer,b.keyframes,ne,X),Pe=this._buildPlayer(b,ot,W);if(b.subTimeline&&r&&y.add(w),$){let re=new Kt(t,a,w);re.setRealPlayer(Pe),p.push(re)}return Pe});p.forEach(b=>{he(this.playersByQueriedElement,b.element,[]).push(b),b.onDone(()=>ka(this.playersByQueriedElement,b.element,b))}),g.forEach(b=>we(b,so));let T=Ke(P);return T.onDestroy(()=>{g.forEach(b=>bt(b,so)),ke(c,e.toStyles)}),y.forEach(b=>{he(r,b,[]).push(T)}),T}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new ht(t.duration,t.delay)}},Kt=class{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new ht,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>vn(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){he(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function ka(n,t,e){let i=n.get(t);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&n.delete(t)}return i}function Na(n){return n??null}function Ci(n){return n&&n.nodeType===1}function Da(n){return n=="start"||n=="done"}function ho(n,t){let e=n.style.display;return n.style.display=t??"none",e}function fo(n,t,e,i,r){let o=[];e.forEach(c=>o.push(ho(c)));let s=[];i.forEach((c,p)=>{let g=new Map;c.forEach(y=>{let P=t.computeStyle(p,y,r);g.set(y,P),(!P||P.length==0)&&(p[Te]=Aa,s.push(p))}),n.set(p,g)});let a=0;return e.forEach(c=>ho(c,o[a++])),s}function go(n,t){let e=new Map;if(n.forEach(a=>e.set(a,[])),t.length==0)return e;let i=1,r=new Set(t),o=new Map;function s(a){if(!a)return i;let c=o.get(a);if(c)return c;let p=a.parentNode;return e.has(p)?c=p:r.has(p)?c=i:c=s(p),o.set(a,c),c}return t.forEach(a=>{let c=s(a);c!==i&&e.get(c).push(a)}),e}function we(n,t){n.classList?.add(t)}function bt(n,t){n.classList?.remove(t)}function La(n,t,e){Ke(e).onDone(()=>n.processLeaveNode(t))}function Fa(n){let t=[];return Oo(n,t),t}function Oo(n,t){for(let e=0;e<n.length;e++){let i=n[e];i instanceof Gi?Oo(i.players,t):t.push(i)}}function Ra(n,t){let e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!t.hasOwnProperty(o)||n[o]!==t[o])return!1}return!0}function yo(n,t,e){let i=e.get(n);if(!i)return!1;let r=t.get(n);return r?i.forEach(o=>r.add(o)):t.set(n,i),e.delete(n),!0}var Ct=class{constructor(t,e,i){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new gn(t.body,e,i),this._timelineEngine=new hn(t.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){let s=t+"-"+r,a=this._triggerCache[s];if(!a){let c=[],p=[],g=wo(this._driver,o,c,p);if(c.length)throw Rs(r,c);p.length&&void 0,a=Ea(r,g,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if(i.charAt(0)=="@"){let[o,s]=ro(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=ro(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function Ba(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=tn(t[0]),t.length>1&&(i=tn(t[t.length-1]))):t instanceof Map&&(e=tn(t)),e||i?new yn(n,e,i):null}var yn=class n{static{this.initialStylesByElement=new WeakMap}constructor(t,e,i){this._element=t,this._startStyles=e,this._endStyles=i,this._state=0;let r=n.initialStylesByElement.get(t);r||n.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ke(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ke(this._element,this._initialStyles),this._endStyles&&(ke(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Je(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Je(this._element,this._endStyles),this._endStyles=null),ke(this._element,this._initialStyles),this._state=3)}};function tn(n){let t=null;return n.forEach((e,i)=>{Va(i)&&(t=t||new Map,t.set(i,e))}),t}function Va(n){return n==="display"||n==="position"}var Ai=class{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&t.set(r,this._finished?i:Mn(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},ki=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return vo(t,e)}getParentElement(t){return bn(t)}query(t,e,i){return So(t,e,i)}computeStyle(t,e,i){return Mn(t,e)}animate(t,e,i,r,o,s=[]){let a=r==0?"both":"forwards",c={duration:i,delay:r,fill:a};o&&(c.easing=o);let p=new Map,g=s.filter(T=>T instanceof Ai);oa(i,r)&&g.forEach(T=>{T.currentSnapshot.forEach((b,w)=>p.set(w,b))});let y=ia(e).map(T=>new Map(T));y=sa(t,y,p);let P=Ba(t,y);return new Ai(t,y,c,P)}};var Ei="@",Io="@.disabled",Ni=class{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==Ei&&e==Io?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},_n=class extends Ni{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==Ei?e.charAt(1)=="."&&e==Io?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if(e.charAt(0)==Ei){let r=za(t),o=e.slice(1),s="";return o.charAt(0)!=Ei&&([o,s]=ja(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,i,a)})}return this.delegate.listen(t,e,i)}};function za(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function ja(n){let t=n.indexOf("."),e=n.substring(0,t),i=n.slice(t+1);return[e,i]}var Di=class{constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(t,e){let i="",r=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let p=this._rendererCache,g=p.get(r);if(!g){let y=()=>p.delete(r);g=new Ni(i,r,this.engine,y),p.set(r,g)}return g}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let a=p=>{Array.isArray(p)?p.forEach(a):this.engine.registerTrigger(o,s,t,p.name,p)};return e.data.animation.forEach(a),new _n(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){if(t>=0&&t<this._microtaskId){this._zone.run(()=>e(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Ua=(()=>{class n extends Ct{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(i){return new(i||n)(H(Se),H(et),H(tt))}}static{this.\u0275prov=G({token:n,factory:n.\u0275fac})}}return n})();function Ka(){return new Ti}function qa(n,t,e){return new Di(n,t,e)}var ko=[{provide:tt,useFactory:Ka},{provide:Ct,useClass:Ua},{provide:Xn,useFactory:qa,deps:[yr,Ct,Qt]}],Ao=[{provide:et,useFactory:()=>new ki},{provide:Ki,useValue:"BrowserAnimations"},...ko],$a=[{provide:et,useClass:Cn},{provide:Ki,useValue:"NoopAnimations"},...ko],No=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?$a:Ao}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=_e({type:n})}static{this.\u0275inj=ye({providers:Ao,imports:[ei]})}}return n})();var $t="Service workers are disabled or not supported by this browser";function Ga(n){return Vi(()=>xt(new Error(n)))}var Et=class{constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=Ga($t);else{let i=zi(t,"controllerchange").pipe(Oe(()=>t.controller)),r=Vi(()=>lt(t.controller)),o=zn(r,i);this.worker=o.pipe(oe(g=>!!g)),this.registration=this.worker.pipe(ge(()=>t.getRegistration()));let p=zi(t,"message").pipe(Oe(g=>g.data)).pipe(oe(g=>g&&g.type)).pipe(Hn());p.connect(),this.events=p}}postMessage(t,e){return this.worker.pipe(Ne(1),De(i=>{i.postMessage(U({action:t},e))})).toPromise().then(()=>{})}postMessageWithOperation(t,e,i){let r=this.waitForOperationCompleted(i),o=this.postMessage(t,e);return Promise.all([o,r]).then(([,s])=>s)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let e;return typeof t=="string"?e=i=>i.type===t:e=i=>t.includes(i.type),this.events.pipe(oe(e))}nextEventOfType(t){return this.eventsOfType(t).pipe(Ne(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(oe(e=>e.nonce===t),Ne(1),Oe(e=>{if(e.result!==void 0)return e.result;throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},Fo=(()=>{class n{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new at,!e.isEnabled){this.messages=ct,this.notificationClicks=ct,this.subscription=ct;return}this.messages=this.sw.eventsOfType("PUSH").pipe(Oe(r=>r.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(Oe(r=>r.data)),this.pushManager=this.sw.registration.pipe(Oe(r=>r.pushManager));let i=this.pushManager.pipe(ge(r=>r.getSubscription()));this.subscription=Ot(i,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error($t));let i={userVisibleOnly:!0},r=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(r.length));for(let s=0;s<r.length;s++)o[s]=r.charCodeAt(s);return i.applicationServerKey=o,this.pushManager.pipe(ge(s=>s.subscribe(i)),Ne(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error($t));let e=i=>{if(i===null)throw new Error("Not subscribed to push notifications.");return i.unsubscribe().then(r=>{if(!r)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(Ne(1),ge(e)).toPromise()}decodeBase64(e){return atob(e)}static{this.\u0275fac=function(i){return new(i||n)(H(Et))}}static{this.\u0275prov=G({token:n,factory:n.\u0275fac})}}return n})(),Li=(()=>{class n{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=ct,this.unrecoverable=ct;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error($t));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error($t));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}static{this.\u0275fac=function(i){return new(i||n)(H(Et))}}static{this.\u0275prov=G({token:n,factory:n.\u0275fac})}}return n})();var Do=new pt("");function Qa(n,t,e,i){return()=>{if(!(Q(i)&&"serviceWorker"in navigator&&e.enabled!==!1))return;let r=n.get(Qt),o=n.get(qi);r.runOutsideAngular(()=>{let a=navigator.serviceWorker,c=()=>a.controller?.postMessage({action:"INITIALIZE"});a.addEventListener("controllerchange",c),o.onDestroy(()=>{a.removeEventListener("controllerchange",c)})});let s;if(typeof e.registrationStrategy=="function")s=e.registrationStrategy();else{let[a,...c]=(e.registrationStrategy||"registerWhenStable:30000").split(":");switch(a){case"registerImmediately":s=lt(null);break;case"registerWithDelay":s=Lo(+c[0]||0);break;case"registerWhenStable":let p=Bn(n.get(qi).whenStable());s=c[0]?Ot(p,Lo(+c[0])):p;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${e.registrationStrategy}`)}}r.runOutsideAngular(()=>s.pipe(Ne(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:e.scope}).catch(a=>console.error("Service worker registration failed with:",a))))}}function Lo(n){return lt(null).pipe(It(n))}function Wa(n,t){return new Et(Q(t)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var qt=class{};function Ya(n,t={}){return Kn([Fo,Li,{provide:Do,useValue:n},{provide:qt,useValue:t},{provide:Et,useFactory:Wa,deps:[qt,se]},{provide:or,useFactory:Qa,deps:[Qn,Do,qt,se],multi:!0}])}var Ro=(()=>{class n{static register(e,i={}){return{ngModule:n,providers:[Ya(e,i)]}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=_e({type:n})}static{this.\u0275inj=ye({providers:[Fo,Li]})}}return n})();var Xa=["progressbar"],Za=["progressbarWrapper"];function Ja(n,t){if(n&1&&S(0,"div",7),n&2){let e=k();kt("box-shadow","0 0 10px "+e.color+", 0 0 5px "+e.color)}}function el(n,t){if(n&1&&(l(0,"div",8),S(1,"div",9),m()),n&2){let e=k();u(),kt("border-top-color",e.color)("border-left-color",e.color)}}var Tn=class{get snapshot(){return this._state.value}get isStarted(){return this.snapshot.active}constructor(t,e){this._onDestroyCallback=e,this._started=new at,this.started=this._started.pipe(oe(()=>!this.isStarted)),this._completed=new at,this.completed=this._completed.pipe(oe(()=>this.isStarted)),this._trickling=new at,this._worker=Rn.EMPTY,this._state=new Tt({active:!1,value:0}),this._config=new Tt(t),this.state=this._state.asObservable(),this.config=this._config.asObservable(),this._worker=Vn([this._trickling,this._config]).pipe(jn(([i,r])=>ji(i?r.debounceTime:0)),ge(([i,r])=>i?this.onTrickling(r):this.onComplete(r))).subscribe()}start(){this._started.next(),this._trickling.next(!0)}complete(){this._trickling.next(!1)}inc(t){let e=this.snapshot.value;this.isStarted?(typeof t!="number"&&(t=this._config.value.trickleFunc(e)),this.set(e+t)):this.start()}set(t){this.setState({value:this.clamp(t),active:!0})}setConfig(t){this._config.next(U(U({},this._config.value),t))}destroy(){this._worker.unsubscribe(),this._trickling.complete(),this._state.complete(),this._config.complete(),this._started.complete(),this._completed.complete(),this._onDestroyCallback()}setState(t){this._state.next(U(U({},this.snapshot),t))}clamp(t){return Math.max(this._config.value.min,Math.min(this._config.value.max,t))}onTrickling(t){return this.isStarted||this.set(this._config.value.min),ji(0,t.trickleSpeed).pipe(De(()=>this.inc()))}onComplete(t){return this._completed.next(),this.isStarted?lt({}).pipe(De(()=>this.setState({value:100})),It(t.speed*1.7),De(()=>this.setState({active:!1})),It(t.speed),mt(()=>this.setState({value:0})),Un(this._started)):Pt}},Vo=new pt("ngProgressConfig"),Bo={min:8,max:100,speed:200,debounceTime:0,trickleSpeed:300,fixed:!0,meteor:!0,thick:!1,spinner:!0,ease:"linear",color:"#1B95E0",direction:"ltr+",spinnerPosition:"right",trickleFunc:n=>n>=0&&n<20?10:n>=20&&n<50?4:n>=50&&n<80?2:n>=80&&n<99?.5:0},Pn=(()=>{class n{constructor(e){this._instances=new Map,this.config=e?U(U({},Bo),e):Bo}ref(e="root",i){if(this._instances.has(e)){let r=this._instances.get(e);return i&&r.setConfig(U(U({},this.config),i)),r}else{let r=new Tn(U(U({},this.config),i),this.deleteInstance(e));return this._instances.set(e,r).get(e)}}destroyAll(){this._instances.forEach(e=>e.destroy())}deleteInstance(e){return()=>{this._instances.delete(e)}}static{this.\u0275fac=function(i){return new(i||n)(H(Vo,8))}}static{this.\u0275prov=G({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),xn=(()=>{class n{get isStarted(){return this.progressRef?.isStarted}constructor(e){this._ngProgress=e,this.id="root",this.min=this._ngProgress.config.min,this.max=this._ngProgress.config.max,this.ease=this._ngProgress.config.ease,this.color=this._ngProgress.config.color,this.speed=this._ngProgress.config.speed,this.thick=this._ngProgress.config.thick,this.fixed=this._ngProgress.config.fixed,this.meteor=this._ngProgress.config.meteor,this.spinner=this._ngProgress.config.spinner,this.trickleSpeed=this._ngProgress.config.trickleSpeed,this.debounceTime=this._ngProgress.config.debounceTime,this.trickleFunc=this._ngProgress.config.trickleFunc,this.spinnerPosition=this._ngProgress.config.spinnerPosition,this.direction=this._ngProgress.config.direction,this.started=new At,this.completed=new At}ngOnChanges(){this.progressRef?.setConfig({max:this.max>0&&this.max<=100?this.max:100,min:this.min<100&&this.min>=0?this.min:0,speed:this.speed,trickleSpeed:this.trickleSpeed,trickleFunc:this.trickleFunc,debounceTime:this.debounceTime})}ngOnInit(){this.progressRef=this._ngProgress.ref(this.id,{max:this.max,min:this.min,speed:this.speed,trickleSpeed:this.trickleSpeed,debounceTime:this.debounceTime});let e=this.progressElement.nativeElement,i=this.progressWrapperElement.nativeElement;this._state=this.progressRef.state.pipe(De(r=>{e.style.transform=`translate3d(${r.value}%,0,0)`,r.active?(e.style.transition=`all ${this.speed}ms ${this.ease}`,i.setAttribute("active","true")):(e.style.transition="none",i.setAttribute("active","false"))})).subscribe(),this.started.observed&&(this._started=this.progressRef.started.subscribe(()=>this.started.emit())),this.completed.observed&&(this._completed=this.progressRef.completed.subscribe(()=>this.completed.emit()))}ngOnDestroy(){this._state?.unsubscribe(),this._started?.unsubscribe(),this._completed?.unsubscribe(),this.progressRef?.destroy()}start(){this.progressRef.start()}complete(){this.progressRef.complete()}inc(e){this.progressRef.inc(e)}set(e){this.progressRef.set(e)}static{this.\u0275fac=function(i){return new(i||n)(x(Pn))}}static{this.\u0275cmp=N({type:n,selectors:[["ng-progress"]],viewQuery:function(i,r){if(i&1&&(Dt(Xa,7),Dt(Za,7)),i&2){let o;Lt(o=Ft())&&(r.progressElement=o.first),Lt(o=Ft())&&(r.progressWrapperElement=o.first)}},hostAttrs:["role","progressbar"],hostVars:4,hostBindings:function(i,r){i&2&&ue("spinnerPosition",r.spinnerPosition)("direction",r.direction)("thick",r.thick)("fixed",r.fixed)},inputs:{id:"id",min:"min",max:"max",ease:"ease",color:"color",speed:"speed",thick:"thick",fixed:"fixed",meteor:"meteor",spinner:"spinner",trickleSpeed:"trickleSpeed",debounceTime:"debounceTime",trickleFunc:"trickleFunc",spinnerPosition:"spinnerPosition",direction:"direction"},outputs:{started:"started",completed:"completed"},standalone:!0,features:[qn,Yt],decls:7,vars:6,consts:[["progressbarWrapper",""],["progressbar",""],[1,"ng-progress-bar"],[1,"ng-bar-placeholder"],[1,"ng-bar"],["class","ng-meteor",3,"boxShadow",4,"ngIf"],["class","ng-spinner",4,"ngIf"],[1,"ng-meteor"],[1,"ng-spinner"],[1,"ng-spinner-icon"]],template:function(i,r){i&1&&(l(0,"div",2,0)(2,"div",3)(3,"div",4,1),K(5,Ja,1,2,"div",5),m()(),K(6,el,2,4,"div",6),m()),i&2&&(kt("transition","opacity "+r.speed+"ms "+r.ease),u(3),kt("background-color",r.color),u(2),v("ngIf",r.meteor),u(),v("ngIf",r.spinner))},dependencies:[pr,cr],styles:['[_nghost-%COMP%]{z-index:999999;pointer-events:none}[fixed=true][_nghost-%COMP%]   .ng-progress-bar[_ngcontent-%COMP%], [fixed=true][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{position:fixed}[fixed=true][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{top:15px}[fixed=true][spinnerPosition=left][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{left:15px}[fixed=true][spinnerPosition=right][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{right:15px}[thick=true][_nghost-%COMP%]   .ng-spinner-icon[_ngcontent-%COMP%]{width:24px;height:24px;border-width:3px}[thick=true][_nghost-%COMP%]   .ng-bar-placeholder[_ngcontent-%COMP%]{height:3px!important}[direction="ltr+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=ltr-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(3deg)}[direction="ltr+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=ltr-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(4deg)}[direction="ltr+"][_nghost-%COMP%]   .ng-bar[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-bar[_ngcontent-%COMP%]{margin-left:-100%}[direction="ltr+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{right:0}[direction="ltr+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{top:-3px}[direction="ltr+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{top:-4px}[direction=ltr-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{bottom:-3px}[direction=ltr-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction="rtl+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{bottom:-4px}[direction=ltr-][_nghost-%COMP%]   .ng-bar-placeholder[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-bar-placeholder[_ngcontent-%COMP%]{transform:rotate(180deg)}[direction=ltr-][_nghost-%COMP%]   .ng-spinner-icon[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-spinner-icon[_ngcontent-%COMP%]{animation-directionection:reverse}[direction="rtl+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(-3deg)}[direction="rtl+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(-4deg)}[spinnerPosition=left][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{left:10px}[spinnerPosition=right][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{right:10px}.ng-progress-bar[_ngcontent-%COMP%]{position:relative;z-index:999999;top:0;left:0;width:100%;transform:scale(1);filter:alpha(opacity=0);opacity:0}.ng-progress-bar[active=true][_ngcontent-%COMP%]{filter:alpha(opacity=100);opacity:1;transition:none}.ng-bar-placeholder[_ngcontent-%COMP%]{position:absolute;height:2px;width:100%}.ng-bar[_ngcontent-%COMP%]{width:100%;height:100%;transform:translate(-100%,0,0)}.ng-meteor[_ngcontent-%COMP%]{display:block;position:absolute;width:100px;height:100%;opacity:1}.ng-spinner[_ngcontent-%COMP%]{position:absolute;display:block;z-index:1031;top:10px}.ng-spinner-icon[_ngcontent-%COMP%]{width:18px;height:18px;box-sizing:border-box;animation:_ngcontent-%COMP%_spinner-animation .25s linear infinite;border:2px solid transparent;border-radius:50%}@keyframes _ngcontent-%COMP%_spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}'],changeDetection:0})}}return n})(),zo=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Vo,useValue:e}]}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=_e({type:n})}static{this.\u0275inj=ye({imports:[xn]})}}return n})();var Ko=new pt("ngProgressHttpConfig"),tl=(()=>{class n{constructor(e,i){this.ngProgress=e,this._inProgressCount=0,this._config={id:"root",silentApis:[],matcher:void 0},this._config=i?U(U({},this._config),i):this._config}intercept(e,i){return e.headers.has("ignoreProgressBar")?i.handle(e.clone({headers:e.headers.delete("ignoreProgressBar")})):this.checkUrl(e)?i.handle(e):(this._inProgressCount++,this._progressRef=this.ngProgress.ref(this._config.id),this._progressRef.isStarted||this._progressRef.start(),i.handle(e).pipe(mt(()=>{this._inProgressCount--,this._inProgressCount===0&&this._progressRef.complete()})))}checkUrl(e){let i=e.url.toLowerCase();return this._config.matcher&&this._config.silentApis?.length?Uo(i,this._config.matcher)&&Ho(i,this._config.silentApis):this._config.silentApis?.length?Ho(i,this._config.silentApis):this._config.matcher?Uo(i,this._config.matcher):!1}static{this.\u0275fac=function(i){return new(i||n)(H(Pn),H(Ko,8))}}static{this.\u0275prov=G({token:n,factory:n.\u0275fac})}}return n})();function Ho(n,t){return!!t.find(e=>n.includes(e.toLowerCase()))}function Uo(n,t){return!!n.match(t)}var qo=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Ko,useValue:e}]}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=_e({type:n})}static{this.\u0275inj=ye({providers:[{provide:Jt,useClass:tl,multi:!0}]})}}return n})();var Fi=class{http;prefix;suffix;constructor(t,e="/assets/i18n/",i=".json"){this.http=t,this.prefix=e,this.suffix=i}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}};var $o=(n,t)=>[n,t],wt=(()=>{class n{constructor(){this.iconSize="",this.iconColor=""}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=N({type:n,selectors:[["app-social-icons"]],inputs:{iconSize:"iconSize",iconColor:"iconColor"},decls:6,vars:8,consts:[["href","https://www.facebook.com/kaazoroon.immo","target","blank",1,"social-icon"],["viewBox","0 0 24 24",1,"mat-icon",3,"ngClass"],["d","M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M18,5H15.5A3.5,3.5 0 0,0 12,8.5V11H10V14H12V21H15V14H18V11H15V9A1,1 0 0,1 16,8H18V5Z"],["href","https://www.linkedin.com/company/kaazoroon/","target","blank",1,"social-icon"],["d","M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M18.5,18.5V13.2A3.26,3.26 0 0,0 15.24,9.94C14.39,9.94 13.4,10.46 12.92,11.24V10.13H10.13V18.5H12.92V13.57C12.92,12.8 13.54,12.17 14.31,12.17A1.4,1.4 0 0,1 15.71,13.57V18.5H18.5M6.88,8.56A1.68,1.68 0 0,0 8.56,6.88C8.56,5.95 7.81,5.19 6.88,5.19A1.69,1.69 0 0,0 5.19,6.88C5.19,7.81 5.95,8.56 6.88,8.56M8.27,18.5V10.13H5.5V18.5H8.27Z"]],template:function(i,r){i&1&&(l(0,"a",0),Ui(),l(1,"svg",1),S(2,"path",2),m()(),$n(),l(3,"a",3),Ui(),l(4,"svg",1),S(5,"path",4),m()()),i&2&&(u(),v("ngClass",Rt(2,$o,"mat-icon-"+r.iconSize,"mat-"+r.iconColor)),u(3),v("ngClass",Rt(5,$o,"mat-icon-"+r.iconSize,"mat-"+r.iconColor)))},dependencies:[je,Ae]})}}return n})();function rl(n,t){if(n&1){let e=ae();l(0,"a",2,0)(2,"mat-icon",3),d(3,"person"),m(),l(4,"span",4),d(5),h(6,"translate"),m(),l(7,"mat-icon",5),d(8,"arrow_drop_down"),m()(),l(9,"mat-menu",6,1)(11,"span",7),D("mouseleave",function(){J(e);let r=ve(1);return ee(r.closeMenu())}),l(12,"a",8),S(13,"img",9),l(14,"p",10),d(15),S(16,"br"),m()(),S(17,"div",11),l(18,"a",12)(19,"mat-icon",13),d(20,"add_circle"),m(),l(21,"span"),d(22),h(23,"translate"),m()(),l(24,"a",14)(25,"mat-icon",13),d(26,"home"),m(),l(27,"span"),d(28),h(29,"translate"),m()(),l(30,"a",15)(31,"mat-icon",13),d(32,"favorite_border"),m(),l(33,"span",16),d(34),h(35,"translate"),m()(),l(36,"a",17)(37,"mat-icon",13),d(38,"compare_arrows"),m(),l(39,"span",16),d(40),h(41,"translate"),m()(),l(42,"a",18)(43,"mat-icon",13),d(44,"edit"),m(),l(45,"span"),d(46),h(47,"translate"),m()(),l(48,"a",19)(49,"mat-icon",13),d(50,"lock"),m(),l(51,"span"),d(52),h(53,"translate"),m()(),l(54,"a",20)(55,"mat-icon",13),d(56,"help"),m(),l(57,"span"),d(58),h(59,"translate"),m()(),S(60,"div",11),l(61,"a",21),D("click",function(){J(e);let r=k();return ee(r.logout())}),l(62,"mat-icon",13),d(63,"power_settings_new"),m(),l(64,"span"),d(65),h(66,"translate"),m()()()()}if(n&2){let e=ve(10),i=k();v("matMenuTriggerFor",e),u(5),M(f(6,16,"ACCOUNT")),u(4),v("overlapTrigger",!1),u(6),V("",i.currentUser==null?null:i.currentUser.username," "),u(7),M(f(23,18,"BTN.SUBMIT_PROPERTY")),u(6),M(f(29,20,"MY_PROPERTIES")),u(5),v("matBadge",i.appService.nbFavorites)("matBadgeHidden",i.appService.nbFavorites==0),u(),V(" ",f(35,22,"FAVORITES"),""),u(5),v("matBadge",i.appService.Data.compareList.length)("matBadgeHidden",i.appService.Data.compareList.length==0),u(),M(f(41,24,"COMPARE")),u(6),M(f(47,26,"EDIT_PROFILE")),u(6),M(f(53,28,"LOCK_SCREEN")),u(6),M(f(59,30,"HELP")),u(7),M(f(66,32,"LOGOUT"))}}function ol(n,t){n&1&&(l(0,"a",22)(1,"mat-icon",3),d(2,"person_add"),m(),l(3,"span",23),d(4),h(5,"translate"),m()(),l(6,"a",24)(7,"mat-icon",3),d(8,"login"),m(),l(9,"span",23),d(10),h(11,"translate"),m()()),n&2&&(u(4),M(f(5,2,"REGISTER")),u(6),M(f(11,4,"SIGN_IN")))}var Qo=(()=>{class n{constructor(e,i,r){this.appService=e,this.document=i,this.platformId=r,this.router=F(be),this.authService=F(Ue),this.isLoggedIn=!1}ngOnInit(){if(this.authService.tokenChanged$.subscribe(e=>{this.isLoggedIn=e!==null,this.isLoggedIn&&this.getCurrentUser()}),Q(this.platformId)){let e=this.document.defaultView?.localStorage;this.isLoggedIn=e.getItem("token")!==null,this.isLoggedIn&&this.getCurrentUser()}}logout(){this.authService.logout().subscribe({next:()=>{this.router.navigate(["/"])},error:e=>{console.error("An error occurred while log out:",e)}})}getCurrentUser(){this.authService.getCurrentUser().subscribe({next:e=>{this.currentUser=e},error:e=>{console.error("An error occurred while getting current user.:",e)}})}static{this.\u0275fac=function(i){return new(i||n)(x(gt),x(Se),x(se))}}static{this.\u0275cmp=N({type:n,selectors:[["app-user-menu"]],decls:2,vars:1,consts:[["userMenuTrigger","matMenuTrigger"],["userMenu","matMenu"],["mat-button","",3,"matMenuTriggerFor"],[1,"mat-icon-sm","m-0"],["fxShow","false","fxShow.gt-sm","",1,"mx-1","uppercase"],["iconPositionEnd","",1,"mat-icon-sm","caret"],["xPosition","before",1,"app-menu-panel","user-menu",3,"overlapTrigger"],[3,"mouseleave"],["fxLayout","row","fxLayoutAlign","start center","routerLink","/account/my-properties",1,"user-info"],["src","assets/images/others/user.jpg","alt","user-image","width","50"],[1,"m-0"],[1,"divider"],["mat-menu-item","","routerLink","/submit-property"],[1,"mat-icon-sm"],["mat-menu-item","","routerLink","/account/my-properties"],["mat-menu-item","","routerLink","/account/favorites"],["matBadgeSize","small","matBadgeColor","warn","matBadgeOverlap","false","aria-hidden","false",3,"matBadge","matBadgeHidden"],["mat-menu-item","","routerLink","/compare"],["mat-menu-item","","routerLink","/account/profile"],["mat-menu-item","","routerLink","/lock-screen"],["mat-menu-item","","routerLink","/faq"],["mat-menu-item","",3,"click"],["mat-button","","routerLink","/register"],[1,"mx-1","uppercase"],["mat-button","","routerLink","/login"]],template:function(i,r){i&1&&K(0,rl,67,34)(1,ol,12,6),i&2&&j(r.isLoggedIn?0:1)},dependencies:[Ce,ce,ie,yt,fi,Me,q,vt,_t,St,te],styles:["a[_ngcontent-%COMP%]{text-decoration:none}"]})}}return n})();var al=(n,t)=>t.id;function ll(n,t){if(n&1){let e=ae();l(0,"button",9),D("click",function(){let r=J(e).$implicit,o=k();return ee(o.changeLang(r.name))}),S(1,"img",3),l(2,"span",10),d(3),m()()}if(n&2){let e=t.$implicit,i=k();u(),v("src","assets/images/flags/"+e.name+".svg",Le)("alt",e),u(2),V("",i.getLangName(e.name)," ")}}var cl="lang",Wo=(()=>{class n{constructor(e,i){this.document=e,this.platformId=i,this.translateService=F(li),this.langName="",this.allowedLanguages=[{id:1,name:"en"},{id:2,name:"fr"}]}ngOnInit(){this.langName=this.getLangName(this.translateService.getDefaultLang())}changeLang(e){this.translateService.use(e),this.langName=this.getLangName(e),Q(this.platformId)&&(this.document.defaultView?.localStorage).setItem(cl,e)}getLangName(e){return e=="fr"?"French":"English"}static{this.\u0275fac=function(i){return new(i||n)(x(Se),x(se))}}static{this.\u0275cmp=N({type:n,selectors:[["app-lang"]],decls:12,vars:5,consts:[["langMenuTrigger","matMenuTrigger"],["langMenu","matMenu"],["mat-button","",1,"lang-btn",3,"matMenuTriggerFor"],["width","18",1,"mat-elevation-z1",3,"src","alt"],["fxShow","false","fxShow.gt-md","",1,"uppercase","flag-name"],["iconPositionEnd","",1,"mat-icon-sm","caret"],[1,"app-menu-panel","lang",3,"overlapTrigger"],[3,"mouseleave"],["mat-menu-item",""],["mat-menu-item","",3,"click"],[1,"flag-name"]],template:function(i,r){if(i&1){let o=ae();l(0,"button",2,0),S(2,"img",3),l(3,"span",4),d(4),m(),l(5,"mat-icon",5),d(6,"arrow_drop_down"),m()(),l(7,"mat-menu",6,1)(9,"span",7),D("mouseleave",function(){J(o);let a=ve(1);return ee(a.closeMenu())}),ut(10,ll,4,3,"button",8,al),m()()}if(i&2){let o=ve(8);v("matMenuTriggerFor",o),u(2),v("src","assets/images/flags/"+r.translateService.currentLang+".svg",Le)("alt",r.translateService.currentLang),u(2),M(r.langName),u(3),v("overlapTrigger",!1),u(3),dt(r.allowedLanguages)}},dependencies:[yt,me,q,vt,_t,St]})}}return n})();function pl(n,t){n&1&&S(0,"span",3)}function ul(n,t){n&1&&S(0,"span",3)}var Yo=(()=>{class n{constructor(){this.dividers=!0,this.iconSize="sm",this.iconColor=""}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=N({type:n,selectors:[["app-contacts"]],inputs:{dividers:"dividers",iconSize:"iconSize",iconColor:"iconColor"},decls:17,vars:8,consts:[["fxLayoutAlign","center center",1,"item"],[3,"color","ngClass"],[1,"px-1"],[1,"v-divider"]],template:function(i,r){i&1&&(l(0,"span",0)(1,"mat-icon",1),d(2,"call"),m(),l(3,"span",2),d(4,"+33 (0)7 64 18 44 71 / +224 610 11 92 97"),m()(),K(5,pl,1,0,"span",3),l(6,"span",0)(7,"mat-icon",1),d(8,"location_on"),m(),l(9,"span",2),d(10,"15 Avenue de la R\xE9publique, Conakry, Guin\xE9e"),m()(),K(11,ul,1,0,"span",3),l(12,"span",0)(13,"mat-icon",1),d(14,"mail"),m(),l(15,"span",2),d(16,"contact@kaazoroon.com"),m()()),i&2&&(u(),v("color",r.iconColor)("ngClass","mat-icon-"+r.iconSize),u(4),j(r.dividers?5:-1),u(2),v("color",r.iconColor)("ngClass","mat-icon-"+r.iconSize),u(4),j(r.dividers?11:-1),u(2),v("color",r.iconColor)("ngClass","mat-icon-"+r.iconSize))},dependencies:[je,ie,Ae,q]})}}return n})();var L=class{constructor(t,e,i,r,o,s,a){this.id=t,this.title=e,this.routerLink=i,this.href=r,this.target=o,this.hasSubMenu=s,this.parentId=a}};var Xo=[new L(1,"NAV.HOME","/",null,null,!1,0),new L(2,"NAV.PROPERTIES","/properties",null,null,!1,0),new L(40,"NAV.SERVICES",null,null,null,!0,0),new L(41,"NAV.AGENTS","/agents",null,null,!1,40),new L(42,"NAV.AGENCIES","/",null,null,!1,40),new L(46,"NAV.PRICING","/pricing",null,null,!1,40),new L(70,"NAV.OUR_INFO",null,null,null,!0,0),new L(71,"NAV.ABOUT_US","/about",null,null,!1,70),new L(47,"NAV.TERMS_CONDITIONS","/terms-conditions",null,null,!1,70),new L(45,"FAQs","/faq",null,null,!1,70),new L(60,"NAV.CONTACT_US","/contact",null,null,!1,0)],In=[new L(1,"NAV.HOME","/",null,null,!1,0),new L(2,"NAV.PROPERTIES","/properties",null,null,!1,0),new L(3,"NAV.FAVORITES","/account/favorites",null,null,!1,0),new L(4,"NAV.COMPARE","/compare",null,null,!1,0),new L(40,"NAV.SERVICES",null,null,null,!0,0),new L(41,"NAV.AGENTS","/agents",null,null,!1,40),new L(42,"NAV.AGENCIES","/",null,null,!1,40),new L(46,"NAV.PRICING","/pricing",null,null,!1,40),new L(70,"NAV.OUR_INFO",null,null,null,!0,0),new L(71,"NAV.ABOUT_US","/about",null,null,!1,70),new L(47,"NAV.TERMS_CONDITIONS","/terms-conditions",null,null,!1,70),new L(45,"FAQs","/faq",null,null,!1,70),new L(60,"NAV.CONTACT_US","/contact",null,null,!1,0)];var $e=(()=>{class n{constructor(e,i){this.location=e,this.domHandlerService=i}getVerticalMenuItems(){return In}getHorizontalMenuItems(){return Xo}expandActiveSubMenu(e){let i=this.location.path(),r=decodeURIComponent(i),o=e.filter(s=>s.routerLink===r);if(o[0]){let s=o[0];for(;s.parentId!=0;)s=e.filter(c=>c.id==s.parentId)[0],this.toggleMenuItem(s.id)}}toggleMenuItem(e){let i=this.domHandlerService.winDocument.getElementById("menu-item-"+e),r=this.domHandlerService.winDocument.getElementById("sub-menu-"+e);r&&(r.classList.contains("show")?(r.classList.remove("show"),i.classList.remove("expanded")):(r.classList.add("show"),i.classList.add("expanded")))}closeOtherSubMenus(e,i){let r=e.filter(o=>o.id==i)[0];e.forEach(o=>{if(o.id!=i&&o.parentId==r.parentId||r.parentId==0&&o.id!=i){let s=this.domHandlerService.winDocument.getElementById("sub-menu-"+o.id),a=this.domHandlerService.winDocument.getElementById("menu-item-"+o.id);s&&s.classList.contains("show")&&(s.classList.remove("show"),a.classList.remove("expanded"))}})}closeAllSubMenus(){In.forEach(e=>{let i=this.domHandlerService.winDocument.getElementById("sub-menu-"+e.id),r=this.domHandlerService.winDocument.getElementById("menu-item-"+e.id);i&&i.classList.contains("show")&&(i.classList.remove("show"),r.classList.remove("expanded"))})}static{this.\u0275fac=function(i){return new(i||n)(H(lr),H(Ee))}}static{this.\u0275prov=G({token:n,factory:n.\u0275fac})}}return n})();var hl=(n,t)=>t.id,fl=n=>[n],gl=()=>({exact:!0});function yl(n,t){if(n&1&&(l(0,"a",1),h(1,"translate"),h(2,"translate"),l(3,"span"),d(4),h(5,"translate"),m()()),n&2){let e=k().$implicit;Fe("title",f(1,7,e.title)),v("routerLink",Zt(13,fl,e.routerLink))("routerLinkActiveOptions",Xt(15,gl))("id","menu-item-"+e.id),ue("href",e.routerLink,Le)("aria-label",f(2,9,e.title)),u(4),M(f(5,11,e.title))}}function _l(n,t){if(n&1&&(l(0,"a",2),h(1,"translate"),h(2,"translate"),l(3,"span"),d(4),h(5,"translate"),m()()),n&2){let e=k().$implicit;Fe("title",f(1,6,e.title)),v("id","menu-item-"+e.id),ue("href",e.href||"#",Le)("target",e.target||"_self")("aria-label",f(2,8,e.title)),u(4),M(f(5,10,e.title))}}function vl(n,t){if(n&1&&(l(0,"button",3),h(1,"translate"),h(2,"translate"),l(3,"span"),d(4),h(5,"translate"),m(),l(6,"mat-icon",7),d(7,"arrow_drop_down"),m()()),n&2){let e=k().$implicit,i=ve(6);Fe("title",f(1,5,e.title)),v("matMenuTriggerFor",i)("id","menu-item-"+e.id),ue("aria-label",f(2,7,e.title)),u(4),M(f(5,9,e.title))}}function Sl(n,t){if(n&1&&(l(0,"a",4),h(1,"translate"),h(2,"translate"),l(3,"span"),d(4),h(5,"translate"),m()()),n&2){let e=k().$implicit,i=ve(6);Fe("title",f(1,5,e.title)),v("matMenuTriggerFor",i)("id","menu-item-"+e.id),ue("aria-label",f(2,7,e.title)),u(4),M(f(5,9,e.title))}}function bl(n,t){if(n&1&&(tr(0),K(1,yl,6,16,"a",1)(2,_l,6,12,"a",2)(3,vl,8,11,"button",3)(4,Sl,6,11,"a",4),l(5,"mat-menu",5,0),S(7,"app-horizontal-menu",6),m(),ir()),n&2){let e=t.$implicit;u(),j(e.routerLink&&!e.hasSubMenu?1:-1),u(),j(e.href&&!e.hasSubMenu?2:-1),u(),j(e.hasSubMenu&&e.parentId===0?3:-1),u(),j(e.hasSubMenu&&e.parentId!==0?4:-1),u(3),v("menuParentId",e.id)}}var Jo=(()=>{class n{constructor(e){this.menuService=e}ngOnInit(){this.menuItems=this.menuService.getHorizontalMenuItems(),this.menuItems=this.menuItems.filter(e=>e.parentId==this.menuParentId)}static{this.\u0275fac=function(i){return new(i||n)(x($e))}}static{this.\u0275cmp=N({type:n,selectors:[["app-horizontal-menu"]],inputs:{menuParentId:"menuParentId"},features:[Wt([$e])],decls:2,vars:0,consts:[["menu","matMenu"],["mat-button","","routerLinkActive","horizontal-active-link",3,"routerLink","routerLinkActiveOptions","id","title"],["mat-button","",3,"id","title"],["mat-button","","aria-haspopup","true","aria-expanded","false",3,"matMenuTriggerFor","id","title"],["mat-menu-item","","role","menuitem",3,"matMenuTriggerFor","id","title"],[1,"horizontal-sub-menu"],[3,"menuParentId"],["iconPositionEnd","",1,"caret"]],template:function(i,r){i&1&&ut(0,bl,8,5,"ng-container",null,hl),i&2&&dt(r.menuItems)},dependencies:[Ce,ui,Me,me,q,vt,_t,St,n,te]})}}return n})();var es=(()=>{class n{constructor(e){this.appService=e,this.onMenuIconClick=new At}ngOnInit(){}sidenavToggle(){this.onMenuIconClick.emit()}static{this.\u0275fac=function(i){return new(i||n)(x(gt))}}static{this.\u0275cmp=N({type:n,selectors:[["app-toolbar1"]],outputs:{onMenuIconClick:"onMenuIconClick"},decls:34,vars:17,consts:[["id","top-toolbar",1,"top-toolbar"],["fxLayout","row","fxLayoutAlign","space-between center",1,"theme-container"],["fxLayout","row","fxLayoutAlign","start center"],["fxHide","false","fxHide.gt-sm",""],["mat-button","",3,"click"],[1,"mat-icon-md","m-0"],["fxLayout","row","fxLayoutAlign","start center","fxShow","false","fxShow.gt-sm",""],["fxLayout","row","fxLayoutAlign","start center","fxShow","false","fxShow.gt-md",""],["fxLayout","row","fxLayoutAlign","end center",1,""],["id","main-toolbar",1,"mat-elevation-z2"],["routerLink","/",1,"logo"],["fxShow","false","fxShow.gt-sm","",1,"horizontal-menu"],[3,"menuParentId"],["routerLink","/account/favorites","mat-icon-button","","fxShow","false","fxShow.gt-md","",3,"matTooltip"],["matBadgeSize","small","matBadgeColor","warn","aria-hidden","false",3,"matBadge","matBadgeHidden"],["routerLink","/compare","mat-icon-button","","fxShow","false","fxShow.gt-md","",1,"mr-3","ml-2",3,"matTooltip"],["routerLink","/submit-property","mat-mini-fab","","color","primary","aria-label","Soumettre une propri\xE9t\xE9","fxHide","false","fxHide.gt-xs",""],["aria-hidden","true"],["routerLink","/submit-property","mat-raised-button","","color","primary","fxShow","false","fxShow.gt-xs","",1,"uppercase"]],template:function(i,r){i&1&&(l(0,"mat-toolbar",0)(1,"div",1)(2,"div",2)(3,"span",3)(4,"button",4),D("click",function(){return r.sidenavToggle()}),l(5,"mat-icon",5),d(6,"menu"),m()()(),S(7,"app-contacts",6),m(),S(8,"app-social-icons",7),l(9,"div",8),S(10,"app-lang")(11,"app-user-menu"),m()()(),l(12,"mat-toolbar",9)(13,"div",1)(14,"a",10),S(15,"app-logo"),m(),l(16,"div",11),S(17,"app-horizontal-menu",12),m(),l(18,"div",2)(19,"a",13),h(20,"translate"),l(21,"mat-icon",14),d(22,"favorite_border"),m()(),l(23,"a",15),h(24,"translate"),l(25,"mat-icon",14),d(26,"compare_arrows"),m()(),l(27,"a",16)(28,"mat-icon",17),d(29,"add"),m()(),l(30,"a",18),h(31,"translate"),d(32),h(33,"translate"),m()()()()),i&2&&(u(17),v("menuParentId",0),u(2),v("matTooltip",f(20,9,"FAVORITES")),u(2),v("matBadge",r.appService.nbFavorites)("matBadgeHidden",r.appService.nbFavorites==0),u(2),v("matTooltip",f(24,11,"COMPARE_LIST")),u(2),v("matBadge",r.appService.Data.compareList.length)("matBadgeHidden",r.appService.Data.compareList.length==0),u(5),ue("aria-label",f(31,13,"BTN.SUBMIT_PROPERTY")),u(2),V(" ",f(33,15,"BTN.SUBMIT_PROPERTY")," "))},dependencies:[Ce,ce,ie,yt,fi,Me,me,jr,zr,q,Wr,Yr,Xr,Qo,Wo,wt,Yo,Jo,te],encapsulation:2})}}return n})();var Ml=(n,t)=>t.id,wl=n=>[n],Tl=()=>({exact:!0});function Pl(n,t){if(n&1){let e=ae();l(0,"a",3),h(1,"translate"),h(2,"translate"),D("click",function(){J(e);let r=k().$implicit,o=k();return ee(o.onClick(r.id))}),l(3,"span",4),d(4),h(5,"translate"),m()()}if(n&2){let e=k().$implicit;Fe("title",f(1,7,e.title)),v("routerLink",Zt(13,wl,e.routerLink))("routerLinkActiveOptions",Xt(15,Tl))("id","menu-item-"+e.id),ue("href",e.routerLink,Le)("aria-label",f(2,9,e.title)),u(4),M(f(5,11,e.title))}}function xl(n,t){if(n&1){let e=ae();l(0,"a",5),h(1,"translate"),h(2,"translate"),D("click",function(){J(e);let r=k().$implicit,o=k();return ee(o.onClick(r.id))}),l(3,"span",4),d(4),h(5,"translate"),m()()}if(n&2){let e=k().$implicit;Fe("title",f(1,6,e.title)),v("id","menu-item-"+e.id),ue("href",e.href||"/",Le)("target",e.target||"_self")("aria-label",f(2,8,e.title)),u(4),M(f(5,10,e.title))}}function Ol(n,t){if(n&1){let e=ae();l(0,"button",6),h(1,"translate"),h(2,"translate"),D("click",function(){J(e);let r=k().$implicit,o=k();return ee(o.onClick(r.id))}),l(3,"span",4),d(4),h(5,"translate"),m(),l(6,"mat-icon",7),d(7,"arrow_drop_down"),m()(),l(8,"div",8),S(9,"app-vertical-menu",9),m()}if(n&2){let e=k().$implicit;Fe("title",f(1,6,e.title)),v("id","menu-item-"+e.id),ue("aria-label",f(2,8,e.title)),u(4),M(f(5,10,e.title)),u(4),v("id","sub-menu-"+e.id),u(),v("menuParentId",e.id)}}function Il(n,t){if(n&1&&(l(0,"div",0),K(1,Pl,6,16,"a",1)(2,xl,6,12,"a",2)(3,Ol,10,12),m()),n&2){let e=t.$implicit;u(),j(e.routerLink&&!e.hasSubMenu?1:-1),u(),j(e.href&&!e.hasSubMenu?2:-1),u(),j(e.hasSubMenu?3:-1)}}var ts=(()=>{class n{constructor(e){this.menuService=e}ngOnInit(){this.menuItems=this.menuService.getVerticalMenuItems(),this.menuItems=this.menuItems.filter(e=>e.parentId==this.menuParentId)}onClick(e){this.menuService.toggleMenuItem(e),this.menuService.closeOtherSubMenus(this.menuService.getVerticalMenuItems(),e)}static{this.\u0275fac=function(i){return new(i||n)(x($e))}}static{this.\u0275cmp=N({type:n,selectors:[["app-vertical-menu"]],inputs:{menuParentId:"menuParentId"},features:[Wt([$e])],decls:2,vars:0,consts:[[1,"menu-item"],["mat-button","","fxLayout","row","fxLayoutAlign","start center","routerLinkActive","active-link",3,"routerLink","routerLinkActiveOptions","id","title"],["mat-button","","fxLayout","row","fxLayoutAlign","start center",3,"id","title"],["mat-button","","fxLayout","row","fxLayoutAlign","start center","routerLinkActive","active-link",3,"click","routerLink","routerLinkActiveOptions","id","title"],[1,"menu-title"],["mat-button","","fxLayout","row","fxLayoutAlign","start center",3,"click","id","title"],["mat-button","","fxLayout","row","fxLayoutAlign","start center","aria-haspopup","true","aria-expanded","false",3,"click","id","title"],[1,"menu-expand-icon","transition-2"],["role","menu",1,"sub-menu",3,"id"],[3,"menuParentId"]],template:function(i,r){i&1&&ut(0,Il,4,3,"div",0,Ml),i&2&&dt(r.menuItems)},dependencies:[Ce,ui,ce,ie,Me,me,q,n,te],styles:[".menu-item[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{width:100%;font-weight:400;text-transform:uppercase;padding-left:16px}.menu-item[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]   .mat-icon.menu-expand-icon[_ngcontent-%COMP%]{position:absolute;right:10px;top:10px}.menu-item[_ngcontent-%COMP%]   .mat-mdc-button.expanded[_ngcontent-%COMP%]   .menu-expand-icon[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg)}.sub-menu[_ngcontent-%COMP%]{max-height:0;overflow:hidden;-webkit-transition:max-height .25s ease-out;-moz-transition:max-height .25s ease-out;transition:max-height .25s ease-out}.sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{padding-left:60px}.sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{padding-left:80px}.sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{padding-left:100px}.sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{padding-left:120px}.sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{padding-left:140px}.sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{padding-left:160px}.sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{padding-left:180px}.sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .sub-menu[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{padding-left:200px}.sub-menu[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{padding-left:40px}.sub-menu.show[_ngcontent-%COMP%]{max-height:500px;-webkit-transition:max-height .25s ease-in;-moz-transition:max-height .25s ease-in;transition:max-height .25s ease-in}"]})}}return n})();var Ll=()=>[Tr,Pr];function Fl(n,t){n&1&&(l(0,"mat-error"),d(1),h(2,"translate"),m()),n&2&&(u(),M(f(2,1,"REQUIRED_EMAIL")))}function Rl(n,t){n&1&&(l(0,"mat-error"),d(1),h(2,"translate"),m()),n&2&&(u(),M(f(2,1,"INVALID_EMAIL")))}function Bl(n,t){n&1&&(l(0,"mat-error"),d(1),h(2,"translate"),m()),n&2&&(u(),V(" ",f(2,1,"REQUIRED_MESSAGE"),""))}function Vl(n,t){if(n&1&&(l(0,"google-map",38),S(1,"map-advanced-marker",39,0),m()),n&2){let e=k();v("options",e.mapOptions),u(),v("position",e.markerPosition)}}function zl(n,t){n&1&&S(0,"mat-spinner")}var is=(()=>{class n{constructor(e){this.formBuilder=e,this.currentYear=new Date().getFullYear(),this.markerPosition={lat:9.7125737728088,lng:-13.38957348445813},this.mapOptions={mapId:"8b048f714bd41741",center:this.markerPosition,mapTypeId:"hybrid",zoom:6,clickableIcons:!1,draggable:!1}}ngOnInit(){this.initializeForms()}initializeForms(){this.feedbackForm=this.formBuilder.group({email:["",[He.required,Wi]],message:["",He.required]}),this.subscribeForm=this.formBuilder.group({email:["",[He.required,Wi]]})}onFeedbackFormSubmit(){this.feedbackForm.valid&&this.handleFeedbackSubmission(this.feedbackForm.value)}onSubscribeFormSubmit(){this.subscribeForm.valid&&this.handleSubscription(this.subscribeForm.value)}handleFeedbackSubmission(e){console.log("Feedback Submitted:",e)}handleSubscription(e){console.log("Subscription Submitted:",e)}static{this.\u0275fac=function(i){return new(i||n)(x(Er))}}static{this.\u0275cmp=N({type:n,selectors:[["app-footer"]],decls:94,vars:49,consts:[["markerElem","mapAdvancedMarker"],[3e3],[1,"px-3"],[1,"theme-container"],["fxLayout","column","fxLayout.gt-sm","row wrap","fxLayoutAlign.gt-sm","center center",1,"content","border-lighter","py-5"],["fxFlex","100","fxFlex.gt-sm","40","fxLayout","column","fxLayoutAlign","center center"],[1,"uppercase"],[1,"description","mb-1"],["fxFlex","100","fxFlex.gt-sm","42.4","ngClass.sm","mt-2","ngClass.xs","mt-2"],["fxLayout","row",1,"custom-form",3,"ngSubmit","formGroup"],["appearance","outline","fxFlex","",1,"subscribe-input"],["matInput","","autocomplete","off","formControlName","email",3,"placeholder"],["mat-flat-button","","type","submit","color","primary",1,"subscribe-btn"],[1,"py-5","content","border-lighter"],["fxLayout","row wrap","fxLayoutAlign","space-between"],["fxFlex","100","fxFlex.gt-sm","30","fxFlex.sm","45"],["routerLink","/",1,"logo"],[1,"logo"],["src","assets/images/logos/logo-rectangle-white.svg","alt","logo de Kaazoroon"],[1,"mt-5","mb-3","description"],["fxLayout","row","fxLayoutAlign","start center",1,"mt-2"],["color","primary"],[1,"mx-2"],["fxLayout","row","fxLayoutAlign","start center",1,"mt-1"],["fxLayout","row","fxLayoutAlign","start center",1,"description",3,"iconSize"],["fxFlex","100","fxFlex.gt-sm","30","fxFlex.sm","45","ngClass.xs","pt-5"],[1,"description"],[1,"custom-form","pt-2",3,"ngSubmit","formGroup"],["appearance","outline",1,"w-100"],["matInput","","autocomplete","off","formControlName","email"],["matInput","","formControlName","message","rows","6"],[1,"w-100","text-center"],["mat-flat-button","","color","primary","type","submit",1,"uppercase"],["fxFlex","100","fxFlex.gt-sm","30","ngClass.lt-md","pt-5"],[1,"uppercase","mb-3"],["fxLayout","row","fxLayout.xs","column","fxLayoutAlign","space-between center",1,"copyright"],["ngClass.xs","mt-1"],["mat-button","","href","/","target","_blank","color","warn"],["height","308px","width","100%",3,"options"],[3,"position"]],template:function(i,r){i&1&&(l(0,"footer")(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"h2",6),d(6),h(7,"translate"),m(),l(8,"p",7),d(9),h(10,"translate"),m()(),l(11,"div",8)(12,"form",9),D("ngSubmit",function(){return r.onSubscribeFormSubmit()}),l(13,"mat-form-field",10)(14,"mat-label"),d(15),h(16,"translate"),m(),S(17,"input",11),h(18,"translate"),m(),l(19,"button",12),d(20),h(21,"translate"),m()()()(),l(22,"div",13)(23,"div",14)(24,"div",15)(25,"a",16)(26,"div",17),S(27,"img",18),m()(),l(28,"p",19),d(29),h(30,"translate"),m(),l(31,"p",20)(32,"mat-icon",21),d(33,"location_on"),m(),l(34,"span",22),d(35,"15 Avenue de la R\xE9publique, Conakry, Guin\xE9e"),m()(),l(36,"p",23)(37,"mat-icon",21),d(38,"call"),m(),l(39,"span",22),d(40,"+33 (0)7 64 18 44 71 / +224 610 11 92 97"),m()(),l(41,"p",23)(42,"mat-icon",21),d(43,"mail_outline"),m(),l(44,"span",22),d(45,"contact@kaazoroon.com"),m()(),l(46,"p",23)(47,"mat-icon",21),d(48,"schedule"),m(),l(49,"span",22),d(50),h(51,"translate"),m()(),S(52,"app-social-icons",24),m(),l(53,"div",25)(54,"h2",6),d(55,"Feedback"),m(),l(56,"p",26),d(57),h(58,"translate"),m(),l(59,"form",27),D("ngSubmit",function(){return r.onFeedbackFormSubmit()}),l(60,"mat-form-field",28)(61,"mat-label"),d(62),h(63,"translate"),m(),S(64,"input",29),K(65,Fl,3,3,"mat-error")(66,Rl,3,3,"mat-error"),m(),l(67,"mat-form-field",28)(68,"mat-label"),d(69),h(70,"translate"),m(),S(71,"textarea",30),K(72,Bl,3,3,"mat-error"),m(),l(73,"div",31)(74,"button",32),d(75),h(76,"translate"),m()()()(),l(77,"div",33)(78,"h2",34),d(79),h(80,"translate"),m(),K(81,Vl,3,2)(82,zl,1,0),Jn(83,81,Ll,null,82,null,null,1,Zn),er(),m()()(),l(85,"div",35)(86,"p",36),d(87),h(88,"translate"),m(),l(89,"p"),d(90),h(91,"translate"),l(92,"a",37),d(93,"Kaazoroon group"),m()()()()()()),i&2&&(u(6),V(" ",f(7,21,"MESSAGES.SUBSCRIBE_NEWSLETTER")," "),u(3),V(" ",f(10,23,"MESSAGES.SUBSCRIBE_NEWSLETTER_DESCRIPTION")," "),u(3),v("formGroup",r.subscribeForm),u(3),M(f(16,25,"EMAIL")),u(2),v("placeholder",f(18,27,"EMAIL")),u(3),V(" ",f(21,29,"BTN.SUBSCRIBE")," "),u(9),V(" ",f(30,31,"MESSAGES.CONTACT_AND_SCHEDULE_DESCRIPTION")," "),u(21),V(" ",f(51,33,"SCHEDULE")," "),u(2),v("iconSize","lg"),u(5),M(f(58,35,"CUSTOMERS_FEEDBACK")),u(2),v("formGroup",r.feedbackForm),u(3),M(f(63,37,"EMAIL")),u(3),j(r.feedbackForm.controls.email.errors!=null&&r.feedbackForm.controls.email.errors.required?65:-1),u(),j(r.feedbackForm.controls.email.hasError("invalidEmail")?66:-1),u(3),M(f(70,39,"MESSAGE")),u(3),j(r.feedbackForm.controls.message.errors!=null&&r.feedbackForm.controls.message.errors.required?72:-1),u(3),V(" ",f(76,41,"BTN.SUBMIT")," "),u(4),M(f(80,43,"OUR_LOCATION")),u(8),nr(" Copyright \xA9 ",r.currentYear," ",f(88,45,"COPYRIGHT")," "),u(3),V(" ",f(91,47,"DEVELOPPER_BY")," "))},dependencies:[Ce,oi,ii,ni,ri,si,ai,ce,ie,ft,Ae,Me,me,q,_i,yi,gi,Zr,Jr,wt,te]})}}return n})();var Ul=["sidenav"];function Kl(n,t){if(n&1){let e=ae();l(0,"app-toolbar1",14),D("onMenuIconClick",function(){J(e),k();let r=ve(2);return ee(r.toggle())}),m()}}function ql(n,t){if(n&1){let e=ae();l(0,"mat-icon",15),D("click",function(){J(e);let r=k();return ee(r.changeTheme("orange-dark"))}),d(1,"nights_stay"),m()}}function $l(n,t){if(n&1){let e=ae();l(0,"mat-icon",15),D("click",function(){J(e);let r=k();return ee(r.changeTheme("kaazoroon-blue"))}),d(1,"wb_sunny"),m()}}function Gl(n,t){if(n&1){let e=ae();l(0,"div",16),D("click",function(){J(e);let r=k();return ee(r.scrollToTop())}),l(1,"mat-icon"),d(2,"arrow_upward"),m()()}}var ns="favoritesKey",os=(()=>{class n{constructor(e,i,r){this.appSettings=e,this.router=i,this.platformId=r,this.themeService=F(di),this.appService=F(gt),this.authService=F(Ue),this.domHandlerService=F(Ee),this.seoService=F(Ur),this.transferState=F(Wn),this.showBackToTop=!1,this.scrolledCount=0,this.settings=this.appSettings.settings,this.isBrowser=Q(this.platformId)}ngOnInit(){if(this.isBrowser&&(this.toolbarTypeOption=this.settings.toolbar,this.headerTypeOption=this.settings.header,this.searchPanelVariantOption=this.settings.searchPanelVariant,this.authService.isLoggedIn())){let e=this.transferState.get(ns,null);e?this.appService.nbFavorites=e.length:this.appService.findFavorites().subscribe(i=>{this.appService.nbFavorites=i.length,this.transferState.set(ns,i)})}}changeTheme(e){this.settings.theme=e,this.themeService.updateTheme(e)}onWindowScroll(){if(this.isBrowser){let e=Math.max(this.domHandlerService.window?.pageYOffset,this.domHandlerService.winDocument.documentElement.scrollTop,this.domHandlerService.winDocument.body.scrollTop);if(e>300?this.showBackToTop=!0:this.showBackToTop=!1,this.settings.stickyMenuToolbar){let r=this.domHandlerService.winDocument.getElementById("top-toolbar");r&&(e>=r.clientHeight?this.settings.mainToolbarFixed=!0:this.settings.mainToolbarFixed=!1)}let i=this.domHandlerService.winDocument.getElementById("load-more");i&&this.domHandlerService.window?.innerHeight>i.getBoundingClientRect().top+120&&(this.settings.loadMore.complete||this.settings.loadMore.start&&(this.scrolledCount<this.settings.loadMore.step?(this.scrolledCount++,this.settings.loadMore.load||(this.settings.loadMore.load=!0)):(this.settings.loadMore.start=!1,this.scrolledCount=0)))}}scrollToTop(){if(this.isBrowser){var e=200,i=-this.domHandlerService.window?.pageYOffset/(e/20),r=setInterval(()=>{this.domHandlerService.window?.pageYOffset!=0?this.domHandlerService.window?.scrollBy(0,i):clearInterval(r)},10);this.domHandlerService.window?.innerWidth<=768&&this.domHandlerService.winScroll(0,0)}}ngAfterViewInit(){this.isBrowser&&(setTimeout(()=>{this.domHandlerService.winDocument.getElementById("preloader")?.classList.add("hide")},900),this.router.events.subscribe(e=>{e instanceof Bt&&(this.sidenav.close(),this.settings.mainToolbarFixed=!1,this.domHandlerService.winScroll(0,0))}))}static{this.\u0275fac=function(i){return new(i||n)(x(Ye),x(be),x(se))}}static{this.\u0275cmp=N({type:n,selectors:[["app-pages"]],viewQuery:function(i,r){if(i&1&&Dt(Ul,5),i&2){let o;Lt(o=Ft())&&(r.sidenav=o.first)}},hostBindings:function(i,r){i&1&&D("scroll",function(){return r.onWindowScroll()},!1,Yn)},decls:23,vars:16,consts:[["sidenav",""],["mode","over",1,"sidenav","mat-elevation-z6",3,"opened"],["mat-icon-button","","color","warn",1,"close",3,"click"],["color","warn"],[1,"divider"],[1,"vertical-menu-wrapper"],["pointerEventsMethod","scrollbar"],[3,"menuParentId"],["fxLayout","row","fxLayoutAlign","center center",3,"iconSize","iconColor"],["fxLayout","column","fxLayoutAlign","start stretch",1,"page-wrapper"],[3,"ngClass"],["fxFlex","grow",1,"sticky-footer-helper"],["fxLayout","row","fxLayoutAlign","center center",1,"options-icon"],["fxLayout","row","fxLayoutAlign","center center",1,"back-to-top"],[3,"onMenuIconClick"],[3,"click"],["fxLayout","row","fxLayoutAlign","center center",1,"back-to-top",3,"click"]],template:function(i,r){if(i&1){let o=ae();l(0,"mat-sidenav-container")(1,"mat-sidenav",1,0)(3,"button",2),D("click",function(){J(o);let a=ve(2);return ee(a.close())}),l(4,"mat-icon",3),d(5,"close"),m()(),S(6,"div",4),l(7,"div",5)(8,"ng-scrollbar",6),S(9,"app-vertical-menu",7),m()(),S(10,"div",4)(11,"app-social-icons",8),m(),l(12,"mat-sidenav-content",9)(13,"header",10),K(14,Kl,1,0,"app-toolbar1"),m(),l(15,"main"),S(16,"router-outlet"),m(),S(17,"div",11)(18,"app-footer"),l(19,"div",12),K(20,ql,2,0,"mat-icon")(21,$l,2,0,"mat-icon"),m(),K(22,Gl,3,0,"div",13),m()()}i&2&&(u(),v("opened",!1),u(8),v("menuParentId",0),u(2),v("iconSize","xlg")("iconColor","primary"),u(2),Nt("has-bg-image",r.settings.headerBgImage)("has-bg-video",r.settings.headerBgVideo)("main-toolbar-fixed",r.settings.mainToolbarFixed),v("ngClass","toolbar-"+r.settings.toolbar),u(),j(r.settings.toolbar==1?14:-1),u(),Nt("content-offset-to-top",r.settings.contentOffsetToTop),u(5),j(r.settings.theme==="kaazoroon-blue"?20:21),u(2),j(r.showBackToTop?22:-1))},dependencies:[je,pi,ce,ie,ft,Ae,hi,q,$r,Gr,qr,Qr,wt,es,ts,is],styles:[".sidenav[_ngcontent-%COMP%]{position:fixed;z-index:999999;width:250px;padding:4px 16px;bottom:0;top:0}.sidenav[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{margin-left:178px}.sidenav[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{margin:8px 0}.sidenav[_ngcontent-%COMP%]   .vertical-menu-wrapper[_ngcontent-%COMP%]{height:calc(100vh - 140px)}.options[_ngcontent-%COMP%]{position:fixed;width:270px;z-index:999999}.options[_ngcontent-%COMP%]   .op-header[_ngcontent-%COMP%]{height:64px;padding:0 14px}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]{padding:6px 14px}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:6px 0}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;margin:12px 0 6px}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   .skin-primary[_ngcontent-%COMP%]{width:24px;height:24px;padding:0;overflow:hidden;cursor:pointer}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   .skin-primary[_ngcontent-%COMP%]   .skin-secondary[_ngcontent-%COMP%]{width:0;height:0;padding:0;border-bottom:24px solid;border-left:24px solid transparent}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   .skin-primary.blue[_ngcontent-%COMP%]{background-color:#0a3981;border:1px solid #0a3981}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   .skin-primary.green[_ngcontent-%COMP%]{background-color:#689f38;border:1px solid #689f38}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   .skin-primary.red[_ngcontent-%COMP%]{background-color:#d32f2f;border:1px solid #d32f2f}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   .skin-primary.pink[_ngcontent-%COMP%]{background-color:#c2185b;border:1px solid #c2185b}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   .skin-primary.purple[_ngcontent-%COMP%]{background-color:#7b1fa2;border:1px solid #7b1fa2}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   .skin-primary.grey[_ngcontent-%COMP%]{background-color:#455a64;border:1px solid #455a64}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   .skin-primary.orange-dark[_ngcontent-%COMP%]{background-color:#f4511e;border:1px solid #f4511e}.options[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]   .skin-primary.orange-dark[_ngcontent-%COMP%]   .skin-secondary[_ngcontent-%COMP%]{border-bottom-color:#303030}.options[_ngcontent-%COMP%]   .mat-mdc-radio-group[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column}.options[_ngcontent-%COMP%]   .mat-mdc-radio-group[_ngcontent-%COMP%]   .mat-mdc-radio-button[_ngcontent-%COMP%]{margin:2px 0}.options[_ngcontent-%COMP%]   .mat-mdc-slide-toggle[_ngcontent-%COMP%]{height:auto}.options[_ngcontent-%COMP%]   ng-scrollbar[_ngcontent-%COMP%]{height:calc(100vh - 64px)}.op-image[_ngcontent-%COMP%]{box-shadow:0 0 2px #ccc;border:2px solid;border-color:transparent;cursor:pointer;transition:.2s}.options-icon[_ngcontent-%COMP%]{position:fixed;top:200px;right:0;width:40px;height:40px;background:#000000b3;color:#fff;cursor:pointer;z-index:99999}@-moz-keyframes spin{to{-moz-transform:rotate(360deg)}}@-webkit-keyframes _ngcontent-%COMP%_spin{to{-webkit-transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_spin{to{transform:rotate(360deg)}}.back-to-top[_ngcontent-%COMP%]{position:fixed;width:40px;height:40px;cursor:pointer;z-index:999999;right:20px;bottom:20px;opacity:.5;color:#fff;background-color:#000000bf;border-radius:50%;transition:.3s}.back-to-top[_ngcontent-%COMP%]:hover{opacity:.9}"]})}}return n})();var ss=(()=>{class n{constructor(e,i){this.router=e,this.domHandlerService=i}ngOnInit(){}goHome(){this.router.navigate(["/"])}ngAfterViewInit(){this.domHandlerService.winDocument.getElementById("preloader")?.classList.add("hide")}static{this.\u0275fac=function(i){return new(i||n)(x(be),x(Ee))}}static{this.\u0275cmp=N({type:n,selectors:[["app-not-found"]],decls:29,vars:12,consts:[["fxLayout","row","fxLayoutAlign","center center",1,"h-100"],["fxFlex","80","fxFlex.gt-sm","30","fxFlex.sm","60"],[1,"p-0","mat-elevation-z6","box"],["fxLayout","column","fxLayoutAlign","center center",1,"bg-primary","box-header"],[1,"mat-icon-xlg"],[1,"error"],["fxLayout","column","fxLayoutAlign","end center",1,"box-content"],["fxLayout","column","fxLayoutAlign","center center",1,"mat-elevation-z8","box-content-inner","p-3","bg-card"],[1,"box-text"],["appearance","outline",1,"w-100"],["matInput","",3,"placeholder"],[1,"box-footer"],["mat-raised-button","","color","primary","type","button",1,"mat-elevation-z8",3,"click"],[1,"mat-icon-md","m-0"]],template:function(i,r){i&1&&(l(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"mat-icon",4),d(5,"error"),m(),l(6,"h1",5),d(7,"404"),m()(),l(8,"div",6)(9,"div",7)(10,"p",8),d(11),h(12,"translate"),m(),l(13,"p",8),d(14),h(15,"translate"),m(),l(16,"mat-form-field",9)(17,"mat-label"),d(18),h(19,"translate"),m(),S(20,"input",10),h(21,"translate"),m()(),l(22,"div",11)(23,"button",12),D("click",function(){return r.goHome()}),l(24,"mat-icon",13),d(25,"home"),m()(),l(26,"button",12),D("click",function(){return r.goHome()}),l(27,"mat-icon",13),d(28,"search"),m()()()()()()()),i&2&&(u(11),M(f(12,4,"MESSAGES.404_MESSAGE_1")),u(3),M(f(15,6,"MESSAGES.404_MESSAGE_2")),u(4),V(" ",f(19,8,"SEARCH_KEYWORD")," "),u(2),v("placeholder",f(21,10,"SEARCH_KEYWORD")))},dependencies:[ce,ie,ft,me,q,_i,yi,gi,te],styles:[".box[_ngcontent-%COMP%]{position:relative;overflow:hidden;border-radius:4px}.box[_ngcontent-%COMP%]   .box-header[_ngcontent-%COMP%]{height:180px}.box[_ngcontent-%COMP%]   .box-header[_ngcontent-%COMP%]   .error[_ngcontent-%COMP%]{font-size:48px;margin-bottom:12px}.box[_ngcontent-%COMP%]   .box-content[_ngcontent-%COMP%]{position:relative;height:180px}.box[_ngcontent-%COMP%]   .box-content[_ngcontent-%COMP%]   .box-content-inner[_ngcontent-%COMP%]{position:absolute;top:-34px;left:34px;right:34px;height:180px;border-radius:4px}.box[_ngcontent-%COMP%]   .box-content[_ngcontent-%COMP%]   .box-content-header[_ngcontent-%COMP%]{font-size:16px;text-transform:uppercase;font-weight:500}.box[_ngcontent-%COMP%]   .box-content[_ngcontent-%COMP%]   .box-content-header.server-error[_ngcontent-%COMP%]{margin-bottom:36px}.box[_ngcontent-%COMP%]   .box-content[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]{margin-bottom:10px;text-align:center}.box[_ngcontent-%COMP%]   .box-content[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]::last-child{margin-bottom:15px}.box[_ngcontent-%COMP%]   .box-content[_ngcontent-%COMP%]   .box-footer[_ngcontent-%COMP%]{position:relative;bottom:16px}.box[_ngcontent-%COMP%]   .box-content[_ngcontent-%COMP%]   .box-footer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:70px;margin:0 2px}"]})}}return n})();var as=(()=>{class n{constructor(e,i,r){this.fb=e,this.router=i,this.domHandlerService=r,this.authService=F(Ue),this.date=new Date}ngOnInit(){this.getCurrentUser(),this.domHandlerService.isBrowser&&(this.timerInterval=setInterval(()=>{this.date=new Date},1e3)),this.form=this.fb.group({password:[null,He.compose([He.required,He.minLength(3)])]})}ngAfterViewInit(){this.domHandlerService.winDocument.getElementById("preloader")?.classList.add("hide")}ngOnDestroy(){clearInterval(this.timerInterval)}getCurrentUser(){this.authService.isLoggedIn()&&this.authService.getCurrentUser().subscribe({next:e=>{this.currentUser=e},error:e=>{console.error("An error occurred while getting current user.:",e)}})}onSubmit(){this.form.valid&&this.router.navigate(["/"])}static{this.\u0275fac=function(i){return new(i||n)(x(Mr),x(be),x(Ee))}}static{this.\u0275cmp=N({type:n,selectors:[["app-lock-screen"]],decls:17,vars:13,consts:[["fxFlexFill",""],["fxFlexFill","","fxLayout","column","fxLayoutAlign","center center",1,"p-3","lock-screen"],["fxLayout","row","fxLayoutAlign","center center",3,"ngSubmit","formGroup"],[1,"name","text-muted"],["src","assets/images/others/user.jpg","alt","",1,"mat-elevation-z4"],["formControlName","password","required","","type","password",3,"placeholder"],["mat-icon-button","","color","primary","type","submit",1,"submit",3,"disabled"],["mat-button","","routerLink","/login","color","primary"],[1,"time"]],template:function(i,r){i&1&&(l(0,"mat-drawer-container",0)(1,"div",1)(2,"form",2),D("ngSubmit",function(){return r.onSubmit()}),l(3,"h3",3),d(4),m(),S(5,"img",4)(6,"input",5),h(7,"translate"),l(8,"button",6)(9,"mat-icon"),d(10,"arrow_forward"),m()(),l(11,"a",7),d(12),h(13,"translate"),m()(),l(14,"p",8),d(15),h(16,"date"),m()()()),i&2&&(u(2),v("formGroup",r.form),u(2),M(r.currentUser==null?null:r.currentUser.username),u(2),v("placeholder",f(7,6,"ENTER_PASSWORD")),u(2),v("disabled",r.form.invalid),u(4),M(f(13,8,"LOG_IN_WITH_DIFFERENT_ACCOUNT")),u(3),M(rr(16,10,r.date,"hh:mm:ss a")))},dependencies:[Ce,oi,ii,ni,ri,Cr,si,ai,ce,ie,Vr,Me,hi,q,Kr,mr,te],styles:[`.lock-screen{position:relative}.lock-screen:before{content:"";position:absolute;top:0;z-index:-1;width:100%;height:100%;background-image:url("./media/default-bg-NRJGFUV4.png");background-repeat:repeat;background-size:350px;background-position:center;opacity:1}.lock-screen form{position:relative}.lock-screen form .name{position:absolute;top:-2px;right:0;text-transform:uppercase;font-weight:600}.lock-screen form img{border-radius:50%;width:90px;height:90px;border:8px solid #fff}.lock-screen form input{background:#fff;padding:16px 50px 16px 16px;width:140px;margin-left:-6px;border:0;border-top-right-radius:3px;border-bottom-right-radius:3px;text-align:center;outline:none;box-shadow:4px 0 4px -2px #0003,4px 3px 4px #00000024,4px 1px 4px #0000001f}.lock-screen form a{position:absolute;bottom:-8px;right:-8px;margin:0;font-size:13px}.lock-screen form button.submit{margin-left:-50px}.lock-screen p.time{font-size:48px;margin-top:16px}
`],encapsulation:2})}}return n})();var Ql=[{path:"",component:os,children:[{path:"home",redirectTo:"/",pathMatch:"full"},{path:"",loadChildren:()=>import("./chunk-IWTKQJYQ.js").then(n=>n.HomeModule)},{path:"about",loadChildren:()=>import("./chunk-6DWJXFDP.js").then(n=>n.AboutModule)},{path:"contact",loadChildren:()=>import("./chunk-ZBWK7QPF.js").then(n=>n.ContactModule)},{path:"properties",loadChildren:()=>import("./chunk-ZTM7O3ZT.js").then(n=>n.PropertiesModule)},{path:"agents",loadChildren:()=>import("./chunk-FP7NBKFD.js").then(n=>n.AgentsModule)},{path:"compare",loadChildren:()=>import("./chunk-R6VXQBYV.js").then(n=>n.CompareModule)},{path:"pricing",loadChildren:()=>import("./chunk-SBAUJBW5.js").then(n=>n.PricingModule)},{path:"faq",loadChildren:()=>import("./chunk-Q4ESS7L7.js").then(n=>n.FaqModule)},{path:"login",loadChildren:()=>import("./chunk-EPVJ7AQW.js").then(n=>n.LoginModule)},{path:"users/registration/confirm",loadChildren:()=>import("./chunk-EPVJ7AQW.js").then(n=>n.LoginModule)},{path:"register",loadChildren:()=>import("./chunk-GBRNNXDD.js").then(n=>n.RegisterModule)},{path:"terms-conditions",loadChildren:()=>import("./chunk-BNTCCNTZ.js").then(n=>n.TermsConditionsModule)},{path:"account",loadChildren:()=>import("./chunk-TBPIKL2X.js").then(n=>n.AccountModule),canMatch:[eo]},{path:"submit-property",loadChildren:()=>import("./chunk-O5D7LTLX.js").then(n=>n.SubmitPropertyModule)}]},{path:"lock-screen",component:as},{path:"**",component:ss}],ls=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=_e({type:n})}static{this.\u0275inj=ye({imports:[Qi.forRoot(Ql,{preloadingStrategy:kr,initialNavigation:"enabledBlocking",useHash:!1}),Qi]})}}return n})();var cs=(()=>{class n{constructor(e,i){this.platformId=e,this.document=i,this.isLoaded=!1}loadGoogleAnalytics(){if(Q(this.platformId)&&!this.isLoaded){let e=this.document.createElement("script");e.async=!0,e.src="https://www.googletagmanager.com/gtag/js?id=G-95SSS24M3X",this.document.head.appendChild(e),e.onload=()=>{let i=this.document.createElement("script");i.innerHTML=`
          window.dataLayer = window.dataLayer || [];
          function gtag(){dataLayer.push(arguments);}
          gtag('js', new Date());
          gtag('config', 'G-95SSS24M3X');
        `,this.document.head.appendChild(i),this.isLoaded=!0}}}static{this.\u0275fac=function(i){return new(i||n)(H(se),H(Se))}}static{this.\u0275prov=G({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var ms=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=N({type:n,selectors:[["app-cookie-consent-dialog"]],standalone:!0,features:[Yt],decls:41,vars:41,consts:[["mat-dialog-title",""],["align","end"],["mat-button","",3,"mat-dialog-close"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,r){i&1&&(l(0,"h2",0),d(1),h(2,"translate"),m(),l(3,"mat-dialog-content")(4,"p"),d(5),h(6,"translate"),m(),l(7,"h3"),d(8),h(9,"translate"),m(),l(10,"p")(11,"strong"),d(12),h(13,"translate"),m(),d(14),h(15,"translate"),S(16,"br"),l(17,"strong"),d(18),h(19,"translate"),m(),d(20),h(21,"translate"),m(),l(22,"h3"),d(23),h(24,"translate"),m(),l(25,"p"),d(26),h(27,"translate"),m(),l(28,"h3"),d(29),h(30,"translate"),m(),l(31,"p"),d(32),h(33,"translate"),m()(),l(34,"mat-dialog-actions",1)(35,"button",2),d(36),h(37,"translate"),m(),l(38,"button",3),d(39),h(40,"translate"),m()()),i&2&&(u(),M(f(2,15,"COOKIE_CONSENT.TITLE")),u(4),M(f(6,17,"COOKIE_CONSENT.INTRO")),u(3),M(f(9,19,"COOKIE_CONSENT.WHY_USE_COOKIES.TITLE")),u(4),M(f(13,21,"COOKIE_CONSENT.WHY_USE_COOKIES.POINT_1_TITLE")),u(2),V(": ",f(15,23,"COOKIE_CONSENT.WHY_USE_COOKIES.POINT_1_DESCRIPTION")," "),u(4),M(f(19,25,"COOKIE_CONSENT.WHY_USE_COOKIES.POINT_2_TITLE")),u(2),V(": ",f(21,27,"COOKIE_CONSENT.WHY_USE_COOKIES.POINT_2_DESCRIPTION")," "),u(3),M(f(24,29,"COOKIE_CONSENT.YOUR_CONSENT.TITLE")),u(3),M(f(27,31,"COOKIE_CONSENT.YOUR_CONSENT.DESCRIPTION")),u(3),M(f(30,33,"COOKIE_CONSENT.CONTACT.TITLE")),u(3),M(f(33,35,"COOKIE_CONSENT.CONTACT.DESCRIPTION")),u(3),v("mat-dialog-close",!1),u(),V(" ",f(37,37,"BTN.REJECT")," "),u(2),v("mat-dialog-close",!0),u(),V(" ",f(40,39,"BTN.ACCEPT")," "))},dependencies:[Br,Dr,Lr,Rr,Fr,Hr,me,ci,te]})}}return n})();var Yl=(n,t)=>[n,t],ps="lang",us="theme",ds=(()=>{class n{constructor(e,i,r,o,s,a){this.appSettings=e,this.router=i,this.domHandlerService=r,this.dialog=o,this.document=s,this.platformId=a,this.activatedRoute=F(Ar),this.titleService=F(vr),this.googleAnalyticsService=F(cs),this.themeService=F(di),this.translate=F(li),this.swUpdate=F(Li),this.tags={url:"https://kaazoroon.com/",title:"Kaazoroon | Vente et location de biens immobiliers en Guin\xE9e ",image:"https://kaazoroon.com/assets/images/logos/logo-square-blue.png"},this.settings=this.appSettings.settings,this.translate.addLangs(["fr","en"]),this.translate.setDefaultLang(this.getLang()),this.translate.use(this.getLang()),this.loadTheme(),this.isBrowser=Q(this.platformId),this.swUpdate.versionUpdates.pipe(oe(p=>p.type==="VERSION_READY")).subscribe(p=>{Q(this.platformId)&&(this.document.defaultView?.localStorage).removeItem("token"),s.location.reload()});let c=this.swUpdate.versionUpdates.pipe(oe(p=>p.type==="VERSION_READY"),Oe(p=>({type:"UPDATE_AVAILABLE",current:p.currentVersion,available:p.latestVersion})))}ngOnInit(){if(this.isBrowser){let i=this.document.defaultView?.localStorage;i.getItem("analytics-consent")===null?this.openCookieConsentDialog():i.getItem("analytics-consent")==="true"&&this.googleAnalyticsService.loadGoogleAnalytics()}let e=this.router.events.pipe(oe(i=>i instanceof Bt));Ot(this.translate.onLangChange,e).pipe(Oe(()=>{let i=this.activatedRoute;for(;i.firstChild;)i=i.firstChild;return i}),oe(i=>i.outlet==="primary"),ge(i=>i.data)).subscribe(i=>{let r=i.title;r&&this.titleService.setTitle(this.translate.instant(r))})}openCookieConsentDialog(){this.dialog.open(ms,{width:"600px",disableClose:!0}).afterClosed().subscribe(i=>{localStorage.setItem("analytics-consent",String(i)),i===!0&&this.googleAnalyticsService.loadGoogleAnalytics()})}ngAfterViewInit(){this.router.events.subscribe(e=>{e instanceof Bt&&this.domHandlerService.winScroll(0,0)})}loadTheme(){if(Q(this.platformId)){let e=this.document.defaultView?.localStorage,i=e.getItem(us)||this.themeService.getTheme();this.themeService.updateTheme(i),this.settings.theme=i,this.themeService.themeChanged$.subscribe(r=>{this.settings.theme=r,e.setItem(us,r)})}}getLang(){if(Q(this.platformId)){let e=this.document.defaultView?.localStorage,i=e.getItem(ps)||"fr";return e.setItem(ps,i),i}return"fr"}static{this.\u0275fac=function(i){return new(i||n)(x(Ye),x(be),x(Ee),x(Nr),x(Se),x(se))}}static{this.\u0275cmp=N({type:n,selectors:[["app-root"]],decls:21,vars:9,consts:[["id","app",1,"app",3,"dir","ngClass"],["id","preloader",1,"spinner-wrapper"],[1,"spinner-container"],[1,"spinner-outer"],[1,"spinner"],[1,"left","mask"],[1,"plane"],[1,"top","mask"],[1,"right","mask"],[1,"triangle"],[1,"triangle-plane"],[1,"top-left","mask"],[1,"top-right","mask"],[1,"spinner-text"],["color","#e91e63","role","progressbar","aria-label","Chargement en cours, veuillez patienter...",3,"spinner","meteor"]],template:function(i,r){i&1&&(l(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),S(6,"div",6),m(),l(7,"div",7),S(8,"div",6),m(),l(9,"div",8),S(10,"div",6),m(),l(11,"div",9),S(12,"div",10),m(),l(13,"div",11),S(14,"div",6),m(),l(15,"div",12),S(16,"div",6),m()(),l(17,"p",13),d(18,"Kaazoroon"),m()()()(),S(19,"router-outlet")(20,"ng-progress",14),m()),i&2&&(Nt("main-toolbar-fixed",r.settings.mainToolbarFixed),v("dir",r.settings.rtl?"rtl":"ltr")("ngClass",Rt(6,Yl,r.settings.theme,"toolbar-"+r.settings.toolbar)),u(20),v("spinner",!1)("meteor",!1))},dependencies:[je,pi,xn,Ae,Ir]})}}return n})();var hs=(()=>{class n{constructor(e,i){this.document=e,this.platformId=i,this.router=F(be),this.authService=F(Ue),this.isRefreshing=!1,this.refreshTokenSubject=new Tt(null)}intercept(e,i){return i.handle(this.addTokenToRequest(e)).pipe(Hi(r=>r.status===401&&this.router.url!=="/login"?this.handle401Error(e,i):r.status===404?(this.router.navigate(["/not-found"],{skipLocationChange:!0}),Pt):xt(()=>r)))}addTokenToRequest(e){if(Q(this.platformId)){let r=(this.document.defaultView?.localStorage).getItem("token");if(r&&!e.url.startsWith("https://maps.googleapis.com")){let o=JSON.parse(r),s=new ur({Authorization:`Bearer ${o?.access_token}`});return e.clone({headers:s})}}return e}handle401Error(e,i){if(this.isRefreshing)return this.refreshTokenSubject.pipe(oe(r=>r!==null),Ne(1),ge(()=>i.handle(this.addTokenToRequest(e))));if(this.isRefreshing=!0,this.refreshTokenSubject.next(null),Q(this.platformId)){let r=this.document.defaultView?.localStorage,o={refresh_token:JSON.parse(r.getItem("token"))?.refresh_token};return r.removeItem("token"),this.refreshToken(o).pipe(ge(s=>(r.setItem("token",JSON.stringify(s)),this.refreshTokenSubject.next(s),i.handle(this.addTokenToRequest(e)))),Hi(()=>this.logoutAndThrowError()),mt(()=>this.isRefreshing=!1))}else return this.isRefreshing=!1,Pt}logoutAndThrowError(){return this.logout(),xt(()=>{})}logout(){this.authService.logout().subscribe({next:()=>this.router.navigate(["/login"]),error:e=>console.error("An error occurred while logging out:",e)})}refreshToken(e){return this.authService.refreshToken(e).pipe(De(i=>this.refreshTokenSubject.next(i)))}static{this.\u0275fac=function(i){return new(i||n)(H(Se),H(se))}}static{this.\u0275prov=G({token:n,factory:n.\u0275fac})}}return n})();var fs=(()=>{class n extends mi{constructor(){super(...arguments),this.domHandlerService=F(Ee)}_createContainer(){let e=this.domHandlerService.winDocument.createElement("div");e.classList.add("cdk-overlay-container");let i=this.domHandlerService.winDocument.getElementById("app");i&&(i.appendChild(e),this._containerElement=e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Gn(n)))(r||n)}})()}static{this.\u0275prov=G({token:n,factory:n.\u0275fac})}}return n})();var Xl={fileAccept:"*"};function Zl(n){return new Fi(n,"/assets/i18n/",".json")}function Jl(){return ci.forRoot({loader:{provide:Or,useFactory:Zl,deps:[dr]}})}function ec(){return Ro.register("ngsw-worker.js",{enabled:!ar(),registrationStrategy:"registerWhenStable:30000"})}var gs=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=_e({type:n,bootstrap:[ds]})}static{this.\u0275inj=ye({providers:[Sr(),hr(gr(),fr()),sr({eventCoalescing:!0,runCoalescing:!0}),Ye,{provide:mi,useClass:fs},{provide:Jt,useClass:hs,multi:!0}],imports:[ei,ls,No,wr,xr,zo,qo,io.forRoot(Xl),to,Jl(),ec()]})}}return n})();_r().bootstrapModule(gs).catch(n=>console.error(n));
