-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-NY6FKPF5.js
1 lines (1 loc) · 114 KB
/
main-NY6FKPF5.js
1
import{$ as ut,A as $t,Aa as x,B as je,Ba as yi,C as k,Ca as _i,D as Ae,Da as vi,E as K,Ea as bi,F as Ut,Fa as Xt,G as Be,Ga as Jt,H as $e,Ha as Ci,I as Gt,Ia as Ei,J as ti,Ja as Si,K as zt,Ka as We,L as ni,La as wi,M as ii,Ma as Mi,N as qt,Na as Di,O as Ue,Oa as Ai,P as Ht,Pa as Ti,Q as Wt,Qa as en,R as ri,Ra as Pi,S as Kt,Sa as Oi,T as si,U as Qt,Ua as Vi,V as M,W as O,X as oi,Y as Ge,Z as ct,_ as ae,a as B,aa as ai,b as Se,ba as li,c as Hn,ca as ci,d as Wn,da as H,e as Kn,ea as ui,f as lt,fa as Yt,g as Qn,ga as Te,h as te,ha as Pe,i as Yn,ia as Oe,j as Lt,ja as m,k as Zn,ka as _,l as jt,la as A,m as Bt,ma as ze,n as we,na as di,o as Me,oa as $,p as fe,pa as qe,q as Xn,qa as hi,r as Jn,ra as fi,s as Re,sa as Zt,t as ei,ta as pi,u as C,ua as mi,v as Le,va as gi,w as se,wa as w,x as De,xa as me,y as oe,ya as ne,z as pe,za as He}from"./chunk-WUT6GOCX.js";var b=function(i){return i[i.State=0]="State",i[i.Transition=1]="Transition",i[i.Sequence=2]="Sequence",i[i.Group=3]="Group",i[i.Animate=4]="Animate",i[i.Keyframes=5]="Keyframes",i[i.Style=6]="Style",i[i.Trigger=7]="Trigger",i[i.Reference=8]="Reference",i[i.AnimateChild=9]="AnimateChild",i[i.AnimateRef=10]="AnimateRef",i[i.Query=11]="Query",i[i.Stagger=12]="Stagger",i}(b||{}),J="*";function Fi(i,e=null){return{type:b.Sequence,steps:i,options:e}}function tn(i){return{type:b.Style,styles:i,offset:null}}var le=class{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},Ke=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0,s=this.players.length;s==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==s&&this._onFinish()}),o.onDestroy(()=>{++n==s&&this._onDestroy()}),o.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(n=>{let r=n.totalTime?Math.min(1,t/n.totalTime):1;n.setPosition(r)})}getPosition(){let e=this.players.reduce((t,n)=>t===null||n.totalTime>t.totalTime?n:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},dt="!";function Ni(i){return new C(3e3,!1)}function Kr(){return new C(3100,!1)}function Qr(){return new C(3101,!1)}function Yr(i){return new C(3001,!1)}function Zr(i){return new C(3003,!1)}function Xr(i){return new C(3004,!1)}function Jr(i,e){return new C(3005,!1)}function es(){return new C(3006,!1)}function ts(){return new C(3007,!1)}function ns(i,e){return new C(3008,!1)}function is(i){return new C(3002,!1)}function rs(i,e,t,n,r){return new C(3010,!1)}function ss(){return new C(3011,!1)}function os(){return new C(3012,!1)}function as(){return new C(3200,!1)}function ls(){return new C(3202,!1)}function cs(){return new C(3013,!1)}function us(i){return new C(3014,!1)}function ds(i){return new C(3015,!1)}function hs(i){return new C(3016,!1)}function fs(i,e){return new C(3404,!1)}function ps(i){return new C(3502,!1)}function ms(i){return new C(3503,!1)}function gs(){return new C(3300,!1)}function ys(i){return new C(3504,!1)}function _s(i){return new C(3301,!1)}function vs(i,e){return new C(3302,!1)}function bs(i){return new C(3303,!1)}function Cs(i,e){return new C(3400,!1)}function Es(i){return new C(3401,!1)}function Ss(i){return new C(3402,!1)}function ws(i,e){return new C(3505,!1)}function ce(i){switch(i.length){case 0:return new le;case 1:return i[0];default:return new Ke(i)}}function Wi(i,e,t=new Map,n=new Map){let r=[],s=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),u=c==o,d=u&&a||new Map;l.forEach((E,v)=>{let f=v,y=E;if(v!=="offset")switch(f=i.normalizePropertyName(f,r),y){case dt:y=t.get(v);break;case J:y=n.get(v);break;default:y=i.normalizeStyleValue(v,f,y,r);break}d.set(f,y)}),u||s.push(d),a=d,o=c}),r.length)throw ps(r);return s}function Mn(i,e,t,n){switch(e){case"start":i.onStart(()=>n(t&&nn(t,"start",i)));break;case"done":i.onDone(()=>n(t&&nn(t,"done",i)));break;case"destroy":i.onDestroy(()=>n(t&&nn(t,"destroy",i)));break}}function nn(i,e,t){let n=t.totalTime,r=!!t.disabled,s=Dn(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,n??i.totalTime,r),o=i._data;return o!=null&&(s._data=o),s}function Dn(i,e,t,n,r="",s=0,o){return{element:i,triggerName:e,fromState:t,toState:n,phaseName:r,totalTime:s,disabled:!!o}}function z(i,e,t){let n=i.get(e);return n||i.set(e,n=t),n}function Ii(i){let e=i.indexOf(":"),t=i.substring(1,e),n=i.slice(e+1);return[t,n]}var Ms=typeof document>"u"?null:document.documentElement;function An(i){let e=i.parentNode||i.host||null;return e===Ms?null:e}function Ds(i){return i.substring(1,6)=="ebkit"}var ge=null,ki=!1;function As(i){ge||(ge=Ts()||{},ki=ge.style?"WebkitAppearance"in ge.style:!1);let e=!0;return ge.style&&!Ds(i)&&(e=i in ge.style,!e&&ki&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in ge.style)),e}function Ts(){return typeof document<"u"?document.body:null}function Ki(i,e){for(;e;){if(e===i)return!0;e=An(e)}return!1}function Qi(i,e,t){if(t)return Array.from(i.querySelectorAll(e));let n=i.querySelector(e);return n?[n]:[]}var Tn=(()=>{let e=class e{validateStyleProperty(n){return As(n)}matchesElement(n,r){return!1}containsElement(n,r){return Ki(n,r)}getParentElement(n){return An(n)}query(n,r,s){return Qi(n,r,s)}computeStyle(n,r,s){return s||""}animate(n,r,s,o,a,l=[],c){return new le(s,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac});let i=e;return i})(),Fn=class Fn{};Fn.NOOP=new Tn;var ve=Fn,be=class{};var Ps=1e3,Yi="{{",Os="}}",Zi="ng-enter",cn="ng-leave",ht="ng-trigger",yt=".ng-trigger",xi="ng-animating",un=".ng-animating";function ie(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:dn(parseFloat(e[1]),e[2])}function dn(i,e){switch(e){case"s":return i*Ps;default:return i}}function _t(i,e,t){return i.hasOwnProperty("duration")?i:Vs(i,e,t)}function Vs(i,e,t){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,s=0,o="";if(typeof i=="string"){let a=i.match(n);if(a===null)return e.push(Ni(i)),{duration:0,delay:0,easing:""};r=dn(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(s=dn(parseFloat(l),a[4]));let c=a[5];c&&(o=c)}else r=i;if(!t){let a=!1,l=e.length;r<0&&(e.push(Kr()),a=!0),s<0&&(e.push(Qr()),a=!0),a&&e.splice(l,0,Ni(i))}return{duration:r,delay:s,easing:o}}function Fs(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function ee(i,e,t){e.forEach((n,r)=>{let s=Pn(r);t&&!t.has(r)&&t.set(r,i.style[s]),i.style[s]=n})}function _e(i,e){e.forEach((t,n)=>{let r=Pn(n);i.style[r]=""})}function Qe(i){return Array.isArray(i)?i.length==1?i[0]:Fi(i):i}function Ns(i,e,t){let n=e.params||{},r=Xi(i);r.length&&r.forEach(s=>{n.hasOwnProperty(s)||t.push(Yr(s))})}var hn=new RegExp(`${Yi}\\s*(.+?)\\s*${Os}`,"g");function Xi(i){let e=[];if(typeof i=="string"){let t;for(;t=hn.exec(i);)e.push(t[1]);hn.lastIndex=0}return e}function Ze(i,e,t){let n=`${i}`,r=n.replace(hn,(s,o)=>{let a=e[o];return a==null&&(t.push(Zr(o)),a=""),a.toString()});return r==n?i:r}var Is=/-+([a-z0-9])/g;function Pn(i){return i.replace(Is,(...e)=>e[1].toUpperCase())}function ks(i,e){return i===0||e===0}function xs(i,e,t){if(t.size&&e.length){let n=e[0],r=[];if(t.forEach((s,o)=>{n.has(o)||r.push(o),n.set(o,s)}),r.length)for(let s=1;s<e.length;s++){let o=e[s];r.forEach(a=>o.set(a,On(i,a)))}}return e}function G(i,e,t){switch(e.type){case b.Trigger:return i.visitTrigger(e,t);case b.State:return i.visitState(e,t);case b.Transition:return i.visitTransition(e,t);case b.Sequence:return i.visitSequence(e,t);case b.Group:return i.visitGroup(e,t);case b.Animate:return i.visitAnimate(e,t);case b.Keyframes:return i.visitKeyframes(e,t);case b.Style:return i.visitStyle(e,t);case b.Reference:return i.visitReference(e,t);case b.AnimateChild:return i.visitAnimateChild(e,t);case b.AnimateRef:return i.visitAnimateRef(e,t);case b.Query:return i.visitQuery(e,t);case b.Stagger:return i.visitStagger(e,t);default:throw Xr(e.type)}}function On(i,e){return window.getComputedStyle(i)[e]}var Rs=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"]),vt=class extends be{normalizePropertyName(e,t){return Pn(e)}normalizeStyleValue(e,t,n,r){let s="",o=n.toString().trim();if(Rs.has(t)&&n!==0&&n!=="0")if(typeof n=="number")s="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(Jr(e,n))}return o+s}};var bt="*";function Ls(i,e){let t=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(n=>js(n,t,e)):t.push(i),t}function js(i,e,t){if(i[0]==":"){let l=Bs(i,t);if(typeof l=="function"){e.push(l);return}i=l}let n=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return t.push(ds(i)),e;let r=n[1],s=n[2],o=n[3];e.push(Ri(r,o));let a=r==bt&&o==bt;s[0]=="<"&&!a&&e.push(Ri(o,r))}function Bs(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,n)=>parseFloat(n)>parseFloat(t);case":decrement":return(t,n)=>parseFloat(n)<parseFloat(t);default:return e.push(hs(i)),"* => *"}}var ft=new Set(["true","1"]),pt=new Set(["false","0"]);function Ri(i,e){let t=ft.has(i)||pt.has(i),n=ft.has(e)||pt.has(e);return(r,s)=>{let o=i==bt||i==r,a=e==bt||e==s;return!o&&t&&typeof r=="boolean"&&(o=r?ft.has(i):pt.has(i)),!a&&n&&typeof s=="boolean"&&(a=s?ft.has(e):pt.has(e)),o&&a}}var Ji=":self",$s=new RegExp(`s*${Ji}s*,?`,"g");function er(i,e,t,n){return new fn(i).build(e,t,n)}var Li="",fn=class{constructor(e){this._driver=e}build(e,t,n){let r=new pn(t);return this._resetContextStyleTimingState(r),G(this,Qe(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=Li,e.collectedStyles=new Map,e.collectedStyles.set(Li,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==b.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,s.push(this.visitState(l,t))}),l.name=c}else if(a.type==b.Transition){let l=this.visitTransition(a,t);n+=l.queryCount,r+=l.depCount,o.push(l)}else t.errors.push(ts())}),{type:b.Trigger,name:e.name,states:s,transitions:o,queryCount:n,depCount:r,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){let s=new Set,o=r||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Xi(l).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}),s.size&&t.errors.push(ns(e.name,[...s.values()]))}return{type:b.State,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=G(this,Qe(e.animation),t),r=Ls(e.expr,t.errors);return{type:b.Transition,matchers:r,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ye(e.options)}}visitSequence(e,t){return{type:b.Sequence,steps:e.steps.map(n=>G(this,n,t)),options:ye(e.options)}}visitGroup(e,t){let n=t.currentTime,r=0,s=e.steps.map(o=>{t.currentTime=n;let a=G(this,o,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:b.Group,steps:s,options:ye(e.options)}}visitAnimate(e,t){let n=qs(e.timings,t.errors);t.currentAnimateTimings=n;let r,s=e.styles?e.styles:tn({});if(s.type==b.Keyframes)r=this.visitKeyframes(s,t);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};n.easing&&(c.easing=n.easing),o=tn(c)}t.currentTime+=n.duration+n.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:b.Animate,timings:n,style:r,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===J?n.push(a):t.errors.push(is(a)):n.push(new Map(Object.entries(a)));let s=!1,o=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let l of a.values())if(l.toString().indexOf(Yi)>=0){s=!0;break}}}),{type:b.Style,styles:n,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,r=t.currentTime,s=t.currentTime;n&&s>0&&(s-=n.duration+n.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),u=c.get(l),d=!0;u&&(s!=r&&s>=u.startTime&&r<=u.endTime&&(t.errors.push(rs(l,u.startTime,u.endTime,s,r)),d=!1),s=u.startTime),d&&c.set(l,{startTime:s,endTime:r}),t.options&&Ns(a,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:b.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(ss()),n;let r=1,s=0,o=[],a=!1,l=!1,c=0,u=e.steps.map(P=>{let V=this._makeStyleAst(P,t),R=V.offset!=null?V.offset:zs(V.styles),N=0;return R!=null&&(s++,N=V.offset=R),l=l||N<0||N>1,a=a||N<c,c=N,o.push(N),V});l&&t.errors.push(os()),a&&t.errors.push(as());let d=e.steps.length,E=0;s>0&&s<d?t.errors.push(ls()):s==0&&(E=r/(d-1));let v=d-1,f=t.currentTime,y=t.currentAnimateTimings,D=y.duration;return u.forEach((P,V)=>{let R=E>0?V==v?1:E*V:o[V],N=R*D;t.currentTime=f+y.delay+N,y.duration=N,this._validateStyleAst(P,t),P.offset=R,n.styles.push(P)}),n}visitReference(e,t){return{type:b.Reference,animation:G(this,Qe(e.animation),t),options:ye(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:b.AnimateChild,options:ye(e.options)}}visitAnimateRef(e,t){return{type:b.AnimateRef,animation:this.visitReference(e.animation,t),options:ye(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;let[s,o]=Us(e.selector);t.currentQuerySelector=n.length?n+" "+s:s,z(t.collectedStyles,t.currentQuerySelector,new Map);let a=G(this,Qe(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:b.Query,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:ye(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(cs());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_t(e.timings,t.errors,!0);return{type:b.Stagger,animation:G(this,Qe(e.animation),t),timings:n,options:null}}};function Us(i){let e=!!i.split(/\s*,\s*/).find(t=>t==Ji);return e&&(i=i.replace($s,"")),i=i.replace(/@\*/g,yt).replace(/@\w+/g,t=>yt+"-"+t.slice(1)).replace(/:animating/g,un),[i,e]}function Gs(i){return i?B({},i):null}var pn=class{constructor(e){this.errors=e,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 zs(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function qs(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let s=_t(i,e).duration;return rn(s,0,"")}let t=i;if(t.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=rn(0,0,"");return s.dynamic=!0,s.strValue=t,s}let r=_t(t,e);return rn(r.duration,r.delay,r.easing)}function ye(i){return i?(i=B({},i),i.params&&(i.params=Gs(i.params))):i={},i}function rn(i,e,t){return{duration:i,delay:e,easing:t}}function Vn(i,e,t,n,r,s,o=null,a=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:n,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}var Xe=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Hs=1,Ws=":enter",Ks=new RegExp(Ws,"g"),Qs=":leave",Ys=new RegExp(Qs,"g");function tr(i,e,t,n,r,s=new Map,o=new Map,a,l,c=[]){return new mn().buildKeyframes(i,e,t,n,r,s,o,a,l,c)}var mn=class{buildKeyframes(e,t,n,r,s,o,a,l,c,u=[]){c=c||new Xe;let d=new gn(e,t,c,r,s,u,[]);d.options=l;let E=l.delay?ie(l.delay):0;d.currentTimeline.delayNextStep(E),d.currentTimeline.setStyles([o],null,d.errors,l),G(this,n,d);let v=d.timelines.filter(f=>f.containsAnimation());if(v.length&&a.size){let f;for(let y=v.length-1;y>=0;y--){let D=v[y];if(D.element===t){f=D;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,d.errors,l)}return v.length?v.map(f=>f.buildKeyframes()):[Vn(t,[],[],[],0,E,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let n=t.subInstructions.get(t.element);if(n){let r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,n),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,n){for(let r of e){let s=r?.delay;if(s){let o=typeof s=="number"?s:ie(Ze(s,r?.params??{},t.errors));n.delayNextStep(o)}}}_visitSubInstructions(e,t,n){let s=t.currentTimeline.currentTime,o=n.duration!=null?ie(n.duration):null,a=n.delay!=null?ie(n.delay):null;return o!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),G(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,r=t,s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),s.delay!=null)){r.previousNode.type==b.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Ct);let o=ie(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>G(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],r=t.currentTimeline.currentTime,s=e.options&&e.options.delay?ie(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);s&&a.delayNextStep(s),G(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue,r=t.params?Ze(n,t.params,t.errors):n;return _t(r,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());let s=e.style;s.type==b.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(n.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let s=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(s):n.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,r=t.currentTimeline.duration,s=n.duration,a=t.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*s),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?ie(r.delay):0;s&&(t.previousNode.type===b.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ct);let o=n,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{t.currentQueryIndex=u;let d=t.createSubContext(e.options,c);s&&d.delayNextStep(s),c===t.element&&(l=d.currentTimeline),G(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let E=d.currentTimeline.currentTime;o=Math.max(o,E)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,r=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let d=u.currentTime;G(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-d+(r.startTime-n.currentTimeline.startTime)}},Ct={},gn=class i{constructor(e,t,n,r,s,o,a,l){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ct,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Et(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let n=e,r=this.options;n.duration!=null&&(r.duration=ie(n.duration)),n.delay!=null&&(r.delay=ie(n.delay));let s=n.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=Ze(s[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let n=e.params={};Object.keys(t).forEach(r=>{n[r]=t[r]})}}return e}createSubContext(e=null,t,n){let r=t||this.element,s=new i(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=Ct,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){let r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},s=new yn(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,s,o){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(Ks,"."+this._enterClassName),e=e.replace(Ys,"."+this._leaveClassName);let l=n!=1,c=this._driver.query(this.element,e,l);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c)}return!s&&a.length==0&&o.push(us(t)),a}},Et=class i{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Hs,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,n]of this._globalTimelineStyles)this._backFill.set(t,n||J),this._currentKeyframe.set(t,J);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&this._previousKeyframe.set("easing",t);let s=r&&r.params||{},o=Zs(e,this._globalTimelineStyles);for(let[a,l]of o){let c=Ze(l,s,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??J),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,n)=>{let r=this._styleSummary.get(n);(!r||t.time>r.time)&&this._updateStyle(n,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{u===dt?e.add(d):u===J&&t.add(d)}),n||c.set("offset",l/this.duration),r.push(c)});let s=[...e.values()],o=[...t.values()];if(n){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Vn(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}},yn=class extends Et{constructor(e,t,n,r,s,o,a=!1){super(e,t,o.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){let s=[],o=n+t,a=t/o,l=new Map(e[0]);l.set("offset",0),s.push(l);let c=new Map(e[0]);c.set("offset",ji(a)),s.push(c);let u=e.length-1;for(let d=1;d<=u;d++){let E=new Map(e[d]),v=E.get("offset"),f=t+v*n;E.set("offset",ji(f/o)),s.push(E)}n=o,t=0,r="",e=s}return Vn(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}};function ji(i,e=3){let t=Math.pow(10,e-1);return Math.round(i*t)/t}function Zs(i,e){let t=new Map,n;return i.forEach(r=>{if(r==="*"){n??=e.keys();for(let s of n)t.set(s,J)}else for(let[s,o]of r)t.set(s,o)}),t}function Bi(i,e,t,n,r,s,o,a,l,c,u,d,E){return{type:0,element:i,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:s,toState:n,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:E}}var sn={},St=class{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return Xs(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,n):new Map}build(e,t,n,r,s,o,a,l,c,u){let d=[],E=this.ast.options&&this.ast.options.params||sn,v=a&&a.params||sn,f=this.buildStyles(n,v,d),y=l&&l.params||sn,D=this.buildStyles(r,y,d),P=new Set,V=new Map,R=new Map,N=r==="void",Ce={params:nr(y,E),delay:this.ast.options?.delay},Z=u?[]:tr(e,t,this.ast.animation,s,o,f,D,Ce,c,d),L=0;return Z.forEach(j=>{L=Math.max(j.duration+j.delay,L)}),d.length?Bi(t,this._triggerName,n,r,N,f,D,[],[],V,R,L,d):(Z.forEach(j=>{let ue=j.element,Ee=z(V,ue,new Set);j.preStyleProps.forEach(de=>Ee.add(de));let Un=z(R,ue,new Set);j.postStyleProps.forEach(de=>Un.add(de)),ue!==t&&P.add(ue)}),Bi(t,this._triggerName,n,r,N,f,D,Z,[...P.values()],V,R,L))}};function Xs(i,e,t,n,r){return i.some(s=>s(e,t,n,r))}function nr(i,e){let t=B({},e);return Object.entries(i).forEach(([n,r])=>{r!=null&&(t[n]=r)}),t}var _n=class{constructor(e,t,n){this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,r=nr(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=Ze(o,r,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),n.set(a,o)})}),n}};function Js(i,e,t){return new vn(i,e,t)}var vn=class{constructor(e,t,n){this.name=e,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{let s=r.options&&r.options.params||{};this.states.set(r.name,new _n(r.style,s,n))}),$i(this.states,"true","1"),$i(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new St(e,r,this.states))}),this.fallbackTransition=eo(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(o=>o.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}};function eo(i,e,t){let n=[(o,a)=>!0],r={type:b.Sequence,steps:[],options:null},s={type:b.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new St(i,s,e)}function $i(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}var to=new Xe,bn=class{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let n=[],r=[],s=er(this._driver,t,n,r);if(n.length)throw ms(n);r.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,t,n){let r=e.element,s=Wi(this._normalizer,e.keyframes,t,n);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let r=[],s=this._animations.get(e),o,a=new Map;if(s?(o=tr(this._driver,t,s,Zi,cn,new Map,new Map,n,to,r),o.forEach(u=>{let d=z(a,u.element,new Map);u.postStyleProps.forEach(E=>d.set(E,null))})):(r.push(gs()),o=[]),r.length)throw ys(r);a.forEach((u,d)=>{u.forEach((E,v)=>{u.set(v,this._driver.computeStyle(d,v,J))})});let l=o.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),c=ce(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw _s(e);return t}listen(e,t,n,r){let s=Dn(t,"","","");return Mn(this._getPlayer(e),n,s,r),()=>{}}command(e,t,n,r){if(n=="register"){this.register(e,r[0]);return}if(n=="create"){let o=r[0]||{};this.create(e,t,o);return}let s=this._getPlayer(e);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e);break}}},Ui="ng-animate-queued",no=".ng-animate-queued",on="ng-animate-disabled",io=".ng-animate-disabled",ro="ng-star-inserted",so=".ng-star-inserted",oo=[],ir={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ao={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Q="__ng_removed",Je=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=co(r),n){let s=e,{value:o}=s,a=Hn(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let n=this.options.params;Object.keys(t).forEach(r=>{n[r]==null&&(n[r]=t[r])})}}},Ye="void",an=new Je(Ye),Cn=class{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,W(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.has(t))throw vs(n,t);if(n==null||n.length==0)throw bs(t);if(!uo(n))throw Cs(n,t);let s=z(this._elementListeners,e,[]),o={name:t,phase:n,callback:r};s.push(o);let a=z(this._engine.statesByElement,e,new Map);return a.has(t)||(W(e,ht),W(e,ht+"-"+t),a.set(t,an)),()=>{this._engine.afterFlush(()=>{let l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Es(e);return t}trigger(e,t,n,r=!0){let s=this._getTrigger(t),o=new et(this.id,t,e),a=this._engine.statesByElement.get(e);a||(W(e,ht),W(e,ht+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new Je(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=an),!(c.value===Ye)&&l.value===c.value){if(!po(l.params,c.params)){let y=[],D=s.matchStyles(l.value,l.params,y),P=s.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{_e(e,D),ee(e,P)})}return}let E=z(this._engine.playersByElement,e,[]);E.forEach(y=>{y.namespaceId==this.id&&y.triggerName==t&&y.queued&&y.destroy()});let v=s.matchTransition(l.value,c.value,e,c.params),f=!1;if(!v){if(!r)return;v=s.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:v,fromState:l,toState:c,player:o,isFallbackTransition:f}),f||(W(e,Ui),o.onStart(()=>{Ve(e,Ui)})),o.onDone(()=>{let y=this.players.indexOf(o);y>=0&&this.players.splice(y,1);let D=this._engine.playersByElement.get(e);if(D){let P=D.indexOf(o);P>=0&&D.splice(P,1)}}),this.players.push(o),E.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let n=this._engine.driver.query(e,yt,!0);n.forEach(r=>{if(r[Q])return;let s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,n,r){let s=this._engine.statesByElement.get(e),o=new Map;if(s){let a=[];if(s.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Ye,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),n&&ce(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){let r=new Set;t.forEach(s=>{let o=s.name;if(r.has(o))return;r.add(o);let l=this._triggers.get(o).fallbackTransition,c=n.get(o)||an,u=new Je(Ye),d=new et(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){let s=n.players.length?n.playersByQueriedElement.get(e):[];if(s&&s.length)r=!0;else{let o=e;for(;o=o.parentNode;)if(n.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{let s=e[Q];(!s||s===ir)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){W(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let s=n.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==n.triggerName){let l=Dn(s,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Mn(n.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((n,r)=>{let s=n.transition.ast.depCount,o=r.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},En=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,n,r){this.bodyNode=e,this.driver=t,this._normalizer=n,this.scheduler=r,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=(s,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,t){let n=new Cn(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=r.get(a);if(l){let c=n.indexOf(l);n.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||n.unshift(e)}else n.push(e);return r.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,n=this.statesByElement.get(e);if(n){for(let r of n.values())if(r.namespaceId){let s=this._fetchNamespace(r.namespaceId);s&&t.add(s)}}return t}trigger(e,t,n,r){if(mt(t)){let s=this._fetchNamespace(e);if(s)return s.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!mt(t))return;let s=t[Q];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),W(e,on)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ve(e,on))}removeNode(e,t,n){if(mt(t)){this.scheduler?.notify();let r=e?this._fetchNamespace(e):null;r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,r,s){this.collectedLeaveElements.push(t),t[Q]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,n,r,s){return mt(t)?this._fetchNamespace(e).listen(t,n,r,s):()=>{}}_buildInstruction(e,t,n,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,yt,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,un,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ce(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[Q];if(t&&t.setForRemoval){if(e[Q]=ir,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(on)&&this.markElementAsDisabled(e,!1),this.driver.query(e,io,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let r=this.collectedEnterElements[n];W(r,ro)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let r=this.collectedLeaveElements[n];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],t.length?ce(t).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(e){throw Ss(e)}_flushAnimations(e,t){let n=new Xe,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(h=>{u.add(h);let p=this.driver.query(h,no,!0);for(let g=0;g<p.length;g++)u.add(p[g])});let d=this.bodyNode,E=Array.from(this.statesByElement.keys()),v=qi(E,this.collectedEnterElements),f=new Map,y=0;v.forEach((h,p)=>{let g=Zi+y++;f.set(p,g),h.forEach(S=>W(S,g))});let D=[],P=new Set,V=new Set;for(let h=0;h<this.collectedLeaveElements.length;h++){let p=this.collectedLeaveElements[h],g=p[Q];g&&g.setForRemoval&&(D.push(p),P.add(p),g.hasAnimation?this.driver.query(p,so,!0).forEach(S=>P.add(S)):V.add(p))}let R=new Map,N=qi(E,Array.from(P));N.forEach((h,p)=>{let g=cn+y++;R.set(p,g),h.forEach(S=>W(S,g))}),e.push(()=>{v.forEach((h,p)=>{let g=f.get(p);h.forEach(S=>Ve(S,g))}),N.forEach((h,p)=>{let g=R.get(p);h.forEach(S=>Ve(S,g))}),D.forEach(h=>{this.processLeaveNode(h)})});let Ce=[],Z=[];for(let h=this._namespaceList.length-1;h>=0;h--)this._namespaceList[h].drainQueuedTransitions(t).forEach(g=>{let S=g.player,F=g.element;if(Ce.push(S),this.collectedEnterElements.length){let I=F[Q];if(I&&I.setForMove){if(I.previousTriggersValues&&I.previousTriggersValues.has(g.triggerName)){let he=I.previousTriggersValues.get(g.triggerName),q=this.statesByElement.get(g.element);if(q&&q.has(g.triggerName)){let at=q.get(g.triggerName);at.value=he,q.set(g.triggerName,at)}}S.destroy();return}}let X=!d||!this.driver.containsElement(d,F),U=R.get(F),re=f.get(F),T=this._buildInstruction(g,n,re,U,X);if(T.errors&&T.errors.length){Z.push(T);return}if(X){S.onStart(()=>_e(F,T.fromStyles)),S.onDestroy(()=>ee(F,T.toStyles)),r.push(S);return}if(g.isFallbackTransition){S.onStart(()=>_e(F,T.fromStyles)),S.onDestroy(()=>ee(F,T.toStyles)),r.push(S);return}let qn=[];T.timelines.forEach(I=>{I.stretchStartingKeyframe=!0,this.disabledNodes.has(I.element)||qn.push(I)}),T.timelines=qn,n.append(F,T.timelines);let Wr={instruction:T,player:S,element:F};o.push(Wr),T.queriedElements.forEach(I=>z(a,I,[]).push(S)),T.preStyleProps.forEach((I,he)=>{if(I.size){let q=l.get(he);q||l.set(he,q=new Set),I.forEach((at,Rt)=>q.add(Rt))}}),T.postStyleProps.forEach((I,he)=>{let q=c.get(he);q||c.set(he,q=new Set),I.forEach((at,Rt)=>q.add(Rt))})});if(Z.length){let h=[];Z.forEach(p=>{h.push(ws(p.triggerName,p.errors))}),Ce.forEach(p=>p.destroy()),this.reportError(h)}let L=new Map,j=new Map;o.forEach(h=>{let p=h.element;n.has(p)&&(j.set(p,p),this._beforeAnimationBuild(h.player.namespaceId,h.instruction,L))}),r.forEach(h=>{let p=h.element;this._getPreviousPlayers(p,!1,h.namespaceId,h.triggerName,null).forEach(S=>{z(L,p,[]).push(S),S.destroy()})});let ue=D.filter(h=>Hi(h,l,c)),Ee=new Map;zi(Ee,this.driver,V,c,J).forEach(h=>{Hi(h,l,c)&&ue.push(h)});let de=new Map;v.forEach((h,p)=>{zi(de,this.driver,new Set(h),l,dt)}),ue.forEach(h=>{let p=Ee.get(h),g=de.get(h);Ee.set(h,new Map([...p?.entries()??[],...g?.entries()??[]]))});let xt=[],Gn=[],zn={};o.forEach(h=>{let{element:p,player:g,instruction:S}=h;if(n.has(p)){if(u.has(p)){g.onDestroy(()=>ee(p,S.toStyles)),g.disabled=!0,g.overrideTotalTime(S.totalTime),r.push(g);return}let F=zn;if(j.size>1){let U=p,re=[];for(;U=U.parentNode;){let T=j.get(U);if(T){F=T;break}re.push(U)}re.forEach(T=>j.set(T,F))}let X=this._buildAnimation(g.namespaceId,S,L,s,de,Ee);if(g.setRealPlayer(X),F===zn)xt.push(g);else{let U=this.playersByElement.get(F);U&&U.length&&(g.parentPlayer=ce(U)),r.push(g)}}else _e(p,S.fromStyles),g.onDestroy(()=>ee(p,S.toStyles)),Gn.push(g),u.has(p)&&r.push(g)}),Gn.forEach(h=>{let p=s.get(h.element);if(p&&p.length){let g=ce(p);h.setRealPlayer(g)}}),r.forEach(h=>{h.parentPlayer?h.syncPlayerEvents(h.parentPlayer):h.destroy()});for(let h=0;h<D.length;h++){let p=D[h],g=p[Q];if(Ve(p,cn),g&&g.hasAnimation)continue;let S=[];if(a.size){let X=a.get(p);X&&X.length&&S.push(...X);let U=this.driver.query(p,un,!0);for(let re=0;re<U.length;re++){let T=a.get(U[re]);T&&T.length&&S.push(...T)}}let F=S.filter(X=>!X.destroyed);F.length?ho(this,p,F):this.processLeaveNode(p)}return D.length=0,xt.forEach(h=>{this.players.push(h),h.onDone(()=>{h.destroy();let p=this.players.indexOf(h);this.players.splice(p,1)}),h.play()}),xt}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,s){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!s||s==Ye;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||o.push(c)})}}return(n||r)&&(o=o.filter(a=>!(n&&n!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(e,t,n){let r=t.triggerName,s=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:r;for(let l of t.timelines){let c=l.element,u=c!==s,d=z(n,c,[]);this._getPreviousPlayers(c,u,o,a,t.toState).forEach(v=>{let f=v.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),v.destroy(),d.push(v)})}_e(s,t.fromStyles)}_buildAnimation(e,t,n,r,s,o){let a=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,E=t.timelines.map(f=>{let y=f.element;u.add(y);let D=y[Q];if(D&&D.removedBeforeQueried)return new le(f.duration,f.delay);let P=y!==l,V=fo((n.get(y)||oo).map(L=>L.getRealPlayer())).filter(L=>{let j=L;return j.element?j.element===y:!1}),R=s.get(y),N=o.get(y),Ce=Wi(this._normalizer,f.keyframes,R,N),Z=this._buildPlayer(f,Ce,V);if(f.subTimeline&&r&&d.add(y),P){let L=new et(e,a,y);L.setRealPlayer(Z),c.push(L)}return Z});c.forEach(f=>{z(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>lo(this.playersByQueriedElement,f.element,f))}),u.forEach(f=>W(f,xi));let v=ce(E);return v.onDestroy(()=>{u.forEach(f=>Ve(f,xi)),ee(l,t.toStyles)}),d.forEach(f=>{z(r,f,[]).push(v)}),v}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new le(e.duration,e.delay)}},et=class{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new le,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(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(r=>Mn(e,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){z(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function lo(i,e,t){let n=i.get(e);if(n){if(n.length){let r=n.indexOf(t);n.splice(r,1)}n.length==0&&i.delete(e)}return n}function co(i){return i??null}function mt(i){return i&&i.nodeType===1}function uo(i){return i=="start"||i=="done"}function Gi(i,e){let t=i.style.display;return i.style.display=e??"none",t}function zi(i,e,t,n,r){let s=[];t.forEach(l=>s.push(Gi(l)));let o=[];n.forEach((l,c)=>{let u=new Map;l.forEach(d=>{let E=e.computeStyle(c,d,r);u.set(d,E),(!E||E.length==0)&&(c[Q]=ao,o.push(c))}),i.set(c,u)});let a=0;return t.forEach(l=>Gi(l,s[a++])),o}function qi(i,e){let t=new Map;if(i.forEach(a=>t.set(a,[])),e.length==0)return t;let n=1,r=new Set(e),s=new Map;function o(a){if(!a)return n;let l=s.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:r.has(c)?l=n:l=o(c),s.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==n&&t.get(l).push(a)}),t}function W(i,e){i.classList?.add(e)}function Ve(i,e){i.classList?.remove(e)}function ho(i,e,t){ce(t).onDone(()=>i.processLeaveNode(e))}function fo(i){let e=[];return rr(i,e),e}function rr(i,e){for(let t=0;t<i.length;t++){let n=i[t];n instanceof Ke?rr(n.players,e):e.push(n)}}function po(i,e){let t=Object.keys(i),n=Object.keys(e);if(t.length!=n.length)return!1;for(let r=0;r<t.length;r++){let s=t[r];if(!e.hasOwnProperty(s)||i[s]!==e[s])return!1}return!0}function Hi(i,e,t){let n=t.get(i);if(!n)return!1;let r=e.get(i);return r?n.forEach(s=>r.add(s)):e.set(i,n),t.delete(i),!0}var Ne=class{constructor(e,t,n,r){this._driver=t,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(s,o)=>{},this._transitionEngine=new En(e.body,t,n,r),this._timelineEngine=new bn(e.body,t,n),this._transitionEngine.onRemovalComplete=(s,o)=>this.onRemovalComplete(s,o)}registerTrigger(e,t,n,r,s){let o=e+"-"+r,a=this._triggerCache[o];if(!a){let l=[],c=[],u=er(this._driver,s,l,c);if(l.length)throw fs(r,l);c.length&&void 0,a=Js(r,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if(n.charAt(0)=="@"){let[s,o]=Ii(n),a=r;this._timelineEngine.command(s,t,o,a)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,s){if(n.charAt(0)=="@"){let[o,a]=Ii(n);return this._timelineEngine.listen(o,t,a,s)}return this._transitionEngine.listen(e,t,n,r,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function mo(i,e){let t=null,n=null;return Array.isArray(e)&&e.length?(t=ln(e[0]),e.length>1&&(n=ln(e[e.length-1]))):e instanceof Map&&(t=ln(e)),t||n?new Sn(i,t,n):null}var Fe=class Fe{constructor(e,t,n){this._element=e,this._startStyles=t,this._endStyles=n,this._state=0;let r=Fe.initialStylesByElement.get(e);r||Fe.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ee(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ee(this._element,this._initialStyles),this._endStyles&&(ee(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Fe.initialStylesByElement.delete(this._element),this._startStyles&&(_e(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_e(this._element,this._endStyles),this._endStyles=null),ee(this._element,this._initialStyles),this._state=3)}};Fe.initialStylesByElement=new WeakMap;var Sn=Fe;function ln(i){let e=null;return i.forEach((t,n)=>{go(n)&&(e=e||new Map,e.set(n,t))}),e}function go(i){return i==="display"||i==="position"}var wt=class{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(e,t,n){return e.animate(this._convertKeyframesToObject(t),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{r!=="offset"&&e.set(r,this._finished?n:On(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},Mt=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return Ki(e,t)}getParentElement(e){return An(e)}query(e,t,n){return Qi(e,t,n)}computeStyle(e,t,n){return On(e,t)}animate(e,t,n,r,s,o=[]){let a=r==0?"both":"forwards",l={duration:n,delay:r,fill:a};s&&(l.easing=s);let c=new Map,u=o.filter(v=>v instanceof wt);ks(n,r)&&u.forEach(v=>{v.currentSnapshot.forEach((f,y)=>c.set(y,f))});let d=Fs(t).map(v=>new Map(v));d=xs(e,d,c);let E=mo(e,d);return new wt(e,d,l,E)}};var gt="@",sr="@.disabled",Dt=class{constructor(e,t,n,r){this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,r=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==gt&&t==sr?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},wn=class extends Dt{constructor(e,t,n,r,s){super(t,n,r,s),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==gt?t.charAt(1)=="."&&t==sr?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.slice(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==gt){let r=yo(e),s=t.slice(1),o="";return s.charAt(0)!=gt&&([s,o]=_o(s)),this.engine.listen(this.namespaceId,r,s,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,n,a)})}return this.delegate.listen(e,t,n)}};function yo(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function _o(i){let e=i.indexOf("."),t=i.substring(0,e),n=i.slice(e+1);return[t,n]}var At=class{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,s)=>{let o=s?.parentNode(r);o&&s.removeChild(o,r)}}createRenderer(e,t){let n="",r=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,u=c.get(r);if(!u){let d=()=>c.delete(r);u=new Dt(n,r,this.engine,d),c.set(r,u)}return u}let s=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(s,o,e,c.name,c)};return t.data.animation.forEach(a),new wn(this,o,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(n));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,n])}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 bo=(()=>{let e=class e extends Ne{constructor(n,r,s){super(n,r,s,$t(ri,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(pe(Ci),pe(ve),pe(be))},e.\u0275prov=se({token:e,factory:e.\u0275fac});let i=e;return i})();function Co(){return new vt}function Eo(i,e,t){return new At(i,e,t)}var or=[{provide:be,useFactory:Co},{provide:Ne,useClass:bo},{provide:si,useFactory:Eo,deps:[Ai,Ne,ct]}],So=[{provide:ve,useFactory:()=>new Mt},{provide:Ht,useValue:"BrowserAnimations"},...or],Oa=[{provide:ve,useClass:Tn},{provide:Ht,useValue:"NoopAnimations"},...or];function ar(){return[...So]}var wo=i=>({bold:i});function Mo(i,e){if(i&1&&(m(0,"a",5)(1,"p",7),A(2,"i",6),m(3,"span",8),w(4),_()()()),i&2){let t=e.$implicit,n=e.$index;Zt("href","tel:",t.replace(" ",""),"",Wt),M(),H("ngClass",yi(3,wo,n===0)),M(3),me(t)}}var lr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=k({type:e,selectors:[["app-branch-item"]],inputs:{branch:"branch"},standalone:!0,features:[x],decls:20,vars:5,consts:[[1,"branch-container"],[1,"responsive-map-container"],["width","600","height","450","loading","lazy","allowfullscreen","","src","https://www.google.com/maps/embed/v1/place?key=AIzaSyDKG-BYqM6v4bUabFlIa1JrTH-Q1xFSWg8&q=\u062C\u064A\u0644\u0627\u062A\u064A+\u0628\u064A\u0648\u0645\u064A","title","\u062C\u064A\u0644\u0627\u062A\u064A \u0628\u064A\u0648\u0645\u064A",2,"border","0"],["dir","auto",1,"branch-data"],["dir","auto"],[1,"remove-link-style",3,"href"],[1,"fas","fa-phone-alt"],["dir","auto",1,"phone-number",3,"ngClass"],["dir","ltr"],["class","remove-link-style",3,"href"]],template:function(r,s){r&1&&(m(0,"div",0)(1,"div",1),A(2,"iframe",2),_(),m(3,"div",3)(4,"h3",4),w(5),_(),m(6,"p",4),w(7),_(),m(8,"p",4),w(9),_(),Pe(10,Mo,5,5,"a",9,Te),m(12,"p",4)(13,"strong"),w(14,"\u0645\u0641\u062A\u0648\u062D \u0645\u0646: "),_(),w(15),_(),m(16,"a",5)(17,"button"),w(18," \u0627\u062A\u0635\u0644 \u0627\u0644\u0622\u0646 "),A(19,"i",6),_()()()()),r&2&&(M(5),me(s.branch.name),M(2),me(s.branch.address),M(2),me(s.branch.location),M(),Oe(s.branch.phoneNumbers),M(5),ne(" ",s.branch.openingHours," "),M(),Zt("href","tel:",s.branch.phoneNumbers[0].replace(" ",""),"",Wt))},dependencies:[Ei],styles:["[_ngcontent-%COMP%]:root{--bg-color: $bg-color;--light-blue: $light-blue;--primary: $primary;--dark: $dark;--green: $green;--teal: $teal}.branch-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:flex-start;padding:20px;background-color:#fff;border-radius:10px;box-shadow:0 0 10px #0000001a}.branch-container[_ngcontent-%COMP%] .responsive-map-container[_ngcontent-%COMP%]{position:relative;overflow:hidden;padding-top:337.5px;max-height:400px;height:100%;width:100%;max-width:600px}.branch-container[_ngcontent-%COMP%] .responsive-map-container[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;max-height:400px;border:0}.branch-container[_ngcontent-%COMP%] .branch-data[_ngcontent-%COMP%]{flex:1;padding:20px 0;min-width:280px}.branch-container[_ngcontent-%COMP%] .branch-data[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:10px}.branch-container[_ngcontent-%COMP%] .branch-data[_ngcontent-%COMP%] .phone-number[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.branch-container[_ngcontent-%COMP%] .branch-data[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#42495b;border-radius:10px;border:none;color:#fff;padding:7px 50px;text-align:center;text-decoration:none;display:flex;align-items:center;gap:10px;font-weight:600;cursor:pointer;margin-top:20px}.branch-container[_ngcontent-%COMP%] .branch-data[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#2d313d}@media (max-width: 900px){.branch-container[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.branch-container[_ngcontent-%COMP%] .responsive-map-container[_ngcontent-%COMP%]{max-width:100%;max-height:none}.branch-container[_ngcontent-%COMP%] .branch-data[_ngcontent-%COMP%]{min-width:100%}}"]});let i=e;return i})();var yr=(()=>{let e=class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(r){return new(r||e)(O(Qt),O(Kt))},e.\u0275dir=K({type:e});let i=e;return i})(),Do=(()=>{let e=class e extends yr{};e.\u0275fac=(()=>{let n;return function(s){return(n||(n=zt(e)))(s||e)}})(),e.\u0275dir=K({type:e,features:[ae]});let i=e;return i})(),_r=new oe("NgValueAccessor");var Ao={provide:_r,useExisting:Le(()=>It),multi:!0};function To(){let i=Jt()?Jt().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Po=new oe("CompositionEventMode"),It=(()=>{let e=class e extends yr{constructor(n,r,s){super(n,r),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!To())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(r){return new(r||e)(O(Qt),O(Kt),O(Po,8))},e.\u0275dir=K({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,s){r&1&&$("input",function(a){return s._handleInput(a.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(a){return s._compositionEnd(a.target.value)})},features:[He([Ao]),ae]});let i=e;return i})();function Oo(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}var In=new oe("NgValidators"),vr=new oe("NgAsyncValidators");function Vo(i){return Oo(i.value)?{required:!0}:null}function cr(i){return null}function br(i){return i!=null}function Cr(i){return di(i)?Kn(i):i}function Er(i){let e={};return i.forEach(t=>{e=t!=null?B(B({},e),t):e}),Object.keys(e).length===0?null:e}function Sr(i,e){return e.map(t=>t(i))}function Fo(i){return!i.validate}function wr(i){return i.map(e=>Fo(e)?e:t=>e.validate(t))}function No(i){if(!i)return null;let e=i.filter(br);return e.length==0?null:function(t){return Er(Sr(t,e))}}function kn(i){return i!=null?No(wr(i)):null}function Io(i){if(!i)return null;let e=i.filter(br);return e.length==0?null:function(t){let n=Sr(t,e).map(Cr);return Zn(n).pipe(te(Er))}}function xn(i){return i!=null?Io(wr(i)):null}function ur(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function ko(i){return i._rawValidators}function xo(i){return i._rawAsyncValidators}function Nn(i){return i?Array.isArray(i)?i:[i]:[]}function Pt(i,e){return Array.isArray(i)?i.includes(e):i===e}function dr(i,e){let t=Nn(e);return Nn(i).forEach(r=>{Pt(t,r)||t.push(r)}),t}function hr(i,e){return Nn(e).filter(t=>!Pt(i,t))}var Ot=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=kn(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=xn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},ke=class extends Ot{get formDirective(){return null}get path(){return null}},rt=class extends Ot{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Vt=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Ro={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Ya=Se(B({},Ro),{"[class.ng-submitted]":"isSubmitted"}),Mr=(()=>{let e=class e extends Vt{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(O(rt,2))},e.\u0275dir=K({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,s){r&2&&Yt("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[ae]});let i=e;return i})(),Dr=(()=>{let e=class e extends Vt{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(O(ke,10))},e.\u0275dir=K({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,s){r&2&&Yt("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[ae]});let i=e;return i})();var tt="VALID",Tt="INVALID",Ie="PENDING",nt="DISABLED";function Ar(i){return(kt(i)?i.validators:i)||null}function Lo(i){return Array.isArray(i)?kn(i):i||null}function Tr(i,e){return(kt(e)?e.asyncValidators:i)||null}function jo(i){return Array.isArray(i)?xn(i):i||null}function kt(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function Bo(i,e,t){let n=i.controls;if(!(e?Object.keys(n):n).length)throw new C(1e3,"");if(!n[t])throw new C(1001,"")}function $o(i,e,t){i._forEachChild((n,r)=>{if(t[r]===void 0)throw new C(1002,"")})}var Ft=class{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===tt}get invalid(){return this.status===Tt}get pending(){return this.status==Ie}get disabled(){return this.status===nt}get enabled(){return this.status!==nt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(dr(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(dr(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(hr(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(hr(e,this._rawAsyncValidators))}hasValidator(e){return Pt(this._rawValidators,e)}hasAsyncValidator(e){return Pt(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Ie,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=nt,this.errors=null,this._forEachChild(n=>{n.disable(Se(B({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Se(B({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=tt,this._forEachChild(n=>{n.enable(Se(B({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Se(B({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===tt||this.status===Ie)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?nt:tt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Ie,this._hasOwnPendingAsyncValidator=!0;let t=Cr(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((n,r)=>n&&n._find(r),this)}getError(e,t){let n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Ge,this.statusChanges=new Ge}_calculateStatus(){return this._allControlsDisabled()?nt:this.errors?Tt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ie)?Ie:this._anyControlsHaveStatus(Tt)?Tt:tt}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){kt(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Lo(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=jo(this._rawAsyncValidators)}},Nt=class extends Ft{constructor(e,t,n){super(Ar(t),Tr(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){$o(this,!0,e),Object.keys(e).forEach(n=>{Bo(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(n=>{let r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e?e[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,n)=>n._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,n]of Object.entries(this.controls))if(this.contains(t)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(t,n,r)=>((n.enabled||this.disabled)&&(t[r]=n.value),t))}_reduceChildren(e,t){let n=e;return this._forEachChild((r,s)=>{n=t(n,r,s)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Rn=new oe("CallSetDisabledState",{providedIn:"root",factory:()=>Ln}),Ln="always";function Uo(i,e){return[...e.path,i]}function Pr(i,e,t=Ln){Or(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||t==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),zo(i,e),Ho(i,e),qo(i,e),Go(i,e)}function fr(i,e){i.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Go(i,e){if(e.valueAccessor.setDisabledState){let t=n=>{e.valueAccessor.setDisabledState(n)};i.registerOnDisabledChange(t),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(t)})}}function Or(i,e){let t=ko(i);e.validator!==null?i.setValidators(ur(t,e.validator)):typeof t=="function"&&i.setValidators([t]);let n=xo(i);e.asyncValidator!==null?i.setAsyncValidators(ur(n,e.asyncValidator)):typeof n=="function"&&i.setAsyncValidators([n]);let r=()=>i.updateValueAndValidity();fr(e._rawValidators,r),fr(e._rawAsyncValidators,r)}function zo(i,e){e.valueAccessor.registerOnChange(t=>{i._pendingValue=t,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&Vr(i,e)})}function qo(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&Vr(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function Vr(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Ho(i,e){let t=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};i.registerOnChange(t),e._registerOnDestroy(()=>{i._unregisterOnChange(t)})}function Wo(i,e){i==null,Or(i,e)}function Ko(i,e){if(!i.hasOwnProperty("model"))return!1;let t=i.model;return t.isFirstChange()?!0:!Object.is(e,t.currentValue)}function Qo(i){return Object.getPrototypeOf(i.constructor)===Do}function Yo(i,e){i._syncPendingControls(),e.forEach(t=>{let n=t.control;n.updateOn==="submit"&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Zo(i,e){if(!e)return null;Array.isArray(e);let t,n,r;return e.forEach(s=>{s.constructor===It?t=s:Qo(s)?n=s:r=s}),r||n||t||null}var Xo={provide:ke,useExisting:Le(()=>jn)},it=Promise.resolve(),jn=(()=>{let e=class e extends ke{constructor(n,r,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ge,this.form=new Nt({},kn(n),xn(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){it.then(()=>{let r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Pr(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){it.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){it.then(()=>{let r=this._findContainer(n.path),s=new Nt({});Wo(s,n),r.registerControl(n.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){it.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){it.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,Yo(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(r){return new(r||e)(O(In,10),O(vr,10),O(Rn,8))},e.\u0275dir=K({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,s){r&1&&$("submit",function(a){return s.onSubmit(a)})("reset",function(){return s.onReset()})},inputs:{options:[je.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[He([Xo]),ae]});let i=e;return i})();function pr(i,e){let t=i.indexOf(e);t>-1&&i.splice(t,1)}function mr(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Jo=class extends Ft{constructor(e=null,t,n){super(Ar(t),Tr(n,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),kt(t)&&(t.nonNullable||t.initialValueIsDefault)&&(mr(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){pr(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){pr(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){mr(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var ea={provide:rt,useExisting:Le(()=>Bn)},gr=Promise.resolve(),Bn=(()=>{let e=class e extends rt{constructor(n,r,s,o,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Jo,this._registered=!1,this.name="",this.update=new Ge,this._parent=n,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=Zo(this,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),Ko(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Pr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){gr.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,s=r!==0&&Xt(r);gr.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?Uo(n,this._parent):[n]}};e.\u0275fac=function(r){return new(r||e)(O(ke,9),O(In,10),O(vr,10),O(_r,10),O(oi,8),O(Rn,8))},e.\u0275dir=K({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[je.None,"disabled","isDisabled"],model:[je.None,"ngModel","model"],options:[je.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[He([ea]),ae,Ut]});let i=e;return i})(),Fr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=K({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})();var ta=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Ae({type:e}),e.\u0275inj=De({});let i=e;return i})();var na=(()=>{let e=class e{constructor(){this._validator=cr}ngOnChanges(n){if(this.inputName in n){let r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):cr,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=K({type:e,features:[Ut]});let i=e;return i})();var ia={provide:In,useExisting:Le(()=>$n),multi:!0};var $n=(()=>{let e=class e extends na{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Xt,this.createValidator=n=>Vo}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(s){return(n||(n=zt(e)))(s||e)}})(),e.\u0275dir=K({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,s){r&2&&ci("required",s._enabled?"":null)},inputs:{required:"required"},features:[He([ia]),ae]});let i=e;return i})();var ra=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Ae({type:e}),e.\u0275inj=De({imports:[ta]});let i=e;return i})();var Nr=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Rn,useValue:n.callSetDisabledState??Ln}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Ae({type:e}),e.\u0275inj=De({imports:[ra]});let i=e;return i})();function oa(i,e){if(i&1){let t=ze();m(0,"div",12),w(1),m(2,"button",13),$("click",function(){Be(t);let r=qe();return $e(r.displaySuccessAlert=!1)}),m(3,"span",14),w(4,"\xD7"),_()()()}if(i&2){let t=qe();M(),ne(" ",t.successMessage," ")}}function aa(i,e){if(i&1){let t=ze();m(0,"div",15),w(1),m(2,"button",13),$("click",function(){Be(t);let r=qe();return $e(r.displayDangerAlert=!1)}),m(3,"span",14),w(4,"\xD7"),_()()()}if(i&2){let t=qe();M(),ne(" ",t.errorMessage," ")}}var Ir=(()=>{let e=class e{constructor(){this.name="",this.email="",this.message="",this.successMessage="",this.errorMessage="",this.displaySuccessAlert=!1,this.displayDangerAlert=!1}submit(){if(this.name==""||this.email==""||this.message==""){this.showFormError("\u0628\u0631\u062C\u0627\u0621 \u0645\u0644\u0621 \u062C\u0645\u064A\u0639 \u0627\u0644\u062D\u0642\u0648\u0644");return}if(!this.isMail(this.email)){this.showFormError("\u0627\u0644\u0631\u062C\u0627\u0621 \u0625\u062F\u062E\u0627\u0644 \u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0635\u062D\u064A\u062D");return}let n=new URLSearchParams({"entry.1748222099":this.name,"entry.336933390":this.email,"entry.1510931726":this.message}).toString();fetch("https://docs.google.com/forms/d/e/1FAIpQLScyd6q7o1QXhZqm49fkmzyfO6aWZCInulNDkQ4h8-AXWyBsZA/formResponse?"+n,{method:"POST",mode:"no-cors",redirect:"follow",referrer:"no-referrer"}).then(()=>{this.showFormSuccess("\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u062A\u0643 \u0628\u0646\u062C\u0627\u062D"),this.name="",this.email="",this.message=""}).catch(()=>{this.showFormError("\u062D\u062F\u062B \u062E\u0637\u0623 \u0623\u062B\u0646\u0627\u0621 \u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u062A\u0643\u060C \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649")})}showFormSuccess(n){this.displayDangerAlert=!1,this.displaySuccessAlert=!0,this.successMessage=n}showFormError(n){this.displaySuccessAlert=!1,this.displayDangerAlert=!0,this.errorMessage=n}isMail(n){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=k({type:e,selectors:[["app-contact"]],standalone:!0,features:[x],decls:24,vars:5,consts:[["dir","rtl",3,"ngSubmit"],["class","alert alert-success","role","alert",4,"ngIf"],["class","alert alert-danger","role","alert",4,"ngIf"],[1,"form-group"],["for","name"],[1,"required-star"],["type","text","id","name","name","name","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","email"],["type","email","id","email","name","email","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","message"],["id","message","name","message","dir","auto","rows","6","required","",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"submit-button"],["role","alert",1,"alert","alert-success"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],["role","alert",1,"alert","alert-danger"]],template:function(r,s){r&1&&(m(0,"form",0),$("ngSubmit",function(){return s.submit()}),ut(1,oa,5,1,"div",1)(2,aa,5,1,"div",2),m(3,"div",3)(4,"label",4),w(5," \u0627\u0644\u0627\u0633\u0645"),m(6,"span",5),w(7," *"),_()(),m(8,"input",6),$("ngModelChange",function(a){return s.name=a}),_()(),m(9,"div",3)(10,"label",7),w(11," \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A"),m(12,"span",5),w(13," *"),_()(),m(14,"input",8),$("ngModelChange",function(a){return s.email=a}),_()(),m(15,"div",3)(16,"label",9),w(17," \u0627\u0644\u0631\u0633\u0627\u0644\u0629"),m(18,"span",5),w(19," *"),_()(),m(20,"textarea",10),$("ngModelChange",function(a){return s.message=a}),_()(),m(21,"div")(22,"button",11),w(23,"\u0625\u0631\u0633\u0627\u0644"),_()()()),r&2&&(M(),H("ngIf",s.displaySuccessAlert),M(),H("ngIf",s.displayDangerAlert),M(6),H("ngModel",s.name),M(6),H("ngModel",s.email),M(6),H("ngModel",s.message))},dependencies:[Nr,Fr,It,Mr,Dr,$n,Bn,jn,Si],styles:["[_ngcontent-%COMP%]:root{--bg-color: $bg-color;--light-blue: $light-blue;--primary: $primary;--dark: $dark;--green: $green;--teal: $teal}form[_ngcontent-%COMP%]{border-top:2px solid #5ea4f3;background-color:#fff;max-width:500px;margin:auto;padding:40px;box-shadow:0 2px 10px #00000013}@media (max-width: 400px){form[_ngcontent-%COMP%]{padding:20px}}form[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]{background-color:#5296cf;border-radius:10px;border:none;color:#fff;padding:10px 50px;text-align:center;text-decoration:none;font-size:1.2em;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:12px;width:100%}form[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]:hover{background-color:#347dba}.alert[_ngcontent-%COMP%]{cursor:pointer;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem;transition:opacity .15s linear;padding-inline-start:40px}.alert-danger[_ngcontent-%COMP%]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-success[_ngcontent-%COMP%]{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert[_ngcontent-%COMP%] button.close[_ngcontent-%COMP%]{cursor:pointer;background-color:transparent;border:0;position:absolute;top:0;right:0;padding:.75rem 1.25rem;color:inherit}.required-star[_ngcontent-%COMP%]{color:red}.form-group[_ngcontent-%COMP%]{margin-bottom:1rem}.form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:600}.form-control[_ngcontent-%COMP%]{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control[_ngcontent-%COMP%]:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem #007bff40}.btn-block[_ngcontent-%COMP%]{display:block;width:100%}"]});let i=e;return i})();var kr=(()=>{let e=class e{constructor(){this.currentYear=new Date().getFullYear()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=k({type:e,selectors:[["app-footer"]],standalone:!0,features:[x],decls:3,vars:1,template:function(r,s){r&1&&(m(0,"footer")(1,"span"),w(2),_()()),r&2&&(M(2),ne("Copyright \xA9 Bayoumi Gelato ",s.currentYear,""))},styles:["[_ngcontent-%COMP%]:root{--bg-color: $bg-color;--light-blue: $light-blue;--primary: $primary;--dark: $dark;--green: $green;--teal: $teal}footer[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;background-color:#42495b;color:#fff;padding:15px}"]});let i=e;return i})();var xr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=k({type:e,selectors:[["app-hero-banner"]],standalone:!0,features:[x],decls:22,vars:0,consts:[["id","header"],[1,"header-image"],["src","assets/images/header-side-graphic.svg","alt","Ice cream image",1,"side-image"],["dir","auto",1,"header-content"],[1,"header-title"],[1,"header-subtitle"],["href","https://wa.me/+201558556223","target","_blank","rel","noopener",1,"remove-link-style"],[1,"fab","fa-whatsapp"],[1,"social-links"],["target","_blank","href","mailto:[email protected]","aria-label","Email"],[1,"fa","fa-envelope"],["target","_blank","href","https://www.instagram.com/bayoumiicecream/","aria-label","Instagram"],[1,"fab","fa-fw","fa-instagram"],["target","_blank","href","https://www.linkedin.com/company/bayoumi/","aria-label","Linkedin"],[1,"fab","fa-fw","fa-linkedin-in"],["target","_blank","href","https://www.facebook.com/Bayoumi.Official/","aria-label","Facebook"],[1,"fab","fa-fw","fa-facebook-f"]],template:function(r,s){r&1&&(m(0,"header",0)(1,"div",1),A(2,"img",2),_(),m(3,"div",3)(4,"span",4),w(5," \u062C\u064A\u0644\u0627\u062A\u064A \u0637\u0628\u064A\u0639\u064A \u0645\u0639 \u0643\u0631\u064A\u0645\u0629 \u0628\u064A\u0648\u0645\u064A "),_(),m(6,"span",5),w(7," \u062A\u062C\u0631\u0628\u0629 \u0645\u0630\u0627\u0642 \u0627\u0633\u062A\u062B\u0646\u0627\u0626\u064A\u0629 \u0641\u064A \u0643\u0644 \u0645\u0639\u0644\u0642\u0629 "),_(),m(8,"div")(9,"a",6)(10,"button"),w(11," \u0623\u0631\u0633\u0644 \u0644\u0646\u0627 \u0639\u0644\u0649 \u0627\u0644\u0648\u0627\u062A\u0633\u0627\u0628 "),A(12,"i",7),_()()()()(),m(13,"div",8)(14,"a",9),A(15,"i",10),_(),m(16,"a",11),A(17,"i",12),_(),m(18,"a",13),A(19,"i",14),_(),m(20,"a",15),A(21,"i",16),_()())},styles:["[_ngcontent-%COMP%]:root{--bg-color: $bg-color;--light-blue: $light-blue;--primary: $primary;--dark: $dark;--green: $green;--teal: $teal}header[_ngcontent-%COMP%]{padding-top:54px;display:flex;flex-direction:row;justify-content:center}header[_ngcontent-%COMP%] .header-image[_ngcontent-%COMP%]{width:100%;max-width:600px}header[_ngcontent-%COMP%] .header-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;flex:1;padding:20px 50px}header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{padding:5px 0}header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-size:3.5em;font-weight:600}header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{font-size:1.5em;font-weight:500}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#5296cf;border-radius:10px;border:none;color:#fff;text-align:center;text-decoration:none;font-size:1.2em;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:40px;padding:10px 20px;background-color:#25d366}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#347dba}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#1da851}@media (max-width: 690px){header[_ngcontent-%COMP%]{padding-top:60px}}@media (max-width: 900px){header[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}header[_ngcontent-%COMP%] .header-image[_ngcontent-%COMP%]{max-width:100%}header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%]{padding:20px}header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-size:2.5em}header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{font-size:1.2em}}.social-links[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;padding:20px}.social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0 10px;color:#5296cf;font-size:1.5em;transition:transform .2s ease,color .2s ease}.social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#33485d;transform:scale(1.5)}"]});let i=e;return i})();var la=["navItem"];function ca(i,e){if(i&1){let t=ze();Gt(),ti(),m(0,"li",8,9),$("click",function(){let s=Be(t).$implicit;return $e(s.action())}),w(2),_()}if(i&2){let t=e.$implicit;M(2),ne(" ",t.name," ")}}var Rr=(()=>{let e=class e{constructor(n){this.platformId=n,this.isNavMenuOpen=!1,this.menuItems=[{path:"",name:"\u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",action:()=>this.navigateToHome()},{path:"branches",name:"\u0627\u0644\u0641\u0631\u0648\u0639",action:()=>this.navigateToBranches()},{path:"contact",name:"\u0627\u062A\u0635\u0644 \u0628\u0646\u0627",action:()=>this.navigateToContact()}]}navigateToHome(){console.log("home"),this.navigate("home")}navigateToStory(){this.navigate("story")}navigateToProducts(){this.navigate("products")}navigateToBranches(){this.navigate("branches")}navigateToContact(){this.navigate("contact")}navigate(n){if(We(this.platformId)){console.log(n);let r=document.getElementById(n);r&&r.scrollIntoView({behavior:"smooth"})}}onOpenNavMenu(){this.isNavMenuOpen?(this.navItems.forEach(n=>{n.nativeElement.classList.remove("active")}),this.isNavMenuOpen=!1):(this.navItems.forEach(n=>{n.nativeElement.classList.add("active")}),this.isNavMenuOpen=!0)}};e.\u0275fac=function(r){return new(r||e)(O(Ue))},e.\u0275cmp=k({type:e,selectors:[["app-navbar"]],viewQuery:function(r,s){if(r&1&&pi(la,5),r&2){let o;mi(o=gi())&&(s.navItems=o)}},standalone:!0,features:[x],decls:11,vars:0,consts:[["dir","rtl",1,"navbar"],[1,"navbar-logo",3,"click"],["src","assets/images/logo-ar_188x120.png","alt","logo"],[1,"navbar-toggle",3,"click"],["viewBox","0 0 100 80","width","40","height","30",2,"fill","#33485d"],["width","100","height","15"],["y","30","width","100","height","15"],["y","60","width","100","height","15"],[1,"navbar-links",3,"click"],["navItem",""],["class","navbar-links"]],template:function(r,s){r&1&&(m(0,"nav",0)(1,"ul")(2,"li",1),$("click",function(){return s.navigateToHome()}),A(3,"img",2),_(),m(4,"li",3),$("click",function(){return s.onOpenNavMenu()}),Gt(),m(5,"svg",4),A(6,"rect",5)(7,"rect",6)(8,"rect",7),_()(),Pe(9,ca,3,1,"li",10,Te),_()()),r&2&&(M(9),Oe(s.menuItems))},styles:["[_ngcontent-%COMP%]:root{--bg-color: $bg-color;--light-blue: $light-blue;--primary: $primary;--dark: $dark;--green: $green;--teal: $teal}.navbar[_ngcontent-%COMP%]{position:fixed;width:100%;top:0;box-shadow:1px 2px 3px #00000042;z-index:1000}.navbar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center;background-color:#f5f7fe;color:#000;gap:5px;padding:5px 30px 5px 10px}.navbar[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{align-self:center;list-style-type:none;-webkit-user-select:none;user-select:none}.navbar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.navbar-logo[_ngcontent-%COMP%]{flex:1;font-size:2rem;font-weight:700;-webkit-user-select:none;user-select:none;cursor:pointer}.navbar-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;z-index:999999;right:10px;top:10px;height:80px}.navbar-logo[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem}.navbar-toggle[_ngcontent-%COMP%]{display:none;cursor:pointer}.navbar-links[_ngcontent-%COMP%]{padding:7px 20px;cursor:pointer;transition:all ease .3s;border-radius:10px;font-weight:600}.selected-navbar-link[_ngcontent-%COMP%], .navbar-links[_ngcontent-%COMP%]:hover{background-color:#5296cf;color:#fff}.navbar-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px;height:30px}.navbar-img[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:30px}@media (max-width: 690px){.navbar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{flex-wrap:wrap;padding:15px 20px;gap:10px}.navbar-toggle[_ngcontent-%COMP%]{display:flex}.navbar-links[_ngcontent-%COMP%]{display:none;width:100%;text-align:center}.active[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}}"]});let i=e;return i})();var ua=["*"],Lr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=k({type:e,selectors:[["app-home-section"]],inputs:{backgroundColor:"backgroundColor",title:"title"},standalone:!0,features:[x],ngContentSelectors:ua,decls:6,vars:3,consts:[[1,"section-title"],[1,"star-line"],["src","assets/images/star-line.svg","alt","Star-Line","loading","lazy","width","200","height","20"]],template:function(r,s){r&1&&(hi(),m(0,"section")(1,"h2",0),w(2),_(),m(3,"div",1),A(4,"img",2),_(),fi(5),_()),r&2&&(ui("background-color",s.backgroundColor),M(2),me(s.title))},styles:["[_ngcontent-%COMP%]:root{--bg-color: $bg-color;--light-blue: $light-blue;--primary: $primary;--dark: $dark;--green: $green;--teal: $teal}section[_ngcontent-%COMP%]{background-color:#f5f7fe;color:#33485d;padding:60px 30px 50px}section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{font-size:2rem;text-align:center}.star-line[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%;margin-bottom:30px}.star-line[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:200px}"]});let i=e;return i})();function da(i,e){if(i&1&&A(0,"app-branch-item",4),i&2){let t=e.$implicit;H("branch",t)}}function ha(i,e){i&1&&(m(0,"a",5),A(1,"i",6),_())}var jr=(()=>{let e=class e{constructor(){this.branchesList=[{name:"\u0645\u062D\u0631\u0645 \u0628\u0643",address:"\u0661\u0665 \u0634\u0627\u0631\u0639 \u0646\u0635\u0631 \u0627\u062D\u0645\u062F \u0632\u0643\u064A\u060C \u0645\u062D\u0631\u0645 \u0628\u0643",location:"\u0627\u0644\u0625\u0633\u0643\u0646\u062F\u0631\u064A\u0629\u060C \u0645\u0635\u0631",locationUrl:"https://goo.gl/maps/8q3XhYg5uV3bqQyj6",phoneNumbers:["0155 855 6223","03 4956900","03 3934631"],openingHours:"\u0669 \u0635\u0628\u0627\u062D\u0627 \u062D\u062A\u0649 1 \u0628\u0639\u062F \u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"}]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=k({type:e,selectors:[["app-home"]],standalone:!0,features:[x],decls:12,vars:2,consts:[["id","home"],["id","branches",3,"title"],["branchesSection",""],["id","contact",3,"title"],[3,"branch"],["href","https://wa.me/+201558556223","target","_blank","rel","noopener",1,"whatsapp-float"],[1,"fab","fa-whatsapp","whatsapp-icon"]],template:function(r,s){r&1&&(A(0,"app-navbar",0)(1,"app-hero-banner"),m(2,"app-home-section",1,2),Pe(4,da,1,1,"app-branch-item",4,Te),_(),m(6,"app-home-section",3),A(7,"app-contact"),_(),A(8,"app-footer"),ut(9,ha,2,0),ai(10,9),li(2)),r&2&&(M(2),H("title","\u0627\u0644\u0641\u0631\u0648\u0639"),M(2),Oe(s.branchesList),M(2),H("title","\u062A\u0648\u0627\u0635\u0644 \u0645\u0639\u0646\u0627"))},dependencies:[Rr,xr,kr,lr,Lr,Ir],styles:[".whatsapp-float[_ngcontent-%COMP%]{position:fixed;width:60px;height:60px;bottom:40px;right:40px;background-color:#25d366;color:#fff;border-radius:50px;text-align:center;font-size:30px;box-shadow:0 0 7px 2px #0003;z-index:100}.whatsapp-icon[_ngcontent-%COMP%]{margin-top:16px}"]});let i=e;return i})();var Br=[{path:"",component:jr},{path:"not-found",loadComponent:()=>import("./chunk-H5ER4YPO.js").then(i=>i.NotFoundComponent)},{path:"**",redirectTo:"/not-found"}];var ot="Service workers are disabled or not supported by this browser";function fa(i){return Lt(()=>Qn(new Error(i)))}var xe=class{constructor(e){if(this.serviceWorker=e,!e)this.worker=this.events=this.registration=fa(ot);else{let n=jt(e,"controllerchange").pipe(te(()=>e.controller)),r=Lt(()=>lt(e.controller)),s=Yn(r,n);this.worker=s.pipe(Me(u=>!!u)),this.registration=this.worker.pipe(Re(()=>e.getRegistration()));let c=jt(e,"message").pipe(te(u=>u.data)).pipe(Me(u=>u&&u.type)).pipe(Jn());c.connect(),this.events=c}}postMessage(e,t){return this.worker.pipe(fe(1),ei(n=>{n.postMessage(B({action:e},t))})).toPromise().then(()=>{})}postMessageWithOperation(e,t,n){let r=this.waitForOperationCompleted(n),s=this.postMessage(e,t);return Promise.all([s,r]).then(([,o])=>o)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(e){let t;return typeof e=="string"?t=n=>n.type===e:t=n=>e.includes(n.type),this.events.pipe(Me(t))}nextEventOfType(e){return this.eventsOfType(e).pipe(fe(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(Me(t=>t.nonce===e),fe(1),te(t=>{if(t.result!==void 0)return t.result;throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},pa=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(n){if(this.sw=n,this.pushManager=null,this.subscriptionChanges=new Wn,!n.isEnabled){this.messages=we,this.notificationClicks=we,this.subscription=we;return}this.messages=this.sw.eventsOfType("PUSH").pipe(te(s=>s.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(te(s=>s.data)),this.pushManager=this.sw.registration.pipe(te(s=>s.pushManager));let r=this.pushManager.pipe(Re(s=>s.getSubscription()));this.subscription=Bt(r,this.subscriptionChanges)}requestSubscription(n){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(ot));let r={userVisibleOnly:!0},s=this.decodeBase64(n.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(s.length));for(let a=0;a<s.length;a++)o[a]=s.charCodeAt(a);return r.applicationServerKey=o,this.pushManager.pipe(Re(a=>a.subscribe(r)),fe(1)).toPromise().then(a=>(this.subscriptionChanges.next(a),a))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(ot));let n=r=>{if(r===null)throw new Error("Not subscribed to push notifications.");return r.unsubscribe().then(s=>{if(!s)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(fe(1),Re(n)).toPromise()}decodeBase64(n){return atob(n)}};e.\u0275fac=function(r){return new(r||e)(pe(xe))},e.\u0275prov=se({token:e,factory:e.\u0275fac});let i=e;return i})(),ma=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(n){if(this.sw=n,!n.isEnabled){this.versionUpdates=we,this.unrecoverable=we;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(ot));let n=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:n},n)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(ot));let n=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:n},n)}};e.\u0275fac=function(r){return new(r||e)(pe(xe))},e.\u0275prov=se({token:e,factory:e.\u0275fac});let i=e;return i})();var $r=new oe("NGSW_REGISTER_SCRIPT");function ga(i,e,t,n){return()=>{if(!(We(n)&&"serviceWorker"in navigator&&t.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let r;if(typeof t.registrationStrategy=="function")r=t.registrationStrategy();else{let[o,...a]=(t.registrationStrategy||"registerWhenStable:30000").split(":");switch(o){case"registerImmediately":r=lt(null);break;case"registerWithDelay":r=Ur(+a[0]||0);break;case"registerWhenStable":r=a[0]?Bt(Gr(i),Ur(+a[0])):Gr(i);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${t.registrationStrategy}`)}}i.get(ct).runOutsideAngular(()=>r.pipe(fe(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:t.scope}).catch(o=>console.error("Service worker registration failed with:",o))))}}function Ur(i){return lt(null).pipe(Xn(i))}function Gr(i){return i.get(vi).isStable.pipe(Me(t=>t))}function ya(i,e){return new xe(We(e)&&i.enabled!==!1?navigator.serviceWorker:void 0)}var st=class{};function zr(i,e={}){return ni([pa,ma,{provide:$r,useValue:i},{provide:st,useValue:e},{provide:xe,useFactory:ya,deps:[st,Ue]},{provide:_i,useFactory:ga,deps:[qt,$r,st,Ue],multi:!0}])}var qr={providers:[ii(en),Vi(Br),ar(),wi(Mi(),Di()),zr("ngsw-worker.js",{enabled:!bi(),registrationStrategy:"registerWhenStable:30000"}),Pi()]};var Hr=(()=>{let e=class e{constructor(){this.title="bayoumi-gelato"}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=k({type:e,selectors:[["app-root"]],standalone:!0,features:[x],decls:1,vars:0,template:function(r,s){r&1&&A(0,"router-outlet")},dependencies:[Oi]});let i=e;return i})();Ti(Hr,qr).catch(i=>console.error(i));