import{a as _,b as F,c as I,d as b}from"./chunk-FYKTRDLT.js";import{d as R}from"./chunk-C3UPWJSD.js";import{Aa as A,Da as C,P as d,R as h,U as p,X as a,Y as c,ea as m,fa as u,ia as g,ma as y,ra as f,wb as v}from"./chunk-3GZHLYH3.js";var N=[{path:"app",loadComponent:()=>import("./chunk-YGQG4PJD.js").then(o=>o.AppComponent)},{path:"letter",loadComponent:()=>import("./chunk-QIZBFCX5.js").then(o=>o.LetterComponent)},{path:"start",loadComponent:()=>import("./chunk-IJNRNXE2.js").then(o=>o.StartComponent)},{path:"**",redirectTo:"start"}];var D="@",E=(()=>{class o{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=a(m);loadingSchedulerFn=a(M,{optional:!0});_engine;constructor(t,n,r,i,s){this.doc=t,this.delegate=n,this.zone=r,this.animationType=i,this.moduleImpl=s}ngOnDestroy(){this._engine?.flush()}loadImpl(){let t=()=>this.moduleImpl??import("./chunk-FZTMEXPI.js").then(r=>r),n;return this.loadingSchedulerFn?n=this.loadingSchedulerFn(t):n=t(),n.catch(r=>{throw new d(5300,!1)}).then(({\u0275createEngine:r,\u0275AnimationRendererFactory:i})=>{this._engine=r(this.animationType,this.doc);let s=new i(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(t,n){let r=this.delegate.createRenderer(t,n);if(r.\u0275type===0)return r;typeof r.throwOnSyntheticProps=="boolean"&&(r.throwOnSyntheticProps=!1);let i=new l(r);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let P=s.createRenderer(t,n);i.use(P),this.scheduler??=this.injector.get(u,null,{optional:!0}),this.scheduler?.notify(11)}).catch(s=>{i.use(r)}),i}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(t){this._engine?.flush(),this.delegate.componentReplaced?.(t)}static \u0275fac=function(n){A()};static \u0275prov=h({token:o,factory:o.\u0275fac})}return o})(),l=class{delegate;replay=[];\u0275type=1;constructor(e){this.delegate=e}use(e){if(this.delegate=e,this.replay!==null){for(let t of this.replay)t(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,t){this.delegate.appendChild(e,t)}insertBefore(e,t,n,r){this.delegate.insertBefore(e,t,n,r)}removeChild(e,t,n){this.delegate.removeChild(e,t,n)}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){this.shouldReplay(t)&&this.replay.push(r=>r.setProperty(e,t,n)),this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n,r){return this.shouldReplay(t)&&this.replay.push(i=>i.listen(e,t,n,r)),this.delegate.listen(e,t,n,r)}shouldReplay(e){return this.replay!==null&&e.startsWith(D)}},M=new p("");function S(o="animations"){return y("NgAsyncAnimations"),c([{provide:C,useFactory:(e,t,n)=>new E(e,t,n,o),deps:[R,_,g]},{provide:f,useValue:o==="noop"?"NoopAnimations":"BrowserAnimations"}])}var w={providers:[v({eventCoalescing:!0}),I(N),S()]};F(b,w).catch(o=>console.error(o));
